1 2014-02-19 Tom Tromey <tromey@redhat.com>
3 * target.h (struct target_ops) <to_teardown_btrace>: Add argument.
4 * target.c (target_teardown_btrace): Add argument.
5 * remote.c (remote_teardown_btrace): Add 'self' argument.
6 * i386-linux-nat.c (i386_linux_teardown_btrace): Add 'self'
8 * amd64-linux-nat.c (amd64_linux_teardown_btrace): Add 'self'
11 2014-02-19 Tom Tromey <tromey@redhat.com>
13 * target.h (struct target_ops) <to_disable_btrace>: Add argument.
14 * target.c (target_disable_btrace): Add argument.
15 * remote.c (remote_disable_btrace): Add 'self' argument.
16 * i386-linux-nat.c (i386_linux_disable_btrace): Add 'self'
18 * amd64-linux-nat.c (amd64_linux_disable_btrace): Add 'self'
21 2014-02-19 Tom Tromey <tromey@redhat.com>
23 * target.h (struct target_ops) <to_enable_btrace>: Add argument.
24 * target.c (target_enable_btrace): Add argument.
25 * remote.c (remote_enable_btrace): Add 'self' argument.
26 * i386-linux-nat.c (i386_linux_enable_btrace): Add 'self'
28 * amd64-linux-nat.c (amd64_linux_enable_btrace): Add 'self'
31 2014-02-19 Tom Tromey <tromey@redhat.com>
33 * target.h (struct target_ops) <to_can_use_agent>: Add argument.
34 (target_can_use_agent): Add argument.
35 * target.c (update_current_target): Update.
36 * remote.c (remote_can_use_agent): Add 'self' argument.
37 * inf-child.c (inf_child_can_use_agent): Add 'self' argument.
39 2014-02-19 Tom Tromey <tromey@redhat.com>
41 * target.h (struct target_ops) <to_use_agent>: Add argument.
42 (target_use_agent): Add argument.
43 * target.c (update_current_target): Update.
44 * remote.c (remote_use_agent): Add 'self' argument.
45 * inf-child.c (inf_child_use_agent): Add 'self' argument.
47 2014-02-19 Tom Tromey <tromey@redhat.com>
49 * tracepoint.c (tfile_traceframe_info): Add 'self' argument.
50 * target.h (struct target_ops) <to_traceframe_info>: Add argument.
51 (target_traceframe_info): Add argument.
52 * target.c (update_current_target): Update.
53 * remote.c (remote_traceframe_info): Add 'self' argument.
54 * ctf.c (ctf_traceframe_info): Add 'self' argument.
56 2014-02-19 Tom Tromey <tromey@redhat.com>
58 * target.h (target_static_tracepoint_markers_by_strid): Add
60 (struct target_ops) <to_static_tracepoint_markers_by_strid>: Add
62 * target.c (update_current_target): Update.
63 * remote.c (struct target_ops)
64 <to_static_tracepoint_markers_by_strid>: Add 'self' argument.
65 * linux-nat.c (struct target_ops)
66 <to_static_tracepoint_markers_by_strid>: Add 'self' argument.
68 2014-02-19 Tom Tromey <tromey@redhat.com>
70 * target.h (struct target_ops) <to_static_tracepoint_marker_at>:
72 (target_static_tracepoint_marker_at): Add argument.
73 * target.c (update_current_target): Update.
74 * remote.c (remote_static_tracepoint_marker_at): Add 'self'
77 2014-02-19 Tom Tromey <tromey@redhat.com>
79 * target.h (struct target_ops) <to_set_permissions>: Add argument.
80 (target_set_permissions): Add argument.
81 * target.c (update_current_target): Update.
82 * remote.c (remote_set_permissions): Add 'self' argument.
83 (remote_start_remote): Update.
85 2014-02-19 Tom Tromey <tromey@redhat.com>
87 * windows-nat.c (windows_get_tib_address): Add 'self' argument.
88 * target.h (struct target_ops) <to_get_tib_address>: Add argument.
89 (target_get_tib_address): Add argument.
90 * target.c (update_current_target): Update.
91 * remote.c (remote_get_tib_address): Add 'self' argument.
93 2014-02-19 Tom Tromey <tromey@redhat.com>
95 * target.h (struct target_ops) <to_set_trace_notes>: Add argument.
96 (target_set_trace_notes): Add argument.
97 * target.c (update_current_target): Update.
98 * remote.c (remote_set_trace_notes): Add 'self' argument.
100 2014-02-19 Tom Tromey <tromey@redhat.com>
102 * target.h (struct target_ops) <to_set_trace_buffer_size>: Add
104 (target_set_trace_buffer_size): Add argument.
105 * target.c (update_current_target): Update.
106 * remote.c (remote_set_trace_buffer_size): Add 'self' argument.
108 2014-02-19 Tom Tromey <tromey@redhat.com>
110 * target.h (struct target_ops) <to_set_circular_trace_buffer>: Add
112 (target_set_circular_trace_buffer): Add argument.
113 * target.c (update_current_target): Update.
114 * remote.c (remote_set_circular_trace_buffer): Add 'self'
117 2014-02-19 Tom Tromey <tromey@redhat.com>
119 * target.h (struct target_ops) <to_set_disconnected_tracing>: Add
121 (target_set_disconnected_tracing): Add argument.
122 * target.c (update_current_target): Update.
123 * remote.c (remote_set_disconnected_tracing): Add 'self' argument.
125 2014-02-19 Tom Tromey <tromey@redhat.com>
127 * target.h (struct target_ops)
128 <to_get_min_fast_tracepoint_insn_len>: Add argument.
129 (target_get_min_fast_tracepoint_insn_len): Add argument.
130 * target.c (update_current_target): Update.
131 * remote.c (remote_get_min_fast_tracepoint_insn_len): Add 'self'
134 2014-02-19 Tom Tromey <tromey@redhat.com>
136 * target.h (struct target_ops) <to_get_raw_trace_data>: Add
138 (target_get_raw_trace_data): Add argument.
139 * target.c (update_current_target): Update.
140 * remote.c (remote_get_raw_trace_data): Add 'self' argument.
142 2014-02-19 Tom Tromey <tromey@redhat.com>
144 * target.h (struct target_ops) <to_upload_trace_state_variables>:
146 (target_upload_trace_state_variables): Add argument.
147 * target.c (update_current_target): Update.
148 * remote.c (remote_upload_trace_state_variables): Add 'self'
150 (remote_start_remote): Update.
152 2014-02-19 Tom Tromey <tromey@redhat.com>
154 * target.h (struct target_ops) <to_upload_tracepoints>: Add
156 (target_upload_tracepoints): Add argument.
157 * target.c (update_current_target): Update.
158 * remote.c (remote_upload_tracepoints): Add 'self' argument.
159 (remote_start_remote): Update.
161 2014-02-19 Tom Tromey <tromey@redhat.com>
163 * target.h (struct target_ops) <to_save_trace_data>: Add argument.
164 (target_save_trace_data): Add argument.
165 * target.c (update_current_target): Update.
166 * remote.c (remote_save_trace_data): Add 'self' argument.
168 2014-02-19 Tom Tromey <tromey@redhat.com>
170 * tracepoint.c (tfile_get_trace_state_variable_value): Add 'self'
172 * target.h (struct target_ops)
173 <to_get_trace_state_variable_value>: Add argument.
174 (target_get_trace_state_variable_value): Add argument.
175 * target.c (update_current_target): Update.
176 * remote.c (remote_get_trace_state_variable_value): Add 'self'
178 * ctf.c (ctf_get_trace_state_variable_value): Add 'self' argument.
180 2014-02-19 Tom Tromey <tromey@redhat.com>
182 * tracepoint.c (tfile_trace_find): Add 'self' argument.
183 * target.h (struct target_ops) <to_trace_find>: Add argument.
184 (target_trace_find): Add argument.
185 * target.c (update_current_target): Update.
186 * remote.c (remote_trace_find): Add 'self' argument.
187 * ctf.c (ctf_trace_find): Add 'self' argument.
189 2014-02-19 Tom Tromey <tromey@redhat.com>
191 * target.h (struct target_ops) <to_trace_stop>: Add argument.
192 (target_trace_stop): Add argument.
193 * target.c (update_current_target): Update.
194 * remote.c (remote_trace_stop): Add 'self' argument.
196 2014-02-19 Tom Tromey <tromey@redhat.com>
198 * tracepoint.c (tfile_get_tracepoint_status): Add 'self' argument.
199 * target.h (struct target_ops) <to_get_tracepoint_status>: Add
201 (target_get_tracepoint_status): Add argument.
202 * target.c (update_current_target): Update.
203 * remote.c (remote_get_tracepoint_status): Add 'self' argument.
205 2014-02-19 Tom Tromey <tromey@redhat.com>
207 * tracepoint.c (tfile_get_trace_status): Add 'self' argument.
208 * target.h (struct target_ops) <to_get_trace_status>: Add
210 (target_get_trace_status): Add argument.
211 * target.c (update_current_target): Update.
212 * remote.c (remote_get_trace_status): Add 'self' argument.
213 (remote_start_remote, remote_can_download_tracepoint): Update.
214 * ctf.c (ctf_get_trace_status): Add 'self' argument.
216 2014-02-19 Tom Tromey <tromey@redhat.com>
218 * target.h (struct target_ops) <to_trace_start>: Add argument.
219 (target_trace_start): Add argument.
220 * target.c (update_current_target): Update.
221 * remote.c (remote_trace_start): Add 'self' argument.
223 2014-02-19 Tom Tromey <tromey@redhat.com>
225 * target.h (struct target_ops) <to_trace_set_readonly_regions>:
227 (target_trace_set_readonly_regions): Add argument.
228 * target.c (update_current_target): Update.
229 * remote.c (remote_trace_set_readonly_regions): Add 'self'
232 2014-02-19 Tom Tromey <tromey@redhat.com>
234 * target.h (struct target_ops) <to_disable_tracepoint>: Add
236 (target_disable_tracepoint): Add argument.
237 * target.c (update_current_target): Update.
238 * remote.c (remote_disable_tracepoint): Add 'self' argument.
240 2014-02-19 Tom Tromey <tromey@redhat.com>
242 * target.h (struct target_ops) <to_enable_tracepoint>: Add
244 (target_enable_tracepoint): Add argument.
245 * target.c (update_current_target): Update.
246 * remote.c (remote_enable_tracepoint): Add 'self' argument.
248 2014-02-19 Tom Tromey <tromey@redhat.com>
250 * target.h (struct target_ops) <to_download_trace_state_variable>:
252 (target_download_trace_state_variable): Add argument.
253 * target.c (update_current_target): Update.
254 * remote.c (remote_download_trace_state_variable): Add 'self'
257 2014-02-19 Tom Tromey <tromey@redhat.com>
259 * target.h (struct target_ops) <to_can_download_tracepoint>: Add
261 (target_can_download_tracepoint): Add argument.
262 * target.c (update_current_target): Update.
263 * remote.c (remote_can_download_tracepoint): Add 'self' argument.
265 2014-02-19 Tom Tromey <tromey@redhat.com>
267 * target.h (struct target_ops) <to_download_tracepoint>: Add
269 (target_download_tracepoint): Add argument.
270 * target.c (update_current_target): Update.
271 * remote.c (remote_download_tracepoint): Add 'self' argument.
273 2014-02-19 Tom Tromey <tromey@redhat.com>
275 * target.h (struct target_ops) <to_trace_init>: Add argument.
276 (target_trace_init): Add argument.
277 * target.c (update_current_target): Update.
278 * remote.c (remote_trace_init): Add 'self' argument.
280 2014-02-19 Tom Tromey <tromey@redhat.com>
282 * target.h (struct target_ops) <to_fileio_readlink>: Add argument.
283 * target.c (target_fileio_readlink): Add argument.
284 * remote.c (remote_hostio_readlink): Add 'self' argument.
285 * inf-child.c (inf_child_fileio_readlink): Add 'self' argument.
287 2014-02-19 Tom Tromey <tromey@redhat.com>
289 * target.h (struct target_ops) <to_fileio_unlink>: Add argument.
290 * target.c (target_fileio_unlink): Add argument.
291 * remote.c (remote_hostio_unlink): Add 'self' argument.
292 (remote_file_delete): Update.
293 * inf-child.c (inf_child_fileio_unlink): Add 'self' argument.
295 2014-02-19 Tom Tromey <tromey@redhat.com>
297 * target.h (struct target_ops) <to_fileio_close>: Add argument.
298 * target.c (target_fileio_close): Add argument.
299 * remote.c (remote_hostio_close): Add 'self' argument.
300 (remote_hostio_close_cleanup): Update.
301 (remote_bfd_iovec_close, remote_file_put, remote_file_get):
303 * inf-child.c (inf_child_fileio_close): Add 'self' argument.
305 2014-02-19 Tom Tromey <tromey@redhat.com>
307 * target.h (struct target_ops) <to_fileio_pread>: Add argument.
308 * target.c (target_fileio_pread): Add argument.
309 * remote.c (remote_hostio_pread): Add 'self' argument.
310 (remote_bfd_iovec_pread, remote_file_get): Update.
311 * inf-child.c (inf_child_fileio_pread): Add 'self' argument.
313 2014-02-19 Tom Tromey <tromey@redhat.com>
315 * target.h (struct target_ops) <to_fileio_pwrite>: Add argument.
316 * target.c (target_fileio_pwrite): Add argument.
317 * remote.c (remote_hostio_pwrite): Add 'self' argument.
318 (remote_file_put): Update.
319 * inf-child.c (inf_child_fileio_pwrite): Add 'self' argument.
321 2014-02-19 Tom Tromey <tromey@redhat.com>
323 * target.h (struct target_ops) <to_fileio_open>: Add argument.
324 * target.c (target_fileio_open): Add argument.
325 * remote.c (remote_hostio_open): Add 'self' argument.
326 (remote_bfd_iovec_open): Add 'self' argument.
327 (remote_file_put): Add 'self' argument.
328 (remote_file_get): Add 'self' argument.
329 * inf-child.c (inf_child_fileio_open): Add 'self' argument.
331 2014-02-19 Tom Tromey <tromey@redhat.com>
333 * target.h (struct target_ops) <to_can_run_breakpoint_commands>:
335 (target_can_run_breakpoint_commands): Add argument.
336 * target.c (update_current_target): Update.
337 * remote.c (remote_can_run_breakpoint_commands): Add 'self'
339 (remote_insert_breakpoint): Add 'self' argument.
340 (remote_insert_hw_breakpoint): Add 'self' argument.
341 (remote_can_run_breakpoint_commands): Add 'self' argument.
343 2014-02-19 Tom Tromey <tromey@redhat.com>
345 * target.h (struct target_ops)
346 <to_supports_evaluation_of_breakpoint_conditions>: Add argument.
347 (target_supports_evaluation_of_breakpoint_conditions): Add
349 * target.c (update_current_target): Update.
350 * remote.c (remote_supports_cond_breakpoints): Add 'self'
352 (remote_insert_breakpoint): Add 'self' argument.
353 (remote_insert_hw_breakpoint): Add 'self' argument.
354 (remote_supports_cond_breakpoints): Add 'self' argument.
356 2014-02-19 Tom Tromey <tromey@redhat.com>
358 * target.h (struct target_ops) <to_supports_string_tracing>: Add
360 (target_supports_string_tracing): Add argument.
361 * target.c (update_current_target): Update.
362 * remote.c (remote_supports_string_tracing): Add 'self' argument.
364 2014-02-19 Tom Tromey <tromey@redhat.com>
366 * target.h (struct target_ops)
367 <to_supports_disable_randomization>: Add argument.
368 * target.c (find_default_supports_disable_randomization): Add
370 (target_supports_disable_randomization): Add argument.
371 (find_default_supports_disable_randomization): Add 'self'
373 * remote.c (extended_remote_supports_disable_randomization): Add
375 (remote_supports_disable_randomization): Add 'self' argument.
376 (extended_remote_create_inferior): Update.
377 * linux-nat.c (linux_nat_supports_disable_randomization): Add
380 2014-02-19 Tom Tromey <tromey@redhat.com>
382 * target.h (struct target_ops)
383 <to_supports_enable_disable_tracepoint>: Add argument.
384 (target_supports_enable_disable_tracepoint): Add argument.
385 * target.c (update_current_target): Update.
386 * remote.c (remote_supports_enable_disable_tracepoint): Add 'self'
389 2014-02-19 Tom Tromey <tromey@redhat.com>
391 * target.h (struct target_ops) <to_supports_multi_process>: Add
393 (target_supports_multi_process): Add argument.
394 * target.c (update_current_target): Update.
395 * remote.c (remote_supports_multi_process): Add 'self' argument.
396 * linux-nat.c (linux_nat_supports_multi_process): Add 'self'
398 * darwin-nat.c (darwin_supports_multi_process): Add 'self'
401 2014-02-19 Tom Tromey <tromey@redhat.com>
403 * target.h (struct target_ops) <to_execution_direction>: Add
405 (target_execution_direction): Add argument.
406 * target.c (default_execution_direction): Add 'self' argument.
407 * record-full.c (record_full_execution_direction): Add 'self'
410 2014-02-19 Tom Tromey <tromey@redhat.com>
412 * target.h (struct target_ops) <to_can_execute_reverse>: Add
414 (target_can_execute_reverse): Add argument.
415 * remote.c (remote_can_execute_reverse): Add 'self' argument.
416 * record-full.c (record_full_can_execute_reverse): Add 'self'
418 * record-btrace.c (record_btrace_can_execute_reverse): Add 'self'
421 2014-02-19 Tom Tromey <tromey@redhat.com>
423 * windows-nat.c (windows_get_ada_task_ptid): Add 'self' argument.
424 * target.h (struct target_ops) <to_get_ada_task_ptid>: Add
426 (target_get_ada_task_ptid): Add argument.
427 * target.c (update_current_target): Update.
428 (default_get_ada_task_ptid): Add 'self' argument.
429 * sol-thread.c (sol_get_ada_task_ptid): Add 'self' argument.
430 * remote.c (remote_get_ada_task_ptid): Add 'self' argument.
431 * ravenscar-thread.c (ravenscar_get_ada_task_ptid): Add 'self'
433 * linux-thread-db.c (thread_db_get_ada_task_ptid): Add 'self'
435 * inf-ttrace.c (inf_ttrace_get_ada_task_ptid): Add 'self'
437 * dec-thread.c (dec_thread_get_ada_task_ptid): Add 'self'
439 * darwin-nat.c (darwin_get_ada_task_ptid): Add 'self' argument.
440 * aix-thread.c (aix_thread_get_ada_task_ptid): Add 'self'
443 2014-02-19 Tom Tromey <tromey@redhat.com>
445 * target.h (struct target_ops) <to_goto_bookmark>: Add argument.
446 (target_goto_bookmark): Add argument.
447 * target.c (dummy_goto_bookmark): Add 'self' argument.
448 * record-full.c (record_full_goto_bookmark): Add 'self' argument.
450 2014-02-19 Tom Tromey <tromey@redhat.com>
452 * target.h (struct target_ops) <to_get_bookmark>: Add argument.
453 (target_get_bookmark): Add argument.
454 * target.c (dummy_get_bookmark): Add 'self' argument.
455 * record-full.c (record_full_get_bookmark): Add 'self' argument.
457 2014-02-19 Tom Tromey <tromey@redhat.com>
459 * target.h (struct target_ops) <to_make_corefile_notes>: Add
461 (target_make_corefile_notes): Add argument.
462 * target.c (dummy_make_corefile_notes): Add 'self' argument.
463 * procfs.c (procfs_make_note_section): Add 'self' argument.
464 (procfs_make_note_section): Add 'self' argument.
465 (procfs_make_note_section): Add 'self' argument.
466 * linux-nat.c (linux_nat_make_corefile_notes): Add 'self'
468 * fbsd-nat.h (fbsd_make_corefile_notes): Add 'self' argument.
469 * fbsd-nat.c (fbsd_make_corefile_notes): Add 'self' argument.
470 * exec.c (exec_make_note_section): Add 'self' argument.
471 (exec_make_note_section): Add 'self' argument.
473 2014-02-19 Tom Tromey <tromey@redhat.com>
475 * target.h (struct target_ops) <to_find_memory_regions>: Add
477 (target_find_memory_regions): Add argument.
478 * target.c (dummy_find_memory_regions): Add 'self' argument.
479 * procfs.c (proc_find_memory_regions): Add 'self' argument.
480 * gnu-nat.c (gnu_find_memory_regions): Add 'self' argument.
481 * fbsd-nat.h (fbsd_find_memory_regions): Add 'self' argument.
482 * fbsd-nat.c (fbsd_find_memory_regions): Add 'self' argument.
483 * exec. (exec_do_find_memory_regions): New global.
484 (exec_set_find_memory_regions): Rewrite.
485 (exec_find_memory_regions): New function.
486 (init_exec_ops): Use exec_find_memory_regions.
488 2014-02-19 Tom Tromey <tromey@redhat.com>
490 * target.h (struct target_ops) <to_supports_non_stop>: Add
492 * target.c (find_default_supports_non_stop): Add argument.
493 (target_supports_non_stop): Add argument.
494 (find_default_supports_non_stop): Add 'self' argument.
495 * remote.c (remote_supports_non_stop): Add 'self' argument.
496 * linux-nat.c (linux_nat_supports_non_stop): Add 'self' argument.
498 2014-02-19 Tom Tromey <tromey@redhat.com>
500 * target.h (struct target_ops) <to_log_command>: Add argument.
501 (target_log_command): Add argument.
502 * serial.h (serial_log_command): Add 'self' argument.
503 * serial.c (serial_log_command): Add 'self' argument.
505 2014-02-19 Tom Tromey <tromey@redhat.com>
507 * windows-nat.c (windows_pid_to_exec_file): Add 'self' argument.
508 * target.h (struct target_ops) <to_pid_to_exec_file>: Add
510 (target_pid_to_exec_file): Add argument.
511 * target.c (debug_to_pid_to_exec_file): Add argument.
512 (update_current_target): Update.
513 * nbsd-nat.h (nbsd_pid_to_exec_file): Add 'self' argument.
514 * nbsd-nat.c (nbsd_pid_to_exec_file): Add 'self' argument.
515 * linux-nat.c (linux_child_pid_to_exec_file): Add 'self' argument.
516 (linux_handle_extended_wait): Update.
517 * inf-child.c (inf_child_pid_to_exec_file): Add 'self' argument.
518 * fbsd-nat.h (fbsd_pid_to_exec_file): Add 'self' argument.
519 * fbsd-nat.c (fbsd_pid_to_exec_file): Add 'self' argument.
520 * darwin-nat.c (darwin_pid_to_exec_file): Add 'self' argument.
522 2014-02-19 Tom Tromey <tromey@redhat.com>
524 * target.h (struct target_ops) <to_rcmd>: Add argument.
525 (target_rcmd): Add argument.
526 * target.c (debug_to_rcmd): Add argument.
527 (update_current_target, do_monitor_command): Update.
528 * remote.c (remote_rcmd): Add 'self' argument.
529 * monitor.c (monitor_rcmd): Add 'self' argument.
531 2014-02-19 Tom Tromey <tromey@redhat.com>
533 * windows-nat.c (windows_stop): Add 'self' argument.
534 * target.h (struct target_ops) <to_stop>: Add argument.
535 * target.c (target_stop): Add argument.
536 (debug_to_stop): Add argument.
537 (update_current_target): Update.
538 * remote.c (remote_stop): Add 'self' argument.
539 * remote-sim.c (gdbsim_stop): Add 'self' argument.
540 (gdbsim_cntrl_c): Update.
541 * remote-m32r-sdi.c (m32r_stop): Add 'self' argument.
542 * procfs.c (procfs_stop): Add 'self' argument.
543 * nto-procfs.c (procfs_stop): Add 'self' argument.
544 * monitor.c (monitor_stop): Add 'self' argument.
545 (monitor_open): Update.
546 * linux-nat.c (linux_nat_stop): Add argument.
547 * inf-ptrace.c (inf_ptrace_stop): Add 'self' argument.
548 * gnu-nat.c (gnu_stop): Add 'self' argument.
549 * darwin-nat.c (darwin_stop): Add 'self' argument.
551 2014-02-19 Tom Tromey <tromey@redhat.com>
553 * target.h (struct target_ops) <to_thread_name>: Add argument.
554 * target.c (target_thread_name): Add argument.
555 (update_current_target): Update.
556 * linux-nat.c (linux_nat_thread_name): Add 'self' argument.
558 2014-02-19 Tom Tromey <tromey@redhat.com>
560 * target.h (struct target_ops) <to_extra_thread_info>: Add
562 (target_extra_thread_info): Add argument.
563 * target.c (update_current_target): Update.
564 * remote.c (remote_threads_extra_info): Add 'self' argument.
565 * ravenscar-thread.c (ravenscar_extra_thread_info): Add 'self'
567 * nto-tdep.h (nto_extra_thread_info): Add 'self' argument.
568 * nto-tdep.c (nto_extra_thread_info): Add 'self' argument.
569 * linux-thread-db.c (thread_db_extra_thread_info): Add 'self'
571 * inf-ttrace.c (inf_ttrace_extra_thread_info): Add 'self'
573 * bsd-uthread.c (bsd_uthread_extra_thread_info): Add 'self'
575 * aix-thread.c (aix_thread_extra_thread_info): Add 'self'
578 2014-02-19 Tom Tromey <tromey@redhat.com>
580 * target.h (struct target_ops) <to_program_signals>: Add argument.
581 * target.c (target_program_signals): Add argument.
582 * remote.c (remote_program_signals): Add 'self' argument.
584 2014-02-19 Tom Tromey <tromey@redhat.com>
586 * target.h (struct target_ops) <to_pass_signals>: Add argument.
587 * target.c (target_pass_signals): Add argument.
588 * remote.c (remote_pass_signals): Add 'self' argument.
589 (remote_start_remote): Update.
590 * procfs.c (procfs_pass_signals): Add 'self' argument.
591 * nto-procfs.c (procfs_pass_signals): Add 'self' argument.
592 * linux-nat.c (linux_nat_pass_signals): Add 'self' argument.
593 (linux_nat_create_inferior, linux_nat_attach): Update.
595 2014-02-19 Tom Tromey <tromey@redhat.com>
597 * windows-nat.c (windows_can_run): Add 'self' argument.
598 * target.h (struct target_ops) <to_can_run>: Add argument.
599 (target_can_run): Add argument.
600 * target.c (debug_to_can_run): Add argument.
601 (update_current_target): Update.
602 * nto-procfs.c (procfs_can_run): Add 'self' argument.
603 * inf-child.c (inf_child_can_run): Add 'self' argument.
604 * go32-nat.c (go32_can_run): Add 'self' argument.
606 2014-02-19 Tom Tromey <tromey@redhat.com>
608 * target.h (struct target_ops) <to_has_exited>: Add argument.
609 (target_has_exited): Add argument.
610 * target.c (debug_to_has_exited): Add argument.
611 (update_current_target): Update.
613 2014-02-19 Tom Tromey <tromey@redhat.com>
615 * target.h (struct target_ops) <to_set_syscall_catchpoint>: Add
617 (target_set_syscall_catchpoint): Add argument.
618 * linux-nat.c (linux_child_set_syscall_catchpoint): Add 'self'
620 * target.c (update_current_target): Update.
622 2014-02-19 Tom Tromey <tromey@redhat.com>
624 * target.h (struct target_ops) <to_remove_exec_catchpoint>: Add
626 (target_remove_exec_catchpoint): Add argument.
627 * target.c (debug_to_remove_exec_catchpoint): Add argument.
628 (update_current_target): Update.
629 * linux-nat.c (linux_child_remove_exec_catchpoint): Add 'self'
632 2014-02-19 Tom Tromey <tromey@redhat.com>
634 * target.h (struct target_ops) <to_insert_exec_catchpoint>: Add
636 (target_insert_exec_catchpoint): Add argument.
637 * target.c (debug_to_insert_exec_catchpoint): Add argument.
638 (update_current_target): Update.
639 * linux-nat.c (linux_child_insert_exec_catchpoint): Add 'self'
642 2014-02-19 Tom Tromey <tromey@redhat.com>
644 * target.h (struct target_ops) <to_remove_vfork_catchpoint>: Add
646 (target_remove_vfork_catchpoint): Add argument.
647 * target.c (debug_to_remove_vfork_catchpoint): Add argument.
648 (update_current_target): Update.
649 * linux-nat.c (linux_child_remove_vfork_catchpoint): Add 'self'
652 2014-02-19 Tom Tromey <tromey@redhat.com>
654 * target.h (struct target_ops) <to_insert_vfork_catchpoint>: Add
656 (target_insert_vfork_catchpoint): Add argument.
657 * target.c (debug_to_insert_vfork_catchpoint): Add argument.
658 (update_current_target): Update.
659 * linux-nat.c (linux_child_insert_vfork_catchpoint): Add 'self'
662 2014-02-19 Tom Tromey <tromey@redhat.com>
664 * target.h (struct target_ops) <to_remove_fork_catchpoint>: Add
666 (target_remove_fork_catchpoint): Add argument.
667 * target.c (debug_to_remove_fork_catchpoint): Add argument.
668 (update_current_target): Update.
669 * linux-nat.c (linux_child_remove_fork_catchpoint): Add 'self'
672 2014-02-19 Tom Tromey <tromey@redhat.com>
674 * target.h (struct target_ops) <to_insert_fork_catchpoint>: Add
676 (target_insert_fork_catchpoint): Add argument.
677 * target.c (debug_to_insert_fork_catchpoint): Add argument.
678 (update_current_target): Update.
679 * linux-nat.c (linux_child_insert_fork_catchpoint): Add 'self'
682 2014-02-19 Tom Tromey <tromey@redhat.com>
684 * target.h (struct target_ops) <to_post_startup_inferior>: Add
686 (target_post_startup_inferior): Add argument.
687 * target.c (debug_to_post_startup_inferior): Add argument.
688 (update_current_target): Update.
689 * spu-linux-nat.c (spu_child_post_startup_inferior): Add 'self'
691 * linux-nat.c (linux_child_post_startup_inferior): Add 'self'
693 * inf-ptrace.c (inf_ptrace_post_startup_inferior): Add 'self'
695 * inf-child.c (inf_child_post_startup_inferior): Add 'self'
697 * i386-linux-nat.c (i386_linux_child_post_startup_inferior): Add
699 (super_post_startup_inferior): Likewise.
700 * amd64-linux-nat.c (amd64_linux_child_post_startup_inferior): Add
702 (super_post_startup_inferior): Likewise.
703 * aarch64-linux-nat.c (aarch64_linux_child_post_startup_inferior):
705 (super_post_startup_inferior): Likewise.
707 2014-02-19 Tom Tromey <tromey@redhat.com>
709 * target.h (struct target_ops) <to_load>: Add argument.
710 * target.c (target_load): Add argument.
711 (debug_to_load): Add argument.
712 (update_current_target): Update.
713 * remote.c (remote_load): Add 'self' argument.
714 * remote-sim.c (gdbsim_load): Add 'self' argument.
715 * remote-mips.c (mips_load): Add 'self' argument.
716 * remote-m32r-sdi.c (m32r_load): Add 'self' argument.
717 * monitor.c (monitor_load): Add 'self' argument.
718 * m32r-rom.c (m32r_load_gen): Add 'self' argument.
720 2014-02-19 Tom Tromey <tromey@redhat.com>
722 * target.h (struct target_ops) <to_terminal_info>: Add argument.
723 (target_terminal_info): Add argument.
724 * target.c (debug_to_terminal_info): Add argument.
725 (default_terminal_info): Likewise.
726 * inflow.c (child_terminal_info): Add 'self' argument.
727 * inferior.h (child_terminal_info): Add 'self' argument.
728 * go32-nat.c (go32_terminal_info): Add 'self' argument.
730 2014-02-19 Tom Tromey <tromey@redhat.com>
732 * target.h (struct target_ops) <to_terminal_save_ours>: Add
734 (target_terminal_save_ours): Add argument.
735 * target.c (debug_to_terminal_save_ours): Add argument.
736 (update_current_target): Update.
737 * inflow.c (terminal_save_ours): Add 'self' argument.
738 * inferior.h (terminal_save_ours): Add 'self' argument.
740 2014-02-19 Tom Tromey <tromey@redhat.com>
742 * target.h (struct target_ops) <to_terminal_ours>: Add argument.
743 (target_terminal_ours): Add argument.
744 * target.c (debug_to_terminal_ours): Add argument.
745 (update_current_target): Update.
746 * remote.c (remote_terminal_ours): Add 'self' argument.
747 (remote_close): Update.
748 * linux-nat.c (linux_nat_terminal_ours): Add 'self' argument.
749 * inflow.c (terminal_ours): Add 'self' argument.
750 * inferior.h (terminal_ours): Add 'self' argument.
751 * go32-nat.c (go32_terminal_ours): Add 'self' argument.
753 2014-02-19 Pedro Alves <palves@redhat.com>
754 Tom Tromey <tromey@redhat.com>
756 * target.h (struct target_ops) <to_terminal_ours_for_output>: Add
758 (target_terminal_ours_for_output): Add argument.
759 * target.c (debug_to_terminal_ours_for_output): Add argument.
760 (update_current_target): Update.
761 * inflow.c (terminal_ours_for_output): Add 'self' argument.
762 * inferior.h (terminal_ours_for_output): Add 'self' argument.
763 * go32-nat.c (go32_terminal_ours): Add 'self' argument.
765 2014-02-19 Tom Tromey <tromey@redhat.com>
767 * target.h (struct target_ops) <to_terminal_inferior>: Add
769 * target.c (target_terminal_inferior): Add argument.
770 (update_current_target): Update.
771 * remote.c (remote_terminal_inferior): Add 'self' argument.
772 * linux-nat.c (linux_nat_terminal_inferior): Add 'self' argument.
773 * inflow.c (terminal_inferior): Add 'self' argument.
774 * inferior.h (terminal_inferior): Add 'self' argument.
775 * go32-nat.c (go32_terminal_inferior): Add 'self' argument.
776 (go32_terminal_inferior): Add 'self' argument.
778 2014-02-19 Tom Tromey <tromey@redhat.com>
780 * target.h (struct target_ops) <to_terminal_init>: Add argument.
781 (target_terminal_init): Add argument.
782 * target.c (debug_to_terminal_init): Add argument.
783 (update_current_target): Update.
784 * inflow.c (terminal_init_inferior): Add 'self' argument.
785 * inferior.h (terminal_init_inferior): Add 'self' argument.
786 * go32-nat.c (go32_terminal_init): Add 'self' argument.
787 * gnu-nat.c (gnu_terminal_init_inferior): Add 'self' argument.
789 2014-02-19 Tom Tromey <tromey@redhat.com>
791 * target.h (struct target_ops)
792 <to_can_accel_watchpoint_condition>: Add argument.
793 (target_can_accel_watchpoint_condition): Add argument.
794 * target.c (debug_to_can_accel_watchpoint_condition): Add
796 (update_current_target): Update.
797 * ppc-linux-nat.c (ppc_linux_can_accel_watchpoint_condition): Add
800 2014-02-19 Tom Tromey <tromey@redhat.com>
802 * target.h (struct target_ops) <to_region_ok_for_hw_watchpoint>:
804 (target_region_ok_for_hw_watchpoint): Add argument.
805 * target.c (debug_to_region_ok_for_hw_watchpoint): Add argument.
806 (default_region_ok_for_hw_watchpoint): Add argument.
807 * spu-multiarch.c (spu_region_ok_for_hw_watchpoint): Add argument.
808 * s390-linux-nat.c (s390_region_ok_for_hw_watchpoint): Add 'self'
810 * remote.c (remote_region_ok_for_hw_watchpoint): Add 'self'
812 * procfs.c (procfs_region_ok_for_hw_watchpoint): Add 'self'
814 * ppc-linux-nat.c (ppc_linux_region_ok_for_hw_watchpoint): Add
816 * mips-linux-nat.c (mips_linux_region_ok_for_hw_watchpoint): Add
818 * inf-ttrace.c (inf_ttrace_region_ok_for_hw_watchpoint): Add
820 * i386-nat.c (i386_region_ok_for_watchpoint): Add 'self' argument.
821 * arm-linux-nat.c (arm_linux_region_ok_for_hw_watchpoint): Add
823 * aarch64-linux-nat.c (aarch64_linux_region_ok_for_hw_watchpoint):
826 2014-02-19 Tom Tromey <tromey@redhat.com>
828 * target.h (struct target_ops) <to_insert_watchpoint>: Add
830 (target_insert_watchpoint): Add argument.
831 * target.c (debug_to_insert_watchpoint): Add argument.
832 (update_current_target): Update.
833 * s390-linux-nat.c (s390_insert_watchpoint): Add 'self' argument.
834 * remote.c (remote_insert_watchpoint): Add 'self' argument.
835 * remote-mips.c (mips_insert_watchpoint): Add 'self' argument.
836 * remote-m32r-sdi.c (m32r_insert_watchpoint): Add 'self' argument.
837 * procfs.c (procfs_insert_watchpoint): Add 'self' argument.
838 * ppc-linux-nat.c (ppc_linux_insert_watchpoint): Add 'self'
840 * nto-procfs.c (procfs_insert_hw_watchpoint): Add 'self' argument.
841 (procfs_insert_hw_watchpoint): Add 'self' argument.
842 * mips-linux-nat.c (mips_linux_insert_watchpoint): Add 'self'
844 * inf-ttrace.c (inf_ttrace_insert_watchpoint): Add 'self'
846 * ia64-linux-nat.c (ia64_linux_insert_watchpoint): Add 'self'
848 * i386-nat.c (i386_insert_watchpoint): Add 'self' argument.
849 * arm-linux-nat.c (arm_linux_insert_watchpoint): Add 'self'
851 * aarch64-linux-nat.c (aarch64_linux_insert_watchpoint): Add
854 2014-02-19 Tom Tromey <tromey@redhat.com>
856 * target.h (struct target_ops) <to_remove_watchpoint>: Add
858 (target_remove_watchpoint): Add argument.
859 * target.c (debug_to_remove_watchpoint): Add argument.
860 (update_current_target): Update.
861 * s390-linux-nat.c (s390_remove_watchpoint): Add 'self' argument.
862 * remote.c (remote_remove_watchpoint): Add 'self' argument.
863 * remote-mips.c (mips_remove_watchpoint): Add 'self' argument.
864 * remote-m32r-sdi.c (m32r_remove_watchpoint): Add 'self' argument.
865 * procfs.c (procfs_remove_watchpoint): Add 'self' argument.
866 * ppc-linux-nat.c (ppc_linux_remove_watchpoint): Add 'self'
868 * nto-procfs.c (procfs_remove_hw_watchpoint): Add 'self' argument.
869 * mips-linux-nat.c (mips_linux_remove_watchpoint): Add 'self'
871 * inf-ttrace.c (inf_ttrace_remove_watchpoint): Add 'self'
873 * ia64-linux-nat.c (ia64_linux_remove_watchpoint): Add 'self'
875 * i386-nat.c (i386_remove_watchpoint): Add 'self' argument.
876 * arm-linux-nat.c (arm_linux_remove_watchpoint): Add 'self'
878 * aarch64-linux-nat.c (aarch64_linux_remove_watchpoint): Add
881 2014-02-19 Tom Tromey <tromey@redhat.com>
883 * target.h (struct target_ops) <to_remove_hw_breakpoint>: Add
885 (target_remove_hw_breakpoint): Add argument.
886 * target.c (debug_to_remove_hw_breakpoint): Add argument.
887 (update_current_target): Update.
888 * remote.c (remote_remove_hw_breakpoint): Add 'self' argument.
889 * ppc-linux-nat.c (ppc_linux_remove_hw_breakpoint): Add 'self'
891 * i386-nat.c (i386_remove_hw_breakpoint): Add 'self' argument.
892 * arm-linux-nat.c (arm_linux_remove_hw_breakpoint): Add 'self'
894 * aarch64-linux-nat.c (aarch64_linux_remove_hw_breakpoint): Add
897 2014-02-19 Tom Tromey <tromey@redhat.com>
899 * target.h (struct target_ops) <to_insert_hw_breakpoint>: Add
901 (target_insert_hw_breakpoint): Add argument.
902 * target.c (debug_to_insert_hw_breakpoint): Add argument.
903 (update_current_target): Update.
904 * remote.c (remote_insert_hw_breakpoint): Add 'self' argument.
905 * ppc-linux-nat.c (ppc_linux_insert_hw_breakpoint): Add 'self'
907 * nto-procfs.c (procfs_insert_hw_breakpoint): Add 'self' argument.
908 * i386-nat.c (i386_insert_hw_breakpoint): Add 'self' argument.
909 * arm-linux-nat.c (arm_linux_insert_hw_breakpoint): Add 'self'
911 * aarch64-linux-nat.c (aarch64_linux_insert_hw_breakpoint): Add
914 2014-02-19 Tom Tromey <tromey@redhat.com>
916 * target.h (struct target_ops) <to_can_use_hw_breakpoint>: Add
918 (target_can_use_hardware_watchpoint): Add argument.
919 * target.c (debug_to_can_use_hw_breakpoint): Add argument.
920 (update_current_target): Update.
921 * spu-linux-nat.c (spu_can_use_hw_breakpoint): Add 'self'
923 * s390-linux-nat.c (s390_can_use_hw_breakpoint): Add 'self'
925 * remote.c (remote_check_watch_resources): Add 'self' argument.
926 * remote-mips.c (mips_can_use_watchpoint): Add 'self' argument.
927 * remote-m32r-sdi.c (m32r_can_use_hw_watchpoint): Add 'self'
929 * procfs.c (procfs_can_use_hw_breakpoint): Add 'self' argument.
930 * ppc-linux-nat.c (ppc_linux_can_use_hw_breakpoint): Add 'self'
932 * nto-procfs.c (procfs_can_use_hw_breakpoint): Add 'self'
934 * mips-linux-nat.c (mips_linux_can_use_hw_breakpoint): Add 'self'
936 * inf-ttrace.c (inf_ttrace_can_use_hw_breakpoint): Add 'self'
938 * ia64-linux-nat.c (ia64_linux_can_use_hw_breakpoint): Add 'self'
940 * ia64-hpux-nat.c (ia64_hpux_can_use_hw_breakpoint): Add 'self'
942 * i386-nat.c (i386_can_use_hw_breakpoint): Add 'self' argument.
943 * arm-linux-nat.c (arm_linux_can_use_hw_breakpoint): Add 'self'
945 * aarch64-linux-nat.c (aarch64_linux_can_use_hw_breakpoint): Add
948 2014-02-19 Tom Tromey <tromey@redhat.com>
950 * target.h (struct target_ops) <to_post_attach>: Add argument.
951 (target_post_attach): Add argument.
952 * target.c (debug_to_post_attach): Add argument.
953 (update_current_target): Update.
954 * spu-linux-nat.c (spu_child_post_attach): Add 'self' argument.
955 * nto-procfs.c (procfs_post_attach): Add 'self' argument.
956 * linux-nat.c (linux_child_post_attach): Add 'self' argument.
957 * inf-ptrace.c (inf_ptrace_post_attach): Add 'self' argument.
958 * inf-child.c (inf_child_post_attach): Add 'self' argument.
960 2014-02-19 Tom Tromey <tromey@redhat.com>
962 * windows-nat.c (windows_close): Add 'self' argument.
963 * tracepoint.c (tfile_close): Add 'self' argument.
964 * target.h (struct target_ops) <to_close>: Add argument.
965 * target.c (target_close): Add argument.
966 (update_current_target): Update.
967 * remote.c (remote_close): Add 'self' argument.
968 * remote-sim.c (gdbsim_close): Add 'self' argument.
969 * remote-mips.c (mips_close): Add 'self' argument.
970 * remote-m32r-sdi.c (m32r_close): Add 'self' argument.
971 * record-full.c (record_full_close): Add 'self' argument.
972 * record-btrace.c (record_btrace_close): Add 'self' argument.
973 * monitor.h (monitor_close): Add 'self' argument.
974 * monitor.c (monitor_close): Add 'self' argument.
975 * mips-linux-nat.c (mips_linux_close): Add 'self' argument.
976 * linux-nat.c (linux_nat_close): Add argument.
977 * go32-nat.c (go32_close): Add 'self' argument.
978 * exec.c (exec_close_1): Add 'self' argument.
979 * ctf.c (ctf_close): Add 'self' argument.
980 * corelow.c (core_close): Add 'self' argument.
981 (core_close_cleanup): Update.
982 * bsd-uthread.c (bsd_uthread_close): Add 'self' argument.
983 * bsd-kvm.c (bsd_kvm_close): Add 'self' argument.
985 2014-02-19 Tom Tromey <tromey@redhat.com>
987 * remote.c (remote_load): New function.
988 (init_remote_ops): Use it.
990 2014-02-19 Tom Tromey <tromey@redhat.com>
992 * common/linux-btrace.c (linux_supports_btrace): Add "ops"
994 * common/linux-btrace.h (linux_supports_btrace): Update.
995 * remote.c (remote_supports_btrace): Add "self" argument.
996 * target-delegates.c: Rebuild.
997 * target.c (target_supports_btrace): Remove.
998 * target.h (struct target_ops) <to_supports_btrace>: Add
1000 (target_supports_btrace): New define.
1002 2014-02-19 Tom Tromey <tromey@redhat.com>
1004 * record-full.c (record_full_beneath_to_resume_ops)
1005 (record_full_beneath_to_resume, record_full_beneath_to_wait_ops)
1006 (record_full_beneath_to_wait)
1007 (record_full_beneath_to_store_registers_ops)
1008 (record_full_beneath_to_store_registers)
1009 (record_full_beneath_to_xfer_partial_ops)
1010 (record_full_beneath_to_xfer_partial)
1011 (record_full_beneath_to_insert_breakpoint_ops)
1012 (record_full_beneath_to_insert_breakpoint)
1013 (record_full_beneath_to_remove_breakpoint_ops)
1014 (record_full_beneath_to_remove_breakpoint)
1015 (record_full_beneath_to_stopped_by_watchpoint)
1016 (record_full_beneath_to_stopped_data_address)
1017 (record_full_beneath_to_async, tmp_to_resume_ops, tmp_to_resume)
1018 (tmp_to_wait_ops, tmp_to_wait, tmp_to_store_registers_ops)
1019 (tmp_to_store_registers, tmp_to_xfer_partial_ops)
1020 (tmp_to_xfer_partial, tmp_to_instmp_to_insert_breakpoint_ops)
1021 (tmp_to_insert_breakpoint, tmp_to_remove_breakpoint_ops)
1022 (tmp_to_remove_breakpoint, tmp_to_stopped_by_watchpoint)
1023 (tmp_to_stopped_data_address, tmp_to_async): Remove.
1024 (record_full_open_1, record_full_open): Update. Use RECORD_IS_USED.
1025 (record_full_resume, record_full_wait_1)
1026 (record_full_stopped_by_watchpoint, record_full_stopped_data_address)
1027 (record_full_store_registers, record_full_xfer_partial)
1028 (record_full_insert_breakpoint, record_full_remove_breakpoint)
1029 (record_full_async, record_full_core_xfer_partial): Use target
1031 * target-delegates.c: Rebuild.
1032 * target.c (current_xfer_partial): Remove.
1033 (update_current_target): Do not INHERIT or de_fault
1034 to_insert_breakpoint, to_remove_breakpoint,
1035 to_stopped_data_address, to_stopped_by_watchpoint, to_can_async_p,
1036 to_is_async_p, to_async. Do not set to_xfer_partial field.
1037 (default_xfer_partial): Simplify.
1038 (current_xfer_partial): Remove.
1039 (target_wait, target_resume): Simplify.
1040 (find_default_can_async_p, find_default_is_async_p): Update.
1041 (init_dummy_target): Don't set to_can_async_p, to_is_async_p,
1042 to_xfer_partial, to_stopped_by_watchpoint,
1043 to_stopped_data_address.
1044 (target_store_registers): Simplify.
1045 (forward_target_remove_breakpoint)
1046 (forward_target_insert_breakpoint): Remove.
1047 (target_remove_breakpoint, target_insert_breakpoint)
1048 (debug_to_insert_breakpoint, debug_to_remove_breakpoint): Update.
1049 * target.h (struct target_ops) <to_resume, to_wait,
1050 to_store_registers, to_insert_breakpoint, to_remove_breakpoint,
1051 to_stopped_by_watchpoint, to_stopped_data_address, to_can_async_p,
1052 to_is_async_p, to_async, to_xfer_partial>: Add TARGET_DEFAULT
1054 (forward_target_remove_breakpoint)
1055 (forward_target_insert_breakpoint): Remove.
1056 * record-btrace.c (record_btrace_remove_breakpoint): Delegate
1058 (record_btrace_insert_breakpoint): Delegate directly.
1060 2014-02-19 Tom Tromey <tromey@redhat.com>
1063 * target-delegates.c: New file.
1064 * target.c: Include target-delegates.c.
1065 (init_dummy_target): Call install_dummy_methods.
1066 (complete_target_initialization): Call install_delegators.
1067 * target.h (TARGET_DEFAULT_IGNORE, TARGET_DEFAULT_NORETURN)
1068 (TARGET_DEFAULT_RETURN, TARGET_DEFAULT_FUNC): New defines.
1069 * make-target-delegates: New file.
1071 2014-02-19 Tom Tromey <tromey@redhat.com>
1073 * record.c (find_record_target): Use find_target_at.
1074 * target.c (find_target_at): New function.
1075 * target.h (find_target_at): Declare.
1077 2014-02-19 Tom Tromey <tromey@redhat.com>
1079 * aarch64-linux-nat.c (aarch64_linux_stopped_by_watchpoint):
1081 * arm-linux-nat.c (arm_linux_stopped_by_watchpoint): Add
1083 * i386-nat.c (i386_stopped_by_watchpoint): Add 'ops' argument.
1084 * ia64-linux-nat.c (ia64_linux_stopped_by_watchpoint): Add
1086 * inf-ttrace.c (inf_ttrace_stopped_by_watchpoint): Add 'ops'
1088 * linux-nat.c (save_sigtrap): Update.
1089 (linux_nat_stopped_by_watchpoint, linux_nat_is_async_p)
1090 (linux_nat_can_async_p, linux_nat_async): Add 'ops' argument.
1091 (linux_nat_close): Update.
1092 * mips-linux-nat.c (mips_linux_stopped_by_watchpoint): Add 'ops'
1094 * ppc-linux-nat.c (ppc_linux_stopped_by_watchpoint): Add 'ops'
1096 * procfs.c (procfs_stopped_by_watchpoint): Add 'ops' argument.
1097 * record-full.c (record_full_beneath_to_stopped_by_watchpoint)
1098 (record_full_beneath_to_async, tmp_to_stopped_by_watchpoint)
1099 (tmp_to_async): Add 'ops' argument.
1100 (record_full_stopped_by_watchpoint, record_full_async)
1101 (record_full_can_async_p, record_full_is_async_p): Add 'ops'
1103 * remote-m32r-sdi.c (m32r_insert_breakpoint, m32r_remove_breakpoint)
1104 (m32r_stopped_by_watchpoint): Add 'ops' argument.
1105 * remote-mips.c (mips_stopped_by_watchpoint): Add 'ops' argument.
1106 * remote.c (remote_stopped_by_watchpoint_p, remote_can_async_p)
1107 (remote_is_async_p, remote_async): Add 'ops' argument.
1108 (remote_stopped_data_address): Update.
1109 * s390-nat.c (s390_stopped_by_watchpoint): Add 'ops' argument.
1110 * target.c (update_current_target)
1111 (find_default_can_async_p, find_default_is_async_p): Update.
1112 (init_dummy_target): Update.
1113 (debug_to_stopped_by_watchpoint): Add 'ops' argument.
1114 * target.h (struct target_ops) <to_stopped_by_watchpoint,
1115 to_can_async_p, to_is_async_p, to_async>: Add 'ops' argument.
1116 (target_can_async_p, target_is_async_p, target_async)
1117 (target_stopped_by_watchpoint): Update.
1119 2014-02-19 Yao Qi <yao@codesourcery.com>
1122 * gdbarch.sh: Remove startup_gdbarch.
1123 * gdbarch.c: Regenerated.
1124 * gdbarch.h: Likewise.
1126 2014-02-17 Kevin Buettner <kevinb@redhat.com>
1128 * rl78-tdep.c (rl78_g10_register_name): New function.
1129 (rl78_return_value): Add g10 support.
1130 (rl78_gdbarch_init): Register rl78_g10_register_name for the
1133 2014-02-17 Doug Evans <xdje42@gmail.com>
1135 * Makefile.in (SUBDIR_GUILE_OBS): Resort alphabetically.
1136 (SUBDIR_GUILE_SRCS): Ditto.
1137 (scm-gsmob.o): Ditto.
1139 2014-02-17 Yao Qi <yao@codesourcery.com>
1141 * gnu-nat.c (ILL_RPC): Declare defined function.
1143 2014-02-17 Yao Qi <yao@codesourcery.com>
1145 * gnu-nat.c (gnu_read_inferior): Change 'copy_count' type to
1146 mach_msg_type_number_t.
1147 (gnu_write_inferior): Likewise.
1149 2014-02-17 Yao Qi <yao@codesourcery.com>
1151 * gnu-nat.c (proc_get_exception_port): Use 'lu' insetad of 'd'
1153 (proc_steal_exc_port, make_proc, inf_set_pid): Likewise.
1154 (inf_validate_procs, inf_signal): Likewise.
1155 (S_exception_raise_request): Likewise.
1156 (do_mach_notify_dead_name): Likewise.
1157 (steal_exc_port): Likewise.
1158 (gnu_read_inferior): Change 'copy_count''s type to
1159 mach_msg_type_number_t.
1160 (gnu_write_inferior): Likewise. Use 'lx' instead of 'x' in
1163 2014-02-16 Thomas Schwinge <thomas@codesourcery.com>
1165 * gnu-nat.c (struct inf): Change pending_execs member to a 1-bit
1166 flag. Adjust all users; in particular...
1167 (gnu_wait): ..., don't decrement its value in here...
1168 (gnu_create_inferior): ..., and instead set the flag in here,
1169 around the startup_inferior call, and call that one with
1170 START_INFERIOR_TRAPS_EXPECTED.
1172 * gnu-nat.c (ill_rpc): Remove function; replaced with this...
1173 (ILL_RPC): ... new macro.
1174 (do_mach_notify_no_senders, do_mach_notify_port_deleted)
1175 (do_mach_notify_msg_accepted, do_mach_notify_port_destroyed)
1176 (do_mach_notify_send_once, S_proc_setmsgport_reply)
1177 (S_proc_getmsgport_reply, S_msg_sig_post_reply): Generate stub
1178 functions with ILL_RPC macro.
1179 (S_proc_pid2task_reply, S_proc_task2pid_reply)
1180 (S_proc_task2proc_reply, S_proc_proc2task_reply)
1181 (S_proc_pid2proc_reply, S_proc_getprocinfo_reply)
1182 (S_proc_getprocargs_reply, S_proc_getprocenv_reply)
1183 (S_proc_getloginid_reply, S_proc_getloginpids_reply)
1184 (S_proc_getlogin_reply, S_proc_getsid_reply)
1185 (S_proc_getsessionpgids_reply, S_proc_getsessionpids_reply)
1186 (S_proc_getsidport_reply, S_proc_getpgrp_reply)
1187 (S_proc_getpgrppids_reply, S_proc_get_tty_reply)
1188 (S_proc_getnports_reply, S_proc_is_important_reply)
1189 (S_proc_get_code_reply): New stub functions, generated with
1192 * reply_mig_hack.awk: In phase 5, keep going if we have not yet
1193 collected the type check structures.
1195 * reply_mig_hack.awk: Don't expect to see the auto keyword.
1197 2014-02-14 Doug Evans <dje@google.com>
1199 * target.c (target_write_partial): Fix result type.
1201 2014-02-14 Jose E. Marchesi <jose.marchesi@oracle.com>
1203 * sparc64-linux-nat.c (_initialize_sparc64_linux_nat): Register
1204 the proper offsets to access fpregset_t.
1206 2014-02-13 Sanimir Agovic <sanimir.agovic@intel.com>
1208 * cris-tdep.c (cris_supply_gregset): Remove zerobuf.
1209 (_initialize_cris_tdep): Remove cris_set_cmdlist, cris_show_cmdlist.
1210 * h8300-tdep.c (setmachinelist): Remove global.
1211 * hppa-tdep.c (hppa_sigtramp): Remove global.
1212 * mipsnbsd-tdep.c (sigtramp_retcode_mipsel, sigtramp_retcode_mipseb
1213 RETCODE_NWORDS, RETCODE_SIZE): Wrap code with #if 0.
1214 * ravenscar-thread.c (update_target_observer): Remove global.
1215 * rs6000-tdep.c (rs6000_gdbarch_init): Remove segment_regs.
1217 2014-02-12 Tom Tromey <tromey@redhat.com>
1219 * common/rsp-low.c: Update comments.
1220 * common/rsp-low.h: Update comments.
1222 2014-02-12 Tom Tromey <tromey@redhat.com>
1224 * common/rsp-low.c (convert_ascii_to_int): Remove.
1225 * common/rsp-low.h (convert_ascii_to_int): Don't declare.
1227 2014-02-12 Tom Tromey <tromey@redhat.com>
1229 * common/rsp-low.h (unhexify): Don't declare.
1230 * common/rsp-low.c (unhexify): Remove.
1232 2014-02-12 Tom Tromey <tromey@redhat.com>
1234 * common/rsp-low.h (convert_int_to_ascii): Don't declare.
1235 * common/rsp-low.c (convert_int_to_ascii): Remove.
1237 2014-02-12 Tom Tromey <tromey@redhat.com>
1239 * common/rsp-low.h (hexify): Don't declare.
1240 * common/rsp-low.c (hexify): Remove.
1242 2014-02-12 Tom Tromey <tromey@redhat.com>
1244 * common/rsp-low.c (hexify): Never take strlen of argument.
1246 2014-02-12 Tom Tromey <tromey@redhat.com>
1248 * common/rsp-low.c (bin2hex): Never take strlen of argument.
1249 * remote.c (extended_remote_run, remote_rcmd)
1250 (remote_download_trace_state_variable, remote_save_trace_data)
1251 (remote_set_trace_notes): Update.
1252 * tracepoint.c (encode_source_string, tfile_write_status)
1253 (tfile_write_uploaded_tsv): Update.
1255 2014-02-12 Tom Tromey <tromey@redhat.com>
1257 * tracepoint.c: Include rsp-low.h.
1258 * remote.h (hex2bin, bin2hex, unpack_varlen_hex): Don't declare.
1259 * remote.c: Include rsp-low.h.
1260 (hexchars, ishex, unpack_varlen_hex, pack_nibble, pack_hex_byte)
1261 (fromhex, hex2bin, tohex, bin2hex, remote_escape_output)
1262 (remote_unescape_input): Move to common/rsp-low.c.
1263 * common/rsp-low.h: New file.
1264 * common/rsp-low.c: New file.
1265 * Makefile.in (SFILES): Add common/rsp-low.c.
1266 (HFILES_NO_SRCDIR): Add common/rsp-low.h.
1267 (COMMON_OBS): Add rsp-low.o.
1268 (rsp-low.o): New target.
1270 2014-02-12 Tom Tromey <tromey@redhat.com>
1272 * utils.h: Include print-utils.h.
1273 (host_address_to_string, plongest, pulongest, phex, phex_nz)
1274 (int_string, core_addr_to_string, core_addr_to_string_nz)
1275 (hex_string, hex_string_custom): Don't declare.
1276 * utils.c (NUMCELLS, CELLSIZE, get_cell, decimal2str, pulongest)
1277 (plongest, thirty_two, phex, phex_nz, octal2str, hex_string)
1278 (hex_string_custom, int_string, core_addr_to_string)
1279 (core_addr_to_string_nz, host_address_to_string): Move to
1280 common/print-utils.c.
1281 * common/print-utils.h: New file.
1282 * common/print-utils.c: New file
1283 * Makefile.in (SFILES): Add common/print-utils.c.
1284 (HFILES_NO_SRCDIR): Add common/print-utils.h.
1285 (COMMON_OBS): Add print-utils.o.
1286 (print-utils.o): New target.
1288 2014-02-12 Tom Tromey <tromey@redhat.com>
1290 * nios2-tdep.c (nios2_stub_frame_base_address): Remove.
1292 2014-02-12 Mark Kettenis <kettenis@gnu.org>
1294 * sparc64obsd-tdep.c (sparc64obsd_init_abi): Call obsd_init_abi.
1296 2014-02-12 Mark Kettenis <kettenis@gnu.org>
1298 * inf-ptrace.c (inf_ptrace_xfer_partial): Return TARGET_XFER_EOF
1299 if a PT_IO ptrace request returns sucessfully but indicates that 0
1300 bytes were transferred.
1302 2014-02-12 Pedro Alves <palves@redhat.com>
1303 Kevin Buettner <kevinb@redhat.com>
1305 * gnu-v3-abi.c (build_gdb_vtable_type): Return a type marked with
1306 TYPE_INSTANCE_FLAG_CODE_SPACE.
1308 2014-02-12 Pedro Alves <palves@redhat.com>
1310 * h8300-tdep.c (pseudo_from_raw_register)
1311 (raw_from_pseudo_register): New functions.
1312 (h8300_pseudo_register_read, h8300_pseudo_register_write): Use
1315 2014-02-12 Pedro Alves <palves@redhat.com>
1317 * h8300-tdep.c (h8300_register_sim_regno): New function.
1318 (h8300_gdbarch_init): Install h8300_register_sim_regno as
1319 gdbarch_register_sim_regno hook.
1321 2014-02-12 Sanimir Agovic <sanimir.agovic@intel.com>
1323 * nios2-tdep.c (nios2_stub_frame_base): Remove global.
1325 2014-02-12 Sanimir Agovic <sanimir.agovic@intel.com>
1327 * tic6x-tdep.c (tic6x_gdbarch_init): Call frame_base_set_default.
1329 2014-02-12 Mark Kettenis <kettenis@gnu.org>
1331 * obsd-tdep.h (obsd_init_abi): New prototype.
1332 * obsd-tdep.c: Define enum with OpenBSD signal numbers.
1333 (obsd_gdb_signal_from_target, obsd_gdb_signal_to_target)
1334 (obsd_init_abi): New functions.
1335 * i386obsd-tdep.c: Include "obsd-tdep.h".
1336 (i386obsd_init_abi): Call obsd_init_abi.
1337 * amd64obsd-tdep.c: Include "obsd-tdep.h".
1338 (amd64obsd_init_abi): Call obsd_init_abi.
1339 * configure.tgt (i[34567]86-*-openbsd*, x86_64-*-openbsd*): Add
1340 obsd-tdep.c to gdb_target_obs.
1342 2014-02-11 Jose E. Marchesi <jose.marchesi@oracle.com>
1344 * sparc64-tdep.c (sparc64_store_arguments): Do not align complex
1345 double float arguments to 16-byte in the argument slots.
1347 2014-02-11 Doug Evans <xdje42@gmail.com>
1349 * configure.ac: Don't crash if pkg-config is not found and guile
1350 wasn't explicitly requested. Use AC_MSG_ERROR instead of AC_ERROR
1352 * configure: Regenerate.
1354 2014-02-11 Yao Qi <yao@codesourcery.com>
1356 * aix-thread.c (aix_thread_xfer_partial): Update comments.
1357 * auxv.c (procfs_xfer_auxv, memory_xfer_auxv): Likewise.
1358 * bsd-uthread.c (bsd_uthread_xfer_partial): Likewise.
1359 * gnu-nat.c (gnu_xfer_memory): Likewise.
1360 * inf-ptrace.c (inf_ptrace_xfer_partial): Likewise.
1361 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
1362 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
1363 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise.
1365 2014-02-11 Yao Qi <yao@codesourcery.com>
1367 * target.h (enum target_xfer_error): Rename to ...
1368 (enum target_xfer_status): ... it. New. All users updated.
1369 (enum target_xfer_status) <TARGET_XFER_OK>, <TARGET_XFER_EOF>:
1371 (TARGET_XFER_STATUS_ERROR_P): New macro.
1372 (target_xfer_error_to_string): Remove declaration.
1373 (target_xfer_status_to_string): Declare.
1374 (target_xfer_partial_ftype): Adjust it.
1375 (struct target_ops) <to_xfer_partial>: Return
1376 target_xfer_status. Add argument xfered_len. Update
1378 * target.c (target_xfer_error_to_string): Rename to ...
1379 (target_xfer_status_to_string): ... it. New. All callers
1381 (target_read_live_memory): Likewise. Call target_xfer_partial
1382 instead of target_read.
1383 (memory_xfer_live_readonly_partial): Return
1384 target_xfer_status. Add argument xfered_len.
1385 (raw_memory_xfer_partial): Likewise.
1386 (memory_xfer_partial_1): Likewise.
1387 (memory_xfer_partial): Likewise.
1388 (target_xfer_partial): Likewise. Check *XFERED_LEN is set
1389 properly. Update debug message.
1390 (default_xfer_partial, current_xfer_partial): Likewise.
1391 (target_write_partial): Likewise.
1392 (target_read_partial): Likewise. All callers updated.
1393 (read_whatever_is_readable): Likewise.
1394 (target_write_with_progress): Likewise.
1395 (target_read_alloc_1): Likewise.
1397 * aix-thread.c (aix_thread_xfer_partial): Likewise.
1398 * auxv.c (procfs_xfer_auxv): Likewise.
1399 (ld_so_xfer_auxv, memory_xfer_auxv): Likewise.
1400 * bfd-target.c (target_bfd_xfer_partial): Likewise.
1401 * bsd-kvm.c (bsd_kvm_xfer_partial): Likewise.
1402 * bsd-uthread.c (bsd_uthread_xfer_partia): Likewise.
1403 * corefile.c (read_memory): Adjust.
1404 * corelow.c (core_xfer_partial): Likewise.
1405 * ctf.c (ctf_xfer_partial): Likewise.
1406 * darwin-nat.c (darwin_read_dyld_info): Likewise. All callers
1408 (darwin_xfer_partial): Likewise.
1409 * exec.c (section_table_xfer_memory_partial): Likewise. All
1411 (exec_xfer_partial): Likewise.
1412 * exec.h (section_table_xfer_memory_partial): Update
1414 * gnu-nat.c (gnu_xfer_memory): Likewise. Assert 'res' is not
1416 (gnu_xfer_partial): Likewise.
1417 * ia64-hpux-nat.c (ia64_hpux_xfer_memory_no_bs): Likewise.
1418 (ia64_hpux_xfer_memory, ia64_hpux_xfer_uregs): Likewise.
1419 (ia64_hpux_xfer_solib_got): Likewise.
1420 * inf-ptrace.c (inf_ptrace_xfer_partial): Likewise. Change
1421 type of 'partial_len' to ULONGEST.
1422 * inf-ttrace.c (inf_ttrace_xfer_partial): Likewise.
1423 * linux-nat.c (linux_xfer_siginfo ): Likewise.
1424 (linux_nat_xfer_partial): Likewise.
1425 (linux_proc_xfer_partial, linux_xfer_partial): Likewise.
1426 (linux_proc_xfer_spu, linux_nat_xfer_osdata): Likewise.
1427 * monitor.c (monitor_xfer_memory): Likewise.
1428 (monitor_xfer_partial): Likewise.
1429 * procfs.c (procfs_xfer_partial): Likewise.
1430 * record-btrace.c (record_btrace_xfer_partial): Likewise.
1431 * record-full.c (record_full_xfer_partial): Likewise.
1432 (record_full_core_xfer_partial): Likewise.
1433 * remote-sim.c (gdbsim_xfer_memory): Likewise.
1434 (gdbsim_xfer_partial): Likewise.
1435 * remote.c (remote_write_bytes_aux): Likewise. All callers
1437 (remote_write_bytes, remote_read_bytes): Likewise. All
1439 (remote_flash_erase): Likewise. All callers updated.
1440 (remote_write_qxfer): Likewise. All callers updated.
1441 (remote_read_qxfer): Likewise. All callers updated.
1442 (remote_xfer_partial): Likewise.
1443 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
1444 (rs6000_xfer_shared_libraries): Likewise.
1445 * sol-thread.c (sol_thread_xfer_partial): Likewise.
1446 (sol_thread_xfer_partial): Likewise.
1447 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
1448 (sparc_xfer_partial): Likewise.
1449 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise. All callers
1451 (spu_xfer_partial): Likewise.
1452 * spu-multiarch.c (spu_xfer_partial): Likewise.
1453 * tracepoint.c (tfile_xfer_partial): Likewise.
1454 * windows-nat.c (windows_xfer_memory): Likewise.
1455 (windows_xfer_shared_libraries): Likewise.
1456 (windows_xfer_partial): Likewise.
1457 * valprint.c: Replace 'target_xfer_error' with
1458 'target_xfer_status' in comments.
1460 2014-02-11 Simon Marchi <simon.marchi@ericsson.com> (tiny patch)
1462 Checked in by Joel Brobecker <brobecker@adacore.com>.
1463 * mi/mi-main.c (mi_cmd_data_write_memory_bytes): Fix comment.
1465 2014-02-11 Joel Brobecker <brobecker@adacore.com>
1467 * symfile-debug.c (debug_qf_expand_symtabs_matching): Reformat
1468 function parameters.
1470 2014-02-10 Will Newton <will.newton@linaro.org>
1472 * elfread.c (elf_rel_plt_read): Look for a .got section if
1473 looking up .got.plt fails.
1474 (elf_gnu_ifunc_resolve_by_got): Call gdbarch_addr_bits_remove
1475 on address passed to elf_gnu_ifunc_record_cache.
1476 (elf_gnu_ifunc_resolve_addr): Likewise.
1477 (elf_gnu_ifunc_resolver_return_stop): Likewise.
1479 2014-02-10 Jose E. Marchesi <jose.marchesi@oracle.com>
1481 * sparc-tdep.c (sparc_in_function_epilogue_p): New function.
1482 (X_RETTURN): New macro.
1483 * sparc-tdep.h: sparc_in_function_epilogue_p prototype.
1485 * sparc64-tdep.c (sparc64_init_abi): Hook
1486 sparc_in_function_epilogue_p.
1488 2014-02-10 Gary Benson <gbenson@redhat.com>
1490 * symfile-debug.c (debug_qf_expand_symtabs_matching):
1491 Rename name_matcher to symbol_matcher.
1493 2014-02-10 Gary Benson <gbenson@redhat.com>
1495 * symfile-debug.c (debug_qf_expand_symtabs_matching):
1496 Use expand_symtabs_file_matcher_ftype and
1497 expand_symtabs_symbol_matcher_ftype.
1499 2014-02-10 Joel Brobecker <brobecker@adacore.com>
1501 * ada-lang.c (struct cache_entry, HASH_SIZE): Move definition up.
1502 (struct ada_symbol_cache): New.
1503 (ada_free_symbol_cache): Forward declare.
1504 (struct ada_pspace_data): New.
1505 (ada_pspace_data_handle): New static global.
1506 (get_ada_pspace_data, ada_pspace_data_cleanup)
1507 (ada_init_symbol_cache, ada_free_symbol_cache): New functions.
1508 (cache_space, cache): Delete, now folded inside struct
1510 (ada_get_symbol_cache): New function.
1511 (ada_clear_symbol_cache, find_entry, cache_symbol): Adjust
1513 (_initialize_ada_language): Remove initialization of cache_space.
1514 Move call to observer_attach_inferior_exit up, grouping it
1515 with the other observer registrations inside this function.
1516 Rename command to be more general. Add call to
1517 register_program_space_data_with_cleanup.
1519 2014-02-10 Joel Brobecker <brobecker@adacore.com>
1521 * ada-tasks.c (ada_tasks_new_objfile_observer): Renames
1522 ada_new_objfile_observer.
1523 (ada_tasks_normal_stop_observer): Renames ada_normal_stop_observer.
1524 (_initialize_tasks): Update uses of ada_new_objfile_observer
1525 and ada_tasks_normal_stop_observer.
1527 2014-02-10 Joel Brobecker <brobecker@adacore.com>
1529 * ada-lang.c (ada_evaluate_subexp): Set the type of the value
1530 returned by the 'Length attribute to integer.
1532 2014-02-10 Joel Brobecker <brobecker@adacore.com>
1534 * ada-lang.c (_initialize_ada_language): Initialize
1535 cache_space obstack.
1537 2014-02-10 Joel Brobecker <brobecker@adacore.com>
1539 * ada-lang.c (HASH_SIZE): New macro.
1540 (struct cache_entry): New type.
1541 (cache_space, cache): New static globals.
1542 (ada_clear_symbol_cache, find_entry): New functions.
1543 (lookup_cached_symbol, cache_symbol): Implement.
1544 (ada_new_objfile_observer, ada_free_objfile_observer): New.
1545 (_initialize_ada_language): Attach ada_new_objfile_observer
1546 and ada_free_objfile_observer.
1548 2014-02-10 Joel Brobecker <brobecker@adacore.com>
1550 * ada-lang.c (ada_add_block_symbols, add_defn_to_vec)
1551 (lookup_cached_symbol, ada_add_local_symbols): Add "const" to
1552 struct block * parameter.
1553 (ada_lookup_symbol_list_worker): Constify local variable "block".
1554 Remove cast which is no longer necessary.
1556 2014-02-10 Doug Evans <xdje42@gmail.com>
1558 Add Guile as an extension language.
1559 * NEWS: Mention Guile scripting.
1560 * Makefile.in (SUBDIR_GUILE_OBS): New variable.
1561 (SUBDIR_GUILE_SRCS, SUBDIR_GUILE_DEPS): New variables
1562 (SUBDIR_GUILE_LDFLAGS, SUBDIR_GUILE_CFLAGS): New variables.
1563 (INTERNAL_CPPFLAGS): Add GUILE_CPPFLAGS.
1564 (CLIBS): Add GUILE_LIBS.
1565 (install-guile): New rule.
1566 (guile.o): New rule.
1567 (scm-arch.o, scm-auto-load.o, scm-block.o): New rules.
1568 (scm-breakpoint.o, scm-disasm.o, scm-exception.o): New rules.
1569 (scm-frame.o, scm-iterator.o, scm-lazy-string.o): New rules.
1570 (scm-math.o, scm-objfile.o, scm-ports.o): New rules.
1571 (scm-pretty-print.o, scm-safe-call.o, scm-gsmob.o): New rules.
1572 (scm-string.o, scm-symbol.o, scm-symtab.o): New rules.
1573 (scm-type.o, scm-utils.o, scm-value.o): New rules.
1574 * configure.ac: New option --with-guile.
1575 * configure: Regenerate.
1576 * config.in: Regenerate.
1577 * auto-load.c: Remove #include "python/python.h". Add #include
1578 "gdb/section-scripts.h".
1579 (source_section_scripts): Handle Guile scripts.
1580 (_initialize_auto_load): Add name of Guile objfile script to
1581 scripts-directory help text.
1582 * breakpoint.c (condition_command): Tweak comment to include Scheme.
1583 * breakpoint.h (gdbscm_breakpoint_object): Add forward decl.
1584 (struct breakpoint): New member scm_bp_object.
1585 * defs.h (enum command_control_type): New value guile_control.
1586 * cli/cli-cmds.c: Remove #include "python/python.h". Add #include
1588 (show_user): Update comment.
1589 (_initialize_cli_cmds): Update help text for "show user". Update help
1590 text for max-user-call-depth.
1591 * cli/cli-script.c: Remove #include "python/python.h". Add #include
1593 (multi_line_command_p): Add guile_control.
1594 (print_command_lines): Handle guile_control.
1595 (execute_control_command, recurse_read_control_structure): Ditto.
1596 (process_next_line): Recognize "guile" commands.
1597 * disasm.c (gdb_disassemble_info): Make non-static.
1598 * disasm.h: #include "dis-asm.h".
1599 (struct gdbarch): Add forward decl.
1600 (gdb_disassemble_info): Declare.
1601 * extension.c: #include "guile/guile.h".
1602 (extension_languages): Add guile.
1603 (get_ext_lang_defn): Handle EXT_LANG_GDB.
1604 * extension.h (enum extension_language): New value EXT_LANG_GUILE.
1605 * gdbtypes.c (get_unsigned_type_max): New function.
1606 (get_signed_type_minmax): New function.
1607 * gdbtypes.h (get_unsigned_type_max): Declare.
1608 (get_signed_type_minmax): Declare.
1609 * guile/README: New file.
1610 * guile/guile-internal.h: New file.
1611 * guile/guile.c: New file.
1612 * guile/guile.h: New file.
1613 * guile/scm-arch.c: New file.
1614 * guile/scm-auto-load.c: New file.
1615 * guile/scm-block.c: New file.
1616 * guile/scm-breakpoint.c: New file.
1617 * guile/scm-disasm.c: New file.
1618 * guile/scm-exception.c: New file.
1619 * guile/scm-frame.c: New file.
1620 * guile/scm-gsmob.c: New file.
1621 * guile/scm-iterator.c: New file.
1622 * guile/scm-lazy-string.c: New file.
1623 * guile/scm-math.c: New file.
1624 * guile/scm-objfile.c: New file.
1625 * guile/scm-ports.c: New file.
1626 * guile/scm-pretty-print.c: New file.
1627 * guile/scm-safe-call.c: New file.
1628 * guile/scm-string.c: New file.
1629 * guile/scm-symbol.c: New file.
1630 * guile/scm-symtab.c: New file.
1631 * guile/scm-type.c: New file.
1632 * guile/scm-utils.c: New file.
1633 * guile/scm-value.c: New file.
1634 * guile/lib/gdb.scm: New file.
1635 * guile/lib/gdb/boot.scm: New file.
1636 * guile/lib/gdb/experimental.scm: New file.
1637 * guile/lib/gdb/init.scm: New file.
1638 * guile/lib/gdb/iterator.scm: New file.
1639 * guile/lib/gdb/printing.scm: New file.
1640 * guile/lib/gdb/types.scm: New file.
1641 * data-directory/Makefile.in (GUILE_SRCDIR): New variable.
1642 (VPATH): Add $(GUILE_SRCDIR).
1643 (GUILE_DIR): New variable.
1644 (GUILE_INSTALL_DIR, GUILE_FILES): New variables.
1645 (all): Add stamp-guile dependency.
1646 (stamp-guile): New rule.
1647 (clean-guile, install-guile, uninstall-guile): New rules.
1648 (install-only): Add install-guile dependency.
1649 (uninstall): Add uninstall-guile dependency.
1650 (clean): Add clean-guile dependency.
1652 2014-02-09 Doug Evans <xdje42@gmail.com>
1654 Revert this patch (which I approved, mea culpa).
1656 2014-02-08 Mark Kettenis <kettenis@gnu.org>
1658 * Makefile.in (all-lib): Remove.
1659 ($(LIBGNU) $(GNULIB_H)): Replace with gits of remove all-lib target.
1661 2014-02-09 Jan Kratochvil <jan.kratochvil@redhat.com>
1663 Fix Python stack corruption.
1664 * python/py-linetable.c (ltpy_get_pcs_for_line, ltpy_has_line): Use
1667 2014-02-08 Mark Kettenis <kettenis@gnu.org>
1669 * Makefile.in (all-lib): Remove.
1670 ($(LIBGNU) $(GNULIB_H)): Replace with gits of remove all-lib target.
1672 2014-02-07 Doug Evans <dje@google.com>
1674 * extension-priv.h (extension_language_script_ops): Add comment.
1675 (extension_language_ops): Add comment.
1676 (active_ext_lang_state): Fix typo in comment.
1678 2014-02-07 Pedro Alves <palves@redhat.com>
1680 * infrun.c (handle_signal_stop) <signal arrives while stepping
1681 over a breakpoint>: Switch back to the stepping thread.
1683 2014-02-07 Yao Qi <yao@codesourcery.com>
1685 * target.c (target_xfer_partial): Return zero if LEN is zero.
1687 2014-02-07 Yao Qi <yao@codesourcery.com>
1689 * auxv.c (procfs_xfer_auxv): Replace -1 with TARGET_XFER_E_IO.
1690 (ld_so_xfer_auxv): Likewise.
1691 * bfd-target.c (target_bfd_xfer_partial): Likewise.
1692 * bsd-kvm.c (bsd_kvm_xfer_partial): Likewise.
1693 * corelow.c (core_xfer_partial): Likewise.
1694 * ctf.c (ctf_xfer_partial): Likewise.
1695 * darwin-nat.c (darwin_read_dyld_info): Likewise.
1696 (darwin_xfer_partial): Likewise.
1697 * exec.c (exec_xfer_partial): Likewise.
1698 * gnu-nat.c (gnu_xfer_partial): Likewise.
1699 * ia64-hpux-nat.c (ia64_hpux_xfer_uregs): Likewise.
1700 * inf-ptrace.c (inf_ptrace_xfer_partial): Likewise.
1701 * inf-ttrace.c (inf_ttrace_xfer_partial): Likewise.
1702 * linux-nat.c (linux_xfer_siginfo): Likewise.
1703 (linux_proc_xfer_spu): Likewise.
1704 * procfs.c (procfs_xfer_partial): Likewise.
1705 * record-full.c (record_full_xfer_partial): Likewise.
1706 (record_full_core_xfer_partial): Likewise.
1707 * remote-sim.c (gdbsim_xfer_partial): Likewise.
1708 * remote.c (remote_write_qxfer): Likewise.
1709 (remote_write_qxfer, remote_read_qxfer): Likewise.
1710 (remote_xfer_partial): Likewise.
1711 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
1712 (rs6000_xfer_shared_libraries): Likewise.
1713 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
1714 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise.
1715 (spu_xfer_partial): Likewise.
1716 * target.c (memory_xfer_partial_1): Likewise.
1717 * tracepoint.c (tfile_xfer_partial): Likewise.
1718 * windows-nat.c (windows_xfer_shared_libraries): Likewise.
1719 (windows_xfer_partial): Likewise.
1721 2014-02-07 Yao Qi <yao@codesourcery.com>
1723 * gdbarch.sh (core_xfer_shared_libraries): Returns ULONGEST. Add
1725 (core_xfer_shared_libraries_aix): Likewise.
1726 * gdbarch.c, gdbarch.h: Regenerated.
1727 * i386-cygwin-tdep.c (windows_core_xfer_shared_libraries): Return
1728 ULONGEST. Change 'len_avail' type to ULONGEST.
1729 * rs6000-aix-tdep.c (rs6000_aix_ld_info_to_xml): Likewise.
1730 * rs6000-aix-tdep.h (rs6000_aix_ld_info_to_xml): Update
1732 (rs6000_aix_core_xfer_shared_libraries_aix): Return ULONGEST.
1734 2014-02-07 Yao Qi <yao@codesourcery.com>
1736 * corefile.c (memory_error): Get 'exception' from ERR and pass
1737 'exception' to throw_error.
1739 2014-02-06 Doug Evans <xdje42@gmail.com>
1741 * configure.ac (libpython checking): Remove all but python.o from
1742 CONFIG_OBS. Remove all but python.c from CONFIG_SRCS.
1743 * configure: Regenerate.
1745 * Makefile.in (SFILES): Add extension.c.
1746 (HFILES_NO_SRCDIR): Add extension.h, extension-priv.h
1747 (COMMON_OBS): Add extension.o.
1748 * extension.h: New file.
1749 * extension-priv.h: New file.
1750 * extension.c: New file.
1752 * python/python-internal.h: #include "extension.h".
1753 (gdbpy_auto_load_enabled): Declare.
1754 (gdbpy_apply_val_pretty_printer): Declare.
1755 (gdbpy_apply_frame_filter): Declare.
1756 (gdbpy_preserve_values): Declare.
1757 (gdbpy_breakpoint_cond_says_stop): Declare.
1758 (gdbpy_breakpoint_has_cond): Declare.
1759 (void source_python_script_for_objfile): Delete.
1760 * python/python.c: #include "extension-priv.h".
1761 Delete inclusion of "observer.h".
1762 (extension_language_python): Moved here and renamed from
1763 script_language_python in py-auto-load.c.
1764 Redefined to be of type extension_language_defn.
1765 (python_extension_script_ops): New global.
1766 (python_extension_ops): New global.
1767 (struct python_env): New member previous_active.
1768 (restore_python_env): Call restore_active_ext_lang.
1769 (ensure_python_env): Call set_active_ext_lang.
1770 (gdbpy_clear_quit_flag): Renamed from clear_quit_flag, made static.
1772 (gdbpy_set_quit_flag): Renamed from set_quit_flag, made static.
1774 (gdbpy_check_quit_flag): Renamed from check_quit_flag, made static.
1776 (gdbpy_eval_from_control_command): Renamed from
1777 eval_python_from_control_command, made static. New arg extlang.
1778 (gdbpy_source_script) Renamed from source_python_script, made static.
1780 (gdbpy_before_prompt_hook): Renamed from before_prompt_hook. Change
1781 result to int. New arg extlang.
1782 (gdbpy_source_objfile_script): Renamed from
1783 source_python_script_for_objfile, made static. New arg extlang.
1784 (gdbpy_start_type_printers): Renamed from start_type_printers, made
1785 static. New args extlang, extlang_printers. Change result type to
1787 (gdbpy_apply_type_printers): Renamed from apply_type_printers, made
1788 static. New arg extlang. Rename arg printers to extlang_printers
1789 and change type to ext_lang_type_printers *.
1790 (gdbpy_free_type_printers): Renamed from free_type_printers, made
1791 static. Replace argument arg with extlang, extlang_printers.
1792 (!HAVE_PYTHON, eval_python_from_control_command): Delete.
1793 (!HAVE_PYTHON, source_python_script): Delete.
1794 (!HAVE_PYTHON, gdbpy_should_stop): Delete.
1795 (!HAVE_PYTHON, gdbpy_breakpoint_has_py_cond): Delete.
1796 (!HAVE_PYTHON, start_type_printers): Delete.
1797 (!HAVE_PYTHON, apply_type_printers): Delete.
1798 (!HAVE_PYTHON, free_type_printers): Delete.
1799 (_initialize_python): Delete call to observer_attach_before_prompt.
1800 (finalize_python): Set/restore active extension language.
1801 (gdbpy_finish_initialization) Renamed from
1802 finish_python_initialization, made static. New arg extlang.
1803 (gdbpy_initialized): New function.
1804 * python/python.h: #include "extension.h". Delete #include
1805 "value.h", "mi/mi-cmds.h".
1806 (extension_language_python): Declare.
1807 (GDBPY_AUTO_FILE_NAME): Delete.
1808 (enum py_bt_status): Moved to extension.h and renamed to
1810 (enum frame_filter_flags): Moved to extension.h.
1811 (enum py_frame_args): Moved to extension.h and renamed to
1812 ext_lang_frame_args.
1813 (finish_python_initialization): Delete.
1814 (eval_python_from_control_command): Delete.
1815 (source_python_script): Delete.
1816 (apply_val_pretty_printer): Delete.
1817 (apply_frame_filter): Delete.
1818 (preserve_python_values): Delete.
1819 (gdbpy_script_language_defn): Delete.
1820 (gdbpy_should_stop, gdbpy_breakpoint_has_py_cond): Delete.
1821 (start_type_printers, apply_type_printers, free_type_printers): Delete.
1823 * auto-load.c: #include "extension.h".
1824 (GDB_AUTO_FILE_NAME): Delete.
1825 (auto_load_gdb_scripts_enabled): Make public. New arg extlang.
1826 (script_language_gdb): Delete, moved to extension.c and renamed to
1827 extension_language_gdb.
1828 (source_gdb_script_for_objfile): Delete.
1829 (auto_load_pspace_info): New member unsupported_script_warning_printed.
1830 (loaded_script): Change type of language member to
1831 struct extension_language_defn *.
1832 (init_loaded_scripts_info): Initialize
1833 unsupported_script_warning_printed.
1834 (maybe_add_script): Make static. Change type of language arg to
1835 struct extension_language_defn *.
1836 (clear_section_scripts): Reset unsupported_script_warning_printed.
1837 (auto_load_objfile_script_1): Rewrite to use extension language API.
1838 (auto_load_objfile_script): Make public. Remove support-compiled-in
1839 and auto-load-enabled checks, moved to auto_load_scripts_for_objfile.
1840 (source_section_scripts): Rewrite to use extension language API.
1841 (load_auto_scripts_for_objfile): Rewrite to use
1842 auto_load_scripts_for_objfile.
1843 (collect_matching_scripts_data): Change type of language member to
1844 struct extension_language_defn *.
1845 (auto_load_info_scripts): Change type of language arg to
1846 struct extension_language_defn *.
1847 (unsupported_script_warning_print): New function.
1848 (script_not_found_warning_print): Make static.
1849 (_initialize_auto_load): Rewrite construction of scripts-directory
1851 * auto-load.h (struct objfile): Add forward decl.
1852 (struct script_language): Delete.
1853 (struct auto_load_pspace_info): Add forward decl.
1854 (struct extension_language_defn): Add forward decl.
1855 (maybe_add_script): Delete.
1856 (auto_load_objfile_script): Declare.
1857 (script_not_found_warning_print): Delete.
1858 (auto_load_info_scripts): Update prototype.
1859 (auto_load_gdb_scripts_enabled): Declare.
1860 * python/py-auto-load.c (gdbpy_auto_load_enabled): Renamed from
1861 auto_load_python_scripts_enabled and made public.
1862 (script_language_python): Delete, moved to python.c.
1863 (gdbpy_script_language_defn): Delete.
1864 (info_auto_load_python_scripts): Update to use
1865 extension_language_python.
1867 * breakpoint.c (condition_command): Replace call to
1868 gdbpy_breakpoint_has_py_cond with call to get_breakpoint_cond_ext_lang.
1869 (bpstat_check_breakpoint_conditions): Replace call to gdbpy_should_stop
1870 with call to breakpoint_ext_lang_cond_says_stop.
1871 * python/py-breakpoint.c (gdbpy_breakpoint_cond_says_stop): Renamed
1872 from gdbpy_should_stop. Change result type to enum scr_bp_stop.
1873 New arg slang. Return SCR_BP_STOP_UNSET if py_bp_object is NULL.
1874 (gdbpy_breakpoint_has_cond): Renamed from gdbpy_breakpoint_has_py_cond.
1876 (local_setattro): Print name of extension language with existing
1879 * valprint.c (val_print, value_print): Update to call
1880 apply_ext_lang_val_pretty_printer.
1881 * cp-valprint.c (cp_print_value): Update call to
1882 apply_ext_lang_val_pretty_printer.
1883 * python/py-prettyprint.c: Remove #ifdef HAVE_PYTHON.
1884 (gdbpy_apply_val_pretty_printer): Renamed from
1885 apply_val_pretty_printer. New arg extlang.
1886 (!HAVE_PYTHON, apply_val_pretty_printer): Delete.
1888 * cli/cli-cmds.c (source_script_from_stream): Rewrite to use
1889 extension language API.
1890 * cli/cli-script.c (execute_control_command): Update to call
1891 eval_ext_lang_from_control_command.
1893 * mi/mi-cmd-stack.c (mi_cmd_stack_list_frames): Update to use
1894 enum ext_lang_bt_status values. Update call to
1895 apply_ext_lang_frame_filter.
1896 (mi_cmd_stack_list_locals): Ditto.
1897 (mi_cmd_stack_list_args): Ditto.
1898 (mi_cmd_stack_list_variables): Ditto.
1899 * mi/mi-main.c: Delete #include "python/python-internal.h".
1900 Add #include "extension.h".
1901 (mi_cmd_list_features): Replace reference to python internal variable
1902 gdb_python_initialized with call to ext_lang_initialized_p.
1904 * stack.c (backtrace_command_1): Update to use enum ext_lang_bt_status.
1905 Update to use enum ext_lang_frame_args. Update to call
1906 apply_ext_lang_frame_filter.
1907 * python/py-framefilter.c (extract_sym): Update to use enum
1909 (extract_value, py_print_type, py_print_value): Ditto.
1910 (py_print_single_arg, enumerate_args, enumerate_locals): Ditto.
1911 (py_mi_print_variables, py_print_locals, py_print_args): Ditto.
1912 (py_print_frame): Ditto.
1913 (gdbpy_apply_frame_filter): Renamed from apply_frame_filter.
1914 New arg extlang. Update to use enum ext_lang_bt_status.
1916 * top.c (gdb_init): Delete #ifdef HAVE_PYTHON call to
1917 finish_python_initialization. Replace with call to
1918 finish_ext_lang_initialization.
1920 * typeprint.c (do_free_global_table): Update to call
1921 free_ext_lang_type_printers.
1922 (create_global_typedef_table): Update to call
1923 start_ext_lang_type_printers.
1924 (find_global_typedef): Update to call apply_ext_lang_type_printers.
1925 * typeprint.h (struct ext_lang_type_printers): Add forward decl.
1926 (type_print_options): Change type of global_printers from "void *"
1927 to "struct ext_lang_type_printers *".
1929 * value.c (preserve_values): Update to call preserve_ext_lang_values.
1930 * python/py-value.c: Remove #ifdef HAVE_PYTHON.
1931 (gdbpy_preserve_values): Renamed from preserve_python_values.
1933 (!HAVE_PYTHON, preserve_python_values): Delete.
1935 * utils.c (quit_flag): Delete, moved to extension.c.
1936 (clear_quit_flag, set_quit_flag, check_quit_flag): Delete, moved to
1939 * eval.c: Delete #include "python/python.h".
1940 * main.c: Delete #include "python/python.h".
1942 * defs.h: Update comment.
1944 2014-02-06 Joel Brobecker <brobecker@adacore.com>
1948 2014-02-05 Mark Kettenis <kettenis@gnu.org>
1950 * c-exp.y (YYPRINT, c_print_token): Only define if YYBISON is
1953 2014-02-05 Yao Qi <yao@codesourcery.com>
1955 * remote.c (remote_pass_signals): Remove local 'buf' and use
1957 (remote_program_signals): Likewise.
1959 2014-02-05 Yao Qi <yao@codesourcery.com>
1961 * ctf.c: Include "inferior.h" and "gdbthread.h".
1962 (CTF_PID): A new macro.
1963 (ctf_open): Call inferior_appeared and add_thread_silent.
1964 (ctf_close): Call exit_inferior_silent and set inferior_ptid.
1965 (ctf_thread_alive): New function.
1966 (init_ctf_ops): Install ctf_thread_alive to to_thread_alive.
1968 2014-02-05 Yao Qi <yao@codesourcery.com>
1972 2013-05-24 Yao Qi <yao@codesourcery.com>
1974 * tracepoint.c (TFILE_PID): Remove.
1975 (tfile_open): Don't add thread and inferior.
1976 (tfile_close): Don't set 'inferior_ptid'. Don't call
1977 exit_inferior_silent.
1978 (tfile_thread_alive): Remove.
1979 (init_tfile_ops): Don't set field 'to_thread_alive' of
1982 2014-02-04 Christian Eggers <ceggers@gmx.de> (tiny change)
1984 * remote.c (remote_start_remote): Call remote_check_symbols even
1985 if only symbol-file (not file) has been given.
1987 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
1989 * gdbarch.sh (skip_entrypoint): New callback.
1990 * gdbarch.c, gdbarch.h: Regenerate.
1991 * symtab.c (skip_prologue_sal): Call gdbarch_skip_entrypoint.
1992 * infrun.c (fill_in_stop_func): Likewise.
1993 * ppc-linux-tdep.c: Include "elf/ppc64.h".
1994 (ppc_elfv2_elf_make_msymbol_special): New function.
1995 (ppc_elfv2_skip_entrypoint): Likewise.
1996 (ppc_linux_init_abi): Install them for ELFv2.
1998 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
2000 * ppc-sysv-tdep.c (ppc64_aggregate_candidate): New routine.
2001 (ppc64_elfv2_abi_homogeneous_aggregate): Likewise.
2002 (ppc64_sysv_abi_push_param): Handle ELFv2 homogeneous structs.
2003 (ppc64_sysv_abi_return_value): Likewise. Also, handle small
2004 structures returned in GPRs.
2006 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
2008 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_dummy_call): Use correct
2009 offset to the stack parameter list for the ELFv2 ABI.
2011 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
2013 * ppc-linux-tdep.c (ppc_linux_init_abi): Only call
2014 set_gdbarch_convert_from_func_ptr_addr and
2015 set_gdbarch_elf_make_msymbol_special for ELFv1.
2016 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_param): Only handle
2017 function descriptors on ELFv1.
2018 (ppc64_sysv_abi_push_dummy_call): Likewise. On ELFv2,
2019 set up r12 at function entry.
2021 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
2023 * ppc-tdep.h (enum powerpc_elf_abi): New data type.
2024 (struct gdbarch_tdep): New member elf_abi.
2026 * rs6000-tdep.c: Include "elf/ppc64.h".
2027 (rs6000_gdbarch_init): Detect ELF ABI version.
2029 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
2031 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_freg): Use correct order
2032 within a register pair holding a DFP 128-bit value on little-endian.
2033 (ppc64_sysv_abi_return_value_base): Likewise.
2034 * rs6000-tdep.c (dfp_pseudo_register_read): Likewise.
2035 (dfp_pseudo_register_write): Likewise.
2037 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
2039 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_freg): Use correct
2040 offset on little-endian when passing _Decimal32.
2041 (ppc64_sysv_abi_return_value_base): Likewise for return values.
2043 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
2045 * rs6000-tdep.c (efpr_pseudo_register_read): Use correct offset
2046 of the overlapped FP register within the VSX register on little-
2048 (efpr_pseudo_register_write): Likewise.
2050 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
2052 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_val): Use correct
2053 offset on little-endian when passing small structures.
2055 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
2057 * ppc-sysv-tdep.c (get_decimal_float_return_value): Update comment.
2058 (struct ppc64_sysv_argpos): New data structure.
2059 (ppc64_sysv_abi_push_float): Remove.
2060 (ppc64_sysv_abi_push_val): New function.
2061 (ppc64_sysv_abi_push_integer): Likewise.
2062 (ppc64_sysv_abi_push_freg): Likewise.
2063 (ppc64_sysv_abi_push_vreg): Likewise.
2064 (ppc64_sysv_abi_push_param): Likewise.
2065 (ppc64_sysv_abi_push_dummy_call): Refactor to use those new routines.
2066 (ppc64_sysv_abi_return_value_base): New function.
2067 (ppc64_sysv_abi_return_value): Refactor to use it.
2069 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
2071 * NEWS: Document new target powerpc64le-*-linux*.
2073 2014-02-04 Mark Kettenis <kettenis@gnu.org>
2075 * sparc64obsd-tdep.c (sparc64obsd_gregset): New variable.
2076 (sparc64obsd_supply_gregset): Handle registers sets used in ELF
2078 (sparc64obsd_init_abi): Adjust minimum size of the general purpose
2079 register set used in ELF core dumps. Add floating-point register set.
2081 2014-02-03 Kevin Buettner <kevinb@redhat.com>
2083 * mn10300-tdep.c (mn10300_dwarf2_reg_to_regnum): Rewrite
2084 dwarf2_to_gdb[] table using symbolic constants. Adjust
2085 penultimate entry from number representing the PC register
2086 to symbolic constant representing the MDR register. Add
2087 constant for the PC register to the end of the table.
2089 2014-02-03 Mark Kettenis <kettenis@gnu.org>
2091 * bsd-kvm.c: Include <sys/param.h>
2093 2014-02-03 Mark Kettenis <kettenis@gnu.org>
2095 * sparc64nbsd-nat.c (sparc64nbsd_supply_fpregset): Fix prototype.
2097 2014-01-31 Joel Brobecker <brobecker@adacore.com>
2099 * ada-lang.h (clear_ada_sym_cache): Delete.
2101 2014-01-30 Ulrich Weigand <uweigand@de.ibm.com>
2103 * auxv.c (fprint_target_auxv): Handle AT_HWCAP2.
2105 2014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
2107 * sparc64-linux-tdep.c (sparc64_linux_step_trap): Get PC from
2108 the sigreturn register save area only if the syscall is
2111 2014-01-29 Joel Brobecker <brobecker@adacore.com>
2113 * valops.c (value_slice): Minor reformatting.
2115 2014-01-28 Ulrich Weigand <uweigand@de.ibm.com>
2117 * ppc64-tdep.c (ppc64_standard_linkage7): Fix typo.
2119 2014-01-28 Joel Brobecker <brobecker@adacore.com>
2121 * ada-lang.c (maint_set_ada_cmdlist, maint_show_ada_cmdlist):
2123 (maint_set_ada_cmd, maint_show_ada_cmd): New functions.
2124 (ada_ignore_descriptive_types_p): New static global.
2125 (find_parallel_type_by_descriptive_type): Return immediately
2126 if ada_ignore_descriptive_types_p is set.
2127 (_initialize_ada_language): Register new commands "maintenance
2128 set ada", "maintenance show ada", "maintenance set ada
2129 ignore-descriptive-types" and "maintenance show ada
2130 ignore-descriptive-types".
2131 * NEWS: Add entry for new "maint ada set/show
2132 ignore-descriptive-types" commands.
2134 2014-01-27 Markus Metzger <markus.t.metzger@intel.com>
2136 * record-btrace.c (record_btrace_close): Call btrace_teardown
2139 2014-01-27 Joel Brobecker <brobecker@adacore.com>
2141 * ada-lang.c: Remove "#ifdef UI_OUT" condition for including
2144 2014-01-27 Joel Brobecker <brobecker@adacore.com>
2146 * ada-typeprint (type_is_full_subrange_of_target_type):
2148 (print_range): Add parameter bounds_prefered_p. If not set,
2149 try printing range types using the name of their base type.
2150 (print_range_type): Add parameter bounds_prefered_p.
2151 Use it in call to print_range.
2152 (print_array_type, ada_print_type): Update calls to print_range
2153 and print_range_type.
2155 2014-01-27 Joel Brobecker <brobecker@adacore.com>
2157 * ada-typeprint.c (print_array_type, print_choices, print_range)
2158 (print_range_bound, print_dynamic_range_bound, print_range_type):
2161 2014-01-27 Joel Brobecker <brobecker@adacore.com>
2163 * ada-typeprint.c (print_range): Add missing empty line
2164 after local declaration.
2166 2014-01-27 Joel Brobecker <brobecker@adacore.com>
2168 * ada-valprint.c (print_optional_low_bound): Get index_type's
2169 target type for as long as it is a TYPE_CODE_RANGE.
2171 2014-01-27 Joel Brobecker <brobecker@adacore.com>
2173 * procfs.c (procfs_make_note_section): Remove assertion and
2176 2014-01-24 Yao Qi <yao@codesourcery.com>
2178 * remote.c (remote_read_bytes): Change type of len to ULONGEST.
2179 * corelow.c (get_core_siginfo): Likewise.
2181 2014-01-24 Yao Qi <yao@codesourcery.com>
2183 * remote.c (remote_write_bytes_aux): Change type of 'len' to
2184 ULONGEST. Don't check 'len' is negative.
2185 (remote_write_bytes): Change type of 'len' to ULONGEST.
2187 2014-01-23 Tom Tromey <tromey@redhat.com>
2190 * python/lib/gdb/FrameDecorator.py: (FrameVars.fetch_frame_args):
2191 Handle exception from frame.block.
2192 (FrameVars.fetch_frame_locals): Likewise.
2194 2014-01-23 Tom Tromey <tromey@redhat.com>
2197 * python/py-framefilter.c (py_print_frame): Don't call Py_DECREF
2198 on a NULL pointer. Move "goto error" to correct place.
2200 2014-01-23 Tom Tromey <tromey@redhat.com>
2203 * python/py-framefilter.c (apply_frame_filter): Call
2204 ensure_python_env after computing gdbarch.
2206 2014-01-23 Yao Qi <yao@codesourcery.com>
2208 * target.c (raw_memory_xfer_partial): Change argument type
2209 from void * to gdb_byte *.
2210 (memory_xfer_partial_1, memory_xfer_partial): Likewise.
2212 2014-01-22 Doug Evans <dje@google.com>
2214 New gdbserver option --debug-format=timestamp.
2217 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
2219 * syscalls/s390x-linux.xml: New file.
2220 * syscalls/s390-linux.xml: New file.
2221 * s390-linux-tdep.c (XML_SYSCALL_FILENAME_S390): New macro.
2222 (XML_SYSCALL_FILENAME_S390X): Likewise.
2223 (op_svc): New enum value for SVC opcode.
2224 (s390_sigtramp_frame_sniffer): Replace literal by 'op_svc'.
2225 (s390_linux_get_syscall_number): New function.
2226 (s390_gdbarch_init): Register '*get_syscall_number' and the
2227 syscall xml file name.
2228 * data-directory/Makefile.in (SYSCALLS_FILES): Add
2229 "s390-linux.xml" and "s390x-linux.xml".
2230 * NEWS: Announce new feature.
2232 2014-01-22 Baruch Siach <baruch@tkos.co.il>
2234 * xtensa-tdep.h (xtensa_elf_greg_t): Change type to uint32_t.
2236 2014-01-22 Pedro Alves <palves@redhat.com>
2238 * xtensa-config.c: Include defs.h.
2240 2014-01-22 Joel Brobecker <brobecker@adacore.com>
2242 * common/common-utils.h: Add "ARI:" comment beside __func__
2245 2014-01-22 Joel Brobecker <brobecker@adacore.com>
2247 * common/common-utils.h (FUNCTION_NAME): Expand the macro's
2248 documentation a bit.
2250 2014-01-21 Roland McGrath <mcgrathr@google.com>
2252 * configure.ac: Call AM_PROG_INSTALL_STRIP.
2253 * configure: Regenerate.
2254 * aclocal.m4: Regenerate.
2255 * Makefile.in (install_sh, INSTALL_STRIP_PROGRAM, STRIP):
2256 New substituted variables.
2257 (install-strip): New target.
2258 (INSTALL_SCRIPT): New substituted variable.
2259 (FLAGS_TO_PASS): Add it.
2260 (install-only): Use $(INSTALL_SCRIPT) rather than
2261 $(INSTALL_PROGRAM) for gcore.
2263 2014-01-20 Tom Tromey <tromey@redhat.com>
2265 * cli/cli-decode.h (struct cmd_list_element): Move all bitfields
2268 2014-01-20 Tom Tromey <tromey@redhat.com>
2270 * cli/cli-decode.c (add_cmd, deprecate_cmd, add_alias_cmd)
2271 (add_setshow_cmd_full, delete_cmd, lookup_cmd_1)
2272 (deprecated_cmd_warning, complete_on_cmdlist): Update.
2273 * cli/cli-decode.h (CMD_DEPRECATED, DEPRECATED_WARN_USER)
2274 (MALLOCED_REPLACEMENT, DOC_ALLOCATED): Remove.
2275 (struct cmd_list_element) <flags>: Remove.
2276 <cmd_deprecated, deprecated_warn_user, malloced_replacement,
2277 doc_allocated>: New fields.
2278 <hook_in, allow_unknown, abbrev_flag, type, var_type>: Now
2280 * maint.c (maintenance_do_deprecate): Update.
2281 * top.c (execute_command): Update.
2283 2014-01-20 Baruch Siach <baruch@tkos.co.il>
2285 * xtensa-linux-nat.c: Include asm/ptrace.h.
2287 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
2289 * Makefile.in (SFILES): Add d-support.c.
2290 (COMMON_OBS): Add d-support.o.
2291 * d-lang.h (d_parse_symbol): Add comment, now defined in
2293 * d-lang.c (parse_call_convention)
2294 (parse_attributes, parse_function_types)
2295 (parse_function_args, parse_type, parse_identifier)
2296 (call_convention_p, d_parse_symbol): Move functions to ...
2297 * d-support.c: ... New file.
2299 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
2301 * d-lang.h (d_parse_symbol): Add declaration.
2302 * d-lang.c (extract_identifiers)
2303 (extract_type_info): Remove functions.
2304 (parse_call_convention, parse_attributes)
2305 (parse_function_types, parse_function_args)
2306 (parse_type, parse_identifier, call_convention_p)
2307 (d_parse_symbol): New functions.
2308 (d_demangle): Use d_parse_symbol to demangle D symbols.
2310 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
2312 * d-lang.h (struct builtin_d_type): New data type.
2313 (builtin_d_type): Add declaration.
2314 * d-lang.c (d_language_arch_info, build_d_types)
2315 (builtin_d_type): New functions.
2316 (enum d_primitive_types): New data type.
2317 (d_language_defn): Change c_language_arch_info to
2318 d_language_arch_info.
2319 (d_type_data): New static variable.
2320 (_initialize_d_language): Initialize d_type_data.
2322 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
2324 * d-lang.h (d_main_name): Add declaration.
2325 * d-lang.c (d_main_name): New function.
2326 * symtab.c (find_main_name): Add call to d_main_name.
2328 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
2330 * d-lang.c (d_language_defn): Change macro_expansion_c to
2333 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
2335 * MAINTAINERS: Add myself as a write-after-approval maintainer.
2337 2014-01-17 Sergio Durigan Junior <sergiodj@redhat.com>
2339 * breakpoint.c (insert_bp_location): Add "volatile" keyword to "struct
2340 gdb_exception" declaration.
2341 * remote.c (getpkt_or_notif_sane): Likewise.
2343 2014-01-17 Doug Evans <dje@google.com>
2345 * common/gdb_vecs.c (delim_string_to_char_ptr_vec_append): New
2346 function, contents of dirnames_to_char_ptr_vec_append moved here.
2347 (delim_string_to_char_ptr_vec): New function.
2348 (dirnames_to_char_ptr_vec_append): Rewrite.
2349 * common/gdb_vecs.h (delim_string_to_char_ptr_vec): Declare.
2351 2014-01-17 Doug Evans <dje@google.com>
2353 * common/common-utils.h (FUNCTION_NAME): Renamed from ASSERT_FUNCTION,
2355 * common/gdb_assert.h (ASSERT_FUNCTION): ... from here.
2356 #include "common-utils.h".
2357 (gdb_assert, gdb_assert_fail, gdb_assert_not_reached): Update.
2358 * common/vec.h (VEC_ASSERT_PASS): Update.
2359 * darwin-nat.h: Replace #include of gdb_assert.h with common-utils.h.
2360 (MACH_CHECK_ERROR): Update.
2362 2014-01-17 Simon Marchi <simon.marchi@ericsson.com>
2364 * gdbarch.sh (gdbarch_address_class_name_to_type_flags): Add
2366 * gdbarch.h: Regenerate.
2368 2014-01-16 Tom Tromey <tromey@redhat.com>
2370 * value.c (struct value) <regnum>: Move earlier.
2372 2014-01-16 Tom Tromey <tromey@redhat.com>
2374 * remote.c (extended_remote_create_inferior): Rename from
2375 extended_remote_create_inferior_1. Add "ops" argument. Remove
2378 2014-01-16 Pedro Alves <palves@redhat.com>
2380 * s390-linux-tdep.c (s390_frame_unwind_cache): Swallow
2381 NOT_AVAILABLE_ERROR errors while parsing the prologue or reading
2384 2014-01-16 Doug Evans <dje@google.com>
2386 * dwarf2read.c (open_and_init_dwp_file): Fix typo in comment.
2388 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
2390 * btrace.h (btrace_thread_flag): New.
2391 (struct btrace_thread_info) <flags>: New.
2392 * record-btrace.c (record_btrace_resume_thread)
2393 (record_btrace_find_thread_to_move, btrace_step_no_history)
2394 (btrace_step_stopped, record_btrace_start_replaying)
2395 (record_btrace_step_thread, record_btrace_decr_pc_after_break)
2396 (record_btrace_find_resume_thread): New.
2397 (record_btrace_resume, record_btrace_wait): Extend.
2398 (record_btrace_can_execute_reverse): New.
2399 (record_btrace_open): Fail in non-stop mode.
2400 (record_btrace_set_replay): Split into this, ...
2401 (record_btrace_stop_replaying): ... this, ...
2402 (record_btrace_clear_histories): ... and this.
2403 (init_record_btrace_ops): Init to_can_execute_reverse.
2404 * NEWS: Announce it.
2406 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
2408 * target.h (struct target_ops) <to_decr_pc_after_break>: New.
2409 (forward_target_decr_pc_after_break)
2410 (target_decr_pc_after_break): New.
2411 * target.c (forward_target_decr_pc_after_break)
2412 (target_decr_pc_after_break): New.
2413 * aix-thread.c (aix_thread_wait): Call target_decr_pc_after_break
2414 instead of gdbarch_decr_pc_after_break.
2415 * darwin-nat.c (cancel_breakpoint): Call target_decr_pc_after_break
2416 instead of gdbarch_decr_pc_after_break.
2417 * infrun.c (adjust_pc_after_break): Call target_decr_pc_after_break
2418 instead of gdbarch_decr_pc_after_break.
2419 * linux-nat.c (cancel_breakpoint): Call target_decr_pc_after_break
2420 instead of gdbarch_decr_pc_after_break.
2421 * linux-thread-db.c (check_event): Call target_decr_pc_after_break
2422 instead of gdbarch_decr_pc_after_break.
2423 * record-full.c (record_full_wait_1): Call target_decr_pc_after_break
2424 instead of gdbarch_decr_pc_after_break.
2426 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
2428 * btrace.c: Include regcache.h.
2429 (btrace_add_pc): New.
2430 (btrace_enable): Call btrace_add_pc.
2431 (btrace_is_empty): New.
2432 * btrace.h (btrace_is_empty): New.
2433 * record-btrace.c (require_btrace, record_btrace_info): Call
2436 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
2438 * common/linux-btrace.c (perf_event_read_bts, linux_read_btrace):
2439 Support delta reads.
2440 (linux_disable_btrace): Change return type.
2441 * common/linux-btrace.h (linux_read_btrace): Change parameters
2442 and return type to allow error reporting. Update users.
2443 (linux_disable_btrace): Change return type. Update users.
2444 * common/btrace-common.h (btrace_read_type) <BTRACE_READ_DELTA>:
2446 (btrace_error): New.
2447 (btrace_block) <begin>: Comment on BEGIN == 0.
2448 * btrace.c (btrace_compute_ftrace): Start from the end of
2450 (btrace_stitch_trace, btrace_clear_history): New.
2451 (btrace_fetch): Read delta trace, return if replaying.
2452 (btrace_clear): Move clear history code to btrace_clear_history.
2453 (parse_xml_btrace): Throw an error if parsing failed.
2454 * target.h (struct target_ops) <to_read_btrace>: Change parameters
2455 and return type to allow error reporting.
2456 (target_read_btrace): Change parameters and return type to allow
2458 * target.c (target_read_btrace): Update.
2459 * remote.c (remote_read_btrace): Support delta reads. Pass
2461 * NEWS: Announce it.
2463 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
2465 * record.h (record_btrace_frame_unwind)
2466 (record_btrace_tailcall_frame_unwind): New declarations.
2467 * dwarf2-frame: Include record.h
2468 (dwarf2_frame_cfa): Throw an error for btrace frames.
2469 * record-btrace.c: Include hashtab.h.
2470 (btrace_get_bfun_name): New.
2471 (btrace_call_history): Call btrace_get_bfun_name.
2472 (struct btrace_frame_cache): New.
2474 (bfcache_hash, bfcache_eq, bfcache_new): New.
2475 (btrace_get_frame_function): New.
2476 (record_btrace_frame_unwind_stop_reason): Allow unwinding.
2477 (record_btrace_frame_this_id): Compute own id.
2478 (record_btrace_frame_prev_register): Provide PC, throw_error
2479 for all other registers.
2480 (record_btrace_frame_sniffer): Detect btrace frames.
2481 (record_btrace_tailcall_frame_sniffer): New.
2482 (record_btrace_frame_dealloc_cache): New.
2483 (record_btrace_frame_unwind): Add new functions.
2484 (record_btrace_tailcall_frame_unwind): New.
2485 (_initialize_record_btrace): Allocate cache.
2486 * btrace.c (btrace_clear): Call reinit_frame_cache.
2487 * NEWS: Announce it.
2489 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
2491 * record-btrace.c (record_btrace_set_replay)
2492 (record_btrace_goto_begin, record_btrace_goto_end)
2493 (record_btrace_goto): New.
2494 (init_record_btrace_ops): Initialize them.
2495 * NEWS: Announce it.
2497 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
2499 * record-btrace.c (record_btrace_find_new_threads)
2500 (record_btrace_thread_alive): New.
2501 (init_record_btrace_ops): Initialize to_find_new_threads and
2504 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
2506 * record-btrace.c (record_btrace_resume): New.
2507 (record_btrace_wait): New.
2508 (init_record_btrace_ops): Initialize to_wait and to_resume.
2510 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
2512 * record-btrace.c (record_btrace_xfer_partial)
2513 (record_btrace_insert_breakpoint, record_btrace_remove_breakpoint)
2514 (record_btrace_allow_memory_access): New.
2515 (init_record_btrace_ops): Initialize new methods.
2516 * target.c (raw_memory_xfer_partial): Bail out if target reports
2517 that this memory is not available.
2519 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
2521 * target.h (target_ops) <to_insert_breakpoint>
2522 <to_remove_breakpoint>: Add target_ops parameter.
2523 (forward_target_insert_breakpoint): New.
2524 (forward_target_remove_breakpoint): New.
2525 (memory_remove_breakpoint, memory_insert_breakpoint):
2526 Add target_ops parameter.
2527 * target.c (target_insert_breakpoint): Split into this and ...
2528 (forward_target_insert_breakpoint): ... this.
2529 (target_remove_breakpoint): Split into this and ...
2530 (forward_target_remove_breakpoint): ... this.
2531 (debug_to_insert_breakpoint): Add target_ops parameter.
2532 Call forward_target_insert_breakpoint.
2533 (debug_to_remove_breakpoint): Add target_ops parameter.
2534 Call forward_target_remove_breakpoint.
2535 (update_current_target): Do not inherit or default to_insert_breakpoint
2536 and to_remove_breakpoint.
2537 * corelow.c (ignore): Add target_ops parameter.
2538 * exec.c (ignore): Add target_ops parameter.
2539 * mem-break.c (memory_insert_breakpoint, memory_remove_breakpoint):
2540 Add target_ops parameter.
2541 * monitor.c (monitor_insert_breakpoint, monitor_remove_breakpoint):
2542 Add target_ops parameter.
2543 * nto-procfs.c (procfs_insert_breakpoint, procfs_remove_breakpoint):
2544 Add target_ops parameter.
2545 * record-full.c (record_full_beneath_to_insert_breakpoint)
2546 (record_full_beneath_to_remove_breakpoint, tmp_to_insert_breakpoint)
2547 (tmp_to_remove_breakpoint, record_full_insert_breakpoint)
2548 (record_full_remove_breakpoint, record_full_core_insert_breakpoint)
2549 (record_full_core_remove_breakpoint): Add target_ops parameter.
2551 (record_full_beneath_to_insert_breakpoint_ops)
2552 (record_full_beneath_to_remove_breakpoint_ops)
2553 (tmp_to_insert_breakpoint_ops, tmp_to_remove_breakpoint_ops): New.
2554 (record_full_open): Initialize tmp_to_insert_breakpoint_ops,
2555 tmp_to_remove_breakpoint_ops,
2556 record_full_beneath_to_insert_breakpoint_ops, and
2557 record_full_beneath_to_remove_breakpoint_ops.
2558 * remote-m32r-sdi.c (m32r_insert_breakpoint)
2559 (m32r_remove_breakpoint): Add target_ops parameter.
2560 * remote-mips.c (mips_insert_breakpoint, mips_remove_breakpoint):
2561 Add target_ops parameter.
2562 * remote.c (remote_insert_breakpoint, remote_remove_breakpoint):
2563 Add target_ops parameter.
2565 2014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
2566 Markus Metzger <markus.t.metzger@intel.com>
2568 * record-btrace.c: Include frame-unwind.h.
2569 (record_btrace_frame_unwind_stop_reason)
2570 (record_btrace_frame_this_id, record_btrace_frame_prev_register)
2571 (record_btrace_frame_sniffer, record_btrace_frame_unwind):
2573 (init_record_btrace_ops): Install it.
2575 2014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
2577 * frame.c (get_frame_unwind_stop_reason): Unconditionally call
2580 2014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
2582 * dwarf2-frame.c (dwarf2_frame_cfa): Move UNWIND_UNAVAILABLE check
2585 2014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
2587 * frame-unwind.c: Include target.h.
2588 (frame_unwind_try_unwinder): New function with code from ...
2589 (frame_unwind_find_by_frame): ... here. New variable
2590 unwinder_from_target, call also target_get_unwinder)
2591 (target_get_tailcall_unwinder, and frame_unwind_try_unwinder for it.
2592 * target.c (target_get_unwinder, target_get_tailcall_unwinder): New.
2593 * target.h (struct target_ops): New fields to_get_unwinder and
2594 to_get_tailcall_unwinder.
2595 (target_get_unwinder, target_get_tailcall_unwinder): New declarations.
2597 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
2599 * record-btrace.c (record_btrace_fetch_registers)
2600 (record_btrace_store_registers)
2601 (record_btrace_to_prepare_to_store): New.
2602 (init_record_btrace_ops): Add the above.
2604 2014-01-16 Tom Tromey <tromey@redhat.com>
2606 * windows-nat.c (windows_prepare_to_store): Add 'self' argument.
2607 * target.h (struct target_ops) <to_prepare_to_store>: Add
2609 (target_prepare_to_store): Add argument.
2610 * target.c (debug_to_prepare_to_store): Add argument.
2611 (update_current_target): Update.
2612 * remote.c (remote_prepare_to_store): Add 'self' argument.
2613 * remote-sim.c (gdbsim_prepare_to_store): Add 'self' argument.
2614 * remote-mips.c (mips_prepare_to_store): Add 'self' argument.
2615 * remote-m32r-sdi.c (m32r_prepare_to_store): Add 'self' argument.
2616 * record-full.c (record_full_core_prepare_to_store): Add 'self'
2618 * ravenscar-thread.c (ravenscar_prepare_to_store): Add argument.
2619 * nto-procfs.c (procfs_prepare_to_store): Add 'self' argument.
2620 * monitor.c (monitor_prepare_to_store): Add 'self' argument.
2621 * inf-child.c (inf_child_prepare_to_store): Add 'self' argument.
2622 * go32-nat.c (go32_prepare_to_store): Add 'self' argument.
2624 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
2626 * btrace.h (replay) <replay>: New.
2627 (btrace_is_replaying): New.
2628 * btrace.c (btrace_clear): Free replay iterator.
2629 (btrace_is_replaying): New.
2630 * record-btrace.c (record_btrace_is_replaying): New.
2631 (record_btrace_info): Print insn number if replaying.
2632 (record_btrace_insn_history): Start at replay position.
2633 (record_btrace_call_history): Start at replay position.
2634 (init_record_btrace_ops): Init to_record_is_replaying.
2636 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
2638 * record-btrace.c (record_btrace_insn_history_range): Include
2640 (record_btrace_insn_history_from): Adjust range.
2641 (record_btrace_call_history_range): Include
2643 (record_btrace_call_history_from): Adjust range.
2644 * NEWS: Announce changes.
2646 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
2648 * record.h (enum record_print_flag)
2649 <record_print_indent_calls>: New.
2650 * record.c (get_call_history_modifiers): Recognize /c modifier.
2651 (_initialize_record): Document /c modifier.
2652 * record-btrace.c (btrace_call_history): Add btinfo parameter.
2653 Reorder fields. Optionally indent the function name. Update
2655 * NEWS: Announce changes.
2657 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
2659 * common/linux-btrace.c (linux_enable_btrace): Enlarge buffer.
2661 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
2663 * btrace.c (ftrace_new_function): Start counting at one.
2664 * record-btrace.c (record_btrace_info): Adjust number of calls
2666 * NEWS: Announce it.
2668 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
2670 * record-btrace.c (btrace_call_history_insn_range): Print
2671 insn range as [begin, end].
2673 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
2675 * btrace.h (struct btrace_func_link): New.
2676 (enum btrace_function_flag): New.
2677 (struct btrace_inst): Rename to ...
2678 (struct btrace_insn): ...this. Update all users.
2679 (struct btrace_func) <ibegin, iend>: Remove.
2680 (struct btrace_func_link): New.
2681 (struct btrace_func): Rename to ...
2682 (struct btrace_function): ...this. Update all users.
2683 (struct btrace_function) <segment, flow, up, insn, insn_offset)
2684 (number, level, flags>: New.
2685 (struct btrace_insn_iterator): Rename to ...
2686 (struct btrace_insn_history): ...this.
2688 (struct btrace_insn_iterator, btrace_call_iterator): New.
2689 (struct btrace_target_info) <btrace, itrace, ftrace>: Remove.
2690 (struct btrace_target_info) <begin, end, level>
2691 <insn_history, call_history>: New.
2692 (btrace_insn_get, btrace_insn_number, btrace_insn_begin)
2693 (btrace_insn_end, btrace_insn_prev, btrace_insn_next)
2694 (btrace_insn_cmp, btrace_find_insn_by_number, btrace_call_get)
2695 (btrace_call_number, btrace_call_begin, btrace_call_end)
2696 (btrace_call_prev, btrace_call_next, btrace_call_cmp)
2697 (btrace_find_function_by_number, btrace_set_insn_history)
2698 (btrace_set_call_history): New.
2699 * btrace.c (btrace_init_insn_iterator)
2700 (btrace_init_func_iterator, compute_itrace): Remove.
2701 (ftrace_print_function_name, ftrace_print_filename)
2702 (ftrace_skip_file): Change
2704 (ftrace_init_func): Remove.
2705 (ftrace_debug): Use new btrace_function fields.
2706 (ftrace_function_switched): Also consider gaining and
2707 losing symbol information).
2708 (ftrace_print_insn_addr, ftrace_new_call, ftrace_new_return)
2709 (ftrace_new_switch, ftrace_find_caller, ftrace_new_function)
2710 (ftrace_update_caller, ftrace_fixup_caller, ftrace_new_tailcall):
2712 (ftrace_new_function): Move. Remove debug print.
2713 (ftrace_update_lines, ftrace_update_insns): New.
2714 (ftrace_update_function): Check for call, ret, and jump.
2715 (compute_ftrace): Renamed to ...
2716 (btrace_compute_ftrace): ...this. Rewritten to compute call
2718 (btrace_fetch, btrace_clear): Updated.
2719 (btrace_insn_get, btrace_insn_number, btrace_insn_begin)
2720 (btrace_insn_end, btrace_insn_prev, btrace_insn_next)
2721 (btrace_insn_cmp, btrace_find_insn_by_number, btrace_call_get)
2722 (btrace_call_number, btrace_call_begin, btrace_call_end)
2723 (btrace_call_prev, btrace_call_next, btrace_call_cmp)
2724 (btrace_find_function_by_number, btrace_set_insn_history)
2725 (btrace_set_call_history): New.
2726 * record-btrace.c (require_btrace): Use new btrace thread
2728 (record_btrace_info, btrace_insn_history)
2729 (record_btrace_insn_history, record_btrace_insn_history_range):
2730 Use new btrace thread info fields and new iterator.
2731 (btrace_func_history_src_line): Rename to ...
2732 (btrace_call_history_src_line): ...this. Use new btrace
2734 (btrace_func_history): Rename to ...
2735 (btrace_call_history): ...this. Use new btrace thread info
2736 fields and new iterator.
2737 (record_btrace_call_history, record_btrace_call_history_range):
2738 Use new btrace thread info fields and new iterator.
2740 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
2742 * frame.h (frame_id_build_unavailable_stack_special): New.
2743 * frame.c (frame_id_build_unavailable_stack_special): New.
2745 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
2747 * amd64-tdep.c (amd64_classify_insn_at, amd64_insn_is_call)
2748 (amd64_insn_is_ret, amd64_insn_is_jump, amd64_jmp_p): New.
2749 (amd64_init_abi): Add insn_is_call, insn_is_ret, and insn_is_jump
2751 * i386-tdep.c (i386_insn_is_call, i386_insn_is_ret)
2752 (i386_insn_is_jump, i386_jmp_p): New.
2753 (i386_gdbarch_init): Add insn_is_call, insn_is_ret, and
2754 insn_is_jump to gdbarch.
2755 * gdbarch.sh (insn_is_call, insn_is_ret, insn_is_jump): New.
2756 * gdbarch.h: Regenerated.
2757 * gdbarch.c: Regenerated.
2758 * arch-utils.h (default_insn_is_call, default_insn_is_ret)
2759 (default_insn_is_jump): New.
2760 * arch-utils.c (default_insn_is_call, default_insn_is_ret)
2761 (default_insn_is_jump): New.
2763 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
2765 * common/btrace-common.h (btrace_read_type) <btrace_read_all>:
2767 (btrace_read_type) <BTRACE_READ_ALL>: ... this. Update users.
2768 (btrace_read_type) <btrace_read_new>: Change to ...
2769 (btrace_read_type) <BTRACE_READ_NEW>: ... this. Update users.
2771 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
2773 * common/linux-btrace.c (linux_read_btrace): Free trace from
2776 2014-01-15 Doug Evans <dje@google.com>
2778 * dwarf2read.c (open_and_init_dwp_file): Use pulongest to print
2781 2014-01-15 Tom Tromey <tromey@redhat.com>
2783 * dbxread.c (process_one_symbol): Use set_objfile_main_name.
2784 * dwarf2read.c (read_partial_die): Use set_objfile_main_name.
2785 * objfiles.c (get_objfile_bfd_data): Initialize language_of_main.
2786 (set_objfile_main_name): New function.
2787 * objfiles.h (struct objfile_per_bfd_storage) <name_of_main,
2788 language_of_main>: New fields.
2789 (set_objfile_main_name): Declare.
2790 * symtab.c (find_main_name): Loop over objfiles to find the main
2792 (set_main_name): Now static.
2793 (get_main_info): Add comment.
2794 * symtab.h (set_main_name): Don't declare.
2796 2014-01-15 Tom Tromey <tromey@redhat.com>
2798 * symtab.c (main_progspace_key): New global.
2799 (struct main_info): New.
2800 (name_of_main, language_of_main): Remove.
2801 (get_main_info, main_info_cleanup): New function.
2802 (set_main_name, main_name, main_language): Use get_main_info.
2803 (_initialize_symtab): Initialize main_progspace_key.
2805 2014-01-15 Tom Tromey <tromey@redhat.com>
2807 * dbxread.c (process_one_symbol): Update.
2808 * dwarf2read.c (read_partial_die): Update.
2809 * symfile.c (set_initial_language): Call main_language.
2810 * symtab.c (language_of_main): Now static.
2811 (set_main_name): Add 'lang' parameter.
2812 (find_main_name): Update.
2813 (main_language): New function.
2814 (symtab_observer_executable_changed): Update.
2815 * symtab.h (set_main_name): Update.
2816 (language_of_main): Remove.
2817 (main_language): Declare.
2819 2014-01-15 Tom Tromey <tromey@redhat.com>
2821 * symfile.c (init_entry_point_info): Use new "initialized" field.
2823 * objfiles.h (struct entry_point) <initialized>: New field.
2824 (struct objfile_per_bfd_storage) <ei>: New field, moved from...
2825 (struct objfile) <ei>: ...here. Remove.
2826 * objfiles.c (entry_point_address_query): Update.
2828 2014-01-15 Tom Tromey <tromey@redhat.com>
2830 * objfiles.c (entry_point_address_query): Relocate entry point
2832 (objfile_relocate1): Do not relocate entry point address.
2833 * objfiles.h (struct entry_info) <entry_point>: Update comment.
2834 <the_bfd_section_index>: New field.
2835 * symfile.c (init_entry_point_info): Find the entry point's
2838 2014-01-15 Tom Tromey <tromey@redhat.com>
2840 * solib-frv.c (enable_break): Use entry_point_address_query.
2842 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
2844 * NEWS: Add note on improved process record-replay on
2845 arm*-linux* targets.
2847 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
2849 * arm-tdep.c (enum arm_record_result): New enum.
2850 (arm_record_unsupported_insn): New function.
2851 (arm_record_coproc_data_proc): Removed.
2852 (thumb2_record_ld_st_multiple): New function.
2853 (thumb2_record_ld_st_dual_ex_tbb): New function.
2854 (thumb2_record_data_proc_sreg_mimm): New function.
2855 (thumb2_record_ps_dest_generic): New function.
2856 (thumb2_record_branch_misc_cntrl): New function.
2857 (thumb2_record_str_single_data): New function.
2858 (thumb2_record_ld_mem_hints): New function.
2859 (thumb2_record_ld_word): New function.
2860 (thumb2_record_lmul_lmla_div): New function.
2861 (thumb2_record_decode_insn_handler): New function.
2862 (decode_insn): Add thumb32 instruction handlers.
2864 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
2866 * arm-linux-tdep.c: Include "record-full.h" and "linux-record.h".
2867 (struct arm_linux_record_tdep): Declare.
2868 (arm_canonicalize_syscall): New function.
2869 (arm_all_but_pc_registers_record): New function.
2870 (arm_linux_syscall_record): New function.
2871 (arm_linux_init_abi): Add syscall recording constructs.
2872 * arm-tdep.c (thumb_record_ldm_stm_swi): Update thumb syscall
2873 decoding. (arm_record_coproc_data_proc): Update arm syscall
2875 * arm-tdep.h (struct gdbarch_tdep) <arm_swi_record>: Remove.
2876 <arm_syscall_record>: New field.
2877 * configure.tgt (arm*-*-linux*): Add linux-record.o to
2880 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
2882 * arm-tdep.c (thumb_record_misc): Update to use sp as base
2883 register for push instruction recording.
2885 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
2887 * arm-tdep.c (thumb_record_misc): Update to correct logical
2888 error while recording ldm, ldmia and pop instructions.
2890 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
2892 * arm-tdep.c (struct arm_mem_r) <addr>: Change type to uint32_t.
2894 2014-01-15 Pedro Alves <palves@redhat.com>
2896 * go32-nat.c (go32_open, go32_close, go32_attach, go32_detach)
2897 (go32_resume, go32_fetch_registers, store_register)
2898 (go32_store_registers, go32_prepare_to_store)
2899 (go32_xfer_memory, go32_files_info, go32_kill_inferior)
2900 (go32_create_inferior, go32_can_run, go32_terminal_init)
2901 (go32_terminal_inferior, go32_terminal_ours): Delete forward
2904 2014-01-15 Tom Tromey <tromey@redhat.com>
2906 * target.h (async_callback_ftype): New typedef.
2907 (struct target_ops) <to_async>: Use it.
2909 2014-01-15 Joel Brobecker <brobecker@adacore.com>
2911 * python/py-value.c (get_field_type): Remove unnecessary curly
2912 braces for single-statement if block.
2914 2014-01-15 Joel Brobecker <brobecker@adacore.com>
2916 * python/py-type.c (convert_field): Add missing empty line
2919 2014-01-14 Doug Evans <dje@google.com>
2921 * symfile.h (expand_symtabs_matching): Renamed from
2922 expand_partial_symbol_names. Update prototype.
2923 (map_symbol_filenames): Renamed from map_partial_symbol_filenames.
2924 * symfile.c (expand_symtabs_matching): Renamed from
2925 expand_partial_symbol_names. New args file_matcher, kind.
2926 Rename arg fun to symbol_matcher.
2927 (map_symbol_filenames): Renamed from map_partial_symbol_filenames.
2928 * ada-lang.c (ada_complete_symbol_matcher): Renamed from
2929 ada_expand_partial_symbol_name.
2930 (ada_make_symbol_completion_list): Update to call
2931 expand_symtabs_matching.
2932 (ada_add_global_exceptions): Call expand_symtabs_matching.
2933 * mi/mi-cmd-file.c (mi_cmd_file_list_exec_source_files): Update to
2934 call map_symbol_filenames.
2935 * symtab.c (sources_info): Update to call map_symbol_filenames.
2936 (search_symbols): Call expand_symtabs_matching.
2937 (symbol_completion_matcher): Renamed from expand_partial_symbol_name.
2938 (default_make_symbol_completion_list_break_on): Update to call
2939 expand_symtabs_matching.
2940 (make_source_files_completion_list): Update to call
2941 map_symbol_filenames.
2943 2014-01-14 Doug Evans <dje@google.com>
2945 * symfile.h (expand_symtabs_file_matcher_ftype): New typedef.
2946 (expand_symtabs_symbol_matcher_ftype): New typedef.
2947 (quick_symbol_functions.expand_symtabs_matching): Update to use.
2948 expand_symtabs_file_matcher_ftype, expand_symtabs_symbol_matcher_ftype.
2949 * symfile.c (expand_partial_symbol_names): Update to use
2950 expand_symtabs_symbol_matcher_ftype.
2951 * dwarf2read.c (dw2_expand_symtabs_matching): Update to use
2952 expand_symtabs_file_matcher_ftype, expand_symtabs_symbol_matcher_ftype.
2953 Arg name_matcher renamed to symbol_matcher.
2954 * psymtab.c (recursively_search_psymtabs): Update to use
2955 expand_symtabs_symbol_matcher_ftype. Arg name_matcher renamed to
2957 (expand_symtabs_matching_via_partial): Update to use
2958 expand_symtabs_file_matcher_ftype, expand_symtabs_symbol_matcher_ftype.
2959 Arg name_matcher renamed to symbol_matcher.
2961 2014-01-14 Doug Evans <dje@google.com>
2963 * psymtab.c (expand_partial_symbol_names): Delete, moved to symfile.c.
2964 (map_partial_symbol_filenames): Ditto.
2965 * psymtab.h (expand_partial_symbol_names): Delete, moved to symfile.h.
2966 (map_partial_symbol_filenames): Ditto.
2967 * symfile.c (expand_partial_symbol_names): Moved here from psymtab.c.
2968 (map_partial_symbol_filenames): Ditto.
2969 * symfile.h (expand_partial_symbol_names): Moved here from psymtab.h.
2970 (map_partial_symbol_filenames): Ditto.
2971 * symtab.c: Delete #include "psymtab.h".
2973 2014-01-14 Pedro Alves <palves@redhat.com>
2974 Tom Tromey <tromey@redhat.com>
2976 * infrun.c (use_displaced_stepping): Use find_record_target
2977 instead of RECORD_IS_USED.
2978 (adjust_pc_after_break): Use record_full_is_used instead of
2980 * record-btrace.c (record_btrace_open): Call record_preopen
2981 instead of checking RECORD_IS_USED.
2982 * record-full.c (record_full_shortname)
2983 (record_full_core_shortname): New globals.
2984 (record_full_is_used): New function.
2985 (find_full_open): Call record_preopen instead of checking
2987 (init_record_full_ops): Set the target's shortname to
2988 record_full_shortname.
2989 (init_record_full_core_ops): Set the target's shortname to
2990 record_full_core_shortname.
2991 * record-full.h (record_full_is_used): Declare.
2992 * record.c (find_record_target): Make extern.
2993 (record_preopen): New function.
2994 * record.h (RECORD_IS_USED): Delete macro.
2995 (find_record_target, record_preopen): Declare functions.
2997 2014-01-14 Yao Qi <yao@codesourcery.com>
2999 * gdbarch.sh (core_xfer_shared_libraries): Change its argument
3000 'len''s type to ULONGEST.
3001 (core_xfer_shared_libraries_aix): Likewise.
3002 * gdbarch.c, gdbarch.h: Regenerated.
3003 * i386-cygwin-tdep.c (windows_core_xfer_shared_libraries):
3004 Change type of 'len' to ULONGEST.
3005 * rs6000-aix-tdep.c (rs6000_aix_ld_info_to_xml): Likewise.
3006 (rs6000_aix_core_xfer_shared_libraries_aix): Likewise.
3008 2014-01-14 Yao Qi <yao@codesourcery.com>
3010 * common/linux-osdata.c (linux_xfer_osdata_processes): Change
3011 type of 'len' to ULONGEST.
3012 (linux_xfer_osdata_processgroups): Likewise.
3013 (linux_xfer_osdata_threads): Likewise.
3014 (linux_xfer_osdata_fds): Likewise.
3015 (linux_xfer_osdata_isockets): Likewise.
3016 (linux_xfer_osdata_shm): Likewise.
3017 (linux_xfer_osdata_sem): Likewise.
3018 (linux_xfer_osdata_msg): Likewise.
3019 (linux_common_xfer_osdata): Likewise.
3020 (struct osdata_type) <getter>: Likewise.
3021 * common/linux-osdata.h (linux_common_xfer_osdata): Update
3024 2014-01-14 Yao Qi <yao@codesourcery.com>
3026 * target.h (target_xfer_partial_ftype): Update.
3027 (struct target_ops) <to_xfer_partial>: Change 'len' type to
3029 * aix-thread.c (aix_thread_xfer_partial): Change type of
3030 argument 'len' to ULONGEST.
3031 * auxv.c (procfs_xfer_auxv): Likewise.
3032 (ld_so_xfer_auxv): Likewise.
3033 (memory_xfer_auxv): Likewise.
3034 * bfd-target.c (target_bfd_xfer_partial): Likewise.
3035 * bsd-kvm.c (bsd_kvm_xfer_partial): Likewise.
3036 * bsd-uthread.c (bsd_uthread_xfer_partial): Likewise.
3037 * corelow.c (core_xfer_partial): Likewise.
3038 * ctf.c (ctf_xfer_partial): Likewise.
3039 * darwin-nat.c (darwin_read_write_inferior): Likewise. Use
3041 (darwin_read_dyld_info): Likewise.
3042 (darwin_xfer_partial): Likewise.
3043 * exec.c (section_table_xfer_memory_partial): Likewise.
3044 (exec_xfer_partial): Likewise.
3045 * exec.h (section_table_xfer_memory_partial): Update
3047 * gnu-nat.c (gnu_xfer_memory): Likewise. Call pulongest
3048 instead of plongest.
3049 (gnu_xfer_partial): Likewise.
3050 * ia64-hpux-nat.c (ia64_hpux_xfer_memory): Likewise.
3051 (ia64_hpux_xfer_solib_got): Likewise.
3052 (ia64_hpux_xfer_partial): Likewise.
3053 * ia64-linux-nat.c (ia64_linux_xfer_partial):
3054 * inf-ptrace.c (inf_ptrace_xfer_partial):
3055 * inf-ttrace.c (inf_ttrace_xfer_partial):
3056 * linux-nat.c (linux_xfer_siginfo): Likewise.
3057 (linux_nat_xfer_partial): Likewise.
3058 (spu_enumerate_spu_ids, linux_proc_xfer_spu): Likewise.
3059 (linux_nat_xfer_osdata, linux_xfer_partial): Likewise.
3060 * monitor.c (monitor_xfer_memory): Likewise.
3061 (monitor_xfer_partial): Likewise.
3062 * procfs.c (procfs_xfer_partial): Likewise.
3063 * record-full.c (record_full_xfer_partial): Likewise.
3064 (record_full_core_xfer_partial): Likewise.
3065 * remote-sim.c (gdbsim_xfer_memory): Likewise. Call pulongest
3066 instead of plongest.
3067 (gdbsim_xfer_partial): Likewise.
3068 * remote.c (remote_xfer_partial): Likewise.
3069 * rs6000-aix-tdep.c (rs6000_aix_ld_info_to_xml): Likewise.
3070 * rs6000-aix-tdep.h (rs6000_aix_ld_info_to_xml): Update
3072 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
3073 (rs6000_xfer_shared_libraries): Likewise.
3074 * sol-thread.c (sol_thread_xfer_partial): Likewise.
3075 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
3076 (sparc_xfer_partial): Likewise.
3077 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise.
3078 (spu_xfer_partial): Likewise.
3079 * spu-multiarch.c (spu_xfer_partial): Likewise.
3080 * target.c (target_read_live_memory): Likewise.
3081 (memory_xfer_live_readonly_partial): Likewise.
3082 (memory_xfer_partial, memory_xfer_partial_1): Likewise.
3083 (target_xfer_partial, default_xfer_partial): Likewise.
3084 (current_xfer_partial): Likewise.
3085 * tracepoint.c (tfile_xfer_partial): Likewise.
3086 * windows-nat.c (windows_xfer_memory): Likewise. Call
3087 pulongest instead of plongest.
3088 (windows_xfer_partial): Likewise.
3089 (windows_xfer_shared_libraries): Likewise.
3091 2014-01-14 Yao Qi <yao@codesourcery.com>
3093 * rs6000-nat.c (rs6000_xfer_shared_libraries): Use
3094 target_xfer_partial_ftype.
3096 2014-01-13 Siva Chandra Reddy <sivachandra@google.com>
3100 * valops.c (value_struct_elt_bitpos): New function
3101 * py-type.c (convert_field): Set 'name' attribute of a gdb.Field
3102 object to 'None' if the field name is an empty string ("").
3103 * python/py-value.c (valpy_getitem): Use 'bitpos' and 'type'
3104 attribute to look for a field when 'name' is 'None'.
3105 (get_field_type): New function
3107 2014-01-13 Doug Evans <dje@google.com>
3110 * dwarf2read.c (dwarf2_get_dwz_file): Call gdb_bfd_record_inclusion.
3111 (try_open_dwop_file): Ditto.
3112 * gdb_bfd.c: #include "vec.h".
3113 (bfdp): New typedef.
3114 (struct gdb_bfd_data): New member included_bfds.
3115 (gdb_bfd_unref): Unref all included bfds.
3116 (gdb_bfd_record_inclusion): New function.
3117 * gdb_bfd.h (gdb_bfd_record_inclusion): Declare.
3119 2014-01-13 Tom Tromey <tromey@redhat.com>
3121 * gdbcore.h (deprecated_core_resize_section_table): Remove.
3123 2014-01-13 Tom Tromey <tromey@redhat.com>
3125 * defs.h (use_windows): Remove.
3126 * gdb.c (main): Update.
3127 * main.c (captured_main, gdb_main): Update.
3128 * main.h (struct captured_main_args) <use_windows>: Remove.
3129 * top.c (use_windows): Remove.
3131 2014-01-13 Tom Tromey <tromey@redhat.com>
3133 * defs.h (deprecated_flush_hook): Remove.
3135 2014-01-13 Jan Kratochvil <jan.kratochvil@redhat.com>
3138 * linux-thread-db.c (try_thread_db_load): Add parameter
3139 check_auto_load_safe. Move here the file_is_auto_load_safe call.
3140 (try_thread_db_load_from_pdir_1): Move it there from here.
3141 (try_thread_db_load_from_sdir): Update caller.
3142 (try_thread_db_load_from_dir): Move it there from here.
3144 2014-01-13 Patrick Palka <patrick@parcs.ath.cx>
3146 * regformats/regdat.sh: Always rewrite the register file.
3148 2014-01-13 Pedro Alves <palves@redhat.com>
3150 * Makefile.in (CHECK_HEADERS): New variable.
3151 (check-headers:): New rule.
3153 2014-01-13 Tom Tromey <tromey@redhat.com>
3155 * cli/cli-setshow.c (do_set_command): Update.
3156 * defs.h (deprecated_set_hook): Remove.
3157 * top.c (deprecated_set_hook): Remove.
3159 2014-01-13 Pedro Alves <palves@redhat.com>
3161 * tracepoint.c (tfile_fetch_registers): Don't infer the PC from
3162 the tracepoint if the PC is a pseudo-register.
3164 2014-01-13 Tom Tromey <tromey@redhat.com>
3166 * defs.h (XCALLOC): Remove.
3167 * bcache.c (bcache_xmalloc): Use XCNEW, not XCALLOC.
3168 (print_bcache_statistics): Use XCNEWVEC, not XCALLOC.
3169 * dwarf2loc.c (allocate_piece_closure): Likewise.
3170 * elfread.c (elf_symfile_segments): Likewise.
3171 (elf_symfile_segments): Likewise.
3172 * gdbtypes.c (copy_type_recursive): Likewise.
3173 * i386-tdep.c (i386_gdbarch_init): Use XCNEW, not XCALLOC.
3174 * jit.c (jit_frame_sniffer): Use XCNEWVEC, not XCALLOC.
3175 * minsyms.c (prim_record_minimal_symbol_full): Use XCNEW, not
3177 * mt-tdep.c (mt_gdbarch_init): Likewise.
3178 * opencl-lang.c (allocate_lval_closure): Use XCNEWVEC, not
3180 * psymtab.c (psymbol_compare): Use XCNEW, not XCALLOC.
3181 * regcache.c (regcache_xmalloc_1): Use XCNEWVEC, not XCALLOC.
3182 * registry.c (registry_alloc_data): Likewise.
3183 * rs6000-tdep.c (rs6000_gdbarch_init): Use XCNEW, not XCALLOC.
3184 * s390-linux-tdep.c (s390_gdbarch_init): Likewise.
3185 * serial.c (serial_fdopen_ops): Likewise.
3186 * solib-aix.c (solib_aix_get_section_offsets): Use XCNEWVEC, not
3188 * spu-tdep.c (spu_gdbarch_init): Use XCNEW, not XCALLOC.
3189 * symfile.c (default_symfile_segments): Use XCNEW and XCNEWVEC,
3192 2014-01-13 Tom Tromey <tromey@redhat.com>
3194 * defs.h (XMALLOC): Remove.
3195 * avr-tdep.c (avr_gdbarch_init): Use XNEW, not XMALLOC.
3196 * bfin-tdep.c (bfin_gdbarch_init): Likewise.
3197 * cli-out.c (struct ui_out *): Likewise.
3198 * cli/cli-dump.c (add_dump_command): Likewise.
3199 (add_dump_command): Likewise.
3200 * complaints.c (get_complaints): Likewise.
3201 (find_complaint): Likewise.
3202 * dwarf2-frame.c (execute_cfa_program): Likewise.
3203 * dwarf2read.c (abbrev_table_read_table): Likewise.
3204 * gdbarch.sh: Likewise.
3205 * gdbarch.c: Rebuild.
3206 * inf-ttrace.c (inf_ttrace_add_page): Likewise.
3207 * interps.c (interp_new): Likewise.
3208 * lm32-tdep.c (lm32_gdbarch_init): Likewise.
3209 * m32r-tdep.c (m32r_gdbarch_init): Likewise.
3210 * mi/mi-console.c (mi_console_file_new): Likewise.
3211 * mi/mi-interp.c (mi_interpreter_init): Likewise.
3212 * mi/mi-out.c (mi_out_new): Likewise.
3213 * mi/mi-parse.c (mi_parse): Likewise.
3214 * microblaze-tdep.c (microblaze_gdbarch_init): Likewise.
3215 * moxie-tdep.c (moxie_gdbarch_init): Likewise.
3216 * observer.c (xalloc_observer_list_node): Likewise.
3217 * regcache.c (regcache_xmalloc_1): Likewise.
3218 * reggroups.c (reggroup_new): Likewise.
3219 (_initialize_reggroup): Likewise.
3220 * registry.c (register_data_with_cleanup): Likewise.
3221 * remote.c (remote_notif_stop_alloc_reply): Likewise.
3222 * ser-base.c (serial_ttystate): Likewise.
3223 * ser-mingw.c (make_pipe_state): Likewise.
3224 * ser-pipe.c (pipe_open): Likewise.
3225 * serial.c (serial_open): Likewise.
3226 * sh64-tdep.c (sh64_gdbarch_init): Likewise.
3227 * tui/tui-data.c (tui_alloc_generic_win_info): Likewise.
3228 (tui_alloc_win_info): Likewise.
3229 (tui_add_content_elements): Likewise.
3230 * tui/tui-file.c (tui_file_new): Likewise.
3231 * tui/tui-out.c (tui_out_new): Likewise.
3232 * ui-file.c (mem_file_new): Likewise.
3233 * ui-out.c (push_level): Likewise.
3234 (make_cleanup_ui_out_end): Likewise.
3235 (append_header_to_list): Likewise.
3236 (ui_out_new): Likewise.
3237 * user-regs.c (user_reg_add_builtin): Likewise.
3239 2014-01-13 Tom Tromey <tromey@redhat.com>
3241 * defs.h (XZALLOC): Remove.
3242 * ada-lang.c (get_ada_inferior_data): Use XCNEW, not XZALLOC.
3243 * ada-tasks.c (get_ada_tasks_pspace_data): Likewise.
3244 (get_ada_tasks_inferior_data): Likewise.
3245 * auto-load.c (get_auto_load_pspace_data): Likewise.
3246 * auxv.c (get_auxv_inferior_data): Likewise.
3247 * bfd-target.c (target_bfd_reopen): Likewise.
3248 * breakpoint.c (get_catch_syscall_inferior_data): Likewise.
3249 (deprecated_insert_raw_breakpoint): Likewise.
3250 * bsd-uthread.c (bsd_uthread_pid_to_str): Likewise.
3251 * corelow.c (core_open): Likewise.
3252 * darwin-nat.c (darwin_check_new_threads): Likewise.
3253 (darwin_attach_pid): Likewise.
3254 * dummy-frame.c (dummy_frame_push): Likewise.
3255 * dwarf2-frame.c (dwarf2_frame_cache): Likewise.
3256 * dwarf2loc.c (allocate_piece_closure): Likewise.
3257 * elfread.c (elf_symfile_segments): Likewise.
3258 * eval.c (ptrmath_type_p): Likewise.
3259 * exceptions.c (EXCEPTIONS_SIGJMP_BUF): Likewise.
3260 * gdbtypes.c (alloc_type_arch): Likewise.
3261 (alloc_type_instance): Likewise.
3262 * hppa-tdep.c (hppa_gdbarch_init): Likewise.
3263 * inf-child.c (inf_child_can_use_agent): Likewise.
3264 * inflow.c (get_inflow_inferior_data): Likewise.
3265 * infrun.c (save_infcall_suspend_state): Likewise.
3266 * jit.c (jit_reader_load): Likewise.
3267 (get_jit_objfile_data): Likewise.
3268 (get_jit_program_space_data): Likewise.
3269 (jit_object_open_impl): Likewise.
3270 (jit_symtab_open_impl): Likewise.
3271 (jit_block_open_impl): Likewise.
3272 (jit_frame_sniffer): Likewise.
3273 * linux-fork.c (add_fork): Likewise.
3274 * maint.c (make_command_stats_cleanup): Likewise.
3275 * objfiles.c (get_objfile_pspace_data): Likewise.
3276 * opencl-lang.c (struct lval_closure): Likewise.
3277 * osdata.c (osdata_start_osdata): Likewise.
3278 * progspace.c (new_address_space): Likewise.
3279 (add_program_space): Likewise.
3280 * remote-sim.c (get_sim_inferior_data): Likewise.
3281 * sh-tdep.c (sh_gdbarch_init): Likewise.
3282 * skip.c (Ignore): Likewise.
3283 (skip_delete_command): Likewise.
3284 * solib-aix.c (get_solib_aix_inferior_data): Likewise.
3285 (library_list_start_library): Likewise.
3286 (solib_aix_current_sos): Likewise.
3287 * solib-darwin.c (get_darwin_info): Likewise.
3288 (darwin_current_sos): Likewise.
3289 * solib-dsbt.c (get_dsbt_info): Likewise.
3290 * solib-ia64-hpux.c (new_so_list): Likewise.
3291 (ia64_hpux_get_solib_linkage_addr): Likewise.
3292 * solib-spu.c (append_ocl_sos): Likewise.
3293 (spu_current_sos): Likewise.
3294 * solib-svr4.c (get_svr4_info): Likewise.
3295 (svr4_keep_data_in_core): Likewise.
3296 (library_list_start_library): Likewise.
3297 (svr4_default_sos): Likewise.
3298 (svr4_read_so_list): Likewise.
3299 * solib-target.c (library_list_start_library): Likewise.
3300 (solib_target_current_sos): Likewise.
3301 * sparc-tdep.c (sparc32_gdbarch_init): Likewise.
3302 * symfile-debug.c (install_symfile_debug_logging): Likewise.
3303 * symfile.c (default_symfile_segments): Likewise.
3304 * target-descriptions.c (tdesc_data_init): Likewise.
3305 (tdesc_create_reg): Likewise.
3306 (struct tdesc_type *): Likewise.
3307 (tdesc_create_vector): Likewise.
3308 (tdesc_set_struct_size): Likewise.
3309 (struct tdesc_type *): Likewise.
3310 (tdesc_free_feature): Likewise.
3311 (tdesc_create_feature): Likewise.
3312 * windows-nat.c (windows_add_thread): Likewise.
3313 (windows_make_so): Likewise.
3314 * xml-support.c (gdb_xml_body_text): Likewise.
3315 (gdb_xml_create_parser_and_cleanup): Likewise.
3316 (xml_process_xincludes): Likewise.
3317 * xml-syscall.c (allocate_syscalls_info): Likewise.
3318 (syscall_create_syscall_desc): Likewise.
3320 2014-01-12 Sergio Durigan Junior <sergiodj@redhat.com>
3322 * i386-tdep.c (i386_stap_parse_special_token_triplet): New
3323 function, with code from i386_stap_parse_special_token.
3324 (i386_stap_parse_special_token_three_arg_disp): Likewise.
3325 (i386_stap_parse_special_token): Move code to the two functions
3328 2014-01-09 Pedro Alves <palves@redhat.com>
3329 Hui Zhu <hui@codesourcery.com>
3332 * breakpoint.c (insert_bp_location): Rename hw_bp_err_string to
3333 bp_err_string. Don't mark the location shlib_disabled if the
3334 error thrown wasn't a generic or memory error. Catch errors
3335 thrown while inserting breakpoints in overlayed code. Output
3336 error message of software breakpoints.
3337 * remote.c (remote_insert_breakpoint): If this breakpoint has
3338 target-side commands but this stub doesn't support Z0 packets,
3339 throw NOT_SUPPORTED_ERROR error.
3340 * exceptions.h (enum errors) <NOT_SUPPORTED_ERROR>: New error.
3341 * target.h (target_insert_breakpoint): Extend comment.
3342 (target_insert_hw_breakpoint): Add comment.
3344 2014-01-08 Pedro Alves <palves@redhat.com>
3346 * remote.c (remote_add_thread): Add threads silently if starting
3348 (remote_notice_new_inferior): If in all-stop, and starting up,
3349 don't call notice_new_inferior.
3350 (get_current_thread): New function, factored out from ...
3351 (add_current_inferior_and_thread): ... this. Adjust.
3352 (remote_start_remote) <all-stop>: Fetch the thread list. If we
3353 found any thread, then select the remote's current thread as GDB's
3356 2014-01-08 Joel Brobecker <brobecker@adacore.com>
3358 * NEWS: Create a new section for the next release branch.
3359 Rename the section of the current branch, now that it has
3362 2014-01-08 Joel Brobecker <brobecker@adacore.com>
3364 GDB 7.7 branch created (79301218fa0f074c5656db0ec8972a5ddcf91fb5):
3365 * version.in: Bump version to 7.7.50.DATE-cvs.
3367 2014-01-08 Yao Qi <yao@codesourcery.com>
3369 * spu-linux-nat.c (spu_symbol_file_add_from_memory): Change
3370 type of 'id' to gdb_byte. Cast 'id' to 'const char *'.
3371 (spu_xfer_partial): Cast 'buf' to 'const char *'.
3373 2014-01-08 Yao Qi <yao@codesourcery.com>
3375 * spu-linux-nat.c (spu_symbol_file_add_from_memory): Pass
3376 return value of bfd_get_filename to symbol_file_add_from_bfd.
3378 2014-01-08 Pierre Muller <muller@sourceware.org>
3381 * coff-pe-read.c (struct read_pe_section_data): Add index field.
3382 (add_pe_exported_sym): Use SECTION_DATA->INDEX for call
3383 to prim_record_mininal_symbol_and_info.
3384 (add_pe_forwarded_sym): Use known section number of forwarded symbol
3385 in call to prim_record_minimal_symbol_and_info.
3386 (read_pe_exported_syms): Set index field of section_data.
3388 2014-01-07 Andrew Pinski <apinski@cavium.com>
3390 * features/aarch64-core.xml (cpsr): Change to be 64bit.
3391 * features/aarch64.c: Regenerate.
3393 2014-01-07 Andreas Schwab <schwab@linux-m68k.org>
3395 * target.c (return_null): Define.
3396 (update_current_target): Use it instead of return_zero for
3397 functions that return a pointer.
3399 2014-01-07 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
3401 * source.c (add_path): Fix check for duplicated paths in the previously
3404 2014-01-07 Honggyu Kim <hong.gyu.kim@lge.com>
3406 * ada-lang.c: Remove duplicated include statements.
3407 * alphabsd-nat.c: Ditto.
3408 * amd64-darwin-tdep.c: Ditto.
3409 * amd64fbsd-nat.c: Ditto.
3410 * auto-load.c: Ditto.
3412 * breakpoint.c: Ditto.
3414 * fork-child.c: Ditto.
3415 * gdb_usleep.c: Ditto.
3416 * i386-darwin-tdep.c: Ditto.
3417 * i386fbsd-nat.c: Ditto.
3419 * inferior.c: Ditto.
3421 * linux-nat.c: Ditto.
3422 * linux-tdep.c: Ditto.
3423 * m68kbsd-nat.c: Ditto.
3424 * m68klinux-nat.c: Ditto.
3425 * microblaze-tdep.c: Ditto.
3426 * mips-linux-tdep.c: Ditto.
3427 * mn10300-tdep.c: Ditto.
3428 * nto-tdep.c: Ditto.
3429 * opencl-lang.c: Ditto.
3431 * printcmd.c: Ditto.
3432 * regcache.c: Ditto.
3433 * remote-m32r-sdi.c: Ditto.
3437 * tilegx-linux-nat.c: Ditto.
3438 * tilegx-tdep.c: Ditto.
3439 * tracepoint.c: Ditto.
3441 * vaxbsd-nat.c: Ditto.
3442 * windows-nat.c: Ditto.
3443 * xtensa-tdep.c: Ditto.
3445 2014-01-07 Yao Qi <yao@codesourcery.com>
3447 * spu-linux-nat.c (_initialize_spu_nat): Declare.
3449 2014-01-07 Yao Qi <yao@codesourcery.com>
3450 Joel Brobecker <brobecker@adacore.com>
3452 * aix-thread.c (pdc_read_regs): Cast parameter to uintptr_t.
3453 (pdc_write_regs): Likewise.
3454 (fetch_regs_kernel_thread): Likewise.
3455 (store_regs_kernel_thread): Likewise.
3457 2014-01-07 Joel Brobecker <brobecker@adacore.com>
3459 * ada-varobj.c (ada_varobj_adjust_for_child_access): Convert
3460 tagged type objects to their actual type.
3462 2014-01-07 Joel Brobecker <brobecker@adacore.com>
3464 * ada-valprint.c (print_field_values): Add "language" parameter.
3465 Update calls to print_field_values and print_variant_part.
3466 Pass new parameter "language" in call to val_print instead
3467 of "current_language". Replace call to ada_val_print by call
3469 (print_variant_part): Add "language" parameter.
3470 (ada_val_print_struct_union): Update call to print_field_values.
3472 2014-01-07 Joel Brobecker <brobecker@adacore.com>
3474 * ada-valprint.c (ui_memcpy): Delete.
3475 (ada_print_floating): Update documentation. Add empty line
3476 between between function documentation and implementation.
3477 Delete variable "buffer". Use ui_file_xstrdup in place of
3478 ui_file_put. Minor adjustments following this change.
3480 2014-01-07 Joel Brobecker <brobecker@adacore.com>
3482 * ada-valprint.c (ada_val_print_string): New function,
3483 extracted from ada_val_print_array.
3484 (ada_val_print_array): Replace extracted code by call
3485 to ada_val_print_string followed by a return. Move
3486 "else" branch to the function's top block.
3488 2014-01-07 Joel Brobecker <brobecker@adacore.com>
3490 * ada-valprint.c (ada_val_print_array): Move implementation
3491 down. Rename parameter "offset" and "val" into "offset_aligned"
3492 and "original_value" respectively. Add parameter "offset".
3494 2014-01-07 Joel Brobecker <brobecker@adacore.com>
3496 * ada-valprint.c (ada_val_print_ref): Rewrite by mostly
3497 re-organizing the code. Change the "???" message printed
3498 when target type is a TYPE_CODE_UNDEF into
3499 "<ref to undefined type>".
3501 2014-01-07 Joel Brobecker <brobecker@adacore.com>
3503 * ada-valprint.c (print_record): Delete, implementation inlined...
3504 (ada_val_print_struct_union): ... here. Remove call to
3505 ada_check_typedef in inlined implementation.
3507 2014-01-07 Joel Brobecker <brobecker@adacore.com>
3509 * ada-valprint.c (ada_val_print_gnat_array): New function,
3510 extracted from ada_val_print_1;
3511 (ada_val_print_ptr, ada_val_print_num, ada_val_print_enum)
3512 (ada_val_print_flt, ada_val_print_struct_union)
3513 (ada_val_print_ref): Likewise.
3514 (ada_val_print_1): Delete variables i and elttype.
3515 Replace extracted-out code by call to corresponding
3518 2014-01-07 Joel Brobecker <brobecker@adacore.com>
3520 * ada-valprint.c (ada_val_print_1): Remove call to gdb_flush.
3522 2014-01-07 Joel Brobecker <brobecker@adacore.com>
3524 * ada-valprint.c (ada_val_print_1): Replace calls to
3525 ada_val_print_1 by calls to val_print.
3527 2014-01-07 Joel Brobecker <brobecker@adacore.com>
3529 * ada-valprint.c (ada_val_print_1): Add parameter "language".
3530 Update calls to self accordingly. Replace calls to c_val_print
3531 by calls to val_print.
3533 2014-01-07 Joel Brobecker <brobecker@adacore.com>
3535 * ada-valprint.c (print_record): Delete declaration.
3536 (adjust_type_signedness, ada_val_print_1): Likewise.
3537 (ada_val_print): Move function implementation down.
3538 (print_variant_part, print_field_values, print_record):
3539 Move function implementation up.
3541 2014-01-07 Joel Brobecker <brobecker@adacore.com>
3543 * python/py-type.c (typy_get_name): New function.
3544 (type_object_getset): Add entry for attribute "name".
3545 * NEWS: Add entry mentioning this new attribute.
3547 2014-01-07 Yao Qi <yao@codesourcery.com>
3549 * gnu-nat.c (set_exceptions_cmd): Remove an empty body 'if'
3552 2014-01-07 Yao Qi <yao@codesourcery.com>
3554 * gnu-nat.c (info_port_rights): Add qualifier const to
3557 2014-01-07 Yao Qi <yao@codesourcery.com>
3559 * gnu-nat.c (trace_me): Use 'void' for empty argument list.
3561 2014-01-07 Yao Qi <yao@codesourcery.com>
3563 * gnu-nat.c (make_inf) Update declaration.
3564 (make_inf): Make it static.
3565 (inf_set_traced): Likewise.
3566 (inf_port_to_thread, inf_task_died_status): Likewise.
3568 2014-01-07 Yao Qi <yao@codesourcery.com>
3570 * gnu-nat.c (inf_tid_to_proc): Remove declaration.
3572 2014-01-07 Yao Qi <yao@codesourcery.com>
3574 * gnu-nat.c (_initialize_gnu_nat): Declare.
3576 2014-01-07 Yao Qi <yao@codesourcery.com>
3578 * gdbarch.sh (byte_order, byte_order_for_code): Change type to
3580 (struct gdbarch_info) <byte_order>: Change type to
3582 <byte_order_for_code>: Likewise.
3583 * gdbarch.c, gdbarch.h: Regenerated.
3585 2014-01-06 Sasha Smundak <asmundak@google.com>
3587 * jit.c: (jit_reader_load_command): Fix JIT reader path creation.
3589 2014-01-06 Tom Tromey <tromey@redhat.com>
3591 * doublest.c (convert_doublest_to_floatformat): Use const, not
3593 * somread.c (som_symtab_read): Likewise.
3595 2014-01-07 Hui Zhu <hui@codesourcery.com>
3597 * gdb_bfd.c (gdb_bfd_stash_filename): Removed.
3598 (gdb_bfd_open): Removed gdb_bfd_stash_filename.
3599 (gdb_bfd_fopen): Ditto.
3600 (gdb_bfd_openr): Ditto.
3601 (gdb_bfd_openw): Ditto.
3602 (gdb_bfd_openr_iovec): Ditto.
3603 (gdb_bfd_fdopenr): Ditto.
3604 * gdb_bfd.h (gdb_bfd_stash_filename): Removed.
3605 * solib-aix.c (solib_aix_bfd_open): Alloc object_bfd->filename
3607 * solib-darwin.c (darwin_bfd_open): Alloc res->filename
3609 * symfile-mem.c (symbol_file_add_from_memory): Removed
3610 gdb_bfd_stash_filename.
3612 2014-01-03 Doug Evans <dje@google.com>
3614 * nat/linux-waitpid.c (linux_debug): Remove extraneous \n from
3617 2014-01-01 Joel Brobecker <brobecker@adacore.com>
3619 Update year range in copyright notice of all files.
3621 2014-01-01 Joel Brobecker <brobecker@adacore.com>
3623 * top.c (print_gdb_version): Set copyright year to 2014.
3625 2014-01-01 Joel Brobecker <brobecker@adacore.com>
3627 * config/djgpp/fnchange.lst: Add entry for gdb/ChangeLog-2013.
3629 For older changes see ChangeLog-2013.
3635 version-control: never