1 2014-02-19 Tom Tromey <tromey@redhat.com>
3 * target-delegates.c: Rebuild.
4 * target.c (update_current_target): Don't inherit or default
5 to_get_trace_state_variable_value.
6 * target.h (struct target_ops)
7 <to_get_trace_state_variable_value>: Use TARGET_DEFAULT_RETURN.
9 2014-02-19 Tom Tromey <tromey@redhat.com>
11 * target-delegates.c: Rebuild.
12 * target.c (update_current_target): Don't inherit or default
14 * target.h (struct target_ops): Use TARGET_DEFAULT_RETURN.
16 2014-02-19 Tom Tromey <tromey@redhat.com>
18 * target-delegates.c: Rebuild.
19 * target.c (update_current_target): Don't inherit or default
21 * target.h (struct target_ops) <to_trace_stop>: Use
22 TARGET_DEFAULT_NORETURN.
24 2014-02-19 Tom Tromey <tromey@redhat.com>
26 * target-delegates.c: Rebuild.
27 * target.c (update_current_target): Don't inherit or default
28 to_get_tracepoint_status.
29 * target.h (struct target_ops) <to_get_tracepoint_status>: Use
30 TARGET_DEFAULT_NORETURN.
32 2014-02-19 Tom Tromey <tromey@redhat.com>
34 * target-delegates.c: Rebuild.
35 * target.c (update_current_target): Don't inherit or default
37 * target.h (struct target_ops) <to_get_trace_status>: Use
38 TARGET_DEFAULT_RETURN.
40 2014-02-19 Tom Tromey <tromey@redhat.com>
42 * target-delegates.c: Rebuild.
43 * target.c (update_current_target): Don't inherit or default
45 * target.h (struct target_ops) <to_trace_start>: Use
46 TARGET_DEFAULT_NORETURN.
48 2014-02-19 Tom Tromey <tromey@redhat.com>
50 * target-delegates.c: Rebuild.
51 * target.c (update_current_target): Don't inherit or default
52 to_trace_set_readonly_regions.
53 * target.h (struct target_ops) <to_trace_set_readonly_regions>:
54 Use TARGET_DEFAULT_NORETURN.
56 2014-02-19 Tom Tromey <tromey@redhat.com>
58 * target-delegates.c: Rebuild.
59 * target.c (update_current_target): Don't inherit or default
60 to_disable_tracepoint.
61 * target.h (struct target_ops) <to_disable_tracepoint>: Use
62 TARGET_DEFAULT_NORETURN.
64 2014-02-19 Tom Tromey <tromey@redhat.com>
66 * target-delegates.c: Rebuild.
67 * target.c (update_current_target): Don't inherit or default
69 * target.h (struct target_ops) <to_enable_tracepoint>: Use
70 TARGET_DEFAULT_NORETURN.
72 2014-02-19 Tom Tromey <tromey@redhat.com>
74 * target-delegates.c: Rebuild.
75 * target.c (update_current_target): Don't inherit or default
76 to_download_trace_state_variable.
77 * target.h (struct target_ops) <to_download_trace_state_variable>:
78 Use TARGET_DEFAULT_NORETURN.
80 2014-02-19 Tom Tromey <tromey@redhat.com>
82 * target-delegates.c: Rebuild.
83 * target.c (update_current_target): Don't inherit or default
84 to_can_download_tracepoint.
85 * target.h (struct target_ops) <to_can_download_tracepoint>: Use
86 TARGET_DEFAULT_RETURN.
88 2014-02-19 Tom Tromey <tromey@redhat.com>
90 * target-delegates.c: Rebuild.
91 * target.c (update_current_target): Don't inherit or default
92 to_download_tracepoint.
93 * target.h (struct target_ops) <to_download_tracepoint>: Use
94 TARGET_DEFAULT_NORETURN.
96 2014-02-19 Tom Tromey <tromey@redhat.com>
98 * target-delegates.c: Rebuild.
99 * target.c (update_current_target): Don't inherit or default
101 * target.h (struct target_ops) <to_trace_init>: Use
102 TARGET_DEFAULT_RETURN.
104 2014-02-19 Tom Tromey <tromey@redhat.com>
106 * target-delegates.c: Rebuild.
107 * target.c (update_current_target): Don't inherit or default
108 to_supports_string_tracing.
109 * target.h (struct target_ops) <to_supports_string_tracing>: Use
110 TARGET_DEFAULT_RETURN.
112 2014-02-19 Tom Tromey <tromey@redhat.com>
114 * target-delegates.c: Rebuild.
115 * target.c (update_current_target): Don't inherit or default
116 to_supports_enable_disable_tracepoint.
117 * target.h (struct target_ops)
118 <to_supports_enable_disable_tracepoint>: Use
119 TARGET_DEFAULT_RETURN.
121 2014-02-19 Tom Tromey <tromey@redhat.com>
123 * target-delegates.c: Rebuild.
124 * target.c (update_current_target): Don't inherit or default
125 to_supports_multi_process.
126 * target.h (struct target_ops) <to_supports_multi_process>: Use
127 TARGET_DEFAULT_RETURN.
129 2014-02-19 Tom Tromey <tromey@redhat.com>
131 * target-delegates.c: Rebuild.
132 * target.c (update_current_target): Don't inherit or default
133 to_get_ada_task_ptid.
134 * target.h (struct target_ops) <to_get_ada_task_ptid>: Use
137 2014-02-19 Tom Tromey <tromey@redhat.com>
139 * target-delegates.c: Rebuild.
140 * target.c (update_current_target): Don't inherit or default
141 to_thread_architecture.
142 * target.h (struct target_ops) <to_thread_architecture>: Use
145 2014-02-19 Tom Tromey <tromey@redhat.com>
147 * target-delegates.c: Rebuild.
148 * target.c (update_current_target): Don't inherit or default
149 to_execution_direction.
150 * target.h (struct target_ops) <to_execution_direction>: Use
153 2014-02-19 Tom Tromey <tromey@redhat.com>
155 * target-delegates.c: Rebuild.
156 * target.c (update_current_target): Don't inherit or default
157 to_can_execute_reverse.
158 * target.h (struct target_ops) <to_can_execute_reverse>: Use
159 TARGET_DEFAULT_RETURN.
160 (target_can_execute_reverse): Unconditionally delegate.
162 2014-02-19 Tom Tromey <tromey@redhat.com>
164 * target-delegates.c: Rebuild.
165 * target.c (update_current_target): Don't inherit or default
167 (dummy_goto_bookmark): Remove.
168 (init_dummy_target): Don't inherit or default to_goto_bookmark.
169 * target.h (struct target_ops) <to_goto_bookmark>: Use
170 TARGET_DEFAULT_NORETURN.
172 2014-02-19 Tom Tromey <tromey@redhat.com>
174 * target-delegates.c: Rebuild.
175 * target.c (update_current_target): Don't inherit or default
177 (dummy_get_bookmark): Remove.
178 (init_dummy_target): Don't inherit or default to_get_bookmark.
179 * target.h (struct target_ops) <to_get_bookmark>: Use
180 TARGET_DEFAULT_NORETURN
182 2014-02-19 Tom Tromey <tromey@redhat.com>
184 * target-delegates.c: Rebuild.
185 * target.c (update_current_target): Don't inherit or default
186 to_make_corefile_notes.
187 (init_dummy_target): Don't initialize to_make_corefile_notes.
188 * target.h (struct target_ops) <to_make_corefile_notes>: Use
191 2014-02-19 Tom Tromey <tromey@redhat.com>
193 * target-delegates.c: Rebuild.
194 * target.c (update_current_target): Don't inherit or default
195 to_find_memory_regions.
196 (init_dummy_target): Don't initialize to_find_memory_regions.
197 * target.h (struct target_ops) <to_find_memory_regions>: Use
200 2014-02-19 Tom Tromey <tromey@redhat.com>
202 * target-delegates.c: Rebuild.
203 * target.c (update_current_target): Don't inherit or default
205 * target.h (struct target_ops) <to_log_command>: Use
206 TARGET_DEFAULT_IGNORE.
207 (target_log_command): Unconditionally delegate.
209 2014-02-19 Tom Tromey <tromey@redhat.com>
211 * target-delegates.c: Rebuild.
212 * target.c (update_current_target): Don't inherit or default
214 * target.h (struct target_ops) <to_pid_to_exec_file>: Use
215 TARGET_DEFAULT_RETURN.
217 2014-02-19 Tom Tromey <tromey@redhat.com>
219 * target-delegates.c: Rebuild.
220 * target.c (update_current_target): Don't inherit or default
222 (target_thread_name): Unconditionally delegate.
223 * target.h (struct target_ops) <to_thread_name>: Use
224 TARGET_DEFAULT_RETURN.
226 2014-02-19 Tom Tromey <tromey@redhat.com>
228 * target-delegates.c: Rebuild.
229 * target.c (update_current_target): Don't inherit or default
230 to_extra_thread_info.
231 * target.h (struct target_ops) <to_extra_thread_info>: Use
232 TARGET_DEFAULT_RETURN.
234 2014-02-19 Tom Tromey <tromey@redhat.com>
236 * target-delegates.c: Rebuild.
237 * target.c (update_current_target): Don't inherit or default
239 * target.h (struct target_ops) <to_has_exited>: Use
240 TARGET_DEFAULT_RETURN..
242 2014-02-19 Tom Tromey <tromey@redhat.com>
244 * target-delegates.c: Rebuild.
245 * target.c (update_current_target): Don't inherit or default
246 to_set_syscall_catchpoint.
247 (return_one): Remove.
248 * target.h (struct target_ops) <to_set_syscall_catchpoint>: Use
249 TARGET_DEFAULT_RETURN.
251 2014-02-19 Tom Tromey <tromey@redhat.com>
253 * target-delegates.c: Rebuild.
254 * target.c (update_current_target): Don't inherit or default
255 to_insert_exec_catchpoint.
256 * target.h (struct target_ops) <to_insert_exec_catchpoint>: Use
257 TARGET_DEFAULT_RETURN.
259 2014-01-08 Tom Tromey <tromey@redhat.com>
261 * target-delegates.c: Rebuild.
262 * target.c (update_current_target): Don't inherit or default
263 to_insert_exec_catchpoint.
264 * target.h (struct target_ops) <to_insert_exec_catchpoint>: Use
265 TARGET_DEFAULT_RETURN.
267 2014-02-19 Tom Tromey <tromey@redhat.com>
269 * target-delegates.c: Rebuild.
270 * target.c (update_current_target): Don't inherit or default
271 to_remove_vfork_catchpoint.
272 * target.h (struct target_ops) <to_remove_vfork_catchpoint>: Use
273 TARGET_DEFAULT_RETURN.
275 2014-02-19 Tom Tromey <tromey@redhat.com>
277 * target-delegates.c: Rebuild.
278 * target.c (update_current_target): Don't inherit or default
279 to_insert_vfork_catchpoint.
280 * target.h (struct target_ops) <to_insert_vfork_catchpoint>: Use
281 TARGET_DEFAULT_RETURN.
283 2014-02-19 Tom Tromey <tromey@redhat.com>
285 * target-delegates.c: Rebuild.
286 * target.c (update_current_target): Don't inherit or default
287 to_remove_fork_catchpoint.
288 * target.h (struct target_ops) <to_remove_fork_catchpoint>: Use
289 TARGET_DEFAULT_RETURN.
291 2014-02-19 Tom Tromey <tromey@redhat.com>
293 * target-delegates.c: Rebuild.
294 * target.c (update_current_target): Don't inherit or default
295 to_insert_fork_catchpoint.
296 * target.h (struct target_ops) <to_insert_fork_catchpoint>: Use
297 TARGET_DEFAULT_RETURN.
299 2014-02-19 Tom Tromey <tromey@redhat.com>
301 * target-delegates.c: Rebuild.
302 * target.c (update_current_target): Don't inherit or default
303 to_post_startup_inferior.
304 * target.h (struct target_ops) <to_post_startup_inferior>: Use
305 TARGET_DEFAULT_IGNORE.
307 2014-02-19 Tom Tromey <tromey@redhat.com>
309 * target-delegates.c: Rebuild.
310 * target.c (update_current_target): Don't inherit or default
312 * target.h (struct target_ops) <to_load>: Use
313 TARGET_DEFAULT_NORETURN.
315 2014-02-19 Tom Tromey <tromey@redhat.com>
317 * target-delegates.c: Rebuild.
318 * target.c (update_current_target): Don't inherit or default
320 * target.h (struct target_ops) <to_terminal_info>: Use
323 2014-02-19 Tom Tromey <tromey@redhat.com>
325 * target-delegates.c: Rebuild.
326 * target.c (update_current_target): Don't inherit or default
327 to_terminal_save_ours.
328 * target.h (struct target_ops) <to_terminal_save_ours>: Use
329 TARGET_DEFAULT_IGNORE.
331 2014-02-19 Tom Tromey <tromey@redhat.com>
333 * target-delegates.c: Rebuild.
334 * target.c (update_current_target): Don't inherit or default
336 * target.h (struct target_ops) <to_terminal_ours>: Use
337 TARGET_DEFAULT_IGNORE.
339 2014-02-19 Tom Tromey <tromey@redhat.com>
341 * target-delegates.c: Rebuild.
342 * target.c (update_current_target): Don't inherit or default
343 to_terminal_ours_for_output.
344 * target.h (struct target_ops) <to_terminal_ours_for_output>: Use
345 TARGET_DEFAULT_IGNORE.
347 2014-02-19 Tom Tromey <tromey@redhat.com>
349 * target-delegates.c: Rebuild.
350 * target.c (update_current_target): Don't inherit or default
351 to_terminal_inferior.
352 * target.h (struct target_ops) <to_terminal_inferior>: Use
353 TARGET_DEFAULT_IGNORE.
355 2014-02-19 Tom Tromey <tromey@redhat.com>
357 * target-delegates.c: Rebuild.
358 * target.c (update_current_target): Don't inherit or default
360 * target.h (struct target_ops) <to_terminal_init>: Use
361 TARGET_DEFAULT_IGNORE.
363 2014-02-19 Tom Tromey <tromey@redhat.com>
365 * target-delegates.c: Rebuild.
366 * target.c (update_current_target): Don't inherit or default
367 to_can_accel_watchpoint_condition.
368 * target.h (struct target_ops)
369 <to_can_accel_watchpoint_condition>: Use TARGET_DEFAULT_RETURN.
371 2014-02-19 Tom Tromey <tromey@redhat.com>
373 * target-delegates.c: Rebuild.
374 * target.c (update_current_target): Don't inherit or default
375 to_region_ok_for_hw_watchpoint.
376 * target.h (struct target_ops) <to_region_ok_for_hw_watchpoint>:
377 Use TARGET_DEFAULT_FUNC.
379 2014-02-19 Tom Tromey <tromey@redhat.com>
381 * target-delegates.c: Rebuild.
382 * target.c (update_current_target): Don't inherit or default
383 to_watchpoint_addr_within_range.
384 * target.h (struct target_ops) <to_watchpoint_addr_within_range>:
385 Use TARGET_DEFAULT_FUNC.
387 2014-02-19 Tom Tromey <tromey@redhat.com>
389 * target-delegates.c: Rebuild.
390 * target.c (update_current_target): Don't inherit or default
391 to_remove_watchpoint.
392 * target.h (struct target_ops) <to_remove_watchpoint>: Use
393 TARGET_DEFAULT_NORETURN.
395 2014-02-19 Tom Tromey <tromey@redhat.com>
397 * target-delegates.c: Rebuild.
398 * target.c (update_current_target): Don't inherit or default
399 to_insert_watchpoint.
400 * target.h (struct target_ops) <to_insert_watchpoint>: Use
401 TARGET_DEFAULT_RETURN.
403 2014-02-19 Tom Tromey <tromey@redhat.com>
405 * target-delegates.c: Rebuild.
406 * target.c (update_current_target): Don't inherit or default
407 to_remove_hw_breakpoint.
408 * target.h (struct target_ops) <to_remove_hw_breakpoint>: Use
409 TARGET_DEFAULT_RETURN.
411 2014-02-19 Tom Tromey <tromey@redhat.com>
413 * target-delegates.c: Rebuild.
414 * target.c (update_current_target): Don't inherit or default
415 to_insert_hw_breakpoint.
416 * target.h (struct target_ops) <to_insert_hw_breakpoint>: Use
417 TARGET_DEFAULT_RETURN.
419 2014-02-19 Tom Tromey <tromey@redhat.com>
421 * target-delegates.c: Rebuild.
422 * target.c (update_current_target): Don't inherit or default
423 to_can_use_hw_breakpoint.
424 * target.h (struct target_ops) <to_can_use_hw_breakpoint>: Use
425 TARGET_DEFAULT_RETURN.
427 2014-02-19 Tom Tromey <tromey@redhat.com>
429 * target-delegates.c: Rebuild.
430 * target.c (update_current_target): Don't inherit or default
432 * target.h (struct target_ops) <to_files_info>: Use
433 TARGET_DEFAULT_IGNORE.
435 2014-02-19 Tom Tromey <tromey@redhat.com>
437 * target-delegates.c: Rebuild.
438 * target.c (update_current_target): Don't inherit or default
440 * target.h (struct target_ops) <to_store>: Use
441 TARGET_DEFAULT_NORETURN.
443 2014-02-19 Tom Tromey <tromey@redhat.com>
445 * target-delegates.c: Rebuild.
446 * target.c (update_current_target): Don't inherit or default
448 * target.h (struct target_ops) <to_post_attach>: Use
449 TARGET_DEFAULT_IGNORE.
451 2014-02-19 Tom Tromey <tromey@redhat.com>
453 * target-delegates.c: Rebuild.
454 * target.c (update_current_target): Don't inherit or default
456 (default_rcmd): New function.
457 (do_monitor_command): Unconditionally delegate.
458 * target.h (struct target_ops) <to_rmcd>: Use
461 2014-02-19 Tom Tromey <tromey@redhat.com>
463 * target-delegates.c: Rebuild.
464 * target.c (init_dummy_target): Don't initialize to_attach.
465 (target_attach): Unconditionally delegate.
466 * target.h (struct target_ops) <to_attach>: Use
469 2014-02-19 Tom Tromey <tromey@redhat.com>
471 * target-delegates.c: Rebuild.
472 * target.c (target_detach): Unconditionally delegate.
473 (init_dummy_target): Don't initialize to_detach.
474 * target.h (struct target_ops) <to_detach>: Use
475 TARGET_DEFAULT_IGNORE.
477 2014-02-19 Tom Tromey <tromey@redhat.com>
479 * target.h (struct target_ops) <to_augmented_libraries_svr4_read>:
481 (target_augmented_libraries_svr4_read): Add argument.
482 * target.c (update_current_target): Update.
483 * remote.c (remote_augmented_libraries_svr4_read): Add 'self'
486 2014-02-19 Tom Tromey <tromey@redhat.com>
488 * target.h (struct target_ops) <to_call_history_range>: Add
490 * target.c (target_call_history_range): Add argument.
491 * record-btrace.c (record_btrace_call_history_range): Add 'self'
493 (record_btrace_call_history_from): Update.
495 2014-02-19 Tom Tromey <tromey@redhat.com>
497 * target.h (struct target_ops) <to_call_history_from>: Add
499 * target.c (target_call_history_from): Add argument.
500 * record-btrace.c (record_btrace_call_history_from): Add 'self'
503 2014-02-19 Tom Tromey <tromey@redhat.com>
505 * target.h (struct target_ops) <to_call_history>: Add argument.
506 * target.c (target_call_history): Add argument.
507 * record-btrace.c (record_btrace_call_history): Add 'self'
510 2014-02-19 Tom Tromey <tromey@redhat.com>
512 * target.h (struct target_ops) <to_insn_history_range>: Add
514 * target.c (target_insn_history_range): Add argument.
515 * record-btrace.c (record_btrace_insn_history_range): Add 'self'
517 (record_btrace_insn_history_from): Update.
519 2014-02-19 Tom Tromey <tromey@redhat.com>
521 * target.h (struct target_ops) <to_insn_history_from>: Add
523 * target.c (target_insn_history_from): Add argument.
524 * record-btrace.c (record_btrace_insn_history_from): Add 'self'
527 2014-02-19 Tom Tromey <tromey@redhat.com>
529 * target.h (struct target_ops) <to_insn_history>: Add argument.
530 * target.c (target_insn_history): Add argument.
531 * record-btrace.c (record_btrace_insn_history): Add 'self'
534 2014-02-19 Tom Tromey <tromey@redhat.com>
536 * target.h (struct target_ops) <to_goto_record>: Add argument.
537 * target.c (target_goto_record): Add argument.
538 * record-full.c (record_full_goto): Add 'self' argument.
539 * record-btrace.c (record_btrace_goto): Add 'self' argument.
541 2014-02-19 Tom Tromey <tromey@redhat.com>
543 * target.h (struct target_ops) <to_goto_record_end>: Add argument.
544 * target.c (target_goto_record_end): Add argument.
545 * record-full.c (record_full_goto_end): Add 'self' argument.
546 * record-btrace.c (record_btrace_goto_end): Add 'self' argument.
548 2014-02-19 Tom Tromey <tromey@redhat.com>
550 * target.h (struct target_ops) <to_goto_record_begin>: Add
552 * target.c (target_goto_record_begin): Add argument.
553 * record-full.c (record_full_goto_begin): Add 'self' argument.
554 * record-btrace.c (record_btrace_goto_begin): Add 'self'
557 2014-02-19 Tom Tromey <tromey@redhat.com>
559 * target.h (struct target_ops) <to_record_is_replaying>: Add
561 * target.c (target_record_is_replaying): Add argument.
562 * record-full.c (record_full_is_replaying): Add 'self' argument.
563 * record-btrace.c (record_btrace_is_replaying): Add 'self'
565 (record_btrace_xfer_partial, record_btrace_store_registers)
566 (record_btrace_prepare_to_store, record_btrace_resume)
567 (record_btrace_wait, record_btrace_decr_pc_after_break)
568 (record_btrace_find_new_threads, record_btrace_thread_alive):
571 2014-02-19 Tom Tromey <tromey@redhat.com>
573 * target.h (struct target_ops) <to_delete_record>: Add argument.
574 * target.c (target_delete_record): Add argument.
575 * record-full.c (record_full_delete): Add 'self' argument.
577 2014-02-19 Tom Tromey <tromey@redhat.com>
579 * target.h (struct target_ops) <to_save_record>: Add argument.
580 * target.c (target_save_record): Add argument.
581 * record-full.c (record_full_save): Add 'self' argument.
582 (record_full_save): Add 'self' argument.
584 2014-02-19 Tom Tromey <tromey@redhat.com>
586 * target.h (struct target_ops) <to_info_record>: Add argument.
587 * target.c (target_info_record): Add argument.
588 * record.c (info_record_command): Add argument.
589 * record-full.c (record_full_info): Add 'self' argument.
590 * record-btrace.c (record_btrace_info): Add 'self' argument.
592 2014-02-19 Tom Tromey <tromey@redhat.com>
594 * target.h (struct target_ops) <to_stop_recording>: Add argument.
595 * target.c (target_stop_recording): Add argument.
596 * record.c (record_stop): Add argument.
597 * record-btrace.c (record_btrace_stop_recording): Add 'self'
600 2014-02-19 Tom Tromey <tromey@redhat.com>
602 * target.h (struct target_ops) <to_read_btrace>: Add argument.
603 * target.c (struct target_ops) <to_read_btrace>: Add argument.
604 * remote.c (struct target_ops) <to_read_btrace>: Add 'self'
606 * amd64-linux-nat.c (amd64_linux_read_btrace): New function.
607 (_initialize_amd64_linux_nat): Use it.
608 * i386-linux-nat.c (i386_linux_read_btrace): New function.
609 (_initialize_i386_linux_nat): Use it.
611 2014-02-19 Tom Tromey <tromey@redhat.com>
613 * target.h (struct target_ops) <to_teardown_btrace>: Add argument.
614 * target.c (target_teardown_btrace): Add argument.
615 * remote.c (remote_teardown_btrace): Add 'self' argument.
616 * i386-linux-nat.c (i386_linux_teardown_btrace): Add 'self'
618 * amd64-linux-nat.c (amd64_linux_teardown_btrace): Add 'self'
621 2014-02-19 Tom Tromey <tromey@redhat.com>
623 * target.h (struct target_ops) <to_disable_btrace>: Add argument.
624 * target.c (target_disable_btrace): Add argument.
625 * remote.c (remote_disable_btrace): Add 'self' argument.
626 * i386-linux-nat.c (i386_linux_disable_btrace): Add 'self'
628 * amd64-linux-nat.c (amd64_linux_disable_btrace): Add 'self'
631 2014-02-19 Tom Tromey <tromey@redhat.com>
633 * target.h (struct target_ops) <to_enable_btrace>: Add argument.
634 * target.c (target_enable_btrace): Add argument.
635 * remote.c (remote_enable_btrace): Add 'self' argument.
636 * i386-linux-nat.c (i386_linux_enable_btrace): Add 'self'
638 * amd64-linux-nat.c (amd64_linux_enable_btrace): Add 'self'
641 2014-02-19 Tom Tromey <tromey@redhat.com>
643 * target.h (struct target_ops) <to_can_use_agent>: Add argument.
644 (target_can_use_agent): Add argument.
645 * target.c (update_current_target): Update.
646 * remote.c (remote_can_use_agent): Add 'self' argument.
647 * inf-child.c (inf_child_can_use_agent): Add 'self' argument.
649 2014-02-19 Tom Tromey <tromey@redhat.com>
651 * target.h (struct target_ops) <to_use_agent>: Add argument.
652 (target_use_agent): Add argument.
653 * target.c (update_current_target): Update.
654 * remote.c (remote_use_agent): Add 'self' argument.
655 * inf-child.c (inf_child_use_agent): Add 'self' argument.
657 2014-02-19 Tom Tromey <tromey@redhat.com>
659 * tracepoint.c (tfile_traceframe_info): Add 'self' argument.
660 * target.h (struct target_ops) <to_traceframe_info>: Add argument.
661 (target_traceframe_info): Add argument.
662 * target.c (update_current_target): Update.
663 * remote.c (remote_traceframe_info): Add 'self' argument.
664 * ctf.c (ctf_traceframe_info): Add 'self' argument.
666 2014-02-19 Tom Tromey <tromey@redhat.com>
668 * target.h (target_static_tracepoint_markers_by_strid): Add
670 (struct target_ops) <to_static_tracepoint_markers_by_strid>: Add
672 * target.c (update_current_target): Update.
673 * remote.c (struct target_ops)
674 <to_static_tracepoint_markers_by_strid>: Add 'self' argument.
675 * linux-nat.c (struct target_ops)
676 <to_static_tracepoint_markers_by_strid>: Add 'self' argument.
678 2014-02-19 Tom Tromey <tromey@redhat.com>
680 * target.h (struct target_ops) <to_static_tracepoint_marker_at>:
682 (target_static_tracepoint_marker_at): Add argument.
683 * target.c (update_current_target): Update.
684 * remote.c (remote_static_tracepoint_marker_at): Add 'self'
687 2014-02-19 Tom Tromey <tromey@redhat.com>
689 * target.h (struct target_ops) <to_set_permissions>: Add argument.
690 (target_set_permissions): Add argument.
691 * target.c (update_current_target): Update.
692 * remote.c (remote_set_permissions): Add 'self' argument.
693 (remote_start_remote): Update.
695 2014-02-19 Tom Tromey <tromey@redhat.com>
697 * windows-nat.c (windows_get_tib_address): Add 'self' argument.
698 * target.h (struct target_ops) <to_get_tib_address>: Add argument.
699 (target_get_tib_address): Add argument.
700 * target.c (update_current_target): Update.
701 * remote.c (remote_get_tib_address): Add 'self' argument.
703 2014-02-19 Tom Tromey <tromey@redhat.com>
705 * target.h (struct target_ops) <to_set_trace_notes>: Add argument.
706 (target_set_trace_notes): Add argument.
707 * target.c (update_current_target): Update.
708 * remote.c (remote_set_trace_notes): Add 'self' argument.
710 2014-02-19 Tom Tromey <tromey@redhat.com>
712 * target.h (struct target_ops) <to_set_trace_buffer_size>: Add
714 (target_set_trace_buffer_size): Add argument.
715 * target.c (update_current_target): Update.
716 * remote.c (remote_set_trace_buffer_size): Add 'self' argument.
718 2014-02-19 Tom Tromey <tromey@redhat.com>
720 * target.h (struct target_ops) <to_set_circular_trace_buffer>: Add
722 (target_set_circular_trace_buffer): Add argument.
723 * target.c (update_current_target): Update.
724 * remote.c (remote_set_circular_trace_buffer): Add 'self'
727 2014-02-19 Tom Tromey <tromey@redhat.com>
729 * target.h (struct target_ops) <to_set_disconnected_tracing>: Add
731 (target_set_disconnected_tracing): Add argument.
732 * target.c (update_current_target): Update.
733 * remote.c (remote_set_disconnected_tracing): Add 'self' argument.
735 2014-02-19 Tom Tromey <tromey@redhat.com>
737 * target.h (struct target_ops)
738 <to_get_min_fast_tracepoint_insn_len>: Add argument.
739 (target_get_min_fast_tracepoint_insn_len): Add argument.
740 * target.c (update_current_target): Update.
741 * remote.c (remote_get_min_fast_tracepoint_insn_len): Add 'self'
744 2014-02-19 Tom Tromey <tromey@redhat.com>
746 * target.h (struct target_ops) <to_get_raw_trace_data>: Add
748 (target_get_raw_trace_data): Add argument.
749 * target.c (update_current_target): Update.
750 * remote.c (remote_get_raw_trace_data): Add 'self' argument.
752 2014-02-19 Tom Tromey <tromey@redhat.com>
754 * target.h (struct target_ops) <to_upload_trace_state_variables>:
756 (target_upload_trace_state_variables): Add argument.
757 * target.c (update_current_target): Update.
758 * remote.c (remote_upload_trace_state_variables): Add 'self'
760 (remote_start_remote): Update.
762 2014-02-19 Tom Tromey <tromey@redhat.com>
764 * target.h (struct target_ops) <to_upload_tracepoints>: Add
766 (target_upload_tracepoints): Add argument.
767 * target.c (update_current_target): Update.
768 * remote.c (remote_upload_tracepoints): Add 'self' argument.
769 (remote_start_remote): Update.
771 2014-02-19 Tom Tromey <tromey@redhat.com>
773 * target.h (struct target_ops) <to_save_trace_data>: Add argument.
774 (target_save_trace_data): Add argument.
775 * target.c (update_current_target): Update.
776 * remote.c (remote_save_trace_data): Add 'self' argument.
778 2014-02-19 Tom Tromey <tromey@redhat.com>
780 * tracepoint.c (tfile_get_trace_state_variable_value): Add 'self'
782 * target.h (struct target_ops)
783 <to_get_trace_state_variable_value>: Add argument.
784 (target_get_trace_state_variable_value): Add argument.
785 * target.c (update_current_target): Update.
786 * remote.c (remote_get_trace_state_variable_value): Add 'self'
788 * ctf.c (ctf_get_trace_state_variable_value): Add 'self' argument.
790 2014-02-19 Tom Tromey <tromey@redhat.com>
792 * tracepoint.c (tfile_trace_find): Add 'self' argument.
793 * target.h (struct target_ops) <to_trace_find>: Add argument.
794 (target_trace_find): Add argument.
795 * target.c (update_current_target): Update.
796 * remote.c (remote_trace_find): Add 'self' argument.
797 * ctf.c (ctf_trace_find): Add 'self' argument.
799 2014-02-19 Tom Tromey <tromey@redhat.com>
801 * target.h (struct target_ops) <to_trace_stop>: Add argument.
802 (target_trace_stop): Add argument.
803 * target.c (update_current_target): Update.
804 * remote.c (remote_trace_stop): Add 'self' argument.
806 2014-02-19 Tom Tromey <tromey@redhat.com>
808 * tracepoint.c (tfile_get_tracepoint_status): Add 'self' argument.
809 * target.h (struct target_ops) <to_get_tracepoint_status>: Add
811 (target_get_tracepoint_status): Add argument.
812 * target.c (update_current_target): Update.
813 * remote.c (remote_get_tracepoint_status): Add 'self' argument.
815 2014-02-19 Tom Tromey <tromey@redhat.com>
817 * tracepoint.c (tfile_get_trace_status): Add 'self' argument.
818 * target.h (struct target_ops) <to_get_trace_status>: Add
820 (target_get_trace_status): Add argument.
821 * target.c (update_current_target): Update.
822 * remote.c (remote_get_trace_status): Add 'self' argument.
823 (remote_start_remote, remote_can_download_tracepoint): Update.
824 * ctf.c (ctf_get_trace_status): Add 'self' argument.
826 2014-02-19 Tom Tromey <tromey@redhat.com>
828 * target.h (struct target_ops) <to_trace_start>: Add argument.
829 (target_trace_start): Add argument.
830 * target.c (update_current_target): Update.
831 * remote.c (remote_trace_start): Add 'self' argument.
833 2014-02-19 Tom Tromey <tromey@redhat.com>
835 * target.h (struct target_ops) <to_trace_set_readonly_regions>:
837 (target_trace_set_readonly_regions): Add argument.
838 * target.c (update_current_target): Update.
839 * remote.c (remote_trace_set_readonly_regions): Add 'self'
842 2014-02-19 Tom Tromey <tromey@redhat.com>
844 * target.h (struct target_ops) <to_disable_tracepoint>: Add
846 (target_disable_tracepoint): Add argument.
847 * target.c (update_current_target): Update.
848 * remote.c (remote_disable_tracepoint): Add 'self' argument.
850 2014-02-19 Tom Tromey <tromey@redhat.com>
852 * target.h (struct target_ops) <to_enable_tracepoint>: Add
854 (target_enable_tracepoint): Add argument.
855 * target.c (update_current_target): Update.
856 * remote.c (remote_enable_tracepoint): Add 'self' argument.
858 2014-02-19 Tom Tromey <tromey@redhat.com>
860 * target.h (struct target_ops) <to_download_trace_state_variable>:
862 (target_download_trace_state_variable): Add argument.
863 * target.c (update_current_target): Update.
864 * remote.c (remote_download_trace_state_variable): Add 'self'
867 2014-02-19 Tom Tromey <tromey@redhat.com>
869 * target.h (struct target_ops) <to_can_download_tracepoint>: Add
871 (target_can_download_tracepoint): Add argument.
872 * target.c (update_current_target): Update.
873 * remote.c (remote_can_download_tracepoint): Add 'self' argument.
875 2014-02-19 Tom Tromey <tromey@redhat.com>
877 * target.h (struct target_ops) <to_download_tracepoint>: Add
879 (target_download_tracepoint): Add argument.
880 * target.c (update_current_target): Update.
881 * remote.c (remote_download_tracepoint): Add 'self' argument.
883 2014-02-19 Tom Tromey <tromey@redhat.com>
885 * target.h (struct target_ops) <to_trace_init>: Add argument.
886 (target_trace_init): Add argument.
887 * target.c (update_current_target): Update.
888 * remote.c (remote_trace_init): Add 'self' argument.
890 2014-02-19 Tom Tromey <tromey@redhat.com>
892 * target.h (struct target_ops) <to_fileio_readlink>: Add argument.
893 * target.c (target_fileio_readlink): Add argument.
894 * remote.c (remote_hostio_readlink): Add 'self' argument.
895 * inf-child.c (inf_child_fileio_readlink): Add 'self' argument.
897 2014-02-19 Tom Tromey <tromey@redhat.com>
899 * target.h (struct target_ops) <to_fileio_unlink>: Add argument.
900 * target.c (target_fileio_unlink): Add argument.
901 * remote.c (remote_hostio_unlink): Add 'self' argument.
902 (remote_file_delete): Update.
903 * inf-child.c (inf_child_fileio_unlink): Add 'self' argument.
905 2014-02-19 Tom Tromey <tromey@redhat.com>
907 * target.h (struct target_ops) <to_fileio_close>: Add argument.
908 * target.c (target_fileio_close): Add argument.
909 * remote.c (remote_hostio_close): Add 'self' argument.
910 (remote_hostio_close_cleanup): Update.
911 (remote_bfd_iovec_close, remote_file_put, remote_file_get):
913 * inf-child.c (inf_child_fileio_close): Add 'self' argument.
915 2014-02-19 Tom Tromey <tromey@redhat.com>
917 * target.h (struct target_ops) <to_fileio_pread>: Add argument.
918 * target.c (target_fileio_pread): Add argument.
919 * remote.c (remote_hostio_pread): Add 'self' argument.
920 (remote_bfd_iovec_pread, remote_file_get): Update.
921 * inf-child.c (inf_child_fileio_pread): Add 'self' argument.
923 2014-02-19 Tom Tromey <tromey@redhat.com>
925 * target.h (struct target_ops) <to_fileio_pwrite>: Add argument.
926 * target.c (target_fileio_pwrite): Add argument.
927 * remote.c (remote_hostio_pwrite): Add 'self' argument.
928 (remote_file_put): Update.
929 * inf-child.c (inf_child_fileio_pwrite): Add 'self' argument.
931 2014-02-19 Tom Tromey <tromey@redhat.com>
933 * target.h (struct target_ops) <to_fileio_open>: Add argument.
934 * target.c (target_fileio_open): Add argument.
935 * remote.c (remote_hostio_open): Add 'self' argument.
936 (remote_bfd_iovec_open): Add 'self' argument.
937 (remote_file_put): Add 'self' argument.
938 (remote_file_get): Add 'self' argument.
939 * inf-child.c (inf_child_fileio_open): Add 'self' argument.
941 2014-02-19 Tom Tromey <tromey@redhat.com>
943 * target.h (struct target_ops) <to_can_run_breakpoint_commands>:
945 (target_can_run_breakpoint_commands): Add argument.
946 * target.c (update_current_target): Update.
947 * remote.c (remote_can_run_breakpoint_commands): Add 'self'
949 (remote_insert_breakpoint): Add 'self' argument.
950 (remote_insert_hw_breakpoint): Add 'self' argument.
951 (remote_can_run_breakpoint_commands): Add 'self' argument.
953 2014-02-19 Tom Tromey <tromey@redhat.com>
955 * target.h (struct target_ops)
956 <to_supports_evaluation_of_breakpoint_conditions>: Add argument.
957 (target_supports_evaluation_of_breakpoint_conditions): Add
959 * target.c (update_current_target): Update.
960 * remote.c (remote_supports_cond_breakpoints): Add 'self'
962 (remote_insert_breakpoint): Add 'self' argument.
963 (remote_insert_hw_breakpoint): Add 'self' argument.
964 (remote_supports_cond_breakpoints): Add 'self' argument.
966 2014-02-19 Tom Tromey <tromey@redhat.com>
968 * target.h (struct target_ops) <to_supports_string_tracing>: Add
970 (target_supports_string_tracing): Add argument.
971 * target.c (update_current_target): Update.
972 * remote.c (remote_supports_string_tracing): Add 'self' argument.
974 2014-02-19 Tom Tromey <tromey@redhat.com>
976 * target.h (struct target_ops)
977 <to_supports_disable_randomization>: Add argument.
978 * target.c (find_default_supports_disable_randomization): Add
980 (target_supports_disable_randomization): Add argument.
981 (find_default_supports_disable_randomization): Add 'self'
983 * remote.c (extended_remote_supports_disable_randomization): Add
985 (remote_supports_disable_randomization): Add 'self' argument.
986 (extended_remote_create_inferior): Update.
987 * linux-nat.c (linux_nat_supports_disable_randomization): Add
990 2014-02-19 Tom Tromey <tromey@redhat.com>
992 * target.h (struct target_ops)
993 <to_supports_enable_disable_tracepoint>: Add argument.
994 (target_supports_enable_disable_tracepoint): Add argument.
995 * target.c (update_current_target): Update.
996 * remote.c (remote_supports_enable_disable_tracepoint): Add 'self'
999 2014-02-19 Tom Tromey <tromey@redhat.com>
1001 * target.h (struct target_ops) <to_supports_multi_process>: Add
1003 (target_supports_multi_process): Add argument.
1004 * target.c (update_current_target): Update.
1005 * remote.c (remote_supports_multi_process): Add 'self' argument.
1006 * linux-nat.c (linux_nat_supports_multi_process): Add 'self'
1008 * darwin-nat.c (darwin_supports_multi_process): Add 'self'
1011 2014-02-19 Tom Tromey <tromey@redhat.com>
1013 * target.h (struct target_ops) <to_execution_direction>: Add
1015 (target_execution_direction): Add argument.
1016 * target.c (default_execution_direction): Add 'self' argument.
1017 * record-full.c (record_full_execution_direction): Add 'self'
1020 2014-02-19 Tom Tromey <tromey@redhat.com>
1022 * target.h (struct target_ops) <to_can_execute_reverse>: Add
1024 (target_can_execute_reverse): Add argument.
1025 * remote.c (remote_can_execute_reverse): Add 'self' argument.
1026 * record-full.c (record_full_can_execute_reverse): Add 'self'
1028 * record-btrace.c (record_btrace_can_execute_reverse): Add 'self'
1031 2014-02-19 Tom Tromey <tromey@redhat.com>
1033 * windows-nat.c (windows_get_ada_task_ptid): Add 'self' argument.
1034 * target.h (struct target_ops) <to_get_ada_task_ptid>: Add
1036 (target_get_ada_task_ptid): Add argument.
1037 * target.c (update_current_target): Update.
1038 (default_get_ada_task_ptid): Add 'self' argument.
1039 * sol-thread.c (sol_get_ada_task_ptid): Add 'self' argument.
1040 * remote.c (remote_get_ada_task_ptid): Add 'self' argument.
1041 * ravenscar-thread.c (ravenscar_get_ada_task_ptid): Add 'self'
1043 * linux-thread-db.c (thread_db_get_ada_task_ptid): Add 'self'
1045 * inf-ttrace.c (inf_ttrace_get_ada_task_ptid): Add 'self'
1047 * dec-thread.c (dec_thread_get_ada_task_ptid): Add 'self'
1049 * darwin-nat.c (darwin_get_ada_task_ptid): Add 'self' argument.
1050 * aix-thread.c (aix_thread_get_ada_task_ptid): Add 'self'
1053 2014-02-19 Tom Tromey <tromey@redhat.com>
1055 * target.h (struct target_ops) <to_goto_bookmark>: Add argument.
1056 (target_goto_bookmark): Add argument.
1057 * target.c (dummy_goto_bookmark): Add 'self' argument.
1058 * record-full.c (record_full_goto_bookmark): Add 'self' argument.
1060 2014-02-19 Tom Tromey <tromey@redhat.com>
1062 * target.h (struct target_ops) <to_get_bookmark>: Add argument.
1063 (target_get_bookmark): Add argument.
1064 * target.c (dummy_get_bookmark): Add 'self' argument.
1065 * record-full.c (record_full_get_bookmark): Add 'self' argument.
1067 2014-02-19 Tom Tromey <tromey@redhat.com>
1069 * target.h (struct target_ops) <to_make_corefile_notes>: Add
1071 (target_make_corefile_notes): Add argument.
1072 * target.c (dummy_make_corefile_notes): Add 'self' argument.
1073 * procfs.c (procfs_make_note_section): Add 'self' argument.
1074 (procfs_make_note_section): Add 'self' argument.
1075 (procfs_make_note_section): Add 'self' argument.
1076 * linux-nat.c (linux_nat_make_corefile_notes): Add 'self'
1078 * fbsd-nat.h (fbsd_make_corefile_notes): Add 'self' argument.
1079 * fbsd-nat.c (fbsd_make_corefile_notes): Add 'self' argument.
1080 * exec.c (exec_make_note_section): Add 'self' argument.
1081 (exec_make_note_section): Add 'self' argument.
1083 2014-02-19 Tom Tromey <tromey@redhat.com>
1085 * target.h (struct target_ops) <to_find_memory_regions>: Add
1087 (target_find_memory_regions): Add argument.
1088 * target.c (dummy_find_memory_regions): Add 'self' argument.
1089 * procfs.c (proc_find_memory_regions): Add 'self' argument.
1090 * gnu-nat.c (gnu_find_memory_regions): Add 'self' argument.
1091 * fbsd-nat.h (fbsd_find_memory_regions): Add 'self' argument.
1092 * fbsd-nat.c (fbsd_find_memory_regions): Add 'self' argument.
1093 * exec. (exec_do_find_memory_regions): New global.
1094 (exec_set_find_memory_regions): Rewrite.
1095 (exec_find_memory_regions): New function.
1096 (init_exec_ops): Use exec_find_memory_regions.
1098 2014-02-19 Tom Tromey <tromey@redhat.com>
1100 * target.h (struct target_ops) <to_supports_non_stop>: Add
1102 * target.c (find_default_supports_non_stop): Add argument.
1103 (target_supports_non_stop): Add argument.
1104 (find_default_supports_non_stop): Add 'self' argument.
1105 * remote.c (remote_supports_non_stop): Add 'self' argument.
1106 * linux-nat.c (linux_nat_supports_non_stop): Add 'self' argument.
1108 2014-02-19 Tom Tromey <tromey@redhat.com>
1110 * target.h (struct target_ops) <to_log_command>: Add argument.
1111 (target_log_command): Add argument.
1112 * serial.h (serial_log_command): Add 'self' argument.
1113 * serial.c (serial_log_command): Add 'self' argument.
1115 2014-02-19 Tom Tromey <tromey@redhat.com>
1117 * windows-nat.c (windows_pid_to_exec_file): Add 'self' argument.
1118 * target.h (struct target_ops) <to_pid_to_exec_file>: Add
1120 (target_pid_to_exec_file): Add argument.
1121 * target.c (debug_to_pid_to_exec_file): Add argument.
1122 (update_current_target): Update.
1123 * nbsd-nat.h (nbsd_pid_to_exec_file): Add 'self' argument.
1124 * nbsd-nat.c (nbsd_pid_to_exec_file): Add 'self' argument.
1125 * linux-nat.c (linux_child_pid_to_exec_file): Add 'self' argument.
1126 (linux_handle_extended_wait): Update.
1127 * inf-child.c (inf_child_pid_to_exec_file): Add 'self' argument.
1128 * fbsd-nat.h (fbsd_pid_to_exec_file): Add 'self' argument.
1129 * fbsd-nat.c (fbsd_pid_to_exec_file): Add 'self' argument.
1130 * darwin-nat.c (darwin_pid_to_exec_file): Add 'self' argument.
1132 2014-02-19 Tom Tromey <tromey@redhat.com>
1134 * target.h (struct target_ops) <to_rcmd>: Add argument.
1135 (target_rcmd): Add argument.
1136 * target.c (debug_to_rcmd): Add argument.
1137 (update_current_target, do_monitor_command): Update.
1138 * remote.c (remote_rcmd): Add 'self' argument.
1139 * monitor.c (monitor_rcmd): Add 'self' argument.
1141 2014-02-19 Tom Tromey <tromey@redhat.com>
1143 * windows-nat.c (windows_stop): Add 'self' argument.
1144 * target.h (struct target_ops) <to_stop>: Add argument.
1145 * target.c (target_stop): Add argument.
1146 (debug_to_stop): Add argument.
1147 (update_current_target): Update.
1148 * remote.c (remote_stop): Add 'self' argument.
1149 * remote-sim.c (gdbsim_stop): Add 'self' argument.
1150 (gdbsim_cntrl_c): Update.
1151 * remote-m32r-sdi.c (m32r_stop): Add 'self' argument.
1152 * procfs.c (procfs_stop): Add 'self' argument.
1153 * nto-procfs.c (procfs_stop): Add 'self' argument.
1154 * monitor.c (monitor_stop): Add 'self' argument.
1155 (monitor_open): Update.
1156 * linux-nat.c (linux_nat_stop): Add argument.
1157 * inf-ptrace.c (inf_ptrace_stop): Add 'self' argument.
1158 * gnu-nat.c (gnu_stop): Add 'self' argument.
1159 * darwin-nat.c (darwin_stop): Add 'self' argument.
1161 2014-02-19 Tom Tromey <tromey@redhat.com>
1163 * target.h (struct target_ops) <to_thread_name>: Add argument.
1164 * target.c (target_thread_name): Add argument.
1165 (update_current_target): Update.
1166 * linux-nat.c (linux_nat_thread_name): Add 'self' argument.
1168 2014-02-19 Tom Tromey <tromey@redhat.com>
1170 * target.h (struct target_ops) <to_extra_thread_info>: Add
1172 (target_extra_thread_info): Add argument.
1173 * target.c (update_current_target): Update.
1174 * remote.c (remote_threads_extra_info): Add 'self' argument.
1175 * ravenscar-thread.c (ravenscar_extra_thread_info): Add 'self'
1177 * nto-tdep.h (nto_extra_thread_info): Add 'self' argument.
1178 * nto-tdep.c (nto_extra_thread_info): Add 'self' argument.
1179 * linux-thread-db.c (thread_db_extra_thread_info): Add 'self'
1181 * inf-ttrace.c (inf_ttrace_extra_thread_info): Add 'self'
1183 * bsd-uthread.c (bsd_uthread_extra_thread_info): Add 'self'
1185 * aix-thread.c (aix_thread_extra_thread_info): Add 'self'
1188 2014-02-19 Tom Tromey <tromey@redhat.com>
1190 * target.h (struct target_ops) <to_program_signals>: Add argument.
1191 * target.c (target_program_signals): Add argument.
1192 * remote.c (remote_program_signals): Add 'self' argument.
1194 2014-02-19 Tom Tromey <tromey@redhat.com>
1196 * target.h (struct target_ops) <to_pass_signals>: Add argument.
1197 * target.c (target_pass_signals): Add argument.
1198 * remote.c (remote_pass_signals): Add 'self' argument.
1199 (remote_start_remote): Update.
1200 * procfs.c (procfs_pass_signals): Add 'self' argument.
1201 * nto-procfs.c (procfs_pass_signals): Add 'self' argument.
1202 * linux-nat.c (linux_nat_pass_signals): Add 'self' argument.
1203 (linux_nat_create_inferior, linux_nat_attach): Update.
1205 2014-02-19 Tom Tromey <tromey@redhat.com>
1207 * windows-nat.c (windows_can_run): Add 'self' argument.
1208 * target.h (struct target_ops) <to_can_run>: Add argument.
1209 (target_can_run): Add argument.
1210 * target.c (debug_to_can_run): Add argument.
1211 (update_current_target): Update.
1212 * nto-procfs.c (procfs_can_run): Add 'self' argument.
1213 * inf-child.c (inf_child_can_run): Add 'self' argument.
1214 * go32-nat.c (go32_can_run): Add 'self' argument.
1216 2014-02-19 Tom Tromey <tromey@redhat.com>
1218 * target.h (struct target_ops) <to_has_exited>: Add argument.
1219 (target_has_exited): Add argument.
1220 * target.c (debug_to_has_exited): Add argument.
1221 (update_current_target): Update.
1223 2014-02-19 Tom Tromey <tromey@redhat.com>
1225 * target.h (struct target_ops) <to_set_syscall_catchpoint>: Add
1227 (target_set_syscall_catchpoint): Add argument.
1228 * linux-nat.c (linux_child_set_syscall_catchpoint): Add 'self'
1230 * target.c (update_current_target): Update.
1232 2014-02-19 Tom Tromey <tromey@redhat.com>
1234 * target.h (struct target_ops) <to_remove_exec_catchpoint>: Add
1236 (target_remove_exec_catchpoint): Add argument.
1237 * target.c (debug_to_remove_exec_catchpoint): Add argument.
1238 (update_current_target): Update.
1239 * linux-nat.c (linux_child_remove_exec_catchpoint): Add 'self'
1242 2014-02-19 Tom Tromey <tromey@redhat.com>
1244 * target.h (struct target_ops) <to_insert_exec_catchpoint>: Add
1246 (target_insert_exec_catchpoint): Add argument.
1247 * target.c (debug_to_insert_exec_catchpoint): Add argument.
1248 (update_current_target): Update.
1249 * linux-nat.c (linux_child_insert_exec_catchpoint): Add 'self'
1252 2014-02-19 Tom Tromey <tromey@redhat.com>
1254 * target.h (struct target_ops) <to_remove_vfork_catchpoint>: Add
1256 (target_remove_vfork_catchpoint): Add argument.
1257 * target.c (debug_to_remove_vfork_catchpoint): Add argument.
1258 (update_current_target): Update.
1259 * linux-nat.c (linux_child_remove_vfork_catchpoint): Add 'self'
1262 2014-02-19 Tom Tromey <tromey@redhat.com>
1264 * target.h (struct target_ops) <to_insert_vfork_catchpoint>: Add
1266 (target_insert_vfork_catchpoint): Add argument.
1267 * target.c (debug_to_insert_vfork_catchpoint): Add argument.
1268 (update_current_target): Update.
1269 * linux-nat.c (linux_child_insert_vfork_catchpoint): Add 'self'
1272 2014-02-19 Tom Tromey <tromey@redhat.com>
1274 * target.h (struct target_ops) <to_remove_fork_catchpoint>: Add
1276 (target_remove_fork_catchpoint): Add argument.
1277 * target.c (debug_to_remove_fork_catchpoint): Add argument.
1278 (update_current_target): Update.
1279 * linux-nat.c (linux_child_remove_fork_catchpoint): Add 'self'
1282 2014-02-19 Tom Tromey <tromey@redhat.com>
1284 * target.h (struct target_ops) <to_insert_fork_catchpoint>: Add
1286 (target_insert_fork_catchpoint): Add argument.
1287 * target.c (debug_to_insert_fork_catchpoint): Add argument.
1288 (update_current_target): Update.
1289 * linux-nat.c (linux_child_insert_fork_catchpoint): Add 'self'
1292 2014-02-19 Tom Tromey <tromey@redhat.com>
1294 * target.h (struct target_ops) <to_post_startup_inferior>: Add
1296 (target_post_startup_inferior): Add argument.
1297 * target.c (debug_to_post_startup_inferior): Add argument.
1298 (update_current_target): Update.
1299 * spu-linux-nat.c (spu_child_post_startup_inferior): Add 'self'
1301 * linux-nat.c (linux_child_post_startup_inferior): Add 'self'
1303 * inf-ptrace.c (inf_ptrace_post_startup_inferior): Add 'self'
1305 * inf-child.c (inf_child_post_startup_inferior): Add 'self'
1307 * i386-linux-nat.c (i386_linux_child_post_startup_inferior): Add
1309 (super_post_startup_inferior): Likewise.
1310 * amd64-linux-nat.c (amd64_linux_child_post_startup_inferior): Add
1312 (super_post_startup_inferior): Likewise.
1313 * aarch64-linux-nat.c (aarch64_linux_child_post_startup_inferior):
1314 Add 'self' argument.
1315 (super_post_startup_inferior): Likewise.
1317 2014-02-19 Tom Tromey <tromey@redhat.com>
1319 * target.h (struct target_ops) <to_load>: Add argument.
1320 * target.c (target_load): Add argument.
1321 (debug_to_load): Add argument.
1322 (update_current_target): Update.
1323 * remote.c (remote_load): Add 'self' argument.
1324 * remote-sim.c (gdbsim_load): Add 'self' argument.
1325 * remote-mips.c (mips_load): Add 'self' argument.
1326 * remote-m32r-sdi.c (m32r_load): Add 'self' argument.
1327 * monitor.c (monitor_load): Add 'self' argument.
1328 * m32r-rom.c (m32r_load_gen): Add 'self' argument.
1330 2014-02-19 Tom Tromey <tromey@redhat.com>
1332 * target.h (struct target_ops) <to_terminal_info>: Add argument.
1333 (target_terminal_info): Add argument.
1334 * target.c (debug_to_terminal_info): Add argument.
1335 (default_terminal_info): Likewise.
1336 * inflow.c (child_terminal_info): Add 'self' argument.
1337 * inferior.h (child_terminal_info): Add 'self' argument.
1338 * go32-nat.c (go32_terminal_info): Add 'self' argument.
1340 2014-02-19 Tom Tromey <tromey@redhat.com>
1342 * target.h (struct target_ops) <to_terminal_save_ours>: Add
1344 (target_terminal_save_ours): Add argument.
1345 * target.c (debug_to_terminal_save_ours): Add argument.
1346 (update_current_target): Update.
1347 * inflow.c (terminal_save_ours): Add 'self' argument.
1348 * inferior.h (terminal_save_ours): Add 'self' argument.
1350 2014-02-19 Tom Tromey <tromey@redhat.com>
1352 * target.h (struct target_ops) <to_terminal_ours>: Add argument.
1353 (target_terminal_ours): Add argument.
1354 * target.c (debug_to_terminal_ours): Add argument.
1355 (update_current_target): Update.
1356 * remote.c (remote_terminal_ours): Add 'self' argument.
1357 (remote_close): Update.
1358 * linux-nat.c (linux_nat_terminal_ours): Add 'self' argument.
1359 * inflow.c (terminal_ours): Add 'self' argument.
1360 * inferior.h (terminal_ours): Add 'self' argument.
1361 * go32-nat.c (go32_terminal_ours): Add 'self' argument.
1363 2014-02-19 Pedro Alves <palves@redhat.com>
1364 Tom Tromey <tromey@redhat.com>
1366 * target.h (struct target_ops) <to_terminal_ours_for_output>: Add
1368 (target_terminal_ours_for_output): Add argument.
1369 * target.c (debug_to_terminal_ours_for_output): Add argument.
1370 (update_current_target): Update.
1371 * inflow.c (terminal_ours_for_output): Add 'self' argument.
1372 * inferior.h (terminal_ours_for_output): Add 'self' argument.
1373 * go32-nat.c (go32_terminal_ours): Add 'self' argument.
1375 2014-02-19 Tom Tromey <tromey@redhat.com>
1377 * target.h (struct target_ops) <to_terminal_inferior>: Add
1379 * target.c (target_terminal_inferior): Add argument.
1380 (update_current_target): Update.
1381 * remote.c (remote_terminal_inferior): Add 'self' argument.
1382 * linux-nat.c (linux_nat_terminal_inferior): Add 'self' argument.
1383 * inflow.c (terminal_inferior): Add 'self' argument.
1384 * inferior.h (terminal_inferior): Add 'self' argument.
1385 * go32-nat.c (go32_terminal_inferior): Add 'self' argument.
1386 (go32_terminal_inferior): Add 'self' argument.
1388 2014-02-19 Tom Tromey <tromey@redhat.com>
1390 * target.h (struct target_ops) <to_terminal_init>: Add argument.
1391 (target_terminal_init): Add argument.
1392 * target.c (debug_to_terminal_init): Add argument.
1393 (update_current_target): Update.
1394 * inflow.c (terminal_init_inferior): Add 'self' argument.
1395 * inferior.h (terminal_init_inferior): Add 'self' argument.
1396 * go32-nat.c (go32_terminal_init): Add 'self' argument.
1397 * gnu-nat.c (gnu_terminal_init_inferior): Add 'self' argument.
1399 2014-02-19 Tom Tromey <tromey@redhat.com>
1401 * target.h (struct target_ops)
1402 <to_can_accel_watchpoint_condition>: Add argument.
1403 (target_can_accel_watchpoint_condition): Add argument.
1404 * target.c (debug_to_can_accel_watchpoint_condition): Add
1406 (update_current_target): Update.
1407 * ppc-linux-nat.c (ppc_linux_can_accel_watchpoint_condition): Add
1410 2014-02-19 Tom Tromey <tromey@redhat.com>
1412 * target.h (struct target_ops) <to_region_ok_for_hw_watchpoint>:
1414 (target_region_ok_for_hw_watchpoint): Add argument.
1415 * target.c (debug_to_region_ok_for_hw_watchpoint): Add argument.
1416 (default_region_ok_for_hw_watchpoint): Add argument.
1417 * spu-multiarch.c (spu_region_ok_for_hw_watchpoint): Add argument.
1418 * s390-linux-nat.c (s390_region_ok_for_hw_watchpoint): Add 'self'
1420 * remote.c (remote_region_ok_for_hw_watchpoint): Add 'self'
1422 * procfs.c (procfs_region_ok_for_hw_watchpoint): Add 'self'
1424 * ppc-linux-nat.c (ppc_linux_region_ok_for_hw_watchpoint): Add
1426 * mips-linux-nat.c (mips_linux_region_ok_for_hw_watchpoint): Add
1428 * inf-ttrace.c (inf_ttrace_region_ok_for_hw_watchpoint): Add
1430 * i386-nat.c (i386_region_ok_for_watchpoint): Add 'self' argument.
1431 * arm-linux-nat.c (arm_linux_region_ok_for_hw_watchpoint): Add
1433 * aarch64-linux-nat.c (aarch64_linux_region_ok_for_hw_watchpoint):
1434 Add 'self' argument.
1436 2014-02-19 Tom Tromey <tromey@redhat.com>
1438 * target.h (struct target_ops) <to_insert_watchpoint>: Add
1440 (target_insert_watchpoint): Add argument.
1441 * target.c (debug_to_insert_watchpoint): Add argument.
1442 (update_current_target): Update.
1443 * s390-linux-nat.c (s390_insert_watchpoint): Add 'self' argument.
1444 * remote.c (remote_insert_watchpoint): Add 'self' argument.
1445 * remote-mips.c (mips_insert_watchpoint): Add 'self' argument.
1446 * remote-m32r-sdi.c (m32r_insert_watchpoint): Add 'self' argument.
1447 * procfs.c (procfs_insert_watchpoint): Add 'self' argument.
1448 * ppc-linux-nat.c (ppc_linux_insert_watchpoint): Add 'self'
1450 * nto-procfs.c (procfs_insert_hw_watchpoint): Add 'self' argument.
1451 (procfs_insert_hw_watchpoint): Add 'self' argument.
1452 * mips-linux-nat.c (mips_linux_insert_watchpoint): Add 'self'
1454 * inf-ttrace.c (inf_ttrace_insert_watchpoint): Add 'self'
1456 * ia64-linux-nat.c (ia64_linux_insert_watchpoint): Add 'self'
1458 * i386-nat.c (i386_insert_watchpoint): Add 'self' argument.
1459 * arm-linux-nat.c (arm_linux_insert_watchpoint): Add 'self'
1461 * aarch64-linux-nat.c (aarch64_linux_insert_watchpoint): Add
1464 2014-02-19 Tom Tromey <tromey@redhat.com>
1466 * target.h (struct target_ops) <to_remove_watchpoint>: Add
1468 (target_remove_watchpoint): Add argument.
1469 * target.c (debug_to_remove_watchpoint): Add argument.
1470 (update_current_target): Update.
1471 * s390-linux-nat.c (s390_remove_watchpoint): Add 'self' argument.
1472 * remote.c (remote_remove_watchpoint): Add 'self' argument.
1473 * remote-mips.c (mips_remove_watchpoint): Add 'self' argument.
1474 * remote-m32r-sdi.c (m32r_remove_watchpoint): Add 'self' argument.
1475 * procfs.c (procfs_remove_watchpoint): Add 'self' argument.
1476 * ppc-linux-nat.c (ppc_linux_remove_watchpoint): Add 'self'
1478 * nto-procfs.c (procfs_remove_hw_watchpoint): Add 'self' argument.
1479 * mips-linux-nat.c (mips_linux_remove_watchpoint): Add 'self'
1481 * inf-ttrace.c (inf_ttrace_remove_watchpoint): Add 'self'
1483 * ia64-linux-nat.c (ia64_linux_remove_watchpoint): Add 'self'
1485 * i386-nat.c (i386_remove_watchpoint): Add 'self' argument.
1486 * arm-linux-nat.c (arm_linux_remove_watchpoint): Add 'self'
1488 * aarch64-linux-nat.c (aarch64_linux_remove_watchpoint): Add
1491 2014-02-19 Tom Tromey <tromey@redhat.com>
1493 * target.h (struct target_ops) <to_remove_hw_breakpoint>: Add
1495 (target_remove_hw_breakpoint): Add argument.
1496 * target.c (debug_to_remove_hw_breakpoint): Add argument.
1497 (update_current_target): Update.
1498 * remote.c (remote_remove_hw_breakpoint): Add 'self' argument.
1499 * ppc-linux-nat.c (ppc_linux_remove_hw_breakpoint): Add 'self'
1501 * i386-nat.c (i386_remove_hw_breakpoint): Add 'self' argument.
1502 * arm-linux-nat.c (arm_linux_remove_hw_breakpoint): Add 'self'
1504 * aarch64-linux-nat.c (aarch64_linux_remove_hw_breakpoint): Add
1507 2014-02-19 Tom Tromey <tromey@redhat.com>
1509 * target.h (struct target_ops) <to_insert_hw_breakpoint>: Add
1511 (target_insert_hw_breakpoint): Add argument.
1512 * target.c (debug_to_insert_hw_breakpoint): Add argument.
1513 (update_current_target): Update.
1514 * remote.c (remote_insert_hw_breakpoint): Add 'self' argument.
1515 * ppc-linux-nat.c (ppc_linux_insert_hw_breakpoint): Add 'self'
1517 * nto-procfs.c (procfs_insert_hw_breakpoint): Add 'self' argument.
1518 * i386-nat.c (i386_insert_hw_breakpoint): Add 'self' argument.
1519 * arm-linux-nat.c (arm_linux_insert_hw_breakpoint): Add 'self'
1521 * aarch64-linux-nat.c (aarch64_linux_insert_hw_breakpoint): Add
1524 2014-02-19 Tom Tromey <tromey@redhat.com>
1526 * target.h (struct target_ops) <to_can_use_hw_breakpoint>: Add
1528 (target_can_use_hardware_watchpoint): Add argument.
1529 * target.c (debug_to_can_use_hw_breakpoint): Add argument.
1530 (update_current_target): Update.
1531 * spu-linux-nat.c (spu_can_use_hw_breakpoint): Add 'self'
1533 * s390-linux-nat.c (s390_can_use_hw_breakpoint): Add 'self'
1535 * remote.c (remote_check_watch_resources): Add 'self' argument.
1536 * remote-mips.c (mips_can_use_watchpoint): Add 'self' argument.
1537 * remote-m32r-sdi.c (m32r_can_use_hw_watchpoint): Add 'self'
1539 * procfs.c (procfs_can_use_hw_breakpoint): Add 'self' argument.
1540 * ppc-linux-nat.c (ppc_linux_can_use_hw_breakpoint): Add 'self'
1542 * nto-procfs.c (procfs_can_use_hw_breakpoint): Add 'self'
1544 * mips-linux-nat.c (mips_linux_can_use_hw_breakpoint): Add 'self'
1546 * inf-ttrace.c (inf_ttrace_can_use_hw_breakpoint): Add 'self'
1548 * ia64-linux-nat.c (ia64_linux_can_use_hw_breakpoint): Add 'self'
1550 * ia64-hpux-nat.c (ia64_hpux_can_use_hw_breakpoint): Add 'self'
1552 * i386-nat.c (i386_can_use_hw_breakpoint): Add 'self' argument.
1553 * arm-linux-nat.c (arm_linux_can_use_hw_breakpoint): Add 'self'
1555 * aarch64-linux-nat.c (aarch64_linux_can_use_hw_breakpoint): Add
1558 2014-02-19 Tom Tromey <tromey@redhat.com>
1560 * target.h (struct target_ops) <to_post_attach>: Add argument.
1561 (target_post_attach): Add argument.
1562 * target.c (debug_to_post_attach): Add argument.
1563 (update_current_target): Update.
1564 * spu-linux-nat.c (spu_child_post_attach): Add 'self' argument.
1565 * nto-procfs.c (procfs_post_attach): Add 'self' argument.
1566 * linux-nat.c (linux_child_post_attach): Add 'self' argument.
1567 * inf-ptrace.c (inf_ptrace_post_attach): Add 'self' argument.
1568 * inf-child.c (inf_child_post_attach): Add 'self' argument.
1570 2014-02-19 Tom Tromey <tromey@redhat.com>
1572 * windows-nat.c (windows_close): Add 'self' argument.
1573 * tracepoint.c (tfile_close): Add 'self' argument.
1574 * target.h (struct target_ops) <to_close>: Add argument.
1575 * target.c (target_close): Add argument.
1576 (update_current_target): Update.
1577 * remote.c (remote_close): Add 'self' argument.
1578 * remote-sim.c (gdbsim_close): Add 'self' argument.
1579 * remote-mips.c (mips_close): Add 'self' argument.
1580 * remote-m32r-sdi.c (m32r_close): Add 'self' argument.
1581 * record-full.c (record_full_close): Add 'self' argument.
1582 * record-btrace.c (record_btrace_close): Add 'self' argument.
1583 * monitor.h (monitor_close): Add 'self' argument.
1584 * monitor.c (monitor_close): Add 'self' argument.
1585 * mips-linux-nat.c (mips_linux_close): Add 'self' argument.
1586 * linux-nat.c (linux_nat_close): Add argument.
1587 * go32-nat.c (go32_close): Add 'self' argument.
1588 * exec.c (exec_close_1): Add 'self' argument.
1589 * ctf.c (ctf_close): Add 'self' argument.
1590 * corelow.c (core_close): Add 'self' argument.
1591 (core_close_cleanup): Update.
1592 * bsd-uthread.c (bsd_uthread_close): Add 'self' argument.
1593 * bsd-kvm.c (bsd_kvm_close): Add 'self' argument.
1595 2014-02-19 Tom Tromey <tromey@redhat.com>
1597 * remote.c (remote_load): New function.
1598 (init_remote_ops): Use it.
1600 2014-02-19 Tom Tromey <tromey@redhat.com>
1602 * common/linux-btrace.c (linux_supports_btrace): Add "ops"
1604 * common/linux-btrace.h (linux_supports_btrace): Update.
1605 * remote.c (remote_supports_btrace): Add "self" argument.
1606 * target-delegates.c: Rebuild.
1607 * target.c (target_supports_btrace): Remove.
1608 * target.h (struct target_ops) <to_supports_btrace>: Add
1609 target_ops argument.
1610 (target_supports_btrace): New define.
1612 2014-02-19 Tom Tromey <tromey@redhat.com>
1614 * record-full.c (record_full_beneath_to_resume_ops)
1615 (record_full_beneath_to_resume, record_full_beneath_to_wait_ops)
1616 (record_full_beneath_to_wait)
1617 (record_full_beneath_to_store_registers_ops)
1618 (record_full_beneath_to_store_registers)
1619 (record_full_beneath_to_xfer_partial_ops)
1620 (record_full_beneath_to_xfer_partial)
1621 (record_full_beneath_to_insert_breakpoint_ops)
1622 (record_full_beneath_to_insert_breakpoint)
1623 (record_full_beneath_to_remove_breakpoint_ops)
1624 (record_full_beneath_to_remove_breakpoint)
1625 (record_full_beneath_to_stopped_by_watchpoint)
1626 (record_full_beneath_to_stopped_data_address)
1627 (record_full_beneath_to_async, tmp_to_resume_ops, tmp_to_resume)
1628 (tmp_to_wait_ops, tmp_to_wait, tmp_to_store_registers_ops)
1629 (tmp_to_store_registers, tmp_to_xfer_partial_ops)
1630 (tmp_to_xfer_partial, tmp_to_instmp_to_insert_breakpoint_ops)
1631 (tmp_to_insert_breakpoint, tmp_to_remove_breakpoint_ops)
1632 (tmp_to_remove_breakpoint, tmp_to_stopped_by_watchpoint)
1633 (tmp_to_stopped_data_address, tmp_to_async): Remove.
1634 (record_full_open_1, record_full_open): Update. Use RECORD_IS_USED.
1635 (record_full_resume, record_full_wait_1)
1636 (record_full_stopped_by_watchpoint, record_full_stopped_data_address)
1637 (record_full_store_registers, record_full_xfer_partial)
1638 (record_full_insert_breakpoint, record_full_remove_breakpoint)
1639 (record_full_async, record_full_core_xfer_partial): Use target
1641 * target-delegates.c: Rebuild.
1642 * target.c (current_xfer_partial): Remove.
1643 (update_current_target): Do not INHERIT or de_fault
1644 to_insert_breakpoint, to_remove_breakpoint,
1645 to_stopped_data_address, to_stopped_by_watchpoint, to_can_async_p,
1646 to_is_async_p, to_async. Do not set to_xfer_partial field.
1647 (default_xfer_partial): Simplify.
1648 (current_xfer_partial): Remove.
1649 (target_wait, target_resume): Simplify.
1650 (find_default_can_async_p, find_default_is_async_p): Update.
1651 (init_dummy_target): Don't set to_can_async_p, to_is_async_p,
1652 to_xfer_partial, to_stopped_by_watchpoint,
1653 to_stopped_data_address.
1654 (target_store_registers): Simplify.
1655 (forward_target_remove_breakpoint)
1656 (forward_target_insert_breakpoint): Remove.
1657 (target_remove_breakpoint, target_insert_breakpoint)
1658 (debug_to_insert_breakpoint, debug_to_remove_breakpoint): Update.
1659 * target.h (struct target_ops) <to_resume, to_wait,
1660 to_store_registers, to_insert_breakpoint, to_remove_breakpoint,
1661 to_stopped_by_watchpoint, to_stopped_data_address, to_can_async_p,
1662 to_is_async_p, to_async, to_xfer_partial>: Add TARGET_DEFAULT
1664 (forward_target_remove_breakpoint)
1665 (forward_target_insert_breakpoint): Remove.
1666 * record-btrace.c (record_btrace_remove_breakpoint): Delegate
1668 (record_btrace_insert_breakpoint): Delegate directly.
1670 2014-02-19 Tom Tromey <tromey@redhat.com>
1673 * target-delegates.c: New file.
1674 * target.c: Include target-delegates.c.
1675 (init_dummy_target): Call install_dummy_methods.
1676 (complete_target_initialization): Call install_delegators.
1677 * target.h (TARGET_DEFAULT_IGNORE, TARGET_DEFAULT_NORETURN)
1678 (TARGET_DEFAULT_RETURN, TARGET_DEFAULT_FUNC): New defines.
1679 * make-target-delegates: New file.
1681 2014-02-19 Tom Tromey <tromey@redhat.com>
1683 * record.c (find_record_target): Use find_target_at.
1684 * target.c (find_target_at): New function.
1685 * target.h (find_target_at): Declare.
1687 2014-02-19 Tom Tromey <tromey@redhat.com>
1689 * aarch64-linux-nat.c (aarch64_linux_stopped_by_watchpoint):
1691 * arm-linux-nat.c (arm_linux_stopped_by_watchpoint): Add
1693 * i386-nat.c (i386_stopped_by_watchpoint): Add 'ops' argument.
1694 * ia64-linux-nat.c (ia64_linux_stopped_by_watchpoint): Add
1696 * inf-ttrace.c (inf_ttrace_stopped_by_watchpoint): Add 'ops'
1698 * linux-nat.c (save_sigtrap): Update.
1699 (linux_nat_stopped_by_watchpoint, linux_nat_is_async_p)
1700 (linux_nat_can_async_p, linux_nat_async): Add 'ops' argument.
1701 (linux_nat_close): Update.
1702 * mips-linux-nat.c (mips_linux_stopped_by_watchpoint): Add 'ops'
1704 * ppc-linux-nat.c (ppc_linux_stopped_by_watchpoint): Add 'ops'
1706 * procfs.c (procfs_stopped_by_watchpoint): Add 'ops' argument.
1707 * record-full.c (record_full_beneath_to_stopped_by_watchpoint)
1708 (record_full_beneath_to_async, tmp_to_stopped_by_watchpoint)
1709 (tmp_to_async): Add 'ops' argument.
1710 (record_full_stopped_by_watchpoint, record_full_async)
1711 (record_full_can_async_p, record_full_is_async_p): Add 'ops'
1713 * remote-m32r-sdi.c (m32r_insert_breakpoint, m32r_remove_breakpoint)
1714 (m32r_stopped_by_watchpoint): Add 'ops' argument.
1715 * remote-mips.c (mips_stopped_by_watchpoint): Add 'ops' argument.
1716 * remote.c (remote_stopped_by_watchpoint_p, remote_can_async_p)
1717 (remote_is_async_p, remote_async): Add 'ops' argument.
1718 (remote_stopped_data_address): Update.
1719 * s390-nat.c (s390_stopped_by_watchpoint): Add 'ops' argument.
1720 * target.c (update_current_target)
1721 (find_default_can_async_p, find_default_is_async_p): Update.
1722 (init_dummy_target): Update.
1723 (debug_to_stopped_by_watchpoint): Add 'ops' argument.
1724 * target.h (struct target_ops) <to_stopped_by_watchpoint,
1725 to_can_async_p, to_is_async_p, to_async>: Add 'ops' argument.
1726 (target_can_async_p, target_is_async_p, target_async)
1727 (target_stopped_by_watchpoint): Update.
1729 2014-02-19 Yao Qi <yao@codesourcery.com>
1732 * gdbarch.sh: Remove startup_gdbarch.
1733 * gdbarch.c: Regenerated.
1734 * gdbarch.h: Likewise.
1736 2014-02-17 Kevin Buettner <kevinb@redhat.com>
1738 * rl78-tdep.c (rl78_g10_register_name): New function.
1739 (rl78_return_value): Add g10 support.
1740 (rl78_gdbarch_init): Register rl78_g10_register_name for the
1743 2014-02-17 Doug Evans <xdje42@gmail.com>
1745 * Makefile.in (SUBDIR_GUILE_OBS): Resort alphabetically.
1746 (SUBDIR_GUILE_SRCS): Ditto.
1747 (scm-gsmob.o): Ditto.
1749 2014-02-17 Yao Qi <yao@codesourcery.com>
1751 * gnu-nat.c (ILL_RPC): Declare defined function.
1753 2014-02-17 Yao Qi <yao@codesourcery.com>
1755 * gnu-nat.c (gnu_read_inferior): Change 'copy_count' type to
1756 mach_msg_type_number_t.
1757 (gnu_write_inferior): Likewise.
1759 2014-02-17 Yao Qi <yao@codesourcery.com>
1761 * gnu-nat.c (proc_get_exception_port): Use 'lu' insetad of 'd'
1763 (proc_steal_exc_port, make_proc, inf_set_pid): Likewise.
1764 (inf_validate_procs, inf_signal): Likewise.
1765 (S_exception_raise_request): Likewise.
1766 (do_mach_notify_dead_name): Likewise.
1767 (steal_exc_port): Likewise.
1768 (gnu_read_inferior): Change 'copy_count''s type to
1769 mach_msg_type_number_t.
1770 (gnu_write_inferior): Likewise. Use 'lx' instead of 'x' in
1773 2014-02-16 Thomas Schwinge <thomas@codesourcery.com>
1775 * gnu-nat.c (struct inf): Change pending_execs member to a 1-bit
1776 flag. Adjust all users; in particular...
1777 (gnu_wait): ..., don't decrement its value in here...
1778 (gnu_create_inferior): ..., and instead set the flag in here,
1779 around the startup_inferior call, and call that one with
1780 START_INFERIOR_TRAPS_EXPECTED.
1782 * gnu-nat.c (ill_rpc): Remove function; replaced with this...
1783 (ILL_RPC): ... new macro.
1784 (do_mach_notify_no_senders, do_mach_notify_port_deleted)
1785 (do_mach_notify_msg_accepted, do_mach_notify_port_destroyed)
1786 (do_mach_notify_send_once, S_proc_setmsgport_reply)
1787 (S_proc_getmsgport_reply, S_msg_sig_post_reply): Generate stub
1788 functions with ILL_RPC macro.
1789 (S_proc_pid2task_reply, S_proc_task2pid_reply)
1790 (S_proc_task2proc_reply, S_proc_proc2task_reply)
1791 (S_proc_pid2proc_reply, S_proc_getprocinfo_reply)
1792 (S_proc_getprocargs_reply, S_proc_getprocenv_reply)
1793 (S_proc_getloginid_reply, S_proc_getloginpids_reply)
1794 (S_proc_getlogin_reply, S_proc_getsid_reply)
1795 (S_proc_getsessionpgids_reply, S_proc_getsessionpids_reply)
1796 (S_proc_getsidport_reply, S_proc_getpgrp_reply)
1797 (S_proc_getpgrppids_reply, S_proc_get_tty_reply)
1798 (S_proc_getnports_reply, S_proc_is_important_reply)
1799 (S_proc_get_code_reply): New stub functions, generated with
1802 * reply_mig_hack.awk: In phase 5, keep going if we have not yet
1803 collected the type check structures.
1805 * reply_mig_hack.awk: Don't expect to see the auto keyword.
1807 2014-02-14 Doug Evans <dje@google.com>
1809 * target.c (target_write_partial): Fix result type.
1811 2014-02-14 Jose E. Marchesi <jose.marchesi@oracle.com>
1813 * sparc64-linux-nat.c (_initialize_sparc64_linux_nat): Register
1814 the proper offsets to access fpregset_t.
1816 2014-02-13 Sanimir Agovic <sanimir.agovic@intel.com>
1818 * cris-tdep.c (cris_supply_gregset): Remove zerobuf.
1819 (_initialize_cris_tdep): Remove cris_set_cmdlist, cris_show_cmdlist.
1820 * h8300-tdep.c (setmachinelist): Remove global.
1821 * hppa-tdep.c (hppa_sigtramp): Remove global.
1822 * mipsnbsd-tdep.c (sigtramp_retcode_mipsel, sigtramp_retcode_mipseb
1823 RETCODE_NWORDS, RETCODE_SIZE): Wrap code with #if 0.
1824 * ravenscar-thread.c (update_target_observer): Remove global.
1825 * rs6000-tdep.c (rs6000_gdbarch_init): Remove segment_regs.
1827 2014-02-12 Tom Tromey <tromey@redhat.com>
1829 * common/rsp-low.c: Update comments.
1830 * common/rsp-low.h: Update comments.
1832 2014-02-12 Tom Tromey <tromey@redhat.com>
1834 * common/rsp-low.c (convert_ascii_to_int): Remove.
1835 * common/rsp-low.h (convert_ascii_to_int): Don't declare.
1837 2014-02-12 Tom Tromey <tromey@redhat.com>
1839 * common/rsp-low.h (unhexify): Don't declare.
1840 * common/rsp-low.c (unhexify): Remove.
1842 2014-02-12 Tom Tromey <tromey@redhat.com>
1844 * common/rsp-low.h (convert_int_to_ascii): Don't declare.
1845 * common/rsp-low.c (convert_int_to_ascii): Remove.
1847 2014-02-12 Tom Tromey <tromey@redhat.com>
1849 * common/rsp-low.h (hexify): Don't declare.
1850 * common/rsp-low.c (hexify): Remove.
1852 2014-02-12 Tom Tromey <tromey@redhat.com>
1854 * common/rsp-low.c (hexify): Never take strlen of argument.
1856 2014-02-12 Tom Tromey <tromey@redhat.com>
1858 * common/rsp-low.c (bin2hex): Never take strlen of argument.
1859 * remote.c (extended_remote_run, remote_rcmd)
1860 (remote_download_trace_state_variable, remote_save_trace_data)
1861 (remote_set_trace_notes): Update.
1862 * tracepoint.c (encode_source_string, tfile_write_status)
1863 (tfile_write_uploaded_tsv): Update.
1865 2014-02-12 Tom Tromey <tromey@redhat.com>
1867 * tracepoint.c: Include rsp-low.h.
1868 * remote.h (hex2bin, bin2hex, unpack_varlen_hex): Don't declare.
1869 * remote.c: Include rsp-low.h.
1870 (hexchars, ishex, unpack_varlen_hex, pack_nibble, pack_hex_byte)
1871 (fromhex, hex2bin, tohex, bin2hex, remote_escape_output)
1872 (remote_unescape_input): Move to common/rsp-low.c.
1873 * common/rsp-low.h: New file.
1874 * common/rsp-low.c: New file.
1875 * Makefile.in (SFILES): Add common/rsp-low.c.
1876 (HFILES_NO_SRCDIR): Add common/rsp-low.h.
1877 (COMMON_OBS): Add rsp-low.o.
1878 (rsp-low.o): New target.
1880 2014-02-12 Tom Tromey <tromey@redhat.com>
1882 * utils.h: Include print-utils.h.
1883 (host_address_to_string, plongest, pulongest, phex, phex_nz)
1884 (int_string, core_addr_to_string, core_addr_to_string_nz)
1885 (hex_string, hex_string_custom): Don't declare.
1886 * utils.c (NUMCELLS, CELLSIZE, get_cell, decimal2str, pulongest)
1887 (plongest, thirty_two, phex, phex_nz, octal2str, hex_string)
1888 (hex_string_custom, int_string, core_addr_to_string)
1889 (core_addr_to_string_nz, host_address_to_string): Move to
1890 common/print-utils.c.
1891 * common/print-utils.h: New file.
1892 * common/print-utils.c: New file
1893 * Makefile.in (SFILES): Add common/print-utils.c.
1894 (HFILES_NO_SRCDIR): Add common/print-utils.h.
1895 (COMMON_OBS): Add print-utils.o.
1896 (print-utils.o): New target.
1898 2014-02-12 Tom Tromey <tromey@redhat.com>
1900 * nios2-tdep.c (nios2_stub_frame_base_address): Remove.
1902 2014-02-12 Mark Kettenis <kettenis@gnu.org>
1904 * sparc64obsd-tdep.c (sparc64obsd_init_abi): Call obsd_init_abi.
1906 2014-02-12 Mark Kettenis <kettenis@gnu.org>
1908 * inf-ptrace.c (inf_ptrace_xfer_partial): Return TARGET_XFER_EOF
1909 if a PT_IO ptrace request returns sucessfully but indicates that 0
1910 bytes were transferred.
1912 2014-02-12 Pedro Alves <palves@redhat.com>
1913 Kevin Buettner <kevinb@redhat.com>
1915 * gnu-v3-abi.c (build_gdb_vtable_type): Return a type marked with
1916 TYPE_INSTANCE_FLAG_CODE_SPACE.
1918 2014-02-12 Pedro Alves <palves@redhat.com>
1920 * h8300-tdep.c (pseudo_from_raw_register)
1921 (raw_from_pseudo_register): New functions.
1922 (h8300_pseudo_register_read, h8300_pseudo_register_write): Use
1925 2014-02-12 Pedro Alves <palves@redhat.com>
1927 * h8300-tdep.c (h8300_register_sim_regno): New function.
1928 (h8300_gdbarch_init): Install h8300_register_sim_regno as
1929 gdbarch_register_sim_regno hook.
1931 2014-02-12 Sanimir Agovic <sanimir.agovic@intel.com>
1933 * nios2-tdep.c (nios2_stub_frame_base): Remove global.
1935 2014-02-12 Sanimir Agovic <sanimir.agovic@intel.com>
1937 * tic6x-tdep.c (tic6x_gdbarch_init): Call frame_base_set_default.
1939 2014-02-12 Mark Kettenis <kettenis@gnu.org>
1941 * obsd-tdep.h (obsd_init_abi): New prototype.
1942 * obsd-tdep.c: Define enum with OpenBSD signal numbers.
1943 (obsd_gdb_signal_from_target, obsd_gdb_signal_to_target)
1944 (obsd_init_abi): New functions.
1945 * i386obsd-tdep.c: Include "obsd-tdep.h".
1946 (i386obsd_init_abi): Call obsd_init_abi.
1947 * amd64obsd-tdep.c: Include "obsd-tdep.h".
1948 (amd64obsd_init_abi): Call obsd_init_abi.
1949 * configure.tgt (i[34567]86-*-openbsd*, x86_64-*-openbsd*): Add
1950 obsd-tdep.c to gdb_target_obs.
1952 2014-02-11 Jose E. Marchesi <jose.marchesi@oracle.com>
1954 * sparc64-tdep.c (sparc64_store_arguments): Do not align complex
1955 double float arguments to 16-byte in the argument slots.
1957 2014-02-11 Doug Evans <xdje42@gmail.com>
1959 * configure.ac: Don't crash if pkg-config is not found and guile
1960 wasn't explicitly requested. Use AC_MSG_ERROR instead of AC_ERROR
1962 * configure: Regenerate.
1964 2014-02-11 Yao Qi <yao@codesourcery.com>
1966 * aix-thread.c (aix_thread_xfer_partial): Update comments.
1967 * auxv.c (procfs_xfer_auxv, memory_xfer_auxv): Likewise.
1968 * bsd-uthread.c (bsd_uthread_xfer_partial): Likewise.
1969 * gnu-nat.c (gnu_xfer_memory): Likewise.
1970 * inf-ptrace.c (inf_ptrace_xfer_partial): Likewise.
1971 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
1972 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
1973 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise.
1975 2014-02-11 Yao Qi <yao@codesourcery.com>
1977 * target.h (enum target_xfer_error): Rename to ...
1978 (enum target_xfer_status): ... it. New. All users updated.
1979 (enum target_xfer_status) <TARGET_XFER_OK>, <TARGET_XFER_EOF>:
1981 (TARGET_XFER_STATUS_ERROR_P): New macro.
1982 (target_xfer_error_to_string): Remove declaration.
1983 (target_xfer_status_to_string): Declare.
1984 (target_xfer_partial_ftype): Adjust it.
1985 (struct target_ops) <to_xfer_partial>: Return
1986 target_xfer_status. Add argument xfered_len. Update
1988 * target.c (target_xfer_error_to_string): Rename to ...
1989 (target_xfer_status_to_string): ... it. New. All callers
1991 (target_read_live_memory): Likewise. Call target_xfer_partial
1992 instead of target_read.
1993 (memory_xfer_live_readonly_partial): Return
1994 target_xfer_status. Add argument xfered_len.
1995 (raw_memory_xfer_partial): Likewise.
1996 (memory_xfer_partial_1): Likewise.
1997 (memory_xfer_partial): Likewise.
1998 (target_xfer_partial): Likewise. Check *XFERED_LEN is set
1999 properly. Update debug message.
2000 (default_xfer_partial, current_xfer_partial): Likewise.
2001 (target_write_partial): Likewise.
2002 (target_read_partial): Likewise. All callers updated.
2003 (read_whatever_is_readable): Likewise.
2004 (target_write_with_progress): Likewise.
2005 (target_read_alloc_1): Likewise.
2007 * aix-thread.c (aix_thread_xfer_partial): Likewise.
2008 * auxv.c (procfs_xfer_auxv): Likewise.
2009 (ld_so_xfer_auxv, memory_xfer_auxv): Likewise.
2010 * bfd-target.c (target_bfd_xfer_partial): Likewise.
2011 * bsd-kvm.c (bsd_kvm_xfer_partial): Likewise.
2012 * bsd-uthread.c (bsd_uthread_xfer_partia): Likewise.
2013 * corefile.c (read_memory): Adjust.
2014 * corelow.c (core_xfer_partial): Likewise.
2015 * ctf.c (ctf_xfer_partial): Likewise.
2016 * darwin-nat.c (darwin_read_dyld_info): Likewise. All callers
2018 (darwin_xfer_partial): Likewise.
2019 * exec.c (section_table_xfer_memory_partial): Likewise. All
2021 (exec_xfer_partial): Likewise.
2022 * exec.h (section_table_xfer_memory_partial): Update
2024 * gnu-nat.c (gnu_xfer_memory): Likewise. Assert 'res' is not
2026 (gnu_xfer_partial): Likewise.
2027 * ia64-hpux-nat.c (ia64_hpux_xfer_memory_no_bs): Likewise.
2028 (ia64_hpux_xfer_memory, ia64_hpux_xfer_uregs): Likewise.
2029 (ia64_hpux_xfer_solib_got): Likewise.
2030 * inf-ptrace.c (inf_ptrace_xfer_partial): Likewise. Change
2031 type of 'partial_len' to ULONGEST.
2032 * inf-ttrace.c (inf_ttrace_xfer_partial): Likewise.
2033 * linux-nat.c (linux_xfer_siginfo ): Likewise.
2034 (linux_nat_xfer_partial): Likewise.
2035 (linux_proc_xfer_partial, linux_xfer_partial): Likewise.
2036 (linux_proc_xfer_spu, linux_nat_xfer_osdata): Likewise.
2037 * monitor.c (monitor_xfer_memory): Likewise.
2038 (monitor_xfer_partial): Likewise.
2039 * procfs.c (procfs_xfer_partial): Likewise.
2040 * record-btrace.c (record_btrace_xfer_partial): Likewise.
2041 * record-full.c (record_full_xfer_partial): Likewise.
2042 (record_full_core_xfer_partial): Likewise.
2043 * remote-sim.c (gdbsim_xfer_memory): Likewise.
2044 (gdbsim_xfer_partial): Likewise.
2045 * remote.c (remote_write_bytes_aux): Likewise. All callers
2047 (remote_write_bytes, remote_read_bytes): Likewise. All
2049 (remote_flash_erase): Likewise. All callers updated.
2050 (remote_write_qxfer): Likewise. All callers updated.
2051 (remote_read_qxfer): Likewise. All callers updated.
2052 (remote_xfer_partial): Likewise.
2053 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
2054 (rs6000_xfer_shared_libraries): Likewise.
2055 * sol-thread.c (sol_thread_xfer_partial): Likewise.
2056 (sol_thread_xfer_partial): Likewise.
2057 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
2058 (sparc_xfer_partial): Likewise.
2059 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise. All callers
2061 (spu_xfer_partial): Likewise.
2062 * spu-multiarch.c (spu_xfer_partial): Likewise.
2063 * tracepoint.c (tfile_xfer_partial): Likewise.
2064 * windows-nat.c (windows_xfer_memory): Likewise.
2065 (windows_xfer_shared_libraries): Likewise.
2066 (windows_xfer_partial): Likewise.
2067 * valprint.c: Replace 'target_xfer_error' with
2068 'target_xfer_status' in comments.
2070 2014-02-11 Simon Marchi <simon.marchi@ericsson.com> (tiny patch)
2072 Checked in by Joel Brobecker <brobecker@adacore.com>.
2073 * mi/mi-main.c (mi_cmd_data_write_memory_bytes): Fix comment.
2075 2014-02-11 Joel Brobecker <brobecker@adacore.com>
2077 * symfile-debug.c (debug_qf_expand_symtabs_matching): Reformat
2078 function parameters.
2080 2014-02-10 Will Newton <will.newton@linaro.org>
2082 * elfread.c (elf_rel_plt_read): Look for a .got section if
2083 looking up .got.plt fails.
2084 (elf_gnu_ifunc_resolve_by_got): Call gdbarch_addr_bits_remove
2085 on address passed to elf_gnu_ifunc_record_cache.
2086 (elf_gnu_ifunc_resolve_addr): Likewise.
2087 (elf_gnu_ifunc_resolver_return_stop): Likewise.
2089 2014-02-10 Jose E. Marchesi <jose.marchesi@oracle.com>
2091 * sparc-tdep.c (sparc_in_function_epilogue_p): New function.
2092 (X_RETTURN): New macro.
2093 * sparc-tdep.h: sparc_in_function_epilogue_p prototype.
2095 * sparc64-tdep.c (sparc64_init_abi): Hook
2096 sparc_in_function_epilogue_p.
2098 2014-02-10 Gary Benson <gbenson@redhat.com>
2100 * symfile-debug.c (debug_qf_expand_symtabs_matching):
2101 Rename name_matcher to symbol_matcher.
2103 2014-02-10 Gary Benson <gbenson@redhat.com>
2105 * symfile-debug.c (debug_qf_expand_symtabs_matching):
2106 Use expand_symtabs_file_matcher_ftype and
2107 expand_symtabs_symbol_matcher_ftype.
2109 2014-02-10 Joel Brobecker <brobecker@adacore.com>
2111 * ada-lang.c (struct cache_entry, HASH_SIZE): Move definition up.
2112 (struct ada_symbol_cache): New.
2113 (ada_free_symbol_cache): Forward declare.
2114 (struct ada_pspace_data): New.
2115 (ada_pspace_data_handle): New static global.
2116 (get_ada_pspace_data, ada_pspace_data_cleanup)
2117 (ada_init_symbol_cache, ada_free_symbol_cache): New functions.
2118 (cache_space, cache): Delete, now folded inside struct
2120 (ada_get_symbol_cache): New function.
2121 (ada_clear_symbol_cache, find_entry, cache_symbol): Adjust
2123 (_initialize_ada_language): Remove initialization of cache_space.
2124 Move call to observer_attach_inferior_exit up, grouping it
2125 with the other observer registrations inside this function.
2126 Rename command to be more general. Add call to
2127 register_program_space_data_with_cleanup.
2129 2014-02-10 Joel Brobecker <brobecker@adacore.com>
2131 * ada-tasks.c (ada_tasks_new_objfile_observer): Renames
2132 ada_new_objfile_observer.
2133 (ada_tasks_normal_stop_observer): Renames ada_normal_stop_observer.
2134 (_initialize_tasks): Update uses of ada_new_objfile_observer
2135 and ada_tasks_normal_stop_observer.
2137 2014-02-10 Joel Brobecker <brobecker@adacore.com>
2139 * ada-lang.c (ada_evaluate_subexp): Set the type of the value
2140 returned by the 'Length attribute to integer.
2142 2014-02-10 Joel Brobecker <brobecker@adacore.com>
2144 * ada-lang.c (_initialize_ada_language): Initialize
2145 cache_space obstack.
2147 2014-02-10 Joel Brobecker <brobecker@adacore.com>
2149 * ada-lang.c (HASH_SIZE): New macro.
2150 (struct cache_entry): New type.
2151 (cache_space, cache): New static globals.
2152 (ada_clear_symbol_cache, find_entry): New functions.
2153 (lookup_cached_symbol, cache_symbol): Implement.
2154 (ada_new_objfile_observer, ada_free_objfile_observer): New.
2155 (_initialize_ada_language): Attach ada_new_objfile_observer
2156 and ada_free_objfile_observer.
2158 2014-02-10 Joel Brobecker <brobecker@adacore.com>
2160 * ada-lang.c (ada_add_block_symbols, add_defn_to_vec)
2161 (lookup_cached_symbol, ada_add_local_symbols): Add "const" to
2162 struct block * parameter.
2163 (ada_lookup_symbol_list_worker): Constify local variable "block".
2164 Remove cast which is no longer necessary.
2166 2014-02-10 Doug Evans <xdje42@gmail.com>
2168 Add Guile as an extension language.
2169 * NEWS: Mention Guile scripting.
2170 * Makefile.in (SUBDIR_GUILE_OBS): New variable.
2171 (SUBDIR_GUILE_SRCS, SUBDIR_GUILE_DEPS): New variables
2172 (SUBDIR_GUILE_LDFLAGS, SUBDIR_GUILE_CFLAGS): New variables.
2173 (INTERNAL_CPPFLAGS): Add GUILE_CPPFLAGS.
2174 (CLIBS): Add GUILE_LIBS.
2175 (install-guile): New rule.
2176 (guile.o): New rule.
2177 (scm-arch.o, scm-auto-load.o, scm-block.o): New rules.
2178 (scm-breakpoint.o, scm-disasm.o, scm-exception.o): New rules.
2179 (scm-frame.o, scm-iterator.o, scm-lazy-string.o): New rules.
2180 (scm-math.o, scm-objfile.o, scm-ports.o): New rules.
2181 (scm-pretty-print.o, scm-safe-call.o, scm-gsmob.o): New rules.
2182 (scm-string.o, scm-symbol.o, scm-symtab.o): New rules.
2183 (scm-type.o, scm-utils.o, scm-value.o): New rules.
2184 * configure.ac: New option --with-guile.
2185 * configure: Regenerate.
2186 * config.in: Regenerate.
2187 * auto-load.c: Remove #include "python/python.h". Add #include
2188 "gdb/section-scripts.h".
2189 (source_section_scripts): Handle Guile scripts.
2190 (_initialize_auto_load): Add name of Guile objfile script to
2191 scripts-directory help text.
2192 * breakpoint.c (condition_command): Tweak comment to include Scheme.
2193 * breakpoint.h (gdbscm_breakpoint_object): Add forward decl.
2194 (struct breakpoint): New member scm_bp_object.
2195 * defs.h (enum command_control_type): New value guile_control.
2196 * cli/cli-cmds.c: Remove #include "python/python.h". Add #include
2198 (show_user): Update comment.
2199 (_initialize_cli_cmds): Update help text for "show user". Update help
2200 text for max-user-call-depth.
2201 * cli/cli-script.c: Remove #include "python/python.h". Add #include
2203 (multi_line_command_p): Add guile_control.
2204 (print_command_lines): Handle guile_control.
2205 (execute_control_command, recurse_read_control_structure): Ditto.
2206 (process_next_line): Recognize "guile" commands.
2207 * disasm.c (gdb_disassemble_info): Make non-static.
2208 * disasm.h: #include "dis-asm.h".
2209 (struct gdbarch): Add forward decl.
2210 (gdb_disassemble_info): Declare.
2211 * extension.c: #include "guile/guile.h".
2212 (extension_languages): Add guile.
2213 (get_ext_lang_defn): Handle EXT_LANG_GDB.
2214 * extension.h (enum extension_language): New value EXT_LANG_GUILE.
2215 * gdbtypes.c (get_unsigned_type_max): New function.
2216 (get_signed_type_minmax): New function.
2217 * gdbtypes.h (get_unsigned_type_max): Declare.
2218 (get_signed_type_minmax): Declare.
2219 * guile/README: New file.
2220 * guile/guile-internal.h: New file.
2221 * guile/guile.c: New file.
2222 * guile/guile.h: New file.
2223 * guile/scm-arch.c: New file.
2224 * guile/scm-auto-load.c: New file.
2225 * guile/scm-block.c: New file.
2226 * guile/scm-breakpoint.c: New file.
2227 * guile/scm-disasm.c: New file.
2228 * guile/scm-exception.c: New file.
2229 * guile/scm-frame.c: New file.
2230 * guile/scm-gsmob.c: New file.
2231 * guile/scm-iterator.c: New file.
2232 * guile/scm-lazy-string.c: New file.
2233 * guile/scm-math.c: New file.
2234 * guile/scm-objfile.c: New file.
2235 * guile/scm-ports.c: New file.
2236 * guile/scm-pretty-print.c: New file.
2237 * guile/scm-safe-call.c: New file.
2238 * guile/scm-string.c: New file.
2239 * guile/scm-symbol.c: New file.
2240 * guile/scm-symtab.c: New file.
2241 * guile/scm-type.c: New file.
2242 * guile/scm-utils.c: New file.
2243 * guile/scm-value.c: New file.
2244 * guile/lib/gdb.scm: New file.
2245 * guile/lib/gdb/boot.scm: New file.
2246 * guile/lib/gdb/experimental.scm: New file.
2247 * guile/lib/gdb/init.scm: New file.
2248 * guile/lib/gdb/iterator.scm: New file.
2249 * guile/lib/gdb/printing.scm: New file.
2250 * guile/lib/gdb/types.scm: New file.
2251 * data-directory/Makefile.in (GUILE_SRCDIR): New variable.
2252 (VPATH): Add $(GUILE_SRCDIR).
2253 (GUILE_DIR): New variable.
2254 (GUILE_INSTALL_DIR, GUILE_FILES): New variables.
2255 (all): Add stamp-guile dependency.
2256 (stamp-guile): New rule.
2257 (clean-guile, install-guile, uninstall-guile): New rules.
2258 (install-only): Add install-guile dependency.
2259 (uninstall): Add uninstall-guile dependency.
2260 (clean): Add clean-guile dependency.
2262 2014-02-09 Doug Evans <xdje42@gmail.com>
2264 Revert this patch (which I approved, mea culpa).
2266 2014-02-08 Mark Kettenis <kettenis@gnu.org>
2268 * Makefile.in (all-lib): Remove.
2269 ($(LIBGNU) $(GNULIB_H)): Replace with gits of remove all-lib target.
2271 2014-02-09 Jan Kratochvil <jan.kratochvil@redhat.com>
2273 Fix Python stack corruption.
2274 * python/py-linetable.c (ltpy_get_pcs_for_line, ltpy_has_line): Use
2277 2014-02-08 Mark Kettenis <kettenis@gnu.org>
2279 * Makefile.in (all-lib): Remove.
2280 ($(LIBGNU) $(GNULIB_H)): Replace with gits of remove all-lib target.
2282 2014-02-07 Doug Evans <dje@google.com>
2284 * extension-priv.h (extension_language_script_ops): Add comment.
2285 (extension_language_ops): Add comment.
2286 (active_ext_lang_state): Fix typo in comment.
2288 2014-02-07 Pedro Alves <palves@redhat.com>
2290 * infrun.c (handle_signal_stop) <signal arrives while stepping
2291 over a breakpoint>: Switch back to the stepping thread.
2293 2014-02-07 Yao Qi <yao@codesourcery.com>
2295 * target.c (target_xfer_partial): Return zero if LEN is zero.
2297 2014-02-07 Yao Qi <yao@codesourcery.com>
2299 * auxv.c (procfs_xfer_auxv): Replace -1 with TARGET_XFER_E_IO.
2300 (ld_so_xfer_auxv): Likewise.
2301 * bfd-target.c (target_bfd_xfer_partial): Likewise.
2302 * bsd-kvm.c (bsd_kvm_xfer_partial): Likewise.
2303 * corelow.c (core_xfer_partial): Likewise.
2304 * ctf.c (ctf_xfer_partial): Likewise.
2305 * darwin-nat.c (darwin_read_dyld_info): Likewise.
2306 (darwin_xfer_partial): Likewise.
2307 * exec.c (exec_xfer_partial): Likewise.
2308 * gnu-nat.c (gnu_xfer_partial): Likewise.
2309 * ia64-hpux-nat.c (ia64_hpux_xfer_uregs): Likewise.
2310 * inf-ptrace.c (inf_ptrace_xfer_partial): Likewise.
2311 * inf-ttrace.c (inf_ttrace_xfer_partial): Likewise.
2312 * linux-nat.c (linux_xfer_siginfo): Likewise.
2313 (linux_proc_xfer_spu): Likewise.
2314 * procfs.c (procfs_xfer_partial): Likewise.
2315 * record-full.c (record_full_xfer_partial): Likewise.
2316 (record_full_core_xfer_partial): Likewise.
2317 * remote-sim.c (gdbsim_xfer_partial): Likewise.
2318 * remote.c (remote_write_qxfer): Likewise.
2319 (remote_write_qxfer, remote_read_qxfer): Likewise.
2320 (remote_xfer_partial): Likewise.
2321 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
2322 (rs6000_xfer_shared_libraries): Likewise.
2323 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
2324 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise.
2325 (spu_xfer_partial): Likewise.
2326 * target.c (memory_xfer_partial_1): Likewise.
2327 * tracepoint.c (tfile_xfer_partial): Likewise.
2328 * windows-nat.c (windows_xfer_shared_libraries): Likewise.
2329 (windows_xfer_partial): Likewise.
2331 2014-02-07 Yao Qi <yao@codesourcery.com>
2333 * gdbarch.sh (core_xfer_shared_libraries): Returns ULONGEST. Add
2335 (core_xfer_shared_libraries_aix): Likewise.
2336 * gdbarch.c, gdbarch.h: Regenerated.
2337 * i386-cygwin-tdep.c (windows_core_xfer_shared_libraries): Return
2338 ULONGEST. Change 'len_avail' type to ULONGEST.
2339 * rs6000-aix-tdep.c (rs6000_aix_ld_info_to_xml): Likewise.
2340 * rs6000-aix-tdep.h (rs6000_aix_ld_info_to_xml): Update
2342 (rs6000_aix_core_xfer_shared_libraries_aix): Return ULONGEST.
2344 2014-02-07 Yao Qi <yao@codesourcery.com>
2346 * corefile.c (memory_error): Get 'exception' from ERR and pass
2347 'exception' to throw_error.
2349 2014-02-06 Doug Evans <xdje42@gmail.com>
2351 * configure.ac (libpython checking): Remove all but python.o from
2352 CONFIG_OBS. Remove all but python.c from CONFIG_SRCS.
2353 * configure: Regenerate.
2355 * Makefile.in (SFILES): Add extension.c.
2356 (HFILES_NO_SRCDIR): Add extension.h, extension-priv.h
2357 (COMMON_OBS): Add extension.o.
2358 * extension.h: New file.
2359 * extension-priv.h: New file.
2360 * extension.c: New file.
2362 * python/python-internal.h: #include "extension.h".
2363 (gdbpy_auto_load_enabled): Declare.
2364 (gdbpy_apply_val_pretty_printer): Declare.
2365 (gdbpy_apply_frame_filter): Declare.
2366 (gdbpy_preserve_values): Declare.
2367 (gdbpy_breakpoint_cond_says_stop): Declare.
2368 (gdbpy_breakpoint_has_cond): Declare.
2369 (void source_python_script_for_objfile): Delete.
2370 * python/python.c: #include "extension-priv.h".
2371 Delete inclusion of "observer.h".
2372 (extension_language_python): Moved here and renamed from
2373 script_language_python in py-auto-load.c.
2374 Redefined to be of type extension_language_defn.
2375 (python_extension_script_ops): New global.
2376 (python_extension_ops): New global.
2377 (struct python_env): New member previous_active.
2378 (restore_python_env): Call restore_active_ext_lang.
2379 (ensure_python_env): Call set_active_ext_lang.
2380 (gdbpy_clear_quit_flag): Renamed from clear_quit_flag, made static.
2382 (gdbpy_set_quit_flag): Renamed from set_quit_flag, made static.
2384 (gdbpy_check_quit_flag): Renamed from check_quit_flag, made static.
2386 (gdbpy_eval_from_control_command): Renamed from
2387 eval_python_from_control_command, made static. New arg extlang.
2388 (gdbpy_source_script) Renamed from source_python_script, made static.
2390 (gdbpy_before_prompt_hook): Renamed from before_prompt_hook. Change
2391 result to int. New arg extlang.
2392 (gdbpy_source_objfile_script): Renamed from
2393 source_python_script_for_objfile, made static. New arg extlang.
2394 (gdbpy_start_type_printers): Renamed from start_type_printers, made
2395 static. New args extlang, extlang_printers. Change result type to
2397 (gdbpy_apply_type_printers): Renamed from apply_type_printers, made
2398 static. New arg extlang. Rename arg printers to extlang_printers
2399 and change type to ext_lang_type_printers *.
2400 (gdbpy_free_type_printers): Renamed from free_type_printers, made
2401 static. Replace argument arg with extlang, extlang_printers.
2402 (!HAVE_PYTHON, eval_python_from_control_command): Delete.
2403 (!HAVE_PYTHON, source_python_script): Delete.
2404 (!HAVE_PYTHON, gdbpy_should_stop): Delete.
2405 (!HAVE_PYTHON, gdbpy_breakpoint_has_py_cond): Delete.
2406 (!HAVE_PYTHON, start_type_printers): Delete.
2407 (!HAVE_PYTHON, apply_type_printers): Delete.
2408 (!HAVE_PYTHON, free_type_printers): Delete.
2409 (_initialize_python): Delete call to observer_attach_before_prompt.
2410 (finalize_python): Set/restore active extension language.
2411 (gdbpy_finish_initialization) Renamed from
2412 finish_python_initialization, made static. New arg extlang.
2413 (gdbpy_initialized): New function.
2414 * python/python.h: #include "extension.h". Delete #include
2415 "value.h", "mi/mi-cmds.h".
2416 (extension_language_python): Declare.
2417 (GDBPY_AUTO_FILE_NAME): Delete.
2418 (enum py_bt_status): Moved to extension.h and renamed to
2420 (enum frame_filter_flags): Moved to extension.h.
2421 (enum py_frame_args): Moved to extension.h and renamed to
2422 ext_lang_frame_args.
2423 (finish_python_initialization): Delete.
2424 (eval_python_from_control_command): Delete.
2425 (source_python_script): Delete.
2426 (apply_val_pretty_printer): Delete.
2427 (apply_frame_filter): Delete.
2428 (preserve_python_values): Delete.
2429 (gdbpy_script_language_defn): Delete.
2430 (gdbpy_should_stop, gdbpy_breakpoint_has_py_cond): Delete.
2431 (start_type_printers, apply_type_printers, free_type_printers): Delete.
2433 * auto-load.c: #include "extension.h".
2434 (GDB_AUTO_FILE_NAME): Delete.
2435 (auto_load_gdb_scripts_enabled): Make public. New arg extlang.
2436 (script_language_gdb): Delete, moved to extension.c and renamed to
2437 extension_language_gdb.
2438 (source_gdb_script_for_objfile): Delete.
2439 (auto_load_pspace_info): New member unsupported_script_warning_printed.
2440 (loaded_script): Change type of language member to
2441 struct extension_language_defn *.
2442 (init_loaded_scripts_info): Initialize
2443 unsupported_script_warning_printed.
2444 (maybe_add_script): Make static. Change type of language arg to
2445 struct extension_language_defn *.
2446 (clear_section_scripts): Reset unsupported_script_warning_printed.
2447 (auto_load_objfile_script_1): Rewrite to use extension language API.
2448 (auto_load_objfile_script): Make public. Remove support-compiled-in
2449 and auto-load-enabled checks, moved to auto_load_scripts_for_objfile.
2450 (source_section_scripts): Rewrite to use extension language API.
2451 (load_auto_scripts_for_objfile): Rewrite to use
2452 auto_load_scripts_for_objfile.
2453 (collect_matching_scripts_data): Change type of language member to
2454 struct extension_language_defn *.
2455 (auto_load_info_scripts): Change type of language arg to
2456 struct extension_language_defn *.
2457 (unsupported_script_warning_print): New function.
2458 (script_not_found_warning_print): Make static.
2459 (_initialize_auto_load): Rewrite construction of scripts-directory
2461 * auto-load.h (struct objfile): Add forward decl.
2462 (struct script_language): Delete.
2463 (struct auto_load_pspace_info): Add forward decl.
2464 (struct extension_language_defn): Add forward decl.
2465 (maybe_add_script): Delete.
2466 (auto_load_objfile_script): Declare.
2467 (script_not_found_warning_print): Delete.
2468 (auto_load_info_scripts): Update prototype.
2469 (auto_load_gdb_scripts_enabled): Declare.
2470 * python/py-auto-load.c (gdbpy_auto_load_enabled): Renamed from
2471 auto_load_python_scripts_enabled and made public.
2472 (script_language_python): Delete, moved to python.c.
2473 (gdbpy_script_language_defn): Delete.
2474 (info_auto_load_python_scripts): Update to use
2475 extension_language_python.
2477 * breakpoint.c (condition_command): Replace call to
2478 gdbpy_breakpoint_has_py_cond with call to get_breakpoint_cond_ext_lang.
2479 (bpstat_check_breakpoint_conditions): Replace call to gdbpy_should_stop
2480 with call to breakpoint_ext_lang_cond_says_stop.
2481 * python/py-breakpoint.c (gdbpy_breakpoint_cond_says_stop): Renamed
2482 from gdbpy_should_stop. Change result type to enum scr_bp_stop.
2483 New arg slang. Return SCR_BP_STOP_UNSET if py_bp_object is NULL.
2484 (gdbpy_breakpoint_has_cond): Renamed from gdbpy_breakpoint_has_py_cond.
2486 (local_setattro): Print name of extension language with existing
2489 * valprint.c (val_print, value_print): Update to call
2490 apply_ext_lang_val_pretty_printer.
2491 * cp-valprint.c (cp_print_value): Update call to
2492 apply_ext_lang_val_pretty_printer.
2493 * python/py-prettyprint.c: Remove #ifdef HAVE_PYTHON.
2494 (gdbpy_apply_val_pretty_printer): Renamed from
2495 apply_val_pretty_printer. New arg extlang.
2496 (!HAVE_PYTHON, apply_val_pretty_printer): Delete.
2498 * cli/cli-cmds.c (source_script_from_stream): Rewrite to use
2499 extension language API.
2500 * cli/cli-script.c (execute_control_command): Update to call
2501 eval_ext_lang_from_control_command.
2503 * mi/mi-cmd-stack.c (mi_cmd_stack_list_frames): Update to use
2504 enum ext_lang_bt_status values. Update call to
2505 apply_ext_lang_frame_filter.
2506 (mi_cmd_stack_list_locals): Ditto.
2507 (mi_cmd_stack_list_args): Ditto.
2508 (mi_cmd_stack_list_variables): Ditto.
2509 * mi/mi-main.c: Delete #include "python/python-internal.h".
2510 Add #include "extension.h".
2511 (mi_cmd_list_features): Replace reference to python internal variable
2512 gdb_python_initialized with call to ext_lang_initialized_p.
2514 * stack.c (backtrace_command_1): Update to use enum ext_lang_bt_status.
2515 Update to use enum ext_lang_frame_args. Update to call
2516 apply_ext_lang_frame_filter.
2517 * python/py-framefilter.c (extract_sym): Update to use enum
2519 (extract_value, py_print_type, py_print_value): Ditto.
2520 (py_print_single_arg, enumerate_args, enumerate_locals): Ditto.
2521 (py_mi_print_variables, py_print_locals, py_print_args): Ditto.
2522 (py_print_frame): Ditto.
2523 (gdbpy_apply_frame_filter): Renamed from apply_frame_filter.
2524 New arg extlang. Update to use enum ext_lang_bt_status.
2526 * top.c (gdb_init): Delete #ifdef HAVE_PYTHON call to
2527 finish_python_initialization. Replace with call to
2528 finish_ext_lang_initialization.
2530 * typeprint.c (do_free_global_table): Update to call
2531 free_ext_lang_type_printers.
2532 (create_global_typedef_table): Update to call
2533 start_ext_lang_type_printers.
2534 (find_global_typedef): Update to call apply_ext_lang_type_printers.
2535 * typeprint.h (struct ext_lang_type_printers): Add forward decl.
2536 (type_print_options): Change type of global_printers from "void *"
2537 to "struct ext_lang_type_printers *".
2539 * value.c (preserve_values): Update to call preserve_ext_lang_values.
2540 * python/py-value.c: Remove #ifdef HAVE_PYTHON.
2541 (gdbpy_preserve_values): Renamed from preserve_python_values.
2543 (!HAVE_PYTHON, preserve_python_values): Delete.
2545 * utils.c (quit_flag): Delete, moved to extension.c.
2546 (clear_quit_flag, set_quit_flag, check_quit_flag): Delete, moved to
2549 * eval.c: Delete #include "python/python.h".
2550 * main.c: Delete #include "python/python.h".
2552 * defs.h: Update comment.
2554 2014-02-06 Joel Brobecker <brobecker@adacore.com>
2558 2014-02-05 Mark Kettenis <kettenis@gnu.org>
2560 * c-exp.y (YYPRINT, c_print_token): Only define if YYBISON is
2563 2014-02-05 Yao Qi <yao@codesourcery.com>
2565 * remote.c (remote_pass_signals): Remove local 'buf' and use
2567 (remote_program_signals): Likewise.
2569 2014-02-05 Yao Qi <yao@codesourcery.com>
2571 * ctf.c: Include "inferior.h" and "gdbthread.h".
2572 (CTF_PID): A new macro.
2573 (ctf_open): Call inferior_appeared and add_thread_silent.
2574 (ctf_close): Call exit_inferior_silent and set inferior_ptid.
2575 (ctf_thread_alive): New function.
2576 (init_ctf_ops): Install ctf_thread_alive to to_thread_alive.
2578 2014-02-05 Yao Qi <yao@codesourcery.com>
2582 2013-05-24 Yao Qi <yao@codesourcery.com>
2584 * tracepoint.c (TFILE_PID): Remove.
2585 (tfile_open): Don't add thread and inferior.
2586 (tfile_close): Don't set 'inferior_ptid'. Don't call
2587 exit_inferior_silent.
2588 (tfile_thread_alive): Remove.
2589 (init_tfile_ops): Don't set field 'to_thread_alive' of
2592 2014-02-04 Christian Eggers <ceggers@gmx.de> (tiny change)
2594 * remote.c (remote_start_remote): Call remote_check_symbols even
2595 if only symbol-file (not file) has been given.
2597 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
2599 * gdbarch.sh (skip_entrypoint): New callback.
2600 * gdbarch.c, gdbarch.h: Regenerate.
2601 * symtab.c (skip_prologue_sal): Call gdbarch_skip_entrypoint.
2602 * infrun.c (fill_in_stop_func): Likewise.
2603 * ppc-linux-tdep.c: Include "elf/ppc64.h".
2604 (ppc_elfv2_elf_make_msymbol_special): New function.
2605 (ppc_elfv2_skip_entrypoint): Likewise.
2606 (ppc_linux_init_abi): Install them for ELFv2.
2608 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
2610 * ppc-sysv-tdep.c (ppc64_aggregate_candidate): New routine.
2611 (ppc64_elfv2_abi_homogeneous_aggregate): Likewise.
2612 (ppc64_sysv_abi_push_param): Handle ELFv2 homogeneous structs.
2613 (ppc64_sysv_abi_return_value): Likewise. Also, handle small
2614 structures returned in GPRs.
2616 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
2618 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_dummy_call): Use correct
2619 offset to the stack parameter list for the ELFv2 ABI.
2621 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
2623 * ppc-linux-tdep.c (ppc_linux_init_abi): Only call
2624 set_gdbarch_convert_from_func_ptr_addr and
2625 set_gdbarch_elf_make_msymbol_special for ELFv1.
2626 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_param): Only handle
2627 function descriptors on ELFv1.
2628 (ppc64_sysv_abi_push_dummy_call): Likewise. On ELFv2,
2629 set up r12 at function entry.
2631 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
2633 * ppc-tdep.h (enum powerpc_elf_abi): New data type.
2634 (struct gdbarch_tdep): New member elf_abi.
2636 * rs6000-tdep.c: Include "elf/ppc64.h".
2637 (rs6000_gdbarch_init): Detect ELF ABI version.
2639 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
2641 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_freg): Use correct order
2642 within a register pair holding a DFP 128-bit value on little-endian.
2643 (ppc64_sysv_abi_return_value_base): Likewise.
2644 * rs6000-tdep.c (dfp_pseudo_register_read): Likewise.
2645 (dfp_pseudo_register_write): Likewise.
2647 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
2649 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_freg): Use correct
2650 offset on little-endian when passing _Decimal32.
2651 (ppc64_sysv_abi_return_value_base): Likewise for return values.
2653 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
2655 * rs6000-tdep.c (efpr_pseudo_register_read): Use correct offset
2656 of the overlapped FP register within the VSX register on little-
2658 (efpr_pseudo_register_write): Likewise.
2660 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
2662 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_val): Use correct
2663 offset on little-endian when passing small structures.
2665 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
2667 * ppc-sysv-tdep.c (get_decimal_float_return_value): Update comment.
2668 (struct ppc64_sysv_argpos): New data structure.
2669 (ppc64_sysv_abi_push_float): Remove.
2670 (ppc64_sysv_abi_push_val): New function.
2671 (ppc64_sysv_abi_push_integer): Likewise.
2672 (ppc64_sysv_abi_push_freg): Likewise.
2673 (ppc64_sysv_abi_push_vreg): Likewise.
2674 (ppc64_sysv_abi_push_param): Likewise.
2675 (ppc64_sysv_abi_push_dummy_call): Refactor to use those new routines.
2676 (ppc64_sysv_abi_return_value_base): New function.
2677 (ppc64_sysv_abi_return_value): Refactor to use it.
2679 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
2681 * NEWS: Document new target powerpc64le-*-linux*.
2683 2014-02-04 Mark Kettenis <kettenis@gnu.org>
2685 * sparc64obsd-tdep.c (sparc64obsd_gregset): New variable.
2686 (sparc64obsd_supply_gregset): Handle registers sets used in ELF
2688 (sparc64obsd_init_abi): Adjust minimum size of the general purpose
2689 register set used in ELF core dumps. Add floating-point register set.
2691 2014-02-03 Kevin Buettner <kevinb@redhat.com>
2693 * mn10300-tdep.c (mn10300_dwarf2_reg_to_regnum): Rewrite
2694 dwarf2_to_gdb[] table using symbolic constants. Adjust
2695 penultimate entry from number representing the PC register
2696 to symbolic constant representing the MDR register. Add
2697 constant for the PC register to the end of the table.
2699 2014-02-03 Mark Kettenis <kettenis@gnu.org>
2701 * bsd-kvm.c: Include <sys/param.h>
2703 2014-02-03 Mark Kettenis <kettenis@gnu.org>
2705 * sparc64nbsd-nat.c (sparc64nbsd_supply_fpregset): Fix prototype.
2707 2014-01-31 Joel Brobecker <brobecker@adacore.com>
2709 * ada-lang.h (clear_ada_sym_cache): Delete.
2711 2014-01-30 Ulrich Weigand <uweigand@de.ibm.com>
2713 * auxv.c (fprint_target_auxv): Handle AT_HWCAP2.
2715 2014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
2717 * sparc64-linux-tdep.c (sparc64_linux_step_trap): Get PC from
2718 the sigreturn register save area only if the syscall is
2721 2014-01-29 Joel Brobecker <brobecker@adacore.com>
2723 * valops.c (value_slice): Minor reformatting.
2725 2014-01-28 Ulrich Weigand <uweigand@de.ibm.com>
2727 * ppc64-tdep.c (ppc64_standard_linkage7): Fix typo.
2729 2014-01-28 Joel Brobecker <brobecker@adacore.com>
2731 * ada-lang.c (maint_set_ada_cmdlist, maint_show_ada_cmdlist):
2733 (maint_set_ada_cmd, maint_show_ada_cmd): New functions.
2734 (ada_ignore_descriptive_types_p): New static global.
2735 (find_parallel_type_by_descriptive_type): Return immediately
2736 if ada_ignore_descriptive_types_p is set.
2737 (_initialize_ada_language): Register new commands "maintenance
2738 set ada", "maintenance show ada", "maintenance set ada
2739 ignore-descriptive-types" and "maintenance show ada
2740 ignore-descriptive-types".
2741 * NEWS: Add entry for new "maint ada set/show
2742 ignore-descriptive-types" commands.
2744 2014-01-27 Markus Metzger <markus.t.metzger@intel.com>
2746 * record-btrace.c (record_btrace_close): Call btrace_teardown
2749 2014-01-27 Joel Brobecker <brobecker@adacore.com>
2751 * ada-lang.c: Remove "#ifdef UI_OUT" condition for including
2754 2014-01-27 Joel Brobecker <brobecker@adacore.com>
2756 * ada-typeprint (type_is_full_subrange_of_target_type):
2758 (print_range): Add parameter bounds_prefered_p. If not set,
2759 try printing range types using the name of their base type.
2760 (print_range_type): Add parameter bounds_prefered_p.
2761 Use it in call to print_range.
2762 (print_array_type, ada_print_type): Update calls to print_range
2763 and print_range_type.
2765 2014-01-27 Joel Brobecker <brobecker@adacore.com>
2767 * ada-typeprint.c (print_array_type, print_choices, print_range)
2768 (print_range_bound, print_dynamic_range_bound, print_range_type):
2771 2014-01-27 Joel Brobecker <brobecker@adacore.com>
2773 * ada-typeprint.c (print_range): Add missing empty line
2774 after local declaration.
2776 2014-01-27 Joel Brobecker <brobecker@adacore.com>
2778 * ada-valprint.c (print_optional_low_bound): Get index_type's
2779 target type for as long as it is a TYPE_CODE_RANGE.
2781 2014-01-27 Joel Brobecker <brobecker@adacore.com>
2783 * procfs.c (procfs_make_note_section): Remove assertion and
2786 2014-01-24 Yao Qi <yao@codesourcery.com>
2788 * remote.c (remote_read_bytes): Change type of len to ULONGEST.
2789 * corelow.c (get_core_siginfo): Likewise.
2791 2014-01-24 Yao Qi <yao@codesourcery.com>
2793 * remote.c (remote_write_bytes_aux): Change type of 'len' to
2794 ULONGEST. Don't check 'len' is negative.
2795 (remote_write_bytes): Change type of 'len' to ULONGEST.
2797 2014-01-23 Tom Tromey <tromey@redhat.com>
2800 * python/lib/gdb/FrameDecorator.py: (FrameVars.fetch_frame_args):
2801 Handle exception from frame.block.
2802 (FrameVars.fetch_frame_locals): Likewise.
2804 2014-01-23 Tom Tromey <tromey@redhat.com>
2807 * python/py-framefilter.c (py_print_frame): Don't call Py_DECREF
2808 on a NULL pointer. Move "goto error" to correct place.
2810 2014-01-23 Tom Tromey <tromey@redhat.com>
2813 * python/py-framefilter.c (apply_frame_filter): Call
2814 ensure_python_env after computing gdbarch.
2816 2014-01-23 Yao Qi <yao@codesourcery.com>
2818 * target.c (raw_memory_xfer_partial): Change argument type
2819 from void * to gdb_byte *.
2820 (memory_xfer_partial_1, memory_xfer_partial): Likewise.
2822 2014-01-22 Doug Evans <dje@google.com>
2824 New gdbserver option --debug-format=timestamp.
2827 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
2829 * syscalls/s390x-linux.xml: New file.
2830 * syscalls/s390-linux.xml: New file.
2831 * s390-linux-tdep.c (XML_SYSCALL_FILENAME_S390): New macro.
2832 (XML_SYSCALL_FILENAME_S390X): Likewise.
2833 (op_svc): New enum value for SVC opcode.
2834 (s390_sigtramp_frame_sniffer): Replace literal by 'op_svc'.
2835 (s390_linux_get_syscall_number): New function.
2836 (s390_gdbarch_init): Register '*get_syscall_number' and the
2837 syscall xml file name.
2838 * data-directory/Makefile.in (SYSCALLS_FILES): Add
2839 "s390-linux.xml" and "s390x-linux.xml".
2840 * NEWS: Announce new feature.
2842 2014-01-22 Baruch Siach <baruch@tkos.co.il>
2844 * xtensa-tdep.h (xtensa_elf_greg_t): Change type to uint32_t.
2846 2014-01-22 Pedro Alves <palves@redhat.com>
2848 * xtensa-config.c: Include defs.h.
2850 2014-01-22 Joel Brobecker <brobecker@adacore.com>
2852 * common/common-utils.h: Add "ARI:" comment beside __func__
2855 2014-01-22 Joel Brobecker <brobecker@adacore.com>
2857 * common/common-utils.h (FUNCTION_NAME): Expand the macro's
2858 documentation a bit.
2860 2014-01-21 Roland McGrath <mcgrathr@google.com>
2862 * configure.ac: Call AM_PROG_INSTALL_STRIP.
2863 * configure: Regenerate.
2864 * aclocal.m4: Regenerate.
2865 * Makefile.in (install_sh, INSTALL_STRIP_PROGRAM, STRIP):
2866 New substituted variables.
2867 (install-strip): New target.
2868 (INSTALL_SCRIPT): New substituted variable.
2869 (FLAGS_TO_PASS): Add it.
2870 (install-only): Use $(INSTALL_SCRIPT) rather than
2871 $(INSTALL_PROGRAM) for gcore.
2873 2014-01-20 Tom Tromey <tromey@redhat.com>
2875 * cli/cli-decode.h (struct cmd_list_element): Move all bitfields
2878 2014-01-20 Tom Tromey <tromey@redhat.com>
2880 * cli/cli-decode.c (add_cmd, deprecate_cmd, add_alias_cmd)
2881 (add_setshow_cmd_full, delete_cmd, lookup_cmd_1)
2882 (deprecated_cmd_warning, complete_on_cmdlist): Update.
2883 * cli/cli-decode.h (CMD_DEPRECATED, DEPRECATED_WARN_USER)
2884 (MALLOCED_REPLACEMENT, DOC_ALLOCATED): Remove.
2885 (struct cmd_list_element) <flags>: Remove.
2886 <cmd_deprecated, deprecated_warn_user, malloced_replacement,
2887 doc_allocated>: New fields.
2888 <hook_in, allow_unknown, abbrev_flag, type, var_type>: Now
2890 * maint.c (maintenance_do_deprecate): Update.
2891 * top.c (execute_command): Update.
2893 2014-01-20 Baruch Siach <baruch@tkos.co.il>
2895 * xtensa-linux-nat.c: Include asm/ptrace.h.
2897 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
2899 * Makefile.in (SFILES): Add d-support.c.
2900 (COMMON_OBS): Add d-support.o.
2901 * d-lang.h (d_parse_symbol): Add comment, now defined in
2903 * d-lang.c (parse_call_convention)
2904 (parse_attributes, parse_function_types)
2905 (parse_function_args, parse_type, parse_identifier)
2906 (call_convention_p, d_parse_symbol): Move functions to ...
2907 * d-support.c: ... New file.
2909 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
2911 * d-lang.h (d_parse_symbol): Add declaration.
2912 * d-lang.c (extract_identifiers)
2913 (extract_type_info): Remove functions.
2914 (parse_call_convention, parse_attributes)
2915 (parse_function_types, parse_function_args)
2916 (parse_type, parse_identifier, call_convention_p)
2917 (d_parse_symbol): New functions.
2918 (d_demangle): Use d_parse_symbol to demangle D symbols.
2920 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
2922 * d-lang.h (struct builtin_d_type): New data type.
2923 (builtin_d_type): Add declaration.
2924 * d-lang.c (d_language_arch_info, build_d_types)
2925 (builtin_d_type): New functions.
2926 (enum d_primitive_types): New data type.
2927 (d_language_defn): Change c_language_arch_info to
2928 d_language_arch_info.
2929 (d_type_data): New static variable.
2930 (_initialize_d_language): Initialize d_type_data.
2932 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
2934 * d-lang.h (d_main_name): Add declaration.
2935 * d-lang.c (d_main_name): New function.
2936 * symtab.c (find_main_name): Add call to d_main_name.
2938 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
2940 * d-lang.c (d_language_defn): Change macro_expansion_c to
2943 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
2945 * MAINTAINERS: Add myself as a write-after-approval maintainer.
2947 2014-01-17 Sergio Durigan Junior <sergiodj@redhat.com>
2949 * breakpoint.c (insert_bp_location): Add "volatile" keyword to "struct
2950 gdb_exception" declaration.
2951 * remote.c (getpkt_or_notif_sane): Likewise.
2953 2014-01-17 Doug Evans <dje@google.com>
2955 * common/gdb_vecs.c (delim_string_to_char_ptr_vec_append): New
2956 function, contents of dirnames_to_char_ptr_vec_append moved here.
2957 (delim_string_to_char_ptr_vec): New function.
2958 (dirnames_to_char_ptr_vec_append): Rewrite.
2959 * common/gdb_vecs.h (delim_string_to_char_ptr_vec): Declare.
2961 2014-01-17 Doug Evans <dje@google.com>
2963 * common/common-utils.h (FUNCTION_NAME): Renamed from ASSERT_FUNCTION,
2965 * common/gdb_assert.h (ASSERT_FUNCTION): ... from here.
2966 #include "common-utils.h".
2967 (gdb_assert, gdb_assert_fail, gdb_assert_not_reached): Update.
2968 * common/vec.h (VEC_ASSERT_PASS): Update.
2969 * darwin-nat.h: Replace #include of gdb_assert.h with common-utils.h.
2970 (MACH_CHECK_ERROR): Update.
2972 2014-01-17 Simon Marchi <simon.marchi@ericsson.com>
2974 * gdbarch.sh (gdbarch_address_class_name_to_type_flags): Add
2976 * gdbarch.h: Regenerate.
2978 2014-01-16 Tom Tromey <tromey@redhat.com>
2980 * value.c (struct value) <regnum>: Move earlier.
2982 2014-01-16 Tom Tromey <tromey@redhat.com>
2984 * remote.c (extended_remote_create_inferior): Rename from
2985 extended_remote_create_inferior_1. Add "ops" argument. Remove
2988 2014-01-16 Pedro Alves <palves@redhat.com>
2990 * s390-linux-tdep.c (s390_frame_unwind_cache): Swallow
2991 NOT_AVAILABLE_ERROR errors while parsing the prologue or reading
2994 2014-01-16 Doug Evans <dje@google.com>
2996 * dwarf2read.c (open_and_init_dwp_file): Fix typo in comment.
2998 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3000 * btrace.h (btrace_thread_flag): New.
3001 (struct btrace_thread_info) <flags>: New.
3002 * record-btrace.c (record_btrace_resume_thread)
3003 (record_btrace_find_thread_to_move, btrace_step_no_history)
3004 (btrace_step_stopped, record_btrace_start_replaying)
3005 (record_btrace_step_thread, record_btrace_decr_pc_after_break)
3006 (record_btrace_find_resume_thread): New.
3007 (record_btrace_resume, record_btrace_wait): Extend.
3008 (record_btrace_can_execute_reverse): New.
3009 (record_btrace_open): Fail in non-stop mode.
3010 (record_btrace_set_replay): Split into this, ...
3011 (record_btrace_stop_replaying): ... this, ...
3012 (record_btrace_clear_histories): ... and this.
3013 (init_record_btrace_ops): Init to_can_execute_reverse.
3014 * NEWS: Announce it.
3016 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3018 * target.h (struct target_ops) <to_decr_pc_after_break>: New.
3019 (forward_target_decr_pc_after_break)
3020 (target_decr_pc_after_break): New.
3021 * target.c (forward_target_decr_pc_after_break)
3022 (target_decr_pc_after_break): New.
3023 * aix-thread.c (aix_thread_wait): Call target_decr_pc_after_break
3024 instead of gdbarch_decr_pc_after_break.
3025 * darwin-nat.c (cancel_breakpoint): Call target_decr_pc_after_break
3026 instead of gdbarch_decr_pc_after_break.
3027 * infrun.c (adjust_pc_after_break): Call target_decr_pc_after_break
3028 instead of gdbarch_decr_pc_after_break.
3029 * linux-nat.c (cancel_breakpoint): Call target_decr_pc_after_break
3030 instead of gdbarch_decr_pc_after_break.
3031 * linux-thread-db.c (check_event): Call target_decr_pc_after_break
3032 instead of gdbarch_decr_pc_after_break.
3033 * record-full.c (record_full_wait_1): Call target_decr_pc_after_break
3034 instead of gdbarch_decr_pc_after_break.
3036 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3038 * btrace.c: Include regcache.h.
3039 (btrace_add_pc): New.
3040 (btrace_enable): Call btrace_add_pc.
3041 (btrace_is_empty): New.
3042 * btrace.h (btrace_is_empty): New.
3043 * record-btrace.c (require_btrace, record_btrace_info): Call
3046 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3048 * common/linux-btrace.c (perf_event_read_bts, linux_read_btrace):
3049 Support delta reads.
3050 (linux_disable_btrace): Change return type.
3051 * common/linux-btrace.h (linux_read_btrace): Change parameters
3052 and return type to allow error reporting. Update users.
3053 (linux_disable_btrace): Change return type. Update users.
3054 * common/btrace-common.h (btrace_read_type) <BTRACE_READ_DELTA>:
3056 (btrace_error): New.
3057 (btrace_block) <begin>: Comment on BEGIN == 0.
3058 * btrace.c (btrace_compute_ftrace): Start from the end of
3060 (btrace_stitch_trace, btrace_clear_history): New.
3061 (btrace_fetch): Read delta trace, return if replaying.
3062 (btrace_clear): Move clear history code to btrace_clear_history.
3063 (parse_xml_btrace): Throw an error if parsing failed.
3064 * target.h (struct target_ops) <to_read_btrace>: Change parameters
3065 and return type to allow error reporting.
3066 (target_read_btrace): Change parameters and return type to allow
3068 * target.c (target_read_btrace): Update.
3069 * remote.c (remote_read_btrace): Support delta reads. Pass
3071 * NEWS: Announce it.
3073 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3075 * record.h (record_btrace_frame_unwind)
3076 (record_btrace_tailcall_frame_unwind): New declarations.
3077 * dwarf2-frame: Include record.h
3078 (dwarf2_frame_cfa): Throw an error for btrace frames.
3079 * record-btrace.c: Include hashtab.h.
3080 (btrace_get_bfun_name): New.
3081 (btrace_call_history): Call btrace_get_bfun_name.
3082 (struct btrace_frame_cache): New.
3084 (bfcache_hash, bfcache_eq, bfcache_new): New.
3085 (btrace_get_frame_function): New.
3086 (record_btrace_frame_unwind_stop_reason): Allow unwinding.
3087 (record_btrace_frame_this_id): Compute own id.
3088 (record_btrace_frame_prev_register): Provide PC, throw_error
3089 for all other registers.
3090 (record_btrace_frame_sniffer): Detect btrace frames.
3091 (record_btrace_tailcall_frame_sniffer): New.
3092 (record_btrace_frame_dealloc_cache): New.
3093 (record_btrace_frame_unwind): Add new functions.
3094 (record_btrace_tailcall_frame_unwind): New.
3095 (_initialize_record_btrace): Allocate cache.
3096 * btrace.c (btrace_clear): Call reinit_frame_cache.
3097 * NEWS: Announce it.
3099 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3101 * record-btrace.c (record_btrace_set_replay)
3102 (record_btrace_goto_begin, record_btrace_goto_end)
3103 (record_btrace_goto): New.
3104 (init_record_btrace_ops): Initialize them.
3105 * NEWS: Announce it.
3107 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3109 * record-btrace.c (record_btrace_find_new_threads)
3110 (record_btrace_thread_alive): New.
3111 (init_record_btrace_ops): Initialize to_find_new_threads and
3114 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3116 * record-btrace.c (record_btrace_resume): New.
3117 (record_btrace_wait): New.
3118 (init_record_btrace_ops): Initialize to_wait and to_resume.
3120 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3122 * record-btrace.c (record_btrace_xfer_partial)
3123 (record_btrace_insert_breakpoint, record_btrace_remove_breakpoint)
3124 (record_btrace_allow_memory_access): New.
3125 (init_record_btrace_ops): Initialize new methods.
3126 * target.c (raw_memory_xfer_partial): Bail out if target reports
3127 that this memory is not available.
3129 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3131 * target.h (target_ops) <to_insert_breakpoint>
3132 <to_remove_breakpoint>: Add target_ops parameter.
3133 (forward_target_insert_breakpoint): New.
3134 (forward_target_remove_breakpoint): New.
3135 (memory_remove_breakpoint, memory_insert_breakpoint):
3136 Add target_ops parameter.
3137 * target.c (target_insert_breakpoint): Split into this and ...
3138 (forward_target_insert_breakpoint): ... this.
3139 (target_remove_breakpoint): Split into this and ...
3140 (forward_target_remove_breakpoint): ... this.
3141 (debug_to_insert_breakpoint): Add target_ops parameter.
3142 Call forward_target_insert_breakpoint.
3143 (debug_to_remove_breakpoint): Add target_ops parameter.
3144 Call forward_target_remove_breakpoint.
3145 (update_current_target): Do not inherit or default to_insert_breakpoint
3146 and to_remove_breakpoint.
3147 * corelow.c (ignore): Add target_ops parameter.
3148 * exec.c (ignore): Add target_ops parameter.
3149 * mem-break.c (memory_insert_breakpoint, memory_remove_breakpoint):
3150 Add target_ops parameter.
3151 * monitor.c (monitor_insert_breakpoint, monitor_remove_breakpoint):
3152 Add target_ops parameter.
3153 * nto-procfs.c (procfs_insert_breakpoint, procfs_remove_breakpoint):
3154 Add target_ops parameter.
3155 * record-full.c (record_full_beneath_to_insert_breakpoint)
3156 (record_full_beneath_to_remove_breakpoint, tmp_to_insert_breakpoint)
3157 (tmp_to_remove_breakpoint, record_full_insert_breakpoint)
3158 (record_full_remove_breakpoint, record_full_core_insert_breakpoint)
3159 (record_full_core_remove_breakpoint): Add target_ops parameter.
3161 (record_full_beneath_to_insert_breakpoint_ops)
3162 (record_full_beneath_to_remove_breakpoint_ops)
3163 (tmp_to_insert_breakpoint_ops, tmp_to_remove_breakpoint_ops): New.
3164 (record_full_open): Initialize tmp_to_insert_breakpoint_ops,
3165 tmp_to_remove_breakpoint_ops,
3166 record_full_beneath_to_insert_breakpoint_ops, and
3167 record_full_beneath_to_remove_breakpoint_ops.
3168 * remote-m32r-sdi.c (m32r_insert_breakpoint)
3169 (m32r_remove_breakpoint): Add target_ops parameter.
3170 * remote-mips.c (mips_insert_breakpoint, mips_remove_breakpoint):
3171 Add target_ops parameter.
3172 * remote.c (remote_insert_breakpoint, remote_remove_breakpoint):
3173 Add target_ops parameter.
3175 2014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
3176 Markus Metzger <markus.t.metzger@intel.com>
3178 * record-btrace.c: Include frame-unwind.h.
3179 (record_btrace_frame_unwind_stop_reason)
3180 (record_btrace_frame_this_id, record_btrace_frame_prev_register)
3181 (record_btrace_frame_sniffer, record_btrace_frame_unwind):
3183 (init_record_btrace_ops): Install it.
3185 2014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
3187 * frame.c (get_frame_unwind_stop_reason): Unconditionally call
3190 2014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
3192 * dwarf2-frame.c (dwarf2_frame_cfa): Move UNWIND_UNAVAILABLE check
3195 2014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
3197 * frame-unwind.c: Include target.h.
3198 (frame_unwind_try_unwinder): New function with code from ...
3199 (frame_unwind_find_by_frame): ... here. New variable
3200 unwinder_from_target, call also target_get_unwinder)
3201 (target_get_tailcall_unwinder, and frame_unwind_try_unwinder for it.
3202 * target.c (target_get_unwinder, target_get_tailcall_unwinder): New.
3203 * target.h (struct target_ops): New fields to_get_unwinder and
3204 to_get_tailcall_unwinder.
3205 (target_get_unwinder, target_get_tailcall_unwinder): New declarations.
3207 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3209 * record-btrace.c (record_btrace_fetch_registers)
3210 (record_btrace_store_registers)
3211 (record_btrace_to_prepare_to_store): New.
3212 (init_record_btrace_ops): Add the above.
3214 2014-01-16 Tom Tromey <tromey@redhat.com>
3216 * windows-nat.c (windows_prepare_to_store): Add 'self' argument.
3217 * target.h (struct target_ops) <to_prepare_to_store>: Add
3219 (target_prepare_to_store): Add argument.
3220 * target.c (debug_to_prepare_to_store): Add argument.
3221 (update_current_target): Update.
3222 * remote.c (remote_prepare_to_store): Add 'self' argument.
3223 * remote-sim.c (gdbsim_prepare_to_store): Add 'self' argument.
3224 * remote-mips.c (mips_prepare_to_store): Add 'self' argument.
3225 * remote-m32r-sdi.c (m32r_prepare_to_store): Add 'self' argument.
3226 * record-full.c (record_full_core_prepare_to_store): Add 'self'
3228 * ravenscar-thread.c (ravenscar_prepare_to_store): Add argument.
3229 * nto-procfs.c (procfs_prepare_to_store): Add 'self' argument.
3230 * monitor.c (monitor_prepare_to_store): Add 'self' argument.
3231 * inf-child.c (inf_child_prepare_to_store): Add 'self' argument.
3232 * go32-nat.c (go32_prepare_to_store): Add 'self' argument.
3234 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3236 * btrace.h (replay) <replay>: New.
3237 (btrace_is_replaying): New.
3238 * btrace.c (btrace_clear): Free replay iterator.
3239 (btrace_is_replaying): New.
3240 * record-btrace.c (record_btrace_is_replaying): New.
3241 (record_btrace_info): Print insn number if replaying.
3242 (record_btrace_insn_history): Start at replay position.
3243 (record_btrace_call_history): Start at replay position.
3244 (init_record_btrace_ops): Init to_record_is_replaying.
3246 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3248 * record-btrace.c (record_btrace_insn_history_range): Include
3250 (record_btrace_insn_history_from): Adjust range.
3251 (record_btrace_call_history_range): Include
3253 (record_btrace_call_history_from): Adjust range.
3254 * NEWS: Announce changes.
3256 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3258 * record.h (enum record_print_flag)
3259 <record_print_indent_calls>: New.
3260 * record.c (get_call_history_modifiers): Recognize /c modifier.
3261 (_initialize_record): Document /c modifier.
3262 * record-btrace.c (btrace_call_history): Add btinfo parameter.
3263 Reorder fields. Optionally indent the function name. Update
3265 * NEWS: Announce changes.
3267 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3269 * common/linux-btrace.c (linux_enable_btrace): Enlarge buffer.
3271 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3273 * btrace.c (ftrace_new_function): Start counting at one.
3274 * record-btrace.c (record_btrace_info): Adjust number of calls
3276 * NEWS: Announce it.
3278 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3280 * record-btrace.c (btrace_call_history_insn_range): Print
3281 insn range as [begin, end].
3283 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3285 * btrace.h (struct btrace_func_link): New.
3286 (enum btrace_function_flag): New.
3287 (struct btrace_inst): Rename to ...
3288 (struct btrace_insn): ...this. Update all users.
3289 (struct btrace_func) <ibegin, iend>: Remove.
3290 (struct btrace_func_link): New.
3291 (struct btrace_func): Rename to ...
3292 (struct btrace_function): ...this. Update all users.
3293 (struct btrace_function) <segment, flow, up, insn, insn_offset)
3294 (number, level, flags>: New.
3295 (struct btrace_insn_iterator): Rename to ...
3296 (struct btrace_insn_history): ...this.
3298 (struct btrace_insn_iterator, btrace_call_iterator): New.
3299 (struct btrace_target_info) <btrace, itrace, ftrace>: Remove.
3300 (struct btrace_target_info) <begin, end, level>
3301 <insn_history, call_history>: New.
3302 (btrace_insn_get, btrace_insn_number, btrace_insn_begin)
3303 (btrace_insn_end, btrace_insn_prev, btrace_insn_next)
3304 (btrace_insn_cmp, btrace_find_insn_by_number, btrace_call_get)
3305 (btrace_call_number, btrace_call_begin, btrace_call_end)
3306 (btrace_call_prev, btrace_call_next, btrace_call_cmp)
3307 (btrace_find_function_by_number, btrace_set_insn_history)
3308 (btrace_set_call_history): New.
3309 * btrace.c (btrace_init_insn_iterator)
3310 (btrace_init_func_iterator, compute_itrace): Remove.
3311 (ftrace_print_function_name, ftrace_print_filename)
3312 (ftrace_skip_file): Change
3314 (ftrace_init_func): Remove.
3315 (ftrace_debug): Use new btrace_function fields.
3316 (ftrace_function_switched): Also consider gaining and
3317 losing symbol information).
3318 (ftrace_print_insn_addr, ftrace_new_call, ftrace_new_return)
3319 (ftrace_new_switch, ftrace_find_caller, ftrace_new_function)
3320 (ftrace_update_caller, ftrace_fixup_caller, ftrace_new_tailcall):
3322 (ftrace_new_function): Move. Remove debug print.
3323 (ftrace_update_lines, ftrace_update_insns): New.
3324 (ftrace_update_function): Check for call, ret, and jump.
3325 (compute_ftrace): Renamed to ...
3326 (btrace_compute_ftrace): ...this. Rewritten to compute call
3328 (btrace_fetch, btrace_clear): Updated.
3329 (btrace_insn_get, btrace_insn_number, btrace_insn_begin)
3330 (btrace_insn_end, btrace_insn_prev, btrace_insn_next)
3331 (btrace_insn_cmp, btrace_find_insn_by_number, btrace_call_get)
3332 (btrace_call_number, btrace_call_begin, btrace_call_end)
3333 (btrace_call_prev, btrace_call_next, btrace_call_cmp)
3334 (btrace_find_function_by_number, btrace_set_insn_history)
3335 (btrace_set_call_history): New.
3336 * record-btrace.c (require_btrace): Use new btrace thread
3338 (record_btrace_info, btrace_insn_history)
3339 (record_btrace_insn_history, record_btrace_insn_history_range):
3340 Use new btrace thread info fields and new iterator.
3341 (btrace_func_history_src_line): Rename to ...
3342 (btrace_call_history_src_line): ...this. Use new btrace
3344 (btrace_func_history): Rename to ...
3345 (btrace_call_history): ...this. Use new btrace thread info
3346 fields and new iterator.
3347 (record_btrace_call_history, record_btrace_call_history_range):
3348 Use new btrace thread info fields and new iterator.
3350 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3352 * frame.h (frame_id_build_unavailable_stack_special): New.
3353 * frame.c (frame_id_build_unavailable_stack_special): New.
3355 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3357 * amd64-tdep.c (amd64_classify_insn_at, amd64_insn_is_call)
3358 (amd64_insn_is_ret, amd64_insn_is_jump, amd64_jmp_p): New.
3359 (amd64_init_abi): Add insn_is_call, insn_is_ret, and insn_is_jump
3361 * i386-tdep.c (i386_insn_is_call, i386_insn_is_ret)
3362 (i386_insn_is_jump, i386_jmp_p): New.
3363 (i386_gdbarch_init): Add insn_is_call, insn_is_ret, and
3364 insn_is_jump to gdbarch.
3365 * gdbarch.sh (insn_is_call, insn_is_ret, insn_is_jump): New.
3366 * gdbarch.h: Regenerated.
3367 * gdbarch.c: Regenerated.
3368 * arch-utils.h (default_insn_is_call, default_insn_is_ret)
3369 (default_insn_is_jump): New.
3370 * arch-utils.c (default_insn_is_call, default_insn_is_ret)
3371 (default_insn_is_jump): New.
3373 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3375 * common/btrace-common.h (btrace_read_type) <btrace_read_all>:
3377 (btrace_read_type) <BTRACE_READ_ALL>: ... this. Update users.
3378 (btrace_read_type) <btrace_read_new>: Change to ...
3379 (btrace_read_type) <BTRACE_READ_NEW>: ... this. Update users.
3381 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3383 * common/linux-btrace.c (linux_read_btrace): Free trace from
3386 2014-01-15 Doug Evans <dje@google.com>
3388 * dwarf2read.c (open_and_init_dwp_file): Use pulongest to print
3391 2014-01-15 Tom Tromey <tromey@redhat.com>
3393 * dbxread.c (process_one_symbol): Use set_objfile_main_name.
3394 * dwarf2read.c (read_partial_die): Use set_objfile_main_name.
3395 * objfiles.c (get_objfile_bfd_data): Initialize language_of_main.
3396 (set_objfile_main_name): New function.
3397 * objfiles.h (struct objfile_per_bfd_storage) <name_of_main,
3398 language_of_main>: New fields.
3399 (set_objfile_main_name): Declare.
3400 * symtab.c (find_main_name): Loop over objfiles to find the main
3402 (set_main_name): Now static.
3403 (get_main_info): Add comment.
3404 * symtab.h (set_main_name): Don't declare.
3406 2014-01-15 Tom Tromey <tromey@redhat.com>
3408 * symtab.c (main_progspace_key): New global.
3409 (struct main_info): New.
3410 (name_of_main, language_of_main): Remove.
3411 (get_main_info, main_info_cleanup): New function.
3412 (set_main_name, main_name, main_language): Use get_main_info.
3413 (_initialize_symtab): Initialize main_progspace_key.
3415 2014-01-15 Tom Tromey <tromey@redhat.com>
3417 * dbxread.c (process_one_symbol): Update.
3418 * dwarf2read.c (read_partial_die): Update.
3419 * symfile.c (set_initial_language): Call main_language.
3420 * symtab.c (language_of_main): Now static.
3421 (set_main_name): Add 'lang' parameter.
3422 (find_main_name): Update.
3423 (main_language): New function.
3424 (symtab_observer_executable_changed): Update.
3425 * symtab.h (set_main_name): Update.
3426 (language_of_main): Remove.
3427 (main_language): Declare.
3429 2014-01-15 Tom Tromey <tromey@redhat.com>
3431 * symfile.c (init_entry_point_info): Use new "initialized" field.
3433 * objfiles.h (struct entry_point) <initialized>: New field.
3434 (struct objfile_per_bfd_storage) <ei>: New field, moved from...
3435 (struct objfile) <ei>: ...here. Remove.
3436 * objfiles.c (entry_point_address_query): Update.
3438 2014-01-15 Tom Tromey <tromey@redhat.com>
3440 * objfiles.c (entry_point_address_query): Relocate entry point
3442 (objfile_relocate1): Do not relocate entry point address.
3443 * objfiles.h (struct entry_info) <entry_point>: Update comment.
3444 <the_bfd_section_index>: New field.
3445 * symfile.c (init_entry_point_info): Find the entry point's
3448 2014-01-15 Tom Tromey <tromey@redhat.com>
3450 * solib-frv.c (enable_break): Use entry_point_address_query.
3452 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
3454 * NEWS: Add note on improved process record-replay on
3455 arm*-linux* targets.
3457 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
3459 * arm-tdep.c (enum arm_record_result): New enum.
3460 (arm_record_unsupported_insn): New function.
3461 (arm_record_coproc_data_proc): Removed.
3462 (thumb2_record_ld_st_multiple): New function.
3463 (thumb2_record_ld_st_dual_ex_tbb): New function.
3464 (thumb2_record_data_proc_sreg_mimm): New function.
3465 (thumb2_record_ps_dest_generic): New function.
3466 (thumb2_record_branch_misc_cntrl): New function.
3467 (thumb2_record_str_single_data): New function.
3468 (thumb2_record_ld_mem_hints): New function.
3469 (thumb2_record_ld_word): New function.
3470 (thumb2_record_lmul_lmla_div): New function.
3471 (thumb2_record_decode_insn_handler): New function.
3472 (decode_insn): Add thumb32 instruction handlers.
3474 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
3476 * arm-linux-tdep.c: Include "record-full.h" and "linux-record.h".
3477 (struct arm_linux_record_tdep): Declare.
3478 (arm_canonicalize_syscall): New function.
3479 (arm_all_but_pc_registers_record): New function.
3480 (arm_linux_syscall_record): New function.
3481 (arm_linux_init_abi): Add syscall recording constructs.
3482 * arm-tdep.c (thumb_record_ldm_stm_swi): Update thumb syscall
3483 decoding. (arm_record_coproc_data_proc): Update arm syscall
3485 * arm-tdep.h (struct gdbarch_tdep) <arm_swi_record>: Remove.
3486 <arm_syscall_record>: New field.
3487 * configure.tgt (arm*-*-linux*): Add linux-record.o to
3490 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
3492 * arm-tdep.c (thumb_record_misc): Update to use sp as base
3493 register for push instruction recording.
3495 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
3497 * arm-tdep.c (thumb_record_misc): Update to correct logical
3498 error while recording ldm, ldmia and pop instructions.
3500 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
3502 * arm-tdep.c (struct arm_mem_r) <addr>: Change type to uint32_t.
3504 2014-01-15 Pedro Alves <palves@redhat.com>
3506 * go32-nat.c (go32_open, go32_close, go32_attach, go32_detach)
3507 (go32_resume, go32_fetch_registers, store_register)
3508 (go32_store_registers, go32_prepare_to_store)
3509 (go32_xfer_memory, go32_files_info, go32_kill_inferior)
3510 (go32_create_inferior, go32_can_run, go32_terminal_init)
3511 (go32_terminal_inferior, go32_terminal_ours): Delete forward
3514 2014-01-15 Tom Tromey <tromey@redhat.com>
3516 * target.h (async_callback_ftype): New typedef.
3517 (struct target_ops) <to_async>: Use it.
3519 2014-01-15 Joel Brobecker <brobecker@adacore.com>
3521 * python/py-value.c (get_field_type): Remove unnecessary curly
3522 braces for single-statement if block.
3524 2014-01-15 Joel Brobecker <brobecker@adacore.com>
3526 * python/py-type.c (convert_field): Add missing empty line
3529 2014-01-14 Doug Evans <dje@google.com>
3531 * symfile.h (expand_symtabs_matching): Renamed from
3532 expand_partial_symbol_names. Update prototype.
3533 (map_symbol_filenames): Renamed from map_partial_symbol_filenames.
3534 * symfile.c (expand_symtabs_matching): Renamed from
3535 expand_partial_symbol_names. New args file_matcher, kind.
3536 Rename arg fun to symbol_matcher.
3537 (map_symbol_filenames): Renamed from map_partial_symbol_filenames.
3538 * ada-lang.c (ada_complete_symbol_matcher): Renamed from
3539 ada_expand_partial_symbol_name.
3540 (ada_make_symbol_completion_list): Update to call
3541 expand_symtabs_matching.
3542 (ada_add_global_exceptions): Call expand_symtabs_matching.
3543 * mi/mi-cmd-file.c (mi_cmd_file_list_exec_source_files): Update to
3544 call map_symbol_filenames.
3545 * symtab.c (sources_info): Update to call map_symbol_filenames.
3546 (search_symbols): Call expand_symtabs_matching.
3547 (symbol_completion_matcher): Renamed from expand_partial_symbol_name.
3548 (default_make_symbol_completion_list_break_on): Update to call
3549 expand_symtabs_matching.
3550 (make_source_files_completion_list): Update to call
3551 map_symbol_filenames.
3553 2014-01-14 Doug Evans <dje@google.com>
3555 * symfile.h (expand_symtabs_file_matcher_ftype): New typedef.
3556 (expand_symtabs_symbol_matcher_ftype): New typedef.
3557 (quick_symbol_functions.expand_symtabs_matching): Update to use.
3558 expand_symtabs_file_matcher_ftype, expand_symtabs_symbol_matcher_ftype.
3559 * symfile.c (expand_partial_symbol_names): Update to use
3560 expand_symtabs_symbol_matcher_ftype.
3561 * dwarf2read.c (dw2_expand_symtabs_matching): Update to use
3562 expand_symtabs_file_matcher_ftype, expand_symtabs_symbol_matcher_ftype.
3563 Arg name_matcher renamed to symbol_matcher.
3564 * psymtab.c (recursively_search_psymtabs): Update to use
3565 expand_symtabs_symbol_matcher_ftype. Arg name_matcher renamed to
3567 (expand_symtabs_matching_via_partial): Update to use
3568 expand_symtabs_file_matcher_ftype, expand_symtabs_symbol_matcher_ftype.
3569 Arg name_matcher renamed to symbol_matcher.
3571 2014-01-14 Doug Evans <dje@google.com>
3573 * psymtab.c (expand_partial_symbol_names): Delete, moved to symfile.c.
3574 (map_partial_symbol_filenames): Ditto.
3575 * psymtab.h (expand_partial_symbol_names): Delete, moved to symfile.h.
3576 (map_partial_symbol_filenames): Ditto.
3577 * symfile.c (expand_partial_symbol_names): Moved here from psymtab.c.
3578 (map_partial_symbol_filenames): Ditto.
3579 * symfile.h (expand_partial_symbol_names): Moved here from psymtab.h.
3580 (map_partial_symbol_filenames): Ditto.
3581 * symtab.c: Delete #include "psymtab.h".
3583 2014-01-14 Pedro Alves <palves@redhat.com>
3584 Tom Tromey <tromey@redhat.com>
3586 * infrun.c (use_displaced_stepping): Use find_record_target
3587 instead of RECORD_IS_USED.
3588 (adjust_pc_after_break): Use record_full_is_used instead of
3590 * record-btrace.c (record_btrace_open): Call record_preopen
3591 instead of checking RECORD_IS_USED.
3592 * record-full.c (record_full_shortname)
3593 (record_full_core_shortname): New globals.
3594 (record_full_is_used): New function.
3595 (find_full_open): Call record_preopen instead of checking
3597 (init_record_full_ops): Set the target's shortname to
3598 record_full_shortname.
3599 (init_record_full_core_ops): Set the target's shortname to
3600 record_full_core_shortname.
3601 * record-full.h (record_full_is_used): Declare.
3602 * record.c (find_record_target): Make extern.
3603 (record_preopen): New function.
3604 * record.h (RECORD_IS_USED): Delete macro.
3605 (find_record_target, record_preopen): Declare functions.
3607 2014-01-14 Yao Qi <yao@codesourcery.com>
3609 * gdbarch.sh (core_xfer_shared_libraries): Change its argument
3610 'len''s type to ULONGEST.
3611 (core_xfer_shared_libraries_aix): Likewise.
3612 * gdbarch.c, gdbarch.h: Regenerated.
3613 * i386-cygwin-tdep.c (windows_core_xfer_shared_libraries):
3614 Change type of 'len' to ULONGEST.
3615 * rs6000-aix-tdep.c (rs6000_aix_ld_info_to_xml): Likewise.
3616 (rs6000_aix_core_xfer_shared_libraries_aix): Likewise.
3618 2014-01-14 Yao Qi <yao@codesourcery.com>
3620 * common/linux-osdata.c (linux_xfer_osdata_processes): Change
3621 type of 'len' to ULONGEST.
3622 (linux_xfer_osdata_processgroups): Likewise.
3623 (linux_xfer_osdata_threads): Likewise.
3624 (linux_xfer_osdata_fds): Likewise.
3625 (linux_xfer_osdata_isockets): Likewise.
3626 (linux_xfer_osdata_shm): Likewise.
3627 (linux_xfer_osdata_sem): Likewise.
3628 (linux_xfer_osdata_msg): Likewise.
3629 (linux_common_xfer_osdata): Likewise.
3630 (struct osdata_type) <getter>: Likewise.
3631 * common/linux-osdata.h (linux_common_xfer_osdata): Update
3634 2014-01-14 Yao Qi <yao@codesourcery.com>
3636 * target.h (target_xfer_partial_ftype): Update.
3637 (struct target_ops) <to_xfer_partial>: Change 'len' type to
3639 * aix-thread.c (aix_thread_xfer_partial): Change type of
3640 argument 'len' to ULONGEST.
3641 * auxv.c (procfs_xfer_auxv): Likewise.
3642 (ld_so_xfer_auxv): Likewise.
3643 (memory_xfer_auxv): Likewise.
3644 * bfd-target.c (target_bfd_xfer_partial): Likewise.
3645 * bsd-kvm.c (bsd_kvm_xfer_partial): Likewise.
3646 * bsd-uthread.c (bsd_uthread_xfer_partial): Likewise.
3647 * corelow.c (core_xfer_partial): Likewise.
3648 * ctf.c (ctf_xfer_partial): Likewise.
3649 * darwin-nat.c (darwin_read_write_inferior): Likewise. Use
3651 (darwin_read_dyld_info): Likewise.
3652 (darwin_xfer_partial): Likewise.
3653 * exec.c (section_table_xfer_memory_partial): Likewise.
3654 (exec_xfer_partial): Likewise.
3655 * exec.h (section_table_xfer_memory_partial): Update
3657 * gnu-nat.c (gnu_xfer_memory): Likewise. Call pulongest
3658 instead of plongest.
3659 (gnu_xfer_partial): Likewise.
3660 * ia64-hpux-nat.c (ia64_hpux_xfer_memory): Likewise.
3661 (ia64_hpux_xfer_solib_got): Likewise.
3662 (ia64_hpux_xfer_partial): Likewise.
3663 * ia64-linux-nat.c (ia64_linux_xfer_partial):
3664 * inf-ptrace.c (inf_ptrace_xfer_partial):
3665 * inf-ttrace.c (inf_ttrace_xfer_partial):
3666 * linux-nat.c (linux_xfer_siginfo): Likewise.
3667 (linux_nat_xfer_partial): Likewise.
3668 (spu_enumerate_spu_ids, linux_proc_xfer_spu): Likewise.
3669 (linux_nat_xfer_osdata, linux_xfer_partial): Likewise.
3670 * monitor.c (monitor_xfer_memory): Likewise.
3671 (monitor_xfer_partial): Likewise.
3672 * procfs.c (procfs_xfer_partial): Likewise.
3673 * record-full.c (record_full_xfer_partial): Likewise.
3674 (record_full_core_xfer_partial): Likewise.
3675 * remote-sim.c (gdbsim_xfer_memory): Likewise. Call pulongest
3676 instead of plongest.
3677 (gdbsim_xfer_partial): Likewise.
3678 * remote.c (remote_xfer_partial): Likewise.
3679 * rs6000-aix-tdep.c (rs6000_aix_ld_info_to_xml): Likewise.
3680 * rs6000-aix-tdep.h (rs6000_aix_ld_info_to_xml): Update
3682 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
3683 (rs6000_xfer_shared_libraries): Likewise.
3684 * sol-thread.c (sol_thread_xfer_partial): Likewise.
3685 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
3686 (sparc_xfer_partial): Likewise.
3687 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise.
3688 (spu_xfer_partial): Likewise.
3689 * spu-multiarch.c (spu_xfer_partial): Likewise.
3690 * target.c (target_read_live_memory): Likewise.
3691 (memory_xfer_live_readonly_partial): Likewise.
3692 (memory_xfer_partial, memory_xfer_partial_1): Likewise.
3693 (target_xfer_partial, default_xfer_partial): Likewise.
3694 (current_xfer_partial): Likewise.
3695 * tracepoint.c (tfile_xfer_partial): Likewise.
3696 * windows-nat.c (windows_xfer_memory): Likewise. Call
3697 pulongest instead of plongest.
3698 (windows_xfer_partial): Likewise.
3699 (windows_xfer_shared_libraries): Likewise.
3701 2014-01-14 Yao Qi <yao@codesourcery.com>
3703 * rs6000-nat.c (rs6000_xfer_shared_libraries): Use
3704 target_xfer_partial_ftype.
3706 2014-01-13 Siva Chandra Reddy <sivachandra@google.com>
3710 * valops.c (value_struct_elt_bitpos): New function
3711 * py-type.c (convert_field): Set 'name' attribute of a gdb.Field
3712 object to 'None' if the field name is an empty string ("").
3713 * python/py-value.c (valpy_getitem): Use 'bitpos' and 'type'
3714 attribute to look for a field when 'name' is 'None'.
3715 (get_field_type): New function
3717 2014-01-13 Doug Evans <dje@google.com>
3720 * dwarf2read.c (dwarf2_get_dwz_file): Call gdb_bfd_record_inclusion.
3721 (try_open_dwop_file): Ditto.
3722 * gdb_bfd.c: #include "vec.h".
3723 (bfdp): New typedef.
3724 (struct gdb_bfd_data): New member included_bfds.
3725 (gdb_bfd_unref): Unref all included bfds.
3726 (gdb_bfd_record_inclusion): New function.
3727 * gdb_bfd.h (gdb_bfd_record_inclusion): Declare.
3729 2014-01-13 Tom Tromey <tromey@redhat.com>
3731 * gdbcore.h (deprecated_core_resize_section_table): Remove.
3733 2014-01-13 Tom Tromey <tromey@redhat.com>
3735 * defs.h (use_windows): Remove.
3736 * gdb.c (main): Update.
3737 * main.c (captured_main, gdb_main): Update.
3738 * main.h (struct captured_main_args) <use_windows>: Remove.
3739 * top.c (use_windows): Remove.
3741 2014-01-13 Tom Tromey <tromey@redhat.com>
3743 * defs.h (deprecated_flush_hook): Remove.
3745 2014-01-13 Jan Kratochvil <jan.kratochvil@redhat.com>
3748 * linux-thread-db.c (try_thread_db_load): Add parameter
3749 check_auto_load_safe. Move here the file_is_auto_load_safe call.
3750 (try_thread_db_load_from_pdir_1): Move it there from here.
3751 (try_thread_db_load_from_sdir): Update caller.
3752 (try_thread_db_load_from_dir): Move it there from here.
3754 2014-01-13 Patrick Palka <patrick@parcs.ath.cx>
3756 * regformats/regdat.sh: Always rewrite the register file.
3758 2014-01-13 Pedro Alves <palves@redhat.com>
3760 * Makefile.in (CHECK_HEADERS): New variable.
3761 (check-headers:): New rule.
3763 2014-01-13 Tom Tromey <tromey@redhat.com>
3765 * cli/cli-setshow.c (do_set_command): Update.
3766 * defs.h (deprecated_set_hook): Remove.
3767 * top.c (deprecated_set_hook): Remove.
3769 2014-01-13 Pedro Alves <palves@redhat.com>
3771 * tracepoint.c (tfile_fetch_registers): Don't infer the PC from
3772 the tracepoint if the PC is a pseudo-register.
3774 2014-01-13 Tom Tromey <tromey@redhat.com>
3776 * defs.h (XCALLOC): Remove.
3777 * bcache.c (bcache_xmalloc): Use XCNEW, not XCALLOC.
3778 (print_bcache_statistics): Use XCNEWVEC, not XCALLOC.
3779 * dwarf2loc.c (allocate_piece_closure): Likewise.
3780 * elfread.c (elf_symfile_segments): Likewise.
3781 (elf_symfile_segments): Likewise.
3782 * gdbtypes.c (copy_type_recursive): Likewise.
3783 * i386-tdep.c (i386_gdbarch_init): Use XCNEW, not XCALLOC.
3784 * jit.c (jit_frame_sniffer): Use XCNEWVEC, not XCALLOC.
3785 * minsyms.c (prim_record_minimal_symbol_full): Use XCNEW, not
3787 * mt-tdep.c (mt_gdbarch_init): Likewise.
3788 * opencl-lang.c (allocate_lval_closure): Use XCNEWVEC, not
3790 * psymtab.c (psymbol_compare): Use XCNEW, not XCALLOC.
3791 * regcache.c (regcache_xmalloc_1): Use XCNEWVEC, not XCALLOC.
3792 * registry.c (registry_alloc_data): Likewise.
3793 * rs6000-tdep.c (rs6000_gdbarch_init): Use XCNEW, not XCALLOC.
3794 * s390-linux-tdep.c (s390_gdbarch_init): Likewise.
3795 * serial.c (serial_fdopen_ops): Likewise.
3796 * solib-aix.c (solib_aix_get_section_offsets): Use XCNEWVEC, not
3798 * spu-tdep.c (spu_gdbarch_init): Use XCNEW, not XCALLOC.
3799 * symfile.c (default_symfile_segments): Use XCNEW and XCNEWVEC,
3802 2014-01-13 Tom Tromey <tromey@redhat.com>
3804 * defs.h (XMALLOC): Remove.
3805 * avr-tdep.c (avr_gdbarch_init): Use XNEW, not XMALLOC.
3806 * bfin-tdep.c (bfin_gdbarch_init): Likewise.
3807 * cli-out.c (struct ui_out *): Likewise.
3808 * cli/cli-dump.c (add_dump_command): Likewise.
3809 (add_dump_command): Likewise.
3810 * complaints.c (get_complaints): Likewise.
3811 (find_complaint): Likewise.
3812 * dwarf2-frame.c (execute_cfa_program): Likewise.
3813 * dwarf2read.c (abbrev_table_read_table): Likewise.
3814 * gdbarch.sh: Likewise.
3815 * gdbarch.c: Rebuild.
3816 * inf-ttrace.c (inf_ttrace_add_page): Likewise.
3817 * interps.c (interp_new): Likewise.
3818 * lm32-tdep.c (lm32_gdbarch_init): Likewise.
3819 * m32r-tdep.c (m32r_gdbarch_init): Likewise.
3820 * mi/mi-console.c (mi_console_file_new): Likewise.
3821 * mi/mi-interp.c (mi_interpreter_init): Likewise.
3822 * mi/mi-out.c (mi_out_new): Likewise.
3823 * mi/mi-parse.c (mi_parse): Likewise.
3824 * microblaze-tdep.c (microblaze_gdbarch_init): Likewise.
3825 * moxie-tdep.c (moxie_gdbarch_init): Likewise.
3826 * observer.c (xalloc_observer_list_node): Likewise.
3827 * regcache.c (regcache_xmalloc_1): Likewise.
3828 * reggroups.c (reggroup_new): Likewise.
3829 (_initialize_reggroup): Likewise.
3830 * registry.c (register_data_with_cleanup): Likewise.
3831 * remote.c (remote_notif_stop_alloc_reply): Likewise.
3832 * ser-base.c (serial_ttystate): Likewise.
3833 * ser-mingw.c (make_pipe_state): Likewise.
3834 * ser-pipe.c (pipe_open): Likewise.
3835 * serial.c (serial_open): Likewise.
3836 * sh64-tdep.c (sh64_gdbarch_init): Likewise.
3837 * tui/tui-data.c (tui_alloc_generic_win_info): Likewise.
3838 (tui_alloc_win_info): Likewise.
3839 (tui_add_content_elements): Likewise.
3840 * tui/tui-file.c (tui_file_new): Likewise.
3841 * tui/tui-out.c (tui_out_new): Likewise.
3842 * ui-file.c (mem_file_new): Likewise.
3843 * ui-out.c (push_level): Likewise.
3844 (make_cleanup_ui_out_end): Likewise.
3845 (append_header_to_list): Likewise.
3846 (ui_out_new): Likewise.
3847 * user-regs.c (user_reg_add_builtin): Likewise.
3849 2014-01-13 Tom Tromey <tromey@redhat.com>
3851 * defs.h (XZALLOC): Remove.
3852 * ada-lang.c (get_ada_inferior_data): Use XCNEW, not XZALLOC.
3853 * ada-tasks.c (get_ada_tasks_pspace_data): Likewise.
3854 (get_ada_tasks_inferior_data): Likewise.
3855 * auto-load.c (get_auto_load_pspace_data): Likewise.
3856 * auxv.c (get_auxv_inferior_data): Likewise.
3857 * bfd-target.c (target_bfd_reopen): Likewise.
3858 * breakpoint.c (get_catch_syscall_inferior_data): Likewise.
3859 (deprecated_insert_raw_breakpoint): Likewise.
3860 * bsd-uthread.c (bsd_uthread_pid_to_str): Likewise.
3861 * corelow.c (core_open): Likewise.
3862 * darwin-nat.c (darwin_check_new_threads): Likewise.
3863 (darwin_attach_pid): Likewise.
3864 * dummy-frame.c (dummy_frame_push): Likewise.
3865 * dwarf2-frame.c (dwarf2_frame_cache): Likewise.
3866 * dwarf2loc.c (allocate_piece_closure): Likewise.
3867 * elfread.c (elf_symfile_segments): Likewise.
3868 * eval.c (ptrmath_type_p): Likewise.
3869 * exceptions.c (EXCEPTIONS_SIGJMP_BUF): Likewise.
3870 * gdbtypes.c (alloc_type_arch): Likewise.
3871 (alloc_type_instance): Likewise.
3872 * hppa-tdep.c (hppa_gdbarch_init): Likewise.
3873 * inf-child.c (inf_child_can_use_agent): Likewise.
3874 * inflow.c (get_inflow_inferior_data): Likewise.
3875 * infrun.c (save_infcall_suspend_state): Likewise.
3876 * jit.c (jit_reader_load): Likewise.
3877 (get_jit_objfile_data): Likewise.
3878 (get_jit_program_space_data): Likewise.
3879 (jit_object_open_impl): Likewise.
3880 (jit_symtab_open_impl): Likewise.
3881 (jit_block_open_impl): Likewise.
3882 (jit_frame_sniffer): Likewise.
3883 * linux-fork.c (add_fork): Likewise.
3884 * maint.c (make_command_stats_cleanup): Likewise.
3885 * objfiles.c (get_objfile_pspace_data): Likewise.
3886 * opencl-lang.c (struct lval_closure): Likewise.
3887 * osdata.c (osdata_start_osdata): Likewise.
3888 * progspace.c (new_address_space): Likewise.
3889 (add_program_space): Likewise.
3890 * remote-sim.c (get_sim_inferior_data): Likewise.
3891 * sh-tdep.c (sh_gdbarch_init): Likewise.
3892 * skip.c (Ignore): Likewise.
3893 (skip_delete_command): Likewise.
3894 * solib-aix.c (get_solib_aix_inferior_data): Likewise.
3895 (library_list_start_library): Likewise.
3896 (solib_aix_current_sos): Likewise.
3897 * solib-darwin.c (get_darwin_info): Likewise.
3898 (darwin_current_sos): Likewise.
3899 * solib-dsbt.c (get_dsbt_info): Likewise.
3900 * solib-ia64-hpux.c (new_so_list): Likewise.
3901 (ia64_hpux_get_solib_linkage_addr): Likewise.
3902 * solib-spu.c (append_ocl_sos): Likewise.
3903 (spu_current_sos): Likewise.
3904 * solib-svr4.c (get_svr4_info): Likewise.
3905 (svr4_keep_data_in_core): Likewise.
3906 (library_list_start_library): Likewise.
3907 (svr4_default_sos): Likewise.
3908 (svr4_read_so_list): Likewise.
3909 * solib-target.c (library_list_start_library): Likewise.
3910 (solib_target_current_sos): Likewise.
3911 * sparc-tdep.c (sparc32_gdbarch_init): Likewise.
3912 * symfile-debug.c (install_symfile_debug_logging): Likewise.
3913 * symfile.c (default_symfile_segments): Likewise.
3914 * target-descriptions.c (tdesc_data_init): Likewise.
3915 (tdesc_create_reg): Likewise.
3916 (struct tdesc_type *): Likewise.
3917 (tdesc_create_vector): Likewise.
3918 (tdesc_set_struct_size): Likewise.
3919 (struct tdesc_type *): Likewise.
3920 (tdesc_free_feature): Likewise.
3921 (tdesc_create_feature): Likewise.
3922 * windows-nat.c (windows_add_thread): Likewise.
3923 (windows_make_so): Likewise.
3924 * xml-support.c (gdb_xml_body_text): Likewise.
3925 (gdb_xml_create_parser_and_cleanup): Likewise.
3926 (xml_process_xincludes): Likewise.
3927 * xml-syscall.c (allocate_syscalls_info): Likewise.
3928 (syscall_create_syscall_desc): Likewise.
3930 2014-01-12 Sergio Durigan Junior <sergiodj@redhat.com>
3932 * i386-tdep.c (i386_stap_parse_special_token_triplet): New
3933 function, with code from i386_stap_parse_special_token.
3934 (i386_stap_parse_special_token_three_arg_disp): Likewise.
3935 (i386_stap_parse_special_token): Move code to the two functions
3938 2014-01-09 Pedro Alves <palves@redhat.com>
3939 Hui Zhu <hui@codesourcery.com>
3942 * breakpoint.c (insert_bp_location): Rename hw_bp_err_string to
3943 bp_err_string. Don't mark the location shlib_disabled if the
3944 error thrown wasn't a generic or memory error. Catch errors
3945 thrown while inserting breakpoints in overlayed code. Output
3946 error message of software breakpoints.
3947 * remote.c (remote_insert_breakpoint): If this breakpoint has
3948 target-side commands but this stub doesn't support Z0 packets,
3949 throw NOT_SUPPORTED_ERROR error.
3950 * exceptions.h (enum errors) <NOT_SUPPORTED_ERROR>: New error.
3951 * target.h (target_insert_breakpoint): Extend comment.
3952 (target_insert_hw_breakpoint): Add comment.
3954 2014-01-08 Pedro Alves <palves@redhat.com>
3956 * remote.c (remote_add_thread): Add threads silently if starting
3958 (remote_notice_new_inferior): If in all-stop, and starting up,
3959 don't call notice_new_inferior.
3960 (get_current_thread): New function, factored out from ...
3961 (add_current_inferior_and_thread): ... this. Adjust.
3962 (remote_start_remote) <all-stop>: Fetch the thread list. If we
3963 found any thread, then select the remote's current thread as GDB's
3966 2014-01-08 Joel Brobecker <brobecker@adacore.com>
3968 * NEWS: Create a new section for the next release branch.
3969 Rename the section of the current branch, now that it has
3972 2014-01-08 Joel Brobecker <brobecker@adacore.com>
3974 GDB 7.7 branch created (79301218fa0f074c5656db0ec8972a5ddcf91fb5):
3975 * version.in: Bump version to 7.7.50.DATE-cvs.
3977 2014-01-08 Yao Qi <yao@codesourcery.com>
3979 * spu-linux-nat.c (spu_symbol_file_add_from_memory): Change
3980 type of 'id' to gdb_byte. Cast 'id' to 'const char *'.
3981 (spu_xfer_partial): Cast 'buf' to 'const char *'.
3983 2014-01-08 Yao Qi <yao@codesourcery.com>
3985 * spu-linux-nat.c (spu_symbol_file_add_from_memory): Pass
3986 return value of bfd_get_filename to symbol_file_add_from_bfd.
3988 2014-01-08 Pierre Muller <muller@sourceware.org>
3991 * coff-pe-read.c (struct read_pe_section_data): Add index field.
3992 (add_pe_exported_sym): Use SECTION_DATA->INDEX for call
3993 to prim_record_mininal_symbol_and_info.
3994 (add_pe_forwarded_sym): Use known section number of forwarded symbol
3995 in call to prim_record_minimal_symbol_and_info.
3996 (read_pe_exported_syms): Set index field of section_data.
3998 2014-01-07 Andrew Pinski <apinski@cavium.com>
4000 * features/aarch64-core.xml (cpsr): Change to be 64bit.
4001 * features/aarch64.c: Regenerate.
4003 2014-01-07 Andreas Schwab <schwab@linux-m68k.org>
4005 * target.c (return_null): Define.
4006 (update_current_target): Use it instead of return_zero for
4007 functions that return a pointer.
4009 2014-01-07 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
4011 * source.c (add_path): Fix check for duplicated paths in the previously
4014 2014-01-07 Honggyu Kim <hong.gyu.kim@lge.com>
4016 * ada-lang.c: Remove duplicated include statements.
4017 * alphabsd-nat.c: Ditto.
4018 * amd64-darwin-tdep.c: Ditto.
4019 * amd64fbsd-nat.c: Ditto.
4020 * auto-load.c: Ditto.
4022 * breakpoint.c: Ditto.
4024 * fork-child.c: Ditto.
4025 * gdb_usleep.c: Ditto.
4026 * i386-darwin-tdep.c: Ditto.
4027 * i386fbsd-nat.c: Ditto.
4029 * inferior.c: Ditto.
4031 * linux-nat.c: Ditto.
4032 * linux-tdep.c: Ditto.
4033 * m68kbsd-nat.c: Ditto.
4034 * m68klinux-nat.c: Ditto.
4035 * microblaze-tdep.c: Ditto.
4036 * mips-linux-tdep.c: Ditto.
4037 * mn10300-tdep.c: Ditto.
4038 * nto-tdep.c: Ditto.
4039 * opencl-lang.c: Ditto.
4041 * printcmd.c: Ditto.
4042 * regcache.c: Ditto.
4043 * remote-m32r-sdi.c: Ditto.
4047 * tilegx-linux-nat.c: Ditto.
4048 * tilegx-tdep.c: Ditto.
4049 * tracepoint.c: Ditto.
4051 * vaxbsd-nat.c: Ditto.
4052 * windows-nat.c: Ditto.
4053 * xtensa-tdep.c: Ditto.
4055 2014-01-07 Yao Qi <yao@codesourcery.com>
4057 * spu-linux-nat.c (_initialize_spu_nat): Declare.
4059 2014-01-07 Yao Qi <yao@codesourcery.com>
4060 Joel Brobecker <brobecker@adacore.com>
4062 * aix-thread.c (pdc_read_regs): Cast parameter to uintptr_t.
4063 (pdc_write_regs): Likewise.
4064 (fetch_regs_kernel_thread): Likewise.
4065 (store_regs_kernel_thread): Likewise.
4067 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4069 * ada-varobj.c (ada_varobj_adjust_for_child_access): Convert
4070 tagged type objects to their actual type.
4072 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4074 * ada-valprint.c (print_field_values): Add "language" parameter.
4075 Update calls to print_field_values and print_variant_part.
4076 Pass new parameter "language" in call to val_print instead
4077 of "current_language". Replace call to ada_val_print by call
4079 (print_variant_part): Add "language" parameter.
4080 (ada_val_print_struct_union): Update call to print_field_values.
4082 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4084 * ada-valprint.c (ui_memcpy): Delete.
4085 (ada_print_floating): Update documentation. Add empty line
4086 between between function documentation and implementation.
4087 Delete variable "buffer". Use ui_file_xstrdup in place of
4088 ui_file_put. Minor adjustments following this change.
4090 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4092 * ada-valprint.c (ada_val_print_string): New function,
4093 extracted from ada_val_print_array.
4094 (ada_val_print_array): Replace extracted code by call
4095 to ada_val_print_string followed by a return. Move
4096 "else" branch to the function's top block.
4098 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4100 * ada-valprint.c (ada_val_print_array): Move implementation
4101 down. Rename parameter "offset" and "val" into "offset_aligned"
4102 and "original_value" respectively. Add parameter "offset".
4104 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4106 * ada-valprint.c (ada_val_print_ref): Rewrite by mostly
4107 re-organizing the code. Change the "???" message printed
4108 when target type is a TYPE_CODE_UNDEF into
4109 "<ref to undefined type>".
4111 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4113 * ada-valprint.c (print_record): Delete, implementation inlined...
4114 (ada_val_print_struct_union): ... here. Remove call to
4115 ada_check_typedef in inlined implementation.
4117 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4119 * ada-valprint.c (ada_val_print_gnat_array): New function,
4120 extracted from ada_val_print_1;
4121 (ada_val_print_ptr, ada_val_print_num, ada_val_print_enum)
4122 (ada_val_print_flt, ada_val_print_struct_union)
4123 (ada_val_print_ref): Likewise.
4124 (ada_val_print_1): Delete variables i and elttype.
4125 Replace extracted-out code by call to corresponding
4128 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4130 * ada-valprint.c (ada_val_print_1): Remove call to gdb_flush.
4132 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4134 * ada-valprint.c (ada_val_print_1): Replace calls to
4135 ada_val_print_1 by calls to val_print.
4137 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4139 * ada-valprint.c (ada_val_print_1): Add parameter "language".
4140 Update calls to self accordingly. Replace calls to c_val_print
4141 by calls to val_print.
4143 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4145 * ada-valprint.c (print_record): Delete declaration.
4146 (adjust_type_signedness, ada_val_print_1): Likewise.
4147 (ada_val_print): Move function implementation down.
4148 (print_variant_part, print_field_values, print_record):
4149 Move function implementation up.
4151 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4153 * python/py-type.c (typy_get_name): New function.
4154 (type_object_getset): Add entry for attribute "name".
4155 * NEWS: Add entry mentioning this new attribute.
4157 2014-01-07 Yao Qi <yao@codesourcery.com>
4159 * gnu-nat.c (set_exceptions_cmd): Remove an empty body 'if'
4162 2014-01-07 Yao Qi <yao@codesourcery.com>
4164 * gnu-nat.c (info_port_rights): Add qualifier const to
4167 2014-01-07 Yao Qi <yao@codesourcery.com>
4169 * gnu-nat.c (trace_me): Use 'void' for empty argument list.
4171 2014-01-07 Yao Qi <yao@codesourcery.com>
4173 * gnu-nat.c (make_inf) Update declaration.
4174 (make_inf): Make it static.
4175 (inf_set_traced): Likewise.
4176 (inf_port_to_thread, inf_task_died_status): Likewise.
4178 2014-01-07 Yao Qi <yao@codesourcery.com>
4180 * gnu-nat.c (inf_tid_to_proc): Remove declaration.
4182 2014-01-07 Yao Qi <yao@codesourcery.com>
4184 * gnu-nat.c (_initialize_gnu_nat): Declare.
4186 2014-01-07 Yao Qi <yao@codesourcery.com>
4188 * gdbarch.sh (byte_order, byte_order_for_code): Change type to
4190 (struct gdbarch_info) <byte_order>: Change type to
4192 <byte_order_for_code>: Likewise.
4193 * gdbarch.c, gdbarch.h: Regenerated.
4195 2014-01-06 Sasha Smundak <asmundak@google.com>
4197 * jit.c: (jit_reader_load_command): Fix JIT reader path creation.
4199 2014-01-06 Tom Tromey <tromey@redhat.com>
4201 * doublest.c (convert_doublest_to_floatformat): Use const, not
4203 * somread.c (som_symtab_read): Likewise.
4205 2014-01-07 Hui Zhu <hui@codesourcery.com>
4207 * gdb_bfd.c (gdb_bfd_stash_filename): Removed.
4208 (gdb_bfd_open): Removed gdb_bfd_stash_filename.
4209 (gdb_bfd_fopen): Ditto.
4210 (gdb_bfd_openr): Ditto.
4211 (gdb_bfd_openw): Ditto.
4212 (gdb_bfd_openr_iovec): Ditto.
4213 (gdb_bfd_fdopenr): Ditto.
4214 * gdb_bfd.h (gdb_bfd_stash_filename): Removed.
4215 * solib-aix.c (solib_aix_bfd_open): Alloc object_bfd->filename
4217 * solib-darwin.c (darwin_bfd_open): Alloc res->filename
4219 * symfile-mem.c (symbol_file_add_from_memory): Removed
4220 gdb_bfd_stash_filename.
4222 2014-01-03 Doug Evans <dje@google.com>
4224 * nat/linux-waitpid.c (linux_debug): Remove extraneous \n from
4227 2014-01-01 Joel Brobecker <brobecker@adacore.com>
4229 Update year range in copyright notice of all files.
4231 2014-01-01 Joel Brobecker <brobecker@adacore.com>
4233 * top.c (print_gdb_version): Set copyright year to 2014.
4235 2014-01-01 Joel Brobecker <brobecker@adacore.com>
4237 * config/djgpp/fnchange.lst: Add entry for gdb/ChangeLog-2013.
4239 For older changes see ChangeLog-2013.
4245 version-control: never