1 2014-03-20 Pedro Alves <palves@redhat.com>
3 * breakpoint.c (single_step_breakpoint_inserted_here_p): Make
5 * breakpoint.h (single_step_breakpoint_inserted_here_p): Declare.
6 * infrun.c (saved_singlestep_ptid)
7 (stepping_past_singlestep_breakpoint): Delete.
8 (resume): Remove stepping_past_singlestep_breakpoint handling.
9 (proceed): Store the prev_pc of the stepping thread too.
10 (init_wait_for_inferior): Adjust. Clear singlestep_ptid and
12 (enum infwait_states): Delete infwait_thread_hop_state.
13 (struct execution_control_state) <hit_singlestep_breakpoint>: New
15 (handle_inferior_event): Adjust.
16 (handle_signal_stop): Delete stepping_past_singlestep_breakpoint
17 handling and the thread-hop code. Before removing single-step
18 breakpoints, check whether the thread hit a single-step breakpoint
19 of another thread. If it did, the trap is not a random signal.
20 (switch_back_to_stepped_thread): If the event thread hit a
21 single-step breakpoint, unblock it before switching to the
22 stepping thread. Handle the case of the stepped thread having
24 (keep_going): Handle the case of the current thread moving past a
25 single-step breakpoint.
27 2014-03-20 Pedro Alves <palves@redhat.com>
30 * breakpoint.c (should_be_inserted): Don't insert breakpoints that
31 are being stepped over.
32 (breakpoint_address_match): Make extern.
33 * breakpoint.h (breakpoint_address_match): New declaration.
34 * inferior.h (stepping_past_instruction_at): New declaration.
35 * infrun.c (struct step_over_info): New type.
36 (step_over_info): New global.
37 (set_step_over_info, clear_step_over_info)
38 (stepping_past_instruction_at): New functions.
39 (handle_inferior_event): Clear the step-over info when
40 trap_expected is cleared.
41 (resume): Remove now stale comment.
42 (clear_proceed_status): Clear step-over info.
43 (proceed): Adjust step-over handling to set or clear the step-over
44 info instead of removing all breakpoints.
45 (handle_signal_stop): When setting up a thread-hop, don't remove
47 (stop_stepping): Clear step-over info.
48 (keep_going): Adjust step-over handling to set or clear step-over
49 info and then always inserting breakpoints, instead of removing
50 all breakpoints when stepping over one.
52 2014-03-20 Pedro Alves <palves@redhat.com>
54 * infrun.c (previous_inferior_ptid): Adjust comment.
55 (deferred_step_ptid): Delete.
56 (infrun_thread_ptid_changed, prepare_to_proceed)
57 (init_wait_for_inferior): Adjust.
58 (handle_signal_stop): Delete deferred_step_ptid handling.
60 2014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
63 * defs.h (sync_quit_force_run): New declaration.
64 (QUIT): Check also SYNC_QUIT_FORCE_RUN.
65 * event-top.c (async_sigterm_handler): New declaration.
66 (async_sigterm_token): New variable.
67 (async_init_signals): Create also async_sigterm_token.
68 (async_sigterm_handler): New function.
69 (sync_quit_force_run): New variable.
70 (handle_sigterm): Replace quit_force call by other calls.
71 * utils.c (quit): Call quit_force if SYNC_QUIT_FORCE_RUN.
73 2014-03-18 Maciej W. Rozycki <macro@codesourcery.com>
75 * rs6000-tdep.c (rs6000_frame_cache): Correct little-endian GPR
76 offset into SPE pseudo registers.
78 2014-03-18 Pedro Alves <palves@redhat.com>
81 * inferior.h (print_stop_event): Declare.
82 * infrun.c (print_stop_event): New, factored out from ...
83 (normal_stop): ... this.
84 * mi/mi-interp.c (mi_on_normal_stop): Use print_stop_event instead
85 of bpstat_print/print_stack_frame.
87 2014-03-17 Tom Tromey <tromey@redhat.com>
89 * ui-out.c (clear_table, ui_out_new): Clear uiout->table.id.
91 2014-03-17 Pierre-Marie de Rodat <derodat@adacore.com>
93 * ada-lang.c (decode_constrained_packed_array): Perform a
94 minimal coercion for reference with coerce_ref instead of
97 2014-03-17 Tristan Gingold <gingold@adacore.com>
99 * solib-darwin.c (DYLD_VERSION_MAX): Increase value.
100 (darwin_solib_create_inferior_hook): Emit a warning if version
103 2014-03-16 Ulrich Weigand <uweigand@de.ibm.com>
105 * python/py-value.c (get_field_flag): Cast flag_name argument to
106 PyObject_GetAttrString to support Python 2.4.
108 2014-03-14 Jan Kratochvil <jan.kratochvil@redhat.com>
110 * MAINTAINERS (The Official FSF-appointed GDB Maintainers)
111 (Global Maintainers): Remove Jan Kratochvil.
113 2014-03-14 Pedro Alves <palves@redhat.com>
115 * inferior.h (terminal_ours_for_output): Rename to ...
116 (child_terminal_ours_for_output): ... this.
117 (terminal_save_ours): Rename to ...
118 (child_terminal_save_ours): ... this.
119 (terminal_ours): Rename to ...
120 (child_terminal_ours): ... this.
121 (terminal_inferior): Rename to ...
122 (child_terminal_inferior): ... this.
123 (terminal_init_inferior): Rename to ...
124 (child_terminal_init_inferior): ... this.
125 (terminal_init_inferior_with_pgrp): Rename to ...
126 (child_terminal_init_inferior_with_pgrp): ... this.
127 * inflow.c (terminal_init_inferior_with_pgrp): Rename to ...
128 (child_terminal_init_with_pgrp): ... this.
129 (terminal_save_ours): Rename to ...
130 (child_terminal_save_ours): ... this.
131 (terminal_init_inferior): Rename to ...
132 (child_terminal_init): ... this. Adjust.
133 (terminal_inferior): Rename to ...
134 (child_terminal_inferior): ... this.
135 (terminal_ours_for_output): Rename to ...
136 (child_terminal_ours_for_output): ... this. Adjust.
137 (terminal_ours): Rename to ...
138 (child_terminal_ours): ... this.
139 (terminal_ours_1): Rename to ...
140 (child_terminal_ours_1): ... this. Adjust.
141 * linux-nat.c (linux_nat_terminal_inferior): Adjust.
142 * windows-nat.c (do_initial_windows_stuff): Adjust.
143 * gnu-nat.c (gnu_terminal_init_inferior): Rename to ...
144 (gnu_terminal_init): ... this. Adjust.
145 (gnu_target): Adjust.
146 * inf-child.c (inf_child_target): Adjust.
148 2014-03-13 Doug Evans <xdje42@gmail.com>
151 * guile/scm-type.c (tyscm_copy_type_recursive): Move type to its
154 2014-03-13 Doug Evans <xdje42@gmail.com>
156 * value.c (record_latest_value): Call release_value_or_incref
157 instead of release_value.
159 2014-03-13 Pedro Alves <palves@redhat.com>
161 * procfs.c (procfs_target): Don't override to_shortname,
162 to_longname or to_doc.
164 2014-03-13 Pedro Alves <palves@redhat.com>
166 * inf-child.c (inf_child_open, inf_child_target): Don't mention
167 Unix in user visible strings.
169 2014-03-12 Stan Shebs <stan@codesourcery.com>
171 * gdbtypes.h: Annotate comments for Doxygen, add a page
172 block comment with some general info.
174 2014-03-12 Pedro Alves <palves@redhat.com>
176 * infcmd.c (prepare_execution_command): New function, factored out
177 from several execution commands.
178 (run_command_1, continue_command, step_1, jump_command)
179 (signal_command, until_command, advance_command, finish_command)
180 (attach_command): Use prepare_execution_command.
182 2014-03-12 Omair Javaid <omair.javaid@linaro.org>
184 * arm-linux-nat.c (arm_linux_get_hwbp_cap): Updated.
187 (struct arm_linux_thread_points): Removed.
188 (struct arm_linux_process_info): New.
189 (DEF_VEC_P (arm_linux_thread_points_p)): Removed.
190 (VEC(arm_linux_thread_points_p) *arm_threads): Removed.
191 (arm_linux_find_breakpoints_by_tid): Removed.
192 (struct arch_lwp_info): New.
193 (arm_linux_find_process_pid): New functions.
194 (arm_linux_add_process): New functions.
195 (arm_linux_process_info_get): New functions.
196 (arm_linux_forget_process): New function.
197 (arm_linux_get_debug_reg_state): New function.
198 (struct update_registers_data): New.
199 (update_registers_callback): New function.
200 (arm_linux_insert_hw_breakpoint1): Updated.
201 (arm_linux_remove_hw_breakpoint1): Updated.
202 (arm_linux_insert_hw_breakpoint): Updated.
203 (arm_linux_remove_hw_breakpoint): Updated.
204 (arm_linux_insert_watchpoint): Updated.
205 (arm_linux_remove_watchpoint): Updated.
206 (arm_linux_new_thread): Updated.
207 (arm_linux_prepare_to_resume): New function.
208 (arm_linux_new_fork): New function.
209 (_initialize_arm_linux_nat): Updated.
211 2014-03-12 Pedro Alves <palves@redhat.com>
213 * Makefile.in (TARGET_FLAGS_TO_PASS): Add TESTS.
215 2014-03-12 Tom Tromey <tromey@redhat.com>
217 * inf-child.c (return_zero): New function.
218 (inf_child_target): Set to_can_async_p, to_supports_non_stop.
219 * aix-thread.c (aix_thread_inferior_created): New function.
220 (aix_thread_attach): Remove.
221 (init_aix_thread_ops): Don't set to_attach.
222 (_initialize_aix_thread): Register inferior_created observer.
223 * corelow.c (init_core_ops): Don't set to_attach or
225 * exec.c (init_exec_ops): Don't set to_attach or
227 * infcmd.c (run_command_1): Use find_run_target. Make direct
229 (attach_command): Use find_attach_target. Make direct target
231 * record-btrace.c (init_record_btrace_ops): Don't set
233 * record-full.c (record_full_can_async_p, record_full_is_async_p):
235 (init_record_full_ops, init_record_full_core_ops): Update. Don't
236 set to_create_inferior.
237 * target.c (complete_target_initialization): Add assertion.
238 (target_create_inferior): Remove.
239 (find_default_attach, find_default_create_inferior): Remove.
240 (find_attach_target, find_run_target): New functions.
241 (find_default_is_async_p, find_default_can_async_p)
242 (target_supports_non_stop, target_attach): Remove.
243 (init_dummy_target): Don't set to_create_inferior or
244 to_supports_non_stop.
245 * target.h (struct target_ops) <to_attach>: Add comment. Remove
247 <to_create_inferior>: Add comment.
248 <to_can_async_p, to_is_async_p, to_supports_non_stop>: Use
249 TARGET_DEFAULT_RETURN.
250 <to_can_async_p, to_supports_non_stop, to_can_run>: Add comments.
251 (find_attach_target, find_run_target): Declare.
252 (target_create_inferior): Remove.
253 (target_has_execution_1): Update comment.
254 (target_supports_non_stop): Remove.
255 * target-delegates.c: Rebuild.
257 2014-03-12 Pedro Alves <palves@redhat.com>
259 * inf-child.h: Update comment to not mention Unix.
261 2014-03-12 Pedro Alves <palves@redhat.com>
263 * inf-child.c: Update top comment to not mention Unix. Add
264 generic comment describing how this target is meant to be used.
265 (inf_child_post_attach, inf_child_post_startup_inferior)
266 (inf_child_follow_fork, inf_child_pid_to_exec_file): Don't mention
269 2014-03-12 Pedro Alves <palves@redhat.com>
271 * nto-procfs.c: Include inf-child.h.
272 (procfs_ops): Delete global.
273 (procfs_can_run): Delete method.
274 (procfs_detach, procfs_mourn_inferior): Unpush the passed in
275 target pointer instead of referencing procfs_ops.
276 (procfs_prepare_to_store): Delete.
277 (init_procfs_ops): Delete function.
278 (procfs_target): New function, based on init_procfs_ops, but
279 inherit inf_child_target.
280 (_initialize_procfs): Use procfs_target.
282 2014-03-12 Pedro Alves <palves@redhat.com>
284 * windows-nat.c: Include inf-child.h.
285 (windows_ops): Delete global.
286 (windows_open, windows_prepare_to_store, windows_can_run): Delete
288 (init_windows_ops): Delete function.
289 (windows_target): New function, based on init_windows_ops, but
290 inherit inf_child_target.
291 (_initialize_windows_nat): Use windows_target. Install x86
292 specific target methods here.
294 2014-03-10 Doug Evans <xdje42@gmail.com>
296 * guile/guile.c (call_initialize_gdb_module): New function.
297 (initialize_guile): Replace call to scm_init_guile with call to
300 2014-03-10 Joel Brobecker <brobecker@adacore.com>
302 * ada-lang.c (ada_evaluate_subexp): Add missing space before '('
303 in call to TYPE_CODE macro.
305 2014-03-10 Jerome Guitton <guitton@adacore.com>
307 * ada-lang.c (ada_evaluate_subexp) <UNOP_IND, STRUCTOP_STRUCT>:
308 Resolve tagged types to full view.
310 2014-03-10 Hui Zhu <hui@codesourcery.com>
312 * target.h (target_insert_breakpoint): Remove "hardware" from its
315 2014-03-07 Doug Evans <dje@google.com>
317 * dwarf2read.c (read_str_index): Rename local dwo_name to objf_name.
319 2014-03-07 Doug Evans <dje@google.com>
321 * dwarf2read.c (read_cutu_die_from_dwo): Fix function comment.
322 Remove unused local comp_dir_attr. Assert exactly one of
323 stub_comp_unit_die, stub_comp_dir is non-NULL.
325 2014-03-07 Joel Brobecker <brobecker@adacore.com>
327 * target.h (complete_target_initialization, add_target):
330 2014-03-07 Pedro Alves <palves@redhat.com>
332 * go32-nat.c: Include inf-child.h.
333 (go32_ops): Delete global.
334 (go32_close, go32_detach, go32_prepare_to_store, go32_can_run):
336 (go32_create_inferior): Push the passed in target pointer instead
337 of referencing go32_ops.
338 (init_go32_ops): Delete function. Moved parts to _initialize_go32_nat.
339 (go32_target): New function, based on init_go32_ops, but inherit
341 (_initialize_go32_nat): Use go32_target. Move parts of
344 2014-03-06 Joel Brobecker <brobecker@adacore.com>
346 * sol-thread.c: #include "symtab.h", "minsym.h" and "objfiles.h".
347 (ps_pglobal_lookup): Use BMSYMBOL_VALUE_ADDRESS instead of
348 SYMBOL_VALUE_ADDRESS.
349 (info_cb): MSYMBOL_PRINT_NAME instead of SYMBOL_PRINT_NAME.
351 2014-03-06 Yao Qi <yao@codesourcery.com>
353 * breakpoint.c (get_tracepoint_by_number): Remove argument
354 optional_p. All callers updated. Adjust comments. Update
356 * breakpoint.h (get_tracepoint_by_number): Update declaration.
358 2014-03-06 Yao Qi <yao@codesourcery.com>
360 * reverse.c (goto_bookmark_command): Add local 'p'. Emit error
361 early if get_number returns zero. Use 'p' instead of 'args'.
363 2014-03-06 Yao Qi <yao@codesourcery.com>
365 * cli/cli-utils.c (get_number_trailer): Add '\n' at the end of
368 2014-03-06 Yao Qi <yao@codesourcery.com>
371 * tracepoint.c (check_trace_running): New function.
372 (trace_find_command): Move code to check_trace_running and
373 call check_trace_running.
374 (trace_find_pc_command): Likewise.
375 (trace_find_tracepoint_command): Likewise.
376 (trace_find_line_command): Likewise.
377 (trace_find_range_command): Likewise.
378 * tracepoint.h (check_trace_running): Likewise.
379 * mi/mi-main.c (mi_cmd_trace_find): Call check_trace_running.
381 2014-03-06 Yao Qi <yao@codesourcery.com>
383 * target.h (struct target_ops) <to_traceframe_info>: Use
384 TARGET_DEFAULT_NORETURN (tcomplain ()).
385 * target-delegates.c: Regenerated.
387 2014-03-05 Pedro Alves <palves@redhat.com>
390 * dcache.c (dcache_poke_byte): Constify ptr parameter. Return
391 void. Update comment.
392 (dcache_xfer_memory): Delete.
393 (dcache_read_memory_partial): New, based on the read bits of
395 (dcache_update): Add status parameter. Use ULONGEST for len, and
396 adjust. Discard cache lines if the reason for the update was
398 * dcache.h (dcache_xfer_memory): Delete declaration.
399 (dcache_read_memory_partial): New declaration.
400 (dcache_update): Update prototype.
401 * target.c (raw_memory_xfer_partial): Update the dcache here.
402 (memory_xfer_partial_1): Don't handle dcache writes here.
404 2014-03-05 Mike Frysinger <vapier@gentoo.org>
406 * remote-sim.c (gdbsim_load): Add const to prog.
408 2014-03-03 Tom Tromey <tromey@redhat.com>
410 * elfread.c (probe_key): Change to bfd_data.
411 (elf_get_probes, probe_key_free, _initialize_elfread): Probes are
412 now per-BFD, not per-objfile.
413 * stap-probe.c (stap_probe_destroy): Update comment.
414 (handle_stap_probe): Allocate on the per-BFD obstack.
416 2014-03-03 Tom Tromey <tromey@redhat.com>
418 * break-catch-throw.c (fetch_probe_arguments): Use bound probes.
419 * breakpoint.c (create_longjmp_master_breakpoint): Use
421 (add_location_to_breakpoint, bkpt_probe_insert_location)
422 (bkpt_probe_remove_location): Update.
423 * breakpoint.h (struct bp_location) <probe>: Now a bound_probe.
424 * elfread.c (elf_symfile_relocate_probe): Remove.
425 (elf_probe_fns): Update.
426 (insert_exception_resume_breakpoint): Change type of "probe"
427 parameter to bound_probe.
428 (check_exception_resume): Update.
429 * objfiles.c (objfile_relocate1): Don't relocate probes.
430 * probe.c (bound_probe_s): New typedef.
431 (parse_probes): Use get_probe_address. Set sal's objfile.
432 (find_probe_by_pc): Return a bound_probe.
433 (collect_probes): Return a VEC(bound_probe_s).
434 (compare_probes): Update.
435 (gen_ui_out_table_header_info): Change type of "probes"
437 (info_probes_for_ops): Update.
438 (get_probe_address): New function.
439 (probe_safe_evaluate_at_pc): Update.
440 * probe.h (struct probe_ops) <get_probe_address>: New field.
441 <set_semaphore, clear_semaphore>: Add objfile parameter.
442 (struct probe) <objfile>: Remove field.
444 <address>: Update comment.
445 (struct bound_probe): New.
446 (find_probe_by_pc): Return a bound_probe.
447 (get_probe_address): Declare.
448 * solib-svr4.c (struct probe_and_action) <address>: New field.
449 (hash_probe_and_action, equal_probe_and_action): Update.
450 (register_solib_event_probe): Add address parameter.
451 (solib_event_probe_at): Update.
452 (svr4_create_probe_breakpoints): Add objfile parameter. Use
454 * stap-probe.c (struct stap_probe) <sem_addr>: Update comment.
455 (stap_get_probe_address): New function.
456 (stap_can_evaluate_probe_arguments, compute_probe_arg)
457 (compile_probe_arg): Update.
458 (stap_set_semaphore, stap_clear_semaphore): Compute semaphore's
460 (handle_stap_probe): Don't relocate the probe.
461 (stap_relocate): Remove.
462 (stap_gen_info_probes_table_values): Update.
463 (stap_probe_ops): Remove stap_relocate.
464 * symfile-debug.c (debug_sym_relocate_probe): Remove.
465 (debug_sym_probe_fns): Update.
466 * symfile.h (struct sym_probe_fns) <sym_relocate_probe>: Remove.
467 * symtab.c (init_sal): Use memset.
468 * symtab.h (struct symtab_and_line) <objfile>: New field.
469 * tracepoint.c (start_tracing, stop_tracing): Update.
471 2014-03-03 Tom Tromey <tromey@redhat.com>
473 * probe.h (parse_probes, find_probe_by_pc)
474 (find_probes_in_objfile): Fix comments.
476 2014-03-02 Doug Evans <xdje42@gmail.com>
478 * infrun.c (handle_signal_stop): Replace test for
479 TARGET_WAITKIND_STOPPED with an assert.
481 2014-03-02 Doug Evans <xdje42@gmail.com>
483 * guile/scm-objfile.c (ofscm_mark_objfile_smob): Fix typo in comment.
485 2014-03-02 Doug Evans <xdje42@gmail.com>
487 * guile/lib/gdb/printing.scm (append-pretty-printer!): Fix thinko.
489 2014-03-01 Mark Kettenis <kettenis@gnu.org>
491 * obsd-nat.c: Include "gdb_wait.h" instead of <sys/wait.h>.
493 2014-03-01 Mark Kettenis <kettenis@gnu.org>
495 * i386obsd-nat.c: Include "obsd-nat.h".
496 (_initialize_i386obsd_nat): Call obsd_add_target instead of
498 * config/i386/obsd.mh (NATDEPFILES): Add obsd-nat.o.
500 2014-03-01 Mark Kettenis <kettenis@gnu.org>
502 * i386obsd-nat.c (i386obsd_supply_pcb): Cast 'sf' to 'gdb_byte *'.
504 2014-03-01 Mark Kettenis <kettenis@gnu.org>
506 * mips64obsd-nat.c: Include "obsd-nath".
507 (_initialize_mips64obsd_nat): Call obsd_add_target instead of
509 * config/mips/obsd64.mh (NATDEPFILES): Add obsd-nat.o.
511 2014-03-01 Mark Kettenis <kettenis@gnu.org>
513 * amd64obsd-nat.c: Include "obsd-nat,h.
514 (_initialize_amd64obsd_nat): Call obsd_add_target instead of
516 * config/i386/obsd64.mh (NATDEPFILES): Add obsd-nat.o.
518 2014-02-28 Siva Chandra Reddy <sivachandra@google.com>
520 * valops.c (find_oload_champ): Remove unneccesary argument METHOD.
521 (find_overload_match): Update call to find_oload_champ.
522 (find_oload_champ_namespace_loop): Likewise
524 2014-02-28 Mark Kettenis <kettenis@gnu.org>
526 * Makefile.in (ALLDEPFILES): Add sparc64obsd-nat.c.
528 * configure.host (sparc64-*-openbsd*): Set gdb_host to obsd64.
529 * config/sparc/obsd64.mh: New file.
530 * sparc64obsd-nat.c: New file.
532 * obsd-nat.h: New file.
533 * obsd-nat.c: New file.
534 * Makefile.in (HFILES_NO_SRCDIR): Add obsd-nat.h.
535 (ALLDEPFILES): Add obsd-nat.c.
537 2014-02-28 Tom Tromey <tromey@redhat.com>
539 * cli-out.c (cli_ui_out_impl): Now const. Remove comment.
540 * cli-out.h (cli_ui_out_impl): Now const.
541 * mi/mi-out.c (mi_ui_out_impl): Now const. Remove comment.
542 * ui-out.c (struct ui_out) <impl>: Now const.
543 (default_ui_out_impl): Now const.
544 (ui_out_new): Make 'impl' parameter const.
545 * ui-out.h (ui_out_new): Update.
547 2014-02-27 Mark Kettenis <kettenis@gnu.org>
549 * solib-svr4.c (svr4_read_so_list): Initialize first_l_name to 0.
551 2014-02-27 Mark Kettenis <kettenis@gnu.org>
553 * sparc-nat.c (sparc_xfer_wcookie): Always use process ID.
555 2014-02-27 Jan Kratochvil <jan.kratochvil@redhat.com>
557 Additional PR 8882 fix.
558 * solib-svr4.c (svr4_read_so_list): Change first to first_l_name.
560 2014-02-27 Pedro Alves <palves@redhat.com>
562 * nat/linux-waitpid.c (my_waitpid): Only block signals if WNOHANG
565 2014-02-27 Pedro Alves <palves@redhat.com>
568 * linux-nat.c (status_to_str): Moved to nat/linux-waitpid.c.
569 * nat/linux-waitpid.c: Include string.h.
570 (status_to_str): Moved here and made extern.
571 * nat/linux-waitpid.h (status_to_str): New declaration.
573 2014-02-27 Hui Zhu <hui@codesourcery.com>
576 * infrun.c (ptid_match): Move ...
577 * common/ptid.c (ptid_match): ... here.
578 * inferior.h (ptid_match): Move ...
579 * common/ptid.h (ptid_match): ... here.
581 2014-02-27 Mark Kettenis <kettenis@gnu.org>
583 * mips64obsd-tdep.c (mips64obsd_init_abi): Call obsd_init_abi.
584 * configure.tgt (mips64*-*-openbsd*): Add obsd-tdep.c to
587 2014-02-27 Mark Kettenis <kettenis@gnu.org>
589 * obsd-tdep.c (obsd_auxv_parse): New function.
590 (obsd_init_abi): Set auxv_parse.
592 * gdbarch.sh (auxv_parse): New.
593 * gdbarch.h: Regenerated.
594 * gdbarch.c: Regenerated.
595 * auxv.c (target_auxv_parse): Call gdbarch_parse_auxv if provided.
597 2014-02-26 Ludovic Courtès <ludo@gnu.org>
599 * guile/scm-value.c (gdbscm_history_append_x): New function.
600 (value_functions): Add it.
602 2014-02-27 Joel Brobecker <brobecker@adacore.com>
604 * dwarf2read.c (attr_value_as_address): New function.
605 (dwarf2_find_base_address, read_call_site_scope): Use
606 attr_value_as_address in place of DW_ADDR.
607 (dwarf2_get_pc_bounds): Use attr_value_as_address to get
608 the low and high addresses. Slight rework of the handling
609 of the high pc being a constant form, and limit it to
610 DWARF verson 4 or higher.
611 (dwarf2_record_block_ranges): Likewise.
612 (read_partial_die): Likewise.
613 (new_symbol_full): Use attr_value_as_address in place of DW_ADDR.
615 2014-02-26 Tom Tromey <tromey@redhat.com>
617 * exec.c (exec_file_attach): Hold a reference to exec_bfd.
619 2014-02-26 Tom Tromey <tromey@redhat.com>
621 * elfread.c (elf_read_minimal_symbols): Return early if
622 minimal symbols have already been read. Add "ei" parameter.
623 (elf_symfile_read): Call elf_read_minimal_symbols earlier.
624 * minsyms.c (prim_record_minimal_symbol_full): Update.
625 * objfiles.h (struct objstats) <n_minsyms>: Move...
626 (struct objfile_per_bfd_storage) <n_minsyms>: ... here.
627 * symmisc.c (print_objfile_statistics): Update.
629 2014-02-26 Tom Tromey <tromey@redhat.com>
631 * elfread.c (elf_read_minimal_symbols): New function, from
633 (elf_symfile_read): Call it.
635 2014-02-26 Tom Tromey <tromey@redhat.com>
637 * minsyms.c (lookup_minimal_symbol, iterate_over_minimal_symbols)
638 (lookup_minimal_symbol_text, lookup_minimal_symbol_by_pc_name)
639 (lookup_minimal_symbol_solib_trampoline)
640 (lookup_minimal_symbol_by_pc_section_1)
641 (lookup_minimal_symbol_and_objfile): Update.
642 (prim_record_minimal_symbol_full): Use the per-BFD obstack.
643 Don't allocate a minimal symbol if minsyms have already been read.
644 (build_minimal_symbol_hash_tables): Update.
645 (install_minimal_symbols): Do nothing if minsyms already read.
646 Use the per-BFD obstack.
647 (terminate_minimal_symbol_table): Use the per-BFD obstack.
648 * objfiles.c (allocate_objfile): Call
649 terminate_minimal_symbol_table later.
650 (have_minimal_symbols): Update.
651 * objfiles.h (struct objfile_per_bfd_storage) <msymbols,
652 minimal_symbol_count, msymbol_hash, msymbol_demangled_hash>:
653 Move from struct objfile.
654 <minsyms_read>: New field.
655 (struct objfile) <msymbols, minimal_symbol_count,
656 msymbol_hash, msymbol_demangled_hash>: Move.
657 (ALL_OBJFILE_MSYMBOLS): Update.
658 * symfile.c (read_symbols): Set minsyms_read.
659 (reread_symbols): Update.
660 * symmisc.c (dump_objfile, dump_msymbols): Update.
662 2014-02-26 Tom Tromey <tromey@redhat.com>
664 * minsyms.c (msymbols_sort): Remove.
665 * minsyms.h (msymbols_sort): Remove.
666 * objfiles.c (objfile_relocate1): Don't relocate minsyms.
667 * symtab.h (MSYMBOL_VALUE_ADDRESS): Use objfile offsets.
668 * elfread.c (elf_symtab_read): Don't add section offsets.
669 * xcoffread.c (record_minimal_symbol): Don't add section offset
670 to minimal symbol address.
671 * somread.c (text_offset, data_offset): Remove.
672 (som_symtab_read): Don't add section offsets to minimal symbol
674 * coff-pe-read.c (add_pe_forwarded_sym, read_pe_exported_syms):
675 Don't add section offsets to minimal symbols.
676 * coffread.c (coff_symtab_read): Don't add section offsets
677 to minimal symbol addresses.
678 * machoread.c (macho_symtab_add_minsym): Don't add section offset
679 to minimal symbol addresses.
680 * mipsread.c (read_alphacoff_dynamic_symtab): Don't add
681 section offset to minimal symbol addresses.
682 * mdebugread.c (parse_partial_symbols): Don't add section
683 offset to minimal symbol addresses.
684 * dbxread.c (read_dbx_dynamic_symtab): Don't add section
685 offset to minimal symbol addresses.
687 2014-02-26 Tom Tromey <tromey@redhat.com>
689 * ada-lang.c (ada_main_name): Update.
690 (ada_add_standard_exceptions): Update.
691 * ada-tasks.c (ada_tasks_inferior_data_sniffer): Update.
692 * aix-thread.c (pdc_symbol_addrs, pd_enable): Update.
693 * arm-tdep.c (skip_prologue_function, arm_skip_stub): Update.
694 * auxv.c (ld_so_xfer_auxv): Update.
695 * avr-tdep.c (avr_scan_prologue): Update.
696 * ax-gdb.c (gen_var_ref): Update.
697 * blockframe.c (get_pc_function_start)
698 (find_pc_partial_function_gnu_ifunc): Update.
699 * breakpoint.c (create_overlay_event_breakpoint)
700 (create_longjmp_master_breakpoint)
701 (create_std_terminate_master_breakpoint)
702 (create_exception_master_breakpoint): Update.
703 * bsd-uthread.c (bsd_uthread_lookup_address): Update.
704 * c-valprint.c (c_val_print): Update.
705 * coff-pe-read.c (add_pe_forwarded_sym): Update.
706 * common/agent.c (agent_look_up_symbols): Update.
707 * dbxread.c (find_stab_function_addr, end_psymtab): Update.
708 * dwarf2loc.c (call_site_to_target_addr): Update.
709 * dwarf2read.c (dw2_find_pc_sect_symtab): Update.
710 * elfread.c (elf_gnu_ifunc_record_cache)
711 (elf_gnu_ifunc_resolve_by_got): Update.
712 * findvar.c (default_read_var_value): Update.
713 * frame.c (inside_main_func): Update.
714 * frv-tdep.c (frv_frame_this_id): Update.
715 * glibc-tdep.c (glibc_skip_solib_resolver): Update.
716 * gnu-v3-abi.c (gnuv3_get_typeid, gnuv3_skip_trampoline):
718 * hppa-hpux-tdep.c (hppa64_hpux_search_dummy_call_sequence)
719 (hppa_hpux_find_dummy_bpaddr): Update.
720 * hppa-tdep.c (hppa_symbol_address): Update.
721 * infcmd.c (until_next_command): Update.
722 * jit.c (jit_read_descriptor, jit_breakpoint_re_set_internal):
724 * linespec.c (minsym_found, add_minsym): Update.
725 * linux-nat.c (get_signo): Update.
726 * linux-thread-db.c (inferior_has_bug): Update.
727 * m32c-tdep.c (m32c_return_value)
728 (m32c_m16c_address_to_pointer): Update.
729 * m32r-tdep.c (m32r_frame_this_id): Update.
730 * m68hc11-tdep.c (m68hc11_get_register_info): Update.
731 * machoread.c (macho_resolve_oso_sym_with_minsym): Update.
732 * maint.c (maintenance_translate_address): Update.
733 * minsyms.c (lookup_minimal_symbol_by_pc_name): Update.
734 (frob_address): New function.
735 (lookup_minimal_symbol_by_pc_section_1): Use raw addresses,
736 frob_address. Rename parameter to "pc_in".
737 (compare_minimal_symbols, compact_minimal_symbols): Use raw
739 (find_solib_trampoline_target, minimal_symbol_upper_bound):
741 * mips-linux-tdep.c (mips_linux_skip_resolver): Update.
742 * mips-tdep.c (mips_skip_pic_trampoline_code): Update.
743 * objc-lang.c (find_objc_msgsend): Update.
744 * objfiles.c (objfile_relocate1): Update.
745 * obsd-tdep.c (obsd_skip_solib_resolver): Update.
746 * p-valprint.c (pascal_val_print): Update.
747 * parse.c (write_exp_msymbol): Update.
748 * ppc-linux-tdep.c (ppc_linux_spe_context_lookup)
749 (ppc_elfv2_skip_entrypoint): Update.
750 * ppc-sysv-tdep.c (convert_code_addr_to_desc_addr): Update.
751 * printcmd.c (build_address_symbolic, msym_info)
752 (address_info): Update.
753 * proc-service.c (ps_pglobal_lookup): Update.
754 * psymtab.c (find_pc_sect_psymtab_closer)
755 (find_pc_sect_psymtab, find_pc_sect_symtab_from_partial):
756 Change msymbol parameter to bound_minimal_symbol.
757 * ravenscar-thread.c (get_running_thread_id): Update.
758 * remote.c (remote_check_symbols): Update.
759 * sh64-tdep.c (sh64_elf_make_msymbol_special): Use raw
761 * sol2-tdep.c (sol2_skip_solib_resolver): Update.
762 * solib-dsbt.c (lm_base): Update.
763 * solib-frv.c (lm_base, main_got): Update.
764 * solib-irix.c (locate_base): Update.
765 * solib-som.c (som_solib_create_inferior_hook)
766 (link_map_start): Update.
767 * solib-spu.c (spu_enable_break, ocl_enable_break): Update.
768 * solib-svr4.c (elf_locate_base, enable_break): Update.
769 * spu-tdep.c (spu_get_overlay_table, spu_catch_start)
770 (flush_ea_cache): Update.
771 * stabsread.c (define_symbol, scan_file_globals): Update.
772 * stack.c (find_frame_funname): Update.
773 * symfile-debug.c (debug_qf_expand_symtabs_matching)
774 (debug_qf_find_pc_sect_symtab): Update.
775 * symfile.c (simple_read_overlay_table)
776 (simple_overlay_update): Update.
777 * symfile.h (struct quick_symbol_functions)
778 <find_pc_sect_symtab>: Change type of msymbol to
779 bound_minimal_symbol.
780 * symmisc.c (dump_msymbols): Update.
781 * symtab.c (find_pc_sect_symtab_via_partial)
782 (find_pc_sect_psymtab, find_pc_sect_line, skip_prologue_sal)
783 (search_symbols, print_msymbol_info): Update.
784 * symtab.h (MSYMBOL_VALUE_RAW_ADDRESS): New macro.
785 (MSYMBOL_VALUE_ADDRESS): Redefine.
786 (BMSYMBOL_VALUE_ADDRESS): New macro.
787 * tracepoint.c (scope_info): Update.
788 * tui/tui-disasm.c (tui_find_disassembly_address)
789 (tui_get_begin_asm_address): Update.
790 * valops.c (find_function_in_inferior): Update.
791 * value.c (value_static_field, value_fn_field): Update.
793 2014-02-26 Tom Tromey <tromey@redhat.com>
795 * ada-lang.c (ada_update_initial_language): Update.
796 (ada_main_name, ada_has_this_exception_support): Update.
797 * ada-tasks.c (ada_tasks_inferior_data_sniffer): Update.
798 * aix-thread.c (pdc_symbol_addrs, pd_enable): Update.
799 * arm-tdep.c (arm_skip_stub): Update.
800 * auxv.c (ld_so_xfer_auxv): Update.
801 * avr-tdep.c (avr_scan_prologue): Update.
802 * ax-gdb.c (gen_var_ref): Update.
803 * breakpoint.c (struct breakpoint_objfile_data)
804 <overlay_msym, longjmp_msym, terminate_msym, exception_msym>: Change
805 type to bound_minimal_symbol.
806 (create_overlay_event_breakpoint)
807 (create_longjmp_master_breakpoint)
808 (create_std_terminate_master_breakpoint)
809 (create_exception_master_breakpoint): Update.
810 * bsd-uthread.c (bsd_uthread_lookup_address): Update.
811 * c-exp.y (classify_name): Update.
812 * coffread.c (coff_symfile_read): Update.
813 * common/agent.c (agent_look_up_symbols): Update.
814 * d-lang.c (d_main_name): Update.
815 * dbxread.c (find_stab_function_addr, end_psymtab): Update.
816 * dec-thread.c (enable_dec_thread): Update.
817 * dwarf2loc.c (call_site_to_target_addr): Update.
818 * elfread.c (elf_gnu_ifunc_resolve_by_got): Update.
819 * eval.c (evaluate_subexp_standard): Update.
820 * findvar.c (struct minsym_lookup_data) <result>: Change type
821 to bound_minimal_symbol.
823 (minsym_lookup_iterator_cb, default_read_var_value): Update.
824 * frame.c (inside_main_func): Update.
825 * frv-tdep.c (frv_frame_this_id): Update.
826 * gcore.c (call_target_sbrk): Update.
827 * glibc-tdep.c (glibc_skip_solib_resolver): Update.
828 * gnu-v3-abi.c (gnuv3_get_typeid, gnuv3_skip_trampoline):
830 * go-lang.c (go_main_name): Update.
831 * hppa-hpux-tdep.c (hppa_hpux_skip_trampoline_code)
832 (hppa_hpux_find_import_stub_for_addr): Update.
833 * hppa-tdep.c (hppa_extract_17, hppa_lookup_stub_minimal_symbol):
834 Update. Change return type.
835 * hppa-tdep.h (hppa_lookup_stub_minimal_symbol): Change return
837 * jit.c (jit_breakpoint_re_set_internal): Update.
838 * linux-fork.c (inferior_call_waitpid, checkpoint_command):
840 * linux-nat.c (get_signo): Update.
841 * linux-thread-db.c (inferior_has_bug): Update
842 * m32c-tdep.c (m32c_return_value)
843 (m32c_m16c_address_to_pointer): Update.
844 * m32r-tdep.c (m32r_frame_this_id): Update.
845 * m68hc11-tdep.c (m68hc11_get_register_info): Update.
846 * machoread.c (macho_resolve_oso_sym_with_minsym): Update.
847 * minsyms.c (lookup_minimal_symbol_internal): Rename to
848 lookup_minimal_symbol. Change return type.
849 (lookup_minimal_symbol): Remove.
850 (lookup_bound_minimal_symbol): Update.
851 (lookup_minimal_symbol_text): Change return type.
852 (lookup_minimal_symbol_solib_trampoline): Change return type.
853 * minsyms.h (lookup_minimal_symbol, lookup_minimal_symbol_text)
854 (lookup_minimal_symbol_solib_trampoline): Change return type.
855 * mips-linux-tdep.c (mips_linux_skip_resolver): Update.
856 * objc-lang.c (lookup_objc_class, lookup_child_selector)
857 (value_nsstring, find_imps): Update.
858 * obsd-tdep.c (obsd_skip_solib_resolver): Update.
859 * p-lang.c (pascal_main_name): Update.
860 * ppc-linux-tdep.c (ppc_linux_spe_context_lookup): Update.
861 * ppc-sysv-tdep.c (convert_code_addr_to_desc_addr): Update.
862 * proc-service.c (ps_pglobal_lookup): Update.
863 * ravenscar-thread.c (get_running_thread_msymbol): Change
865 (has_ravenscar_runtime, get_running_thread_id): Update.
866 * remote.c (remote_check_symbols): Update.
867 * sol-thread.c (ps_pglobal_lookup): Update.
868 * sol2-tdep.c (sol2_skip_solib_resolver): Update.
869 * solib-dsbt.c (lm_base): Update.
870 * solib-frv.c (lm_base, frv_relocate_section_addresses):
872 * solib-irix.c (locate_base): Update.
873 * solib-som.c (som_solib_create_inferior_hook)
874 (som_solib_desire_dynamic_linker_symbols, link_map_start):
876 * solib-spu.c (spu_enable_break): Update.
877 * solib-svr4.c (elf_locate_base, enable_break): Update.
878 * spu-tdep.c (spu_get_overlay_table, spu_catch_start)
879 (flush_ea_cache): Update.
880 * stabsread.c (define_symbol): Update.
881 * symfile.c (simple_read_overlay_table): Update.
882 * symtab.c (find_pc_sect_line): Update.
883 * tracepoint.c (scope_info): Update.
884 * tui-disasm.c (tui_get_begin_asm_address): Update.
885 * value.c (value_static_field): Update.
887 2014-02-26 Tom Tromey <tromey@redhat.com>
889 * minsyms.c (prim_record_minimal_symbol_full): Use
890 SET_MSYMBOL_VALUE_ADDRESS.
891 * objfiles.c (objfile_relocate1): Use SET_MSYMBOL_VALUE_ADDRESS.
892 * sh64-tdep.c (sh64_elf_make_msymbol_special): Use
893 SET_MSYMBOL_VALUE_ADDRESS.
894 * symtab.h (MSYMBOL_VALUE_ADDRESS): Expand to an rvalue.
895 (SET_MSYMBOL_VALUE_ADDRESS): New macro.
897 2014-02-26 Tom Tromey <tromey@redhat.com>
899 * symtab.h (struct minimal_symbol) <mginfo>: Rename from ginfo.
900 (MSYMBOL_VALUE, MSYMBOL_VALUE_ADDRESS, MSYMBOL_VALUE_BYTES)
901 (MSYMBOL_BLOCK_VALUE, MSYMBOL_VALUE_CHAIN, MSYMBOL_LANGUAGE)
902 (MSYMBOL_SECTION, MSYMBOL_OBJ_SECTION, MSYMBOL_NATURAL_NAME)
903 (MSYMBOL_LINKAGE_NAME, MSYMBOL_PRINT_NAME, MSYMBOL_DEMANGLED_NAME)
904 (MSYMBOL_SET_LANGUAGE, MSYMBOL_SEARCH_NAME)
905 (MSYMBOL_MATCHES_SEARCH_NAME, MSYMBOL_SET_NAMES): New macros.
906 * ada-lang.c (ada_main_name): Update.
907 (ada_lookup_simple_minsym): Update.
908 (ada_make_symbol_completion_list): Update.
909 (ada_add_standard_exceptions): Update.
910 * ada-tasks.c (read_atcb, ada_tasks_inferior_data_sniffer): Update.
911 * aix-thread.c (pdc_symbol_addrs, pd_enable): Update.
912 * amd64-windows-tdep.c (amd64_skip_main_prologue): Update.
913 * arm-tdep.c (skip_prologue_function): Update.
914 (arm_skip_stack_protector, arm_skip_stub): Update.
915 * arm-wince-tdep.c (arm_pe_skip_trampoline_code): Update.
916 (arm_wince_skip_main_prologue): Update.
917 * auxv.c (ld_so_xfer_auxv): Update.
918 * avr-tdep.c (avr_scan_prologue): Update.
919 * ax-gdb.c (gen_var_ref): Update.
920 * block.c (call_site_for_pc): Update.
921 * blockframe.c (get_pc_function_start): Update.
922 (find_pc_partial_function_gnu_ifunc): Update.
923 * breakpoint.c (create_overlay_event_breakpoint): Update.
924 (create_longjmp_master_breakpoint): Update.
925 (create_std_terminate_master_breakpoint): Update.
926 (create_exception_master_breakpoint): Update.
927 (resolve_sal_pc): Update.
928 * bsd-uthread.c (bsd_uthread_lookup_address): Update.
929 * btrace.c (ftrace_print_function_name, ftrace_function_switched):
931 * c-valprint.c (c_val_print): Update.
932 * coff-pe-read.c (add_pe_forwarded_sym): Update.
933 * coffread.c (coff_symfile_read): Update.
934 * common/agent.c (agent_look_up_symbols): Update.
935 * dbxread.c (find_stab_function_addr): Update.
936 (end_psymtab): Update.
937 * dwarf2loc.c (call_site_to_target_addr): Update.
938 (func_verify_no_selftailcall): Update.
939 (tailcall_dump): Update.
940 (call_site_find_chain_1): Update.
941 (dwarf_expr_reg_to_entry_parameter): Update.
942 * elfread.c (elf_gnu_ifunc_record_cache): Update.
943 (elf_gnu_ifunc_resolve_by_got): Update.
944 * f-valprint.c (info_common_command): Update.
945 * findvar.c (read_var_value): Update.
946 * frame.c (get_prev_frame_1): Update.
947 (inside_main_func): Update.
948 * frv-tdep.c (frv_skip_main_prologue): Update.
949 (frv_frame_this_id): Update.
950 * glibc-tdep.c (glibc_skip_solib_resolver): Update.
951 * gnu-v2-abi.c (gnuv2_value_rtti_type): Update.
952 * gnu-v3-abi.c (gnuv3_rtti_type): Update.
953 (gnuv3_skip_trampoline): Update.
954 * hppa-hpux-tdep.c (hppa32_hpux_in_solib_call_trampoline): Update.
955 (hppa64_hpux_in_solib_call_trampoline): Update.
956 (hppa_hpux_skip_trampoline_code): Update.
957 (hppa64_hpux_search_dummy_call_sequence): Update.
958 (hppa_hpux_find_import_stub_for_addr): Update.
959 (hppa_hpux_find_dummy_bpaddr): Update.
960 * hppa-tdep.c (hppa_symbol_address)
961 (hppa_lookup_stub_minimal_symbol): Update.
962 * i386-tdep.c (i386_skip_main_prologue): Update.
963 (i386_pe_skip_trampoline_code): Update.
964 * ia64-tdep.c (ia64_convert_from_func_ptr_addr): Update.
965 * infcall.c (get_function_name): Update.
966 * infcmd.c (until_next_command): Update.
967 * jit.c (jit_breakpoint_re_set_internal): Update.
968 (jit_inferior_init): Update.
969 * linespec.c (minsym_found): Update.
970 (add_minsym): Update.
971 * linux-fork.c (info_checkpoints_command): Update.
972 * linux-nat.c (get_signo): Update.
973 * linux-thread-db.c (inferior_has_bug): Update.
974 * m32c-tdep.c (m32c_return_value): Update.
975 (m32c_m16c_address_to_pointer): Update.
976 (m32c_m16c_pointer_to_address): Update.
977 * m32r-tdep.c (m32r_frame_this_id): Update.
978 * m68hc11-tdep.c (m68hc11_get_register_info): Update.
979 * machoread.c (macho_resolve_oso_sym_with_minsym): Update.
980 * maint.c (maintenance_translate_address): Update.
981 * minsyms.c (add_minsym_to_hash_table): Update.
982 (add_minsym_to_demangled_hash_table): Update.
983 (msymbol_objfile): Update.
984 (lookup_minimal_symbol): Update.
985 (iterate_over_minimal_symbols): Update.
986 (lookup_minimal_symbol_text): Update.
987 (lookup_minimal_symbol_by_pc_name): Update.
988 (lookup_minimal_symbol_solib_trampoline): Update.
989 (lookup_minimal_symbol_by_pc_section_1): Update.
990 (lookup_minimal_symbol_and_objfile): Update.
991 (prim_record_minimal_symbol_full): Update.
992 (compare_minimal_symbols): Update.
993 (compact_minimal_symbols): Update.
994 (build_minimal_symbol_hash_tables): Update.
995 (install_minimal_symbols): Update.
996 (terminate_minimal_symbol_table): Update.
997 (find_solib_trampoline_target): Update.
998 (minimal_symbol_upper_bound): Update.
999 * mips-linux-tdep.c (mips_linux_skip_resolver): Update.
1000 * mips-tdep.c (mips_stub_frame_sniffer): Update.
1001 (mips_skip_pic_trampoline_code): Update.
1002 * msp430-tdep.c (msp430_skip_trampoline_code): Update.
1003 * objc-lang.c (selectors_info): Update.
1004 (classes_info): Update.
1005 (find_methods): Update.
1006 (find_imps): Update.
1007 (find_objc_msgsend): Update.
1008 * objfiles.c (objfile_relocate1): Update.
1009 * objfiles.h (ALL_OBJFILE_MSYMBOLS): Update.
1010 * obsd-tdep.c (obsd_skip_solib_resolver): Update.
1011 * p-valprint.c (pascal_val_print): Update.
1012 * parse.c (write_exp_msymbol): Update.
1013 * ppc-linux-tdep.c (powerpc_linux_in_dynsym_resolve_code)
1014 (ppc_linux_spe_context_lookup, ppc_elfv2_skip_entrypoint): Update.
1015 * ppc-sysv-tdep.c (convert_code_addr_to_desc_addr): Update.
1016 * printcmd.c (build_address_symbolic): Update.
1018 (address_info): Update.
1019 * proc-service.c (ps_pglobal_lookup): Update.
1020 * psymtab.c (find_pc_sect_psymtab_closer): Update.
1021 (find_pc_sect_psymtab): Update.
1022 * python/py-framefilter.c (py_print_frame): Update.
1023 * ravenscar-thread.c (get_running_thread_id): Update.
1024 * record-btrace.c (btrace_call_history, btrace_get_bfun_name):
1026 * remote.c (remote_check_symbols): Update.
1027 * rs6000-tdep.c (rs6000_skip_main_prologue): Update.
1028 (rs6000_skip_trampoline_code): Update.
1029 * sh64-tdep.c (sh64_elf_make_msymbol_special): Update.
1030 * sol2-tdep.c (sol2_skip_solib_resolver): Update.
1031 * solib-dsbt.c (lm_base): Update.
1032 * solib-frv.c (lm_base): Update.
1034 * solib-irix.c (locate_base): Update.
1035 * solib-som.c (som_solib_create_inferior_hook): Update.
1036 (som_solib_desire_dynamic_linker_symbols): Update.
1037 (link_map_start): Update.
1038 * solib-spu.c (spu_enable_break): Update.
1039 (ocl_enable_break): Update.
1040 * solib-svr4.c (elf_locate_base): Update.
1041 (enable_break): Update.
1042 * spu-tdep.c (spu_get_overlay_table): Update.
1043 (spu_catch_start): Update.
1044 (flush_ea_cache): Update.
1045 * stabsread.c (define_symbol): Update.
1046 (scan_file_globals): Update.
1047 * stack.c (find_frame_funname): Update.
1048 (frame_info): Update.
1049 * symfile.c (simple_read_overlay_table): Update.
1050 (simple_overlay_update): Update.
1051 * symmisc.c (dump_msymbols): Update.
1052 * symtab.c (fixup_section): Update.
1053 (find_pc_sect_line): Update.
1054 (skip_prologue_sal): Update.
1055 (search_symbols): Update.
1056 (print_msymbol_info): Update.
1057 (rbreak_command): Update.
1058 (MCOMPLETION_LIST_ADD_SYMBOL): New macro.
1059 (completion_list_objc_symbol): Update.
1060 (default_make_symbol_completion_list_break_on): Update.
1061 * tracepoint.c (scope_info): Update.
1062 * tui/tui-disasm.c (tui_find_disassembly_address): Update.
1063 (tui_get_begin_asm_address): Update.
1064 * valops.c (find_function_in_inferior): Update.
1065 * value.c (value_static_field): Update.
1066 (value_fn_field): Update.
1068 2014-02-26 Tom Tromey <tromey@redhat.com>
1070 * blockframe.c (find_pc_partial_function_gnu_ifunc): Use
1071 bound minimal symbols. Move code that knows about minsym
1073 * minsyms.c (minimal_symbol_upper_bound): ... here. New
1075 * minsyms.h (minimal_symbol_upper_bound): Declare.
1076 * objc-lang.c (find_objc_msgsend): Use bound minimal symbols,
1077 minimal_symbol_upper_bound.
1079 2014-02-27 Joel Brobecker <brobecker@adacore.com>
1081 * python/lib/gdb/printing.py (RegexpCollectionPrettyPrinter):
1082 Use the type's name if its basic type does not have a tag.
1084 2014-02-27 Joel Brobecker <brobecker@adacore.com>
1086 * dwarf2read.c (read_subrange_type): Add comment.
1088 2014-02-27 Joel Brobecker <brobecker@adacore.com>
1090 * dwarf2read.c (update_enumeration_type_from_children): New
1091 function, mostly extracted from process_structure_scope.
1092 (read_enumeration_type): Call update_enumeration_type_from_children.
1093 (process_enumeration_scope): Do not set THIS_TYPE's flag_unsigned
1094 and flag_flag_enum fields.
1096 2014-02-26 Pedro Alves <palves@redhat.com>
1098 * bsd-uthread.c (bsd_uthread_xfer_partial): Delete function.
1099 (bsd_uthread_target): Don't install bsd_uthread_xfer_partial as
1100 to_xfer_partial method.
1102 2014-02-26 Pedro Alves <palves@redhat.com>
1104 * target.c (complete_target_initialization): Don't install
1105 default_xfer_partial as to_xfer_partial hook.
1107 (update_current_target): Don't INHERIT nor de_fault
1108 deprecated_xfer_memory. Delete de_fault macro.
1109 (default_xfer_partial, deprecated_debug_xfer_memory): Delete.
1110 (setup_target_debug): Don't install a deprecated_xfer_memory hook.
1111 * target.h (struct target_ops) <deprecated_xfer_memory>: Delete
1114 2014-02-26 Pedro Alves <palves@redhat.com>
1116 * go32-nat.c (my_write_child): New function.
1117 (go32_xfer_memory): Rewrite as to_xfer_partial helper.
1118 (go32_xfer_partial): New function.
1119 (init_go32_ops): Don't install a deprecated_xfer_memory hook.
1120 Instead install a to_xfer_partial hook.
1122 2014-02-26 Pedro Alves <palves@redhat.com>
1124 * nto-procfs.c (procfs_xfer_memory): Adjust interface as a
1125 to_xfer_partial helper. Rewrite.
1126 (procfs_xfer_partial): New function.
1127 (init_procfs_ops): Don't install a deprecated_xfer_memory hook.
1128 Install a to_xfer_partial hook.
1130 2014-02-26 Pedro Alves <palves@redhat.com>
1132 * remote-m32r-sdi.c (send_data): Constify 'buf' parameter.
1133 (m32r_xfer_memory): Adjust as a to_xfer_partial helper.
1134 (m32r_xfer_partial): New function.
1135 (init_m32r_ops): Don't install a deprecated_xfer_memory hook.
1136 Install a to_xfer_partial hook.
1138 2014-02-26 Pedro Alves <palves@redhat.com>
1140 * remote-mips.c (mips_xfer_memory): Adjust as to_xfer_partial
1142 (mips_xfer_partial): New function.
1143 (_initialize_remote_mips): Don't install a deprecated_xfer_memory
1144 hook. Install a to_xfer_partial hook.
1146 2014-02-26 Joel Brobecker <brobecker@adacore.com>
1148 * gdbtypes.h (create_array_type_with_stride): Add declaration.
1149 * gdbtypes.c (create_array_type_with_stride): New function,
1150 renaming create_array_type, but with an added parameter
1151 called "bit_stride".
1152 (create_array_type): Re-implement using
1153 create_array_type_with_stride.
1154 * dwarf2read.c (read_array_type): Add support for DW_AT_byte_stride
1155 and DW_AT_bit_stride attributes.
1157 2014-02-26 Pedro Alves <palves@redhat.com>
1159 * breakpoint.c (bpstat_check_breakpoint_conditions): Handle
1160 task-specific breakpoints.
1162 2014-02-25 Pedro Alves <palves@redhat.com>
1164 * ia64-linux-nat.c (ia64_linux_xfer_partial): Reimplement
1165 handling of object == TARGET_OBJECT_UNWIND_TABLE.
1167 2014-02-25 Stan Shebs <stan@codesourcery.com>
1169 * defs.h: Annotate comments for Doxygen.
1171 2014-02-25 Tom Tromey <tromey@redhat.com>
1173 * target.h (target_ignore): Don't declare.
1174 * target.c (target_ignore): Remove.
1176 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
1179 * auto-load.c (auto_load_objfile_script_1): Change filename to
1182 2014-02-25 Joel Brobecker <brobecker@adacore.com>
1184 * ia64-linux-nat.c (ia64_linux_xfer_partial): Add function
1185 documentation. Adjust prototype to match the target_ops
1186 to_xfer_partial method. Adjust implementation accordingly.
1188 2014-02-25 Hui Zhu <hui@codesourcery.com>
1190 * target.h (target_ops): Fix TARGET_DEFAULT_RETURN of
1193 2014-02-25 Kevin Buettner <kevinb@redhat.com>
1195 * rl78-tdep.c (RL78_BANK0_RP0_PTR_REGNUM, RL78_BANK0_RP1_PTR_REGNUM)
1196 (RL78_BANK0_RP2_PTR_REGNUM, RL78_BANK0_RP3_PTR_REGNUM)
1197 (RL78_BANK1_RP0_PTR_REGNUM, RL78_BANK1_RP1_PTR_REGNUM)
1198 (RL78_BANK1_RP2_PTR_REGNUM, RL78_BANK1_RP3_PTR_REGNUM)
1199 (RL78_BANK2_RP0_PTR_REGNUM, RL78_BANK2_RP1_PTR_REGNUM)
1200 (RL78_BANK2_RP2_PTR_REGNUM, RL78_BANK2_RP3_PTR_REGNUM)
1201 (RL78_BANK3_RP0_PTR_REGNUM, RL78_BANK3_RP1_PTR_REGNUM)
1202 (RL78_BANK3_RP2_PTR_REGNUM, RL78_BANK3_RP3_PTR_REGNUM):
1204 (rl78_register_type): Use a data pointer type for SP and
1205 new pseudo registers mentioned above. Use a 16 bit integer
1206 type for all other register pairs.
1207 (rl78_register_name, rl78_g10_register_name): Update for
1208 new pseudo registers.
1209 (rl78_pseudo_register_read): Likewise.
1210 (rl78_pseudo_register_write): Likewise.
1211 (rl78_dwarf_reg_to_regnum): Return register numbers representing
1212 to the newly added pseudo registers.
1214 2014-02-24 Doug Evans <dje@google.com>
1216 * value.c (record_latest_value): Fix comment.
1217 * printcmd.c (print_command_1): Remove code to handle -1 return from
1218 record_latest_value.
1220 2014-02-24 Pedro Alves <palves@redhat.com>
1222 * procfs.c (procfs_target): Don't install procfs_xfer_memory as
1223 deprecated_xfer_memory hook.
1224 (procfs_xfer_partial): Call procfs_xfer_memory instead
1225 of the deprecated_xfer_memory target hook.
1226 (procfs_xfer_memory): Adjust interface as a to_xfer_partial
1229 2014-02-24 Yuanhui Zhang <asmwarrior@gmail.com>
1231 * windows-nat.c (windows_xfer_shared_libraries): Return
1232 TARGET_XFER_EOF if LEN is zero to fix an assert failure when
1233 requested object is TARGET_OBJECT_LIBRARIES.
1235 2014-02-24 Yao Qi <yao@codesourcery.com>
1237 * target.h (enum target_xfer_status)
1238 <TARGET_XFER_E_UNAVAILABLE>: Rename it to ...
1239 <TARGET_XFER_UNAVAILABLE>: ... it with setting value 2
1241 * corefile.c (memory_error_message): User updated.
1242 * exec.c (section_table_read_available_memory): Likewise.
1243 * record-btrace.c (record_btrace_xfer_partial): Likewise.
1244 * target.c (target_xfer_status_to_string): Likewise.
1245 (raw_memory_xfer_partial): Likewise.
1246 (memory_xfer_partial_1, target_xfer_partial): Likewise.
1247 * valops.c (read_value_memory): Likewise.
1248 * exec.h: Update comments.
1250 2014-02-24 Yao Qi <yao@codesourcery.com>
1252 * target.c (target_xfer_status_to_string): Rename argument err
1254 * target.h (target_xfer_status_to_string): Update declaration.
1255 Replace target_xfer_error_to_string with
1256 target_xfer_status_to_string in comment.
1258 2014-02-24 Yao Qi <yao@codesourcery.com>
1260 * mips-linux-nat.c (super_close): Update its type.
1261 (mips_linux_close): Pass 'self' to super_close.
1263 2014-02-24 Yao Qi <yao@codesourcery.com>
1265 * target.h (TARGET_XFER_STATUS_ERROR_P): Remove.
1266 * corefile.c (read_memory): Adjusted.
1267 * target.c (target_write_with_progress): Adjusted.
1269 2014-02-23 Yao Qi <yao@codesourcery.com>
1273 2013-10-25 Yao Qi <yao@codesourcery.com>
1275 * remote.c (remote_traceframe_info): Return early if
1276 traceframe is not selected.
1278 2013-07-19 Yao Qi <yao@codesourcery.com>
1280 * target.c (update_current_target): Change the default action
1281 of 'to_traceframe_info' from tcomplain to return_zero.
1282 * target.h (struct target_ops) <to_traceframe_info>: Add more
1285 2014-02-23 Yao Qi <yao@codesourcery.com>
1287 * valops.c (read_value_memory): Rewrite it. Call
1288 target_xfer_partial in a loop.
1289 * exec.h (section_table_available_memory): Remove declaration.
1290 Move comments to ...
1291 * exec.c (section_table_available_memory): ... here. Make it
1294 2014-02-23 Yao Qi <yao@codesourcery.com>
1296 * exec.c (section_table_read_available_memory): New function.
1297 * exec.h (section_table_read_available_memory): Declare.
1298 * ctf.c (ctf_xfer_partial): Call
1299 section_table_read_available_memory.
1300 * tracefile-tfile.c (tfile_xfer_partial): Likewise.
1302 2014-02-23 Yao Qi <yao@codesourcery.com>
1304 * ctf.c (ctf_xfer_partial): Move code to ...
1305 * exec.c (exec_read_partial_read_only): ... it. New function.
1306 * tracefile-tfile.c (tfile_xfer_partial): Likewise.
1307 * tracefile.c: Include "exec.h".
1308 * exec.h (exec_read_partial_read_only): Declare.
1310 2014-02-23 Yao Qi <yao@codesourcery.com>
1312 * tracefile-tfile.c (tfile_has_all_memory): Remove.
1313 (tfile_has_memory): Remove.
1314 (init_tfile_ops): Don't set fields to_has_all_memory and
1315 to_has_memory of tfile_ops.
1316 * tracefile.c (tracefile_has_all_memory): New function.
1317 (tracefile_has_memory): New function.
1318 (init_tracefile_ops): Initialize fields to_has_all_memory and
1319 to_has_memory of 'ops'.
1321 2014-02-23 Yao Qi <yao@codesourcery.com>
1323 * ctf.c (ctf_has_stack, ctf_has_registers): Remove.
1324 (ctf_thread_alive, ctf_get_trace_status): Remove.
1325 (init_ctf_ops): Don't set some fields of ctf_ops. Call
1327 * tracefile-tfile.c (tfile_get_trace_status): Remove.
1328 (tfile_has_stack, tfile_has_registers): Remove.
1329 (tfile_thread_alive): Remove.
1330 (init_tfile_ops): Don't set some fields of tfile_ops. Call
1332 * tracefile.c (tracefile_has_stack): New function.
1333 (tracefile_has_registers): New function.
1334 (tracefile_thread_alive): New function.
1335 (tracefile_get_trace_status): New function.
1336 (init_tracefile_ops): New function.
1337 * tracefile.h (init_tracefile_ops): Declare.
1339 2014-02-23 Yao Qi <yao@codesourcery.com>
1341 * tracepoint.c (TFILE_PID): Move it to tracefile-tfile.c.
1342 (O_LARGEFILE): Likewise.
1343 (tfile_ops): Likewise.
1344 (TRACE_HEADER_SIZE): Likewise.
1345 (trace_fd, trace_frames_offset, cur_offset): Likewise.
1346 (cur_data_size): Likewise.
1347 (tfile_read, tfile_open, tfile_interp_line): Likewise.
1348 (tfile_close, tfile_files_info): Likewise.
1349 (tfile_get_trace_status): Likewise.
1350 (tfile_get_tracepoint_status): Likewise.
1351 (tfile_get_traceframe_address): Likewise.
1352 (tfile_trace_find, match_blocktype): Likewise.
1353 (traceframe_walk_blocks, traceframe_find_block_type): Likewise.
1354 (tfile_fetch_registers, tfile_xfer_partial): Likewise.
1355 (tfile_get_trace_state_variable_value): Likewise.
1356 (tfile_has_all_memory, tfile_has_memory): Likewise.
1357 (tfile_has_stack, tfile_has_registers): Likewise.
1358 (tfile_thread_alive, build_traceframe_info): Likewise.
1359 (tfile_traceframe_info, init_tfile_ops): Likewise.
1360 (_initialize_tracepoint): Don't call init_tfile_ops
1361 and add_target_with_completer.
1362 * tracefile-tfile.c: Include regcache.h, inferior.h, gdbthread.h,
1363 exec.h, completer.h and filenames.h.
1364 (_initialize_tracefile_tfile): New function.
1366 2014-02-23 Yao Qi <yao@codesourcery.com>
1368 * Makefile.in (REMOTE_OBS): Append tracefile.o and
1370 (HFILES_NO_SRCDIR): Add tracefile.h.
1371 * ctf.c: Include "tracefile.h".
1372 * tracefile.h: New file.
1373 * tracefile.c: New file
1374 * tracefile-tfile.c: New file.
1375 * tracepoint.c: Include "tracefile.h".
1376 (free_uploaded_tps, free_uploaded_tsvs): Remove declarations.
1377 (stop_reason_names): Add const.
1378 (trace_file_writer_xfree): Move it to tracefile.c.
1379 (trace_save, trace_save_command, trace_save_tfile): Likewise.
1380 (trace_save_ctf): Likewise.
1381 (struct tfile_trace_file_writer): Move it to tracefile-tfile.c.
1382 (tfile_target_save, tfile_dtor, tfile_start): Likewise.
1383 (tfile_write_header, tfile_write_regblock_type): Likewise.
1384 (tfile_write_status, tfile_write_uploaded_tsv): Likewise.
1385 (tfile_write_uploaded_tp, tfile_write_definition_end): Likewise.
1386 (tfile_write_raw_data, tfile_end): Likewise.
1387 (tfile_trace_file_writer_new): Likewise.
1388 (free_uploaded_tp): Make it extern.
1389 (free_uploaded_tsv): Make it extern.
1390 (_initialize_tracepoint): Move code to register command 'tsave'
1392 * tracepoint.h (stop_reason_names): Declare.
1393 (struct trace_frame_write_ops): Move it to tracefile.h.
1394 (struct trace_file_write_ops): Likewise.
1395 (struct trace_file_writer): Likewise.
1396 (free_uploaded_tsvs, free_uploaded_tps): Declare.
1398 2014-02-21 Jan Kratochvil <jan.kratochvil@redhat.com>
1401 * common/linux-osdata.c (linux_common_core_of_thread): Find the end of
1403 (get_cores_used_by_process): New parameter num_cores, use it.
1404 (linux_xfer_osdata_processes): Pass num_cores to it.
1405 * linux-tdep.c (linux_info_proc, linux_fill_prpsinfo): Find the end of
1408 2014-02-21 Andreas Arnez <arnez@vnet.linux.ibm.com>
1410 * target.c (memory_xfer_partial): Fix length arg in call to
1411 breakpoint_xfer_memory.
1413 2014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
1416 * i386-tdep.c (i386_stap_parse_special_token_triplet): Check if a
1417 number comes after the + or - signs. Adjust length of register
1418 name to be extracted.
1420 2014-02-20 Tom Tromey <tromey@redhat.com>
1422 * varobj.h (c_varobj_ops, cplus_varobj_ops, java_varobj_ops)
1423 (ada_varobj_ops): Mark "extern".
1425 2014-02-20 Tom Tromey <tromey@redhat.com>
1427 * dbxread.c (read_dbx_symtab): Remove last_o_file_start.
1429 2014-02-20 Doug Evans <xdje42@gmail.com>
1431 * guile/scm-gsmob.c (gdbscm_init_eqable_gsmob): New arg containing_scm.
1432 All callers updated.
1433 (gdbscm_fill_eqable_gsmob_ptr_slot): Delete arg containing_scm.
1434 All callers updated.
1435 * guile/guile-internal.h (gdbscm_init_eqable_gsmob): Update.
1436 (gdbscm_fill_eqable_gsmob_ptr_slot): Update.
1438 2014-02-20 lin zuojian <manjian2006@gmail.com>
1439 Joel Brobecker <brobecker@adacore.com>
1440 Doug Evans <xdje42@gmail.com>
1443 * dwarf2read.c (struct die_info): New member in_process.
1444 (reset_die_in_process): New function.
1445 (process_die): Set it at the start, reset when returning.
1446 (inherit_abstract_dies): Only call process_die if origin_child_die
1447 not already being processed.
1449 2014-02-20 Joel Brobecker <brobecker@adacore.com>
1451 * windows-nat.c (handle_unload_dll): Add function documentation.
1452 (do_initial_windows_stuff): Add comment explaining why we wait
1453 until after inferior initialization has finished before
1454 processing all DLLs.
1456 2014-02-20 Joel Brobecker <brobecker@adacore.com>
1458 * windows-nat.c (get_module_name): Delete.
1459 (windows_get_exec_module_filename): New function, mostly
1460 inspired from get_module_name.
1461 (windows_pid_to_exec_file): Replace call to get_module_name
1462 by call to windows_get_exec_module_filename.
1464 2014-02-20 Joel Brobecker <brobecker@adacore.com>
1466 * windows-nat.c (handle_load_dll): Rewrite this function's
1467 introductory comment. Remove code using get_module_name
1468 to get the DLL's name.
1470 2014-02-20 Joel Brobecker <brobecker@adacore.com>
1472 * windows-nat.c (get_windows_debug_event): Ignore
1473 LOAD_DLL_DEBUG_EVENT and UNLOAD_DLL_DEBUG_EVENT
1474 if windows_initialization_done == 0.
1475 (windows_add_all_dlls): Renames windows_ensure_ntdll_loaded.
1476 Adjust implementation to always load all DLLs.
1477 (do_initial_windows_stuff): Replace call to
1478 windows_ensure_ntdll_loaded by call to windows_add_all_dlls.
1480 2014-02-20 Joel Brobecker <brobecker@adacore.com>
1482 * windows-nat.c (_initialize_windows_nat): Deprecate the
1483 "dll-symbols" command. Turn the "add-shared-symbol-files"
1484 and "assf" aliases into commands, and deprecate them as well.
1485 * NEWS: Add entry explaining that "dll-symbols" and its two
1486 aliases are now deprecated.
1488 2014-02-20 Joel Brobecker <brobecker@adacore.com>
1490 * dec-thread.c (dec_thread_get_ada_task_ptid): Avoid unescaped
1491 new-line in debug string. Remove trailing spaces.
1493 2014-02-19 Stan Shebs <stan@codesourcery.com>
1495 * darwin-nat.c (darwin_xfer_partial): Fix return type.
1497 2014-02-19 Siva Chandra Reddy <sivachandra@google.com>
1499 * NEWS: Add entry for the new feature
1500 * python/py-value.c (valpy_binop): Call value_x_binop for struct
1503 2014-02-19 Stan Shebs <stan@codesourcery.com>
1505 * MAINTAINERS: List Yao Qi as nios2 maintainer.
1507 2014-02-19 Pedro Alves <palves@redhat.com>
1509 * common/ptid.h (struct ptid): Mention that process_stratum
1510 targets should prefer ptid.lwp.
1512 2014-02-19 Pedro Alves <palves@redhat.com>
1514 * remote.c (remote_thread_alive, write_ptid, read_ptid)
1515 (read_ptid, remote_newthread_step, remote_threads_extra_info)
1516 (remote_get_ada_task_ptid, append_resumption, remote_stop_ns)
1517 (threadalive_test, remote_pid_to_str): Use the ptid.lwp field to
1518 store remote thread ids rather than ptid.tid.
1519 (_initialize_remote): Adjust.
1521 2014-02-19 Tom Tromey <tromey@redhat.com>
1523 * target.c (target_get_unwinder): Rewrite.
1524 (target_get_tailcall_unwinder): Rewrite.
1525 * record-btrace.c (record_btrace_to_get_unwinder): New function.
1526 (record_btrace_to_get_tailcall_unwinder): New function.
1527 (init_record_btrace_ops): Update.
1528 * target.h (struct target_ops) <to_get_unwinder,
1529 to_get_tailcall_unwinder>: Now function pointers. Use
1530 TARGET_DEFAULT_RETURN.
1532 2014-02-19 Tom Tromey <tromey@redhat.com>
1534 * nto-procfs.c (procfs_remove_hw_breakpoint): Add 'self'
1536 (init_procfs_ops): Correctly set to_remove_hw_breakpoint.
1538 2014-02-19 Tom Tromey <tromey@redhat.com>
1540 * record-btrace.c (record_btrace_decr_pc_after_break): Delegate
1542 * target-delegates.c: Rebuild.
1543 * target.h (struct target_ops) <to_decr_pc_after_break>: Use
1544 TARGET_DEFAULT_FUNC.
1545 * target.c (default_target_decr_pc_after_break): Rename from
1546 forward_target_decr_pc_after_break. Simplify.
1547 (target_decr_pc_after_break): Rely on delegation.
1549 2014-02-19 Tom Tromey <tromey@redhat.com>
1551 * target.c (update_current_target): Do not INHERIT to_doc or
1552 to_magic. Do not de_fault to_open or to_close.
1554 2014-02-19 Tom Tromey <tromey@redhat.com>
1556 * gcore.h (objfile_find_memory_regions): Declare.
1557 * gcore.c (objfile_find_memory_regions): No longer static. Add
1559 (_initialize_gcore): Don't call exec_set_find_memory_regions.
1560 * exec.c: Include gcore.h.
1561 (exec_set_find_memory_regions): Remove.
1562 (exec_find_memory_regions): Remove.
1563 (exec_do_find_memory_regions): Remove.
1564 (init_exec_ops): Update.
1565 * defs.h (exec_set_find_memory_regions): Remove.
1567 2014-02-19 Tom Tromey <tromey@redhat.com>
1569 * target-delegates.c: Rebuild.
1570 * target.h (struct target_ops) <to_extra_thread_info,
1571 to_thread_name, to_pid_to_exec_file, to_get_section_table,
1572 to_memory_map, to_read_description, to_traceframe_info>: Use NULL,
1573 not 0, in TARGET_DEFAULT_RETURN.
1575 2014-02-19 Tom Tromey <tromey@redhat.com>
1577 * target.c (complete_target_initialization): Remove casts. Use
1578 return_zero_has_execution.
1579 (return_zero): Add "ignore" argument.
1580 (return_zero_has_execution): New function.
1581 (init_dummy_target): Remove casts. Use
1582 return_zero_has_execution.
1584 2014-02-19 Tom Tromey <tromey@redhat.com>
1586 * target.c (update_current_target): Update comments. Do not
1589 2014-02-19 Tom Tromey <tromey@redhat.com>
1591 * arm-linux-nat.c (arm_linux_read_description): Delegate when
1593 * corelow.c (core_read_description): Delegate when needed.
1594 * remote.c (remote_read_description): Delegate when needed.
1595 * target-delegates.c: Rebuild.
1596 * target.c (target_read_description): Rewrite.
1597 * target.h (struct target_ops) <to_read_description>: Update
1598 comment. Use TARGET_DEFAULT_RETURN.
1600 2014-02-19 Tom Tromey <tromey@redhat.com>
1602 * target-delegates.c: Rebuild.
1603 * target.c (update_current_target): Don't inherit or default
1605 (find_default_run_target): Check against delegate_can_run.
1606 * target.h (struct target_ops) <to_can_run>: Use
1607 TARGET_DEFAULT_RETURN.
1609 2014-02-19 Tom Tromey <tromey@redhat.com>
1611 * target-delegates.c: Rebuild.
1612 * target.c (target_disconnect): Unconditionally delegate.
1613 * target.h (struct target_ops) <to_disconnect>: Use
1614 TARGET_DEFAULT_NORETURN.
1616 2014-02-19 Tom Tromey <tromey@redhat.com>
1618 * record.c (record_stop): Unconditionally delegate.
1619 * target-delegates.c: Rebuild.
1620 * target.c (target_stop_recording): Unconditionally delegate.
1621 * target.h (struct target_ops) <to_stop_recording>: Use
1622 TARGET_DEFAULT_IGNORE.
1624 2014-02-19 Tom Tromey <tromey@redhat.com>
1626 * target-delegates.c: Rebuild.
1627 * target.c (target_enable_btrace): Unconditionally delegate.
1628 * target.h (struct target_ops) <to_enable_btrace>: Use
1629 TARGET_DEFAULT_NORETURN.
1631 2014-02-19 Tom Tromey <tromey@redhat.com>
1633 * target-delegates.c: Rebuild.
1634 * target.c (target_read_btrace): Unconditionally delegate.
1635 * target.h (struct target_ops) <to_read_btrace>: Use
1636 TARGET_DEFAULT_NORETURN.
1638 2014-02-19 Tom Tromey <tromey@redhat.com>
1640 * target-delegates.c: Rebuild.
1641 * target.c (target_teardown_btrace): Unconditionally delegate.
1642 * target.h (struct target_ops) <to_teardown_btrace>: Use
1643 TARGET_DEFAULT_NORETURN.
1645 2014-02-19 Tom Tromey <tromey@redhat.com>
1647 * target-delegates.c: Rebuild.
1648 * target.c (target_disable_btrace): Unconditionally delegate.
1649 * target.h (struct target_ops) <to_disable_btrace>: Use
1650 TARGET_DEFAULT_NORETURN.
1652 2014-02-19 Tom Tromey <tromey@redhat.com>
1654 * target-delegates.c: Rebuild.
1655 * target.c (default_search_memory): New function.
1656 (simple_search_memory): Update comment.
1657 (target_search_memory): Unconditionally delegate.
1658 * target.h (struct target_ops) <to_search_memory>: Use
1659 TARGET_DEFAULT_FUNC.
1661 2014-02-19 Tom Tromey <tromey@redhat.com>
1663 * auxv.c (default_auxv_parse): No longer static.
1664 (target_auxv_parse): Unconditionally delegate.
1665 * auxv.h (default_auxv_parse): Declare.
1666 * target-delegates.c: Rebuild.
1667 * target.c: Include auxv.h.
1668 * target.h (struct target_ops) <to_auxv_parse>: Use
1669 TARGET_DEFAULT_FUNC.
1671 2014-02-19 Tom Tromey <tromey@redhat.com>
1673 * target-delegates.c: Rebuild.
1674 * target.c (target_memory_map): Unconditionally delegate.
1675 * target.h (struct target_ops) <to_memory_map>: Use
1676 TARGET_DEFAULT_RETURN.
1678 2014-02-19 Tom Tromey <tromey@redhat.com>
1680 * target-delegates.c: Rebuild.
1681 * target.c (target_thread_alive): Unconditionally delegate.
1682 * target.h (struct target_ops) <to_thread_alive>: Use
1683 TARGET_DEFAULT_RETURN.
1685 2014-02-19 Tom Tromey <tromey@redhat.com>
1687 * target-delegates.c: Rebuild.
1688 * target.c (target_save_record): Unconditionally delegate.
1689 * target.h (struct target_ops) <to_save_record>: Use
1690 TARGET_DEFAULT_NORETURN.
1692 2014-02-19 Tom Tromey <tromey@redhat.com>
1694 * target-delegates.c: Rebuild.
1695 * target.c (target_delete_record): Unconditionally delegate.
1696 * target.h (struct target_ops) <to_delete_record>: Use
1697 TARGET_DEFAULT_NORETURN.
1699 2014-02-19 Tom Tromey <tromey@redhat.com>
1701 * target-delegates.c: Rebuild.
1702 * target.c (target_record_is_replaying): Unconditionally
1704 * target.h (struct target_ops) <to_record_is_replaying>: Use
1705 TARGET_DEFAULT_RETURN.
1707 2014-02-19 Tom Tromey <tromey@redhat.com>
1709 * target-delegates.c: Rebuild.
1710 * target.c (target_goto_record_begin): Unconditionally delegate.
1711 * target.h (struct target_ops) <to_goto_record_begin>: Use
1712 TARGET_DEFAULT_NORETURN.
1714 2014-02-19 Tom Tromey <tromey@redhat.com>
1716 * target-delegates.c: Rebuild.
1717 * target.c (target_goto_record_end): Unconditionally delegate.
1718 * target.h (struct target_ops) <to_goto_record_end>: Use
1719 TARGET_DEFAULT_NORETURN.
1721 2014-02-19 Tom Tromey <tromey@redhat.com>
1723 * target-delegates.c: Rebuild.
1724 * target.c (target_goto_record): Unconditionally delegate.
1725 * target.h (struct target_ops) <to_goto_record>: Use
1726 TARGET_DEFAULT_NORETURN.
1728 2014-02-19 Tom Tromey <tromey@redhat.com>
1730 * target-delegates.c: Rebuild.
1731 * target.c (target_insn_history): Unconditionally delegate.
1732 * target.h (struct target_ops) <to_insn_history>: Use
1733 TARGET_DEFAULT_NORETURN.
1735 2014-02-19 Tom Tromey <tromey@redhat.com>
1737 * target-delegates.c: Rebuild.
1738 * target.c (target_insn_history_from): Unconditionally delegate.
1739 * target.h (struct target_ops) <to_insn_history_from>: Use
1740 TARGET_DEFAULT_NORETURN.
1742 2014-02-19 Tom Tromey <tromey@redhat.com>
1744 * target-delegates.c: Rebuild.
1745 * target.c (target_insn_history_range): Unconditionally delegate.
1746 * target.h (struct target_ops) <to_insn_history_range>: Use
1747 TARGET_DEFAULT_NORETURN.
1749 2014-02-19 Tom Tromey <tromey@redhat.com>
1751 * target-delegates.c: Rebuild.
1752 * target.c (target_call_history): Unconditionally delegate.
1753 * target.h (struct target_ops) <to_call_history>: Use
1754 TARGET_DEFAULT_NORETURN.
1756 2014-02-19 Tom Tromey <tromey@redhat.com>
1758 * target-delegates.c: Rebuild.
1759 * target.c (target_call_history_from): Unconditionally delegate.
1760 * target.h (struct target_ops) <to_call_history_from>: Use
1761 TARGET_DEFAULT_NORETURN.
1763 2014-02-19 Tom Tromey <tromey@redhat.com>
1765 * target-delegates.c: Rebuild.
1766 * target.c (target_call_history_range): Unconditionally delegate.
1767 * target.h (struct target_ops) <to_call_history_range>: Use
1768 TARGET_DEFAULT_NORETURN.
1770 2014-02-19 Tom Tromey <tromey@redhat.com>
1772 * target-delegates.c: Rebuild.
1773 * target.c (target_verify_memory): Unconditionally delegate.
1774 * target.h (struct target_ops) <to_verify_memory>: Use
1775 TARGET_DEFAULT_NORETURN.
1777 2014-02-19 Tom Tromey <tromey@redhat.com>
1779 * target-delegates.c: Rebuild.
1780 * target.c (target_core_of_thread): Unconditionally delegate.
1781 * target.h (struct target_ops) <to_core_of_thread>: Use
1782 TARGET_DEFAULT_RETURN.
1784 2014-02-19 Tom Tromey <tromey@redhat.com>
1786 * target-delegates.c: Rebuild.
1787 * target.c (target_flash_done): Unconditionally delegate.
1788 * target.h (struct target_ops) <to_flash_done>: Use
1789 TARGET_DEFAULT_NORETURN.
1791 2014-02-19 Tom Tromey <tromey@redhat.com>
1793 * target-delegates.c: Rebuild.
1794 * target.c (target_flash_erase): Unconditionally delegate.
1795 * target.h (struct target_ops) <to_flash_erase>: Use
1796 TARGET_DEFAULT_NORETURN.
1798 2014-02-19 Tom Tromey <tromey@redhat.com>
1800 * target-delegates.c: Rebuild.
1801 * target.c (target_get_section_table): Unconditionally delegate.
1802 * target.h (struct target_ops) <to_get_section_table>: Use
1803 TARGET_DEFAULT_RETURN.
1805 2014-02-19 Tom Tromey <tromey@redhat.com>
1807 * target-delegates.c: Rebuild.
1808 * target.c (target_pid_to_str): Unconditionally delegate.
1809 (init_dummy_target): Don't initialize to_pid_to_str.
1810 (default_pid_to_str): Rename from dummy_pid_to_str.
1811 * target.h (struct target_ops) <to_pid_to_str>: Use
1812 TARGET_DEFAULT_FUNC.
1814 2014-02-19 Tom Tromey <tromey@redhat.com>
1816 * target-delegates.c: Rebuild.
1817 * target.c (target_find_new_threads): Unconditionally delegate.
1818 * target.h (struct target_ops) <to_find_new_threads>: Use
1819 TARGET_DEFAULT_RETURN.
1821 2014-02-19 Tom Tromey <tromey@redhat.com>
1823 * target-delegates.c: Rebuild.
1824 * target.c (target_program_signals): Unconditionally delegate.
1825 * target.h (struct target_ops) <to_program_signals>: Use
1826 TARGET_DEFAULT_IGNORE.
1828 2014-02-19 Tom Tromey <tromey@redhat.com>
1830 * target-delegates.c: Rebuild.
1831 * target.c (target_pass_signals): Unconditionally delegate.
1832 * target.h (struct target_ops) <to_pass_signals>: Use
1833 TARGET_DEFAULT_IGNORE.
1835 2014-02-19 Tom Tromey <tromey@redhat.com>
1837 * target-delegates.c: Rebuild.
1838 * target.c (default_mourn_inferior): New function.
1839 (target_mourn_inferior): Unconditionally delegate.
1840 * target.h (struct target_ops) <to_mourn_inferior>: Use
1841 TARGET_DEFAULT_FUNC.
1843 2014-02-19 Tom Tromey <tromey@redhat.com>
1845 * target-delegates.c: Rebuild.
1846 * target.c (default_follow_fork): New function.
1847 (target_follow_fork): Unconditionally delegate.
1848 * target.h (struct target_ops) <to_follow_fork>: Use
1849 TARGET_DEFAULT_FUNC.
1851 2014-02-19 Tom Tromey <tromey@redhat.com>
1853 * target-delegates.c: Rebuild.
1854 * target.c (target_kill): Unconditionally delegate.
1855 * target.h (struct target_ops) <to_kill>: Use
1856 TARGET_DEFAULT_NORETURN.
1858 2014-02-19 Tom Tromey <tromey@redhat.com>
1860 * target-delegates.c: Rebuild.
1861 * target.c (target_masked_watch_num_registers): Unconditionally
1863 * target.h (struct target_ops) <to_masked_watch_num_registers>:
1864 Use TARGET_DEFAULT_RETURN.
1866 2014-02-19 Tom Tromey <tromey@redhat.com>
1868 * target-delegates.c: Rebuild.
1869 * target.c (target_remove_mask_watchpoint): Unconditionally
1871 * target.h (struct target_ops) <to_remove_mask_watchpoint>: Use
1872 TARGET_DEFAULT_RETURN.
1874 2014-02-19 Tom Tromey <tromey@redhat.com>
1876 * target-delegates.c: Rebuild.
1877 * target.c (target_insert_mask_watchpoint): Unconditionally
1879 * target.h (struct target_ops) <to_insert_mask_watchpoint>: Use
1880 TARGET_DEFAULT_RETURN.
1882 2014-02-19 Tom Tromey <tromey@redhat.com>
1884 * target-delegates.c: Rebuild.
1885 * target.c (target_ranged_break_num_registers): Unconditionally
1887 * target.h (struct target_ops) <to_ranged_break_num_registers>:
1888 Use TARGET_DEFAULT_RETURN.
1890 2014-02-19 Tom Tromey <tromey@redhat.com>
1892 * target-delegates.c: Rebuild.
1893 * target.c (target_fetch_registers): Unconditionally delegate.
1894 * target.h (struct target_ops) <to_fetch_registers>: Use
1895 TARGET_DEFAULT_NORETURN.
1897 2014-02-19 Tom Tromey <tromey@redhat.com>
1899 * target-delegates.c: Rebuild.
1900 * target.c (update_current_target): Don't inherit or default
1902 * target.h (struct target_ops) <to_stop>: Use
1903 TARGET_DEFAULT_IGNORE.
1905 2014-02-19 Tom Tromey <tromey@redhat.com>
1907 * target-delegates.c: Rebuild.
1908 * target.c (update_current_target): Don't inherit or default
1909 to_can_run_breakpoint_commands.
1910 * target.h (struct target_ops) <to_can_run_breakpoint_commands>:
1911 Use TARGET_DEFAULT_RETURN.
1913 2014-02-19 Tom Tromey <tromey@redhat.com>
1915 * target-delegates.c: Rebuild.
1916 * target.c (update_current_target): Don't inherit or default
1917 to_supports_evaluation_of_breakpoint_conditions.
1918 * target.h (struct target_ops)
1919 <to_supports_evaluation_of_breakpoint_conditions>: Use
1920 TARGET_DEFAULT_RETURN.
1922 2014-02-19 Tom Tromey <tromey@redhat.com>
1924 * target-delegates.c: Rebuild.
1925 * target.c (update_current_target): Don't inherit or default
1926 to_augmented_libraries_svr4_read.
1927 * target.h (struct target_ops) <to_augmented_libraries_svr4_read>:
1928 Use TARGET_DEFAULT_RETURN.
1930 2014-02-19 Tom Tromey <tromey@redhat.com>
1932 * target-delegates.c: Rebuild.
1933 * target.c (update_current_target): Don't inherit or default
1935 * target.h (struct target_ops) <to_can_use_agent>: Use
1936 TARGET_DEFAULT_RETURN.
1938 2014-02-19 Tom Tromey <tromey@redhat.com>
1940 * target-delegates.c: Rebuild.
1941 * target.c (update_current_target): Don't inherit or default
1943 * target.h (struct target_ops) <to_use_agent>: Use
1944 TARGET_DEFAULT_NORETURN.
1946 2014-02-19 Tom Tromey <tromey@redhat.com>
1948 * target-delegates.c: Rebuild.
1949 * target.c (update_current_target): Don't inherit or default
1951 (return_null): Remove.
1952 * target.h (struct target_ops) <to_traceframe_info>: Use
1953 TARGET_DEFAULT_RETURN.
1955 2014-02-19 Tom Tromey <tromey@redhat.com>
1957 * target-delegates.c: Rebuild.
1958 * target.c (update_current_target): Don't inherit or default
1959 to_static_tracepoint_markers_by_strid.
1960 * target.h (struct target_ops)
1961 <to_static_tracepoint_markers_by_strid>: Use
1962 TARGET_DEFAULT_NORETURN.
1964 2014-02-19 Tom Tromey <tromey@redhat.com>
1966 * target-delegates.c: Rebuild.
1967 * target.c (update_current_target): Don't inherit or default
1968 to_static_tracepoint_marker_at.
1969 * target.h (struct target_ops) <to_static_tracepoint_marker_at>:
1970 Use TARGET_DEFAULT_RETURN.
1972 2014-02-19 Tom Tromey <tromey@redhat.com>
1974 * target-delegates.c: Rebuild.
1975 * target.c (update_current_target): Don't inherit or default
1977 * target.h (struct target_ops) <to_set_permissions>: Use
1978 TARGET_DEFAULT_IGNORE.
1980 2014-02-19 Tom Tromey <tromey@redhat.com>
1982 * target-delegates.c: Rebuild.
1983 * target.c (update_current_target): Don't inherit or default
1985 * target.h (struct target_ops) <to_get_tib_address>: Use
1986 TARGET_DEFAULT_NORETURN.
1988 2014-02-19 Tom Tromey <tromey@redhat.com>
1990 * target-delegates.c: Rebuild.
1991 * target.c (update_current_target): Don't inherit or default
1993 * target.h (struct target_ops) <to_set_trace_notes>: Use
1994 TARGET_DEFAULT_RETURN.
1996 2014-02-19 Tom Tromey <tromey@redhat.com>
1998 * target-delegates.c: Rebuild.
1999 * target.c (update_current_target): Don't initialize
2000 to_set_trace_buffer_size.
2001 * target.h (struct target_ops) <to_set_trace_buffer_size>: Use
2002 TARGET_DEFAULT_IGNORE.
2004 2014-02-19 Tom Tromey <tromey@redhat.com>
2006 * target-delegates.c: Rebuild.
2007 * target.c (update_current_target): Don't inherit or default
2008 to_set_circular_trace_buffer.
2009 * target.h (struct target_ops) <to_set_circular_trace_buffer>: Use
2010 TARGET_DEFAULT_IGNORE.
2012 2014-02-19 Tom Tromey <tromey@redhat.com>
2014 * target-delegates.c: Rebuild.
2015 * target.c (update_current_target): Don't inherit or default
2016 to_set_disconnected_tracing.
2017 * target.h (struct target_ops) <to_set_disconnected_tracing>: Use
2018 TARGET_DEFAULT_IGNORE.
2020 2014-02-19 Tom Tromey <tromey@redhat.com>
2022 * target-delegates.c: Rebuild.
2023 * target.c (update_current_target): Don't inherit or default
2024 to_get_min_fast_tracepoint_insn_len.
2025 (return_minus_one): Remove.
2026 * target.h (struct target_ops)
2027 <to_get_min_fast_tracepoint_insn_len>: Use TARGET_DEFAULT_RETURN.
2029 2014-02-19 Tom Tromey <tromey@redhat.com>
2031 * target-delegates.c: Rebuild.
2032 * target.c (update_current_target): Don't inherit or default
2033 to_get_raw_trace_data.
2034 * target.h (struct target_ops) <to_get_raw_trace_data>: Use
2035 TARGET_DEFAULT_NORETURN.
2037 2014-02-19 Tom Tromey <tromey@redhat.com>
2039 * target-delegates.c: Rebuild.
2040 * target.c (update_current_target): Don't inherit or default
2041 to_upload_trace_state_variables.
2042 * target.h (struct target_ops) <to_upload_trace_state_variables>:
2043 Use TARGET_DEFAULT_RETURN.
2045 2014-02-19 Tom Tromey <tromey@redhat.com>
2047 * target-delegates.c: Rebuild.
2048 * target.c (update_current_target): Don't inherit or default
2049 to_upload_tracepoints.
2050 * target.h (struct target_ops) <to_upload_tracepoints>: Use
2051 TARGET_DEFAULT_RETURN.
2053 2014-02-19 Tom Tromey <tromey@redhat.com>
2055 * target-delegates.c: Rebuild.
2056 * target.c (update_current_target): Don't inherit or default
2058 * target.h (struct target_ops) <to_save_trace_data>: Use
2059 TARGET_DEFAULT_NORETURN.
2061 2014-02-19 Tom Tromey <tromey@redhat.com>
2063 * target-delegates.c: Rebuild.
2064 * target.c (update_current_target): Don't inherit or default
2065 to_get_trace_state_variable_value.
2066 * target.h (struct target_ops)
2067 <to_get_trace_state_variable_value>: Use TARGET_DEFAULT_RETURN.
2069 2014-02-19 Tom Tromey <tromey@redhat.com>
2071 * target-delegates.c: Rebuild.
2072 * target.c (update_current_target): Don't inherit or default
2074 * target.h (struct target_ops): Use TARGET_DEFAULT_RETURN.
2076 2014-02-19 Tom Tromey <tromey@redhat.com>
2078 * target-delegates.c: Rebuild.
2079 * target.c (update_current_target): Don't inherit or default
2081 * target.h (struct target_ops) <to_trace_stop>: Use
2082 TARGET_DEFAULT_NORETURN.
2084 2014-02-19 Tom Tromey <tromey@redhat.com>
2086 * target-delegates.c: Rebuild.
2087 * target.c (update_current_target): Don't inherit or default
2088 to_get_tracepoint_status.
2089 * target.h (struct target_ops) <to_get_tracepoint_status>: Use
2090 TARGET_DEFAULT_NORETURN.
2092 2014-02-19 Tom Tromey <tromey@redhat.com>
2094 * target-delegates.c: Rebuild.
2095 * target.c (update_current_target): Don't inherit or default
2096 to_get_trace_status.
2097 * target.h (struct target_ops) <to_get_trace_status>: Use
2098 TARGET_DEFAULT_RETURN.
2100 2014-02-19 Tom Tromey <tromey@redhat.com>
2102 * target-delegates.c: Rebuild.
2103 * target.c (update_current_target): Don't inherit or default
2105 * target.h (struct target_ops) <to_trace_start>: Use
2106 TARGET_DEFAULT_NORETURN.
2108 2014-02-19 Tom Tromey <tromey@redhat.com>
2110 * target-delegates.c: Rebuild.
2111 * target.c (update_current_target): Don't inherit or default
2112 to_trace_set_readonly_regions.
2113 * target.h (struct target_ops) <to_trace_set_readonly_regions>:
2114 Use TARGET_DEFAULT_NORETURN.
2116 2014-02-19 Tom Tromey <tromey@redhat.com>
2118 * target-delegates.c: Rebuild.
2119 * target.c (update_current_target): Don't inherit or default
2120 to_disable_tracepoint.
2121 * target.h (struct target_ops) <to_disable_tracepoint>: Use
2122 TARGET_DEFAULT_NORETURN.
2124 2014-02-19 Tom Tromey <tromey@redhat.com>
2126 * target-delegates.c: Rebuild.
2127 * target.c (update_current_target): Don't inherit or default
2128 to_enable_tracepoint.
2129 * target.h (struct target_ops) <to_enable_tracepoint>: Use
2130 TARGET_DEFAULT_NORETURN.
2132 2014-02-19 Tom Tromey <tromey@redhat.com>
2134 * target-delegates.c: Rebuild.
2135 * target.c (update_current_target): Don't inherit or default
2136 to_download_trace_state_variable.
2137 * target.h (struct target_ops) <to_download_trace_state_variable>:
2138 Use TARGET_DEFAULT_NORETURN.
2140 2014-02-19 Tom Tromey <tromey@redhat.com>
2142 * target-delegates.c: Rebuild.
2143 * target.c (update_current_target): Don't inherit or default
2144 to_can_download_tracepoint.
2145 * target.h (struct target_ops) <to_can_download_tracepoint>: Use
2146 TARGET_DEFAULT_RETURN.
2148 2014-02-19 Tom Tromey <tromey@redhat.com>
2150 * target-delegates.c: Rebuild.
2151 * target.c (update_current_target): Don't inherit or default
2152 to_download_tracepoint.
2153 * target.h (struct target_ops) <to_download_tracepoint>: Use
2154 TARGET_DEFAULT_NORETURN.
2156 2014-02-19 Tom Tromey <tromey@redhat.com>
2158 * target-delegates.c: Rebuild.
2159 * target.c (update_current_target): Don't inherit or default
2161 * target.h (struct target_ops) <to_trace_init>: Use
2162 TARGET_DEFAULT_RETURN.
2164 2014-02-19 Tom Tromey <tromey@redhat.com>
2166 * target-delegates.c: Rebuild.
2167 * target.c (update_current_target): Don't inherit or default
2168 to_supports_string_tracing.
2169 * target.h (struct target_ops) <to_supports_string_tracing>: Use
2170 TARGET_DEFAULT_RETURN.
2172 2014-02-19 Tom Tromey <tromey@redhat.com>
2174 * target-delegates.c: Rebuild.
2175 * target.c (update_current_target): Don't inherit or default
2176 to_supports_enable_disable_tracepoint.
2177 * target.h (struct target_ops)
2178 <to_supports_enable_disable_tracepoint>: Use
2179 TARGET_DEFAULT_RETURN.
2181 2014-02-19 Tom Tromey <tromey@redhat.com>
2183 * target-delegates.c: Rebuild.
2184 * target.c (update_current_target): Don't inherit or default
2185 to_supports_multi_process.
2186 * target.h (struct target_ops) <to_supports_multi_process>: Use
2187 TARGET_DEFAULT_RETURN.
2189 2014-02-19 Tom Tromey <tromey@redhat.com>
2191 * target-delegates.c: Rebuild.
2192 * target.c (update_current_target): Don't inherit or default
2193 to_get_ada_task_ptid.
2194 * target.h (struct target_ops) <to_get_ada_task_ptid>: Use
2195 TARGET_DEFAULT_FUNC.
2197 2014-02-19 Tom Tromey <tromey@redhat.com>
2199 * target-delegates.c: Rebuild.
2200 * target.c (update_current_target): Don't inherit or default
2201 to_thread_architecture.
2202 * target.h (struct target_ops) <to_thread_architecture>: Use
2203 TARGET_DEFAULT_FUNC.
2205 2014-02-19 Tom Tromey <tromey@redhat.com>
2207 * target-delegates.c: Rebuild.
2208 * target.c (update_current_target): Don't inherit or default
2209 to_execution_direction.
2210 * target.h (struct target_ops) <to_execution_direction>: Use
2211 TARGET_DEFAULT_FUNC.
2213 2014-02-19 Tom Tromey <tromey@redhat.com>
2215 * target-delegates.c: Rebuild.
2216 * target.c (update_current_target): Don't inherit or default
2217 to_can_execute_reverse.
2218 * target.h (struct target_ops) <to_can_execute_reverse>: Use
2219 TARGET_DEFAULT_RETURN.
2220 (target_can_execute_reverse): Unconditionally delegate.
2222 2014-02-19 Tom Tromey <tromey@redhat.com>
2224 * target-delegates.c: Rebuild.
2225 * target.c (update_current_target): Don't inherit or default
2227 (dummy_goto_bookmark): Remove.
2228 (init_dummy_target): Don't inherit or default to_goto_bookmark.
2229 * target.h (struct target_ops) <to_goto_bookmark>: Use
2230 TARGET_DEFAULT_NORETURN.
2232 2014-02-19 Tom Tromey <tromey@redhat.com>
2234 * target-delegates.c: Rebuild.
2235 * target.c (update_current_target): Don't inherit or default
2237 (dummy_get_bookmark): Remove.
2238 (init_dummy_target): Don't inherit or default to_get_bookmark.
2239 * target.h (struct target_ops) <to_get_bookmark>: Use
2240 TARGET_DEFAULT_NORETURN
2242 2014-02-19 Tom Tromey <tromey@redhat.com>
2244 * target-delegates.c: Rebuild.
2245 * target.c (update_current_target): Don't inherit or default
2246 to_make_corefile_notes.
2247 (init_dummy_target): Don't initialize to_make_corefile_notes.
2248 * target.h (struct target_ops) <to_make_corefile_notes>: Use
2249 TARGET_DEFAULT_FUNC.
2251 2014-02-19 Tom Tromey <tromey@redhat.com>
2253 * target-delegates.c: Rebuild.
2254 * target.c (update_current_target): Don't inherit or default
2255 to_find_memory_regions.
2256 (init_dummy_target): Don't initialize to_find_memory_regions.
2257 * target.h (struct target_ops) <to_find_memory_regions>: Use
2258 TARGET_DEFAULT_FUNC.
2260 2014-02-19 Tom Tromey <tromey@redhat.com>
2262 * target-delegates.c: Rebuild.
2263 * target.c (update_current_target): Don't inherit or default
2265 * target.h (struct target_ops) <to_log_command>: Use
2266 TARGET_DEFAULT_IGNORE.
2267 (target_log_command): Unconditionally delegate.
2269 2014-02-19 Tom Tromey <tromey@redhat.com>
2271 * target-delegates.c: Rebuild.
2272 * target.c (update_current_target): Don't inherit or default
2273 to_pid_to_exec_file.
2274 * target.h (struct target_ops) <to_pid_to_exec_file>: Use
2275 TARGET_DEFAULT_RETURN.
2277 2014-02-19 Tom Tromey <tromey@redhat.com>
2279 * target-delegates.c: Rebuild.
2280 * target.c (update_current_target): Don't inherit or default
2282 (target_thread_name): Unconditionally delegate.
2283 * target.h (struct target_ops) <to_thread_name>: Use
2284 TARGET_DEFAULT_RETURN.
2286 2014-02-19 Tom Tromey <tromey@redhat.com>
2288 * target-delegates.c: Rebuild.
2289 * target.c (update_current_target): Don't inherit or default
2290 to_extra_thread_info.
2291 * target.h (struct target_ops) <to_extra_thread_info>: Use
2292 TARGET_DEFAULT_RETURN.
2294 2014-02-19 Tom Tromey <tromey@redhat.com>
2296 * target-delegates.c: Rebuild.
2297 * target.c (update_current_target): Don't inherit or default
2299 * target.h (struct target_ops) <to_has_exited>: Use
2300 TARGET_DEFAULT_RETURN..
2302 2014-02-19 Tom Tromey <tromey@redhat.com>
2304 * target-delegates.c: Rebuild.
2305 * target.c (update_current_target): Don't inherit or default
2306 to_set_syscall_catchpoint.
2307 (return_one): Remove.
2308 * target.h (struct target_ops) <to_set_syscall_catchpoint>: Use
2309 TARGET_DEFAULT_RETURN.
2311 2014-02-19 Tom Tromey <tromey@redhat.com>
2313 * target-delegates.c: Rebuild.
2314 * target.c (update_current_target): Don't inherit or default
2315 to_insert_exec_catchpoint.
2316 * target.h (struct target_ops) <to_insert_exec_catchpoint>: Use
2317 TARGET_DEFAULT_RETURN.
2319 2014-01-08 Tom Tromey <tromey@redhat.com>
2321 * target-delegates.c: Rebuild.
2322 * target.c (update_current_target): Don't inherit or default
2323 to_insert_exec_catchpoint.
2324 * target.h (struct target_ops) <to_insert_exec_catchpoint>: Use
2325 TARGET_DEFAULT_RETURN.
2327 2014-02-19 Tom Tromey <tromey@redhat.com>
2329 * target-delegates.c: Rebuild.
2330 * target.c (update_current_target): Don't inherit or default
2331 to_remove_vfork_catchpoint.
2332 * target.h (struct target_ops) <to_remove_vfork_catchpoint>: Use
2333 TARGET_DEFAULT_RETURN.
2335 2014-02-19 Tom Tromey <tromey@redhat.com>
2337 * target-delegates.c: Rebuild.
2338 * target.c (update_current_target): Don't inherit or default
2339 to_insert_vfork_catchpoint.
2340 * target.h (struct target_ops) <to_insert_vfork_catchpoint>: Use
2341 TARGET_DEFAULT_RETURN.
2343 2014-02-19 Tom Tromey <tromey@redhat.com>
2345 * target-delegates.c: Rebuild.
2346 * target.c (update_current_target): Don't inherit or default
2347 to_remove_fork_catchpoint.
2348 * target.h (struct target_ops) <to_remove_fork_catchpoint>: Use
2349 TARGET_DEFAULT_RETURN.
2351 2014-02-19 Tom Tromey <tromey@redhat.com>
2353 * target-delegates.c: Rebuild.
2354 * target.c (update_current_target): Don't inherit or default
2355 to_insert_fork_catchpoint.
2356 * target.h (struct target_ops) <to_insert_fork_catchpoint>: Use
2357 TARGET_DEFAULT_RETURN.
2359 2014-02-19 Tom Tromey <tromey@redhat.com>
2361 * target-delegates.c: Rebuild.
2362 * target.c (update_current_target): Don't inherit or default
2363 to_post_startup_inferior.
2364 * target.h (struct target_ops) <to_post_startup_inferior>: Use
2365 TARGET_DEFAULT_IGNORE.
2367 2014-02-19 Tom Tromey <tromey@redhat.com>
2369 * target-delegates.c: Rebuild.
2370 * target.c (update_current_target): Don't inherit or default
2372 * target.h (struct target_ops) <to_load>: Use
2373 TARGET_DEFAULT_NORETURN.
2375 2014-02-19 Tom Tromey <tromey@redhat.com>
2377 * target-delegates.c: Rebuild.
2378 * target.c (update_current_target): Don't inherit or default
2380 * target.h (struct target_ops) <to_terminal_info>: Use
2381 TARGET_DEFAULT_FUNC.
2383 2014-02-19 Tom Tromey <tromey@redhat.com>
2385 * target-delegates.c: Rebuild.
2386 * target.c (update_current_target): Don't inherit or default
2387 to_terminal_save_ours.
2388 * target.h (struct target_ops) <to_terminal_save_ours>: Use
2389 TARGET_DEFAULT_IGNORE.
2391 2014-02-19 Tom Tromey <tromey@redhat.com>
2393 * target-delegates.c: Rebuild.
2394 * target.c (update_current_target): Don't inherit or default
2396 * target.h (struct target_ops) <to_terminal_ours>: Use
2397 TARGET_DEFAULT_IGNORE.
2399 2014-02-19 Tom Tromey <tromey@redhat.com>
2401 * target-delegates.c: Rebuild.
2402 * target.c (update_current_target): Don't inherit or default
2403 to_terminal_ours_for_output.
2404 * target.h (struct target_ops) <to_terminal_ours_for_output>: Use
2405 TARGET_DEFAULT_IGNORE.
2407 2014-02-19 Tom Tromey <tromey@redhat.com>
2409 * target-delegates.c: Rebuild.
2410 * target.c (update_current_target): Don't inherit or default
2411 to_terminal_inferior.
2412 * target.h (struct target_ops) <to_terminal_inferior>: Use
2413 TARGET_DEFAULT_IGNORE.
2415 2014-02-19 Tom Tromey <tromey@redhat.com>
2417 * target-delegates.c: Rebuild.
2418 * target.c (update_current_target): Don't inherit or default
2420 * target.h (struct target_ops) <to_terminal_init>: Use
2421 TARGET_DEFAULT_IGNORE.
2423 2014-02-19 Tom Tromey <tromey@redhat.com>
2425 * target-delegates.c: Rebuild.
2426 * target.c (update_current_target): Don't inherit or default
2427 to_can_accel_watchpoint_condition.
2428 * target.h (struct target_ops)
2429 <to_can_accel_watchpoint_condition>: Use TARGET_DEFAULT_RETURN.
2431 2014-02-19 Tom Tromey <tromey@redhat.com>
2433 * target-delegates.c: Rebuild.
2434 * target.c (update_current_target): Don't inherit or default
2435 to_region_ok_for_hw_watchpoint.
2436 * target.h (struct target_ops) <to_region_ok_for_hw_watchpoint>:
2437 Use TARGET_DEFAULT_FUNC.
2439 2014-02-19 Tom Tromey <tromey@redhat.com>
2441 * target-delegates.c: Rebuild.
2442 * target.c (update_current_target): Don't inherit or default
2443 to_watchpoint_addr_within_range.
2444 * target.h (struct target_ops) <to_watchpoint_addr_within_range>:
2445 Use TARGET_DEFAULT_FUNC.
2447 2014-02-19 Tom Tromey <tromey@redhat.com>
2449 * target-delegates.c: Rebuild.
2450 * target.c (update_current_target): Don't inherit or default
2451 to_remove_watchpoint.
2452 * target.h (struct target_ops) <to_remove_watchpoint>: Use
2453 TARGET_DEFAULT_NORETURN.
2455 2014-02-19 Tom Tromey <tromey@redhat.com>
2457 * target-delegates.c: Rebuild.
2458 * target.c (update_current_target): Don't inherit or default
2459 to_insert_watchpoint.
2460 * target.h (struct target_ops) <to_insert_watchpoint>: Use
2461 TARGET_DEFAULT_RETURN.
2463 2014-02-19 Tom Tromey <tromey@redhat.com>
2465 * target-delegates.c: Rebuild.
2466 * target.c (update_current_target): Don't inherit or default
2467 to_remove_hw_breakpoint.
2468 * target.h (struct target_ops) <to_remove_hw_breakpoint>: Use
2469 TARGET_DEFAULT_RETURN.
2471 2014-02-19 Tom Tromey <tromey@redhat.com>
2473 * target-delegates.c: Rebuild.
2474 * target.c (update_current_target): Don't inherit or default
2475 to_insert_hw_breakpoint.
2476 * target.h (struct target_ops) <to_insert_hw_breakpoint>: Use
2477 TARGET_DEFAULT_RETURN.
2479 2014-02-19 Tom Tromey <tromey@redhat.com>
2481 * target-delegates.c: Rebuild.
2482 * target.c (update_current_target): Don't inherit or default
2483 to_can_use_hw_breakpoint.
2484 * target.h (struct target_ops) <to_can_use_hw_breakpoint>: Use
2485 TARGET_DEFAULT_RETURN.
2487 2014-02-19 Tom Tromey <tromey@redhat.com>
2489 * target-delegates.c: Rebuild.
2490 * target.c (update_current_target): Don't inherit or default
2492 * target.h (struct target_ops) <to_files_info>: Use
2493 TARGET_DEFAULT_IGNORE.
2495 2014-02-19 Tom Tromey <tromey@redhat.com>
2497 * target-delegates.c: Rebuild.
2498 * target.c (update_current_target): Don't inherit or default
2500 * target.h (struct target_ops) <to_store>: Use
2501 TARGET_DEFAULT_NORETURN.
2503 2014-02-19 Tom Tromey <tromey@redhat.com>
2505 * target-delegates.c: Rebuild.
2506 * target.c (update_current_target): Don't inherit or default
2508 * target.h (struct target_ops) <to_post_attach>: Use
2509 TARGET_DEFAULT_IGNORE.
2511 2014-02-19 Tom Tromey <tromey@redhat.com>
2513 * target-delegates.c: Rebuild.
2514 * target.c (update_current_target): Don't inherit or default
2516 (default_rcmd): New function.
2517 (do_monitor_command): Unconditionally delegate.
2518 * target.h (struct target_ops) <to_rmcd>: Use
2519 TARGET_DEFAULT_FUNC.
2521 2014-02-19 Tom Tromey <tromey@redhat.com>
2523 * target-delegates.c: Rebuild.
2524 * target.c (init_dummy_target): Don't initialize to_attach.
2525 (target_attach): Unconditionally delegate.
2526 * target.h (struct target_ops) <to_attach>: Use
2527 TARGET_DEFAULT_FUNC.
2529 2014-02-19 Tom Tromey <tromey@redhat.com>
2531 * target-delegates.c: Rebuild.
2532 * target.c (target_detach): Unconditionally delegate.
2533 (init_dummy_target): Don't initialize to_detach.
2534 * target.h (struct target_ops) <to_detach>: Use
2535 TARGET_DEFAULT_IGNORE.
2537 2014-02-19 Tom Tromey <tromey@redhat.com>
2539 * target.h (struct target_ops) <to_augmented_libraries_svr4_read>:
2541 (target_augmented_libraries_svr4_read): Add argument.
2542 * target.c (update_current_target): Update.
2543 * remote.c (remote_augmented_libraries_svr4_read): Add 'self'
2546 2014-02-19 Tom Tromey <tromey@redhat.com>
2548 * target.h (struct target_ops) <to_call_history_range>: Add
2550 * target.c (target_call_history_range): Add argument.
2551 * record-btrace.c (record_btrace_call_history_range): Add 'self'
2553 (record_btrace_call_history_from): Update.
2555 2014-02-19 Tom Tromey <tromey@redhat.com>
2557 * target.h (struct target_ops) <to_call_history_from>: Add
2559 * target.c (target_call_history_from): Add argument.
2560 * record-btrace.c (record_btrace_call_history_from): Add 'self'
2563 2014-02-19 Tom Tromey <tromey@redhat.com>
2565 * target.h (struct target_ops) <to_call_history>: Add argument.
2566 * target.c (target_call_history): Add argument.
2567 * record-btrace.c (record_btrace_call_history): Add 'self'
2570 2014-02-19 Tom Tromey <tromey@redhat.com>
2572 * target.h (struct target_ops) <to_insn_history_range>: Add
2574 * target.c (target_insn_history_range): Add argument.
2575 * record-btrace.c (record_btrace_insn_history_range): Add 'self'
2577 (record_btrace_insn_history_from): Update.
2579 2014-02-19 Tom Tromey <tromey@redhat.com>
2581 * target.h (struct target_ops) <to_insn_history_from>: Add
2583 * target.c (target_insn_history_from): Add argument.
2584 * record-btrace.c (record_btrace_insn_history_from): Add 'self'
2587 2014-02-19 Tom Tromey <tromey@redhat.com>
2589 * target.h (struct target_ops) <to_insn_history>: Add argument.
2590 * target.c (target_insn_history): Add argument.
2591 * record-btrace.c (record_btrace_insn_history): Add 'self'
2594 2014-02-19 Tom Tromey <tromey@redhat.com>
2596 * target.h (struct target_ops) <to_goto_record>: Add argument.
2597 * target.c (target_goto_record): Add argument.
2598 * record-full.c (record_full_goto): Add 'self' argument.
2599 * record-btrace.c (record_btrace_goto): Add 'self' argument.
2601 2014-02-19 Tom Tromey <tromey@redhat.com>
2603 * target.h (struct target_ops) <to_goto_record_end>: Add argument.
2604 * target.c (target_goto_record_end): Add argument.
2605 * record-full.c (record_full_goto_end): Add 'self' argument.
2606 * record-btrace.c (record_btrace_goto_end): Add 'self' argument.
2608 2014-02-19 Tom Tromey <tromey@redhat.com>
2610 * target.h (struct target_ops) <to_goto_record_begin>: Add
2612 * target.c (target_goto_record_begin): Add argument.
2613 * record-full.c (record_full_goto_begin): Add 'self' argument.
2614 * record-btrace.c (record_btrace_goto_begin): Add 'self'
2617 2014-02-19 Tom Tromey <tromey@redhat.com>
2619 * target.h (struct target_ops) <to_record_is_replaying>: Add
2621 * target.c (target_record_is_replaying): Add argument.
2622 * record-full.c (record_full_is_replaying): Add 'self' argument.
2623 * record-btrace.c (record_btrace_is_replaying): Add 'self'
2625 (record_btrace_xfer_partial, record_btrace_store_registers)
2626 (record_btrace_prepare_to_store, record_btrace_resume)
2627 (record_btrace_wait, record_btrace_decr_pc_after_break)
2628 (record_btrace_find_new_threads, record_btrace_thread_alive):
2631 2014-02-19 Tom Tromey <tromey@redhat.com>
2633 * target.h (struct target_ops) <to_delete_record>: Add argument.
2634 * target.c (target_delete_record): Add argument.
2635 * record-full.c (record_full_delete): Add 'self' argument.
2637 2014-02-19 Tom Tromey <tromey@redhat.com>
2639 * target.h (struct target_ops) <to_save_record>: Add argument.
2640 * target.c (target_save_record): Add argument.
2641 * record-full.c (record_full_save): Add 'self' argument.
2642 (record_full_save): Add 'self' argument.
2644 2014-02-19 Tom Tromey <tromey@redhat.com>
2646 * target.h (struct target_ops) <to_info_record>: Add argument.
2647 * target.c (target_info_record): Add argument.
2648 * record.c (info_record_command): Add argument.
2649 * record-full.c (record_full_info): Add 'self' argument.
2650 * record-btrace.c (record_btrace_info): Add 'self' argument.
2652 2014-02-19 Tom Tromey <tromey@redhat.com>
2654 * target.h (struct target_ops) <to_stop_recording>: Add argument.
2655 * target.c (target_stop_recording): Add argument.
2656 * record.c (record_stop): Add argument.
2657 * record-btrace.c (record_btrace_stop_recording): Add 'self'
2660 2014-02-19 Tom Tromey <tromey@redhat.com>
2662 * target.h (struct target_ops) <to_read_btrace>: Add argument.
2663 * target.c (struct target_ops) <to_read_btrace>: Add argument.
2664 * remote.c (struct target_ops) <to_read_btrace>: Add 'self'
2666 * amd64-linux-nat.c (amd64_linux_read_btrace): New function.
2667 (_initialize_amd64_linux_nat): Use it.
2668 * i386-linux-nat.c (i386_linux_read_btrace): New function.
2669 (_initialize_i386_linux_nat): Use it.
2671 2014-02-19 Tom Tromey <tromey@redhat.com>
2673 * target.h (struct target_ops) <to_teardown_btrace>: Add argument.
2674 * target.c (target_teardown_btrace): Add argument.
2675 * remote.c (remote_teardown_btrace): Add 'self' argument.
2676 * i386-linux-nat.c (i386_linux_teardown_btrace): Add 'self'
2678 * amd64-linux-nat.c (amd64_linux_teardown_btrace): Add 'self'
2681 2014-02-19 Tom Tromey <tromey@redhat.com>
2683 * target.h (struct target_ops) <to_disable_btrace>: Add argument.
2684 * target.c (target_disable_btrace): Add argument.
2685 * remote.c (remote_disable_btrace): Add 'self' argument.
2686 * i386-linux-nat.c (i386_linux_disable_btrace): Add 'self'
2688 * amd64-linux-nat.c (amd64_linux_disable_btrace): Add 'self'
2691 2014-02-19 Tom Tromey <tromey@redhat.com>
2693 * target.h (struct target_ops) <to_enable_btrace>: Add argument.
2694 * target.c (target_enable_btrace): Add argument.
2695 * remote.c (remote_enable_btrace): Add 'self' argument.
2696 * i386-linux-nat.c (i386_linux_enable_btrace): Add 'self'
2698 * amd64-linux-nat.c (amd64_linux_enable_btrace): Add 'self'
2701 2014-02-19 Tom Tromey <tromey@redhat.com>
2703 * target.h (struct target_ops) <to_can_use_agent>: Add argument.
2704 (target_can_use_agent): Add argument.
2705 * target.c (update_current_target): Update.
2706 * remote.c (remote_can_use_agent): Add 'self' argument.
2707 * inf-child.c (inf_child_can_use_agent): Add 'self' argument.
2709 2014-02-19 Tom Tromey <tromey@redhat.com>
2711 * target.h (struct target_ops) <to_use_agent>: Add argument.
2712 (target_use_agent): Add argument.
2713 * target.c (update_current_target): Update.
2714 * remote.c (remote_use_agent): Add 'self' argument.
2715 * inf-child.c (inf_child_use_agent): Add 'self' argument.
2717 2014-02-19 Tom Tromey <tromey@redhat.com>
2719 * tracepoint.c (tfile_traceframe_info): Add 'self' argument.
2720 * target.h (struct target_ops) <to_traceframe_info>: Add argument.
2721 (target_traceframe_info): Add argument.
2722 * target.c (update_current_target): Update.
2723 * remote.c (remote_traceframe_info): Add 'self' argument.
2724 * ctf.c (ctf_traceframe_info): Add 'self' argument.
2726 2014-02-19 Tom Tromey <tromey@redhat.com>
2728 * target.h (target_static_tracepoint_markers_by_strid): Add
2730 (struct target_ops) <to_static_tracepoint_markers_by_strid>: Add
2732 * target.c (update_current_target): Update.
2733 * remote.c (struct target_ops)
2734 <to_static_tracepoint_markers_by_strid>: Add 'self' argument.
2735 * linux-nat.c (struct target_ops)
2736 <to_static_tracepoint_markers_by_strid>: Add 'self' argument.
2738 2014-02-19 Tom Tromey <tromey@redhat.com>
2740 * target.h (struct target_ops) <to_static_tracepoint_marker_at>:
2742 (target_static_tracepoint_marker_at): Add argument.
2743 * target.c (update_current_target): Update.
2744 * remote.c (remote_static_tracepoint_marker_at): Add 'self'
2747 2014-02-19 Tom Tromey <tromey@redhat.com>
2749 * target.h (struct target_ops) <to_set_permissions>: Add argument.
2750 (target_set_permissions): Add argument.
2751 * target.c (update_current_target): Update.
2752 * remote.c (remote_set_permissions): Add 'self' argument.
2753 (remote_start_remote): Update.
2755 2014-02-19 Tom Tromey <tromey@redhat.com>
2757 * windows-nat.c (windows_get_tib_address): Add 'self' argument.
2758 * target.h (struct target_ops) <to_get_tib_address>: Add argument.
2759 (target_get_tib_address): Add argument.
2760 * target.c (update_current_target): Update.
2761 * remote.c (remote_get_tib_address): Add 'self' argument.
2763 2014-02-19 Tom Tromey <tromey@redhat.com>
2765 * target.h (struct target_ops) <to_set_trace_notes>: Add argument.
2766 (target_set_trace_notes): Add argument.
2767 * target.c (update_current_target): Update.
2768 * remote.c (remote_set_trace_notes): Add 'self' argument.
2770 2014-02-19 Tom Tromey <tromey@redhat.com>
2772 * target.h (struct target_ops) <to_set_trace_buffer_size>: Add
2774 (target_set_trace_buffer_size): Add argument.
2775 * target.c (update_current_target): Update.
2776 * remote.c (remote_set_trace_buffer_size): Add 'self' argument.
2778 2014-02-19 Tom Tromey <tromey@redhat.com>
2780 * target.h (struct target_ops) <to_set_circular_trace_buffer>: Add
2782 (target_set_circular_trace_buffer): Add argument.
2783 * target.c (update_current_target): Update.
2784 * remote.c (remote_set_circular_trace_buffer): Add 'self'
2787 2014-02-19 Tom Tromey <tromey@redhat.com>
2789 * target.h (struct target_ops) <to_set_disconnected_tracing>: Add
2791 (target_set_disconnected_tracing): Add argument.
2792 * target.c (update_current_target): Update.
2793 * remote.c (remote_set_disconnected_tracing): Add 'self' argument.
2795 2014-02-19 Tom Tromey <tromey@redhat.com>
2797 * target.h (struct target_ops)
2798 <to_get_min_fast_tracepoint_insn_len>: Add argument.
2799 (target_get_min_fast_tracepoint_insn_len): Add argument.
2800 * target.c (update_current_target): Update.
2801 * remote.c (remote_get_min_fast_tracepoint_insn_len): Add 'self'
2804 2014-02-19 Tom Tromey <tromey@redhat.com>
2806 * target.h (struct target_ops) <to_get_raw_trace_data>: Add
2808 (target_get_raw_trace_data): Add argument.
2809 * target.c (update_current_target): Update.
2810 * remote.c (remote_get_raw_trace_data): Add 'self' argument.
2812 2014-02-19 Tom Tromey <tromey@redhat.com>
2814 * target.h (struct target_ops) <to_upload_trace_state_variables>:
2816 (target_upload_trace_state_variables): Add argument.
2817 * target.c (update_current_target): Update.
2818 * remote.c (remote_upload_trace_state_variables): Add 'self'
2820 (remote_start_remote): Update.
2822 2014-02-19 Tom Tromey <tromey@redhat.com>
2824 * target.h (struct target_ops) <to_upload_tracepoints>: Add
2826 (target_upload_tracepoints): Add argument.
2827 * target.c (update_current_target): Update.
2828 * remote.c (remote_upload_tracepoints): Add 'self' argument.
2829 (remote_start_remote): Update.
2831 2014-02-19 Tom Tromey <tromey@redhat.com>
2833 * target.h (struct target_ops) <to_save_trace_data>: Add argument.
2834 (target_save_trace_data): Add argument.
2835 * target.c (update_current_target): Update.
2836 * remote.c (remote_save_trace_data): Add 'self' argument.
2838 2014-02-19 Tom Tromey <tromey@redhat.com>
2840 * tracepoint.c (tfile_get_trace_state_variable_value): Add 'self'
2842 * target.h (struct target_ops)
2843 <to_get_trace_state_variable_value>: Add argument.
2844 (target_get_trace_state_variable_value): Add argument.
2845 * target.c (update_current_target): Update.
2846 * remote.c (remote_get_trace_state_variable_value): Add 'self'
2848 * ctf.c (ctf_get_trace_state_variable_value): Add 'self' argument.
2850 2014-02-19 Tom Tromey <tromey@redhat.com>
2852 * tracepoint.c (tfile_trace_find): Add 'self' argument.
2853 * target.h (struct target_ops) <to_trace_find>: Add argument.
2854 (target_trace_find): Add argument.
2855 * target.c (update_current_target): Update.
2856 * remote.c (remote_trace_find): Add 'self' argument.
2857 * ctf.c (ctf_trace_find): Add 'self' argument.
2859 2014-02-19 Tom Tromey <tromey@redhat.com>
2861 * target.h (struct target_ops) <to_trace_stop>: Add argument.
2862 (target_trace_stop): Add argument.
2863 * target.c (update_current_target): Update.
2864 * remote.c (remote_trace_stop): Add 'self' argument.
2866 2014-02-19 Tom Tromey <tromey@redhat.com>
2868 * tracepoint.c (tfile_get_tracepoint_status): Add 'self' argument.
2869 * target.h (struct target_ops) <to_get_tracepoint_status>: Add
2871 (target_get_tracepoint_status): Add argument.
2872 * target.c (update_current_target): Update.
2873 * remote.c (remote_get_tracepoint_status): Add 'self' argument.
2875 2014-02-19 Tom Tromey <tromey@redhat.com>
2877 * tracepoint.c (tfile_get_trace_status): Add 'self' argument.
2878 * target.h (struct target_ops) <to_get_trace_status>: Add
2880 (target_get_trace_status): Add argument.
2881 * target.c (update_current_target): Update.
2882 * remote.c (remote_get_trace_status): Add 'self' argument.
2883 (remote_start_remote, remote_can_download_tracepoint): Update.
2884 * ctf.c (ctf_get_trace_status): Add 'self' argument.
2886 2014-02-19 Tom Tromey <tromey@redhat.com>
2888 * target.h (struct target_ops) <to_trace_start>: Add argument.
2889 (target_trace_start): Add argument.
2890 * target.c (update_current_target): Update.
2891 * remote.c (remote_trace_start): Add 'self' argument.
2893 2014-02-19 Tom Tromey <tromey@redhat.com>
2895 * target.h (struct target_ops) <to_trace_set_readonly_regions>:
2897 (target_trace_set_readonly_regions): Add argument.
2898 * target.c (update_current_target): Update.
2899 * remote.c (remote_trace_set_readonly_regions): Add 'self'
2902 2014-02-19 Tom Tromey <tromey@redhat.com>
2904 * target.h (struct target_ops) <to_disable_tracepoint>: Add
2906 (target_disable_tracepoint): Add argument.
2907 * target.c (update_current_target): Update.
2908 * remote.c (remote_disable_tracepoint): Add 'self' argument.
2910 2014-02-19 Tom Tromey <tromey@redhat.com>
2912 * target.h (struct target_ops) <to_enable_tracepoint>: Add
2914 (target_enable_tracepoint): Add argument.
2915 * target.c (update_current_target): Update.
2916 * remote.c (remote_enable_tracepoint): Add 'self' argument.
2918 2014-02-19 Tom Tromey <tromey@redhat.com>
2920 * target.h (struct target_ops) <to_download_trace_state_variable>:
2922 (target_download_trace_state_variable): Add argument.
2923 * target.c (update_current_target): Update.
2924 * remote.c (remote_download_trace_state_variable): Add 'self'
2927 2014-02-19 Tom Tromey <tromey@redhat.com>
2929 * target.h (struct target_ops) <to_can_download_tracepoint>: Add
2931 (target_can_download_tracepoint): Add argument.
2932 * target.c (update_current_target): Update.
2933 * remote.c (remote_can_download_tracepoint): Add 'self' argument.
2935 2014-02-19 Tom Tromey <tromey@redhat.com>
2937 * target.h (struct target_ops) <to_download_tracepoint>: Add
2939 (target_download_tracepoint): Add argument.
2940 * target.c (update_current_target): Update.
2941 * remote.c (remote_download_tracepoint): Add 'self' argument.
2943 2014-02-19 Tom Tromey <tromey@redhat.com>
2945 * target.h (struct target_ops) <to_trace_init>: Add argument.
2946 (target_trace_init): Add argument.
2947 * target.c (update_current_target): Update.
2948 * remote.c (remote_trace_init): Add 'self' argument.
2950 2014-02-19 Tom Tromey <tromey@redhat.com>
2952 * target.h (struct target_ops) <to_fileio_readlink>: Add argument.
2953 * target.c (target_fileio_readlink): Add argument.
2954 * remote.c (remote_hostio_readlink): Add 'self' argument.
2955 * inf-child.c (inf_child_fileio_readlink): Add 'self' argument.
2957 2014-02-19 Tom Tromey <tromey@redhat.com>
2959 * target.h (struct target_ops) <to_fileio_unlink>: Add argument.
2960 * target.c (target_fileio_unlink): Add argument.
2961 * remote.c (remote_hostio_unlink): Add 'self' argument.
2962 (remote_file_delete): Update.
2963 * inf-child.c (inf_child_fileio_unlink): Add 'self' argument.
2965 2014-02-19 Tom Tromey <tromey@redhat.com>
2967 * target.h (struct target_ops) <to_fileio_close>: Add argument.
2968 * target.c (target_fileio_close): Add argument.
2969 * remote.c (remote_hostio_close): Add 'self' argument.
2970 (remote_hostio_close_cleanup): Update.
2971 (remote_bfd_iovec_close, remote_file_put, remote_file_get):
2973 * inf-child.c (inf_child_fileio_close): Add 'self' argument.
2975 2014-02-19 Tom Tromey <tromey@redhat.com>
2977 * target.h (struct target_ops) <to_fileio_pread>: Add argument.
2978 * target.c (target_fileio_pread): Add argument.
2979 * remote.c (remote_hostio_pread): Add 'self' argument.
2980 (remote_bfd_iovec_pread, remote_file_get): Update.
2981 * inf-child.c (inf_child_fileio_pread): Add 'self' argument.
2983 2014-02-19 Tom Tromey <tromey@redhat.com>
2985 * target.h (struct target_ops) <to_fileio_pwrite>: Add argument.
2986 * target.c (target_fileio_pwrite): Add argument.
2987 * remote.c (remote_hostio_pwrite): Add 'self' argument.
2988 (remote_file_put): Update.
2989 * inf-child.c (inf_child_fileio_pwrite): Add 'self' argument.
2991 2014-02-19 Tom Tromey <tromey@redhat.com>
2993 * target.h (struct target_ops) <to_fileio_open>: Add argument.
2994 * target.c (target_fileio_open): Add argument.
2995 * remote.c (remote_hostio_open): Add 'self' argument.
2996 (remote_bfd_iovec_open): Add 'self' argument.
2997 (remote_file_put): Add 'self' argument.
2998 (remote_file_get): Add 'self' argument.
2999 * inf-child.c (inf_child_fileio_open): Add 'self' argument.
3001 2014-02-19 Tom Tromey <tromey@redhat.com>
3003 * target.h (struct target_ops) <to_can_run_breakpoint_commands>:
3005 (target_can_run_breakpoint_commands): Add argument.
3006 * target.c (update_current_target): Update.
3007 * remote.c (remote_can_run_breakpoint_commands): Add 'self'
3009 (remote_insert_breakpoint): Add 'self' argument.
3010 (remote_insert_hw_breakpoint): Add 'self' argument.
3011 (remote_can_run_breakpoint_commands): Add 'self' argument.
3013 2014-02-19 Tom Tromey <tromey@redhat.com>
3015 * target.h (struct target_ops)
3016 <to_supports_evaluation_of_breakpoint_conditions>: Add argument.
3017 (target_supports_evaluation_of_breakpoint_conditions): Add
3019 * target.c (update_current_target): Update.
3020 * remote.c (remote_supports_cond_breakpoints): Add 'self'
3022 (remote_insert_breakpoint): Add 'self' argument.
3023 (remote_insert_hw_breakpoint): Add 'self' argument.
3024 (remote_supports_cond_breakpoints): Add 'self' argument.
3026 2014-02-19 Tom Tromey <tromey@redhat.com>
3028 * target.h (struct target_ops) <to_supports_string_tracing>: Add
3030 (target_supports_string_tracing): Add argument.
3031 * target.c (update_current_target): Update.
3032 * remote.c (remote_supports_string_tracing): Add 'self' argument.
3034 2014-02-19 Tom Tromey <tromey@redhat.com>
3036 * target.h (struct target_ops)
3037 <to_supports_disable_randomization>: Add argument.
3038 * target.c (find_default_supports_disable_randomization): Add
3040 (target_supports_disable_randomization): Add argument.
3041 (find_default_supports_disable_randomization): Add 'self'
3043 * remote.c (extended_remote_supports_disable_randomization): Add
3045 (remote_supports_disable_randomization): Add 'self' argument.
3046 (extended_remote_create_inferior): Update.
3047 * linux-nat.c (linux_nat_supports_disable_randomization): Add
3050 2014-02-19 Tom Tromey <tromey@redhat.com>
3052 * target.h (struct target_ops)
3053 <to_supports_enable_disable_tracepoint>: Add argument.
3054 (target_supports_enable_disable_tracepoint): Add argument.
3055 * target.c (update_current_target): Update.
3056 * remote.c (remote_supports_enable_disable_tracepoint): Add 'self'
3059 2014-02-19 Tom Tromey <tromey@redhat.com>
3061 * target.h (struct target_ops) <to_supports_multi_process>: Add
3063 (target_supports_multi_process): Add argument.
3064 * target.c (update_current_target): Update.
3065 * remote.c (remote_supports_multi_process): Add 'self' argument.
3066 * linux-nat.c (linux_nat_supports_multi_process): Add 'self'
3068 * darwin-nat.c (darwin_supports_multi_process): Add 'self'
3071 2014-02-19 Tom Tromey <tromey@redhat.com>
3073 * target.h (struct target_ops) <to_execution_direction>: Add
3075 (target_execution_direction): Add argument.
3076 * target.c (default_execution_direction): Add 'self' argument.
3077 * record-full.c (record_full_execution_direction): Add 'self'
3080 2014-02-19 Tom Tromey <tromey@redhat.com>
3082 * target.h (struct target_ops) <to_can_execute_reverse>: Add
3084 (target_can_execute_reverse): Add argument.
3085 * remote.c (remote_can_execute_reverse): Add 'self' argument.
3086 * record-full.c (record_full_can_execute_reverse): Add 'self'
3088 * record-btrace.c (record_btrace_can_execute_reverse): Add 'self'
3091 2014-02-19 Tom Tromey <tromey@redhat.com>
3093 * windows-nat.c (windows_get_ada_task_ptid): Add 'self' argument.
3094 * target.h (struct target_ops) <to_get_ada_task_ptid>: Add
3096 (target_get_ada_task_ptid): Add argument.
3097 * target.c (update_current_target): Update.
3098 (default_get_ada_task_ptid): Add 'self' argument.
3099 * sol-thread.c (sol_get_ada_task_ptid): Add 'self' argument.
3100 * remote.c (remote_get_ada_task_ptid): Add 'self' argument.
3101 * ravenscar-thread.c (ravenscar_get_ada_task_ptid): Add 'self'
3103 * linux-thread-db.c (thread_db_get_ada_task_ptid): Add 'self'
3105 * inf-ttrace.c (inf_ttrace_get_ada_task_ptid): Add 'self'
3107 * dec-thread.c (dec_thread_get_ada_task_ptid): Add 'self'
3109 * darwin-nat.c (darwin_get_ada_task_ptid): Add 'self' argument.
3110 * aix-thread.c (aix_thread_get_ada_task_ptid): Add 'self'
3113 2014-02-19 Tom Tromey <tromey@redhat.com>
3115 * target.h (struct target_ops) <to_goto_bookmark>: Add argument.
3116 (target_goto_bookmark): Add argument.
3117 * target.c (dummy_goto_bookmark): Add 'self' argument.
3118 * record-full.c (record_full_goto_bookmark): Add 'self' argument.
3120 2014-02-19 Tom Tromey <tromey@redhat.com>
3122 * target.h (struct target_ops) <to_get_bookmark>: Add argument.
3123 (target_get_bookmark): Add argument.
3124 * target.c (dummy_get_bookmark): Add 'self' argument.
3125 * record-full.c (record_full_get_bookmark): Add 'self' argument.
3127 2014-02-19 Tom Tromey <tromey@redhat.com>
3129 * target.h (struct target_ops) <to_make_corefile_notes>: Add
3131 (target_make_corefile_notes): Add argument.
3132 * target.c (dummy_make_corefile_notes): Add 'self' argument.
3133 * procfs.c (procfs_make_note_section): Add 'self' argument.
3134 (procfs_make_note_section): Add 'self' argument.
3135 (procfs_make_note_section): Add 'self' argument.
3136 * linux-nat.c (linux_nat_make_corefile_notes): Add 'self'
3138 * fbsd-nat.h (fbsd_make_corefile_notes): Add 'self' argument.
3139 * fbsd-nat.c (fbsd_make_corefile_notes): Add 'self' argument.
3140 * exec.c (exec_make_note_section): Add 'self' argument.
3141 (exec_make_note_section): Add 'self' argument.
3143 2014-02-19 Tom Tromey <tromey@redhat.com>
3145 * target.h (struct target_ops) <to_find_memory_regions>: Add
3147 (target_find_memory_regions): Add argument.
3148 * target.c (dummy_find_memory_regions): Add 'self' argument.
3149 * procfs.c (proc_find_memory_regions): Add 'self' argument.
3150 * gnu-nat.c (gnu_find_memory_regions): Add 'self' argument.
3151 * fbsd-nat.h (fbsd_find_memory_regions): Add 'self' argument.
3152 * fbsd-nat.c (fbsd_find_memory_regions): Add 'self' argument.
3153 * exec. (exec_do_find_memory_regions): New global.
3154 (exec_set_find_memory_regions): Rewrite.
3155 (exec_find_memory_regions): New function.
3156 (init_exec_ops): Use exec_find_memory_regions.
3158 2014-02-19 Tom Tromey <tromey@redhat.com>
3160 * target.h (struct target_ops) <to_supports_non_stop>: Add
3162 * target.c (find_default_supports_non_stop): Add argument.
3163 (target_supports_non_stop): Add argument.
3164 (find_default_supports_non_stop): Add 'self' argument.
3165 * remote.c (remote_supports_non_stop): Add 'self' argument.
3166 * linux-nat.c (linux_nat_supports_non_stop): Add 'self' argument.
3168 2014-02-19 Tom Tromey <tromey@redhat.com>
3170 * target.h (struct target_ops) <to_log_command>: Add argument.
3171 (target_log_command): Add argument.
3172 * serial.h (serial_log_command): Add 'self' argument.
3173 * serial.c (serial_log_command): Add 'self' argument.
3175 2014-02-19 Tom Tromey <tromey@redhat.com>
3177 * windows-nat.c (windows_pid_to_exec_file): Add 'self' argument.
3178 * target.h (struct target_ops) <to_pid_to_exec_file>: Add
3180 (target_pid_to_exec_file): Add argument.
3181 * target.c (debug_to_pid_to_exec_file): Add argument.
3182 (update_current_target): Update.
3183 * nbsd-nat.h (nbsd_pid_to_exec_file): Add 'self' argument.
3184 * nbsd-nat.c (nbsd_pid_to_exec_file): Add 'self' argument.
3185 * linux-nat.c (linux_child_pid_to_exec_file): Add 'self' argument.
3186 (linux_handle_extended_wait): Update.
3187 * inf-child.c (inf_child_pid_to_exec_file): Add 'self' argument.
3188 * fbsd-nat.h (fbsd_pid_to_exec_file): Add 'self' argument.
3189 * fbsd-nat.c (fbsd_pid_to_exec_file): Add 'self' argument.
3190 * darwin-nat.c (darwin_pid_to_exec_file): Add 'self' argument.
3192 2014-02-19 Tom Tromey <tromey@redhat.com>
3194 * target.h (struct target_ops) <to_rcmd>: Add argument.
3195 (target_rcmd): Add argument.
3196 * target.c (debug_to_rcmd): Add argument.
3197 (update_current_target, do_monitor_command): Update.
3198 * remote.c (remote_rcmd): Add 'self' argument.
3199 * monitor.c (monitor_rcmd): Add 'self' argument.
3201 2014-02-19 Tom Tromey <tromey@redhat.com>
3203 * windows-nat.c (windows_stop): Add 'self' argument.
3204 * target.h (struct target_ops) <to_stop>: Add argument.
3205 * target.c (target_stop): Add argument.
3206 (debug_to_stop): Add argument.
3207 (update_current_target): Update.
3208 * remote.c (remote_stop): Add 'self' argument.
3209 * remote-sim.c (gdbsim_stop): Add 'self' argument.
3210 (gdbsim_cntrl_c): Update.
3211 * remote-m32r-sdi.c (m32r_stop): Add 'self' argument.
3212 * procfs.c (procfs_stop): Add 'self' argument.
3213 * nto-procfs.c (procfs_stop): Add 'self' argument.
3214 * monitor.c (monitor_stop): Add 'self' argument.
3215 (monitor_open): Update.
3216 * linux-nat.c (linux_nat_stop): Add argument.
3217 * inf-ptrace.c (inf_ptrace_stop): Add 'self' argument.
3218 * gnu-nat.c (gnu_stop): Add 'self' argument.
3219 * darwin-nat.c (darwin_stop): Add 'self' argument.
3221 2014-02-19 Tom Tromey <tromey@redhat.com>
3223 * target.h (struct target_ops) <to_thread_name>: Add argument.
3224 * target.c (target_thread_name): Add argument.
3225 (update_current_target): Update.
3226 * linux-nat.c (linux_nat_thread_name): Add 'self' argument.
3228 2014-02-19 Tom Tromey <tromey@redhat.com>
3230 * target.h (struct target_ops) <to_extra_thread_info>: Add
3232 (target_extra_thread_info): Add argument.
3233 * target.c (update_current_target): Update.
3234 * remote.c (remote_threads_extra_info): Add 'self' argument.
3235 * ravenscar-thread.c (ravenscar_extra_thread_info): Add 'self'
3237 * nto-tdep.h (nto_extra_thread_info): Add 'self' argument.
3238 * nto-tdep.c (nto_extra_thread_info): Add 'self' argument.
3239 * linux-thread-db.c (thread_db_extra_thread_info): Add 'self'
3241 * inf-ttrace.c (inf_ttrace_extra_thread_info): Add 'self'
3243 * bsd-uthread.c (bsd_uthread_extra_thread_info): Add 'self'
3245 * aix-thread.c (aix_thread_extra_thread_info): Add 'self'
3248 2014-02-19 Tom Tromey <tromey@redhat.com>
3250 * target.h (struct target_ops) <to_program_signals>: Add argument.
3251 * target.c (target_program_signals): Add argument.
3252 * remote.c (remote_program_signals): Add 'self' argument.
3254 2014-02-19 Tom Tromey <tromey@redhat.com>
3256 * target.h (struct target_ops) <to_pass_signals>: Add argument.
3257 * target.c (target_pass_signals): Add argument.
3258 * remote.c (remote_pass_signals): Add 'self' argument.
3259 (remote_start_remote): Update.
3260 * procfs.c (procfs_pass_signals): Add 'self' argument.
3261 * nto-procfs.c (procfs_pass_signals): Add 'self' argument.
3262 * linux-nat.c (linux_nat_pass_signals): Add 'self' argument.
3263 (linux_nat_create_inferior, linux_nat_attach): Update.
3265 2014-02-19 Tom Tromey <tromey@redhat.com>
3267 * windows-nat.c (windows_can_run): Add 'self' argument.
3268 * target.h (struct target_ops) <to_can_run>: Add argument.
3269 (target_can_run): Add argument.
3270 * target.c (debug_to_can_run): Add argument.
3271 (update_current_target): Update.
3272 * nto-procfs.c (procfs_can_run): Add 'self' argument.
3273 * inf-child.c (inf_child_can_run): Add 'self' argument.
3274 * go32-nat.c (go32_can_run): Add 'self' argument.
3276 2014-02-19 Tom Tromey <tromey@redhat.com>
3278 * target.h (struct target_ops) <to_has_exited>: Add argument.
3279 (target_has_exited): Add argument.
3280 * target.c (debug_to_has_exited): Add argument.
3281 (update_current_target): Update.
3283 2014-02-19 Tom Tromey <tromey@redhat.com>
3285 * target.h (struct target_ops) <to_set_syscall_catchpoint>: Add
3287 (target_set_syscall_catchpoint): Add argument.
3288 * linux-nat.c (linux_child_set_syscall_catchpoint): Add 'self'
3290 * target.c (update_current_target): Update.
3292 2014-02-19 Tom Tromey <tromey@redhat.com>
3294 * target.h (struct target_ops) <to_remove_exec_catchpoint>: Add
3296 (target_remove_exec_catchpoint): Add argument.
3297 * target.c (debug_to_remove_exec_catchpoint): Add argument.
3298 (update_current_target): Update.
3299 * linux-nat.c (linux_child_remove_exec_catchpoint): Add 'self'
3302 2014-02-19 Tom Tromey <tromey@redhat.com>
3304 * target.h (struct target_ops) <to_insert_exec_catchpoint>: Add
3306 (target_insert_exec_catchpoint): Add argument.
3307 * target.c (debug_to_insert_exec_catchpoint): Add argument.
3308 (update_current_target): Update.
3309 * linux-nat.c (linux_child_insert_exec_catchpoint): Add 'self'
3312 2014-02-19 Tom Tromey <tromey@redhat.com>
3314 * target.h (struct target_ops) <to_remove_vfork_catchpoint>: Add
3316 (target_remove_vfork_catchpoint): Add argument.
3317 * target.c (debug_to_remove_vfork_catchpoint): Add argument.
3318 (update_current_target): Update.
3319 * linux-nat.c (linux_child_remove_vfork_catchpoint): Add 'self'
3322 2014-02-19 Tom Tromey <tromey@redhat.com>
3324 * target.h (struct target_ops) <to_insert_vfork_catchpoint>: Add
3326 (target_insert_vfork_catchpoint): Add argument.
3327 * target.c (debug_to_insert_vfork_catchpoint): Add argument.
3328 (update_current_target): Update.
3329 * linux-nat.c (linux_child_insert_vfork_catchpoint): Add 'self'
3332 2014-02-19 Tom Tromey <tromey@redhat.com>
3334 * target.h (struct target_ops) <to_remove_fork_catchpoint>: Add
3336 (target_remove_fork_catchpoint): Add argument.
3337 * target.c (debug_to_remove_fork_catchpoint): Add argument.
3338 (update_current_target): Update.
3339 * linux-nat.c (linux_child_remove_fork_catchpoint): Add 'self'
3342 2014-02-19 Tom Tromey <tromey@redhat.com>
3344 * target.h (struct target_ops) <to_insert_fork_catchpoint>: Add
3346 (target_insert_fork_catchpoint): Add argument.
3347 * target.c (debug_to_insert_fork_catchpoint): Add argument.
3348 (update_current_target): Update.
3349 * linux-nat.c (linux_child_insert_fork_catchpoint): Add 'self'
3352 2014-02-19 Tom Tromey <tromey@redhat.com>
3354 * target.h (struct target_ops) <to_post_startup_inferior>: Add
3356 (target_post_startup_inferior): Add argument.
3357 * target.c (debug_to_post_startup_inferior): Add argument.
3358 (update_current_target): Update.
3359 * spu-linux-nat.c (spu_child_post_startup_inferior): Add 'self'
3361 * linux-nat.c (linux_child_post_startup_inferior): Add 'self'
3363 * inf-ptrace.c (inf_ptrace_post_startup_inferior): Add 'self'
3365 * inf-child.c (inf_child_post_startup_inferior): Add 'self'
3367 * i386-linux-nat.c (i386_linux_child_post_startup_inferior): Add
3369 (super_post_startup_inferior): Likewise.
3370 * amd64-linux-nat.c (amd64_linux_child_post_startup_inferior): Add
3372 (super_post_startup_inferior): Likewise.
3373 * aarch64-linux-nat.c (aarch64_linux_child_post_startup_inferior):
3374 Add 'self' argument.
3375 (super_post_startup_inferior): Likewise.
3377 2014-02-19 Tom Tromey <tromey@redhat.com>
3379 * target.h (struct target_ops) <to_load>: Add argument.
3380 * target.c (target_load): Add argument.
3381 (debug_to_load): Add argument.
3382 (update_current_target): Update.
3383 * remote.c (remote_load): Add 'self' argument.
3384 * remote-sim.c (gdbsim_load): Add 'self' argument.
3385 * remote-mips.c (mips_load): Add 'self' argument.
3386 * remote-m32r-sdi.c (m32r_load): Add 'self' argument.
3387 * monitor.c (monitor_load): Add 'self' argument.
3388 * m32r-rom.c (m32r_load_gen): Add 'self' argument.
3390 2014-02-19 Tom Tromey <tromey@redhat.com>
3392 * target.h (struct target_ops) <to_terminal_info>: Add argument.
3393 (target_terminal_info): Add argument.
3394 * target.c (debug_to_terminal_info): Add argument.
3395 (default_terminal_info): Likewise.
3396 * inflow.c (child_terminal_info): Add 'self' argument.
3397 * inferior.h (child_terminal_info): Add 'self' argument.
3398 * go32-nat.c (go32_terminal_info): Add 'self' argument.
3400 2014-02-19 Tom Tromey <tromey@redhat.com>
3402 * target.h (struct target_ops) <to_terminal_save_ours>: Add
3404 (target_terminal_save_ours): Add argument.
3405 * target.c (debug_to_terminal_save_ours): Add argument.
3406 (update_current_target): Update.
3407 * inflow.c (terminal_save_ours): Add 'self' argument.
3408 * inferior.h (terminal_save_ours): Add 'self' argument.
3410 2014-02-19 Tom Tromey <tromey@redhat.com>
3412 * target.h (struct target_ops) <to_terminal_ours>: Add argument.
3413 (target_terminal_ours): Add argument.
3414 * target.c (debug_to_terminal_ours): Add argument.
3415 (update_current_target): Update.
3416 * remote.c (remote_terminal_ours): Add 'self' argument.
3417 (remote_close): Update.
3418 * linux-nat.c (linux_nat_terminal_ours): Add 'self' argument.
3419 * inflow.c (terminal_ours): Add 'self' argument.
3420 * inferior.h (terminal_ours): Add 'self' argument.
3421 * go32-nat.c (go32_terminal_ours): Add 'self' argument.
3423 2014-02-19 Pedro Alves <palves@redhat.com>
3424 Tom Tromey <tromey@redhat.com>
3426 * target.h (struct target_ops) <to_terminal_ours_for_output>: Add
3428 (target_terminal_ours_for_output): Add argument.
3429 * target.c (debug_to_terminal_ours_for_output): Add argument.
3430 (update_current_target): Update.
3431 * inflow.c (terminal_ours_for_output): Add 'self' argument.
3432 * inferior.h (terminal_ours_for_output): Add 'self' argument.
3433 * go32-nat.c (go32_terminal_ours): Add 'self' argument.
3435 2014-02-19 Tom Tromey <tromey@redhat.com>
3437 * target.h (struct target_ops) <to_terminal_inferior>: Add
3439 * target.c (target_terminal_inferior): Add argument.
3440 (update_current_target): Update.
3441 * remote.c (remote_terminal_inferior): Add 'self' argument.
3442 * linux-nat.c (linux_nat_terminal_inferior): Add 'self' argument.
3443 * inflow.c (terminal_inferior): Add 'self' argument.
3444 * inferior.h (terminal_inferior): Add 'self' argument.
3445 * go32-nat.c (go32_terminal_inferior): Add 'self' argument.
3446 (go32_terminal_inferior): Add 'self' argument.
3448 2014-02-19 Tom Tromey <tromey@redhat.com>
3450 * target.h (struct target_ops) <to_terminal_init>: Add argument.
3451 (target_terminal_init): Add argument.
3452 * target.c (debug_to_terminal_init): Add argument.
3453 (update_current_target): Update.
3454 * inflow.c (terminal_init_inferior): Add 'self' argument.
3455 * inferior.h (terminal_init_inferior): Add 'self' argument.
3456 * go32-nat.c (go32_terminal_init): Add 'self' argument.
3457 * gnu-nat.c (gnu_terminal_init_inferior): Add 'self' argument.
3459 2014-02-19 Tom Tromey <tromey@redhat.com>
3461 * target.h (struct target_ops)
3462 <to_can_accel_watchpoint_condition>: Add argument.
3463 (target_can_accel_watchpoint_condition): Add argument.
3464 * target.c (debug_to_can_accel_watchpoint_condition): Add
3466 (update_current_target): Update.
3467 * ppc-linux-nat.c (ppc_linux_can_accel_watchpoint_condition): Add
3470 2014-02-19 Tom Tromey <tromey@redhat.com>
3472 * target.h (struct target_ops) <to_region_ok_for_hw_watchpoint>:
3474 (target_region_ok_for_hw_watchpoint): Add argument.
3475 * target.c (debug_to_region_ok_for_hw_watchpoint): Add argument.
3476 (default_region_ok_for_hw_watchpoint): Add argument.
3477 * spu-multiarch.c (spu_region_ok_for_hw_watchpoint): Add argument.
3478 * s390-linux-nat.c (s390_region_ok_for_hw_watchpoint): Add 'self'
3480 * remote.c (remote_region_ok_for_hw_watchpoint): Add 'self'
3482 * procfs.c (procfs_region_ok_for_hw_watchpoint): Add 'self'
3484 * ppc-linux-nat.c (ppc_linux_region_ok_for_hw_watchpoint): Add
3486 * mips-linux-nat.c (mips_linux_region_ok_for_hw_watchpoint): Add
3488 * inf-ttrace.c (inf_ttrace_region_ok_for_hw_watchpoint): Add
3490 * i386-nat.c (i386_region_ok_for_watchpoint): Add 'self' argument.
3491 * arm-linux-nat.c (arm_linux_region_ok_for_hw_watchpoint): Add
3493 * aarch64-linux-nat.c (aarch64_linux_region_ok_for_hw_watchpoint):
3494 Add 'self' argument.
3496 2014-02-19 Tom Tromey <tromey@redhat.com>
3498 * target.h (struct target_ops) <to_insert_watchpoint>: Add
3500 (target_insert_watchpoint): Add argument.
3501 * target.c (debug_to_insert_watchpoint): Add argument.
3502 (update_current_target): Update.
3503 * s390-linux-nat.c (s390_insert_watchpoint): Add 'self' argument.
3504 * remote.c (remote_insert_watchpoint): Add 'self' argument.
3505 * remote-mips.c (mips_insert_watchpoint): Add 'self' argument.
3506 * remote-m32r-sdi.c (m32r_insert_watchpoint): Add 'self' argument.
3507 * procfs.c (procfs_insert_watchpoint): Add 'self' argument.
3508 * ppc-linux-nat.c (ppc_linux_insert_watchpoint): Add 'self'
3510 * nto-procfs.c (procfs_insert_hw_watchpoint): Add 'self' argument.
3511 (procfs_insert_hw_watchpoint): Add 'self' argument.
3512 * mips-linux-nat.c (mips_linux_insert_watchpoint): Add 'self'
3514 * inf-ttrace.c (inf_ttrace_insert_watchpoint): Add 'self'
3516 * ia64-linux-nat.c (ia64_linux_insert_watchpoint): Add 'self'
3518 * i386-nat.c (i386_insert_watchpoint): Add 'self' argument.
3519 * arm-linux-nat.c (arm_linux_insert_watchpoint): Add 'self'
3521 * aarch64-linux-nat.c (aarch64_linux_insert_watchpoint): Add
3524 2014-02-19 Tom Tromey <tromey@redhat.com>
3526 * target.h (struct target_ops) <to_remove_watchpoint>: Add
3528 (target_remove_watchpoint): Add argument.
3529 * target.c (debug_to_remove_watchpoint): Add argument.
3530 (update_current_target): Update.
3531 * s390-linux-nat.c (s390_remove_watchpoint): Add 'self' argument.
3532 * remote.c (remote_remove_watchpoint): Add 'self' argument.
3533 * remote-mips.c (mips_remove_watchpoint): Add 'self' argument.
3534 * remote-m32r-sdi.c (m32r_remove_watchpoint): Add 'self' argument.
3535 * procfs.c (procfs_remove_watchpoint): Add 'self' argument.
3536 * ppc-linux-nat.c (ppc_linux_remove_watchpoint): Add 'self'
3538 * nto-procfs.c (procfs_remove_hw_watchpoint): Add 'self' argument.
3539 * mips-linux-nat.c (mips_linux_remove_watchpoint): Add 'self'
3541 * inf-ttrace.c (inf_ttrace_remove_watchpoint): Add 'self'
3543 * ia64-linux-nat.c (ia64_linux_remove_watchpoint): Add 'self'
3545 * i386-nat.c (i386_remove_watchpoint): Add 'self' argument.
3546 * arm-linux-nat.c (arm_linux_remove_watchpoint): Add 'self'
3548 * aarch64-linux-nat.c (aarch64_linux_remove_watchpoint): Add
3551 2014-02-19 Tom Tromey <tromey@redhat.com>
3553 * target.h (struct target_ops) <to_remove_hw_breakpoint>: Add
3555 (target_remove_hw_breakpoint): Add argument.
3556 * target.c (debug_to_remove_hw_breakpoint): Add argument.
3557 (update_current_target): Update.
3558 * remote.c (remote_remove_hw_breakpoint): Add 'self' argument.
3559 * ppc-linux-nat.c (ppc_linux_remove_hw_breakpoint): Add 'self'
3561 * i386-nat.c (i386_remove_hw_breakpoint): Add 'self' argument.
3562 * arm-linux-nat.c (arm_linux_remove_hw_breakpoint): Add 'self'
3564 * aarch64-linux-nat.c (aarch64_linux_remove_hw_breakpoint): Add
3567 2014-02-19 Tom Tromey <tromey@redhat.com>
3569 * target.h (struct target_ops) <to_insert_hw_breakpoint>: Add
3571 (target_insert_hw_breakpoint): Add argument.
3572 * target.c (debug_to_insert_hw_breakpoint): Add argument.
3573 (update_current_target): Update.
3574 * remote.c (remote_insert_hw_breakpoint): Add 'self' argument.
3575 * ppc-linux-nat.c (ppc_linux_insert_hw_breakpoint): Add 'self'
3577 * nto-procfs.c (procfs_insert_hw_breakpoint): Add 'self' argument.
3578 * i386-nat.c (i386_insert_hw_breakpoint): Add 'self' argument.
3579 * arm-linux-nat.c (arm_linux_insert_hw_breakpoint): Add 'self'
3581 * aarch64-linux-nat.c (aarch64_linux_insert_hw_breakpoint): Add
3584 2014-02-19 Tom Tromey <tromey@redhat.com>
3586 * target.h (struct target_ops) <to_can_use_hw_breakpoint>: Add
3588 (target_can_use_hardware_watchpoint): Add argument.
3589 * target.c (debug_to_can_use_hw_breakpoint): Add argument.
3590 (update_current_target): Update.
3591 * spu-linux-nat.c (spu_can_use_hw_breakpoint): Add 'self'
3593 * s390-linux-nat.c (s390_can_use_hw_breakpoint): Add 'self'
3595 * remote.c (remote_check_watch_resources): Add 'self' argument.
3596 * remote-mips.c (mips_can_use_watchpoint): Add 'self' argument.
3597 * remote-m32r-sdi.c (m32r_can_use_hw_watchpoint): Add 'self'
3599 * procfs.c (procfs_can_use_hw_breakpoint): Add 'self' argument.
3600 * ppc-linux-nat.c (ppc_linux_can_use_hw_breakpoint): Add 'self'
3602 * nto-procfs.c (procfs_can_use_hw_breakpoint): Add 'self'
3604 * mips-linux-nat.c (mips_linux_can_use_hw_breakpoint): Add 'self'
3606 * inf-ttrace.c (inf_ttrace_can_use_hw_breakpoint): Add 'self'
3608 * ia64-linux-nat.c (ia64_linux_can_use_hw_breakpoint): Add 'self'
3610 * ia64-hpux-nat.c (ia64_hpux_can_use_hw_breakpoint): Add 'self'
3612 * i386-nat.c (i386_can_use_hw_breakpoint): Add 'self' argument.
3613 * arm-linux-nat.c (arm_linux_can_use_hw_breakpoint): Add 'self'
3615 * aarch64-linux-nat.c (aarch64_linux_can_use_hw_breakpoint): Add
3618 2014-02-19 Tom Tromey <tromey@redhat.com>
3620 * target.h (struct target_ops) <to_post_attach>: Add argument.
3621 (target_post_attach): Add argument.
3622 * target.c (debug_to_post_attach): Add argument.
3623 (update_current_target): Update.
3624 * spu-linux-nat.c (spu_child_post_attach): Add 'self' argument.
3625 * nto-procfs.c (procfs_post_attach): Add 'self' argument.
3626 * linux-nat.c (linux_child_post_attach): Add 'self' argument.
3627 * inf-ptrace.c (inf_ptrace_post_attach): Add 'self' argument.
3628 * inf-child.c (inf_child_post_attach): Add 'self' argument.
3630 2014-02-19 Tom Tromey <tromey@redhat.com>
3632 * windows-nat.c (windows_close): Add 'self' argument.
3633 * tracepoint.c (tfile_close): Add 'self' argument.
3634 * target.h (struct target_ops) <to_close>: Add argument.
3635 * target.c (target_close): Add argument.
3636 (update_current_target): Update.
3637 * remote.c (remote_close): Add 'self' argument.
3638 * remote-sim.c (gdbsim_close): Add 'self' argument.
3639 * remote-mips.c (mips_close): Add 'self' argument.
3640 * remote-m32r-sdi.c (m32r_close): Add 'self' argument.
3641 * record-full.c (record_full_close): Add 'self' argument.
3642 * record-btrace.c (record_btrace_close): Add 'self' argument.
3643 * monitor.h (monitor_close): Add 'self' argument.
3644 * monitor.c (monitor_close): Add 'self' argument.
3645 * mips-linux-nat.c (mips_linux_close): Add 'self' argument.
3646 * linux-nat.c (linux_nat_close): Add argument.
3647 * go32-nat.c (go32_close): Add 'self' argument.
3648 * exec.c (exec_close_1): Add 'self' argument.
3649 * ctf.c (ctf_close): Add 'self' argument.
3650 * corelow.c (core_close): Add 'self' argument.
3651 (core_close_cleanup): Update.
3652 * bsd-uthread.c (bsd_uthread_close): Add 'self' argument.
3653 * bsd-kvm.c (bsd_kvm_close): Add 'self' argument.
3655 2014-02-19 Tom Tromey <tromey@redhat.com>
3657 * remote.c (remote_load): New function.
3658 (init_remote_ops): Use it.
3660 2014-02-19 Tom Tromey <tromey@redhat.com>
3662 * common/linux-btrace.c (linux_supports_btrace): Add "ops"
3664 * common/linux-btrace.h (linux_supports_btrace): Update.
3665 * remote.c (remote_supports_btrace): Add "self" argument.
3666 * target-delegates.c: Rebuild.
3667 * target.c (target_supports_btrace): Remove.
3668 * target.h (struct target_ops) <to_supports_btrace>: Add
3669 target_ops argument.
3670 (target_supports_btrace): New define.
3672 2014-02-19 Tom Tromey <tromey@redhat.com>
3674 * record-full.c (record_full_beneath_to_resume_ops)
3675 (record_full_beneath_to_resume, record_full_beneath_to_wait_ops)
3676 (record_full_beneath_to_wait)
3677 (record_full_beneath_to_store_registers_ops)
3678 (record_full_beneath_to_store_registers)
3679 (record_full_beneath_to_xfer_partial_ops)
3680 (record_full_beneath_to_xfer_partial)
3681 (record_full_beneath_to_insert_breakpoint_ops)
3682 (record_full_beneath_to_insert_breakpoint)
3683 (record_full_beneath_to_remove_breakpoint_ops)
3684 (record_full_beneath_to_remove_breakpoint)
3685 (record_full_beneath_to_stopped_by_watchpoint)
3686 (record_full_beneath_to_stopped_data_address)
3687 (record_full_beneath_to_async, tmp_to_resume_ops, tmp_to_resume)
3688 (tmp_to_wait_ops, tmp_to_wait, tmp_to_store_registers_ops)
3689 (tmp_to_store_registers, tmp_to_xfer_partial_ops)
3690 (tmp_to_xfer_partial, tmp_to_instmp_to_insert_breakpoint_ops)
3691 (tmp_to_insert_breakpoint, tmp_to_remove_breakpoint_ops)
3692 (tmp_to_remove_breakpoint, tmp_to_stopped_by_watchpoint)
3693 (tmp_to_stopped_data_address, tmp_to_async): Remove.
3694 (record_full_open_1, record_full_open): Update. Use RECORD_IS_USED.
3695 (record_full_resume, record_full_wait_1)
3696 (record_full_stopped_by_watchpoint, record_full_stopped_data_address)
3697 (record_full_store_registers, record_full_xfer_partial)
3698 (record_full_insert_breakpoint, record_full_remove_breakpoint)
3699 (record_full_async, record_full_core_xfer_partial): Use target
3701 * target-delegates.c: Rebuild.
3702 * target.c (current_xfer_partial): Remove.
3703 (update_current_target): Do not INHERIT or de_fault
3704 to_insert_breakpoint, to_remove_breakpoint,
3705 to_stopped_data_address, to_stopped_by_watchpoint, to_can_async_p,
3706 to_is_async_p, to_async. Do not set to_xfer_partial field.
3707 (default_xfer_partial): Simplify.
3708 (current_xfer_partial): Remove.
3709 (target_wait, target_resume): Simplify.
3710 (find_default_can_async_p, find_default_is_async_p): Update.
3711 (init_dummy_target): Don't set to_can_async_p, to_is_async_p,
3712 to_xfer_partial, to_stopped_by_watchpoint,
3713 to_stopped_data_address.
3714 (target_store_registers): Simplify.
3715 (forward_target_remove_breakpoint)
3716 (forward_target_insert_breakpoint): Remove.
3717 (target_remove_breakpoint, target_insert_breakpoint)
3718 (debug_to_insert_breakpoint, debug_to_remove_breakpoint): Update.
3719 * target.h (struct target_ops) <to_resume, to_wait,
3720 to_store_registers, to_insert_breakpoint, to_remove_breakpoint,
3721 to_stopped_by_watchpoint, to_stopped_data_address, to_can_async_p,
3722 to_is_async_p, to_async, to_xfer_partial>: Add TARGET_DEFAULT
3724 (forward_target_remove_breakpoint)
3725 (forward_target_insert_breakpoint): Remove.
3726 * record-btrace.c (record_btrace_remove_breakpoint): Delegate
3728 (record_btrace_insert_breakpoint): Delegate directly.
3730 2014-02-19 Tom Tromey <tromey@redhat.com>
3733 * target-delegates.c: New file.
3734 * target.c: Include target-delegates.c.
3735 (init_dummy_target): Call install_dummy_methods.
3736 (complete_target_initialization): Call install_delegators.
3737 * target.h (TARGET_DEFAULT_IGNORE, TARGET_DEFAULT_NORETURN)
3738 (TARGET_DEFAULT_RETURN, TARGET_DEFAULT_FUNC): New defines.
3739 * make-target-delegates: New file.
3741 2014-02-19 Tom Tromey <tromey@redhat.com>
3743 * record.c (find_record_target): Use find_target_at.
3744 * target.c (find_target_at): New function.
3745 * target.h (find_target_at): Declare.
3747 2014-02-19 Tom Tromey <tromey@redhat.com>
3749 * aarch64-linux-nat.c (aarch64_linux_stopped_by_watchpoint):
3751 * arm-linux-nat.c (arm_linux_stopped_by_watchpoint): Add
3753 * i386-nat.c (i386_stopped_by_watchpoint): Add 'ops' argument.
3754 * ia64-linux-nat.c (ia64_linux_stopped_by_watchpoint): Add
3756 * inf-ttrace.c (inf_ttrace_stopped_by_watchpoint): Add 'ops'
3758 * linux-nat.c (save_sigtrap): Update.
3759 (linux_nat_stopped_by_watchpoint, linux_nat_is_async_p)
3760 (linux_nat_can_async_p, linux_nat_async): Add 'ops' argument.
3761 (linux_nat_close): Update.
3762 * mips-linux-nat.c (mips_linux_stopped_by_watchpoint): Add 'ops'
3764 * ppc-linux-nat.c (ppc_linux_stopped_by_watchpoint): Add 'ops'
3766 * procfs.c (procfs_stopped_by_watchpoint): Add 'ops' argument.
3767 * record-full.c (record_full_beneath_to_stopped_by_watchpoint)
3768 (record_full_beneath_to_async, tmp_to_stopped_by_watchpoint)
3769 (tmp_to_async): Add 'ops' argument.
3770 (record_full_stopped_by_watchpoint, record_full_async)
3771 (record_full_can_async_p, record_full_is_async_p): Add 'ops'
3773 * remote-m32r-sdi.c (m32r_insert_breakpoint, m32r_remove_breakpoint)
3774 (m32r_stopped_by_watchpoint): Add 'ops' argument.
3775 * remote-mips.c (mips_stopped_by_watchpoint): Add 'ops' argument.
3776 * remote.c (remote_stopped_by_watchpoint_p, remote_can_async_p)
3777 (remote_is_async_p, remote_async): Add 'ops' argument.
3778 (remote_stopped_data_address): Update.
3779 * s390-nat.c (s390_stopped_by_watchpoint): Add 'ops' argument.
3780 * target.c (update_current_target)
3781 (find_default_can_async_p, find_default_is_async_p): Update.
3782 (init_dummy_target): Update.
3783 (debug_to_stopped_by_watchpoint): Add 'ops' argument.
3784 * target.h (struct target_ops) <to_stopped_by_watchpoint,
3785 to_can_async_p, to_is_async_p, to_async>: Add 'ops' argument.
3786 (target_can_async_p, target_is_async_p, target_async)
3787 (target_stopped_by_watchpoint): Update.
3789 2014-02-19 Yao Qi <yao@codesourcery.com>
3792 * gdbarch.sh: Remove startup_gdbarch.
3793 * gdbarch.c: Regenerated.
3794 * gdbarch.h: Likewise.
3796 2014-02-17 Kevin Buettner <kevinb@redhat.com>
3798 * rl78-tdep.c (rl78_g10_register_name): New function.
3799 (rl78_return_value): Add g10 support.
3800 (rl78_gdbarch_init): Register rl78_g10_register_name for the
3803 2014-02-17 Doug Evans <xdje42@gmail.com>
3805 * Makefile.in (SUBDIR_GUILE_OBS): Resort alphabetically.
3806 (SUBDIR_GUILE_SRCS): Ditto.
3807 (scm-gsmob.o): Ditto.
3809 2014-02-17 Yao Qi <yao@codesourcery.com>
3811 * gnu-nat.c (ILL_RPC): Declare defined function.
3813 2014-02-17 Yao Qi <yao@codesourcery.com>
3815 * gnu-nat.c (gnu_read_inferior): Change 'copy_count' type to
3816 mach_msg_type_number_t.
3817 (gnu_write_inferior): Likewise.
3819 2014-02-17 Yao Qi <yao@codesourcery.com>
3821 * gnu-nat.c (proc_get_exception_port): Use 'lu' insetad of 'd'
3823 (proc_steal_exc_port, make_proc, inf_set_pid): Likewise.
3824 (inf_validate_procs, inf_signal): Likewise.
3825 (S_exception_raise_request): Likewise.
3826 (do_mach_notify_dead_name): Likewise.
3827 (steal_exc_port): Likewise.
3828 (gnu_read_inferior): Change 'copy_count''s type to
3829 mach_msg_type_number_t.
3830 (gnu_write_inferior): Likewise. Use 'lx' instead of 'x' in
3833 2014-02-16 Thomas Schwinge <thomas@codesourcery.com>
3835 * gnu-nat.c (struct inf): Change pending_execs member to a 1-bit
3836 flag. Adjust all users; in particular...
3837 (gnu_wait): ..., don't decrement its value in here...
3838 (gnu_create_inferior): ..., and instead set the flag in here,
3839 around the startup_inferior call, and call that one with
3840 START_INFERIOR_TRAPS_EXPECTED.
3842 * gnu-nat.c (ill_rpc): Remove function; replaced with this...
3843 (ILL_RPC): ... new macro.
3844 (do_mach_notify_no_senders, do_mach_notify_port_deleted)
3845 (do_mach_notify_msg_accepted, do_mach_notify_port_destroyed)
3846 (do_mach_notify_send_once, S_proc_setmsgport_reply)
3847 (S_proc_getmsgport_reply, S_msg_sig_post_reply): Generate stub
3848 functions with ILL_RPC macro.
3849 (S_proc_pid2task_reply, S_proc_task2pid_reply)
3850 (S_proc_task2proc_reply, S_proc_proc2task_reply)
3851 (S_proc_pid2proc_reply, S_proc_getprocinfo_reply)
3852 (S_proc_getprocargs_reply, S_proc_getprocenv_reply)
3853 (S_proc_getloginid_reply, S_proc_getloginpids_reply)
3854 (S_proc_getlogin_reply, S_proc_getsid_reply)
3855 (S_proc_getsessionpgids_reply, S_proc_getsessionpids_reply)
3856 (S_proc_getsidport_reply, S_proc_getpgrp_reply)
3857 (S_proc_getpgrppids_reply, S_proc_get_tty_reply)
3858 (S_proc_getnports_reply, S_proc_is_important_reply)
3859 (S_proc_get_code_reply): New stub functions, generated with
3862 * reply_mig_hack.awk: In phase 5, keep going if we have not yet
3863 collected the type check structures.
3865 * reply_mig_hack.awk: Don't expect to see the auto keyword.
3867 2014-02-14 Doug Evans <dje@google.com>
3869 * target.c (target_write_partial): Fix result type.
3871 2014-02-14 Jose E. Marchesi <jose.marchesi@oracle.com>
3873 * sparc64-linux-nat.c (_initialize_sparc64_linux_nat): Register
3874 the proper offsets to access fpregset_t.
3876 2014-02-13 Sanimir Agovic <sanimir.agovic@intel.com>
3878 * cris-tdep.c (cris_supply_gregset): Remove zerobuf.
3879 (_initialize_cris_tdep): Remove cris_set_cmdlist, cris_show_cmdlist.
3880 * h8300-tdep.c (setmachinelist): Remove global.
3881 * hppa-tdep.c (hppa_sigtramp): Remove global.
3882 * mipsnbsd-tdep.c (sigtramp_retcode_mipsel, sigtramp_retcode_mipseb
3883 RETCODE_NWORDS, RETCODE_SIZE): Wrap code with #if 0.
3884 * ravenscar-thread.c (update_target_observer): Remove global.
3885 * rs6000-tdep.c (rs6000_gdbarch_init): Remove segment_regs.
3887 2014-02-12 Tom Tromey <tromey@redhat.com>
3889 * common/rsp-low.c: Update comments.
3890 * common/rsp-low.h: Update comments.
3892 2014-02-12 Tom Tromey <tromey@redhat.com>
3894 * common/rsp-low.c (convert_ascii_to_int): Remove.
3895 * common/rsp-low.h (convert_ascii_to_int): Don't declare.
3897 2014-02-12 Tom Tromey <tromey@redhat.com>
3899 * common/rsp-low.h (unhexify): Don't declare.
3900 * common/rsp-low.c (unhexify): Remove.
3902 2014-02-12 Tom Tromey <tromey@redhat.com>
3904 * common/rsp-low.h (convert_int_to_ascii): Don't declare.
3905 * common/rsp-low.c (convert_int_to_ascii): Remove.
3907 2014-02-12 Tom Tromey <tromey@redhat.com>
3909 * common/rsp-low.h (hexify): Don't declare.
3910 * common/rsp-low.c (hexify): Remove.
3912 2014-02-12 Tom Tromey <tromey@redhat.com>
3914 * common/rsp-low.c (hexify): Never take strlen of argument.
3916 2014-02-12 Tom Tromey <tromey@redhat.com>
3918 * common/rsp-low.c (bin2hex): Never take strlen of argument.
3919 * remote.c (extended_remote_run, remote_rcmd)
3920 (remote_download_trace_state_variable, remote_save_trace_data)
3921 (remote_set_trace_notes): Update.
3922 * tracepoint.c (encode_source_string, tfile_write_status)
3923 (tfile_write_uploaded_tsv): Update.
3925 2014-02-12 Tom Tromey <tromey@redhat.com>
3927 * tracepoint.c: Include rsp-low.h.
3928 * remote.h (hex2bin, bin2hex, unpack_varlen_hex): Don't declare.
3929 * remote.c: Include rsp-low.h.
3930 (hexchars, ishex, unpack_varlen_hex, pack_nibble, pack_hex_byte)
3931 (fromhex, hex2bin, tohex, bin2hex, remote_escape_output)
3932 (remote_unescape_input): Move to common/rsp-low.c.
3933 * common/rsp-low.h: New file.
3934 * common/rsp-low.c: New file.
3935 * Makefile.in (SFILES): Add common/rsp-low.c.
3936 (HFILES_NO_SRCDIR): Add common/rsp-low.h.
3937 (COMMON_OBS): Add rsp-low.o.
3938 (rsp-low.o): New target.
3940 2014-02-12 Tom Tromey <tromey@redhat.com>
3942 * utils.h: Include print-utils.h.
3943 (host_address_to_string, plongest, pulongest, phex, phex_nz)
3944 (int_string, core_addr_to_string, core_addr_to_string_nz)
3945 (hex_string, hex_string_custom): Don't declare.
3946 * utils.c (NUMCELLS, CELLSIZE, get_cell, decimal2str, pulongest)
3947 (plongest, thirty_two, phex, phex_nz, octal2str, hex_string)
3948 (hex_string_custom, int_string, core_addr_to_string)
3949 (core_addr_to_string_nz, host_address_to_string): Move to
3950 common/print-utils.c.
3951 * common/print-utils.h: New file.
3952 * common/print-utils.c: New file
3953 * Makefile.in (SFILES): Add common/print-utils.c.
3954 (HFILES_NO_SRCDIR): Add common/print-utils.h.
3955 (COMMON_OBS): Add print-utils.o.
3956 (print-utils.o): New target.
3958 2014-02-12 Tom Tromey <tromey@redhat.com>
3960 * nios2-tdep.c (nios2_stub_frame_base_address): Remove.
3962 2014-02-12 Mark Kettenis <kettenis@gnu.org>
3964 * sparc64obsd-tdep.c (sparc64obsd_init_abi): Call obsd_init_abi.
3966 2014-02-12 Mark Kettenis <kettenis@gnu.org>
3968 * inf-ptrace.c (inf_ptrace_xfer_partial): Return TARGET_XFER_EOF
3969 if a PT_IO ptrace request returns sucessfully but indicates that 0
3970 bytes were transferred.
3972 2014-02-12 Pedro Alves <palves@redhat.com>
3973 Kevin Buettner <kevinb@redhat.com>
3975 * gnu-v3-abi.c (build_gdb_vtable_type): Return a type marked with
3976 TYPE_INSTANCE_FLAG_CODE_SPACE.
3978 2014-02-12 Pedro Alves <palves@redhat.com>
3980 * h8300-tdep.c (pseudo_from_raw_register)
3981 (raw_from_pseudo_register): New functions.
3982 (h8300_pseudo_register_read, h8300_pseudo_register_write): Use
3985 2014-02-12 Pedro Alves <palves@redhat.com>
3987 * h8300-tdep.c (h8300_register_sim_regno): New function.
3988 (h8300_gdbarch_init): Install h8300_register_sim_regno as
3989 gdbarch_register_sim_regno hook.
3991 2014-02-12 Sanimir Agovic <sanimir.agovic@intel.com>
3993 * nios2-tdep.c (nios2_stub_frame_base): Remove global.
3995 2014-02-12 Sanimir Agovic <sanimir.agovic@intel.com>
3997 * tic6x-tdep.c (tic6x_gdbarch_init): Call frame_base_set_default.
3999 2014-02-12 Mark Kettenis <kettenis@gnu.org>
4001 * obsd-tdep.h (obsd_init_abi): New prototype.
4002 * obsd-tdep.c: Define enum with OpenBSD signal numbers.
4003 (obsd_gdb_signal_from_target, obsd_gdb_signal_to_target)
4004 (obsd_init_abi): New functions.
4005 * i386obsd-tdep.c: Include "obsd-tdep.h".
4006 (i386obsd_init_abi): Call obsd_init_abi.
4007 * amd64obsd-tdep.c: Include "obsd-tdep.h".
4008 (amd64obsd_init_abi): Call obsd_init_abi.
4009 * configure.tgt (i[34567]86-*-openbsd*, x86_64-*-openbsd*): Add
4010 obsd-tdep.c to gdb_target_obs.
4012 2014-02-11 Jose E. Marchesi <jose.marchesi@oracle.com>
4014 * sparc64-tdep.c (sparc64_store_arguments): Do not align complex
4015 double float arguments to 16-byte in the argument slots.
4017 2014-02-11 Doug Evans <xdje42@gmail.com>
4019 * configure.ac: Don't crash if pkg-config is not found and guile
4020 wasn't explicitly requested. Use AC_MSG_ERROR instead of AC_ERROR
4022 * configure: Regenerate.
4024 2014-02-11 Yao Qi <yao@codesourcery.com>
4026 * aix-thread.c (aix_thread_xfer_partial): Update comments.
4027 * auxv.c (procfs_xfer_auxv, memory_xfer_auxv): Likewise.
4028 * bsd-uthread.c (bsd_uthread_xfer_partial): Likewise.
4029 * gnu-nat.c (gnu_xfer_memory): Likewise.
4030 * inf-ptrace.c (inf_ptrace_xfer_partial): Likewise.
4031 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
4032 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
4033 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise.
4035 2014-02-11 Yao Qi <yao@codesourcery.com>
4037 * target.h (enum target_xfer_error): Rename to ...
4038 (enum target_xfer_status): ... it. New. All users updated.
4039 (enum target_xfer_status) <TARGET_XFER_OK>, <TARGET_XFER_EOF>:
4041 (TARGET_XFER_STATUS_ERROR_P): New macro.
4042 (target_xfer_error_to_string): Remove declaration.
4043 (target_xfer_status_to_string): Declare.
4044 (target_xfer_partial_ftype): Adjust it.
4045 (struct target_ops) <to_xfer_partial>: Return
4046 target_xfer_status. Add argument xfered_len. Update
4048 * target.c (target_xfer_error_to_string): Rename to ...
4049 (target_xfer_status_to_string): ... it. New. All callers
4051 (target_read_live_memory): Likewise. Call target_xfer_partial
4052 instead of target_read.
4053 (memory_xfer_live_readonly_partial): Return
4054 target_xfer_status. Add argument xfered_len.
4055 (raw_memory_xfer_partial): Likewise.
4056 (memory_xfer_partial_1): Likewise.
4057 (memory_xfer_partial): Likewise.
4058 (target_xfer_partial): Likewise. Check *XFERED_LEN is set
4059 properly. Update debug message.
4060 (default_xfer_partial, current_xfer_partial): Likewise.
4061 (target_write_partial): Likewise.
4062 (target_read_partial): Likewise. All callers updated.
4063 (read_whatever_is_readable): Likewise.
4064 (target_write_with_progress): Likewise.
4065 (target_read_alloc_1): Likewise.
4067 * aix-thread.c (aix_thread_xfer_partial): Likewise.
4068 * auxv.c (procfs_xfer_auxv): Likewise.
4069 (ld_so_xfer_auxv, memory_xfer_auxv): Likewise.
4070 * bfd-target.c (target_bfd_xfer_partial): Likewise.
4071 * bsd-kvm.c (bsd_kvm_xfer_partial): Likewise.
4072 * bsd-uthread.c (bsd_uthread_xfer_partia): Likewise.
4073 * corefile.c (read_memory): Adjust.
4074 * corelow.c (core_xfer_partial): Likewise.
4075 * ctf.c (ctf_xfer_partial): Likewise.
4076 * darwin-nat.c (darwin_read_dyld_info): Likewise. All callers
4078 (darwin_xfer_partial): Likewise.
4079 * exec.c (section_table_xfer_memory_partial): Likewise. All
4081 (exec_xfer_partial): Likewise.
4082 * exec.h (section_table_xfer_memory_partial): Update
4084 * gnu-nat.c (gnu_xfer_memory): Likewise. Assert 'res' is not
4086 (gnu_xfer_partial): Likewise.
4087 * ia64-hpux-nat.c (ia64_hpux_xfer_memory_no_bs): Likewise.
4088 (ia64_hpux_xfer_memory, ia64_hpux_xfer_uregs): Likewise.
4089 (ia64_hpux_xfer_solib_got): Likewise.
4090 * inf-ptrace.c (inf_ptrace_xfer_partial): Likewise. Change
4091 type of 'partial_len' to ULONGEST.
4092 * inf-ttrace.c (inf_ttrace_xfer_partial): Likewise.
4093 * linux-nat.c (linux_xfer_siginfo ): Likewise.
4094 (linux_nat_xfer_partial): Likewise.
4095 (linux_proc_xfer_partial, linux_xfer_partial): Likewise.
4096 (linux_proc_xfer_spu, linux_nat_xfer_osdata): Likewise.
4097 * monitor.c (monitor_xfer_memory): Likewise.
4098 (monitor_xfer_partial): Likewise.
4099 * procfs.c (procfs_xfer_partial): Likewise.
4100 * record-btrace.c (record_btrace_xfer_partial): Likewise.
4101 * record-full.c (record_full_xfer_partial): Likewise.
4102 (record_full_core_xfer_partial): Likewise.
4103 * remote-sim.c (gdbsim_xfer_memory): Likewise.
4104 (gdbsim_xfer_partial): Likewise.
4105 * remote.c (remote_write_bytes_aux): Likewise. All callers
4107 (remote_write_bytes, remote_read_bytes): Likewise. All
4109 (remote_flash_erase): Likewise. All callers updated.
4110 (remote_write_qxfer): Likewise. All callers updated.
4111 (remote_read_qxfer): Likewise. All callers updated.
4112 (remote_xfer_partial): Likewise.
4113 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
4114 (rs6000_xfer_shared_libraries): Likewise.
4115 * sol-thread.c (sol_thread_xfer_partial): Likewise.
4116 (sol_thread_xfer_partial): Likewise.
4117 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
4118 (sparc_xfer_partial): Likewise.
4119 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise. All callers
4121 (spu_xfer_partial): Likewise.
4122 * spu-multiarch.c (spu_xfer_partial): Likewise.
4123 * tracepoint.c (tfile_xfer_partial): Likewise.
4124 * windows-nat.c (windows_xfer_memory): Likewise.
4125 (windows_xfer_shared_libraries): Likewise.
4126 (windows_xfer_partial): Likewise.
4127 * valprint.c: Replace 'target_xfer_error' with
4128 'target_xfer_status' in comments.
4130 2014-02-11 Simon Marchi <simon.marchi@ericsson.com> (tiny patch)
4132 Checked in by Joel Brobecker <brobecker@adacore.com>.
4133 * mi/mi-main.c (mi_cmd_data_write_memory_bytes): Fix comment.
4135 2014-02-11 Joel Brobecker <brobecker@adacore.com>
4137 * symfile-debug.c (debug_qf_expand_symtabs_matching): Reformat
4138 function parameters.
4140 2014-02-10 Will Newton <will.newton@linaro.org>
4142 * elfread.c (elf_rel_plt_read): Look for a .got section if
4143 looking up .got.plt fails.
4144 (elf_gnu_ifunc_resolve_by_got): Call gdbarch_addr_bits_remove
4145 on address passed to elf_gnu_ifunc_record_cache.
4146 (elf_gnu_ifunc_resolve_addr): Likewise.
4147 (elf_gnu_ifunc_resolver_return_stop): Likewise.
4149 2014-02-10 Jose E. Marchesi <jose.marchesi@oracle.com>
4151 * sparc-tdep.c (sparc_in_function_epilogue_p): New function.
4152 (X_RETTURN): New macro.
4153 * sparc-tdep.h: sparc_in_function_epilogue_p prototype.
4155 * sparc64-tdep.c (sparc64_init_abi): Hook
4156 sparc_in_function_epilogue_p.
4158 2014-02-10 Gary Benson <gbenson@redhat.com>
4160 * symfile-debug.c (debug_qf_expand_symtabs_matching):
4161 Rename name_matcher to symbol_matcher.
4163 2014-02-10 Gary Benson <gbenson@redhat.com>
4165 * symfile-debug.c (debug_qf_expand_symtabs_matching):
4166 Use expand_symtabs_file_matcher_ftype and
4167 expand_symtabs_symbol_matcher_ftype.
4169 2014-02-10 Joel Brobecker <brobecker@adacore.com>
4171 * ada-lang.c (struct cache_entry, HASH_SIZE): Move definition up.
4172 (struct ada_symbol_cache): New.
4173 (ada_free_symbol_cache): Forward declare.
4174 (struct ada_pspace_data): New.
4175 (ada_pspace_data_handle): New static global.
4176 (get_ada_pspace_data, ada_pspace_data_cleanup)
4177 (ada_init_symbol_cache, ada_free_symbol_cache): New functions.
4178 (cache_space, cache): Delete, now folded inside struct
4180 (ada_get_symbol_cache): New function.
4181 (ada_clear_symbol_cache, find_entry, cache_symbol): Adjust
4183 (_initialize_ada_language): Remove initialization of cache_space.
4184 Move call to observer_attach_inferior_exit up, grouping it
4185 with the other observer registrations inside this function.
4186 Rename command to be more general. Add call to
4187 register_program_space_data_with_cleanup.
4189 2014-02-10 Joel Brobecker <brobecker@adacore.com>
4191 * ada-tasks.c (ada_tasks_new_objfile_observer): Renames
4192 ada_new_objfile_observer.
4193 (ada_tasks_normal_stop_observer): Renames ada_normal_stop_observer.
4194 (_initialize_tasks): Update uses of ada_new_objfile_observer
4195 and ada_tasks_normal_stop_observer.
4197 2014-02-10 Joel Brobecker <brobecker@adacore.com>
4199 * ada-lang.c (ada_evaluate_subexp): Set the type of the value
4200 returned by the 'Length attribute to integer.
4202 2014-02-10 Joel Brobecker <brobecker@adacore.com>
4204 * ada-lang.c (_initialize_ada_language): Initialize
4205 cache_space obstack.
4207 2014-02-10 Joel Brobecker <brobecker@adacore.com>
4209 * ada-lang.c (HASH_SIZE): New macro.
4210 (struct cache_entry): New type.
4211 (cache_space, cache): New static globals.
4212 (ada_clear_symbol_cache, find_entry): New functions.
4213 (lookup_cached_symbol, cache_symbol): Implement.
4214 (ada_new_objfile_observer, ada_free_objfile_observer): New.
4215 (_initialize_ada_language): Attach ada_new_objfile_observer
4216 and ada_free_objfile_observer.
4218 2014-02-10 Joel Brobecker <brobecker@adacore.com>
4220 * ada-lang.c (ada_add_block_symbols, add_defn_to_vec)
4221 (lookup_cached_symbol, ada_add_local_symbols): Add "const" to
4222 struct block * parameter.
4223 (ada_lookup_symbol_list_worker): Constify local variable "block".
4224 Remove cast which is no longer necessary.
4226 2014-02-10 Doug Evans <xdje42@gmail.com>
4228 Add Guile as an extension language.
4229 * NEWS: Mention Guile scripting.
4230 * Makefile.in (SUBDIR_GUILE_OBS): New variable.
4231 (SUBDIR_GUILE_SRCS, SUBDIR_GUILE_DEPS): New variables
4232 (SUBDIR_GUILE_LDFLAGS, SUBDIR_GUILE_CFLAGS): New variables.
4233 (INTERNAL_CPPFLAGS): Add GUILE_CPPFLAGS.
4234 (CLIBS): Add GUILE_LIBS.
4235 (install-guile): New rule.
4236 (guile.o): New rule.
4237 (scm-arch.o, scm-auto-load.o, scm-block.o): New rules.
4238 (scm-breakpoint.o, scm-disasm.o, scm-exception.o): New rules.
4239 (scm-frame.o, scm-iterator.o, scm-lazy-string.o): New rules.
4240 (scm-math.o, scm-objfile.o, scm-ports.o): New rules.
4241 (scm-pretty-print.o, scm-safe-call.o, scm-gsmob.o): New rules.
4242 (scm-string.o, scm-symbol.o, scm-symtab.o): New rules.
4243 (scm-type.o, scm-utils.o, scm-value.o): New rules.
4244 * configure.ac: New option --with-guile.
4245 * configure: Regenerate.
4246 * config.in: Regenerate.
4247 * auto-load.c: Remove #include "python/python.h". Add #include
4248 "gdb/section-scripts.h".
4249 (source_section_scripts): Handle Guile scripts.
4250 (_initialize_auto_load): Add name of Guile objfile script to
4251 scripts-directory help text.
4252 * breakpoint.c (condition_command): Tweak comment to include Scheme.
4253 * breakpoint.h (gdbscm_breakpoint_object): Add forward decl.
4254 (struct breakpoint): New member scm_bp_object.
4255 * defs.h (enum command_control_type): New value guile_control.
4256 * cli/cli-cmds.c: Remove #include "python/python.h". Add #include
4258 (show_user): Update comment.
4259 (_initialize_cli_cmds): Update help text for "show user". Update help
4260 text for max-user-call-depth.
4261 * cli/cli-script.c: Remove #include "python/python.h". Add #include
4263 (multi_line_command_p): Add guile_control.
4264 (print_command_lines): Handle guile_control.
4265 (execute_control_command, recurse_read_control_structure): Ditto.
4266 (process_next_line): Recognize "guile" commands.
4267 * disasm.c (gdb_disassemble_info): Make non-static.
4268 * disasm.h: #include "dis-asm.h".
4269 (struct gdbarch): Add forward decl.
4270 (gdb_disassemble_info): Declare.
4271 * extension.c: #include "guile/guile.h".
4272 (extension_languages): Add guile.
4273 (get_ext_lang_defn): Handle EXT_LANG_GDB.
4274 * extension.h (enum extension_language): New value EXT_LANG_GUILE.
4275 * gdbtypes.c (get_unsigned_type_max): New function.
4276 (get_signed_type_minmax): New function.
4277 * gdbtypes.h (get_unsigned_type_max): Declare.
4278 (get_signed_type_minmax): Declare.
4279 * guile/README: New file.
4280 * guile/guile-internal.h: New file.
4281 * guile/guile.c: New file.
4282 * guile/guile.h: New file.
4283 * guile/scm-arch.c: New file.
4284 * guile/scm-auto-load.c: New file.
4285 * guile/scm-block.c: New file.
4286 * guile/scm-breakpoint.c: New file.
4287 * guile/scm-disasm.c: New file.
4288 * guile/scm-exception.c: New file.
4289 * guile/scm-frame.c: New file.
4290 * guile/scm-gsmob.c: New file.
4291 * guile/scm-iterator.c: New file.
4292 * guile/scm-lazy-string.c: New file.
4293 * guile/scm-math.c: New file.
4294 * guile/scm-objfile.c: New file.
4295 * guile/scm-ports.c: New file.
4296 * guile/scm-pretty-print.c: New file.
4297 * guile/scm-safe-call.c: New file.
4298 * guile/scm-string.c: New file.
4299 * guile/scm-symbol.c: New file.
4300 * guile/scm-symtab.c: New file.
4301 * guile/scm-type.c: New file.
4302 * guile/scm-utils.c: New file.
4303 * guile/scm-value.c: New file.
4304 * guile/lib/gdb.scm: New file.
4305 * guile/lib/gdb/boot.scm: New file.
4306 * guile/lib/gdb/experimental.scm: New file.
4307 * guile/lib/gdb/init.scm: New file.
4308 * guile/lib/gdb/iterator.scm: New file.
4309 * guile/lib/gdb/printing.scm: New file.
4310 * guile/lib/gdb/types.scm: New file.
4311 * data-directory/Makefile.in (GUILE_SRCDIR): New variable.
4312 (VPATH): Add $(GUILE_SRCDIR).
4313 (GUILE_DIR): New variable.
4314 (GUILE_INSTALL_DIR, GUILE_FILES): New variables.
4315 (all): Add stamp-guile dependency.
4316 (stamp-guile): New rule.
4317 (clean-guile, install-guile, uninstall-guile): New rules.
4318 (install-only): Add install-guile dependency.
4319 (uninstall): Add uninstall-guile dependency.
4320 (clean): Add clean-guile dependency.
4322 2014-02-09 Doug Evans <xdje42@gmail.com>
4324 Revert this patch (which I approved, mea culpa).
4326 2014-02-08 Mark Kettenis <kettenis@gnu.org>
4328 * Makefile.in (all-lib): Remove.
4329 ($(LIBGNU) $(GNULIB_H)): Replace with gits of remove all-lib target.
4331 2014-02-09 Jan Kratochvil <jan.kratochvil@redhat.com>
4333 Fix Python stack corruption.
4334 * python/py-linetable.c (ltpy_get_pcs_for_line, ltpy_has_line): Use
4337 2014-02-08 Mark Kettenis <kettenis@gnu.org>
4339 * Makefile.in (all-lib): Remove.
4340 ($(LIBGNU) $(GNULIB_H)): Replace with gits of remove all-lib target.
4342 2014-02-07 Doug Evans <dje@google.com>
4344 * extension-priv.h (extension_language_script_ops): Add comment.
4345 (extension_language_ops): Add comment.
4346 (active_ext_lang_state): Fix typo in comment.
4348 2014-02-07 Pedro Alves <palves@redhat.com>
4350 PR breakpoints/16292
4351 * infrun.c (handle_signal_stop) <signal arrives while stepping
4352 over a breakpoint>: Switch back to the stepping thread.
4354 2014-02-07 Yao Qi <yao@codesourcery.com>
4356 * target.c (target_xfer_partial): Return zero if LEN is zero.
4358 2014-02-07 Yao Qi <yao@codesourcery.com>
4360 * auxv.c (procfs_xfer_auxv): Replace -1 with TARGET_XFER_E_IO.
4361 (ld_so_xfer_auxv): Likewise.
4362 * bfd-target.c (target_bfd_xfer_partial): Likewise.
4363 * bsd-kvm.c (bsd_kvm_xfer_partial): Likewise.
4364 * corelow.c (core_xfer_partial): Likewise.
4365 * ctf.c (ctf_xfer_partial): Likewise.
4366 * darwin-nat.c (darwin_read_dyld_info): Likewise.
4367 (darwin_xfer_partial): Likewise.
4368 * exec.c (exec_xfer_partial): Likewise.
4369 * gnu-nat.c (gnu_xfer_partial): Likewise.
4370 * ia64-hpux-nat.c (ia64_hpux_xfer_uregs): Likewise.
4371 * inf-ptrace.c (inf_ptrace_xfer_partial): Likewise.
4372 * inf-ttrace.c (inf_ttrace_xfer_partial): Likewise.
4373 * linux-nat.c (linux_xfer_siginfo): Likewise.
4374 (linux_proc_xfer_spu): Likewise.
4375 * procfs.c (procfs_xfer_partial): Likewise.
4376 * record-full.c (record_full_xfer_partial): Likewise.
4377 (record_full_core_xfer_partial): Likewise.
4378 * remote-sim.c (gdbsim_xfer_partial): Likewise.
4379 * remote.c (remote_write_qxfer): Likewise.
4380 (remote_write_qxfer, remote_read_qxfer): Likewise.
4381 (remote_xfer_partial): Likewise.
4382 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
4383 (rs6000_xfer_shared_libraries): Likewise.
4384 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
4385 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise.
4386 (spu_xfer_partial): Likewise.
4387 * target.c (memory_xfer_partial_1): Likewise.
4388 * tracepoint.c (tfile_xfer_partial): Likewise.
4389 * windows-nat.c (windows_xfer_shared_libraries): Likewise.
4390 (windows_xfer_partial): Likewise.
4392 2014-02-07 Yao Qi <yao@codesourcery.com>
4394 * gdbarch.sh (core_xfer_shared_libraries): Returns ULONGEST. Add
4396 (core_xfer_shared_libraries_aix): Likewise.
4397 * gdbarch.c, gdbarch.h: Regenerated.
4398 * i386-cygwin-tdep.c (windows_core_xfer_shared_libraries): Return
4399 ULONGEST. Change 'len_avail' type to ULONGEST.
4400 * rs6000-aix-tdep.c (rs6000_aix_ld_info_to_xml): Likewise.
4401 * rs6000-aix-tdep.h (rs6000_aix_ld_info_to_xml): Update
4403 (rs6000_aix_core_xfer_shared_libraries_aix): Return ULONGEST.
4405 2014-02-07 Yao Qi <yao@codesourcery.com>
4407 * corefile.c (memory_error): Get 'exception' from ERR and pass
4408 'exception' to throw_error.
4410 2014-02-06 Doug Evans <xdje42@gmail.com>
4412 * configure.ac (libpython checking): Remove all but python.o from
4413 CONFIG_OBS. Remove all but python.c from CONFIG_SRCS.
4414 * configure: Regenerate.
4416 * Makefile.in (SFILES): Add extension.c.
4417 (HFILES_NO_SRCDIR): Add extension.h, extension-priv.h
4418 (COMMON_OBS): Add extension.o.
4419 * extension.h: New file.
4420 * extension-priv.h: New file.
4421 * extension.c: New file.
4423 * python/python-internal.h: #include "extension.h".
4424 (gdbpy_auto_load_enabled): Declare.
4425 (gdbpy_apply_val_pretty_printer): Declare.
4426 (gdbpy_apply_frame_filter): Declare.
4427 (gdbpy_preserve_values): Declare.
4428 (gdbpy_breakpoint_cond_says_stop): Declare.
4429 (gdbpy_breakpoint_has_cond): Declare.
4430 (void source_python_script_for_objfile): Delete.
4431 * python/python.c: #include "extension-priv.h".
4432 Delete inclusion of "observer.h".
4433 (extension_language_python): Moved here and renamed from
4434 script_language_python in py-auto-load.c.
4435 Redefined to be of type extension_language_defn.
4436 (python_extension_script_ops): New global.
4437 (python_extension_ops): New global.
4438 (struct python_env): New member previous_active.
4439 (restore_python_env): Call restore_active_ext_lang.
4440 (ensure_python_env): Call set_active_ext_lang.
4441 (gdbpy_clear_quit_flag): Renamed from clear_quit_flag, made static.
4443 (gdbpy_set_quit_flag): Renamed from set_quit_flag, made static.
4445 (gdbpy_check_quit_flag): Renamed from check_quit_flag, made static.
4447 (gdbpy_eval_from_control_command): Renamed from
4448 eval_python_from_control_command, made static. New arg extlang.
4449 (gdbpy_source_script) Renamed from source_python_script, made static.
4451 (gdbpy_before_prompt_hook): Renamed from before_prompt_hook. Change
4452 result to int. New arg extlang.
4453 (gdbpy_source_objfile_script): Renamed from
4454 source_python_script_for_objfile, made static. New arg extlang.
4455 (gdbpy_start_type_printers): Renamed from start_type_printers, made
4456 static. New args extlang, extlang_printers. Change result type to
4458 (gdbpy_apply_type_printers): Renamed from apply_type_printers, made
4459 static. New arg extlang. Rename arg printers to extlang_printers
4460 and change type to ext_lang_type_printers *.
4461 (gdbpy_free_type_printers): Renamed from free_type_printers, made
4462 static. Replace argument arg with extlang, extlang_printers.
4463 (!HAVE_PYTHON, eval_python_from_control_command): Delete.
4464 (!HAVE_PYTHON, source_python_script): Delete.
4465 (!HAVE_PYTHON, gdbpy_should_stop): Delete.
4466 (!HAVE_PYTHON, gdbpy_breakpoint_has_py_cond): Delete.
4467 (!HAVE_PYTHON, start_type_printers): Delete.
4468 (!HAVE_PYTHON, apply_type_printers): Delete.
4469 (!HAVE_PYTHON, free_type_printers): Delete.
4470 (_initialize_python): Delete call to observer_attach_before_prompt.
4471 (finalize_python): Set/restore active extension language.
4472 (gdbpy_finish_initialization) Renamed from
4473 finish_python_initialization, made static. New arg extlang.
4474 (gdbpy_initialized): New function.
4475 * python/python.h: #include "extension.h". Delete #include
4476 "value.h", "mi/mi-cmds.h".
4477 (extension_language_python): Declare.
4478 (GDBPY_AUTO_FILE_NAME): Delete.
4479 (enum py_bt_status): Moved to extension.h and renamed to
4481 (enum frame_filter_flags): Moved to extension.h.
4482 (enum py_frame_args): Moved to extension.h and renamed to
4483 ext_lang_frame_args.
4484 (finish_python_initialization): Delete.
4485 (eval_python_from_control_command): Delete.
4486 (source_python_script): Delete.
4487 (apply_val_pretty_printer): Delete.
4488 (apply_frame_filter): Delete.
4489 (preserve_python_values): Delete.
4490 (gdbpy_script_language_defn): Delete.
4491 (gdbpy_should_stop, gdbpy_breakpoint_has_py_cond): Delete.
4492 (start_type_printers, apply_type_printers, free_type_printers): Delete.
4494 * auto-load.c: #include "extension.h".
4495 (GDB_AUTO_FILE_NAME): Delete.
4496 (auto_load_gdb_scripts_enabled): Make public. New arg extlang.
4497 (script_language_gdb): Delete, moved to extension.c and renamed to
4498 extension_language_gdb.
4499 (source_gdb_script_for_objfile): Delete.
4500 (auto_load_pspace_info): New member unsupported_script_warning_printed.
4501 (loaded_script): Change type of language member to
4502 struct extension_language_defn *.
4503 (init_loaded_scripts_info): Initialize
4504 unsupported_script_warning_printed.
4505 (maybe_add_script): Make static. Change type of language arg to
4506 struct extension_language_defn *.
4507 (clear_section_scripts): Reset unsupported_script_warning_printed.
4508 (auto_load_objfile_script_1): Rewrite to use extension language API.
4509 (auto_load_objfile_script): Make public. Remove support-compiled-in
4510 and auto-load-enabled checks, moved to auto_load_scripts_for_objfile.
4511 (source_section_scripts): Rewrite to use extension language API.
4512 (load_auto_scripts_for_objfile): Rewrite to use
4513 auto_load_scripts_for_objfile.
4514 (collect_matching_scripts_data): Change type of language member to
4515 struct extension_language_defn *.
4516 (auto_load_info_scripts): Change type of language arg to
4517 struct extension_language_defn *.
4518 (unsupported_script_warning_print): New function.
4519 (script_not_found_warning_print): Make static.
4520 (_initialize_auto_load): Rewrite construction of scripts-directory
4522 * auto-load.h (struct objfile): Add forward decl.
4523 (struct script_language): Delete.
4524 (struct auto_load_pspace_info): Add forward decl.
4525 (struct extension_language_defn): Add forward decl.
4526 (maybe_add_script): Delete.
4527 (auto_load_objfile_script): Declare.
4528 (script_not_found_warning_print): Delete.
4529 (auto_load_info_scripts): Update prototype.
4530 (auto_load_gdb_scripts_enabled): Declare.
4531 * python/py-auto-load.c (gdbpy_auto_load_enabled): Renamed from
4532 auto_load_python_scripts_enabled and made public.
4533 (script_language_python): Delete, moved to python.c.
4534 (gdbpy_script_language_defn): Delete.
4535 (info_auto_load_python_scripts): Update to use
4536 extension_language_python.
4538 * breakpoint.c (condition_command): Replace call to
4539 gdbpy_breakpoint_has_py_cond with call to get_breakpoint_cond_ext_lang.
4540 (bpstat_check_breakpoint_conditions): Replace call to gdbpy_should_stop
4541 with call to breakpoint_ext_lang_cond_says_stop.
4542 * python/py-breakpoint.c (gdbpy_breakpoint_cond_says_stop): Renamed
4543 from gdbpy_should_stop. Change result type to enum scr_bp_stop.
4544 New arg slang. Return SCR_BP_STOP_UNSET if py_bp_object is NULL.
4545 (gdbpy_breakpoint_has_cond): Renamed from gdbpy_breakpoint_has_py_cond.
4547 (local_setattro): Print name of extension language with existing
4550 * valprint.c (val_print, value_print): Update to call
4551 apply_ext_lang_val_pretty_printer.
4552 * cp-valprint.c (cp_print_value): Update call to
4553 apply_ext_lang_val_pretty_printer.
4554 * python/py-prettyprint.c: Remove #ifdef HAVE_PYTHON.
4555 (gdbpy_apply_val_pretty_printer): Renamed from
4556 apply_val_pretty_printer. New arg extlang.
4557 (!HAVE_PYTHON, apply_val_pretty_printer): Delete.
4559 * cli/cli-cmds.c (source_script_from_stream): Rewrite to use
4560 extension language API.
4561 * cli/cli-script.c (execute_control_command): Update to call
4562 eval_ext_lang_from_control_command.
4564 * mi/mi-cmd-stack.c (mi_cmd_stack_list_frames): Update to use
4565 enum ext_lang_bt_status values. Update call to
4566 apply_ext_lang_frame_filter.
4567 (mi_cmd_stack_list_locals): Ditto.
4568 (mi_cmd_stack_list_args): Ditto.
4569 (mi_cmd_stack_list_variables): Ditto.
4570 * mi/mi-main.c: Delete #include "python/python-internal.h".
4571 Add #include "extension.h".
4572 (mi_cmd_list_features): Replace reference to python internal variable
4573 gdb_python_initialized with call to ext_lang_initialized_p.
4575 * stack.c (backtrace_command_1): Update to use enum ext_lang_bt_status.
4576 Update to use enum ext_lang_frame_args. Update to call
4577 apply_ext_lang_frame_filter.
4578 * python/py-framefilter.c (extract_sym): Update to use enum
4580 (extract_value, py_print_type, py_print_value): Ditto.
4581 (py_print_single_arg, enumerate_args, enumerate_locals): Ditto.
4582 (py_mi_print_variables, py_print_locals, py_print_args): Ditto.
4583 (py_print_frame): Ditto.
4584 (gdbpy_apply_frame_filter): Renamed from apply_frame_filter.
4585 New arg extlang. Update to use enum ext_lang_bt_status.
4587 * top.c (gdb_init): Delete #ifdef HAVE_PYTHON call to
4588 finish_python_initialization. Replace with call to
4589 finish_ext_lang_initialization.
4591 * typeprint.c (do_free_global_table): Update to call
4592 free_ext_lang_type_printers.
4593 (create_global_typedef_table): Update to call
4594 start_ext_lang_type_printers.
4595 (find_global_typedef): Update to call apply_ext_lang_type_printers.
4596 * typeprint.h (struct ext_lang_type_printers): Add forward decl.
4597 (type_print_options): Change type of global_printers from "void *"
4598 to "struct ext_lang_type_printers *".
4600 * value.c (preserve_values): Update to call preserve_ext_lang_values.
4601 * python/py-value.c: Remove #ifdef HAVE_PYTHON.
4602 (gdbpy_preserve_values): Renamed from preserve_python_values.
4604 (!HAVE_PYTHON, preserve_python_values): Delete.
4606 * utils.c (quit_flag): Delete, moved to extension.c.
4607 (clear_quit_flag, set_quit_flag, check_quit_flag): Delete, moved to
4610 * eval.c: Delete #include "python/python.h".
4611 * main.c: Delete #include "python/python.h".
4613 * defs.h: Update comment.
4615 2014-02-06 Joel Brobecker <brobecker@adacore.com>
4619 2014-02-05 Mark Kettenis <kettenis@gnu.org>
4621 * c-exp.y (YYPRINT, c_print_token): Only define if YYBISON is
4624 2014-02-05 Yao Qi <yao@codesourcery.com>
4626 * remote.c (remote_pass_signals): Remove local 'buf' and use
4628 (remote_program_signals): Likewise.
4630 2014-02-05 Yao Qi <yao@codesourcery.com>
4632 * ctf.c: Include "inferior.h" and "gdbthread.h".
4633 (CTF_PID): A new macro.
4634 (ctf_open): Call inferior_appeared and add_thread_silent.
4635 (ctf_close): Call exit_inferior_silent and set inferior_ptid.
4636 (ctf_thread_alive): New function.
4637 (init_ctf_ops): Install ctf_thread_alive to to_thread_alive.
4639 2014-02-05 Yao Qi <yao@codesourcery.com>
4643 2013-05-24 Yao Qi <yao@codesourcery.com>
4645 * tracepoint.c (TFILE_PID): Remove.
4646 (tfile_open): Don't add thread and inferior.
4647 (tfile_close): Don't set 'inferior_ptid'. Don't call
4648 exit_inferior_silent.
4649 (tfile_thread_alive): Remove.
4650 (init_tfile_ops): Don't set field 'to_thread_alive' of
4653 2014-02-04 Christian Eggers <ceggers@gmx.de> (tiny change)
4655 * remote.c (remote_start_remote): Call remote_check_symbols even
4656 if only symbol-file (not file) has been given.
4658 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
4660 * gdbarch.sh (skip_entrypoint): New callback.
4661 * gdbarch.c, gdbarch.h: Regenerate.
4662 * symtab.c (skip_prologue_sal): Call gdbarch_skip_entrypoint.
4663 * infrun.c (fill_in_stop_func): Likewise.
4664 * ppc-linux-tdep.c: Include "elf/ppc64.h".
4665 (ppc_elfv2_elf_make_msymbol_special): New function.
4666 (ppc_elfv2_skip_entrypoint): Likewise.
4667 (ppc_linux_init_abi): Install them for ELFv2.
4669 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
4671 * ppc-sysv-tdep.c (ppc64_aggregate_candidate): New routine.
4672 (ppc64_elfv2_abi_homogeneous_aggregate): Likewise.
4673 (ppc64_sysv_abi_push_param): Handle ELFv2 homogeneous structs.
4674 (ppc64_sysv_abi_return_value): Likewise. Also, handle small
4675 structures returned in GPRs.
4677 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
4679 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_dummy_call): Use correct
4680 offset to the stack parameter list for the ELFv2 ABI.
4682 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
4684 * ppc-linux-tdep.c (ppc_linux_init_abi): Only call
4685 set_gdbarch_convert_from_func_ptr_addr and
4686 set_gdbarch_elf_make_msymbol_special for ELFv1.
4687 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_param): Only handle
4688 function descriptors on ELFv1.
4689 (ppc64_sysv_abi_push_dummy_call): Likewise. On ELFv2,
4690 set up r12 at function entry.
4692 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
4694 * ppc-tdep.h (enum powerpc_elf_abi): New data type.
4695 (struct gdbarch_tdep): New member elf_abi.
4697 * rs6000-tdep.c: Include "elf/ppc64.h".
4698 (rs6000_gdbarch_init): Detect ELF ABI version.
4700 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
4702 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_freg): Use correct order
4703 within a register pair holding a DFP 128-bit value on little-endian.
4704 (ppc64_sysv_abi_return_value_base): Likewise.
4705 * rs6000-tdep.c (dfp_pseudo_register_read): Likewise.
4706 (dfp_pseudo_register_write): Likewise.
4708 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
4710 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_freg): Use correct
4711 offset on little-endian when passing _Decimal32.
4712 (ppc64_sysv_abi_return_value_base): Likewise for return values.
4714 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
4716 * rs6000-tdep.c (efpr_pseudo_register_read): Use correct offset
4717 of the overlapped FP register within the VSX register on little-
4719 (efpr_pseudo_register_write): Likewise.
4721 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
4723 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_val): Use correct
4724 offset on little-endian when passing small structures.
4726 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
4728 * ppc-sysv-tdep.c (get_decimal_float_return_value): Update comment.
4729 (struct ppc64_sysv_argpos): New data structure.
4730 (ppc64_sysv_abi_push_float): Remove.
4731 (ppc64_sysv_abi_push_val): New function.
4732 (ppc64_sysv_abi_push_integer): Likewise.
4733 (ppc64_sysv_abi_push_freg): Likewise.
4734 (ppc64_sysv_abi_push_vreg): Likewise.
4735 (ppc64_sysv_abi_push_param): Likewise.
4736 (ppc64_sysv_abi_push_dummy_call): Refactor to use those new routines.
4737 (ppc64_sysv_abi_return_value_base): New function.
4738 (ppc64_sysv_abi_return_value): Refactor to use it.
4740 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
4742 * NEWS: Document new target powerpc64le-*-linux*.
4744 2014-02-04 Mark Kettenis <kettenis@gnu.org>
4746 * sparc64obsd-tdep.c (sparc64obsd_gregset): New variable.
4747 (sparc64obsd_supply_gregset): Handle registers sets used in ELF
4749 (sparc64obsd_init_abi): Adjust minimum size of the general purpose
4750 register set used in ELF core dumps. Add floating-point register set.
4752 2014-02-03 Kevin Buettner <kevinb@redhat.com>
4754 * mn10300-tdep.c (mn10300_dwarf2_reg_to_regnum): Rewrite
4755 dwarf2_to_gdb[] table using symbolic constants. Adjust
4756 penultimate entry from number representing the PC register
4757 to symbolic constant representing the MDR register. Add
4758 constant for the PC register to the end of the table.
4760 2014-02-03 Mark Kettenis <kettenis@gnu.org>
4762 * bsd-kvm.c: Include <sys/param.h>
4764 2014-02-03 Mark Kettenis <kettenis@gnu.org>
4766 * sparc64nbsd-nat.c (sparc64nbsd_supply_fpregset): Fix prototype.
4768 2014-01-31 Joel Brobecker <brobecker@adacore.com>
4770 * ada-lang.h (clear_ada_sym_cache): Delete.
4772 2014-01-30 Ulrich Weigand <uweigand@de.ibm.com>
4774 * auxv.c (fprint_target_auxv): Handle AT_HWCAP2.
4776 2014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
4778 * sparc64-linux-tdep.c (sparc64_linux_step_trap): Get PC from
4779 the sigreturn register save area only if the syscall is
4782 2014-01-29 Joel Brobecker <brobecker@adacore.com>
4784 * valops.c (value_slice): Minor reformatting.
4786 2014-01-28 Ulrich Weigand <uweigand@de.ibm.com>
4788 * ppc64-tdep.c (ppc64_standard_linkage7): Fix typo.
4790 2014-01-28 Joel Brobecker <brobecker@adacore.com>
4792 * ada-lang.c (maint_set_ada_cmdlist, maint_show_ada_cmdlist):
4794 (maint_set_ada_cmd, maint_show_ada_cmd): New functions.
4795 (ada_ignore_descriptive_types_p): New static global.
4796 (find_parallel_type_by_descriptive_type): Return immediately
4797 if ada_ignore_descriptive_types_p is set.
4798 (_initialize_ada_language): Register new commands "maintenance
4799 set ada", "maintenance show ada", "maintenance set ada
4800 ignore-descriptive-types" and "maintenance show ada
4801 ignore-descriptive-types".
4802 * NEWS: Add entry for new "maint ada set/show
4803 ignore-descriptive-types" commands.
4805 2014-01-27 Markus Metzger <markus.t.metzger@intel.com>
4807 * record-btrace.c (record_btrace_close): Call btrace_teardown
4810 2014-01-27 Joel Brobecker <brobecker@adacore.com>
4812 * ada-lang.c: Remove "#ifdef UI_OUT" condition for including
4815 2014-01-27 Joel Brobecker <brobecker@adacore.com>
4817 * ada-typeprint (type_is_full_subrange_of_target_type):
4819 (print_range): Add parameter bounds_prefered_p. If not set,
4820 try printing range types using the name of their base type.
4821 (print_range_type): Add parameter bounds_prefered_p.
4822 Use it in call to print_range.
4823 (print_array_type, ada_print_type): Update calls to print_range
4824 and print_range_type.
4826 2014-01-27 Joel Brobecker <brobecker@adacore.com>
4828 * ada-typeprint.c (print_array_type, print_choices, print_range)
4829 (print_range_bound, print_dynamic_range_bound, print_range_type):
4832 2014-01-27 Joel Brobecker <brobecker@adacore.com>
4834 * ada-typeprint.c (print_range): Add missing empty line
4835 after local declaration.
4837 2014-01-27 Joel Brobecker <brobecker@adacore.com>
4839 * ada-valprint.c (print_optional_low_bound): Get index_type's
4840 target type for as long as it is a TYPE_CODE_RANGE.
4842 2014-01-27 Joel Brobecker <brobecker@adacore.com>
4844 * procfs.c (procfs_make_note_section): Remove assertion and
4847 2014-01-24 Yao Qi <yao@codesourcery.com>
4849 * remote.c (remote_read_bytes): Change type of len to ULONGEST.
4850 * corelow.c (get_core_siginfo): Likewise.
4852 2014-01-24 Yao Qi <yao@codesourcery.com>
4854 * remote.c (remote_write_bytes_aux): Change type of 'len' to
4855 ULONGEST. Don't check 'len' is negative.
4856 (remote_write_bytes): Change type of 'len' to ULONGEST.
4858 2014-01-23 Tom Tromey <tromey@redhat.com>
4861 * python/lib/gdb/FrameDecorator.py: (FrameVars.fetch_frame_args):
4862 Handle exception from frame.block.
4863 (FrameVars.fetch_frame_locals): Likewise.
4865 2014-01-23 Tom Tromey <tromey@redhat.com>
4868 * python/py-framefilter.c (py_print_frame): Don't call Py_DECREF
4869 on a NULL pointer. Move "goto error" to correct place.
4871 2014-01-23 Tom Tromey <tromey@redhat.com>
4874 * python/py-framefilter.c (apply_frame_filter): Call
4875 ensure_python_env after computing gdbarch.
4877 2014-01-23 Yao Qi <yao@codesourcery.com>
4879 * target.c (raw_memory_xfer_partial): Change argument type
4880 from void * to gdb_byte *.
4881 (memory_xfer_partial_1, memory_xfer_partial): Likewise.
4883 2014-01-22 Doug Evans <dje@google.com>
4885 New gdbserver option --debug-format=timestamp.
4888 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
4890 * syscalls/s390x-linux.xml: New file.
4891 * syscalls/s390-linux.xml: New file.
4892 * s390-linux-tdep.c (XML_SYSCALL_FILENAME_S390): New macro.
4893 (XML_SYSCALL_FILENAME_S390X): Likewise.
4894 (op_svc): New enum value for SVC opcode.
4895 (s390_sigtramp_frame_sniffer): Replace literal by 'op_svc'.
4896 (s390_linux_get_syscall_number): New function.
4897 (s390_gdbarch_init): Register '*get_syscall_number' and the
4898 syscall xml file name.
4899 * data-directory/Makefile.in (SYSCALLS_FILES): Add
4900 "s390-linux.xml" and "s390x-linux.xml".
4901 * NEWS: Announce new feature.
4903 2014-01-22 Baruch Siach <baruch@tkos.co.il>
4905 * xtensa-tdep.h (xtensa_elf_greg_t): Change type to uint32_t.
4907 2014-01-22 Pedro Alves <palves@redhat.com>
4909 * xtensa-config.c: Include defs.h.
4911 2014-01-22 Joel Brobecker <brobecker@adacore.com>
4913 * common/common-utils.h: Add "ARI:" comment beside __func__
4916 2014-01-22 Joel Brobecker <brobecker@adacore.com>
4918 * common/common-utils.h (FUNCTION_NAME): Expand the macro's
4919 documentation a bit.
4921 2014-01-21 Roland McGrath <mcgrathr@google.com>
4923 * configure.ac: Call AM_PROG_INSTALL_STRIP.
4924 * configure: Regenerate.
4925 * aclocal.m4: Regenerate.
4926 * Makefile.in (install_sh, INSTALL_STRIP_PROGRAM, STRIP):
4927 New substituted variables.
4928 (install-strip): New target.
4929 (INSTALL_SCRIPT): New substituted variable.
4930 (FLAGS_TO_PASS): Add it.
4931 (install-only): Use $(INSTALL_SCRIPT) rather than
4932 $(INSTALL_PROGRAM) for gcore.
4934 2014-01-20 Tom Tromey <tromey@redhat.com>
4936 * cli/cli-decode.h (struct cmd_list_element): Move all bitfields
4939 2014-01-20 Tom Tromey <tromey@redhat.com>
4941 * cli/cli-decode.c (add_cmd, deprecate_cmd, add_alias_cmd)
4942 (add_setshow_cmd_full, delete_cmd, lookup_cmd_1)
4943 (deprecated_cmd_warning, complete_on_cmdlist): Update.
4944 * cli/cli-decode.h (CMD_DEPRECATED, DEPRECATED_WARN_USER)
4945 (MALLOCED_REPLACEMENT, DOC_ALLOCATED): Remove.
4946 (struct cmd_list_element) <flags>: Remove.
4947 <cmd_deprecated, deprecated_warn_user, malloced_replacement,
4948 doc_allocated>: New fields.
4949 <hook_in, allow_unknown, abbrev_flag, type, var_type>: Now
4951 * maint.c (maintenance_do_deprecate): Update.
4952 * top.c (execute_command): Update.
4954 2014-01-20 Baruch Siach <baruch@tkos.co.il>
4956 * xtensa-linux-nat.c: Include asm/ptrace.h.
4958 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
4960 * Makefile.in (SFILES): Add d-support.c.
4961 (COMMON_OBS): Add d-support.o.
4962 * d-lang.h (d_parse_symbol): Add comment, now defined in
4964 * d-lang.c (parse_call_convention)
4965 (parse_attributes, parse_function_types)
4966 (parse_function_args, parse_type, parse_identifier)
4967 (call_convention_p, d_parse_symbol): Move functions to ...
4968 * d-support.c: ... New file.
4970 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
4972 * d-lang.h (d_parse_symbol): Add declaration.
4973 * d-lang.c (extract_identifiers)
4974 (extract_type_info): Remove functions.
4975 (parse_call_convention, parse_attributes)
4976 (parse_function_types, parse_function_args)
4977 (parse_type, parse_identifier, call_convention_p)
4978 (d_parse_symbol): New functions.
4979 (d_demangle): Use d_parse_symbol to demangle D symbols.
4981 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
4983 * d-lang.h (struct builtin_d_type): New data type.
4984 (builtin_d_type): Add declaration.
4985 * d-lang.c (d_language_arch_info, build_d_types)
4986 (builtin_d_type): New functions.
4987 (enum d_primitive_types): New data type.
4988 (d_language_defn): Change c_language_arch_info to
4989 d_language_arch_info.
4990 (d_type_data): New static variable.
4991 (_initialize_d_language): Initialize d_type_data.
4993 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
4995 * d-lang.h (d_main_name): Add declaration.
4996 * d-lang.c (d_main_name): New function.
4997 * symtab.c (find_main_name): Add call to d_main_name.
4999 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
5001 * d-lang.c (d_language_defn): Change macro_expansion_c to
5004 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
5006 * MAINTAINERS: Add myself as a write-after-approval maintainer.
5008 2014-01-17 Sergio Durigan Junior <sergiodj@redhat.com>
5010 * breakpoint.c (insert_bp_location): Add "volatile" keyword to "struct
5011 gdb_exception" declaration.
5012 * remote.c (getpkt_or_notif_sane): Likewise.
5014 2014-01-17 Doug Evans <dje@google.com>
5016 * common/gdb_vecs.c (delim_string_to_char_ptr_vec_append): New
5017 function, contents of dirnames_to_char_ptr_vec_append moved here.
5018 (delim_string_to_char_ptr_vec): New function.
5019 (dirnames_to_char_ptr_vec_append): Rewrite.
5020 * common/gdb_vecs.h (delim_string_to_char_ptr_vec): Declare.
5022 2014-01-17 Doug Evans <dje@google.com>
5024 * common/common-utils.h (FUNCTION_NAME): Renamed from ASSERT_FUNCTION,
5026 * common/gdb_assert.h (ASSERT_FUNCTION): ... from here.
5027 #include "common-utils.h".
5028 (gdb_assert, gdb_assert_fail, gdb_assert_not_reached): Update.
5029 * common/vec.h (VEC_ASSERT_PASS): Update.
5030 * darwin-nat.h: Replace #include of gdb_assert.h with common-utils.h.
5031 (MACH_CHECK_ERROR): Update.
5033 2014-01-17 Simon Marchi <simon.marchi@ericsson.com>
5035 * gdbarch.sh (gdbarch_address_class_name_to_type_flags): Add
5037 * gdbarch.h: Regenerate.
5039 2014-01-16 Tom Tromey <tromey@redhat.com>
5041 * value.c (struct value) <regnum>: Move earlier.
5043 2014-01-16 Tom Tromey <tromey@redhat.com>
5045 * remote.c (extended_remote_create_inferior): Rename from
5046 extended_remote_create_inferior_1. Add "ops" argument. Remove
5049 2014-01-16 Pedro Alves <palves@redhat.com>
5051 * s390-linux-tdep.c (s390_frame_unwind_cache): Swallow
5052 NOT_AVAILABLE_ERROR errors while parsing the prologue or reading
5055 2014-01-16 Doug Evans <dje@google.com>
5057 * dwarf2read.c (open_and_init_dwp_file): Fix typo in comment.
5059 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5061 * btrace.h (btrace_thread_flag): New.
5062 (struct btrace_thread_info) <flags>: New.
5063 * record-btrace.c (record_btrace_resume_thread)
5064 (record_btrace_find_thread_to_move, btrace_step_no_history)
5065 (btrace_step_stopped, record_btrace_start_replaying)
5066 (record_btrace_step_thread, record_btrace_decr_pc_after_break)
5067 (record_btrace_find_resume_thread): New.
5068 (record_btrace_resume, record_btrace_wait): Extend.
5069 (record_btrace_can_execute_reverse): New.
5070 (record_btrace_open): Fail in non-stop mode.
5071 (record_btrace_set_replay): Split into this, ...
5072 (record_btrace_stop_replaying): ... this, ...
5073 (record_btrace_clear_histories): ... and this.
5074 (init_record_btrace_ops): Init to_can_execute_reverse.
5075 * NEWS: Announce it.
5077 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5079 * target.h (struct target_ops) <to_decr_pc_after_break>: New.
5080 (forward_target_decr_pc_after_break)
5081 (target_decr_pc_after_break): New.
5082 * target.c (forward_target_decr_pc_after_break)
5083 (target_decr_pc_after_break): New.
5084 * aix-thread.c (aix_thread_wait): Call target_decr_pc_after_break
5085 instead of gdbarch_decr_pc_after_break.
5086 * darwin-nat.c (cancel_breakpoint): Call target_decr_pc_after_break
5087 instead of gdbarch_decr_pc_after_break.
5088 * infrun.c (adjust_pc_after_break): Call target_decr_pc_after_break
5089 instead of gdbarch_decr_pc_after_break.
5090 * linux-nat.c (cancel_breakpoint): Call target_decr_pc_after_break
5091 instead of gdbarch_decr_pc_after_break.
5092 * linux-thread-db.c (check_event): Call target_decr_pc_after_break
5093 instead of gdbarch_decr_pc_after_break.
5094 * record-full.c (record_full_wait_1): Call target_decr_pc_after_break
5095 instead of gdbarch_decr_pc_after_break.
5097 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5099 * btrace.c: Include regcache.h.
5100 (btrace_add_pc): New.
5101 (btrace_enable): Call btrace_add_pc.
5102 (btrace_is_empty): New.
5103 * btrace.h (btrace_is_empty): New.
5104 * record-btrace.c (require_btrace, record_btrace_info): Call
5107 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5109 * common/linux-btrace.c (perf_event_read_bts, linux_read_btrace):
5110 Support delta reads.
5111 (linux_disable_btrace): Change return type.
5112 * common/linux-btrace.h (linux_read_btrace): Change parameters
5113 and return type to allow error reporting. Update users.
5114 (linux_disable_btrace): Change return type. Update users.
5115 * common/btrace-common.h (btrace_read_type) <BTRACE_READ_DELTA>:
5117 (btrace_error): New.
5118 (btrace_block) <begin>: Comment on BEGIN == 0.
5119 * btrace.c (btrace_compute_ftrace): Start from the end of
5121 (btrace_stitch_trace, btrace_clear_history): New.
5122 (btrace_fetch): Read delta trace, return if replaying.
5123 (btrace_clear): Move clear history code to btrace_clear_history.
5124 (parse_xml_btrace): Throw an error if parsing failed.
5125 * target.h (struct target_ops) <to_read_btrace>: Change parameters
5126 and return type to allow error reporting.
5127 (target_read_btrace): Change parameters and return type to allow
5129 * target.c (target_read_btrace): Update.
5130 * remote.c (remote_read_btrace): Support delta reads. Pass
5132 * NEWS: Announce it.
5134 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5136 * record.h (record_btrace_frame_unwind)
5137 (record_btrace_tailcall_frame_unwind): New declarations.
5138 * dwarf2-frame: Include record.h
5139 (dwarf2_frame_cfa): Throw an error for btrace frames.
5140 * record-btrace.c: Include hashtab.h.
5141 (btrace_get_bfun_name): New.
5142 (btrace_call_history): Call btrace_get_bfun_name.
5143 (struct btrace_frame_cache): New.
5145 (bfcache_hash, bfcache_eq, bfcache_new): New.
5146 (btrace_get_frame_function): New.
5147 (record_btrace_frame_unwind_stop_reason): Allow unwinding.
5148 (record_btrace_frame_this_id): Compute own id.
5149 (record_btrace_frame_prev_register): Provide PC, throw_error
5150 for all other registers.
5151 (record_btrace_frame_sniffer): Detect btrace frames.
5152 (record_btrace_tailcall_frame_sniffer): New.
5153 (record_btrace_frame_dealloc_cache): New.
5154 (record_btrace_frame_unwind): Add new functions.
5155 (record_btrace_tailcall_frame_unwind): New.
5156 (_initialize_record_btrace): Allocate cache.
5157 * btrace.c (btrace_clear): Call reinit_frame_cache.
5158 * NEWS: Announce it.
5160 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5162 * record-btrace.c (record_btrace_set_replay)
5163 (record_btrace_goto_begin, record_btrace_goto_end)
5164 (record_btrace_goto): New.
5165 (init_record_btrace_ops): Initialize them.
5166 * NEWS: Announce it.
5168 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5170 * record-btrace.c (record_btrace_find_new_threads)
5171 (record_btrace_thread_alive): New.
5172 (init_record_btrace_ops): Initialize to_find_new_threads and
5175 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5177 * record-btrace.c (record_btrace_resume): New.
5178 (record_btrace_wait): New.
5179 (init_record_btrace_ops): Initialize to_wait and to_resume.
5181 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5183 * record-btrace.c (record_btrace_xfer_partial)
5184 (record_btrace_insert_breakpoint, record_btrace_remove_breakpoint)
5185 (record_btrace_allow_memory_access): New.
5186 (init_record_btrace_ops): Initialize new methods.
5187 * target.c (raw_memory_xfer_partial): Bail out if target reports
5188 that this memory is not available.
5190 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5192 * target.h (target_ops) <to_insert_breakpoint>
5193 <to_remove_breakpoint>: Add target_ops parameter.
5194 (forward_target_insert_breakpoint): New.
5195 (forward_target_remove_breakpoint): New.
5196 (memory_remove_breakpoint, memory_insert_breakpoint):
5197 Add target_ops parameter.
5198 * target.c (target_insert_breakpoint): Split into this and ...
5199 (forward_target_insert_breakpoint): ... this.
5200 (target_remove_breakpoint): Split into this and ...
5201 (forward_target_remove_breakpoint): ... this.
5202 (debug_to_insert_breakpoint): Add target_ops parameter.
5203 Call forward_target_insert_breakpoint.
5204 (debug_to_remove_breakpoint): Add target_ops parameter.
5205 Call forward_target_remove_breakpoint.
5206 (update_current_target): Do not inherit or default to_insert_breakpoint
5207 and to_remove_breakpoint.
5208 * corelow.c (ignore): Add target_ops parameter.
5209 * exec.c (ignore): Add target_ops parameter.
5210 * mem-break.c (memory_insert_breakpoint, memory_remove_breakpoint):
5211 Add target_ops parameter.
5212 * monitor.c (monitor_insert_breakpoint, monitor_remove_breakpoint):
5213 Add target_ops parameter.
5214 * nto-procfs.c (procfs_insert_breakpoint, procfs_remove_breakpoint):
5215 Add target_ops parameter.
5216 * record-full.c (record_full_beneath_to_insert_breakpoint)
5217 (record_full_beneath_to_remove_breakpoint, tmp_to_insert_breakpoint)
5218 (tmp_to_remove_breakpoint, record_full_insert_breakpoint)
5219 (record_full_remove_breakpoint, record_full_core_insert_breakpoint)
5220 (record_full_core_remove_breakpoint): Add target_ops parameter.
5222 (record_full_beneath_to_insert_breakpoint_ops)
5223 (record_full_beneath_to_remove_breakpoint_ops)
5224 (tmp_to_insert_breakpoint_ops, tmp_to_remove_breakpoint_ops): New.
5225 (record_full_open): Initialize tmp_to_insert_breakpoint_ops,
5226 tmp_to_remove_breakpoint_ops,
5227 record_full_beneath_to_insert_breakpoint_ops, and
5228 record_full_beneath_to_remove_breakpoint_ops.
5229 * remote-m32r-sdi.c (m32r_insert_breakpoint)
5230 (m32r_remove_breakpoint): Add target_ops parameter.
5231 * remote-mips.c (mips_insert_breakpoint, mips_remove_breakpoint):
5232 Add target_ops parameter.
5233 * remote.c (remote_insert_breakpoint, remote_remove_breakpoint):
5234 Add target_ops parameter.
5236 2014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
5237 Markus Metzger <markus.t.metzger@intel.com>
5239 * record-btrace.c: Include frame-unwind.h.
5240 (record_btrace_frame_unwind_stop_reason)
5241 (record_btrace_frame_this_id, record_btrace_frame_prev_register)
5242 (record_btrace_frame_sniffer, record_btrace_frame_unwind):
5244 (init_record_btrace_ops): Install it.
5246 2014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
5248 * frame.c (get_frame_unwind_stop_reason): Unconditionally call
5251 2014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
5253 * dwarf2-frame.c (dwarf2_frame_cfa): Move UNWIND_UNAVAILABLE check
5256 2014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
5258 * frame-unwind.c: Include target.h.
5259 (frame_unwind_try_unwinder): New function with code from ...
5260 (frame_unwind_find_by_frame): ... here. New variable
5261 unwinder_from_target, call also target_get_unwinder)
5262 (target_get_tailcall_unwinder, and frame_unwind_try_unwinder for it.
5263 * target.c (target_get_unwinder, target_get_tailcall_unwinder): New.
5264 * target.h (struct target_ops): New fields to_get_unwinder and
5265 to_get_tailcall_unwinder.
5266 (target_get_unwinder, target_get_tailcall_unwinder): New declarations.
5268 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5270 * record-btrace.c (record_btrace_fetch_registers)
5271 (record_btrace_store_registers)
5272 (record_btrace_to_prepare_to_store): New.
5273 (init_record_btrace_ops): Add the above.
5275 2014-01-16 Tom Tromey <tromey@redhat.com>
5277 * windows-nat.c (windows_prepare_to_store): Add 'self' argument.
5278 * target.h (struct target_ops) <to_prepare_to_store>: Add
5280 (target_prepare_to_store): Add argument.
5281 * target.c (debug_to_prepare_to_store): Add argument.
5282 (update_current_target): Update.
5283 * remote.c (remote_prepare_to_store): Add 'self' argument.
5284 * remote-sim.c (gdbsim_prepare_to_store): Add 'self' argument.
5285 * remote-mips.c (mips_prepare_to_store): Add 'self' argument.
5286 * remote-m32r-sdi.c (m32r_prepare_to_store): Add 'self' argument.
5287 * record-full.c (record_full_core_prepare_to_store): Add 'self'
5289 * ravenscar-thread.c (ravenscar_prepare_to_store): Add argument.
5290 * nto-procfs.c (procfs_prepare_to_store): Add 'self' argument.
5291 * monitor.c (monitor_prepare_to_store): Add 'self' argument.
5292 * inf-child.c (inf_child_prepare_to_store): Add 'self' argument.
5293 * go32-nat.c (go32_prepare_to_store): Add 'self' argument.
5295 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5297 * btrace.h (replay) <replay>: New.
5298 (btrace_is_replaying): New.
5299 * btrace.c (btrace_clear): Free replay iterator.
5300 (btrace_is_replaying): New.
5301 * record-btrace.c (record_btrace_is_replaying): New.
5302 (record_btrace_info): Print insn number if replaying.
5303 (record_btrace_insn_history): Start at replay position.
5304 (record_btrace_call_history): Start at replay position.
5305 (init_record_btrace_ops): Init to_record_is_replaying.
5307 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5309 * record-btrace.c (record_btrace_insn_history_range): Include
5311 (record_btrace_insn_history_from): Adjust range.
5312 (record_btrace_call_history_range): Include
5314 (record_btrace_call_history_from): Adjust range.
5315 * NEWS: Announce changes.
5317 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5319 * record.h (enum record_print_flag)
5320 <record_print_indent_calls>: New.
5321 * record.c (get_call_history_modifiers): Recognize /c modifier.
5322 (_initialize_record): Document /c modifier.
5323 * record-btrace.c (btrace_call_history): Add btinfo parameter.
5324 Reorder fields. Optionally indent the function name. Update
5326 * NEWS: Announce changes.
5328 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5330 * common/linux-btrace.c (linux_enable_btrace): Enlarge buffer.
5332 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5334 * btrace.c (ftrace_new_function): Start counting at one.
5335 * record-btrace.c (record_btrace_info): Adjust number of calls
5337 * NEWS: Announce it.
5339 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5341 * record-btrace.c (btrace_call_history_insn_range): Print
5342 insn range as [begin, end].
5344 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5346 * btrace.h (struct btrace_func_link): New.
5347 (enum btrace_function_flag): New.
5348 (struct btrace_inst): Rename to ...
5349 (struct btrace_insn): ...this. Update all users.
5350 (struct btrace_func) <ibegin, iend>: Remove.
5351 (struct btrace_func_link): New.
5352 (struct btrace_func): Rename to ...
5353 (struct btrace_function): ...this. Update all users.
5354 (struct btrace_function) <segment, flow, up, insn, insn_offset)
5355 (number, level, flags>: New.
5356 (struct btrace_insn_iterator): Rename to ...
5357 (struct btrace_insn_history): ...this.
5359 (struct btrace_insn_iterator, btrace_call_iterator): New.
5360 (struct btrace_target_info) <btrace, itrace, ftrace>: Remove.
5361 (struct btrace_target_info) <begin, end, level>
5362 <insn_history, call_history>: New.
5363 (btrace_insn_get, btrace_insn_number, btrace_insn_begin)
5364 (btrace_insn_end, btrace_insn_prev, btrace_insn_next)
5365 (btrace_insn_cmp, btrace_find_insn_by_number, btrace_call_get)
5366 (btrace_call_number, btrace_call_begin, btrace_call_end)
5367 (btrace_call_prev, btrace_call_next, btrace_call_cmp)
5368 (btrace_find_function_by_number, btrace_set_insn_history)
5369 (btrace_set_call_history): New.
5370 * btrace.c (btrace_init_insn_iterator)
5371 (btrace_init_func_iterator, compute_itrace): Remove.
5372 (ftrace_print_function_name, ftrace_print_filename)
5373 (ftrace_skip_file): Change
5375 (ftrace_init_func): Remove.
5376 (ftrace_debug): Use new btrace_function fields.
5377 (ftrace_function_switched): Also consider gaining and
5378 losing symbol information).
5379 (ftrace_print_insn_addr, ftrace_new_call, ftrace_new_return)
5380 (ftrace_new_switch, ftrace_find_caller, ftrace_new_function)
5381 (ftrace_update_caller, ftrace_fixup_caller, ftrace_new_tailcall):
5383 (ftrace_new_function): Move. Remove debug print.
5384 (ftrace_update_lines, ftrace_update_insns): New.
5385 (ftrace_update_function): Check for call, ret, and jump.
5386 (compute_ftrace): Renamed to ...
5387 (btrace_compute_ftrace): ...this. Rewritten to compute call
5389 (btrace_fetch, btrace_clear): Updated.
5390 (btrace_insn_get, btrace_insn_number, btrace_insn_begin)
5391 (btrace_insn_end, btrace_insn_prev, btrace_insn_next)
5392 (btrace_insn_cmp, btrace_find_insn_by_number, btrace_call_get)
5393 (btrace_call_number, btrace_call_begin, btrace_call_end)
5394 (btrace_call_prev, btrace_call_next, btrace_call_cmp)
5395 (btrace_find_function_by_number, btrace_set_insn_history)
5396 (btrace_set_call_history): New.
5397 * record-btrace.c (require_btrace): Use new btrace thread
5399 (record_btrace_info, btrace_insn_history)
5400 (record_btrace_insn_history, record_btrace_insn_history_range):
5401 Use new btrace thread info fields and new iterator.
5402 (btrace_func_history_src_line): Rename to ...
5403 (btrace_call_history_src_line): ...this. Use new btrace
5405 (btrace_func_history): Rename to ...
5406 (btrace_call_history): ...this. Use new btrace thread info
5407 fields and new iterator.
5408 (record_btrace_call_history, record_btrace_call_history_range):
5409 Use new btrace thread info fields and new iterator.
5411 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5413 * frame.h (frame_id_build_unavailable_stack_special): New.
5414 * frame.c (frame_id_build_unavailable_stack_special): New.
5416 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5418 * amd64-tdep.c (amd64_classify_insn_at, amd64_insn_is_call)
5419 (amd64_insn_is_ret, amd64_insn_is_jump, amd64_jmp_p): New.
5420 (amd64_init_abi): Add insn_is_call, insn_is_ret, and insn_is_jump
5422 * i386-tdep.c (i386_insn_is_call, i386_insn_is_ret)
5423 (i386_insn_is_jump, i386_jmp_p): New.
5424 (i386_gdbarch_init): Add insn_is_call, insn_is_ret, and
5425 insn_is_jump to gdbarch.
5426 * gdbarch.sh (insn_is_call, insn_is_ret, insn_is_jump): New.
5427 * gdbarch.h: Regenerated.
5428 * gdbarch.c: Regenerated.
5429 * arch-utils.h (default_insn_is_call, default_insn_is_ret)
5430 (default_insn_is_jump): New.
5431 * arch-utils.c (default_insn_is_call, default_insn_is_ret)
5432 (default_insn_is_jump): New.
5434 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5436 * common/btrace-common.h (btrace_read_type) <btrace_read_all>:
5438 (btrace_read_type) <BTRACE_READ_ALL>: ... this. Update users.
5439 (btrace_read_type) <btrace_read_new>: Change to ...
5440 (btrace_read_type) <BTRACE_READ_NEW>: ... this. Update users.
5442 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5444 * common/linux-btrace.c (linux_read_btrace): Free trace from
5447 2014-01-15 Doug Evans <dje@google.com>
5449 * dwarf2read.c (open_and_init_dwp_file): Use pulongest to print
5452 2014-01-15 Tom Tromey <tromey@redhat.com>
5454 * dbxread.c (process_one_symbol): Use set_objfile_main_name.
5455 * dwarf2read.c (read_partial_die): Use set_objfile_main_name.
5456 * objfiles.c (get_objfile_bfd_data): Initialize language_of_main.
5457 (set_objfile_main_name): New function.
5458 * objfiles.h (struct objfile_per_bfd_storage) <name_of_main,
5459 language_of_main>: New fields.
5460 (set_objfile_main_name): Declare.
5461 * symtab.c (find_main_name): Loop over objfiles to find the main
5463 (set_main_name): Now static.
5464 (get_main_info): Add comment.
5465 * symtab.h (set_main_name): Don't declare.
5467 2014-01-15 Tom Tromey <tromey@redhat.com>
5469 * symtab.c (main_progspace_key): New global.
5470 (struct main_info): New.
5471 (name_of_main, language_of_main): Remove.
5472 (get_main_info, main_info_cleanup): New function.
5473 (set_main_name, main_name, main_language): Use get_main_info.
5474 (_initialize_symtab): Initialize main_progspace_key.
5476 2014-01-15 Tom Tromey <tromey@redhat.com>
5478 * dbxread.c (process_one_symbol): Update.
5479 * dwarf2read.c (read_partial_die): Update.
5480 * symfile.c (set_initial_language): Call main_language.
5481 * symtab.c (language_of_main): Now static.
5482 (set_main_name): Add 'lang' parameter.
5483 (find_main_name): Update.
5484 (main_language): New function.
5485 (symtab_observer_executable_changed): Update.
5486 * symtab.h (set_main_name): Update.
5487 (language_of_main): Remove.
5488 (main_language): Declare.
5490 2014-01-15 Tom Tromey <tromey@redhat.com>
5492 * symfile.c (init_entry_point_info): Use new "initialized" field.
5494 * objfiles.h (struct entry_point) <initialized>: New field.
5495 (struct objfile_per_bfd_storage) <ei>: New field, moved from...
5496 (struct objfile) <ei>: ...here. Remove.
5497 * objfiles.c (entry_point_address_query): Update.
5499 2014-01-15 Tom Tromey <tromey@redhat.com>
5501 * objfiles.c (entry_point_address_query): Relocate entry point
5503 (objfile_relocate1): Do not relocate entry point address.
5504 * objfiles.h (struct entry_info) <entry_point>: Update comment.
5505 <the_bfd_section_index>: New field.
5506 * symfile.c (init_entry_point_info): Find the entry point's
5509 2014-01-15 Tom Tromey <tromey@redhat.com>
5511 * solib-frv.c (enable_break): Use entry_point_address_query.
5513 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
5515 * NEWS: Add note on improved process record-replay on
5516 arm*-linux* targets.
5518 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
5520 * arm-tdep.c (enum arm_record_result): New enum.
5521 (arm_record_unsupported_insn): New function.
5522 (arm_record_coproc_data_proc): Removed.
5523 (thumb2_record_ld_st_multiple): New function.
5524 (thumb2_record_ld_st_dual_ex_tbb): New function.
5525 (thumb2_record_data_proc_sreg_mimm): New function.
5526 (thumb2_record_ps_dest_generic): New function.
5527 (thumb2_record_branch_misc_cntrl): New function.
5528 (thumb2_record_str_single_data): New function.
5529 (thumb2_record_ld_mem_hints): New function.
5530 (thumb2_record_ld_word): New function.
5531 (thumb2_record_lmul_lmla_div): New function.
5532 (thumb2_record_decode_insn_handler): New function.
5533 (decode_insn): Add thumb32 instruction handlers.
5535 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
5537 * arm-linux-tdep.c: Include "record-full.h" and "linux-record.h".
5538 (struct arm_linux_record_tdep): Declare.
5539 (arm_canonicalize_syscall): New function.
5540 (arm_all_but_pc_registers_record): New function.
5541 (arm_linux_syscall_record): New function.
5542 (arm_linux_init_abi): Add syscall recording constructs.
5543 * arm-tdep.c (thumb_record_ldm_stm_swi): Update thumb syscall
5544 decoding. (arm_record_coproc_data_proc): Update arm syscall
5546 * arm-tdep.h (struct gdbarch_tdep) <arm_swi_record>: Remove.
5547 <arm_syscall_record>: New field.
5548 * configure.tgt (arm*-*-linux*): Add linux-record.o to
5551 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
5553 * arm-tdep.c (thumb_record_misc): Update to use sp as base
5554 register for push instruction recording.
5556 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
5558 * arm-tdep.c (thumb_record_misc): Update to correct logical
5559 error while recording ldm, ldmia and pop instructions.
5561 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
5563 * arm-tdep.c (struct arm_mem_r) <addr>: Change type to uint32_t.
5565 2014-01-15 Pedro Alves <palves@redhat.com>
5567 * go32-nat.c (go32_open, go32_close, go32_attach, go32_detach)
5568 (go32_resume, go32_fetch_registers, store_register)
5569 (go32_store_registers, go32_prepare_to_store)
5570 (go32_xfer_memory, go32_files_info, go32_kill_inferior)
5571 (go32_create_inferior, go32_can_run, go32_terminal_init)
5572 (go32_terminal_inferior, go32_terminal_ours): Delete forward
5575 2014-01-15 Tom Tromey <tromey@redhat.com>
5577 * target.h (async_callback_ftype): New typedef.
5578 (struct target_ops) <to_async>: Use it.
5580 2014-01-15 Joel Brobecker <brobecker@adacore.com>
5582 * python/py-value.c (get_field_type): Remove unnecessary curly
5583 braces for single-statement if block.
5585 2014-01-15 Joel Brobecker <brobecker@adacore.com>
5587 * python/py-type.c (convert_field): Add missing empty line
5590 2014-01-14 Doug Evans <dje@google.com>
5592 * symfile.h (expand_symtabs_matching): Renamed from
5593 expand_partial_symbol_names. Update prototype.
5594 (map_symbol_filenames): Renamed from map_partial_symbol_filenames.
5595 * symfile.c (expand_symtabs_matching): Renamed from
5596 expand_partial_symbol_names. New args file_matcher, kind.
5597 Rename arg fun to symbol_matcher.
5598 (map_symbol_filenames): Renamed from map_partial_symbol_filenames.
5599 * ada-lang.c (ada_complete_symbol_matcher): Renamed from
5600 ada_expand_partial_symbol_name.
5601 (ada_make_symbol_completion_list): Update to call
5602 expand_symtabs_matching.
5603 (ada_add_global_exceptions): Call expand_symtabs_matching.
5604 * mi/mi-cmd-file.c (mi_cmd_file_list_exec_source_files): Update to
5605 call map_symbol_filenames.
5606 * symtab.c (sources_info): Update to call map_symbol_filenames.
5607 (search_symbols): Call expand_symtabs_matching.
5608 (symbol_completion_matcher): Renamed from expand_partial_symbol_name.
5609 (default_make_symbol_completion_list_break_on): Update to call
5610 expand_symtabs_matching.
5611 (make_source_files_completion_list): Update to call
5612 map_symbol_filenames.
5614 2014-01-14 Doug Evans <dje@google.com>
5616 * symfile.h (expand_symtabs_file_matcher_ftype): New typedef.
5617 (expand_symtabs_symbol_matcher_ftype): New typedef.
5618 (quick_symbol_functions.expand_symtabs_matching): Update to use.
5619 expand_symtabs_file_matcher_ftype, expand_symtabs_symbol_matcher_ftype.
5620 * symfile.c (expand_partial_symbol_names): Update to use
5621 expand_symtabs_symbol_matcher_ftype.
5622 * dwarf2read.c (dw2_expand_symtabs_matching): Update to use
5623 expand_symtabs_file_matcher_ftype, expand_symtabs_symbol_matcher_ftype.
5624 Arg name_matcher renamed to symbol_matcher.
5625 * psymtab.c (recursively_search_psymtabs): Update to use
5626 expand_symtabs_symbol_matcher_ftype. Arg name_matcher renamed to
5628 (expand_symtabs_matching_via_partial): Update to use
5629 expand_symtabs_file_matcher_ftype, expand_symtabs_symbol_matcher_ftype.
5630 Arg name_matcher renamed to symbol_matcher.
5632 2014-01-14 Doug Evans <dje@google.com>
5634 * psymtab.c (expand_partial_symbol_names): Delete, moved to symfile.c.
5635 (map_partial_symbol_filenames): Ditto.
5636 * psymtab.h (expand_partial_symbol_names): Delete, moved to symfile.h.
5637 (map_partial_symbol_filenames): Ditto.
5638 * symfile.c (expand_partial_symbol_names): Moved here from psymtab.c.
5639 (map_partial_symbol_filenames): Ditto.
5640 * symfile.h (expand_partial_symbol_names): Moved here from psymtab.h.
5641 (map_partial_symbol_filenames): Ditto.
5642 * symtab.c: Delete #include "psymtab.h".
5644 2014-01-14 Pedro Alves <palves@redhat.com>
5645 Tom Tromey <tromey@redhat.com>
5647 * infrun.c (use_displaced_stepping): Use find_record_target
5648 instead of RECORD_IS_USED.
5649 (adjust_pc_after_break): Use record_full_is_used instead of
5651 * record-btrace.c (record_btrace_open): Call record_preopen
5652 instead of checking RECORD_IS_USED.
5653 * record-full.c (record_full_shortname)
5654 (record_full_core_shortname): New globals.
5655 (record_full_is_used): New function.
5656 (find_full_open): Call record_preopen instead of checking
5658 (init_record_full_ops): Set the target's shortname to
5659 record_full_shortname.
5660 (init_record_full_core_ops): Set the target's shortname to
5661 record_full_core_shortname.
5662 * record-full.h (record_full_is_used): Declare.
5663 * record.c (find_record_target): Make extern.
5664 (record_preopen): New function.
5665 * record.h (RECORD_IS_USED): Delete macro.
5666 (find_record_target, record_preopen): Declare functions.
5668 2014-01-14 Yao Qi <yao@codesourcery.com>
5670 * gdbarch.sh (core_xfer_shared_libraries): Change its argument
5671 'len''s type to ULONGEST.
5672 (core_xfer_shared_libraries_aix): Likewise.
5673 * gdbarch.c, gdbarch.h: Regenerated.
5674 * i386-cygwin-tdep.c (windows_core_xfer_shared_libraries):
5675 Change type of 'len' to ULONGEST.
5676 * rs6000-aix-tdep.c (rs6000_aix_ld_info_to_xml): Likewise.
5677 (rs6000_aix_core_xfer_shared_libraries_aix): Likewise.
5679 2014-01-14 Yao Qi <yao@codesourcery.com>
5681 * common/linux-osdata.c (linux_xfer_osdata_processes): Change
5682 type of 'len' to ULONGEST.
5683 (linux_xfer_osdata_processgroups): Likewise.
5684 (linux_xfer_osdata_threads): Likewise.
5685 (linux_xfer_osdata_fds): Likewise.
5686 (linux_xfer_osdata_isockets): Likewise.
5687 (linux_xfer_osdata_shm): Likewise.
5688 (linux_xfer_osdata_sem): Likewise.
5689 (linux_xfer_osdata_msg): Likewise.
5690 (linux_common_xfer_osdata): Likewise.
5691 (struct osdata_type) <getter>: Likewise.
5692 * common/linux-osdata.h (linux_common_xfer_osdata): Update
5695 2014-01-14 Yao Qi <yao@codesourcery.com>
5697 * target.h (target_xfer_partial_ftype): Update.
5698 (struct target_ops) <to_xfer_partial>: Change 'len' type to
5700 * aix-thread.c (aix_thread_xfer_partial): Change type of
5701 argument 'len' to ULONGEST.
5702 * auxv.c (procfs_xfer_auxv): Likewise.
5703 (ld_so_xfer_auxv): Likewise.
5704 (memory_xfer_auxv): Likewise.
5705 * bfd-target.c (target_bfd_xfer_partial): Likewise.
5706 * bsd-kvm.c (bsd_kvm_xfer_partial): Likewise.
5707 * bsd-uthread.c (bsd_uthread_xfer_partial): Likewise.
5708 * corelow.c (core_xfer_partial): Likewise.
5709 * ctf.c (ctf_xfer_partial): Likewise.
5710 * darwin-nat.c (darwin_read_write_inferior): Likewise. Use
5712 (darwin_read_dyld_info): Likewise.
5713 (darwin_xfer_partial): Likewise.
5714 * exec.c (section_table_xfer_memory_partial): Likewise.
5715 (exec_xfer_partial): Likewise.
5716 * exec.h (section_table_xfer_memory_partial): Update
5718 * gnu-nat.c (gnu_xfer_memory): Likewise. Call pulongest
5719 instead of plongest.
5720 (gnu_xfer_partial): Likewise.
5721 * ia64-hpux-nat.c (ia64_hpux_xfer_memory): Likewise.
5722 (ia64_hpux_xfer_solib_got): Likewise.
5723 (ia64_hpux_xfer_partial): Likewise.
5724 * ia64-linux-nat.c (ia64_linux_xfer_partial):
5725 * inf-ptrace.c (inf_ptrace_xfer_partial):
5726 * inf-ttrace.c (inf_ttrace_xfer_partial):
5727 * linux-nat.c (linux_xfer_siginfo): Likewise.
5728 (linux_nat_xfer_partial): Likewise.
5729 (spu_enumerate_spu_ids, linux_proc_xfer_spu): Likewise.
5730 (linux_nat_xfer_osdata, linux_xfer_partial): Likewise.
5731 * monitor.c (monitor_xfer_memory): Likewise.
5732 (monitor_xfer_partial): Likewise.
5733 * procfs.c (procfs_xfer_partial): Likewise.
5734 * record-full.c (record_full_xfer_partial): Likewise.
5735 (record_full_core_xfer_partial): Likewise.
5736 * remote-sim.c (gdbsim_xfer_memory): Likewise. Call pulongest
5737 instead of plongest.
5738 (gdbsim_xfer_partial): Likewise.
5739 * remote.c (remote_xfer_partial): Likewise.
5740 * rs6000-aix-tdep.c (rs6000_aix_ld_info_to_xml): Likewise.
5741 * rs6000-aix-tdep.h (rs6000_aix_ld_info_to_xml): Update
5743 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
5744 (rs6000_xfer_shared_libraries): Likewise.
5745 * sol-thread.c (sol_thread_xfer_partial): Likewise.
5746 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
5747 (sparc_xfer_partial): Likewise.
5748 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise.
5749 (spu_xfer_partial): Likewise.
5750 * spu-multiarch.c (spu_xfer_partial): Likewise.
5751 * target.c (target_read_live_memory): Likewise.
5752 (memory_xfer_live_readonly_partial): Likewise.
5753 (memory_xfer_partial, memory_xfer_partial_1): Likewise.
5754 (target_xfer_partial, default_xfer_partial): Likewise.
5755 (current_xfer_partial): Likewise.
5756 * tracepoint.c (tfile_xfer_partial): Likewise.
5757 * windows-nat.c (windows_xfer_memory): Likewise. Call
5758 pulongest instead of plongest.
5759 (windows_xfer_partial): Likewise.
5760 (windows_xfer_shared_libraries): Likewise.
5762 2014-01-14 Yao Qi <yao@codesourcery.com>
5764 * rs6000-nat.c (rs6000_xfer_shared_libraries): Use
5765 target_xfer_partial_ftype.
5767 2014-01-13 Siva Chandra Reddy <sivachandra@google.com>
5771 * valops.c (value_struct_elt_bitpos): New function
5772 * py-type.c (convert_field): Set 'name' attribute of a gdb.Field
5773 object to 'None' if the field name is an empty string ("").
5774 * python/py-value.c (valpy_getitem): Use 'bitpos' and 'type'
5775 attribute to look for a field when 'name' is 'None'.
5776 (get_field_type): New function
5778 2014-01-13 Doug Evans <dje@google.com>
5781 * dwarf2read.c (dwarf2_get_dwz_file): Call gdb_bfd_record_inclusion.
5782 (try_open_dwop_file): Ditto.
5783 * gdb_bfd.c: #include "vec.h".
5784 (bfdp): New typedef.
5785 (struct gdb_bfd_data): New member included_bfds.
5786 (gdb_bfd_unref): Unref all included bfds.
5787 (gdb_bfd_record_inclusion): New function.
5788 * gdb_bfd.h (gdb_bfd_record_inclusion): Declare.
5790 2014-01-13 Tom Tromey <tromey@redhat.com>
5792 * gdbcore.h (deprecated_core_resize_section_table): Remove.
5794 2014-01-13 Tom Tromey <tromey@redhat.com>
5796 * defs.h (use_windows): Remove.
5797 * gdb.c (main): Update.
5798 * main.c (captured_main, gdb_main): Update.
5799 * main.h (struct captured_main_args) <use_windows>: Remove.
5800 * top.c (use_windows): Remove.
5802 2014-01-13 Tom Tromey <tromey@redhat.com>
5804 * defs.h (deprecated_flush_hook): Remove.
5806 2014-01-13 Jan Kratochvil <jan.kratochvil@redhat.com>
5809 * linux-thread-db.c (try_thread_db_load): Add parameter
5810 check_auto_load_safe. Move here the file_is_auto_load_safe call.
5811 (try_thread_db_load_from_pdir_1): Move it there from here.
5812 (try_thread_db_load_from_sdir): Update caller.
5813 (try_thread_db_load_from_dir): Move it there from here.
5815 2014-01-13 Patrick Palka <patrick@parcs.ath.cx>
5817 * regformats/regdat.sh: Always rewrite the register file.
5819 2014-01-13 Pedro Alves <palves@redhat.com>
5821 * Makefile.in (CHECK_HEADERS): New variable.
5822 (check-headers:): New rule.
5824 2014-01-13 Tom Tromey <tromey@redhat.com>
5826 * cli/cli-setshow.c (do_set_command): Update.
5827 * defs.h (deprecated_set_hook): Remove.
5828 * top.c (deprecated_set_hook): Remove.
5830 2014-01-13 Pedro Alves <palves@redhat.com>
5832 * tracepoint.c (tfile_fetch_registers): Don't infer the PC from
5833 the tracepoint if the PC is a pseudo-register.
5835 2014-01-13 Tom Tromey <tromey@redhat.com>
5837 * defs.h (XCALLOC): Remove.
5838 * bcache.c (bcache_xmalloc): Use XCNEW, not XCALLOC.
5839 (print_bcache_statistics): Use XCNEWVEC, not XCALLOC.
5840 * dwarf2loc.c (allocate_piece_closure): Likewise.
5841 * elfread.c (elf_symfile_segments): Likewise.
5842 (elf_symfile_segments): Likewise.
5843 * gdbtypes.c (copy_type_recursive): Likewise.
5844 * i386-tdep.c (i386_gdbarch_init): Use XCNEW, not XCALLOC.
5845 * jit.c (jit_frame_sniffer): Use XCNEWVEC, not XCALLOC.
5846 * minsyms.c (prim_record_minimal_symbol_full): Use XCNEW, not
5848 * mt-tdep.c (mt_gdbarch_init): Likewise.
5849 * opencl-lang.c (allocate_lval_closure): Use XCNEWVEC, not
5851 * psymtab.c (psymbol_compare): Use XCNEW, not XCALLOC.
5852 * regcache.c (regcache_xmalloc_1): Use XCNEWVEC, not XCALLOC.
5853 * registry.c (registry_alloc_data): Likewise.
5854 * rs6000-tdep.c (rs6000_gdbarch_init): Use XCNEW, not XCALLOC.
5855 * s390-linux-tdep.c (s390_gdbarch_init): Likewise.
5856 * serial.c (serial_fdopen_ops): Likewise.
5857 * solib-aix.c (solib_aix_get_section_offsets): Use XCNEWVEC, not
5859 * spu-tdep.c (spu_gdbarch_init): Use XCNEW, not XCALLOC.
5860 * symfile.c (default_symfile_segments): Use XCNEW and XCNEWVEC,
5863 2014-01-13 Tom Tromey <tromey@redhat.com>
5865 * defs.h (XMALLOC): Remove.
5866 * avr-tdep.c (avr_gdbarch_init): Use XNEW, not XMALLOC.
5867 * bfin-tdep.c (bfin_gdbarch_init): Likewise.
5868 * cli-out.c (struct ui_out *): Likewise.
5869 * cli/cli-dump.c (add_dump_command): Likewise.
5870 (add_dump_command): Likewise.
5871 * complaints.c (get_complaints): Likewise.
5872 (find_complaint): Likewise.
5873 * dwarf2-frame.c (execute_cfa_program): Likewise.
5874 * dwarf2read.c (abbrev_table_read_table): Likewise.
5875 * gdbarch.sh: Likewise.
5876 * gdbarch.c: Rebuild.
5877 * inf-ttrace.c (inf_ttrace_add_page): Likewise.
5878 * interps.c (interp_new): Likewise.
5879 * lm32-tdep.c (lm32_gdbarch_init): Likewise.
5880 * m32r-tdep.c (m32r_gdbarch_init): Likewise.
5881 * mi/mi-console.c (mi_console_file_new): Likewise.
5882 * mi/mi-interp.c (mi_interpreter_init): Likewise.
5883 * mi/mi-out.c (mi_out_new): Likewise.
5884 * mi/mi-parse.c (mi_parse): Likewise.
5885 * microblaze-tdep.c (microblaze_gdbarch_init): Likewise.
5886 * moxie-tdep.c (moxie_gdbarch_init): Likewise.
5887 * observer.c (xalloc_observer_list_node): Likewise.
5888 * regcache.c (regcache_xmalloc_1): Likewise.
5889 * reggroups.c (reggroup_new): Likewise.
5890 (_initialize_reggroup): Likewise.
5891 * registry.c (register_data_with_cleanup): Likewise.
5892 * remote.c (remote_notif_stop_alloc_reply): Likewise.
5893 * ser-base.c (serial_ttystate): Likewise.
5894 * ser-mingw.c (make_pipe_state): Likewise.
5895 * ser-pipe.c (pipe_open): Likewise.
5896 * serial.c (serial_open): Likewise.
5897 * sh64-tdep.c (sh64_gdbarch_init): Likewise.
5898 * tui/tui-data.c (tui_alloc_generic_win_info): Likewise.
5899 (tui_alloc_win_info): Likewise.
5900 (tui_add_content_elements): Likewise.
5901 * tui/tui-file.c (tui_file_new): Likewise.
5902 * tui/tui-out.c (tui_out_new): Likewise.
5903 * ui-file.c (mem_file_new): Likewise.
5904 * ui-out.c (push_level): Likewise.
5905 (make_cleanup_ui_out_end): Likewise.
5906 (append_header_to_list): Likewise.
5907 (ui_out_new): Likewise.
5908 * user-regs.c (user_reg_add_builtin): Likewise.
5910 2014-01-13 Tom Tromey <tromey@redhat.com>
5912 * defs.h (XZALLOC): Remove.
5913 * ada-lang.c (get_ada_inferior_data): Use XCNEW, not XZALLOC.
5914 * ada-tasks.c (get_ada_tasks_pspace_data): Likewise.
5915 (get_ada_tasks_inferior_data): Likewise.
5916 * auto-load.c (get_auto_load_pspace_data): Likewise.
5917 * auxv.c (get_auxv_inferior_data): Likewise.
5918 * bfd-target.c (target_bfd_reopen): Likewise.
5919 * breakpoint.c (get_catch_syscall_inferior_data): Likewise.
5920 (deprecated_insert_raw_breakpoint): Likewise.
5921 * bsd-uthread.c (bsd_uthread_pid_to_str): Likewise.
5922 * corelow.c (core_open): Likewise.
5923 * darwin-nat.c (darwin_check_new_threads): Likewise.
5924 (darwin_attach_pid): Likewise.
5925 * dummy-frame.c (dummy_frame_push): Likewise.
5926 * dwarf2-frame.c (dwarf2_frame_cache): Likewise.
5927 * dwarf2loc.c (allocate_piece_closure): Likewise.
5928 * elfread.c (elf_symfile_segments): Likewise.
5929 * eval.c (ptrmath_type_p): Likewise.
5930 * exceptions.c (EXCEPTIONS_SIGJMP_BUF): Likewise.
5931 * gdbtypes.c (alloc_type_arch): Likewise.
5932 (alloc_type_instance): Likewise.
5933 * hppa-tdep.c (hppa_gdbarch_init): Likewise.
5934 * inf-child.c (inf_child_can_use_agent): Likewise.
5935 * inflow.c (get_inflow_inferior_data): Likewise.
5936 * infrun.c (save_infcall_suspend_state): Likewise.
5937 * jit.c (jit_reader_load): Likewise.
5938 (get_jit_objfile_data): Likewise.
5939 (get_jit_program_space_data): Likewise.
5940 (jit_object_open_impl): Likewise.
5941 (jit_symtab_open_impl): Likewise.
5942 (jit_block_open_impl): Likewise.
5943 (jit_frame_sniffer): Likewise.
5944 * linux-fork.c (add_fork): Likewise.
5945 * maint.c (make_command_stats_cleanup): Likewise.
5946 * objfiles.c (get_objfile_pspace_data): Likewise.
5947 * opencl-lang.c (struct lval_closure): Likewise.
5948 * osdata.c (osdata_start_osdata): Likewise.
5949 * progspace.c (new_address_space): Likewise.
5950 (add_program_space): Likewise.
5951 * remote-sim.c (get_sim_inferior_data): Likewise.
5952 * sh-tdep.c (sh_gdbarch_init): Likewise.
5953 * skip.c (Ignore): Likewise.
5954 (skip_delete_command): Likewise.
5955 * solib-aix.c (get_solib_aix_inferior_data): Likewise.
5956 (library_list_start_library): Likewise.
5957 (solib_aix_current_sos): Likewise.
5958 * solib-darwin.c (get_darwin_info): Likewise.
5959 (darwin_current_sos): Likewise.
5960 * solib-dsbt.c (get_dsbt_info): Likewise.
5961 * solib-ia64-hpux.c (new_so_list): Likewise.
5962 (ia64_hpux_get_solib_linkage_addr): Likewise.
5963 * solib-spu.c (append_ocl_sos): Likewise.
5964 (spu_current_sos): Likewise.
5965 * solib-svr4.c (get_svr4_info): Likewise.
5966 (svr4_keep_data_in_core): Likewise.
5967 (library_list_start_library): Likewise.
5968 (svr4_default_sos): Likewise.
5969 (svr4_read_so_list): Likewise.
5970 * solib-target.c (library_list_start_library): Likewise.
5971 (solib_target_current_sos): Likewise.
5972 * sparc-tdep.c (sparc32_gdbarch_init): Likewise.
5973 * symfile-debug.c (install_symfile_debug_logging): Likewise.
5974 * symfile.c (default_symfile_segments): Likewise.
5975 * target-descriptions.c (tdesc_data_init): Likewise.
5976 (tdesc_create_reg): Likewise.
5977 (struct tdesc_type *): Likewise.
5978 (tdesc_create_vector): Likewise.
5979 (tdesc_set_struct_size): Likewise.
5980 (struct tdesc_type *): Likewise.
5981 (tdesc_free_feature): Likewise.
5982 (tdesc_create_feature): Likewise.
5983 * windows-nat.c (windows_add_thread): Likewise.
5984 (windows_make_so): Likewise.
5985 * xml-support.c (gdb_xml_body_text): Likewise.
5986 (gdb_xml_create_parser_and_cleanup): Likewise.
5987 (xml_process_xincludes): Likewise.
5988 * xml-syscall.c (allocate_syscalls_info): Likewise.
5989 (syscall_create_syscall_desc): Likewise.
5991 2014-01-12 Sergio Durigan Junior <sergiodj@redhat.com>
5993 * i386-tdep.c (i386_stap_parse_special_token_triplet): New
5994 function, with code from i386_stap_parse_special_token.
5995 (i386_stap_parse_special_token_three_arg_disp): Likewise.
5996 (i386_stap_parse_special_token): Move code to the two functions
5999 2014-01-09 Pedro Alves <palves@redhat.com>
6000 Hui Zhu <hui@codesourcery.com>
6003 * breakpoint.c (insert_bp_location): Rename hw_bp_err_string to
6004 bp_err_string. Don't mark the location shlib_disabled if the
6005 error thrown wasn't a generic or memory error. Catch errors
6006 thrown while inserting breakpoints in overlayed code. Output
6007 error message of software breakpoints.
6008 * remote.c (remote_insert_breakpoint): If this breakpoint has
6009 target-side commands but this stub doesn't support Z0 packets,
6010 throw NOT_SUPPORTED_ERROR error.
6011 * exceptions.h (enum errors) <NOT_SUPPORTED_ERROR>: New error.
6012 * target.h (target_insert_breakpoint): Extend comment.
6013 (target_insert_hw_breakpoint): Add comment.
6015 2014-01-08 Pedro Alves <palves@redhat.com>
6017 * remote.c (remote_add_thread): Add threads silently if starting
6019 (remote_notice_new_inferior): If in all-stop, and starting up,
6020 don't call notice_new_inferior.
6021 (get_current_thread): New function, factored out from ...
6022 (add_current_inferior_and_thread): ... this. Adjust.
6023 (remote_start_remote) <all-stop>: Fetch the thread list. If we
6024 found any thread, then select the remote's current thread as GDB's
6027 2014-01-08 Joel Brobecker <brobecker@adacore.com>
6029 * NEWS: Create a new section for the next release branch.
6030 Rename the section of the current branch, now that it has
6033 2014-01-08 Joel Brobecker <brobecker@adacore.com>
6035 GDB 7.7 branch created (79301218fa0f074c5656db0ec8972a5ddcf91fb5):
6036 * version.in: Bump version to 7.7.50.DATE-cvs.
6038 2014-01-08 Yao Qi <yao@codesourcery.com>
6040 * spu-linux-nat.c (spu_symbol_file_add_from_memory): Change
6041 type of 'id' to gdb_byte. Cast 'id' to 'const char *'.
6042 (spu_xfer_partial): Cast 'buf' to 'const char *'.
6044 2014-01-08 Yao Qi <yao@codesourcery.com>
6046 * spu-linux-nat.c (spu_symbol_file_add_from_memory): Pass
6047 return value of bfd_get_filename to symbol_file_add_from_bfd.
6049 2014-01-08 Pierre Muller <muller@sourceware.org>
6052 * coff-pe-read.c (struct read_pe_section_data): Add index field.
6053 (add_pe_exported_sym): Use SECTION_DATA->INDEX for call
6054 to prim_record_mininal_symbol_and_info.
6055 (add_pe_forwarded_sym): Use known section number of forwarded symbol
6056 in call to prim_record_minimal_symbol_and_info.
6057 (read_pe_exported_syms): Set index field of section_data.
6059 2014-01-07 Andrew Pinski <apinski@cavium.com>
6061 * features/aarch64-core.xml (cpsr): Change to be 64bit.
6062 * features/aarch64.c: Regenerate.
6064 2014-01-07 Andreas Schwab <schwab@linux-m68k.org>
6066 * target.c (return_null): Define.
6067 (update_current_target): Use it instead of return_zero for
6068 functions that return a pointer.
6070 2014-01-07 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
6072 * source.c (add_path): Fix check for duplicated paths in the previously
6075 2014-01-07 Honggyu Kim <hong.gyu.kim@lge.com>
6077 * ada-lang.c: Remove duplicated include statements.
6078 * alphabsd-nat.c: Ditto.
6079 * amd64-darwin-tdep.c: Ditto.
6080 * amd64fbsd-nat.c: Ditto.
6081 * auto-load.c: Ditto.
6083 * breakpoint.c: Ditto.
6085 * fork-child.c: Ditto.
6086 * gdb_usleep.c: Ditto.
6087 * i386-darwin-tdep.c: Ditto.
6088 * i386fbsd-nat.c: Ditto.
6090 * inferior.c: Ditto.
6092 * linux-nat.c: Ditto.
6093 * linux-tdep.c: Ditto.
6094 * m68kbsd-nat.c: Ditto.
6095 * m68klinux-nat.c: Ditto.
6096 * microblaze-tdep.c: Ditto.
6097 * mips-linux-tdep.c: Ditto.
6098 * mn10300-tdep.c: Ditto.
6099 * nto-tdep.c: Ditto.
6100 * opencl-lang.c: Ditto.
6102 * printcmd.c: Ditto.
6103 * regcache.c: Ditto.
6104 * remote-m32r-sdi.c: Ditto.
6108 * tilegx-linux-nat.c: Ditto.
6109 * tilegx-tdep.c: Ditto.
6110 * tracepoint.c: Ditto.
6112 * vaxbsd-nat.c: Ditto.
6113 * windows-nat.c: Ditto.
6114 * xtensa-tdep.c: Ditto.
6116 2014-01-07 Yao Qi <yao@codesourcery.com>
6118 * spu-linux-nat.c (_initialize_spu_nat): Declare.
6120 2014-01-07 Yao Qi <yao@codesourcery.com>
6121 Joel Brobecker <brobecker@adacore.com>
6123 * aix-thread.c (pdc_read_regs): Cast parameter to uintptr_t.
6124 (pdc_write_regs): Likewise.
6125 (fetch_regs_kernel_thread): Likewise.
6126 (store_regs_kernel_thread): Likewise.
6128 2014-01-07 Joel Brobecker <brobecker@adacore.com>
6130 * ada-varobj.c (ada_varobj_adjust_for_child_access): Convert
6131 tagged type objects to their actual type.
6133 2014-01-07 Joel Brobecker <brobecker@adacore.com>
6135 * ada-valprint.c (print_field_values): Add "language" parameter.
6136 Update calls to print_field_values and print_variant_part.
6137 Pass new parameter "language" in call to val_print instead
6138 of "current_language". Replace call to ada_val_print by call
6140 (print_variant_part): Add "language" parameter.
6141 (ada_val_print_struct_union): Update call to print_field_values.
6143 2014-01-07 Joel Brobecker <brobecker@adacore.com>
6145 * ada-valprint.c (ui_memcpy): Delete.
6146 (ada_print_floating): Update documentation. Add empty line
6147 between between function documentation and implementation.
6148 Delete variable "buffer". Use ui_file_xstrdup in place of
6149 ui_file_put. Minor adjustments following this change.
6151 2014-01-07 Joel Brobecker <brobecker@adacore.com>
6153 * ada-valprint.c (ada_val_print_string): New function,
6154 extracted from ada_val_print_array.
6155 (ada_val_print_array): Replace extracted code by call
6156 to ada_val_print_string followed by a return. Move
6157 "else" branch to the function's top block.
6159 2014-01-07 Joel Brobecker <brobecker@adacore.com>
6161 * ada-valprint.c (ada_val_print_array): Move implementation
6162 down. Rename parameter "offset" and "val" into "offset_aligned"
6163 and "original_value" respectively. Add parameter "offset".
6165 2014-01-07 Joel Brobecker <brobecker@adacore.com>
6167 * ada-valprint.c (ada_val_print_ref): Rewrite by mostly
6168 re-organizing the code. Change the "???" message printed
6169 when target type is a TYPE_CODE_UNDEF into
6170 "<ref to undefined type>".
6172 2014-01-07 Joel Brobecker <brobecker@adacore.com>
6174 * ada-valprint.c (print_record): Delete, implementation inlined...
6175 (ada_val_print_struct_union): ... here. Remove call to
6176 ada_check_typedef in inlined implementation.
6178 2014-01-07 Joel Brobecker <brobecker@adacore.com>
6180 * ada-valprint.c (ada_val_print_gnat_array): New function,
6181 extracted from ada_val_print_1;
6182 (ada_val_print_ptr, ada_val_print_num, ada_val_print_enum)
6183 (ada_val_print_flt, ada_val_print_struct_union)
6184 (ada_val_print_ref): Likewise.
6185 (ada_val_print_1): Delete variables i and elttype.
6186 Replace extracted-out code by call to corresponding
6189 2014-01-07 Joel Brobecker <brobecker@adacore.com>
6191 * ada-valprint.c (ada_val_print_1): Remove call to gdb_flush.
6193 2014-01-07 Joel Brobecker <brobecker@adacore.com>
6195 * ada-valprint.c (ada_val_print_1): Replace calls to
6196 ada_val_print_1 by calls to val_print.
6198 2014-01-07 Joel Brobecker <brobecker@adacore.com>
6200 * ada-valprint.c (ada_val_print_1): Add parameter "language".
6201 Update calls to self accordingly. Replace calls to c_val_print
6202 by calls to val_print.
6204 2014-01-07 Joel Brobecker <brobecker@adacore.com>
6206 * ada-valprint.c (print_record): Delete declaration.
6207 (adjust_type_signedness, ada_val_print_1): Likewise.
6208 (ada_val_print): Move function implementation down.
6209 (print_variant_part, print_field_values, print_record):
6210 Move function implementation up.
6212 2014-01-07 Joel Brobecker <brobecker@adacore.com>
6214 * python/py-type.c (typy_get_name): New function.
6215 (type_object_getset): Add entry for attribute "name".
6216 * NEWS: Add entry mentioning this new attribute.
6218 2014-01-07 Yao Qi <yao@codesourcery.com>
6220 * gnu-nat.c (set_exceptions_cmd): Remove an empty body 'if'
6223 2014-01-07 Yao Qi <yao@codesourcery.com>
6225 * gnu-nat.c (info_port_rights): Add qualifier const to
6228 2014-01-07 Yao Qi <yao@codesourcery.com>
6230 * gnu-nat.c (trace_me): Use 'void' for empty argument list.
6232 2014-01-07 Yao Qi <yao@codesourcery.com>
6234 * gnu-nat.c (make_inf) Update declaration.
6235 (make_inf): Make it static.
6236 (inf_set_traced): Likewise.
6237 (inf_port_to_thread, inf_task_died_status): Likewise.
6239 2014-01-07 Yao Qi <yao@codesourcery.com>
6241 * gnu-nat.c (inf_tid_to_proc): Remove declaration.
6243 2014-01-07 Yao Qi <yao@codesourcery.com>
6245 * gnu-nat.c (_initialize_gnu_nat): Declare.
6247 2014-01-07 Yao Qi <yao@codesourcery.com>
6249 * gdbarch.sh (byte_order, byte_order_for_code): Change type to
6251 (struct gdbarch_info) <byte_order>: Change type to
6253 <byte_order_for_code>: Likewise.
6254 * gdbarch.c, gdbarch.h: Regenerated.
6256 2014-01-06 Sasha Smundak <asmundak@google.com>
6258 * jit.c: (jit_reader_load_command): Fix JIT reader path creation.
6260 2014-01-06 Tom Tromey <tromey@redhat.com>
6262 * doublest.c (convert_doublest_to_floatformat): Use const, not
6264 * somread.c (som_symtab_read): Likewise.
6266 2014-01-07 Hui Zhu <hui@codesourcery.com>
6268 * gdb_bfd.c (gdb_bfd_stash_filename): Removed.
6269 (gdb_bfd_open): Removed gdb_bfd_stash_filename.
6270 (gdb_bfd_fopen): Ditto.
6271 (gdb_bfd_openr): Ditto.
6272 (gdb_bfd_openw): Ditto.
6273 (gdb_bfd_openr_iovec): Ditto.
6274 (gdb_bfd_fdopenr): Ditto.
6275 * gdb_bfd.h (gdb_bfd_stash_filename): Removed.
6276 * solib-aix.c (solib_aix_bfd_open): Alloc object_bfd->filename
6278 * solib-darwin.c (darwin_bfd_open): Alloc res->filename
6280 * symfile-mem.c (symbol_file_add_from_memory): Removed
6281 gdb_bfd_stash_filename.
6283 2014-01-03 Doug Evans <dje@google.com>
6285 * nat/linux-waitpid.c (linux_debug): Remove extraneous \n from
6288 2014-01-01 Joel Brobecker <brobecker@adacore.com>
6290 Update year range in copyright notice of all files.
6292 2014-01-01 Joel Brobecker <brobecker@adacore.com>
6294 * top.c (print_gdb_version): Set copyright year to 2014.
6296 2014-01-01 Joel Brobecker <brobecker@adacore.com>
6298 * config/djgpp/fnchange.lst: Add entry for gdb/ChangeLog-2013.
6300 For older changes see ChangeLog-2013.
6306 version-control: never