1 2014-03-20 Tom Tromey <tromey@redhat.com>
2 Sergio Durigan Junior <sergiodj@redhat.com>
4 * probe.c (parse_probes): Turn assert into an ordinary error.
5 * break-catch-throw.c (re_set_exception_catchpoint): Ignore
6 exceptions when parsing probes. Rearrange the code for clarity.
8 2014-03-20 Tom Tromey <tromey@redhat.com>
11 * top.c (execute_command): Only dispatch events if the command
14 2014-03-20 Tom Tromey <tromey@redhat.com>
17 * infcall.c: Include event-top.h.
18 (run_inferior_call): Call async_disable_stdin if needed.
20 2014-03-20 Pedro Alves <palves@redhat.com>
22 * infrun.c (prepare_to_proceed): Delete.
23 (thread_still_needs_step_over): New function.
24 (find_thread_needs_step_over): New function.
25 (proceed): If the current thread needs a step-over, set its
26 steping_over_breakpoint flag. Adjust to use
27 find_thread_needs_step_over instead of prepare_to_proceed.
28 (process_event_stop_test): For BPSTAT_WHAT_STOP_NOISY and
29 BPSTAT_WHAT_STOP_SILENT, assume the thread stopped for a
31 (switch_back_to_stepped_thread): Step over breakpoints of all
32 threads not the stepping thread, before switching back to the
35 2014-03-20 Pedro Alves <palves@redhat.com>
37 * breakpoint.c (single_step_breakpoint_inserted_here_p): Make
39 * breakpoint.h (single_step_breakpoint_inserted_here_p): Declare.
40 * infrun.c (saved_singlestep_ptid)
41 (stepping_past_singlestep_breakpoint): Delete.
42 (resume): Remove stepping_past_singlestep_breakpoint handling.
43 (proceed): Store the prev_pc of the stepping thread too.
44 (init_wait_for_inferior): Adjust. Clear singlestep_ptid and
46 (enum infwait_states): Delete infwait_thread_hop_state.
47 (struct execution_control_state) <hit_singlestep_breakpoint>: New
49 (handle_inferior_event): Adjust.
50 (handle_signal_stop): Delete stepping_past_singlestep_breakpoint
51 handling and the thread-hop code. Before removing single-step
52 breakpoints, check whether the thread hit a single-step breakpoint
53 of another thread. If it did, the trap is not a random signal.
54 (switch_back_to_stepped_thread): If the event thread hit a
55 single-step breakpoint, unblock it before switching to the
56 stepping thread. Handle the case of the stepped thread having
58 (keep_going): Handle the case of the current thread moving past a
59 single-step breakpoint.
61 2014-03-20 Pedro Alves <palves@redhat.com>
64 * breakpoint.c (should_be_inserted): Don't insert breakpoints that
65 are being stepped over.
66 (breakpoint_address_match): Make extern.
67 * breakpoint.h (breakpoint_address_match): New declaration.
68 * inferior.h (stepping_past_instruction_at): New declaration.
69 * infrun.c (struct step_over_info): New type.
70 (step_over_info): New global.
71 (set_step_over_info, clear_step_over_info)
72 (stepping_past_instruction_at): New functions.
73 (handle_inferior_event): Clear the step-over info when
74 trap_expected is cleared.
75 (resume): Remove now stale comment.
76 (clear_proceed_status): Clear step-over info.
77 (proceed): Adjust step-over handling to set or clear the step-over
78 info instead of removing all breakpoints.
79 (handle_signal_stop): When setting up a thread-hop, don't remove
81 (stop_stepping): Clear step-over info.
82 (keep_going): Adjust step-over handling to set or clear step-over
83 info and then always inserting breakpoints, instead of removing
84 all breakpoints when stepping over one.
86 2014-03-20 Pedro Alves <palves@redhat.com>
88 * infrun.c (previous_inferior_ptid): Adjust comment.
89 (deferred_step_ptid): Delete.
90 (infrun_thread_ptid_changed, prepare_to_proceed)
91 (init_wait_for_inferior): Adjust.
92 (handle_signal_stop): Delete deferred_step_ptid handling.
94 2014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
97 * defs.h (sync_quit_force_run): New declaration.
98 (QUIT): Check also SYNC_QUIT_FORCE_RUN.
99 * event-top.c (async_sigterm_handler): New declaration.
100 (async_sigterm_token): New variable.
101 (async_init_signals): Create also async_sigterm_token.
102 (async_sigterm_handler): New function.
103 (sync_quit_force_run): New variable.
104 (handle_sigterm): Replace quit_force call by other calls.
105 * utils.c (quit): Call quit_force if SYNC_QUIT_FORCE_RUN.
107 2014-03-18 Maciej W. Rozycki <macro@codesourcery.com>
109 * rs6000-tdep.c (rs6000_frame_cache): Correct little-endian GPR
110 offset into SPE pseudo registers.
112 2014-03-18 Pedro Alves <palves@redhat.com>
115 * inferior.h (print_stop_event): Declare.
116 * infrun.c (print_stop_event): New, factored out from ...
117 (normal_stop): ... this.
118 * mi/mi-interp.c (mi_on_normal_stop): Use print_stop_event instead
119 of bpstat_print/print_stack_frame.
121 2014-03-17 Tom Tromey <tromey@redhat.com>
123 * ui-out.c (clear_table, ui_out_new): Clear uiout->table.id.
125 2014-03-17 Pierre-Marie de Rodat <derodat@adacore.com>
127 * ada-lang.c (decode_constrained_packed_array): Perform a
128 minimal coercion for reference with coerce_ref instead of
131 2014-03-17 Tristan Gingold <gingold@adacore.com>
133 * solib-darwin.c (DYLD_VERSION_MAX): Increase value.
134 (darwin_solib_create_inferior_hook): Emit a warning if version
137 2014-03-16 Ulrich Weigand <uweigand@de.ibm.com>
139 * python/py-value.c (get_field_flag): Cast flag_name argument to
140 PyObject_GetAttrString to support Python 2.4.
142 2014-03-14 Jan Kratochvil <jan.kratochvil@redhat.com>
144 * MAINTAINERS (The Official FSF-appointed GDB Maintainers)
145 (Global Maintainers): Remove Jan Kratochvil.
147 2014-03-14 Pedro Alves <palves@redhat.com>
149 * inferior.h (terminal_ours_for_output): Rename to ...
150 (child_terminal_ours_for_output): ... this.
151 (terminal_save_ours): Rename to ...
152 (child_terminal_save_ours): ... this.
153 (terminal_ours): Rename to ...
154 (child_terminal_ours): ... this.
155 (terminal_inferior): Rename to ...
156 (child_terminal_inferior): ... this.
157 (terminal_init_inferior): Rename to ...
158 (child_terminal_init_inferior): ... this.
159 (terminal_init_inferior_with_pgrp): Rename to ...
160 (child_terminal_init_inferior_with_pgrp): ... this.
161 * inflow.c (terminal_init_inferior_with_pgrp): Rename to ...
162 (child_terminal_init_with_pgrp): ... this.
163 (terminal_save_ours): Rename to ...
164 (child_terminal_save_ours): ... this.
165 (terminal_init_inferior): Rename to ...
166 (child_terminal_init): ... this. Adjust.
167 (terminal_inferior): Rename to ...
168 (child_terminal_inferior): ... this.
169 (terminal_ours_for_output): Rename to ...
170 (child_terminal_ours_for_output): ... this. Adjust.
171 (terminal_ours): Rename to ...
172 (child_terminal_ours): ... this.
173 (terminal_ours_1): Rename to ...
174 (child_terminal_ours_1): ... this. Adjust.
175 * linux-nat.c (linux_nat_terminal_inferior): Adjust.
176 * windows-nat.c (do_initial_windows_stuff): Adjust.
177 * gnu-nat.c (gnu_terminal_init_inferior): Rename to ...
178 (gnu_terminal_init): ... this. Adjust.
179 (gnu_target): Adjust.
180 * inf-child.c (inf_child_target): Adjust.
182 2014-03-13 Doug Evans <xdje42@gmail.com>
185 * guile/scm-type.c (tyscm_copy_type_recursive): Move type to its
188 2014-03-13 Doug Evans <xdje42@gmail.com>
190 * value.c (record_latest_value): Call release_value_or_incref
191 instead of release_value.
193 2014-03-13 Pedro Alves <palves@redhat.com>
195 * procfs.c (procfs_target): Don't override to_shortname,
196 to_longname or to_doc.
198 2014-03-13 Pedro Alves <palves@redhat.com>
200 * inf-child.c (inf_child_open, inf_child_target): Don't mention
201 Unix in user visible strings.
203 2014-03-12 Stan Shebs <stan@codesourcery.com>
205 * gdbtypes.h: Annotate comments for Doxygen, add a page
206 block comment with some general info.
208 2014-03-12 Pedro Alves <palves@redhat.com>
210 * infcmd.c (prepare_execution_command): New function, factored out
211 from several execution commands.
212 (run_command_1, continue_command, step_1, jump_command)
213 (signal_command, until_command, advance_command, finish_command)
214 (attach_command): Use prepare_execution_command.
216 2014-03-12 Omair Javaid <omair.javaid@linaro.org>
218 * arm-linux-nat.c (arm_linux_get_hwbp_cap): Updated.
221 (struct arm_linux_thread_points): Removed.
222 (struct arm_linux_process_info): New.
223 (DEF_VEC_P (arm_linux_thread_points_p)): Removed.
224 (VEC(arm_linux_thread_points_p) *arm_threads): Removed.
225 (arm_linux_find_breakpoints_by_tid): Removed.
226 (struct arch_lwp_info): New.
227 (arm_linux_find_process_pid): New functions.
228 (arm_linux_add_process): New functions.
229 (arm_linux_process_info_get): New functions.
230 (arm_linux_forget_process): New function.
231 (arm_linux_get_debug_reg_state): New function.
232 (struct update_registers_data): New.
233 (update_registers_callback): New function.
234 (arm_linux_insert_hw_breakpoint1): Updated.
235 (arm_linux_remove_hw_breakpoint1): Updated.
236 (arm_linux_insert_hw_breakpoint): Updated.
237 (arm_linux_remove_hw_breakpoint): Updated.
238 (arm_linux_insert_watchpoint): Updated.
239 (arm_linux_remove_watchpoint): Updated.
240 (arm_linux_new_thread): Updated.
241 (arm_linux_prepare_to_resume): New function.
242 (arm_linux_new_fork): New function.
243 (_initialize_arm_linux_nat): Updated.
245 2014-03-12 Pedro Alves <palves@redhat.com>
247 * Makefile.in (TARGET_FLAGS_TO_PASS): Add TESTS.
249 2014-03-12 Tom Tromey <tromey@redhat.com>
251 * inf-child.c (return_zero): New function.
252 (inf_child_target): Set to_can_async_p, to_supports_non_stop.
253 * aix-thread.c (aix_thread_inferior_created): New function.
254 (aix_thread_attach): Remove.
255 (init_aix_thread_ops): Don't set to_attach.
256 (_initialize_aix_thread): Register inferior_created observer.
257 * corelow.c (init_core_ops): Don't set to_attach or
259 * exec.c (init_exec_ops): Don't set to_attach or
261 * infcmd.c (run_command_1): Use find_run_target. Make direct
263 (attach_command): Use find_attach_target. Make direct target
265 * record-btrace.c (init_record_btrace_ops): Don't set
267 * record-full.c (record_full_can_async_p, record_full_is_async_p):
269 (init_record_full_ops, init_record_full_core_ops): Update. Don't
270 set to_create_inferior.
271 * target.c (complete_target_initialization): Add assertion.
272 (target_create_inferior): Remove.
273 (find_default_attach, find_default_create_inferior): Remove.
274 (find_attach_target, find_run_target): New functions.
275 (find_default_is_async_p, find_default_can_async_p)
276 (target_supports_non_stop, target_attach): Remove.
277 (init_dummy_target): Don't set to_create_inferior or
278 to_supports_non_stop.
279 * target.h (struct target_ops) <to_attach>: Add comment. Remove
281 <to_create_inferior>: Add comment.
282 <to_can_async_p, to_is_async_p, to_supports_non_stop>: Use
283 TARGET_DEFAULT_RETURN.
284 <to_can_async_p, to_supports_non_stop, to_can_run>: Add comments.
285 (find_attach_target, find_run_target): Declare.
286 (target_create_inferior): Remove.
287 (target_has_execution_1): Update comment.
288 (target_supports_non_stop): Remove.
289 * target-delegates.c: Rebuild.
291 2014-03-12 Pedro Alves <palves@redhat.com>
293 * inf-child.h: Update comment to not mention Unix.
295 2014-03-12 Pedro Alves <palves@redhat.com>
297 * inf-child.c: Update top comment to not mention Unix. Add
298 generic comment describing how this target is meant to be used.
299 (inf_child_post_attach, inf_child_post_startup_inferior)
300 (inf_child_follow_fork, inf_child_pid_to_exec_file): Don't mention
303 2014-03-12 Pedro Alves <palves@redhat.com>
305 * nto-procfs.c: Include inf-child.h.
306 (procfs_ops): Delete global.
307 (procfs_can_run): Delete method.
308 (procfs_detach, procfs_mourn_inferior): Unpush the passed in
309 target pointer instead of referencing procfs_ops.
310 (procfs_prepare_to_store): Delete.
311 (init_procfs_ops): Delete function.
312 (procfs_target): New function, based on init_procfs_ops, but
313 inherit inf_child_target.
314 (_initialize_procfs): Use procfs_target.
316 2014-03-12 Pedro Alves <palves@redhat.com>
318 * windows-nat.c: Include inf-child.h.
319 (windows_ops): Delete global.
320 (windows_open, windows_prepare_to_store, windows_can_run): Delete
322 (init_windows_ops): Delete function.
323 (windows_target): New function, based on init_windows_ops, but
324 inherit inf_child_target.
325 (_initialize_windows_nat): Use windows_target. Install x86
326 specific target methods here.
328 2014-03-10 Doug Evans <xdje42@gmail.com>
330 * guile/guile.c (call_initialize_gdb_module): New function.
331 (initialize_guile): Replace call to scm_init_guile with call to
334 2014-03-10 Joel Brobecker <brobecker@adacore.com>
336 * ada-lang.c (ada_evaluate_subexp): Add missing space before '('
337 in call to TYPE_CODE macro.
339 2014-03-10 Jerome Guitton <guitton@adacore.com>
341 * ada-lang.c (ada_evaluate_subexp) <UNOP_IND, STRUCTOP_STRUCT>:
342 Resolve tagged types to full view.
344 2014-03-10 Hui Zhu <hui@codesourcery.com>
346 * target.h (target_insert_breakpoint): Remove "hardware" from its
349 2014-03-07 Doug Evans <dje@google.com>
351 * dwarf2read.c (read_str_index): Rename local dwo_name to objf_name.
353 2014-03-07 Doug Evans <dje@google.com>
355 * dwarf2read.c (read_cutu_die_from_dwo): Fix function comment.
356 Remove unused local comp_dir_attr. Assert exactly one of
357 stub_comp_unit_die, stub_comp_dir is non-NULL.
359 2014-03-07 Joel Brobecker <brobecker@adacore.com>
361 * target.h (complete_target_initialization, add_target):
364 2014-03-07 Pedro Alves <palves@redhat.com>
366 * go32-nat.c: Include inf-child.h.
367 (go32_ops): Delete global.
368 (go32_close, go32_detach, go32_prepare_to_store, go32_can_run):
370 (go32_create_inferior): Push the passed in target pointer instead
371 of referencing go32_ops.
372 (init_go32_ops): Delete function. Moved parts to _initialize_go32_nat.
373 (go32_target): New function, based on init_go32_ops, but inherit
375 (_initialize_go32_nat): Use go32_target. Move parts of
378 2014-03-06 Joel Brobecker <brobecker@adacore.com>
380 * sol-thread.c: #include "symtab.h", "minsym.h" and "objfiles.h".
381 (ps_pglobal_lookup): Use BMSYMBOL_VALUE_ADDRESS instead of
382 SYMBOL_VALUE_ADDRESS.
383 (info_cb): MSYMBOL_PRINT_NAME instead of SYMBOL_PRINT_NAME.
385 2014-03-06 Yao Qi <yao@codesourcery.com>
387 * breakpoint.c (get_tracepoint_by_number): Remove argument
388 optional_p. All callers updated. Adjust comments. Update
390 * breakpoint.h (get_tracepoint_by_number): Update declaration.
392 2014-03-06 Yao Qi <yao@codesourcery.com>
394 * reverse.c (goto_bookmark_command): Add local 'p'. Emit error
395 early if get_number returns zero. Use 'p' instead of 'args'.
397 2014-03-06 Yao Qi <yao@codesourcery.com>
399 * cli/cli-utils.c (get_number_trailer): Add '\n' at the end of
402 2014-03-06 Yao Qi <yao@codesourcery.com>
405 * tracepoint.c (check_trace_running): New function.
406 (trace_find_command): Move code to check_trace_running and
407 call check_trace_running.
408 (trace_find_pc_command): Likewise.
409 (trace_find_tracepoint_command): Likewise.
410 (trace_find_line_command): Likewise.
411 (trace_find_range_command): Likewise.
412 * tracepoint.h (check_trace_running): Likewise.
413 * mi/mi-main.c (mi_cmd_trace_find): Call check_trace_running.
415 2014-03-06 Yao Qi <yao@codesourcery.com>
417 * target.h (struct target_ops) <to_traceframe_info>: Use
418 TARGET_DEFAULT_NORETURN (tcomplain ()).
419 * target-delegates.c: Regenerated.
421 2014-03-05 Pedro Alves <palves@redhat.com>
424 * dcache.c (dcache_poke_byte): Constify ptr parameter. Return
425 void. Update comment.
426 (dcache_xfer_memory): Delete.
427 (dcache_read_memory_partial): New, based on the read bits of
429 (dcache_update): Add status parameter. Use ULONGEST for len, and
430 adjust. Discard cache lines if the reason for the update was
432 * dcache.h (dcache_xfer_memory): Delete declaration.
433 (dcache_read_memory_partial): New declaration.
434 (dcache_update): Update prototype.
435 * target.c (raw_memory_xfer_partial): Update the dcache here.
436 (memory_xfer_partial_1): Don't handle dcache writes here.
438 2014-03-05 Mike Frysinger <vapier@gentoo.org>
440 * remote-sim.c (gdbsim_load): Add const to prog.
442 2014-03-03 Tom Tromey <tromey@redhat.com>
444 * elfread.c (probe_key): Change to bfd_data.
445 (elf_get_probes, probe_key_free, _initialize_elfread): Probes are
446 now per-BFD, not per-objfile.
447 * stap-probe.c (stap_probe_destroy): Update comment.
448 (handle_stap_probe): Allocate on the per-BFD obstack.
450 2014-03-03 Tom Tromey <tromey@redhat.com>
452 * break-catch-throw.c (fetch_probe_arguments): Use bound probes.
453 * breakpoint.c (create_longjmp_master_breakpoint): Use
455 (add_location_to_breakpoint, bkpt_probe_insert_location)
456 (bkpt_probe_remove_location): Update.
457 * breakpoint.h (struct bp_location) <probe>: Now a bound_probe.
458 * elfread.c (elf_symfile_relocate_probe): Remove.
459 (elf_probe_fns): Update.
460 (insert_exception_resume_breakpoint): Change type of "probe"
461 parameter to bound_probe.
462 (check_exception_resume): Update.
463 * objfiles.c (objfile_relocate1): Don't relocate probes.
464 * probe.c (bound_probe_s): New typedef.
465 (parse_probes): Use get_probe_address. Set sal's objfile.
466 (find_probe_by_pc): Return a bound_probe.
467 (collect_probes): Return a VEC(bound_probe_s).
468 (compare_probes): Update.
469 (gen_ui_out_table_header_info): Change type of "probes"
471 (info_probes_for_ops): Update.
472 (get_probe_address): New function.
473 (probe_safe_evaluate_at_pc): Update.
474 * probe.h (struct probe_ops) <get_probe_address>: New field.
475 <set_semaphore, clear_semaphore>: Add objfile parameter.
476 (struct probe) <objfile>: Remove field.
478 <address>: Update comment.
479 (struct bound_probe): New.
480 (find_probe_by_pc): Return a bound_probe.
481 (get_probe_address): Declare.
482 * solib-svr4.c (struct probe_and_action) <address>: New field.
483 (hash_probe_and_action, equal_probe_and_action): Update.
484 (register_solib_event_probe): Add address parameter.
485 (solib_event_probe_at): Update.
486 (svr4_create_probe_breakpoints): Add objfile parameter. Use
488 * stap-probe.c (struct stap_probe) <sem_addr>: Update comment.
489 (stap_get_probe_address): New function.
490 (stap_can_evaluate_probe_arguments, compute_probe_arg)
491 (compile_probe_arg): Update.
492 (stap_set_semaphore, stap_clear_semaphore): Compute semaphore's
494 (handle_stap_probe): Don't relocate the probe.
495 (stap_relocate): Remove.
496 (stap_gen_info_probes_table_values): Update.
497 (stap_probe_ops): Remove stap_relocate.
498 * symfile-debug.c (debug_sym_relocate_probe): Remove.
499 (debug_sym_probe_fns): Update.
500 * symfile.h (struct sym_probe_fns) <sym_relocate_probe>: Remove.
501 * symtab.c (init_sal): Use memset.
502 * symtab.h (struct symtab_and_line) <objfile>: New field.
503 * tracepoint.c (start_tracing, stop_tracing): Update.
505 2014-03-03 Tom Tromey <tromey@redhat.com>
507 * probe.h (parse_probes, find_probe_by_pc)
508 (find_probes_in_objfile): Fix comments.
510 2014-03-02 Doug Evans <xdje42@gmail.com>
512 * infrun.c (handle_signal_stop): Replace test for
513 TARGET_WAITKIND_STOPPED with an assert.
515 2014-03-02 Doug Evans <xdje42@gmail.com>
517 * guile/scm-objfile.c (ofscm_mark_objfile_smob): Fix typo in comment.
519 2014-03-02 Doug Evans <xdje42@gmail.com>
521 * guile/lib/gdb/printing.scm (append-pretty-printer!): Fix thinko.
523 2014-03-01 Mark Kettenis <kettenis@gnu.org>
525 * obsd-nat.c: Include "gdb_wait.h" instead of <sys/wait.h>.
527 2014-03-01 Mark Kettenis <kettenis@gnu.org>
529 * i386obsd-nat.c: Include "obsd-nat.h".
530 (_initialize_i386obsd_nat): Call obsd_add_target instead of
532 * config/i386/obsd.mh (NATDEPFILES): Add obsd-nat.o.
534 2014-03-01 Mark Kettenis <kettenis@gnu.org>
536 * i386obsd-nat.c (i386obsd_supply_pcb): Cast 'sf' to 'gdb_byte *'.
538 2014-03-01 Mark Kettenis <kettenis@gnu.org>
540 * mips64obsd-nat.c: Include "obsd-nath".
541 (_initialize_mips64obsd_nat): Call obsd_add_target instead of
543 * config/mips/obsd64.mh (NATDEPFILES): Add obsd-nat.o.
545 2014-03-01 Mark Kettenis <kettenis@gnu.org>
547 * amd64obsd-nat.c: Include "obsd-nat,h.
548 (_initialize_amd64obsd_nat): Call obsd_add_target instead of
550 * config/i386/obsd64.mh (NATDEPFILES): Add obsd-nat.o.
552 2014-02-28 Siva Chandra Reddy <sivachandra@google.com>
554 * valops.c (find_oload_champ): Remove unneccesary argument METHOD.
555 (find_overload_match): Update call to find_oload_champ.
556 (find_oload_champ_namespace_loop): Likewise
558 2014-02-28 Mark Kettenis <kettenis@gnu.org>
560 * Makefile.in (ALLDEPFILES): Add sparc64obsd-nat.c.
562 * configure.host (sparc64-*-openbsd*): Set gdb_host to obsd64.
563 * config/sparc/obsd64.mh: New file.
564 * sparc64obsd-nat.c: New file.
566 * obsd-nat.h: New file.
567 * obsd-nat.c: New file.
568 * Makefile.in (HFILES_NO_SRCDIR): Add obsd-nat.h.
569 (ALLDEPFILES): Add obsd-nat.c.
571 2014-02-28 Tom Tromey <tromey@redhat.com>
573 * cli-out.c (cli_ui_out_impl): Now const. Remove comment.
574 * cli-out.h (cli_ui_out_impl): Now const.
575 * mi/mi-out.c (mi_ui_out_impl): Now const. Remove comment.
576 * ui-out.c (struct ui_out) <impl>: Now const.
577 (default_ui_out_impl): Now const.
578 (ui_out_new): Make 'impl' parameter const.
579 * ui-out.h (ui_out_new): Update.
581 2014-02-27 Mark Kettenis <kettenis@gnu.org>
583 * solib-svr4.c (svr4_read_so_list): Initialize first_l_name to 0.
585 2014-02-27 Mark Kettenis <kettenis@gnu.org>
587 * sparc-nat.c (sparc_xfer_wcookie): Always use process ID.
589 2014-02-27 Jan Kratochvil <jan.kratochvil@redhat.com>
591 Additional PR 8882 fix.
592 * solib-svr4.c (svr4_read_so_list): Change first to first_l_name.
594 2014-02-27 Pedro Alves <palves@redhat.com>
596 * nat/linux-waitpid.c (my_waitpid): Only block signals if WNOHANG
599 2014-02-27 Pedro Alves <palves@redhat.com>
602 * linux-nat.c (status_to_str): Moved to nat/linux-waitpid.c.
603 * nat/linux-waitpid.c: Include string.h.
604 (status_to_str): Moved here and made extern.
605 * nat/linux-waitpid.h (status_to_str): New declaration.
607 2014-02-27 Hui Zhu <hui@codesourcery.com>
610 * infrun.c (ptid_match): Move ...
611 * common/ptid.c (ptid_match): ... here.
612 * inferior.h (ptid_match): Move ...
613 * common/ptid.h (ptid_match): ... here.
615 2014-02-27 Mark Kettenis <kettenis@gnu.org>
617 * mips64obsd-tdep.c (mips64obsd_init_abi): Call obsd_init_abi.
618 * configure.tgt (mips64*-*-openbsd*): Add obsd-tdep.c to
621 2014-02-27 Mark Kettenis <kettenis@gnu.org>
623 * obsd-tdep.c (obsd_auxv_parse): New function.
624 (obsd_init_abi): Set auxv_parse.
626 * gdbarch.sh (auxv_parse): New.
627 * gdbarch.h: Regenerated.
628 * gdbarch.c: Regenerated.
629 * auxv.c (target_auxv_parse): Call gdbarch_parse_auxv if provided.
631 2014-02-26 Ludovic Courtès <ludo@gnu.org>
633 * guile/scm-value.c (gdbscm_history_append_x): New function.
634 (value_functions): Add it.
636 2014-02-27 Joel Brobecker <brobecker@adacore.com>
638 * dwarf2read.c (attr_value_as_address): New function.
639 (dwarf2_find_base_address, read_call_site_scope): Use
640 attr_value_as_address in place of DW_ADDR.
641 (dwarf2_get_pc_bounds): Use attr_value_as_address to get
642 the low and high addresses. Slight rework of the handling
643 of the high pc being a constant form, and limit it to
644 DWARF verson 4 or higher.
645 (dwarf2_record_block_ranges): Likewise.
646 (read_partial_die): Likewise.
647 (new_symbol_full): Use attr_value_as_address in place of DW_ADDR.
649 2014-02-26 Tom Tromey <tromey@redhat.com>
651 * exec.c (exec_file_attach): Hold a reference to exec_bfd.
653 2014-02-26 Tom Tromey <tromey@redhat.com>
655 * elfread.c (elf_read_minimal_symbols): Return early if
656 minimal symbols have already been read. Add "ei" parameter.
657 (elf_symfile_read): Call elf_read_minimal_symbols earlier.
658 * minsyms.c (prim_record_minimal_symbol_full): Update.
659 * objfiles.h (struct objstats) <n_minsyms>: Move...
660 (struct objfile_per_bfd_storage) <n_minsyms>: ... here.
661 * symmisc.c (print_objfile_statistics): Update.
663 2014-02-26 Tom Tromey <tromey@redhat.com>
665 * elfread.c (elf_read_minimal_symbols): New function, from
667 (elf_symfile_read): Call it.
669 2014-02-26 Tom Tromey <tromey@redhat.com>
671 * minsyms.c (lookup_minimal_symbol, iterate_over_minimal_symbols)
672 (lookup_minimal_symbol_text, lookup_minimal_symbol_by_pc_name)
673 (lookup_minimal_symbol_solib_trampoline)
674 (lookup_minimal_symbol_by_pc_section_1)
675 (lookup_minimal_symbol_and_objfile): Update.
676 (prim_record_minimal_symbol_full): Use the per-BFD obstack.
677 Don't allocate a minimal symbol if minsyms have already been read.
678 (build_minimal_symbol_hash_tables): Update.
679 (install_minimal_symbols): Do nothing if minsyms already read.
680 Use the per-BFD obstack.
681 (terminate_minimal_symbol_table): Use the per-BFD obstack.
682 * objfiles.c (allocate_objfile): Call
683 terminate_minimal_symbol_table later.
684 (have_minimal_symbols): Update.
685 * objfiles.h (struct objfile_per_bfd_storage) <msymbols,
686 minimal_symbol_count, msymbol_hash, msymbol_demangled_hash>:
687 Move from struct objfile.
688 <minsyms_read>: New field.
689 (struct objfile) <msymbols, minimal_symbol_count,
690 msymbol_hash, msymbol_demangled_hash>: Move.
691 (ALL_OBJFILE_MSYMBOLS): Update.
692 * symfile.c (read_symbols): Set minsyms_read.
693 (reread_symbols): Update.
694 * symmisc.c (dump_objfile, dump_msymbols): Update.
696 2014-02-26 Tom Tromey <tromey@redhat.com>
698 * minsyms.c (msymbols_sort): Remove.
699 * minsyms.h (msymbols_sort): Remove.
700 * objfiles.c (objfile_relocate1): Don't relocate minsyms.
701 * symtab.h (MSYMBOL_VALUE_ADDRESS): Use objfile offsets.
702 * elfread.c (elf_symtab_read): Don't add section offsets.
703 * xcoffread.c (record_minimal_symbol): Don't add section offset
704 to minimal symbol address.
705 * somread.c (text_offset, data_offset): Remove.
706 (som_symtab_read): Don't add section offsets to minimal symbol
708 * coff-pe-read.c (add_pe_forwarded_sym, read_pe_exported_syms):
709 Don't add section offsets to minimal symbols.
710 * coffread.c (coff_symtab_read): Don't add section offsets
711 to minimal symbol addresses.
712 * machoread.c (macho_symtab_add_minsym): Don't add section offset
713 to minimal symbol addresses.
714 * mipsread.c (read_alphacoff_dynamic_symtab): Don't add
715 section offset to minimal symbol addresses.
716 * mdebugread.c (parse_partial_symbols): Don't add section
717 offset to minimal symbol addresses.
718 * dbxread.c (read_dbx_dynamic_symtab): Don't add section
719 offset to minimal symbol addresses.
721 2014-02-26 Tom Tromey <tromey@redhat.com>
723 * ada-lang.c (ada_main_name): Update.
724 (ada_add_standard_exceptions): Update.
725 * ada-tasks.c (ada_tasks_inferior_data_sniffer): Update.
726 * aix-thread.c (pdc_symbol_addrs, pd_enable): Update.
727 * arm-tdep.c (skip_prologue_function, arm_skip_stub): Update.
728 * auxv.c (ld_so_xfer_auxv): Update.
729 * avr-tdep.c (avr_scan_prologue): Update.
730 * ax-gdb.c (gen_var_ref): Update.
731 * blockframe.c (get_pc_function_start)
732 (find_pc_partial_function_gnu_ifunc): Update.
733 * breakpoint.c (create_overlay_event_breakpoint)
734 (create_longjmp_master_breakpoint)
735 (create_std_terminate_master_breakpoint)
736 (create_exception_master_breakpoint): Update.
737 * bsd-uthread.c (bsd_uthread_lookup_address): Update.
738 * c-valprint.c (c_val_print): Update.
739 * coff-pe-read.c (add_pe_forwarded_sym): Update.
740 * common/agent.c (agent_look_up_symbols): Update.
741 * dbxread.c (find_stab_function_addr, end_psymtab): Update.
742 * dwarf2loc.c (call_site_to_target_addr): Update.
743 * dwarf2read.c (dw2_find_pc_sect_symtab): Update.
744 * elfread.c (elf_gnu_ifunc_record_cache)
745 (elf_gnu_ifunc_resolve_by_got): Update.
746 * findvar.c (default_read_var_value): Update.
747 * frame.c (inside_main_func): Update.
748 * frv-tdep.c (frv_frame_this_id): Update.
749 * glibc-tdep.c (glibc_skip_solib_resolver): Update.
750 * gnu-v3-abi.c (gnuv3_get_typeid, gnuv3_skip_trampoline):
752 * hppa-hpux-tdep.c (hppa64_hpux_search_dummy_call_sequence)
753 (hppa_hpux_find_dummy_bpaddr): Update.
754 * hppa-tdep.c (hppa_symbol_address): Update.
755 * infcmd.c (until_next_command): Update.
756 * jit.c (jit_read_descriptor, jit_breakpoint_re_set_internal):
758 * linespec.c (minsym_found, add_minsym): Update.
759 * linux-nat.c (get_signo): Update.
760 * linux-thread-db.c (inferior_has_bug): Update.
761 * m32c-tdep.c (m32c_return_value)
762 (m32c_m16c_address_to_pointer): Update.
763 * m32r-tdep.c (m32r_frame_this_id): Update.
764 * m68hc11-tdep.c (m68hc11_get_register_info): Update.
765 * machoread.c (macho_resolve_oso_sym_with_minsym): Update.
766 * maint.c (maintenance_translate_address): Update.
767 * minsyms.c (lookup_minimal_symbol_by_pc_name): Update.
768 (frob_address): New function.
769 (lookup_minimal_symbol_by_pc_section_1): Use raw addresses,
770 frob_address. Rename parameter to "pc_in".
771 (compare_minimal_symbols, compact_minimal_symbols): Use raw
773 (find_solib_trampoline_target, minimal_symbol_upper_bound):
775 * mips-linux-tdep.c (mips_linux_skip_resolver): Update.
776 * mips-tdep.c (mips_skip_pic_trampoline_code): Update.
777 * objc-lang.c (find_objc_msgsend): Update.
778 * objfiles.c (objfile_relocate1): Update.
779 * obsd-tdep.c (obsd_skip_solib_resolver): Update.
780 * p-valprint.c (pascal_val_print): Update.
781 * parse.c (write_exp_msymbol): Update.
782 * ppc-linux-tdep.c (ppc_linux_spe_context_lookup)
783 (ppc_elfv2_skip_entrypoint): Update.
784 * ppc-sysv-tdep.c (convert_code_addr_to_desc_addr): Update.
785 * printcmd.c (build_address_symbolic, msym_info)
786 (address_info): Update.
787 * proc-service.c (ps_pglobal_lookup): Update.
788 * psymtab.c (find_pc_sect_psymtab_closer)
789 (find_pc_sect_psymtab, find_pc_sect_symtab_from_partial):
790 Change msymbol parameter to bound_minimal_symbol.
791 * ravenscar-thread.c (get_running_thread_id): Update.
792 * remote.c (remote_check_symbols): Update.
793 * sh64-tdep.c (sh64_elf_make_msymbol_special): Use raw
795 * sol2-tdep.c (sol2_skip_solib_resolver): Update.
796 * solib-dsbt.c (lm_base): Update.
797 * solib-frv.c (lm_base, main_got): Update.
798 * solib-irix.c (locate_base): Update.
799 * solib-som.c (som_solib_create_inferior_hook)
800 (link_map_start): Update.
801 * solib-spu.c (spu_enable_break, ocl_enable_break): Update.
802 * solib-svr4.c (elf_locate_base, enable_break): Update.
803 * spu-tdep.c (spu_get_overlay_table, spu_catch_start)
804 (flush_ea_cache): Update.
805 * stabsread.c (define_symbol, scan_file_globals): Update.
806 * stack.c (find_frame_funname): Update.
807 * symfile-debug.c (debug_qf_expand_symtabs_matching)
808 (debug_qf_find_pc_sect_symtab): Update.
809 * symfile.c (simple_read_overlay_table)
810 (simple_overlay_update): Update.
811 * symfile.h (struct quick_symbol_functions)
812 <find_pc_sect_symtab>: Change type of msymbol to
813 bound_minimal_symbol.
814 * symmisc.c (dump_msymbols): Update.
815 * symtab.c (find_pc_sect_symtab_via_partial)
816 (find_pc_sect_psymtab, find_pc_sect_line, skip_prologue_sal)
817 (search_symbols, print_msymbol_info): Update.
818 * symtab.h (MSYMBOL_VALUE_RAW_ADDRESS): New macro.
819 (MSYMBOL_VALUE_ADDRESS): Redefine.
820 (BMSYMBOL_VALUE_ADDRESS): New macro.
821 * tracepoint.c (scope_info): Update.
822 * tui/tui-disasm.c (tui_find_disassembly_address)
823 (tui_get_begin_asm_address): Update.
824 * valops.c (find_function_in_inferior): Update.
825 * value.c (value_static_field, value_fn_field): Update.
827 2014-02-26 Tom Tromey <tromey@redhat.com>
829 * ada-lang.c (ada_update_initial_language): Update.
830 (ada_main_name, ada_has_this_exception_support): Update.
831 * ada-tasks.c (ada_tasks_inferior_data_sniffer): Update.
832 * aix-thread.c (pdc_symbol_addrs, pd_enable): Update.
833 * arm-tdep.c (arm_skip_stub): Update.
834 * auxv.c (ld_so_xfer_auxv): Update.
835 * avr-tdep.c (avr_scan_prologue): Update.
836 * ax-gdb.c (gen_var_ref): Update.
837 * breakpoint.c (struct breakpoint_objfile_data)
838 <overlay_msym, longjmp_msym, terminate_msym, exception_msym>: Change
839 type to bound_minimal_symbol.
840 (create_overlay_event_breakpoint)
841 (create_longjmp_master_breakpoint)
842 (create_std_terminate_master_breakpoint)
843 (create_exception_master_breakpoint): Update.
844 * bsd-uthread.c (bsd_uthread_lookup_address): Update.
845 * c-exp.y (classify_name): Update.
846 * coffread.c (coff_symfile_read): Update.
847 * common/agent.c (agent_look_up_symbols): Update.
848 * d-lang.c (d_main_name): Update.
849 * dbxread.c (find_stab_function_addr, end_psymtab): Update.
850 * dec-thread.c (enable_dec_thread): Update.
851 * dwarf2loc.c (call_site_to_target_addr): Update.
852 * elfread.c (elf_gnu_ifunc_resolve_by_got): Update.
853 * eval.c (evaluate_subexp_standard): Update.
854 * findvar.c (struct minsym_lookup_data) <result>: Change type
855 to bound_minimal_symbol.
857 (minsym_lookup_iterator_cb, default_read_var_value): Update.
858 * frame.c (inside_main_func): Update.
859 * frv-tdep.c (frv_frame_this_id): Update.
860 * gcore.c (call_target_sbrk): Update.
861 * glibc-tdep.c (glibc_skip_solib_resolver): Update.
862 * gnu-v3-abi.c (gnuv3_get_typeid, gnuv3_skip_trampoline):
864 * go-lang.c (go_main_name): Update.
865 * hppa-hpux-tdep.c (hppa_hpux_skip_trampoline_code)
866 (hppa_hpux_find_import_stub_for_addr): Update.
867 * hppa-tdep.c (hppa_extract_17, hppa_lookup_stub_minimal_symbol):
868 Update. Change return type.
869 * hppa-tdep.h (hppa_lookup_stub_minimal_symbol): Change return
871 * jit.c (jit_breakpoint_re_set_internal): Update.
872 * linux-fork.c (inferior_call_waitpid, checkpoint_command):
874 * linux-nat.c (get_signo): Update.
875 * linux-thread-db.c (inferior_has_bug): Update
876 * m32c-tdep.c (m32c_return_value)
877 (m32c_m16c_address_to_pointer): Update.
878 * m32r-tdep.c (m32r_frame_this_id): Update.
879 * m68hc11-tdep.c (m68hc11_get_register_info): Update.
880 * machoread.c (macho_resolve_oso_sym_with_minsym): Update.
881 * minsyms.c (lookup_minimal_symbol_internal): Rename to
882 lookup_minimal_symbol. Change return type.
883 (lookup_minimal_symbol): Remove.
884 (lookup_bound_minimal_symbol): Update.
885 (lookup_minimal_symbol_text): Change return type.
886 (lookup_minimal_symbol_solib_trampoline): Change return type.
887 * minsyms.h (lookup_minimal_symbol, lookup_minimal_symbol_text)
888 (lookup_minimal_symbol_solib_trampoline): Change return type.
889 * mips-linux-tdep.c (mips_linux_skip_resolver): Update.
890 * objc-lang.c (lookup_objc_class, lookup_child_selector)
891 (value_nsstring, find_imps): Update.
892 * obsd-tdep.c (obsd_skip_solib_resolver): Update.
893 * p-lang.c (pascal_main_name): Update.
894 * ppc-linux-tdep.c (ppc_linux_spe_context_lookup): Update.
895 * ppc-sysv-tdep.c (convert_code_addr_to_desc_addr): Update.
896 * proc-service.c (ps_pglobal_lookup): Update.
897 * ravenscar-thread.c (get_running_thread_msymbol): Change
899 (has_ravenscar_runtime, get_running_thread_id): Update.
900 * remote.c (remote_check_symbols): Update.
901 * sol-thread.c (ps_pglobal_lookup): Update.
902 * sol2-tdep.c (sol2_skip_solib_resolver): Update.
903 * solib-dsbt.c (lm_base): Update.
904 * solib-frv.c (lm_base, frv_relocate_section_addresses):
906 * solib-irix.c (locate_base): Update.
907 * solib-som.c (som_solib_create_inferior_hook)
908 (som_solib_desire_dynamic_linker_symbols, link_map_start):
910 * solib-spu.c (spu_enable_break): Update.
911 * solib-svr4.c (elf_locate_base, enable_break): Update.
912 * spu-tdep.c (spu_get_overlay_table, spu_catch_start)
913 (flush_ea_cache): Update.
914 * stabsread.c (define_symbol): Update.
915 * symfile.c (simple_read_overlay_table): Update.
916 * symtab.c (find_pc_sect_line): Update.
917 * tracepoint.c (scope_info): Update.
918 * tui-disasm.c (tui_get_begin_asm_address): Update.
919 * value.c (value_static_field): Update.
921 2014-02-26 Tom Tromey <tromey@redhat.com>
923 * minsyms.c (prim_record_minimal_symbol_full): Use
924 SET_MSYMBOL_VALUE_ADDRESS.
925 * objfiles.c (objfile_relocate1): Use SET_MSYMBOL_VALUE_ADDRESS.
926 * sh64-tdep.c (sh64_elf_make_msymbol_special): Use
927 SET_MSYMBOL_VALUE_ADDRESS.
928 * symtab.h (MSYMBOL_VALUE_ADDRESS): Expand to an rvalue.
929 (SET_MSYMBOL_VALUE_ADDRESS): New macro.
931 2014-02-26 Tom Tromey <tromey@redhat.com>
933 * symtab.h (struct minimal_symbol) <mginfo>: Rename from ginfo.
934 (MSYMBOL_VALUE, MSYMBOL_VALUE_ADDRESS, MSYMBOL_VALUE_BYTES)
935 (MSYMBOL_BLOCK_VALUE, MSYMBOL_VALUE_CHAIN, MSYMBOL_LANGUAGE)
936 (MSYMBOL_SECTION, MSYMBOL_OBJ_SECTION, MSYMBOL_NATURAL_NAME)
937 (MSYMBOL_LINKAGE_NAME, MSYMBOL_PRINT_NAME, MSYMBOL_DEMANGLED_NAME)
938 (MSYMBOL_SET_LANGUAGE, MSYMBOL_SEARCH_NAME)
939 (MSYMBOL_MATCHES_SEARCH_NAME, MSYMBOL_SET_NAMES): New macros.
940 * ada-lang.c (ada_main_name): Update.
941 (ada_lookup_simple_minsym): Update.
942 (ada_make_symbol_completion_list): Update.
943 (ada_add_standard_exceptions): Update.
944 * ada-tasks.c (read_atcb, ada_tasks_inferior_data_sniffer): Update.
945 * aix-thread.c (pdc_symbol_addrs, pd_enable): Update.
946 * amd64-windows-tdep.c (amd64_skip_main_prologue): Update.
947 * arm-tdep.c (skip_prologue_function): Update.
948 (arm_skip_stack_protector, arm_skip_stub): Update.
949 * arm-wince-tdep.c (arm_pe_skip_trampoline_code): Update.
950 (arm_wince_skip_main_prologue): Update.
951 * auxv.c (ld_so_xfer_auxv): Update.
952 * avr-tdep.c (avr_scan_prologue): Update.
953 * ax-gdb.c (gen_var_ref): Update.
954 * block.c (call_site_for_pc): Update.
955 * blockframe.c (get_pc_function_start): Update.
956 (find_pc_partial_function_gnu_ifunc): Update.
957 * breakpoint.c (create_overlay_event_breakpoint): Update.
958 (create_longjmp_master_breakpoint): Update.
959 (create_std_terminate_master_breakpoint): Update.
960 (create_exception_master_breakpoint): Update.
961 (resolve_sal_pc): Update.
962 * bsd-uthread.c (bsd_uthread_lookup_address): Update.
963 * btrace.c (ftrace_print_function_name, ftrace_function_switched):
965 * c-valprint.c (c_val_print): Update.
966 * coff-pe-read.c (add_pe_forwarded_sym): Update.
967 * coffread.c (coff_symfile_read): Update.
968 * common/agent.c (agent_look_up_symbols): Update.
969 * dbxread.c (find_stab_function_addr): Update.
970 (end_psymtab): Update.
971 * dwarf2loc.c (call_site_to_target_addr): Update.
972 (func_verify_no_selftailcall): Update.
973 (tailcall_dump): Update.
974 (call_site_find_chain_1): Update.
975 (dwarf_expr_reg_to_entry_parameter): Update.
976 * elfread.c (elf_gnu_ifunc_record_cache): Update.
977 (elf_gnu_ifunc_resolve_by_got): Update.
978 * f-valprint.c (info_common_command): Update.
979 * findvar.c (read_var_value): Update.
980 * frame.c (get_prev_frame_1): Update.
981 (inside_main_func): Update.
982 * frv-tdep.c (frv_skip_main_prologue): Update.
983 (frv_frame_this_id): Update.
984 * glibc-tdep.c (glibc_skip_solib_resolver): Update.
985 * gnu-v2-abi.c (gnuv2_value_rtti_type): Update.
986 * gnu-v3-abi.c (gnuv3_rtti_type): Update.
987 (gnuv3_skip_trampoline): Update.
988 * hppa-hpux-tdep.c (hppa32_hpux_in_solib_call_trampoline): Update.
989 (hppa64_hpux_in_solib_call_trampoline): Update.
990 (hppa_hpux_skip_trampoline_code): Update.
991 (hppa64_hpux_search_dummy_call_sequence): Update.
992 (hppa_hpux_find_import_stub_for_addr): Update.
993 (hppa_hpux_find_dummy_bpaddr): Update.
994 * hppa-tdep.c (hppa_symbol_address)
995 (hppa_lookup_stub_minimal_symbol): Update.
996 * i386-tdep.c (i386_skip_main_prologue): Update.
997 (i386_pe_skip_trampoline_code): Update.
998 * ia64-tdep.c (ia64_convert_from_func_ptr_addr): Update.
999 * infcall.c (get_function_name): Update.
1000 * infcmd.c (until_next_command): Update.
1001 * jit.c (jit_breakpoint_re_set_internal): Update.
1002 (jit_inferior_init): Update.
1003 * linespec.c (minsym_found): Update.
1004 (add_minsym): Update.
1005 * linux-fork.c (info_checkpoints_command): Update.
1006 * linux-nat.c (get_signo): Update.
1007 * linux-thread-db.c (inferior_has_bug): Update.
1008 * m32c-tdep.c (m32c_return_value): Update.
1009 (m32c_m16c_address_to_pointer): Update.
1010 (m32c_m16c_pointer_to_address): Update.
1011 * m32r-tdep.c (m32r_frame_this_id): Update.
1012 * m68hc11-tdep.c (m68hc11_get_register_info): Update.
1013 * machoread.c (macho_resolve_oso_sym_with_minsym): Update.
1014 * maint.c (maintenance_translate_address): Update.
1015 * minsyms.c (add_minsym_to_hash_table): Update.
1016 (add_minsym_to_demangled_hash_table): Update.
1017 (msymbol_objfile): Update.
1018 (lookup_minimal_symbol): Update.
1019 (iterate_over_minimal_symbols): Update.
1020 (lookup_minimal_symbol_text): Update.
1021 (lookup_minimal_symbol_by_pc_name): Update.
1022 (lookup_minimal_symbol_solib_trampoline): Update.
1023 (lookup_minimal_symbol_by_pc_section_1): Update.
1024 (lookup_minimal_symbol_and_objfile): Update.
1025 (prim_record_minimal_symbol_full): Update.
1026 (compare_minimal_symbols): Update.
1027 (compact_minimal_symbols): Update.
1028 (build_minimal_symbol_hash_tables): Update.
1029 (install_minimal_symbols): Update.
1030 (terminate_minimal_symbol_table): Update.
1031 (find_solib_trampoline_target): Update.
1032 (minimal_symbol_upper_bound): Update.
1033 * mips-linux-tdep.c (mips_linux_skip_resolver): Update.
1034 * mips-tdep.c (mips_stub_frame_sniffer): Update.
1035 (mips_skip_pic_trampoline_code): Update.
1036 * msp430-tdep.c (msp430_skip_trampoline_code): Update.
1037 * objc-lang.c (selectors_info): Update.
1038 (classes_info): Update.
1039 (find_methods): Update.
1040 (find_imps): Update.
1041 (find_objc_msgsend): Update.
1042 * objfiles.c (objfile_relocate1): Update.
1043 * objfiles.h (ALL_OBJFILE_MSYMBOLS): Update.
1044 * obsd-tdep.c (obsd_skip_solib_resolver): Update.
1045 * p-valprint.c (pascal_val_print): Update.
1046 * parse.c (write_exp_msymbol): Update.
1047 * ppc-linux-tdep.c (powerpc_linux_in_dynsym_resolve_code)
1048 (ppc_linux_spe_context_lookup, ppc_elfv2_skip_entrypoint): Update.
1049 * ppc-sysv-tdep.c (convert_code_addr_to_desc_addr): Update.
1050 * printcmd.c (build_address_symbolic): Update.
1052 (address_info): Update.
1053 * proc-service.c (ps_pglobal_lookup): Update.
1054 * psymtab.c (find_pc_sect_psymtab_closer): Update.
1055 (find_pc_sect_psymtab): Update.
1056 * python/py-framefilter.c (py_print_frame): Update.
1057 * ravenscar-thread.c (get_running_thread_id): Update.
1058 * record-btrace.c (btrace_call_history, btrace_get_bfun_name):
1060 * remote.c (remote_check_symbols): Update.
1061 * rs6000-tdep.c (rs6000_skip_main_prologue): Update.
1062 (rs6000_skip_trampoline_code): Update.
1063 * sh64-tdep.c (sh64_elf_make_msymbol_special): Update.
1064 * sol2-tdep.c (sol2_skip_solib_resolver): Update.
1065 * solib-dsbt.c (lm_base): Update.
1066 * solib-frv.c (lm_base): Update.
1068 * solib-irix.c (locate_base): Update.
1069 * solib-som.c (som_solib_create_inferior_hook): Update.
1070 (som_solib_desire_dynamic_linker_symbols): Update.
1071 (link_map_start): Update.
1072 * solib-spu.c (spu_enable_break): Update.
1073 (ocl_enable_break): Update.
1074 * solib-svr4.c (elf_locate_base): Update.
1075 (enable_break): Update.
1076 * spu-tdep.c (spu_get_overlay_table): Update.
1077 (spu_catch_start): Update.
1078 (flush_ea_cache): Update.
1079 * stabsread.c (define_symbol): Update.
1080 (scan_file_globals): Update.
1081 * stack.c (find_frame_funname): Update.
1082 (frame_info): Update.
1083 * symfile.c (simple_read_overlay_table): Update.
1084 (simple_overlay_update): Update.
1085 * symmisc.c (dump_msymbols): Update.
1086 * symtab.c (fixup_section): Update.
1087 (find_pc_sect_line): Update.
1088 (skip_prologue_sal): Update.
1089 (search_symbols): Update.
1090 (print_msymbol_info): Update.
1091 (rbreak_command): Update.
1092 (MCOMPLETION_LIST_ADD_SYMBOL): New macro.
1093 (completion_list_objc_symbol): Update.
1094 (default_make_symbol_completion_list_break_on): Update.
1095 * tracepoint.c (scope_info): Update.
1096 * tui/tui-disasm.c (tui_find_disassembly_address): Update.
1097 (tui_get_begin_asm_address): Update.
1098 * valops.c (find_function_in_inferior): Update.
1099 * value.c (value_static_field): Update.
1100 (value_fn_field): Update.
1102 2014-02-26 Tom Tromey <tromey@redhat.com>
1104 * blockframe.c (find_pc_partial_function_gnu_ifunc): Use
1105 bound minimal symbols. Move code that knows about minsym
1107 * minsyms.c (minimal_symbol_upper_bound): ... here. New
1109 * minsyms.h (minimal_symbol_upper_bound): Declare.
1110 * objc-lang.c (find_objc_msgsend): Use bound minimal symbols,
1111 minimal_symbol_upper_bound.
1113 2014-02-27 Joel Brobecker <brobecker@adacore.com>
1115 * python/lib/gdb/printing.py (RegexpCollectionPrettyPrinter):
1116 Use the type's name if its basic type does not have a tag.
1118 2014-02-27 Joel Brobecker <brobecker@adacore.com>
1120 * dwarf2read.c (read_subrange_type): Add comment.
1122 2014-02-27 Joel Brobecker <brobecker@adacore.com>
1124 * dwarf2read.c (update_enumeration_type_from_children): New
1125 function, mostly extracted from process_structure_scope.
1126 (read_enumeration_type): Call update_enumeration_type_from_children.
1127 (process_enumeration_scope): Do not set THIS_TYPE's flag_unsigned
1128 and flag_flag_enum fields.
1130 2014-02-26 Pedro Alves <palves@redhat.com>
1132 * bsd-uthread.c (bsd_uthread_xfer_partial): Delete function.
1133 (bsd_uthread_target): Don't install bsd_uthread_xfer_partial as
1134 to_xfer_partial method.
1136 2014-02-26 Pedro Alves <palves@redhat.com>
1138 * target.c (complete_target_initialization): Don't install
1139 default_xfer_partial as to_xfer_partial hook.
1141 (update_current_target): Don't INHERIT nor de_fault
1142 deprecated_xfer_memory. Delete de_fault macro.
1143 (default_xfer_partial, deprecated_debug_xfer_memory): Delete.
1144 (setup_target_debug): Don't install a deprecated_xfer_memory hook.
1145 * target.h (struct target_ops) <deprecated_xfer_memory>: Delete
1148 2014-02-26 Pedro Alves <palves@redhat.com>
1150 * go32-nat.c (my_write_child): New function.
1151 (go32_xfer_memory): Rewrite as to_xfer_partial helper.
1152 (go32_xfer_partial): New function.
1153 (init_go32_ops): Don't install a deprecated_xfer_memory hook.
1154 Instead install a to_xfer_partial hook.
1156 2014-02-26 Pedro Alves <palves@redhat.com>
1158 * nto-procfs.c (procfs_xfer_memory): Adjust interface as a
1159 to_xfer_partial helper. Rewrite.
1160 (procfs_xfer_partial): New function.
1161 (init_procfs_ops): Don't install a deprecated_xfer_memory hook.
1162 Install a to_xfer_partial hook.
1164 2014-02-26 Pedro Alves <palves@redhat.com>
1166 * remote-m32r-sdi.c (send_data): Constify 'buf' parameter.
1167 (m32r_xfer_memory): Adjust as a to_xfer_partial helper.
1168 (m32r_xfer_partial): New function.
1169 (init_m32r_ops): Don't install a deprecated_xfer_memory hook.
1170 Install a to_xfer_partial hook.
1172 2014-02-26 Pedro Alves <palves@redhat.com>
1174 * remote-mips.c (mips_xfer_memory): Adjust as to_xfer_partial
1176 (mips_xfer_partial): New function.
1177 (_initialize_remote_mips): Don't install a deprecated_xfer_memory
1178 hook. Install a to_xfer_partial hook.
1180 2014-02-26 Joel Brobecker <brobecker@adacore.com>
1182 * gdbtypes.h (create_array_type_with_stride): Add declaration.
1183 * gdbtypes.c (create_array_type_with_stride): New function,
1184 renaming create_array_type, but with an added parameter
1185 called "bit_stride".
1186 (create_array_type): Re-implement using
1187 create_array_type_with_stride.
1188 * dwarf2read.c (read_array_type): Add support for DW_AT_byte_stride
1189 and DW_AT_bit_stride attributes.
1191 2014-02-26 Pedro Alves <palves@redhat.com>
1193 * breakpoint.c (bpstat_check_breakpoint_conditions): Handle
1194 task-specific breakpoints.
1196 2014-02-25 Pedro Alves <palves@redhat.com>
1198 * ia64-linux-nat.c (ia64_linux_xfer_partial): Reimplement
1199 handling of object == TARGET_OBJECT_UNWIND_TABLE.
1201 2014-02-25 Stan Shebs <stan@codesourcery.com>
1203 * defs.h: Annotate comments for Doxygen.
1205 2014-02-25 Tom Tromey <tromey@redhat.com>
1207 * target.h (target_ignore): Don't declare.
1208 * target.c (target_ignore): Remove.
1210 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
1213 * auto-load.c (auto_load_objfile_script_1): Change filename to
1216 2014-02-25 Joel Brobecker <brobecker@adacore.com>
1218 * ia64-linux-nat.c (ia64_linux_xfer_partial): Add function
1219 documentation. Adjust prototype to match the target_ops
1220 to_xfer_partial method. Adjust implementation accordingly.
1222 2014-02-25 Hui Zhu <hui@codesourcery.com>
1224 * target.h (target_ops): Fix TARGET_DEFAULT_RETURN of
1227 2014-02-25 Kevin Buettner <kevinb@redhat.com>
1229 * rl78-tdep.c (RL78_BANK0_RP0_PTR_REGNUM, RL78_BANK0_RP1_PTR_REGNUM)
1230 (RL78_BANK0_RP2_PTR_REGNUM, RL78_BANK0_RP3_PTR_REGNUM)
1231 (RL78_BANK1_RP0_PTR_REGNUM, RL78_BANK1_RP1_PTR_REGNUM)
1232 (RL78_BANK1_RP2_PTR_REGNUM, RL78_BANK1_RP3_PTR_REGNUM)
1233 (RL78_BANK2_RP0_PTR_REGNUM, RL78_BANK2_RP1_PTR_REGNUM)
1234 (RL78_BANK2_RP2_PTR_REGNUM, RL78_BANK2_RP3_PTR_REGNUM)
1235 (RL78_BANK3_RP0_PTR_REGNUM, RL78_BANK3_RP1_PTR_REGNUM)
1236 (RL78_BANK3_RP2_PTR_REGNUM, RL78_BANK3_RP3_PTR_REGNUM):
1238 (rl78_register_type): Use a data pointer type for SP and
1239 new pseudo registers mentioned above. Use a 16 bit integer
1240 type for all other register pairs.
1241 (rl78_register_name, rl78_g10_register_name): Update for
1242 new pseudo registers.
1243 (rl78_pseudo_register_read): Likewise.
1244 (rl78_pseudo_register_write): Likewise.
1245 (rl78_dwarf_reg_to_regnum): Return register numbers representing
1246 to the newly added pseudo registers.
1248 2014-02-24 Doug Evans <dje@google.com>
1250 * value.c (record_latest_value): Fix comment.
1251 * printcmd.c (print_command_1): Remove code to handle -1 return from
1252 record_latest_value.
1254 2014-02-24 Pedro Alves <palves@redhat.com>
1256 * procfs.c (procfs_target): Don't install procfs_xfer_memory as
1257 deprecated_xfer_memory hook.
1258 (procfs_xfer_partial): Call procfs_xfer_memory instead
1259 of the deprecated_xfer_memory target hook.
1260 (procfs_xfer_memory): Adjust interface as a to_xfer_partial
1263 2014-02-24 Yuanhui Zhang <asmwarrior@gmail.com>
1265 * windows-nat.c (windows_xfer_shared_libraries): Return
1266 TARGET_XFER_EOF if LEN is zero to fix an assert failure when
1267 requested object is TARGET_OBJECT_LIBRARIES.
1269 2014-02-24 Yao Qi <yao@codesourcery.com>
1271 * target.h (enum target_xfer_status)
1272 <TARGET_XFER_E_UNAVAILABLE>: Rename it to ...
1273 <TARGET_XFER_UNAVAILABLE>: ... it with setting value 2
1275 * corefile.c (memory_error_message): User updated.
1276 * exec.c (section_table_read_available_memory): Likewise.
1277 * record-btrace.c (record_btrace_xfer_partial): Likewise.
1278 * target.c (target_xfer_status_to_string): Likewise.
1279 (raw_memory_xfer_partial): Likewise.
1280 (memory_xfer_partial_1, target_xfer_partial): Likewise.
1281 * valops.c (read_value_memory): Likewise.
1282 * exec.h: Update comments.
1284 2014-02-24 Yao Qi <yao@codesourcery.com>
1286 * target.c (target_xfer_status_to_string): Rename argument err
1288 * target.h (target_xfer_status_to_string): Update declaration.
1289 Replace target_xfer_error_to_string with
1290 target_xfer_status_to_string in comment.
1292 2014-02-24 Yao Qi <yao@codesourcery.com>
1294 * mips-linux-nat.c (super_close): Update its type.
1295 (mips_linux_close): Pass 'self' to super_close.
1297 2014-02-24 Yao Qi <yao@codesourcery.com>
1299 * target.h (TARGET_XFER_STATUS_ERROR_P): Remove.
1300 * corefile.c (read_memory): Adjusted.
1301 * target.c (target_write_with_progress): Adjusted.
1303 2014-02-23 Yao Qi <yao@codesourcery.com>
1307 2013-10-25 Yao Qi <yao@codesourcery.com>
1309 * remote.c (remote_traceframe_info): Return early if
1310 traceframe is not selected.
1312 2013-07-19 Yao Qi <yao@codesourcery.com>
1314 * target.c (update_current_target): Change the default action
1315 of 'to_traceframe_info' from tcomplain to return_zero.
1316 * target.h (struct target_ops) <to_traceframe_info>: Add more
1319 2014-02-23 Yao Qi <yao@codesourcery.com>
1321 * valops.c (read_value_memory): Rewrite it. Call
1322 target_xfer_partial in a loop.
1323 * exec.h (section_table_available_memory): Remove declaration.
1324 Move comments to ...
1325 * exec.c (section_table_available_memory): ... here. Make it
1328 2014-02-23 Yao Qi <yao@codesourcery.com>
1330 * exec.c (section_table_read_available_memory): New function.
1331 * exec.h (section_table_read_available_memory): Declare.
1332 * ctf.c (ctf_xfer_partial): Call
1333 section_table_read_available_memory.
1334 * tracefile-tfile.c (tfile_xfer_partial): Likewise.
1336 2014-02-23 Yao Qi <yao@codesourcery.com>
1338 * ctf.c (ctf_xfer_partial): Move code to ...
1339 * exec.c (exec_read_partial_read_only): ... it. New function.
1340 * tracefile-tfile.c (tfile_xfer_partial): Likewise.
1341 * tracefile.c: Include "exec.h".
1342 * exec.h (exec_read_partial_read_only): Declare.
1344 2014-02-23 Yao Qi <yao@codesourcery.com>
1346 * tracefile-tfile.c (tfile_has_all_memory): Remove.
1347 (tfile_has_memory): Remove.
1348 (init_tfile_ops): Don't set fields to_has_all_memory and
1349 to_has_memory of tfile_ops.
1350 * tracefile.c (tracefile_has_all_memory): New function.
1351 (tracefile_has_memory): New function.
1352 (init_tracefile_ops): Initialize fields to_has_all_memory and
1353 to_has_memory of 'ops'.
1355 2014-02-23 Yao Qi <yao@codesourcery.com>
1357 * ctf.c (ctf_has_stack, ctf_has_registers): Remove.
1358 (ctf_thread_alive, ctf_get_trace_status): Remove.
1359 (init_ctf_ops): Don't set some fields of ctf_ops. Call
1361 * tracefile-tfile.c (tfile_get_trace_status): Remove.
1362 (tfile_has_stack, tfile_has_registers): Remove.
1363 (tfile_thread_alive): Remove.
1364 (init_tfile_ops): Don't set some fields of tfile_ops. Call
1366 * tracefile.c (tracefile_has_stack): New function.
1367 (tracefile_has_registers): New function.
1368 (tracefile_thread_alive): New function.
1369 (tracefile_get_trace_status): New function.
1370 (init_tracefile_ops): New function.
1371 * tracefile.h (init_tracefile_ops): Declare.
1373 2014-02-23 Yao Qi <yao@codesourcery.com>
1375 * tracepoint.c (TFILE_PID): Move it to tracefile-tfile.c.
1376 (O_LARGEFILE): Likewise.
1377 (tfile_ops): Likewise.
1378 (TRACE_HEADER_SIZE): Likewise.
1379 (trace_fd, trace_frames_offset, cur_offset): Likewise.
1380 (cur_data_size): Likewise.
1381 (tfile_read, tfile_open, tfile_interp_line): Likewise.
1382 (tfile_close, tfile_files_info): Likewise.
1383 (tfile_get_trace_status): Likewise.
1384 (tfile_get_tracepoint_status): Likewise.
1385 (tfile_get_traceframe_address): Likewise.
1386 (tfile_trace_find, match_blocktype): Likewise.
1387 (traceframe_walk_blocks, traceframe_find_block_type): Likewise.
1388 (tfile_fetch_registers, tfile_xfer_partial): Likewise.
1389 (tfile_get_trace_state_variable_value): Likewise.
1390 (tfile_has_all_memory, tfile_has_memory): Likewise.
1391 (tfile_has_stack, tfile_has_registers): Likewise.
1392 (tfile_thread_alive, build_traceframe_info): Likewise.
1393 (tfile_traceframe_info, init_tfile_ops): Likewise.
1394 (_initialize_tracepoint): Don't call init_tfile_ops
1395 and add_target_with_completer.
1396 * tracefile-tfile.c: Include regcache.h, inferior.h, gdbthread.h,
1397 exec.h, completer.h and filenames.h.
1398 (_initialize_tracefile_tfile): New function.
1400 2014-02-23 Yao Qi <yao@codesourcery.com>
1402 * Makefile.in (REMOTE_OBS): Append tracefile.o and
1404 (HFILES_NO_SRCDIR): Add tracefile.h.
1405 * ctf.c: Include "tracefile.h".
1406 * tracefile.h: New file.
1407 * tracefile.c: New file
1408 * tracefile-tfile.c: New file.
1409 * tracepoint.c: Include "tracefile.h".
1410 (free_uploaded_tps, free_uploaded_tsvs): Remove declarations.
1411 (stop_reason_names): Add const.
1412 (trace_file_writer_xfree): Move it to tracefile.c.
1413 (trace_save, trace_save_command, trace_save_tfile): Likewise.
1414 (trace_save_ctf): Likewise.
1415 (struct tfile_trace_file_writer): Move it to tracefile-tfile.c.
1416 (tfile_target_save, tfile_dtor, tfile_start): Likewise.
1417 (tfile_write_header, tfile_write_regblock_type): Likewise.
1418 (tfile_write_status, tfile_write_uploaded_tsv): Likewise.
1419 (tfile_write_uploaded_tp, tfile_write_definition_end): Likewise.
1420 (tfile_write_raw_data, tfile_end): Likewise.
1421 (tfile_trace_file_writer_new): Likewise.
1422 (free_uploaded_tp): Make it extern.
1423 (free_uploaded_tsv): Make it extern.
1424 (_initialize_tracepoint): Move code to register command 'tsave'
1426 * tracepoint.h (stop_reason_names): Declare.
1427 (struct trace_frame_write_ops): Move it to tracefile.h.
1428 (struct trace_file_write_ops): Likewise.
1429 (struct trace_file_writer): Likewise.
1430 (free_uploaded_tsvs, free_uploaded_tps): Declare.
1432 2014-02-21 Jan Kratochvil <jan.kratochvil@redhat.com>
1435 * common/linux-osdata.c (linux_common_core_of_thread): Find the end of
1437 (get_cores_used_by_process): New parameter num_cores, use it.
1438 (linux_xfer_osdata_processes): Pass num_cores to it.
1439 * linux-tdep.c (linux_info_proc, linux_fill_prpsinfo): Find the end of
1442 2014-02-21 Andreas Arnez <arnez@vnet.linux.ibm.com>
1444 * target.c (memory_xfer_partial): Fix length arg in call to
1445 breakpoint_xfer_memory.
1447 2014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
1450 * i386-tdep.c (i386_stap_parse_special_token_triplet): Check if a
1451 number comes after the + or - signs. Adjust length of register
1452 name to be extracted.
1454 2014-02-20 Tom Tromey <tromey@redhat.com>
1456 * varobj.h (c_varobj_ops, cplus_varobj_ops, java_varobj_ops)
1457 (ada_varobj_ops): Mark "extern".
1459 2014-02-20 Tom Tromey <tromey@redhat.com>
1461 * dbxread.c (read_dbx_symtab): Remove last_o_file_start.
1463 2014-02-20 Doug Evans <xdje42@gmail.com>
1465 * guile/scm-gsmob.c (gdbscm_init_eqable_gsmob): New arg containing_scm.
1466 All callers updated.
1467 (gdbscm_fill_eqable_gsmob_ptr_slot): Delete arg containing_scm.
1468 All callers updated.
1469 * guile/guile-internal.h (gdbscm_init_eqable_gsmob): Update.
1470 (gdbscm_fill_eqable_gsmob_ptr_slot): Update.
1472 2014-02-20 lin zuojian <manjian2006@gmail.com>
1473 Joel Brobecker <brobecker@adacore.com>
1474 Doug Evans <xdje42@gmail.com>
1477 * dwarf2read.c (struct die_info): New member in_process.
1478 (reset_die_in_process): New function.
1479 (process_die): Set it at the start, reset when returning.
1480 (inherit_abstract_dies): Only call process_die if origin_child_die
1481 not already being processed.
1483 2014-02-20 Joel Brobecker <brobecker@adacore.com>
1485 * windows-nat.c (handle_unload_dll): Add function documentation.
1486 (do_initial_windows_stuff): Add comment explaining why we wait
1487 until after inferior initialization has finished before
1488 processing all DLLs.
1490 2014-02-20 Joel Brobecker <brobecker@adacore.com>
1492 * windows-nat.c (get_module_name): Delete.
1493 (windows_get_exec_module_filename): New function, mostly
1494 inspired from get_module_name.
1495 (windows_pid_to_exec_file): Replace call to get_module_name
1496 by call to windows_get_exec_module_filename.
1498 2014-02-20 Joel Brobecker <brobecker@adacore.com>
1500 * windows-nat.c (handle_load_dll): Rewrite this function's
1501 introductory comment. Remove code using get_module_name
1502 to get the DLL's name.
1504 2014-02-20 Joel Brobecker <brobecker@adacore.com>
1506 * windows-nat.c (get_windows_debug_event): Ignore
1507 LOAD_DLL_DEBUG_EVENT and UNLOAD_DLL_DEBUG_EVENT
1508 if windows_initialization_done == 0.
1509 (windows_add_all_dlls): Renames windows_ensure_ntdll_loaded.
1510 Adjust implementation to always load all DLLs.
1511 (do_initial_windows_stuff): Replace call to
1512 windows_ensure_ntdll_loaded by call to windows_add_all_dlls.
1514 2014-02-20 Joel Brobecker <brobecker@adacore.com>
1516 * windows-nat.c (_initialize_windows_nat): Deprecate the
1517 "dll-symbols" command. Turn the "add-shared-symbol-files"
1518 and "assf" aliases into commands, and deprecate them as well.
1519 * NEWS: Add entry explaining that "dll-symbols" and its two
1520 aliases are now deprecated.
1522 2014-02-20 Joel Brobecker <brobecker@adacore.com>
1524 * dec-thread.c (dec_thread_get_ada_task_ptid): Avoid unescaped
1525 new-line in debug string. Remove trailing spaces.
1527 2014-02-19 Stan Shebs <stan@codesourcery.com>
1529 * darwin-nat.c (darwin_xfer_partial): Fix return type.
1531 2014-02-19 Siva Chandra Reddy <sivachandra@google.com>
1533 * NEWS: Add entry for the new feature
1534 * python/py-value.c (valpy_binop): Call value_x_binop for struct
1537 2014-02-19 Stan Shebs <stan@codesourcery.com>
1539 * MAINTAINERS: List Yao Qi as nios2 maintainer.
1541 2014-02-19 Pedro Alves <palves@redhat.com>
1543 * common/ptid.h (struct ptid): Mention that process_stratum
1544 targets should prefer ptid.lwp.
1546 2014-02-19 Pedro Alves <palves@redhat.com>
1548 * remote.c (remote_thread_alive, write_ptid, read_ptid)
1549 (read_ptid, remote_newthread_step, remote_threads_extra_info)
1550 (remote_get_ada_task_ptid, append_resumption, remote_stop_ns)
1551 (threadalive_test, remote_pid_to_str): Use the ptid.lwp field to
1552 store remote thread ids rather than ptid.tid.
1553 (_initialize_remote): Adjust.
1555 2014-02-19 Tom Tromey <tromey@redhat.com>
1557 * target.c (target_get_unwinder): Rewrite.
1558 (target_get_tailcall_unwinder): Rewrite.
1559 * record-btrace.c (record_btrace_to_get_unwinder): New function.
1560 (record_btrace_to_get_tailcall_unwinder): New function.
1561 (init_record_btrace_ops): Update.
1562 * target.h (struct target_ops) <to_get_unwinder,
1563 to_get_tailcall_unwinder>: Now function pointers. Use
1564 TARGET_DEFAULT_RETURN.
1566 2014-02-19 Tom Tromey <tromey@redhat.com>
1568 * nto-procfs.c (procfs_remove_hw_breakpoint): Add 'self'
1570 (init_procfs_ops): Correctly set to_remove_hw_breakpoint.
1572 2014-02-19 Tom Tromey <tromey@redhat.com>
1574 * record-btrace.c (record_btrace_decr_pc_after_break): Delegate
1576 * target-delegates.c: Rebuild.
1577 * target.h (struct target_ops) <to_decr_pc_after_break>: Use
1578 TARGET_DEFAULT_FUNC.
1579 * target.c (default_target_decr_pc_after_break): Rename from
1580 forward_target_decr_pc_after_break. Simplify.
1581 (target_decr_pc_after_break): Rely on delegation.
1583 2014-02-19 Tom Tromey <tromey@redhat.com>
1585 * target.c (update_current_target): Do not INHERIT to_doc or
1586 to_magic. Do not de_fault to_open or to_close.
1588 2014-02-19 Tom Tromey <tromey@redhat.com>
1590 * gcore.h (objfile_find_memory_regions): Declare.
1591 * gcore.c (objfile_find_memory_regions): No longer static. Add
1593 (_initialize_gcore): Don't call exec_set_find_memory_regions.
1594 * exec.c: Include gcore.h.
1595 (exec_set_find_memory_regions): Remove.
1596 (exec_find_memory_regions): Remove.
1597 (exec_do_find_memory_regions): Remove.
1598 (init_exec_ops): Update.
1599 * defs.h (exec_set_find_memory_regions): Remove.
1601 2014-02-19 Tom Tromey <tromey@redhat.com>
1603 * target-delegates.c: Rebuild.
1604 * target.h (struct target_ops) <to_extra_thread_info,
1605 to_thread_name, to_pid_to_exec_file, to_get_section_table,
1606 to_memory_map, to_read_description, to_traceframe_info>: Use NULL,
1607 not 0, in TARGET_DEFAULT_RETURN.
1609 2014-02-19 Tom Tromey <tromey@redhat.com>
1611 * target.c (complete_target_initialization): Remove casts. Use
1612 return_zero_has_execution.
1613 (return_zero): Add "ignore" argument.
1614 (return_zero_has_execution): New function.
1615 (init_dummy_target): Remove casts. Use
1616 return_zero_has_execution.
1618 2014-02-19 Tom Tromey <tromey@redhat.com>
1620 * target.c (update_current_target): Update comments. Do not
1623 2014-02-19 Tom Tromey <tromey@redhat.com>
1625 * arm-linux-nat.c (arm_linux_read_description): Delegate when
1627 * corelow.c (core_read_description): Delegate when needed.
1628 * remote.c (remote_read_description): Delegate when needed.
1629 * target-delegates.c: Rebuild.
1630 * target.c (target_read_description): Rewrite.
1631 * target.h (struct target_ops) <to_read_description>: Update
1632 comment. Use TARGET_DEFAULT_RETURN.
1634 2014-02-19 Tom Tromey <tromey@redhat.com>
1636 * target-delegates.c: Rebuild.
1637 * target.c (update_current_target): Don't inherit or default
1639 (find_default_run_target): Check against delegate_can_run.
1640 * target.h (struct target_ops) <to_can_run>: Use
1641 TARGET_DEFAULT_RETURN.
1643 2014-02-19 Tom Tromey <tromey@redhat.com>
1645 * target-delegates.c: Rebuild.
1646 * target.c (target_disconnect): Unconditionally delegate.
1647 * target.h (struct target_ops) <to_disconnect>: Use
1648 TARGET_DEFAULT_NORETURN.
1650 2014-02-19 Tom Tromey <tromey@redhat.com>
1652 * record.c (record_stop): Unconditionally delegate.
1653 * target-delegates.c: Rebuild.
1654 * target.c (target_stop_recording): Unconditionally delegate.
1655 * target.h (struct target_ops) <to_stop_recording>: Use
1656 TARGET_DEFAULT_IGNORE.
1658 2014-02-19 Tom Tromey <tromey@redhat.com>
1660 * target-delegates.c: Rebuild.
1661 * target.c (target_enable_btrace): Unconditionally delegate.
1662 * target.h (struct target_ops) <to_enable_btrace>: Use
1663 TARGET_DEFAULT_NORETURN.
1665 2014-02-19 Tom Tromey <tromey@redhat.com>
1667 * target-delegates.c: Rebuild.
1668 * target.c (target_read_btrace): Unconditionally delegate.
1669 * target.h (struct target_ops) <to_read_btrace>: Use
1670 TARGET_DEFAULT_NORETURN.
1672 2014-02-19 Tom Tromey <tromey@redhat.com>
1674 * target-delegates.c: Rebuild.
1675 * target.c (target_teardown_btrace): Unconditionally delegate.
1676 * target.h (struct target_ops) <to_teardown_btrace>: Use
1677 TARGET_DEFAULT_NORETURN.
1679 2014-02-19 Tom Tromey <tromey@redhat.com>
1681 * target-delegates.c: Rebuild.
1682 * target.c (target_disable_btrace): Unconditionally delegate.
1683 * target.h (struct target_ops) <to_disable_btrace>: Use
1684 TARGET_DEFAULT_NORETURN.
1686 2014-02-19 Tom Tromey <tromey@redhat.com>
1688 * target-delegates.c: Rebuild.
1689 * target.c (default_search_memory): New function.
1690 (simple_search_memory): Update comment.
1691 (target_search_memory): Unconditionally delegate.
1692 * target.h (struct target_ops) <to_search_memory>: Use
1693 TARGET_DEFAULT_FUNC.
1695 2014-02-19 Tom Tromey <tromey@redhat.com>
1697 * auxv.c (default_auxv_parse): No longer static.
1698 (target_auxv_parse): Unconditionally delegate.
1699 * auxv.h (default_auxv_parse): Declare.
1700 * target-delegates.c: Rebuild.
1701 * target.c: Include auxv.h.
1702 * target.h (struct target_ops) <to_auxv_parse>: Use
1703 TARGET_DEFAULT_FUNC.
1705 2014-02-19 Tom Tromey <tromey@redhat.com>
1707 * target-delegates.c: Rebuild.
1708 * target.c (target_memory_map): Unconditionally delegate.
1709 * target.h (struct target_ops) <to_memory_map>: Use
1710 TARGET_DEFAULT_RETURN.
1712 2014-02-19 Tom Tromey <tromey@redhat.com>
1714 * target-delegates.c: Rebuild.
1715 * target.c (target_thread_alive): Unconditionally delegate.
1716 * target.h (struct target_ops) <to_thread_alive>: Use
1717 TARGET_DEFAULT_RETURN.
1719 2014-02-19 Tom Tromey <tromey@redhat.com>
1721 * target-delegates.c: Rebuild.
1722 * target.c (target_save_record): Unconditionally delegate.
1723 * target.h (struct target_ops) <to_save_record>: Use
1724 TARGET_DEFAULT_NORETURN.
1726 2014-02-19 Tom Tromey <tromey@redhat.com>
1728 * target-delegates.c: Rebuild.
1729 * target.c (target_delete_record): Unconditionally delegate.
1730 * target.h (struct target_ops) <to_delete_record>: Use
1731 TARGET_DEFAULT_NORETURN.
1733 2014-02-19 Tom Tromey <tromey@redhat.com>
1735 * target-delegates.c: Rebuild.
1736 * target.c (target_record_is_replaying): Unconditionally
1738 * target.h (struct target_ops) <to_record_is_replaying>: Use
1739 TARGET_DEFAULT_RETURN.
1741 2014-02-19 Tom Tromey <tromey@redhat.com>
1743 * target-delegates.c: Rebuild.
1744 * target.c (target_goto_record_begin): Unconditionally delegate.
1745 * target.h (struct target_ops) <to_goto_record_begin>: Use
1746 TARGET_DEFAULT_NORETURN.
1748 2014-02-19 Tom Tromey <tromey@redhat.com>
1750 * target-delegates.c: Rebuild.
1751 * target.c (target_goto_record_end): Unconditionally delegate.
1752 * target.h (struct target_ops) <to_goto_record_end>: Use
1753 TARGET_DEFAULT_NORETURN.
1755 2014-02-19 Tom Tromey <tromey@redhat.com>
1757 * target-delegates.c: Rebuild.
1758 * target.c (target_goto_record): Unconditionally delegate.
1759 * target.h (struct target_ops) <to_goto_record>: Use
1760 TARGET_DEFAULT_NORETURN.
1762 2014-02-19 Tom Tromey <tromey@redhat.com>
1764 * target-delegates.c: Rebuild.
1765 * target.c (target_insn_history): Unconditionally delegate.
1766 * target.h (struct target_ops) <to_insn_history>: Use
1767 TARGET_DEFAULT_NORETURN.
1769 2014-02-19 Tom Tromey <tromey@redhat.com>
1771 * target-delegates.c: Rebuild.
1772 * target.c (target_insn_history_from): Unconditionally delegate.
1773 * target.h (struct target_ops) <to_insn_history_from>: Use
1774 TARGET_DEFAULT_NORETURN.
1776 2014-02-19 Tom Tromey <tromey@redhat.com>
1778 * target-delegates.c: Rebuild.
1779 * target.c (target_insn_history_range): Unconditionally delegate.
1780 * target.h (struct target_ops) <to_insn_history_range>: Use
1781 TARGET_DEFAULT_NORETURN.
1783 2014-02-19 Tom Tromey <tromey@redhat.com>
1785 * target-delegates.c: Rebuild.
1786 * target.c (target_call_history): Unconditionally delegate.
1787 * target.h (struct target_ops) <to_call_history>: Use
1788 TARGET_DEFAULT_NORETURN.
1790 2014-02-19 Tom Tromey <tromey@redhat.com>
1792 * target-delegates.c: Rebuild.
1793 * target.c (target_call_history_from): Unconditionally delegate.
1794 * target.h (struct target_ops) <to_call_history_from>: Use
1795 TARGET_DEFAULT_NORETURN.
1797 2014-02-19 Tom Tromey <tromey@redhat.com>
1799 * target-delegates.c: Rebuild.
1800 * target.c (target_call_history_range): Unconditionally delegate.
1801 * target.h (struct target_ops) <to_call_history_range>: Use
1802 TARGET_DEFAULT_NORETURN.
1804 2014-02-19 Tom Tromey <tromey@redhat.com>
1806 * target-delegates.c: Rebuild.
1807 * target.c (target_verify_memory): Unconditionally delegate.
1808 * target.h (struct target_ops) <to_verify_memory>: Use
1809 TARGET_DEFAULT_NORETURN.
1811 2014-02-19 Tom Tromey <tromey@redhat.com>
1813 * target-delegates.c: Rebuild.
1814 * target.c (target_core_of_thread): Unconditionally delegate.
1815 * target.h (struct target_ops) <to_core_of_thread>: Use
1816 TARGET_DEFAULT_RETURN.
1818 2014-02-19 Tom Tromey <tromey@redhat.com>
1820 * target-delegates.c: Rebuild.
1821 * target.c (target_flash_done): Unconditionally delegate.
1822 * target.h (struct target_ops) <to_flash_done>: Use
1823 TARGET_DEFAULT_NORETURN.
1825 2014-02-19 Tom Tromey <tromey@redhat.com>
1827 * target-delegates.c: Rebuild.
1828 * target.c (target_flash_erase): Unconditionally delegate.
1829 * target.h (struct target_ops) <to_flash_erase>: Use
1830 TARGET_DEFAULT_NORETURN.
1832 2014-02-19 Tom Tromey <tromey@redhat.com>
1834 * target-delegates.c: Rebuild.
1835 * target.c (target_get_section_table): Unconditionally delegate.
1836 * target.h (struct target_ops) <to_get_section_table>: Use
1837 TARGET_DEFAULT_RETURN.
1839 2014-02-19 Tom Tromey <tromey@redhat.com>
1841 * target-delegates.c: Rebuild.
1842 * target.c (target_pid_to_str): Unconditionally delegate.
1843 (init_dummy_target): Don't initialize to_pid_to_str.
1844 (default_pid_to_str): Rename from dummy_pid_to_str.
1845 * target.h (struct target_ops) <to_pid_to_str>: Use
1846 TARGET_DEFAULT_FUNC.
1848 2014-02-19 Tom Tromey <tromey@redhat.com>
1850 * target-delegates.c: Rebuild.
1851 * target.c (target_find_new_threads): Unconditionally delegate.
1852 * target.h (struct target_ops) <to_find_new_threads>: Use
1853 TARGET_DEFAULT_RETURN.
1855 2014-02-19 Tom Tromey <tromey@redhat.com>
1857 * target-delegates.c: Rebuild.
1858 * target.c (target_program_signals): Unconditionally delegate.
1859 * target.h (struct target_ops) <to_program_signals>: Use
1860 TARGET_DEFAULT_IGNORE.
1862 2014-02-19 Tom Tromey <tromey@redhat.com>
1864 * target-delegates.c: Rebuild.
1865 * target.c (target_pass_signals): Unconditionally delegate.
1866 * target.h (struct target_ops) <to_pass_signals>: Use
1867 TARGET_DEFAULT_IGNORE.
1869 2014-02-19 Tom Tromey <tromey@redhat.com>
1871 * target-delegates.c: Rebuild.
1872 * target.c (default_mourn_inferior): New function.
1873 (target_mourn_inferior): Unconditionally delegate.
1874 * target.h (struct target_ops) <to_mourn_inferior>: Use
1875 TARGET_DEFAULT_FUNC.
1877 2014-02-19 Tom Tromey <tromey@redhat.com>
1879 * target-delegates.c: Rebuild.
1880 * target.c (default_follow_fork): New function.
1881 (target_follow_fork): Unconditionally delegate.
1882 * target.h (struct target_ops) <to_follow_fork>: Use
1883 TARGET_DEFAULT_FUNC.
1885 2014-02-19 Tom Tromey <tromey@redhat.com>
1887 * target-delegates.c: Rebuild.
1888 * target.c (target_kill): Unconditionally delegate.
1889 * target.h (struct target_ops) <to_kill>: Use
1890 TARGET_DEFAULT_NORETURN.
1892 2014-02-19 Tom Tromey <tromey@redhat.com>
1894 * target-delegates.c: Rebuild.
1895 * target.c (target_masked_watch_num_registers): Unconditionally
1897 * target.h (struct target_ops) <to_masked_watch_num_registers>:
1898 Use TARGET_DEFAULT_RETURN.
1900 2014-02-19 Tom Tromey <tromey@redhat.com>
1902 * target-delegates.c: Rebuild.
1903 * target.c (target_remove_mask_watchpoint): Unconditionally
1905 * target.h (struct target_ops) <to_remove_mask_watchpoint>: Use
1906 TARGET_DEFAULT_RETURN.
1908 2014-02-19 Tom Tromey <tromey@redhat.com>
1910 * target-delegates.c: Rebuild.
1911 * target.c (target_insert_mask_watchpoint): Unconditionally
1913 * target.h (struct target_ops) <to_insert_mask_watchpoint>: Use
1914 TARGET_DEFAULT_RETURN.
1916 2014-02-19 Tom Tromey <tromey@redhat.com>
1918 * target-delegates.c: Rebuild.
1919 * target.c (target_ranged_break_num_registers): Unconditionally
1921 * target.h (struct target_ops) <to_ranged_break_num_registers>:
1922 Use TARGET_DEFAULT_RETURN.
1924 2014-02-19 Tom Tromey <tromey@redhat.com>
1926 * target-delegates.c: Rebuild.
1927 * target.c (target_fetch_registers): Unconditionally delegate.
1928 * target.h (struct target_ops) <to_fetch_registers>: Use
1929 TARGET_DEFAULT_NORETURN.
1931 2014-02-19 Tom Tromey <tromey@redhat.com>
1933 * target-delegates.c: Rebuild.
1934 * target.c (update_current_target): Don't inherit or default
1936 * target.h (struct target_ops) <to_stop>: Use
1937 TARGET_DEFAULT_IGNORE.
1939 2014-02-19 Tom Tromey <tromey@redhat.com>
1941 * target-delegates.c: Rebuild.
1942 * target.c (update_current_target): Don't inherit or default
1943 to_can_run_breakpoint_commands.
1944 * target.h (struct target_ops) <to_can_run_breakpoint_commands>:
1945 Use TARGET_DEFAULT_RETURN.
1947 2014-02-19 Tom Tromey <tromey@redhat.com>
1949 * target-delegates.c: Rebuild.
1950 * target.c (update_current_target): Don't inherit or default
1951 to_supports_evaluation_of_breakpoint_conditions.
1952 * target.h (struct target_ops)
1953 <to_supports_evaluation_of_breakpoint_conditions>: Use
1954 TARGET_DEFAULT_RETURN.
1956 2014-02-19 Tom Tromey <tromey@redhat.com>
1958 * target-delegates.c: Rebuild.
1959 * target.c (update_current_target): Don't inherit or default
1960 to_augmented_libraries_svr4_read.
1961 * target.h (struct target_ops) <to_augmented_libraries_svr4_read>:
1962 Use TARGET_DEFAULT_RETURN.
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
1969 * target.h (struct target_ops) <to_can_use_agent>: Use
1970 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_use_agent>: Use
1978 TARGET_DEFAULT_NORETURN.
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 (return_null): Remove.
1986 * target.h (struct target_ops) <to_traceframe_info>: Use
1987 TARGET_DEFAULT_RETURN.
1989 2014-02-19 Tom Tromey <tromey@redhat.com>
1991 * target-delegates.c: Rebuild.
1992 * target.c (update_current_target): Don't inherit or default
1993 to_static_tracepoint_markers_by_strid.
1994 * target.h (struct target_ops)
1995 <to_static_tracepoint_markers_by_strid>: Use
1996 TARGET_DEFAULT_NORETURN.
1998 2014-02-19 Tom Tromey <tromey@redhat.com>
2000 * target-delegates.c: Rebuild.
2001 * target.c (update_current_target): Don't inherit or default
2002 to_static_tracepoint_marker_at.
2003 * target.h (struct target_ops) <to_static_tracepoint_marker_at>:
2004 Use TARGET_DEFAULT_RETURN.
2006 2014-02-19 Tom Tromey <tromey@redhat.com>
2008 * target-delegates.c: Rebuild.
2009 * target.c (update_current_target): Don't inherit or default
2011 * target.h (struct target_ops) <to_set_permissions>: Use
2012 TARGET_DEFAULT_IGNORE.
2014 2014-02-19 Tom Tromey <tromey@redhat.com>
2016 * target-delegates.c: Rebuild.
2017 * target.c (update_current_target): Don't inherit or default
2019 * target.h (struct target_ops) <to_get_tib_address>: Use
2020 TARGET_DEFAULT_NORETURN.
2022 2014-02-19 Tom Tromey <tromey@redhat.com>
2024 * target-delegates.c: Rebuild.
2025 * target.c (update_current_target): Don't inherit or default
2027 * target.h (struct target_ops) <to_set_trace_notes>: Use
2028 TARGET_DEFAULT_RETURN.
2030 2014-02-19 Tom Tromey <tromey@redhat.com>
2032 * target-delegates.c: Rebuild.
2033 * target.c (update_current_target): Don't initialize
2034 to_set_trace_buffer_size.
2035 * target.h (struct target_ops) <to_set_trace_buffer_size>: Use
2036 TARGET_DEFAULT_IGNORE.
2038 2014-02-19 Tom Tromey <tromey@redhat.com>
2040 * target-delegates.c: Rebuild.
2041 * target.c (update_current_target): Don't inherit or default
2042 to_set_circular_trace_buffer.
2043 * target.h (struct target_ops) <to_set_circular_trace_buffer>: Use
2044 TARGET_DEFAULT_IGNORE.
2046 2014-02-19 Tom Tromey <tromey@redhat.com>
2048 * target-delegates.c: Rebuild.
2049 * target.c (update_current_target): Don't inherit or default
2050 to_set_disconnected_tracing.
2051 * target.h (struct target_ops) <to_set_disconnected_tracing>: Use
2052 TARGET_DEFAULT_IGNORE.
2054 2014-02-19 Tom Tromey <tromey@redhat.com>
2056 * target-delegates.c: Rebuild.
2057 * target.c (update_current_target): Don't inherit or default
2058 to_get_min_fast_tracepoint_insn_len.
2059 (return_minus_one): Remove.
2060 * target.h (struct target_ops)
2061 <to_get_min_fast_tracepoint_insn_len>: Use TARGET_DEFAULT_RETURN.
2063 2014-02-19 Tom Tromey <tromey@redhat.com>
2065 * target-delegates.c: Rebuild.
2066 * target.c (update_current_target): Don't inherit or default
2067 to_get_raw_trace_data.
2068 * target.h (struct target_ops) <to_get_raw_trace_data>: Use
2069 TARGET_DEFAULT_NORETURN.
2071 2014-02-19 Tom Tromey <tromey@redhat.com>
2073 * target-delegates.c: Rebuild.
2074 * target.c (update_current_target): Don't inherit or default
2075 to_upload_trace_state_variables.
2076 * target.h (struct target_ops) <to_upload_trace_state_variables>:
2077 Use TARGET_DEFAULT_RETURN.
2079 2014-02-19 Tom Tromey <tromey@redhat.com>
2081 * target-delegates.c: Rebuild.
2082 * target.c (update_current_target): Don't inherit or default
2083 to_upload_tracepoints.
2084 * target.h (struct target_ops) <to_upload_tracepoints>: Use
2085 TARGET_DEFAULT_RETURN.
2087 2014-02-19 Tom Tromey <tromey@redhat.com>
2089 * target-delegates.c: Rebuild.
2090 * target.c (update_current_target): Don't inherit or default
2092 * target.h (struct target_ops) <to_save_trace_data>: Use
2093 TARGET_DEFAULT_NORETURN.
2095 2014-02-19 Tom Tromey <tromey@redhat.com>
2097 * target-delegates.c: Rebuild.
2098 * target.c (update_current_target): Don't inherit or default
2099 to_get_trace_state_variable_value.
2100 * target.h (struct target_ops)
2101 <to_get_trace_state_variable_value>: Use TARGET_DEFAULT_RETURN.
2103 2014-02-19 Tom Tromey <tromey@redhat.com>
2105 * target-delegates.c: Rebuild.
2106 * target.c (update_current_target): Don't inherit or default
2108 * target.h (struct target_ops): Use TARGET_DEFAULT_RETURN.
2110 2014-02-19 Tom Tromey <tromey@redhat.com>
2112 * target-delegates.c: Rebuild.
2113 * target.c (update_current_target): Don't inherit or default
2115 * target.h (struct target_ops) <to_trace_stop>: Use
2116 TARGET_DEFAULT_NORETURN.
2118 2014-02-19 Tom Tromey <tromey@redhat.com>
2120 * target-delegates.c: Rebuild.
2121 * target.c (update_current_target): Don't inherit or default
2122 to_get_tracepoint_status.
2123 * target.h (struct target_ops) <to_get_tracepoint_status>: Use
2124 TARGET_DEFAULT_NORETURN.
2126 2014-02-19 Tom Tromey <tromey@redhat.com>
2128 * target-delegates.c: Rebuild.
2129 * target.c (update_current_target): Don't inherit or default
2130 to_get_trace_status.
2131 * target.h (struct target_ops) <to_get_trace_status>: Use
2132 TARGET_DEFAULT_RETURN.
2134 2014-02-19 Tom Tromey <tromey@redhat.com>
2136 * target-delegates.c: Rebuild.
2137 * target.c (update_current_target): Don't inherit or default
2139 * target.h (struct target_ops) <to_trace_start>: Use
2140 TARGET_DEFAULT_NORETURN.
2142 2014-02-19 Tom Tromey <tromey@redhat.com>
2144 * target-delegates.c: Rebuild.
2145 * target.c (update_current_target): Don't inherit or default
2146 to_trace_set_readonly_regions.
2147 * target.h (struct target_ops) <to_trace_set_readonly_regions>:
2148 Use TARGET_DEFAULT_NORETURN.
2150 2014-02-19 Tom Tromey <tromey@redhat.com>
2152 * target-delegates.c: Rebuild.
2153 * target.c (update_current_target): Don't inherit or default
2154 to_disable_tracepoint.
2155 * target.h (struct target_ops) <to_disable_tracepoint>: Use
2156 TARGET_DEFAULT_NORETURN.
2158 2014-02-19 Tom Tromey <tromey@redhat.com>
2160 * target-delegates.c: Rebuild.
2161 * target.c (update_current_target): Don't inherit or default
2162 to_enable_tracepoint.
2163 * target.h (struct target_ops) <to_enable_tracepoint>: Use
2164 TARGET_DEFAULT_NORETURN.
2166 2014-02-19 Tom Tromey <tromey@redhat.com>
2168 * target-delegates.c: Rebuild.
2169 * target.c (update_current_target): Don't inherit or default
2170 to_download_trace_state_variable.
2171 * target.h (struct target_ops) <to_download_trace_state_variable>:
2172 Use TARGET_DEFAULT_NORETURN.
2174 2014-02-19 Tom Tromey <tromey@redhat.com>
2176 * target-delegates.c: Rebuild.
2177 * target.c (update_current_target): Don't inherit or default
2178 to_can_download_tracepoint.
2179 * target.h (struct target_ops) <to_can_download_tracepoint>: Use
2180 TARGET_DEFAULT_RETURN.
2182 2014-02-19 Tom Tromey <tromey@redhat.com>
2184 * target-delegates.c: Rebuild.
2185 * target.c (update_current_target): Don't inherit or default
2186 to_download_tracepoint.
2187 * target.h (struct target_ops) <to_download_tracepoint>: Use
2188 TARGET_DEFAULT_NORETURN.
2190 2014-02-19 Tom Tromey <tromey@redhat.com>
2192 * target-delegates.c: Rebuild.
2193 * target.c (update_current_target): Don't inherit or default
2195 * target.h (struct target_ops) <to_trace_init>: Use
2196 TARGET_DEFAULT_RETURN.
2198 2014-02-19 Tom Tromey <tromey@redhat.com>
2200 * target-delegates.c: Rebuild.
2201 * target.c (update_current_target): Don't inherit or default
2202 to_supports_string_tracing.
2203 * target.h (struct target_ops) <to_supports_string_tracing>: Use
2204 TARGET_DEFAULT_RETURN.
2206 2014-02-19 Tom Tromey <tromey@redhat.com>
2208 * target-delegates.c: Rebuild.
2209 * target.c (update_current_target): Don't inherit or default
2210 to_supports_enable_disable_tracepoint.
2211 * target.h (struct target_ops)
2212 <to_supports_enable_disable_tracepoint>: Use
2213 TARGET_DEFAULT_RETURN.
2215 2014-02-19 Tom Tromey <tromey@redhat.com>
2217 * target-delegates.c: Rebuild.
2218 * target.c (update_current_target): Don't inherit or default
2219 to_supports_multi_process.
2220 * target.h (struct target_ops) <to_supports_multi_process>: Use
2221 TARGET_DEFAULT_RETURN.
2223 2014-02-19 Tom Tromey <tromey@redhat.com>
2225 * target-delegates.c: Rebuild.
2226 * target.c (update_current_target): Don't inherit or default
2227 to_get_ada_task_ptid.
2228 * target.h (struct target_ops) <to_get_ada_task_ptid>: Use
2229 TARGET_DEFAULT_FUNC.
2231 2014-02-19 Tom Tromey <tromey@redhat.com>
2233 * target-delegates.c: Rebuild.
2234 * target.c (update_current_target): Don't inherit or default
2235 to_thread_architecture.
2236 * target.h (struct target_ops) <to_thread_architecture>: Use
2237 TARGET_DEFAULT_FUNC.
2239 2014-02-19 Tom Tromey <tromey@redhat.com>
2241 * target-delegates.c: Rebuild.
2242 * target.c (update_current_target): Don't inherit or default
2243 to_execution_direction.
2244 * target.h (struct target_ops) <to_execution_direction>: Use
2245 TARGET_DEFAULT_FUNC.
2247 2014-02-19 Tom Tromey <tromey@redhat.com>
2249 * target-delegates.c: Rebuild.
2250 * target.c (update_current_target): Don't inherit or default
2251 to_can_execute_reverse.
2252 * target.h (struct target_ops) <to_can_execute_reverse>: Use
2253 TARGET_DEFAULT_RETURN.
2254 (target_can_execute_reverse): Unconditionally delegate.
2256 2014-02-19 Tom Tromey <tromey@redhat.com>
2258 * target-delegates.c: Rebuild.
2259 * target.c (update_current_target): Don't inherit or default
2261 (dummy_goto_bookmark): Remove.
2262 (init_dummy_target): Don't inherit or default to_goto_bookmark.
2263 * target.h (struct target_ops) <to_goto_bookmark>: Use
2264 TARGET_DEFAULT_NORETURN.
2266 2014-02-19 Tom Tromey <tromey@redhat.com>
2268 * target-delegates.c: Rebuild.
2269 * target.c (update_current_target): Don't inherit or default
2271 (dummy_get_bookmark): Remove.
2272 (init_dummy_target): Don't inherit or default to_get_bookmark.
2273 * target.h (struct target_ops) <to_get_bookmark>: Use
2274 TARGET_DEFAULT_NORETURN
2276 2014-02-19 Tom Tromey <tromey@redhat.com>
2278 * target-delegates.c: Rebuild.
2279 * target.c (update_current_target): Don't inherit or default
2280 to_make_corefile_notes.
2281 (init_dummy_target): Don't initialize to_make_corefile_notes.
2282 * target.h (struct target_ops) <to_make_corefile_notes>: Use
2283 TARGET_DEFAULT_FUNC.
2285 2014-02-19 Tom Tromey <tromey@redhat.com>
2287 * target-delegates.c: Rebuild.
2288 * target.c (update_current_target): Don't inherit or default
2289 to_find_memory_regions.
2290 (init_dummy_target): Don't initialize to_find_memory_regions.
2291 * target.h (struct target_ops) <to_find_memory_regions>: Use
2292 TARGET_DEFAULT_FUNC.
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_log_command>: Use
2300 TARGET_DEFAULT_IGNORE.
2301 (target_log_command): Unconditionally delegate.
2303 2014-02-19 Tom Tromey <tromey@redhat.com>
2305 * target-delegates.c: Rebuild.
2306 * target.c (update_current_target): Don't inherit or default
2307 to_pid_to_exec_file.
2308 * target.h (struct target_ops) <to_pid_to_exec_file>: 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
2316 (target_thread_name): Unconditionally delegate.
2317 * target.h (struct target_ops) <to_thread_name>: Use
2318 TARGET_DEFAULT_RETURN.
2320 2014-02-19 Tom Tromey <tromey@redhat.com>
2322 * target-delegates.c: Rebuild.
2323 * target.c (update_current_target): Don't inherit or default
2324 to_extra_thread_info.
2325 * target.h (struct target_ops) <to_extra_thread_info>: Use
2326 TARGET_DEFAULT_RETURN.
2328 2014-02-19 Tom Tromey <tromey@redhat.com>
2330 * target-delegates.c: Rebuild.
2331 * target.c (update_current_target): Don't inherit or default
2333 * target.h (struct target_ops) <to_has_exited>: Use
2334 TARGET_DEFAULT_RETURN..
2336 2014-02-19 Tom Tromey <tromey@redhat.com>
2338 * target-delegates.c: Rebuild.
2339 * target.c (update_current_target): Don't inherit or default
2340 to_set_syscall_catchpoint.
2341 (return_one): Remove.
2342 * target.h (struct target_ops) <to_set_syscall_catchpoint>: Use
2343 TARGET_DEFAULT_RETURN.
2345 2014-02-19 Tom Tromey <tromey@redhat.com>
2347 * target-delegates.c: Rebuild.
2348 * target.c (update_current_target): Don't inherit or default
2349 to_insert_exec_catchpoint.
2350 * target.h (struct target_ops) <to_insert_exec_catchpoint>: Use
2351 TARGET_DEFAULT_RETURN.
2353 2014-01-08 Tom Tromey <tromey@redhat.com>
2355 * target-delegates.c: Rebuild.
2356 * target.c (update_current_target): Don't inherit or default
2357 to_insert_exec_catchpoint.
2358 * target.h (struct target_ops) <to_insert_exec_catchpoint>: Use
2359 TARGET_DEFAULT_RETURN.
2361 2014-02-19 Tom Tromey <tromey@redhat.com>
2363 * target-delegates.c: Rebuild.
2364 * target.c (update_current_target): Don't inherit or default
2365 to_remove_vfork_catchpoint.
2366 * target.h (struct target_ops) <to_remove_vfork_catchpoint>: Use
2367 TARGET_DEFAULT_RETURN.
2369 2014-02-19 Tom Tromey <tromey@redhat.com>
2371 * target-delegates.c: Rebuild.
2372 * target.c (update_current_target): Don't inherit or default
2373 to_insert_vfork_catchpoint.
2374 * target.h (struct target_ops) <to_insert_vfork_catchpoint>: Use
2375 TARGET_DEFAULT_RETURN.
2377 2014-02-19 Tom Tromey <tromey@redhat.com>
2379 * target-delegates.c: Rebuild.
2380 * target.c (update_current_target): Don't inherit or default
2381 to_remove_fork_catchpoint.
2382 * target.h (struct target_ops) <to_remove_fork_catchpoint>: Use
2383 TARGET_DEFAULT_RETURN.
2385 2014-02-19 Tom Tromey <tromey@redhat.com>
2387 * target-delegates.c: Rebuild.
2388 * target.c (update_current_target): Don't inherit or default
2389 to_insert_fork_catchpoint.
2390 * target.h (struct target_ops) <to_insert_fork_catchpoint>: Use
2391 TARGET_DEFAULT_RETURN.
2393 2014-02-19 Tom Tromey <tromey@redhat.com>
2395 * target-delegates.c: Rebuild.
2396 * target.c (update_current_target): Don't inherit or default
2397 to_post_startup_inferior.
2398 * target.h (struct target_ops) <to_post_startup_inferior>: Use
2399 TARGET_DEFAULT_IGNORE.
2401 2014-02-19 Tom Tromey <tromey@redhat.com>
2403 * target-delegates.c: Rebuild.
2404 * target.c (update_current_target): Don't inherit or default
2406 * target.h (struct target_ops) <to_load>: Use
2407 TARGET_DEFAULT_NORETURN.
2409 2014-02-19 Tom Tromey <tromey@redhat.com>
2411 * target-delegates.c: Rebuild.
2412 * target.c (update_current_target): Don't inherit or default
2414 * target.h (struct target_ops) <to_terminal_info>: Use
2415 TARGET_DEFAULT_FUNC.
2417 2014-02-19 Tom Tromey <tromey@redhat.com>
2419 * target-delegates.c: Rebuild.
2420 * target.c (update_current_target): Don't inherit or default
2421 to_terminal_save_ours.
2422 * target.h (struct target_ops) <to_terminal_save_ours>: Use
2423 TARGET_DEFAULT_IGNORE.
2425 2014-02-19 Tom Tromey <tromey@redhat.com>
2427 * target-delegates.c: Rebuild.
2428 * target.c (update_current_target): Don't inherit or default
2430 * target.h (struct target_ops) <to_terminal_ours>: Use
2431 TARGET_DEFAULT_IGNORE.
2433 2014-02-19 Tom Tromey <tromey@redhat.com>
2435 * target-delegates.c: Rebuild.
2436 * target.c (update_current_target): Don't inherit or default
2437 to_terminal_ours_for_output.
2438 * target.h (struct target_ops) <to_terminal_ours_for_output>: Use
2439 TARGET_DEFAULT_IGNORE.
2441 2014-02-19 Tom Tromey <tromey@redhat.com>
2443 * target-delegates.c: Rebuild.
2444 * target.c (update_current_target): Don't inherit or default
2445 to_terminal_inferior.
2446 * target.h (struct target_ops) <to_terminal_inferior>: Use
2447 TARGET_DEFAULT_IGNORE.
2449 2014-02-19 Tom Tromey <tromey@redhat.com>
2451 * target-delegates.c: Rebuild.
2452 * target.c (update_current_target): Don't inherit or default
2454 * target.h (struct target_ops) <to_terminal_init>: Use
2455 TARGET_DEFAULT_IGNORE.
2457 2014-02-19 Tom Tromey <tromey@redhat.com>
2459 * target-delegates.c: Rebuild.
2460 * target.c (update_current_target): Don't inherit or default
2461 to_can_accel_watchpoint_condition.
2462 * target.h (struct target_ops)
2463 <to_can_accel_watchpoint_condition>: Use TARGET_DEFAULT_RETURN.
2465 2014-02-19 Tom Tromey <tromey@redhat.com>
2467 * target-delegates.c: Rebuild.
2468 * target.c (update_current_target): Don't inherit or default
2469 to_region_ok_for_hw_watchpoint.
2470 * target.h (struct target_ops) <to_region_ok_for_hw_watchpoint>:
2471 Use TARGET_DEFAULT_FUNC.
2473 2014-02-19 Tom Tromey <tromey@redhat.com>
2475 * target-delegates.c: Rebuild.
2476 * target.c (update_current_target): Don't inherit or default
2477 to_watchpoint_addr_within_range.
2478 * target.h (struct target_ops) <to_watchpoint_addr_within_range>:
2479 Use TARGET_DEFAULT_FUNC.
2481 2014-02-19 Tom Tromey <tromey@redhat.com>
2483 * target-delegates.c: Rebuild.
2484 * target.c (update_current_target): Don't inherit or default
2485 to_remove_watchpoint.
2486 * target.h (struct target_ops) <to_remove_watchpoint>: Use
2487 TARGET_DEFAULT_NORETURN.
2489 2014-02-19 Tom Tromey <tromey@redhat.com>
2491 * target-delegates.c: Rebuild.
2492 * target.c (update_current_target): Don't inherit or default
2493 to_insert_watchpoint.
2494 * target.h (struct target_ops) <to_insert_watchpoint>: Use
2495 TARGET_DEFAULT_RETURN.
2497 2014-02-19 Tom Tromey <tromey@redhat.com>
2499 * target-delegates.c: Rebuild.
2500 * target.c (update_current_target): Don't inherit or default
2501 to_remove_hw_breakpoint.
2502 * target.h (struct target_ops) <to_remove_hw_breakpoint>: Use
2503 TARGET_DEFAULT_RETURN.
2505 2014-02-19 Tom Tromey <tromey@redhat.com>
2507 * target-delegates.c: Rebuild.
2508 * target.c (update_current_target): Don't inherit or default
2509 to_insert_hw_breakpoint.
2510 * target.h (struct target_ops) <to_insert_hw_breakpoint>: Use
2511 TARGET_DEFAULT_RETURN.
2513 2014-02-19 Tom Tromey <tromey@redhat.com>
2515 * target-delegates.c: Rebuild.
2516 * target.c (update_current_target): Don't inherit or default
2517 to_can_use_hw_breakpoint.
2518 * target.h (struct target_ops) <to_can_use_hw_breakpoint>: Use
2519 TARGET_DEFAULT_RETURN.
2521 2014-02-19 Tom Tromey <tromey@redhat.com>
2523 * target-delegates.c: Rebuild.
2524 * target.c (update_current_target): Don't inherit or default
2526 * target.h (struct target_ops) <to_files_info>: Use
2527 TARGET_DEFAULT_IGNORE.
2529 2014-02-19 Tom Tromey <tromey@redhat.com>
2531 * target-delegates.c: Rebuild.
2532 * target.c (update_current_target): Don't inherit or default
2534 * target.h (struct target_ops) <to_store>: Use
2535 TARGET_DEFAULT_NORETURN.
2537 2014-02-19 Tom Tromey <tromey@redhat.com>
2539 * target-delegates.c: Rebuild.
2540 * target.c (update_current_target): Don't inherit or default
2542 * target.h (struct target_ops) <to_post_attach>: Use
2543 TARGET_DEFAULT_IGNORE.
2545 2014-02-19 Tom Tromey <tromey@redhat.com>
2547 * target-delegates.c: Rebuild.
2548 * target.c (update_current_target): Don't inherit or default
2550 (default_rcmd): New function.
2551 (do_monitor_command): Unconditionally delegate.
2552 * target.h (struct target_ops) <to_rmcd>: Use
2553 TARGET_DEFAULT_FUNC.
2555 2014-02-19 Tom Tromey <tromey@redhat.com>
2557 * target-delegates.c: Rebuild.
2558 * target.c (init_dummy_target): Don't initialize to_attach.
2559 (target_attach): Unconditionally delegate.
2560 * target.h (struct target_ops) <to_attach>: Use
2561 TARGET_DEFAULT_FUNC.
2563 2014-02-19 Tom Tromey <tromey@redhat.com>
2565 * target-delegates.c: Rebuild.
2566 * target.c (target_detach): Unconditionally delegate.
2567 (init_dummy_target): Don't initialize to_detach.
2568 * target.h (struct target_ops) <to_detach>: Use
2569 TARGET_DEFAULT_IGNORE.
2571 2014-02-19 Tom Tromey <tromey@redhat.com>
2573 * target.h (struct target_ops) <to_augmented_libraries_svr4_read>:
2575 (target_augmented_libraries_svr4_read): Add argument.
2576 * target.c (update_current_target): Update.
2577 * remote.c (remote_augmented_libraries_svr4_read): Add 'self'
2580 2014-02-19 Tom Tromey <tromey@redhat.com>
2582 * target.h (struct target_ops) <to_call_history_range>: Add
2584 * target.c (target_call_history_range): Add argument.
2585 * record-btrace.c (record_btrace_call_history_range): Add 'self'
2587 (record_btrace_call_history_from): Update.
2589 2014-02-19 Tom Tromey <tromey@redhat.com>
2591 * target.h (struct target_ops) <to_call_history_from>: Add
2593 * target.c (target_call_history_from): Add argument.
2594 * record-btrace.c (record_btrace_call_history_from): Add 'self'
2597 2014-02-19 Tom Tromey <tromey@redhat.com>
2599 * target.h (struct target_ops) <to_call_history>: Add argument.
2600 * target.c (target_call_history): Add argument.
2601 * record-btrace.c (record_btrace_call_history): Add 'self'
2604 2014-02-19 Tom Tromey <tromey@redhat.com>
2606 * target.h (struct target_ops) <to_insn_history_range>: Add
2608 * target.c (target_insn_history_range): Add argument.
2609 * record-btrace.c (record_btrace_insn_history_range): Add 'self'
2611 (record_btrace_insn_history_from): Update.
2613 2014-02-19 Tom Tromey <tromey@redhat.com>
2615 * target.h (struct target_ops) <to_insn_history_from>: Add
2617 * target.c (target_insn_history_from): Add argument.
2618 * record-btrace.c (record_btrace_insn_history_from): Add 'self'
2621 2014-02-19 Tom Tromey <tromey@redhat.com>
2623 * target.h (struct target_ops) <to_insn_history>: Add argument.
2624 * target.c (target_insn_history): Add argument.
2625 * record-btrace.c (record_btrace_insn_history): Add 'self'
2628 2014-02-19 Tom Tromey <tromey@redhat.com>
2630 * target.h (struct target_ops) <to_goto_record>: Add argument.
2631 * target.c (target_goto_record): Add argument.
2632 * record-full.c (record_full_goto): Add 'self' argument.
2633 * record-btrace.c (record_btrace_goto): Add 'self' argument.
2635 2014-02-19 Tom Tromey <tromey@redhat.com>
2637 * target.h (struct target_ops) <to_goto_record_end>: Add argument.
2638 * target.c (target_goto_record_end): Add argument.
2639 * record-full.c (record_full_goto_end): Add 'self' argument.
2640 * record-btrace.c (record_btrace_goto_end): Add 'self' argument.
2642 2014-02-19 Tom Tromey <tromey@redhat.com>
2644 * target.h (struct target_ops) <to_goto_record_begin>: Add
2646 * target.c (target_goto_record_begin): Add argument.
2647 * record-full.c (record_full_goto_begin): Add 'self' argument.
2648 * record-btrace.c (record_btrace_goto_begin): Add 'self'
2651 2014-02-19 Tom Tromey <tromey@redhat.com>
2653 * target.h (struct target_ops) <to_record_is_replaying>: Add
2655 * target.c (target_record_is_replaying): Add argument.
2656 * record-full.c (record_full_is_replaying): Add 'self' argument.
2657 * record-btrace.c (record_btrace_is_replaying): Add 'self'
2659 (record_btrace_xfer_partial, record_btrace_store_registers)
2660 (record_btrace_prepare_to_store, record_btrace_resume)
2661 (record_btrace_wait, record_btrace_decr_pc_after_break)
2662 (record_btrace_find_new_threads, record_btrace_thread_alive):
2665 2014-02-19 Tom Tromey <tromey@redhat.com>
2667 * target.h (struct target_ops) <to_delete_record>: Add argument.
2668 * target.c (target_delete_record): Add argument.
2669 * record-full.c (record_full_delete): Add 'self' argument.
2671 2014-02-19 Tom Tromey <tromey@redhat.com>
2673 * target.h (struct target_ops) <to_save_record>: Add argument.
2674 * target.c (target_save_record): Add argument.
2675 * record-full.c (record_full_save): Add 'self' argument.
2676 (record_full_save): Add 'self' argument.
2678 2014-02-19 Tom Tromey <tromey@redhat.com>
2680 * target.h (struct target_ops) <to_info_record>: Add argument.
2681 * target.c (target_info_record): Add argument.
2682 * record.c (info_record_command): Add argument.
2683 * record-full.c (record_full_info): Add 'self' argument.
2684 * record-btrace.c (record_btrace_info): Add 'self' argument.
2686 2014-02-19 Tom Tromey <tromey@redhat.com>
2688 * target.h (struct target_ops) <to_stop_recording>: Add argument.
2689 * target.c (target_stop_recording): Add argument.
2690 * record.c (record_stop): Add argument.
2691 * record-btrace.c (record_btrace_stop_recording): Add 'self'
2694 2014-02-19 Tom Tromey <tromey@redhat.com>
2696 * target.h (struct target_ops) <to_read_btrace>: Add argument.
2697 * target.c (struct target_ops) <to_read_btrace>: Add argument.
2698 * remote.c (struct target_ops) <to_read_btrace>: Add 'self'
2700 * amd64-linux-nat.c (amd64_linux_read_btrace): New function.
2701 (_initialize_amd64_linux_nat): Use it.
2702 * i386-linux-nat.c (i386_linux_read_btrace): New function.
2703 (_initialize_i386_linux_nat): Use it.
2705 2014-02-19 Tom Tromey <tromey@redhat.com>
2707 * target.h (struct target_ops) <to_teardown_btrace>: Add argument.
2708 * target.c (target_teardown_btrace): Add argument.
2709 * remote.c (remote_teardown_btrace): Add 'self' argument.
2710 * i386-linux-nat.c (i386_linux_teardown_btrace): Add 'self'
2712 * amd64-linux-nat.c (amd64_linux_teardown_btrace): Add 'self'
2715 2014-02-19 Tom Tromey <tromey@redhat.com>
2717 * target.h (struct target_ops) <to_disable_btrace>: Add argument.
2718 * target.c (target_disable_btrace): Add argument.
2719 * remote.c (remote_disable_btrace): Add 'self' argument.
2720 * i386-linux-nat.c (i386_linux_disable_btrace): Add 'self'
2722 * amd64-linux-nat.c (amd64_linux_disable_btrace): Add 'self'
2725 2014-02-19 Tom Tromey <tromey@redhat.com>
2727 * target.h (struct target_ops) <to_enable_btrace>: Add argument.
2728 * target.c (target_enable_btrace): Add argument.
2729 * remote.c (remote_enable_btrace): Add 'self' argument.
2730 * i386-linux-nat.c (i386_linux_enable_btrace): Add 'self'
2732 * amd64-linux-nat.c (amd64_linux_enable_btrace): Add 'self'
2735 2014-02-19 Tom Tromey <tromey@redhat.com>
2737 * target.h (struct target_ops) <to_can_use_agent>: Add argument.
2738 (target_can_use_agent): Add argument.
2739 * target.c (update_current_target): Update.
2740 * remote.c (remote_can_use_agent): Add 'self' argument.
2741 * inf-child.c (inf_child_can_use_agent): Add 'self' argument.
2743 2014-02-19 Tom Tromey <tromey@redhat.com>
2745 * target.h (struct target_ops) <to_use_agent>: Add argument.
2746 (target_use_agent): Add argument.
2747 * target.c (update_current_target): Update.
2748 * remote.c (remote_use_agent): Add 'self' argument.
2749 * inf-child.c (inf_child_use_agent): Add 'self' argument.
2751 2014-02-19 Tom Tromey <tromey@redhat.com>
2753 * tracepoint.c (tfile_traceframe_info): Add 'self' argument.
2754 * target.h (struct target_ops) <to_traceframe_info>: Add argument.
2755 (target_traceframe_info): Add argument.
2756 * target.c (update_current_target): Update.
2757 * remote.c (remote_traceframe_info): Add 'self' argument.
2758 * ctf.c (ctf_traceframe_info): Add 'self' argument.
2760 2014-02-19 Tom Tromey <tromey@redhat.com>
2762 * target.h (target_static_tracepoint_markers_by_strid): Add
2764 (struct target_ops) <to_static_tracepoint_markers_by_strid>: Add
2766 * target.c (update_current_target): Update.
2767 * remote.c (struct target_ops)
2768 <to_static_tracepoint_markers_by_strid>: Add 'self' argument.
2769 * linux-nat.c (struct target_ops)
2770 <to_static_tracepoint_markers_by_strid>: Add 'self' argument.
2772 2014-02-19 Tom Tromey <tromey@redhat.com>
2774 * target.h (struct target_ops) <to_static_tracepoint_marker_at>:
2776 (target_static_tracepoint_marker_at): Add argument.
2777 * target.c (update_current_target): Update.
2778 * remote.c (remote_static_tracepoint_marker_at): Add 'self'
2781 2014-02-19 Tom Tromey <tromey@redhat.com>
2783 * target.h (struct target_ops) <to_set_permissions>: Add argument.
2784 (target_set_permissions): Add argument.
2785 * target.c (update_current_target): Update.
2786 * remote.c (remote_set_permissions): Add 'self' argument.
2787 (remote_start_remote): Update.
2789 2014-02-19 Tom Tromey <tromey@redhat.com>
2791 * windows-nat.c (windows_get_tib_address): Add 'self' argument.
2792 * target.h (struct target_ops) <to_get_tib_address>: Add argument.
2793 (target_get_tib_address): Add argument.
2794 * target.c (update_current_target): Update.
2795 * remote.c (remote_get_tib_address): Add 'self' argument.
2797 2014-02-19 Tom Tromey <tromey@redhat.com>
2799 * target.h (struct target_ops) <to_set_trace_notes>: Add argument.
2800 (target_set_trace_notes): Add argument.
2801 * target.c (update_current_target): Update.
2802 * remote.c (remote_set_trace_notes): Add 'self' argument.
2804 2014-02-19 Tom Tromey <tromey@redhat.com>
2806 * target.h (struct target_ops) <to_set_trace_buffer_size>: Add
2808 (target_set_trace_buffer_size): Add argument.
2809 * target.c (update_current_target): Update.
2810 * remote.c (remote_set_trace_buffer_size): Add 'self' argument.
2812 2014-02-19 Tom Tromey <tromey@redhat.com>
2814 * target.h (struct target_ops) <to_set_circular_trace_buffer>: Add
2816 (target_set_circular_trace_buffer): Add argument.
2817 * target.c (update_current_target): Update.
2818 * remote.c (remote_set_circular_trace_buffer): Add 'self'
2821 2014-02-19 Tom Tromey <tromey@redhat.com>
2823 * target.h (struct target_ops) <to_set_disconnected_tracing>: Add
2825 (target_set_disconnected_tracing): Add argument.
2826 * target.c (update_current_target): Update.
2827 * remote.c (remote_set_disconnected_tracing): Add 'self' argument.
2829 2014-02-19 Tom Tromey <tromey@redhat.com>
2831 * target.h (struct target_ops)
2832 <to_get_min_fast_tracepoint_insn_len>: Add argument.
2833 (target_get_min_fast_tracepoint_insn_len): Add argument.
2834 * target.c (update_current_target): Update.
2835 * remote.c (remote_get_min_fast_tracepoint_insn_len): Add 'self'
2838 2014-02-19 Tom Tromey <tromey@redhat.com>
2840 * target.h (struct target_ops) <to_get_raw_trace_data>: Add
2842 (target_get_raw_trace_data): Add argument.
2843 * target.c (update_current_target): Update.
2844 * remote.c (remote_get_raw_trace_data): Add 'self' argument.
2846 2014-02-19 Tom Tromey <tromey@redhat.com>
2848 * target.h (struct target_ops) <to_upload_trace_state_variables>:
2850 (target_upload_trace_state_variables): Add argument.
2851 * target.c (update_current_target): Update.
2852 * remote.c (remote_upload_trace_state_variables): Add 'self'
2854 (remote_start_remote): Update.
2856 2014-02-19 Tom Tromey <tromey@redhat.com>
2858 * target.h (struct target_ops) <to_upload_tracepoints>: Add
2860 (target_upload_tracepoints): Add argument.
2861 * target.c (update_current_target): Update.
2862 * remote.c (remote_upload_tracepoints): Add 'self' argument.
2863 (remote_start_remote): Update.
2865 2014-02-19 Tom Tromey <tromey@redhat.com>
2867 * target.h (struct target_ops) <to_save_trace_data>: Add argument.
2868 (target_save_trace_data): Add argument.
2869 * target.c (update_current_target): Update.
2870 * remote.c (remote_save_trace_data): Add 'self' argument.
2872 2014-02-19 Tom Tromey <tromey@redhat.com>
2874 * tracepoint.c (tfile_get_trace_state_variable_value): Add 'self'
2876 * target.h (struct target_ops)
2877 <to_get_trace_state_variable_value>: Add argument.
2878 (target_get_trace_state_variable_value): Add argument.
2879 * target.c (update_current_target): Update.
2880 * remote.c (remote_get_trace_state_variable_value): Add 'self'
2882 * ctf.c (ctf_get_trace_state_variable_value): Add 'self' argument.
2884 2014-02-19 Tom Tromey <tromey@redhat.com>
2886 * tracepoint.c (tfile_trace_find): Add 'self' argument.
2887 * target.h (struct target_ops) <to_trace_find>: Add argument.
2888 (target_trace_find): Add argument.
2889 * target.c (update_current_target): Update.
2890 * remote.c (remote_trace_find): Add 'self' argument.
2891 * ctf.c (ctf_trace_find): Add 'self' argument.
2893 2014-02-19 Tom Tromey <tromey@redhat.com>
2895 * target.h (struct target_ops) <to_trace_stop>: Add argument.
2896 (target_trace_stop): Add argument.
2897 * target.c (update_current_target): Update.
2898 * remote.c (remote_trace_stop): Add 'self' argument.
2900 2014-02-19 Tom Tromey <tromey@redhat.com>
2902 * tracepoint.c (tfile_get_tracepoint_status): Add 'self' argument.
2903 * target.h (struct target_ops) <to_get_tracepoint_status>: Add
2905 (target_get_tracepoint_status): Add argument.
2906 * target.c (update_current_target): Update.
2907 * remote.c (remote_get_tracepoint_status): Add 'self' argument.
2909 2014-02-19 Tom Tromey <tromey@redhat.com>
2911 * tracepoint.c (tfile_get_trace_status): Add 'self' argument.
2912 * target.h (struct target_ops) <to_get_trace_status>: Add
2914 (target_get_trace_status): Add argument.
2915 * target.c (update_current_target): Update.
2916 * remote.c (remote_get_trace_status): Add 'self' argument.
2917 (remote_start_remote, remote_can_download_tracepoint): Update.
2918 * ctf.c (ctf_get_trace_status): Add 'self' argument.
2920 2014-02-19 Tom Tromey <tromey@redhat.com>
2922 * target.h (struct target_ops) <to_trace_start>: Add argument.
2923 (target_trace_start): Add argument.
2924 * target.c (update_current_target): Update.
2925 * remote.c (remote_trace_start): Add 'self' argument.
2927 2014-02-19 Tom Tromey <tromey@redhat.com>
2929 * target.h (struct target_ops) <to_trace_set_readonly_regions>:
2931 (target_trace_set_readonly_regions): Add argument.
2932 * target.c (update_current_target): Update.
2933 * remote.c (remote_trace_set_readonly_regions): Add 'self'
2936 2014-02-19 Tom Tromey <tromey@redhat.com>
2938 * target.h (struct target_ops) <to_disable_tracepoint>: Add
2940 (target_disable_tracepoint): Add argument.
2941 * target.c (update_current_target): Update.
2942 * remote.c (remote_disable_tracepoint): Add 'self' argument.
2944 2014-02-19 Tom Tromey <tromey@redhat.com>
2946 * target.h (struct target_ops) <to_enable_tracepoint>: Add
2948 (target_enable_tracepoint): Add argument.
2949 * target.c (update_current_target): Update.
2950 * remote.c (remote_enable_tracepoint): Add 'self' argument.
2952 2014-02-19 Tom Tromey <tromey@redhat.com>
2954 * target.h (struct target_ops) <to_download_trace_state_variable>:
2956 (target_download_trace_state_variable): Add argument.
2957 * target.c (update_current_target): Update.
2958 * remote.c (remote_download_trace_state_variable): Add 'self'
2961 2014-02-19 Tom Tromey <tromey@redhat.com>
2963 * target.h (struct target_ops) <to_can_download_tracepoint>: Add
2965 (target_can_download_tracepoint): Add argument.
2966 * target.c (update_current_target): Update.
2967 * remote.c (remote_can_download_tracepoint): Add 'self' argument.
2969 2014-02-19 Tom Tromey <tromey@redhat.com>
2971 * target.h (struct target_ops) <to_download_tracepoint>: Add
2973 (target_download_tracepoint): Add argument.
2974 * target.c (update_current_target): Update.
2975 * remote.c (remote_download_tracepoint): Add 'self' argument.
2977 2014-02-19 Tom Tromey <tromey@redhat.com>
2979 * target.h (struct target_ops) <to_trace_init>: Add argument.
2980 (target_trace_init): Add argument.
2981 * target.c (update_current_target): Update.
2982 * remote.c (remote_trace_init): Add 'self' argument.
2984 2014-02-19 Tom Tromey <tromey@redhat.com>
2986 * target.h (struct target_ops) <to_fileio_readlink>: Add argument.
2987 * target.c (target_fileio_readlink): Add argument.
2988 * remote.c (remote_hostio_readlink): Add 'self' argument.
2989 * inf-child.c (inf_child_fileio_readlink): Add 'self' argument.
2991 2014-02-19 Tom Tromey <tromey@redhat.com>
2993 * target.h (struct target_ops) <to_fileio_unlink>: Add argument.
2994 * target.c (target_fileio_unlink): Add argument.
2995 * remote.c (remote_hostio_unlink): Add 'self' argument.
2996 (remote_file_delete): Update.
2997 * inf-child.c (inf_child_fileio_unlink): Add 'self' argument.
2999 2014-02-19 Tom Tromey <tromey@redhat.com>
3001 * target.h (struct target_ops) <to_fileio_close>: Add argument.
3002 * target.c (target_fileio_close): Add argument.
3003 * remote.c (remote_hostio_close): Add 'self' argument.
3004 (remote_hostio_close_cleanup): Update.
3005 (remote_bfd_iovec_close, remote_file_put, remote_file_get):
3007 * inf-child.c (inf_child_fileio_close): Add 'self' argument.
3009 2014-02-19 Tom Tromey <tromey@redhat.com>
3011 * target.h (struct target_ops) <to_fileio_pread>: Add argument.
3012 * target.c (target_fileio_pread): Add argument.
3013 * remote.c (remote_hostio_pread): Add 'self' argument.
3014 (remote_bfd_iovec_pread, remote_file_get): Update.
3015 * inf-child.c (inf_child_fileio_pread): Add 'self' argument.
3017 2014-02-19 Tom Tromey <tromey@redhat.com>
3019 * target.h (struct target_ops) <to_fileio_pwrite>: Add argument.
3020 * target.c (target_fileio_pwrite): Add argument.
3021 * remote.c (remote_hostio_pwrite): Add 'self' argument.
3022 (remote_file_put): Update.
3023 * inf-child.c (inf_child_fileio_pwrite): Add 'self' argument.
3025 2014-02-19 Tom Tromey <tromey@redhat.com>
3027 * target.h (struct target_ops) <to_fileio_open>: Add argument.
3028 * target.c (target_fileio_open): Add argument.
3029 * remote.c (remote_hostio_open): Add 'self' argument.
3030 (remote_bfd_iovec_open): Add 'self' argument.
3031 (remote_file_put): Add 'self' argument.
3032 (remote_file_get): Add 'self' argument.
3033 * inf-child.c (inf_child_fileio_open): Add 'self' argument.
3035 2014-02-19 Tom Tromey <tromey@redhat.com>
3037 * target.h (struct target_ops) <to_can_run_breakpoint_commands>:
3039 (target_can_run_breakpoint_commands): Add argument.
3040 * target.c (update_current_target): Update.
3041 * remote.c (remote_can_run_breakpoint_commands): Add 'self'
3043 (remote_insert_breakpoint): Add 'self' argument.
3044 (remote_insert_hw_breakpoint): Add 'self' argument.
3045 (remote_can_run_breakpoint_commands): Add 'self' argument.
3047 2014-02-19 Tom Tromey <tromey@redhat.com>
3049 * target.h (struct target_ops)
3050 <to_supports_evaluation_of_breakpoint_conditions>: Add argument.
3051 (target_supports_evaluation_of_breakpoint_conditions): Add
3053 * target.c (update_current_target): Update.
3054 * remote.c (remote_supports_cond_breakpoints): Add 'self'
3056 (remote_insert_breakpoint): Add 'self' argument.
3057 (remote_insert_hw_breakpoint): Add 'self' argument.
3058 (remote_supports_cond_breakpoints): Add 'self' argument.
3060 2014-02-19 Tom Tromey <tromey@redhat.com>
3062 * target.h (struct target_ops) <to_supports_string_tracing>: Add
3064 (target_supports_string_tracing): Add argument.
3065 * target.c (update_current_target): Update.
3066 * remote.c (remote_supports_string_tracing): Add 'self' argument.
3068 2014-02-19 Tom Tromey <tromey@redhat.com>
3070 * target.h (struct target_ops)
3071 <to_supports_disable_randomization>: Add argument.
3072 * target.c (find_default_supports_disable_randomization): Add
3074 (target_supports_disable_randomization): Add argument.
3075 (find_default_supports_disable_randomization): Add 'self'
3077 * remote.c (extended_remote_supports_disable_randomization): Add
3079 (remote_supports_disable_randomization): Add 'self' argument.
3080 (extended_remote_create_inferior): Update.
3081 * linux-nat.c (linux_nat_supports_disable_randomization): Add
3084 2014-02-19 Tom Tromey <tromey@redhat.com>
3086 * target.h (struct target_ops)
3087 <to_supports_enable_disable_tracepoint>: Add argument.
3088 (target_supports_enable_disable_tracepoint): Add argument.
3089 * target.c (update_current_target): Update.
3090 * remote.c (remote_supports_enable_disable_tracepoint): Add 'self'
3093 2014-02-19 Tom Tromey <tromey@redhat.com>
3095 * target.h (struct target_ops) <to_supports_multi_process>: Add
3097 (target_supports_multi_process): Add argument.
3098 * target.c (update_current_target): Update.
3099 * remote.c (remote_supports_multi_process): Add 'self' argument.
3100 * linux-nat.c (linux_nat_supports_multi_process): Add 'self'
3102 * darwin-nat.c (darwin_supports_multi_process): Add 'self'
3105 2014-02-19 Tom Tromey <tromey@redhat.com>
3107 * target.h (struct target_ops) <to_execution_direction>: Add
3109 (target_execution_direction): Add argument.
3110 * target.c (default_execution_direction): Add 'self' argument.
3111 * record-full.c (record_full_execution_direction): Add 'self'
3114 2014-02-19 Tom Tromey <tromey@redhat.com>
3116 * target.h (struct target_ops) <to_can_execute_reverse>: Add
3118 (target_can_execute_reverse): Add argument.
3119 * remote.c (remote_can_execute_reverse): Add 'self' argument.
3120 * record-full.c (record_full_can_execute_reverse): Add 'self'
3122 * record-btrace.c (record_btrace_can_execute_reverse): Add 'self'
3125 2014-02-19 Tom Tromey <tromey@redhat.com>
3127 * windows-nat.c (windows_get_ada_task_ptid): Add 'self' argument.
3128 * target.h (struct target_ops) <to_get_ada_task_ptid>: Add
3130 (target_get_ada_task_ptid): Add argument.
3131 * target.c (update_current_target): Update.
3132 (default_get_ada_task_ptid): Add 'self' argument.
3133 * sol-thread.c (sol_get_ada_task_ptid): Add 'self' argument.
3134 * remote.c (remote_get_ada_task_ptid): Add 'self' argument.
3135 * ravenscar-thread.c (ravenscar_get_ada_task_ptid): Add 'self'
3137 * linux-thread-db.c (thread_db_get_ada_task_ptid): Add 'self'
3139 * inf-ttrace.c (inf_ttrace_get_ada_task_ptid): Add 'self'
3141 * dec-thread.c (dec_thread_get_ada_task_ptid): Add 'self'
3143 * darwin-nat.c (darwin_get_ada_task_ptid): Add 'self' argument.
3144 * aix-thread.c (aix_thread_get_ada_task_ptid): Add 'self'
3147 2014-02-19 Tom Tromey <tromey@redhat.com>
3149 * target.h (struct target_ops) <to_goto_bookmark>: Add argument.
3150 (target_goto_bookmark): Add argument.
3151 * target.c (dummy_goto_bookmark): Add 'self' argument.
3152 * record-full.c (record_full_goto_bookmark): Add 'self' argument.
3154 2014-02-19 Tom Tromey <tromey@redhat.com>
3156 * target.h (struct target_ops) <to_get_bookmark>: Add argument.
3157 (target_get_bookmark): Add argument.
3158 * target.c (dummy_get_bookmark): Add 'self' argument.
3159 * record-full.c (record_full_get_bookmark): Add 'self' argument.
3161 2014-02-19 Tom Tromey <tromey@redhat.com>
3163 * target.h (struct target_ops) <to_make_corefile_notes>: Add
3165 (target_make_corefile_notes): Add argument.
3166 * target.c (dummy_make_corefile_notes): Add 'self' argument.
3167 * procfs.c (procfs_make_note_section): Add 'self' argument.
3168 (procfs_make_note_section): Add 'self' argument.
3169 (procfs_make_note_section): Add 'self' argument.
3170 * linux-nat.c (linux_nat_make_corefile_notes): Add 'self'
3172 * fbsd-nat.h (fbsd_make_corefile_notes): Add 'self' argument.
3173 * fbsd-nat.c (fbsd_make_corefile_notes): Add 'self' argument.
3174 * exec.c (exec_make_note_section): Add 'self' argument.
3175 (exec_make_note_section): Add 'self' argument.
3177 2014-02-19 Tom Tromey <tromey@redhat.com>
3179 * target.h (struct target_ops) <to_find_memory_regions>: Add
3181 (target_find_memory_regions): Add argument.
3182 * target.c (dummy_find_memory_regions): Add 'self' argument.
3183 * procfs.c (proc_find_memory_regions): Add 'self' argument.
3184 * gnu-nat.c (gnu_find_memory_regions): Add 'self' argument.
3185 * fbsd-nat.h (fbsd_find_memory_regions): Add 'self' argument.
3186 * fbsd-nat.c (fbsd_find_memory_regions): Add 'self' argument.
3187 * exec. (exec_do_find_memory_regions): New global.
3188 (exec_set_find_memory_regions): Rewrite.
3189 (exec_find_memory_regions): New function.
3190 (init_exec_ops): Use exec_find_memory_regions.
3192 2014-02-19 Tom Tromey <tromey@redhat.com>
3194 * target.h (struct target_ops) <to_supports_non_stop>: Add
3196 * target.c (find_default_supports_non_stop): Add argument.
3197 (target_supports_non_stop): Add argument.
3198 (find_default_supports_non_stop): Add 'self' argument.
3199 * remote.c (remote_supports_non_stop): Add 'self' argument.
3200 * linux-nat.c (linux_nat_supports_non_stop): Add 'self' argument.
3202 2014-02-19 Tom Tromey <tromey@redhat.com>
3204 * target.h (struct target_ops) <to_log_command>: Add argument.
3205 (target_log_command): Add argument.
3206 * serial.h (serial_log_command): Add 'self' argument.
3207 * serial.c (serial_log_command): Add 'self' argument.
3209 2014-02-19 Tom Tromey <tromey@redhat.com>
3211 * windows-nat.c (windows_pid_to_exec_file): Add 'self' argument.
3212 * target.h (struct target_ops) <to_pid_to_exec_file>: Add
3214 (target_pid_to_exec_file): Add argument.
3215 * target.c (debug_to_pid_to_exec_file): Add argument.
3216 (update_current_target): Update.
3217 * nbsd-nat.h (nbsd_pid_to_exec_file): Add 'self' argument.
3218 * nbsd-nat.c (nbsd_pid_to_exec_file): Add 'self' argument.
3219 * linux-nat.c (linux_child_pid_to_exec_file): Add 'self' argument.
3220 (linux_handle_extended_wait): Update.
3221 * inf-child.c (inf_child_pid_to_exec_file): Add 'self' argument.
3222 * fbsd-nat.h (fbsd_pid_to_exec_file): Add 'self' argument.
3223 * fbsd-nat.c (fbsd_pid_to_exec_file): Add 'self' argument.
3224 * darwin-nat.c (darwin_pid_to_exec_file): Add 'self' argument.
3226 2014-02-19 Tom Tromey <tromey@redhat.com>
3228 * target.h (struct target_ops) <to_rcmd>: Add argument.
3229 (target_rcmd): Add argument.
3230 * target.c (debug_to_rcmd): Add argument.
3231 (update_current_target, do_monitor_command): Update.
3232 * remote.c (remote_rcmd): Add 'self' argument.
3233 * monitor.c (monitor_rcmd): Add 'self' argument.
3235 2014-02-19 Tom Tromey <tromey@redhat.com>
3237 * windows-nat.c (windows_stop): Add 'self' argument.
3238 * target.h (struct target_ops) <to_stop>: Add argument.
3239 * target.c (target_stop): Add argument.
3240 (debug_to_stop): Add argument.
3241 (update_current_target): Update.
3242 * remote.c (remote_stop): Add 'self' argument.
3243 * remote-sim.c (gdbsim_stop): Add 'self' argument.
3244 (gdbsim_cntrl_c): Update.
3245 * remote-m32r-sdi.c (m32r_stop): Add 'self' argument.
3246 * procfs.c (procfs_stop): Add 'self' argument.
3247 * nto-procfs.c (procfs_stop): Add 'self' argument.
3248 * monitor.c (monitor_stop): Add 'self' argument.
3249 (monitor_open): Update.
3250 * linux-nat.c (linux_nat_stop): Add argument.
3251 * inf-ptrace.c (inf_ptrace_stop): Add 'self' argument.
3252 * gnu-nat.c (gnu_stop): Add 'self' argument.
3253 * darwin-nat.c (darwin_stop): Add 'self' argument.
3255 2014-02-19 Tom Tromey <tromey@redhat.com>
3257 * target.h (struct target_ops) <to_thread_name>: Add argument.
3258 * target.c (target_thread_name): Add argument.
3259 (update_current_target): Update.
3260 * linux-nat.c (linux_nat_thread_name): Add 'self' argument.
3262 2014-02-19 Tom Tromey <tromey@redhat.com>
3264 * target.h (struct target_ops) <to_extra_thread_info>: Add
3266 (target_extra_thread_info): Add argument.
3267 * target.c (update_current_target): Update.
3268 * remote.c (remote_threads_extra_info): Add 'self' argument.
3269 * ravenscar-thread.c (ravenscar_extra_thread_info): Add 'self'
3271 * nto-tdep.h (nto_extra_thread_info): Add 'self' argument.
3272 * nto-tdep.c (nto_extra_thread_info): Add 'self' argument.
3273 * linux-thread-db.c (thread_db_extra_thread_info): Add 'self'
3275 * inf-ttrace.c (inf_ttrace_extra_thread_info): Add 'self'
3277 * bsd-uthread.c (bsd_uthread_extra_thread_info): Add 'self'
3279 * aix-thread.c (aix_thread_extra_thread_info): Add 'self'
3282 2014-02-19 Tom Tromey <tromey@redhat.com>
3284 * target.h (struct target_ops) <to_program_signals>: Add argument.
3285 * target.c (target_program_signals): Add argument.
3286 * remote.c (remote_program_signals): Add 'self' argument.
3288 2014-02-19 Tom Tromey <tromey@redhat.com>
3290 * target.h (struct target_ops) <to_pass_signals>: Add argument.
3291 * target.c (target_pass_signals): Add argument.
3292 * remote.c (remote_pass_signals): Add 'self' argument.
3293 (remote_start_remote): Update.
3294 * procfs.c (procfs_pass_signals): Add 'self' argument.
3295 * nto-procfs.c (procfs_pass_signals): Add 'self' argument.
3296 * linux-nat.c (linux_nat_pass_signals): Add 'self' argument.
3297 (linux_nat_create_inferior, linux_nat_attach): Update.
3299 2014-02-19 Tom Tromey <tromey@redhat.com>
3301 * windows-nat.c (windows_can_run): Add 'self' argument.
3302 * target.h (struct target_ops) <to_can_run>: Add argument.
3303 (target_can_run): Add argument.
3304 * target.c (debug_to_can_run): Add argument.
3305 (update_current_target): Update.
3306 * nto-procfs.c (procfs_can_run): Add 'self' argument.
3307 * inf-child.c (inf_child_can_run): Add 'self' argument.
3308 * go32-nat.c (go32_can_run): Add 'self' argument.
3310 2014-02-19 Tom Tromey <tromey@redhat.com>
3312 * target.h (struct target_ops) <to_has_exited>: Add argument.
3313 (target_has_exited): Add argument.
3314 * target.c (debug_to_has_exited): Add argument.
3315 (update_current_target): Update.
3317 2014-02-19 Tom Tromey <tromey@redhat.com>
3319 * target.h (struct target_ops) <to_set_syscall_catchpoint>: Add
3321 (target_set_syscall_catchpoint): Add argument.
3322 * linux-nat.c (linux_child_set_syscall_catchpoint): Add 'self'
3324 * target.c (update_current_target): Update.
3326 2014-02-19 Tom Tromey <tromey@redhat.com>
3328 * target.h (struct target_ops) <to_remove_exec_catchpoint>: Add
3330 (target_remove_exec_catchpoint): Add argument.
3331 * target.c (debug_to_remove_exec_catchpoint): Add argument.
3332 (update_current_target): Update.
3333 * linux-nat.c (linux_child_remove_exec_catchpoint): Add 'self'
3336 2014-02-19 Tom Tromey <tromey@redhat.com>
3338 * target.h (struct target_ops) <to_insert_exec_catchpoint>: Add
3340 (target_insert_exec_catchpoint): Add argument.
3341 * target.c (debug_to_insert_exec_catchpoint): Add argument.
3342 (update_current_target): Update.
3343 * linux-nat.c (linux_child_insert_exec_catchpoint): Add 'self'
3346 2014-02-19 Tom Tromey <tromey@redhat.com>
3348 * target.h (struct target_ops) <to_remove_vfork_catchpoint>: Add
3350 (target_remove_vfork_catchpoint): Add argument.
3351 * target.c (debug_to_remove_vfork_catchpoint): Add argument.
3352 (update_current_target): Update.
3353 * linux-nat.c (linux_child_remove_vfork_catchpoint): Add 'self'
3356 2014-02-19 Tom Tromey <tromey@redhat.com>
3358 * target.h (struct target_ops) <to_insert_vfork_catchpoint>: Add
3360 (target_insert_vfork_catchpoint): Add argument.
3361 * target.c (debug_to_insert_vfork_catchpoint): Add argument.
3362 (update_current_target): Update.
3363 * linux-nat.c (linux_child_insert_vfork_catchpoint): Add 'self'
3366 2014-02-19 Tom Tromey <tromey@redhat.com>
3368 * target.h (struct target_ops) <to_remove_fork_catchpoint>: Add
3370 (target_remove_fork_catchpoint): Add argument.
3371 * target.c (debug_to_remove_fork_catchpoint): Add argument.
3372 (update_current_target): Update.
3373 * linux-nat.c (linux_child_remove_fork_catchpoint): Add 'self'
3376 2014-02-19 Tom Tromey <tromey@redhat.com>
3378 * target.h (struct target_ops) <to_insert_fork_catchpoint>: Add
3380 (target_insert_fork_catchpoint): Add argument.
3381 * target.c (debug_to_insert_fork_catchpoint): Add argument.
3382 (update_current_target): Update.
3383 * linux-nat.c (linux_child_insert_fork_catchpoint): Add 'self'
3386 2014-02-19 Tom Tromey <tromey@redhat.com>
3388 * target.h (struct target_ops) <to_post_startup_inferior>: Add
3390 (target_post_startup_inferior): Add argument.
3391 * target.c (debug_to_post_startup_inferior): Add argument.
3392 (update_current_target): Update.
3393 * spu-linux-nat.c (spu_child_post_startup_inferior): Add 'self'
3395 * linux-nat.c (linux_child_post_startup_inferior): Add 'self'
3397 * inf-ptrace.c (inf_ptrace_post_startup_inferior): Add 'self'
3399 * inf-child.c (inf_child_post_startup_inferior): Add 'self'
3401 * i386-linux-nat.c (i386_linux_child_post_startup_inferior): Add
3403 (super_post_startup_inferior): Likewise.
3404 * amd64-linux-nat.c (amd64_linux_child_post_startup_inferior): Add
3406 (super_post_startup_inferior): Likewise.
3407 * aarch64-linux-nat.c (aarch64_linux_child_post_startup_inferior):
3408 Add 'self' argument.
3409 (super_post_startup_inferior): Likewise.
3411 2014-02-19 Tom Tromey <tromey@redhat.com>
3413 * target.h (struct target_ops) <to_load>: Add argument.
3414 * target.c (target_load): Add argument.
3415 (debug_to_load): Add argument.
3416 (update_current_target): Update.
3417 * remote.c (remote_load): Add 'self' argument.
3418 * remote-sim.c (gdbsim_load): Add 'self' argument.
3419 * remote-mips.c (mips_load): Add 'self' argument.
3420 * remote-m32r-sdi.c (m32r_load): Add 'self' argument.
3421 * monitor.c (monitor_load): Add 'self' argument.
3422 * m32r-rom.c (m32r_load_gen): Add 'self' argument.
3424 2014-02-19 Tom Tromey <tromey@redhat.com>
3426 * target.h (struct target_ops) <to_terminal_info>: Add argument.
3427 (target_terminal_info): Add argument.
3428 * target.c (debug_to_terminal_info): Add argument.
3429 (default_terminal_info): Likewise.
3430 * inflow.c (child_terminal_info): Add 'self' argument.
3431 * inferior.h (child_terminal_info): Add 'self' argument.
3432 * go32-nat.c (go32_terminal_info): Add 'self' argument.
3434 2014-02-19 Tom Tromey <tromey@redhat.com>
3436 * target.h (struct target_ops) <to_terminal_save_ours>: Add
3438 (target_terminal_save_ours): Add argument.
3439 * target.c (debug_to_terminal_save_ours): Add argument.
3440 (update_current_target): Update.
3441 * inflow.c (terminal_save_ours): Add 'self' argument.
3442 * inferior.h (terminal_save_ours): Add 'self' argument.
3444 2014-02-19 Tom Tromey <tromey@redhat.com>
3446 * target.h (struct target_ops) <to_terminal_ours>: Add argument.
3447 (target_terminal_ours): Add argument.
3448 * target.c (debug_to_terminal_ours): Add argument.
3449 (update_current_target): Update.
3450 * remote.c (remote_terminal_ours): Add 'self' argument.
3451 (remote_close): Update.
3452 * linux-nat.c (linux_nat_terminal_ours): Add 'self' argument.
3453 * inflow.c (terminal_ours): Add 'self' argument.
3454 * inferior.h (terminal_ours): Add 'self' argument.
3455 * go32-nat.c (go32_terminal_ours): Add 'self' argument.
3457 2014-02-19 Pedro Alves <palves@redhat.com>
3458 Tom Tromey <tromey@redhat.com>
3460 * target.h (struct target_ops) <to_terminal_ours_for_output>: Add
3462 (target_terminal_ours_for_output): Add argument.
3463 * target.c (debug_to_terminal_ours_for_output): Add argument.
3464 (update_current_target): Update.
3465 * inflow.c (terminal_ours_for_output): Add 'self' argument.
3466 * inferior.h (terminal_ours_for_output): Add 'self' argument.
3467 * go32-nat.c (go32_terminal_ours): Add 'self' argument.
3469 2014-02-19 Tom Tromey <tromey@redhat.com>
3471 * target.h (struct target_ops) <to_terminal_inferior>: Add
3473 * target.c (target_terminal_inferior): Add argument.
3474 (update_current_target): Update.
3475 * remote.c (remote_terminal_inferior): Add 'self' argument.
3476 * linux-nat.c (linux_nat_terminal_inferior): Add 'self' argument.
3477 * inflow.c (terminal_inferior): Add 'self' argument.
3478 * inferior.h (terminal_inferior): Add 'self' argument.
3479 * go32-nat.c (go32_terminal_inferior): Add 'self' argument.
3480 (go32_terminal_inferior): Add 'self' argument.
3482 2014-02-19 Tom Tromey <tromey@redhat.com>
3484 * target.h (struct target_ops) <to_terminal_init>: Add argument.
3485 (target_terminal_init): Add argument.
3486 * target.c (debug_to_terminal_init): Add argument.
3487 (update_current_target): Update.
3488 * inflow.c (terminal_init_inferior): Add 'self' argument.
3489 * inferior.h (terminal_init_inferior): Add 'self' argument.
3490 * go32-nat.c (go32_terminal_init): Add 'self' argument.
3491 * gnu-nat.c (gnu_terminal_init_inferior): Add 'self' argument.
3493 2014-02-19 Tom Tromey <tromey@redhat.com>
3495 * target.h (struct target_ops)
3496 <to_can_accel_watchpoint_condition>: Add argument.
3497 (target_can_accel_watchpoint_condition): Add argument.
3498 * target.c (debug_to_can_accel_watchpoint_condition): Add
3500 (update_current_target): Update.
3501 * ppc-linux-nat.c (ppc_linux_can_accel_watchpoint_condition): Add
3504 2014-02-19 Tom Tromey <tromey@redhat.com>
3506 * target.h (struct target_ops) <to_region_ok_for_hw_watchpoint>:
3508 (target_region_ok_for_hw_watchpoint): Add argument.
3509 * target.c (debug_to_region_ok_for_hw_watchpoint): Add argument.
3510 (default_region_ok_for_hw_watchpoint): Add argument.
3511 * spu-multiarch.c (spu_region_ok_for_hw_watchpoint): Add argument.
3512 * s390-linux-nat.c (s390_region_ok_for_hw_watchpoint): Add 'self'
3514 * remote.c (remote_region_ok_for_hw_watchpoint): Add 'self'
3516 * procfs.c (procfs_region_ok_for_hw_watchpoint): Add 'self'
3518 * ppc-linux-nat.c (ppc_linux_region_ok_for_hw_watchpoint): Add
3520 * mips-linux-nat.c (mips_linux_region_ok_for_hw_watchpoint): Add
3522 * inf-ttrace.c (inf_ttrace_region_ok_for_hw_watchpoint): Add
3524 * i386-nat.c (i386_region_ok_for_watchpoint): Add 'self' argument.
3525 * arm-linux-nat.c (arm_linux_region_ok_for_hw_watchpoint): Add
3527 * aarch64-linux-nat.c (aarch64_linux_region_ok_for_hw_watchpoint):
3528 Add 'self' argument.
3530 2014-02-19 Tom Tromey <tromey@redhat.com>
3532 * target.h (struct target_ops) <to_insert_watchpoint>: Add
3534 (target_insert_watchpoint): Add argument.
3535 * target.c (debug_to_insert_watchpoint): Add argument.
3536 (update_current_target): Update.
3537 * s390-linux-nat.c (s390_insert_watchpoint): Add 'self' argument.
3538 * remote.c (remote_insert_watchpoint): Add 'self' argument.
3539 * remote-mips.c (mips_insert_watchpoint): Add 'self' argument.
3540 * remote-m32r-sdi.c (m32r_insert_watchpoint): Add 'self' argument.
3541 * procfs.c (procfs_insert_watchpoint): Add 'self' argument.
3542 * ppc-linux-nat.c (ppc_linux_insert_watchpoint): Add 'self'
3544 * nto-procfs.c (procfs_insert_hw_watchpoint): Add 'self' argument.
3545 (procfs_insert_hw_watchpoint): Add 'self' argument.
3546 * mips-linux-nat.c (mips_linux_insert_watchpoint): Add 'self'
3548 * inf-ttrace.c (inf_ttrace_insert_watchpoint): Add 'self'
3550 * ia64-linux-nat.c (ia64_linux_insert_watchpoint): Add 'self'
3552 * i386-nat.c (i386_insert_watchpoint): Add 'self' argument.
3553 * arm-linux-nat.c (arm_linux_insert_watchpoint): Add 'self'
3555 * aarch64-linux-nat.c (aarch64_linux_insert_watchpoint): Add
3558 2014-02-19 Tom Tromey <tromey@redhat.com>
3560 * target.h (struct target_ops) <to_remove_watchpoint>: Add
3562 (target_remove_watchpoint): Add argument.
3563 * target.c (debug_to_remove_watchpoint): Add argument.
3564 (update_current_target): Update.
3565 * s390-linux-nat.c (s390_remove_watchpoint): Add 'self' argument.
3566 * remote.c (remote_remove_watchpoint): Add 'self' argument.
3567 * remote-mips.c (mips_remove_watchpoint): Add 'self' argument.
3568 * remote-m32r-sdi.c (m32r_remove_watchpoint): Add 'self' argument.
3569 * procfs.c (procfs_remove_watchpoint): Add 'self' argument.
3570 * ppc-linux-nat.c (ppc_linux_remove_watchpoint): Add 'self'
3572 * nto-procfs.c (procfs_remove_hw_watchpoint): Add 'self' argument.
3573 * mips-linux-nat.c (mips_linux_remove_watchpoint): Add 'self'
3575 * inf-ttrace.c (inf_ttrace_remove_watchpoint): Add 'self'
3577 * ia64-linux-nat.c (ia64_linux_remove_watchpoint): Add 'self'
3579 * i386-nat.c (i386_remove_watchpoint): Add 'self' argument.
3580 * arm-linux-nat.c (arm_linux_remove_watchpoint): Add 'self'
3582 * aarch64-linux-nat.c (aarch64_linux_remove_watchpoint): Add
3585 2014-02-19 Tom Tromey <tromey@redhat.com>
3587 * target.h (struct target_ops) <to_remove_hw_breakpoint>: Add
3589 (target_remove_hw_breakpoint): Add argument.
3590 * target.c (debug_to_remove_hw_breakpoint): Add argument.
3591 (update_current_target): Update.
3592 * remote.c (remote_remove_hw_breakpoint): Add 'self' argument.
3593 * ppc-linux-nat.c (ppc_linux_remove_hw_breakpoint): Add 'self'
3595 * i386-nat.c (i386_remove_hw_breakpoint): Add 'self' argument.
3596 * arm-linux-nat.c (arm_linux_remove_hw_breakpoint): Add 'self'
3598 * aarch64-linux-nat.c (aarch64_linux_remove_hw_breakpoint): Add
3601 2014-02-19 Tom Tromey <tromey@redhat.com>
3603 * target.h (struct target_ops) <to_insert_hw_breakpoint>: Add
3605 (target_insert_hw_breakpoint): Add argument.
3606 * target.c (debug_to_insert_hw_breakpoint): Add argument.
3607 (update_current_target): Update.
3608 * remote.c (remote_insert_hw_breakpoint): Add 'self' argument.
3609 * ppc-linux-nat.c (ppc_linux_insert_hw_breakpoint): Add 'self'
3611 * nto-procfs.c (procfs_insert_hw_breakpoint): Add 'self' argument.
3612 * i386-nat.c (i386_insert_hw_breakpoint): Add 'self' argument.
3613 * arm-linux-nat.c (arm_linux_insert_hw_breakpoint): Add 'self'
3615 * aarch64-linux-nat.c (aarch64_linux_insert_hw_breakpoint): Add
3618 2014-02-19 Tom Tromey <tromey@redhat.com>
3620 * target.h (struct target_ops) <to_can_use_hw_breakpoint>: Add
3622 (target_can_use_hardware_watchpoint): Add argument.
3623 * target.c (debug_to_can_use_hw_breakpoint): Add argument.
3624 (update_current_target): Update.
3625 * spu-linux-nat.c (spu_can_use_hw_breakpoint): Add 'self'
3627 * s390-linux-nat.c (s390_can_use_hw_breakpoint): Add 'self'
3629 * remote.c (remote_check_watch_resources): Add 'self' argument.
3630 * remote-mips.c (mips_can_use_watchpoint): Add 'self' argument.
3631 * remote-m32r-sdi.c (m32r_can_use_hw_watchpoint): Add 'self'
3633 * procfs.c (procfs_can_use_hw_breakpoint): Add 'self' argument.
3634 * ppc-linux-nat.c (ppc_linux_can_use_hw_breakpoint): Add 'self'
3636 * nto-procfs.c (procfs_can_use_hw_breakpoint): Add 'self'
3638 * mips-linux-nat.c (mips_linux_can_use_hw_breakpoint): Add 'self'
3640 * inf-ttrace.c (inf_ttrace_can_use_hw_breakpoint): Add 'self'
3642 * ia64-linux-nat.c (ia64_linux_can_use_hw_breakpoint): Add 'self'
3644 * ia64-hpux-nat.c (ia64_hpux_can_use_hw_breakpoint): Add 'self'
3646 * i386-nat.c (i386_can_use_hw_breakpoint): Add 'self' argument.
3647 * arm-linux-nat.c (arm_linux_can_use_hw_breakpoint): Add 'self'
3649 * aarch64-linux-nat.c (aarch64_linux_can_use_hw_breakpoint): Add
3652 2014-02-19 Tom Tromey <tromey@redhat.com>
3654 * target.h (struct target_ops) <to_post_attach>: Add argument.
3655 (target_post_attach): Add argument.
3656 * target.c (debug_to_post_attach): Add argument.
3657 (update_current_target): Update.
3658 * spu-linux-nat.c (spu_child_post_attach): Add 'self' argument.
3659 * nto-procfs.c (procfs_post_attach): Add 'self' argument.
3660 * linux-nat.c (linux_child_post_attach): Add 'self' argument.
3661 * inf-ptrace.c (inf_ptrace_post_attach): Add 'self' argument.
3662 * inf-child.c (inf_child_post_attach): Add 'self' argument.
3664 2014-02-19 Tom Tromey <tromey@redhat.com>
3666 * windows-nat.c (windows_close): Add 'self' argument.
3667 * tracepoint.c (tfile_close): Add 'self' argument.
3668 * target.h (struct target_ops) <to_close>: Add argument.
3669 * target.c (target_close): Add argument.
3670 (update_current_target): Update.
3671 * remote.c (remote_close): Add 'self' argument.
3672 * remote-sim.c (gdbsim_close): Add 'self' argument.
3673 * remote-mips.c (mips_close): Add 'self' argument.
3674 * remote-m32r-sdi.c (m32r_close): Add 'self' argument.
3675 * record-full.c (record_full_close): Add 'self' argument.
3676 * record-btrace.c (record_btrace_close): Add 'self' argument.
3677 * monitor.h (monitor_close): Add 'self' argument.
3678 * monitor.c (monitor_close): Add 'self' argument.
3679 * mips-linux-nat.c (mips_linux_close): Add 'self' argument.
3680 * linux-nat.c (linux_nat_close): Add argument.
3681 * go32-nat.c (go32_close): Add 'self' argument.
3682 * exec.c (exec_close_1): Add 'self' argument.
3683 * ctf.c (ctf_close): Add 'self' argument.
3684 * corelow.c (core_close): Add 'self' argument.
3685 (core_close_cleanup): Update.
3686 * bsd-uthread.c (bsd_uthread_close): Add 'self' argument.
3687 * bsd-kvm.c (bsd_kvm_close): Add 'self' argument.
3689 2014-02-19 Tom Tromey <tromey@redhat.com>
3691 * remote.c (remote_load): New function.
3692 (init_remote_ops): Use it.
3694 2014-02-19 Tom Tromey <tromey@redhat.com>
3696 * common/linux-btrace.c (linux_supports_btrace): Add "ops"
3698 * common/linux-btrace.h (linux_supports_btrace): Update.
3699 * remote.c (remote_supports_btrace): Add "self" argument.
3700 * target-delegates.c: Rebuild.
3701 * target.c (target_supports_btrace): Remove.
3702 * target.h (struct target_ops) <to_supports_btrace>: Add
3703 target_ops argument.
3704 (target_supports_btrace): New define.
3706 2014-02-19 Tom Tromey <tromey@redhat.com>
3708 * record-full.c (record_full_beneath_to_resume_ops)
3709 (record_full_beneath_to_resume, record_full_beneath_to_wait_ops)
3710 (record_full_beneath_to_wait)
3711 (record_full_beneath_to_store_registers_ops)
3712 (record_full_beneath_to_store_registers)
3713 (record_full_beneath_to_xfer_partial_ops)
3714 (record_full_beneath_to_xfer_partial)
3715 (record_full_beneath_to_insert_breakpoint_ops)
3716 (record_full_beneath_to_insert_breakpoint)
3717 (record_full_beneath_to_remove_breakpoint_ops)
3718 (record_full_beneath_to_remove_breakpoint)
3719 (record_full_beneath_to_stopped_by_watchpoint)
3720 (record_full_beneath_to_stopped_data_address)
3721 (record_full_beneath_to_async, tmp_to_resume_ops, tmp_to_resume)
3722 (tmp_to_wait_ops, tmp_to_wait, tmp_to_store_registers_ops)
3723 (tmp_to_store_registers, tmp_to_xfer_partial_ops)
3724 (tmp_to_xfer_partial, tmp_to_instmp_to_insert_breakpoint_ops)
3725 (tmp_to_insert_breakpoint, tmp_to_remove_breakpoint_ops)
3726 (tmp_to_remove_breakpoint, tmp_to_stopped_by_watchpoint)
3727 (tmp_to_stopped_data_address, tmp_to_async): Remove.
3728 (record_full_open_1, record_full_open): Update. Use RECORD_IS_USED.
3729 (record_full_resume, record_full_wait_1)
3730 (record_full_stopped_by_watchpoint, record_full_stopped_data_address)
3731 (record_full_store_registers, record_full_xfer_partial)
3732 (record_full_insert_breakpoint, record_full_remove_breakpoint)
3733 (record_full_async, record_full_core_xfer_partial): Use target
3735 * target-delegates.c: Rebuild.
3736 * target.c (current_xfer_partial): Remove.
3737 (update_current_target): Do not INHERIT or de_fault
3738 to_insert_breakpoint, to_remove_breakpoint,
3739 to_stopped_data_address, to_stopped_by_watchpoint, to_can_async_p,
3740 to_is_async_p, to_async. Do not set to_xfer_partial field.
3741 (default_xfer_partial): Simplify.
3742 (current_xfer_partial): Remove.
3743 (target_wait, target_resume): Simplify.
3744 (find_default_can_async_p, find_default_is_async_p): Update.
3745 (init_dummy_target): Don't set to_can_async_p, to_is_async_p,
3746 to_xfer_partial, to_stopped_by_watchpoint,
3747 to_stopped_data_address.
3748 (target_store_registers): Simplify.
3749 (forward_target_remove_breakpoint)
3750 (forward_target_insert_breakpoint): Remove.
3751 (target_remove_breakpoint, target_insert_breakpoint)
3752 (debug_to_insert_breakpoint, debug_to_remove_breakpoint): Update.
3753 * target.h (struct target_ops) <to_resume, to_wait,
3754 to_store_registers, to_insert_breakpoint, to_remove_breakpoint,
3755 to_stopped_by_watchpoint, to_stopped_data_address, to_can_async_p,
3756 to_is_async_p, to_async, to_xfer_partial>: Add TARGET_DEFAULT
3758 (forward_target_remove_breakpoint)
3759 (forward_target_insert_breakpoint): Remove.
3760 * record-btrace.c (record_btrace_remove_breakpoint): Delegate
3762 (record_btrace_insert_breakpoint): Delegate directly.
3764 2014-02-19 Tom Tromey <tromey@redhat.com>
3767 * target-delegates.c: New file.
3768 * target.c: Include target-delegates.c.
3769 (init_dummy_target): Call install_dummy_methods.
3770 (complete_target_initialization): Call install_delegators.
3771 * target.h (TARGET_DEFAULT_IGNORE, TARGET_DEFAULT_NORETURN)
3772 (TARGET_DEFAULT_RETURN, TARGET_DEFAULT_FUNC): New defines.
3773 * make-target-delegates: New file.
3775 2014-02-19 Tom Tromey <tromey@redhat.com>
3777 * record.c (find_record_target): Use find_target_at.
3778 * target.c (find_target_at): New function.
3779 * target.h (find_target_at): Declare.
3781 2014-02-19 Tom Tromey <tromey@redhat.com>
3783 * aarch64-linux-nat.c (aarch64_linux_stopped_by_watchpoint):
3785 * arm-linux-nat.c (arm_linux_stopped_by_watchpoint): Add
3787 * i386-nat.c (i386_stopped_by_watchpoint): Add 'ops' argument.
3788 * ia64-linux-nat.c (ia64_linux_stopped_by_watchpoint): Add
3790 * inf-ttrace.c (inf_ttrace_stopped_by_watchpoint): Add 'ops'
3792 * linux-nat.c (save_sigtrap): Update.
3793 (linux_nat_stopped_by_watchpoint, linux_nat_is_async_p)
3794 (linux_nat_can_async_p, linux_nat_async): Add 'ops' argument.
3795 (linux_nat_close): Update.
3796 * mips-linux-nat.c (mips_linux_stopped_by_watchpoint): Add 'ops'
3798 * ppc-linux-nat.c (ppc_linux_stopped_by_watchpoint): Add 'ops'
3800 * procfs.c (procfs_stopped_by_watchpoint): Add 'ops' argument.
3801 * record-full.c (record_full_beneath_to_stopped_by_watchpoint)
3802 (record_full_beneath_to_async, tmp_to_stopped_by_watchpoint)
3803 (tmp_to_async): Add 'ops' argument.
3804 (record_full_stopped_by_watchpoint, record_full_async)
3805 (record_full_can_async_p, record_full_is_async_p): Add 'ops'
3807 * remote-m32r-sdi.c (m32r_insert_breakpoint, m32r_remove_breakpoint)
3808 (m32r_stopped_by_watchpoint): Add 'ops' argument.
3809 * remote-mips.c (mips_stopped_by_watchpoint): Add 'ops' argument.
3810 * remote.c (remote_stopped_by_watchpoint_p, remote_can_async_p)
3811 (remote_is_async_p, remote_async): Add 'ops' argument.
3812 (remote_stopped_data_address): Update.
3813 * s390-nat.c (s390_stopped_by_watchpoint): Add 'ops' argument.
3814 * target.c (update_current_target)
3815 (find_default_can_async_p, find_default_is_async_p): Update.
3816 (init_dummy_target): Update.
3817 (debug_to_stopped_by_watchpoint): Add 'ops' argument.
3818 * target.h (struct target_ops) <to_stopped_by_watchpoint,
3819 to_can_async_p, to_is_async_p, to_async>: Add 'ops' argument.
3820 (target_can_async_p, target_is_async_p, target_async)
3821 (target_stopped_by_watchpoint): Update.
3823 2014-02-19 Yao Qi <yao@codesourcery.com>
3826 * gdbarch.sh: Remove startup_gdbarch.
3827 * gdbarch.c: Regenerated.
3828 * gdbarch.h: Likewise.
3830 2014-02-17 Kevin Buettner <kevinb@redhat.com>
3832 * rl78-tdep.c (rl78_g10_register_name): New function.
3833 (rl78_return_value): Add g10 support.
3834 (rl78_gdbarch_init): Register rl78_g10_register_name for the
3837 2014-02-17 Doug Evans <xdje42@gmail.com>
3839 * Makefile.in (SUBDIR_GUILE_OBS): Resort alphabetically.
3840 (SUBDIR_GUILE_SRCS): Ditto.
3841 (scm-gsmob.o): Ditto.
3843 2014-02-17 Yao Qi <yao@codesourcery.com>
3845 * gnu-nat.c (ILL_RPC): Declare defined function.
3847 2014-02-17 Yao Qi <yao@codesourcery.com>
3849 * gnu-nat.c (gnu_read_inferior): Change 'copy_count' type to
3850 mach_msg_type_number_t.
3851 (gnu_write_inferior): Likewise.
3853 2014-02-17 Yao Qi <yao@codesourcery.com>
3855 * gnu-nat.c (proc_get_exception_port): Use 'lu' insetad of 'd'
3857 (proc_steal_exc_port, make_proc, inf_set_pid): Likewise.
3858 (inf_validate_procs, inf_signal): Likewise.
3859 (S_exception_raise_request): Likewise.
3860 (do_mach_notify_dead_name): Likewise.
3861 (steal_exc_port): Likewise.
3862 (gnu_read_inferior): Change 'copy_count''s type to
3863 mach_msg_type_number_t.
3864 (gnu_write_inferior): Likewise. Use 'lx' instead of 'x' in
3867 2014-02-16 Thomas Schwinge <thomas@codesourcery.com>
3869 * gnu-nat.c (struct inf): Change pending_execs member to a 1-bit
3870 flag. Adjust all users; in particular...
3871 (gnu_wait): ..., don't decrement its value in here...
3872 (gnu_create_inferior): ..., and instead set the flag in here,
3873 around the startup_inferior call, and call that one with
3874 START_INFERIOR_TRAPS_EXPECTED.
3876 * gnu-nat.c (ill_rpc): Remove function; replaced with this...
3877 (ILL_RPC): ... new macro.
3878 (do_mach_notify_no_senders, do_mach_notify_port_deleted)
3879 (do_mach_notify_msg_accepted, do_mach_notify_port_destroyed)
3880 (do_mach_notify_send_once, S_proc_setmsgport_reply)
3881 (S_proc_getmsgport_reply, S_msg_sig_post_reply): Generate stub
3882 functions with ILL_RPC macro.
3883 (S_proc_pid2task_reply, S_proc_task2pid_reply)
3884 (S_proc_task2proc_reply, S_proc_proc2task_reply)
3885 (S_proc_pid2proc_reply, S_proc_getprocinfo_reply)
3886 (S_proc_getprocargs_reply, S_proc_getprocenv_reply)
3887 (S_proc_getloginid_reply, S_proc_getloginpids_reply)
3888 (S_proc_getlogin_reply, S_proc_getsid_reply)
3889 (S_proc_getsessionpgids_reply, S_proc_getsessionpids_reply)
3890 (S_proc_getsidport_reply, S_proc_getpgrp_reply)
3891 (S_proc_getpgrppids_reply, S_proc_get_tty_reply)
3892 (S_proc_getnports_reply, S_proc_is_important_reply)
3893 (S_proc_get_code_reply): New stub functions, generated with
3896 * reply_mig_hack.awk: In phase 5, keep going if we have not yet
3897 collected the type check structures.
3899 * reply_mig_hack.awk: Don't expect to see the auto keyword.
3901 2014-02-14 Doug Evans <dje@google.com>
3903 * target.c (target_write_partial): Fix result type.
3905 2014-02-14 Jose E. Marchesi <jose.marchesi@oracle.com>
3907 * sparc64-linux-nat.c (_initialize_sparc64_linux_nat): Register
3908 the proper offsets to access fpregset_t.
3910 2014-02-13 Sanimir Agovic <sanimir.agovic@intel.com>
3912 * cris-tdep.c (cris_supply_gregset): Remove zerobuf.
3913 (_initialize_cris_tdep): Remove cris_set_cmdlist, cris_show_cmdlist.
3914 * h8300-tdep.c (setmachinelist): Remove global.
3915 * hppa-tdep.c (hppa_sigtramp): Remove global.
3916 * mipsnbsd-tdep.c (sigtramp_retcode_mipsel, sigtramp_retcode_mipseb
3917 RETCODE_NWORDS, RETCODE_SIZE): Wrap code with #if 0.
3918 * ravenscar-thread.c (update_target_observer): Remove global.
3919 * rs6000-tdep.c (rs6000_gdbarch_init): Remove segment_regs.
3921 2014-02-12 Tom Tromey <tromey@redhat.com>
3923 * common/rsp-low.c: Update comments.
3924 * common/rsp-low.h: Update comments.
3926 2014-02-12 Tom Tromey <tromey@redhat.com>
3928 * common/rsp-low.c (convert_ascii_to_int): Remove.
3929 * common/rsp-low.h (convert_ascii_to_int): Don't declare.
3931 2014-02-12 Tom Tromey <tromey@redhat.com>
3933 * common/rsp-low.h (unhexify): Don't declare.
3934 * common/rsp-low.c (unhexify): Remove.
3936 2014-02-12 Tom Tromey <tromey@redhat.com>
3938 * common/rsp-low.h (convert_int_to_ascii): Don't declare.
3939 * common/rsp-low.c (convert_int_to_ascii): Remove.
3941 2014-02-12 Tom Tromey <tromey@redhat.com>
3943 * common/rsp-low.h (hexify): Don't declare.
3944 * common/rsp-low.c (hexify): Remove.
3946 2014-02-12 Tom Tromey <tromey@redhat.com>
3948 * common/rsp-low.c (hexify): Never take strlen of argument.
3950 2014-02-12 Tom Tromey <tromey@redhat.com>
3952 * common/rsp-low.c (bin2hex): Never take strlen of argument.
3953 * remote.c (extended_remote_run, remote_rcmd)
3954 (remote_download_trace_state_variable, remote_save_trace_data)
3955 (remote_set_trace_notes): Update.
3956 * tracepoint.c (encode_source_string, tfile_write_status)
3957 (tfile_write_uploaded_tsv): Update.
3959 2014-02-12 Tom Tromey <tromey@redhat.com>
3961 * tracepoint.c: Include rsp-low.h.
3962 * remote.h (hex2bin, bin2hex, unpack_varlen_hex): Don't declare.
3963 * remote.c: Include rsp-low.h.
3964 (hexchars, ishex, unpack_varlen_hex, pack_nibble, pack_hex_byte)
3965 (fromhex, hex2bin, tohex, bin2hex, remote_escape_output)
3966 (remote_unescape_input): Move to common/rsp-low.c.
3967 * common/rsp-low.h: New file.
3968 * common/rsp-low.c: New file.
3969 * Makefile.in (SFILES): Add common/rsp-low.c.
3970 (HFILES_NO_SRCDIR): Add common/rsp-low.h.
3971 (COMMON_OBS): Add rsp-low.o.
3972 (rsp-low.o): New target.
3974 2014-02-12 Tom Tromey <tromey@redhat.com>
3976 * utils.h: Include print-utils.h.
3977 (host_address_to_string, plongest, pulongest, phex, phex_nz)
3978 (int_string, core_addr_to_string, core_addr_to_string_nz)
3979 (hex_string, hex_string_custom): Don't declare.
3980 * utils.c (NUMCELLS, CELLSIZE, get_cell, decimal2str, pulongest)
3981 (plongest, thirty_two, phex, phex_nz, octal2str, hex_string)
3982 (hex_string_custom, int_string, core_addr_to_string)
3983 (core_addr_to_string_nz, host_address_to_string): Move to
3984 common/print-utils.c.
3985 * common/print-utils.h: New file.
3986 * common/print-utils.c: New file
3987 * Makefile.in (SFILES): Add common/print-utils.c.
3988 (HFILES_NO_SRCDIR): Add common/print-utils.h.
3989 (COMMON_OBS): Add print-utils.o.
3990 (print-utils.o): New target.
3992 2014-02-12 Tom Tromey <tromey@redhat.com>
3994 * nios2-tdep.c (nios2_stub_frame_base_address): Remove.
3996 2014-02-12 Mark Kettenis <kettenis@gnu.org>
3998 * sparc64obsd-tdep.c (sparc64obsd_init_abi): Call obsd_init_abi.
4000 2014-02-12 Mark Kettenis <kettenis@gnu.org>
4002 * inf-ptrace.c (inf_ptrace_xfer_partial): Return TARGET_XFER_EOF
4003 if a PT_IO ptrace request returns sucessfully but indicates that 0
4004 bytes were transferred.
4006 2014-02-12 Pedro Alves <palves@redhat.com>
4007 Kevin Buettner <kevinb@redhat.com>
4009 * gnu-v3-abi.c (build_gdb_vtable_type): Return a type marked with
4010 TYPE_INSTANCE_FLAG_CODE_SPACE.
4012 2014-02-12 Pedro Alves <palves@redhat.com>
4014 * h8300-tdep.c (pseudo_from_raw_register)
4015 (raw_from_pseudo_register): New functions.
4016 (h8300_pseudo_register_read, h8300_pseudo_register_write): Use
4019 2014-02-12 Pedro Alves <palves@redhat.com>
4021 * h8300-tdep.c (h8300_register_sim_regno): New function.
4022 (h8300_gdbarch_init): Install h8300_register_sim_regno as
4023 gdbarch_register_sim_regno hook.
4025 2014-02-12 Sanimir Agovic <sanimir.agovic@intel.com>
4027 * nios2-tdep.c (nios2_stub_frame_base): Remove global.
4029 2014-02-12 Sanimir Agovic <sanimir.agovic@intel.com>
4031 * tic6x-tdep.c (tic6x_gdbarch_init): Call frame_base_set_default.
4033 2014-02-12 Mark Kettenis <kettenis@gnu.org>
4035 * obsd-tdep.h (obsd_init_abi): New prototype.
4036 * obsd-tdep.c: Define enum with OpenBSD signal numbers.
4037 (obsd_gdb_signal_from_target, obsd_gdb_signal_to_target)
4038 (obsd_init_abi): New functions.
4039 * i386obsd-tdep.c: Include "obsd-tdep.h".
4040 (i386obsd_init_abi): Call obsd_init_abi.
4041 * amd64obsd-tdep.c: Include "obsd-tdep.h".
4042 (amd64obsd_init_abi): Call obsd_init_abi.
4043 * configure.tgt (i[34567]86-*-openbsd*, x86_64-*-openbsd*): Add
4044 obsd-tdep.c to gdb_target_obs.
4046 2014-02-11 Jose E. Marchesi <jose.marchesi@oracle.com>
4048 * sparc64-tdep.c (sparc64_store_arguments): Do not align complex
4049 double float arguments to 16-byte in the argument slots.
4051 2014-02-11 Doug Evans <xdje42@gmail.com>
4053 * configure.ac: Don't crash if pkg-config is not found and guile
4054 wasn't explicitly requested. Use AC_MSG_ERROR instead of AC_ERROR
4056 * configure: Regenerate.
4058 2014-02-11 Yao Qi <yao@codesourcery.com>
4060 * aix-thread.c (aix_thread_xfer_partial): Update comments.
4061 * auxv.c (procfs_xfer_auxv, memory_xfer_auxv): Likewise.
4062 * bsd-uthread.c (bsd_uthread_xfer_partial): Likewise.
4063 * gnu-nat.c (gnu_xfer_memory): Likewise.
4064 * inf-ptrace.c (inf_ptrace_xfer_partial): Likewise.
4065 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
4066 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
4067 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise.
4069 2014-02-11 Yao Qi <yao@codesourcery.com>
4071 * target.h (enum target_xfer_error): Rename to ...
4072 (enum target_xfer_status): ... it. New. All users updated.
4073 (enum target_xfer_status) <TARGET_XFER_OK>, <TARGET_XFER_EOF>:
4075 (TARGET_XFER_STATUS_ERROR_P): New macro.
4076 (target_xfer_error_to_string): Remove declaration.
4077 (target_xfer_status_to_string): Declare.
4078 (target_xfer_partial_ftype): Adjust it.
4079 (struct target_ops) <to_xfer_partial>: Return
4080 target_xfer_status. Add argument xfered_len. Update
4082 * target.c (target_xfer_error_to_string): Rename to ...
4083 (target_xfer_status_to_string): ... it. New. All callers
4085 (target_read_live_memory): Likewise. Call target_xfer_partial
4086 instead of target_read.
4087 (memory_xfer_live_readonly_partial): Return
4088 target_xfer_status. Add argument xfered_len.
4089 (raw_memory_xfer_partial): Likewise.
4090 (memory_xfer_partial_1): Likewise.
4091 (memory_xfer_partial): Likewise.
4092 (target_xfer_partial): Likewise. Check *XFERED_LEN is set
4093 properly. Update debug message.
4094 (default_xfer_partial, current_xfer_partial): Likewise.
4095 (target_write_partial): Likewise.
4096 (target_read_partial): Likewise. All callers updated.
4097 (read_whatever_is_readable): Likewise.
4098 (target_write_with_progress): Likewise.
4099 (target_read_alloc_1): Likewise.
4101 * aix-thread.c (aix_thread_xfer_partial): Likewise.
4102 * auxv.c (procfs_xfer_auxv): Likewise.
4103 (ld_so_xfer_auxv, memory_xfer_auxv): Likewise.
4104 * bfd-target.c (target_bfd_xfer_partial): Likewise.
4105 * bsd-kvm.c (bsd_kvm_xfer_partial): Likewise.
4106 * bsd-uthread.c (bsd_uthread_xfer_partia): Likewise.
4107 * corefile.c (read_memory): Adjust.
4108 * corelow.c (core_xfer_partial): Likewise.
4109 * ctf.c (ctf_xfer_partial): Likewise.
4110 * darwin-nat.c (darwin_read_dyld_info): Likewise. All callers
4112 (darwin_xfer_partial): Likewise.
4113 * exec.c (section_table_xfer_memory_partial): Likewise. All
4115 (exec_xfer_partial): Likewise.
4116 * exec.h (section_table_xfer_memory_partial): Update
4118 * gnu-nat.c (gnu_xfer_memory): Likewise. Assert 'res' is not
4120 (gnu_xfer_partial): Likewise.
4121 * ia64-hpux-nat.c (ia64_hpux_xfer_memory_no_bs): Likewise.
4122 (ia64_hpux_xfer_memory, ia64_hpux_xfer_uregs): Likewise.
4123 (ia64_hpux_xfer_solib_got): Likewise.
4124 * inf-ptrace.c (inf_ptrace_xfer_partial): Likewise. Change
4125 type of 'partial_len' to ULONGEST.
4126 * inf-ttrace.c (inf_ttrace_xfer_partial): Likewise.
4127 * linux-nat.c (linux_xfer_siginfo ): Likewise.
4128 (linux_nat_xfer_partial): Likewise.
4129 (linux_proc_xfer_partial, linux_xfer_partial): Likewise.
4130 (linux_proc_xfer_spu, linux_nat_xfer_osdata): Likewise.
4131 * monitor.c (monitor_xfer_memory): Likewise.
4132 (monitor_xfer_partial): Likewise.
4133 * procfs.c (procfs_xfer_partial): Likewise.
4134 * record-btrace.c (record_btrace_xfer_partial): Likewise.
4135 * record-full.c (record_full_xfer_partial): Likewise.
4136 (record_full_core_xfer_partial): Likewise.
4137 * remote-sim.c (gdbsim_xfer_memory): Likewise.
4138 (gdbsim_xfer_partial): Likewise.
4139 * remote.c (remote_write_bytes_aux): Likewise. All callers
4141 (remote_write_bytes, remote_read_bytes): Likewise. All
4143 (remote_flash_erase): Likewise. All callers updated.
4144 (remote_write_qxfer): Likewise. All callers updated.
4145 (remote_read_qxfer): Likewise. All callers updated.
4146 (remote_xfer_partial): Likewise.
4147 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
4148 (rs6000_xfer_shared_libraries): Likewise.
4149 * sol-thread.c (sol_thread_xfer_partial): Likewise.
4150 (sol_thread_xfer_partial): Likewise.
4151 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
4152 (sparc_xfer_partial): Likewise.
4153 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise. All callers
4155 (spu_xfer_partial): Likewise.
4156 * spu-multiarch.c (spu_xfer_partial): Likewise.
4157 * tracepoint.c (tfile_xfer_partial): Likewise.
4158 * windows-nat.c (windows_xfer_memory): Likewise.
4159 (windows_xfer_shared_libraries): Likewise.
4160 (windows_xfer_partial): Likewise.
4161 * valprint.c: Replace 'target_xfer_error' with
4162 'target_xfer_status' in comments.
4164 2014-02-11 Simon Marchi <simon.marchi@ericsson.com> (tiny patch)
4166 Checked in by Joel Brobecker <brobecker@adacore.com>.
4167 * mi/mi-main.c (mi_cmd_data_write_memory_bytes): Fix comment.
4169 2014-02-11 Joel Brobecker <brobecker@adacore.com>
4171 * symfile-debug.c (debug_qf_expand_symtabs_matching): Reformat
4172 function parameters.
4174 2014-02-10 Will Newton <will.newton@linaro.org>
4176 * elfread.c (elf_rel_plt_read): Look for a .got section if
4177 looking up .got.plt fails.
4178 (elf_gnu_ifunc_resolve_by_got): Call gdbarch_addr_bits_remove
4179 on address passed to elf_gnu_ifunc_record_cache.
4180 (elf_gnu_ifunc_resolve_addr): Likewise.
4181 (elf_gnu_ifunc_resolver_return_stop): Likewise.
4183 2014-02-10 Jose E. Marchesi <jose.marchesi@oracle.com>
4185 * sparc-tdep.c (sparc_in_function_epilogue_p): New function.
4186 (X_RETTURN): New macro.
4187 * sparc-tdep.h: sparc_in_function_epilogue_p prototype.
4189 * sparc64-tdep.c (sparc64_init_abi): Hook
4190 sparc_in_function_epilogue_p.
4192 2014-02-10 Gary Benson <gbenson@redhat.com>
4194 * symfile-debug.c (debug_qf_expand_symtabs_matching):
4195 Rename name_matcher to symbol_matcher.
4197 2014-02-10 Gary Benson <gbenson@redhat.com>
4199 * symfile-debug.c (debug_qf_expand_symtabs_matching):
4200 Use expand_symtabs_file_matcher_ftype and
4201 expand_symtabs_symbol_matcher_ftype.
4203 2014-02-10 Joel Brobecker <brobecker@adacore.com>
4205 * ada-lang.c (struct cache_entry, HASH_SIZE): Move definition up.
4206 (struct ada_symbol_cache): New.
4207 (ada_free_symbol_cache): Forward declare.
4208 (struct ada_pspace_data): New.
4209 (ada_pspace_data_handle): New static global.
4210 (get_ada_pspace_data, ada_pspace_data_cleanup)
4211 (ada_init_symbol_cache, ada_free_symbol_cache): New functions.
4212 (cache_space, cache): Delete, now folded inside struct
4214 (ada_get_symbol_cache): New function.
4215 (ada_clear_symbol_cache, find_entry, cache_symbol): Adjust
4217 (_initialize_ada_language): Remove initialization of cache_space.
4218 Move call to observer_attach_inferior_exit up, grouping it
4219 with the other observer registrations inside this function.
4220 Rename command to be more general. Add call to
4221 register_program_space_data_with_cleanup.
4223 2014-02-10 Joel Brobecker <brobecker@adacore.com>
4225 * ada-tasks.c (ada_tasks_new_objfile_observer): Renames
4226 ada_new_objfile_observer.
4227 (ada_tasks_normal_stop_observer): Renames ada_normal_stop_observer.
4228 (_initialize_tasks): Update uses of ada_new_objfile_observer
4229 and ada_tasks_normal_stop_observer.
4231 2014-02-10 Joel Brobecker <brobecker@adacore.com>
4233 * ada-lang.c (ada_evaluate_subexp): Set the type of the value
4234 returned by the 'Length attribute to integer.
4236 2014-02-10 Joel Brobecker <brobecker@adacore.com>
4238 * ada-lang.c (_initialize_ada_language): Initialize
4239 cache_space obstack.
4241 2014-02-10 Joel Brobecker <brobecker@adacore.com>
4243 * ada-lang.c (HASH_SIZE): New macro.
4244 (struct cache_entry): New type.
4245 (cache_space, cache): New static globals.
4246 (ada_clear_symbol_cache, find_entry): New functions.
4247 (lookup_cached_symbol, cache_symbol): Implement.
4248 (ada_new_objfile_observer, ada_free_objfile_observer): New.
4249 (_initialize_ada_language): Attach ada_new_objfile_observer
4250 and ada_free_objfile_observer.
4252 2014-02-10 Joel Brobecker <brobecker@adacore.com>
4254 * ada-lang.c (ada_add_block_symbols, add_defn_to_vec)
4255 (lookup_cached_symbol, ada_add_local_symbols): Add "const" to
4256 struct block * parameter.
4257 (ada_lookup_symbol_list_worker): Constify local variable "block".
4258 Remove cast which is no longer necessary.
4260 2014-02-10 Doug Evans <xdje42@gmail.com>
4262 Add Guile as an extension language.
4263 * NEWS: Mention Guile scripting.
4264 * Makefile.in (SUBDIR_GUILE_OBS): New variable.
4265 (SUBDIR_GUILE_SRCS, SUBDIR_GUILE_DEPS): New variables
4266 (SUBDIR_GUILE_LDFLAGS, SUBDIR_GUILE_CFLAGS): New variables.
4267 (INTERNAL_CPPFLAGS): Add GUILE_CPPFLAGS.
4268 (CLIBS): Add GUILE_LIBS.
4269 (install-guile): New rule.
4270 (guile.o): New rule.
4271 (scm-arch.o, scm-auto-load.o, scm-block.o): New rules.
4272 (scm-breakpoint.o, scm-disasm.o, scm-exception.o): New rules.
4273 (scm-frame.o, scm-iterator.o, scm-lazy-string.o): New rules.
4274 (scm-math.o, scm-objfile.o, scm-ports.o): New rules.
4275 (scm-pretty-print.o, scm-safe-call.o, scm-gsmob.o): New rules.
4276 (scm-string.o, scm-symbol.o, scm-symtab.o): New rules.
4277 (scm-type.o, scm-utils.o, scm-value.o): New rules.
4278 * configure.ac: New option --with-guile.
4279 * configure: Regenerate.
4280 * config.in: Regenerate.
4281 * auto-load.c: Remove #include "python/python.h". Add #include
4282 "gdb/section-scripts.h".
4283 (source_section_scripts): Handle Guile scripts.
4284 (_initialize_auto_load): Add name of Guile objfile script to
4285 scripts-directory help text.
4286 * breakpoint.c (condition_command): Tweak comment to include Scheme.
4287 * breakpoint.h (gdbscm_breakpoint_object): Add forward decl.
4288 (struct breakpoint): New member scm_bp_object.
4289 * defs.h (enum command_control_type): New value guile_control.
4290 * cli/cli-cmds.c: Remove #include "python/python.h". Add #include
4292 (show_user): Update comment.
4293 (_initialize_cli_cmds): Update help text for "show user". Update help
4294 text for max-user-call-depth.
4295 * cli/cli-script.c: Remove #include "python/python.h". Add #include
4297 (multi_line_command_p): Add guile_control.
4298 (print_command_lines): Handle guile_control.
4299 (execute_control_command, recurse_read_control_structure): Ditto.
4300 (process_next_line): Recognize "guile" commands.
4301 * disasm.c (gdb_disassemble_info): Make non-static.
4302 * disasm.h: #include "dis-asm.h".
4303 (struct gdbarch): Add forward decl.
4304 (gdb_disassemble_info): Declare.
4305 * extension.c: #include "guile/guile.h".
4306 (extension_languages): Add guile.
4307 (get_ext_lang_defn): Handle EXT_LANG_GDB.
4308 * extension.h (enum extension_language): New value EXT_LANG_GUILE.
4309 * gdbtypes.c (get_unsigned_type_max): New function.
4310 (get_signed_type_minmax): New function.
4311 * gdbtypes.h (get_unsigned_type_max): Declare.
4312 (get_signed_type_minmax): Declare.
4313 * guile/README: New file.
4314 * guile/guile-internal.h: New file.
4315 * guile/guile.c: New file.
4316 * guile/guile.h: New file.
4317 * guile/scm-arch.c: New file.
4318 * guile/scm-auto-load.c: New file.
4319 * guile/scm-block.c: New file.
4320 * guile/scm-breakpoint.c: New file.
4321 * guile/scm-disasm.c: New file.
4322 * guile/scm-exception.c: New file.
4323 * guile/scm-frame.c: New file.
4324 * guile/scm-gsmob.c: New file.
4325 * guile/scm-iterator.c: New file.
4326 * guile/scm-lazy-string.c: New file.
4327 * guile/scm-math.c: New file.
4328 * guile/scm-objfile.c: New file.
4329 * guile/scm-ports.c: New file.
4330 * guile/scm-pretty-print.c: New file.
4331 * guile/scm-safe-call.c: New file.
4332 * guile/scm-string.c: New file.
4333 * guile/scm-symbol.c: New file.
4334 * guile/scm-symtab.c: New file.
4335 * guile/scm-type.c: New file.
4336 * guile/scm-utils.c: New file.
4337 * guile/scm-value.c: New file.
4338 * guile/lib/gdb.scm: New file.
4339 * guile/lib/gdb/boot.scm: New file.
4340 * guile/lib/gdb/experimental.scm: New file.
4341 * guile/lib/gdb/init.scm: New file.
4342 * guile/lib/gdb/iterator.scm: New file.
4343 * guile/lib/gdb/printing.scm: New file.
4344 * guile/lib/gdb/types.scm: New file.
4345 * data-directory/Makefile.in (GUILE_SRCDIR): New variable.
4346 (VPATH): Add $(GUILE_SRCDIR).
4347 (GUILE_DIR): New variable.
4348 (GUILE_INSTALL_DIR, GUILE_FILES): New variables.
4349 (all): Add stamp-guile dependency.
4350 (stamp-guile): New rule.
4351 (clean-guile, install-guile, uninstall-guile): New rules.
4352 (install-only): Add install-guile dependency.
4353 (uninstall): Add uninstall-guile dependency.
4354 (clean): Add clean-guile dependency.
4356 2014-02-09 Doug Evans <xdje42@gmail.com>
4358 Revert this patch (which I approved, mea culpa).
4360 2014-02-08 Mark Kettenis <kettenis@gnu.org>
4362 * Makefile.in (all-lib): Remove.
4363 ($(LIBGNU) $(GNULIB_H)): Replace with gits of remove all-lib target.
4365 2014-02-09 Jan Kratochvil <jan.kratochvil@redhat.com>
4367 Fix Python stack corruption.
4368 * python/py-linetable.c (ltpy_get_pcs_for_line, ltpy_has_line): Use
4371 2014-02-08 Mark Kettenis <kettenis@gnu.org>
4373 * Makefile.in (all-lib): Remove.
4374 ($(LIBGNU) $(GNULIB_H)): Replace with gits of remove all-lib target.
4376 2014-02-07 Doug Evans <dje@google.com>
4378 * extension-priv.h (extension_language_script_ops): Add comment.
4379 (extension_language_ops): Add comment.
4380 (active_ext_lang_state): Fix typo in comment.
4382 2014-02-07 Pedro Alves <palves@redhat.com>
4384 PR breakpoints/16292
4385 * infrun.c (handle_signal_stop) <signal arrives while stepping
4386 over a breakpoint>: Switch back to the stepping thread.
4388 2014-02-07 Yao Qi <yao@codesourcery.com>
4390 * target.c (target_xfer_partial): Return zero if LEN is zero.
4392 2014-02-07 Yao Qi <yao@codesourcery.com>
4394 * auxv.c (procfs_xfer_auxv): Replace -1 with TARGET_XFER_E_IO.
4395 (ld_so_xfer_auxv): Likewise.
4396 * bfd-target.c (target_bfd_xfer_partial): Likewise.
4397 * bsd-kvm.c (bsd_kvm_xfer_partial): Likewise.
4398 * corelow.c (core_xfer_partial): Likewise.
4399 * ctf.c (ctf_xfer_partial): Likewise.
4400 * darwin-nat.c (darwin_read_dyld_info): Likewise.
4401 (darwin_xfer_partial): Likewise.
4402 * exec.c (exec_xfer_partial): Likewise.
4403 * gnu-nat.c (gnu_xfer_partial): Likewise.
4404 * ia64-hpux-nat.c (ia64_hpux_xfer_uregs): Likewise.
4405 * inf-ptrace.c (inf_ptrace_xfer_partial): Likewise.
4406 * inf-ttrace.c (inf_ttrace_xfer_partial): Likewise.
4407 * linux-nat.c (linux_xfer_siginfo): Likewise.
4408 (linux_proc_xfer_spu): Likewise.
4409 * procfs.c (procfs_xfer_partial): Likewise.
4410 * record-full.c (record_full_xfer_partial): Likewise.
4411 (record_full_core_xfer_partial): Likewise.
4412 * remote-sim.c (gdbsim_xfer_partial): Likewise.
4413 * remote.c (remote_write_qxfer): Likewise.
4414 (remote_write_qxfer, remote_read_qxfer): Likewise.
4415 (remote_xfer_partial): Likewise.
4416 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
4417 (rs6000_xfer_shared_libraries): Likewise.
4418 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
4419 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise.
4420 (spu_xfer_partial): Likewise.
4421 * target.c (memory_xfer_partial_1): Likewise.
4422 * tracepoint.c (tfile_xfer_partial): Likewise.
4423 * windows-nat.c (windows_xfer_shared_libraries): Likewise.
4424 (windows_xfer_partial): Likewise.
4426 2014-02-07 Yao Qi <yao@codesourcery.com>
4428 * gdbarch.sh (core_xfer_shared_libraries): Returns ULONGEST. Add
4430 (core_xfer_shared_libraries_aix): Likewise.
4431 * gdbarch.c, gdbarch.h: Regenerated.
4432 * i386-cygwin-tdep.c (windows_core_xfer_shared_libraries): Return
4433 ULONGEST. Change 'len_avail' type to ULONGEST.
4434 * rs6000-aix-tdep.c (rs6000_aix_ld_info_to_xml): Likewise.
4435 * rs6000-aix-tdep.h (rs6000_aix_ld_info_to_xml): Update
4437 (rs6000_aix_core_xfer_shared_libraries_aix): Return ULONGEST.
4439 2014-02-07 Yao Qi <yao@codesourcery.com>
4441 * corefile.c (memory_error): Get 'exception' from ERR and pass
4442 'exception' to throw_error.
4444 2014-02-06 Doug Evans <xdje42@gmail.com>
4446 * configure.ac (libpython checking): Remove all but python.o from
4447 CONFIG_OBS. Remove all but python.c from CONFIG_SRCS.
4448 * configure: Regenerate.
4450 * Makefile.in (SFILES): Add extension.c.
4451 (HFILES_NO_SRCDIR): Add extension.h, extension-priv.h
4452 (COMMON_OBS): Add extension.o.
4453 * extension.h: New file.
4454 * extension-priv.h: New file.
4455 * extension.c: New file.
4457 * python/python-internal.h: #include "extension.h".
4458 (gdbpy_auto_load_enabled): Declare.
4459 (gdbpy_apply_val_pretty_printer): Declare.
4460 (gdbpy_apply_frame_filter): Declare.
4461 (gdbpy_preserve_values): Declare.
4462 (gdbpy_breakpoint_cond_says_stop): Declare.
4463 (gdbpy_breakpoint_has_cond): Declare.
4464 (void source_python_script_for_objfile): Delete.
4465 * python/python.c: #include "extension-priv.h".
4466 Delete inclusion of "observer.h".
4467 (extension_language_python): Moved here and renamed from
4468 script_language_python in py-auto-load.c.
4469 Redefined to be of type extension_language_defn.
4470 (python_extension_script_ops): New global.
4471 (python_extension_ops): New global.
4472 (struct python_env): New member previous_active.
4473 (restore_python_env): Call restore_active_ext_lang.
4474 (ensure_python_env): Call set_active_ext_lang.
4475 (gdbpy_clear_quit_flag): Renamed from clear_quit_flag, made static.
4477 (gdbpy_set_quit_flag): Renamed from set_quit_flag, made static.
4479 (gdbpy_check_quit_flag): Renamed from check_quit_flag, made static.
4481 (gdbpy_eval_from_control_command): Renamed from
4482 eval_python_from_control_command, made static. New arg extlang.
4483 (gdbpy_source_script) Renamed from source_python_script, made static.
4485 (gdbpy_before_prompt_hook): Renamed from before_prompt_hook. Change
4486 result to int. New arg extlang.
4487 (gdbpy_source_objfile_script): Renamed from
4488 source_python_script_for_objfile, made static. New arg extlang.
4489 (gdbpy_start_type_printers): Renamed from start_type_printers, made
4490 static. New args extlang, extlang_printers. Change result type to
4492 (gdbpy_apply_type_printers): Renamed from apply_type_printers, made
4493 static. New arg extlang. Rename arg printers to extlang_printers
4494 and change type to ext_lang_type_printers *.
4495 (gdbpy_free_type_printers): Renamed from free_type_printers, made
4496 static. Replace argument arg with extlang, extlang_printers.
4497 (!HAVE_PYTHON, eval_python_from_control_command): Delete.
4498 (!HAVE_PYTHON, source_python_script): Delete.
4499 (!HAVE_PYTHON, gdbpy_should_stop): Delete.
4500 (!HAVE_PYTHON, gdbpy_breakpoint_has_py_cond): Delete.
4501 (!HAVE_PYTHON, start_type_printers): Delete.
4502 (!HAVE_PYTHON, apply_type_printers): Delete.
4503 (!HAVE_PYTHON, free_type_printers): Delete.
4504 (_initialize_python): Delete call to observer_attach_before_prompt.
4505 (finalize_python): Set/restore active extension language.
4506 (gdbpy_finish_initialization) Renamed from
4507 finish_python_initialization, made static. New arg extlang.
4508 (gdbpy_initialized): New function.
4509 * python/python.h: #include "extension.h". Delete #include
4510 "value.h", "mi/mi-cmds.h".
4511 (extension_language_python): Declare.
4512 (GDBPY_AUTO_FILE_NAME): Delete.
4513 (enum py_bt_status): Moved to extension.h and renamed to
4515 (enum frame_filter_flags): Moved to extension.h.
4516 (enum py_frame_args): Moved to extension.h and renamed to
4517 ext_lang_frame_args.
4518 (finish_python_initialization): Delete.
4519 (eval_python_from_control_command): Delete.
4520 (source_python_script): Delete.
4521 (apply_val_pretty_printer): Delete.
4522 (apply_frame_filter): Delete.
4523 (preserve_python_values): Delete.
4524 (gdbpy_script_language_defn): Delete.
4525 (gdbpy_should_stop, gdbpy_breakpoint_has_py_cond): Delete.
4526 (start_type_printers, apply_type_printers, free_type_printers): Delete.
4528 * auto-load.c: #include "extension.h".
4529 (GDB_AUTO_FILE_NAME): Delete.
4530 (auto_load_gdb_scripts_enabled): Make public. New arg extlang.
4531 (script_language_gdb): Delete, moved to extension.c and renamed to
4532 extension_language_gdb.
4533 (source_gdb_script_for_objfile): Delete.
4534 (auto_load_pspace_info): New member unsupported_script_warning_printed.
4535 (loaded_script): Change type of language member to
4536 struct extension_language_defn *.
4537 (init_loaded_scripts_info): Initialize
4538 unsupported_script_warning_printed.
4539 (maybe_add_script): Make static. Change type of language arg to
4540 struct extension_language_defn *.
4541 (clear_section_scripts): Reset unsupported_script_warning_printed.
4542 (auto_load_objfile_script_1): Rewrite to use extension language API.
4543 (auto_load_objfile_script): Make public. Remove support-compiled-in
4544 and auto-load-enabled checks, moved to auto_load_scripts_for_objfile.
4545 (source_section_scripts): Rewrite to use extension language API.
4546 (load_auto_scripts_for_objfile): Rewrite to use
4547 auto_load_scripts_for_objfile.
4548 (collect_matching_scripts_data): Change type of language member to
4549 struct extension_language_defn *.
4550 (auto_load_info_scripts): Change type of language arg to
4551 struct extension_language_defn *.
4552 (unsupported_script_warning_print): New function.
4553 (script_not_found_warning_print): Make static.
4554 (_initialize_auto_load): Rewrite construction of scripts-directory
4556 * auto-load.h (struct objfile): Add forward decl.
4557 (struct script_language): Delete.
4558 (struct auto_load_pspace_info): Add forward decl.
4559 (struct extension_language_defn): Add forward decl.
4560 (maybe_add_script): Delete.
4561 (auto_load_objfile_script): Declare.
4562 (script_not_found_warning_print): Delete.
4563 (auto_load_info_scripts): Update prototype.
4564 (auto_load_gdb_scripts_enabled): Declare.
4565 * python/py-auto-load.c (gdbpy_auto_load_enabled): Renamed from
4566 auto_load_python_scripts_enabled and made public.
4567 (script_language_python): Delete, moved to python.c.
4568 (gdbpy_script_language_defn): Delete.
4569 (info_auto_load_python_scripts): Update to use
4570 extension_language_python.
4572 * breakpoint.c (condition_command): Replace call to
4573 gdbpy_breakpoint_has_py_cond with call to get_breakpoint_cond_ext_lang.
4574 (bpstat_check_breakpoint_conditions): Replace call to gdbpy_should_stop
4575 with call to breakpoint_ext_lang_cond_says_stop.
4576 * python/py-breakpoint.c (gdbpy_breakpoint_cond_says_stop): Renamed
4577 from gdbpy_should_stop. Change result type to enum scr_bp_stop.
4578 New arg slang. Return SCR_BP_STOP_UNSET if py_bp_object is NULL.
4579 (gdbpy_breakpoint_has_cond): Renamed from gdbpy_breakpoint_has_py_cond.
4581 (local_setattro): Print name of extension language with existing
4584 * valprint.c (val_print, value_print): Update to call
4585 apply_ext_lang_val_pretty_printer.
4586 * cp-valprint.c (cp_print_value): Update call to
4587 apply_ext_lang_val_pretty_printer.
4588 * python/py-prettyprint.c: Remove #ifdef HAVE_PYTHON.
4589 (gdbpy_apply_val_pretty_printer): Renamed from
4590 apply_val_pretty_printer. New arg extlang.
4591 (!HAVE_PYTHON, apply_val_pretty_printer): Delete.
4593 * cli/cli-cmds.c (source_script_from_stream): Rewrite to use
4594 extension language API.
4595 * cli/cli-script.c (execute_control_command): Update to call
4596 eval_ext_lang_from_control_command.
4598 * mi/mi-cmd-stack.c (mi_cmd_stack_list_frames): Update to use
4599 enum ext_lang_bt_status values. Update call to
4600 apply_ext_lang_frame_filter.
4601 (mi_cmd_stack_list_locals): Ditto.
4602 (mi_cmd_stack_list_args): Ditto.
4603 (mi_cmd_stack_list_variables): Ditto.
4604 * mi/mi-main.c: Delete #include "python/python-internal.h".
4605 Add #include "extension.h".
4606 (mi_cmd_list_features): Replace reference to python internal variable
4607 gdb_python_initialized with call to ext_lang_initialized_p.
4609 * stack.c (backtrace_command_1): Update to use enum ext_lang_bt_status.
4610 Update to use enum ext_lang_frame_args. Update to call
4611 apply_ext_lang_frame_filter.
4612 * python/py-framefilter.c (extract_sym): Update to use enum
4614 (extract_value, py_print_type, py_print_value): Ditto.
4615 (py_print_single_arg, enumerate_args, enumerate_locals): Ditto.
4616 (py_mi_print_variables, py_print_locals, py_print_args): Ditto.
4617 (py_print_frame): Ditto.
4618 (gdbpy_apply_frame_filter): Renamed from apply_frame_filter.
4619 New arg extlang. Update to use enum ext_lang_bt_status.
4621 * top.c (gdb_init): Delete #ifdef HAVE_PYTHON call to
4622 finish_python_initialization. Replace with call to
4623 finish_ext_lang_initialization.
4625 * typeprint.c (do_free_global_table): Update to call
4626 free_ext_lang_type_printers.
4627 (create_global_typedef_table): Update to call
4628 start_ext_lang_type_printers.
4629 (find_global_typedef): Update to call apply_ext_lang_type_printers.
4630 * typeprint.h (struct ext_lang_type_printers): Add forward decl.
4631 (type_print_options): Change type of global_printers from "void *"
4632 to "struct ext_lang_type_printers *".
4634 * value.c (preserve_values): Update to call preserve_ext_lang_values.
4635 * python/py-value.c: Remove #ifdef HAVE_PYTHON.
4636 (gdbpy_preserve_values): Renamed from preserve_python_values.
4638 (!HAVE_PYTHON, preserve_python_values): Delete.
4640 * utils.c (quit_flag): Delete, moved to extension.c.
4641 (clear_quit_flag, set_quit_flag, check_quit_flag): Delete, moved to
4644 * eval.c: Delete #include "python/python.h".
4645 * main.c: Delete #include "python/python.h".
4647 * defs.h: Update comment.
4649 2014-02-06 Joel Brobecker <brobecker@adacore.com>
4653 2014-02-05 Mark Kettenis <kettenis@gnu.org>
4655 * c-exp.y (YYPRINT, c_print_token): Only define if YYBISON is
4658 2014-02-05 Yao Qi <yao@codesourcery.com>
4660 * remote.c (remote_pass_signals): Remove local 'buf' and use
4662 (remote_program_signals): Likewise.
4664 2014-02-05 Yao Qi <yao@codesourcery.com>
4666 * ctf.c: Include "inferior.h" and "gdbthread.h".
4667 (CTF_PID): A new macro.
4668 (ctf_open): Call inferior_appeared and add_thread_silent.
4669 (ctf_close): Call exit_inferior_silent and set inferior_ptid.
4670 (ctf_thread_alive): New function.
4671 (init_ctf_ops): Install ctf_thread_alive to to_thread_alive.
4673 2014-02-05 Yao Qi <yao@codesourcery.com>
4677 2013-05-24 Yao Qi <yao@codesourcery.com>
4679 * tracepoint.c (TFILE_PID): Remove.
4680 (tfile_open): Don't add thread and inferior.
4681 (tfile_close): Don't set 'inferior_ptid'. Don't call
4682 exit_inferior_silent.
4683 (tfile_thread_alive): Remove.
4684 (init_tfile_ops): Don't set field 'to_thread_alive' of
4687 2014-02-04 Christian Eggers <ceggers@gmx.de> (tiny change)
4689 * remote.c (remote_start_remote): Call remote_check_symbols even
4690 if only symbol-file (not file) has been given.
4692 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
4694 * gdbarch.sh (skip_entrypoint): New callback.
4695 * gdbarch.c, gdbarch.h: Regenerate.
4696 * symtab.c (skip_prologue_sal): Call gdbarch_skip_entrypoint.
4697 * infrun.c (fill_in_stop_func): Likewise.
4698 * ppc-linux-tdep.c: Include "elf/ppc64.h".
4699 (ppc_elfv2_elf_make_msymbol_special): New function.
4700 (ppc_elfv2_skip_entrypoint): Likewise.
4701 (ppc_linux_init_abi): Install them for ELFv2.
4703 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
4705 * ppc-sysv-tdep.c (ppc64_aggregate_candidate): New routine.
4706 (ppc64_elfv2_abi_homogeneous_aggregate): Likewise.
4707 (ppc64_sysv_abi_push_param): Handle ELFv2 homogeneous structs.
4708 (ppc64_sysv_abi_return_value): Likewise. Also, handle small
4709 structures returned in GPRs.
4711 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
4713 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_dummy_call): Use correct
4714 offset to the stack parameter list for the ELFv2 ABI.
4716 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
4718 * ppc-linux-tdep.c (ppc_linux_init_abi): Only call
4719 set_gdbarch_convert_from_func_ptr_addr and
4720 set_gdbarch_elf_make_msymbol_special for ELFv1.
4721 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_param): Only handle
4722 function descriptors on ELFv1.
4723 (ppc64_sysv_abi_push_dummy_call): Likewise. On ELFv2,
4724 set up r12 at function entry.
4726 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
4728 * ppc-tdep.h (enum powerpc_elf_abi): New data type.
4729 (struct gdbarch_tdep): New member elf_abi.
4731 * rs6000-tdep.c: Include "elf/ppc64.h".
4732 (rs6000_gdbarch_init): Detect ELF ABI version.
4734 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
4736 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_freg): Use correct order
4737 within a register pair holding a DFP 128-bit value on little-endian.
4738 (ppc64_sysv_abi_return_value_base): Likewise.
4739 * rs6000-tdep.c (dfp_pseudo_register_read): Likewise.
4740 (dfp_pseudo_register_write): Likewise.
4742 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
4744 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_freg): Use correct
4745 offset on little-endian when passing _Decimal32.
4746 (ppc64_sysv_abi_return_value_base): Likewise for return values.
4748 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
4750 * rs6000-tdep.c (efpr_pseudo_register_read): Use correct offset
4751 of the overlapped FP register within the VSX register on little-
4753 (efpr_pseudo_register_write): Likewise.
4755 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
4757 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_val): Use correct
4758 offset on little-endian when passing small structures.
4760 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
4762 * ppc-sysv-tdep.c (get_decimal_float_return_value): Update comment.
4763 (struct ppc64_sysv_argpos): New data structure.
4764 (ppc64_sysv_abi_push_float): Remove.
4765 (ppc64_sysv_abi_push_val): New function.
4766 (ppc64_sysv_abi_push_integer): Likewise.
4767 (ppc64_sysv_abi_push_freg): Likewise.
4768 (ppc64_sysv_abi_push_vreg): Likewise.
4769 (ppc64_sysv_abi_push_param): Likewise.
4770 (ppc64_sysv_abi_push_dummy_call): Refactor to use those new routines.
4771 (ppc64_sysv_abi_return_value_base): New function.
4772 (ppc64_sysv_abi_return_value): Refactor to use it.
4774 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
4776 * NEWS: Document new target powerpc64le-*-linux*.
4778 2014-02-04 Mark Kettenis <kettenis@gnu.org>
4780 * sparc64obsd-tdep.c (sparc64obsd_gregset): New variable.
4781 (sparc64obsd_supply_gregset): Handle registers sets used in ELF
4783 (sparc64obsd_init_abi): Adjust minimum size of the general purpose
4784 register set used in ELF core dumps. Add floating-point register set.
4786 2014-02-03 Kevin Buettner <kevinb@redhat.com>
4788 * mn10300-tdep.c (mn10300_dwarf2_reg_to_regnum): Rewrite
4789 dwarf2_to_gdb[] table using symbolic constants. Adjust
4790 penultimate entry from number representing the PC register
4791 to symbolic constant representing the MDR register. Add
4792 constant for the PC register to the end of the table.
4794 2014-02-03 Mark Kettenis <kettenis@gnu.org>
4796 * bsd-kvm.c: Include <sys/param.h>
4798 2014-02-03 Mark Kettenis <kettenis@gnu.org>
4800 * sparc64nbsd-nat.c (sparc64nbsd_supply_fpregset): Fix prototype.
4802 2014-01-31 Joel Brobecker <brobecker@adacore.com>
4804 * ada-lang.h (clear_ada_sym_cache): Delete.
4806 2014-01-30 Ulrich Weigand <uweigand@de.ibm.com>
4808 * auxv.c (fprint_target_auxv): Handle AT_HWCAP2.
4810 2014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
4812 * sparc64-linux-tdep.c (sparc64_linux_step_trap): Get PC from
4813 the sigreturn register save area only if the syscall is
4816 2014-01-29 Joel Brobecker <brobecker@adacore.com>
4818 * valops.c (value_slice): Minor reformatting.
4820 2014-01-28 Ulrich Weigand <uweigand@de.ibm.com>
4822 * ppc64-tdep.c (ppc64_standard_linkage7): Fix typo.
4824 2014-01-28 Joel Brobecker <brobecker@adacore.com>
4826 * ada-lang.c (maint_set_ada_cmdlist, maint_show_ada_cmdlist):
4828 (maint_set_ada_cmd, maint_show_ada_cmd): New functions.
4829 (ada_ignore_descriptive_types_p): New static global.
4830 (find_parallel_type_by_descriptive_type): Return immediately
4831 if ada_ignore_descriptive_types_p is set.
4832 (_initialize_ada_language): Register new commands "maintenance
4833 set ada", "maintenance show ada", "maintenance set ada
4834 ignore-descriptive-types" and "maintenance show ada
4835 ignore-descriptive-types".
4836 * NEWS: Add entry for new "maint ada set/show
4837 ignore-descriptive-types" commands.
4839 2014-01-27 Markus Metzger <markus.t.metzger@intel.com>
4841 * record-btrace.c (record_btrace_close): Call btrace_teardown
4844 2014-01-27 Joel Brobecker <brobecker@adacore.com>
4846 * ada-lang.c: Remove "#ifdef UI_OUT" condition for including
4849 2014-01-27 Joel Brobecker <brobecker@adacore.com>
4851 * ada-typeprint (type_is_full_subrange_of_target_type):
4853 (print_range): Add parameter bounds_prefered_p. If not set,
4854 try printing range types using the name of their base type.
4855 (print_range_type): Add parameter bounds_prefered_p.
4856 Use it in call to print_range.
4857 (print_array_type, ada_print_type): Update calls to print_range
4858 and print_range_type.
4860 2014-01-27 Joel Brobecker <brobecker@adacore.com>
4862 * ada-typeprint.c (print_array_type, print_choices, print_range)
4863 (print_range_bound, print_dynamic_range_bound, print_range_type):
4866 2014-01-27 Joel Brobecker <brobecker@adacore.com>
4868 * ada-typeprint.c (print_range): Add missing empty line
4869 after local declaration.
4871 2014-01-27 Joel Brobecker <brobecker@adacore.com>
4873 * ada-valprint.c (print_optional_low_bound): Get index_type's
4874 target type for as long as it is a TYPE_CODE_RANGE.
4876 2014-01-27 Joel Brobecker <brobecker@adacore.com>
4878 * procfs.c (procfs_make_note_section): Remove assertion and
4881 2014-01-24 Yao Qi <yao@codesourcery.com>
4883 * remote.c (remote_read_bytes): Change type of len to ULONGEST.
4884 * corelow.c (get_core_siginfo): Likewise.
4886 2014-01-24 Yao Qi <yao@codesourcery.com>
4888 * remote.c (remote_write_bytes_aux): Change type of 'len' to
4889 ULONGEST. Don't check 'len' is negative.
4890 (remote_write_bytes): Change type of 'len' to ULONGEST.
4892 2014-01-23 Tom Tromey <tromey@redhat.com>
4895 * python/lib/gdb/FrameDecorator.py: (FrameVars.fetch_frame_args):
4896 Handle exception from frame.block.
4897 (FrameVars.fetch_frame_locals): Likewise.
4899 2014-01-23 Tom Tromey <tromey@redhat.com>
4902 * python/py-framefilter.c (py_print_frame): Don't call Py_DECREF
4903 on a NULL pointer. Move "goto error" to correct place.
4905 2014-01-23 Tom Tromey <tromey@redhat.com>
4908 * python/py-framefilter.c (apply_frame_filter): Call
4909 ensure_python_env after computing gdbarch.
4911 2014-01-23 Yao Qi <yao@codesourcery.com>
4913 * target.c (raw_memory_xfer_partial): Change argument type
4914 from void * to gdb_byte *.
4915 (memory_xfer_partial_1, memory_xfer_partial): Likewise.
4917 2014-01-22 Doug Evans <dje@google.com>
4919 New gdbserver option --debug-format=timestamp.
4922 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
4924 * syscalls/s390x-linux.xml: New file.
4925 * syscalls/s390-linux.xml: New file.
4926 * s390-linux-tdep.c (XML_SYSCALL_FILENAME_S390): New macro.
4927 (XML_SYSCALL_FILENAME_S390X): Likewise.
4928 (op_svc): New enum value for SVC opcode.
4929 (s390_sigtramp_frame_sniffer): Replace literal by 'op_svc'.
4930 (s390_linux_get_syscall_number): New function.
4931 (s390_gdbarch_init): Register '*get_syscall_number' and the
4932 syscall xml file name.
4933 * data-directory/Makefile.in (SYSCALLS_FILES): Add
4934 "s390-linux.xml" and "s390x-linux.xml".
4935 * NEWS: Announce new feature.
4937 2014-01-22 Baruch Siach <baruch@tkos.co.il>
4939 * xtensa-tdep.h (xtensa_elf_greg_t): Change type to uint32_t.
4941 2014-01-22 Pedro Alves <palves@redhat.com>
4943 * xtensa-config.c: Include defs.h.
4945 2014-01-22 Joel Brobecker <brobecker@adacore.com>
4947 * common/common-utils.h: Add "ARI:" comment beside __func__
4950 2014-01-22 Joel Brobecker <brobecker@adacore.com>
4952 * common/common-utils.h (FUNCTION_NAME): Expand the macro's
4953 documentation a bit.
4955 2014-01-21 Roland McGrath <mcgrathr@google.com>
4957 * configure.ac: Call AM_PROG_INSTALL_STRIP.
4958 * configure: Regenerate.
4959 * aclocal.m4: Regenerate.
4960 * Makefile.in (install_sh, INSTALL_STRIP_PROGRAM, STRIP):
4961 New substituted variables.
4962 (install-strip): New target.
4963 (INSTALL_SCRIPT): New substituted variable.
4964 (FLAGS_TO_PASS): Add it.
4965 (install-only): Use $(INSTALL_SCRIPT) rather than
4966 $(INSTALL_PROGRAM) for gcore.
4968 2014-01-20 Tom Tromey <tromey@redhat.com>
4970 * cli/cli-decode.h (struct cmd_list_element): Move all bitfields
4973 2014-01-20 Tom Tromey <tromey@redhat.com>
4975 * cli/cli-decode.c (add_cmd, deprecate_cmd, add_alias_cmd)
4976 (add_setshow_cmd_full, delete_cmd, lookup_cmd_1)
4977 (deprecated_cmd_warning, complete_on_cmdlist): Update.
4978 * cli/cli-decode.h (CMD_DEPRECATED, DEPRECATED_WARN_USER)
4979 (MALLOCED_REPLACEMENT, DOC_ALLOCATED): Remove.
4980 (struct cmd_list_element) <flags>: Remove.
4981 <cmd_deprecated, deprecated_warn_user, malloced_replacement,
4982 doc_allocated>: New fields.
4983 <hook_in, allow_unknown, abbrev_flag, type, var_type>: Now
4985 * maint.c (maintenance_do_deprecate): Update.
4986 * top.c (execute_command): Update.
4988 2014-01-20 Baruch Siach <baruch@tkos.co.il>
4990 * xtensa-linux-nat.c: Include asm/ptrace.h.
4992 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
4994 * Makefile.in (SFILES): Add d-support.c.
4995 (COMMON_OBS): Add d-support.o.
4996 * d-lang.h (d_parse_symbol): Add comment, now defined in
4998 * d-lang.c (parse_call_convention)
4999 (parse_attributes, parse_function_types)
5000 (parse_function_args, parse_type, parse_identifier)
5001 (call_convention_p, d_parse_symbol): Move functions to ...
5002 * d-support.c: ... New file.
5004 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
5006 * d-lang.h (d_parse_symbol): Add declaration.
5007 * d-lang.c (extract_identifiers)
5008 (extract_type_info): Remove functions.
5009 (parse_call_convention, parse_attributes)
5010 (parse_function_types, parse_function_args)
5011 (parse_type, parse_identifier, call_convention_p)
5012 (d_parse_symbol): New functions.
5013 (d_demangle): Use d_parse_symbol to demangle D symbols.
5015 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
5017 * d-lang.h (struct builtin_d_type): New data type.
5018 (builtin_d_type): Add declaration.
5019 * d-lang.c (d_language_arch_info, build_d_types)
5020 (builtin_d_type): New functions.
5021 (enum d_primitive_types): New data type.
5022 (d_language_defn): Change c_language_arch_info to
5023 d_language_arch_info.
5024 (d_type_data): New static variable.
5025 (_initialize_d_language): Initialize d_type_data.
5027 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
5029 * d-lang.h (d_main_name): Add declaration.
5030 * d-lang.c (d_main_name): New function.
5031 * symtab.c (find_main_name): Add call to d_main_name.
5033 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
5035 * d-lang.c (d_language_defn): Change macro_expansion_c to
5038 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
5040 * MAINTAINERS: Add myself as a write-after-approval maintainer.
5042 2014-01-17 Sergio Durigan Junior <sergiodj@redhat.com>
5044 * breakpoint.c (insert_bp_location): Add "volatile" keyword to "struct
5045 gdb_exception" declaration.
5046 * remote.c (getpkt_or_notif_sane): Likewise.
5048 2014-01-17 Doug Evans <dje@google.com>
5050 * common/gdb_vecs.c (delim_string_to_char_ptr_vec_append): New
5051 function, contents of dirnames_to_char_ptr_vec_append moved here.
5052 (delim_string_to_char_ptr_vec): New function.
5053 (dirnames_to_char_ptr_vec_append): Rewrite.
5054 * common/gdb_vecs.h (delim_string_to_char_ptr_vec): Declare.
5056 2014-01-17 Doug Evans <dje@google.com>
5058 * common/common-utils.h (FUNCTION_NAME): Renamed from ASSERT_FUNCTION,
5060 * common/gdb_assert.h (ASSERT_FUNCTION): ... from here.
5061 #include "common-utils.h".
5062 (gdb_assert, gdb_assert_fail, gdb_assert_not_reached): Update.
5063 * common/vec.h (VEC_ASSERT_PASS): Update.
5064 * darwin-nat.h: Replace #include of gdb_assert.h with common-utils.h.
5065 (MACH_CHECK_ERROR): Update.
5067 2014-01-17 Simon Marchi <simon.marchi@ericsson.com>
5069 * gdbarch.sh (gdbarch_address_class_name_to_type_flags): Add
5071 * gdbarch.h: Regenerate.
5073 2014-01-16 Tom Tromey <tromey@redhat.com>
5075 * value.c (struct value) <regnum>: Move earlier.
5077 2014-01-16 Tom Tromey <tromey@redhat.com>
5079 * remote.c (extended_remote_create_inferior): Rename from
5080 extended_remote_create_inferior_1. Add "ops" argument. Remove
5083 2014-01-16 Pedro Alves <palves@redhat.com>
5085 * s390-linux-tdep.c (s390_frame_unwind_cache): Swallow
5086 NOT_AVAILABLE_ERROR errors while parsing the prologue or reading
5089 2014-01-16 Doug Evans <dje@google.com>
5091 * dwarf2read.c (open_and_init_dwp_file): Fix typo in comment.
5093 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5095 * btrace.h (btrace_thread_flag): New.
5096 (struct btrace_thread_info) <flags>: New.
5097 * record-btrace.c (record_btrace_resume_thread)
5098 (record_btrace_find_thread_to_move, btrace_step_no_history)
5099 (btrace_step_stopped, record_btrace_start_replaying)
5100 (record_btrace_step_thread, record_btrace_decr_pc_after_break)
5101 (record_btrace_find_resume_thread): New.
5102 (record_btrace_resume, record_btrace_wait): Extend.
5103 (record_btrace_can_execute_reverse): New.
5104 (record_btrace_open): Fail in non-stop mode.
5105 (record_btrace_set_replay): Split into this, ...
5106 (record_btrace_stop_replaying): ... this, ...
5107 (record_btrace_clear_histories): ... and this.
5108 (init_record_btrace_ops): Init to_can_execute_reverse.
5109 * NEWS: Announce it.
5111 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5113 * target.h (struct target_ops) <to_decr_pc_after_break>: New.
5114 (forward_target_decr_pc_after_break)
5115 (target_decr_pc_after_break): New.
5116 * target.c (forward_target_decr_pc_after_break)
5117 (target_decr_pc_after_break): New.
5118 * aix-thread.c (aix_thread_wait): Call target_decr_pc_after_break
5119 instead of gdbarch_decr_pc_after_break.
5120 * darwin-nat.c (cancel_breakpoint): Call target_decr_pc_after_break
5121 instead of gdbarch_decr_pc_after_break.
5122 * infrun.c (adjust_pc_after_break): Call target_decr_pc_after_break
5123 instead of gdbarch_decr_pc_after_break.
5124 * linux-nat.c (cancel_breakpoint): Call target_decr_pc_after_break
5125 instead of gdbarch_decr_pc_after_break.
5126 * linux-thread-db.c (check_event): Call target_decr_pc_after_break
5127 instead of gdbarch_decr_pc_after_break.
5128 * record-full.c (record_full_wait_1): Call target_decr_pc_after_break
5129 instead of gdbarch_decr_pc_after_break.
5131 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5133 * btrace.c: Include regcache.h.
5134 (btrace_add_pc): New.
5135 (btrace_enable): Call btrace_add_pc.
5136 (btrace_is_empty): New.
5137 * btrace.h (btrace_is_empty): New.
5138 * record-btrace.c (require_btrace, record_btrace_info): Call
5141 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5143 * common/linux-btrace.c (perf_event_read_bts, linux_read_btrace):
5144 Support delta reads.
5145 (linux_disable_btrace): Change return type.
5146 * common/linux-btrace.h (linux_read_btrace): Change parameters
5147 and return type to allow error reporting. Update users.
5148 (linux_disable_btrace): Change return type. Update users.
5149 * common/btrace-common.h (btrace_read_type) <BTRACE_READ_DELTA>:
5151 (btrace_error): New.
5152 (btrace_block) <begin>: Comment on BEGIN == 0.
5153 * btrace.c (btrace_compute_ftrace): Start from the end of
5155 (btrace_stitch_trace, btrace_clear_history): New.
5156 (btrace_fetch): Read delta trace, return if replaying.
5157 (btrace_clear): Move clear history code to btrace_clear_history.
5158 (parse_xml_btrace): Throw an error if parsing failed.
5159 * target.h (struct target_ops) <to_read_btrace>: Change parameters
5160 and return type to allow error reporting.
5161 (target_read_btrace): Change parameters and return type to allow
5163 * target.c (target_read_btrace): Update.
5164 * remote.c (remote_read_btrace): Support delta reads. Pass
5166 * NEWS: Announce it.
5168 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5170 * record.h (record_btrace_frame_unwind)
5171 (record_btrace_tailcall_frame_unwind): New declarations.
5172 * dwarf2-frame: Include record.h
5173 (dwarf2_frame_cfa): Throw an error for btrace frames.
5174 * record-btrace.c: Include hashtab.h.
5175 (btrace_get_bfun_name): New.
5176 (btrace_call_history): Call btrace_get_bfun_name.
5177 (struct btrace_frame_cache): New.
5179 (bfcache_hash, bfcache_eq, bfcache_new): New.
5180 (btrace_get_frame_function): New.
5181 (record_btrace_frame_unwind_stop_reason): Allow unwinding.
5182 (record_btrace_frame_this_id): Compute own id.
5183 (record_btrace_frame_prev_register): Provide PC, throw_error
5184 for all other registers.
5185 (record_btrace_frame_sniffer): Detect btrace frames.
5186 (record_btrace_tailcall_frame_sniffer): New.
5187 (record_btrace_frame_dealloc_cache): New.
5188 (record_btrace_frame_unwind): Add new functions.
5189 (record_btrace_tailcall_frame_unwind): New.
5190 (_initialize_record_btrace): Allocate cache.
5191 * btrace.c (btrace_clear): Call reinit_frame_cache.
5192 * NEWS: Announce it.
5194 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5196 * record-btrace.c (record_btrace_set_replay)
5197 (record_btrace_goto_begin, record_btrace_goto_end)
5198 (record_btrace_goto): New.
5199 (init_record_btrace_ops): Initialize them.
5200 * NEWS: Announce it.
5202 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5204 * record-btrace.c (record_btrace_find_new_threads)
5205 (record_btrace_thread_alive): New.
5206 (init_record_btrace_ops): Initialize to_find_new_threads and
5209 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5211 * record-btrace.c (record_btrace_resume): New.
5212 (record_btrace_wait): New.
5213 (init_record_btrace_ops): Initialize to_wait and to_resume.
5215 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5217 * record-btrace.c (record_btrace_xfer_partial)
5218 (record_btrace_insert_breakpoint, record_btrace_remove_breakpoint)
5219 (record_btrace_allow_memory_access): New.
5220 (init_record_btrace_ops): Initialize new methods.
5221 * target.c (raw_memory_xfer_partial): Bail out if target reports
5222 that this memory is not available.
5224 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5226 * target.h (target_ops) <to_insert_breakpoint>
5227 <to_remove_breakpoint>: Add target_ops parameter.
5228 (forward_target_insert_breakpoint): New.
5229 (forward_target_remove_breakpoint): New.
5230 (memory_remove_breakpoint, memory_insert_breakpoint):
5231 Add target_ops parameter.
5232 * target.c (target_insert_breakpoint): Split into this and ...
5233 (forward_target_insert_breakpoint): ... this.
5234 (target_remove_breakpoint): Split into this and ...
5235 (forward_target_remove_breakpoint): ... this.
5236 (debug_to_insert_breakpoint): Add target_ops parameter.
5237 Call forward_target_insert_breakpoint.
5238 (debug_to_remove_breakpoint): Add target_ops parameter.
5239 Call forward_target_remove_breakpoint.
5240 (update_current_target): Do not inherit or default to_insert_breakpoint
5241 and to_remove_breakpoint.
5242 * corelow.c (ignore): Add target_ops parameter.
5243 * exec.c (ignore): Add target_ops parameter.
5244 * mem-break.c (memory_insert_breakpoint, memory_remove_breakpoint):
5245 Add target_ops parameter.
5246 * monitor.c (monitor_insert_breakpoint, monitor_remove_breakpoint):
5247 Add target_ops parameter.
5248 * nto-procfs.c (procfs_insert_breakpoint, procfs_remove_breakpoint):
5249 Add target_ops parameter.
5250 * record-full.c (record_full_beneath_to_insert_breakpoint)
5251 (record_full_beneath_to_remove_breakpoint, tmp_to_insert_breakpoint)
5252 (tmp_to_remove_breakpoint, record_full_insert_breakpoint)
5253 (record_full_remove_breakpoint, record_full_core_insert_breakpoint)
5254 (record_full_core_remove_breakpoint): Add target_ops parameter.
5256 (record_full_beneath_to_insert_breakpoint_ops)
5257 (record_full_beneath_to_remove_breakpoint_ops)
5258 (tmp_to_insert_breakpoint_ops, tmp_to_remove_breakpoint_ops): New.
5259 (record_full_open): Initialize tmp_to_insert_breakpoint_ops,
5260 tmp_to_remove_breakpoint_ops,
5261 record_full_beneath_to_insert_breakpoint_ops, and
5262 record_full_beneath_to_remove_breakpoint_ops.
5263 * remote-m32r-sdi.c (m32r_insert_breakpoint)
5264 (m32r_remove_breakpoint): Add target_ops parameter.
5265 * remote-mips.c (mips_insert_breakpoint, mips_remove_breakpoint):
5266 Add target_ops parameter.
5267 * remote.c (remote_insert_breakpoint, remote_remove_breakpoint):
5268 Add target_ops parameter.
5270 2014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
5271 Markus Metzger <markus.t.metzger@intel.com>
5273 * record-btrace.c: Include frame-unwind.h.
5274 (record_btrace_frame_unwind_stop_reason)
5275 (record_btrace_frame_this_id, record_btrace_frame_prev_register)
5276 (record_btrace_frame_sniffer, record_btrace_frame_unwind):
5278 (init_record_btrace_ops): Install it.
5280 2014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
5282 * frame.c (get_frame_unwind_stop_reason): Unconditionally call
5285 2014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
5287 * dwarf2-frame.c (dwarf2_frame_cfa): Move UNWIND_UNAVAILABLE check
5290 2014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
5292 * frame-unwind.c: Include target.h.
5293 (frame_unwind_try_unwinder): New function with code from ...
5294 (frame_unwind_find_by_frame): ... here. New variable
5295 unwinder_from_target, call also target_get_unwinder)
5296 (target_get_tailcall_unwinder, and frame_unwind_try_unwinder for it.
5297 * target.c (target_get_unwinder, target_get_tailcall_unwinder): New.
5298 * target.h (struct target_ops): New fields to_get_unwinder and
5299 to_get_tailcall_unwinder.
5300 (target_get_unwinder, target_get_tailcall_unwinder): New declarations.
5302 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5304 * record-btrace.c (record_btrace_fetch_registers)
5305 (record_btrace_store_registers)
5306 (record_btrace_to_prepare_to_store): New.
5307 (init_record_btrace_ops): Add the above.
5309 2014-01-16 Tom Tromey <tromey@redhat.com>
5311 * windows-nat.c (windows_prepare_to_store): Add 'self' argument.
5312 * target.h (struct target_ops) <to_prepare_to_store>: Add
5314 (target_prepare_to_store): Add argument.
5315 * target.c (debug_to_prepare_to_store): Add argument.
5316 (update_current_target): Update.
5317 * remote.c (remote_prepare_to_store): Add 'self' argument.
5318 * remote-sim.c (gdbsim_prepare_to_store): Add 'self' argument.
5319 * remote-mips.c (mips_prepare_to_store): Add 'self' argument.
5320 * remote-m32r-sdi.c (m32r_prepare_to_store): Add 'self' argument.
5321 * record-full.c (record_full_core_prepare_to_store): Add 'self'
5323 * ravenscar-thread.c (ravenscar_prepare_to_store): Add argument.
5324 * nto-procfs.c (procfs_prepare_to_store): Add 'self' argument.
5325 * monitor.c (monitor_prepare_to_store): Add 'self' argument.
5326 * inf-child.c (inf_child_prepare_to_store): Add 'self' argument.
5327 * go32-nat.c (go32_prepare_to_store): Add 'self' argument.
5329 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5331 * btrace.h (replay) <replay>: New.
5332 (btrace_is_replaying): New.
5333 * btrace.c (btrace_clear): Free replay iterator.
5334 (btrace_is_replaying): New.
5335 * record-btrace.c (record_btrace_is_replaying): New.
5336 (record_btrace_info): Print insn number if replaying.
5337 (record_btrace_insn_history): Start at replay position.
5338 (record_btrace_call_history): Start at replay position.
5339 (init_record_btrace_ops): Init to_record_is_replaying.
5341 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5343 * record-btrace.c (record_btrace_insn_history_range): Include
5345 (record_btrace_insn_history_from): Adjust range.
5346 (record_btrace_call_history_range): Include
5348 (record_btrace_call_history_from): Adjust range.
5349 * NEWS: Announce changes.
5351 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5353 * record.h (enum record_print_flag)
5354 <record_print_indent_calls>: New.
5355 * record.c (get_call_history_modifiers): Recognize /c modifier.
5356 (_initialize_record): Document /c modifier.
5357 * record-btrace.c (btrace_call_history): Add btinfo parameter.
5358 Reorder fields. Optionally indent the function name. Update
5360 * NEWS: Announce changes.
5362 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5364 * common/linux-btrace.c (linux_enable_btrace): Enlarge buffer.
5366 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5368 * btrace.c (ftrace_new_function): Start counting at one.
5369 * record-btrace.c (record_btrace_info): Adjust number of calls
5371 * NEWS: Announce it.
5373 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5375 * record-btrace.c (btrace_call_history_insn_range): Print
5376 insn range as [begin, end].
5378 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5380 * btrace.h (struct btrace_func_link): New.
5381 (enum btrace_function_flag): New.
5382 (struct btrace_inst): Rename to ...
5383 (struct btrace_insn): ...this. Update all users.
5384 (struct btrace_func) <ibegin, iend>: Remove.
5385 (struct btrace_func_link): New.
5386 (struct btrace_func): Rename to ...
5387 (struct btrace_function): ...this. Update all users.
5388 (struct btrace_function) <segment, flow, up, insn, insn_offset)
5389 (number, level, flags>: New.
5390 (struct btrace_insn_iterator): Rename to ...
5391 (struct btrace_insn_history): ...this.
5393 (struct btrace_insn_iterator, btrace_call_iterator): New.
5394 (struct btrace_target_info) <btrace, itrace, ftrace>: Remove.
5395 (struct btrace_target_info) <begin, end, level>
5396 <insn_history, call_history>: New.
5397 (btrace_insn_get, btrace_insn_number, btrace_insn_begin)
5398 (btrace_insn_end, btrace_insn_prev, btrace_insn_next)
5399 (btrace_insn_cmp, btrace_find_insn_by_number, btrace_call_get)
5400 (btrace_call_number, btrace_call_begin, btrace_call_end)
5401 (btrace_call_prev, btrace_call_next, btrace_call_cmp)
5402 (btrace_find_function_by_number, btrace_set_insn_history)
5403 (btrace_set_call_history): New.
5404 * btrace.c (btrace_init_insn_iterator)
5405 (btrace_init_func_iterator, compute_itrace): Remove.
5406 (ftrace_print_function_name, ftrace_print_filename)
5407 (ftrace_skip_file): Change
5409 (ftrace_init_func): Remove.
5410 (ftrace_debug): Use new btrace_function fields.
5411 (ftrace_function_switched): Also consider gaining and
5412 losing symbol information).
5413 (ftrace_print_insn_addr, ftrace_new_call, ftrace_new_return)
5414 (ftrace_new_switch, ftrace_find_caller, ftrace_new_function)
5415 (ftrace_update_caller, ftrace_fixup_caller, ftrace_new_tailcall):
5417 (ftrace_new_function): Move. Remove debug print.
5418 (ftrace_update_lines, ftrace_update_insns): New.
5419 (ftrace_update_function): Check for call, ret, and jump.
5420 (compute_ftrace): Renamed to ...
5421 (btrace_compute_ftrace): ...this. Rewritten to compute call
5423 (btrace_fetch, btrace_clear): Updated.
5424 (btrace_insn_get, btrace_insn_number, btrace_insn_begin)
5425 (btrace_insn_end, btrace_insn_prev, btrace_insn_next)
5426 (btrace_insn_cmp, btrace_find_insn_by_number, btrace_call_get)
5427 (btrace_call_number, btrace_call_begin, btrace_call_end)
5428 (btrace_call_prev, btrace_call_next, btrace_call_cmp)
5429 (btrace_find_function_by_number, btrace_set_insn_history)
5430 (btrace_set_call_history): New.
5431 * record-btrace.c (require_btrace): Use new btrace thread
5433 (record_btrace_info, btrace_insn_history)
5434 (record_btrace_insn_history, record_btrace_insn_history_range):
5435 Use new btrace thread info fields and new iterator.
5436 (btrace_func_history_src_line): Rename to ...
5437 (btrace_call_history_src_line): ...this. Use new btrace
5439 (btrace_func_history): Rename to ...
5440 (btrace_call_history): ...this. Use new btrace thread info
5441 fields and new iterator.
5442 (record_btrace_call_history, record_btrace_call_history_range):
5443 Use new btrace thread info fields and new iterator.
5445 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5447 * frame.h (frame_id_build_unavailable_stack_special): New.
5448 * frame.c (frame_id_build_unavailable_stack_special): New.
5450 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5452 * amd64-tdep.c (amd64_classify_insn_at, amd64_insn_is_call)
5453 (amd64_insn_is_ret, amd64_insn_is_jump, amd64_jmp_p): New.
5454 (amd64_init_abi): Add insn_is_call, insn_is_ret, and insn_is_jump
5456 * i386-tdep.c (i386_insn_is_call, i386_insn_is_ret)
5457 (i386_insn_is_jump, i386_jmp_p): New.
5458 (i386_gdbarch_init): Add insn_is_call, insn_is_ret, and
5459 insn_is_jump to gdbarch.
5460 * gdbarch.sh (insn_is_call, insn_is_ret, insn_is_jump): New.
5461 * gdbarch.h: Regenerated.
5462 * gdbarch.c: Regenerated.
5463 * arch-utils.h (default_insn_is_call, default_insn_is_ret)
5464 (default_insn_is_jump): New.
5465 * arch-utils.c (default_insn_is_call, default_insn_is_ret)
5466 (default_insn_is_jump): New.
5468 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5470 * common/btrace-common.h (btrace_read_type) <btrace_read_all>:
5472 (btrace_read_type) <BTRACE_READ_ALL>: ... this. Update users.
5473 (btrace_read_type) <btrace_read_new>: Change to ...
5474 (btrace_read_type) <BTRACE_READ_NEW>: ... this. Update users.
5476 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5478 * common/linux-btrace.c (linux_read_btrace): Free trace from
5481 2014-01-15 Doug Evans <dje@google.com>
5483 * dwarf2read.c (open_and_init_dwp_file): Use pulongest to print
5486 2014-01-15 Tom Tromey <tromey@redhat.com>
5488 * dbxread.c (process_one_symbol): Use set_objfile_main_name.
5489 * dwarf2read.c (read_partial_die): Use set_objfile_main_name.
5490 * objfiles.c (get_objfile_bfd_data): Initialize language_of_main.
5491 (set_objfile_main_name): New function.
5492 * objfiles.h (struct objfile_per_bfd_storage) <name_of_main,
5493 language_of_main>: New fields.
5494 (set_objfile_main_name): Declare.
5495 * symtab.c (find_main_name): Loop over objfiles to find the main
5497 (set_main_name): Now static.
5498 (get_main_info): Add comment.
5499 * symtab.h (set_main_name): Don't declare.
5501 2014-01-15 Tom Tromey <tromey@redhat.com>
5503 * symtab.c (main_progspace_key): New global.
5504 (struct main_info): New.
5505 (name_of_main, language_of_main): Remove.
5506 (get_main_info, main_info_cleanup): New function.
5507 (set_main_name, main_name, main_language): Use get_main_info.
5508 (_initialize_symtab): Initialize main_progspace_key.
5510 2014-01-15 Tom Tromey <tromey@redhat.com>
5512 * dbxread.c (process_one_symbol): Update.
5513 * dwarf2read.c (read_partial_die): Update.
5514 * symfile.c (set_initial_language): Call main_language.
5515 * symtab.c (language_of_main): Now static.
5516 (set_main_name): Add 'lang' parameter.
5517 (find_main_name): Update.
5518 (main_language): New function.
5519 (symtab_observer_executable_changed): Update.
5520 * symtab.h (set_main_name): Update.
5521 (language_of_main): Remove.
5522 (main_language): Declare.
5524 2014-01-15 Tom Tromey <tromey@redhat.com>
5526 * symfile.c (init_entry_point_info): Use new "initialized" field.
5528 * objfiles.h (struct entry_point) <initialized>: New field.
5529 (struct objfile_per_bfd_storage) <ei>: New field, moved from...
5530 (struct objfile) <ei>: ...here. Remove.
5531 * objfiles.c (entry_point_address_query): Update.
5533 2014-01-15 Tom Tromey <tromey@redhat.com>
5535 * objfiles.c (entry_point_address_query): Relocate entry point
5537 (objfile_relocate1): Do not relocate entry point address.
5538 * objfiles.h (struct entry_info) <entry_point>: Update comment.
5539 <the_bfd_section_index>: New field.
5540 * symfile.c (init_entry_point_info): Find the entry point's
5543 2014-01-15 Tom Tromey <tromey@redhat.com>
5545 * solib-frv.c (enable_break): Use entry_point_address_query.
5547 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
5549 * NEWS: Add note on improved process record-replay on
5550 arm*-linux* targets.
5552 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
5554 * arm-tdep.c (enum arm_record_result): New enum.
5555 (arm_record_unsupported_insn): New function.
5556 (arm_record_coproc_data_proc): Removed.
5557 (thumb2_record_ld_st_multiple): New function.
5558 (thumb2_record_ld_st_dual_ex_tbb): New function.
5559 (thumb2_record_data_proc_sreg_mimm): New function.
5560 (thumb2_record_ps_dest_generic): New function.
5561 (thumb2_record_branch_misc_cntrl): New function.
5562 (thumb2_record_str_single_data): New function.
5563 (thumb2_record_ld_mem_hints): New function.
5564 (thumb2_record_ld_word): New function.
5565 (thumb2_record_lmul_lmla_div): New function.
5566 (thumb2_record_decode_insn_handler): New function.
5567 (decode_insn): Add thumb32 instruction handlers.
5569 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
5571 * arm-linux-tdep.c: Include "record-full.h" and "linux-record.h".
5572 (struct arm_linux_record_tdep): Declare.
5573 (arm_canonicalize_syscall): New function.
5574 (arm_all_but_pc_registers_record): New function.
5575 (arm_linux_syscall_record): New function.
5576 (arm_linux_init_abi): Add syscall recording constructs.
5577 * arm-tdep.c (thumb_record_ldm_stm_swi): Update thumb syscall
5578 decoding. (arm_record_coproc_data_proc): Update arm syscall
5580 * arm-tdep.h (struct gdbarch_tdep) <arm_swi_record>: Remove.
5581 <arm_syscall_record>: New field.
5582 * configure.tgt (arm*-*-linux*): Add linux-record.o to
5585 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
5587 * arm-tdep.c (thumb_record_misc): Update to use sp as base
5588 register for push instruction recording.
5590 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
5592 * arm-tdep.c (thumb_record_misc): Update to correct logical
5593 error while recording ldm, ldmia and pop instructions.
5595 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
5597 * arm-tdep.c (struct arm_mem_r) <addr>: Change type to uint32_t.
5599 2014-01-15 Pedro Alves <palves@redhat.com>
5601 * go32-nat.c (go32_open, go32_close, go32_attach, go32_detach)
5602 (go32_resume, go32_fetch_registers, store_register)
5603 (go32_store_registers, go32_prepare_to_store)
5604 (go32_xfer_memory, go32_files_info, go32_kill_inferior)
5605 (go32_create_inferior, go32_can_run, go32_terminal_init)
5606 (go32_terminal_inferior, go32_terminal_ours): Delete forward
5609 2014-01-15 Tom Tromey <tromey@redhat.com>
5611 * target.h (async_callback_ftype): New typedef.
5612 (struct target_ops) <to_async>: Use it.
5614 2014-01-15 Joel Brobecker <brobecker@adacore.com>
5616 * python/py-value.c (get_field_type): Remove unnecessary curly
5617 braces for single-statement if block.
5619 2014-01-15 Joel Brobecker <brobecker@adacore.com>
5621 * python/py-type.c (convert_field): Add missing empty line
5624 2014-01-14 Doug Evans <dje@google.com>
5626 * symfile.h (expand_symtabs_matching): Renamed from
5627 expand_partial_symbol_names. Update prototype.
5628 (map_symbol_filenames): Renamed from map_partial_symbol_filenames.
5629 * symfile.c (expand_symtabs_matching): Renamed from
5630 expand_partial_symbol_names. New args file_matcher, kind.
5631 Rename arg fun to symbol_matcher.
5632 (map_symbol_filenames): Renamed from map_partial_symbol_filenames.
5633 * ada-lang.c (ada_complete_symbol_matcher): Renamed from
5634 ada_expand_partial_symbol_name.
5635 (ada_make_symbol_completion_list): Update to call
5636 expand_symtabs_matching.
5637 (ada_add_global_exceptions): Call expand_symtabs_matching.
5638 * mi/mi-cmd-file.c (mi_cmd_file_list_exec_source_files): Update to
5639 call map_symbol_filenames.
5640 * symtab.c (sources_info): Update to call map_symbol_filenames.
5641 (search_symbols): Call expand_symtabs_matching.
5642 (symbol_completion_matcher): Renamed from expand_partial_symbol_name.
5643 (default_make_symbol_completion_list_break_on): Update to call
5644 expand_symtabs_matching.
5645 (make_source_files_completion_list): Update to call
5646 map_symbol_filenames.
5648 2014-01-14 Doug Evans <dje@google.com>
5650 * symfile.h (expand_symtabs_file_matcher_ftype): New typedef.
5651 (expand_symtabs_symbol_matcher_ftype): New typedef.
5652 (quick_symbol_functions.expand_symtabs_matching): Update to use.
5653 expand_symtabs_file_matcher_ftype, expand_symtabs_symbol_matcher_ftype.
5654 * symfile.c (expand_partial_symbol_names): Update to use
5655 expand_symtabs_symbol_matcher_ftype.
5656 * dwarf2read.c (dw2_expand_symtabs_matching): Update to use
5657 expand_symtabs_file_matcher_ftype, expand_symtabs_symbol_matcher_ftype.
5658 Arg name_matcher renamed to symbol_matcher.
5659 * psymtab.c (recursively_search_psymtabs): Update to use
5660 expand_symtabs_symbol_matcher_ftype. Arg name_matcher renamed to
5662 (expand_symtabs_matching_via_partial): Update to use
5663 expand_symtabs_file_matcher_ftype, expand_symtabs_symbol_matcher_ftype.
5664 Arg name_matcher renamed to symbol_matcher.
5666 2014-01-14 Doug Evans <dje@google.com>
5668 * psymtab.c (expand_partial_symbol_names): Delete, moved to symfile.c.
5669 (map_partial_symbol_filenames): Ditto.
5670 * psymtab.h (expand_partial_symbol_names): Delete, moved to symfile.h.
5671 (map_partial_symbol_filenames): Ditto.
5672 * symfile.c (expand_partial_symbol_names): Moved here from psymtab.c.
5673 (map_partial_symbol_filenames): Ditto.
5674 * symfile.h (expand_partial_symbol_names): Moved here from psymtab.h.
5675 (map_partial_symbol_filenames): Ditto.
5676 * symtab.c: Delete #include "psymtab.h".
5678 2014-01-14 Pedro Alves <palves@redhat.com>
5679 Tom Tromey <tromey@redhat.com>
5681 * infrun.c (use_displaced_stepping): Use find_record_target
5682 instead of RECORD_IS_USED.
5683 (adjust_pc_after_break): Use record_full_is_used instead of
5685 * record-btrace.c (record_btrace_open): Call record_preopen
5686 instead of checking RECORD_IS_USED.
5687 * record-full.c (record_full_shortname)
5688 (record_full_core_shortname): New globals.
5689 (record_full_is_used): New function.
5690 (find_full_open): Call record_preopen instead of checking
5692 (init_record_full_ops): Set the target's shortname to
5693 record_full_shortname.
5694 (init_record_full_core_ops): Set the target's shortname to
5695 record_full_core_shortname.
5696 * record-full.h (record_full_is_used): Declare.
5697 * record.c (find_record_target): Make extern.
5698 (record_preopen): New function.
5699 * record.h (RECORD_IS_USED): Delete macro.
5700 (find_record_target, record_preopen): Declare functions.
5702 2014-01-14 Yao Qi <yao@codesourcery.com>
5704 * gdbarch.sh (core_xfer_shared_libraries): Change its argument
5705 'len''s type to ULONGEST.
5706 (core_xfer_shared_libraries_aix): Likewise.
5707 * gdbarch.c, gdbarch.h: Regenerated.
5708 * i386-cygwin-tdep.c (windows_core_xfer_shared_libraries):
5709 Change type of 'len' to ULONGEST.
5710 * rs6000-aix-tdep.c (rs6000_aix_ld_info_to_xml): Likewise.
5711 (rs6000_aix_core_xfer_shared_libraries_aix): Likewise.
5713 2014-01-14 Yao Qi <yao@codesourcery.com>
5715 * common/linux-osdata.c (linux_xfer_osdata_processes): Change
5716 type of 'len' to ULONGEST.
5717 (linux_xfer_osdata_processgroups): Likewise.
5718 (linux_xfer_osdata_threads): Likewise.
5719 (linux_xfer_osdata_fds): Likewise.
5720 (linux_xfer_osdata_isockets): Likewise.
5721 (linux_xfer_osdata_shm): Likewise.
5722 (linux_xfer_osdata_sem): Likewise.
5723 (linux_xfer_osdata_msg): Likewise.
5724 (linux_common_xfer_osdata): Likewise.
5725 (struct osdata_type) <getter>: Likewise.
5726 * common/linux-osdata.h (linux_common_xfer_osdata): Update
5729 2014-01-14 Yao Qi <yao@codesourcery.com>
5731 * target.h (target_xfer_partial_ftype): Update.
5732 (struct target_ops) <to_xfer_partial>: Change 'len' type to
5734 * aix-thread.c (aix_thread_xfer_partial): Change type of
5735 argument 'len' to ULONGEST.
5736 * auxv.c (procfs_xfer_auxv): Likewise.
5737 (ld_so_xfer_auxv): Likewise.
5738 (memory_xfer_auxv): Likewise.
5739 * bfd-target.c (target_bfd_xfer_partial): Likewise.
5740 * bsd-kvm.c (bsd_kvm_xfer_partial): Likewise.
5741 * bsd-uthread.c (bsd_uthread_xfer_partial): Likewise.
5742 * corelow.c (core_xfer_partial): Likewise.
5743 * ctf.c (ctf_xfer_partial): Likewise.
5744 * darwin-nat.c (darwin_read_write_inferior): Likewise. Use
5746 (darwin_read_dyld_info): Likewise.
5747 (darwin_xfer_partial): Likewise.
5748 * exec.c (section_table_xfer_memory_partial): Likewise.
5749 (exec_xfer_partial): Likewise.
5750 * exec.h (section_table_xfer_memory_partial): Update
5752 * gnu-nat.c (gnu_xfer_memory): Likewise. Call pulongest
5753 instead of plongest.
5754 (gnu_xfer_partial): Likewise.
5755 * ia64-hpux-nat.c (ia64_hpux_xfer_memory): Likewise.
5756 (ia64_hpux_xfer_solib_got): Likewise.
5757 (ia64_hpux_xfer_partial): Likewise.
5758 * ia64-linux-nat.c (ia64_linux_xfer_partial):
5759 * inf-ptrace.c (inf_ptrace_xfer_partial):
5760 * inf-ttrace.c (inf_ttrace_xfer_partial):
5761 * linux-nat.c (linux_xfer_siginfo): Likewise.
5762 (linux_nat_xfer_partial): Likewise.
5763 (spu_enumerate_spu_ids, linux_proc_xfer_spu): Likewise.
5764 (linux_nat_xfer_osdata, linux_xfer_partial): Likewise.
5765 * monitor.c (monitor_xfer_memory): Likewise.
5766 (monitor_xfer_partial): Likewise.
5767 * procfs.c (procfs_xfer_partial): Likewise.
5768 * record-full.c (record_full_xfer_partial): Likewise.
5769 (record_full_core_xfer_partial): Likewise.
5770 * remote-sim.c (gdbsim_xfer_memory): Likewise. Call pulongest
5771 instead of plongest.
5772 (gdbsim_xfer_partial): Likewise.
5773 * remote.c (remote_xfer_partial): Likewise.
5774 * rs6000-aix-tdep.c (rs6000_aix_ld_info_to_xml): Likewise.
5775 * rs6000-aix-tdep.h (rs6000_aix_ld_info_to_xml): Update
5777 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
5778 (rs6000_xfer_shared_libraries): Likewise.
5779 * sol-thread.c (sol_thread_xfer_partial): Likewise.
5780 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
5781 (sparc_xfer_partial): Likewise.
5782 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise.
5783 (spu_xfer_partial): Likewise.
5784 * spu-multiarch.c (spu_xfer_partial): Likewise.
5785 * target.c (target_read_live_memory): Likewise.
5786 (memory_xfer_live_readonly_partial): Likewise.
5787 (memory_xfer_partial, memory_xfer_partial_1): Likewise.
5788 (target_xfer_partial, default_xfer_partial): Likewise.
5789 (current_xfer_partial): Likewise.
5790 * tracepoint.c (tfile_xfer_partial): Likewise.
5791 * windows-nat.c (windows_xfer_memory): Likewise. Call
5792 pulongest instead of plongest.
5793 (windows_xfer_partial): Likewise.
5794 (windows_xfer_shared_libraries): Likewise.
5796 2014-01-14 Yao Qi <yao@codesourcery.com>
5798 * rs6000-nat.c (rs6000_xfer_shared_libraries): Use
5799 target_xfer_partial_ftype.
5801 2014-01-13 Siva Chandra Reddy <sivachandra@google.com>
5805 * valops.c (value_struct_elt_bitpos): New function
5806 * py-type.c (convert_field): Set 'name' attribute of a gdb.Field
5807 object to 'None' if the field name is an empty string ("").
5808 * python/py-value.c (valpy_getitem): Use 'bitpos' and 'type'
5809 attribute to look for a field when 'name' is 'None'.
5810 (get_field_type): New function
5812 2014-01-13 Doug Evans <dje@google.com>
5815 * dwarf2read.c (dwarf2_get_dwz_file): Call gdb_bfd_record_inclusion.
5816 (try_open_dwop_file): Ditto.
5817 * gdb_bfd.c: #include "vec.h".
5818 (bfdp): New typedef.
5819 (struct gdb_bfd_data): New member included_bfds.
5820 (gdb_bfd_unref): Unref all included bfds.
5821 (gdb_bfd_record_inclusion): New function.
5822 * gdb_bfd.h (gdb_bfd_record_inclusion): Declare.
5824 2014-01-13 Tom Tromey <tromey@redhat.com>
5826 * gdbcore.h (deprecated_core_resize_section_table): Remove.
5828 2014-01-13 Tom Tromey <tromey@redhat.com>
5830 * defs.h (use_windows): Remove.
5831 * gdb.c (main): Update.
5832 * main.c (captured_main, gdb_main): Update.
5833 * main.h (struct captured_main_args) <use_windows>: Remove.
5834 * top.c (use_windows): Remove.
5836 2014-01-13 Tom Tromey <tromey@redhat.com>
5838 * defs.h (deprecated_flush_hook): Remove.
5840 2014-01-13 Jan Kratochvil <jan.kratochvil@redhat.com>
5843 * linux-thread-db.c (try_thread_db_load): Add parameter
5844 check_auto_load_safe. Move here the file_is_auto_load_safe call.
5845 (try_thread_db_load_from_pdir_1): Move it there from here.
5846 (try_thread_db_load_from_sdir): Update caller.
5847 (try_thread_db_load_from_dir): Move it there from here.
5849 2014-01-13 Patrick Palka <patrick@parcs.ath.cx>
5851 * regformats/regdat.sh: Always rewrite the register file.
5853 2014-01-13 Pedro Alves <palves@redhat.com>
5855 * Makefile.in (CHECK_HEADERS): New variable.
5856 (check-headers:): New rule.
5858 2014-01-13 Tom Tromey <tromey@redhat.com>
5860 * cli/cli-setshow.c (do_set_command): Update.
5861 * defs.h (deprecated_set_hook): Remove.
5862 * top.c (deprecated_set_hook): Remove.
5864 2014-01-13 Pedro Alves <palves@redhat.com>
5866 * tracepoint.c (tfile_fetch_registers): Don't infer the PC from
5867 the tracepoint if the PC is a pseudo-register.
5869 2014-01-13 Tom Tromey <tromey@redhat.com>
5871 * defs.h (XCALLOC): Remove.
5872 * bcache.c (bcache_xmalloc): Use XCNEW, not XCALLOC.
5873 (print_bcache_statistics): Use XCNEWVEC, not XCALLOC.
5874 * dwarf2loc.c (allocate_piece_closure): Likewise.
5875 * elfread.c (elf_symfile_segments): Likewise.
5876 (elf_symfile_segments): Likewise.
5877 * gdbtypes.c (copy_type_recursive): Likewise.
5878 * i386-tdep.c (i386_gdbarch_init): Use XCNEW, not XCALLOC.
5879 * jit.c (jit_frame_sniffer): Use XCNEWVEC, not XCALLOC.
5880 * minsyms.c (prim_record_minimal_symbol_full): Use XCNEW, not
5882 * mt-tdep.c (mt_gdbarch_init): Likewise.
5883 * opencl-lang.c (allocate_lval_closure): Use XCNEWVEC, not
5885 * psymtab.c (psymbol_compare): Use XCNEW, not XCALLOC.
5886 * regcache.c (regcache_xmalloc_1): Use XCNEWVEC, not XCALLOC.
5887 * registry.c (registry_alloc_data): Likewise.
5888 * rs6000-tdep.c (rs6000_gdbarch_init): Use XCNEW, not XCALLOC.
5889 * s390-linux-tdep.c (s390_gdbarch_init): Likewise.
5890 * serial.c (serial_fdopen_ops): Likewise.
5891 * solib-aix.c (solib_aix_get_section_offsets): Use XCNEWVEC, not
5893 * spu-tdep.c (spu_gdbarch_init): Use XCNEW, not XCALLOC.
5894 * symfile.c (default_symfile_segments): Use XCNEW and XCNEWVEC,
5897 2014-01-13 Tom Tromey <tromey@redhat.com>
5899 * defs.h (XMALLOC): Remove.
5900 * avr-tdep.c (avr_gdbarch_init): Use XNEW, not XMALLOC.
5901 * bfin-tdep.c (bfin_gdbarch_init): Likewise.
5902 * cli-out.c (struct ui_out *): Likewise.
5903 * cli/cli-dump.c (add_dump_command): Likewise.
5904 (add_dump_command): Likewise.
5905 * complaints.c (get_complaints): Likewise.
5906 (find_complaint): Likewise.
5907 * dwarf2-frame.c (execute_cfa_program): Likewise.
5908 * dwarf2read.c (abbrev_table_read_table): Likewise.
5909 * gdbarch.sh: Likewise.
5910 * gdbarch.c: Rebuild.
5911 * inf-ttrace.c (inf_ttrace_add_page): Likewise.
5912 * interps.c (interp_new): Likewise.
5913 * lm32-tdep.c (lm32_gdbarch_init): Likewise.
5914 * m32r-tdep.c (m32r_gdbarch_init): Likewise.
5915 * mi/mi-console.c (mi_console_file_new): Likewise.
5916 * mi/mi-interp.c (mi_interpreter_init): Likewise.
5917 * mi/mi-out.c (mi_out_new): Likewise.
5918 * mi/mi-parse.c (mi_parse): Likewise.
5919 * microblaze-tdep.c (microblaze_gdbarch_init): Likewise.
5920 * moxie-tdep.c (moxie_gdbarch_init): Likewise.
5921 * observer.c (xalloc_observer_list_node): Likewise.
5922 * regcache.c (regcache_xmalloc_1): Likewise.
5923 * reggroups.c (reggroup_new): Likewise.
5924 (_initialize_reggroup): Likewise.
5925 * registry.c (register_data_with_cleanup): Likewise.
5926 * remote.c (remote_notif_stop_alloc_reply): Likewise.
5927 * ser-base.c (serial_ttystate): Likewise.
5928 * ser-mingw.c (make_pipe_state): Likewise.
5929 * ser-pipe.c (pipe_open): Likewise.
5930 * serial.c (serial_open): Likewise.
5931 * sh64-tdep.c (sh64_gdbarch_init): Likewise.
5932 * tui/tui-data.c (tui_alloc_generic_win_info): Likewise.
5933 (tui_alloc_win_info): Likewise.
5934 (tui_add_content_elements): Likewise.
5935 * tui/tui-file.c (tui_file_new): Likewise.
5936 * tui/tui-out.c (tui_out_new): Likewise.
5937 * ui-file.c (mem_file_new): Likewise.
5938 * ui-out.c (push_level): Likewise.
5939 (make_cleanup_ui_out_end): Likewise.
5940 (append_header_to_list): Likewise.
5941 (ui_out_new): Likewise.
5942 * user-regs.c (user_reg_add_builtin): Likewise.
5944 2014-01-13 Tom Tromey <tromey@redhat.com>
5946 * defs.h (XZALLOC): Remove.
5947 * ada-lang.c (get_ada_inferior_data): Use XCNEW, not XZALLOC.
5948 * ada-tasks.c (get_ada_tasks_pspace_data): Likewise.
5949 (get_ada_tasks_inferior_data): Likewise.
5950 * auto-load.c (get_auto_load_pspace_data): Likewise.
5951 * auxv.c (get_auxv_inferior_data): Likewise.
5952 * bfd-target.c (target_bfd_reopen): Likewise.
5953 * breakpoint.c (get_catch_syscall_inferior_data): Likewise.
5954 (deprecated_insert_raw_breakpoint): Likewise.
5955 * bsd-uthread.c (bsd_uthread_pid_to_str): Likewise.
5956 * corelow.c (core_open): Likewise.
5957 * darwin-nat.c (darwin_check_new_threads): Likewise.
5958 (darwin_attach_pid): Likewise.
5959 * dummy-frame.c (dummy_frame_push): Likewise.
5960 * dwarf2-frame.c (dwarf2_frame_cache): Likewise.
5961 * dwarf2loc.c (allocate_piece_closure): Likewise.
5962 * elfread.c (elf_symfile_segments): Likewise.
5963 * eval.c (ptrmath_type_p): Likewise.
5964 * exceptions.c (EXCEPTIONS_SIGJMP_BUF): Likewise.
5965 * gdbtypes.c (alloc_type_arch): Likewise.
5966 (alloc_type_instance): Likewise.
5967 * hppa-tdep.c (hppa_gdbarch_init): Likewise.
5968 * inf-child.c (inf_child_can_use_agent): Likewise.
5969 * inflow.c (get_inflow_inferior_data): Likewise.
5970 * infrun.c (save_infcall_suspend_state): Likewise.
5971 * jit.c (jit_reader_load): Likewise.
5972 (get_jit_objfile_data): Likewise.
5973 (get_jit_program_space_data): Likewise.
5974 (jit_object_open_impl): Likewise.
5975 (jit_symtab_open_impl): Likewise.
5976 (jit_block_open_impl): Likewise.
5977 (jit_frame_sniffer): Likewise.
5978 * linux-fork.c (add_fork): Likewise.
5979 * maint.c (make_command_stats_cleanup): Likewise.
5980 * objfiles.c (get_objfile_pspace_data): Likewise.
5981 * opencl-lang.c (struct lval_closure): Likewise.
5982 * osdata.c (osdata_start_osdata): Likewise.
5983 * progspace.c (new_address_space): Likewise.
5984 (add_program_space): Likewise.
5985 * remote-sim.c (get_sim_inferior_data): Likewise.
5986 * sh-tdep.c (sh_gdbarch_init): Likewise.
5987 * skip.c (Ignore): Likewise.
5988 (skip_delete_command): Likewise.
5989 * solib-aix.c (get_solib_aix_inferior_data): Likewise.
5990 (library_list_start_library): Likewise.
5991 (solib_aix_current_sos): Likewise.
5992 * solib-darwin.c (get_darwin_info): Likewise.
5993 (darwin_current_sos): Likewise.
5994 * solib-dsbt.c (get_dsbt_info): Likewise.
5995 * solib-ia64-hpux.c (new_so_list): Likewise.
5996 (ia64_hpux_get_solib_linkage_addr): Likewise.
5997 * solib-spu.c (append_ocl_sos): Likewise.
5998 (spu_current_sos): Likewise.
5999 * solib-svr4.c (get_svr4_info): Likewise.
6000 (svr4_keep_data_in_core): Likewise.
6001 (library_list_start_library): Likewise.
6002 (svr4_default_sos): Likewise.
6003 (svr4_read_so_list): Likewise.
6004 * solib-target.c (library_list_start_library): Likewise.
6005 (solib_target_current_sos): Likewise.
6006 * sparc-tdep.c (sparc32_gdbarch_init): Likewise.
6007 * symfile-debug.c (install_symfile_debug_logging): Likewise.
6008 * symfile.c (default_symfile_segments): Likewise.
6009 * target-descriptions.c (tdesc_data_init): Likewise.
6010 (tdesc_create_reg): Likewise.
6011 (struct tdesc_type *): Likewise.
6012 (tdesc_create_vector): Likewise.
6013 (tdesc_set_struct_size): Likewise.
6014 (struct tdesc_type *): Likewise.
6015 (tdesc_free_feature): Likewise.
6016 (tdesc_create_feature): Likewise.
6017 * windows-nat.c (windows_add_thread): Likewise.
6018 (windows_make_so): Likewise.
6019 * xml-support.c (gdb_xml_body_text): Likewise.
6020 (gdb_xml_create_parser_and_cleanup): Likewise.
6021 (xml_process_xincludes): Likewise.
6022 * xml-syscall.c (allocate_syscalls_info): Likewise.
6023 (syscall_create_syscall_desc): Likewise.
6025 2014-01-12 Sergio Durigan Junior <sergiodj@redhat.com>
6027 * i386-tdep.c (i386_stap_parse_special_token_triplet): New
6028 function, with code from i386_stap_parse_special_token.
6029 (i386_stap_parse_special_token_three_arg_disp): Likewise.
6030 (i386_stap_parse_special_token): Move code to the two functions
6033 2014-01-09 Pedro Alves <palves@redhat.com>
6034 Hui Zhu <hui@codesourcery.com>
6037 * breakpoint.c (insert_bp_location): Rename hw_bp_err_string to
6038 bp_err_string. Don't mark the location shlib_disabled if the
6039 error thrown wasn't a generic or memory error. Catch errors
6040 thrown while inserting breakpoints in overlayed code. Output
6041 error message of software breakpoints.
6042 * remote.c (remote_insert_breakpoint): If this breakpoint has
6043 target-side commands but this stub doesn't support Z0 packets,
6044 throw NOT_SUPPORTED_ERROR error.
6045 * exceptions.h (enum errors) <NOT_SUPPORTED_ERROR>: New error.
6046 * target.h (target_insert_breakpoint): Extend comment.
6047 (target_insert_hw_breakpoint): Add comment.
6049 2014-01-08 Pedro Alves <palves@redhat.com>
6051 * remote.c (remote_add_thread): Add threads silently if starting
6053 (remote_notice_new_inferior): If in all-stop, and starting up,
6054 don't call notice_new_inferior.
6055 (get_current_thread): New function, factored out from ...
6056 (add_current_inferior_and_thread): ... this. Adjust.
6057 (remote_start_remote) <all-stop>: Fetch the thread list. If we
6058 found any thread, then select the remote's current thread as GDB's
6061 2014-01-08 Joel Brobecker <brobecker@adacore.com>
6063 * NEWS: Create a new section for the next release branch.
6064 Rename the section of the current branch, now that it has
6067 2014-01-08 Joel Brobecker <brobecker@adacore.com>
6069 GDB 7.7 branch created (79301218fa0f074c5656db0ec8972a5ddcf91fb5):
6070 * version.in: Bump version to 7.7.50.DATE-cvs.
6072 2014-01-08 Yao Qi <yao@codesourcery.com>
6074 * spu-linux-nat.c (spu_symbol_file_add_from_memory): Change
6075 type of 'id' to gdb_byte. Cast 'id' to 'const char *'.
6076 (spu_xfer_partial): Cast 'buf' to 'const char *'.
6078 2014-01-08 Yao Qi <yao@codesourcery.com>
6080 * spu-linux-nat.c (spu_symbol_file_add_from_memory): Pass
6081 return value of bfd_get_filename to symbol_file_add_from_bfd.
6083 2014-01-08 Pierre Muller <muller@sourceware.org>
6086 * coff-pe-read.c (struct read_pe_section_data): Add index field.
6087 (add_pe_exported_sym): Use SECTION_DATA->INDEX for call
6088 to prim_record_mininal_symbol_and_info.
6089 (add_pe_forwarded_sym): Use known section number of forwarded symbol
6090 in call to prim_record_minimal_symbol_and_info.
6091 (read_pe_exported_syms): Set index field of section_data.
6093 2014-01-07 Andrew Pinski <apinski@cavium.com>
6095 * features/aarch64-core.xml (cpsr): Change to be 64bit.
6096 * features/aarch64.c: Regenerate.
6098 2014-01-07 Andreas Schwab <schwab@linux-m68k.org>
6100 * target.c (return_null): Define.
6101 (update_current_target): Use it instead of return_zero for
6102 functions that return a pointer.
6104 2014-01-07 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
6106 * source.c (add_path): Fix check for duplicated paths in the previously
6109 2014-01-07 Honggyu Kim <hong.gyu.kim@lge.com>
6111 * ada-lang.c: Remove duplicated include statements.
6112 * alphabsd-nat.c: Ditto.
6113 * amd64-darwin-tdep.c: Ditto.
6114 * amd64fbsd-nat.c: Ditto.
6115 * auto-load.c: Ditto.
6117 * breakpoint.c: Ditto.
6119 * fork-child.c: Ditto.
6120 * gdb_usleep.c: Ditto.
6121 * i386-darwin-tdep.c: Ditto.
6122 * i386fbsd-nat.c: Ditto.
6124 * inferior.c: Ditto.
6126 * linux-nat.c: Ditto.
6127 * linux-tdep.c: Ditto.
6128 * m68kbsd-nat.c: Ditto.
6129 * m68klinux-nat.c: Ditto.
6130 * microblaze-tdep.c: Ditto.
6131 * mips-linux-tdep.c: Ditto.
6132 * mn10300-tdep.c: Ditto.
6133 * nto-tdep.c: Ditto.
6134 * opencl-lang.c: Ditto.
6136 * printcmd.c: Ditto.
6137 * regcache.c: Ditto.
6138 * remote-m32r-sdi.c: Ditto.
6142 * tilegx-linux-nat.c: Ditto.
6143 * tilegx-tdep.c: Ditto.
6144 * tracepoint.c: Ditto.
6146 * vaxbsd-nat.c: Ditto.
6147 * windows-nat.c: Ditto.
6148 * xtensa-tdep.c: Ditto.
6150 2014-01-07 Yao Qi <yao@codesourcery.com>
6152 * spu-linux-nat.c (_initialize_spu_nat): Declare.
6154 2014-01-07 Yao Qi <yao@codesourcery.com>
6155 Joel Brobecker <brobecker@adacore.com>
6157 * aix-thread.c (pdc_read_regs): Cast parameter to uintptr_t.
6158 (pdc_write_regs): Likewise.
6159 (fetch_regs_kernel_thread): Likewise.
6160 (store_regs_kernel_thread): Likewise.
6162 2014-01-07 Joel Brobecker <brobecker@adacore.com>
6164 * ada-varobj.c (ada_varobj_adjust_for_child_access): Convert
6165 tagged type objects to their actual type.
6167 2014-01-07 Joel Brobecker <brobecker@adacore.com>
6169 * ada-valprint.c (print_field_values): Add "language" parameter.
6170 Update calls to print_field_values and print_variant_part.
6171 Pass new parameter "language" in call to val_print instead
6172 of "current_language". Replace call to ada_val_print by call
6174 (print_variant_part): Add "language" parameter.
6175 (ada_val_print_struct_union): Update call to print_field_values.
6177 2014-01-07 Joel Brobecker <brobecker@adacore.com>
6179 * ada-valprint.c (ui_memcpy): Delete.
6180 (ada_print_floating): Update documentation. Add empty line
6181 between between function documentation and implementation.
6182 Delete variable "buffer". Use ui_file_xstrdup in place of
6183 ui_file_put. Minor adjustments following this change.
6185 2014-01-07 Joel Brobecker <brobecker@adacore.com>
6187 * ada-valprint.c (ada_val_print_string): New function,
6188 extracted from ada_val_print_array.
6189 (ada_val_print_array): Replace extracted code by call
6190 to ada_val_print_string followed by a return. Move
6191 "else" branch to the function's top block.
6193 2014-01-07 Joel Brobecker <brobecker@adacore.com>
6195 * ada-valprint.c (ada_val_print_array): Move implementation
6196 down. Rename parameter "offset" and "val" into "offset_aligned"
6197 and "original_value" respectively. Add parameter "offset".
6199 2014-01-07 Joel Brobecker <brobecker@adacore.com>
6201 * ada-valprint.c (ada_val_print_ref): Rewrite by mostly
6202 re-organizing the code. Change the "???" message printed
6203 when target type is a TYPE_CODE_UNDEF into
6204 "<ref to undefined type>".
6206 2014-01-07 Joel Brobecker <brobecker@adacore.com>
6208 * ada-valprint.c (print_record): Delete, implementation inlined...
6209 (ada_val_print_struct_union): ... here. Remove call to
6210 ada_check_typedef in inlined implementation.
6212 2014-01-07 Joel Brobecker <brobecker@adacore.com>
6214 * ada-valprint.c (ada_val_print_gnat_array): New function,
6215 extracted from ada_val_print_1;
6216 (ada_val_print_ptr, ada_val_print_num, ada_val_print_enum)
6217 (ada_val_print_flt, ada_val_print_struct_union)
6218 (ada_val_print_ref): Likewise.
6219 (ada_val_print_1): Delete variables i and elttype.
6220 Replace extracted-out code by call to corresponding
6223 2014-01-07 Joel Brobecker <brobecker@adacore.com>
6225 * ada-valprint.c (ada_val_print_1): Remove call to gdb_flush.
6227 2014-01-07 Joel Brobecker <brobecker@adacore.com>
6229 * ada-valprint.c (ada_val_print_1): Replace calls to
6230 ada_val_print_1 by calls to val_print.
6232 2014-01-07 Joel Brobecker <brobecker@adacore.com>
6234 * ada-valprint.c (ada_val_print_1): Add parameter "language".
6235 Update calls to self accordingly. Replace calls to c_val_print
6236 by calls to val_print.
6238 2014-01-07 Joel Brobecker <brobecker@adacore.com>
6240 * ada-valprint.c (print_record): Delete declaration.
6241 (adjust_type_signedness, ada_val_print_1): Likewise.
6242 (ada_val_print): Move function implementation down.
6243 (print_variant_part, print_field_values, print_record):
6244 Move function implementation up.
6246 2014-01-07 Joel Brobecker <brobecker@adacore.com>
6248 * python/py-type.c (typy_get_name): New function.
6249 (type_object_getset): Add entry for attribute "name".
6250 * NEWS: Add entry mentioning this new attribute.
6252 2014-01-07 Yao Qi <yao@codesourcery.com>
6254 * gnu-nat.c (set_exceptions_cmd): Remove an empty body 'if'
6257 2014-01-07 Yao Qi <yao@codesourcery.com>
6259 * gnu-nat.c (info_port_rights): Add qualifier const to
6262 2014-01-07 Yao Qi <yao@codesourcery.com>
6264 * gnu-nat.c (trace_me): Use 'void' for empty argument list.
6266 2014-01-07 Yao Qi <yao@codesourcery.com>
6268 * gnu-nat.c (make_inf) Update declaration.
6269 (make_inf): Make it static.
6270 (inf_set_traced): Likewise.
6271 (inf_port_to_thread, inf_task_died_status): Likewise.
6273 2014-01-07 Yao Qi <yao@codesourcery.com>
6275 * gnu-nat.c (inf_tid_to_proc): Remove declaration.
6277 2014-01-07 Yao Qi <yao@codesourcery.com>
6279 * gnu-nat.c (_initialize_gnu_nat): Declare.
6281 2014-01-07 Yao Qi <yao@codesourcery.com>
6283 * gdbarch.sh (byte_order, byte_order_for_code): Change type to
6285 (struct gdbarch_info) <byte_order>: Change type to
6287 <byte_order_for_code>: Likewise.
6288 * gdbarch.c, gdbarch.h: Regenerated.
6290 2014-01-06 Sasha Smundak <asmundak@google.com>
6292 * jit.c: (jit_reader_load_command): Fix JIT reader path creation.
6294 2014-01-06 Tom Tromey <tromey@redhat.com>
6296 * doublest.c (convert_doublest_to_floatformat): Use const, not
6298 * somread.c (som_symtab_read): Likewise.
6300 2014-01-07 Hui Zhu <hui@codesourcery.com>
6302 * gdb_bfd.c (gdb_bfd_stash_filename): Removed.
6303 (gdb_bfd_open): Removed gdb_bfd_stash_filename.
6304 (gdb_bfd_fopen): Ditto.
6305 (gdb_bfd_openr): Ditto.
6306 (gdb_bfd_openw): Ditto.
6307 (gdb_bfd_openr_iovec): Ditto.
6308 (gdb_bfd_fdopenr): Ditto.
6309 * gdb_bfd.h (gdb_bfd_stash_filename): Removed.
6310 * solib-aix.c (solib_aix_bfd_open): Alloc object_bfd->filename
6312 * solib-darwin.c (darwin_bfd_open): Alloc res->filename
6314 * symfile-mem.c (symbol_file_add_from_memory): Removed
6315 gdb_bfd_stash_filename.
6317 2014-01-03 Doug Evans <dje@google.com>
6319 * nat/linux-waitpid.c (linux_debug): Remove extraneous \n from
6322 2014-01-01 Joel Brobecker <brobecker@adacore.com>
6324 Update year range in copyright notice of all files.
6326 2014-01-01 Joel Brobecker <brobecker@adacore.com>
6328 * top.c (print_gdb_version): Set copyright year to 2014.
6330 2014-01-01 Joel Brobecker <brobecker@adacore.com>
6332 * config/djgpp/fnchange.lst: Add entry for gdb/ChangeLog-2013.
6334 For older changes see ChangeLog-2013.
6340 version-control: never