]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - gdb/ChangeLog
Add target_ops argument to to_static_tracepoint_markers_by_strid
[thirdparty/binutils-gdb.git] / gdb / ChangeLog
CommitLineData
c686c57f
TT
12014-02-19 Tom Tromey <tromey@redhat.com>
2
3 * target.h (target_static_tracepoint_markers_by_strid): Add
4 argument.
5 (struct target_ops) <to_static_tracepoint_markers_by_strid>: Add
6 'self' argument.
7 * target.c (update_current_target): Update.
8 * remote.c (struct target_ops)
9 <to_static_tracepoint_markers_by_strid>: Add 'self' argument.
10 * linux-nat.c (struct target_ops)
11 <to_static_tracepoint_markers_by_strid>: Add 'self' argument.
12
61fc905d
TT
132014-02-19 Tom Tromey <tromey@redhat.com>
14
15 * target.h (struct target_ops) <to_static_tracepoint_marker_at>:
16 Add argument.
17 (target_static_tracepoint_marker_at): Add argument.
18 * target.c (update_current_target): Update.
19 * remote.c (remote_static_tracepoint_marker_at): Add 'self'
20 argument.
21
c378d69d
TT
222014-02-19 Tom Tromey <tromey@redhat.com>
23
24 * target.h (struct target_ops) <to_set_permissions>: Add argument.
25 (target_set_permissions): Add argument.
26 * target.c (update_current_target): Update.
27 * remote.c (remote_set_permissions): Add 'self' argument.
28 (remote_start_remote): Update.
29
bd7ae0f5
TT
302014-02-19 Tom Tromey <tromey@redhat.com>
31
32 * windows-nat.c (windows_get_tib_address): Add 'self' argument.
33 * target.h (struct target_ops) <to_get_tib_address>: Add argument.
34 (target_get_tib_address): Add argument.
35 * target.c (update_current_target): Update.
36 * remote.c (remote_get_tib_address): Add 'self' argument.
37
d9e68a2c
TT
382014-02-19 Tom Tromey <tromey@redhat.com>
39
40 * target.h (struct target_ops) <to_set_trace_notes>: Add argument.
41 (target_set_trace_notes): Add argument.
42 * target.c (update_current_target): Update.
43 * remote.c (remote_set_trace_notes): Add 'self' argument.
44
4da384be
TT
452014-02-19 Tom Tromey <tromey@redhat.com>
46
47 * target.h (struct target_ops) <to_set_trace_buffer_size>: Add
48 argument.
49 (target_set_trace_buffer_size): Add argument.
50 * target.c (update_current_target): Update.
51 * remote.c (remote_set_trace_buffer_size): Add 'self' argument.
52
736d5b1f
TT
532014-02-19 Tom Tromey <tromey@redhat.com>
54
55 * target.h (struct target_ops) <to_set_circular_trace_buffer>: Add
56 argument.
57 (target_set_circular_trace_buffer): Add argument.
58 * target.c (update_current_target): Update.
59 * remote.c (remote_set_circular_trace_buffer): Add 'self'
60 argument.
61
37b25738
TT
622014-02-19 Tom Tromey <tromey@redhat.com>
63
64 * target.h (struct target_ops) <to_set_disconnected_tracing>: Add
65 argument.
66 (target_set_disconnected_tracing): Add argument.
67 * target.c (update_current_target): Update.
68 * remote.c (remote_set_disconnected_tracing): Add 'self' argument.
69
0e67620a
TT
702014-02-19 Tom Tromey <tromey@redhat.com>
71
72 * target.h (struct target_ops)
73 <to_get_min_fast_tracepoint_insn_len>: Add argument.
74 (target_get_min_fast_tracepoint_insn_len): Add argument.
75 * target.c (update_current_target): Update.
76 * remote.c (remote_get_min_fast_tracepoint_insn_len): Add 'self'
77 argument.
78
88ee6f45
TT
792014-02-19 Tom Tromey <tromey@redhat.com>
80
81 * target.h (struct target_ops) <to_get_raw_trace_data>: Add
82 argument.
83 (target_get_raw_trace_data): Add argument.
84 * target.c (update_current_target): Update.
85 * remote.c (remote_get_raw_trace_data): Add 'self' argument.
86
181e3713
TT
872014-02-19 Tom Tromey <tromey@redhat.com>
88
89 * target.h (struct target_ops) <to_upload_trace_state_variables>:
90 Add argument.
91 (target_upload_trace_state_variables): Add argument.
92 * target.c (update_current_target): Update.
93 * remote.c (remote_upload_trace_state_variables): Add 'self'
94 argument.
95 (remote_start_remote): Update.
96
ab6617cc
TT
972014-02-19 Tom Tromey <tromey@redhat.com>
98
99 * target.h (struct target_ops) <to_upload_tracepoints>: Add
100 argument.
101 (target_upload_tracepoints): Add argument.
102 * target.c (update_current_target): Update.
103 * remote.c (remote_upload_tracepoints): Add 'self' argument.
104 (remote_start_remote): Update.
105
dc3decaf
TT
1062014-02-19 Tom Tromey <tromey@redhat.com>
107
108 * target.h (struct target_ops) <to_save_trace_data>: Add argument.
109 (target_save_trace_data): Add argument.
110 * target.c (update_current_target): Update.
111 * remote.c (remote_save_trace_data): Add 'self' argument.
112
4011015b
TT
1132014-02-19 Tom Tromey <tromey@redhat.com>
114
115 * tracepoint.c (tfile_get_trace_state_variable_value): Add 'self'
116 argument.
117 * target.h (struct target_ops)
118 <to_get_trace_state_variable_value>: Add argument.
119 (target_get_trace_state_variable_value): Add argument.
120 * target.c (update_current_target): Update.
121 * remote.c (remote_get_trace_state_variable_value): Add 'self'
122 argument.
123 * ctf.c (ctf_get_trace_state_variable_value): Add 'self' argument.
124
bd4c6793
TT
1252014-02-19 Tom Tromey <tromey@redhat.com>
126
127 * tracepoint.c (tfile_trace_find): Add 'self' argument.
128 * target.h (struct target_ops) <to_trace_find>: Add argument.
129 (target_trace_find): Add argument.
130 * target.c (update_current_target): Update.
131 * remote.c (remote_trace_find): Add 'self' argument.
132 * ctf.c (ctf_trace_find): Add 'self' argument.
133
74499f1b
TT
1342014-02-19 Tom Tromey <tromey@redhat.com>
135
136 * target.h (struct target_ops) <to_trace_stop>: Add argument.
137 (target_trace_stop): Add argument.
138 * target.c (update_current_target): Update.
139 * remote.c (remote_trace_stop): Add 'self' argument.
140
db90e85c
TT
1412014-02-19 Tom Tromey <tromey@redhat.com>
142
143 * tracepoint.c (tfile_get_tracepoint_status): Add 'self' argument.
144 * target.h (struct target_ops) <to_get_tracepoint_status>: Add
145 argument.
146 (target_get_tracepoint_status): Add argument.
147 * target.c (update_current_target): Update.
148 * remote.c (remote_get_tracepoint_status): Add 'self' argument.
149
8bd200f1
TT
1502014-02-19 Tom Tromey <tromey@redhat.com>
151
152 * tracepoint.c (tfile_get_trace_status): Add 'self' argument.
153 * target.h (struct target_ops) <to_get_trace_status>: Add
154 argument.
155 (target_get_trace_status): Add argument.
156 * target.c (update_current_target): Update.
157 * remote.c (remote_get_trace_status): Add 'self' argument.
158 (remote_start_remote, remote_can_download_tracepoint): Update.
159 * ctf.c (ctf_get_trace_status): Add 'self' argument.
160
e2d1aae3
TT
1612014-02-19 Tom Tromey <tromey@redhat.com>
162
163 * target.h (struct target_ops) <to_trace_start>: Add argument.
164 (target_trace_start): Add argument.
165 * target.c (update_current_target): Update.
166 * remote.c (remote_trace_start): Add 'self' argument.
167
583f9a86
TT
1682014-02-19 Tom Tromey <tromey@redhat.com>
169
170 * target.h (struct target_ops) <to_trace_set_readonly_regions>:
171 Add argument.
172 (target_trace_set_readonly_regions): Add argument.
173 * target.c (update_current_target): Update.
174 * remote.c (remote_trace_set_readonly_regions): Add 'self'
175 argument.
176
780b049c
TT
1772014-02-19 Tom Tromey <tromey@redhat.com>
178
179 * target.h (struct target_ops) <to_disable_tracepoint>: Add
180 argument.
181 (target_disable_tracepoint): Add argument.
182 * target.c (update_current_target): Update.
183 * remote.c (remote_disable_tracepoint): Add 'self' argument.
184
46670d57
TT
1852014-02-19 Tom Tromey <tromey@redhat.com>
186
187 * target.h (struct target_ops) <to_enable_tracepoint>: Add
188 argument.
189 (target_enable_tracepoint): Add argument.
190 * target.c (update_current_target): Update.
191 * remote.c (remote_enable_tracepoint): Add 'self' argument.
192
559d2b81
TT
1932014-02-19 Tom Tromey <tromey@redhat.com>
194
195 * target.h (struct target_ops) <to_download_trace_state_variable>:
196 Add argument.
197 (target_download_trace_state_variable): Add argument.
198 * target.c (update_current_target): Update.
199 * remote.c (remote_download_trace_state_variable): Add 'self'
200 argument.
201
a52a8357
TT
2022014-02-19 Tom Tromey <tromey@redhat.com>
203
204 * target.h (struct target_ops) <to_can_download_tracepoint>: Add
205 argument.
206 (target_can_download_tracepoint): Add argument.
207 * target.c (update_current_target): Update.
208 * remote.c (remote_can_download_tracepoint): Add 'self' argument.
209
548f7808
TT
2102014-02-19 Tom Tromey <tromey@redhat.com>
211
212 * target.h (struct target_ops) <to_download_tracepoint>: Add
213 argument.
214 (target_download_tracepoint): Add argument.
215 * target.c (update_current_target): Update.
216 * remote.c (remote_download_tracepoint): Add 'self' argument.
217
ecae04e1
TT
2182014-02-19 Tom Tromey <tromey@redhat.com>
219
220 * target.h (struct target_ops) <to_trace_init>: Add argument.
221 (target_trace_init): Add argument.
222 * target.c (update_current_target): Update.
223 * remote.c (remote_trace_init): Add 'self' argument.
224
fab5aa7c
TT
2252014-02-19 Tom Tromey <tromey@redhat.com>
226
227 * target.h (struct target_ops) <to_fileio_readlink>: Add argument.
228 * target.c (target_fileio_readlink): Add argument.
229 * remote.c (remote_hostio_readlink): Add 'self' argument.
230 * inf-child.c (inf_child_fileio_readlink): Add 'self' argument.
231
dbbca37d
TT
2322014-02-19 Tom Tromey <tromey@redhat.com>
233
234 * target.h (struct target_ops) <to_fileio_unlink>: Add argument.
235 * target.c (target_fileio_unlink): Add argument.
236 * remote.c (remote_hostio_unlink): Add 'self' argument.
237 (remote_file_delete): Update.
238 * inf-child.c (inf_child_fileio_unlink): Add 'self' argument.
239
df39ea25
TT
2402014-02-19 Tom Tromey <tromey@redhat.com>
241
242 * target.h (struct target_ops) <to_fileio_close>: Add argument.
243 * target.c (target_fileio_close): Add argument.
244 * remote.c (remote_hostio_close): Add 'self' argument.
245 (remote_hostio_close_cleanup): Update.
246 (remote_bfd_iovec_close, remote_file_put, remote_file_get):
247 Update.
248 * inf-child.c (inf_child_fileio_close): Add 'self' argument.
249
a3be983c
TT
2502014-02-19 Tom Tromey <tromey@redhat.com>
251
252 * target.h (struct target_ops) <to_fileio_pread>: Add argument.
253 * target.c (target_fileio_pread): Add argument.
254 * remote.c (remote_hostio_pread): Add 'self' argument.
255 (remote_bfd_iovec_pread, remote_file_get): Update.
256 * inf-child.c (inf_child_fileio_pread): Add 'self' argument.
257
0d866f62
TT
2582014-02-19 Tom Tromey <tromey@redhat.com>
259
260 * target.h (struct target_ops) <to_fileio_pwrite>: Add argument.
261 * target.c (target_fileio_pwrite): Add argument.
262 * remote.c (remote_hostio_pwrite): Add 'self' argument.
263 (remote_file_put): Update.
264 * inf-child.c (inf_child_fileio_pwrite): Add 'self' argument.
265
cd897586
TT
2662014-02-19 Tom Tromey <tromey@redhat.com>
267
268 * target.h (struct target_ops) <to_fileio_open>: Add argument.
269 * target.c (target_fileio_open): Add argument.
270 * remote.c (remote_hostio_open): Add 'self' argument.
271 (remote_bfd_iovec_open): Add 'self' argument.
272 (remote_file_put): Add 'self' argument.
273 (remote_file_get): Add 'self' argument.
274 * inf-child.c (inf_child_fileio_open): Add 'self' argument.
275
78eff0ec
TT
2762014-02-19 Tom Tromey <tromey@redhat.com>
277
278 * target.h (struct target_ops) <to_can_run_breakpoint_commands>:
279 Add argument.
280 (target_can_run_breakpoint_commands): Add argument.
281 * target.c (update_current_target): Update.
282 * remote.c (remote_can_run_breakpoint_commands): Add 'self'
283 argument.
284 (remote_insert_breakpoint): Add 'self' argument.
285 (remote_insert_hw_breakpoint): Add 'self' argument.
286 (remote_can_run_breakpoint_commands): Add 'self' argument.
287
efcc2da7
TT
2882014-02-19 Tom Tromey <tromey@redhat.com>
289
290 * target.h (struct target_ops)
291 <to_supports_evaluation_of_breakpoint_conditions>: Add argument.
292 (target_supports_evaluation_of_breakpoint_conditions): Add
293 argument.
294 * target.c (update_current_target): Update.
295 * remote.c (remote_supports_cond_breakpoints): Add 'self'
296 argument.
297 (remote_insert_breakpoint): Add 'self' argument.
298 (remote_insert_hw_breakpoint): Add 'self' argument.
299 (remote_supports_cond_breakpoints): Add 'self' argument.
300
6de37a3a
TT
3012014-02-19 Tom Tromey <tromey@redhat.com>
302
303 * target.h (struct target_ops) <to_supports_string_tracing>: Add
304 argument.
305 (target_supports_string_tracing): Add argument.
306 * target.c (update_current_target): Update.
307 * remote.c (remote_supports_string_tracing): Add 'self' argument.
308
2bfc0540
TT
3092014-02-19 Tom Tromey <tromey@redhat.com>
310
311 * target.h (struct target_ops)
312 <to_supports_disable_randomization>: Add argument.
313 * target.c (find_default_supports_disable_randomization): Add
314 argument.
315 (target_supports_disable_randomization): Add argument.
316 (find_default_supports_disable_randomization): Add 'self'
317 argument.
318 * remote.c (extended_remote_supports_disable_randomization): Add
319 'self' argument.
320 (remote_supports_disable_randomization): Add 'self' argument.
321 (extended_remote_create_inferior): Update.
322 * linux-nat.c (linux_nat_supports_disable_randomization): Add
323 'self' argument.
324
7d178d6a
TT
3252014-02-19 Tom Tromey <tromey@redhat.com>
326
327 * target.h (struct target_ops)
328 <to_supports_enable_disable_tracepoint>: Add argument.
329 (target_supports_enable_disable_tracepoint): Add argument.
330 * target.c (update_current_target): Update.
331 * remote.c (remote_supports_enable_disable_tracepoint): Add 'self'
332 argument.
333
86ce2668
TT
3342014-02-19 Tom Tromey <tromey@redhat.com>
335
336 * target.h (struct target_ops) <to_supports_multi_process>: Add
337 argument.
338 (target_supports_multi_process): Add argument.
339 * target.c (update_current_target): Update.
340 * remote.c (remote_supports_multi_process): Add 'self' argument.
341 * linux-nat.c (linux_nat_supports_multi_process): Add 'self'
342 argument.
343 * darwin-nat.c (darwin_supports_multi_process): Add 'self'
344 argument.
345
4c612759
TT
3462014-02-19 Tom Tromey <tromey@redhat.com>
347
348 * target.h (struct target_ops) <to_execution_direction>: Add
349 argument.
350 (target_execution_direction): Add argument.
351 * target.c (default_execution_direction): Add 'self' argument.
352 * record-full.c (record_full_execution_direction): Add 'self'
353 argument.
354
19db3e69
TT
3552014-02-19 Tom Tromey <tromey@redhat.com>
356
357 * target.h (struct target_ops) <to_can_execute_reverse>: Add
358 argument.
359 (target_can_execute_reverse): Add argument.
360 * remote.c (remote_can_execute_reverse): Add 'self' argument.
361 * record-full.c (record_full_can_execute_reverse): Add 'self'
362 argument.
363 * record-btrace.c (record_btrace_can_execute_reverse): Add 'self'
364 argument.
365
1e6b91a4
TT
3662014-02-19 Tom Tromey <tromey@redhat.com>
367
368 * windows-nat.c (windows_get_ada_task_ptid): Add 'self' argument.
369 * target.h (struct target_ops) <to_get_ada_task_ptid>: Add
370 argument.
371 (target_get_ada_task_ptid): Add argument.
372 * target.c (update_current_target): Update.
373 (default_get_ada_task_ptid): Add 'self' argument.
374 * sol-thread.c (sol_get_ada_task_ptid): Add 'self' argument.
375 * remote.c (remote_get_ada_task_ptid): Add 'self' argument.
376 * ravenscar-thread.c (ravenscar_get_ada_task_ptid): Add 'self'
377 argument.
378 * linux-thread-db.c (thread_db_get_ada_task_ptid): Add 'self'
379 argument.
380 * inf-ttrace.c (inf_ttrace_get_ada_task_ptid): Add 'self'
381 argument.
382 * dec-thread.c (dec_thread_get_ada_task_ptid): Add 'self'
383 argument.
384 * darwin-nat.c (darwin_get_ada_task_ptid): Add 'self' argument.
385 * aix-thread.c (aix_thread_get_ada_task_ptid): Add 'self'
386 argument.
387
3c80fb48
TT
3882014-02-19 Tom Tromey <tromey@redhat.com>
389
390 * target.h (struct target_ops) <to_goto_bookmark>: Add argument.
391 (target_goto_bookmark): Add argument.
392 * target.c (dummy_goto_bookmark): Add 'self' argument.
393 * record-full.c (record_full_goto_bookmark): Add 'self' argument.
394
dd0e2830
TT
3952014-02-19 Tom Tromey <tromey@redhat.com>
396
397 * target.h (struct target_ops) <to_get_bookmark>: Add argument.
398 (target_get_bookmark): Add argument.
399 * target.c (dummy_get_bookmark): Add 'self' argument.
400 * record-full.c (record_full_get_bookmark): Add 'self' argument.
401
fc6691b2
TT
4022014-02-19 Tom Tromey <tromey@redhat.com>
403
404 * target.h (struct target_ops) <to_make_corefile_notes>: Add
405 argument.
406 (target_make_corefile_notes): Add argument.
407 * target.c (dummy_make_corefile_notes): Add 'self' argument.
408 * procfs.c (procfs_make_note_section): Add 'self' argument.
409 (procfs_make_note_section): Add 'self' argument.
410 (procfs_make_note_section): Add 'self' argument.
411 * linux-nat.c (linux_nat_make_corefile_notes): Add 'self'
412 argument.
413 * fbsd-nat.h (fbsd_make_corefile_notes): Add 'self' argument.
414 * fbsd-nat.c (fbsd_make_corefile_notes): Add 'self' argument.
415 * exec.c (exec_make_note_section): Add 'self' argument.
416 (exec_make_note_section): Add 'self' argument.
417
2e73927c
TT
4182014-02-19 Tom Tromey <tromey@redhat.com>
419
420 * target.h (struct target_ops) <to_find_memory_regions>: Add
421 argument.
422 (target_find_memory_regions): Add argument.
423 * target.c (dummy_find_memory_regions): Add 'self' argument.
424 * procfs.c (proc_find_memory_regions): Add 'self' argument.
425 * gnu-nat.c (gnu_find_memory_regions): Add 'self' argument.
426 * fbsd-nat.h (fbsd_find_memory_regions): Add 'self' argument.
427 * fbsd-nat.c (fbsd_find_memory_regions): Add 'self' argument.
428 * exec. (exec_do_find_memory_regions): New global.
429 (exec_set_find_memory_regions): Rewrite.
430 (exec_find_memory_regions): New function.
431 (init_exec_ops): Use exec_find_memory_regions.
432
2a9a2795
TT
4332014-02-19 Tom Tromey <tromey@redhat.com>
434
435 * target.h (struct target_ops) <to_supports_non_stop>: Add
436 argument.
437 * target.c (find_default_supports_non_stop): Add argument.
438 (target_supports_non_stop): Add argument.
439 (find_default_supports_non_stop): Add 'self' argument.
440 * remote.c (remote_supports_non_stop): Add 'self' argument.
441 * linux-nat.c (linux_nat_supports_non_stop): Add 'self' argument.
442
4ab76ea3
TT
4432014-02-19 Tom Tromey <tromey@redhat.com>
444
445 * target.h (struct target_ops) <to_log_command>: Add argument.
446 (target_log_command): Add argument.
447 * serial.h (serial_log_command): Add 'self' argument.
448 * serial.c (serial_log_command): Add 'self' argument.
449
8dd27370
TT
4502014-02-19 Tom Tromey <tromey@redhat.com>
451
452 * windows-nat.c (windows_pid_to_exec_file): Add 'self' argument.
453 * target.h (struct target_ops) <to_pid_to_exec_file>: Add
454 argument.
455 (target_pid_to_exec_file): Add argument.
456 * target.c (debug_to_pid_to_exec_file): Add argument.
457 (update_current_target): Update.
458 * nbsd-nat.h (nbsd_pid_to_exec_file): Add 'self' argument.
459 * nbsd-nat.c (nbsd_pid_to_exec_file): Add 'self' argument.
460 * linux-nat.c (linux_child_pid_to_exec_file): Add 'self' argument.
461 (linux_handle_extended_wait): Update.
462 * inf-child.c (inf_child_pid_to_exec_file): Add 'self' argument.
463 * fbsd-nat.h (fbsd_pid_to_exec_file): Add 'self' argument.
464 * fbsd-nat.c (fbsd_pid_to_exec_file): Add 'self' argument.
465 * darwin-nat.c (darwin_pid_to_exec_file): Add 'self' argument.
466
1aac633b
TT
4672014-02-19 Tom Tromey <tromey@redhat.com>
468
469 * target.h (struct target_ops) <to_rcmd>: Add argument.
470 (target_rcmd): Add argument.
471 * target.c (debug_to_rcmd): Add argument.
472 (update_current_target, do_monitor_command): Update.
473 * remote.c (remote_rcmd): Add 'self' argument.
474 * monitor.c (monitor_rcmd): Add 'self' argument.
475
1eab8a48
TT
4762014-02-19 Tom Tromey <tromey@redhat.com>
477
478 * windows-nat.c (windows_stop): Add 'self' argument.
479 * target.h (struct target_ops) <to_stop>: Add argument.
480 * target.c (target_stop): Add argument.
481 (debug_to_stop): Add argument.
482 (update_current_target): Update.
483 * remote.c (remote_stop): Add 'self' argument.
484 * remote-sim.c (gdbsim_stop): Add 'self' argument.
485 (gdbsim_cntrl_c): Update.
486 * remote-m32r-sdi.c (m32r_stop): Add 'self' argument.
487 * procfs.c (procfs_stop): Add 'self' argument.
488 * nto-procfs.c (procfs_stop): Add 'self' argument.
489 * monitor.c (monitor_stop): Add 'self' argument.
490 (monitor_open): Update.
491 * linux-nat.c (linux_nat_stop): Add argument.
492 * inf-ptrace.c (inf_ptrace_stop): Add 'self' argument.
493 * gnu-nat.c (gnu_stop): Add 'self' argument.
494 * darwin-nat.c (darwin_stop): Add 'self' argument.
495
503a628d
TT
4962014-02-19 Tom Tromey <tromey@redhat.com>
497
498 * target.h (struct target_ops) <to_thread_name>: Add argument.
499 * target.c (target_thread_name): Add argument.
500 (update_current_target): Update.
501 * linux-nat.c (linux_nat_thread_name): Add 'self' argument.
502
c15906d8
TT
5032014-02-19 Tom Tromey <tromey@redhat.com>
504
505 * target.h (struct target_ops) <to_extra_thread_info>: Add
506 argument.
507 (target_extra_thread_info): Add argument.
508 * target.c (update_current_target): Update.
509 * remote.c (remote_threads_extra_info): Add 'self' argument.
510 * ravenscar-thread.c (ravenscar_extra_thread_info): Add 'self'
511 argument.
512 * nto-tdep.h (nto_extra_thread_info): Add 'self' argument.
513 * nto-tdep.c (nto_extra_thread_info): Add 'self' argument.
514 * linux-thread-db.c (thread_db_extra_thread_info): Add 'self'
515 argument.
516 * inf-ttrace.c (inf_ttrace_extra_thread_info): Add 'self'
517 argument.
518 * bsd-uthread.c (bsd_uthread_extra_thread_info): Add 'self'
519 argument.
520 * aix-thread.c (aix_thread_extra_thread_info): Add 'self'
521 argument.
522
daf5e9b6
TT
5232014-02-19 Tom Tromey <tromey@redhat.com>
524
525 * target.h (struct target_ops) <to_program_signals>: Add argument.
526 * target.c (target_program_signals): Add argument.
527 * remote.c (remote_program_signals): Add 'self' argument.
528
94bedb42
TT
5292014-02-19 Tom Tromey <tromey@redhat.com>
530
531 * target.h (struct target_ops) <to_pass_signals>: Add argument.
532 * target.c (target_pass_signals): Add argument.
533 * remote.c (remote_pass_signals): Add 'self' argument.
534 (remote_start_remote): Update.
535 * procfs.c (procfs_pass_signals): Add 'self' argument.
536 * nto-procfs.c (procfs_pass_signals): Add 'self' argument.
537 * linux-nat.c (linux_nat_pass_signals): Add 'self' argument.
538 (linux_nat_create_inferior, linux_nat_attach): Update.
539
da82bd6b
TT
5402014-02-19 Tom Tromey <tromey@redhat.com>
541
542 * windows-nat.c (windows_can_run): Add 'self' argument.
543 * target.h (struct target_ops) <to_can_run>: Add argument.
544 (target_can_run): Add argument.
545 * target.c (debug_to_can_run): Add argument.
546 (update_current_target): Update.
547 * nto-procfs.c (procfs_can_run): Add 'self' argument.
548 * inf-child.c (inf_child_can_run): Add 'self' argument.
549 * go32-nat.c (go32_can_run): Add 'self' argument.
550
d796e1d6
TT
5512014-02-19 Tom Tromey <tromey@redhat.com>
552
553 * target.h (struct target_ops) <to_has_exited>: Add argument.
554 (target_has_exited): Add argument.
555 * target.c (debug_to_has_exited): Add argument.
556 (update_current_target): Update.
557
ff214e67
TT
5582014-02-19 Tom Tromey <tromey@redhat.com>
559
560 * target.h (struct target_ops) <to_set_syscall_catchpoint>: Add
561 argument.
562 (target_set_syscall_catchpoint): Add argument.
563 * linux-nat.c (linux_child_set_syscall_catchpoint): Add 'self'
564 argument.
565 * target.c (update_current_target): Update.
566
758e29d2
TT
5672014-02-19 Tom Tromey <tromey@redhat.com>
568
569 * target.h (struct target_ops) <to_remove_exec_catchpoint>: Add
570 argument.
571 (target_remove_exec_catchpoint): Add argument.
572 * target.c (debug_to_remove_exec_catchpoint): Add argument.
573 (update_current_target): Update.
574 * linux-nat.c (linux_child_remove_exec_catchpoint): Add 'self'
575 argument.
576
ba025e51
TT
5772014-02-19 Tom Tromey <tromey@redhat.com>
578
579 * target.h (struct target_ops) <to_insert_exec_catchpoint>: Add
580 argument.
581 (target_insert_exec_catchpoint): Add argument.
582 * target.c (debug_to_insert_exec_catchpoint): Add argument.
583 (update_current_target): Update.
584 * linux-nat.c (linux_child_insert_exec_catchpoint): Add 'self'
585 argument.
586
e98cf0cd
TT
5872014-02-19 Tom Tromey <tromey@redhat.com>
588
589 * target.h (struct target_ops) <to_remove_vfork_catchpoint>: Add
590 argument.
591 (target_remove_vfork_catchpoint): Add argument.
592 * target.c (debug_to_remove_vfork_catchpoint): Add argument.
593 (update_current_target): Update.
594 * linux-nat.c (linux_child_remove_vfork_catchpoint): Add 'self'
595 argument.
596
3ecc7da0
TT
5972014-02-19 Tom Tromey <tromey@redhat.com>
598
599 * target.h (struct target_ops) <to_insert_vfork_catchpoint>: Add
600 argument.
601 (target_insert_vfork_catchpoint): Add argument.
602 * target.c (debug_to_insert_vfork_catchpoint): Add argument.
603 (update_current_target): Update.
604 * linux-nat.c (linux_child_insert_vfork_catchpoint): Add 'self'
605 argument.
606
973fc227
TT
6072014-02-19 Tom Tromey <tromey@redhat.com>
608
609 * target.h (struct target_ops) <to_remove_fork_catchpoint>: Add
610 argument.
611 (target_remove_fork_catchpoint): Add argument.
612 * target.c (debug_to_remove_fork_catchpoint): Add argument.
613 (update_current_target): Update.
614 * linux-nat.c (linux_child_remove_fork_catchpoint): Add 'self'
615 argument.
616
a863b201
TT
6172014-02-19 Tom Tromey <tromey@redhat.com>
618
619 * target.h (struct target_ops) <to_insert_fork_catchpoint>: Add
620 argument.
621 (target_insert_fork_catchpoint): Add argument.
622 * target.c (debug_to_insert_fork_catchpoint): Add argument.
623 (update_current_target): Update.
624 * linux-nat.c (linux_child_insert_fork_catchpoint): Add 'self'
625 argument.
626
2e97a79e
TT
6272014-02-19 Tom Tromey <tromey@redhat.com>
628
629 * target.h (struct target_ops) <to_post_startup_inferior>: Add
630 argument.
631 (target_post_startup_inferior): Add argument.
632 * target.c (debug_to_post_startup_inferior): Add argument.
633 (update_current_target): Update.
634 * spu-linux-nat.c (spu_child_post_startup_inferior): Add 'self'
635 argument.
636 * linux-nat.c (linux_child_post_startup_inferior): Add 'self'
637 argument.
638 * inf-ptrace.c (inf_ptrace_post_startup_inferior): Add 'self'
639 argument.
640 * inf-child.c (inf_child_post_startup_inferior): Add 'self'
641 argument.
642 * i386-linux-nat.c (i386_linux_child_post_startup_inferior): Add
643 'self' argument.
644 (super_post_startup_inferior): Likewise.
645 * amd64-linux-nat.c (amd64_linux_child_post_startup_inferior): Add
646 'self' argument.
647 (super_post_startup_inferior): Likewise.
648 * aarch64-linux-nat.c (aarch64_linux_child_post_startup_inferior):
649 Add 'self' argument.
650 (super_post_startup_inferior): Likewise.
651
71a9f134
TT
6522014-02-19 Tom Tromey <tromey@redhat.com>
653
654 * target.h (struct target_ops) <to_load>: Add argument.
655 * target.c (target_load): Add argument.
656 (debug_to_load): Add argument.
657 (update_current_target): Update.
658 * remote.c (remote_load): Add 'self' argument.
659 * remote-sim.c (gdbsim_load): Add 'self' argument.
660 * remote-mips.c (mips_load): Add 'self' argument.
661 * remote-m32r-sdi.c (m32r_load): Add 'self' argument.
662 * monitor.c (monitor_load): Add 'self' argument.
663 * m32r-rom.c (m32r_load_gen): Add 'self' argument.
664
0a4f40a2
TT
6652014-02-19 Tom Tromey <tromey@redhat.com>
666
667 * target.h (struct target_ops) <to_terminal_info>: Add argument.
668 (target_terminal_info): Add argument.
669 * target.c (debug_to_terminal_info): Add argument.
670 (default_terminal_info): Likewise.
671 * inflow.c (child_terminal_info): Add 'self' argument.
672 * inferior.h (child_terminal_info): Add 'self' argument.
673 * go32-nat.c (go32_terminal_info): Add 'self' argument.
674
ae3bd431
TT
6752014-02-19 Tom Tromey <tromey@redhat.com>
676
677 * target.h (struct target_ops) <to_terminal_save_ours>: Add
678 argument.
679 (target_terminal_save_ours): Add argument.
680 * target.c (debug_to_terminal_save_ours): Add argument.
681 (update_current_target): Update.
682 * inflow.c (terminal_save_ours): Add 'self' argument.
683 * inferior.h (terminal_save_ours): Add 'self' argument.
684
e3594fd1
TT
6852014-02-19 Tom Tromey <tromey@redhat.com>
686
687 * target.h (struct target_ops) <to_terminal_ours>: Add argument.
688 (target_terminal_ours): Add argument.
689 * target.c (debug_to_terminal_ours): Add argument.
690 (update_current_target): Update.
691 * remote.c (remote_terminal_ours): Add 'self' argument.
692 (remote_close): Update.
693 * linux-nat.c (linux_nat_terminal_ours): Add 'self' argument.
694 * inflow.c (terminal_ours): Add 'self' argument.
695 * inferior.h (terminal_ours): Add 'self' argument.
696 * go32-nat.c (go32_terminal_ours): Add 'self' argument.
697
2e1e1a19
TT
6982014-02-19 Pedro Alves <palves@redhat.com>
699 Tom Tromey <tromey@redhat.com>
700
701 * target.h (struct target_ops) <to_terminal_ours_for_output>: Add
702 argument.
703 (target_terminal_ours_for_output): Add argument.
704 * target.c (debug_to_terminal_ours_for_output): Add argument.
705 (update_current_target): Update.
706 * inflow.c (terminal_ours_for_output): Add 'self' argument.
707 * inferior.h (terminal_ours_for_output): Add 'self' argument.
708 * go32-nat.c (go32_terminal_ours): Add 'self' argument.
709
d2f640d4
TT
7102014-02-19 Tom Tromey <tromey@redhat.com>
711
712 * target.h (struct target_ops) <to_terminal_inferior>: Add
713 argument.
714 * target.c (target_terminal_inferior): Add argument.
715 (update_current_target): Update.
716 * remote.c (remote_terminal_inferior): Add 'self' argument.
717 * linux-nat.c (linux_nat_terminal_inferior): Add 'self' argument.
718 * inflow.c (terminal_inferior): Add 'self' argument.
719 * inferior.h (terminal_inferior): Add 'self' argument.
720 * go32-nat.c (go32_terminal_inferior): Add 'self' argument.
721 (go32_terminal_inferior): Add 'self' argument.
722
c42bf286
TT
7232014-02-19 Tom Tromey <tromey@redhat.com>
724
725 * target.h (struct target_ops) <to_terminal_init>: Add argument.
726 (target_terminal_init): Add argument.
727 * target.c (debug_to_terminal_init): Add argument.
728 (update_current_target): Update.
729 * inflow.c (terminal_init_inferior): Add 'self' argument.
730 * inferior.h (terminal_init_inferior): Add 'self' argument.
731 * go32-nat.c (go32_terminal_init): Add 'self' argument.
732 * gnu-nat.c (gnu_terminal_init_inferior): Add 'self' argument.
733
c3a5ff89
TT
7342014-02-19 Tom Tromey <tromey@redhat.com>
735
736 * target.h (struct target_ops)
737 <to_can_accel_watchpoint_condition>: Add argument.
738 (target_can_accel_watchpoint_condition): Add argument.
739 * target.c (debug_to_can_accel_watchpoint_condition): Add
740 argument.
741 (update_current_target): Update.
742 * ppc-linux-nat.c (ppc_linux_can_accel_watchpoint_condition): Add
743 'self' argument.
744
31568a15
TT
7452014-02-19 Tom Tromey <tromey@redhat.com>
746
747 * target.h (struct target_ops) <to_region_ok_for_hw_watchpoint>:
748 Add argument.
749 (target_region_ok_for_hw_watchpoint): Add argument.
750 * target.c (debug_to_region_ok_for_hw_watchpoint): Add argument.
751 (default_region_ok_for_hw_watchpoint): Add argument.
752 * spu-multiarch.c (spu_region_ok_for_hw_watchpoint): Add argument.
753 * s390-linux-nat.c (s390_region_ok_for_hw_watchpoint): Add 'self'
754 argument.
755 * remote.c (remote_region_ok_for_hw_watchpoint): Add 'self'
756 argument.
757 * procfs.c (procfs_region_ok_for_hw_watchpoint): Add 'self'
758 argument.
759 * ppc-linux-nat.c (ppc_linux_region_ok_for_hw_watchpoint): Add
760 'self' argument.
761 * mips-linux-nat.c (mips_linux_region_ok_for_hw_watchpoint): Add
762 'self' argument.
763 * inf-ttrace.c (inf_ttrace_region_ok_for_hw_watchpoint): Add
764 'self' argument.
765 * i386-nat.c (i386_region_ok_for_watchpoint): Add 'self' argument.
766 * arm-linux-nat.c (arm_linux_region_ok_for_hw_watchpoint): Add
767 'self' argument.
768 * aarch64-linux-nat.c (aarch64_linux_region_ok_for_hw_watchpoint):
769 Add 'self' argument.
770
7bb99c53
TT
7712014-02-19 Tom Tromey <tromey@redhat.com>
772
773 * target.h (struct target_ops) <to_insert_watchpoint>: Add
774 argument.
775 (target_insert_watchpoint): Add argument.
776 * target.c (debug_to_insert_watchpoint): Add argument.
777 (update_current_target): Update.
778 * s390-linux-nat.c (s390_insert_watchpoint): Add 'self' argument.
779 * remote.c (remote_insert_watchpoint): Add 'self' argument.
780 * remote-mips.c (mips_insert_watchpoint): Add 'self' argument.
781 * remote-m32r-sdi.c (m32r_insert_watchpoint): Add 'self' argument.
782 * procfs.c (procfs_insert_watchpoint): Add 'self' argument.
783 * ppc-linux-nat.c (ppc_linux_insert_watchpoint): Add 'self'
784 argument.
785 * nto-procfs.c (procfs_insert_hw_watchpoint): Add 'self' argument.
786 (procfs_insert_hw_watchpoint): Add 'self' argument.
787 * mips-linux-nat.c (mips_linux_insert_watchpoint): Add 'self'
788 argument.
789 * inf-ttrace.c (inf_ttrace_insert_watchpoint): Add 'self'
790 argument.
791 * ia64-linux-nat.c (ia64_linux_insert_watchpoint): Add 'self'
792 argument.
793 * i386-nat.c (i386_insert_watchpoint): Add 'self' argument.
794 * arm-linux-nat.c (arm_linux_insert_watchpoint): Add 'self'
795 argument.
796 * aarch64-linux-nat.c (aarch64_linux_insert_watchpoint): Add
797 'self' argument.
798
11b5219a
TT
7992014-02-19 Tom Tromey <tromey@redhat.com>
800
801 * target.h (struct target_ops) <to_remove_watchpoint>: Add
802 argument.
803 (target_remove_watchpoint): Add argument.
804 * target.c (debug_to_remove_watchpoint): Add argument.
805 (update_current_target): Update.
806 * s390-linux-nat.c (s390_remove_watchpoint): Add 'self' argument.
807 * remote.c (remote_remove_watchpoint): Add 'self' argument.
808 * remote-mips.c (mips_remove_watchpoint): Add 'self' argument.
809 * remote-m32r-sdi.c (m32r_remove_watchpoint): Add 'self' argument.
810 * procfs.c (procfs_remove_watchpoint): Add 'self' argument.
811 * ppc-linux-nat.c (ppc_linux_remove_watchpoint): Add 'self'
812 argument.
813 * nto-procfs.c (procfs_remove_hw_watchpoint): Add 'self' argument.
814 * mips-linux-nat.c (mips_linux_remove_watchpoint): Add 'self'
815 argument.
816 * inf-ttrace.c (inf_ttrace_remove_watchpoint): Add 'self'
817 argument.
818 * ia64-linux-nat.c (ia64_linux_remove_watchpoint): Add 'self'
819 argument.
820 * i386-nat.c (i386_remove_watchpoint): Add 'self' argument.
821 * arm-linux-nat.c (arm_linux_remove_watchpoint): Add 'self'
822 argument.
823 * aarch64-linux-nat.c (aarch64_linux_remove_watchpoint): Add
824 'self' argument.
825
a64dc96c
TT
8262014-02-19 Tom Tromey <tromey@redhat.com>
827
828 * target.h (struct target_ops) <to_remove_hw_breakpoint>: Add
829 argument.
830 (target_remove_hw_breakpoint): Add argument.
831 * target.c (debug_to_remove_hw_breakpoint): Add argument.
832 (update_current_target): Update.
833 * remote.c (remote_remove_hw_breakpoint): Add 'self' argument.
834 * ppc-linux-nat.c (ppc_linux_remove_hw_breakpoint): Add 'self'
835 argument.
836 * i386-nat.c (i386_remove_hw_breakpoint): Add 'self' argument.
837 * arm-linux-nat.c (arm_linux_remove_hw_breakpoint): Add 'self'
838 argument.
839 * aarch64-linux-nat.c (aarch64_linux_remove_hw_breakpoint): Add
840 'self' argument.
841
23a26771
TT
8422014-02-19 Tom Tromey <tromey@redhat.com>
843
844 * target.h (struct target_ops) <to_insert_hw_breakpoint>: Add
845 argument.
846 (target_insert_hw_breakpoint): Add argument.
847 * target.c (debug_to_insert_hw_breakpoint): Add argument.
848 (update_current_target): Update.
849 * remote.c (remote_insert_hw_breakpoint): Add 'self' argument.
850 * ppc-linux-nat.c (ppc_linux_insert_hw_breakpoint): Add 'self'
851 argument.
852 * nto-procfs.c (procfs_insert_hw_breakpoint): Add 'self' argument.
853 * i386-nat.c (i386_insert_hw_breakpoint): Add 'self' argument.
854 * arm-linux-nat.c (arm_linux_insert_hw_breakpoint): Add 'self'
855 argument.
856 * aarch64-linux-nat.c (aarch64_linux_insert_hw_breakpoint): Add
857 'self' argument.
858
5461485a
TT
8592014-02-19 Tom Tromey <tromey@redhat.com>
860
861 * target.h (struct target_ops) <to_can_use_hw_breakpoint>: Add
862 argument.
863 (target_can_use_hardware_watchpoint): Add argument.
864 * target.c (debug_to_can_use_hw_breakpoint): Add argument.
865 (update_current_target): Update.
866 * spu-linux-nat.c (spu_can_use_hw_breakpoint): Add 'self'
867 argument.
868 * s390-linux-nat.c (s390_can_use_hw_breakpoint): Add 'self'
869 argument.
870 * remote.c (remote_check_watch_resources): Add 'self' argument.
871 * remote-mips.c (mips_can_use_watchpoint): Add 'self' argument.
872 * remote-m32r-sdi.c (m32r_can_use_hw_watchpoint): Add 'self'
873 argument.
874 * procfs.c (procfs_can_use_hw_breakpoint): Add 'self' argument.
875 * ppc-linux-nat.c (ppc_linux_can_use_hw_breakpoint): Add 'self'
876 argument.
877 * nto-procfs.c (procfs_can_use_hw_breakpoint): Add 'self'
878 argument.
879 * mips-linux-nat.c (mips_linux_can_use_hw_breakpoint): Add 'self'
880 argument.
881 * inf-ttrace.c (inf_ttrace_can_use_hw_breakpoint): Add 'self'
882 argument.
883 * ia64-linux-nat.c (ia64_linux_can_use_hw_breakpoint): Add 'self'
884 argument.
885 * ia64-hpux-nat.c (ia64_hpux_can_use_hw_breakpoint): Add 'self'
886 argument.
887 * i386-nat.c (i386_can_use_hw_breakpoint): Add 'self' argument.
888 * arm-linux-nat.c (arm_linux_can_use_hw_breakpoint): Add 'self'
889 argument.
890 * aarch64-linux-nat.c (aarch64_linux_can_use_hw_breakpoint): Add
891 'self' argument.
892
f045800c
TT
8932014-02-19 Tom Tromey <tromey@redhat.com>
894
895 * target.h (struct target_ops) <to_post_attach>: Add argument.
896 (target_post_attach): Add argument.
897 * target.c (debug_to_post_attach): Add argument.
898 (update_current_target): Update.
899 * spu-linux-nat.c (spu_child_post_attach): Add 'self' argument.
900 * nto-procfs.c (procfs_post_attach): Add 'self' argument.
901 * linux-nat.c (linux_child_post_attach): Add 'self' argument.
902 * inf-ptrace.c (inf_ptrace_post_attach): Add 'self' argument.
903 * inf-child.c (inf_child_post_attach): Add 'self' argument.
904
de90e03d
TT
9052014-02-19 Tom Tromey <tromey@redhat.com>
906
907 * windows-nat.c (windows_close): Add 'self' argument.
908 * tracepoint.c (tfile_close): Add 'self' argument.
909 * target.h (struct target_ops) <to_close>: Add argument.
910 * target.c (target_close): Add argument.
911 (update_current_target): Update.
912 * remote.c (remote_close): Add 'self' argument.
913 * remote-sim.c (gdbsim_close): Add 'self' argument.
914 * remote-mips.c (mips_close): Add 'self' argument.
915 * remote-m32r-sdi.c (m32r_close): Add 'self' argument.
916 * record-full.c (record_full_close): Add 'self' argument.
917 * record-btrace.c (record_btrace_close): Add 'self' argument.
918 * monitor.h (monitor_close): Add 'self' argument.
919 * monitor.c (monitor_close): Add 'self' argument.
920 * mips-linux-nat.c (mips_linux_close): Add 'self' argument.
921 * linux-nat.c (linux_nat_close): Add argument.
922 * go32-nat.c (go32_close): Add 'self' argument.
923 * exec.c (exec_close_1): Add 'self' argument.
924 * ctf.c (ctf_close): Add 'self' argument.
925 * corelow.c (core_close): Add 'self' argument.
926 (core_close_cleanup): Update.
927 * bsd-uthread.c (bsd_uthread_close): Add 'self' argument.
928 * bsd-kvm.c (bsd_kvm_close): Add 'self' argument.
929
9dd130a0
TT
9302014-02-19 Tom Tromey <tromey@redhat.com>
931
932 * remote.c (remote_load): New function.
933 (init_remote_ops): Use it.
934
46917d26
TT
9352014-02-19 Tom Tromey <tromey@redhat.com>
936
937 * common/linux-btrace.c (linux_supports_btrace): Add "ops"
938 argument.
939 * common/linux-btrace.h (linux_supports_btrace): Update.
940 * remote.c (remote_supports_btrace): Add "self" argument.
941 * target-delegates.c: Rebuild.
942 * target.c (target_supports_btrace): Remove.
943 * target.h (struct target_ops) <to_supports_btrace>: Add
944 target_ops argument.
945 (target_supports_btrace): New define.
946
6b84065d
TT
9472014-02-19 Tom Tromey <tromey@redhat.com>
948
949 * record-full.c (record_full_beneath_to_resume_ops)
950 (record_full_beneath_to_resume, record_full_beneath_to_wait_ops)
951 (record_full_beneath_to_wait)
952 (record_full_beneath_to_store_registers_ops)
953 (record_full_beneath_to_store_registers)
954 (record_full_beneath_to_xfer_partial_ops)
955 (record_full_beneath_to_xfer_partial)
956 (record_full_beneath_to_insert_breakpoint_ops)
957 (record_full_beneath_to_insert_breakpoint)
958 (record_full_beneath_to_remove_breakpoint_ops)
959 (record_full_beneath_to_remove_breakpoint)
960 (record_full_beneath_to_stopped_by_watchpoint)
961 (record_full_beneath_to_stopped_data_address)
962 (record_full_beneath_to_async, tmp_to_resume_ops, tmp_to_resume)
963 (tmp_to_wait_ops, tmp_to_wait, tmp_to_store_registers_ops)
964 (tmp_to_store_registers, tmp_to_xfer_partial_ops)
965 (tmp_to_xfer_partial, tmp_to_instmp_to_insert_breakpoint_ops)
966 (tmp_to_insert_breakpoint, tmp_to_remove_breakpoint_ops)
967 (tmp_to_remove_breakpoint, tmp_to_stopped_by_watchpoint)
968 (tmp_to_stopped_data_address, tmp_to_async): Remove.
969 (record_full_open_1, record_full_open): Update. Use RECORD_IS_USED.
970 (record_full_resume, record_full_wait_1)
971 (record_full_stopped_by_watchpoint, record_full_stopped_data_address)
972 (record_full_store_registers, record_full_xfer_partial)
973 (record_full_insert_breakpoint, record_full_remove_breakpoint)
974 (record_full_async, record_full_core_xfer_partial): Use target
975 delegation.
976 * target-delegates.c: Rebuild.
977 * target.c (current_xfer_partial): Remove.
978 (update_current_target): Do not INHERIT or de_fault
979 to_insert_breakpoint, to_remove_breakpoint,
980 to_stopped_data_address, to_stopped_by_watchpoint, to_can_async_p,
981 to_is_async_p, to_async. Do not set to_xfer_partial field.
982 (default_xfer_partial): Simplify.
983 (current_xfer_partial): Remove.
984 (target_wait, target_resume): Simplify.
985 (find_default_can_async_p, find_default_is_async_p): Update.
986 (init_dummy_target): Don't set to_can_async_p, to_is_async_p,
987 to_xfer_partial, to_stopped_by_watchpoint,
988 to_stopped_data_address.
989 (target_store_registers): Simplify.
990 (forward_target_remove_breakpoint)
991 (forward_target_insert_breakpoint): Remove.
992 (target_remove_breakpoint, target_insert_breakpoint)
993 (debug_to_insert_breakpoint, debug_to_remove_breakpoint): Update.
994 * target.h (struct target_ops) <to_resume, to_wait,
995 to_store_registers, to_insert_breakpoint, to_remove_breakpoint,
996 to_stopped_by_watchpoint, to_stopped_data_address, to_can_async_p,
997 to_is_async_p, to_async, to_xfer_partial>: Add TARGET_DEFAULT
998 markup.
999 (forward_target_remove_breakpoint)
1000 (forward_target_insert_breakpoint): Remove.
1001 * record-btrace.c (record_btrace_remove_breakpoint): Delegate
1002 directly.
1003 (record_btrace_insert_breakpoint): Delegate directly.
1004
1101cb7b
TT
10052014-02-19 Tom Tromey <tromey@redhat.com>
1006
1007 PR build/7701:
1008 * target-delegates.c: New file.
1009 * target.c: Include target-delegates.c.
1010 (init_dummy_target): Call install_dummy_methods.
1011 (complete_target_initialization): Call install_delegators.
1012 * target.h (TARGET_DEFAULT_IGNORE, TARGET_DEFAULT_NORETURN)
1013 (TARGET_DEFAULT_RETURN, TARGET_DEFAULT_FUNC): New defines.
1014 * make-target-delegates: New file.
1015
8b06beed
TT
10162014-02-19 Tom Tromey <tromey@redhat.com>
1017
1018 * record.c (find_record_target): Use find_target_at.
1019 * target.c (find_target_at): New function.
1020 * target.h (find_target_at): Declare.
1021
6a109b6b
TT
10222014-02-19 Tom Tromey <tromey@redhat.com>
1023
1024 * aarch64-linux-nat.c (aarch64_linux_stopped_by_watchpoint):
1025 Add 'ops' argument.
1026 * arm-linux-nat.c (arm_linux_stopped_by_watchpoint): Add
1027 'ops' argument.
1028 * i386-nat.c (i386_stopped_by_watchpoint): Add 'ops' argument.
1029 * ia64-linux-nat.c (ia64_linux_stopped_by_watchpoint): Add
1030 'ops' argument.
1031 * inf-ttrace.c (inf_ttrace_stopped_by_watchpoint): Add 'ops'
1032 argument.
1033 * linux-nat.c (save_sigtrap): Update.
1034 (linux_nat_stopped_by_watchpoint, linux_nat_is_async_p)
1035 (linux_nat_can_async_p, linux_nat_async): Add 'ops' argument.
1036 (linux_nat_close): Update.
1037 * mips-linux-nat.c (mips_linux_stopped_by_watchpoint): Add 'ops'
1038 argument.
1039 * ppc-linux-nat.c (ppc_linux_stopped_by_watchpoint): Add 'ops'
1040 argument.
1041 * procfs.c (procfs_stopped_by_watchpoint): Add 'ops' argument.
1042 * record-full.c (record_full_beneath_to_stopped_by_watchpoint)
1043 (record_full_beneath_to_async, tmp_to_stopped_by_watchpoint)
1044 (tmp_to_async): Add 'ops' argument.
1045 (record_full_stopped_by_watchpoint, record_full_async)
1046 (record_full_can_async_p, record_full_is_async_p): Add 'ops'
1047 argument.
1048 * remote-m32r-sdi.c (m32r_insert_breakpoint, m32r_remove_breakpoint)
1049 (m32r_stopped_by_watchpoint): Add 'ops' argument.
1050 * remote-mips.c (mips_stopped_by_watchpoint): Add 'ops' argument.
1051 * remote.c (remote_stopped_by_watchpoint_p, remote_can_async_p)
1052 (remote_is_async_p, remote_async): Add 'ops' argument.
1053 (remote_stopped_data_address): Update.
1054 * s390-nat.c (s390_stopped_by_watchpoint): Add 'ops' argument.
1055 * target.c (update_current_target)
1056 (find_default_can_async_p, find_default_is_async_p): Update.
1057 (init_dummy_target): Update.
1058 (debug_to_stopped_by_watchpoint): Add 'ops' argument.
1059 * target.h (struct target_ops) <to_stopped_by_watchpoint,
1060 to_can_async_p, to_is_async_p, to_async>: Add 'ops' argument.
1061 (target_can_async_p, target_is_async_p, target_async)
1062 (target_stopped_by_watchpoint): Update.
1063
e095146b
YQ
10642014-02-19 Yao Qi <yao@codesourcery.com>
1065
1066 PR gdb/16220
1067 * gdbarch.sh: Remove startup_gdbarch.
1068 * gdbarch.c: Regenerated.
1069 * gdbarch.h: Likewise.
1070
bc3c6b36
KB
10712014-02-17 Kevin Buettner <kevinb@redhat.com>
1072
1073 * rl78-tdep.c (rl78_g10_register_name): New function.
1074 (rl78_return_value): Add g10 support.
1075 (rl78_gdbarch_init): Register rl78_g10_register_name for the
1076 g10.
1077
98dc0167 10782014-02-17 Doug Evans <xdje42@gmail.com>
f01c1940
DE
1079
1080 * Makefile.in (SUBDIR_GUILE_OBS): Resort alphabetically.
1081 (SUBDIR_GUILE_SRCS): Ditto.
1082 (scm-gsmob.o): Ditto.
1083
842c05cd
YQ
10842014-02-17 Yao Qi <yao@codesourcery.com>
1085
1086 * gnu-nat.c (ILL_RPC): Declare defined function.
1087
25c0bd04
YQ
10882014-02-17 Yao Qi <yao@codesourcery.com>
1089
1090 * gnu-nat.c (gnu_read_inferior): Change 'copy_count' type to
1091 mach_msg_type_number_t.
1092 (gnu_write_inferior): Likewise.
1093
a9a758e3
YQ
10942014-02-17 Yao Qi <yao@codesourcery.com>
1095
1096 * gnu-nat.c (proc_get_exception_port): Use 'lu' insetad of 'd'
1097 in format string.
1098 (proc_steal_exc_port, make_proc, inf_set_pid): Likewise.
1099 (inf_validate_procs, inf_signal): Likewise.
1100 (S_exception_raise_request): Likewise.
1101 (do_mach_notify_dead_name): Likewise.
1102 (steal_exc_port): Likewise.
1103 (gnu_read_inferior): Change 'copy_count''s type to
1104 mach_msg_type_number_t.
1105 (gnu_write_inferior): Likewise. Use 'lx' instead of 'x' in
1106 format string.
1107
bae8023e
TS
11082014-02-16 Thomas Schwinge <thomas@codesourcery.com>
1109
c82f56d9
TS
1110 * gnu-nat.c (struct inf): Change pending_execs member to a 1-bit
1111 flag. Adjust all users; in particular...
1112 (gnu_wait): ..., don't decrement its value in here...
1113 (gnu_create_inferior): ..., and instead set the flag in here,
1114 around the startup_inferior call, and call that one with
1115 START_INFERIOR_TRAPS_EXPECTED.
1116
3398af6a
TS
1117 * gnu-nat.c (ill_rpc): Remove function; replaced with this...
1118 (ILL_RPC): ... new macro.
1119 (do_mach_notify_no_senders, do_mach_notify_port_deleted)
1120 (do_mach_notify_msg_accepted, do_mach_notify_port_destroyed)
1121 (do_mach_notify_send_once, S_proc_setmsgport_reply)
1122 (S_proc_getmsgport_reply, S_msg_sig_post_reply): Generate stub
1123 functions with ILL_RPC macro.
1124 (S_proc_pid2task_reply, S_proc_task2pid_reply)
1125 (S_proc_task2proc_reply, S_proc_proc2task_reply)
1126 (S_proc_pid2proc_reply, S_proc_getprocinfo_reply)
1127 (S_proc_getprocargs_reply, S_proc_getprocenv_reply)
1128 (S_proc_getloginid_reply, S_proc_getloginpids_reply)
1129 (S_proc_getlogin_reply, S_proc_getsid_reply)
1130 (S_proc_getsessionpgids_reply, S_proc_getsessionpids_reply)
1131 (S_proc_getsidport_reply, S_proc_getpgrp_reply)
1132 (S_proc_getpgrppids_reply, S_proc_get_tty_reply)
1133 (S_proc_getnports_reply, S_proc_is_important_reply)
1134 (S_proc_get_code_reply): New stub functions, generated with
1135 ILL_RPC macro.
1136
d47642c9
TS
1137 * reply_mig_hack.awk: In phase 5, keep going if we have not yet
1138 collected the type check structures.
1139
bae8023e
TS
1140 * reply_mig_hack.awk: Don't expect to see the auto keyword.
1141
8a55ffb0
DE
11422014-02-14 Doug Evans <dje@google.com>
1143
1144 * target.c (target_write_partial): Fix result type.
1145
c2853f3d
JM
11462014-02-14 Jose E. Marchesi <jose.marchesi@oracle.com>
1147
1148 * sparc64-linux-nat.c (_initialize_sparc64_linux_nat): Register
1149 the proper offsets to access fpregset_t.
1150
ac61d2db
SA
11512014-02-13 Sanimir Agovic <sanimir.agovic@intel.com>
1152
1153 * cris-tdep.c (cris_supply_gregset): Remove zerobuf.
1154 (_initialize_cris_tdep): Remove cris_set_cmdlist, cris_show_cmdlist.
1155 * h8300-tdep.c (setmachinelist): Remove global.
1156 * hppa-tdep.c (hppa_sigtramp): Remove global.
1157 * mipsnbsd-tdep.c (sigtramp_retcode_mipsel, sigtramp_retcode_mipseb
1158 RETCODE_NWORDS, RETCODE_SIZE): Wrap code with #if 0.
1159 * ravenscar-thread.c (update_target_observer): Remove global.
1160 * rs6000-tdep.c (rs6000_gdbarch_init): Remove segment_regs.
1161
9d2d0b8b
TT
11622014-02-12 Tom Tromey <tromey@redhat.com>
1163
1164 * common/rsp-low.c: Update comments.
1165 * common/rsp-low.h: Update comments.
1166
a7191e8b
TT
11672014-02-12 Tom Tromey <tromey@redhat.com>
1168
1169 * common/rsp-low.c (convert_ascii_to_int): Remove.
1170 * common/rsp-low.h (convert_ascii_to_int): Don't declare.
1171
ff0e980e
TT
11722014-02-12 Tom Tromey <tromey@redhat.com>
1173
1174 * common/rsp-low.h (unhexify): Don't declare.
1175 * common/rsp-low.c (unhexify): Remove.
1176
e9371aff
TT
11772014-02-12 Tom Tromey <tromey@redhat.com>
1178
1179 * common/rsp-low.h (convert_int_to_ascii): Don't declare.
1180 * common/rsp-low.c (convert_int_to_ascii): Remove.
1181
971dc0b8
TT
11822014-02-12 Tom Tromey <tromey@redhat.com>
1183
1184 * common/rsp-low.h (hexify): Don't declare.
1185 * common/rsp-low.c (hexify): Remove.
1186
0a822afb
TT
11872014-02-12 Tom Tromey <tromey@redhat.com>
1188
1189 * common/rsp-low.c (hexify): Never take strlen of argument.
1190
9f1b45b0
TT
11912014-02-12 Tom Tromey <tromey@redhat.com>
1192
1193 * common/rsp-low.c (bin2hex): Never take strlen of argument.
1194 * remote.c (extended_remote_run, remote_rcmd)
1195 (remote_download_trace_state_variable, remote_save_trace_data)
1196 (remote_set_trace_notes): Update.
1197 * tracepoint.c (encode_source_string, tfile_write_status)
1198 (tfile_write_uploaded_tsv): Update.
1199
9c3d6531
TT
12002014-02-12 Tom Tromey <tromey@redhat.com>
1201
1202 * tracepoint.c: Include rsp-low.h.
1203 * remote.h (hex2bin, bin2hex, unpack_varlen_hex): Don't declare.
1204 * remote.c: Include rsp-low.h.
1205 (hexchars, ishex, unpack_varlen_hex, pack_nibble, pack_hex_byte)
1206 (fromhex, hex2bin, tohex, bin2hex, remote_escape_output)
1207 (remote_unescape_input): Move to common/rsp-low.c.
1208 * common/rsp-low.h: New file.
1209 * common/rsp-low.c: New file.
1210 * Makefile.in (SFILES): Add common/rsp-low.c.
1211 (HFILES_NO_SRCDIR): Add common/rsp-low.h.
1212 (COMMON_OBS): Add rsp-low.o.
1213 (rsp-low.o): New target.
1214
01fd3ea5
TT
12152014-02-12 Tom Tromey <tromey@redhat.com>
1216
1217 * utils.h: Include print-utils.h.
1218 (host_address_to_string, plongest, pulongest, phex, phex_nz)
1219 (int_string, core_addr_to_string, core_addr_to_string_nz)
1220 (hex_string, hex_string_custom): Don't declare.
1221 * utils.c (NUMCELLS, CELLSIZE, get_cell, decimal2str, pulongest)
1222 (plongest, thirty_two, phex, phex_nz, octal2str, hex_string)
1223 (hex_string_custom, int_string, core_addr_to_string)
1224 (core_addr_to_string_nz, host_address_to_string): Move to
1225 common/print-utils.c.
1226 * common/print-utils.h: New file.
1227 * common/print-utils.c: New file
1228 * Makefile.in (SFILES): Add common/print-utils.c.
1229 (HFILES_NO_SRCDIR): Add common/print-utils.h.
1230 (COMMON_OBS): Add print-utils.o.
1231 (print-utils.o): New target.
1232
9fb50108
TT
12332014-02-12 Tom Tromey <tromey@redhat.com>
1234
1235 * nios2-tdep.c (nios2_stub_frame_base_address): Remove.
1236
0548b5db
MK
12372014-02-12 Mark Kettenis <kettenis@gnu.org>
1238
1239 * sparc64obsd-tdep.c (sparc64obsd_init_abi): Call obsd_init_abi.
1240
493443a4
MK
12412014-02-12 Mark Kettenis <kettenis@gnu.org>
1242
1243 * inf-ptrace.c (inf_ptrace_xfer_partial): Return TARGET_XFER_EOF
1244 if a PT_IO ptrace request returns sucessfully but indicates that 0
1245 bytes were transferred.
1246
706d0883
PA
12472014-02-12 Pedro Alves <palves@redhat.com>
1248 Kevin Buettner <kevinb@redhat.com>
1249
1250 * gnu-v3-abi.c (build_gdb_vtable_type): Return a type marked with
1251 TYPE_INSTANCE_FLAG_CODE_SPACE.
1252
5caa2f0b
PA
12532014-02-12 Pedro Alves <palves@redhat.com>
1254
1255 * h8300-tdep.c (pseudo_from_raw_register)
1256 (raw_from_pseudo_register): New functions.
1257 (h8300_pseudo_register_read, h8300_pseudo_register_write): Use
1258 them.
1259
76fd5f74
PA
12602014-02-12 Pedro Alves <palves@redhat.com>
1261
1262 * h8300-tdep.c (h8300_register_sim_regno): New function.
1263 (h8300_gdbarch_init): Install h8300_register_sim_regno as
1264 gdbarch_register_sim_regno hook.
1265
8f008406
SA
12662014-02-12 Sanimir Agovic <sanimir.agovic@intel.com>
1267
1268 * nios2-tdep.c (nios2_stub_frame_base): Remove global.
1269
195abc10
SA
12702014-02-12 Sanimir Agovic <sanimir.agovic@intel.com>
1271
1272 * tic6x-tdep.c (tic6x_gdbarch_init): Call frame_base_set_default.
1273
93ffa5b9
MK
12742014-02-12 Mark Kettenis <kettenis@gnu.org>
1275
1276 * obsd-tdep.h (obsd_init_abi): New prototype.
1277 * obsd-tdep.c: Define enum with OpenBSD signal numbers.
1278 (obsd_gdb_signal_from_target, obsd_gdb_signal_to_target)
1279 (obsd_init_abi): New functions.
1280 * i386obsd-tdep.c: Include "obsd-tdep.h".
1281 (i386obsd_init_abi): Call obsd_init_abi.
1282 * amd64obsd-tdep.c: Include "obsd-tdep.h".
1283 (amd64obsd_init_abi): Call obsd_init_abi.
1284 * configure.tgt (i[34567]86-*-openbsd*, x86_64-*-openbsd*): Add
1285 obsd-tdep.c to gdb_target_obs.
1286
49caec94
JM
12872014-02-11 Jose E. Marchesi <jose.marchesi@oracle.com>
1288
1289 * sparc64-tdep.c (sparc64_store_arguments): Do not align complex
1290 double float arguments to 16-byte in the argument slots.
1291
e1402065
DE
12922014-02-11 Doug Evans <xdje42@gmail.com>
1293
1294 * configure.ac: Don't crash if pkg-config is not found and guile
1295 wasn't explicitly requested. Use AC_MSG_ERROR instead of AC_ERROR
1296 in guile checks.
1297 * configure: Regenerate.
1298
edcc890f
YQ
12992014-02-11 Yao Qi <yao@codesourcery.com>
1300
1301 * aix-thread.c (aix_thread_xfer_partial): Update comments.
1302 * auxv.c (procfs_xfer_auxv, memory_xfer_auxv): Likewise.
1303 * bsd-uthread.c (bsd_uthread_xfer_partial): Likewise.
1304 * gnu-nat.c (gnu_xfer_memory): Likewise.
1305 * inf-ptrace.c (inf_ptrace_xfer_partial): Likewise.
1306 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
1307 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
1308 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise.
1309
9b409511
YQ
13102014-02-11 Yao Qi <yao@codesourcery.com>
1311
1312 * target.h (enum target_xfer_error): Rename to ...
1313 (enum target_xfer_status): ... it. New. All users updated.
1314 (enum target_xfer_status) <TARGET_XFER_OK>, <TARGET_XFER_EOF>:
1315 New.
1316 (TARGET_XFER_STATUS_ERROR_P): New macro.
1317 (target_xfer_error_to_string): Remove declaration.
1318 (target_xfer_status_to_string): Declare.
1319 (target_xfer_partial_ftype): Adjust it.
1320 (struct target_ops) <to_xfer_partial>: Return
1321 target_xfer_status. Add argument xfered_len. Update
1322 comments.
1323 * target.c (target_xfer_error_to_string): Rename to ...
1324 (target_xfer_status_to_string): ... it. New. All callers
1325 updated.
1326 (target_read_live_memory): Likewise. Call target_xfer_partial
1327 instead of target_read.
1328 (memory_xfer_live_readonly_partial): Return
1329 target_xfer_status. Add argument xfered_len.
1330 (raw_memory_xfer_partial): Likewise.
1331 (memory_xfer_partial_1): Likewise.
1332 (memory_xfer_partial): Likewise.
1333 (target_xfer_partial): Likewise. Check *XFERED_LEN is set
1334 properly. Update debug message.
1335 (default_xfer_partial, current_xfer_partial): Likewise.
1336 (target_write_partial): Likewise.
1337 (target_read_partial): Likewise. All callers updated.
1338 (read_whatever_is_readable): Likewise.
1339 (target_write_with_progress): Likewise.
1340 (target_read_alloc_1): Likewise.
1341
1342 * aix-thread.c (aix_thread_xfer_partial): Likewise.
1343 * auxv.c (procfs_xfer_auxv): Likewise.
1344 (ld_so_xfer_auxv, memory_xfer_auxv): Likewise.
1345 * bfd-target.c (target_bfd_xfer_partial): Likewise.
1346 * bsd-kvm.c (bsd_kvm_xfer_partial): Likewise.
1347 * bsd-uthread.c (bsd_uthread_xfer_partia): Likewise.
1348 * corefile.c (read_memory): Adjust.
1349 * corelow.c (core_xfer_partial): Likewise.
1350 * ctf.c (ctf_xfer_partial): Likewise.
1351 * darwin-nat.c (darwin_read_dyld_info): Likewise. All callers
1352 updated.
1353 (darwin_xfer_partial): Likewise.
1354 * exec.c (section_table_xfer_memory_partial): Likewise. All
1355 callers updated.
1356 (exec_xfer_partial): Likewise.
1357 * exec.h (section_table_xfer_memory_partial): Update
1358 declaration.
1359 * gnu-nat.c (gnu_xfer_memory): Likewise. Assert 'res' is not
1360 negative.
1361 (gnu_xfer_partial): Likewise.
1362 * ia64-hpux-nat.c (ia64_hpux_xfer_memory_no_bs): Likewise.
1363 (ia64_hpux_xfer_memory, ia64_hpux_xfer_uregs): Likewise.
1364 (ia64_hpux_xfer_solib_got): Likewise.
1365 * inf-ptrace.c (inf_ptrace_xfer_partial): Likewise. Change
1366 type of 'partial_len' to ULONGEST.
1367 * inf-ttrace.c (inf_ttrace_xfer_partial): Likewise.
1368 * linux-nat.c (linux_xfer_siginfo ): Likewise.
1369 (linux_nat_xfer_partial): Likewise.
1370 (linux_proc_xfer_partial, linux_xfer_partial): Likewise.
1371 (linux_proc_xfer_spu, linux_nat_xfer_osdata): Likewise.
1372 * monitor.c (monitor_xfer_memory): Likewise.
1373 (monitor_xfer_partial): Likewise.
1374 * procfs.c (procfs_xfer_partial): Likewise.
1375 * record-btrace.c (record_btrace_xfer_partial): Likewise.
1376 * record-full.c (record_full_xfer_partial): Likewise.
1377 (record_full_core_xfer_partial): Likewise.
1378 * remote-sim.c (gdbsim_xfer_memory): Likewise.
1379 (gdbsim_xfer_partial): Likewise.
1380 * remote.c (remote_write_bytes_aux): Likewise. All callers
1381 updated.
1382 (remote_write_bytes, remote_read_bytes): Likewise. All
1383 callers updated.
1384 (remote_flash_erase): Likewise. All callers updated.
1385 (remote_write_qxfer): Likewise. All callers updated.
1386 (remote_read_qxfer): Likewise. All callers updated.
1387 (remote_xfer_partial): Likewise.
1388 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
1389 (rs6000_xfer_shared_libraries): Likewise.
1390 * sol-thread.c (sol_thread_xfer_partial): Likewise.
1391 (sol_thread_xfer_partial): Likewise.
1392 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
1393 (sparc_xfer_partial): Likewise.
1394 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise. All callers
1395 updated.
1396 (spu_xfer_partial): Likewise.
1397 * spu-multiarch.c (spu_xfer_partial): Likewise.
1398 * tracepoint.c (tfile_xfer_partial): Likewise.
1399 * windows-nat.c (windows_xfer_memory): Likewise.
1400 (windows_xfer_shared_libraries): Likewise.
1401 (windows_xfer_partial): Likewise.
1402 * valprint.c: Replace 'target_xfer_error' with
1403 'target_xfer_status' in comments.
1404
a8e63083
JB
14052014-02-11 Simon Marchi <simon.marchi@ericsson.com> (tiny patch)
1406
1407 Checked in by Joel Brobecker <brobecker@adacore.com>.
1408 * mi/mi-main.c (mi_cmd_data_write_memory_bytes): Fix comment.
1409
e86b67d3
JB
14102014-02-11 Joel Brobecker <brobecker@adacore.com>
1411
1412 * symfile-debug.c (debug_qf_expand_symtabs_matching): Reformat
1413 function parameters.
1414
4b7d1f7f
WN
14152014-02-10 Will Newton <will.newton@linaro.org>
1416
1417 * elfread.c (elf_rel_plt_read): Look for a .got section if
1418 looking up .got.plt fails.
1419 (elf_gnu_ifunc_resolve_by_got): Call gdbarch_addr_bits_remove
1420 on address passed to elf_gnu_ifunc_record_cache.
1421 (elf_gnu_ifunc_resolve_addr): Likewise.
1422 (elf_gnu_ifunc_resolver_return_stop): Likewise.
1423
961842b2
JM
14242014-02-10 Jose E. Marchesi <jose.marchesi@oracle.com>
1425
1426 * sparc-tdep.c (sparc_in_function_epilogue_p): New function.
1427 (X_RETTURN): New macro.
1428 * sparc-tdep.h: sparc_in_function_epilogue_p prototype.
1429
1430 * sparc64-tdep.c (sparc64_init_abi): Hook
1431 sparc_in_function_epilogue_p.
1432
3f03e7b1
GB
14332014-02-10 Gary Benson <gbenson@redhat.com>
1434
1435 * symfile-debug.c (debug_qf_expand_symtabs_matching):
1436 Rename name_matcher to symbol_matcher.
1437
96f861ef
GB
14382014-02-10 Gary Benson <gbenson@redhat.com>
1439
1440 * symfile-debug.c (debug_qf_expand_symtabs_matching):
1441 Use expand_symtabs_file_matcher_ftype and
1442 expand_symtabs_symbol_matcher_ftype.
1443
ee01b665
JB
14442014-02-10 Joel Brobecker <brobecker@adacore.com>
1445
1446 * ada-lang.c (struct cache_entry, HASH_SIZE): Move definition up.
1447 (struct ada_symbol_cache): New.
1448 (ada_free_symbol_cache): Forward declare.
1449 (struct ada_pspace_data): New.
1450 (ada_pspace_data_handle): New static global.
1451 (get_ada_pspace_data, ada_pspace_data_cleanup)
1452 (ada_init_symbol_cache, ada_free_symbol_cache): New functions.
1453 (cache_space, cache): Delete, now folded inside struct
1454 ada_pspace_data.
1455 (ada_get_symbol_cache): New function.
1456 (ada_clear_symbol_cache, find_entry, cache_symbol): Adjust
1457 implementation.
1458 (_initialize_ada_language): Remove initialization of cache_space.
1459 Move call to observer_attach_inferior_exit up, grouping it
1460 with the other observer registrations inside this function.
1461 Rename command to be more general. Add call to
1462 register_program_space_data_with_cleanup.
1463
143adbbf
JB
14642014-02-10 Joel Brobecker <brobecker@adacore.com>
1465
1466 * ada-tasks.c (ada_tasks_new_objfile_observer): Renames
1467 ada_new_objfile_observer.
1468 (ada_tasks_normal_stop_observer): Renames ada_normal_stop_observer.
1469 (_initialize_tasks): Update uses of ada_new_objfile_observer
1470 and ada_tasks_normal_stop_observer.
1471
aa4fb036
JB
14722014-02-10 Joel Brobecker <brobecker@adacore.com>
1473
1474 * ada-lang.c (ada_evaluate_subexp): Set the type of the value
1475 returned by the 'Length attribute to integer.
1476
9dee8cc6
JB
14772014-02-10 Joel Brobecker <brobecker@adacore.com>
1478
1479 * ada-lang.c (_initialize_ada_language): Initialize
1480 cache_space obstack.
1481
3d9434b5
JB
14822014-02-10 Joel Brobecker <brobecker@adacore.com>
1483
1484 * ada-lang.c (HASH_SIZE): New macro.
1485 (struct cache_entry): New type.
1486 (cache_space, cache): New static globals.
1487 (ada_clear_symbol_cache, find_entry): New functions.
1488 (lookup_cached_symbol, cache_symbol): Implement.
1489 (ada_new_objfile_observer, ada_free_objfile_observer): New.
1490 (_initialize_ada_language): Attach ada_new_objfile_observer
1491 and ada_free_objfile_observer.
1492
f0c5f9b2
JB
14932014-02-10 Joel Brobecker <brobecker@adacore.com>
1494
1495 * ada-lang.c (ada_add_block_symbols, add_defn_to_vec)
1496 (lookup_cached_symbol, ada_add_local_symbols): Add "const" to
1497 struct block * parameter.
1498 (ada_lookup_symbol_list_worker): Constify local variable "block".
1499 Remove cast which is no longer necessary.
1500
ed3ef339
DE
15012014-02-10 Doug Evans <xdje42@gmail.com>
1502
1503 Add Guile as an extension language.
1504 * NEWS: Mention Guile scripting.
1505 * Makefile.in (SUBDIR_GUILE_OBS): New variable.
1506 (SUBDIR_GUILE_SRCS, SUBDIR_GUILE_DEPS): New variables
1507 (SUBDIR_GUILE_LDFLAGS, SUBDIR_GUILE_CFLAGS): New variables.
1508 (INTERNAL_CPPFLAGS): Add GUILE_CPPFLAGS.
1509 (CLIBS): Add GUILE_LIBS.
1510 (install-guile): New rule.
1511 (guile.o): New rule.
1512 (scm-arch.o, scm-auto-load.o, scm-block.o): New rules.
1513 (scm-breakpoint.o, scm-disasm.o, scm-exception.o): New rules.
1514 (scm-frame.o, scm-iterator.o, scm-lazy-string.o): New rules.
1515 (scm-math.o, scm-objfile.o, scm-ports.o): New rules.
1516 (scm-pretty-print.o, scm-safe-call.o, scm-gsmob.o): New rules.
1517 (scm-string.o, scm-symbol.o, scm-symtab.o): New rules.
1518 (scm-type.o, scm-utils.o, scm-value.o): New rules.
1519 * configure.ac: New option --with-guile.
1520 * configure: Regenerate.
1521 * config.in: Regenerate.
1522 * auto-load.c: Remove #include "python/python.h". Add #include
1523 "gdb/section-scripts.h".
1524 (source_section_scripts): Handle Guile scripts.
1525 (_initialize_auto_load): Add name of Guile objfile script to
1526 scripts-directory help text.
1527 * breakpoint.c (condition_command): Tweak comment to include Scheme.
1528 * breakpoint.h (gdbscm_breakpoint_object): Add forward decl.
1529 (struct breakpoint): New member scm_bp_object.
1530 * defs.h (enum command_control_type): New value guile_control.
1531 * cli/cli-cmds.c: Remove #include "python/python.h". Add #include
1532 "extension.h".
1533 (show_user): Update comment.
1534 (_initialize_cli_cmds): Update help text for "show user". Update help
1535 text for max-user-call-depth.
1536 * cli/cli-script.c: Remove #include "python/python.h". Add #include
1537 "extension.h".
1538 (multi_line_command_p): Add guile_control.
1539 (print_command_lines): Handle guile_control.
1540 (execute_control_command, recurse_read_control_structure): Ditto.
1541 (process_next_line): Recognize "guile" commands.
1542 * disasm.c (gdb_disassemble_info): Make non-static.
1543 * disasm.h: #include "dis-asm.h".
1544 (struct gdbarch): Add forward decl.
1545 (gdb_disassemble_info): Declare.
1546 * extension.c: #include "guile/guile.h".
1547 (extension_languages): Add guile.
1548 (get_ext_lang_defn): Handle EXT_LANG_GDB.
1549 * extension.h (enum extension_language): New value EXT_LANG_GUILE.
1550 * gdbtypes.c (get_unsigned_type_max): New function.
1551 (get_signed_type_minmax): New function.
1552 * gdbtypes.h (get_unsigned_type_max): Declare.
1553 (get_signed_type_minmax): Declare.
1554 * guile/README: New file.
1555 * guile/guile-internal.h: New file.
1556 * guile/guile.c: New file.
1557 * guile/guile.h: New file.
1558 * guile/scm-arch.c: New file.
1559 * guile/scm-auto-load.c: New file.
1560 * guile/scm-block.c: New file.
1561 * guile/scm-breakpoint.c: New file.
1562 * guile/scm-disasm.c: New file.
1563 * guile/scm-exception.c: New file.
1564 * guile/scm-frame.c: New file.
1565 * guile/scm-gsmob.c: New file.
1566 * guile/scm-iterator.c: New file.
1567 * guile/scm-lazy-string.c: New file.
1568 * guile/scm-math.c: New file.
1569 * guile/scm-objfile.c: New file.
1570 * guile/scm-ports.c: New file.
1571 * guile/scm-pretty-print.c: New file.
1572 * guile/scm-safe-call.c: New file.
1573 * guile/scm-string.c: New file.
1574 * guile/scm-symbol.c: New file.
1575 * guile/scm-symtab.c: New file.
1576 * guile/scm-type.c: New file.
1577 * guile/scm-utils.c: New file.
1578 * guile/scm-value.c: New file.
1579 * guile/lib/gdb.scm: New file.
1580 * guile/lib/gdb/boot.scm: New file.
1581 * guile/lib/gdb/experimental.scm: New file.
1582 * guile/lib/gdb/init.scm: New file.
1583 * guile/lib/gdb/iterator.scm: New file.
1584 * guile/lib/gdb/printing.scm: New file.
1585 * guile/lib/gdb/types.scm: New file.
1586 * data-directory/Makefile.in (GUILE_SRCDIR): New variable.
1587 (VPATH): Add $(GUILE_SRCDIR).
1588 (GUILE_DIR): New variable.
1589 (GUILE_INSTALL_DIR, GUILE_FILES): New variables.
1590 (all): Add stamp-guile dependency.
1591 (stamp-guile): New rule.
1592 (clean-guile, install-guile, uninstall-guile): New rules.
1593 (install-only): Add install-guile dependency.
1594 (uninstall): Add uninstall-guile dependency.
1595 (clean): Add clean-guile dependency.
1596
ac020ec5
DE
15972014-02-09 Doug Evans <xdje42@gmail.com>
1598
1599 Revert this patch (which I approved, mea culpa).
1600
1601 2014-02-08 Mark Kettenis <kettenis@gnu.org>
1602
1603 * Makefile.in (all-lib): Remove.
1604 ($(LIBGNU) $(GNULIB_H)): Replace with gits of remove all-lib target.
1605
2a081c59
JK
16062014-02-09 Jan Kratochvil <jan.kratochvil@redhat.com>
1607
1608 Fix Python stack corruption.
1609 * python/py-linetable.c (ltpy_get_pcs_for_line, ltpy_has_line): Use
1610 gdb_py_longest.
1611
0a6bd22d
MK
16122014-02-08 Mark Kettenis <kettenis@gnu.org>
1613
1614 * Makefile.in (all-lib): Remove.
1615 ($(LIBGNU) $(GNULIB_H)): Replace with gits of remove all-lib target.
1616
1a860409
DE
16172014-02-07 Doug Evans <dje@google.com>
1618
1619 * extension-priv.h (extension_language_script_ops): Add comment.
1620 (extension_language_ops): Add comment.
caf5a491 1621 (active_ext_lang_state): Fix typo in comment.
1a860409 1622
d137e6dc
PA
16232014-02-07 Pedro Alves <palves@redhat.com>
1624
1625 * infrun.c (handle_signal_stop) <signal arrives while stepping
1626 over a breakpoint>: Switch back to the stepping thread.
1627
ce6d0892
YQ
16282014-02-07 Yao Qi <yao@codesourcery.com>
1629
1630 * target.c (target_xfer_partial): Return zero if LEN is zero.
1631
2ed4b548
YQ
16322014-02-07 Yao Qi <yao@codesourcery.com>
1633
1634 * auxv.c (procfs_xfer_auxv): Replace -1 with TARGET_XFER_E_IO.
1635 (ld_so_xfer_auxv): Likewise.
1636 * bfd-target.c (target_bfd_xfer_partial): Likewise.
1637 * bsd-kvm.c (bsd_kvm_xfer_partial): Likewise.
1638 * corelow.c (core_xfer_partial): Likewise.
1639 * ctf.c (ctf_xfer_partial): Likewise.
1640 * darwin-nat.c (darwin_read_dyld_info): Likewise.
1641 (darwin_xfer_partial): Likewise.
1642 * exec.c (exec_xfer_partial): Likewise.
1643 * gnu-nat.c (gnu_xfer_partial): Likewise.
1644 * ia64-hpux-nat.c (ia64_hpux_xfer_uregs): Likewise.
1645 * inf-ptrace.c (inf_ptrace_xfer_partial): Likewise.
1646 * inf-ttrace.c (inf_ttrace_xfer_partial): Likewise.
1647 * linux-nat.c (linux_xfer_siginfo): Likewise.
1648 (linux_proc_xfer_spu): Likewise.
1649 * procfs.c (procfs_xfer_partial): Likewise.
1650 * record-full.c (record_full_xfer_partial): Likewise.
1651 (record_full_core_xfer_partial): Likewise.
1652 * remote-sim.c (gdbsim_xfer_partial): Likewise.
1653 * remote.c (remote_write_qxfer): Likewise.
1654 (remote_write_qxfer, remote_read_qxfer): Likewise.
1655 (remote_xfer_partial): Likewise.
1656 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
1657 (rs6000_xfer_shared_libraries): Likewise.
1658 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
1659 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise.
1660 (spu_xfer_partial): Likewise.
1661 * target.c (memory_xfer_partial_1): Likewise.
1662 * tracepoint.c (tfile_xfer_partial): Likewise.
1663 * windows-nat.c (windows_xfer_shared_libraries): Likewise.
1664 (windows_xfer_partial): Likewise.
1665
c09f20e4
YQ
16662014-02-07 Yao Qi <yao@codesourcery.com>
1667
1668 * gdbarch.sh (core_xfer_shared_libraries): Returns ULONGEST. Add
1669 comments.
1670 (core_xfer_shared_libraries_aix): Likewise.
1671 * gdbarch.c, gdbarch.h: Regenerated.
1672 * i386-cygwin-tdep.c (windows_core_xfer_shared_libraries): Return
1673 ULONGEST. Change 'len_avail' type to ULONGEST.
1674 * rs6000-aix-tdep.c (rs6000_aix_ld_info_to_xml): Likewise.
1675 * rs6000-aix-tdep.h (rs6000_aix_ld_info_to_xml): Update
1676 declaration.
1677 (rs6000_aix_core_xfer_shared_libraries_aix): Return ULONGEST.
1678
8635b3bf
YQ
16792014-02-07 Yao Qi <yao@codesourcery.com>
1680
1681 * corefile.c (memory_error): Get 'exception' from ERR and pass
1682 'exception' to throw_error.
1683
6dddc817
DE
16842014-02-06 Doug Evans <xdje42@gmail.com>
1685
1686 * configure.ac (libpython checking): Remove all but python.o from
1687 CONFIG_OBS. Remove all but python.c from CONFIG_SRCS.
1688 * configure: Regenerate.
1689
1690 * Makefile.in (SFILES): Add extension.c.
1691 (HFILES_NO_SRCDIR): Add extension.h, extension-priv.h
1692 (COMMON_OBS): Add extension.o.
1693 * extension.h: New file.
1694 * extension-priv.h: New file.
1695 * extension.c: New file.
1696
1697 * python/python-internal.h: #include "extension.h".
1698 (gdbpy_auto_load_enabled): Declare.
1699 (gdbpy_apply_val_pretty_printer): Declare.
1700 (gdbpy_apply_frame_filter): Declare.
1701 (gdbpy_preserve_values): Declare.
1702 (gdbpy_breakpoint_cond_says_stop): Declare.
1703 (gdbpy_breakpoint_has_cond): Declare.
1704 (void source_python_script_for_objfile): Delete.
1705 * python/python.c: #include "extension-priv.h".
1706 Delete inclusion of "observer.h".
1707 (extension_language_python): Moved here and renamed from
1708 script_language_python in py-auto-load.c.
1709 Redefined to be of type extension_language_defn.
1710 (python_extension_script_ops): New global.
1711 (python_extension_ops): New global.
1712 (struct python_env): New member previous_active.
1713 (restore_python_env): Call restore_active_ext_lang.
1714 (ensure_python_env): Call set_active_ext_lang.
1715 (gdbpy_clear_quit_flag): Renamed from clear_quit_flag, made static.
1716 New arg extlang.
1717 (gdbpy_set_quit_flag): Renamed from set_quit_flag, made static.
1718 New arg extlang.
1719 (gdbpy_check_quit_flag): Renamed from check_quit_flag, made static.
1720 New arg extlang.
1721 (gdbpy_eval_from_control_command): Renamed from
1722 eval_python_from_control_command, made static. New arg extlang.
1723 (gdbpy_source_script) Renamed from source_python_script, made static.
1724 New arg extlang.
1725 (gdbpy_before_prompt_hook): Renamed from before_prompt_hook. Change
1726 result to int. New arg extlang.
1727 (gdbpy_source_objfile_script): Renamed from
1728 source_python_script_for_objfile, made static. New arg extlang.
1729 (gdbpy_start_type_printers): Renamed from start_type_printers, made
1730 static. New args extlang, extlang_printers. Change result type to
1731 "void".
1732 (gdbpy_apply_type_printers): Renamed from apply_type_printers, made
1733 static. New arg extlang. Rename arg printers to extlang_printers
1734 and change type to ext_lang_type_printers *.
1735 (gdbpy_free_type_printers): Renamed from free_type_printers, made
1736 static. Replace argument arg with extlang, extlang_printers.
1737 (!HAVE_PYTHON, eval_python_from_control_command): Delete.
1738 (!HAVE_PYTHON, source_python_script): Delete.
1739 (!HAVE_PYTHON, gdbpy_should_stop): Delete.
1740 (!HAVE_PYTHON, gdbpy_breakpoint_has_py_cond): Delete.
1741 (!HAVE_PYTHON, start_type_printers): Delete.
1742 (!HAVE_PYTHON, apply_type_printers): Delete.
1743 (!HAVE_PYTHON, free_type_printers): Delete.
1744 (_initialize_python): Delete call to observer_attach_before_prompt.
1745 (finalize_python): Set/restore active extension language.
1746 (gdbpy_finish_initialization) Renamed from
1747 finish_python_initialization, made static. New arg extlang.
1748 (gdbpy_initialized): New function.
1749 * python/python.h: #include "extension.h". Delete #include
1750 "value.h", "mi/mi-cmds.h".
1751 (extension_language_python): Declare.
1752 (GDBPY_AUTO_FILE_NAME): Delete.
1753 (enum py_bt_status): Moved to extension.h and renamed to
1754 ext_lang_bt_status.
1755 (enum frame_filter_flags): Moved to extension.h.
1756 (enum py_frame_args): Moved to extension.h and renamed to
1757 ext_lang_frame_args.
1758 (finish_python_initialization): Delete.
1759 (eval_python_from_control_command): Delete.
1760 (source_python_script): Delete.
1761 (apply_val_pretty_printer): Delete.
1762 (apply_frame_filter): Delete.
1763 (preserve_python_values): Delete.
1764 (gdbpy_script_language_defn): Delete.
1765 (gdbpy_should_stop, gdbpy_breakpoint_has_py_cond): Delete.
1766 (start_type_printers, apply_type_printers, free_type_printers): Delete.
1767
1768 * auto-load.c: #include "extension.h".
1769 (GDB_AUTO_FILE_NAME): Delete.
1770 (auto_load_gdb_scripts_enabled): Make public. New arg extlang.
1771 (script_language_gdb): Delete, moved to extension.c and renamed to
1772 extension_language_gdb.
1773 (source_gdb_script_for_objfile): Delete.
1774 (auto_load_pspace_info): New member unsupported_script_warning_printed.
1775 (loaded_script): Change type of language member to
1776 struct extension_language_defn *.
1777 (init_loaded_scripts_info): Initialize
1778 unsupported_script_warning_printed.
1779 (maybe_add_script): Make static. Change type of language arg to
1780 struct extension_language_defn *.
1781 (clear_section_scripts): Reset unsupported_script_warning_printed.
1782 (auto_load_objfile_script_1): Rewrite to use extension language API.
1783 (auto_load_objfile_script): Make public. Remove support-compiled-in
1784 and auto-load-enabled checks, moved to auto_load_scripts_for_objfile.
1785 (source_section_scripts): Rewrite to use extension language API.
1786 (load_auto_scripts_for_objfile): Rewrite to use
1787 auto_load_scripts_for_objfile.
1788 (collect_matching_scripts_data): Change type of language member to
1789 struct extension_language_defn *.
1790 (auto_load_info_scripts): Change type of language arg to
1791 struct extension_language_defn *.
1792 (unsupported_script_warning_print): New function.
1793 (script_not_found_warning_print): Make static.
1794 (_initialize_auto_load): Rewrite construction of scripts-directory
1795 help.
1796 * auto-load.h (struct objfile): Add forward decl.
1797 (struct script_language): Delete.
1798 (struct auto_load_pspace_info): Add forward decl.
1799 (struct extension_language_defn): Add forward decl.
1800 (maybe_add_script): Delete.
1801 (auto_load_objfile_script): Declare.
1802 (script_not_found_warning_print): Delete.
1803 (auto_load_info_scripts): Update prototype.
1804 (auto_load_gdb_scripts_enabled): Declare.
1805 * python/py-auto-load.c (gdbpy_auto_load_enabled): Renamed from
1806 auto_load_python_scripts_enabled and made public.
1807 (script_language_python): Delete, moved to python.c.
1808 (gdbpy_script_language_defn): Delete.
1809 (info_auto_load_python_scripts): Update to use
1810 extension_language_python.
1811
1812 * breakpoint.c (condition_command): Replace call to
1813 gdbpy_breakpoint_has_py_cond with call to get_breakpoint_cond_ext_lang.
1814 (bpstat_check_breakpoint_conditions): Replace call to gdbpy_should_stop
1815 with call to breakpoint_ext_lang_cond_says_stop.
1816 * python/py-breakpoint.c (gdbpy_breakpoint_cond_says_stop): Renamed
1817 from gdbpy_should_stop. Change result type to enum scr_bp_stop.
1818 New arg slang. Return SCR_BP_STOP_UNSET if py_bp_object is NULL.
1819 (gdbpy_breakpoint_has_cond): Renamed from gdbpy_breakpoint_has_py_cond.
1820 New arg slang.
1821 (local_setattro): Print name of extension language with existing
1822 stop condition.
1823
1824 * valprint.c (val_print, value_print): Update to call
1825 apply_ext_lang_val_pretty_printer.
1826 * cp-valprint.c (cp_print_value): Update call to
1827 apply_ext_lang_val_pretty_printer.
1828 * python/py-prettyprint.c: Remove #ifdef HAVE_PYTHON.
1829 (gdbpy_apply_val_pretty_printer): Renamed from
1830 apply_val_pretty_printer. New arg extlang.
1831 (!HAVE_PYTHON, apply_val_pretty_printer): Delete.
1832
1833 * cli/cli-cmds.c (source_script_from_stream): Rewrite to use
1834 extension language API.
1835 * cli/cli-script.c (execute_control_command): Update to call
1836 eval_ext_lang_from_control_command.
1837
1838 * mi/mi-cmd-stack.c (mi_cmd_stack_list_frames): Update to use
1839 enum ext_lang_bt_status values. Update call to
1840 apply_ext_lang_frame_filter.
1841 (mi_cmd_stack_list_locals): Ditto.
1842 (mi_cmd_stack_list_args): Ditto.
1843 (mi_cmd_stack_list_variables): Ditto.
1844 * mi/mi-main.c: Delete #include "python/python-internal.h".
1845 Add #include "extension.h".
1846 (mi_cmd_list_features): Replace reference to python internal variable
1847 gdb_python_initialized with call to ext_lang_initialized_p.
1848
1849 * stack.c (backtrace_command_1): Update to use enum ext_lang_bt_status.
1850 Update to use enum ext_lang_frame_args. Update to call
1851 apply_ext_lang_frame_filter.
1852 * python/py-framefilter.c (extract_sym): Update to use enum
1853 ext_lang_bt_status.
1854 (extract_value, py_print_type, py_print_value): Ditto.
1855 (py_print_single_arg, enumerate_args, enumerate_locals): Ditto.
1856 (py_mi_print_variables, py_print_locals, py_print_args): Ditto.
1857 (py_print_frame): Ditto.
1858 (gdbpy_apply_frame_filter): Renamed from apply_frame_filter.
1859 New arg extlang. Update to use enum ext_lang_bt_status.
1860
1861 * top.c (gdb_init): Delete #ifdef HAVE_PYTHON call to
1862 finish_python_initialization. Replace with call to
1863 finish_ext_lang_initialization.
1864
1865 * typeprint.c (do_free_global_table): Update to call
1866 free_ext_lang_type_printers.
1867 (create_global_typedef_table): Update to call
1868 start_ext_lang_type_printers.
1869 (find_global_typedef): Update to call apply_ext_lang_type_printers.
1870 * typeprint.h (struct ext_lang_type_printers): Add forward decl.
1871 (type_print_options): Change type of global_printers from "void *"
1872 to "struct ext_lang_type_printers *".
1873
1874 * value.c (preserve_values): Update to call preserve_ext_lang_values.
1875 * python/py-value.c: Remove #ifdef HAVE_PYTHON.
1876 (gdbpy_preserve_values): Renamed from preserve_python_values.
1877 New arg extlang.
1878 (!HAVE_PYTHON, preserve_python_values): Delete.
1879
1880 * utils.c (quit_flag): Delete, moved to extension.c.
1881 (clear_quit_flag, set_quit_flag, check_quit_flag): Delete, moved to
1882 extension.c.
1883
1884 * eval.c: Delete #include "python/python.h".
1885 * main.c: Delete #include "python/python.h".
1886
1887 * defs.h: Update comment.
1888
6af79985
JB
18892014-02-06 Joel Brobecker <brobecker@adacore.com>
1890
1891 GDB 7.7 released.
1892
12c5175d
MK
18932014-02-05 Mark Kettenis <kettenis@gnu.org>
1894
1895 * c-exp.y (YYPRINT, c_print_token): Only define if YYBISON is
1896 defined.
1897
8dc5b319
YQ
18982014-02-05 Yao Qi <yao@codesourcery.com>
1899
1900 * remote.c (remote_pass_signals): Remove local 'buf' and use
1901 rs->buf.
1902 (remote_program_signals): Likewise.
1903
de7b2893
YQ
19042014-02-05 Yao Qi <yao@codesourcery.com>
1905
1906 * ctf.c: Include "inferior.h" and "gdbthread.h".
1907 (CTF_PID): A new macro.
1908 (ctf_open): Call inferior_appeared and add_thread_silent.
1909 (ctf_close): Call exit_inferior_silent and set inferior_ptid.
1910 (ctf_thread_alive): New function.
1911 (init_ctf_ops): Install ctf_thread_alive to to_thread_alive.
1912
66d032ac
YQ
19132014-02-05 Yao Qi <yao@codesourcery.com>
1914
1915 Revert this patch:
1916
1917 2013-05-24 Yao Qi <yao@codesourcery.com>
1918
1919 * tracepoint.c (TFILE_PID): Remove.
1920 (tfile_open): Don't add thread and inferior.
1921 (tfile_close): Don't set 'inferior_ptid'. Don't call
1922 exit_inferior_silent.
1923 (tfile_thread_alive): Remove.
1924 (init_tfile_ops): Don't set field 'to_thread_alive' of
1925 tfile_ops.
1926
f4ccffad
CE
19272014-02-04 Christian Eggers <ceggers@gmx.de> (tiny change)
1928
1929 * remote.c (remote_start_remote): Call remote_check_symbols even
1930 if only symbol-file (not file) has been given.
1931
591a12a1
UW
19322014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
1933
1934 * gdbarch.sh (skip_entrypoint): New callback.
1935 * gdbarch.c, gdbarch.h: Regenerate.
1936 * symtab.c (skip_prologue_sal): Call gdbarch_skip_entrypoint.
1937 * infrun.c (fill_in_stop_func): Likewise.
1938 * ppc-linux-tdep.c: Include "elf/ppc64.h".
1939 (ppc_elfv2_elf_make_msymbol_special): New function.
1940 (ppc_elfv2_skip_entrypoint): Likewise.
1941 (ppc_linux_init_abi): Install them for ELFv2.
1942
cc0e89c5
UW
19432014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
1944
1945 * ppc-sysv-tdep.c (ppc64_aggregate_candidate): New routine.
1946 (ppc64_elfv2_abi_homogeneous_aggregate): Likewise.
1947 (ppc64_sysv_abi_push_param): Handle ELFv2 homogeneous structs.
1948 (ppc64_sysv_abi_return_value): Likewise. Also, handle small
1949 structures returned in GPRs.
1950
52f548e4
UW
19512014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
1952
1953 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_dummy_call): Use correct
1954 offset to the stack parameter list for the ELFv2 ABI.
1955
d4094b6a
UW
19562014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
1957
1958 * ppc-linux-tdep.c (ppc_linux_init_abi): Only call
1959 set_gdbarch_convert_from_func_ptr_addr and
1960 set_gdbarch_elf_make_msymbol_special for ELFv1.
1961 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_param): Only handle
1962 function descriptors on ELFv1.
1963 (ppc64_sysv_abi_push_dummy_call): Likewise. On ELFv2,
1964 set up r12 at function entry.
1965
cd453cd0
UW
19662014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
1967
1968 * ppc-tdep.h (enum powerpc_elf_abi): New data type.
1969 (struct gdbarch_tdep): New member elf_abi.
1970
1971 * rs6000-tdep.c: Include "elf/ppc64.h".
1972 (rs6000_gdbarch_init): Detect ELF ABI version.
1973
0ff3e01f
UW
19742014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
1975
1976 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_freg): Use correct order
1977 within a register pair holding a DFP 128-bit value on little-endian.
1978 (ppc64_sysv_abi_return_value_base): Likewise.
1979 * rs6000-tdep.c (dfp_pseudo_register_read): Likewise.
1980 (dfp_pseudo_register_write): Likewise.
1981
5b757e5d
UW
19822014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
1983
1984 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_freg): Use correct
1985 offset on little-endian when passing _Decimal32.
1986 (ppc64_sysv_abi_return_value_base): Likewise for return values.
1987
084ee545
UW
19882014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
1989
1990 * rs6000-tdep.c (efpr_pseudo_register_read): Use correct offset
1991 of the overlapped FP register within the VSX register on little-
1992 endian platforms.
1993 (efpr_pseudo_register_write): Likewise.
1994
d63167af
UW
19952014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
1996
1997 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_val): Use correct
1998 offset on little-endian when passing small structures.
1999
e765b44c
UW
20002014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
2001
2002 * ppc-sysv-tdep.c (get_decimal_float_return_value): Update comment.
2003 (struct ppc64_sysv_argpos): New data structure.
2004 (ppc64_sysv_abi_push_float): Remove.
2005 (ppc64_sysv_abi_push_val): New function.
2006 (ppc64_sysv_abi_push_integer): Likewise.
2007 (ppc64_sysv_abi_push_freg): Likewise.
2008 (ppc64_sysv_abi_push_vreg): Likewise.
2009 (ppc64_sysv_abi_push_param): Likewise.
2010 (ppc64_sysv_abi_push_dummy_call): Refactor to use those new routines.
2011 (ppc64_sysv_abi_return_value_base): New function.
2012 (ppc64_sysv_abi_return_value): Refactor to use it.
2013
36c24d95
UW
20142014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
2015
2016 * NEWS: Document new target powerpc64le-*-linux*.
2017
26fd9228
MK
20182014-02-04 Mark Kettenis <kettenis@gnu.org>
2019
2020 * sparc64obsd-tdep.c (sparc64obsd_gregset): New variable.
2021 (sparc64obsd_supply_gregset): Handle registers sets used in ELF
2022 core dumps.
2023 (sparc64obsd_init_abi): Adjust minimum size of the general purpose
2024 register set used in ELF core dumps. Add floating-point register set.
2025
c5bb7362
KB
20262014-02-03 Kevin Buettner <kevinb@redhat.com>
2027
2028 * mn10300-tdep.c (mn10300_dwarf2_reg_to_regnum): Rewrite
2029 dwarf2_to_gdb[] table using symbolic constants. Adjust
2030 penultimate entry from number representing the PC register
2031 to symbolic constant representing the MDR register. Add
2032 constant for the PC register to the end of the table.
2033
af09351e
MK
20342014-02-03 Mark Kettenis <kettenis@gnu.org>
2035
2036 * bsd-kvm.c: Include <sys/param.h>
2037
8507e05d
MK
20382014-02-03 Mark Kettenis <kettenis@gnu.org>
2039
2040 * sparc64nbsd-nat.c (sparc64nbsd_supply_fpregset): Fix prototype.
2041
ae56bfb8
JB
20422014-01-31 Joel Brobecker <brobecker@adacore.com>
2043
2044 * ada-lang.h (clear_ada_sym_cache): Delete.
2045
718ee4dc
UW
20462014-01-30 Ulrich Weigand  <uweigand@de.ibm.com>
2047
2048 * auxv.c (fprint_target_auxv): Handle AT_HWCAP2.
2049
401e27fd
JM
20502014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
2051
2052 * sparc64-linux-tdep.c (sparc64_linux_step_trap): Get PC from
2053 the sigreturn register save area only if the syscall is
2054 sigreturn.
2055
a7c88acd
JB
20562014-01-29 Joel Brobecker <brobecker@adacore.com>
2057
2058 * valops.c (value_slice): Minor reformatting.
2059
fa0079ea
UW
20602014-01-28 Ulrich Weigand  <uweigand@de.ibm.com>
2061
2062 * ppc64-tdep.c (ppc64_standard_linkage7): Fix typo.
2063
c6044dd1
JB
20642014-01-28 Joel Brobecker <brobecker@adacore.com>
2065
2066 * ada-lang.c (maint_set_ada_cmdlist, maint_show_ada_cmdlist):
2067 New static globals.
2068 (maint_set_ada_cmd, maint_show_ada_cmd): New functions.
2069 (ada_ignore_descriptive_types_p): New static global.
2070 (find_parallel_type_by_descriptive_type): Return immediately
2071 if ada_ignore_descriptive_types_p is set.
2072 (_initialize_ada_language): Register new commands "maintenance
2073 set ada", "maintenance show ada", "maintenance set ada
2074 ignore-descriptive-types" and "maintenance show ada
2075 ignore-descriptive-types".
2076 * NEWS: Add entry for new "maint ada set/show
2077 ignore-descriptive-types" commands.
2078
568e808b
MM
20792014-01-27 Markus Metzger <markus.t.metzger@intel.com>
2080
2081 * record-btrace.c (record_btrace_close): Call btrace_teardown
2082 for all threads.
2083
467d141b
JB
20842014-01-27 Joel Brobecker <brobecker@adacore.com>
2085
2086 * ada-lang.c: Remove "#ifdef UI_OUT" condition for including
2087 "ui-out.h".
2088
fb151210
JB
20892014-01-27 Joel Brobecker <brobecker@adacore.com>
2090
2091 * ada-typeprint (type_is_full_subrange_of_target_type):
2092 New function.
2093 (print_range): Add parameter bounds_prefered_p. If not set,
2094 try printing range types using the name of their base type.
2095 (print_range_type): Add parameter bounds_prefered_p.
2096 Use it in call to print_range.
2097 (print_array_type, ada_print_type): Update calls to print_range
2098 and print_range_type.
2099
aba02109
JB
21002014-01-27 Joel Brobecker <brobecker@adacore.com>
2101
2102 * ada-typeprint.c (print_array_type, print_choices, print_range)
2103 (print_range_bound, print_dynamic_range_bound, print_range_type):
2104 Remove declaration.
2105
e62e21fd
JB
21062014-01-27 Joel Brobecker <brobecker@adacore.com>
2107
2108 * ada-typeprint.c (print_range): Add missing empty line
2109 after local declaration.
2110
859cf5d1
JB
21112014-01-27 Joel Brobecker <brobecker@adacore.com>
2112
2113 * ada-valprint.c (print_optional_low_bound): Get index_type's
2114 target type for as long as it is a TYPE_CODE_RANGE.
2115
25790f6f
JB
21162014-01-27 Joel Brobecker <brobecker@adacore.com>
2117
2118 * procfs.c (procfs_make_note_section): Remove assertion and
2119 associated comment.
2120
6b6aa828
YQ
21212014-01-24 Yao Qi <yao@codesourcery.com>
2122
2123 * remote.c (remote_read_bytes): Change type of len to ULONGEST.
2124 * corelow.c (get_core_siginfo): Likewise.
2125
5d6df423
YQ
21262014-01-24 Yao Qi <yao@codesourcery.com>
2127
2128 * remote.c (remote_write_bytes_aux): Change type of 'len' to
2129 ULONGEST. Don't check 'len' is negative.
2130 (remote_write_bytes): Change type of 'len' to ULONGEST.
2131
83b645b8
TT
21322014-01-23 Tom Tromey <tromey@redhat.com>
2133
2134 PR python/16485:
2135 * python/lib/gdb/FrameDecorator.py: (FrameVars.fetch_frame_args):
2136 Handle exception from frame.block.
2137 (FrameVars.fetch_frame_locals): Likewise.
2138
0740f8d8
TT
21392014-01-23 Tom Tromey <tromey@redhat.com>
2140
2141 PR python/16487:
2142 * python/py-framefilter.c (py_print_frame): Don't call Py_DECREF
2143 on a NULL pointer. Move "goto error" to correct place.
2144
21909fa1
TT
21452014-01-23 Tom Tromey <tromey@redhat.com>
2146
2147 PR python/16491:
2148 * python/py-framefilter.c (apply_frame_filter): Call
2149 ensure_python_env after computing gdbarch.
2150
17fde6d0
YQ
21512014-01-23 Yao Qi <yao@codesourcery.com>
2152
2153 * target.c (raw_memory_xfer_partial): Change argument type
2154 from void * to gdb_byte *.
2155 (memory_xfer_partial_1, memory_xfer_partial): Likewise.
2156
87ce2a04
DE
21572014-01-22 Doug Evans <dje@google.com>
2158
2159 New gdbserver option --debug-format=timestamp.
2160 * NEWS: Mention it.
2161
237b092b
AA
21622014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
2163
2164 * syscalls/s390x-linux.xml: New file.
2165 * syscalls/s390-linux.xml: New file.
2166 * s390-linux-tdep.c (XML_SYSCALL_FILENAME_S390): New macro.
2167 (XML_SYSCALL_FILENAME_S390X): Likewise.
2168 (op_svc): New enum value for SVC opcode.
2169 (s390_sigtramp_frame_sniffer): Replace literal by 'op_svc'.
2170 (s390_linux_get_syscall_number): New function.
2171 (s390_gdbarch_init): Register '*get_syscall_number' and the
2172 syscall xml file name.
2173 * data-directory/Makefile.in (SYSCALLS_FILES): Add
2174 "s390-linux.xml" and "s390x-linux.xml".
2175 * NEWS: Announce new feature.
2176
54bff650
BS
21772014-01-22 Baruch Siach <baruch@tkos.co.il>
2178
2179 * xtensa-tdep.h (xtensa_elf_greg_t): Change type to uint32_t.
2180
14e361d7
PA
21812014-01-22 Pedro Alves <palves@redhat.com>
2182
2183 * xtensa-config.c: Include defs.h.
2184
46bbb3ed
JB
21852014-01-22 Joel Brobecker <brobecker@adacore.com>
2186
2187 * common/common-utils.h: Add "ARI:" comment beside __func__
2188 reference.
2189
3a80edfc
JB
21902014-01-22 Joel Brobecker <brobecker@adacore.com>
2191
2192 * common/common-utils.h (FUNCTION_NAME): Expand the macro's
2193 documentation a bit.
2194
4869db5e
RM
21952014-01-21 Roland McGrath <mcgrathr@google.com>
2196
2197 * configure.ac: Call AM_PROG_INSTALL_STRIP.
2198 * configure: Regenerate.
2199 * aclocal.m4: Regenerate.
2200 * Makefile.in (install_sh, INSTALL_STRIP_PROGRAM, STRIP):
2201 New substituted variables.
2202 (install-strip): New target.
2203 (INSTALL_SCRIPT): New substituted variable.
2204 (FLAGS_TO_PASS): Add it.
2205 (install-only): Use $(INSTALL_SCRIPT) rather than
2206 $(INSTALL_PROGRAM) for gcore.
2207
9ea4267d
TT
22082014-01-20 Tom Tromey <tromey@redhat.com>
2209
2210 * cli/cli-decode.h (struct cmd_list_element): Move all bitfields
2211 together.
2212
1f2bdf09
TT
22132014-01-20 Tom Tromey <tromey@redhat.com>
2214
2215 * cli/cli-decode.c (add_cmd, deprecate_cmd, add_alias_cmd)
2216 (add_setshow_cmd_full, delete_cmd, lookup_cmd_1)
2217 (deprecated_cmd_warning, complete_on_cmdlist): Update.
2218 * cli/cli-decode.h (CMD_DEPRECATED, DEPRECATED_WARN_USER)
2219 (MALLOCED_REPLACEMENT, DOC_ALLOCATED): Remove.
2220 (struct cmd_list_element) <flags>: Remove.
2221 <cmd_deprecated, deprecated_warn_user, malloced_replacement,
2222 doc_allocated>: New fields.
2223 <hook_in, allow_unknown, abbrev_flag, type, var_type>: Now
2224 bitfields.
2225 * maint.c (maintenance_do_deprecate): Update.
2226 * top.c (execute_command): Update.
2227
e671835b
BS
22282014-01-20 Baruch Siach <baruch@tkos.co.il>
2229
2230 * xtensa-linux-nat.c: Include asm/ptrace.h.
2231
50367cd2
IB
22322014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
2233
2234 * Makefile.in (SFILES): Add d-support.c.
2235 (COMMON_OBS): Add d-support.o.
2236 * d-lang.h (d_parse_symbol): Add comment, now defined in
2237 d-support.c.
2238 * d-lang.c (parse_call_convention)
2239 (parse_attributes, parse_function_types)
2240 (parse_function_args, parse_type, parse_identifier)
2241 (call_convention_p, d_parse_symbol): Move functions to ...
2242 * d-support.c: ... New file.
2243
ec9f644a
IB
22442014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
2245
2246 * d-lang.h (d_parse_symbol): Add declaration.
2247 * d-lang.c (extract_identifiers)
2248 (extract_type_info): Remove functions.
2249 (parse_call_convention, parse_attributes)
2250 (parse_function_types, parse_function_args)
2251 (parse_type, parse_identifier, call_convention_p)
2252 (d_parse_symbol): New functions.
2253 (d_demangle): Use d_parse_symbol to demangle D symbols.
2254
94b1b47e
IB
22552014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
2256
2257 * d-lang.h (struct builtin_d_type): New data type.
2258 (builtin_d_type): Add declaration.
2259 * d-lang.c (d_language_arch_info, build_d_types)
2260 (builtin_d_type): New functions.
2261 (enum d_primitive_types): New data type.
2262 (d_language_defn): Change c_language_arch_info to
2263 d_language_arch_info.
2264 (d_type_data): New static variable.
2265 (_initialize_d_language): Initialize d_type_data.
2266
63778547
IB
22672014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
2268
2269 * d-lang.h (d_main_name): Add declaration.
2270 * d-lang.c (d_main_name): New function.
2271 * symtab.c (find_main_name): Add call to d_main_name.
2272
3271ba66
IB
22732014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
2274
2275 * d-lang.c (d_language_defn): Change macro_expansion_c to
2276 macro_expansion_no.
2277
d36b3012
IB
22782014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
2279
2280 * MAINTAINERS: Add myself as a write-after-approval maintainer.
2281
c90a6fb7
SDJ
22822014-01-17 Sergio Durigan Junior <sergiodj@redhat.com>
2283
2284 * breakpoint.c (insert_bp_location): Add "volatile" keyword to "struct
2285 gdb_exception" declaration.
2286 * remote.c (getpkt_or_notif_sane): Likewise.
2287
749234e5
DE
22882014-01-17 Doug Evans <dje@google.com>
2289
2290 * common/gdb_vecs.c (delim_string_to_char_ptr_vec_append): New
2291 function, contents of dirnames_to_char_ptr_vec_append moved here.
2292 (delim_string_to_char_ptr_vec): New function.
2293 (dirnames_to_char_ptr_vec_append): Rewrite.
2294 * common/gdb_vecs.h (delim_string_to_char_ptr_vec): Declare.
2295
df049a58
DE
22962014-01-17 Doug Evans <dje@google.com>
2297
2298 * common/common-utils.h (FUNCTION_NAME): Renamed from ASSERT_FUNCTION,
2299 and moved here ...
2300 * common/gdb_assert.h (ASSERT_FUNCTION): ... from here.
2301 #include "common-utils.h".
2302 (gdb_assert, gdb_assert_fail, gdb_assert_not_reached): Update.
2303 * common/vec.h (VEC_ASSERT_PASS): Update.
2304 * darwin-nat.h: Replace #include of gdb_assert.h with common-utils.h.
2305 (MACH_CHECK_ERROR): Update.
2306
69f97648
SM
23072014-01-17 Simon Marchi <simon.marchi@ericsson.com>
2308
2309 * gdbarch.sh (gdbarch_address_class_name_to_type_flags): Add
2310 comments.
2311 * gdbarch.h: Regenerate.
2312
98b1cfdc
TT
23132014-01-16 Tom Tromey <tromey@redhat.com>
2314
2315 * value.c (struct value) <regnum>: Move earlier.
2316
77a19445
TT
23172014-01-16 Tom Tromey <tromey@redhat.com>
2318
2319 * remote.c (extended_remote_create_inferior): Rename from
2320 extended_remote_create_inferior_1. Add "ops" argument. Remove
2321 old implementation.
2322
62261490
PA
23232014-01-16 Pedro Alves <palves@redhat.com>
2324
2325 * s390-linux-tdep.c (s390_frame_unwind_cache): Swallow
2326 NOT_AVAILABLE_ERROR errors while parsing the prologue or reading
2327 the backchain.
2328
4d65956b
DE
23292014-01-16 Doug Evans <dje@google.com>
2330
2331 * dwarf2read.c (open_and_init_dwp_file): Fix typo in comment.
2332
52834460
MM
23332014-01-16 Markus Metzger <markus.t.metzger@intel.com>
2334
2335 * btrace.h (btrace_thread_flag): New.
2336 (struct btrace_thread_info) <flags>: New.
2337 * record-btrace.c (record_btrace_resume_thread)
2338 (record_btrace_find_thread_to_move, btrace_step_no_history)
2339 (btrace_step_stopped, record_btrace_start_replaying)
2340 (record_btrace_step_thread, record_btrace_decr_pc_after_break)
2341 (record_btrace_find_resume_thread): New.
2342 (record_btrace_resume, record_btrace_wait): Extend.
2343 (record_btrace_can_execute_reverse): New.
2344 (record_btrace_open): Fail in non-stop mode.
2345 (record_btrace_set_replay): Split into this, ...
2346 (record_btrace_stop_replaying): ... this, ...
2347 (record_btrace_clear_histories): ... and this.
2348 (init_record_btrace_ops): Init to_can_execute_reverse.
2349 * NEWS: Announce it.
2350
118e6252
MM
23512014-01-16 Markus Metzger <markus.t.metzger@intel.com>
2352
2353 * target.h (struct target_ops) <to_decr_pc_after_break>: New.
2354 (forward_target_decr_pc_after_break)
2355 (target_decr_pc_after_break): New.
2356 * target.c (forward_target_decr_pc_after_break)
2357 (target_decr_pc_after_break): New.
2358 * aix-thread.c (aix_thread_wait): Call target_decr_pc_after_break
2359 instead of gdbarch_decr_pc_after_break.
2360 * darwin-nat.c (cancel_breakpoint): Call target_decr_pc_after_break
2361 instead of gdbarch_decr_pc_after_break.
2362 * infrun.c (adjust_pc_after_break): Call target_decr_pc_after_break
2363 instead of gdbarch_decr_pc_after_break.
2364 * linux-nat.c (cancel_breakpoint): Call target_decr_pc_after_break
2365 instead of gdbarch_decr_pc_after_break.
2366 * linux-thread-db.c (check_event): Call target_decr_pc_after_break
2367 instead of gdbarch_decr_pc_after_break.
2368 * record-full.c (record_full_wait_1): Call target_decr_pc_after_break
2369 instead of gdbarch_decr_pc_after_break.
2370
6e07b1d2
MM
23712014-01-16 Markus Metzger <markus.t.metzger@intel.com>
2372
2373 * btrace.c: Include regcache.h.
2374 (btrace_add_pc): New.
2375 (btrace_enable): Call btrace_add_pc.
2376 (btrace_is_empty): New.
2377 * btrace.h (btrace_is_empty): New.
2378 * record-btrace.c (require_btrace, record_btrace_info): Call
2379 btrace_is_empty.
2380
969c39fb
MM
23812014-01-16 Markus Metzger <markus.t.metzger@intel.com>
2382
2383 * common/linux-btrace.c (perf_event_read_bts, linux_read_btrace):
2384 Support delta reads.
2385 (linux_disable_btrace): Change return type.
2386 * common/linux-btrace.h (linux_read_btrace): Change parameters
2387 and return type to allow error reporting. Update users.
2388 (linux_disable_btrace): Change return type. Update users.
2389 * common/btrace-common.h (btrace_read_type) <BTRACE_READ_DELTA>:
2390 New.
2391 (btrace_error): New.
2392 (btrace_block) <begin>: Comment on BEGIN == 0.
2393 * btrace.c (btrace_compute_ftrace): Start from the end of
2394 the current trace.
2395 (btrace_stitch_trace, btrace_clear_history): New.
2396 (btrace_fetch): Read delta trace, return if replaying.
2397 (btrace_clear): Move clear history code to btrace_clear_history.
2398 (parse_xml_btrace): Throw an error if parsing failed.
2399 * target.h (struct target_ops) <to_read_btrace>: Change parameters
2400 and return type to allow error reporting.
2401 (target_read_btrace): Change parameters and return type to allow
2402 error reporting.
2403 * target.c (target_read_btrace): Update.
2404 * remote.c (remote_read_btrace): Support delta reads. Pass
2405 errors on.
2406 * NEWS: Announce it.
2407
0b722aec
MM
24082014-01-16 Markus Metzger <markus.t.metzger@intel.com>
2409
2410 * record.h (record_btrace_frame_unwind)
2411 (record_btrace_tailcall_frame_unwind): New declarations.
2412 * dwarf2-frame: Include record.h
2413 (dwarf2_frame_cfa): Throw an error for btrace frames.
2414 * record-btrace.c: Include hashtab.h.
2415 (btrace_get_bfun_name): New.
2416 (btrace_call_history): Call btrace_get_bfun_name.
2417 (struct btrace_frame_cache): New.
2418 (bfcache): New.
2419 (bfcache_hash, bfcache_eq, bfcache_new): New.
2420 (btrace_get_frame_function): New.
2421 (record_btrace_frame_unwind_stop_reason): Allow unwinding.
2422 (record_btrace_frame_this_id): Compute own id.
2423 (record_btrace_frame_prev_register): Provide PC, throw_error
2424 for all other registers.
2425 (record_btrace_frame_sniffer): Detect btrace frames.
2426 (record_btrace_tailcall_frame_sniffer): New.
2427 (record_btrace_frame_dealloc_cache): New.
2428 (record_btrace_frame_unwind): Add new functions.
2429 (record_btrace_tailcall_frame_unwind): New.
2430 (_initialize_record_btrace): Allocate cache.
2431 * btrace.c (btrace_clear): Call reinit_frame_cache.
2432 * NEWS: Announce it.
2433
066ce621
MM
24342014-01-16 Markus Metzger <markus.t.metzger@intel.com>
2435
2436 * record-btrace.c (record_btrace_set_replay)
2437 (record_btrace_goto_begin, record_btrace_goto_end)
2438 (record_btrace_goto): New.
2439 (init_record_btrace_ops): Initialize them.
2440 * NEWS: Announce it.
2441
e2887aa3
MM
24422014-01-16 Markus Metzger <markus.t.metzger@intel.com>
2443
2444 * record-btrace.c (record_btrace_find_new_threads)
2445 (record_btrace_thread_alive): New.
2446 (init_record_btrace_ops): Initialize to_find_new_threads and
2447 to_thread_alive.
2448
b2f4cfde
MM
24492014-01-16 Markus Metzger <markus.t.metzger@intel.com>
2450
2451 * record-btrace.c (record_btrace_resume): New.
2452 (record_btrace_wait): New.
2453 (init_record_btrace_ops): Initialize to_wait and to_resume.
2454
633785ff
MM
24552014-01-16 Markus Metzger <markus.t.metzger@intel.com>
2456
2457 * record-btrace.c (record_btrace_xfer_partial)
2458 (record_btrace_insert_breakpoint, record_btrace_remove_breakpoint)
2459 (record_btrace_allow_memory_access): New.
2460 (init_record_btrace_ops): Initialize new methods.
2461 * target.c (raw_memory_xfer_partial): Bail out if target reports
2462 that this memory is not available.
2463
3db08215
MM
24642014-01-16 Markus Metzger <markus.t.metzger@intel.com>
2465
2466 * target.h (target_ops) <to_insert_breakpoint>
2467 <to_remove_breakpoint>: Add target_ops parameter.
2468 (forward_target_insert_breakpoint): New.
2469 (forward_target_remove_breakpoint): New.
2470 (memory_remove_breakpoint, memory_insert_breakpoint):
2471 Add target_ops parameter.
2472 * target.c (target_insert_breakpoint): Split into this and ...
2473 (forward_target_insert_breakpoint): ... this.
2474 (target_remove_breakpoint): Split into this and ...
2475 (forward_target_remove_breakpoint): ... this.
2476 (debug_to_insert_breakpoint): Add target_ops parameter.
2477 Call forward_target_insert_breakpoint.
2478 (debug_to_remove_breakpoint): Add target_ops parameter.
2479 Call forward_target_remove_breakpoint.
2480 (update_current_target): Do not inherit or default to_insert_breakpoint
2481 and to_remove_breakpoint.
2482 * corelow.c (ignore): Add target_ops parameter.
2483 * exec.c (ignore): Add target_ops parameter.
2484 * mem-break.c (memory_insert_breakpoint, memory_remove_breakpoint):
2485 Add target_ops parameter.
2486 * monitor.c (monitor_insert_breakpoint, monitor_remove_breakpoint):
2487 Add target_ops parameter.
2488 * nto-procfs.c (procfs_insert_breakpoint, procfs_remove_breakpoint):
2489 Add target_ops parameter.
2490 * record-full.c (record_full_beneath_to_insert_breakpoint)
2491 (record_full_beneath_to_remove_breakpoint, tmp_to_insert_breakpoint)
2492 (tmp_to_remove_breakpoint, record_full_insert_breakpoint)
2493 (record_full_remove_breakpoint, record_full_core_insert_breakpoint)
2494 (record_full_core_remove_breakpoint): Add target_ops parameter.
2495 Update users.
2496 (record_full_beneath_to_insert_breakpoint_ops)
2497 (record_full_beneath_to_remove_breakpoint_ops)
2498 (tmp_to_insert_breakpoint_ops, tmp_to_remove_breakpoint_ops): New.
2499 (record_full_open): Initialize tmp_to_insert_breakpoint_ops,
2500 tmp_to_remove_breakpoint_ops,
2501 record_full_beneath_to_insert_breakpoint_ops, and
2502 record_full_beneath_to_remove_breakpoint_ops.
2503 * remote-m32r-sdi.c (m32r_insert_breakpoint)
2504 (m32r_remove_breakpoint): Add target_ops parameter.
2505 * remote-mips.c (mips_insert_breakpoint, mips_remove_breakpoint):
2506 Add target_ops parameter.
2507 * remote.c (remote_insert_breakpoint, remote_remove_breakpoint):
2508 Add target_ops parameter.
2509
cecac1ab
MM
25102014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
2511 Markus Metzger <markus.t.metzger@intel.com>
2512
2513 * record-btrace.c: Include frame-unwind.h.
2514 (record_btrace_frame_unwind_stop_reason)
2515 (record_btrace_frame_this_id, record_btrace_frame_prev_register)
2516 (record_btrace_frame_sniffer, record_btrace_frame_unwind):
2517 New.
2518 (init_record_btrace_ops): Install it.
2519
824344ca
MM
25202014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
2521
2522 * frame.c (get_frame_unwind_stop_reason): Unconditionally call
2523 get_prev_frame_1.
2524
32261e52
MM
25252014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
2526
2527 * dwarf2-frame.c (dwarf2_frame_cfa): Move UNWIND_UNAVAILABLE check
2528 earlier.
2529
ea001bdc
MM
25302014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
2531
2532 * frame-unwind.c: Include target.h.
2533 (frame_unwind_try_unwinder): New function with code from ...
2534 (frame_unwind_find_by_frame): ... here. New variable
2535 unwinder_from_target, call also target_get_unwinder)
2536 (target_get_tailcall_unwinder, and frame_unwind_try_unwinder for it.
2537 * target.c (target_get_unwinder, target_get_tailcall_unwinder): New.
2538 * target.h (struct target_ops): New fields to_get_unwinder and
2539 to_get_tailcall_unwinder.
2540 (target_get_unwinder, target_get_tailcall_unwinder): New declarations.
2541
1f3ef581
MM
25422014-01-16 Markus Metzger <markus.t.metzger@intel.com>
2543
2544 * record-btrace.c (record_btrace_fetch_registers)
2545 (record_btrace_store_registers)
2546 (record_btrace_to_prepare_to_store): New.
2547 (init_record_btrace_ops): Add the above.
2548
f32dbf8c
MM
25492014-01-16 Tom Tromey <tromey@redhat.com>
2550
2551 * windows-nat.c (windows_prepare_to_store): Add 'self' argument.
2552 * target.h (struct target_ops) <to_prepare_to_store>: Add
2553 argument.
2554 (target_prepare_to_store): Add argument.
2555 * target.c (debug_to_prepare_to_store): Add argument.
2556 (update_current_target): Update.
2557 * remote.c (remote_prepare_to_store): Add 'self' argument.
2558 * remote-sim.c (gdbsim_prepare_to_store): Add 'self' argument.
2559 * remote-mips.c (mips_prepare_to_store): Add 'self' argument.
2560 * remote-m32r-sdi.c (m32r_prepare_to_store): Add 'self' argument.
2561 * record-full.c (record_full_core_prepare_to_store): Add 'self'
2562 argument.
2563 * ravenscar-thread.c (ravenscar_prepare_to_store): Add argument.
2564 * nto-procfs.c (procfs_prepare_to_store): Add 'self' argument.
2565 * monitor.c (monitor_prepare_to_store): Add 'self' argument.
2566 * inf-child.c (inf_child_prepare_to_store): Add 'self' argument.
2567 * go32-nat.c (go32_prepare_to_store): Add 'self' argument.
2568
07bbe694
MM
25692014-01-16 Markus Metzger <markus.t.metzger@intel.com>
2570
2571 * btrace.h (replay) <replay>: New.
2572 (btrace_is_replaying): New.
2573 * btrace.c (btrace_clear): Free replay iterator.
2574 (btrace_is_replaying): New.
2575 * record-btrace.c (record_btrace_is_replaying): New.
2576 (record_btrace_info): Print insn number if replaying.
2577 (record_btrace_insn_history): Start at replay position.
2578 (record_btrace_call_history): Start at replay position.
2579 (init_record_btrace_ops): Init to_record_is_replaying.
2580
0688d04e
MM
25812014-01-16 Markus Metzger <markus.t.metzger@intel.com>
2582
2583 * record-btrace.c (record_btrace_insn_history_range): Include
2584 end.
2585 (record_btrace_insn_history_from): Adjust range.
2586 (record_btrace_call_history_range): Include
2587 end.
2588 (record_btrace_call_history_from): Adjust range.
2589 * NEWS: Announce changes.
2590
8710b709
MM
25912014-01-16 Markus Metzger <markus.t.metzger@intel.com>
2592
2593 * record.h (enum record_print_flag)
2594 <record_print_indent_calls>: New.
2595 * record.c (get_call_history_modifiers): Recognize /c modifier.
2596 (_initialize_record): Document /c modifier.
2597 * record-btrace.c (btrace_call_history): Add btinfo parameter.
2598 Reorder fields. Optionally indent the function name. Update
2599 all users.
2600 * NEWS: Announce changes.
2601
d0fa7535
MM
26022014-01-16 Markus Metzger <markus.t.metzger@intel.com>
2603
2604 * common/linux-btrace.c (linux_enable_btrace): Enlarge buffer.
2605
5de9129b
MM
26062014-01-16 Markus Metzger <markus.t.metzger@intel.com>
2607
2608 * btrace.c (ftrace_new_function): Start counting at one.
2609 * record-btrace.c (record_btrace_info): Adjust number of calls
2610 and insns.
2611 * NEWS: Announce it.
2612
7acbe133
MM
26132014-01-16 Markus Metzger <markus.t.metzger@intel.com>
2614
2615 * record-btrace.c (btrace_call_history_insn_range): Print
2616 insn range as [begin, end].
2617
23a7fe75
MM
26182014-01-16 Markus Metzger <markus.t.metzger@intel.com>
2619
2620 * btrace.h (struct btrace_func_link): New.
2621 (enum btrace_function_flag): New.
2622 (struct btrace_inst): Rename to ...
2623 (struct btrace_insn): ...this. Update all users.
2624 (struct btrace_func) <ibegin, iend>: Remove.
2625 (struct btrace_func_link): New.
2626 (struct btrace_func): Rename to ...
2627 (struct btrace_function): ...this. Update all users.
2628 (struct btrace_function) <segment, flow, up, insn, insn_offset)
2629 (number, level, flags>: New.
2630 (struct btrace_insn_iterator): Rename to ...
2631 (struct btrace_insn_history): ...this.
2632 Update all users.
2633 (struct btrace_insn_iterator, btrace_call_iterator): New.
2634 (struct btrace_target_info) <btrace, itrace, ftrace>: Remove.
2635 (struct btrace_target_info) <begin, end, level>
2636 <insn_history, call_history>: New.
2637 (btrace_insn_get, btrace_insn_number, btrace_insn_begin)
2638 (btrace_insn_end, btrace_insn_prev, btrace_insn_next)
2639 (btrace_insn_cmp, btrace_find_insn_by_number, btrace_call_get)
2640 (btrace_call_number, btrace_call_begin, btrace_call_end)
2641 (btrace_call_prev, btrace_call_next, btrace_call_cmp)
2642 (btrace_find_function_by_number, btrace_set_insn_history)
2643 (btrace_set_call_history): New.
2644 * btrace.c (btrace_init_insn_iterator)
2645 (btrace_init_func_iterator, compute_itrace): Remove.
2646 (ftrace_print_function_name, ftrace_print_filename)
2647 (ftrace_skip_file): Change
2648 parameter to const.
2649 (ftrace_init_func): Remove.
2650 (ftrace_debug): Use new btrace_function fields.
2651 (ftrace_function_switched): Also consider gaining and
2652 losing symbol information).
2653 (ftrace_print_insn_addr, ftrace_new_call, ftrace_new_return)
2654 (ftrace_new_switch, ftrace_find_caller, ftrace_new_function)
2655 (ftrace_update_caller, ftrace_fixup_caller, ftrace_new_tailcall):
2656 New.
2657 (ftrace_new_function): Move. Remove debug print.
2658 (ftrace_update_lines, ftrace_update_insns): New.
2659 (ftrace_update_function): Check for call, ret, and jump.
2660 (compute_ftrace): Renamed to ...
2661 (btrace_compute_ftrace): ...this. Rewritten to compute call
2662 stack.
2663 (btrace_fetch, btrace_clear): Updated.
2664 (btrace_insn_get, btrace_insn_number, btrace_insn_begin)
2665 (btrace_insn_end, btrace_insn_prev, btrace_insn_next)
2666 (btrace_insn_cmp, btrace_find_insn_by_number, btrace_call_get)
2667 (btrace_call_number, btrace_call_begin, btrace_call_end)
2668 (btrace_call_prev, btrace_call_next, btrace_call_cmp)
2669 (btrace_find_function_by_number, btrace_set_insn_history)
2670 (btrace_set_call_history): New.
2671 * record-btrace.c (require_btrace): Use new btrace thread
2672 info fields.
2673 (record_btrace_info, btrace_insn_history)
2674 (record_btrace_insn_history, record_btrace_insn_history_range):
2675 Use new btrace thread info fields and new iterator.
2676 (btrace_func_history_src_line): Rename to ...
2677 (btrace_call_history_src_line): ...this. Use new btrace
2678 thread info fields.
2679 (btrace_func_history): Rename to ...
2680 (btrace_call_history): ...this. Use new btrace thread info
2681 fields and new iterator.
2682 (record_btrace_call_history, record_btrace_call_history_range):
2683 Use new btrace thread info fields and new iterator.
2684
8372a7cb
MM
26852014-01-16 Markus Metzger <markus.t.metzger@intel.com>
2686
2687 * frame.h (frame_id_build_unavailable_stack_special): New.
2688 * frame.c (frame_id_build_unavailable_stack_special): New.
2689
c2170eef
MM
26902014-01-16 Markus Metzger <markus.t.metzger@intel.com>
2691
2692 * amd64-tdep.c (amd64_classify_insn_at, amd64_insn_is_call)
2693 (amd64_insn_is_ret, amd64_insn_is_jump, amd64_jmp_p): New.
2694 (amd64_init_abi): Add insn_is_call, insn_is_ret, and insn_is_jump
2695 to gdbarch.
2696 * i386-tdep.c (i386_insn_is_call, i386_insn_is_ret)
2697 (i386_insn_is_jump, i386_jmp_p): New.
2698 (i386_gdbarch_init): Add insn_is_call, insn_is_ret, and
2699 insn_is_jump to gdbarch.
2700 * gdbarch.sh (insn_is_call, insn_is_ret, insn_is_jump): New.
2701 * gdbarch.h: Regenerated.
2702 * gdbarch.c: Regenerated.
2703 * arch-utils.h (default_insn_is_call, default_insn_is_ret)
2704 (default_insn_is_jump): New.
2705 * arch-utils.c (default_insn_is_call, default_insn_is_ret)
2706 (default_insn_is_jump): New.
2707
864089d2
MM
27082014-01-16 Markus Metzger <markus.t.metzger@intel.com>
2709
2710 * common/btrace-common.h (btrace_read_type) <btrace_read_all>:
2711 Change to ...
2712 (btrace_read_type) <BTRACE_READ_ALL>: ... this. Update users.
2713 (btrace_read_type) <btrace_read_new>: Change to ...
2714 (btrace_read_type) <BTRACE_READ_NEW>: ... this. Update users.
2715
ed9edfb5
MM
27162014-01-16 Markus Metzger <markus.t.metzger@intel.com>
2717
2718 * common/linux-btrace.c (linux_read_btrace): Free trace from
2719 previous iteration.
2720
fbcbc3fd
DE
27212014-01-15 Doug Evans <dje@google.com>
2722
2723 * dwarf2read.c (open_and_init_dwp_file): Use pulongest to print
2724 uint32_t.
2725
3d548a53
TT
27262014-01-15 Tom Tromey <tromey@redhat.com>
2727
2728 * dbxread.c (process_one_symbol): Use set_objfile_main_name.
2729 * dwarf2read.c (read_partial_die): Use set_objfile_main_name.
2730 * objfiles.c (get_objfile_bfd_data): Initialize language_of_main.
2731 (set_objfile_main_name): New function.
2732 * objfiles.h (struct objfile_per_bfd_storage) <name_of_main,
2733 language_of_main>: New fields.
2734 (set_objfile_main_name): Declare.
2735 * symtab.c (find_main_name): Loop over objfiles to find the main
2736 name and language.
2737 (set_main_name): Now static.
2738 (get_main_info): Add comment.
2739 * symtab.h (set_main_name): Don't declare.
2740
32ac0d11
TT
27412014-01-15 Tom Tromey <tromey@redhat.com>
2742
2743 * symtab.c (main_progspace_key): New global.
2744 (struct main_info): New.
2745 (name_of_main, language_of_main): Remove.
2746 (get_main_info, main_info_cleanup): New function.
2747 (set_main_name, main_name, main_language): Use get_main_info.
2748 (_initialize_symtab): Initialize main_progspace_key.
2749
9e6c82ad
TT
27502014-01-15 Tom Tromey <tromey@redhat.com>
2751
2752 * dbxread.c (process_one_symbol): Update.
2753 * dwarf2read.c (read_partial_die): Update.
2754 * symfile.c (set_initial_language): Call main_language.
2755 * symtab.c (language_of_main): Now static.
2756 (set_main_name): Add 'lang' parameter.
2757 (find_main_name): Update.
2758 (main_language): New function.
2759 (symtab_observer_executable_changed): Update.
2760 * symtab.h (set_main_name): Update.
2761 (language_of_main): Remove.
2762 (main_language): Declare.
2763
6ef55de7
TT
27642014-01-15 Tom Tromey <tromey@redhat.com>
2765
2766 * symfile.c (init_entry_point_info): Use new "initialized" field.
2767 Update.
2768 * objfiles.h (struct entry_point) <initialized>: New field.
2769 (struct objfile_per_bfd_storage) <ei>: New field, moved from...
2770 (struct objfile) <ei>: ...here. Remove.
2771 * objfiles.c (entry_point_address_query): Update.
2772
53eddfa6
TT
27732014-01-15 Tom Tromey <tromey@redhat.com>
2774
2775 * objfiles.c (entry_point_address_query): Relocate entry point
2776 address.
2777 (objfile_relocate1): Do not relocate entry point address.
2778 * objfiles.h (struct entry_info) <entry_point>: Update comment.
2779 <the_bfd_section_index>: New field.
2780 * symfile.c (init_entry_point_info): Find the entry point's
2781 section.
2782
d56e56aa
TT
27832014-01-15 Tom Tromey <tromey@redhat.com>
2784
2785 * solib-frv.c (enable_break): Use entry_point_address_query.
2786
33a97bbe
OJ
27872014-01-15 Omair Javaid <omair.javaid@linaro.org>
2788
2789 * NEWS: Add note on improved process record-replay on
2790 arm*-linux* targets.
2791
c6ec2b30
OJ
27922014-01-15 Omair Javaid <omair.javaid@linaro.org>
2793
2794 * arm-tdep.c (enum arm_record_result): New enum.
2795 (arm_record_unsupported_insn): New function.
2796 (arm_record_coproc_data_proc): Removed.
2797 (thumb2_record_ld_st_multiple): New function.
2798 (thumb2_record_ld_st_dual_ex_tbb): New function.
2799 (thumb2_record_data_proc_sreg_mimm): New function.
2800 (thumb2_record_ps_dest_generic): New function.
2801 (thumb2_record_branch_misc_cntrl): New function.
2802 (thumb2_record_str_single_data): New function.
2803 (thumb2_record_ld_mem_hints): New function.
2804 (thumb2_record_ld_word): New function.
2805 (thumb2_record_lmul_lmla_div): New function.
2806 (thumb2_record_decode_insn_handler): New function.
2807 (decode_insn): Add thumb32 instruction handlers.
2808
97dfe206
OJ
28092014-01-15 Omair Javaid <omair.javaid@linaro.org>
2810
2811 * arm-linux-tdep.c: Include "record-full.h" and "linux-record.h".
2812 (struct arm_linux_record_tdep): Declare.
2813 (arm_canonicalize_syscall): New function.
2814 (arm_all_but_pc_registers_record): New function.
2815 (arm_linux_syscall_record): New function.
2816 (arm_linux_init_abi): Add syscall recording constructs.
2817 * arm-tdep.c (thumb_record_ldm_stm_swi): Update thumb syscall
2818 decoding. (arm_record_coproc_data_proc): Update arm syscall
2819 decoding.
2820 * arm-tdep.h (struct gdbarch_tdep) <arm_swi_record>: Remove.
2821 <arm_syscall_record>: New field.
2822 * configure.tgt (arm*-*-linux*): Add linux-record.o to
2823 gdb_target_obs.
2824
9904a494
OJ
28252014-01-15 Omair Javaid <omair.javaid@linaro.org>
2826
2827 * arm-tdep.c (thumb_record_misc): Update to use sp as base
2828 register for push instruction recording.
2829
f969241e
OJ
28302014-01-15 Omair Javaid <omair.javaid@linaro.org>
2831
2832 * arm-tdep.c (thumb_record_misc): Update to correct logical
2833 error while recording ldm, ldmia and pop instructions.
2834
bfbbec00
OJ
28352014-01-15 Omair Javaid <omair.javaid@linaro.org>
2836
2837 * arm-tdep.c (struct arm_mem_r) <addr>: Change type to uint32_t.
2838
e40adcc9
PA
28392014-01-15 Pedro Alves <palves@redhat.com>
2840
2841 * go32-nat.c (go32_open, go32_close, go32_attach, go32_detach)
2842 (go32_resume, go32_fetch_registers, store_register)
2843 (go32_store_registers, go32_prepare_to_store)
2844 (go32_xfer_memory, go32_files_info, go32_kill_inferior)
2845 (go32_create_inferior, go32_can_run, go32_terminal_init)
2846 (go32_terminal_inferior, go32_terminal_ours): Delete forward
2847 declarations.
2848
b0a16e66
TT
28492014-01-15 Tom Tromey <tromey@redhat.com>
2850
2851 * target.h (async_callback_ftype): New typedef.
2852 (struct target_ops) <to_async>: Use it.
2853
bf7105a4
JB
28542014-01-15 Joel Brobecker <brobecker@adacore.com>
2855
2856 * python/py-value.c (get_field_type): Remove unnecessary curly
2857 braces for single-statement if block.
2858
a8f35c2e
JB
28592014-01-15 Joel Brobecker <brobecker@adacore.com>
2860
2861 * python/py-type.c (convert_field): Add missing empty line
2862 after declarations.
2863
bb4142cf
DE
28642014-01-14 Doug Evans <dje@google.com>
2865
2866 * symfile.h (expand_symtabs_matching): Renamed from
2867 expand_partial_symbol_names. Update prototype.
2868 (map_symbol_filenames): Renamed from map_partial_symbol_filenames.
2869 * symfile.c (expand_symtabs_matching): Renamed from
2870 expand_partial_symbol_names. New args file_matcher, kind.
2871 Rename arg fun to symbol_matcher.
2872 (map_symbol_filenames): Renamed from map_partial_symbol_filenames.
2873 * ada-lang.c (ada_complete_symbol_matcher): Renamed from
2874 ada_expand_partial_symbol_name.
2875 (ada_make_symbol_completion_list): Update to call
2876 expand_symtabs_matching.
2877 (ada_add_global_exceptions): Call expand_symtabs_matching.
2878 * mi/mi-cmd-file.c (mi_cmd_file_list_exec_source_files): Update to
2879 call map_symbol_filenames.
2880 * symtab.c (sources_info): Update to call map_symbol_filenames.
2881 (search_symbols): Call expand_symtabs_matching.
2882 (symbol_completion_matcher): Renamed from expand_partial_symbol_name.
2883 (default_make_symbol_completion_list_break_on): Update to call
2884 expand_symtabs_matching.
2885 (make_source_files_completion_list): Update to call
2886 map_symbol_filenames.
2887
206f2a57
DE
28882014-01-14 Doug Evans <dje@google.com>
2889
2890 * symfile.h (expand_symtabs_file_matcher_ftype): New typedef.
2891 (expand_symtabs_symbol_matcher_ftype): New typedef.
2892 (quick_symbol_functions.expand_symtabs_matching): Update to use.
2893 expand_symtabs_file_matcher_ftype, expand_symtabs_symbol_matcher_ftype.
2894 * symfile.c (expand_partial_symbol_names): Update to use
2895 expand_symtabs_symbol_matcher_ftype.
2896 * dwarf2read.c (dw2_expand_symtabs_matching): Update to use
2897 expand_symtabs_file_matcher_ftype, expand_symtabs_symbol_matcher_ftype.
2898 Arg name_matcher renamed to symbol_matcher.
2899 * psymtab.c (recursively_search_psymtabs): Update to use
2900 expand_symtabs_symbol_matcher_ftype. Arg name_matcher renamed to
2901 sym_matcher.
2902 (expand_symtabs_matching_via_partial): Update to use
2903 expand_symtabs_file_matcher_ftype, expand_symtabs_symbol_matcher_ftype.
2904 Arg name_matcher renamed to symbol_matcher.
2905
540c2971
DE
29062014-01-14 Doug Evans <dje@google.com>
2907
2908 * psymtab.c (expand_partial_symbol_names): Delete, moved to symfile.c.
2909 (map_partial_symbol_filenames): Ditto.
2910 * psymtab.h (expand_partial_symbol_names): Delete, moved to symfile.h.
2911 (map_partial_symbol_filenames): Ditto.
2912 * symfile.c (expand_partial_symbol_names): Moved here from psymtab.c.
2913 (map_partial_symbol_filenames): Ditto.
2914 * symfile.h (expand_partial_symbol_names): Moved here from psymtab.h.
2915 (map_partial_symbol_filenames): Ditto.
2916 * symtab.c: Delete #include "psymtab.h".
2917
8213266a
PA
29182014-01-14 Pedro Alves <palves@redhat.com>
2919 Tom Tromey <tromey@redhat.com>
2920
2921 * infrun.c (use_displaced_stepping): Use find_record_target
2922 instead of RECORD_IS_USED.
2923 (adjust_pc_after_break): Use record_full_is_used instead of
2924 RECORD_IS_USED.
2925 * record-btrace.c (record_btrace_open): Call record_preopen
2926 instead of checking RECORD_IS_USED.
2927 * record-full.c (record_full_shortname)
2928 (record_full_core_shortname): New globals.
2929 (record_full_is_used): New function.
2930 (find_full_open): Call record_preopen instead of checking
2931 RECORD_IS_USED.
2932 (init_record_full_ops): Set the target's shortname to
2933 record_full_shortname.
2934 (init_record_full_core_ops): Set the target's shortname to
2935 record_full_core_shortname.
2936 * record-full.h (record_full_is_used): Declare.
2937 * record.c (find_record_target): Make extern.
2938 (record_preopen): New function.
2939 * record.h (RECORD_IS_USED): Delete macro.
2940 (find_record_target, record_preopen): Declare functions.
2941
7ec1862d
YQ
29422014-01-14 Yao Qi <yao@codesourcery.com>
2943
2944 * gdbarch.sh (core_xfer_shared_libraries): Change its argument
2945 'len''s type to ULONGEST.
2946 (core_xfer_shared_libraries_aix): Likewise.
2947 * gdbarch.c, gdbarch.h: Regenerated.
2948 * i386-cygwin-tdep.c (windows_core_xfer_shared_libraries):
2949 Change type of 'len' to ULONGEST.
2950 * rs6000-aix-tdep.c (rs6000_aix_ld_info_to_xml): Likewise.
2951 (rs6000_aix_core_xfer_shared_libraries_aix): Likewise.
2952
dea80a27
YQ
29532014-01-14 Yao Qi <yao@codesourcery.com>
2954
2955 * common/linux-osdata.c (linux_xfer_osdata_processes): Change
2956 type of 'len' to ULONGEST.
2957 (linux_xfer_osdata_processgroups): Likewise.
2958 (linux_xfer_osdata_threads): Likewise.
2959 (linux_xfer_osdata_fds): Likewise.
2960 (linux_xfer_osdata_isockets): Likewise.
2961 (linux_xfer_osdata_shm): Likewise.
2962 (linux_xfer_osdata_sem): Likewise.
2963 (linux_xfer_osdata_msg): Likewise.
2964 (linux_common_xfer_osdata): Likewise.
2965 (struct osdata_type) <getter>: Likewise.
2966 * common/linux-osdata.h (linux_common_xfer_osdata): Update
2967 the declaration.
2968
b55e14c7
YQ
29692014-01-14 Yao Qi <yao@codesourcery.com>
2970
2971 * target.h (target_xfer_partial_ftype): Update.
2972 (struct target_ops) <to_xfer_partial>: Change 'len' type to
2973 ULONGEST.
2974 * aix-thread.c (aix_thread_xfer_partial): Change type of
2975 argument 'len' to ULONGEST.
2976 * auxv.c (procfs_xfer_auxv): Likewise.
2977 (ld_so_xfer_auxv): Likewise.
2978 (memory_xfer_auxv): Likewise.
2979 * bfd-target.c (target_bfd_xfer_partial): Likewise.
2980 * bsd-kvm.c (bsd_kvm_xfer_partial): Likewise.
2981 * bsd-uthread.c (bsd_uthread_xfer_partial): Likewise.
2982 * corelow.c (core_xfer_partial): Likewise.
2983 * ctf.c (ctf_xfer_partial): Likewise.
2984 * darwin-nat.c (darwin_read_write_inferior): Likewise. Use
2985 '%u'.
2986 (darwin_read_dyld_info): Likewise.
2987 (darwin_xfer_partial): Likewise.
2988 * exec.c (section_table_xfer_memory_partial): Likewise.
2989 (exec_xfer_partial): Likewise.
2990 * exec.h (section_table_xfer_memory_partial): Update
2991 declaration.
2992 * gnu-nat.c (gnu_xfer_memory): Likewise. Call pulongest
2993 instead of plongest.
2994 (gnu_xfer_partial): Likewise.
2995 * ia64-hpux-nat.c (ia64_hpux_xfer_memory): Likewise.
2996 (ia64_hpux_xfer_solib_got): Likewise.
2997 (ia64_hpux_xfer_partial): Likewise.
2998 * ia64-linux-nat.c (ia64_linux_xfer_partial):
2999 * inf-ptrace.c (inf_ptrace_xfer_partial):
3000 * inf-ttrace.c (inf_ttrace_xfer_partial):
3001 * linux-nat.c (linux_xfer_siginfo): Likewise.
3002 (linux_nat_xfer_partial): Likewise.
3003 (spu_enumerate_spu_ids, linux_proc_xfer_spu): Likewise.
3004 (linux_nat_xfer_osdata, linux_xfer_partial): Likewise.
3005 * monitor.c (monitor_xfer_memory): Likewise.
3006 (monitor_xfer_partial): Likewise.
3007 * procfs.c (procfs_xfer_partial): Likewise.
3008 * record-full.c (record_full_xfer_partial): Likewise.
3009 (record_full_core_xfer_partial): Likewise.
3010 * remote-sim.c (gdbsim_xfer_memory): Likewise. Call pulongest
3011 instead of plongest.
3012 (gdbsim_xfer_partial): Likewise.
3013 * remote.c (remote_xfer_partial): Likewise.
3014 * rs6000-aix-tdep.c (rs6000_aix_ld_info_to_xml): Likewise.
3015 * rs6000-aix-tdep.h (rs6000_aix_ld_info_to_xml): Update
3016 declaration.
3017 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
3018 (rs6000_xfer_shared_libraries): Likewise.
3019 * sol-thread.c (sol_thread_xfer_partial): Likewise.
3020 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
3021 (sparc_xfer_partial): Likewise.
3022 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise.
3023 (spu_xfer_partial): Likewise.
3024 * spu-multiarch.c (spu_xfer_partial): Likewise.
3025 * target.c (target_read_live_memory): Likewise.
3026 (memory_xfer_live_readonly_partial): Likewise.
3027 (memory_xfer_partial, memory_xfer_partial_1): Likewise.
3028 (target_xfer_partial, default_xfer_partial): Likewise.
3029 (current_xfer_partial): Likewise.
3030 * tracepoint.c (tfile_xfer_partial): Likewise.
3031 * windows-nat.c (windows_xfer_memory): Likewise. Call
3032 pulongest instead of plongest.
3033 (windows_xfer_partial): Likewise.
3034 (windows_xfer_shared_libraries): Likewise.
3035
05804640
YQ
30362014-01-14 Yao Qi <yao@codesourcery.com>
3037
3038 * rs6000-nat.c (rs6000_xfer_shared_libraries): Use
3039 target_xfer_partial_ftype.
3040
b5b08fb4
SC
30412014-01-13 Siva Chandra Reddy <sivachandra@google.com>
3042
3043 PR python/15464
3044 PR python/16113
3045 * valops.c (value_struct_elt_bitpos): New function
3046 * py-type.c (convert_field): Set 'name' attribute of a gdb.Field
3047 object to 'None' if the field name is an empty string ("").
3048 * python/py-value.c (valpy_getitem): Use 'bitpos' and 'type'
3049 attribute to look for a field when 'name' is 'None'.
3050 (get_field_type): New function
3051
13aaf454
DE
30522014-01-13 Doug Evans <dje@google.com>
3053
3054 PR symtab/16426
3055 * dwarf2read.c (dwarf2_get_dwz_file): Call gdb_bfd_record_inclusion.
3056 (try_open_dwop_file): Ditto.
3057 * gdb_bfd.c: #include "vec.h".
3058 (bfdp): New typedef.
3059 (struct gdb_bfd_data): New member included_bfds.
3060 (gdb_bfd_unref): Unref all included bfds.
3061 (gdb_bfd_record_inclusion): New function.
3062 * gdb_bfd.h (gdb_bfd_record_inclusion): Declare.
3063
c2cec97c
TT
30642014-01-13 Tom Tromey <tromey@redhat.com>
3065
3066 * gdbcore.h (deprecated_core_resize_section_table): Remove.
3067
78e5999d
TT
30682014-01-13 Tom Tromey <tromey@redhat.com>
3069
3070 * defs.h (use_windows): Remove.
3071 * gdb.c (main): Update.
3072 * main.c (captured_main, gdb_main): Update.
3073 * main.h (struct captured_main_args) <use_windows>: Remove.
3074 * top.c (use_windows): Remove.
3075
f2052bbe
TT
30762014-01-13 Tom Tromey <tromey@redhat.com>
3077
3078 * defs.h (deprecated_flush_hook): Remove.
3079
fde4f8ed
JK
30802014-01-13 Jan Kratochvil <jan.kratochvil@redhat.com>
3081
3082 PR threads/16216
3083 * linux-thread-db.c (try_thread_db_load): Add parameter
3084 check_auto_load_safe. Move here the file_is_auto_load_safe call.
3085 (try_thread_db_load_from_pdir_1): Move it there from here.
3086 (try_thread_db_load_from_sdir): Update caller.
3087 (try_thread_db_load_from_dir): Move it there from here.
3088
bdf61915
PP
30892014-01-13 Patrick Palka <patrick@parcs.ath.cx>
3090
3091 * regformats/regdat.sh: Always rewrite the register file.
3092
f71e1a8d
PA
30932014-01-13 Pedro Alves <palves@redhat.com>
3094
3095 * Makefile.in (CHECK_HEADERS): New variable.
3096 (check-headers:): New rule.
3097
42c85435
TT
30982014-01-13 Tom Tromey <tromey@redhat.com>
3099
3100 * cli/cli-setshow.c (do_set_command): Update.
3101 * defs.h (deprecated_set_hook): Remove.
3102 * top.c (deprecated_set_hook): Remove.
3103
f8de5129
PA
31042014-01-13 Pedro Alves <palves@redhat.com>
3105
3106 * tracepoint.c (tfile_fetch_registers): Don't infer the PC from
3107 the tracepoint if the PC is a pseudo-register.
3108
fc270c35
TT
31092014-01-13 Tom Tromey <tromey@redhat.com>
3110
3111 * defs.h (XCALLOC): Remove.
3112 * bcache.c (bcache_xmalloc): Use XCNEW, not XCALLOC.
3113 (print_bcache_statistics): Use XCNEWVEC, not XCALLOC.
3114 * dwarf2loc.c (allocate_piece_closure): Likewise.
3115 * elfread.c (elf_symfile_segments): Likewise.
3116 (elf_symfile_segments): Likewise.
3117 * gdbtypes.c (copy_type_recursive): Likewise.
3118 * i386-tdep.c (i386_gdbarch_init): Use XCNEW, not XCALLOC.
3119 * jit.c (jit_frame_sniffer): Use XCNEWVEC, not XCALLOC.
3120 * minsyms.c (prim_record_minimal_symbol_full): Use XCNEW, not
3121 XCALLOC.
3122 * mt-tdep.c (mt_gdbarch_init): Likewise.
3123 * opencl-lang.c (allocate_lval_closure): Use XCNEWVEC, not
3124 XCALLOC.
3125 * psymtab.c (psymbol_compare): Use XCNEW, not XCALLOC.
3126 * regcache.c (regcache_xmalloc_1): Use XCNEWVEC, not XCALLOC.
3127 * registry.c (registry_alloc_data): Likewise.
3128 * rs6000-tdep.c (rs6000_gdbarch_init): Use XCNEW, not XCALLOC.
3129 * s390-linux-tdep.c (s390_gdbarch_init): Likewise.
3130 * serial.c (serial_fdopen_ops): Likewise.
3131 * solib-aix.c (solib_aix_get_section_offsets): Use XCNEWVEC, not
3132 XCALLOC.
3133 * spu-tdep.c (spu_gdbarch_init): Use XCNEW, not XCALLOC.
3134 * symfile.c (default_symfile_segments): Use XCNEW and XCNEWVEC,
3135 not XCALLOC.
3136
70ba0933
TT
31372014-01-13 Tom Tromey <tromey@redhat.com>
3138
3139 * defs.h (XMALLOC): Remove.
3140 * avr-tdep.c (avr_gdbarch_init): Use XNEW, not XMALLOC.
3141 * bfin-tdep.c (bfin_gdbarch_init): Likewise.
3142 * cli-out.c (struct ui_out *): Likewise.
3143 * cli/cli-dump.c (add_dump_command): Likewise.
3144 (add_dump_command): Likewise.
3145 * complaints.c (get_complaints): Likewise.
3146 (find_complaint): Likewise.
3147 * dwarf2-frame.c (execute_cfa_program): Likewise.
3148 * dwarf2read.c (abbrev_table_read_table): Likewise.
3149 * gdbarch.sh: Likewise.
3150 * gdbarch.c: Rebuild.
3151 * inf-ttrace.c (inf_ttrace_add_page): Likewise.
3152 * interps.c (interp_new): Likewise.
3153 * lm32-tdep.c (lm32_gdbarch_init): Likewise.
3154 * m32r-tdep.c (m32r_gdbarch_init): Likewise.
3155 * mi/mi-console.c (mi_console_file_new): Likewise.
3156 * mi/mi-interp.c (mi_interpreter_init): Likewise.
3157 * mi/mi-out.c (mi_out_new): Likewise.
3158 * mi/mi-parse.c (mi_parse): Likewise.
3159 * microblaze-tdep.c (microblaze_gdbarch_init): Likewise.
3160 * moxie-tdep.c (moxie_gdbarch_init): Likewise.
3161 * observer.c (xalloc_observer_list_node): Likewise.
3162 * regcache.c (regcache_xmalloc_1): Likewise.
3163 * reggroups.c (reggroup_new): Likewise.
3164 (_initialize_reggroup): Likewise.
3165 * registry.c (register_data_with_cleanup): Likewise.
3166 * remote.c (remote_notif_stop_alloc_reply): Likewise.
3167 * ser-base.c (serial_ttystate): Likewise.
3168 * ser-mingw.c (make_pipe_state): Likewise.
3169 * ser-pipe.c (pipe_open): Likewise.
3170 * serial.c (serial_open): Likewise.
3171 * sh64-tdep.c (sh64_gdbarch_init): Likewise.
3172 * tui/tui-data.c (tui_alloc_generic_win_info): Likewise.
3173 (tui_alloc_win_info): Likewise.
3174 (tui_add_content_elements): Likewise.
3175 * tui/tui-file.c (tui_file_new): Likewise.
3176 * tui/tui-out.c (tui_out_new): Likewise.
3177 * ui-file.c (mem_file_new): Likewise.
3178 * ui-out.c (push_level): Likewise.
3179 (make_cleanup_ui_out_end): Likewise.
3180 (append_header_to_list): Likewise.
3181 (ui_out_new): Likewise.
3182 * user-regs.c (user_reg_add_builtin): Likewise.
3183
41bf6aca
TT
31842014-01-13 Tom Tromey <tromey@redhat.com>
3185
3186 * defs.h (XZALLOC): Remove.
3187 * ada-lang.c (get_ada_inferior_data): Use XCNEW, not XZALLOC.
3188 * ada-tasks.c (get_ada_tasks_pspace_data): Likewise.
3189 (get_ada_tasks_inferior_data): Likewise.
3190 * auto-load.c (get_auto_load_pspace_data): Likewise.
3191 * auxv.c (get_auxv_inferior_data): Likewise.
3192 * bfd-target.c (target_bfd_reopen): Likewise.
3193 * breakpoint.c (get_catch_syscall_inferior_data): Likewise.
3194 (deprecated_insert_raw_breakpoint): Likewise.
3195 * bsd-uthread.c (bsd_uthread_pid_to_str): Likewise.
3196 * corelow.c (core_open): Likewise.
3197 * darwin-nat.c (darwin_check_new_threads): Likewise.
3198 (darwin_attach_pid): Likewise.
3199 * dummy-frame.c (dummy_frame_push): Likewise.
3200 * dwarf2-frame.c (dwarf2_frame_cache): Likewise.
3201 * dwarf2loc.c (allocate_piece_closure): Likewise.
3202 * elfread.c (elf_symfile_segments): Likewise.
3203 * eval.c (ptrmath_type_p): Likewise.
3204 * exceptions.c (EXCEPTIONS_SIGJMP_BUF): Likewise.
3205 * gdbtypes.c (alloc_type_arch): Likewise.
3206 (alloc_type_instance): Likewise.
3207 * hppa-tdep.c (hppa_gdbarch_init): Likewise.
3208 * inf-child.c (inf_child_can_use_agent): Likewise.
3209 * inflow.c (get_inflow_inferior_data): Likewise.
3210 * infrun.c (save_infcall_suspend_state): Likewise.
3211 * jit.c (jit_reader_load): Likewise.
3212 (get_jit_objfile_data): Likewise.
3213 (get_jit_program_space_data): Likewise.
3214 (jit_object_open_impl): Likewise.
3215 (jit_symtab_open_impl): Likewise.
3216 (jit_block_open_impl): Likewise.
3217 (jit_frame_sniffer): Likewise.
3218 * linux-fork.c (add_fork): Likewise.
3219 * maint.c (make_command_stats_cleanup): Likewise.
3220 * objfiles.c (get_objfile_pspace_data): Likewise.
3221 * opencl-lang.c (struct lval_closure): Likewise.
3222 * osdata.c (osdata_start_osdata): Likewise.
3223 * progspace.c (new_address_space): Likewise.
3224 (add_program_space): Likewise.
3225 * remote-sim.c (get_sim_inferior_data): Likewise.
3226 * sh-tdep.c (sh_gdbarch_init): Likewise.
3227 * skip.c (Ignore): Likewise.
3228 (skip_delete_command): Likewise.
3229 * solib-aix.c (get_solib_aix_inferior_data): Likewise.
3230 (library_list_start_library): Likewise.
3231 (solib_aix_current_sos): Likewise.
3232 * solib-darwin.c (get_darwin_info): Likewise.
3233 (darwin_current_sos): Likewise.
3234 * solib-dsbt.c (get_dsbt_info): Likewise.
3235 * solib-ia64-hpux.c (new_so_list): Likewise.
3236 (ia64_hpux_get_solib_linkage_addr): Likewise.
3237 * solib-spu.c (append_ocl_sos): Likewise.
3238 (spu_current_sos): Likewise.
3239 * solib-svr4.c (get_svr4_info): Likewise.
3240 (svr4_keep_data_in_core): Likewise.
3241 (library_list_start_library): Likewise.
3242 (svr4_default_sos): Likewise.
3243 (svr4_read_so_list): Likewise.
3244 * solib-target.c (library_list_start_library): Likewise.
3245 (solib_target_current_sos): Likewise.
3246 * sparc-tdep.c (sparc32_gdbarch_init): Likewise.
3247 * symfile-debug.c (install_symfile_debug_logging): Likewise.
3248 * symfile.c (default_symfile_segments): Likewise.
3249 * target-descriptions.c (tdesc_data_init): Likewise.
3250 (tdesc_create_reg): Likewise.
3251 (struct tdesc_type *): Likewise.
3252 (tdesc_create_vector): Likewise.
3253 (tdesc_set_struct_size): Likewise.
3254 (struct tdesc_type *): Likewise.
3255 (tdesc_free_feature): Likewise.
3256 (tdesc_create_feature): Likewise.
3257 * windows-nat.c (windows_add_thread): Likewise.
3258 (windows_make_so): Likewise.
3259 * xml-support.c (gdb_xml_body_text): Likewise.
3260 (gdb_xml_create_parser_and_cleanup): Likewise.
3261 (xml_process_xincludes): Likewise.
3262 * xml-syscall.c (allocate_syscalls_info): Likewise.
3263 (syscall_create_syscall_desc): Likewise.
3264
5acfdbae
SDJ
32652014-01-12 Sergio Durigan Junior <sergiodj@redhat.com>
3266
3267 * i386-tdep.c (i386_stap_parse_special_token_triplet): New
3268 function, with code from i386_stap_parse_special_token.
3269 (i386_stap_parse_special_token_three_arg_disp): Likewise.
3270 (i386_stap_parse_special_token): Move code to the two functions
3271 above; simplify it.
3272
0000e5cc
PA
32732014-01-09 Pedro Alves <palves@redhat.com>
3274 Hui Zhu <hui@codesourcery.com>
3275
3276 PR gdb/16101
3277 * breakpoint.c (insert_bp_location): Rename hw_bp_err_string to
3278 bp_err_string. Don't mark the location shlib_disabled if the
3279 error thrown wasn't a generic or memory error. Catch errors
3280 thrown while inserting breakpoints in overlayed code. Output
3281 error message of software breakpoints.
3282 * remote.c (remote_insert_breakpoint): If this breakpoint has
3283 target-side commands but this stub doesn't support Z0 packets,
3284 throw NOT_SUPPORTED_ERROR error.
3285 * exceptions.h (enum errors) <NOT_SUPPORTED_ERROR>: New error.
3286 * target.h (target_insert_breakpoint): Extend comment.
3287 (target_insert_hw_breakpoint): Add comment.
3288
b7ea362b
PA
32892014-01-08 Pedro Alves <palves@redhat.com>
3290
3291 * remote.c (remote_add_thread): Add threads silently if starting
3292 up.
3293 (remote_notice_new_inferior): If in all-stop, and starting up,
3294 don't call notice_new_inferior.
3295 (get_current_thread): New function, factored out from ...
3296 (add_current_inferior_and_thread): ... this. Adjust.
3297 (remote_start_remote) <all-stop>: Fetch the thread list. If we
3298 found any thread, then select the remote's current thread as GDB's
3299 current thread too.
3300
b7bba001
JB
33012014-01-08 Joel Brobecker <brobecker@adacore.com>
3302
3303 * NEWS: Create a new section for the next release branch.
3304 Rename the section of the current branch, now that it has
3305 been cut.
3306
16dfbded
JB
33072014-01-08 Joel Brobecker <brobecker@adacore.com>
3308
3309 GDB 7.7 branch created (79301218fa0f074c5656db0ec8972a5ddcf91fb5):
3310 * version.in: Bump version to 7.7.50.DATE-cvs.
3311
22c90ac1
YQ
33122014-01-08 Yao Qi <yao@codesourcery.com>
3313
3314 * spu-linux-nat.c (spu_symbol_file_add_from_memory): Change
3315 type of 'id' to gdb_byte. Cast 'id' to 'const char *'.
3316 (spu_xfer_partial): Cast 'buf' to 'const char *'.
3317
d64ad97c
YQ
33182014-01-08 Yao Qi <yao@codesourcery.com>
3319
3320 * spu-linux-nat.c (spu_symbol_file_add_from_memory): Pass
3321 return value of bfd_get_filename to symbol_file_add_from_bfd.
3322
f93ba80c
PM
33232014-01-08 Pierre Muller <muller@sourceware.org>
3324
3325 Fix PR16201.
3326 * coff-pe-read.c (struct read_pe_section_data): Add index field.
3327 (add_pe_exported_sym): Use SECTION_DATA->INDEX for call
3328 to prim_record_mininal_symbol_and_info.
3329 (add_pe_forwarded_sym): Use known section number of forwarded symbol
3330 in call to prim_record_minimal_symbol_and_info.
3331 (read_pe_exported_syms): Set index field of section_data.
3332
a4d9ba85
AP
33332014-01-07 Andrew Pinski <apinski@cavium.com>
3334
3335 * features/aarch64-core.xml (cpsr): Change to be 64bit.
3336 * features/aarch64.c: Regenerate.
3337
1b67eb02
AS
33382014-01-07 Andreas Schwab <schwab@linux-m68k.org>
3339
3340 * target.c (return_null): Define.
3341 (update_current_target): Use it instead of return_zero for
3342 functions that return a pointer.
3343
5e3f4fab
EBM
33442014-01-07 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
3345
3346 * source.c (add_path): Fix check for duplicated paths in the previously
3347 included paths.
3348
e2616788
HK
33492014-01-07 Honggyu Kim <hong.gyu.kim@lge.com>
3350
3351 * ada-lang.c: Remove duplicated include statements.
3352 * alphabsd-nat.c: Ditto.
3353 * amd64-darwin-tdep.c: Ditto.
3354 * amd64fbsd-nat.c: Ditto.
3355 * auto-load.c: Ditto.
3356 * ax-gdb.c: Ditto.
3357 * breakpoint.c: Ditto.
3358 * dbxread.c: Ditto.
3359 * fork-child.c: Ditto.
3360 * gdb_usleep.c: Ditto.
3361 * i386-darwin-tdep.c: Ditto.
3362 * i386fbsd-nat.c: Ditto.
3363 * infcmd.c: Ditto.
3364 * inferior.c: Ditto.
3365 * jv-lang.c: Ditto.
3366 * linux-nat.c: Ditto.
3367 * linux-tdep.c: Ditto.
3368 * m68kbsd-nat.c: Ditto.
3369 * m68klinux-nat.c: Ditto.
3370 * microblaze-tdep.c: Ditto.
3371 * mips-linux-tdep.c: Ditto.
3372 * mn10300-tdep.c: Ditto.
3373 * nto-tdep.c: Ditto.
3374 * opencl-lang.c: Ditto.
3375 * osdata.c: Ditto.
3376 * printcmd.c: Ditto.
3377 * regcache.c: Ditto.
3378 * remote-m32r-sdi.c: Ditto.
3379 * remote.c: Ditto.
3380 * symfile.c: Ditto.
3381 * symtab.c: Ditto.
3382 * tilegx-linux-nat.c: Ditto.
3383 * tilegx-tdep.c: Ditto.
3384 * tracepoint.c: Ditto.
3385 * valops.c: Ditto.
3386 * vaxbsd-nat.c: Ditto.
3387 * windows-nat.c: Ditto.
3388 * xtensa-tdep.c: Ditto.
3389
bd1f7788
YQ
33902014-01-07 Yao Qi <yao@codesourcery.com>
3391
3392 * spu-linux-nat.c (_initialize_spu_nat): Declare.
3393
79301218
JB
33942014-01-07 Yao Qi <yao@codesourcery.com>
3395 Joel Brobecker <brobecker@adacore.com>
3396
3397 * aix-thread.c (pdc_read_regs): Cast parameter to uintptr_t.
3398 (pdc_write_regs): Likewise.
3399 (fetch_regs_kernel_thread): Likewise.
3400 (store_regs_kernel_thread): Likewise.
3401
34022014-01-07 Joel Brobecker <brobecker@adacore.com>
3403
3404 * ada-varobj.c (ada_varobj_adjust_for_child_access): Convert
3405 tagged type objects to their actual type.
3406
8e355c5d
JB
34072014-01-07 Joel Brobecker <brobecker@adacore.com>
3408
3409 * ada-valprint.c (print_field_values): Add "language" parameter.
3410 Update calls to print_field_values and print_variant_part.
3411 Pass new parameter "language" in call to val_print instead
3412 of "current_language". Replace call to ada_val_print by call
3413 to val_print.
3414 (print_variant_part): Add "language" parameter.
3415 (ada_val_print_struct_union): Update call to print_field_values.
3416
4fbf5aa5
JB
34172014-01-07 Joel Brobecker <brobecker@adacore.com>
3418
3419 * ada-valprint.c (ui_memcpy): Delete.
3420 (ada_print_floating): Update documentation. Add empty line
3421 between between function documentation and implementation.
3422 Delete variable "buffer". Use ui_file_xstrdup in place of
3423 ui_file_put. Minor adjustments following this change.
3424
71855601
JB
34252014-01-07 Joel Brobecker <brobecker@adacore.com>
3426
3427 * ada-valprint.c (ada_val_print_string): New function,
3428 extracted from ada_val_print_array.
3429 (ada_val_print_array): Replace extracted code by call
3430 to ada_val_print_string followed by a return. Move
3431 "else" branch to the function's top block.
3432
4eb27a30
JB
34332014-01-07 Joel Brobecker <brobecker@adacore.com>
3434
3435 * ada-valprint.c (ada_val_print_array): Move implementation
3436 down. Rename parameter "offset" and "val" into "offset_aligned"
3437 and "original_value" respectively. Add parameter "offset".
3438
34b27950
JB
34392014-01-07 Joel Brobecker <brobecker@adacore.com>
3440
3441 * ada-valprint.c (ada_val_print_ref): Rewrite by mostly
3442 re-organizing the code. Change the "???" message printed
3443 when target type is a TYPE_CODE_UNDEF into
3444 "<ref to undefined type>".
3445
079e4591
JB
34462014-01-07 Joel Brobecker <brobecker@adacore.com>
3447
3448 * ada-valprint.c (print_record): Delete, implementation inlined...
3449 (ada_val_print_struct_union): ... here. Remove call to
3450 ada_check_typedef in inlined implementation.
3451
8004dfd1
JB
34522014-01-07 Joel Brobecker <brobecker@adacore.com>
3453
3454 * ada-valprint.c (ada_val_print_gnat_array): New function,
3455 extracted from ada_val_print_1;
3456 (ada_val_print_ptr, ada_val_print_num, ada_val_print_enum)
3457 (ada_val_print_flt, ada_val_print_struct_union)
3458 (ada_val_print_ref): Likewise.
3459 (ada_val_print_1): Delete variables i and elttype.
3460 Replace extracted-out code by call to corresponding
3461 new functions.
3462
760a2db0
JB
34632014-01-07 Joel Brobecker <brobecker@adacore.com>
3464
3465 * ada-valprint.c (ada_val_print_1): Remove call to gdb_flush.
3466
3a92c861
JB
34672014-01-07 Joel Brobecker <brobecker@adacore.com>
3468
3469 * ada-valprint.c (ada_val_print_1): Replace calls to
3470 ada_val_print_1 by calls to val_print.
3471
cd1630f9
JB
34722014-01-07 Joel Brobecker <brobecker@adacore.com>
3473
3474 * ada-valprint.c (ada_val_print_1): Add parameter "language".
3475 Update calls to self accordingly. Replace calls to c_val_print
3476 by calls to val_print.
3477
bdf779a0
JB
34782014-01-07 Joel Brobecker <brobecker@adacore.com>
3479
3480 * ada-valprint.c (print_record): Delete declaration.
3481 (adjust_type_signedness, ada_val_print_1): Likewise.
3482 (ada_val_print): Move function implementation down.
3483 (print_variant_part, print_field_values, print_record):
3484 Move function implementation up.
3485
c0d48811
JB
34862014-01-07 Joel Brobecker <brobecker@adacore.com>
3487
3488 * python/py-type.c (typy_get_name): New function.
3489 (type_object_getset): Add entry for attribute "name".
3490 * NEWS: Add entry mentioning this new attribute.
3491
c26e9cbb
YQ
34922014-01-07 Yao Qi <yao@codesourcery.com>
3493
3494 * gnu-nat.c (set_exceptions_cmd): Remove an empty body 'if'
3495 statement.
3496
0cc6f43d
YQ
34972014-01-07 Yao Qi <yao@codesourcery.com>
3498
3499 * gnu-nat.c (info_port_rights): Add qualifier const to
3500 argument args.
3501
eec03155
YQ
35022014-01-07 Yao Qi <yao@codesourcery.com>
3503
3504 * gnu-nat.c (trace_me): Use 'void' for empty argument list.
3505
f04a82ef
YQ
35062014-01-07 Yao Qi <yao@codesourcery.com>
3507
3508 * gnu-nat.c (make_inf) Update declaration.
3509 (make_inf): Make it static.
3510 (inf_set_traced): Likewise.
3511 (inf_port_to_thread, inf_task_died_status): Likewise.
3512
d57dda0a
YQ
35132014-01-07 Yao Qi <yao@codesourcery.com>
3514
3515 * gnu-nat.c (inf_tid_to_proc): Remove declaration.
3516
3aa8c969
YQ
35172014-01-07 Yao Qi <yao@codesourcery.com>
3518
3519 * gnu-nat.c (_initialize_gnu_nat): Declare.
3520
94123b4f
YQ
35212014-01-07 Yao Qi <yao@codesourcery.com>
3522
3523 * gdbarch.sh (byte_order, byte_order_for_code): Change type to
3524 'enum bfd_endian'.
3525 (struct gdbarch_info) <byte_order>: Change type to
3526 'enum bfd_endian'.
3527 <byte_order_for_code>: Likewise.
3528 * gdbarch.c, gdbarch.h: Regenerated.
3529
dc81d70a
TT
35302014-01-06 Sasha Smundak <asmundak@google.com>
3531
3532 * jit.c: (jit_reader_load_command): Fix JIT reader path creation.
3533
cc2f3c35
TT
35342014-01-06 Tom Tromey <tromey@redhat.com>
3535
3536 * doublest.c (convert_doublest_to_floatformat): Use const, not
3537 CONST.
3538 * somread.c (som_symtab_read): Likewise.
3539
adcf2eed
HZ
35402014-01-07 Hui Zhu <hui@codesourcery.com>
3541
3542 * gdb_bfd.c (gdb_bfd_stash_filename): Removed.
3543 (gdb_bfd_open): Removed gdb_bfd_stash_filename.
3544 (gdb_bfd_fopen): Ditto.
3545 (gdb_bfd_openr): Ditto.
3546 (gdb_bfd_openw): Ditto.
3547 (gdb_bfd_openr_iovec): Ditto.
3548 (gdb_bfd_fdopenr): Ditto.
3549 * gdb_bfd.h (gdb_bfd_stash_filename): Removed.
3550 * solib-aix.c (solib_aix_bfd_open): Alloc object_bfd->filename
3551 with xstrdup.
3552 * solib-darwin.c (darwin_bfd_open): Alloc res->filename
3553 with xstrdup.
3554 * symfile-mem.c (symbol_file_add_from_memory): Removed
3555 gdb_bfd_stash_filename.
3556
50722198
DE
35572014-01-03 Doug Evans <dje@google.com>
3558
3559 * nat/linux-waitpid.c (linux_debug): Remove extraneous \n from
3560 output.
3561
2fa4b862
JB
35622014-01-01 Joel Brobecker <brobecker@adacore.com>
3563
3564 Update year range in copyright notice of all files.
3565
28498c42
JB
35662014-01-01 Joel Brobecker <brobecker@adacore.com>
3567
3568 * top.c (print_gdb_version): Set copyright year to 2014.
3569
7b6e1046
JB
35702014-01-01 Joel Brobecker <brobecker@adacore.com>
3571
3572 * config/djgpp/fnchange.lst: Add entry for gdb/ChangeLog-2013.
3573
df96af55 3574For older changes see ChangeLog-2013.
c906108c
SS
3575\f
3576Local Variables:
3577mode: change-log
3578left-margin: 8
3579fill-column: 74
3580version-control: never
57da7796 3581coding: utf-8
c906108c 3582End: