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
6 * target.h (struct target_ops) <to_save_trace_data>: Use
7 TARGET_DEFAULT_NORETURN.
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
13 to_get_trace_state_variable_value.
14 * target.h (struct target_ops)
15 <to_get_trace_state_variable_value>: Use TARGET_DEFAULT_RETURN.
17 2014-02-19 Tom Tromey <tromey@redhat.com>
19 * target-delegates.c: Rebuild.
20 * target.c (update_current_target): Don't inherit or default
22 * target.h (struct target_ops): Use TARGET_DEFAULT_RETURN.
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
29 * target.h (struct target_ops) <to_trace_stop>: 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
36 to_get_tracepoint_status.
37 * target.h (struct target_ops) <to_get_tracepoint_status>: Use
38 TARGET_DEFAULT_NORETURN.
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_get_trace_status>: Use
46 TARGET_DEFAULT_RETURN.
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
53 * target.h (struct target_ops) <to_trace_start>: Use
54 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_trace_set_readonly_regions.
61 * target.h (struct target_ops) <to_trace_set_readonly_regions>:
62 Use 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
68 to_disable_tracepoint.
69 * target.h (struct target_ops) <to_disable_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
77 * target.h (struct target_ops) <to_enable_tracepoint>: Use
78 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_download_trace_state_variable.
85 * target.h (struct target_ops) <to_download_trace_state_variable>:
86 Use TARGET_DEFAULT_NORETURN.
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_can_download_tracepoint.
93 * target.h (struct target_ops) <to_can_download_tracepoint>: Use
94 TARGET_DEFAULT_RETURN.
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
100 to_download_tracepoint.
101 * target.h (struct target_ops) <to_download_tracepoint>: Use
102 TARGET_DEFAULT_NORETURN.
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
109 * target.h (struct target_ops) <to_trace_init>: 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_string_tracing.
117 * target.h (struct target_ops) <to_supports_string_tracing>: Use
118 TARGET_DEFAULT_RETURN.
120 2014-02-19 Tom Tromey <tromey@redhat.com>
122 * target-delegates.c: Rebuild.
123 * target.c (update_current_target): Don't inherit or default
124 to_supports_enable_disable_tracepoint.
125 * target.h (struct target_ops)
126 <to_supports_enable_disable_tracepoint>: 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_supports_multi_process.
134 * target.h (struct target_ops) <to_supports_multi_process>: Use
135 TARGET_DEFAULT_RETURN.
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_get_ada_task_ptid.
142 * target.h (struct target_ops) <to_get_ada_task_ptid>: 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_thread_architecture.
150 * target.h (struct target_ops) <to_thread_architecture>: 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_execution_direction.
158 * target.h (struct target_ops) <to_execution_direction>: Use
161 2014-02-19 Tom Tromey <tromey@redhat.com>
163 * target-delegates.c: Rebuild.
164 * target.c (update_current_target): Don't inherit or default
165 to_can_execute_reverse.
166 * target.h (struct target_ops) <to_can_execute_reverse>: Use
167 TARGET_DEFAULT_RETURN.
168 (target_can_execute_reverse): Unconditionally delegate.
170 2014-02-19 Tom Tromey <tromey@redhat.com>
172 * target-delegates.c: Rebuild.
173 * target.c (update_current_target): Don't inherit or default
175 (dummy_goto_bookmark): Remove.
176 (init_dummy_target): Don't inherit or default to_goto_bookmark.
177 * target.h (struct target_ops) <to_goto_bookmark>: Use
178 TARGET_DEFAULT_NORETURN.
180 2014-02-19 Tom Tromey <tromey@redhat.com>
182 * target-delegates.c: Rebuild.
183 * target.c (update_current_target): Don't inherit or default
185 (dummy_get_bookmark): Remove.
186 (init_dummy_target): Don't inherit or default to_get_bookmark.
187 * target.h (struct target_ops) <to_get_bookmark>: Use
188 TARGET_DEFAULT_NORETURN
190 2014-02-19 Tom Tromey <tromey@redhat.com>
192 * target-delegates.c: Rebuild.
193 * target.c (update_current_target): Don't inherit or default
194 to_make_corefile_notes.
195 (init_dummy_target): Don't initialize to_make_corefile_notes.
196 * target.h (struct target_ops) <to_make_corefile_notes>: Use
199 2014-02-19 Tom Tromey <tromey@redhat.com>
201 * target-delegates.c: Rebuild.
202 * target.c (update_current_target): Don't inherit or default
203 to_find_memory_regions.
204 (init_dummy_target): Don't initialize to_find_memory_regions.
205 * target.h (struct target_ops) <to_find_memory_regions>: Use
208 2014-02-19 Tom Tromey <tromey@redhat.com>
210 * target-delegates.c: Rebuild.
211 * target.c (update_current_target): Don't inherit or default
213 * target.h (struct target_ops) <to_log_command>: Use
214 TARGET_DEFAULT_IGNORE.
215 (target_log_command): Unconditionally delegate.
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.h (struct target_ops) <to_pid_to_exec_file>: Use
223 TARGET_DEFAULT_RETURN.
225 2014-02-19 Tom Tromey <tromey@redhat.com>
227 * target-delegates.c: Rebuild.
228 * target.c (update_current_target): Don't inherit or default
230 (target_thread_name): Unconditionally delegate.
231 * target.h (struct target_ops) <to_thread_name>: 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
238 to_extra_thread_info.
239 * target.h (struct target_ops) <to_extra_thread_info>: 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
247 * target.h (struct target_ops) <to_has_exited>: Use
248 TARGET_DEFAULT_RETURN..
250 2014-02-19 Tom Tromey <tromey@redhat.com>
252 * target-delegates.c: Rebuild.
253 * target.c (update_current_target): Don't inherit or default
254 to_set_syscall_catchpoint.
255 (return_one): Remove.
256 * target.h (struct target_ops) <to_set_syscall_catchpoint>: Use
257 TARGET_DEFAULT_RETURN.
259 2014-02-19 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-01-08 Tom Tromey <tromey@redhat.com>
269 * target-delegates.c: Rebuild.
270 * target.c (update_current_target): Don't inherit or default
271 to_insert_exec_catchpoint.
272 * target.h (struct target_ops) <to_insert_exec_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_remove_vfork_catchpoint.
280 * target.h (struct target_ops) <to_remove_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_insert_vfork_catchpoint.
288 * target.h (struct target_ops) <to_insert_vfork_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_remove_fork_catchpoint.
296 * target.h (struct target_ops) <to_remove_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_insert_fork_catchpoint.
304 * target.h (struct target_ops) <to_insert_fork_catchpoint>: Use
305 TARGET_DEFAULT_RETURN.
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
311 to_post_startup_inferior.
312 * target.h (struct target_ops) <to_post_startup_inferior>: Use
313 TARGET_DEFAULT_IGNORE.
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_load>: Use
321 TARGET_DEFAULT_NORETURN.
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
328 * target.h (struct target_ops) <to_terminal_info>: Use
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
335 to_terminal_save_ours.
336 * target.h (struct target_ops) <to_terminal_save_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
344 * target.h (struct target_ops) <to_terminal_ours>: 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_ours_for_output.
352 * target.h (struct target_ops) <to_terminal_ours_for_output>: 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
359 to_terminal_inferior.
360 * target.h (struct target_ops) <to_terminal_inferior>: 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
368 * target.h (struct target_ops) <to_terminal_init>: Use
369 TARGET_DEFAULT_IGNORE.
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_can_accel_watchpoint_condition.
376 * target.h (struct target_ops)
377 <to_can_accel_watchpoint_condition>: Use TARGET_DEFAULT_RETURN.
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_region_ok_for_hw_watchpoint.
384 * target.h (struct target_ops) <to_region_ok_for_hw_watchpoint>:
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_watchpoint_addr_within_range.
392 * target.h (struct target_ops) <to_watchpoint_addr_within_range>:
393 Use TARGET_DEFAULT_FUNC.
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_remove_watchpoint.
400 * target.h (struct target_ops) <to_remove_watchpoint>: Use
401 TARGET_DEFAULT_NORETURN.
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_insert_watchpoint.
408 * target.h (struct target_ops) <to_insert_watchpoint>: 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_remove_hw_breakpoint.
416 * target.h (struct target_ops) <to_remove_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_insert_hw_breakpoint.
424 * target.h (struct target_ops) <to_insert_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
431 to_can_use_hw_breakpoint.
432 * target.h (struct target_ops) <to_can_use_hw_breakpoint>: Use
433 TARGET_DEFAULT_RETURN.
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_files_info>: Use
441 TARGET_DEFAULT_IGNORE.
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_store>: Use
449 TARGET_DEFAULT_NORETURN.
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 * target.h (struct target_ops) <to_post_attach>: Use
457 TARGET_DEFAULT_IGNORE.
459 2014-02-19 Tom Tromey <tromey@redhat.com>
461 * target-delegates.c: Rebuild.
462 * target.c (update_current_target): Don't inherit or default
464 (default_rcmd): New function.
465 (do_monitor_command): Unconditionally delegate.
466 * target.h (struct target_ops) <to_rmcd>: Use
469 2014-02-19 Tom Tromey <tromey@redhat.com>
471 * target-delegates.c: Rebuild.
472 * target.c (init_dummy_target): Don't initialize to_attach.
473 (target_attach): Unconditionally delegate.
474 * target.h (struct target_ops) <to_attach>: Use
477 2014-02-19 Tom Tromey <tromey@redhat.com>
479 * target-delegates.c: Rebuild.
480 * target.c (target_detach): Unconditionally delegate.
481 (init_dummy_target): Don't initialize to_detach.
482 * target.h (struct target_ops) <to_detach>: Use
483 TARGET_DEFAULT_IGNORE.
485 2014-02-19 Tom Tromey <tromey@redhat.com>
487 * target.h (struct target_ops) <to_augmented_libraries_svr4_read>:
489 (target_augmented_libraries_svr4_read): Add argument.
490 * target.c (update_current_target): Update.
491 * remote.c (remote_augmented_libraries_svr4_read): Add 'self'
494 2014-02-19 Tom Tromey <tromey@redhat.com>
496 * target.h (struct target_ops) <to_call_history_range>: Add
498 * target.c (target_call_history_range): Add argument.
499 * record-btrace.c (record_btrace_call_history_range): Add 'self'
501 (record_btrace_call_history_from): Update.
503 2014-02-19 Tom Tromey <tromey@redhat.com>
505 * target.h (struct target_ops) <to_call_history_from>: Add
507 * target.c (target_call_history_from): Add argument.
508 * record-btrace.c (record_btrace_call_history_from): Add 'self'
511 2014-02-19 Tom Tromey <tromey@redhat.com>
513 * target.h (struct target_ops) <to_call_history>: Add argument.
514 * target.c (target_call_history): Add argument.
515 * record-btrace.c (record_btrace_call_history): Add 'self'
518 2014-02-19 Tom Tromey <tromey@redhat.com>
520 * target.h (struct target_ops) <to_insn_history_range>: Add
522 * target.c (target_insn_history_range): Add argument.
523 * record-btrace.c (record_btrace_insn_history_range): Add 'self'
525 (record_btrace_insn_history_from): Update.
527 2014-02-19 Tom Tromey <tromey@redhat.com>
529 * target.h (struct target_ops) <to_insn_history_from>: Add
531 * target.c (target_insn_history_from): Add argument.
532 * record-btrace.c (record_btrace_insn_history_from): Add 'self'
535 2014-02-19 Tom Tromey <tromey@redhat.com>
537 * target.h (struct target_ops) <to_insn_history>: Add argument.
538 * target.c (target_insn_history): Add argument.
539 * record-btrace.c (record_btrace_insn_history): Add 'self'
542 2014-02-19 Tom Tromey <tromey@redhat.com>
544 * target.h (struct target_ops) <to_goto_record>: Add argument.
545 * target.c (target_goto_record): Add argument.
546 * record-full.c (record_full_goto): Add 'self' argument.
547 * record-btrace.c (record_btrace_goto): Add 'self' argument.
549 2014-02-19 Tom Tromey <tromey@redhat.com>
551 * target.h (struct target_ops) <to_goto_record_end>: Add argument.
552 * target.c (target_goto_record_end): Add argument.
553 * record-full.c (record_full_goto_end): Add 'self' argument.
554 * record-btrace.c (record_btrace_goto_end): Add 'self' argument.
556 2014-02-19 Tom Tromey <tromey@redhat.com>
558 * target.h (struct target_ops) <to_goto_record_begin>: Add
560 * target.c (target_goto_record_begin): Add argument.
561 * record-full.c (record_full_goto_begin): Add 'self' argument.
562 * record-btrace.c (record_btrace_goto_begin): Add 'self'
565 2014-02-19 Tom Tromey <tromey@redhat.com>
567 * target.h (struct target_ops) <to_record_is_replaying>: Add
569 * target.c (target_record_is_replaying): Add argument.
570 * record-full.c (record_full_is_replaying): Add 'self' argument.
571 * record-btrace.c (record_btrace_is_replaying): Add 'self'
573 (record_btrace_xfer_partial, record_btrace_store_registers)
574 (record_btrace_prepare_to_store, record_btrace_resume)
575 (record_btrace_wait, record_btrace_decr_pc_after_break)
576 (record_btrace_find_new_threads, record_btrace_thread_alive):
579 2014-02-19 Tom Tromey <tromey@redhat.com>
581 * target.h (struct target_ops) <to_delete_record>: Add argument.
582 * target.c (target_delete_record): Add argument.
583 * record-full.c (record_full_delete): Add 'self' argument.
585 2014-02-19 Tom Tromey <tromey@redhat.com>
587 * target.h (struct target_ops) <to_save_record>: Add argument.
588 * target.c (target_save_record): Add argument.
589 * record-full.c (record_full_save): Add 'self' argument.
590 (record_full_save): Add 'self' argument.
592 2014-02-19 Tom Tromey <tromey@redhat.com>
594 * target.h (struct target_ops) <to_info_record>: Add argument.
595 * target.c (target_info_record): Add argument.
596 * record.c (info_record_command): Add argument.
597 * record-full.c (record_full_info): Add 'self' argument.
598 * record-btrace.c (record_btrace_info): Add 'self' argument.
600 2014-02-19 Tom Tromey <tromey@redhat.com>
602 * target.h (struct target_ops) <to_stop_recording>: Add argument.
603 * target.c (target_stop_recording): Add argument.
604 * record.c (record_stop): Add argument.
605 * record-btrace.c (record_btrace_stop_recording): Add 'self'
608 2014-02-19 Tom Tromey <tromey@redhat.com>
610 * target.h (struct target_ops) <to_read_btrace>: Add argument.
611 * target.c (struct target_ops) <to_read_btrace>: Add argument.
612 * remote.c (struct target_ops) <to_read_btrace>: Add 'self'
614 * amd64-linux-nat.c (amd64_linux_read_btrace): New function.
615 (_initialize_amd64_linux_nat): Use it.
616 * i386-linux-nat.c (i386_linux_read_btrace): New function.
617 (_initialize_i386_linux_nat): Use it.
619 2014-02-19 Tom Tromey <tromey@redhat.com>
621 * target.h (struct target_ops) <to_teardown_btrace>: Add argument.
622 * target.c (target_teardown_btrace): Add argument.
623 * remote.c (remote_teardown_btrace): Add 'self' argument.
624 * i386-linux-nat.c (i386_linux_teardown_btrace): Add 'self'
626 * amd64-linux-nat.c (amd64_linux_teardown_btrace): Add 'self'
629 2014-02-19 Tom Tromey <tromey@redhat.com>
631 * target.h (struct target_ops) <to_disable_btrace>: Add argument.
632 * target.c (target_disable_btrace): Add argument.
633 * remote.c (remote_disable_btrace): Add 'self' argument.
634 * i386-linux-nat.c (i386_linux_disable_btrace): Add 'self'
636 * amd64-linux-nat.c (amd64_linux_disable_btrace): Add 'self'
639 2014-02-19 Tom Tromey <tromey@redhat.com>
641 * target.h (struct target_ops) <to_enable_btrace>: Add argument.
642 * target.c (target_enable_btrace): Add argument.
643 * remote.c (remote_enable_btrace): Add 'self' argument.
644 * i386-linux-nat.c (i386_linux_enable_btrace): Add 'self'
646 * amd64-linux-nat.c (amd64_linux_enable_btrace): Add 'self'
649 2014-02-19 Tom Tromey <tromey@redhat.com>
651 * target.h (struct target_ops) <to_can_use_agent>: Add argument.
652 (target_can_use_agent): Add argument.
653 * target.c (update_current_target): Update.
654 * remote.c (remote_can_use_agent): Add 'self' argument.
655 * inf-child.c (inf_child_can_use_agent): Add 'self' argument.
657 2014-02-19 Tom Tromey <tromey@redhat.com>
659 * target.h (struct target_ops) <to_use_agent>: Add argument.
660 (target_use_agent): Add argument.
661 * target.c (update_current_target): Update.
662 * remote.c (remote_use_agent): Add 'self' argument.
663 * inf-child.c (inf_child_use_agent): Add 'self' argument.
665 2014-02-19 Tom Tromey <tromey@redhat.com>
667 * tracepoint.c (tfile_traceframe_info): Add 'self' argument.
668 * target.h (struct target_ops) <to_traceframe_info>: Add argument.
669 (target_traceframe_info): Add argument.
670 * target.c (update_current_target): Update.
671 * remote.c (remote_traceframe_info): Add 'self' argument.
672 * ctf.c (ctf_traceframe_info): Add 'self' argument.
674 2014-02-19 Tom Tromey <tromey@redhat.com>
676 * target.h (target_static_tracepoint_markers_by_strid): Add
678 (struct target_ops) <to_static_tracepoint_markers_by_strid>: Add
680 * target.c (update_current_target): Update.
681 * remote.c (struct target_ops)
682 <to_static_tracepoint_markers_by_strid>: Add 'self' argument.
683 * linux-nat.c (struct target_ops)
684 <to_static_tracepoint_markers_by_strid>: Add 'self' argument.
686 2014-02-19 Tom Tromey <tromey@redhat.com>
688 * target.h (struct target_ops) <to_static_tracepoint_marker_at>:
690 (target_static_tracepoint_marker_at): Add argument.
691 * target.c (update_current_target): Update.
692 * remote.c (remote_static_tracepoint_marker_at): Add 'self'
695 2014-02-19 Tom Tromey <tromey@redhat.com>
697 * target.h (struct target_ops) <to_set_permissions>: Add argument.
698 (target_set_permissions): Add argument.
699 * target.c (update_current_target): Update.
700 * remote.c (remote_set_permissions): Add 'self' argument.
701 (remote_start_remote): Update.
703 2014-02-19 Tom Tromey <tromey@redhat.com>
705 * windows-nat.c (windows_get_tib_address): Add 'self' argument.
706 * target.h (struct target_ops) <to_get_tib_address>: Add argument.
707 (target_get_tib_address): Add argument.
708 * target.c (update_current_target): Update.
709 * remote.c (remote_get_tib_address): Add 'self' argument.
711 2014-02-19 Tom Tromey <tromey@redhat.com>
713 * target.h (struct target_ops) <to_set_trace_notes>: Add argument.
714 (target_set_trace_notes): Add argument.
715 * target.c (update_current_target): Update.
716 * remote.c (remote_set_trace_notes): Add 'self' argument.
718 2014-02-19 Tom Tromey <tromey@redhat.com>
720 * target.h (struct target_ops) <to_set_trace_buffer_size>: Add
722 (target_set_trace_buffer_size): Add argument.
723 * target.c (update_current_target): Update.
724 * remote.c (remote_set_trace_buffer_size): Add 'self' argument.
726 2014-02-19 Tom Tromey <tromey@redhat.com>
728 * target.h (struct target_ops) <to_set_circular_trace_buffer>: Add
730 (target_set_circular_trace_buffer): Add argument.
731 * target.c (update_current_target): Update.
732 * remote.c (remote_set_circular_trace_buffer): Add 'self'
735 2014-02-19 Tom Tromey <tromey@redhat.com>
737 * target.h (struct target_ops) <to_set_disconnected_tracing>: Add
739 (target_set_disconnected_tracing): Add argument.
740 * target.c (update_current_target): Update.
741 * remote.c (remote_set_disconnected_tracing): Add 'self' argument.
743 2014-02-19 Tom Tromey <tromey@redhat.com>
745 * target.h (struct target_ops)
746 <to_get_min_fast_tracepoint_insn_len>: Add argument.
747 (target_get_min_fast_tracepoint_insn_len): Add argument.
748 * target.c (update_current_target): Update.
749 * remote.c (remote_get_min_fast_tracepoint_insn_len): Add 'self'
752 2014-02-19 Tom Tromey <tromey@redhat.com>
754 * target.h (struct target_ops) <to_get_raw_trace_data>: Add
756 (target_get_raw_trace_data): Add argument.
757 * target.c (update_current_target): Update.
758 * remote.c (remote_get_raw_trace_data): Add 'self' argument.
760 2014-02-19 Tom Tromey <tromey@redhat.com>
762 * target.h (struct target_ops) <to_upload_trace_state_variables>:
764 (target_upload_trace_state_variables): Add argument.
765 * target.c (update_current_target): Update.
766 * remote.c (remote_upload_trace_state_variables): Add 'self'
768 (remote_start_remote): Update.
770 2014-02-19 Tom Tromey <tromey@redhat.com>
772 * target.h (struct target_ops) <to_upload_tracepoints>: Add
774 (target_upload_tracepoints): Add argument.
775 * target.c (update_current_target): Update.
776 * remote.c (remote_upload_tracepoints): Add 'self' argument.
777 (remote_start_remote): Update.
779 2014-02-19 Tom Tromey <tromey@redhat.com>
781 * target.h (struct target_ops) <to_save_trace_data>: Add argument.
782 (target_save_trace_data): Add argument.
783 * target.c (update_current_target): Update.
784 * remote.c (remote_save_trace_data): Add 'self' argument.
786 2014-02-19 Tom Tromey <tromey@redhat.com>
788 * tracepoint.c (tfile_get_trace_state_variable_value): Add 'self'
790 * target.h (struct target_ops)
791 <to_get_trace_state_variable_value>: Add argument.
792 (target_get_trace_state_variable_value): Add argument.
793 * target.c (update_current_target): Update.
794 * remote.c (remote_get_trace_state_variable_value): Add 'self'
796 * ctf.c (ctf_get_trace_state_variable_value): Add 'self' argument.
798 2014-02-19 Tom Tromey <tromey@redhat.com>
800 * tracepoint.c (tfile_trace_find): Add 'self' argument.
801 * target.h (struct target_ops) <to_trace_find>: Add argument.
802 (target_trace_find): Add argument.
803 * target.c (update_current_target): Update.
804 * remote.c (remote_trace_find): Add 'self' argument.
805 * ctf.c (ctf_trace_find): Add 'self' argument.
807 2014-02-19 Tom Tromey <tromey@redhat.com>
809 * target.h (struct target_ops) <to_trace_stop>: Add argument.
810 (target_trace_stop): Add argument.
811 * target.c (update_current_target): Update.
812 * remote.c (remote_trace_stop): Add 'self' argument.
814 2014-02-19 Tom Tromey <tromey@redhat.com>
816 * tracepoint.c (tfile_get_tracepoint_status): Add 'self' argument.
817 * target.h (struct target_ops) <to_get_tracepoint_status>: Add
819 (target_get_tracepoint_status): Add argument.
820 * target.c (update_current_target): Update.
821 * remote.c (remote_get_tracepoint_status): Add 'self' argument.
823 2014-02-19 Tom Tromey <tromey@redhat.com>
825 * tracepoint.c (tfile_get_trace_status): Add 'self' argument.
826 * target.h (struct target_ops) <to_get_trace_status>: Add
828 (target_get_trace_status): Add argument.
829 * target.c (update_current_target): Update.
830 * remote.c (remote_get_trace_status): Add 'self' argument.
831 (remote_start_remote, remote_can_download_tracepoint): Update.
832 * ctf.c (ctf_get_trace_status): Add 'self' argument.
834 2014-02-19 Tom Tromey <tromey@redhat.com>
836 * target.h (struct target_ops) <to_trace_start>: Add argument.
837 (target_trace_start): Add argument.
838 * target.c (update_current_target): Update.
839 * remote.c (remote_trace_start): Add 'self' argument.
841 2014-02-19 Tom Tromey <tromey@redhat.com>
843 * target.h (struct target_ops) <to_trace_set_readonly_regions>:
845 (target_trace_set_readonly_regions): Add argument.
846 * target.c (update_current_target): Update.
847 * remote.c (remote_trace_set_readonly_regions): Add 'self'
850 2014-02-19 Tom Tromey <tromey@redhat.com>
852 * target.h (struct target_ops) <to_disable_tracepoint>: Add
854 (target_disable_tracepoint): Add argument.
855 * target.c (update_current_target): Update.
856 * remote.c (remote_disable_tracepoint): Add 'self' argument.
858 2014-02-19 Tom Tromey <tromey@redhat.com>
860 * target.h (struct target_ops) <to_enable_tracepoint>: Add
862 (target_enable_tracepoint): Add argument.
863 * target.c (update_current_target): Update.
864 * remote.c (remote_enable_tracepoint): Add 'self' argument.
866 2014-02-19 Tom Tromey <tromey@redhat.com>
868 * target.h (struct target_ops) <to_download_trace_state_variable>:
870 (target_download_trace_state_variable): Add argument.
871 * target.c (update_current_target): Update.
872 * remote.c (remote_download_trace_state_variable): Add 'self'
875 2014-02-19 Tom Tromey <tromey@redhat.com>
877 * target.h (struct target_ops) <to_can_download_tracepoint>: Add
879 (target_can_download_tracepoint): Add argument.
880 * target.c (update_current_target): Update.
881 * remote.c (remote_can_download_tracepoint): Add 'self' argument.
883 2014-02-19 Tom Tromey <tromey@redhat.com>
885 * target.h (struct target_ops) <to_download_tracepoint>: Add
887 (target_download_tracepoint): Add argument.
888 * target.c (update_current_target): Update.
889 * remote.c (remote_download_tracepoint): Add 'self' argument.
891 2014-02-19 Tom Tromey <tromey@redhat.com>
893 * target.h (struct target_ops) <to_trace_init>: Add argument.
894 (target_trace_init): Add argument.
895 * target.c (update_current_target): Update.
896 * remote.c (remote_trace_init): Add 'self' argument.
898 2014-02-19 Tom Tromey <tromey@redhat.com>
900 * target.h (struct target_ops) <to_fileio_readlink>: Add argument.
901 * target.c (target_fileio_readlink): Add argument.
902 * remote.c (remote_hostio_readlink): Add 'self' argument.
903 * inf-child.c (inf_child_fileio_readlink): Add 'self' argument.
905 2014-02-19 Tom Tromey <tromey@redhat.com>
907 * target.h (struct target_ops) <to_fileio_unlink>: Add argument.
908 * target.c (target_fileio_unlink): Add argument.
909 * remote.c (remote_hostio_unlink): Add 'self' argument.
910 (remote_file_delete): Update.
911 * inf-child.c (inf_child_fileio_unlink): Add 'self' argument.
913 2014-02-19 Tom Tromey <tromey@redhat.com>
915 * target.h (struct target_ops) <to_fileio_close>: Add argument.
916 * target.c (target_fileio_close): Add argument.
917 * remote.c (remote_hostio_close): Add 'self' argument.
918 (remote_hostio_close_cleanup): Update.
919 (remote_bfd_iovec_close, remote_file_put, remote_file_get):
921 * inf-child.c (inf_child_fileio_close): Add 'self' argument.
923 2014-02-19 Tom Tromey <tromey@redhat.com>
925 * target.h (struct target_ops) <to_fileio_pread>: Add argument.
926 * target.c (target_fileio_pread): Add argument.
927 * remote.c (remote_hostio_pread): Add 'self' argument.
928 (remote_bfd_iovec_pread, remote_file_get): Update.
929 * inf-child.c (inf_child_fileio_pread): Add 'self' argument.
931 2014-02-19 Tom Tromey <tromey@redhat.com>
933 * target.h (struct target_ops) <to_fileio_pwrite>: Add argument.
934 * target.c (target_fileio_pwrite): Add argument.
935 * remote.c (remote_hostio_pwrite): Add 'self' argument.
936 (remote_file_put): Update.
937 * inf-child.c (inf_child_fileio_pwrite): Add 'self' argument.
939 2014-02-19 Tom Tromey <tromey@redhat.com>
941 * target.h (struct target_ops) <to_fileio_open>: Add argument.
942 * target.c (target_fileio_open): Add argument.
943 * remote.c (remote_hostio_open): Add 'self' argument.
944 (remote_bfd_iovec_open): Add 'self' argument.
945 (remote_file_put): Add 'self' argument.
946 (remote_file_get): Add 'self' argument.
947 * inf-child.c (inf_child_fileio_open): Add 'self' argument.
949 2014-02-19 Tom Tromey <tromey@redhat.com>
951 * target.h (struct target_ops) <to_can_run_breakpoint_commands>:
953 (target_can_run_breakpoint_commands): Add argument.
954 * target.c (update_current_target): Update.
955 * remote.c (remote_can_run_breakpoint_commands): Add 'self'
957 (remote_insert_breakpoint): Add 'self' argument.
958 (remote_insert_hw_breakpoint): Add 'self' argument.
959 (remote_can_run_breakpoint_commands): Add 'self' argument.
961 2014-02-19 Tom Tromey <tromey@redhat.com>
963 * target.h (struct target_ops)
964 <to_supports_evaluation_of_breakpoint_conditions>: Add argument.
965 (target_supports_evaluation_of_breakpoint_conditions): Add
967 * target.c (update_current_target): Update.
968 * remote.c (remote_supports_cond_breakpoints): Add 'self'
970 (remote_insert_breakpoint): Add 'self' argument.
971 (remote_insert_hw_breakpoint): Add 'self' argument.
972 (remote_supports_cond_breakpoints): Add 'self' argument.
974 2014-02-19 Tom Tromey <tromey@redhat.com>
976 * target.h (struct target_ops) <to_supports_string_tracing>: Add
978 (target_supports_string_tracing): Add argument.
979 * target.c (update_current_target): Update.
980 * remote.c (remote_supports_string_tracing): Add 'self' argument.
982 2014-02-19 Tom Tromey <tromey@redhat.com>
984 * target.h (struct target_ops)
985 <to_supports_disable_randomization>: Add argument.
986 * target.c (find_default_supports_disable_randomization): Add
988 (target_supports_disable_randomization): Add argument.
989 (find_default_supports_disable_randomization): Add 'self'
991 * remote.c (extended_remote_supports_disable_randomization): Add
993 (remote_supports_disable_randomization): Add 'self' argument.
994 (extended_remote_create_inferior): Update.
995 * linux-nat.c (linux_nat_supports_disable_randomization): Add
998 2014-02-19 Tom Tromey <tromey@redhat.com>
1000 * target.h (struct target_ops)
1001 <to_supports_enable_disable_tracepoint>: Add argument.
1002 (target_supports_enable_disable_tracepoint): Add argument.
1003 * target.c (update_current_target): Update.
1004 * remote.c (remote_supports_enable_disable_tracepoint): Add 'self'
1007 2014-02-19 Tom Tromey <tromey@redhat.com>
1009 * target.h (struct target_ops) <to_supports_multi_process>: Add
1011 (target_supports_multi_process): Add argument.
1012 * target.c (update_current_target): Update.
1013 * remote.c (remote_supports_multi_process): Add 'self' argument.
1014 * linux-nat.c (linux_nat_supports_multi_process): Add 'self'
1016 * darwin-nat.c (darwin_supports_multi_process): Add 'self'
1019 2014-02-19 Tom Tromey <tromey@redhat.com>
1021 * target.h (struct target_ops) <to_execution_direction>: Add
1023 (target_execution_direction): Add argument.
1024 * target.c (default_execution_direction): Add 'self' argument.
1025 * record-full.c (record_full_execution_direction): Add 'self'
1028 2014-02-19 Tom Tromey <tromey@redhat.com>
1030 * target.h (struct target_ops) <to_can_execute_reverse>: Add
1032 (target_can_execute_reverse): Add argument.
1033 * remote.c (remote_can_execute_reverse): Add 'self' argument.
1034 * record-full.c (record_full_can_execute_reverse): Add 'self'
1036 * record-btrace.c (record_btrace_can_execute_reverse): Add 'self'
1039 2014-02-19 Tom Tromey <tromey@redhat.com>
1041 * windows-nat.c (windows_get_ada_task_ptid): Add 'self' argument.
1042 * target.h (struct target_ops) <to_get_ada_task_ptid>: Add
1044 (target_get_ada_task_ptid): Add argument.
1045 * target.c (update_current_target): Update.
1046 (default_get_ada_task_ptid): Add 'self' argument.
1047 * sol-thread.c (sol_get_ada_task_ptid): Add 'self' argument.
1048 * remote.c (remote_get_ada_task_ptid): Add 'self' argument.
1049 * ravenscar-thread.c (ravenscar_get_ada_task_ptid): Add 'self'
1051 * linux-thread-db.c (thread_db_get_ada_task_ptid): Add 'self'
1053 * inf-ttrace.c (inf_ttrace_get_ada_task_ptid): Add 'self'
1055 * dec-thread.c (dec_thread_get_ada_task_ptid): Add 'self'
1057 * darwin-nat.c (darwin_get_ada_task_ptid): Add 'self' argument.
1058 * aix-thread.c (aix_thread_get_ada_task_ptid): Add 'self'
1061 2014-02-19 Tom Tromey <tromey@redhat.com>
1063 * target.h (struct target_ops) <to_goto_bookmark>: Add argument.
1064 (target_goto_bookmark): Add argument.
1065 * target.c (dummy_goto_bookmark): Add 'self' argument.
1066 * record-full.c (record_full_goto_bookmark): Add 'self' argument.
1068 2014-02-19 Tom Tromey <tromey@redhat.com>
1070 * target.h (struct target_ops) <to_get_bookmark>: Add argument.
1071 (target_get_bookmark): Add argument.
1072 * target.c (dummy_get_bookmark): Add 'self' argument.
1073 * record-full.c (record_full_get_bookmark): Add 'self' argument.
1075 2014-02-19 Tom Tromey <tromey@redhat.com>
1077 * target.h (struct target_ops) <to_make_corefile_notes>: Add
1079 (target_make_corefile_notes): Add argument.
1080 * target.c (dummy_make_corefile_notes): Add 'self' argument.
1081 * procfs.c (procfs_make_note_section): Add 'self' argument.
1082 (procfs_make_note_section): Add 'self' argument.
1083 (procfs_make_note_section): Add 'self' argument.
1084 * linux-nat.c (linux_nat_make_corefile_notes): Add 'self'
1086 * fbsd-nat.h (fbsd_make_corefile_notes): Add 'self' argument.
1087 * fbsd-nat.c (fbsd_make_corefile_notes): Add 'self' argument.
1088 * exec.c (exec_make_note_section): Add 'self' argument.
1089 (exec_make_note_section): Add 'self' argument.
1091 2014-02-19 Tom Tromey <tromey@redhat.com>
1093 * target.h (struct target_ops) <to_find_memory_regions>: Add
1095 (target_find_memory_regions): Add argument.
1096 * target.c (dummy_find_memory_regions): Add 'self' argument.
1097 * procfs.c (proc_find_memory_regions): Add 'self' argument.
1098 * gnu-nat.c (gnu_find_memory_regions): Add 'self' argument.
1099 * fbsd-nat.h (fbsd_find_memory_regions): Add 'self' argument.
1100 * fbsd-nat.c (fbsd_find_memory_regions): Add 'self' argument.
1101 * exec. (exec_do_find_memory_regions): New global.
1102 (exec_set_find_memory_regions): Rewrite.
1103 (exec_find_memory_regions): New function.
1104 (init_exec_ops): Use exec_find_memory_regions.
1106 2014-02-19 Tom Tromey <tromey@redhat.com>
1108 * target.h (struct target_ops) <to_supports_non_stop>: Add
1110 * target.c (find_default_supports_non_stop): Add argument.
1111 (target_supports_non_stop): Add argument.
1112 (find_default_supports_non_stop): Add 'self' argument.
1113 * remote.c (remote_supports_non_stop): Add 'self' argument.
1114 * linux-nat.c (linux_nat_supports_non_stop): Add 'self' argument.
1116 2014-02-19 Tom Tromey <tromey@redhat.com>
1118 * target.h (struct target_ops) <to_log_command>: Add argument.
1119 (target_log_command): Add argument.
1120 * serial.h (serial_log_command): Add 'self' argument.
1121 * serial.c (serial_log_command): Add 'self' argument.
1123 2014-02-19 Tom Tromey <tromey@redhat.com>
1125 * windows-nat.c (windows_pid_to_exec_file): Add 'self' argument.
1126 * target.h (struct target_ops) <to_pid_to_exec_file>: Add
1128 (target_pid_to_exec_file): Add argument.
1129 * target.c (debug_to_pid_to_exec_file): Add argument.
1130 (update_current_target): Update.
1131 * nbsd-nat.h (nbsd_pid_to_exec_file): Add 'self' argument.
1132 * nbsd-nat.c (nbsd_pid_to_exec_file): Add 'self' argument.
1133 * linux-nat.c (linux_child_pid_to_exec_file): Add 'self' argument.
1134 (linux_handle_extended_wait): Update.
1135 * inf-child.c (inf_child_pid_to_exec_file): Add 'self' argument.
1136 * fbsd-nat.h (fbsd_pid_to_exec_file): Add 'self' argument.
1137 * fbsd-nat.c (fbsd_pid_to_exec_file): Add 'self' argument.
1138 * darwin-nat.c (darwin_pid_to_exec_file): Add 'self' argument.
1140 2014-02-19 Tom Tromey <tromey@redhat.com>
1142 * target.h (struct target_ops) <to_rcmd>: Add argument.
1143 (target_rcmd): Add argument.
1144 * target.c (debug_to_rcmd): Add argument.
1145 (update_current_target, do_monitor_command): Update.
1146 * remote.c (remote_rcmd): Add 'self' argument.
1147 * monitor.c (monitor_rcmd): Add 'self' argument.
1149 2014-02-19 Tom Tromey <tromey@redhat.com>
1151 * windows-nat.c (windows_stop): Add 'self' argument.
1152 * target.h (struct target_ops) <to_stop>: Add argument.
1153 * target.c (target_stop): Add argument.
1154 (debug_to_stop): Add argument.
1155 (update_current_target): Update.
1156 * remote.c (remote_stop): Add 'self' argument.
1157 * remote-sim.c (gdbsim_stop): Add 'self' argument.
1158 (gdbsim_cntrl_c): Update.
1159 * remote-m32r-sdi.c (m32r_stop): Add 'self' argument.
1160 * procfs.c (procfs_stop): Add 'self' argument.
1161 * nto-procfs.c (procfs_stop): Add 'self' argument.
1162 * monitor.c (monitor_stop): Add 'self' argument.
1163 (monitor_open): Update.
1164 * linux-nat.c (linux_nat_stop): Add argument.
1165 * inf-ptrace.c (inf_ptrace_stop): Add 'self' argument.
1166 * gnu-nat.c (gnu_stop): Add 'self' argument.
1167 * darwin-nat.c (darwin_stop): Add 'self' argument.
1169 2014-02-19 Tom Tromey <tromey@redhat.com>
1171 * target.h (struct target_ops) <to_thread_name>: Add argument.
1172 * target.c (target_thread_name): Add argument.
1173 (update_current_target): Update.
1174 * linux-nat.c (linux_nat_thread_name): Add 'self' argument.
1176 2014-02-19 Tom Tromey <tromey@redhat.com>
1178 * target.h (struct target_ops) <to_extra_thread_info>: Add
1180 (target_extra_thread_info): Add argument.
1181 * target.c (update_current_target): Update.
1182 * remote.c (remote_threads_extra_info): Add 'self' argument.
1183 * ravenscar-thread.c (ravenscar_extra_thread_info): Add 'self'
1185 * nto-tdep.h (nto_extra_thread_info): Add 'self' argument.
1186 * nto-tdep.c (nto_extra_thread_info): Add 'self' argument.
1187 * linux-thread-db.c (thread_db_extra_thread_info): Add 'self'
1189 * inf-ttrace.c (inf_ttrace_extra_thread_info): Add 'self'
1191 * bsd-uthread.c (bsd_uthread_extra_thread_info): Add 'self'
1193 * aix-thread.c (aix_thread_extra_thread_info): Add 'self'
1196 2014-02-19 Tom Tromey <tromey@redhat.com>
1198 * target.h (struct target_ops) <to_program_signals>: Add argument.
1199 * target.c (target_program_signals): Add argument.
1200 * remote.c (remote_program_signals): Add 'self' argument.
1202 2014-02-19 Tom Tromey <tromey@redhat.com>
1204 * target.h (struct target_ops) <to_pass_signals>: Add argument.
1205 * target.c (target_pass_signals): Add argument.
1206 * remote.c (remote_pass_signals): Add 'self' argument.
1207 (remote_start_remote): Update.
1208 * procfs.c (procfs_pass_signals): Add 'self' argument.
1209 * nto-procfs.c (procfs_pass_signals): Add 'self' argument.
1210 * linux-nat.c (linux_nat_pass_signals): Add 'self' argument.
1211 (linux_nat_create_inferior, linux_nat_attach): Update.
1213 2014-02-19 Tom Tromey <tromey@redhat.com>
1215 * windows-nat.c (windows_can_run): Add 'self' argument.
1216 * target.h (struct target_ops) <to_can_run>: Add argument.
1217 (target_can_run): Add argument.
1218 * target.c (debug_to_can_run): Add argument.
1219 (update_current_target): Update.
1220 * nto-procfs.c (procfs_can_run): Add 'self' argument.
1221 * inf-child.c (inf_child_can_run): Add 'self' argument.
1222 * go32-nat.c (go32_can_run): Add 'self' argument.
1224 2014-02-19 Tom Tromey <tromey@redhat.com>
1226 * target.h (struct target_ops) <to_has_exited>: Add argument.
1227 (target_has_exited): Add argument.
1228 * target.c (debug_to_has_exited): Add argument.
1229 (update_current_target): Update.
1231 2014-02-19 Tom Tromey <tromey@redhat.com>
1233 * target.h (struct target_ops) <to_set_syscall_catchpoint>: Add
1235 (target_set_syscall_catchpoint): Add argument.
1236 * linux-nat.c (linux_child_set_syscall_catchpoint): Add 'self'
1238 * target.c (update_current_target): Update.
1240 2014-02-19 Tom Tromey <tromey@redhat.com>
1242 * target.h (struct target_ops) <to_remove_exec_catchpoint>: Add
1244 (target_remove_exec_catchpoint): Add argument.
1245 * target.c (debug_to_remove_exec_catchpoint): Add argument.
1246 (update_current_target): Update.
1247 * linux-nat.c (linux_child_remove_exec_catchpoint): Add 'self'
1250 2014-02-19 Tom Tromey <tromey@redhat.com>
1252 * target.h (struct target_ops) <to_insert_exec_catchpoint>: Add
1254 (target_insert_exec_catchpoint): Add argument.
1255 * target.c (debug_to_insert_exec_catchpoint): Add argument.
1256 (update_current_target): Update.
1257 * linux-nat.c (linux_child_insert_exec_catchpoint): Add 'self'
1260 2014-02-19 Tom Tromey <tromey@redhat.com>
1262 * target.h (struct target_ops) <to_remove_vfork_catchpoint>: Add
1264 (target_remove_vfork_catchpoint): Add argument.
1265 * target.c (debug_to_remove_vfork_catchpoint): Add argument.
1266 (update_current_target): Update.
1267 * linux-nat.c (linux_child_remove_vfork_catchpoint): Add 'self'
1270 2014-02-19 Tom Tromey <tromey@redhat.com>
1272 * target.h (struct target_ops) <to_insert_vfork_catchpoint>: Add
1274 (target_insert_vfork_catchpoint): Add argument.
1275 * target.c (debug_to_insert_vfork_catchpoint): Add argument.
1276 (update_current_target): Update.
1277 * linux-nat.c (linux_child_insert_vfork_catchpoint): Add 'self'
1280 2014-02-19 Tom Tromey <tromey@redhat.com>
1282 * target.h (struct target_ops) <to_remove_fork_catchpoint>: Add
1284 (target_remove_fork_catchpoint): Add argument.
1285 * target.c (debug_to_remove_fork_catchpoint): Add argument.
1286 (update_current_target): Update.
1287 * linux-nat.c (linux_child_remove_fork_catchpoint): Add 'self'
1290 2014-02-19 Tom Tromey <tromey@redhat.com>
1292 * target.h (struct target_ops) <to_insert_fork_catchpoint>: Add
1294 (target_insert_fork_catchpoint): Add argument.
1295 * target.c (debug_to_insert_fork_catchpoint): Add argument.
1296 (update_current_target): Update.
1297 * linux-nat.c (linux_child_insert_fork_catchpoint): Add 'self'
1300 2014-02-19 Tom Tromey <tromey@redhat.com>
1302 * target.h (struct target_ops) <to_post_startup_inferior>: Add
1304 (target_post_startup_inferior): Add argument.
1305 * target.c (debug_to_post_startup_inferior): Add argument.
1306 (update_current_target): Update.
1307 * spu-linux-nat.c (spu_child_post_startup_inferior): Add 'self'
1309 * linux-nat.c (linux_child_post_startup_inferior): Add 'self'
1311 * inf-ptrace.c (inf_ptrace_post_startup_inferior): Add 'self'
1313 * inf-child.c (inf_child_post_startup_inferior): Add 'self'
1315 * i386-linux-nat.c (i386_linux_child_post_startup_inferior): Add
1317 (super_post_startup_inferior): Likewise.
1318 * amd64-linux-nat.c (amd64_linux_child_post_startup_inferior): Add
1320 (super_post_startup_inferior): Likewise.
1321 * aarch64-linux-nat.c (aarch64_linux_child_post_startup_inferior):
1322 Add 'self' argument.
1323 (super_post_startup_inferior): Likewise.
1325 2014-02-19 Tom Tromey <tromey@redhat.com>
1327 * target.h (struct target_ops) <to_load>: Add argument.
1328 * target.c (target_load): Add argument.
1329 (debug_to_load): Add argument.
1330 (update_current_target): Update.
1331 * remote.c (remote_load): Add 'self' argument.
1332 * remote-sim.c (gdbsim_load): Add 'self' argument.
1333 * remote-mips.c (mips_load): Add 'self' argument.
1334 * remote-m32r-sdi.c (m32r_load): Add 'self' argument.
1335 * monitor.c (monitor_load): Add 'self' argument.
1336 * m32r-rom.c (m32r_load_gen): Add 'self' argument.
1338 2014-02-19 Tom Tromey <tromey@redhat.com>
1340 * target.h (struct target_ops) <to_terminal_info>: Add argument.
1341 (target_terminal_info): Add argument.
1342 * target.c (debug_to_terminal_info): Add argument.
1343 (default_terminal_info): Likewise.
1344 * inflow.c (child_terminal_info): Add 'self' argument.
1345 * inferior.h (child_terminal_info): Add 'self' argument.
1346 * go32-nat.c (go32_terminal_info): Add 'self' argument.
1348 2014-02-19 Tom Tromey <tromey@redhat.com>
1350 * target.h (struct target_ops) <to_terminal_save_ours>: Add
1352 (target_terminal_save_ours): Add argument.
1353 * target.c (debug_to_terminal_save_ours): Add argument.
1354 (update_current_target): Update.
1355 * inflow.c (terminal_save_ours): Add 'self' argument.
1356 * inferior.h (terminal_save_ours): Add 'self' argument.
1358 2014-02-19 Tom Tromey <tromey@redhat.com>
1360 * target.h (struct target_ops) <to_terminal_ours>: Add argument.
1361 (target_terminal_ours): Add argument.
1362 * target.c (debug_to_terminal_ours): Add argument.
1363 (update_current_target): Update.
1364 * remote.c (remote_terminal_ours): Add 'self' argument.
1365 (remote_close): Update.
1366 * linux-nat.c (linux_nat_terminal_ours): Add 'self' argument.
1367 * inflow.c (terminal_ours): Add 'self' argument.
1368 * inferior.h (terminal_ours): Add 'self' argument.
1369 * go32-nat.c (go32_terminal_ours): Add 'self' argument.
1371 2014-02-19 Pedro Alves <palves@redhat.com>
1372 Tom Tromey <tromey@redhat.com>
1374 * target.h (struct target_ops) <to_terminal_ours_for_output>: Add
1376 (target_terminal_ours_for_output): Add argument.
1377 * target.c (debug_to_terminal_ours_for_output): Add argument.
1378 (update_current_target): Update.
1379 * inflow.c (terminal_ours_for_output): Add 'self' argument.
1380 * inferior.h (terminal_ours_for_output): Add 'self' argument.
1381 * go32-nat.c (go32_terminal_ours): Add 'self' argument.
1383 2014-02-19 Tom Tromey <tromey@redhat.com>
1385 * target.h (struct target_ops) <to_terminal_inferior>: Add
1387 * target.c (target_terminal_inferior): Add argument.
1388 (update_current_target): Update.
1389 * remote.c (remote_terminal_inferior): Add 'self' argument.
1390 * linux-nat.c (linux_nat_terminal_inferior): Add 'self' argument.
1391 * inflow.c (terminal_inferior): Add 'self' argument.
1392 * inferior.h (terminal_inferior): Add 'self' argument.
1393 * go32-nat.c (go32_terminal_inferior): Add 'self' argument.
1394 (go32_terminal_inferior): Add 'self' argument.
1396 2014-02-19 Tom Tromey <tromey@redhat.com>
1398 * target.h (struct target_ops) <to_terminal_init>: Add argument.
1399 (target_terminal_init): Add argument.
1400 * target.c (debug_to_terminal_init): Add argument.
1401 (update_current_target): Update.
1402 * inflow.c (terminal_init_inferior): Add 'self' argument.
1403 * inferior.h (terminal_init_inferior): Add 'self' argument.
1404 * go32-nat.c (go32_terminal_init): Add 'self' argument.
1405 * gnu-nat.c (gnu_terminal_init_inferior): Add 'self' argument.
1407 2014-02-19 Tom Tromey <tromey@redhat.com>
1409 * target.h (struct target_ops)
1410 <to_can_accel_watchpoint_condition>: Add argument.
1411 (target_can_accel_watchpoint_condition): Add argument.
1412 * target.c (debug_to_can_accel_watchpoint_condition): Add
1414 (update_current_target): Update.
1415 * ppc-linux-nat.c (ppc_linux_can_accel_watchpoint_condition): Add
1418 2014-02-19 Tom Tromey <tromey@redhat.com>
1420 * target.h (struct target_ops) <to_region_ok_for_hw_watchpoint>:
1422 (target_region_ok_for_hw_watchpoint): Add argument.
1423 * target.c (debug_to_region_ok_for_hw_watchpoint): Add argument.
1424 (default_region_ok_for_hw_watchpoint): Add argument.
1425 * spu-multiarch.c (spu_region_ok_for_hw_watchpoint): Add argument.
1426 * s390-linux-nat.c (s390_region_ok_for_hw_watchpoint): Add 'self'
1428 * remote.c (remote_region_ok_for_hw_watchpoint): Add 'self'
1430 * procfs.c (procfs_region_ok_for_hw_watchpoint): Add 'self'
1432 * ppc-linux-nat.c (ppc_linux_region_ok_for_hw_watchpoint): Add
1434 * mips-linux-nat.c (mips_linux_region_ok_for_hw_watchpoint): Add
1436 * inf-ttrace.c (inf_ttrace_region_ok_for_hw_watchpoint): Add
1438 * i386-nat.c (i386_region_ok_for_watchpoint): Add 'self' argument.
1439 * arm-linux-nat.c (arm_linux_region_ok_for_hw_watchpoint): Add
1441 * aarch64-linux-nat.c (aarch64_linux_region_ok_for_hw_watchpoint):
1442 Add 'self' argument.
1444 2014-02-19 Tom Tromey <tromey@redhat.com>
1446 * target.h (struct target_ops) <to_insert_watchpoint>: Add
1448 (target_insert_watchpoint): Add argument.
1449 * target.c (debug_to_insert_watchpoint): Add argument.
1450 (update_current_target): Update.
1451 * s390-linux-nat.c (s390_insert_watchpoint): Add 'self' argument.
1452 * remote.c (remote_insert_watchpoint): Add 'self' argument.
1453 * remote-mips.c (mips_insert_watchpoint): Add 'self' argument.
1454 * remote-m32r-sdi.c (m32r_insert_watchpoint): Add 'self' argument.
1455 * procfs.c (procfs_insert_watchpoint): Add 'self' argument.
1456 * ppc-linux-nat.c (ppc_linux_insert_watchpoint): Add 'self'
1458 * nto-procfs.c (procfs_insert_hw_watchpoint): Add 'self' argument.
1459 (procfs_insert_hw_watchpoint): Add 'self' argument.
1460 * mips-linux-nat.c (mips_linux_insert_watchpoint): Add 'self'
1462 * inf-ttrace.c (inf_ttrace_insert_watchpoint): Add 'self'
1464 * ia64-linux-nat.c (ia64_linux_insert_watchpoint): Add 'self'
1466 * i386-nat.c (i386_insert_watchpoint): Add 'self' argument.
1467 * arm-linux-nat.c (arm_linux_insert_watchpoint): Add 'self'
1469 * aarch64-linux-nat.c (aarch64_linux_insert_watchpoint): Add
1472 2014-02-19 Tom Tromey <tromey@redhat.com>
1474 * target.h (struct target_ops) <to_remove_watchpoint>: Add
1476 (target_remove_watchpoint): Add argument.
1477 * target.c (debug_to_remove_watchpoint): Add argument.
1478 (update_current_target): Update.
1479 * s390-linux-nat.c (s390_remove_watchpoint): Add 'self' argument.
1480 * remote.c (remote_remove_watchpoint): Add 'self' argument.
1481 * remote-mips.c (mips_remove_watchpoint): Add 'self' argument.
1482 * remote-m32r-sdi.c (m32r_remove_watchpoint): Add 'self' argument.
1483 * procfs.c (procfs_remove_watchpoint): Add 'self' argument.
1484 * ppc-linux-nat.c (ppc_linux_remove_watchpoint): Add 'self'
1486 * nto-procfs.c (procfs_remove_hw_watchpoint): Add 'self' argument.
1487 * mips-linux-nat.c (mips_linux_remove_watchpoint): Add 'self'
1489 * inf-ttrace.c (inf_ttrace_remove_watchpoint): Add 'self'
1491 * ia64-linux-nat.c (ia64_linux_remove_watchpoint): Add 'self'
1493 * i386-nat.c (i386_remove_watchpoint): Add 'self' argument.
1494 * arm-linux-nat.c (arm_linux_remove_watchpoint): Add 'self'
1496 * aarch64-linux-nat.c (aarch64_linux_remove_watchpoint): Add
1499 2014-02-19 Tom Tromey <tromey@redhat.com>
1501 * target.h (struct target_ops) <to_remove_hw_breakpoint>: Add
1503 (target_remove_hw_breakpoint): Add argument.
1504 * target.c (debug_to_remove_hw_breakpoint): Add argument.
1505 (update_current_target): Update.
1506 * remote.c (remote_remove_hw_breakpoint): Add 'self' argument.
1507 * ppc-linux-nat.c (ppc_linux_remove_hw_breakpoint): Add 'self'
1509 * i386-nat.c (i386_remove_hw_breakpoint): Add 'self' argument.
1510 * arm-linux-nat.c (arm_linux_remove_hw_breakpoint): Add 'self'
1512 * aarch64-linux-nat.c (aarch64_linux_remove_hw_breakpoint): Add
1515 2014-02-19 Tom Tromey <tromey@redhat.com>
1517 * target.h (struct target_ops) <to_insert_hw_breakpoint>: Add
1519 (target_insert_hw_breakpoint): Add argument.
1520 * target.c (debug_to_insert_hw_breakpoint): Add argument.
1521 (update_current_target): Update.
1522 * remote.c (remote_insert_hw_breakpoint): Add 'self' argument.
1523 * ppc-linux-nat.c (ppc_linux_insert_hw_breakpoint): Add 'self'
1525 * nto-procfs.c (procfs_insert_hw_breakpoint): Add 'self' argument.
1526 * i386-nat.c (i386_insert_hw_breakpoint): Add 'self' argument.
1527 * arm-linux-nat.c (arm_linux_insert_hw_breakpoint): Add 'self'
1529 * aarch64-linux-nat.c (aarch64_linux_insert_hw_breakpoint): Add
1532 2014-02-19 Tom Tromey <tromey@redhat.com>
1534 * target.h (struct target_ops) <to_can_use_hw_breakpoint>: Add
1536 (target_can_use_hardware_watchpoint): Add argument.
1537 * target.c (debug_to_can_use_hw_breakpoint): Add argument.
1538 (update_current_target): Update.
1539 * spu-linux-nat.c (spu_can_use_hw_breakpoint): Add 'self'
1541 * s390-linux-nat.c (s390_can_use_hw_breakpoint): Add 'self'
1543 * remote.c (remote_check_watch_resources): Add 'self' argument.
1544 * remote-mips.c (mips_can_use_watchpoint): Add 'self' argument.
1545 * remote-m32r-sdi.c (m32r_can_use_hw_watchpoint): Add 'self'
1547 * procfs.c (procfs_can_use_hw_breakpoint): Add 'self' argument.
1548 * ppc-linux-nat.c (ppc_linux_can_use_hw_breakpoint): Add 'self'
1550 * nto-procfs.c (procfs_can_use_hw_breakpoint): Add 'self'
1552 * mips-linux-nat.c (mips_linux_can_use_hw_breakpoint): Add 'self'
1554 * inf-ttrace.c (inf_ttrace_can_use_hw_breakpoint): Add 'self'
1556 * ia64-linux-nat.c (ia64_linux_can_use_hw_breakpoint): Add 'self'
1558 * ia64-hpux-nat.c (ia64_hpux_can_use_hw_breakpoint): Add 'self'
1560 * i386-nat.c (i386_can_use_hw_breakpoint): Add 'self' argument.
1561 * arm-linux-nat.c (arm_linux_can_use_hw_breakpoint): Add 'self'
1563 * aarch64-linux-nat.c (aarch64_linux_can_use_hw_breakpoint): Add
1566 2014-02-19 Tom Tromey <tromey@redhat.com>
1568 * target.h (struct target_ops) <to_post_attach>: Add argument.
1569 (target_post_attach): Add argument.
1570 * target.c (debug_to_post_attach): Add argument.
1571 (update_current_target): Update.
1572 * spu-linux-nat.c (spu_child_post_attach): Add 'self' argument.
1573 * nto-procfs.c (procfs_post_attach): Add 'self' argument.
1574 * linux-nat.c (linux_child_post_attach): Add 'self' argument.
1575 * inf-ptrace.c (inf_ptrace_post_attach): Add 'self' argument.
1576 * inf-child.c (inf_child_post_attach): Add 'self' argument.
1578 2014-02-19 Tom Tromey <tromey@redhat.com>
1580 * windows-nat.c (windows_close): Add 'self' argument.
1581 * tracepoint.c (tfile_close): Add 'self' argument.
1582 * target.h (struct target_ops) <to_close>: Add argument.
1583 * target.c (target_close): Add argument.
1584 (update_current_target): Update.
1585 * remote.c (remote_close): Add 'self' argument.
1586 * remote-sim.c (gdbsim_close): Add 'self' argument.
1587 * remote-mips.c (mips_close): Add 'self' argument.
1588 * remote-m32r-sdi.c (m32r_close): Add 'self' argument.
1589 * record-full.c (record_full_close): Add 'self' argument.
1590 * record-btrace.c (record_btrace_close): Add 'self' argument.
1591 * monitor.h (monitor_close): Add 'self' argument.
1592 * monitor.c (monitor_close): Add 'self' argument.
1593 * mips-linux-nat.c (mips_linux_close): Add 'self' argument.
1594 * linux-nat.c (linux_nat_close): Add argument.
1595 * go32-nat.c (go32_close): Add 'self' argument.
1596 * exec.c (exec_close_1): Add 'self' argument.
1597 * ctf.c (ctf_close): Add 'self' argument.
1598 * corelow.c (core_close): Add 'self' argument.
1599 (core_close_cleanup): Update.
1600 * bsd-uthread.c (bsd_uthread_close): Add 'self' argument.
1601 * bsd-kvm.c (bsd_kvm_close): Add 'self' argument.
1603 2014-02-19 Tom Tromey <tromey@redhat.com>
1605 * remote.c (remote_load): New function.
1606 (init_remote_ops): Use it.
1608 2014-02-19 Tom Tromey <tromey@redhat.com>
1610 * common/linux-btrace.c (linux_supports_btrace): Add "ops"
1612 * common/linux-btrace.h (linux_supports_btrace): Update.
1613 * remote.c (remote_supports_btrace): Add "self" argument.
1614 * target-delegates.c: Rebuild.
1615 * target.c (target_supports_btrace): Remove.
1616 * target.h (struct target_ops) <to_supports_btrace>: Add
1617 target_ops argument.
1618 (target_supports_btrace): New define.
1620 2014-02-19 Tom Tromey <tromey@redhat.com>
1622 * record-full.c (record_full_beneath_to_resume_ops)
1623 (record_full_beneath_to_resume, record_full_beneath_to_wait_ops)
1624 (record_full_beneath_to_wait)
1625 (record_full_beneath_to_store_registers_ops)
1626 (record_full_beneath_to_store_registers)
1627 (record_full_beneath_to_xfer_partial_ops)
1628 (record_full_beneath_to_xfer_partial)
1629 (record_full_beneath_to_insert_breakpoint_ops)
1630 (record_full_beneath_to_insert_breakpoint)
1631 (record_full_beneath_to_remove_breakpoint_ops)
1632 (record_full_beneath_to_remove_breakpoint)
1633 (record_full_beneath_to_stopped_by_watchpoint)
1634 (record_full_beneath_to_stopped_data_address)
1635 (record_full_beneath_to_async, tmp_to_resume_ops, tmp_to_resume)
1636 (tmp_to_wait_ops, tmp_to_wait, tmp_to_store_registers_ops)
1637 (tmp_to_store_registers, tmp_to_xfer_partial_ops)
1638 (tmp_to_xfer_partial, tmp_to_instmp_to_insert_breakpoint_ops)
1639 (tmp_to_insert_breakpoint, tmp_to_remove_breakpoint_ops)
1640 (tmp_to_remove_breakpoint, tmp_to_stopped_by_watchpoint)
1641 (tmp_to_stopped_data_address, tmp_to_async): Remove.
1642 (record_full_open_1, record_full_open): Update. Use RECORD_IS_USED.
1643 (record_full_resume, record_full_wait_1)
1644 (record_full_stopped_by_watchpoint, record_full_stopped_data_address)
1645 (record_full_store_registers, record_full_xfer_partial)
1646 (record_full_insert_breakpoint, record_full_remove_breakpoint)
1647 (record_full_async, record_full_core_xfer_partial): Use target
1649 * target-delegates.c: Rebuild.
1650 * target.c (current_xfer_partial): Remove.
1651 (update_current_target): Do not INHERIT or de_fault
1652 to_insert_breakpoint, to_remove_breakpoint,
1653 to_stopped_data_address, to_stopped_by_watchpoint, to_can_async_p,
1654 to_is_async_p, to_async. Do not set to_xfer_partial field.
1655 (default_xfer_partial): Simplify.
1656 (current_xfer_partial): Remove.
1657 (target_wait, target_resume): Simplify.
1658 (find_default_can_async_p, find_default_is_async_p): Update.
1659 (init_dummy_target): Don't set to_can_async_p, to_is_async_p,
1660 to_xfer_partial, to_stopped_by_watchpoint,
1661 to_stopped_data_address.
1662 (target_store_registers): Simplify.
1663 (forward_target_remove_breakpoint)
1664 (forward_target_insert_breakpoint): Remove.
1665 (target_remove_breakpoint, target_insert_breakpoint)
1666 (debug_to_insert_breakpoint, debug_to_remove_breakpoint): Update.
1667 * target.h (struct target_ops) <to_resume, to_wait,
1668 to_store_registers, to_insert_breakpoint, to_remove_breakpoint,
1669 to_stopped_by_watchpoint, to_stopped_data_address, to_can_async_p,
1670 to_is_async_p, to_async, to_xfer_partial>: Add TARGET_DEFAULT
1672 (forward_target_remove_breakpoint)
1673 (forward_target_insert_breakpoint): Remove.
1674 * record-btrace.c (record_btrace_remove_breakpoint): Delegate
1676 (record_btrace_insert_breakpoint): Delegate directly.
1678 2014-02-19 Tom Tromey <tromey@redhat.com>
1681 * target-delegates.c: New file.
1682 * target.c: Include target-delegates.c.
1683 (init_dummy_target): Call install_dummy_methods.
1684 (complete_target_initialization): Call install_delegators.
1685 * target.h (TARGET_DEFAULT_IGNORE, TARGET_DEFAULT_NORETURN)
1686 (TARGET_DEFAULT_RETURN, TARGET_DEFAULT_FUNC): New defines.
1687 * make-target-delegates: New file.
1689 2014-02-19 Tom Tromey <tromey@redhat.com>
1691 * record.c (find_record_target): Use find_target_at.
1692 * target.c (find_target_at): New function.
1693 * target.h (find_target_at): Declare.
1695 2014-02-19 Tom Tromey <tromey@redhat.com>
1697 * aarch64-linux-nat.c (aarch64_linux_stopped_by_watchpoint):
1699 * arm-linux-nat.c (arm_linux_stopped_by_watchpoint): Add
1701 * i386-nat.c (i386_stopped_by_watchpoint): Add 'ops' argument.
1702 * ia64-linux-nat.c (ia64_linux_stopped_by_watchpoint): Add
1704 * inf-ttrace.c (inf_ttrace_stopped_by_watchpoint): Add 'ops'
1706 * linux-nat.c (save_sigtrap): Update.
1707 (linux_nat_stopped_by_watchpoint, linux_nat_is_async_p)
1708 (linux_nat_can_async_p, linux_nat_async): Add 'ops' argument.
1709 (linux_nat_close): Update.
1710 * mips-linux-nat.c (mips_linux_stopped_by_watchpoint): Add 'ops'
1712 * ppc-linux-nat.c (ppc_linux_stopped_by_watchpoint): Add 'ops'
1714 * procfs.c (procfs_stopped_by_watchpoint): Add 'ops' argument.
1715 * record-full.c (record_full_beneath_to_stopped_by_watchpoint)
1716 (record_full_beneath_to_async, tmp_to_stopped_by_watchpoint)
1717 (tmp_to_async): Add 'ops' argument.
1718 (record_full_stopped_by_watchpoint, record_full_async)
1719 (record_full_can_async_p, record_full_is_async_p): Add 'ops'
1721 * remote-m32r-sdi.c (m32r_insert_breakpoint, m32r_remove_breakpoint)
1722 (m32r_stopped_by_watchpoint): Add 'ops' argument.
1723 * remote-mips.c (mips_stopped_by_watchpoint): Add 'ops' argument.
1724 * remote.c (remote_stopped_by_watchpoint_p, remote_can_async_p)
1725 (remote_is_async_p, remote_async): Add 'ops' argument.
1726 (remote_stopped_data_address): Update.
1727 * s390-nat.c (s390_stopped_by_watchpoint): Add 'ops' argument.
1728 * target.c (update_current_target)
1729 (find_default_can_async_p, find_default_is_async_p): Update.
1730 (init_dummy_target): Update.
1731 (debug_to_stopped_by_watchpoint): Add 'ops' argument.
1732 * target.h (struct target_ops) <to_stopped_by_watchpoint,
1733 to_can_async_p, to_is_async_p, to_async>: Add 'ops' argument.
1734 (target_can_async_p, target_is_async_p, target_async)
1735 (target_stopped_by_watchpoint): Update.
1737 2014-02-19 Yao Qi <yao@codesourcery.com>
1740 * gdbarch.sh: Remove startup_gdbarch.
1741 * gdbarch.c: Regenerated.
1742 * gdbarch.h: Likewise.
1744 2014-02-17 Kevin Buettner <kevinb@redhat.com>
1746 * rl78-tdep.c (rl78_g10_register_name): New function.
1747 (rl78_return_value): Add g10 support.
1748 (rl78_gdbarch_init): Register rl78_g10_register_name for the
1751 2014-02-17 Doug Evans <xdje42@gmail.com>
1753 * Makefile.in (SUBDIR_GUILE_OBS): Resort alphabetically.
1754 (SUBDIR_GUILE_SRCS): Ditto.
1755 (scm-gsmob.o): Ditto.
1757 2014-02-17 Yao Qi <yao@codesourcery.com>
1759 * gnu-nat.c (ILL_RPC): Declare defined function.
1761 2014-02-17 Yao Qi <yao@codesourcery.com>
1763 * gnu-nat.c (gnu_read_inferior): Change 'copy_count' type to
1764 mach_msg_type_number_t.
1765 (gnu_write_inferior): Likewise.
1767 2014-02-17 Yao Qi <yao@codesourcery.com>
1769 * gnu-nat.c (proc_get_exception_port): Use 'lu' insetad of 'd'
1771 (proc_steal_exc_port, make_proc, inf_set_pid): Likewise.
1772 (inf_validate_procs, inf_signal): Likewise.
1773 (S_exception_raise_request): Likewise.
1774 (do_mach_notify_dead_name): Likewise.
1775 (steal_exc_port): Likewise.
1776 (gnu_read_inferior): Change 'copy_count''s type to
1777 mach_msg_type_number_t.
1778 (gnu_write_inferior): Likewise. Use 'lx' instead of 'x' in
1781 2014-02-16 Thomas Schwinge <thomas@codesourcery.com>
1783 * gnu-nat.c (struct inf): Change pending_execs member to a 1-bit
1784 flag. Adjust all users; in particular...
1785 (gnu_wait): ..., don't decrement its value in here...
1786 (gnu_create_inferior): ..., and instead set the flag in here,
1787 around the startup_inferior call, and call that one with
1788 START_INFERIOR_TRAPS_EXPECTED.
1790 * gnu-nat.c (ill_rpc): Remove function; replaced with this...
1791 (ILL_RPC): ... new macro.
1792 (do_mach_notify_no_senders, do_mach_notify_port_deleted)
1793 (do_mach_notify_msg_accepted, do_mach_notify_port_destroyed)
1794 (do_mach_notify_send_once, S_proc_setmsgport_reply)
1795 (S_proc_getmsgport_reply, S_msg_sig_post_reply): Generate stub
1796 functions with ILL_RPC macro.
1797 (S_proc_pid2task_reply, S_proc_task2pid_reply)
1798 (S_proc_task2proc_reply, S_proc_proc2task_reply)
1799 (S_proc_pid2proc_reply, S_proc_getprocinfo_reply)
1800 (S_proc_getprocargs_reply, S_proc_getprocenv_reply)
1801 (S_proc_getloginid_reply, S_proc_getloginpids_reply)
1802 (S_proc_getlogin_reply, S_proc_getsid_reply)
1803 (S_proc_getsessionpgids_reply, S_proc_getsessionpids_reply)
1804 (S_proc_getsidport_reply, S_proc_getpgrp_reply)
1805 (S_proc_getpgrppids_reply, S_proc_get_tty_reply)
1806 (S_proc_getnports_reply, S_proc_is_important_reply)
1807 (S_proc_get_code_reply): New stub functions, generated with
1810 * reply_mig_hack.awk: In phase 5, keep going if we have not yet
1811 collected the type check structures.
1813 * reply_mig_hack.awk: Don't expect to see the auto keyword.
1815 2014-02-14 Doug Evans <dje@google.com>
1817 * target.c (target_write_partial): Fix result type.
1819 2014-02-14 Jose E. Marchesi <jose.marchesi@oracle.com>
1821 * sparc64-linux-nat.c (_initialize_sparc64_linux_nat): Register
1822 the proper offsets to access fpregset_t.
1824 2014-02-13 Sanimir Agovic <sanimir.agovic@intel.com>
1826 * cris-tdep.c (cris_supply_gregset): Remove zerobuf.
1827 (_initialize_cris_tdep): Remove cris_set_cmdlist, cris_show_cmdlist.
1828 * h8300-tdep.c (setmachinelist): Remove global.
1829 * hppa-tdep.c (hppa_sigtramp): Remove global.
1830 * mipsnbsd-tdep.c (sigtramp_retcode_mipsel, sigtramp_retcode_mipseb
1831 RETCODE_NWORDS, RETCODE_SIZE): Wrap code with #if 0.
1832 * ravenscar-thread.c (update_target_observer): Remove global.
1833 * rs6000-tdep.c (rs6000_gdbarch_init): Remove segment_regs.
1835 2014-02-12 Tom Tromey <tromey@redhat.com>
1837 * common/rsp-low.c: Update comments.
1838 * common/rsp-low.h: Update comments.
1840 2014-02-12 Tom Tromey <tromey@redhat.com>
1842 * common/rsp-low.c (convert_ascii_to_int): Remove.
1843 * common/rsp-low.h (convert_ascii_to_int): Don't declare.
1845 2014-02-12 Tom Tromey <tromey@redhat.com>
1847 * common/rsp-low.h (unhexify): Don't declare.
1848 * common/rsp-low.c (unhexify): Remove.
1850 2014-02-12 Tom Tromey <tromey@redhat.com>
1852 * common/rsp-low.h (convert_int_to_ascii): Don't declare.
1853 * common/rsp-low.c (convert_int_to_ascii): Remove.
1855 2014-02-12 Tom Tromey <tromey@redhat.com>
1857 * common/rsp-low.h (hexify): Don't declare.
1858 * common/rsp-low.c (hexify): Remove.
1860 2014-02-12 Tom Tromey <tromey@redhat.com>
1862 * common/rsp-low.c (hexify): Never take strlen of argument.
1864 2014-02-12 Tom Tromey <tromey@redhat.com>
1866 * common/rsp-low.c (bin2hex): Never take strlen of argument.
1867 * remote.c (extended_remote_run, remote_rcmd)
1868 (remote_download_trace_state_variable, remote_save_trace_data)
1869 (remote_set_trace_notes): Update.
1870 * tracepoint.c (encode_source_string, tfile_write_status)
1871 (tfile_write_uploaded_tsv): Update.
1873 2014-02-12 Tom Tromey <tromey@redhat.com>
1875 * tracepoint.c: Include rsp-low.h.
1876 * remote.h (hex2bin, bin2hex, unpack_varlen_hex): Don't declare.
1877 * remote.c: Include rsp-low.h.
1878 (hexchars, ishex, unpack_varlen_hex, pack_nibble, pack_hex_byte)
1879 (fromhex, hex2bin, tohex, bin2hex, remote_escape_output)
1880 (remote_unescape_input): Move to common/rsp-low.c.
1881 * common/rsp-low.h: New file.
1882 * common/rsp-low.c: New file.
1883 * Makefile.in (SFILES): Add common/rsp-low.c.
1884 (HFILES_NO_SRCDIR): Add common/rsp-low.h.
1885 (COMMON_OBS): Add rsp-low.o.
1886 (rsp-low.o): New target.
1888 2014-02-12 Tom Tromey <tromey@redhat.com>
1890 * utils.h: Include print-utils.h.
1891 (host_address_to_string, plongest, pulongest, phex, phex_nz)
1892 (int_string, core_addr_to_string, core_addr_to_string_nz)
1893 (hex_string, hex_string_custom): Don't declare.
1894 * utils.c (NUMCELLS, CELLSIZE, get_cell, decimal2str, pulongest)
1895 (plongest, thirty_two, phex, phex_nz, octal2str, hex_string)
1896 (hex_string_custom, int_string, core_addr_to_string)
1897 (core_addr_to_string_nz, host_address_to_string): Move to
1898 common/print-utils.c.
1899 * common/print-utils.h: New file.
1900 * common/print-utils.c: New file
1901 * Makefile.in (SFILES): Add common/print-utils.c.
1902 (HFILES_NO_SRCDIR): Add common/print-utils.h.
1903 (COMMON_OBS): Add print-utils.o.
1904 (print-utils.o): New target.
1906 2014-02-12 Tom Tromey <tromey@redhat.com>
1908 * nios2-tdep.c (nios2_stub_frame_base_address): Remove.
1910 2014-02-12 Mark Kettenis <kettenis@gnu.org>
1912 * sparc64obsd-tdep.c (sparc64obsd_init_abi): Call obsd_init_abi.
1914 2014-02-12 Mark Kettenis <kettenis@gnu.org>
1916 * inf-ptrace.c (inf_ptrace_xfer_partial): Return TARGET_XFER_EOF
1917 if a PT_IO ptrace request returns sucessfully but indicates that 0
1918 bytes were transferred.
1920 2014-02-12 Pedro Alves <palves@redhat.com>
1921 Kevin Buettner <kevinb@redhat.com>
1923 * gnu-v3-abi.c (build_gdb_vtable_type): Return a type marked with
1924 TYPE_INSTANCE_FLAG_CODE_SPACE.
1926 2014-02-12 Pedro Alves <palves@redhat.com>
1928 * h8300-tdep.c (pseudo_from_raw_register)
1929 (raw_from_pseudo_register): New functions.
1930 (h8300_pseudo_register_read, h8300_pseudo_register_write): Use
1933 2014-02-12 Pedro Alves <palves@redhat.com>
1935 * h8300-tdep.c (h8300_register_sim_regno): New function.
1936 (h8300_gdbarch_init): Install h8300_register_sim_regno as
1937 gdbarch_register_sim_regno hook.
1939 2014-02-12 Sanimir Agovic <sanimir.agovic@intel.com>
1941 * nios2-tdep.c (nios2_stub_frame_base): Remove global.
1943 2014-02-12 Sanimir Agovic <sanimir.agovic@intel.com>
1945 * tic6x-tdep.c (tic6x_gdbarch_init): Call frame_base_set_default.
1947 2014-02-12 Mark Kettenis <kettenis@gnu.org>
1949 * obsd-tdep.h (obsd_init_abi): New prototype.
1950 * obsd-tdep.c: Define enum with OpenBSD signal numbers.
1951 (obsd_gdb_signal_from_target, obsd_gdb_signal_to_target)
1952 (obsd_init_abi): New functions.
1953 * i386obsd-tdep.c: Include "obsd-tdep.h".
1954 (i386obsd_init_abi): Call obsd_init_abi.
1955 * amd64obsd-tdep.c: Include "obsd-tdep.h".
1956 (amd64obsd_init_abi): Call obsd_init_abi.
1957 * configure.tgt (i[34567]86-*-openbsd*, x86_64-*-openbsd*): Add
1958 obsd-tdep.c to gdb_target_obs.
1960 2014-02-11 Jose E. Marchesi <jose.marchesi@oracle.com>
1962 * sparc64-tdep.c (sparc64_store_arguments): Do not align complex
1963 double float arguments to 16-byte in the argument slots.
1965 2014-02-11 Doug Evans <xdje42@gmail.com>
1967 * configure.ac: Don't crash if pkg-config is not found and guile
1968 wasn't explicitly requested. Use AC_MSG_ERROR instead of AC_ERROR
1970 * configure: Regenerate.
1972 2014-02-11 Yao Qi <yao@codesourcery.com>
1974 * aix-thread.c (aix_thread_xfer_partial): Update comments.
1975 * auxv.c (procfs_xfer_auxv, memory_xfer_auxv): Likewise.
1976 * bsd-uthread.c (bsd_uthread_xfer_partial): Likewise.
1977 * gnu-nat.c (gnu_xfer_memory): Likewise.
1978 * inf-ptrace.c (inf_ptrace_xfer_partial): Likewise.
1979 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
1980 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
1981 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise.
1983 2014-02-11 Yao Qi <yao@codesourcery.com>
1985 * target.h (enum target_xfer_error): Rename to ...
1986 (enum target_xfer_status): ... it. New. All users updated.
1987 (enum target_xfer_status) <TARGET_XFER_OK>, <TARGET_XFER_EOF>:
1989 (TARGET_XFER_STATUS_ERROR_P): New macro.
1990 (target_xfer_error_to_string): Remove declaration.
1991 (target_xfer_status_to_string): Declare.
1992 (target_xfer_partial_ftype): Adjust it.
1993 (struct target_ops) <to_xfer_partial>: Return
1994 target_xfer_status. Add argument xfered_len. Update
1996 * target.c (target_xfer_error_to_string): Rename to ...
1997 (target_xfer_status_to_string): ... it. New. All callers
1999 (target_read_live_memory): Likewise. Call target_xfer_partial
2000 instead of target_read.
2001 (memory_xfer_live_readonly_partial): Return
2002 target_xfer_status. Add argument xfered_len.
2003 (raw_memory_xfer_partial): Likewise.
2004 (memory_xfer_partial_1): Likewise.
2005 (memory_xfer_partial): Likewise.
2006 (target_xfer_partial): Likewise. Check *XFERED_LEN is set
2007 properly. Update debug message.
2008 (default_xfer_partial, current_xfer_partial): Likewise.
2009 (target_write_partial): Likewise.
2010 (target_read_partial): Likewise. All callers updated.
2011 (read_whatever_is_readable): Likewise.
2012 (target_write_with_progress): Likewise.
2013 (target_read_alloc_1): Likewise.
2015 * aix-thread.c (aix_thread_xfer_partial): Likewise.
2016 * auxv.c (procfs_xfer_auxv): Likewise.
2017 (ld_so_xfer_auxv, memory_xfer_auxv): Likewise.
2018 * bfd-target.c (target_bfd_xfer_partial): Likewise.
2019 * bsd-kvm.c (bsd_kvm_xfer_partial): Likewise.
2020 * bsd-uthread.c (bsd_uthread_xfer_partia): Likewise.
2021 * corefile.c (read_memory): Adjust.
2022 * corelow.c (core_xfer_partial): Likewise.
2023 * ctf.c (ctf_xfer_partial): Likewise.
2024 * darwin-nat.c (darwin_read_dyld_info): Likewise. All callers
2026 (darwin_xfer_partial): Likewise.
2027 * exec.c (section_table_xfer_memory_partial): Likewise. All
2029 (exec_xfer_partial): Likewise.
2030 * exec.h (section_table_xfer_memory_partial): Update
2032 * gnu-nat.c (gnu_xfer_memory): Likewise. Assert 'res' is not
2034 (gnu_xfer_partial): Likewise.
2035 * ia64-hpux-nat.c (ia64_hpux_xfer_memory_no_bs): Likewise.
2036 (ia64_hpux_xfer_memory, ia64_hpux_xfer_uregs): Likewise.
2037 (ia64_hpux_xfer_solib_got): Likewise.
2038 * inf-ptrace.c (inf_ptrace_xfer_partial): Likewise. Change
2039 type of 'partial_len' to ULONGEST.
2040 * inf-ttrace.c (inf_ttrace_xfer_partial): Likewise.
2041 * linux-nat.c (linux_xfer_siginfo ): Likewise.
2042 (linux_nat_xfer_partial): Likewise.
2043 (linux_proc_xfer_partial, linux_xfer_partial): Likewise.
2044 (linux_proc_xfer_spu, linux_nat_xfer_osdata): Likewise.
2045 * monitor.c (monitor_xfer_memory): Likewise.
2046 (monitor_xfer_partial): Likewise.
2047 * procfs.c (procfs_xfer_partial): Likewise.
2048 * record-btrace.c (record_btrace_xfer_partial): Likewise.
2049 * record-full.c (record_full_xfer_partial): Likewise.
2050 (record_full_core_xfer_partial): Likewise.
2051 * remote-sim.c (gdbsim_xfer_memory): Likewise.
2052 (gdbsim_xfer_partial): Likewise.
2053 * remote.c (remote_write_bytes_aux): Likewise. All callers
2055 (remote_write_bytes, remote_read_bytes): Likewise. All
2057 (remote_flash_erase): Likewise. All callers updated.
2058 (remote_write_qxfer): Likewise. All callers updated.
2059 (remote_read_qxfer): Likewise. All callers updated.
2060 (remote_xfer_partial): Likewise.
2061 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
2062 (rs6000_xfer_shared_libraries): Likewise.
2063 * sol-thread.c (sol_thread_xfer_partial): Likewise.
2064 (sol_thread_xfer_partial): Likewise.
2065 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
2066 (sparc_xfer_partial): Likewise.
2067 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise. All callers
2069 (spu_xfer_partial): Likewise.
2070 * spu-multiarch.c (spu_xfer_partial): Likewise.
2071 * tracepoint.c (tfile_xfer_partial): Likewise.
2072 * windows-nat.c (windows_xfer_memory): Likewise.
2073 (windows_xfer_shared_libraries): Likewise.
2074 (windows_xfer_partial): Likewise.
2075 * valprint.c: Replace 'target_xfer_error' with
2076 'target_xfer_status' in comments.
2078 2014-02-11 Simon Marchi <simon.marchi@ericsson.com> (tiny patch)
2080 Checked in by Joel Brobecker <brobecker@adacore.com>.
2081 * mi/mi-main.c (mi_cmd_data_write_memory_bytes): Fix comment.
2083 2014-02-11 Joel Brobecker <brobecker@adacore.com>
2085 * symfile-debug.c (debug_qf_expand_symtabs_matching): Reformat
2086 function parameters.
2088 2014-02-10 Will Newton <will.newton@linaro.org>
2090 * elfread.c (elf_rel_plt_read): Look for a .got section if
2091 looking up .got.plt fails.
2092 (elf_gnu_ifunc_resolve_by_got): Call gdbarch_addr_bits_remove
2093 on address passed to elf_gnu_ifunc_record_cache.
2094 (elf_gnu_ifunc_resolve_addr): Likewise.
2095 (elf_gnu_ifunc_resolver_return_stop): Likewise.
2097 2014-02-10 Jose E. Marchesi <jose.marchesi@oracle.com>
2099 * sparc-tdep.c (sparc_in_function_epilogue_p): New function.
2100 (X_RETTURN): New macro.
2101 * sparc-tdep.h: sparc_in_function_epilogue_p prototype.
2103 * sparc64-tdep.c (sparc64_init_abi): Hook
2104 sparc_in_function_epilogue_p.
2106 2014-02-10 Gary Benson <gbenson@redhat.com>
2108 * symfile-debug.c (debug_qf_expand_symtabs_matching):
2109 Rename name_matcher to symbol_matcher.
2111 2014-02-10 Gary Benson <gbenson@redhat.com>
2113 * symfile-debug.c (debug_qf_expand_symtabs_matching):
2114 Use expand_symtabs_file_matcher_ftype and
2115 expand_symtabs_symbol_matcher_ftype.
2117 2014-02-10 Joel Brobecker <brobecker@adacore.com>
2119 * ada-lang.c (struct cache_entry, HASH_SIZE): Move definition up.
2120 (struct ada_symbol_cache): New.
2121 (ada_free_symbol_cache): Forward declare.
2122 (struct ada_pspace_data): New.
2123 (ada_pspace_data_handle): New static global.
2124 (get_ada_pspace_data, ada_pspace_data_cleanup)
2125 (ada_init_symbol_cache, ada_free_symbol_cache): New functions.
2126 (cache_space, cache): Delete, now folded inside struct
2128 (ada_get_symbol_cache): New function.
2129 (ada_clear_symbol_cache, find_entry, cache_symbol): Adjust
2131 (_initialize_ada_language): Remove initialization of cache_space.
2132 Move call to observer_attach_inferior_exit up, grouping it
2133 with the other observer registrations inside this function.
2134 Rename command to be more general. Add call to
2135 register_program_space_data_with_cleanup.
2137 2014-02-10 Joel Brobecker <brobecker@adacore.com>
2139 * ada-tasks.c (ada_tasks_new_objfile_observer): Renames
2140 ada_new_objfile_observer.
2141 (ada_tasks_normal_stop_observer): Renames ada_normal_stop_observer.
2142 (_initialize_tasks): Update uses of ada_new_objfile_observer
2143 and ada_tasks_normal_stop_observer.
2145 2014-02-10 Joel Brobecker <brobecker@adacore.com>
2147 * ada-lang.c (ada_evaluate_subexp): Set the type of the value
2148 returned by the 'Length attribute to integer.
2150 2014-02-10 Joel Brobecker <brobecker@adacore.com>
2152 * ada-lang.c (_initialize_ada_language): Initialize
2153 cache_space obstack.
2155 2014-02-10 Joel Brobecker <brobecker@adacore.com>
2157 * ada-lang.c (HASH_SIZE): New macro.
2158 (struct cache_entry): New type.
2159 (cache_space, cache): New static globals.
2160 (ada_clear_symbol_cache, find_entry): New functions.
2161 (lookup_cached_symbol, cache_symbol): Implement.
2162 (ada_new_objfile_observer, ada_free_objfile_observer): New.
2163 (_initialize_ada_language): Attach ada_new_objfile_observer
2164 and ada_free_objfile_observer.
2166 2014-02-10 Joel Brobecker <brobecker@adacore.com>
2168 * ada-lang.c (ada_add_block_symbols, add_defn_to_vec)
2169 (lookup_cached_symbol, ada_add_local_symbols): Add "const" to
2170 struct block * parameter.
2171 (ada_lookup_symbol_list_worker): Constify local variable "block".
2172 Remove cast which is no longer necessary.
2174 2014-02-10 Doug Evans <xdje42@gmail.com>
2176 Add Guile as an extension language.
2177 * NEWS: Mention Guile scripting.
2178 * Makefile.in (SUBDIR_GUILE_OBS): New variable.
2179 (SUBDIR_GUILE_SRCS, SUBDIR_GUILE_DEPS): New variables
2180 (SUBDIR_GUILE_LDFLAGS, SUBDIR_GUILE_CFLAGS): New variables.
2181 (INTERNAL_CPPFLAGS): Add GUILE_CPPFLAGS.
2182 (CLIBS): Add GUILE_LIBS.
2183 (install-guile): New rule.
2184 (guile.o): New rule.
2185 (scm-arch.o, scm-auto-load.o, scm-block.o): New rules.
2186 (scm-breakpoint.o, scm-disasm.o, scm-exception.o): New rules.
2187 (scm-frame.o, scm-iterator.o, scm-lazy-string.o): New rules.
2188 (scm-math.o, scm-objfile.o, scm-ports.o): New rules.
2189 (scm-pretty-print.o, scm-safe-call.o, scm-gsmob.o): New rules.
2190 (scm-string.o, scm-symbol.o, scm-symtab.o): New rules.
2191 (scm-type.o, scm-utils.o, scm-value.o): New rules.
2192 * configure.ac: New option --with-guile.
2193 * configure: Regenerate.
2194 * config.in: Regenerate.
2195 * auto-load.c: Remove #include "python/python.h". Add #include
2196 "gdb/section-scripts.h".
2197 (source_section_scripts): Handle Guile scripts.
2198 (_initialize_auto_load): Add name of Guile objfile script to
2199 scripts-directory help text.
2200 * breakpoint.c (condition_command): Tweak comment to include Scheme.
2201 * breakpoint.h (gdbscm_breakpoint_object): Add forward decl.
2202 (struct breakpoint): New member scm_bp_object.
2203 * defs.h (enum command_control_type): New value guile_control.
2204 * cli/cli-cmds.c: Remove #include "python/python.h". Add #include
2206 (show_user): Update comment.
2207 (_initialize_cli_cmds): Update help text for "show user". Update help
2208 text for max-user-call-depth.
2209 * cli/cli-script.c: Remove #include "python/python.h". Add #include
2211 (multi_line_command_p): Add guile_control.
2212 (print_command_lines): Handle guile_control.
2213 (execute_control_command, recurse_read_control_structure): Ditto.
2214 (process_next_line): Recognize "guile" commands.
2215 * disasm.c (gdb_disassemble_info): Make non-static.
2216 * disasm.h: #include "dis-asm.h".
2217 (struct gdbarch): Add forward decl.
2218 (gdb_disassemble_info): Declare.
2219 * extension.c: #include "guile/guile.h".
2220 (extension_languages): Add guile.
2221 (get_ext_lang_defn): Handle EXT_LANG_GDB.
2222 * extension.h (enum extension_language): New value EXT_LANG_GUILE.
2223 * gdbtypes.c (get_unsigned_type_max): New function.
2224 (get_signed_type_minmax): New function.
2225 * gdbtypes.h (get_unsigned_type_max): Declare.
2226 (get_signed_type_minmax): Declare.
2227 * guile/README: New file.
2228 * guile/guile-internal.h: New file.
2229 * guile/guile.c: New file.
2230 * guile/guile.h: New file.
2231 * guile/scm-arch.c: New file.
2232 * guile/scm-auto-load.c: New file.
2233 * guile/scm-block.c: New file.
2234 * guile/scm-breakpoint.c: New file.
2235 * guile/scm-disasm.c: New file.
2236 * guile/scm-exception.c: New file.
2237 * guile/scm-frame.c: New file.
2238 * guile/scm-gsmob.c: New file.
2239 * guile/scm-iterator.c: New file.
2240 * guile/scm-lazy-string.c: New file.
2241 * guile/scm-math.c: New file.
2242 * guile/scm-objfile.c: New file.
2243 * guile/scm-ports.c: New file.
2244 * guile/scm-pretty-print.c: New file.
2245 * guile/scm-safe-call.c: New file.
2246 * guile/scm-string.c: New file.
2247 * guile/scm-symbol.c: New file.
2248 * guile/scm-symtab.c: New file.
2249 * guile/scm-type.c: New file.
2250 * guile/scm-utils.c: New file.
2251 * guile/scm-value.c: New file.
2252 * guile/lib/gdb.scm: New file.
2253 * guile/lib/gdb/boot.scm: New file.
2254 * guile/lib/gdb/experimental.scm: New file.
2255 * guile/lib/gdb/init.scm: New file.
2256 * guile/lib/gdb/iterator.scm: New file.
2257 * guile/lib/gdb/printing.scm: New file.
2258 * guile/lib/gdb/types.scm: New file.
2259 * data-directory/Makefile.in (GUILE_SRCDIR): New variable.
2260 (VPATH): Add $(GUILE_SRCDIR).
2261 (GUILE_DIR): New variable.
2262 (GUILE_INSTALL_DIR, GUILE_FILES): New variables.
2263 (all): Add stamp-guile dependency.
2264 (stamp-guile): New rule.
2265 (clean-guile, install-guile, uninstall-guile): New rules.
2266 (install-only): Add install-guile dependency.
2267 (uninstall): Add uninstall-guile dependency.
2268 (clean): Add clean-guile dependency.
2270 2014-02-09 Doug Evans <xdje42@gmail.com>
2272 Revert this patch (which I approved, mea culpa).
2274 2014-02-08 Mark Kettenis <kettenis@gnu.org>
2276 * Makefile.in (all-lib): Remove.
2277 ($(LIBGNU) $(GNULIB_H)): Replace with gits of remove all-lib target.
2279 2014-02-09 Jan Kratochvil <jan.kratochvil@redhat.com>
2281 Fix Python stack corruption.
2282 * python/py-linetable.c (ltpy_get_pcs_for_line, ltpy_has_line): Use
2285 2014-02-08 Mark Kettenis <kettenis@gnu.org>
2287 * Makefile.in (all-lib): Remove.
2288 ($(LIBGNU) $(GNULIB_H)): Replace with gits of remove all-lib target.
2290 2014-02-07 Doug Evans <dje@google.com>
2292 * extension-priv.h (extension_language_script_ops): Add comment.
2293 (extension_language_ops): Add comment.
2294 (active_ext_lang_state): Fix typo in comment.
2296 2014-02-07 Pedro Alves <palves@redhat.com>
2298 * infrun.c (handle_signal_stop) <signal arrives while stepping
2299 over a breakpoint>: Switch back to the stepping thread.
2301 2014-02-07 Yao Qi <yao@codesourcery.com>
2303 * target.c (target_xfer_partial): Return zero if LEN is zero.
2305 2014-02-07 Yao Qi <yao@codesourcery.com>
2307 * auxv.c (procfs_xfer_auxv): Replace -1 with TARGET_XFER_E_IO.
2308 (ld_so_xfer_auxv): Likewise.
2309 * bfd-target.c (target_bfd_xfer_partial): Likewise.
2310 * bsd-kvm.c (bsd_kvm_xfer_partial): Likewise.
2311 * corelow.c (core_xfer_partial): Likewise.
2312 * ctf.c (ctf_xfer_partial): Likewise.
2313 * darwin-nat.c (darwin_read_dyld_info): Likewise.
2314 (darwin_xfer_partial): Likewise.
2315 * exec.c (exec_xfer_partial): Likewise.
2316 * gnu-nat.c (gnu_xfer_partial): Likewise.
2317 * ia64-hpux-nat.c (ia64_hpux_xfer_uregs): Likewise.
2318 * inf-ptrace.c (inf_ptrace_xfer_partial): Likewise.
2319 * inf-ttrace.c (inf_ttrace_xfer_partial): Likewise.
2320 * linux-nat.c (linux_xfer_siginfo): Likewise.
2321 (linux_proc_xfer_spu): Likewise.
2322 * procfs.c (procfs_xfer_partial): Likewise.
2323 * record-full.c (record_full_xfer_partial): Likewise.
2324 (record_full_core_xfer_partial): Likewise.
2325 * remote-sim.c (gdbsim_xfer_partial): Likewise.
2326 * remote.c (remote_write_qxfer): Likewise.
2327 (remote_write_qxfer, remote_read_qxfer): Likewise.
2328 (remote_xfer_partial): Likewise.
2329 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
2330 (rs6000_xfer_shared_libraries): Likewise.
2331 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
2332 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise.
2333 (spu_xfer_partial): Likewise.
2334 * target.c (memory_xfer_partial_1): Likewise.
2335 * tracepoint.c (tfile_xfer_partial): Likewise.
2336 * windows-nat.c (windows_xfer_shared_libraries): Likewise.
2337 (windows_xfer_partial): Likewise.
2339 2014-02-07 Yao Qi <yao@codesourcery.com>
2341 * gdbarch.sh (core_xfer_shared_libraries): Returns ULONGEST. Add
2343 (core_xfer_shared_libraries_aix): Likewise.
2344 * gdbarch.c, gdbarch.h: Regenerated.
2345 * i386-cygwin-tdep.c (windows_core_xfer_shared_libraries): Return
2346 ULONGEST. Change 'len_avail' type to ULONGEST.
2347 * rs6000-aix-tdep.c (rs6000_aix_ld_info_to_xml): Likewise.
2348 * rs6000-aix-tdep.h (rs6000_aix_ld_info_to_xml): Update
2350 (rs6000_aix_core_xfer_shared_libraries_aix): Return ULONGEST.
2352 2014-02-07 Yao Qi <yao@codesourcery.com>
2354 * corefile.c (memory_error): Get 'exception' from ERR and pass
2355 'exception' to throw_error.
2357 2014-02-06 Doug Evans <xdje42@gmail.com>
2359 * configure.ac (libpython checking): Remove all but python.o from
2360 CONFIG_OBS. Remove all but python.c from CONFIG_SRCS.
2361 * configure: Regenerate.
2363 * Makefile.in (SFILES): Add extension.c.
2364 (HFILES_NO_SRCDIR): Add extension.h, extension-priv.h
2365 (COMMON_OBS): Add extension.o.
2366 * extension.h: New file.
2367 * extension-priv.h: New file.
2368 * extension.c: New file.
2370 * python/python-internal.h: #include "extension.h".
2371 (gdbpy_auto_load_enabled): Declare.
2372 (gdbpy_apply_val_pretty_printer): Declare.
2373 (gdbpy_apply_frame_filter): Declare.
2374 (gdbpy_preserve_values): Declare.
2375 (gdbpy_breakpoint_cond_says_stop): Declare.
2376 (gdbpy_breakpoint_has_cond): Declare.
2377 (void source_python_script_for_objfile): Delete.
2378 * python/python.c: #include "extension-priv.h".
2379 Delete inclusion of "observer.h".
2380 (extension_language_python): Moved here and renamed from
2381 script_language_python in py-auto-load.c.
2382 Redefined to be of type extension_language_defn.
2383 (python_extension_script_ops): New global.
2384 (python_extension_ops): New global.
2385 (struct python_env): New member previous_active.
2386 (restore_python_env): Call restore_active_ext_lang.
2387 (ensure_python_env): Call set_active_ext_lang.
2388 (gdbpy_clear_quit_flag): Renamed from clear_quit_flag, made static.
2390 (gdbpy_set_quit_flag): Renamed from set_quit_flag, made static.
2392 (gdbpy_check_quit_flag): Renamed from check_quit_flag, made static.
2394 (gdbpy_eval_from_control_command): Renamed from
2395 eval_python_from_control_command, made static. New arg extlang.
2396 (gdbpy_source_script) Renamed from source_python_script, made static.
2398 (gdbpy_before_prompt_hook): Renamed from before_prompt_hook. Change
2399 result to int. New arg extlang.
2400 (gdbpy_source_objfile_script): Renamed from
2401 source_python_script_for_objfile, made static. New arg extlang.
2402 (gdbpy_start_type_printers): Renamed from start_type_printers, made
2403 static. New args extlang, extlang_printers. Change result type to
2405 (gdbpy_apply_type_printers): Renamed from apply_type_printers, made
2406 static. New arg extlang. Rename arg printers to extlang_printers
2407 and change type to ext_lang_type_printers *.
2408 (gdbpy_free_type_printers): Renamed from free_type_printers, made
2409 static. Replace argument arg with extlang, extlang_printers.
2410 (!HAVE_PYTHON, eval_python_from_control_command): Delete.
2411 (!HAVE_PYTHON, source_python_script): Delete.
2412 (!HAVE_PYTHON, gdbpy_should_stop): Delete.
2413 (!HAVE_PYTHON, gdbpy_breakpoint_has_py_cond): Delete.
2414 (!HAVE_PYTHON, start_type_printers): Delete.
2415 (!HAVE_PYTHON, apply_type_printers): Delete.
2416 (!HAVE_PYTHON, free_type_printers): Delete.
2417 (_initialize_python): Delete call to observer_attach_before_prompt.
2418 (finalize_python): Set/restore active extension language.
2419 (gdbpy_finish_initialization) Renamed from
2420 finish_python_initialization, made static. New arg extlang.
2421 (gdbpy_initialized): New function.
2422 * python/python.h: #include "extension.h". Delete #include
2423 "value.h", "mi/mi-cmds.h".
2424 (extension_language_python): Declare.
2425 (GDBPY_AUTO_FILE_NAME): Delete.
2426 (enum py_bt_status): Moved to extension.h and renamed to
2428 (enum frame_filter_flags): Moved to extension.h.
2429 (enum py_frame_args): Moved to extension.h and renamed to
2430 ext_lang_frame_args.
2431 (finish_python_initialization): Delete.
2432 (eval_python_from_control_command): Delete.
2433 (source_python_script): Delete.
2434 (apply_val_pretty_printer): Delete.
2435 (apply_frame_filter): Delete.
2436 (preserve_python_values): Delete.
2437 (gdbpy_script_language_defn): Delete.
2438 (gdbpy_should_stop, gdbpy_breakpoint_has_py_cond): Delete.
2439 (start_type_printers, apply_type_printers, free_type_printers): Delete.
2441 * auto-load.c: #include "extension.h".
2442 (GDB_AUTO_FILE_NAME): Delete.
2443 (auto_load_gdb_scripts_enabled): Make public. New arg extlang.
2444 (script_language_gdb): Delete, moved to extension.c and renamed to
2445 extension_language_gdb.
2446 (source_gdb_script_for_objfile): Delete.
2447 (auto_load_pspace_info): New member unsupported_script_warning_printed.
2448 (loaded_script): Change type of language member to
2449 struct extension_language_defn *.
2450 (init_loaded_scripts_info): Initialize
2451 unsupported_script_warning_printed.
2452 (maybe_add_script): Make static. Change type of language arg to
2453 struct extension_language_defn *.
2454 (clear_section_scripts): Reset unsupported_script_warning_printed.
2455 (auto_load_objfile_script_1): Rewrite to use extension language API.
2456 (auto_load_objfile_script): Make public. Remove support-compiled-in
2457 and auto-load-enabled checks, moved to auto_load_scripts_for_objfile.
2458 (source_section_scripts): Rewrite to use extension language API.
2459 (load_auto_scripts_for_objfile): Rewrite to use
2460 auto_load_scripts_for_objfile.
2461 (collect_matching_scripts_data): Change type of language member to
2462 struct extension_language_defn *.
2463 (auto_load_info_scripts): Change type of language arg to
2464 struct extension_language_defn *.
2465 (unsupported_script_warning_print): New function.
2466 (script_not_found_warning_print): Make static.
2467 (_initialize_auto_load): Rewrite construction of scripts-directory
2469 * auto-load.h (struct objfile): Add forward decl.
2470 (struct script_language): Delete.
2471 (struct auto_load_pspace_info): Add forward decl.
2472 (struct extension_language_defn): Add forward decl.
2473 (maybe_add_script): Delete.
2474 (auto_load_objfile_script): Declare.
2475 (script_not_found_warning_print): Delete.
2476 (auto_load_info_scripts): Update prototype.
2477 (auto_load_gdb_scripts_enabled): Declare.
2478 * python/py-auto-load.c (gdbpy_auto_load_enabled): Renamed from
2479 auto_load_python_scripts_enabled and made public.
2480 (script_language_python): Delete, moved to python.c.
2481 (gdbpy_script_language_defn): Delete.
2482 (info_auto_load_python_scripts): Update to use
2483 extension_language_python.
2485 * breakpoint.c (condition_command): Replace call to
2486 gdbpy_breakpoint_has_py_cond with call to get_breakpoint_cond_ext_lang.
2487 (bpstat_check_breakpoint_conditions): Replace call to gdbpy_should_stop
2488 with call to breakpoint_ext_lang_cond_says_stop.
2489 * python/py-breakpoint.c (gdbpy_breakpoint_cond_says_stop): Renamed
2490 from gdbpy_should_stop. Change result type to enum scr_bp_stop.
2491 New arg slang. Return SCR_BP_STOP_UNSET if py_bp_object is NULL.
2492 (gdbpy_breakpoint_has_cond): Renamed from gdbpy_breakpoint_has_py_cond.
2494 (local_setattro): Print name of extension language with existing
2497 * valprint.c (val_print, value_print): Update to call
2498 apply_ext_lang_val_pretty_printer.
2499 * cp-valprint.c (cp_print_value): Update call to
2500 apply_ext_lang_val_pretty_printer.
2501 * python/py-prettyprint.c: Remove #ifdef HAVE_PYTHON.
2502 (gdbpy_apply_val_pretty_printer): Renamed from
2503 apply_val_pretty_printer. New arg extlang.
2504 (!HAVE_PYTHON, apply_val_pretty_printer): Delete.
2506 * cli/cli-cmds.c (source_script_from_stream): Rewrite to use
2507 extension language API.
2508 * cli/cli-script.c (execute_control_command): Update to call
2509 eval_ext_lang_from_control_command.
2511 * mi/mi-cmd-stack.c (mi_cmd_stack_list_frames): Update to use
2512 enum ext_lang_bt_status values. Update call to
2513 apply_ext_lang_frame_filter.
2514 (mi_cmd_stack_list_locals): Ditto.
2515 (mi_cmd_stack_list_args): Ditto.
2516 (mi_cmd_stack_list_variables): Ditto.
2517 * mi/mi-main.c: Delete #include "python/python-internal.h".
2518 Add #include "extension.h".
2519 (mi_cmd_list_features): Replace reference to python internal variable
2520 gdb_python_initialized with call to ext_lang_initialized_p.
2522 * stack.c (backtrace_command_1): Update to use enum ext_lang_bt_status.
2523 Update to use enum ext_lang_frame_args. Update to call
2524 apply_ext_lang_frame_filter.
2525 * python/py-framefilter.c (extract_sym): Update to use enum
2527 (extract_value, py_print_type, py_print_value): Ditto.
2528 (py_print_single_arg, enumerate_args, enumerate_locals): Ditto.
2529 (py_mi_print_variables, py_print_locals, py_print_args): Ditto.
2530 (py_print_frame): Ditto.
2531 (gdbpy_apply_frame_filter): Renamed from apply_frame_filter.
2532 New arg extlang. Update to use enum ext_lang_bt_status.
2534 * top.c (gdb_init): Delete #ifdef HAVE_PYTHON call to
2535 finish_python_initialization. Replace with call to
2536 finish_ext_lang_initialization.
2538 * typeprint.c (do_free_global_table): Update to call
2539 free_ext_lang_type_printers.
2540 (create_global_typedef_table): Update to call
2541 start_ext_lang_type_printers.
2542 (find_global_typedef): Update to call apply_ext_lang_type_printers.
2543 * typeprint.h (struct ext_lang_type_printers): Add forward decl.
2544 (type_print_options): Change type of global_printers from "void *"
2545 to "struct ext_lang_type_printers *".
2547 * value.c (preserve_values): Update to call preserve_ext_lang_values.
2548 * python/py-value.c: Remove #ifdef HAVE_PYTHON.
2549 (gdbpy_preserve_values): Renamed from preserve_python_values.
2551 (!HAVE_PYTHON, preserve_python_values): Delete.
2553 * utils.c (quit_flag): Delete, moved to extension.c.
2554 (clear_quit_flag, set_quit_flag, check_quit_flag): Delete, moved to
2557 * eval.c: Delete #include "python/python.h".
2558 * main.c: Delete #include "python/python.h".
2560 * defs.h: Update comment.
2562 2014-02-06 Joel Brobecker <brobecker@adacore.com>
2566 2014-02-05 Mark Kettenis <kettenis@gnu.org>
2568 * c-exp.y (YYPRINT, c_print_token): Only define if YYBISON is
2571 2014-02-05 Yao Qi <yao@codesourcery.com>
2573 * remote.c (remote_pass_signals): Remove local 'buf' and use
2575 (remote_program_signals): Likewise.
2577 2014-02-05 Yao Qi <yao@codesourcery.com>
2579 * ctf.c: Include "inferior.h" and "gdbthread.h".
2580 (CTF_PID): A new macro.
2581 (ctf_open): Call inferior_appeared and add_thread_silent.
2582 (ctf_close): Call exit_inferior_silent and set inferior_ptid.
2583 (ctf_thread_alive): New function.
2584 (init_ctf_ops): Install ctf_thread_alive to to_thread_alive.
2586 2014-02-05 Yao Qi <yao@codesourcery.com>
2590 2013-05-24 Yao Qi <yao@codesourcery.com>
2592 * tracepoint.c (TFILE_PID): Remove.
2593 (tfile_open): Don't add thread and inferior.
2594 (tfile_close): Don't set 'inferior_ptid'. Don't call
2595 exit_inferior_silent.
2596 (tfile_thread_alive): Remove.
2597 (init_tfile_ops): Don't set field 'to_thread_alive' of
2600 2014-02-04 Christian Eggers <ceggers@gmx.de> (tiny change)
2602 * remote.c (remote_start_remote): Call remote_check_symbols even
2603 if only symbol-file (not file) has been given.
2605 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
2607 * gdbarch.sh (skip_entrypoint): New callback.
2608 * gdbarch.c, gdbarch.h: Regenerate.
2609 * symtab.c (skip_prologue_sal): Call gdbarch_skip_entrypoint.
2610 * infrun.c (fill_in_stop_func): Likewise.
2611 * ppc-linux-tdep.c: Include "elf/ppc64.h".
2612 (ppc_elfv2_elf_make_msymbol_special): New function.
2613 (ppc_elfv2_skip_entrypoint): Likewise.
2614 (ppc_linux_init_abi): Install them for ELFv2.
2616 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
2618 * ppc-sysv-tdep.c (ppc64_aggregate_candidate): New routine.
2619 (ppc64_elfv2_abi_homogeneous_aggregate): Likewise.
2620 (ppc64_sysv_abi_push_param): Handle ELFv2 homogeneous structs.
2621 (ppc64_sysv_abi_return_value): Likewise. Also, handle small
2622 structures returned in GPRs.
2624 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
2626 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_dummy_call): Use correct
2627 offset to the stack parameter list for the ELFv2 ABI.
2629 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
2631 * ppc-linux-tdep.c (ppc_linux_init_abi): Only call
2632 set_gdbarch_convert_from_func_ptr_addr and
2633 set_gdbarch_elf_make_msymbol_special for ELFv1.
2634 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_param): Only handle
2635 function descriptors on ELFv1.
2636 (ppc64_sysv_abi_push_dummy_call): Likewise. On ELFv2,
2637 set up r12 at function entry.
2639 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
2641 * ppc-tdep.h (enum powerpc_elf_abi): New data type.
2642 (struct gdbarch_tdep): New member elf_abi.
2644 * rs6000-tdep.c: Include "elf/ppc64.h".
2645 (rs6000_gdbarch_init): Detect ELF ABI version.
2647 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
2649 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_freg): Use correct order
2650 within a register pair holding a DFP 128-bit value on little-endian.
2651 (ppc64_sysv_abi_return_value_base): Likewise.
2652 * rs6000-tdep.c (dfp_pseudo_register_read): Likewise.
2653 (dfp_pseudo_register_write): Likewise.
2655 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
2657 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_freg): Use correct
2658 offset on little-endian when passing _Decimal32.
2659 (ppc64_sysv_abi_return_value_base): Likewise for return values.
2661 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
2663 * rs6000-tdep.c (efpr_pseudo_register_read): Use correct offset
2664 of the overlapped FP register within the VSX register on little-
2666 (efpr_pseudo_register_write): Likewise.
2668 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
2670 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_val): Use correct
2671 offset on little-endian when passing small structures.
2673 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
2675 * ppc-sysv-tdep.c (get_decimal_float_return_value): Update comment.
2676 (struct ppc64_sysv_argpos): New data structure.
2677 (ppc64_sysv_abi_push_float): Remove.
2678 (ppc64_sysv_abi_push_val): New function.
2679 (ppc64_sysv_abi_push_integer): Likewise.
2680 (ppc64_sysv_abi_push_freg): Likewise.
2681 (ppc64_sysv_abi_push_vreg): Likewise.
2682 (ppc64_sysv_abi_push_param): Likewise.
2683 (ppc64_sysv_abi_push_dummy_call): Refactor to use those new routines.
2684 (ppc64_sysv_abi_return_value_base): New function.
2685 (ppc64_sysv_abi_return_value): Refactor to use it.
2687 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
2689 * NEWS: Document new target powerpc64le-*-linux*.
2691 2014-02-04 Mark Kettenis <kettenis@gnu.org>
2693 * sparc64obsd-tdep.c (sparc64obsd_gregset): New variable.
2694 (sparc64obsd_supply_gregset): Handle registers sets used in ELF
2696 (sparc64obsd_init_abi): Adjust minimum size of the general purpose
2697 register set used in ELF core dumps. Add floating-point register set.
2699 2014-02-03 Kevin Buettner <kevinb@redhat.com>
2701 * mn10300-tdep.c (mn10300_dwarf2_reg_to_regnum): Rewrite
2702 dwarf2_to_gdb[] table using symbolic constants. Adjust
2703 penultimate entry from number representing the PC register
2704 to symbolic constant representing the MDR register. Add
2705 constant for the PC register to the end of the table.
2707 2014-02-03 Mark Kettenis <kettenis@gnu.org>
2709 * bsd-kvm.c: Include <sys/param.h>
2711 2014-02-03 Mark Kettenis <kettenis@gnu.org>
2713 * sparc64nbsd-nat.c (sparc64nbsd_supply_fpregset): Fix prototype.
2715 2014-01-31 Joel Brobecker <brobecker@adacore.com>
2717 * ada-lang.h (clear_ada_sym_cache): Delete.
2719 2014-01-30 Ulrich Weigand <uweigand@de.ibm.com>
2721 * auxv.c (fprint_target_auxv): Handle AT_HWCAP2.
2723 2014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
2725 * sparc64-linux-tdep.c (sparc64_linux_step_trap): Get PC from
2726 the sigreturn register save area only if the syscall is
2729 2014-01-29 Joel Brobecker <brobecker@adacore.com>
2731 * valops.c (value_slice): Minor reformatting.
2733 2014-01-28 Ulrich Weigand <uweigand@de.ibm.com>
2735 * ppc64-tdep.c (ppc64_standard_linkage7): Fix typo.
2737 2014-01-28 Joel Brobecker <brobecker@adacore.com>
2739 * ada-lang.c (maint_set_ada_cmdlist, maint_show_ada_cmdlist):
2741 (maint_set_ada_cmd, maint_show_ada_cmd): New functions.
2742 (ada_ignore_descriptive_types_p): New static global.
2743 (find_parallel_type_by_descriptive_type): Return immediately
2744 if ada_ignore_descriptive_types_p is set.
2745 (_initialize_ada_language): Register new commands "maintenance
2746 set ada", "maintenance show ada", "maintenance set ada
2747 ignore-descriptive-types" and "maintenance show ada
2748 ignore-descriptive-types".
2749 * NEWS: Add entry for new "maint ada set/show
2750 ignore-descriptive-types" commands.
2752 2014-01-27 Markus Metzger <markus.t.metzger@intel.com>
2754 * record-btrace.c (record_btrace_close): Call btrace_teardown
2757 2014-01-27 Joel Brobecker <brobecker@adacore.com>
2759 * ada-lang.c: Remove "#ifdef UI_OUT" condition for including
2762 2014-01-27 Joel Brobecker <brobecker@adacore.com>
2764 * ada-typeprint (type_is_full_subrange_of_target_type):
2766 (print_range): Add parameter bounds_prefered_p. If not set,
2767 try printing range types using the name of their base type.
2768 (print_range_type): Add parameter bounds_prefered_p.
2769 Use it in call to print_range.
2770 (print_array_type, ada_print_type): Update calls to print_range
2771 and print_range_type.
2773 2014-01-27 Joel Brobecker <brobecker@adacore.com>
2775 * ada-typeprint.c (print_array_type, print_choices, print_range)
2776 (print_range_bound, print_dynamic_range_bound, print_range_type):
2779 2014-01-27 Joel Brobecker <brobecker@adacore.com>
2781 * ada-typeprint.c (print_range): Add missing empty line
2782 after local declaration.
2784 2014-01-27 Joel Brobecker <brobecker@adacore.com>
2786 * ada-valprint.c (print_optional_low_bound): Get index_type's
2787 target type for as long as it is a TYPE_CODE_RANGE.
2789 2014-01-27 Joel Brobecker <brobecker@adacore.com>
2791 * procfs.c (procfs_make_note_section): Remove assertion and
2794 2014-01-24 Yao Qi <yao@codesourcery.com>
2796 * remote.c (remote_read_bytes): Change type of len to ULONGEST.
2797 * corelow.c (get_core_siginfo): Likewise.
2799 2014-01-24 Yao Qi <yao@codesourcery.com>
2801 * remote.c (remote_write_bytes_aux): Change type of 'len' to
2802 ULONGEST. Don't check 'len' is negative.
2803 (remote_write_bytes): Change type of 'len' to ULONGEST.
2805 2014-01-23 Tom Tromey <tromey@redhat.com>
2808 * python/lib/gdb/FrameDecorator.py: (FrameVars.fetch_frame_args):
2809 Handle exception from frame.block.
2810 (FrameVars.fetch_frame_locals): Likewise.
2812 2014-01-23 Tom Tromey <tromey@redhat.com>
2815 * python/py-framefilter.c (py_print_frame): Don't call Py_DECREF
2816 on a NULL pointer. Move "goto error" to correct place.
2818 2014-01-23 Tom Tromey <tromey@redhat.com>
2821 * python/py-framefilter.c (apply_frame_filter): Call
2822 ensure_python_env after computing gdbarch.
2824 2014-01-23 Yao Qi <yao@codesourcery.com>
2826 * target.c (raw_memory_xfer_partial): Change argument type
2827 from void * to gdb_byte *.
2828 (memory_xfer_partial_1, memory_xfer_partial): Likewise.
2830 2014-01-22 Doug Evans <dje@google.com>
2832 New gdbserver option --debug-format=timestamp.
2835 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
2837 * syscalls/s390x-linux.xml: New file.
2838 * syscalls/s390-linux.xml: New file.
2839 * s390-linux-tdep.c (XML_SYSCALL_FILENAME_S390): New macro.
2840 (XML_SYSCALL_FILENAME_S390X): Likewise.
2841 (op_svc): New enum value for SVC opcode.
2842 (s390_sigtramp_frame_sniffer): Replace literal by 'op_svc'.
2843 (s390_linux_get_syscall_number): New function.
2844 (s390_gdbarch_init): Register '*get_syscall_number' and the
2845 syscall xml file name.
2846 * data-directory/Makefile.in (SYSCALLS_FILES): Add
2847 "s390-linux.xml" and "s390x-linux.xml".
2848 * NEWS: Announce new feature.
2850 2014-01-22 Baruch Siach <baruch@tkos.co.il>
2852 * xtensa-tdep.h (xtensa_elf_greg_t): Change type to uint32_t.
2854 2014-01-22 Pedro Alves <palves@redhat.com>
2856 * xtensa-config.c: Include defs.h.
2858 2014-01-22 Joel Brobecker <brobecker@adacore.com>
2860 * common/common-utils.h: Add "ARI:" comment beside __func__
2863 2014-01-22 Joel Brobecker <brobecker@adacore.com>
2865 * common/common-utils.h (FUNCTION_NAME): Expand the macro's
2866 documentation a bit.
2868 2014-01-21 Roland McGrath <mcgrathr@google.com>
2870 * configure.ac: Call AM_PROG_INSTALL_STRIP.
2871 * configure: Regenerate.
2872 * aclocal.m4: Regenerate.
2873 * Makefile.in (install_sh, INSTALL_STRIP_PROGRAM, STRIP):
2874 New substituted variables.
2875 (install-strip): New target.
2876 (INSTALL_SCRIPT): New substituted variable.
2877 (FLAGS_TO_PASS): Add it.
2878 (install-only): Use $(INSTALL_SCRIPT) rather than
2879 $(INSTALL_PROGRAM) for gcore.
2881 2014-01-20 Tom Tromey <tromey@redhat.com>
2883 * cli/cli-decode.h (struct cmd_list_element): Move all bitfields
2886 2014-01-20 Tom Tromey <tromey@redhat.com>
2888 * cli/cli-decode.c (add_cmd, deprecate_cmd, add_alias_cmd)
2889 (add_setshow_cmd_full, delete_cmd, lookup_cmd_1)
2890 (deprecated_cmd_warning, complete_on_cmdlist): Update.
2891 * cli/cli-decode.h (CMD_DEPRECATED, DEPRECATED_WARN_USER)
2892 (MALLOCED_REPLACEMENT, DOC_ALLOCATED): Remove.
2893 (struct cmd_list_element) <flags>: Remove.
2894 <cmd_deprecated, deprecated_warn_user, malloced_replacement,
2895 doc_allocated>: New fields.
2896 <hook_in, allow_unknown, abbrev_flag, type, var_type>: Now
2898 * maint.c (maintenance_do_deprecate): Update.
2899 * top.c (execute_command): Update.
2901 2014-01-20 Baruch Siach <baruch@tkos.co.il>
2903 * xtensa-linux-nat.c: Include asm/ptrace.h.
2905 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
2907 * Makefile.in (SFILES): Add d-support.c.
2908 (COMMON_OBS): Add d-support.o.
2909 * d-lang.h (d_parse_symbol): Add comment, now defined in
2911 * d-lang.c (parse_call_convention)
2912 (parse_attributes, parse_function_types)
2913 (parse_function_args, parse_type, parse_identifier)
2914 (call_convention_p, d_parse_symbol): Move functions to ...
2915 * d-support.c: ... New file.
2917 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
2919 * d-lang.h (d_parse_symbol): Add declaration.
2920 * d-lang.c (extract_identifiers)
2921 (extract_type_info): Remove functions.
2922 (parse_call_convention, parse_attributes)
2923 (parse_function_types, parse_function_args)
2924 (parse_type, parse_identifier, call_convention_p)
2925 (d_parse_symbol): New functions.
2926 (d_demangle): Use d_parse_symbol to demangle D symbols.
2928 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
2930 * d-lang.h (struct builtin_d_type): New data type.
2931 (builtin_d_type): Add declaration.
2932 * d-lang.c (d_language_arch_info, build_d_types)
2933 (builtin_d_type): New functions.
2934 (enum d_primitive_types): New data type.
2935 (d_language_defn): Change c_language_arch_info to
2936 d_language_arch_info.
2937 (d_type_data): New static variable.
2938 (_initialize_d_language): Initialize d_type_data.
2940 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
2942 * d-lang.h (d_main_name): Add declaration.
2943 * d-lang.c (d_main_name): New function.
2944 * symtab.c (find_main_name): Add call to d_main_name.
2946 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
2948 * d-lang.c (d_language_defn): Change macro_expansion_c to
2951 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
2953 * MAINTAINERS: Add myself as a write-after-approval maintainer.
2955 2014-01-17 Sergio Durigan Junior <sergiodj@redhat.com>
2957 * breakpoint.c (insert_bp_location): Add "volatile" keyword to "struct
2958 gdb_exception" declaration.
2959 * remote.c (getpkt_or_notif_sane): Likewise.
2961 2014-01-17 Doug Evans <dje@google.com>
2963 * common/gdb_vecs.c (delim_string_to_char_ptr_vec_append): New
2964 function, contents of dirnames_to_char_ptr_vec_append moved here.
2965 (delim_string_to_char_ptr_vec): New function.
2966 (dirnames_to_char_ptr_vec_append): Rewrite.
2967 * common/gdb_vecs.h (delim_string_to_char_ptr_vec): Declare.
2969 2014-01-17 Doug Evans <dje@google.com>
2971 * common/common-utils.h (FUNCTION_NAME): Renamed from ASSERT_FUNCTION,
2973 * common/gdb_assert.h (ASSERT_FUNCTION): ... from here.
2974 #include "common-utils.h".
2975 (gdb_assert, gdb_assert_fail, gdb_assert_not_reached): Update.
2976 * common/vec.h (VEC_ASSERT_PASS): Update.
2977 * darwin-nat.h: Replace #include of gdb_assert.h with common-utils.h.
2978 (MACH_CHECK_ERROR): Update.
2980 2014-01-17 Simon Marchi <simon.marchi@ericsson.com>
2982 * gdbarch.sh (gdbarch_address_class_name_to_type_flags): Add
2984 * gdbarch.h: Regenerate.
2986 2014-01-16 Tom Tromey <tromey@redhat.com>
2988 * value.c (struct value) <regnum>: Move earlier.
2990 2014-01-16 Tom Tromey <tromey@redhat.com>
2992 * remote.c (extended_remote_create_inferior): Rename from
2993 extended_remote_create_inferior_1. Add "ops" argument. Remove
2996 2014-01-16 Pedro Alves <palves@redhat.com>
2998 * s390-linux-tdep.c (s390_frame_unwind_cache): Swallow
2999 NOT_AVAILABLE_ERROR errors while parsing the prologue or reading
3002 2014-01-16 Doug Evans <dje@google.com>
3004 * dwarf2read.c (open_and_init_dwp_file): Fix typo in comment.
3006 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3008 * btrace.h (btrace_thread_flag): New.
3009 (struct btrace_thread_info) <flags>: New.
3010 * record-btrace.c (record_btrace_resume_thread)
3011 (record_btrace_find_thread_to_move, btrace_step_no_history)
3012 (btrace_step_stopped, record_btrace_start_replaying)
3013 (record_btrace_step_thread, record_btrace_decr_pc_after_break)
3014 (record_btrace_find_resume_thread): New.
3015 (record_btrace_resume, record_btrace_wait): Extend.
3016 (record_btrace_can_execute_reverse): New.
3017 (record_btrace_open): Fail in non-stop mode.
3018 (record_btrace_set_replay): Split into this, ...
3019 (record_btrace_stop_replaying): ... this, ...
3020 (record_btrace_clear_histories): ... and this.
3021 (init_record_btrace_ops): Init to_can_execute_reverse.
3022 * NEWS: Announce it.
3024 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3026 * target.h (struct target_ops) <to_decr_pc_after_break>: New.
3027 (forward_target_decr_pc_after_break)
3028 (target_decr_pc_after_break): New.
3029 * target.c (forward_target_decr_pc_after_break)
3030 (target_decr_pc_after_break): New.
3031 * aix-thread.c (aix_thread_wait): Call target_decr_pc_after_break
3032 instead of gdbarch_decr_pc_after_break.
3033 * darwin-nat.c (cancel_breakpoint): Call target_decr_pc_after_break
3034 instead of gdbarch_decr_pc_after_break.
3035 * infrun.c (adjust_pc_after_break): Call target_decr_pc_after_break
3036 instead of gdbarch_decr_pc_after_break.
3037 * linux-nat.c (cancel_breakpoint): Call target_decr_pc_after_break
3038 instead of gdbarch_decr_pc_after_break.
3039 * linux-thread-db.c (check_event): Call target_decr_pc_after_break
3040 instead of gdbarch_decr_pc_after_break.
3041 * record-full.c (record_full_wait_1): Call target_decr_pc_after_break
3042 instead of gdbarch_decr_pc_after_break.
3044 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3046 * btrace.c: Include regcache.h.
3047 (btrace_add_pc): New.
3048 (btrace_enable): Call btrace_add_pc.
3049 (btrace_is_empty): New.
3050 * btrace.h (btrace_is_empty): New.
3051 * record-btrace.c (require_btrace, record_btrace_info): Call
3054 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3056 * common/linux-btrace.c (perf_event_read_bts, linux_read_btrace):
3057 Support delta reads.
3058 (linux_disable_btrace): Change return type.
3059 * common/linux-btrace.h (linux_read_btrace): Change parameters
3060 and return type to allow error reporting. Update users.
3061 (linux_disable_btrace): Change return type. Update users.
3062 * common/btrace-common.h (btrace_read_type) <BTRACE_READ_DELTA>:
3064 (btrace_error): New.
3065 (btrace_block) <begin>: Comment on BEGIN == 0.
3066 * btrace.c (btrace_compute_ftrace): Start from the end of
3068 (btrace_stitch_trace, btrace_clear_history): New.
3069 (btrace_fetch): Read delta trace, return if replaying.
3070 (btrace_clear): Move clear history code to btrace_clear_history.
3071 (parse_xml_btrace): Throw an error if parsing failed.
3072 * target.h (struct target_ops) <to_read_btrace>: Change parameters
3073 and return type to allow error reporting.
3074 (target_read_btrace): Change parameters and return type to allow
3076 * target.c (target_read_btrace): Update.
3077 * remote.c (remote_read_btrace): Support delta reads. Pass
3079 * NEWS: Announce it.
3081 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3083 * record.h (record_btrace_frame_unwind)
3084 (record_btrace_tailcall_frame_unwind): New declarations.
3085 * dwarf2-frame: Include record.h
3086 (dwarf2_frame_cfa): Throw an error for btrace frames.
3087 * record-btrace.c: Include hashtab.h.
3088 (btrace_get_bfun_name): New.
3089 (btrace_call_history): Call btrace_get_bfun_name.
3090 (struct btrace_frame_cache): New.
3092 (bfcache_hash, bfcache_eq, bfcache_new): New.
3093 (btrace_get_frame_function): New.
3094 (record_btrace_frame_unwind_stop_reason): Allow unwinding.
3095 (record_btrace_frame_this_id): Compute own id.
3096 (record_btrace_frame_prev_register): Provide PC, throw_error
3097 for all other registers.
3098 (record_btrace_frame_sniffer): Detect btrace frames.
3099 (record_btrace_tailcall_frame_sniffer): New.
3100 (record_btrace_frame_dealloc_cache): New.
3101 (record_btrace_frame_unwind): Add new functions.
3102 (record_btrace_tailcall_frame_unwind): New.
3103 (_initialize_record_btrace): Allocate cache.
3104 * btrace.c (btrace_clear): Call reinit_frame_cache.
3105 * NEWS: Announce it.
3107 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3109 * record-btrace.c (record_btrace_set_replay)
3110 (record_btrace_goto_begin, record_btrace_goto_end)
3111 (record_btrace_goto): New.
3112 (init_record_btrace_ops): Initialize them.
3113 * NEWS: Announce it.
3115 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3117 * record-btrace.c (record_btrace_find_new_threads)
3118 (record_btrace_thread_alive): New.
3119 (init_record_btrace_ops): Initialize to_find_new_threads and
3122 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3124 * record-btrace.c (record_btrace_resume): New.
3125 (record_btrace_wait): New.
3126 (init_record_btrace_ops): Initialize to_wait and to_resume.
3128 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3130 * record-btrace.c (record_btrace_xfer_partial)
3131 (record_btrace_insert_breakpoint, record_btrace_remove_breakpoint)
3132 (record_btrace_allow_memory_access): New.
3133 (init_record_btrace_ops): Initialize new methods.
3134 * target.c (raw_memory_xfer_partial): Bail out if target reports
3135 that this memory is not available.
3137 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3139 * target.h (target_ops) <to_insert_breakpoint>
3140 <to_remove_breakpoint>: Add target_ops parameter.
3141 (forward_target_insert_breakpoint): New.
3142 (forward_target_remove_breakpoint): New.
3143 (memory_remove_breakpoint, memory_insert_breakpoint):
3144 Add target_ops parameter.
3145 * target.c (target_insert_breakpoint): Split into this and ...
3146 (forward_target_insert_breakpoint): ... this.
3147 (target_remove_breakpoint): Split into this and ...
3148 (forward_target_remove_breakpoint): ... this.
3149 (debug_to_insert_breakpoint): Add target_ops parameter.
3150 Call forward_target_insert_breakpoint.
3151 (debug_to_remove_breakpoint): Add target_ops parameter.
3152 Call forward_target_remove_breakpoint.
3153 (update_current_target): Do not inherit or default to_insert_breakpoint
3154 and to_remove_breakpoint.
3155 * corelow.c (ignore): Add target_ops parameter.
3156 * exec.c (ignore): Add target_ops parameter.
3157 * mem-break.c (memory_insert_breakpoint, memory_remove_breakpoint):
3158 Add target_ops parameter.
3159 * monitor.c (monitor_insert_breakpoint, monitor_remove_breakpoint):
3160 Add target_ops parameter.
3161 * nto-procfs.c (procfs_insert_breakpoint, procfs_remove_breakpoint):
3162 Add target_ops parameter.
3163 * record-full.c (record_full_beneath_to_insert_breakpoint)
3164 (record_full_beneath_to_remove_breakpoint, tmp_to_insert_breakpoint)
3165 (tmp_to_remove_breakpoint, record_full_insert_breakpoint)
3166 (record_full_remove_breakpoint, record_full_core_insert_breakpoint)
3167 (record_full_core_remove_breakpoint): Add target_ops parameter.
3169 (record_full_beneath_to_insert_breakpoint_ops)
3170 (record_full_beneath_to_remove_breakpoint_ops)
3171 (tmp_to_insert_breakpoint_ops, tmp_to_remove_breakpoint_ops): New.
3172 (record_full_open): Initialize tmp_to_insert_breakpoint_ops,
3173 tmp_to_remove_breakpoint_ops,
3174 record_full_beneath_to_insert_breakpoint_ops, and
3175 record_full_beneath_to_remove_breakpoint_ops.
3176 * remote-m32r-sdi.c (m32r_insert_breakpoint)
3177 (m32r_remove_breakpoint): Add target_ops parameter.
3178 * remote-mips.c (mips_insert_breakpoint, mips_remove_breakpoint):
3179 Add target_ops parameter.
3180 * remote.c (remote_insert_breakpoint, remote_remove_breakpoint):
3181 Add target_ops parameter.
3183 2014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
3184 Markus Metzger <markus.t.metzger@intel.com>
3186 * record-btrace.c: Include frame-unwind.h.
3187 (record_btrace_frame_unwind_stop_reason)
3188 (record_btrace_frame_this_id, record_btrace_frame_prev_register)
3189 (record_btrace_frame_sniffer, record_btrace_frame_unwind):
3191 (init_record_btrace_ops): Install it.
3193 2014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
3195 * frame.c (get_frame_unwind_stop_reason): Unconditionally call
3198 2014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
3200 * dwarf2-frame.c (dwarf2_frame_cfa): Move UNWIND_UNAVAILABLE check
3203 2014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
3205 * frame-unwind.c: Include target.h.
3206 (frame_unwind_try_unwinder): New function with code from ...
3207 (frame_unwind_find_by_frame): ... here. New variable
3208 unwinder_from_target, call also target_get_unwinder)
3209 (target_get_tailcall_unwinder, and frame_unwind_try_unwinder for it.
3210 * target.c (target_get_unwinder, target_get_tailcall_unwinder): New.
3211 * target.h (struct target_ops): New fields to_get_unwinder and
3212 to_get_tailcall_unwinder.
3213 (target_get_unwinder, target_get_tailcall_unwinder): New declarations.
3215 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3217 * record-btrace.c (record_btrace_fetch_registers)
3218 (record_btrace_store_registers)
3219 (record_btrace_to_prepare_to_store): New.
3220 (init_record_btrace_ops): Add the above.
3222 2014-01-16 Tom Tromey <tromey@redhat.com>
3224 * windows-nat.c (windows_prepare_to_store): Add 'self' argument.
3225 * target.h (struct target_ops) <to_prepare_to_store>: Add
3227 (target_prepare_to_store): Add argument.
3228 * target.c (debug_to_prepare_to_store): Add argument.
3229 (update_current_target): Update.
3230 * remote.c (remote_prepare_to_store): Add 'self' argument.
3231 * remote-sim.c (gdbsim_prepare_to_store): Add 'self' argument.
3232 * remote-mips.c (mips_prepare_to_store): Add 'self' argument.
3233 * remote-m32r-sdi.c (m32r_prepare_to_store): Add 'self' argument.
3234 * record-full.c (record_full_core_prepare_to_store): Add 'self'
3236 * ravenscar-thread.c (ravenscar_prepare_to_store): Add argument.
3237 * nto-procfs.c (procfs_prepare_to_store): Add 'self' argument.
3238 * monitor.c (monitor_prepare_to_store): Add 'self' argument.
3239 * inf-child.c (inf_child_prepare_to_store): Add 'self' argument.
3240 * go32-nat.c (go32_prepare_to_store): Add 'self' argument.
3242 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3244 * btrace.h (replay) <replay>: New.
3245 (btrace_is_replaying): New.
3246 * btrace.c (btrace_clear): Free replay iterator.
3247 (btrace_is_replaying): New.
3248 * record-btrace.c (record_btrace_is_replaying): New.
3249 (record_btrace_info): Print insn number if replaying.
3250 (record_btrace_insn_history): Start at replay position.
3251 (record_btrace_call_history): Start at replay position.
3252 (init_record_btrace_ops): Init to_record_is_replaying.
3254 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3256 * record-btrace.c (record_btrace_insn_history_range): Include
3258 (record_btrace_insn_history_from): Adjust range.
3259 (record_btrace_call_history_range): Include
3261 (record_btrace_call_history_from): Adjust range.
3262 * NEWS: Announce changes.
3264 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3266 * record.h (enum record_print_flag)
3267 <record_print_indent_calls>: New.
3268 * record.c (get_call_history_modifiers): Recognize /c modifier.
3269 (_initialize_record): Document /c modifier.
3270 * record-btrace.c (btrace_call_history): Add btinfo parameter.
3271 Reorder fields. Optionally indent the function name. Update
3273 * NEWS: Announce changes.
3275 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3277 * common/linux-btrace.c (linux_enable_btrace): Enlarge buffer.
3279 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3281 * btrace.c (ftrace_new_function): Start counting at one.
3282 * record-btrace.c (record_btrace_info): Adjust number of calls
3284 * NEWS: Announce it.
3286 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3288 * record-btrace.c (btrace_call_history_insn_range): Print
3289 insn range as [begin, end].
3291 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3293 * btrace.h (struct btrace_func_link): New.
3294 (enum btrace_function_flag): New.
3295 (struct btrace_inst): Rename to ...
3296 (struct btrace_insn): ...this. Update all users.
3297 (struct btrace_func) <ibegin, iend>: Remove.
3298 (struct btrace_func_link): New.
3299 (struct btrace_func): Rename to ...
3300 (struct btrace_function): ...this. Update all users.
3301 (struct btrace_function) <segment, flow, up, insn, insn_offset)
3302 (number, level, flags>: New.
3303 (struct btrace_insn_iterator): Rename to ...
3304 (struct btrace_insn_history): ...this.
3306 (struct btrace_insn_iterator, btrace_call_iterator): New.
3307 (struct btrace_target_info) <btrace, itrace, ftrace>: Remove.
3308 (struct btrace_target_info) <begin, end, level>
3309 <insn_history, call_history>: New.
3310 (btrace_insn_get, btrace_insn_number, btrace_insn_begin)
3311 (btrace_insn_end, btrace_insn_prev, btrace_insn_next)
3312 (btrace_insn_cmp, btrace_find_insn_by_number, btrace_call_get)
3313 (btrace_call_number, btrace_call_begin, btrace_call_end)
3314 (btrace_call_prev, btrace_call_next, btrace_call_cmp)
3315 (btrace_find_function_by_number, btrace_set_insn_history)
3316 (btrace_set_call_history): New.
3317 * btrace.c (btrace_init_insn_iterator)
3318 (btrace_init_func_iterator, compute_itrace): Remove.
3319 (ftrace_print_function_name, ftrace_print_filename)
3320 (ftrace_skip_file): Change
3322 (ftrace_init_func): Remove.
3323 (ftrace_debug): Use new btrace_function fields.
3324 (ftrace_function_switched): Also consider gaining and
3325 losing symbol information).
3326 (ftrace_print_insn_addr, ftrace_new_call, ftrace_new_return)
3327 (ftrace_new_switch, ftrace_find_caller, ftrace_new_function)
3328 (ftrace_update_caller, ftrace_fixup_caller, ftrace_new_tailcall):
3330 (ftrace_new_function): Move. Remove debug print.
3331 (ftrace_update_lines, ftrace_update_insns): New.
3332 (ftrace_update_function): Check for call, ret, and jump.
3333 (compute_ftrace): Renamed to ...
3334 (btrace_compute_ftrace): ...this. Rewritten to compute call
3336 (btrace_fetch, btrace_clear): Updated.
3337 (btrace_insn_get, btrace_insn_number, btrace_insn_begin)
3338 (btrace_insn_end, btrace_insn_prev, btrace_insn_next)
3339 (btrace_insn_cmp, btrace_find_insn_by_number, btrace_call_get)
3340 (btrace_call_number, btrace_call_begin, btrace_call_end)
3341 (btrace_call_prev, btrace_call_next, btrace_call_cmp)
3342 (btrace_find_function_by_number, btrace_set_insn_history)
3343 (btrace_set_call_history): New.
3344 * record-btrace.c (require_btrace): Use new btrace thread
3346 (record_btrace_info, btrace_insn_history)
3347 (record_btrace_insn_history, record_btrace_insn_history_range):
3348 Use new btrace thread info fields and new iterator.
3349 (btrace_func_history_src_line): Rename to ...
3350 (btrace_call_history_src_line): ...this. Use new btrace
3352 (btrace_func_history): Rename to ...
3353 (btrace_call_history): ...this. Use new btrace thread info
3354 fields and new iterator.
3355 (record_btrace_call_history, record_btrace_call_history_range):
3356 Use new btrace thread info fields and new iterator.
3358 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3360 * frame.h (frame_id_build_unavailable_stack_special): New.
3361 * frame.c (frame_id_build_unavailable_stack_special): New.
3363 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3365 * amd64-tdep.c (amd64_classify_insn_at, amd64_insn_is_call)
3366 (amd64_insn_is_ret, amd64_insn_is_jump, amd64_jmp_p): New.
3367 (amd64_init_abi): Add insn_is_call, insn_is_ret, and insn_is_jump
3369 * i386-tdep.c (i386_insn_is_call, i386_insn_is_ret)
3370 (i386_insn_is_jump, i386_jmp_p): New.
3371 (i386_gdbarch_init): Add insn_is_call, insn_is_ret, and
3372 insn_is_jump to gdbarch.
3373 * gdbarch.sh (insn_is_call, insn_is_ret, insn_is_jump): New.
3374 * gdbarch.h: Regenerated.
3375 * gdbarch.c: Regenerated.
3376 * arch-utils.h (default_insn_is_call, default_insn_is_ret)
3377 (default_insn_is_jump): New.
3378 * arch-utils.c (default_insn_is_call, default_insn_is_ret)
3379 (default_insn_is_jump): New.
3381 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3383 * common/btrace-common.h (btrace_read_type) <btrace_read_all>:
3385 (btrace_read_type) <BTRACE_READ_ALL>: ... this. Update users.
3386 (btrace_read_type) <btrace_read_new>: Change to ...
3387 (btrace_read_type) <BTRACE_READ_NEW>: ... this. Update users.
3389 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3391 * common/linux-btrace.c (linux_read_btrace): Free trace from
3394 2014-01-15 Doug Evans <dje@google.com>
3396 * dwarf2read.c (open_and_init_dwp_file): Use pulongest to print
3399 2014-01-15 Tom Tromey <tromey@redhat.com>
3401 * dbxread.c (process_one_symbol): Use set_objfile_main_name.
3402 * dwarf2read.c (read_partial_die): Use set_objfile_main_name.
3403 * objfiles.c (get_objfile_bfd_data): Initialize language_of_main.
3404 (set_objfile_main_name): New function.
3405 * objfiles.h (struct objfile_per_bfd_storage) <name_of_main,
3406 language_of_main>: New fields.
3407 (set_objfile_main_name): Declare.
3408 * symtab.c (find_main_name): Loop over objfiles to find the main
3410 (set_main_name): Now static.
3411 (get_main_info): Add comment.
3412 * symtab.h (set_main_name): Don't declare.
3414 2014-01-15 Tom Tromey <tromey@redhat.com>
3416 * symtab.c (main_progspace_key): New global.
3417 (struct main_info): New.
3418 (name_of_main, language_of_main): Remove.
3419 (get_main_info, main_info_cleanup): New function.
3420 (set_main_name, main_name, main_language): Use get_main_info.
3421 (_initialize_symtab): Initialize main_progspace_key.
3423 2014-01-15 Tom Tromey <tromey@redhat.com>
3425 * dbxread.c (process_one_symbol): Update.
3426 * dwarf2read.c (read_partial_die): Update.
3427 * symfile.c (set_initial_language): Call main_language.
3428 * symtab.c (language_of_main): Now static.
3429 (set_main_name): Add 'lang' parameter.
3430 (find_main_name): Update.
3431 (main_language): New function.
3432 (symtab_observer_executable_changed): Update.
3433 * symtab.h (set_main_name): Update.
3434 (language_of_main): Remove.
3435 (main_language): Declare.
3437 2014-01-15 Tom Tromey <tromey@redhat.com>
3439 * symfile.c (init_entry_point_info): Use new "initialized" field.
3441 * objfiles.h (struct entry_point) <initialized>: New field.
3442 (struct objfile_per_bfd_storage) <ei>: New field, moved from...
3443 (struct objfile) <ei>: ...here. Remove.
3444 * objfiles.c (entry_point_address_query): Update.
3446 2014-01-15 Tom Tromey <tromey@redhat.com>
3448 * objfiles.c (entry_point_address_query): Relocate entry point
3450 (objfile_relocate1): Do not relocate entry point address.
3451 * objfiles.h (struct entry_info) <entry_point>: Update comment.
3452 <the_bfd_section_index>: New field.
3453 * symfile.c (init_entry_point_info): Find the entry point's
3456 2014-01-15 Tom Tromey <tromey@redhat.com>
3458 * solib-frv.c (enable_break): Use entry_point_address_query.
3460 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
3462 * NEWS: Add note on improved process record-replay on
3463 arm*-linux* targets.
3465 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
3467 * arm-tdep.c (enum arm_record_result): New enum.
3468 (arm_record_unsupported_insn): New function.
3469 (arm_record_coproc_data_proc): Removed.
3470 (thumb2_record_ld_st_multiple): New function.
3471 (thumb2_record_ld_st_dual_ex_tbb): New function.
3472 (thumb2_record_data_proc_sreg_mimm): New function.
3473 (thumb2_record_ps_dest_generic): New function.
3474 (thumb2_record_branch_misc_cntrl): New function.
3475 (thumb2_record_str_single_data): New function.
3476 (thumb2_record_ld_mem_hints): New function.
3477 (thumb2_record_ld_word): New function.
3478 (thumb2_record_lmul_lmla_div): New function.
3479 (thumb2_record_decode_insn_handler): New function.
3480 (decode_insn): Add thumb32 instruction handlers.
3482 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
3484 * arm-linux-tdep.c: Include "record-full.h" and "linux-record.h".
3485 (struct arm_linux_record_tdep): Declare.
3486 (arm_canonicalize_syscall): New function.
3487 (arm_all_but_pc_registers_record): New function.
3488 (arm_linux_syscall_record): New function.
3489 (arm_linux_init_abi): Add syscall recording constructs.
3490 * arm-tdep.c (thumb_record_ldm_stm_swi): Update thumb syscall
3491 decoding. (arm_record_coproc_data_proc): Update arm syscall
3493 * arm-tdep.h (struct gdbarch_tdep) <arm_swi_record>: Remove.
3494 <arm_syscall_record>: New field.
3495 * configure.tgt (arm*-*-linux*): Add linux-record.o to
3498 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
3500 * arm-tdep.c (thumb_record_misc): Update to use sp as base
3501 register for push instruction recording.
3503 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
3505 * arm-tdep.c (thumb_record_misc): Update to correct logical
3506 error while recording ldm, ldmia and pop instructions.
3508 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
3510 * arm-tdep.c (struct arm_mem_r) <addr>: Change type to uint32_t.
3512 2014-01-15 Pedro Alves <palves@redhat.com>
3514 * go32-nat.c (go32_open, go32_close, go32_attach, go32_detach)
3515 (go32_resume, go32_fetch_registers, store_register)
3516 (go32_store_registers, go32_prepare_to_store)
3517 (go32_xfer_memory, go32_files_info, go32_kill_inferior)
3518 (go32_create_inferior, go32_can_run, go32_terminal_init)
3519 (go32_terminal_inferior, go32_terminal_ours): Delete forward
3522 2014-01-15 Tom Tromey <tromey@redhat.com>
3524 * target.h (async_callback_ftype): New typedef.
3525 (struct target_ops) <to_async>: Use it.
3527 2014-01-15 Joel Brobecker <brobecker@adacore.com>
3529 * python/py-value.c (get_field_type): Remove unnecessary curly
3530 braces for single-statement if block.
3532 2014-01-15 Joel Brobecker <brobecker@adacore.com>
3534 * python/py-type.c (convert_field): Add missing empty line
3537 2014-01-14 Doug Evans <dje@google.com>
3539 * symfile.h (expand_symtabs_matching): Renamed from
3540 expand_partial_symbol_names. Update prototype.
3541 (map_symbol_filenames): Renamed from map_partial_symbol_filenames.
3542 * symfile.c (expand_symtabs_matching): Renamed from
3543 expand_partial_symbol_names. New args file_matcher, kind.
3544 Rename arg fun to symbol_matcher.
3545 (map_symbol_filenames): Renamed from map_partial_symbol_filenames.
3546 * ada-lang.c (ada_complete_symbol_matcher): Renamed from
3547 ada_expand_partial_symbol_name.
3548 (ada_make_symbol_completion_list): Update to call
3549 expand_symtabs_matching.
3550 (ada_add_global_exceptions): Call expand_symtabs_matching.
3551 * mi/mi-cmd-file.c (mi_cmd_file_list_exec_source_files): Update to
3552 call map_symbol_filenames.
3553 * symtab.c (sources_info): Update to call map_symbol_filenames.
3554 (search_symbols): Call expand_symtabs_matching.
3555 (symbol_completion_matcher): Renamed from expand_partial_symbol_name.
3556 (default_make_symbol_completion_list_break_on): Update to call
3557 expand_symtabs_matching.
3558 (make_source_files_completion_list): Update to call
3559 map_symbol_filenames.
3561 2014-01-14 Doug Evans <dje@google.com>
3563 * symfile.h (expand_symtabs_file_matcher_ftype): New typedef.
3564 (expand_symtabs_symbol_matcher_ftype): New typedef.
3565 (quick_symbol_functions.expand_symtabs_matching): Update to use.
3566 expand_symtabs_file_matcher_ftype, expand_symtabs_symbol_matcher_ftype.
3567 * symfile.c (expand_partial_symbol_names): Update to use
3568 expand_symtabs_symbol_matcher_ftype.
3569 * dwarf2read.c (dw2_expand_symtabs_matching): Update to use
3570 expand_symtabs_file_matcher_ftype, expand_symtabs_symbol_matcher_ftype.
3571 Arg name_matcher renamed to symbol_matcher.
3572 * psymtab.c (recursively_search_psymtabs): Update to use
3573 expand_symtabs_symbol_matcher_ftype. Arg name_matcher renamed to
3575 (expand_symtabs_matching_via_partial): Update to use
3576 expand_symtabs_file_matcher_ftype, expand_symtabs_symbol_matcher_ftype.
3577 Arg name_matcher renamed to symbol_matcher.
3579 2014-01-14 Doug Evans <dje@google.com>
3581 * psymtab.c (expand_partial_symbol_names): Delete, moved to symfile.c.
3582 (map_partial_symbol_filenames): Ditto.
3583 * psymtab.h (expand_partial_symbol_names): Delete, moved to symfile.h.
3584 (map_partial_symbol_filenames): Ditto.
3585 * symfile.c (expand_partial_symbol_names): Moved here from psymtab.c.
3586 (map_partial_symbol_filenames): Ditto.
3587 * symfile.h (expand_partial_symbol_names): Moved here from psymtab.h.
3588 (map_partial_symbol_filenames): Ditto.
3589 * symtab.c: Delete #include "psymtab.h".
3591 2014-01-14 Pedro Alves <palves@redhat.com>
3592 Tom Tromey <tromey@redhat.com>
3594 * infrun.c (use_displaced_stepping): Use find_record_target
3595 instead of RECORD_IS_USED.
3596 (adjust_pc_after_break): Use record_full_is_used instead of
3598 * record-btrace.c (record_btrace_open): Call record_preopen
3599 instead of checking RECORD_IS_USED.
3600 * record-full.c (record_full_shortname)
3601 (record_full_core_shortname): New globals.
3602 (record_full_is_used): New function.
3603 (find_full_open): Call record_preopen instead of checking
3605 (init_record_full_ops): Set the target's shortname to
3606 record_full_shortname.
3607 (init_record_full_core_ops): Set the target's shortname to
3608 record_full_core_shortname.
3609 * record-full.h (record_full_is_used): Declare.
3610 * record.c (find_record_target): Make extern.
3611 (record_preopen): New function.
3612 * record.h (RECORD_IS_USED): Delete macro.
3613 (find_record_target, record_preopen): Declare functions.
3615 2014-01-14 Yao Qi <yao@codesourcery.com>
3617 * gdbarch.sh (core_xfer_shared_libraries): Change its argument
3618 'len''s type to ULONGEST.
3619 (core_xfer_shared_libraries_aix): Likewise.
3620 * gdbarch.c, gdbarch.h: Regenerated.
3621 * i386-cygwin-tdep.c (windows_core_xfer_shared_libraries):
3622 Change type of 'len' to ULONGEST.
3623 * rs6000-aix-tdep.c (rs6000_aix_ld_info_to_xml): Likewise.
3624 (rs6000_aix_core_xfer_shared_libraries_aix): Likewise.
3626 2014-01-14 Yao Qi <yao@codesourcery.com>
3628 * common/linux-osdata.c (linux_xfer_osdata_processes): Change
3629 type of 'len' to ULONGEST.
3630 (linux_xfer_osdata_processgroups): Likewise.
3631 (linux_xfer_osdata_threads): Likewise.
3632 (linux_xfer_osdata_fds): Likewise.
3633 (linux_xfer_osdata_isockets): Likewise.
3634 (linux_xfer_osdata_shm): Likewise.
3635 (linux_xfer_osdata_sem): Likewise.
3636 (linux_xfer_osdata_msg): Likewise.
3637 (linux_common_xfer_osdata): Likewise.
3638 (struct osdata_type) <getter>: Likewise.
3639 * common/linux-osdata.h (linux_common_xfer_osdata): Update
3642 2014-01-14 Yao Qi <yao@codesourcery.com>
3644 * target.h (target_xfer_partial_ftype): Update.
3645 (struct target_ops) <to_xfer_partial>: Change 'len' type to
3647 * aix-thread.c (aix_thread_xfer_partial): Change type of
3648 argument 'len' to ULONGEST.
3649 * auxv.c (procfs_xfer_auxv): Likewise.
3650 (ld_so_xfer_auxv): Likewise.
3651 (memory_xfer_auxv): Likewise.
3652 * bfd-target.c (target_bfd_xfer_partial): Likewise.
3653 * bsd-kvm.c (bsd_kvm_xfer_partial): Likewise.
3654 * bsd-uthread.c (bsd_uthread_xfer_partial): Likewise.
3655 * corelow.c (core_xfer_partial): Likewise.
3656 * ctf.c (ctf_xfer_partial): Likewise.
3657 * darwin-nat.c (darwin_read_write_inferior): Likewise. Use
3659 (darwin_read_dyld_info): Likewise.
3660 (darwin_xfer_partial): Likewise.
3661 * exec.c (section_table_xfer_memory_partial): Likewise.
3662 (exec_xfer_partial): Likewise.
3663 * exec.h (section_table_xfer_memory_partial): Update
3665 * gnu-nat.c (gnu_xfer_memory): Likewise. Call pulongest
3666 instead of plongest.
3667 (gnu_xfer_partial): Likewise.
3668 * ia64-hpux-nat.c (ia64_hpux_xfer_memory): Likewise.
3669 (ia64_hpux_xfer_solib_got): Likewise.
3670 (ia64_hpux_xfer_partial): Likewise.
3671 * ia64-linux-nat.c (ia64_linux_xfer_partial):
3672 * inf-ptrace.c (inf_ptrace_xfer_partial):
3673 * inf-ttrace.c (inf_ttrace_xfer_partial):
3674 * linux-nat.c (linux_xfer_siginfo): Likewise.
3675 (linux_nat_xfer_partial): Likewise.
3676 (spu_enumerate_spu_ids, linux_proc_xfer_spu): Likewise.
3677 (linux_nat_xfer_osdata, linux_xfer_partial): Likewise.
3678 * monitor.c (monitor_xfer_memory): Likewise.
3679 (monitor_xfer_partial): Likewise.
3680 * procfs.c (procfs_xfer_partial): Likewise.
3681 * record-full.c (record_full_xfer_partial): Likewise.
3682 (record_full_core_xfer_partial): Likewise.
3683 * remote-sim.c (gdbsim_xfer_memory): Likewise. Call pulongest
3684 instead of plongest.
3685 (gdbsim_xfer_partial): Likewise.
3686 * remote.c (remote_xfer_partial): Likewise.
3687 * rs6000-aix-tdep.c (rs6000_aix_ld_info_to_xml): Likewise.
3688 * rs6000-aix-tdep.h (rs6000_aix_ld_info_to_xml): Update
3690 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
3691 (rs6000_xfer_shared_libraries): Likewise.
3692 * sol-thread.c (sol_thread_xfer_partial): Likewise.
3693 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
3694 (sparc_xfer_partial): Likewise.
3695 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise.
3696 (spu_xfer_partial): Likewise.
3697 * spu-multiarch.c (spu_xfer_partial): Likewise.
3698 * target.c (target_read_live_memory): Likewise.
3699 (memory_xfer_live_readonly_partial): Likewise.
3700 (memory_xfer_partial, memory_xfer_partial_1): Likewise.
3701 (target_xfer_partial, default_xfer_partial): Likewise.
3702 (current_xfer_partial): Likewise.
3703 * tracepoint.c (tfile_xfer_partial): Likewise.
3704 * windows-nat.c (windows_xfer_memory): Likewise. Call
3705 pulongest instead of plongest.
3706 (windows_xfer_partial): Likewise.
3707 (windows_xfer_shared_libraries): Likewise.
3709 2014-01-14 Yao Qi <yao@codesourcery.com>
3711 * rs6000-nat.c (rs6000_xfer_shared_libraries): Use
3712 target_xfer_partial_ftype.
3714 2014-01-13 Siva Chandra Reddy <sivachandra@google.com>
3718 * valops.c (value_struct_elt_bitpos): New function
3719 * py-type.c (convert_field): Set 'name' attribute of a gdb.Field
3720 object to 'None' if the field name is an empty string ("").
3721 * python/py-value.c (valpy_getitem): Use 'bitpos' and 'type'
3722 attribute to look for a field when 'name' is 'None'.
3723 (get_field_type): New function
3725 2014-01-13 Doug Evans <dje@google.com>
3728 * dwarf2read.c (dwarf2_get_dwz_file): Call gdb_bfd_record_inclusion.
3729 (try_open_dwop_file): Ditto.
3730 * gdb_bfd.c: #include "vec.h".
3731 (bfdp): New typedef.
3732 (struct gdb_bfd_data): New member included_bfds.
3733 (gdb_bfd_unref): Unref all included bfds.
3734 (gdb_bfd_record_inclusion): New function.
3735 * gdb_bfd.h (gdb_bfd_record_inclusion): Declare.
3737 2014-01-13 Tom Tromey <tromey@redhat.com>
3739 * gdbcore.h (deprecated_core_resize_section_table): Remove.
3741 2014-01-13 Tom Tromey <tromey@redhat.com>
3743 * defs.h (use_windows): Remove.
3744 * gdb.c (main): Update.
3745 * main.c (captured_main, gdb_main): Update.
3746 * main.h (struct captured_main_args) <use_windows>: Remove.
3747 * top.c (use_windows): Remove.
3749 2014-01-13 Tom Tromey <tromey@redhat.com>
3751 * defs.h (deprecated_flush_hook): Remove.
3753 2014-01-13 Jan Kratochvil <jan.kratochvil@redhat.com>
3756 * linux-thread-db.c (try_thread_db_load): Add parameter
3757 check_auto_load_safe. Move here the file_is_auto_load_safe call.
3758 (try_thread_db_load_from_pdir_1): Move it there from here.
3759 (try_thread_db_load_from_sdir): Update caller.
3760 (try_thread_db_load_from_dir): Move it there from here.
3762 2014-01-13 Patrick Palka <patrick@parcs.ath.cx>
3764 * regformats/regdat.sh: Always rewrite the register file.
3766 2014-01-13 Pedro Alves <palves@redhat.com>
3768 * Makefile.in (CHECK_HEADERS): New variable.
3769 (check-headers:): New rule.
3771 2014-01-13 Tom Tromey <tromey@redhat.com>
3773 * cli/cli-setshow.c (do_set_command): Update.
3774 * defs.h (deprecated_set_hook): Remove.
3775 * top.c (deprecated_set_hook): Remove.
3777 2014-01-13 Pedro Alves <palves@redhat.com>
3779 * tracepoint.c (tfile_fetch_registers): Don't infer the PC from
3780 the tracepoint if the PC is a pseudo-register.
3782 2014-01-13 Tom Tromey <tromey@redhat.com>
3784 * defs.h (XCALLOC): Remove.
3785 * bcache.c (bcache_xmalloc): Use XCNEW, not XCALLOC.
3786 (print_bcache_statistics): Use XCNEWVEC, not XCALLOC.
3787 * dwarf2loc.c (allocate_piece_closure): Likewise.
3788 * elfread.c (elf_symfile_segments): Likewise.
3789 (elf_symfile_segments): Likewise.
3790 * gdbtypes.c (copy_type_recursive): Likewise.
3791 * i386-tdep.c (i386_gdbarch_init): Use XCNEW, not XCALLOC.
3792 * jit.c (jit_frame_sniffer): Use XCNEWVEC, not XCALLOC.
3793 * minsyms.c (prim_record_minimal_symbol_full): Use XCNEW, not
3795 * mt-tdep.c (mt_gdbarch_init): Likewise.
3796 * opencl-lang.c (allocate_lval_closure): Use XCNEWVEC, not
3798 * psymtab.c (psymbol_compare): Use XCNEW, not XCALLOC.
3799 * regcache.c (regcache_xmalloc_1): Use XCNEWVEC, not XCALLOC.
3800 * registry.c (registry_alloc_data): Likewise.
3801 * rs6000-tdep.c (rs6000_gdbarch_init): Use XCNEW, not XCALLOC.
3802 * s390-linux-tdep.c (s390_gdbarch_init): Likewise.
3803 * serial.c (serial_fdopen_ops): Likewise.
3804 * solib-aix.c (solib_aix_get_section_offsets): Use XCNEWVEC, not
3806 * spu-tdep.c (spu_gdbarch_init): Use XCNEW, not XCALLOC.
3807 * symfile.c (default_symfile_segments): Use XCNEW and XCNEWVEC,
3810 2014-01-13 Tom Tromey <tromey@redhat.com>
3812 * defs.h (XMALLOC): Remove.
3813 * avr-tdep.c (avr_gdbarch_init): Use XNEW, not XMALLOC.
3814 * bfin-tdep.c (bfin_gdbarch_init): Likewise.
3815 * cli-out.c (struct ui_out *): Likewise.
3816 * cli/cli-dump.c (add_dump_command): Likewise.
3817 (add_dump_command): Likewise.
3818 * complaints.c (get_complaints): Likewise.
3819 (find_complaint): Likewise.
3820 * dwarf2-frame.c (execute_cfa_program): Likewise.
3821 * dwarf2read.c (abbrev_table_read_table): Likewise.
3822 * gdbarch.sh: Likewise.
3823 * gdbarch.c: Rebuild.
3824 * inf-ttrace.c (inf_ttrace_add_page): Likewise.
3825 * interps.c (interp_new): Likewise.
3826 * lm32-tdep.c (lm32_gdbarch_init): Likewise.
3827 * m32r-tdep.c (m32r_gdbarch_init): Likewise.
3828 * mi/mi-console.c (mi_console_file_new): Likewise.
3829 * mi/mi-interp.c (mi_interpreter_init): Likewise.
3830 * mi/mi-out.c (mi_out_new): Likewise.
3831 * mi/mi-parse.c (mi_parse): Likewise.
3832 * microblaze-tdep.c (microblaze_gdbarch_init): Likewise.
3833 * moxie-tdep.c (moxie_gdbarch_init): Likewise.
3834 * observer.c (xalloc_observer_list_node): Likewise.
3835 * regcache.c (regcache_xmalloc_1): Likewise.
3836 * reggroups.c (reggroup_new): Likewise.
3837 (_initialize_reggroup): Likewise.
3838 * registry.c (register_data_with_cleanup): Likewise.
3839 * remote.c (remote_notif_stop_alloc_reply): Likewise.
3840 * ser-base.c (serial_ttystate): Likewise.
3841 * ser-mingw.c (make_pipe_state): Likewise.
3842 * ser-pipe.c (pipe_open): Likewise.
3843 * serial.c (serial_open): Likewise.
3844 * sh64-tdep.c (sh64_gdbarch_init): Likewise.
3845 * tui/tui-data.c (tui_alloc_generic_win_info): Likewise.
3846 (tui_alloc_win_info): Likewise.
3847 (tui_add_content_elements): Likewise.
3848 * tui/tui-file.c (tui_file_new): Likewise.
3849 * tui/tui-out.c (tui_out_new): Likewise.
3850 * ui-file.c (mem_file_new): Likewise.
3851 * ui-out.c (push_level): Likewise.
3852 (make_cleanup_ui_out_end): Likewise.
3853 (append_header_to_list): Likewise.
3854 (ui_out_new): Likewise.
3855 * user-regs.c (user_reg_add_builtin): Likewise.
3857 2014-01-13 Tom Tromey <tromey@redhat.com>
3859 * defs.h (XZALLOC): Remove.
3860 * ada-lang.c (get_ada_inferior_data): Use XCNEW, not XZALLOC.
3861 * ada-tasks.c (get_ada_tasks_pspace_data): Likewise.
3862 (get_ada_tasks_inferior_data): Likewise.
3863 * auto-load.c (get_auto_load_pspace_data): Likewise.
3864 * auxv.c (get_auxv_inferior_data): Likewise.
3865 * bfd-target.c (target_bfd_reopen): Likewise.
3866 * breakpoint.c (get_catch_syscall_inferior_data): Likewise.
3867 (deprecated_insert_raw_breakpoint): Likewise.
3868 * bsd-uthread.c (bsd_uthread_pid_to_str): Likewise.
3869 * corelow.c (core_open): Likewise.
3870 * darwin-nat.c (darwin_check_new_threads): Likewise.
3871 (darwin_attach_pid): Likewise.
3872 * dummy-frame.c (dummy_frame_push): Likewise.
3873 * dwarf2-frame.c (dwarf2_frame_cache): Likewise.
3874 * dwarf2loc.c (allocate_piece_closure): Likewise.
3875 * elfread.c (elf_symfile_segments): Likewise.
3876 * eval.c (ptrmath_type_p): Likewise.
3877 * exceptions.c (EXCEPTIONS_SIGJMP_BUF): Likewise.
3878 * gdbtypes.c (alloc_type_arch): Likewise.
3879 (alloc_type_instance): Likewise.
3880 * hppa-tdep.c (hppa_gdbarch_init): Likewise.
3881 * inf-child.c (inf_child_can_use_agent): Likewise.
3882 * inflow.c (get_inflow_inferior_data): Likewise.
3883 * infrun.c (save_infcall_suspend_state): Likewise.
3884 * jit.c (jit_reader_load): Likewise.
3885 (get_jit_objfile_data): Likewise.
3886 (get_jit_program_space_data): Likewise.
3887 (jit_object_open_impl): Likewise.
3888 (jit_symtab_open_impl): Likewise.
3889 (jit_block_open_impl): Likewise.
3890 (jit_frame_sniffer): Likewise.
3891 * linux-fork.c (add_fork): Likewise.
3892 * maint.c (make_command_stats_cleanup): Likewise.
3893 * objfiles.c (get_objfile_pspace_data): Likewise.
3894 * opencl-lang.c (struct lval_closure): Likewise.
3895 * osdata.c (osdata_start_osdata): Likewise.
3896 * progspace.c (new_address_space): Likewise.
3897 (add_program_space): Likewise.
3898 * remote-sim.c (get_sim_inferior_data): Likewise.
3899 * sh-tdep.c (sh_gdbarch_init): Likewise.
3900 * skip.c (Ignore): Likewise.
3901 (skip_delete_command): Likewise.
3902 * solib-aix.c (get_solib_aix_inferior_data): Likewise.
3903 (library_list_start_library): Likewise.
3904 (solib_aix_current_sos): Likewise.
3905 * solib-darwin.c (get_darwin_info): Likewise.
3906 (darwin_current_sos): Likewise.
3907 * solib-dsbt.c (get_dsbt_info): Likewise.
3908 * solib-ia64-hpux.c (new_so_list): Likewise.
3909 (ia64_hpux_get_solib_linkage_addr): Likewise.
3910 * solib-spu.c (append_ocl_sos): Likewise.
3911 (spu_current_sos): Likewise.
3912 * solib-svr4.c (get_svr4_info): Likewise.
3913 (svr4_keep_data_in_core): Likewise.
3914 (library_list_start_library): Likewise.
3915 (svr4_default_sos): Likewise.
3916 (svr4_read_so_list): Likewise.
3917 * solib-target.c (library_list_start_library): Likewise.
3918 (solib_target_current_sos): Likewise.
3919 * sparc-tdep.c (sparc32_gdbarch_init): Likewise.
3920 * symfile-debug.c (install_symfile_debug_logging): Likewise.
3921 * symfile.c (default_symfile_segments): Likewise.
3922 * target-descriptions.c (tdesc_data_init): Likewise.
3923 (tdesc_create_reg): Likewise.
3924 (struct tdesc_type *): Likewise.
3925 (tdesc_create_vector): Likewise.
3926 (tdesc_set_struct_size): Likewise.
3927 (struct tdesc_type *): Likewise.
3928 (tdesc_free_feature): Likewise.
3929 (tdesc_create_feature): Likewise.
3930 * windows-nat.c (windows_add_thread): Likewise.
3931 (windows_make_so): Likewise.
3932 * xml-support.c (gdb_xml_body_text): Likewise.
3933 (gdb_xml_create_parser_and_cleanup): Likewise.
3934 (xml_process_xincludes): Likewise.
3935 * xml-syscall.c (allocate_syscalls_info): Likewise.
3936 (syscall_create_syscall_desc): Likewise.
3938 2014-01-12 Sergio Durigan Junior <sergiodj@redhat.com>
3940 * i386-tdep.c (i386_stap_parse_special_token_triplet): New
3941 function, with code from i386_stap_parse_special_token.
3942 (i386_stap_parse_special_token_three_arg_disp): Likewise.
3943 (i386_stap_parse_special_token): Move code to the two functions
3946 2014-01-09 Pedro Alves <palves@redhat.com>
3947 Hui Zhu <hui@codesourcery.com>
3950 * breakpoint.c (insert_bp_location): Rename hw_bp_err_string to
3951 bp_err_string. Don't mark the location shlib_disabled if the
3952 error thrown wasn't a generic or memory error. Catch errors
3953 thrown while inserting breakpoints in overlayed code. Output
3954 error message of software breakpoints.
3955 * remote.c (remote_insert_breakpoint): If this breakpoint has
3956 target-side commands but this stub doesn't support Z0 packets,
3957 throw NOT_SUPPORTED_ERROR error.
3958 * exceptions.h (enum errors) <NOT_SUPPORTED_ERROR>: New error.
3959 * target.h (target_insert_breakpoint): Extend comment.
3960 (target_insert_hw_breakpoint): Add comment.
3962 2014-01-08 Pedro Alves <palves@redhat.com>
3964 * remote.c (remote_add_thread): Add threads silently if starting
3966 (remote_notice_new_inferior): If in all-stop, and starting up,
3967 don't call notice_new_inferior.
3968 (get_current_thread): New function, factored out from ...
3969 (add_current_inferior_and_thread): ... this. Adjust.
3970 (remote_start_remote) <all-stop>: Fetch the thread list. If we
3971 found any thread, then select the remote's current thread as GDB's
3974 2014-01-08 Joel Brobecker <brobecker@adacore.com>
3976 * NEWS: Create a new section for the next release branch.
3977 Rename the section of the current branch, now that it has
3980 2014-01-08 Joel Brobecker <brobecker@adacore.com>
3982 GDB 7.7 branch created (79301218fa0f074c5656db0ec8972a5ddcf91fb5):
3983 * version.in: Bump version to 7.7.50.DATE-cvs.
3985 2014-01-08 Yao Qi <yao@codesourcery.com>
3987 * spu-linux-nat.c (spu_symbol_file_add_from_memory): Change
3988 type of 'id' to gdb_byte. Cast 'id' to 'const char *'.
3989 (spu_xfer_partial): Cast 'buf' to 'const char *'.
3991 2014-01-08 Yao Qi <yao@codesourcery.com>
3993 * spu-linux-nat.c (spu_symbol_file_add_from_memory): Pass
3994 return value of bfd_get_filename to symbol_file_add_from_bfd.
3996 2014-01-08 Pierre Muller <muller@sourceware.org>
3999 * coff-pe-read.c (struct read_pe_section_data): Add index field.
4000 (add_pe_exported_sym): Use SECTION_DATA->INDEX for call
4001 to prim_record_mininal_symbol_and_info.
4002 (add_pe_forwarded_sym): Use known section number of forwarded symbol
4003 in call to prim_record_minimal_symbol_and_info.
4004 (read_pe_exported_syms): Set index field of section_data.
4006 2014-01-07 Andrew Pinski <apinski@cavium.com>
4008 * features/aarch64-core.xml (cpsr): Change to be 64bit.
4009 * features/aarch64.c: Regenerate.
4011 2014-01-07 Andreas Schwab <schwab@linux-m68k.org>
4013 * target.c (return_null): Define.
4014 (update_current_target): Use it instead of return_zero for
4015 functions that return a pointer.
4017 2014-01-07 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
4019 * source.c (add_path): Fix check for duplicated paths in the previously
4022 2014-01-07 Honggyu Kim <hong.gyu.kim@lge.com>
4024 * ada-lang.c: Remove duplicated include statements.
4025 * alphabsd-nat.c: Ditto.
4026 * amd64-darwin-tdep.c: Ditto.
4027 * amd64fbsd-nat.c: Ditto.
4028 * auto-load.c: Ditto.
4030 * breakpoint.c: Ditto.
4032 * fork-child.c: Ditto.
4033 * gdb_usleep.c: Ditto.
4034 * i386-darwin-tdep.c: Ditto.
4035 * i386fbsd-nat.c: Ditto.
4037 * inferior.c: Ditto.
4039 * linux-nat.c: Ditto.
4040 * linux-tdep.c: Ditto.
4041 * m68kbsd-nat.c: Ditto.
4042 * m68klinux-nat.c: Ditto.
4043 * microblaze-tdep.c: Ditto.
4044 * mips-linux-tdep.c: Ditto.
4045 * mn10300-tdep.c: Ditto.
4046 * nto-tdep.c: Ditto.
4047 * opencl-lang.c: Ditto.
4049 * printcmd.c: Ditto.
4050 * regcache.c: Ditto.
4051 * remote-m32r-sdi.c: Ditto.
4055 * tilegx-linux-nat.c: Ditto.
4056 * tilegx-tdep.c: Ditto.
4057 * tracepoint.c: Ditto.
4059 * vaxbsd-nat.c: Ditto.
4060 * windows-nat.c: Ditto.
4061 * xtensa-tdep.c: Ditto.
4063 2014-01-07 Yao Qi <yao@codesourcery.com>
4065 * spu-linux-nat.c (_initialize_spu_nat): Declare.
4067 2014-01-07 Yao Qi <yao@codesourcery.com>
4068 Joel Brobecker <brobecker@adacore.com>
4070 * aix-thread.c (pdc_read_regs): Cast parameter to uintptr_t.
4071 (pdc_write_regs): Likewise.
4072 (fetch_regs_kernel_thread): Likewise.
4073 (store_regs_kernel_thread): Likewise.
4075 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4077 * ada-varobj.c (ada_varobj_adjust_for_child_access): Convert
4078 tagged type objects to their actual type.
4080 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4082 * ada-valprint.c (print_field_values): Add "language" parameter.
4083 Update calls to print_field_values and print_variant_part.
4084 Pass new parameter "language" in call to val_print instead
4085 of "current_language". Replace call to ada_val_print by call
4087 (print_variant_part): Add "language" parameter.
4088 (ada_val_print_struct_union): Update call to print_field_values.
4090 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4092 * ada-valprint.c (ui_memcpy): Delete.
4093 (ada_print_floating): Update documentation. Add empty line
4094 between between function documentation and implementation.
4095 Delete variable "buffer". Use ui_file_xstrdup in place of
4096 ui_file_put. Minor adjustments following this change.
4098 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4100 * ada-valprint.c (ada_val_print_string): New function,
4101 extracted from ada_val_print_array.
4102 (ada_val_print_array): Replace extracted code by call
4103 to ada_val_print_string followed by a return. Move
4104 "else" branch to the function's top block.
4106 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4108 * ada-valprint.c (ada_val_print_array): Move implementation
4109 down. Rename parameter "offset" and "val" into "offset_aligned"
4110 and "original_value" respectively. Add parameter "offset".
4112 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4114 * ada-valprint.c (ada_val_print_ref): Rewrite by mostly
4115 re-organizing the code. Change the "???" message printed
4116 when target type is a TYPE_CODE_UNDEF into
4117 "<ref to undefined type>".
4119 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4121 * ada-valprint.c (print_record): Delete, implementation inlined...
4122 (ada_val_print_struct_union): ... here. Remove call to
4123 ada_check_typedef in inlined implementation.
4125 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4127 * ada-valprint.c (ada_val_print_gnat_array): New function,
4128 extracted from ada_val_print_1;
4129 (ada_val_print_ptr, ada_val_print_num, ada_val_print_enum)
4130 (ada_val_print_flt, ada_val_print_struct_union)
4131 (ada_val_print_ref): Likewise.
4132 (ada_val_print_1): Delete variables i and elttype.
4133 Replace extracted-out code by call to corresponding
4136 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4138 * ada-valprint.c (ada_val_print_1): Remove call to gdb_flush.
4140 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4142 * ada-valprint.c (ada_val_print_1): Replace calls to
4143 ada_val_print_1 by calls to val_print.
4145 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4147 * ada-valprint.c (ada_val_print_1): Add parameter "language".
4148 Update calls to self accordingly. Replace calls to c_val_print
4149 by calls to val_print.
4151 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4153 * ada-valprint.c (print_record): Delete declaration.
4154 (adjust_type_signedness, ada_val_print_1): Likewise.
4155 (ada_val_print): Move function implementation down.
4156 (print_variant_part, print_field_values, print_record):
4157 Move function implementation up.
4159 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4161 * python/py-type.c (typy_get_name): New function.
4162 (type_object_getset): Add entry for attribute "name".
4163 * NEWS: Add entry mentioning this new attribute.
4165 2014-01-07 Yao Qi <yao@codesourcery.com>
4167 * gnu-nat.c (set_exceptions_cmd): Remove an empty body 'if'
4170 2014-01-07 Yao Qi <yao@codesourcery.com>
4172 * gnu-nat.c (info_port_rights): Add qualifier const to
4175 2014-01-07 Yao Qi <yao@codesourcery.com>
4177 * gnu-nat.c (trace_me): Use 'void' for empty argument list.
4179 2014-01-07 Yao Qi <yao@codesourcery.com>
4181 * gnu-nat.c (make_inf) Update declaration.
4182 (make_inf): Make it static.
4183 (inf_set_traced): Likewise.
4184 (inf_port_to_thread, inf_task_died_status): Likewise.
4186 2014-01-07 Yao Qi <yao@codesourcery.com>
4188 * gnu-nat.c (inf_tid_to_proc): Remove declaration.
4190 2014-01-07 Yao Qi <yao@codesourcery.com>
4192 * gnu-nat.c (_initialize_gnu_nat): Declare.
4194 2014-01-07 Yao Qi <yao@codesourcery.com>
4196 * gdbarch.sh (byte_order, byte_order_for_code): Change type to
4198 (struct gdbarch_info) <byte_order>: Change type to
4200 <byte_order_for_code>: Likewise.
4201 * gdbarch.c, gdbarch.h: Regenerated.
4203 2014-01-06 Sasha Smundak <asmundak@google.com>
4205 * jit.c: (jit_reader_load_command): Fix JIT reader path creation.
4207 2014-01-06 Tom Tromey <tromey@redhat.com>
4209 * doublest.c (convert_doublest_to_floatformat): Use const, not
4211 * somread.c (som_symtab_read): Likewise.
4213 2014-01-07 Hui Zhu <hui@codesourcery.com>
4215 * gdb_bfd.c (gdb_bfd_stash_filename): Removed.
4216 (gdb_bfd_open): Removed gdb_bfd_stash_filename.
4217 (gdb_bfd_fopen): Ditto.
4218 (gdb_bfd_openr): Ditto.
4219 (gdb_bfd_openw): Ditto.
4220 (gdb_bfd_openr_iovec): Ditto.
4221 (gdb_bfd_fdopenr): Ditto.
4222 * gdb_bfd.h (gdb_bfd_stash_filename): Removed.
4223 * solib-aix.c (solib_aix_bfd_open): Alloc object_bfd->filename
4225 * solib-darwin.c (darwin_bfd_open): Alloc res->filename
4227 * symfile-mem.c (symbol_file_add_from_memory): Removed
4228 gdb_bfd_stash_filename.
4230 2014-01-03 Doug Evans <dje@google.com>
4232 * nat/linux-waitpid.c (linux_debug): Remove extraneous \n from
4235 2014-01-01 Joel Brobecker <brobecker@adacore.com>
4237 Update year range in copyright notice of all files.
4239 2014-01-01 Joel Brobecker <brobecker@adacore.com>
4241 * top.c (print_gdb_version): Set copyright year to 2014.
4243 2014-01-01 Joel Brobecker <brobecker@adacore.com>
4245 * config/djgpp/fnchange.lst: Add entry for gdb/ChangeLog-2013.
4247 For older changes see ChangeLog-2013.
4253 version-control: never