1 2014-03-20 Maciej W. Rozycki <macro@codesourcery.com>
3 * mi/mi-interp.c (mi_memory_changed): Avoid using the ISO C99
4 `z' formatted output modifier.
6 2014-03-20 Tom Tromey <tromey@redhat.com>
7 Sergio Durigan Junior <sergiodj@redhat.com>
9 * probe.c (parse_probes): Turn assert into an ordinary error.
10 * break-catch-throw.c (re_set_exception_catchpoint): Ignore
11 exceptions when parsing probes. Rearrange the code for clarity.
13 2014-03-20 Tom Tromey <tromey@redhat.com>
16 * top.c (execute_command): Only dispatch events if the command
19 2014-03-20 Tom Tromey <tromey@redhat.com>
22 * infcall.c: Include event-top.h.
23 (run_inferior_call): Call async_disable_stdin if needed.
25 2014-03-20 Pedro Alves <palves@redhat.com>
27 * infrun.c (prepare_to_proceed): Delete.
28 (thread_still_needs_step_over): New function.
29 (find_thread_needs_step_over): New function.
30 (proceed): If the current thread needs a step-over, set its
31 steping_over_breakpoint flag. Adjust to use
32 find_thread_needs_step_over instead of prepare_to_proceed.
33 (process_event_stop_test): For BPSTAT_WHAT_STOP_NOISY and
34 BPSTAT_WHAT_STOP_SILENT, assume the thread stopped for a
36 (switch_back_to_stepped_thread): Step over breakpoints of all
37 threads not the stepping thread, before switching back to the
40 2014-03-20 Pedro Alves <palves@redhat.com>
42 * breakpoint.c (single_step_breakpoint_inserted_here_p): Make
44 * breakpoint.h (single_step_breakpoint_inserted_here_p): Declare.
45 * infrun.c (saved_singlestep_ptid)
46 (stepping_past_singlestep_breakpoint): Delete.
47 (resume): Remove stepping_past_singlestep_breakpoint handling.
48 (proceed): Store the prev_pc of the stepping thread too.
49 (init_wait_for_inferior): Adjust. Clear singlestep_ptid and
51 (enum infwait_states): Delete infwait_thread_hop_state.
52 (struct execution_control_state) <hit_singlestep_breakpoint>: New
54 (handle_inferior_event): Adjust.
55 (handle_signal_stop): Delete stepping_past_singlestep_breakpoint
56 handling and the thread-hop code. Before removing single-step
57 breakpoints, check whether the thread hit a single-step breakpoint
58 of another thread. If it did, the trap is not a random signal.
59 (switch_back_to_stepped_thread): If the event thread hit a
60 single-step breakpoint, unblock it before switching to the
61 stepping thread. Handle the case of the stepped thread having
63 (keep_going): Handle the case of the current thread moving past a
64 single-step breakpoint.
66 2014-03-20 Pedro Alves <palves@redhat.com>
69 * breakpoint.c (should_be_inserted): Don't insert breakpoints that
70 are being stepped over.
71 (breakpoint_address_match): Make extern.
72 * breakpoint.h (breakpoint_address_match): New declaration.
73 * inferior.h (stepping_past_instruction_at): New declaration.
74 * infrun.c (struct step_over_info): New type.
75 (step_over_info): New global.
76 (set_step_over_info, clear_step_over_info)
77 (stepping_past_instruction_at): New functions.
78 (handle_inferior_event): Clear the step-over info when
79 trap_expected is cleared.
80 (resume): Remove now stale comment.
81 (clear_proceed_status): Clear step-over info.
82 (proceed): Adjust step-over handling to set or clear the step-over
83 info instead of removing all breakpoints.
84 (handle_signal_stop): When setting up a thread-hop, don't remove
86 (stop_stepping): Clear step-over info.
87 (keep_going): Adjust step-over handling to set or clear step-over
88 info and then always inserting breakpoints, instead of removing
89 all breakpoints when stepping over one.
91 2014-03-20 Pedro Alves <palves@redhat.com>
93 * infrun.c (previous_inferior_ptid): Adjust comment.
94 (deferred_step_ptid): Delete.
95 (infrun_thread_ptid_changed, prepare_to_proceed)
96 (init_wait_for_inferior): Adjust.
97 (handle_signal_stop): Delete deferred_step_ptid handling.
99 2014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
102 * defs.h (sync_quit_force_run): New declaration.
103 (QUIT): Check also SYNC_QUIT_FORCE_RUN.
104 * event-top.c (async_sigterm_handler): New declaration.
105 (async_sigterm_token): New variable.
106 (async_init_signals): Create also async_sigterm_token.
107 (async_sigterm_handler): New function.
108 (sync_quit_force_run): New variable.
109 (handle_sigterm): Replace quit_force call by other calls.
110 * utils.c (quit): Call quit_force if SYNC_QUIT_FORCE_RUN.
112 2014-03-18 Maciej W. Rozycki <macro@codesourcery.com>
114 * rs6000-tdep.c (rs6000_frame_cache): Correct little-endian GPR
115 offset into SPE pseudo registers.
117 2014-03-18 Pedro Alves <palves@redhat.com>
120 * inferior.h (print_stop_event): Declare.
121 * infrun.c (print_stop_event): New, factored out from ...
122 (normal_stop): ... this.
123 * mi/mi-interp.c (mi_on_normal_stop): Use print_stop_event instead
124 of bpstat_print/print_stack_frame.
126 2014-03-17 Tom Tromey <tromey@redhat.com>
128 * ui-out.c (clear_table, ui_out_new): Clear uiout->table.id.
130 2014-03-17 Pierre-Marie de Rodat <derodat@adacore.com>
132 * ada-lang.c (decode_constrained_packed_array): Perform a
133 minimal coercion for reference with coerce_ref instead of
136 2014-03-17 Tristan Gingold <gingold@adacore.com>
138 * solib-darwin.c (DYLD_VERSION_MAX): Increase value.
139 (darwin_solib_create_inferior_hook): Emit a warning if version
142 2014-03-16 Ulrich Weigand <uweigand@de.ibm.com>
144 * python/py-value.c (get_field_flag): Cast flag_name argument to
145 PyObject_GetAttrString to support Python 2.4.
147 2014-03-14 Jan Kratochvil <jan.kratochvil@redhat.com>
149 * MAINTAINERS (The Official FSF-appointed GDB Maintainers)
150 (Global Maintainers): Remove Jan Kratochvil.
152 2014-03-14 Pedro Alves <palves@redhat.com>
154 * inferior.h (terminal_ours_for_output): Rename to ...
155 (child_terminal_ours_for_output): ... this.
156 (terminal_save_ours): Rename to ...
157 (child_terminal_save_ours): ... this.
158 (terminal_ours): Rename to ...
159 (child_terminal_ours): ... this.
160 (terminal_inferior): Rename to ...
161 (child_terminal_inferior): ... this.
162 (terminal_init_inferior): Rename to ...
163 (child_terminal_init_inferior): ... this.
164 (terminal_init_inferior_with_pgrp): Rename to ...
165 (child_terminal_init_inferior_with_pgrp): ... this.
166 * inflow.c (terminal_init_inferior_with_pgrp): Rename to ...
167 (child_terminal_init_with_pgrp): ... this.
168 (terminal_save_ours): Rename to ...
169 (child_terminal_save_ours): ... this.
170 (terminal_init_inferior): Rename to ...
171 (child_terminal_init): ... this. Adjust.
172 (terminal_inferior): Rename to ...
173 (child_terminal_inferior): ... this.
174 (terminal_ours_for_output): Rename to ...
175 (child_terminal_ours_for_output): ... this. Adjust.
176 (terminal_ours): Rename to ...
177 (child_terminal_ours): ... this.
178 (terminal_ours_1): Rename to ...
179 (child_terminal_ours_1): ... this. Adjust.
180 * linux-nat.c (linux_nat_terminal_inferior): Adjust.
181 * windows-nat.c (do_initial_windows_stuff): Adjust.
182 * gnu-nat.c (gnu_terminal_init_inferior): Rename to ...
183 (gnu_terminal_init): ... this. Adjust.
184 (gnu_target): Adjust.
185 * inf-child.c (inf_child_target): Adjust.
187 2014-03-13 Doug Evans <xdje42@gmail.com>
190 * guile/scm-type.c (tyscm_copy_type_recursive): Move type to its
193 2014-03-13 Doug Evans <xdje42@gmail.com>
195 * value.c (record_latest_value): Call release_value_or_incref
196 instead of release_value.
198 2014-03-13 Pedro Alves <palves@redhat.com>
200 * procfs.c (procfs_target): Don't override to_shortname,
201 to_longname or to_doc.
203 2014-03-13 Pedro Alves <palves@redhat.com>
205 * inf-child.c (inf_child_open, inf_child_target): Don't mention
206 Unix in user visible strings.
208 2014-03-12 Stan Shebs <stan@codesourcery.com>
210 * gdbtypes.h: Annotate comments for Doxygen, add a page
211 block comment with some general info.
213 2014-03-12 Pedro Alves <palves@redhat.com>
215 * infcmd.c (prepare_execution_command): New function, factored out
216 from several execution commands.
217 (run_command_1, continue_command, step_1, jump_command)
218 (signal_command, until_command, advance_command, finish_command)
219 (attach_command): Use prepare_execution_command.
221 2014-03-12 Omair Javaid <omair.javaid@linaro.org>
223 * arm-linux-nat.c (arm_linux_get_hwbp_cap): Updated.
226 (struct arm_linux_thread_points): Removed.
227 (struct arm_linux_process_info): New.
228 (DEF_VEC_P (arm_linux_thread_points_p)): Removed.
229 (VEC(arm_linux_thread_points_p) *arm_threads): Removed.
230 (arm_linux_find_breakpoints_by_tid): Removed.
231 (struct arch_lwp_info): New.
232 (arm_linux_find_process_pid): New functions.
233 (arm_linux_add_process): New functions.
234 (arm_linux_process_info_get): New functions.
235 (arm_linux_forget_process): New function.
236 (arm_linux_get_debug_reg_state): New function.
237 (struct update_registers_data): New.
238 (update_registers_callback): New function.
239 (arm_linux_insert_hw_breakpoint1): Updated.
240 (arm_linux_remove_hw_breakpoint1): Updated.
241 (arm_linux_insert_hw_breakpoint): Updated.
242 (arm_linux_remove_hw_breakpoint): Updated.
243 (arm_linux_insert_watchpoint): Updated.
244 (arm_linux_remove_watchpoint): Updated.
245 (arm_linux_new_thread): Updated.
246 (arm_linux_prepare_to_resume): New function.
247 (arm_linux_new_fork): New function.
248 (_initialize_arm_linux_nat): Updated.
250 2014-03-12 Pedro Alves <palves@redhat.com>
252 * Makefile.in (TARGET_FLAGS_TO_PASS): Add TESTS.
254 2014-03-12 Tom Tromey <tromey@redhat.com>
256 * inf-child.c (return_zero): New function.
257 (inf_child_target): Set to_can_async_p, to_supports_non_stop.
258 * aix-thread.c (aix_thread_inferior_created): New function.
259 (aix_thread_attach): Remove.
260 (init_aix_thread_ops): Don't set to_attach.
261 (_initialize_aix_thread): Register inferior_created observer.
262 * corelow.c (init_core_ops): Don't set to_attach or
264 * exec.c (init_exec_ops): Don't set to_attach or
266 * infcmd.c (run_command_1): Use find_run_target. Make direct
268 (attach_command): Use find_attach_target. Make direct target
270 * record-btrace.c (init_record_btrace_ops): Don't set
272 * record-full.c (record_full_can_async_p, record_full_is_async_p):
274 (init_record_full_ops, init_record_full_core_ops): Update. Don't
275 set to_create_inferior.
276 * target.c (complete_target_initialization): Add assertion.
277 (target_create_inferior): Remove.
278 (find_default_attach, find_default_create_inferior): Remove.
279 (find_attach_target, find_run_target): New functions.
280 (find_default_is_async_p, find_default_can_async_p)
281 (target_supports_non_stop, target_attach): Remove.
282 (init_dummy_target): Don't set to_create_inferior or
283 to_supports_non_stop.
284 * target.h (struct target_ops) <to_attach>: Add comment. Remove
286 <to_create_inferior>: Add comment.
287 <to_can_async_p, to_is_async_p, to_supports_non_stop>: Use
288 TARGET_DEFAULT_RETURN.
289 <to_can_async_p, to_supports_non_stop, to_can_run>: Add comments.
290 (find_attach_target, find_run_target): Declare.
291 (target_create_inferior): Remove.
292 (target_has_execution_1): Update comment.
293 (target_supports_non_stop): Remove.
294 * target-delegates.c: Rebuild.
296 2014-03-12 Pedro Alves <palves@redhat.com>
298 * inf-child.h: Update comment to not mention Unix.
300 2014-03-12 Pedro Alves <palves@redhat.com>
302 * inf-child.c: Update top comment to not mention Unix. Add
303 generic comment describing how this target is meant to be used.
304 (inf_child_post_attach, inf_child_post_startup_inferior)
305 (inf_child_follow_fork, inf_child_pid_to_exec_file): Don't mention
308 2014-03-12 Pedro Alves <palves@redhat.com>
310 * nto-procfs.c: Include inf-child.h.
311 (procfs_ops): Delete global.
312 (procfs_can_run): Delete method.
313 (procfs_detach, procfs_mourn_inferior): Unpush the passed in
314 target pointer instead of referencing procfs_ops.
315 (procfs_prepare_to_store): Delete.
316 (init_procfs_ops): Delete function.
317 (procfs_target): New function, based on init_procfs_ops, but
318 inherit inf_child_target.
319 (_initialize_procfs): Use procfs_target.
321 2014-03-12 Pedro Alves <palves@redhat.com>
323 * windows-nat.c: Include inf-child.h.
324 (windows_ops): Delete global.
325 (windows_open, windows_prepare_to_store, windows_can_run): Delete
327 (init_windows_ops): Delete function.
328 (windows_target): New function, based on init_windows_ops, but
329 inherit inf_child_target.
330 (_initialize_windows_nat): Use windows_target. Install x86
331 specific target methods here.
333 2014-03-10 Doug Evans <xdje42@gmail.com>
335 * guile/guile.c (call_initialize_gdb_module): New function.
336 (initialize_guile): Replace call to scm_init_guile with call to
339 2014-03-10 Joel Brobecker <brobecker@adacore.com>
341 * ada-lang.c (ada_evaluate_subexp): Add missing space before '('
342 in call to TYPE_CODE macro.
344 2014-03-10 Jerome Guitton <guitton@adacore.com>
346 * ada-lang.c (ada_evaluate_subexp) <UNOP_IND, STRUCTOP_STRUCT>:
347 Resolve tagged types to full view.
349 2014-03-10 Hui Zhu <hui@codesourcery.com>
351 * target.h (target_insert_breakpoint): Remove "hardware" from its
354 2014-03-07 Doug Evans <dje@google.com>
356 * dwarf2read.c (read_str_index): Rename local dwo_name to objf_name.
358 2014-03-07 Doug Evans <dje@google.com>
360 * dwarf2read.c (read_cutu_die_from_dwo): Fix function comment.
361 Remove unused local comp_dir_attr. Assert exactly one of
362 stub_comp_unit_die, stub_comp_dir is non-NULL.
364 2014-03-07 Joel Brobecker <brobecker@adacore.com>
366 * target.h (complete_target_initialization, add_target):
369 2014-03-07 Pedro Alves <palves@redhat.com>
371 * go32-nat.c: Include inf-child.h.
372 (go32_ops): Delete global.
373 (go32_close, go32_detach, go32_prepare_to_store, go32_can_run):
375 (go32_create_inferior): Push the passed in target pointer instead
376 of referencing go32_ops.
377 (init_go32_ops): Delete function. Moved parts to _initialize_go32_nat.
378 (go32_target): New function, based on init_go32_ops, but inherit
380 (_initialize_go32_nat): Use go32_target. Move parts of
383 2014-03-06 Joel Brobecker <brobecker@adacore.com>
385 * sol-thread.c: #include "symtab.h", "minsym.h" and "objfiles.h".
386 (ps_pglobal_lookup): Use BMSYMBOL_VALUE_ADDRESS instead of
387 SYMBOL_VALUE_ADDRESS.
388 (info_cb): MSYMBOL_PRINT_NAME instead of SYMBOL_PRINT_NAME.
390 2014-03-06 Yao Qi <yao@codesourcery.com>
392 * breakpoint.c (get_tracepoint_by_number): Remove argument
393 optional_p. All callers updated. Adjust comments. Update
395 * breakpoint.h (get_tracepoint_by_number): Update declaration.
397 2014-03-06 Yao Qi <yao@codesourcery.com>
399 * reverse.c (goto_bookmark_command): Add local 'p'. Emit error
400 early if get_number returns zero. Use 'p' instead of 'args'.
402 2014-03-06 Yao Qi <yao@codesourcery.com>
404 * cli/cli-utils.c (get_number_trailer): Add '\n' at the end of
407 2014-03-06 Yao Qi <yao@codesourcery.com>
410 * tracepoint.c (check_trace_running): New function.
411 (trace_find_command): Move code to check_trace_running and
412 call check_trace_running.
413 (trace_find_pc_command): Likewise.
414 (trace_find_tracepoint_command): Likewise.
415 (trace_find_line_command): Likewise.
416 (trace_find_range_command): Likewise.
417 * tracepoint.h (check_trace_running): Likewise.
418 * mi/mi-main.c (mi_cmd_trace_find): Call check_trace_running.
420 2014-03-06 Yao Qi <yao@codesourcery.com>
422 * target.h (struct target_ops) <to_traceframe_info>: Use
423 TARGET_DEFAULT_NORETURN (tcomplain ()).
424 * target-delegates.c: Regenerated.
426 2014-03-05 Pedro Alves <palves@redhat.com>
429 * dcache.c (dcache_poke_byte): Constify ptr parameter. Return
430 void. Update comment.
431 (dcache_xfer_memory): Delete.
432 (dcache_read_memory_partial): New, based on the read bits of
434 (dcache_update): Add status parameter. Use ULONGEST for len, and
435 adjust. Discard cache lines if the reason for the update was
437 * dcache.h (dcache_xfer_memory): Delete declaration.
438 (dcache_read_memory_partial): New declaration.
439 (dcache_update): Update prototype.
440 * target.c (raw_memory_xfer_partial): Update the dcache here.
441 (memory_xfer_partial_1): Don't handle dcache writes here.
443 2014-03-05 Mike Frysinger <vapier@gentoo.org>
445 * remote-sim.c (gdbsim_load): Add const to prog.
447 2014-03-03 Tom Tromey <tromey@redhat.com>
449 * elfread.c (probe_key): Change to bfd_data.
450 (elf_get_probes, probe_key_free, _initialize_elfread): Probes are
451 now per-BFD, not per-objfile.
452 * stap-probe.c (stap_probe_destroy): Update comment.
453 (handle_stap_probe): Allocate on the per-BFD obstack.
455 2014-03-03 Tom Tromey <tromey@redhat.com>
457 * break-catch-throw.c (fetch_probe_arguments): Use bound probes.
458 * breakpoint.c (create_longjmp_master_breakpoint): Use
460 (add_location_to_breakpoint, bkpt_probe_insert_location)
461 (bkpt_probe_remove_location): Update.
462 * breakpoint.h (struct bp_location) <probe>: Now a bound_probe.
463 * elfread.c (elf_symfile_relocate_probe): Remove.
464 (elf_probe_fns): Update.
465 (insert_exception_resume_breakpoint): Change type of "probe"
466 parameter to bound_probe.
467 (check_exception_resume): Update.
468 * objfiles.c (objfile_relocate1): Don't relocate probes.
469 * probe.c (bound_probe_s): New typedef.
470 (parse_probes): Use get_probe_address. Set sal's objfile.
471 (find_probe_by_pc): Return a bound_probe.
472 (collect_probes): Return a VEC(bound_probe_s).
473 (compare_probes): Update.
474 (gen_ui_out_table_header_info): Change type of "probes"
476 (info_probes_for_ops): Update.
477 (get_probe_address): New function.
478 (probe_safe_evaluate_at_pc): Update.
479 * probe.h (struct probe_ops) <get_probe_address>: New field.
480 <set_semaphore, clear_semaphore>: Add objfile parameter.
481 (struct probe) <objfile>: Remove field.
483 <address>: Update comment.
484 (struct bound_probe): New.
485 (find_probe_by_pc): Return a bound_probe.
486 (get_probe_address): Declare.
487 * solib-svr4.c (struct probe_and_action) <address>: New field.
488 (hash_probe_and_action, equal_probe_and_action): Update.
489 (register_solib_event_probe): Add address parameter.
490 (solib_event_probe_at): Update.
491 (svr4_create_probe_breakpoints): Add objfile parameter. Use
493 * stap-probe.c (struct stap_probe) <sem_addr>: Update comment.
494 (stap_get_probe_address): New function.
495 (stap_can_evaluate_probe_arguments, compute_probe_arg)
496 (compile_probe_arg): Update.
497 (stap_set_semaphore, stap_clear_semaphore): Compute semaphore's
499 (handle_stap_probe): Don't relocate the probe.
500 (stap_relocate): Remove.
501 (stap_gen_info_probes_table_values): Update.
502 (stap_probe_ops): Remove stap_relocate.
503 * symfile-debug.c (debug_sym_relocate_probe): Remove.
504 (debug_sym_probe_fns): Update.
505 * symfile.h (struct sym_probe_fns) <sym_relocate_probe>: Remove.
506 * symtab.c (init_sal): Use memset.
507 * symtab.h (struct symtab_and_line) <objfile>: New field.
508 * tracepoint.c (start_tracing, stop_tracing): Update.
510 2014-03-03 Tom Tromey <tromey@redhat.com>
512 * probe.h (parse_probes, find_probe_by_pc)
513 (find_probes_in_objfile): Fix comments.
515 2014-03-02 Doug Evans <xdje42@gmail.com>
517 * infrun.c (handle_signal_stop): Replace test for
518 TARGET_WAITKIND_STOPPED with an assert.
520 2014-03-02 Doug Evans <xdje42@gmail.com>
522 * guile/scm-objfile.c (ofscm_mark_objfile_smob): Fix typo in comment.
524 2014-03-02 Doug Evans <xdje42@gmail.com>
526 * guile/lib/gdb/printing.scm (append-pretty-printer!): Fix thinko.
528 2014-03-01 Mark Kettenis <kettenis@gnu.org>
530 * obsd-nat.c: Include "gdb_wait.h" instead of <sys/wait.h>.
532 2014-03-01 Mark Kettenis <kettenis@gnu.org>
534 * i386obsd-nat.c: Include "obsd-nat.h".
535 (_initialize_i386obsd_nat): Call obsd_add_target instead of
537 * config/i386/obsd.mh (NATDEPFILES): Add obsd-nat.o.
539 2014-03-01 Mark Kettenis <kettenis@gnu.org>
541 * i386obsd-nat.c (i386obsd_supply_pcb): Cast 'sf' to 'gdb_byte *'.
543 2014-03-01 Mark Kettenis <kettenis@gnu.org>
545 * mips64obsd-nat.c: Include "obsd-nath".
546 (_initialize_mips64obsd_nat): Call obsd_add_target instead of
548 * config/mips/obsd64.mh (NATDEPFILES): Add obsd-nat.o.
550 2014-03-01 Mark Kettenis <kettenis@gnu.org>
552 * amd64obsd-nat.c: Include "obsd-nat,h.
553 (_initialize_amd64obsd_nat): Call obsd_add_target instead of
555 * config/i386/obsd64.mh (NATDEPFILES): Add obsd-nat.o.
557 2014-02-28 Siva Chandra Reddy <sivachandra@google.com>
559 * valops.c (find_oload_champ): Remove unneccesary argument METHOD.
560 (find_overload_match): Update call to find_oload_champ.
561 (find_oload_champ_namespace_loop): Likewise
563 2014-02-28 Mark Kettenis <kettenis@gnu.org>
565 * Makefile.in (ALLDEPFILES): Add sparc64obsd-nat.c.
567 * configure.host (sparc64-*-openbsd*): Set gdb_host to obsd64.
568 * config/sparc/obsd64.mh: New file.
569 * sparc64obsd-nat.c: New file.
571 * obsd-nat.h: New file.
572 * obsd-nat.c: New file.
573 * Makefile.in (HFILES_NO_SRCDIR): Add obsd-nat.h.
574 (ALLDEPFILES): Add obsd-nat.c.
576 2014-02-28 Tom Tromey <tromey@redhat.com>
578 * cli-out.c (cli_ui_out_impl): Now const. Remove comment.
579 * cli-out.h (cli_ui_out_impl): Now const.
580 * mi/mi-out.c (mi_ui_out_impl): Now const. Remove comment.
581 * ui-out.c (struct ui_out) <impl>: Now const.
582 (default_ui_out_impl): Now const.
583 (ui_out_new): Make 'impl' parameter const.
584 * ui-out.h (ui_out_new): Update.
586 2014-02-27 Mark Kettenis <kettenis@gnu.org>
588 * solib-svr4.c (svr4_read_so_list): Initialize first_l_name to 0.
590 2014-02-27 Mark Kettenis <kettenis@gnu.org>
592 * sparc-nat.c (sparc_xfer_wcookie): Always use process ID.
594 2014-02-27 Jan Kratochvil <jan.kratochvil@redhat.com>
596 Additional PR 8882 fix.
597 * solib-svr4.c (svr4_read_so_list): Change first to first_l_name.
599 2014-02-27 Pedro Alves <palves@redhat.com>
601 * nat/linux-waitpid.c (my_waitpid): Only block signals if WNOHANG
604 2014-02-27 Pedro Alves <palves@redhat.com>
607 * linux-nat.c (status_to_str): Moved to nat/linux-waitpid.c.
608 * nat/linux-waitpid.c: Include string.h.
609 (status_to_str): Moved here and made extern.
610 * nat/linux-waitpid.h (status_to_str): New declaration.
612 2014-02-27 Hui Zhu <hui@codesourcery.com>
615 * infrun.c (ptid_match): Move ...
616 * common/ptid.c (ptid_match): ... here.
617 * inferior.h (ptid_match): Move ...
618 * common/ptid.h (ptid_match): ... here.
620 2014-02-27 Mark Kettenis <kettenis@gnu.org>
622 * mips64obsd-tdep.c (mips64obsd_init_abi): Call obsd_init_abi.
623 * configure.tgt (mips64*-*-openbsd*): Add obsd-tdep.c to
626 2014-02-27 Mark Kettenis <kettenis@gnu.org>
628 * obsd-tdep.c (obsd_auxv_parse): New function.
629 (obsd_init_abi): Set auxv_parse.
631 * gdbarch.sh (auxv_parse): New.
632 * gdbarch.h: Regenerated.
633 * gdbarch.c: Regenerated.
634 * auxv.c (target_auxv_parse): Call gdbarch_parse_auxv if provided.
636 2014-02-26 Ludovic Courtès <ludo@gnu.org>
638 * guile/scm-value.c (gdbscm_history_append_x): New function.
639 (value_functions): Add it.
641 2014-02-27 Joel Brobecker <brobecker@adacore.com>
643 * dwarf2read.c (attr_value_as_address): New function.
644 (dwarf2_find_base_address, read_call_site_scope): Use
645 attr_value_as_address in place of DW_ADDR.
646 (dwarf2_get_pc_bounds): Use attr_value_as_address to get
647 the low and high addresses. Slight rework of the handling
648 of the high pc being a constant form, and limit it to
649 DWARF verson 4 or higher.
650 (dwarf2_record_block_ranges): Likewise.
651 (read_partial_die): Likewise.
652 (new_symbol_full): Use attr_value_as_address in place of DW_ADDR.
654 2014-02-26 Tom Tromey <tromey@redhat.com>
656 * exec.c (exec_file_attach): Hold a reference to exec_bfd.
658 2014-02-26 Tom Tromey <tromey@redhat.com>
660 * elfread.c (elf_read_minimal_symbols): Return early if
661 minimal symbols have already been read. Add "ei" parameter.
662 (elf_symfile_read): Call elf_read_minimal_symbols earlier.
663 * minsyms.c (prim_record_minimal_symbol_full): Update.
664 * objfiles.h (struct objstats) <n_minsyms>: Move...
665 (struct objfile_per_bfd_storage) <n_minsyms>: ... here.
666 * symmisc.c (print_objfile_statistics): Update.
668 2014-02-26 Tom Tromey <tromey@redhat.com>
670 * elfread.c (elf_read_minimal_symbols): New function, from
672 (elf_symfile_read): Call it.
674 2014-02-26 Tom Tromey <tromey@redhat.com>
676 * minsyms.c (lookup_minimal_symbol, iterate_over_minimal_symbols)
677 (lookup_minimal_symbol_text, lookup_minimal_symbol_by_pc_name)
678 (lookup_minimal_symbol_solib_trampoline)
679 (lookup_minimal_symbol_by_pc_section_1)
680 (lookup_minimal_symbol_and_objfile): Update.
681 (prim_record_minimal_symbol_full): Use the per-BFD obstack.
682 Don't allocate a minimal symbol if minsyms have already been read.
683 (build_minimal_symbol_hash_tables): Update.
684 (install_minimal_symbols): Do nothing if minsyms already read.
685 Use the per-BFD obstack.
686 (terminate_minimal_symbol_table): Use the per-BFD obstack.
687 * objfiles.c (allocate_objfile): Call
688 terminate_minimal_symbol_table later.
689 (have_minimal_symbols): Update.
690 * objfiles.h (struct objfile_per_bfd_storage) <msymbols,
691 minimal_symbol_count, msymbol_hash, msymbol_demangled_hash>:
692 Move from struct objfile.
693 <minsyms_read>: New field.
694 (struct objfile) <msymbols, minimal_symbol_count,
695 msymbol_hash, msymbol_demangled_hash>: Move.
696 (ALL_OBJFILE_MSYMBOLS): Update.
697 * symfile.c (read_symbols): Set minsyms_read.
698 (reread_symbols): Update.
699 * symmisc.c (dump_objfile, dump_msymbols): Update.
701 2014-02-26 Tom Tromey <tromey@redhat.com>
703 * minsyms.c (msymbols_sort): Remove.
704 * minsyms.h (msymbols_sort): Remove.
705 * objfiles.c (objfile_relocate1): Don't relocate minsyms.
706 * symtab.h (MSYMBOL_VALUE_ADDRESS): Use objfile offsets.
707 * elfread.c (elf_symtab_read): Don't add section offsets.
708 * xcoffread.c (record_minimal_symbol): Don't add section offset
709 to minimal symbol address.
710 * somread.c (text_offset, data_offset): Remove.
711 (som_symtab_read): Don't add section offsets to minimal symbol
713 * coff-pe-read.c (add_pe_forwarded_sym, read_pe_exported_syms):
714 Don't add section offsets to minimal symbols.
715 * coffread.c (coff_symtab_read): Don't add section offsets
716 to minimal symbol addresses.
717 * machoread.c (macho_symtab_add_minsym): Don't add section offset
718 to minimal symbol addresses.
719 * mipsread.c (read_alphacoff_dynamic_symtab): Don't add
720 section offset to minimal symbol addresses.
721 * mdebugread.c (parse_partial_symbols): Don't add section
722 offset to minimal symbol addresses.
723 * dbxread.c (read_dbx_dynamic_symtab): Don't add section
724 offset to minimal symbol addresses.
726 2014-02-26 Tom Tromey <tromey@redhat.com>
728 * ada-lang.c (ada_main_name): Update.
729 (ada_add_standard_exceptions): Update.
730 * ada-tasks.c (ada_tasks_inferior_data_sniffer): Update.
731 * aix-thread.c (pdc_symbol_addrs, pd_enable): Update.
732 * arm-tdep.c (skip_prologue_function, arm_skip_stub): Update.
733 * auxv.c (ld_so_xfer_auxv): Update.
734 * avr-tdep.c (avr_scan_prologue): Update.
735 * ax-gdb.c (gen_var_ref): Update.
736 * blockframe.c (get_pc_function_start)
737 (find_pc_partial_function_gnu_ifunc): Update.
738 * breakpoint.c (create_overlay_event_breakpoint)
739 (create_longjmp_master_breakpoint)
740 (create_std_terminate_master_breakpoint)
741 (create_exception_master_breakpoint): Update.
742 * bsd-uthread.c (bsd_uthread_lookup_address): Update.
743 * c-valprint.c (c_val_print): Update.
744 * coff-pe-read.c (add_pe_forwarded_sym): Update.
745 * common/agent.c (agent_look_up_symbols): Update.
746 * dbxread.c (find_stab_function_addr, end_psymtab): Update.
747 * dwarf2loc.c (call_site_to_target_addr): Update.
748 * dwarf2read.c (dw2_find_pc_sect_symtab): Update.
749 * elfread.c (elf_gnu_ifunc_record_cache)
750 (elf_gnu_ifunc_resolve_by_got): Update.
751 * findvar.c (default_read_var_value): Update.
752 * frame.c (inside_main_func): Update.
753 * frv-tdep.c (frv_frame_this_id): Update.
754 * glibc-tdep.c (glibc_skip_solib_resolver): Update.
755 * gnu-v3-abi.c (gnuv3_get_typeid, gnuv3_skip_trampoline):
757 * hppa-hpux-tdep.c (hppa64_hpux_search_dummy_call_sequence)
758 (hppa_hpux_find_dummy_bpaddr): Update.
759 * hppa-tdep.c (hppa_symbol_address): Update.
760 * infcmd.c (until_next_command): Update.
761 * jit.c (jit_read_descriptor, jit_breakpoint_re_set_internal):
763 * linespec.c (minsym_found, add_minsym): Update.
764 * linux-nat.c (get_signo): Update.
765 * linux-thread-db.c (inferior_has_bug): Update.
766 * m32c-tdep.c (m32c_return_value)
767 (m32c_m16c_address_to_pointer): Update.
768 * m32r-tdep.c (m32r_frame_this_id): Update.
769 * m68hc11-tdep.c (m68hc11_get_register_info): Update.
770 * machoread.c (macho_resolve_oso_sym_with_minsym): Update.
771 * maint.c (maintenance_translate_address): Update.
772 * minsyms.c (lookup_minimal_symbol_by_pc_name): Update.
773 (frob_address): New function.
774 (lookup_minimal_symbol_by_pc_section_1): Use raw addresses,
775 frob_address. Rename parameter to "pc_in".
776 (compare_minimal_symbols, compact_minimal_symbols): Use raw
778 (find_solib_trampoline_target, minimal_symbol_upper_bound):
780 * mips-linux-tdep.c (mips_linux_skip_resolver): Update.
781 * mips-tdep.c (mips_skip_pic_trampoline_code): Update.
782 * objc-lang.c (find_objc_msgsend): Update.
783 * objfiles.c (objfile_relocate1): Update.
784 * obsd-tdep.c (obsd_skip_solib_resolver): Update.
785 * p-valprint.c (pascal_val_print): Update.
786 * parse.c (write_exp_msymbol): Update.
787 * ppc-linux-tdep.c (ppc_linux_spe_context_lookup)
788 (ppc_elfv2_skip_entrypoint): Update.
789 * ppc-sysv-tdep.c (convert_code_addr_to_desc_addr): Update.
790 * printcmd.c (build_address_symbolic, msym_info)
791 (address_info): Update.
792 * proc-service.c (ps_pglobal_lookup): Update.
793 * psymtab.c (find_pc_sect_psymtab_closer)
794 (find_pc_sect_psymtab, find_pc_sect_symtab_from_partial):
795 Change msymbol parameter to bound_minimal_symbol.
796 * ravenscar-thread.c (get_running_thread_id): Update.
797 * remote.c (remote_check_symbols): Update.
798 * sh64-tdep.c (sh64_elf_make_msymbol_special): Use raw
800 * sol2-tdep.c (sol2_skip_solib_resolver): Update.
801 * solib-dsbt.c (lm_base): Update.
802 * solib-frv.c (lm_base, main_got): Update.
803 * solib-irix.c (locate_base): Update.
804 * solib-som.c (som_solib_create_inferior_hook)
805 (link_map_start): Update.
806 * solib-spu.c (spu_enable_break, ocl_enable_break): Update.
807 * solib-svr4.c (elf_locate_base, enable_break): Update.
808 * spu-tdep.c (spu_get_overlay_table, spu_catch_start)
809 (flush_ea_cache): Update.
810 * stabsread.c (define_symbol, scan_file_globals): Update.
811 * stack.c (find_frame_funname): Update.
812 * symfile-debug.c (debug_qf_expand_symtabs_matching)
813 (debug_qf_find_pc_sect_symtab): Update.
814 * symfile.c (simple_read_overlay_table)
815 (simple_overlay_update): Update.
816 * symfile.h (struct quick_symbol_functions)
817 <find_pc_sect_symtab>: Change type of msymbol to
818 bound_minimal_symbol.
819 * symmisc.c (dump_msymbols): Update.
820 * symtab.c (find_pc_sect_symtab_via_partial)
821 (find_pc_sect_psymtab, find_pc_sect_line, skip_prologue_sal)
822 (search_symbols, print_msymbol_info): Update.
823 * symtab.h (MSYMBOL_VALUE_RAW_ADDRESS): New macro.
824 (MSYMBOL_VALUE_ADDRESS): Redefine.
825 (BMSYMBOL_VALUE_ADDRESS): New macro.
826 * tracepoint.c (scope_info): Update.
827 * tui/tui-disasm.c (tui_find_disassembly_address)
828 (tui_get_begin_asm_address): Update.
829 * valops.c (find_function_in_inferior): Update.
830 * value.c (value_static_field, value_fn_field): Update.
832 2014-02-26 Tom Tromey <tromey@redhat.com>
834 * ada-lang.c (ada_update_initial_language): Update.
835 (ada_main_name, ada_has_this_exception_support): Update.
836 * ada-tasks.c (ada_tasks_inferior_data_sniffer): Update.
837 * aix-thread.c (pdc_symbol_addrs, pd_enable): Update.
838 * arm-tdep.c (arm_skip_stub): Update.
839 * auxv.c (ld_so_xfer_auxv): Update.
840 * avr-tdep.c (avr_scan_prologue): Update.
841 * ax-gdb.c (gen_var_ref): Update.
842 * breakpoint.c (struct breakpoint_objfile_data)
843 <overlay_msym, longjmp_msym, terminate_msym, exception_msym>: Change
844 type to bound_minimal_symbol.
845 (create_overlay_event_breakpoint)
846 (create_longjmp_master_breakpoint)
847 (create_std_terminate_master_breakpoint)
848 (create_exception_master_breakpoint): Update.
849 * bsd-uthread.c (bsd_uthread_lookup_address): Update.
850 * c-exp.y (classify_name): Update.
851 * coffread.c (coff_symfile_read): Update.
852 * common/agent.c (agent_look_up_symbols): Update.
853 * d-lang.c (d_main_name): Update.
854 * dbxread.c (find_stab_function_addr, end_psymtab): Update.
855 * dec-thread.c (enable_dec_thread): Update.
856 * dwarf2loc.c (call_site_to_target_addr): Update.
857 * elfread.c (elf_gnu_ifunc_resolve_by_got): Update.
858 * eval.c (evaluate_subexp_standard): Update.
859 * findvar.c (struct minsym_lookup_data) <result>: Change type
860 to bound_minimal_symbol.
862 (minsym_lookup_iterator_cb, default_read_var_value): Update.
863 * frame.c (inside_main_func): Update.
864 * frv-tdep.c (frv_frame_this_id): Update.
865 * gcore.c (call_target_sbrk): Update.
866 * glibc-tdep.c (glibc_skip_solib_resolver): Update.
867 * gnu-v3-abi.c (gnuv3_get_typeid, gnuv3_skip_trampoline):
869 * go-lang.c (go_main_name): Update.
870 * hppa-hpux-tdep.c (hppa_hpux_skip_trampoline_code)
871 (hppa_hpux_find_import_stub_for_addr): Update.
872 * hppa-tdep.c (hppa_extract_17, hppa_lookup_stub_minimal_symbol):
873 Update. Change return type.
874 * hppa-tdep.h (hppa_lookup_stub_minimal_symbol): Change return
876 * jit.c (jit_breakpoint_re_set_internal): Update.
877 * linux-fork.c (inferior_call_waitpid, checkpoint_command):
879 * linux-nat.c (get_signo): Update.
880 * linux-thread-db.c (inferior_has_bug): Update
881 * m32c-tdep.c (m32c_return_value)
882 (m32c_m16c_address_to_pointer): Update.
883 * m32r-tdep.c (m32r_frame_this_id): Update.
884 * m68hc11-tdep.c (m68hc11_get_register_info): Update.
885 * machoread.c (macho_resolve_oso_sym_with_minsym): Update.
886 * minsyms.c (lookup_minimal_symbol_internal): Rename to
887 lookup_minimal_symbol. Change return type.
888 (lookup_minimal_symbol): Remove.
889 (lookup_bound_minimal_symbol): Update.
890 (lookup_minimal_symbol_text): Change return type.
891 (lookup_minimal_symbol_solib_trampoline): Change return type.
892 * minsyms.h (lookup_minimal_symbol, lookup_minimal_symbol_text)
893 (lookup_minimal_symbol_solib_trampoline): Change return type.
894 * mips-linux-tdep.c (mips_linux_skip_resolver): Update.
895 * objc-lang.c (lookup_objc_class, lookup_child_selector)
896 (value_nsstring, find_imps): Update.
897 * obsd-tdep.c (obsd_skip_solib_resolver): Update.
898 * p-lang.c (pascal_main_name): Update.
899 * ppc-linux-tdep.c (ppc_linux_spe_context_lookup): Update.
900 * ppc-sysv-tdep.c (convert_code_addr_to_desc_addr): Update.
901 * proc-service.c (ps_pglobal_lookup): Update.
902 * ravenscar-thread.c (get_running_thread_msymbol): Change
904 (has_ravenscar_runtime, get_running_thread_id): Update.
905 * remote.c (remote_check_symbols): Update.
906 * sol-thread.c (ps_pglobal_lookup): Update.
907 * sol2-tdep.c (sol2_skip_solib_resolver): Update.
908 * solib-dsbt.c (lm_base): Update.
909 * solib-frv.c (lm_base, frv_relocate_section_addresses):
911 * solib-irix.c (locate_base): Update.
912 * solib-som.c (som_solib_create_inferior_hook)
913 (som_solib_desire_dynamic_linker_symbols, link_map_start):
915 * solib-spu.c (spu_enable_break): Update.
916 * solib-svr4.c (elf_locate_base, enable_break): Update.
917 * spu-tdep.c (spu_get_overlay_table, spu_catch_start)
918 (flush_ea_cache): Update.
919 * stabsread.c (define_symbol): Update.
920 * symfile.c (simple_read_overlay_table): Update.
921 * symtab.c (find_pc_sect_line): Update.
922 * tracepoint.c (scope_info): Update.
923 * tui-disasm.c (tui_get_begin_asm_address): Update.
924 * value.c (value_static_field): Update.
926 2014-02-26 Tom Tromey <tromey@redhat.com>
928 * minsyms.c (prim_record_minimal_symbol_full): Use
929 SET_MSYMBOL_VALUE_ADDRESS.
930 * objfiles.c (objfile_relocate1): Use SET_MSYMBOL_VALUE_ADDRESS.
931 * sh64-tdep.c (sh64_elf_make_msymbol_special): Use
932 SET_MSYMBOL_VALUE_ADDRESS.
933 * symtab.h (MSYMBOL_VALUE_ADDRESS): Expand to an rvalue.
934 (SET_MSYMBOL_VALUE_ADDRESS): New macro.
936 2014-02-26 Tom Tromey <tromey@redhat.com>
938 * symtab.h (struct minimal_symbol) <mginfo>: Rename from ginfo.
939 (MSYMBOL_VALUE, MSYMBOL_VALUE_ADDRESS, MSYMBOL_VALUE_BYTES)
940 (MSYMBOL_BLOCK_VALUE, MSYMBOL_VALUE_CHAIN, MSYMBOL_LANGUAGE)
941 (MSYMBOL_SECTION, MSYMBOL_OBJ_SECTION, MSYMBOL_NATURAL_NAME)
942 (MSYMBOL_LINKAGE_NAME, MSYMBOL_PRINT_NAME, MSYMBOL_DEMANGLED_NAME)
943 (MSYMBOL_SET_LANGUAGE, MSYMBOL_SEARCH_NAME)
944 (MSYMBOL_MATCHES_SEARCH_NAME, MSYMBOL_SET_NAMES): New macros.
945 * ada-lang.c (ada_main_name): Update.
946 (ada_lookup_simple_minsym): Update.
947 (ada_make_symbol_completion_list): Update.
948 (ada_add_standard_exceptions): Update.
949 * ada-tasks.c (read_atcb, ada_tasks_inferior_data_sniffer): Update.
950 * aix-thread.c (pdc_symbol_addrs, pd_enable): Update.
951 * amd64-windows-tdep.c (amd64_skip_main_prologue): Update.
952 * arm-tdep.c (skip_prologue_function): Update.
953 (arm_skip_stack_protector, arm_skip_stub): Update.
954 * arm-wince-tdep.c (arm_pe_skip_trampoline_code): Update.
955 (arm_wince_skip_main_prologue): Update.
956 * auxv.c (ld_so_xfer_auxv): Update.
957 * avr-tdep.c (avr_scan_prologue): Update.
958 * ax-gdb.c (gen_var_ref): Update.
959 * block.c (call_site_for_pc): Update.
960 * blockframe.c (get_pc_function_start): Update.
961 (find_pc_partial_function_gnu_ifunc): Update.
962 * breakpoint.c (create_overlay_event_breakpoint): Update.
963 (create_longjmp_master_breakpoint): Update.
964 (create_std_terminate_master_breakpoint): Update.
965 (create_exception_master_breakpoint): Update.
966 (resolve_sal_pc): Update.
967 * bsd-uthread.c (bsd_uthread_lookup_address): Update.
968 * btrace.c (ftrace_print_function_name, ftrace_function_switched):
970 * c-valprint.c (c_val_print): Update.
971 * coff-pe-read.c (add_pe_forwarded_sym): Update.
972 * coffread.c (coff_symfile_read): Update.
973 * common/agent.c (agent_look_up_symbols): Update.
974 * dbxread.c (find_stab_function_addr): Update.
975 (end_psymtab): Update.
976 * dwarf2loc.c (call_site_to_target_addr): Update.
977 (func_verify_no_selftailcall): Update.
978 (tailcall_dump): Update.
979 (call_site_find_chain_1): Update.
980 (dwarf_expr_reg_to_entry_parameter): Update.
981 * elfread.c (elf_gnu_ifunc_record_cache): Update.
982 (elf_gnu_ifunc_resolve_by_got): Update.
983 * f-valprint.c (info_common_command): Update.
984 * findvar.c (read_var_value): Update.
985 * frame.c (get_prev_frame_1): Update.
986 (inside_main_func): Update.
987 * frv-tdep.c (frv_skip_main_prologue): Update.
988 (frv_frame_this_id): Update.
989 * glibc-tdep.c (glibc_skip_solib_resolver): Update.
990 * gnu-v2-abi.c (gnuv2_value_rtti_type): Update.
991 * gnu-v3-abi.c (gnuv3_rtti_type): Update.
992 (gnuv3_skip_trampoline): Update.
993 * hppa-hpux-tdep.c (hppa32_hpux_in_solib_call_trampoline): Update.
994 (hppa64_hpux_in_solib_call_trampoline): Update.
995 (hppa_hpux_skip_trampoline_code): Update.
996 (hppa64_hpux_search_dummy_call_sequence): Update.
997 (hppa_hpux_find_import_stub_for_addr): Update.
998 (hppa_hpux_find_dummy_bpaddr): Update.
999 * hppa-tdep.c (hppa_symbol_address)
1000 (hppa_lookup_stub_minimal_symbol): Update.
1001 * i386-tdep.c (i386_skip_main_prologue): Update.
1002 (i386_pe_skip_trampoline_code): Update.
1003 * ia64-tdep.c (ia64_convert_from_func_ptr_addr): Update.
1004 * infcall.c (get_function_name): Update.
1005 * infcmd.c (until_next_command): Update.
1006 * jit.c (jit_breakpoint_re_set_internal): Update.
1007 (jit_inferior_init): Update.
1008 * linespec.c (minsym_found): Update.
1009 (add_minsym): Update.
1010 * linux-fork.c (info_checkpoints_command): Update.
1011 * linux-nat.c (get_signo): Update.
1012 * linux-thread-db.c (inferior_has_bug): Update.
1013 * m32c-tdep.c (m32c_return_value): Update.
1014 (m32c_m16c_address_to_pointer): Update.
1015 (m32c_m16c_pointer_to_address): Update.
1016 * m32r-tdep.c (m32r_frame_this_id): Update.
1017 * m68hc11-tdep.c (m68hc11_get_register_info): Update.
1018 * machoread.c (macho_resolve_oso_sym_with_minsym): Update.
1019 * maint.c (maintenance_translate_address): Update.
1020 * minsyms.c (add_minsym_to_hash_table): Update.
1021 (add_minsym_to_demangled_hash_table): Update.
1022 (msymbol_objfile): Update.
1023 (lookup_minimal_symbol): Update.
1024 (iterate_over_minimal_symbols): Update.
1025 (lookup_minimal_symbol_text): Update.
1026 (lookup_minimal_symbol_by_pc_name): Update.
1027 (lookup_minimal_symbol_solib_trampoline): Update.
1028 (lookup_minimal_symbol_by_pc_section_1): Update.
1029 (lookup_minimal_symbol_and_objfile): Update.
1030 (prim_record_minimal_symbol_full): Update.
1031 (compare_minimal_symbols): Update.
1032 (compact_minimal_symbols): Update.
1033 (build_minimal_symbol_hash_tables): Update.
1034 (install_minimal_symbols): Update.
1035 (terminate_minimal_symbol_table): Update.
1036 (find_solib_trampoline_target): Update.
1037 (minimal_symbol_upper_bound): Update.
1038 * mips-linux-tdep.c (mips_linux_skip_resolver): Update.
1039 * mips-tdep.c (mips_stub_frame_sniffer): Update.
1040 (mips_skip_pic_trampoline_code): Update.
1041 * msp430-tdep.c (msp430_skip_trampoline_code): Update.
1042 * objc-lang.c (selectors_info): Update.
1043 (classes_info): Update.
1044 (find_methods): Update.
1045 (find_imps): Update.
1046 (find_objc_msgsend): Update.
1047 * objfiles.c (objfile_relocate1): Update.
1048 * objfiles.h (ALL_OBJFILE_MSYMBOLS): Update.
1049 * obsd-tdep.c (obsd_skip_solib_resolver): Update.
1050 * p-valprint.c (pascal_val_print): Update.
1051 * parse.c (write_exp_msymbol): Update.
1052 * ppc-linux-tdep.c (powerpc_linux_in_dynsym_resolve_code)
1053 (ppc_linux_spe_context_lookup, ppc_elfv2_skip_entrypoint): Update.
1054 * ppc-sysv-tdep.c (convert_code_addr_to_desc_addr): Update.
1055 * printcmd.c (build_address_symbolic): Update.
1057 (address_info): Update.
1058 * proc-service.c (ps_pglobal_lookup): Update.
1059 * psymtab.c (find_pc_sect_psymtab_closer): Update.
1060 (find_pc_sect_psymtab): Update.
1061 * python/py-framefilter.c (py_print_frame): Update.
1062 * ravenscar-thread.c (get_running_thread_id): Update.
1063 * record-btrace.c (btrace_call_history, btrace_get_bfun_name):
1065 * remote.c (remote_check_symbols): Update.
1066 * rs6000-tdep.c (rs6000_skip_main_prologue): Update.
1067 (rs6000_skip_trampoline_code): Update.
1068 * sh64-tdep.c (sh64_elf_make_msymbol_special): Update.
1069 * sol2-tdep.c (sol2_skip_solib_resolver): Update.
1070 * solib-dsbt.c (lm_base): Update.
1071 * solib-frv.c (lm_base): Update.
1073 * solib-irix.c (locate_base): Update.
1074 * solib-som.c (som_solib_create_inferior_hook): Update.
1075 (som_solib_desire_dynamic_linker_symbols): Update.
1076 (link_map_start): Update.
1077 * solib-spu.c (spu_enable_break): Update.
1078 (ocl_enable_break): Update.
1079 * solib-svr4.c (elf_locate_base): Update.
1080 (enable_break): Update.
1081 * spu-tdep.c (spu_get_overlay_table): Update.
1082 (spu_catch_start): Update.
1083 (flush_ea_cache): Update.
1084 * stabsread.c (define_symbol): Update.
1085 (scan_file_globals): Update.
1086 * stack.c (find_frame_funname): Update.
1087 (frame_info): Update.
1088 * symfile.c (simple_read_overlay_table): Update.
1089 (simple_overlay_update): Update.
1090 * symmisc.c (dump_msymbols): Update.
1091 * symtab.c (fixup_section): Update.
1092 (find_pc_sect_line): Update.
1093 (skip_prologue_sal): Update.
1094 (search_symbols): Update.
1095 (print_msymbol_info): Update.
1096 (rbreak_command): Update.
1097 (MCOMPLETION_LIST_ADD_SYMBOL): New macro.
1098 (completion_list_objc_symbol): Update.
1099 (default_make_symbol_completion_list_break_on): Update.
1100 * tracepoint.c (scope_info): Update.
1101 * tui/tui-disasm.c (tui_find_disassembly_address): Update.
1102 (tui_get_begin_asm_address): Update.
1103 * valops.c (find_function_in_inferior): Update.
1104 * value.c (value_static_field): Update.
1105 (value_fn_field): Update.
1107 2014-02-26 Tom Tromey <tromey@redhat.com>
1109 * blockframe.c (find_pc_partial_function_gnu_ifunc): Use
1110 bound minimal symbols. Move code that knows about minsym
1112 * minsyms.c (minimal_symbol_upper_bound): ... here. New
1114 * minsyms.h (minimal_symbol_upper_bound): Declare.
1115 * objc-lang.c (find_objc_msgsend): Use bound minimal symbols,
1116 minimal_symbol_upper_bound.
1118 2014-02-27 Joel Brobecker <brobecker@adacore.com>
1120 * python/lib/gdb/printing.py (RegexpCollectionPrettyPrinter):
1121 Use the type's name if its basic type does not have a tag.
1123 2014-02-27 Joel Brobecker <brobecker@adacore.com>
1125 * dwarf2read.c (read_subrange_type): Add comment.
1127 2014-02-27 Joel Brobecker <brobecker@adacore.com>
1129 * dwarf2read.c (update_enumeration_type_from_children): New
1130 function, mostly extracted from process_structure_scope.
1131 (read_enumeration_type): Call update_enumeration_type_from_children.
1132 (process_enumeration_scope): Do not set THIS_TYPE's flag_unsigned
1133 and flag_flag_enum fields.
1135 2014-02-26 Pedro Alves <palves@redhat.com>
1137 * bsd-uthread.c (bsd_uthread_xfer_partial): Delete function.
1138 (bsd_uthread_target): Don't install bsd_uthread_xfer_partial as
1139 to_xfer_partial method.
1141 2014-02-26 Pedro Alves <palves@redhat.com>
1143 * target.c (complete_target_initialization): Don't install
1144 default_xfer_partial as to_xfer_partial hook.
1146 (update_current_target): Don't INHERIT nor de_fault
1147 deprecated_xfer_memory. Delete de_fault macro.
1148 (default_xfer_partial, deprecated_debug_xfer_memory): Delete.
1149 (setup_target_debug): Don't install a deprecated_xfer_memory hook.
1150 * target.h (struct target_ops) <deprecated_xfer_memory>: Delete
1153 2014-02-26 Pedro Alves <palves@redhat.com>
1155 * go32-nat.c (my_write_child): New function.
1156 (go32_xfer_memory): Rewrite as to_xfer_partial helper.
1157 (go32_xfer_partial): New function.
1158 (init_go32_ops): Don't install a deprecated_xfer_memory hook.
1159 Instead install a to_xfer_partial hook.
1161 2014-02-26 Pedro Alves <palves@redhat.com>
1163 * nto-procfs.c (procfs_xfer_memory): Adjust interface as a
1164 to_xfer_partial helper. Rewrite.
1165 (procfs_xfer_partial): New function.
1166 (init_procfs_ops): Don't install a deprecated_xfer_memory hook.
1167 Install a to_xfer_partial hook.
1169 2014-02-26 Pedro Alves <palves@redhat.com>
1171 * remote-m32r-sdi.c (send_data): Constify 'buf' parameter.
1172 (m32r_xfer_memory): Adjust as a to_xfer_partial helper.
1173 (m32r_xfer_partial): New function.
1174 (init_m32r_ops): Don't install a deprecated_xfer_memory hook.
1175 Install a to_xfer_partial hook.
1177 2014-02-26 Pedro Alves <palves@redhat.com>
1179 * remote-mips.c (mips_xfer_memory): Adjust as to_xfer_partial
1181 (mips_xfer_partial): New function.
1182 (_initialize_remote_mips): Don't install a deprecated_xfer_memory
1183 hook. Install a to_xfer_partial hook.
1185 2014-02-26 Joel Brobecker <brobecker@adacore.com>
1187 * gdbtypes.h (create_array_type_with_stride): Add declaration.
1188 * gdbtypes.c (create_array_type_with_stride): New function,
1189 renaming create_array_type, but with an added parameter
1190 called "bit_stride".
1191 (create_array_type): Re-implement using
1192 create_array_type_with_stride.
1193 * dwarf2read.c (read_array_type): Add support for DW_AT_byte_stride
1194 and DW_AT_bit_stride attributes.
1196 2014-02-26 Pedro Alves <palves@redhat.com>
1198 * breakpoint.c (bpstat_check_breakpoint_conditions): Handle
1199 task-specific breakpoints.
1201 2014-02-25 Pedro Alves <palves@redhat.com>
1203 * ia64-linux-nat.c (ia64_linux_xfer_partial): Reimplement
1204 handling of object == TARGET_OBJECT_UNWIND_TABLE.
1206 2014-02-25 Stan Shebs <stan@codesourcery.com>
1208 * defs.h: Annotate comments for Doxygen.
1210 2014-02-25 Tom Tromey <tromey@redhat.com>
1212 * target.h (target_ignore): Don't declare.
1213 * target.c (target_ignore): Remove.
1215 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
1218 * auto-load.c (auto_load_objfile_script_1): Change filename to
1221 2014-02-25 Joel Brobecker <brobecker@adacore.com>
1223 * ia64-linux-nat.c (ia64_linux_xfer_partial): Add function
1224 documentation. Adjust prototype to match the target_ops
1225 to_xfer_partial method. Adjust implementation accordingly.
1227 2014-02-25 Hui Zhu <hui@codesourcery.com>
1229 * target.h (target_ops): Fix TARGET_DEFAULT_RETURN of
1232 2014-02-25 Kevin Buettner <kevinb@redhat.com>
1234 * rl78-tdep.c (RL78_BANK0_RP0_PTR_REGNUM, RL78_BANK0_RP1_PTR_REGNUM)
1235 (RL78_BANK0_RP2_PTR_REGNUM, RL78_BANK0_RP3_PTR_REGNUM)
1236 (RL78_BANK1_RP0_PTR_REGNUM, RL78_BANK1_RP1_PTR_REGNUM)
1237 (RL78_BANK1_RP2_PTR_REGNUM, RL78_BANK1_RP3_PTR_REGNUM)
1238 (RL78_BANK2_RP0_PTR_REGNUM, RL78_BANK2_RP1_PTR_REGNUM)
1239 (RL78_BANK2_RP2_PTR_REGNUM, RL78_BANK2_RP3_PTR_REGNUM)
1240 (RL78_BANK3_RP0_PTR_REGNUM, RL78_BANK3_RP1_PTR_REGNUM)
1241 (RL78_BANK3_RP2_PTR_REGNUM, RL78_BANK3_RP3_PTR_REGNUM):
1243 (rl78_register_type): Use a data pointer type for SP and
1244 new pseudo registers mentioned above. Use a 16 bit integer
1245 type for all other register pairs.
1246 (rl78_register_name, rl78_g10_register_name): Update for
1247 new pseudo registers.
1248 (rl78_pseudo_register_read): Likewise.
1249 (rl78_pseudo_register_write): Likewise.
1250 (rl78_dwarf_reg_to_regnum): Return register numbers representing
1251 to the newly added pseudo registers.
1253 2014-02-24 Doug Evans <dje@google.com>
1255 * value.c (record_latest_value): Fix comment.
1256 * printcmd.c (print_command_1): Remove code to handle -1 return from
1257 record_latest_value.
1259 2014-02-24 Pedro Alves <palves@redhat.com>
1261 * procfs.c (procfs_target): Don't install procfs_xfer_memory as
1262 deprecated_xfer_memory hook.
1263 (procfs_xfer_partial): Call procfs_xfer_memory instead
1264 of the deprecated_xfer_memory target hook.
1265 (procfs_xfer_memory): Adjust interface as a to_xfer_partial
1268 2014-02-24 Yuanhui Zhang <asmwarrior@gmail.com>
1270 * windows-nat.c (windows_xfer_shared_libraries): Return
1271 TARGET_XFER_EOF if LEN is zero to fix an assert failure when
1272 requested object is TARGET_OBJECT_LIBRARIES.
1274 2014-02-24 Yao Qi <yao@codesourcery.com>
1276 * target.h (enum target_xfer_status)
1277 <TARGET_XFER_E_UNAVAILABLE>: Rename it to ...
1278 <TARGET_XFER_UNAVAILABLE>: ... it with setting value 2
1280 * corefile.c (memory_error_message): User updated.
1281 * exec.c (section_table_read_available_memory): Likewise.
1282 * record-btrace.c (record_btrace_xfer_partial): Likewise.
1283 * target.c (target_xfer_status_to_string): Likewise.
1284 (raw_memory_xfer_partial): Likewise.
1285 (memory_xfer_partial_1, target_xfer_partial): Likewise.
1286 * valops.c (read_value_memory): Likewise.
1287 * exec.h: Update comments.
1289 2014-02-24 Yao Qi <yao@codesourcery.com>
1291 * target.c (target_xfer_status_to_string): Rename argument err
1293 * target.h (target_xfer_status_to_string): Update declaration.
1294 Replace target_xfer_error_to_string with
1295 target_xfer_status_to_string in comment.
1297 2014-02-24 Yao Qi <yao@codesourcery.com>
1299 * mips-linux-nat.c (super_close): Update its type.
1300 (mips_linux_close): Pass 'self' to super_close.
1302 2014-02-24 Yao Qi <yao@codesourcery.com>
1304 * target.h (TARGET_XFER_STATUS_ERROR_P): Remove.
1305 * corefile.c (read_memory): Adjusted.
1306 * target.c (target_write_with_progress): Adjusted.
1308 2014-02-23 Yao Qi <yao@codesourcery.com>
1312 2013-10-25 Yao Qi <yao@codesourcery.com>
1314 * remote.c (remote_traceframe_info): Return early if
1315 traceframe is not selected.
1317 2013-07-19 Yao Qi <yao@codesourcery.com>
1319 * target.c (update_current_target): Change the default action
1320 of 'to_traceframe_info' from tcomplain to return_zero.
1321 * target.h (struct target_ops) <to_traceframe_info>: Add more
1324 2014-02-23 Yao Qi <yao@codesourcery.com>
1326 * valops.c (read_value_memory): Rewrite it. Call
1327 target_xfer_partial in a loop.
1328 * exec.h (section_table_available_memory): Remove declaration.
1329 Move comments to ...
1330 * exec.c (section_table_available_memory): ... here. Make it
1333 2014-02-23 Yao Qi <yao@codesourcery.com>
1335 * exec.c (section_table_read_available_memory): New function.
1336 * exec.h (section_table_read_available_memory): Declare.
1337 * ctf.c (ctf_xfer_partial): Call
1338 section_table_read_available_memory.
1339 * tracefile-tfile.c (tfile_xfer_partial): Likewise.
1341 2014-02-23 Yao Qi <yao@codesourcery.com>
1343 * ctf.c (ctf_xfer_partial): Move code to ...
1344 * exec.c (exec_read_partial_read_only): ... it. New function.
1345 * tracefile-tfile.c (tfile_xfer_partial): Likewise.
1346 * tracefile.c: Include "exec.h".
1347 * exec.h (exec_read_partial_read_only): Declare.
1349 2014-02-23 Yao Qi <yao@codesourcery.com>
1351 * tracefile-tfile.c (tfile_has_all_memory): Remove.
1352 (tfile_has_memory): Remove.
1353 (init_tfile_ops): Don't set fields to_has_all_memory and
1354 to_has_memory of tfile_ops.
1355 * tracefile.c (tracefile_has_all_memory): New function.
1356 (tracefile_has_memory): New function.
1357 (init_tracefile_ops): Initialize fields to_has_all_memory and
1358 to_has_memory of 'ops'.
1360 2014-02-23 Yao Qi <yao@codesourcery.com>
1362 * ctf.c (ctf_has_stack, ctf_has_registers): Remove.
1363 (ctf_thread_alive, ctf_get_trace_status): Remove.
1364 (init_ctf_ops): Don't set some fields of ctf_ops. Call
1366 * tracefile-tfile.c (tfile_get_trace_status): Remove.
1367 (tfile_has_stack, tfile_has_registers): Remove.
1368 (tfile_thread_alive): Remove.
1369 (init_tfile_ops): Don't set some fields of tfile_ops. Call
1371 * tracefile.c (tracefile_has_stack): New function.
1372 (tracefile_has_registers): New function.
1373 (tracefile_thread_alive): New function.
1374 (tracefile_get_trace_status): New function.
1375 (init_tracefile_ops): New function.
1376 * tracefile.h (init_tracefile_ops): Declare.
1378 2014-02-23 Yao Qi <yao@codesourcery.com>
1380 * tracepoint.c (TFILE_PID): Move it to tracefile-tfile.c.
1381 (O_LARGEFILE): Likewise.
1382 (tfile_ops): Likewise.
1383 (TRACE_HEADER_SIZE): Likewise.
1384 (trace_fd, trace_frames_offset, cur_offset): Likewise.
1385 (cur_data_size): Likewise.
1386 (tfile_read, tfile_open, tfile_interp_line): Likewise.
1387 (tfile_close, tfile_files_info): Likewise.
1388 (tfile_get_trace_status): Likewise.
1389 (tfile_get_tracepoint_status): Likewise.
1390 (tfile_get_traceframe_address): Likewise.
1391 (tfile_trace_find, match_blocktype): Likewise.
1392 (traceframe_walk_blocks, traceframe_find_block_type): Likewise.
1393 (tfile_fetch_registers, tfile_xfer_partial): Likewise.
1394 (tfile_get_trace_state_variable_value): Likewise.
1395 (tfile_has_all_memory, tfile_has_memory): Likewise.
1396 (tfile_has_stack, tfile_has_registers): Likewise.
1397 (tfile_thread_alive, build_traceframe_info): Likewise.
1398 (tfile_traceframe_info, init_tfile_ops): Likewise.
1399 (_initialize_tracepoint): Don't call init_tfile_ops
1400 and add_target_with_completer.
1401 * tracefile-tfile.c: Include regcache.h, inferior.h, gdbthread.h,
1402 exec.h, completer.h and filenames.h.
1403 (_initialize_tracefile_tfile): New function.
1405 2014-02-23 Yao Qi <yao@codesourcery.com>
1407 * Makefile.in (REMOTE_OBS): Append tracefile.o and
1409 (HFILES_NO_SRCDIR): Add tracefile.h.
1410 * ctf.c: Include "tracefile.h".
1411 * tracefile.h: New file.
1412 * tracefile.c: New file
1413 * tracefile-tfile.c: New file.
1414 * tracepoint.c: Include "tracefile.h".
1415 (free_uploaded_tps, free_uploaded_tsvs): Remove declarations.
1416 (stop_reason_names): Add const.
1417 (trace_file_writer_xfree): Move it to tracefile.c.
1418 (trace_save, trace_save_command, trace_save_tfile): Likewise.
1419 (trace_save_ctf): Likewise.
1420 (struct tfile_trace_file_writer): Move it to tracefile-tfile.c.
1421 (tfile_target_save, tfile_dtor, tfile_start): Likewise.
1422 (tfile_write_header, tfile_write_regblock_type): Likewise.
1423 (tfile_write_status, tfile_write_uploaded_tsv): Likewise.
1424 (tfile_write_uploaded_tp, tfile_write_definition_end): Likewise.
1425 (tfile_write_raw_data, tfile_end): Likewise.
1426 (tfile_trace_file_writer_new): Likewise.
1427 (free_uploaded_tp): Make it extern.
1428 (free_uploaded_tsv): Make it extern.
1429 (_initialize_tracepoint): Move code to register command 'tsave'
1431 * tracepoint.h (stop_reason_names): Declare.
1432 (struct trace_frame_write_ops): Move it to tracefile.h.
1433 (struct trace_file_write_ops): Likewise.
1434 (struct trace_file_writer): Likewise.
1435 (free_uploaded_tsvs, free_uploaded_tps): Declare.
1437 2014-02-21 Jan Kratochvil <jan.kratochvil@redhat.com>
1440 * common/linux-osdata.c (linux_common_core_of_thread): Find the end of
1442 (get_cores_used_by_process): New parameter num_cores, use it.
1443 (linux_xfer_osdata_processes): Pass num_cores to it.
1444 * linux-tdep.c (linux_info_proc, linux_fill_prpsinfo): Find the end of
1447 2014-02-21 Andreas Arnez <arnez@vnet.linux.ibm.com>
1449 * target.c (memory_xfer_partial): Fix length arg in call to
1450 breakpoint_xfer_memory.
1452 2014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
1455 * i386-tdep.c (i386_stap_parse_special_token_triplet): Check if a
1456 number comes after the + or - signs. Adjust length of register
1457 name to be extracted.
1459 2014-02-20 Tom Tromey <tromey@redhat.com>
1461 * varobj.h (c_varobj_ops, cplus_varobj_ops, java_varobj_ops)
1462 (ada_varobj_ops): Mark "extern".
1464 2014-02-20 Tom Tromey <tromey@redhat.com>
1466 * dbxread.c (read_dbx_symtab): Remove last_o_file_start.
1468 2014-02-20 Doug Evans <xdje42@gmail.com>
1470 * guile/scm-gsmob.c (gdbscm_init_eqable_gsmob): New arg containing_scm.
1471 All callers updated.
1472 (gdbscm_fill_eqable_gsmob_ptr_slot): Delete arg containing_scm.
1473 All callers updated.
1474 * guile/guile-internal.h (gdbscm_init_eqable_gsmob): Update.
1475 (gdbscm_fill_eqable_gsmob_ptr_slot): Update.
1477 2014-02-20 lin zuojian <manjian2006@gmail.com>
1478 Joel Brobecker <brobecker@adacore.com>
1479 Doug Evans <xdje42@gmail.com>
1482 * dwarf2read.c (struct die_info): New member in_process.
1483 (reset_die_in_process): New function.
1484 (process_die): Set it at the start, reset when returning.
1485 (inherit_abstract_dies): Only call process_die if origin_child_die
1486 not already being processed.
1488 2014-02-20 Joel Brobecker <brobecker@adacore.com>
1490 * windows-nat.c (handle_unload_dll): Add function documentation.
1491 (do_initial_windows_stuff): Add comment explaining why we wait
1492 until after inferior initialization has finished before
1493 processing all DLLs.
1495 2014-02-20 Joel Brobecker <brobecker@adacore.com>
1497 * windows-nat.c (get_module_name): Delete.
1498 (windows_get_exec_module_filename): New function, mostly
1499 inspired from get_module_name.
1500 (windows_pid_to_exec_file): Replace call to get_module_name
1501 by call to windows_get_exec_module_filename.
1503 2014-02-20 Joel Brobecker <brobecker@adacore.com>
1505 * windows-nat.c (handle_load_dll): Rewrite this function's
1506 introductory comment. Remove code using get_module_name
1507 to get the DLL's name.
1509 2014-02-20 Joel Brobecker <brobecker@adacore.com>
1511 * windows-nat.c (get_windows_debug_event): Ignore
1512 LOAD_DLL_DEBUG_EVENT and UNLOAD_DLL_DEBUG_EVENT
1513 if windows_initialization_done == 0.
1514 (windows_add_all_dlls): Renames windows_ensure_ntdll_loaded.
1515 Adjust implementation to always load all DLLs.
1516 (do_initial_windows_stuff): Replace call to
1517 windows_ensure_ntdll_loaded by call to windows_add_all_dlls.
1519 2014-02-20 Joel Brobecker <brobecker@adacore.com>
1521 * windows-nat.c (_initialize_windows_nat): Deprecate the
1522 "dll-symbols" command. Turn the "add-shared-symbol-files"
1523 and "assf" aliases into commands, and deprecate them as well.
1524 * NEWS: Add entry explaining that "dll-symbols" and its two
1525 aliases are now deprecated.
1527 2014-02-20 Joel Brobecker <brobecker@adacore.com>
1529 * dec-thread.c (dec_thread_get_ada_task_ptid): Avoid unescaped
1530 new-line in debug string. Remove trailing spaces.
1532 2014-02-19 Stan Shebs <stan@codesourcery.com>
1534 * darwin-nat.c (darwin_xfer_partial): Fix return type.
1536 2014-02-19 Siva Chandra Reddy <sivachandra@google.com>
1538 * NEWS: Add entry for the new feature
1539 * python/py-value.c (valpy_binop): Call value_x_binop for struct
1542 2014-02-19 Stan Shebs <stan@codesourcery.com>
1544 * MAINTAINERS: List Yao Qi as nios2 maintainer.
1546 2014-02-19 Pedro Alves <palves@redhat.com>
1548 * common/ptid.h (struct ptid): Mention that process_stratum
1549 targets should prefer ptid.lwp.
1551 2014-02-19 Pedro Alves <palves@redhat.com>
1553 * remote.c (remote_thread_alive, write_ptid, read_ptid)
1554 (read_ptid, remote_newthread_step, remote_threads_extra_info)
1555 (remote_get_ada_task_ptid, append_resumption, remote_stop_ns)
1556 (threadalive_test, remote_pid_to_str): Use the ptid.lwp field to
1557 store remote thread ids rather than ptid.tid.
1558 (_initialize_remote): Adjust.
1560 2014-02-19 Tom Tromey <tromey@redhat.com>
1562 * target.c (target_get_unwinder): Rewrite.
1563 (target_get_tailcall_unwinder): Rewrite.
1564 * record-btrace.c (record_btrace_to_get_unwinder): New function.
1565 (record_btrace_to_get_tailcall_unwinder): New function.
1566 (init_record_btrace_ops): Update.
1567 * target.h (struct target_ops) <to_get_unwinder,
1568 to_get_tailcall_unwinder>: Now function pointers. Use
1569 TARGET_DEFAULT_RETURN.
1571 2014-02-19 Tom Tromey <tromey@redhat.com>
1573 * nto-procfs.c (procfs_remove_hw_breakpoint): Add 'self'
1575 (init_procfs_ops): Correctly set to_remove_hw_breakpoint.
1577 2014-02-19 Tom Tromey <tromey@redhat.com>
1579 * record-btrace.c (record_btrace_decr_pc_after_break): Delegate
1581 * target-delegates.c: Rebuild.
1582 * target.h (struct target_ops) <to_decr_pc_after_break>: Use
1583 TARGET_DEFAULT_FUNC.
1584 * target.c (default_target_decr_pc_after_break): Rename from
1585 forward_target_decr_pc_after_break. Simplify.
1586 (target_decr_pc_after_break): Rely on delegation.
1588 2014-02-19 Tom Tromey <tromey@redhat.com>
1590 * target.c (update_current_target): Do not INHERIT to_doc or
1591 to_magic. Do not de_fault to_open or to_close.
1593 2014-02-19 Tom Tromey <tromey@redhat.com>
1595 * gcore.h (objfile_find_memory_regions): Declare.
1596 * gcore.c (objfile_find_memory_regions): No longer static. Add
1598 (_initialize_gcore): Don't call exec_set_find_memory_regions.
1599 * exec.c: Include gcore.h.
1600 (exec_set_find_memory_regions): Remove.
1601 (exec_find_memory_regions): Remove.
1602 (exec_do_find_memory_regions): Remove.
1603 (init_exec_ops): Update.
1604 * defs.h (exec_set_find_memory_regions): Remove.
1606 2014-02-19 Tom Tromey <tromey@redhat.com>
1608 * target-delegates.c: Rebuild.
1609 * target.h (struct target_ops) <to_extra_thread_info,
1610 to_thread_name, to_pid_to_exec_file, to_get_section_table,
1611 to_memory_map, to_read_description, to_traceframe_info>: Use NULL,
1612 not 0, in TARGET_DEFAULT_RETURN.
1614 2014-02-19 Tom Tromey <tromey@redhat.com>
1616 * target.c (complete_target_initialization): Remove casts. Use
1617 return_zero_has_execution.
1618 (return_zero): Add "ignore" argument.
1619 (return_zero_has_execution): New function.
1620 (init_dummy_target): Remove casts. Use
1621 return_zero_has_execution.
1623 2014-02-19 Tom Tromey <tromey@redhat.com>
1625 * target.c (update_current_target): Update comments. Do not
1628 2014-02-19 Tom Tromey <tromey@redhat.com>
1630 * arm-linux-nat.c (arm_linux_read_description): Delegate when
1632 * corelow.c (core_read_description): Delegate when needed.
1633 * remote.c (remote_read_description): Delegate when needed.
1634 * target-delegates.c: Rebuild.
1635 * target.c (target_read_description): Rewrite.
1636 * target.h (struct target_ops) <to_read_description>: Update
1637 comment. Use TARGET_DEFAULT_RETURN.
1639 2014-02-19 Tom Tromey <tromey@redhat.com>
1641 * target-delegates.c: Rebuild.
1642 * target.c (update_current_target): Don't inherit or default
1644 (find_default_run_target): Check against delegate_can_run.
1645 * target.h (struct target_ops) <to_can_run>: Use
1646 TARGET_DEFAULT_RETURN.
1648 2014-02-19 Tom Tromey <tromey@redhat.com>
1650 * target-delegates.c: Rebuild.
1651 * target.c (target_disconnect): Unconditionally delegate.
1652 * target.h (struct target_ops) <to_disconnect>: Use
1653 TARGET_DEFAULT_NORETURN.
1655 2014-02-19 Tom Tromey <tromey@redhat.com>
1657 * record.c (record_stop): Unconditionally delegate.
1658 * target-delegates.c: Rebuild.
1659 * target.c (target_stop_recording): Unconditionally delegate.
1660 * target.h (struct target_ops) <to_stop_recording>: Use
1661 TARGET_DEFAULT_IGNORE.
1663 2014-02-19 Tom Tromey <tromey@redhat.com>
1665 * target-delegates.c: Rebuild.
1666 * target.c (target_enable_btrace): Unconditionally delegate.
1667 * target.h (struct target_ops) <to_enable_btrace>: Use
1668 TARGET_DEFAULT_NORETURN.
1670 2014-02-19 Tom Tromey <tromey@redhat.com>
1672 * target-delegates.c: Rebuild.
1673 * target.c (target_read_btrace): Unconditionally delegate.
1674 * target.h (struct target_ops) <to_read_btrace>: Use
1675 TARGET_DEFAULT_NORETURN.
1677 2014-02-19 Tom Tromey <tromey@redhat.com>
1679 * target-delegates.c: Rebuild.
1680 * target.c (target_teardown_btrace): Unconditionally delegate.
1681 * target.h (struct target_ops) <to_teardown_btrace>: Use
1682 TARGET_DEFAULT_NORETURN.
1684 2014-02-19 Tom Tromey <tromey@redhat.com>
1686 * target-delegates.c: Rebuild.
1687 * target.c (target_disable_btrace): Unconditionally delegate.
1688 * target.h (struct target_ops) <to_disable_btrace>: Use
1689 TARGET_DEFAULT_NORETURN.
1691 2014-02-19 Tom Tromey <tromey@redhat.com>
1693 * target-delegates.c: Rebuild.
1694 * target.c (default_search_memory): New function.
1695 (simple_search_memory): Update comment.
1696 (target_search_memory): Unconditionally delegate.
1697 * target.h (struct target_ops) <to_search_memory>: Use
1698 TARGET_DEFAULT_FUNC.
1700 2014-02-19 Tom Tromey <tromey@redhat.com>
1702 * auxv.c (default_auxv_parse): No longer static.
1703 (target_auxv_parse): Unconditionally delegate.
1704 * auxv.h (default_auxv_parse): Declare.
1705 * target-delegates.c: Rebuild.
1706 * target.c: Include auxv.h.
1707 * target.h (struct target_ops) <to_auxv_parse>: Use
1708 TARGET_DEFAULT_FUNC.
1710 2014-02-19 Tom Tromey <tromey@redhat.com>
1712 * target-delegates.c: Rebuild.
1713 * target.c (target_memory_map): Unconditionally delegate.
1714 * target.h (struct target_ops) <to_memory_map>: Use
1715 TARGET_DEFAULT_RETURN.
1717 2014-02-19 Tom Tromey <tromey@redhat.com>
1719 * target-delegates.c: Rebuild.
1720 * target.c (target_thread_alive): Unconditionally delegate.
1721 * target.h (struct target_ops) <to_thread_alive>: Use
1722 TARGET_DEFAULT_RETURN.
1724 2014-02-19 Tom Tromey <tromey@redhat.com>
1726 * target-delegates.c: Rebuild.
1727 * target.c (target_save_record): Unconditionally delegate.
1728 * target.h (struct target_ops) <to_save_record>: Use
1729 TARGET_DEFAULT_NORETURN.
1731 2014-02-19 Tom Tromey <tromey@redhat.com>
1733 * target-delegates.c: Rebuild.
1734 * target.c (target_delete_record): Unconditionally delegate.
1735 * target.h (struct target_ops) <to_delete_record>: Use
1736 TARGET_DEFAULT_NORETURN.
1738 2014-02-19 Tom Tromey <tromey@redhat.com>
1740 * target-delegates.c: Rebuild.
1741 * target.c (target_record_is_replaying): Unconditionally
1743 * target.h (struct target_ops) <to_record_is_replaying>: Use
1744 TARGET_DEFAULT_RETURN.
1746 2014-02-19 Tom Tromey <tromey@redhat.com>
1748 * target-delegates.c: Rebuild.
1749 * target.c (target_goto_record_begin): Unconditionally delegate.
1750 * target.h (struct target_ops) <to_goto_record_begin>: Use
1751 TARGET_DEFAULT_NORETURN.
1753 2014-02-19 Tom Tromey <tromey@redhat.com>
1755 * target-delegates.c: Rebuild.
1756 * target.c (target_goto_record_end): Unconditionally delegate.
1757 * target.h (struct target_ops) <to_goto_record_end>: Use
1758 TARGET_DEFAULT_NORETURN.
1760 2014-02-19 Tom Tromey <tromey@redhat.com>
1762 * target-delegates.c: Rebuild.
1763 * target.c (target_goto_record): Unconditionally delegate.
1764 * target.h (struct target_ops) <to_goto_record>: Use
1765 TARGET_DEFAULT_NORETURN.
1767 2014-02-19 Tom Tromey <tromey@redhat.com>
1769 * target-delegates.c: Rebuild.
1770 * target.c (target_insn_history): Unconditionally delegate.
1771 * target.h (struct target_ops) <to_insn_history>: Use
1772 TARGET_DEFAULT_NORETURN.
1774 2014-02-19 Tom Tromey <tromey@redhat.com>
1776 * target-delegates.c: Rebuild.
1777 * target.c (target_insn_history_from): Unconditionally delegate.
1778 * target.h (struct target_ops) <to_insn_history_from>: Use
1779 TARGET_DEFAULT_NORETURN.
1781 2014-02-19 Tom Tromey <tromey@redhat.com>
1783 * target-delegates.c: Rebuild.
1784 * target.c (target_insn_history_range): Unconditionally delegate.
1785 * target.h (struct target_ops) <to_insn_history_range>: Use
1786 TARGET_DEFAULT_NORETURN.
1788 2014-02-19 Tom Tromey <tromey@redhat.com>
1790 * target-delegates.c: Rebuild.
1791 * target.c (target_call_history): Unconditionally delegate.
1792 * target.h (struct target_ops) <to_call_history>: Use
1793 TARGET_DEFAULT_NORETURN.
1795 2014-02-19 Tom Tromey <tromey@redhat.com>
1797 * target-delegates.c: Rebuild.
1798 * target.c (target_call_history_from): Unconditionally delegate.
1799 * target.h (struct target_ops) <to_call_history_from>: Use
1800 TARGET_DEFAULT_NORETURN.
1802 2014-02-19 Tom Tromey <tromey@redhat.com>
1804 * target-delegates.c: Rebuild.
1805 * target.c (target_call_history_range): Unconditionally delegate.
1806 * target.h (struct target_ops) <to_call_history_range>: Use
1807 TARGET_DEFAULT_NORETURN.
1809 2014-02-19 Tom Tromey <tromey@redhat.com>
1811 * target-delegates.c: Rebuild.
1812 * target.c (target_verify_memory): Unconditionally delegate.
1813 * target.h (struct target_ops) <to_verify_memory>: Use
1814 TARGET_DEFAULT_NORETURN.
1816 2014-02-19 Tom Tromey <tromey@redhat.com>
1818 * target-delegates.c: Rebuild.
1819 * target.c (target_core_of_thread): Unconditionally delegate.
1820 * target.h (struct target_ops) <to_core_of_thread>: Use
1821 TARGET_DEFAULT_RETURN.
1823 2014-02-19 Tom Tromey <tromey@redhat.com>
1825 * target-delegates.c: Rebuild.
1826 * target.c (target_flash_done): Unconditionally delegate.
1827 * target.h (struct target_ops) <to_flash_done>: Use
1828 TARGET_DEFAULT_NORETURN.
1830 2014-02-19 Tom Tromey <tromey@redhat.com>
1832 * target-delegates.c: Rebuild.
1833 * target.c (target_flash_erase): Unconditionally delegate.
1834 * target.h (struct target_ops) <to_flash_erase>: Use
1835 TARGET_DEFAULT_NORETURN.
1837 2014-02-19 Tom Tromey <tromey@redhat.com>
1839 * target-delegates.c: Rebuild.
1840 * target.c (target_get_section_table): Unconditionally delegate.
1841 * target.h (struct target_ops) <to_get_section_table>: Use
1842 TARGET_DEFAULT_RETURN.
1844 2014-02-19 Tom Tromey <tromey@redhat.com>
1846 * target-delegates.c: Rebuild.
1847 * target.c (target_pid_to_str): Unconditionally delegate.
1848 (init_dummy_target): Don't initialize to_pid_to_str.
1849 (default_pid_to_str): Rename from dummy_pid_to_str.
1850 * target.h (struct target_ops) <to_pid_to_str>: Use
1851 TARGET_DEFAULT_FUNC.
1853 2014-02-19 Tom Tromey <tromey@redhat.com>
1855 * target-delegates.c: Rebuild.
1856 * target.c (target_find_new_threads): Unconditionally delegate.
1857 * target.h (struct target_ops) <to_find_new_threads>: Use
1858 TARGET_DEFAULT_RETURN.
1860 2014-02-19 Tom Tromey <tromey@redhat.com>
1862 * target-delegates.c: Rebuild.
1863 * target.c (target_program_signals): Unconditionally delegate.
1864 * target.h (struct target_ops) <to_program_signals>: Use
1865 TARGET_DEFAULT_IGNORE.
1867 2014-02-19 Tom Tromey <tromey@redhat.com>
1869 * target-delegates.c: Rebuild.
1870 * target.c (target_pass_signals): Unconditionally delegate.
1871 * target.h (struct target_ops) <to_pass_signals>: Use
1872 TARGET_DEFAULT_IGNORE.
1874 2014-02-19 Tom Tromey <tromey@redhat.com>
1876 * target-delegates.c: Rebuild.
1877 * target.c (default_mourn_inferior): New function.
1878 (target_mourn_inferior): Unconditionally delegate.
1879 * target.h (struct target_ops) <to_mourn_inferior>: Use
1880 TARGET_DEFAULT_FUNC.
1882 2014-02-19 Tom Tromey <tromey@redhat.com>
1884 * target-delegates.c: Rebuild.
1885 * target.c (default_follow_fork): New function.
1886 (target_follow_fork): Unconditionally delegate.
1887 * target.h (struct target_ops) <to_follow_fork>: Use
1888 TARGET_DEFAULT_FUNC.
1890 2014-02-19 Tom Tromey <tromey@redhat.com>
1892 * target-delegates.c: Rebuild.
1893 * target.c (target_kill): Unconditionally delegate.
1894 * target.h (struct target_ops) <to_kill>: Use
1895 TARGET_DEFAULT_NORETURN.
1897 2014-02-19 Tom Tromey <tromey@redhat.com>
1899 * target-delegates.c: Rebuild.
1900 * target.c (target_masked_watch_num_registers): Unconditionally
1902 * target.h (struct target_ops) <to_masked_watch_num_registers>:
1903 Use TARGET_DEFAULT_RETURN.
1905 2014-02-19 Tom Tromey <tromey@redhat.com>
1907 * target-delegates.c: Rebuild.
1908 * target.c (target_remove_mask_watchpoint): Unconditionally
1910 * target.h (struct target_ops) <to_remove_mask_watchpoint>: Use
1911 TARGET_DEFAULT_RETURN.
1913 2014-02-19 Tom Tromey <tromey@redhat.com>
1915 * target-delegates.c: Rebuild.
1916 * target.c (target_insert_mask_watchpoint): Unconditionally
1918 * target.h (struct target_ops) <to_insert_mask_watchpoint>: Use
1919 TARGET_DEFAULT_RETURN.
1921 2014-02-19 Tom Tromey <tromey@redhat.com>
1923 * target-delegates.c: Rebuild.
1924 * target.c (target_ranged_break_num_registers): Unconditionally
1926 * target.h (struct target_ops) <to_ranged_break_num_registers>:
1927 Use TARGET_DEFAULT_RETURN.
1929 2014-02-19 Tom Tromey <tromey@redhat.com>
1931 * target-delegates.c: Rebuild.
1932 * target.c (target_fetch_registers): Unconditionally delegate.
1933 * target.h (struct target_ops) <to_fetch_registers>: Use
1934 TARGET_DEFAULT_NORETURN.
1936 2014-02-19 Tom Tromey <tromey@redhat.com>
1938 * target-delegates.c: Rebuild.
1939 * target.c (update_current_target): Don't inherit or default
1941 * target.h (struct target_ops) <to_stop>: Use
1942 TARGET_DEFAULT_IGNORE.
1944 2014-02-19 Tom Tromey <tromey@redhat.com>
1946 * target-delegates.c: Rebuild.
1947 * target.c (update_current_target): Don't inherit or default
1948 to_can_run_breakpoint_commands.
1949 * target.h (struct target_ops) <to_can_run_breakpoint_commands>:
1950 Use TARGET_DEFAULT_RETURN.
1952 2014-02-19 Tom Tromey <tromey@redhat.com>
1954 * target-delegates.c: Rebuild.
1955 * target.c (update_current_target): Don't inherit or default
1956 to_supports_evaluation_of_breakpoint_conditions.
1957 * target.h (struct target_ops)
1958 <to_supports_evaluation_of_breakpoint_conditions>: Use
1959 TARGET_DEFAULT_RETURN.
1961 2014-02-19 Tom Tromey <tromey@redhat.com>
1963 * target-delegates.c: Rebuild.
1964 * target.c (update_current_target): Don't inherit or default
1965 to_augmented_libraries_svr4_read.
1966 * target.h (struct target_ops) <to_augmented_libraries_svr4_read>:
1967 Use TARGET_DEFAULT_RETURN.
1969 2014-02-19 Tom Tromey <tromey@redhat.com>
1971 * target-delegates.c: Rebuild.
1972 * target.c (update_current_target): Don't inherit or default
1974 * target.h (struct target_ops) <to_can_use_agent>: Use
1975 TARGET_DEFAULT_RETURN.
1977 2014-02-19 Tom Tromey <tromey@redhat.com>
1979 * target-delegates.c: Rebuild.
1980 * target.c (update_current_target): Don't inherit or default
1982 * target.h (struct target_ops) <to_use_agent>: Use
1983 TARGET_DEFAULT_NORETURN.
1985 2014-02-19 Tom Tromey <tromey@redhat.com>
1987 * target-delegates.c: Rebuild.
1988 * target.c (update_current_target): Don't inherit or default
1990 (return_null): Remove.
1991 * target.h (struct target_ops) <to_traceframe_info>: Use
1992 TARGET_DEFAULT_RETURN.
1994 2014-02-19 Tom Tromey <tromey@redhat.com>
1996 * target-delegates.c: Rebuild.
1997 * target.c (update_current_target): Don't inherit or default
1998 to_static_tracepoint_markers_by_strid.
1999 * target.h (struct target_ops)
2000 <to_static_tracepoint_markers_by_strid>: Use
2001 TARGET_DEFAULT_NORETURN.
2003 2014-02-19 Tom Tromey <tromey@redhat.com>
2005 * target-delegates.c: Rebuild.
2006 * target.c (update_current_target): Don't inherit or default
2007 to_static_tracepoint_marker_at.
2008 * target.h (struct target_ops) <to_static_tracepoint_marker_at>:
2009 Use TARGET_DEFAULT_RETURN.
2011 2014-02-19 Tom Tromey <tromey@redhat.com>
2013 * target-delegates.c: Rebuild.
2014 * target.c (update_current_target): Don't inherit or default
2016 * target.h (struct target_ops) <to_set_permissions>: Use
2017 TARGET_DEFAULT_IGNORE.
2019 2014-02-19 Tom Tromey <tromey@redhat.com>
2021 * target-delegates.c: Rebuild.
2022 * target.c (update_current_target): Don't inherit or default
2024 * target.h (struct target_ops) <to_get_tib_address>: Use
2025 TARGET_DEFAULT_NORETURN.
2027 2014-02-19 Tom Tromey <tromey@redhat.com>
2029 * target-delegates.c: Rebuild.
2030 * target.c (update_current_target): Don't inherit or default
2032 * target.h (struct target_ops) <to_set_trace_notes>: Use
2033 TARGET_DEFAULT_RETURN.
2035 2014-02-19 Tom Tromey <tromey@redhat.com>
2037 * target-delegates.c: Rebuild.
2038 * target.c (update_current_target): Don't initialize
2039 to_set_trace_buffer_size.
2040 * target.h (struct target_ops) <to_set_trace_buffer_size>: Use
2041 TARGET_DEFAULT_IGNORE.
2043 2014-02-19 Tom Tromey <tromey@redhat.com>
2045 * target-delegates.c: Rebuild.
2046 * target.c (update_current_target): Don't inherit or default
2047 to_set_circular_trace_buffer.
2048 * target.h (struct target_ops) <to_set_circular_trace_buffer>: Use
2049 TARGET_DEFAULT_IGNORE.
2051 2014-02-19 Tom Tromey <tromey@redhat.com>
2053 * target-delegates.c: Rebuild.
2054 * target.c (update_current_target): Don't inherit or default
2055 to_set_disconnected_tracing.
2056 * target.h (struct target_ops) <to_set_disconnected_tracing>: Use
2057 TARGET_DEFAULT_IGNORE.
2059 2014-02-19 Tom Tromey <tromey@redhat.com>
2061 * target-delegates.c: Rebuild.
2062 * target.c (update_current_target): Don't inherit or default
2063 to_get_min_fast_tracepoint_insn_len.
2064 (return_minus_one): Remove.
2065 * target.h (struct target_ops)
2066 <to_get_min_fast_tracepoint_insn_len>: Use TARGET_DEFAULT_RETURN.
2068 2014-02-19 Tom Tromey <tromey@redhat.com>
2070 * target-delegates.c: Rebuild.
2071 * target.c (update_current_target): Don't inherit or default
2072 to_get_raw_trace_data.
2073 * target.h (struct target_ops) <to_get_raw_trace_data>: Use
2074 TARGET_DEFAULT_NORETURN.
2076 2014-02-19 Tom Tromey <tromey@redhat.com>
2078 * target-delegates.c: Rebuild.
2079 * target.c (update_current_target): Don't inherit or default
2080 to_upload_trace_state_variables.
2081 * target.h (struct target_ops) <to_upload_trace_state_variables>:
2082 Use TARGET_DEFAULT_RETURN.
2084 2014-02-19 Tom Tromey <tromey@redhat.com>
2086 * target-delegates.c: Rebuild.
2087 * target.c (update_current_target): Don't inherit or default
2088 to_upload_tracepoints.
2089 * target.h (struct target_ops) <to_upload_tracepoints>: Use
2090 TARGET_DEFAULT_RETURN.
2092 2014-02-19 Tom Tromey <tromey@redhat.com>
2094 * target-delegates.c: Rebuild.
2095 * target.c (update_current_target): Don't inherit or default
2097 * target.h (struct target_ops) <to_save_trace_data>: Use
2098 TARGET_DEFAULT_NORETURN.
2100 2014-02-19 Tom Tromey <tromey@redhat.com>
2102 * target-delegates.c: Rebuild.
2103 * target.c (update_current_target): Don't inherit or default
2104 to_get_trace_state_variable_value.
2105 * target.h (struct target_ops)
2106 <to_get_trace_state_variable_value>: Use TARGET_DEFAULT_RETURN.
2108 2014-02-19 Tom Tromey <tromey@redhat.com>
2110 * target-delegates.c: Rebuild.
2111 * target.c (update_current_target): Don't inherit or default
2113 * target.h (struct target_ops): Use TARGET_DEFAULT_RETURN.
2115 2014-02-19 Tom Tromey <tromey@redhat.com>
2117 * target-delegates.c: Rebuild.
2118 * target.c (update_current_target): Don't inherit or default
2120 * target.h (struct target_ops) <to_trace_stop>: Use
2121 TARGET_DEFAULT_NORETURN.
2123 2014-02-19 Tom Tromey <tromey@redhat.com>
2125 * target-delegates.c: Rebuild.
2126 * target.c (update_current_target): Don't inherit or default
2127 to_get_tracepoint_status.
2128 * target.h (struct target_ops) <to_get_tracepoint_status>: Use
2129 TARGET_DEFAULT_NORETURN.
2131 2014-02-19 Tom Tromey <tromey@redhat.com>
2133 * target-delegates.c: Rebuild.
2134 * target.c (update_current_target): Don't inherit or default
2135 to_get_trace_status.
2136 * target.h (struct target_ops) <to_get_trace_status>: Use
2137 TARGET_DEFAULT_RETURN.
2139 2014-02-19 Tom Tromey <tromey@redhat.com>
2141 * target-delegates.c: Rebuild.
2142 * target.c (update_current_target): Don't inherit or default
2144 * target.h (struct target_ops) <to_trace_start>: Use
2145 TARGET_DEFAULT_NORETURN.
2147 2014-02-19 Tom Tromey <tromey@redhat.com>
2149 * target-delegates.c: Rebuild.
2150 * target.c (update_current_target): Don't inherit or default
2151 to_trace_set_readonly_regions.
2152 * target.h (struct target_ops) <to_trace_set_readonly_regions>:
2153 Use TARGET_DEFAULT_NORETURN.
2155 2014-02-19 Tom Tromey <tromey@redhat.com>
2157 * target-delegates.c: Rebuild.
2158 * target.c (update_current_target): Don't inherit or default
2159 to_disable_tracepoint.
2160 * target.h (struct target_ops) <to_disable_tracepoint>: Use
2161 TARGET_DEFAULT_NORETURN.
2163 2014-02-19 Tom Tromey <tromey@redhat.com>
2165 * target-delegates.c: Rebuild.
2166 * target.c (update_current_target): Don't inherit or default
2167 to_enable_tracepoint.
2168 * target.h (struct target_ops) <to_enable_tracepoint>: Use
2169 TARGET_DEFAULT_NORETURN.
2171 2014-02-19 Tom Tromey <tromey@redhat.com>
2173 * target-delegates.c: Rebuild.
2174 * target.c (update_current_target): Don't inherit or default
2175 to_download_trace_state_variable.
2176 * target.h (struct target_ops) <to_download_trace_state_variable>:
2177 Use TARGET_DEFAULT_NORETURN.
2179 2014-02-19 Tom Tromey <tromey@redhat.com>
2181 * target-delegates.c: Rebuild.
2182 * target.c (update_current_target): Don't inherit or default
2183 to_can_download_tracepoint.
2184 * target.h (struct target_ops) <to_can_download_tracepoint>: Use
2185 TARGET_DEFAULT_RETURN.
2187 2014-02-19 Tom Tromey <tromey@redhat.com>
2189 * target-delegates.c: Rebuild.
2190 * target.c (update_current_target): Don't inherit or default
2191 to_download_tracepoint.
2192 * target.h (struct target_ops) <to_download_tracepoint>: Use
2193 TARGET_DEFAULT_NORETURN.
2195 2014-02-19 Tom Tromey <tromey@redhat.com>
2197 * target-delegates.c: Rebuild.
2198 * target.c (update_current_target): Don't inherit or default
2200 * target.h (struct target_ops) <to_trace_init>: Use
2201 TARGET_DEFAULT_RETURN.
2203 2014-02-19 Tom Tromey <tromey@redhat.com>
2205 * target-delegates.c: Rebuild.
2206 * target.c (update_current_target): Don't inherit or default
2207 to_supports_string_tracing.
2208 * target.h (struct target_ops) <to_supports_string_tracing>: Use
2209 TARGET_DEFAULT_RETURN.
2211 2014-02-19 Tom Tromey <tromey@redhat.com>
2213 * target-delegates.c: Rebuild.
2214 * target.c (update_current_target): Don't inherit or default
2215 to_supports_enable_disable_tracepoint.
2216 * target.h (struct target_ops)
2217 <to_supports_enable_disable_tracepoint>: Use
2218 TARGET_DEFAULT_RETURN.
2220 2014-02-19 Tom Tromey <tromey@redhat.com>
2222 * target-delegates.c: Rebuild.
2223 * target.c (update_current_target): Don't inherit or default
2224 to_supports_multi_process.
2225 * target.h (struct target_ops) <to_supports_multi_process>: Use
2226 TARGET_DEFAULT_RETURN.
2228 2014-02-19 Tom Tromey <tromey@redhat.com>
2230 * target-delegates.c: Rebuild.
2231 * target.c (update_current_target): Don't inherit or default
2232 to_get_ada_task_ptid.
2233 * target.h (struct target_ops) <to_get_ada_task_ptid>: Use
2234 TARGET_DEFAULT_FUNC.
2236 2014-02-19 Tom Tromey <tromey@redhat.com>
2238 * target-delegates.c: Rebuild.
2239 * target.c (update_current_target): Don't inherit or default
2240 to_thread_architecture.
2241 * target.h (struct target_ops) <to_thread_architecture>: Use
2242 TARGET_DEFAULT_FUNC.
2244 2014-02-19 Tom Tromey <tromey@redhat.com>
2246 * target-delegates.c: Rebuild.
2247 * target.c (update_current_target): Don't inherit or default
2248 to_execution_direction.
2249 * target.h (struct target_ops) <to_execution_direction>: Use
2250 TARGET_DEFAULT_FUNC.
2252 2014-02-19 Tom Tromey <tromey@redhat.com>
2254 * target-delegates.c: Rebuild.
2255 * target.c (update_current_target): Don't inherit or default
2256 to_can_execute_reverse.
2257 * target.h (struct target_ops) <to_can_execute_reverse>: Use
2258 TARGET_DEFAULT_RETURN.
2259 (target_can_execute_reverse): Unconditionally delegate.
2261 2014-02-19 Tom Tromey <tromey@redhat.com>
2263 * target-delegates.c: Rebuild.
2264 * target.c (update_current_target): Don't inherit or default
2266 (dummy_goto_bookmark): Remove.
2267 (init_dummy_target): Don't inherit or default to_goto_bookmark.
2268 * target.h (struct target_ops) <to_goto_bookmark>: Use
2269 TARGET_DEFAULT_NORETURN.
2271 2014-02-19 Tom Tromey <tromey@redhat.com>
2273 * target-delegates.c: Rebuild.
2274 * target.c (update_current_target): Don't inherit or default
2276 (dummy_get_bookmark): Remove.
2277 (init_dummy_target): Don't inherit or default to_get_bookmark.
2278 * target.h (struct target_ops) <to_get_bookmark>: Use
2279 TARGET_DEFAULT_NORETURN
2281 2014-02-19 Tom Tromey <tromey@redhat.com>
2283 * target-delegates.c: Rebuild.
2284 * target.c (update_current_target): Don't inherit or default
2285 to_make_corefile_notes.
2286 (init_dummy_target): Don't initialize to_make_corefile_notes.
2287 * target.h (struct target_ops) <to_make_corefile_notes>: Use
2288 TARGET_DEFAULT_FUNC.
2290 2014-02-19 Tom Tromey <tromey@redhat.com>
2292 * target-delegates.c: Rebuild.
2293 * target.c (update_current_target): Don't inherit or default
2294 to_find_memory_regions.
2295 (init_dummy_target): Don't initialize to_find_memory_regions.
2296 * target.h (struct target_ops) <to_find_memory_regions>: Use
2297 TARGET_DEFAULT_FUNC.
2299 2014-02-19 Tom Tromey <tromey@redhat.com>
2301 * target-delegates.c: Rebuild.
2302 * target.c (update_current_target): Don't inherit or default
2304 * target.h (struct target_ops) <to_log_command>: Use
2305 TARGET_DEFAULT_IGNORE.
2306 (target_log_command): Unconditionally delegate.
2308 2014-02-19 Tom Tromey <tromey@redhat.com>
2310 * target-delegates.c: Rebuild.
2311 * target.c (update_current_target): Don't inherit or default
2312 to_pid_to_exec_file.
2313 * target.h (struct target_ops) <to_pid_to_exec_file>: Use
2314 TARGET_DEFAULT_RETURN.
2316 2014-02-19 Tom Tromey <tromey@redhat.com>
2318 * target-delegates.c: Rebuild.
2319 * target.c (update_current_target): Don't inherit or default
2321 (target_thread_name): Unconditionally delegate.
2322 * target.h (struct target_ops) <to_thread_name>: Use
2323 TARGET_DEFAULT_RETURN.
2325 2014-02-19 Tom Tromey <tromey@redhat.com>
2327 * target-delegates.c: Rebuild.
2328 * target.c (update_current_target): Don't inherit or default
2329 to_extra_thread_info.
2330 * target.h (struct target_ops) <to_extra_thread_info>: Use
2331 TARGET_DEFAULT_RETURN.
2333 2014-02-19 Tom Tromey <tromey@redhat.com>
2335 * target-delegates.c: Rebuild.
2336 * target.c (update_current_target): Don't inherit or default
2338 * target.h (struct target_ops) <to_has_exited>: Use
2339 TARGET_DEFAULT_RETURN..
2341 2014-02-19 Tom Tromey <tromey@redhat.com>
2343 * target-delegates.c: Rebuild.
2344 * target.c (update_current_target): Don't inherit or default
2345 to_set_syscall_catchpoint.
2346 (return_one): Remove.
2347 * target.h (struct target_ops) <to_set_syscall_catchpoint>: Use
2348 TARGET_DEFAULT_RETURN.
2350 2014-02-19 Tom Tromey <tromey@redhat.com>
2352 * target-delegates.c: Rebuild.
2353 * target.c (update_current_target): Don't inherit or default
2354 to_insert_exec_catchpoint.
2355 * target.h (struct target_ops) <to_insert_exec_catchpoint>: Use
2356 TARGET_DEFAULT_RETURN.
2358 2014-01-08 Tom Tromey <tromey@redhat.com>
2360 * target-delegates.c: Rebuild.
2361 * target.c (update_current_target): Don't inherit or default
2362 to_insert_exec_catchpoint.
2363 * target.h (struct target_ops) <to_insert_exec_catchpoint>: Use
2364 TARGET_DEFAULT_RETURN.
2366 2014-02-19 Tom Tromey <tromey@redhat.com>
2368 * target-delegates.c: Rebuild.
2369 * target.c (update_current_target): Don't inherit or default
2370 to_remove_vfork_catchpoint.
2371 * target.h (struct target_ops) <to_remove_vfork_catchpoint>: Use
2372 TARGET_DEFAULT_RETURN.
2374 2014-02-19 Tom Tromey <tromey@redhat.com>
2376 * target-delegates.c: Rebuild.
2377 * target.c (update_current_target): Don't inherit or default
2378 to_insert_vfork_catchpoint.
2379 * target.h (struct target_ops) <to_insert_vfork_catchpoint>: Use
2380 TARGET_DEFAULT_RETURN.
2382 2014-02-19 Tom Tromey <tromey@redhat.com>
2384 * target-delegates.c: Rebuild.
2385 * target.c (update_current_target): Don't inherit or default
2386 to_remove_fork_catchpoint.
2387 * target.h (struct target_ops) <to_remove_fork_catchpoint>: Use
2388 TARGET_DEFAULT_RETURN.
2390 2014-02-19 Tom Tromey <tromey@redhat.com>
2392 * target-delegates.c: Rebuild.
2393 * target.c (update_current_target): Don't inherit or default
2394 to_insert_fork_catchpoint.
2395 * target.h (struct target_ops) <to_insert_fork_catchpoint>: Use
2396 TARGET_DEFAULT_RETURN.
2398 2014-02-19 Tom Tromey <tromey@redhat.com>
2400 * target-delegates.c: Rebuild.
2401 * target.c (update_current_target): Don't inherit or default
2402 to_post_startup_inferior.
2403 * target.h (struct target_ops) <to_post_startup_inferior>: Use
2404 TARGET_DEFAULT_IGNORE.
2406 2014-02-19 Tom Tromey <tromey@redhat.com>
2408 * target-delegates.c: Rebuild.
2409 * target.c (update_current_target): Don't inherit or default
2411 * target.h (struct target_ops) <to_load>: Use
2412 TARGET_DEFAULT_NORETURN.
2414 2014-02-19 Tom Tromey <tromey@redhat.com>
2416 * target-delegates.c: Rebuild.
2417 * target.c (update_current_target): Don't inherit or default
2419 * target.h (struct target_ops) <to_terminal_info>: Use
2420 TARGET_DEFAULT_FUNC.
2422 2014-02-19 Tom Tromey <tromey@redhat.com>
2424 * target-delegates.c: Rebuild.
2425 * target.c (update_current_target): Don't inherit or default
2426 to_terminal_save_ours.
2427 * target.h (struct target_ops) <to_terminal_save_ours>: Use
2428 TARGET_DEFAULT_IGNORE.
2430 2014-02-19 Tom Tromey <tromey@redhat.com>
2432 * target-delegates.c: Rebuild.
2433 * target.c (update_current_target): Don't inherit or default
2435 * target.h (struct target_ops) <to_terminal_ours>: Use
2436 TARGET_DEFAULT_IGNORE.
2438 2014-02-19 Tom Tromey <tromey@redhat.com>
2440 * target-delegates.c: Rebuild.
2441 * target.c (update_current_target): Don't inherit or default
2442 to_terminal_ours_for_output.
2443 * target.h (struct target_ops) <to_terminal_ours_for_output>: Use
2444 TARGET_DEFAULT_IGNORE.
2446 2014-02-19 Tom Tromey <tromey@redhat.com>
2448 * target-delegates.c: Rebuild.
2449 * target.c (update_current_target): Don't inherit or default
2450 to_terminal_inferior.
2451 * target.h (struct target_ops) <to_terminal_inferior>: Use
2452 TARGET_DEFAULT_IGNORE.
2454 2014-02-19 Tom Tromey <tromey@redhat.com>
2456 * target-delegates.c: Rebuild.
2457 * target.c (update_current_target): Don't inherit or default
2459 * target.h (struct target_ops) <to_terminal_init>: Use
2460 TARGET_DEFAULT_IGNORE.
2462 2014-02-19 Tom Tromey <tromey@redhat.com>
2464 * target-delegates.c: Rebuild.
2465 * target.c (update_current_target): Don't inherit or default
2466 to_can_accel_watchpoint_condition.
2467 * target.h (struct target_ops)
2468 <to_can_accel_watchpoint_condition>: Use TARGET_DEFAULT_RETURN.
2470 2014-02-19 Tom Tromey <tromey@redhat.com>
2472 * target-delegates.c: Rebuild.
2473 * target.c (update_current_target): Don't inherit or default
2474 to_region_ok_for_hw_watchpoint.
2475 * target.h (struct target_ops) <to_region_ok_for_hw_watchpoint>:
2476 Use TARGET_DEFAULT_FUNC.
2478 2014-02-19 Tom Tromey <tromey@redhat.com>
2480 * target-delegates.c: Rebuild.
2481 * target.c (update_current_target): Don't inherit or default
2482 to_watchpoint_addr_within_range.
2483 * target.h (struct target_ops) <to_watchpoint_addr_within_range>:
2484 Use TARGET_DEFAULT_FUNC.
2486 2014-02-19 Tom Tromey <tromey@redhat.com>
2488 * target-delegates.c: Rebuild.
2489 * target.c (update_current_target): Don't inherit or default
2490 to_remove_watchpoint.
2491 * target.h (struct target_ops) <to_remove_watchpoint>: Use
2492 TARGET_DEFAULT_NORETURN.
2494 2014-02-19 Tom Tromey <tromey@redhat.com>
2496 * target-delegates.c: Rebuild.
2497 * target.c (update_current_target): Don't inherit or default
2498 to_insert_watchpoint.
2499 * target.h (struct target_ops) <to_insert_watchpoint>: Use
2500 TARGET_DEFAULT_RETURN.
2502 2014-02-19 Tom Tromey <tromey@redhat.com>
2504 * target-delegates.c: Rebuild.
2505 * target.c (update_current_target): Don't inherit or default
2506 to_remove_hw_breakpoint.
2507 * target.h (struct target_ops) <to_remove_hw_breakpoint>: Use
2508 TARGET_DEFAULT_RETURN.
2510 2014-02-19 Tom Tromey <tromey@redhat.com>
2512 * target-delegates.c: Rebuild.
2513 * target.c (update_current_target): Don't inherit or default
2514 to_insert_hw_breakpoint.
2515 * target.h (struct target_ops) <to_insert_hw_breakpoint>: Use
2516 TARGET_DEFAULT_RETURN.
2518 2014-02-19 Tom Tromey <tromey@redhat.com>
2520 * target-delegates.c: Rebuild.
2521 * target.c (update_current_target): Don't inherit or default
2522 to_can_use_hw_breakpoint.
2523 * target.h (struct target_ops) <to_can_use_hw_breakpoint>: Use
2524 TARGET_DEFAULT_RETURN.
2526 2014-02-19 Tom Tromey <tromey@redhat.com>
2528 * target-delegates.c: Rebuild.
2529 * target.c (update_current_target): Don't inherit or default
2531 * target.h (struct target_ops) <to_files_info>: Use
2532 TARGET_DEFAULT_IGNORE.
2534 2014-02-19 Tom Tromey <tromey@redhat.com>
2536 * target-delegates.c: Rebuild.
2537 * target.c (update_current_target): Don't inherit or default
2539 * target.h (struct target_ops) <to_store>: Use
2540 TARGET_DEFAULT_NORETURN.
2542 2014-02-19 Tom Tromey <tromey@redhat.com>
2544 * target-delegates.c: Rebuild.
2545 * target.c (update_current_target): Don't inherit or default
2547 * target.h (struct target_ops) <to_post_attach>: Use
2548 TARGET_DEFAULT_IGNORE.
2550 2014-02-19 Tom Tromey <tromey@redhat.com>
2552 * target-delegates.c: Rebuild.
2553 * target.c (update_current_target): Don't inherit or default
2555 (default_rcmd): New function.
2556 (do_monitor_command): Unconditionally delegate.
2557 * target.h (struct target_ops) <to_rmcd>: Use
2558 TARGET_DEFAULT_FUNC.
2560 2014-02-19 Tom Tromey <tromey@redhat.com>
2562 * target-delegates.c: Rebuild.
2563 * target.c (init_dummy_target): Don't initialize to_attach.
2564 (target_attach): Unconditionally delegate.
2565 * target.h (struct target_ops) <to_attach>: Use
2566 TARGET_DEFAULT_FUNC.
2568 2014-02-19 Tom Tromey <tromey@redhat.com>
2570 * target-delegates.c: Rebuild.
2571 * target.c (target_detach): Unconditionally delegate.
2572 (init_dummy_target): Don't initialize to_detach.
2573 * target.h (struct target_ops) <to_detach>: Use
2574 TARGET_DEFAULT_IGNORE.
2576 2014-02-19 Tom Tromey <tromey@redhat.com>
2578 * target.h (struct target_ops) <to_augmented_libraries_svr4_read>:
2580 (target_augmented_libraries_svr4_read): Add argument.
2581 * target.c (update_current_target): Update.
2582 * remote.c (remote_augmented_libraries_svr4_read): Add 'self'
2585 2014-02-19 Tom Tromey <tromey@redhat.com>
2587 * target.h (struct target_ops) <to_call_history_range>: Add
2589 * target.c (target_call_history_range): Add argument.
2590 * record-btrace.c (record_btrace_call_history_range): Add 'self'
2592 (record_btrace_call_history_from): Update.
2594 2014-02-19 Tom Tromey <tromey@redhat.com>
2596 * target.h (struct target_ops) <to_call_history_from>: Add
2598 * target.c (target_call_history_from): Add argument.
2599 * record-btrace.c (record_btrace_call_history_from): Add 'self'
2602 2014-02-19 Tom Tromey <tromey@redhat.com>
2604 * target.h (struct target_ops) <to_call_history>: Add argument.
2605 * target.c (target_call_history): Add argument.
2606 * record-btrace.c (record_btrace_call_history): Add 'self'
2609 2014-02-19 Tom Tromey <tromey@redhat.com>
2611 * target.h (struct target_ops) <to_insn_history_range>: Add
2613 * target.c (target_insn_history_range): Add argument.
2614 * record-btrace.c (record_btrace_insn_history_range): Add 'self'
2616 (record_btrace_insn_history_from): Update.
2618 2014-02-19 Tom Tromey <tromey@redhat.com>
2620 * target.h (struct target_ops) <to_insn_history_from>: Add
2622 * target.c (target_insn_history_from): Add argument.
2623 * record-btrace.c (record_btrace_insn_history_from): Add 'self'
2626 2014-02-19 Tom Tromey <tromey@redhat.com>
2628 * target.h (struct target_ops) <to_insn_history>: Add argument.
2629 * target.c (target_insn_history): Add argument.
2630 * record-btrace.c (record_btrace_insn_history): Add 'self'
2633 2014-02-19 Tom Tromey <tromey@redhat.com>
2635 * target.h (struct target_ops) <to_goto_record>: Add argument.
2636 * target.c (target_goto_record): Add argument.
2637 * record-full.c (record_full_goto): Add 'self' argument.
2638 * record-btrace.c (record_btrace_goto): Add 'self' argument.
2640 2014-02-19 Tom Tromey <tromey@redhat.com>
2642 * target.h (struct target_ops) <to_goto_record_end>: Add argument.
2643 * target.c (target_goto_record_end): Add argument.
2644 * record-full.c (record_full_goto_end): Add 'self' argument.
2645 * record-btrace.c (record_btrace_goto_end): Add 'self' argument.
2647 2014-02-19 Tom Tromey <tromey@redhat.com>
2649 * target.h (struct target_ops) <to_goto_record_begin>: Add
2651 * target.c (target_goto_record_begin): Add argument.
2652 * record-full.c (record_full_goto_begin): Add 'self' argument.
2653 * record-btrace.c (record_btrace_goto_begin): Add 'self'
2656 2014-02-19 Tom Tromey <tromey@redhat.com>
2658 * target.h (struct target_ops) <to_record_is_replaying>: Add
2660 * target.c (target_record_is_replaying): Add argument.
2661 * record-full.c (record_full_is_replaying): Add 'self' argument.
2662 * record-btrace.c (record_btrace_is_replaying): Add 'self'
2664 (record_btrace_xfer_partial, record_btrace_store_registers)
2665 (record_btrace_prepare_to_store, record_btrace_resume)
2666 (record_btrace_wait, record_btrace_decr_pc_after_break)
2667 (record_btrace_find_new_threads, record_btrace_thread_alive):
2670 2014-02-19 Tom Tromey <tromey@redhat.com>
2672 * target.h (struct target_ops) <to_delete_record>: Add argument.
2673 * target.c (target_delete_record): Add argument.
2674 * record-full.c (record_full_delete): Add 'self' argument.
2676 2014-02-19 Tom Tromey <tromey@redhat.com>
2678 * target.h (struct target_ops) <to_save_record>: Add argument.
2679 * target.c (target_save_record): Add argument.
2680 * record-full.c (record_full_save): Add 'self' argument.
2681 (record_full_save): Add 'self' argument.
2683 2014-02-19 Tom Tromey <tromey@redhat.com>
2685 * target.h (struct target_ops) <to_info_record>: Add argument.
2686 * target.c (target_info_record): Add argument.
2687 * record.c (info_record_command): Add argument.
2688 * record-full.c (record_full_info): Add 'self' argument.
2689 * record-btrace.c (record_btrace_info): Add 'self' argument.
2691 2014-02-19 Tom Tromey <tromey@redhat.com>
2693 * target.h (struct target_ops) <to_stop_recording>: Add argument.
2694 * target.c (target_stop_recording): Add argument.
2695 * record.c (record_stop): Add argument.
2696 * record-btrace.c (record_btrace_stop_recording): Add 'self'
2699 2014-02-19 Tom Tromey <tromey@redhat.com>
2701 * target.h (struct target_ops) <to_read_btrace>: Add argument.
2702 * target.c (struct target_ops) <to_read_btrace>: Add argument.
2703 * remote.c (struct target_ops) <to_read_btrace>: Add 'self'
2705 * amd64-linux-nat.c (amd64_linux_read_btrace): New function.
2706 (_initialize_amd64_linux_nat): Use it.
2707 * i386-linux-nat.c (i386_linux_read_btrace): New function.
2708 (_initialize_i386_linux_nat): Use it.
2710 2014-02-19 Tom Tromey <tromey@redhat.com>
2712 * target.h (struct target_ops) <to_teardown_btrace>: Add argument.
2713 * target.c (target_teardown_btrace): Add argument.
2714 * remote.c (remote_teardown_btrace): Add 'self' argument.
2715 * i386-linux-nat.c (i386_linux_teardown_btrace): Add 'self'
2717 * amd64-linux-nat.c (amd64_linux_teardown_btrace): Add 'self'
2720 2014-02-19 Tom Tromey <tromey@redhat.com>
2722 * target.h (struct target_ops) <to_disable_btrace>: Add argument.
2723 * target.c (target_disable_btrace): Add argument.
2724 * remote.c (remote_disable_btrace): Add 'self' argument.
2725 * i386-linux-nat.c (i386_linux_disable_btrace): Add 'self'
2727 * amd64-linux-nat.c (amd64_linux_disable_btrace): Add 'self'
2730 2014-02-19 Tom Tromey <tromey@redhat.com>
2732 * target.h (struct target_ops) <to_enable_btrace>: Add argument.
2733 * target.c (target_enable_btrace): Add argument.
2734 * remote.c (remote_enable_btrace): Add 'self' argument.
2735 * i386-linux-nat.c (i386_linux_enable_btrace): Add 'self'
2737 * amd64-linux-nat.c (amd64_linux_enable_btrace): Add 'self'
2740 2014-02-19 Tom Tromey <tromey@redhat.com>
2742 * target.h (struct target_ops) <to_can_use_agent>: Add argument.
2743 (target_can_use_agent): Add argument.
2744 * target.c (update_current_target): Update.
2745 * remote.c (remote_can_use_agent): Add 'self' argument.
2746 * inf-child.c (inf_child_can_use_agent): Add 'self' argument.
2748 2014-02-19 Tom Tromey <tromey@redhat.com>
2750 * target.h (struct target_ops) <to_use_agent>: Add argument.
2751 (target_use_agent): Add argument.
2752 * target.c (update_current_target): Update.
2753 * remote.c (remote_use_agent): Add 'self' argument.
2754 * inf-child.c (inf_child_use_agent): Add 'self' argument.
2756 2014-02-19 Tom Tromey <tromey@redhat.com>
2758 * tracepoint.c (tfile_traceframe_info): Add 'self' argument.
2759 * target.h (struct target_ops) <to_traceframe_info>: Add argument.
2760 (target_traceframe_info): Add argument.
2761 * target.c (update_current_target): Update.
2762 * remote.c (remote_traceframe_info): Add 'self' argument.
2763 * ctf.c (ctf_traceframe_info): Add 'self' argument.
2765 2014-02-19 Tom Tromey <tromey@redhat.com>
2767 * target.h (target_static_tracepoint_markers_by_strid): Add
2769 (struct target_ops) <to_static_tracepoint_markers_by_strid>: Add
2771 * target.c (update_current_target): Update.
2772 * remote.c (struct target_ops)
2773 <to_static_tracepoint_markers_by_strid>: Add 'self' argument.
2774 * linux-nat.c (struct target_ops)
2775 <to_static_tracepoint_markers_by_strid>: Add 'self' argument.
2777 2014-02-19 Tom Tromey <tromey@redhat.com>
2779 * target.h (struct target_ops) <to_static_tracepoint_marker_at>:
2781 (target_static_tracepoint_marker_at): Add argument.
2782 * target.c (update_current_target): Update.
2783 * remote.c (remote_static_tracepoint_marker_at): Add 'self'
2786 2014-02-19 Tom Tromey <tromey@redhat.com>
2788 * target.h (struct target_ops) <to_set_permissions>: Add argument.
2789 (target_set_permissions): Add argument.
2790 * target.c (update_current_target): Update.
2791 * remote.c (remote_set_permissions): Add 'self' argument.
2792 (remote_start_remote): Update.
2794 2014-02-19 Tom Tromey <tromey@redhat.com>
2796 * windows-nat.c (windows_get_tib_address): Add 'self' argument.
2797 * target.h (struct target_ops) <to_get_tib_address>: Add argument.
2798 (target_get_tib_address): Add argument.
2799 * target.c (update_current_target): Update.
2800 * remote.c (remote_get_tib_address): Add 'self' argument.
2802 2014-02-19 Tom Tromey <tromey@redhat.com>
2804 * target.h (struct target_ops) <to_set_trace_notes>: Add argument.
2805 (target_set_trace_notes): Add argument.
2806 * target.c (update_current_target): Update.
2807 * remote.c (remote_set_trace_notes): Add 'self' argument.
2809 2014-02-19 Tom Tromey <tromey@redhat.com>
2811 * target.h (struct target_ops) <to_set_trace_buffer_size>: Add
2813 (target_set_trace_buffer_size): Add argument.
2814 * target.c (update_current_target): Update.
2815 * remote.c (remote_set_trace_buffer_size): Add 'self' argument.
2817 2014-02-19 Tom Tromey <tromey@redhat.com>
2819 * target.h (struct target_ops) <to_set_circular_trace_buffer>: Add
2821 (target_set_circular_trace_buffer): Add argument.
2822 * target.c (update_current_target): Update.
2823 * remote.c (remote_set_circular_trace_buffer): Add 'self'
2826 2014-02-19 Tom Tromey <tromey@redhat.com>
2828 * target.h (struct target_ops) <to_set_disconnected_tracing>: Add
2830 (target_set_disconnected_tracing): Add argument.
2831 * target.c (update_current_target): Update.
2832 * remote.c (remote_set_disconnected_tracing): Add 'self' argument.
2834 2014-02-19 Tom Tromey <tromey@redhat.com>
2836 * target.h (struct target_ops)
2837 <to_get_min_fast_tracepoint_insn_len>: Add argument.
2838 (target_get_min_fast_tracepoint_insn_len): Add argument.
2839 * target.c (update_current_target): Update.
2840 * remote.c (remote_get_min_fast_tracepoint_insn_len): Add 'self'
2843 2014-02-19 Tom Tromey <tromey@redhat.com>
2845 * target.h (struct target_ops) <to_get_raw_trace_data>: Add
2847 (target_get_raw_trace_data): Add argument.
2848 * target.c (update_current_target): Update.
2849 * remote.c (remote_get_raw_trace_data): Add 'self' argument.
2851 2014-02-19 Tom Tromey <tromey@redhat.com>
2853 * target.h (struct target_ops) <to_upload_trace_state_variables>:
2855 (target_upload_trace_state_variables): Add argument.
2856 * target.c (update_current_target): Update.
2857 * remote.c (remote_upload_trace_state_variables): Add 'self'
2859 (remote_start_remote): Update.
2861 2014-02-19 Tom Tromey <tromey@redhat.com>
2863 * target.h (struct target_ops) <to_upload_tracepoints>: Add
2865 (target_upload_tracepoints): Add argument.
2866 * target.c (update_current_target): Update.
2867 * remote.c (remote_upload_tracepoints): Add 'self' argument.
2868 (remote_start_remote): Update.
2870 2014-02-19 Tom Tromey <tromey@redhat.com>
2872 * target.h (struct target_ops) <to_save_trace_data>: Add argument.
2873 (target_save_trace_data): Add argument.
2874 * target.c (update_current_target): Update.
2875 * remote.c (remote_save_trace_data): Add 'self' argument.
2877 2014-02-19 Tom Tromey <tromey@redhat.com>
2879 * tracepoint.c (tfile_get_trace_state_variable_value): Add 'self'
2881 * target.h (struct target_ops)
2882 <to_get_trace_state_variable_value>: Add argument.
2883 (target_get_trace_state_variable_value): Add argument.
2884 * target.c (update_current_target): Update.
2885 * remote.c (remote_get_trace_state_variable_value): Add 'self'
2887 * ctf.c (ctf_get_trace_state_variable_value): Add 'self' argument.
2889 2014-02-19 Tom Tromey <tromey@redhat.com>
2891 * tracepoint.c (tfile_trace_find): Add 'self' argument.
2892 * target.h (struct target_ops) <to_trace_find>: Add argument.
2893 (target_trace_find): Add argument.
2894 * target.c (update_current_target): Update.
2895 * remote.c (remote_trace_find): Add 'self' argument.
2896 * ctf.c (ctf_trace_find): Add 'self' argument.
2898 2014-02-19 Tom Tromey <tromey@redhat.com>
2900 * target.h (struct target_ops) <to_trace_stop>: Add argument.
2901 (target_trace_stop): Add argument.
2902 * target.c (update_current_target): Update.
2903 * remote.c (remote_trace_stop): Add 'self' argument.
2905 2014-02-19 Tom Tromey <tromey@redhat.com>
2907 * tracepoint.c (tfile_get_tracepoint_status): Add 'self' argument.
2908 * target.h (struct target_ops) <to_get_tracepoint_status>: Add
2910 (target_get_tracepoint_status): Add argument.
2911 * target.c (update_current_target): Update.
2912 * remote.c (remote_get_tracepoint_status): Add 'self' argument.
2914 2014-02-19 Tom Tromey <tromey@redhat.com>
2916 * tracepoint.c (tfile_get_trace_status): Add 'self' argument.
2917 * target.h (struct target_ops) <to_get_trace_status>: Add
2919 (target_get_trace_status): Add argument.
2920 * target.c (update_current_target): Update.
2921 * remote.c (remote_get_trace_status): Add 'self' argument.
2922 (remote_start_remote, remote_can_download_tracepoint): Update.
2923 * ctf.c (ctf_get_trace_status): Add 'self' argument.
2925 2014-02-19 Tom Tromey <tromey@redhat.com>
2927 * target.h (struct target_ops) <to_trace_start>: Add argument.
2928 (target_trace_start): Add argument.
2929 * target.c (update_current_target): Update.
2930 * remote.c (remote_trace_start): Add 'self' argument.
2932 2014-02-19 Tom Tromey <tromey@redhat.com>
2934 * target.h (struct target_ops) <to_trace_set_readonly_regions>:
2936 (target_trace_set_readonly_regions): Add argument.
2937 * target.c (update_current_target): Update.
2938 * remote.c (remote_trace_set_readonly_regions): Add 'self'
2941 2014-02-19 Tom Tromey <tromey@redhat.com>
2943 * target.h (struct target_ops) <to_disable_tracepoint>: Add
2945 (target_disable_tracepoint): Add argument.
2946 * target.c (update_current_target): Update.
2947 * remote.c (remote_disable_tracepoint): Add 'self' argument.
2949 2014-02-19 Tom Tromey <tromey@redhat.com>
2951 * target.h (struct target_ops) <to_enable_tracepoint>: Add
2953 (target_enable_tracepoint): Add argument.
2954 * target.c (update_current_target): Update.
2955 * remote.c (remote_enable_tracepoint): Add 'self' argument.
2957 2014-02-19 Tom Tromey <tromey@redhat.com>
2959 * target.h (struct target_ops) <to_download_trace_state_variable>:
2961 (target_download_trace_state_variable): Add argument.
2962 * target.c (update_current_target): Update.
2963 * remote.c (remote_download_trace_state_variable): Add 'self'
2966 2014-02-19 Tom Tromey <tromey@redhat.com>
2968 * target.h (struct target_ops) <to_can_download_tracepoint>: Add
2970 (target_can_download_tracepoint): Add argument.
2971 * target.c (update_current_target): Update.
2972 * remote.c (remote_can_download_tracepoint): Add 'self' argument.
2974 2014-02-19 Tom Tromey <tromey@redhat.com>
2976 * target.h (struct target_ops) <to_download_tracepoint>: Add
2978 (target_download_tracepoint): Add argument.
2979 * target.c (update_current_target): Update.
2980 * remote.c (remote_download_tracepoint): Add 'self' argument.
2982 2014-02-19 Tom Tromey <tromey@redhat.com>
2984 * target.h (struct target_ops) <to_trace_init>: Add argument.
2985 (target_trace_init): Add argument.
2986 * target.c (update_current_target): Update.
2987 * remote.c (remote_trace_init): Add 'self' argument.
2989 2014-02-19 Tom Tromey <tromey@redhat.com>
2991 * target.h (struct target_ops) <to_fileio_readlink>: Add argument.
2992 * target.c (target_fileio_readlink): Add argument.
2993 * remote.c (remote_hostio_readlink): Add 'self' argument.
2994 * inf-child.c (inf_child_fileio_readlink): Add 'self' argument.
2996 2014-02-19 Tom Tromey <tromey@redhat.com>
2998 * target.h (struct target_ops) <to_fileio_unlink>: Add argument.
2999 * target.c (target_fileio_unlink): Add argument.
3000 * remote.c (remote_hostio_unlink): Add 'self' argument.
3001 (remote_file_delete): Update.
3002 * inf-child.c (inf_child_fileio_unlink): Add 'self' argument.
3004 2014-02-19 Tom Tromey <tromey@redhat.com>
3006 * target.h (struct target_ops) <to_fileio_close>: Add argument.
3007 * target.c (target_fileio_close): Add argument.
3008 * remote.c (remote_hostio_close): Add 'self' argument.
3009 (remote_hostio_close_cleanup): Update.
3010 (remote_bfd_iovec_close, remote_file_put, remote_file_get):
3012 * inf-child.c (inf_child_fileio_close): Add 'self' argument.
3014 2014-02-19 Tom Tromey <tromey@redhat.com>
3016 * target.h (struct target_ops) <to_fileio_pread>: Add argument.
3017 * target.c (target_fileio_pread): Add argument.
3018 * remote.c (remote_hostio_pread): Add 'self' argument.
3019 (remote_bfd_iovec_pread, remote_file_get): Update.
3020 * inf-child.c (inf_child_fileio_pread): Add 'self' argument.
3022 2014-02-19 Tom Tromey <tromey@redhat.com>
3024 * target.h (struct target_ops) <to_fileio_pwrite>: Add argument.
3025 * target.c (target_fileio_pwrite): Add argument.
3026 * remote.c (remote_hostio_pwrite): Add 'self' argument.
3027 (remote_file_put): Update.
3028 * inf-child.c (inf_child_fileio_pwrite): Add 'self' argument.
3030 2014-02-19 Tom Tromey <tromey@redhat.com>
3032 * target.h (struct target_ops) <to_fileio_open>: Add argument.
3033 * target.c (target_fileio_open): Add argument.
3034 * remote.c (remote_hostio_open): Add 'self' argument.
3035 (remote_bfd_iovec_open): Add 'self' argument.
3036 (remote_file_put): Add 'self' argument.
3037 (remote_file_get): Add 'self' argument.
3038 * inf-child.c (inf_child_fileio_open): Add 'self' argument.
3040 2014-02-19 Tom Tromey <tromey@redhat.com>
3042 * target.h (struct target_ops) <to_can_run_breakpoint_commands>:
3044 (target_can_run_breakpoint_commands): Add argument.
3045 * target.c (update_current_target): Update.
3046 * remote.c (remote_can_run_breakpoint_commands): Add 'self'
3048 (remote_insert_breakpoint): Add 'self' argument.
3049 (remote_insert_hw_breakpoint): Add 'self' argument.
3050 (remote_can_run_breakpoint_commands): Add 'self' argument.
3052 2014-02-19 Tom Tromey <tromey@redhat.com>
3054 * target.h (struct target_ops)
3055 <to_supports_evaluation_of_breakpoint_conditions>: Add argument.
3056 (target_supports_evaluation_of_breakpoint_conditions): Add
3058 * target.c (update_current_target): Update.
3059 * remote.c (remote_supports_cond_breakpoints): Add 'self'
3061 (remote_insert_breakpoint): Add 'self' argument.
3062 (remote_insert_hw_breakpoint): Add 'self' argument.
3063 (remote_supports_cond_breakpoints): Add 'self' argument.
3065 2014-02-19 Tom Tromey <tromey@redhat.com>
3067 * target.h (struct target_ops) <to_supports_string_tracing>: Add
3069 (target_supports_string_tracing): Add argument.
3070 * target.c (update_current_target): Update.
3071 * remote.c (remote_supports_string_tracing): Add 'self' argument.
3073 2014-02-19 Tom Tromey <tromey@redhat.com>
3075 * target.h (struct target_ops)
3076 <to_supports_disable_randomization>: Add argument.
3077 * target.c (find_default_supports_disable_randomization): Add
3079 (target_supports_disable_randomization): Add argument.
3080 (find_default_supports_disable_randomization): Add 'self'
3082 * remote.c (extended_remote_supports_disable_randomization): Add
3084 (remote_supports_disable_randomization): Add 'self' argument.
3085 (extended_remote_create_inferior): Update.
3086 * linux-nat.c (linux_nat_supports_disable_randomization): Add
3089 2014-02-19 Tom Tromey <tromey@redhat.com>
3091 * target.h (struct target_ops)
3092 <to_supports_enable_disable_tracepoint>: Add argument.
3093 (target_supports_enable_disable_tracepoint): Add argument.
3094 * target.c (update_current_target): Update.
3095 * remote.c (remote_supports_enable_disable_tracepoint): Add 'self'
3098 2014-02-19 Tom Tromey <tromey@redhat.com>
3100 * target.h (struct target_ops) <to_supports_multi_process>: Add
3102 (target_supports_multi_process): Add argument.
3103 * target.c (update_current_target): Update.
3104 * remote.c (remote_supports_multi_process): Add 'self' argument.
3105 * linux-nat.c (linux_nat_supports_multi_process): Add 'self'
3107 * darwin-nat.c (darwin_supports_multi_process): Add 'self'
3110 2014-02-19 Tom Tromey <tromey@redhat.com>
3112 * target.h (struct target_ops) <to_execution_direction>: Add
3114 (target_execution_direction): Add argument.
3115 * target.c (default_execution_direction): Add 'self' argument.
3116 * record-full.c (record_full_execution_direction): Add 'self'
3119 2014-02-19 Tom Tromey <tromey@redhat.com>
3121 * target.h (struct target_ops) <to_can_execute_reverse>: Add
3123 (target_can_execute_reverse): Add argument.
3124 * remote.c (remote_can_execute_reverse): Add 'self' argument.
3125 * record-full.c (record_full_can_execute_reverse): Add 'self'
3127 * record-btrace.c (record_btrace_can_execute_reverse): Add 'self'
3130 2014-02-19 Tom Tromey <tromey@redhat.com>
3132 * windows-nat.c (windows_get_ada_task_ptid): Add 'self' argument.
3133 * target.h (struct target_ops) <to_get_ada_task_ptid>: Add
3135 (target_get_ada_task_ptid): Add argument.
3136 * target.c (update_current_target): Update.
3137 (default_get_ada_task_ptid): Add 'self' argument.
3138 * sol-thread.c (sol_get_ada_task_ptid): Add 'self' argument.
3139 * remote.c (remote_get_ada_task_ptid): Add 'self' argument.
3140 * ravenscar-thread.c (ravenscar_get_ada_task_ptid): Add 'self'
3142 * linux-thread-db.c (thread_db_get_ada_task_ptid): Add 'self'
3144 * inf-ttrace.c (inf_ttrace_get_ada_task_ptid): Add 'self'
3146 * dec-thread.c (dec_thread_get_ada_task_ptid): Add 'self'
3148 * darwin-nat.c (darwin_get_ada_task_ptid): Add 'self' argument.
3149 * aix-thread.c (aix_thread_get_ada_task_ptid): Add 'self'
3152 2014-02-19 Tom Tromey <tromey@redhat.com>
3154 * target.h (struct target_ops) <to_goto_bookmark>: Add argument.
3155 (target_goto_bookmark): Add argument.
3156 * target.c (dummy_goto_bookmark): Add 'self' argument.
3157 * record-full.c (record_full_goto_bookmark): Add 'self' argument.
3159 2014-02-19 Tom Tromey <tromey@redhat.com>
3161 * target.h (struct target_ops) <to_get_bookmark>: Add argument.
3162 (target_get_bookmark): Add argument.
3163 * target.c (dummy_get_bookmark): Add 'self' argument.
3164 * record-full.c (record_full_get_bookmark): Add 'self' argument.
3166 2014-02-19 Tom Tromey <tromey@redhat.com>
3168 * target.h (struct target_ops) <to_make_corefile_notes>: Add
3170 (target_make_corefile_notes): Add argument.
3171 * target.c (dummy_make_corefile_notes): Add 'self' argument.
3172 * procfs.c (procfs_make_note_section): Add 'self' argument.
3173 (procfs_make_note_section): Add 'self' argument.
3174 (procfs_make_note_section): Add 'self' argument.
3175 * linux-nat.c (linux_nat_make_corefile_notes): Add 'self'
3177 * fbsd-nat.h (fbsd_make_corefile_notes): Add 'self' argument.
3178 * fbsd-nat.c (fbsd_make_corefile_notes): Add 'self' argument.
3179 * exec.c (exec_make_note_section): Add 'self' argument.
3180 (exec_make_note_section): Add 'self' argument.
3182 2014-02-19 Tom Tromey <tromey@redhat.com>
3184 * target.h (struct target_ops) <to_find_memory_regions>: Add
3186 (target_find_memory_regions): Add argument.
3187 * target.c (dummy_find_memory_regions): Add 'self' argument.
3188 * procfs.c (proc_find_memory_regions): Add 'self' argument.
3189 * gnu-nat.c (gnu_find_memory_regions): Add 'self' argument.
3190 * fbsd-nat.h (fbsd_find_memory_regions): Add 'self' argument.
3191 * fbsd-nat.c (fbsd_find_memory_regions): Add 'self' argument.
3192 * exec. (exec_do_find_memory_regions): New global.
3193 (exec_set_find_memory_regions): Rewrite.
3194 (exec_find_memory_regions): New function.
3195 (init_exec_ops): Use exec_find_memory_regions.
3197 2014-02-19 Tom Tromey <tromey@redhat.com>
3199 * target.h (struct target_ops) <to_supports_non_stop>: Add
3201 * target.c (find_default_supports_non_stop): Add argument.
3202 (target_supports_non_stop): Add argument.
3203 (find_default_supports_non_stop): Add 'self' argument.
3204 * remote.c (remote_supports_non_stop): Add 'self' argument.
3205 * linux-nat.c (linux_nat_supports_non_stop): Add 'self' argument.
3207 2014-02-19 Tom Tromey <tromey@redhat.com>
3209 * target.h (struct target_ops) <to_log_command>: Add argument.
3210 (target_log_command): Add argument.
3211 * serial.h (serial_log_command): Add 'self' argument.
3212 * serial.c (serial_log_command): Add 'self' argument.
3214 2014-02-19 Tom Tromey <tromey@redhat.com>
3216 * windows-nat.c (windows_pid_to_exec_file): Add 'self' argument.
3217 * target.h (struct target_ops) <to_pid_to_exec_file>: Add
3219 (target_pid_to_exec_file): Add argument.
3220 * target.c (debug_to_pid_to_exec_file): Add argument.
3221 (update_current_target): Update.
3222 * nbsd-nat.h (nbsd_pid_to_exec_file): Add 'self' argument.
3223 * nbsd-nat.c (nbsd_pid_to_exec_file): Add 'self' argument.
3224 * linux-nat.c (linux_child_pid_to_exec_file): Add 'self' argument.
3225 (linux_handle_extended_wait): Update.
3226 * inf-child.c (inf_child_pid_to_exec_file): Add 'self' argument.
3227 * fbsd-nat.h (fbsd_pid_to_exec_file): Add 'self' argument.
3228 * fbsd-nat.c (fbsd_pid_to_exec_file): Add 'self' argument.
3229 * darwin-nat.c (darwin_pid_to_exec_file): Add 'self' argument.
3231 2014-02-19 Tom Tromey <tromey@redhat.com>
3233 * target.h (struct target_ops) <to_rcmd>: Add argument.
3234 (target_rcmd): Add argument.
3235 * target.c (debug_to_rcmd): Add argument.
3236 (update_current_target, do_monitor_command): Update.
3237 * remote.c (remote_rcmd): Add 'self' argument.
3238 * monitor.c (monitor_rcmd): Add 'self' argument.
3240 2014-02-19 Tom Tromey <tromey@redhat.com>
3242 * windows-nat.c (windows_stop): Add 'self' argument.
3243 * target.h (struct target_ops) <to_stop>: Add argument.
3244 * target.c (target_stop): Add argument.
3245 (debug_to_stop): Add argument.
3246 (update_current_target): Update.
3247 * remote.c (remote_stop): Add 'self' argument.
3248 * remote-sim.c (gdbsim_stop): Add 'self' argument.
3249 (gdbsim_cntrl_c): Update.
3250 * remote-m32r-sdi.c (m32r_stop): Add 'self' argument.
3251 * procfs.c (procfs_stop): Add 'self' argument.
3252 * nto-procfs.c (procfs_stop): Add 'self' argument.
3253 * monitor.c (monitor_stop): Add 'self' argument.
3254 (monitor_open): Update.
3255 * linux-nat.c (linux_nat_stop): Add argument.
3256 * inf-ptrace.c (inf_ptrace_stop): Add 'self' argument.
3257 * gnu-nat.c (gnu_stop): Add 'self' argument.
3258 * darwin-nat.c (darwin_stop): Add 'self' argument.
3260 2014-02-19 Tom Tromey <tromey@redhat.com>
3262 * target.h (struct target_ops) <to_thread_name>: Add argument.
3263 * target.c (target_thread_name): Add argument.
3264 (update_current_target): Update.
3265 * linux-nat.c (linux_nat_thread_name): Add 'self' argument.
3267 2014-02-19 Tom Tromey <tromey@redhat.com>
3269 * target.h (struct target_ops) <to_extra_thread_info>: Add
3271 (target_extra_thread_info): Add argument.
3272 * target.c (update_current_target): Update.
3273 * remote.c (remote_threads_extra_info): Add 'self' argument.
3274 * ravenscar-thread.c (ravenscar_extra_thread_info): Add 'self'
3276 * nto-tdep.h (nto_extra_thread_info): Add 'self' argument.
3277 * nto-tdep.c (nto_extra_thread_info): Add 'self' argument.
3278 * linux-thread-db.c (thread_db_extra_thread_info): Add 'self'
3280 * inf-ttrace.c (inf_ttrace_extra_thread_info): Add 'self'
3282 * bsd-uthread.c (bsd_uthread_extra_thread_info): Add 'self'
3284 * aix-thread.c (aix_thread_extra_thread_info): Add 'self'
3287 2014-02-19 Tom Tromey <tromey@redhat.com>
3289 * target.h (struct target_ops) <to_program_signals>: Add argument.
3290 * target.c (target_program_signals): Add argument.
3291 * remote.c (remote_program_signals): Add 'self' argument.
3293 2014-02-19 Tom Tromey <tromey@redhat.com>
3295 * target.h (struct target_ops) <to_pass_signals>: Add argument.
3296 * target.c (target_pass_signals): Add argument.
3297 * remote.c (remote_pass_signals): Add 'self' argument.
3298 (remote_start_remote): Update.
3299 * procfs.c (procfs_pass_signals): Add 'self' argument.
3300 * nto-procfs.c (procfs_pass_signals): Add 'self' argument.
3301 * linux-nat.c (linux_nat_pass_signals): Add 'self' argument.
3302 (linux_nat_create_inferior, linux_nat_attach): Update.
3304 2014-02-19 Tom Tromey <tromey@redhat.com>
3306 * windows-nat.c (windows_can_run): Add 'self' argument.
3307 * target.h (struct target_ops) <to_can_run>: Add argument.
3308 (target_can_run): Add argument.
3309 * target.c (debug_to_can_run): Add argument.
3310 (update_current_target): Update.
3311 * nto-procfs.c (procfs_can_run): Add 'self' argument.
3312 * inf-child.c (inf_child_can_run): Add 'self' argument.
3313 * go32-nat.c (go32_can_run): Add 'self' argument.
3315 2014-02-19 Tom Tromey <tromey@redhat.com>
3317 * target.h (struct target_ops) <to_has_exited>: Add argument.
3318 (target_has_exited): Add argument.
3319 * target.c (debug_to_has_exited): Add argument.
3320 (update_current_target): Update.
3322 2014-02-19 Tom Tromey <tromey@redhat.com>
3324 * target.h (struct target_ops) <to_set_syscall_catchpoint>: Add
3326 (target_set_syscall_catchpoint): Add argument.
3327 * linux-nat.c (linux_child_set_syscall_catchpoint): Add 'self'
3329 * target.c (update_current_target): Update.
3331 2014-02-19 Tom Tromey <tromey@redhat.com>
3333 * target.h (struct target_ops) <to_remove_exec_catchpoint>: Add
3335 (target_remove_exec_catchpoint): Add argument.
3336 * target.c (debug_to_remove_exec_catchpoint): Add argument.
3337 (update_current_target): Update.
3338 * linux-nat.c (linux_child_remove_exec_catchpoint): Add 'self'
3341 2014-02-19 Tom Tromey <tromey@redhat.com>
3343 * target.h (struct target_ops) <to_insert_exec_catchpoint>: Add
3345 (target_insert_exec_catchpoint): Add argument.
3346 * target.c (debug_to_insert_exec_catchpoint): Add argument.
3347 (update_current_target): Update.
3348 * linux-nat.c (linux_child_insert_exec_catchpoint): Add 'self'
3351 2014-02-19 Tom Tromey <tromey@redhat.com>
3353 * target.h (struct target_ops) <to_remove_vfork_catchpoint>: Add
3355 (target_remove_vfork_catchpoint): Add argument.
3356 * target.c (debug_to_remove_vfork_catchpoint): Add argument.
3357 (update_current_target): Update.
3358 * linux-nat.c (linux_child_remove_vfork_catchpoint): Add 'self'
3361 2014-02-19 Tom Tromey <tromey@redhat.com>
3363 * target.h (struct target_ops) <to_insert_vfork_catchpoint>: Add
3365 (target_insert_vfork_catchpoint): Add argument.
3366 * target.c (debug_to_insert_vfork_catchpoint): Add argument.
3367 (update_current_target): Update.
3368 * linux-nat.c (linux_child_insert_vfork_catchpoint): Add 'self'
3371 2014-02-19 Tom Tromey <tromey@redhat.com>
3373 * target.h (struct target_ops) <to_remove_fork_catchpoint>: Add
3375 (target_remove_fork_catchpoint): Add argument.
3376 * target.c (debug_to_remove_fork_catchpoint): Add argument.
3377 (update_current_target): Update.
3378 * linux-nat.c (linux_child_remove_fork_catchpoint): Add 'self'
3381 2014-02-19 Tom Tromey <tromey@redhat.com>
3383 * target.h (struct target_ops) <to_insert_fork_catchpoint>: Add
3385 (target_insert_fork_catchpoint): Add argument.
3386 * target.c (debug_to_insert_fork_catchpoint): Add argument.
3387 (update_current_target): Update.
3388 * linux-nat.c (linux_child_insert_fork_catchpoint): Add 'self'
3391 2014-02-19 Tom Tromey <tromey@redhat.com>
3393 * target.h (struct target_ops) <to_post_startup_inferior>: Add
3395 (target_post_startup_inferior): Add argument.
3396 * target.c (debug_to_post_startup_inferior): Add argument.
3397 (update_current_target): Update.
3398 * spu-linux-nat.c (spu_child_post_startup_inferior): Add 'self'
3400 * linux-nat.c (linux_child_post_startup_inferior): Add 'self'
3402 * inf-ptrace.c (inf_ptrace_post_startup_inferior): Add 'self'
3404 * inf-child.c (inf_child_post_startup_inferior): Add 'self'
3406 * i386-linux-nat.c (i386_linux_child_post_startup_inferior): Add
3408 (super_post_startup_inferior): Likewise.
3409 * amd64-linux-nat.c (amd64_linux_child_post_startup_inferior): Add
3411 (super_post_startup_inferior): Likewise.
3412 * aarch64-linux-nat.c (aarch64_linux_child_post_startup_inferior):
3413 Add 'self' argument.
3414 (super_post_startup_inferior): Likewise.
3416 2014-02-19 Tom Tromey <tromey@redhat.com>
3418 * target.h (struct target_ops) <to_load>: Add argument.
3419 * target.c (target_load): Add argument.
3420 (debug_to_load): Add argument.
3421 (update_current_target): Update.
3422 * remote.c (remote_load): Add 'self' argument.
3423 * remote-sim.c (gdbsim_load): Add 'self' argument.
3424 * remote-mips.c (mips_load): Add 'self' argument.
3425 * remote-m32r-sdi.c (m32r_load): Add 'self' argument.
3426 * monitor.c (monitor_load): Add 'self' argument.
3427 * m32r-rom.c (m32r_load_gen): Add 'self' argument.
3429 2014-02-19 Tom Tromey <tromey@redhat.com>
3431 * target.h (struct target_ops) <to_terminal_info>: Add argument.
3432 (target_terminal_info): Add argument.
3433 * target.c (debug_to_terminal_info): Add argument.
3434 (default_terminal_info): Likewise.
3435 * inflow.c (child_terminal_info): Add 'self' argument.
3436 * inferior.h (child_terminal_info): Add 'self' argument.
3437 * go32-nat.c (go32_terminal_info): Add 'self' argument.
3439 2014-02-19 Tom Tromey <tromey@redhat.com>
3441 * target.h (struct target_ops) <to_terminal_save_ours>: Add
3443 (target_terminal_save_ours): Add argument.
3444 * target.c (debug_to_terminal_save_ours): Add argument.
3445 (update_current_target): Update.
3446 * inflow.c (terminal_save_ours): Add 'self' argument.
3447 * inferior.h (terminal_save_ours): Add 'self' argument.
3449 2014-02-19 Tom Tromey <tromey@redhat.com>
3451 * target.h (struct target_ops) <to_terminal_ours>: Add argument.
3452 (target_terminal_ours): Add argument.
3453 * target.c (debug_to_terminal_ours): Add argument.
3454 (update_current_target): Update.
3455 * remote.c (remote_terminal_ours): Add 'self' argument.
3456 (remote_close): Update.
3457 * linux-nat.c (linux_nat_terminal_ours): Add 'self' argument.
3458 * inflow.c (terminal_ours): Add 'self' argument.
3459 * inferior.h (terminal_ours): Add 'self' argument.
3460 * go32-nat.c (go32_terminal_ours): Add 'self' argument.
3462 2014-02-19 Pedro Alves <palves@redhat.com>
3463 Tom Tromey <tromey@redhat.com>
3465 * target.h (struct target_ops) <to_terminal_ours_for_output>: Add
3467 (target_terminal_ours_for_output): Add argument.
3468 * target.c (debug_to_terminal_ours_for_output): Add argument.
3469 (update_current_target): Update.
3470 * inflow.c (terminal_ours_for_output): Add 'self' argument.
3471 * inferior.h (terminal_ours_for_output): Add 'self' argument.
3472 * go32-nat.c (go32_terminal_ours): Add 'self' argument.
3474 2014-02-19 Tom Tromey <tromey@redhat.com>
3476 * target.h (struct target_ops) <to_terminal_inferior>: Add
3478 * target.c (target_terminal_inferior): Add argument.
3479 (update_current_target): Update.
3480 * remote.c (remote_terminal_inferior): Add 'self' argument.
3481 * linux-nat.c (linux_nat_terminal_inferior): Add 'self' argument.
3482 * inflow.c (terminal_inferior): Add 'self' argument.
3483 * inferior.h (terminal_inferior): Add 'self' argument.
3484 * go32-nat.c (go32_terminal_inferior): Add 'self' argument.
3485 (go32_terminal_inferior): Add 'self' argument.
3487 2014-02-19 Tom Tromey <tromey@redhat.com>
3489 * target.h (struct target_ops) <to_terminal_init>: Add argument.
3490 (target_terminal_init): Add argument.
3491 * target.c (debug_to_terminal_init): Add argument.
3492 (update_current_target): Update.
3493 * inflow.c (terminal_init_inferior): Add 'self' argument.
3494 * inferior.h (terminal_init_inferior): Add 'self' argument.
3495 * go32-nat.c (go32_terminal_init): Add 'self' argument.
3496 * gnu-nat.c (gnu_terminal_init_inferior): Add 'self' argument.
3498 2014-02-19 Tom Tromey <tromey@redhat.com>
3500 * target.h (struct target_ops)
3501 <to_can_accel_watchpoint_condition>: Add argument.
3502 (target_can_accel_watchpoint_condition): Add argument.
3503 * target.c (debug_to_can_accel_watchpoint_condition): Add
3505 (update_current_target): Update.
3506 * ppc-linux-nat.c (ppc_linux_can_accel_watchpoint_condition): Add
3509 2014-02-19 Tom Tromey <tromey@redhat.com>
3511 * target.h (struct target_ops) <to_region_ok_for_hw_watchpoint>:
3513 (target_region_ok_for_hw_watchpoint): Add argument.
3514 * target.c (debug_to_region_ok_for_hw_watchpoint): Add argument.
3515 (default_region_ok_for_hw_watchpoint): Add argument.
3516 * spu-multiarch.c (spu_region_ok_for_hw_watchpoint): Add argument.
3517 * s390-linux-nat.c (s390_region_ok_for_hw_watchpoint): Add 'self'
3519 * remote.c (remote_region_ok_for_hw_watchpoint): Add 'self'
3521 * procfs.c (procfs_region_ok_for_hw_watchpoint): Add 'self'
3523 * ppc-linux-nat.c (ppc_linux_region_ok_for_hw_watchpoint): Add
3525 * mips-linux-nat.c (mips_linux_region_ok_for_hw_watchpoint): Add
3527 * inf-ttrace.c (inf_ttrace_region_ok_for_hw_watchpoint): Add
3529 * i386-nat.c (i386_region_ok_for_watchpoint): Add 'self' argument.
3530 * arm-linux-nat.c (arm_linux_region_ok_for_hw_watchpoint): Add
3532 * aarch64-linux-nat.c (aarch64_linux_region_ok_for_hw_watchpoint):
3533 Add 'self' argument.
3535 2014-02-19 Tom Tromey <tromey@redhat.com>
3537 * target.h (struct target_ops) <to_insert_watchpoint>: Add
3539 (target_insert_watchpoint): Add argument.
3540 * target.c (debug_to_insert_watchpoint): Add argument.
3541 (update_current_target): Update.
3542 * s390-linux-nat.c (s390_insert_watchpoint): Add 'self' argument.
3543 * remote.c (remote_insert_watchpoint): Add 'self' argument.
3544 * remote-mips.c (mips_insert_watchpoint): Add 'self' argument.
3545 * remote-m32r-sdi.c (m32r_insert_watchpoint): Add 'self' argument.
3546 * procfs.c (procfs_insert_watchpoint): Add 'self' argument.
3547 * ppc-linux-nat.c (ppc_linux_insert_watchpoint): Add 'self'
3549 * nto-procfs.c (procfs_insert_hw_watchpoint): Add 'self' argument.
3550 (procfs_insert_hw_watchpoint): Add 'self' argument.
3551 * mips-linux-nat.c (mips_linux_insert_watchpoint): Add 'self'
3553 * inf-ttrace.c (inf_ttrace_insert_watchpoint): Add 'self'
3555 * ia64-linux-nat.c (ia64_linux_insert_watchpoint): Add 'self'
3557 * i386-nat.c (i386_insert_watchpoint): Add 'self' argument.
3558 * arm-linux-nat.c (arm_linux_insert_watchpoint): Add 'self'
3560 * aarch64-linux-nat.c (aarch64_linux_insert_watchpoint): Add
3563 2014-02-19 Tom Tromey <tromey@redhat.com>
3565 * target.h (struct target_ops) <to_remove_watchpoint>: Add
3567 (target_remove_watchpoint): Add argument.
3568 * target.c (debug_to_remove_watchpoint): Add argument.
3569 (update_current_target): Update.
3570 * s390-linux-nat.c (s390_remove_watchpoint): Add 'self' argument.
3571 * remote.c (remote_remove_watchpoint): Add 'self' argument.
3572 * remote-mips.c (mips_remove_watchpoint): Add 'self' argument.
3573 * remote-m32r-sdi.c (m32r_remove_watchpoint): Add 'self' argument.
3574 * procfs.c (procfs_remove_watchpoint): Add 'self' argument.
3575 * ppc-linux-nat.c (ppc_linux_remove_watchpoint): Add 'self'
3577 * nto-procfs.c (procfs_remove_hw_watchpoint): Add 'self' argument.
3578 * mips-linux-nat.c (mips_linux_remove_watchpoint): Add 'self'
3580 * inf-ttrace.c (inf_ttrace_remove_watchpoint): Add 'self'
3582 * ia64-linux-nat.c (ia64_linux_remove_watchpoint): Add 'self'
3584 * i386-nat.c (i386_remove_watchpoint): Add 'self' argument.
3585 * arm-linux-nat.c (arm_linux_remove_watchpoint): Add 'self'
3587 * aarch64-linux-nat.c (aarch64_linux_remove_watchpoint): Add
3590 2014-02-19 Tom Tromey <tromey@redhat.com>
3592 * target.h (struct target_ops) <to_remove_hw_breakpoint>: Add
3594 (target_remove_hw_breakpoint): Add argument.
3595 * target.c (debug_to_remove_hw_breakpoint): Add argument.
3596 (update_current_target): Update.
3597 * remote.c (remote_remove_hw_breakpoint): Add 'self' argument.
3598 * ppc-linux-nat.c (ppc_linux_remove_hw_breakpoint): Add 'self'
3600 * i386-nat.c (i386_remove_hw_breakpoint): Add 'self' argument.
3601 * arm-linux-nat.c (arm_linux_remove_hw_breakpoint): Add 'self'
3603 * aarch64-linux-nat.c (aarch64_linux_remove_hw_breakpoint): Add
3606 2014-02-19 Tom Tromey <tromey@redhat.com>
3608 * target.h (struct target_ops) <to_insert_hw_breakpoint>: Add
3610 (target_insert_hw_breakpoint): Add argument.
3611 * target.c (debug_to_insert_hw_breakpoint): Add argument.
3612 (update_current_target): Update.
3613 * remote.c (remote_insert_hw_breakpoint): Add 'self' argument.
3614 * ppc-linux-nat.c (ppc_linux_insert_hw_breakpoint): Add 'self'
3616 * nto-procfs.c (procfs_insert_hw_breakpoint): Add 'self' argument.
3617 * i386-nat.c (i386_insert_hw_breakpoint): Add 'self' argument.
3618 * arm-linux-nat.c (arm_linux_insert_hw_breakpoint): Add 'self'
3620 * aarch64-linux-nat.c (aarch64_linux_insert_hw_breakpoint): Add
3623 2014-02-19 Tom Tromey <tromey@redhat.com>
3625 * target.h (struct target_ops) <to_can_use_hw_breakpoint>: Add
3627 (target_can_use_hardware_watchpoint): Add argument.
3628 * target.c (debug_to_can_use_hw_breakpoint): Add argument.
3629 (update_current_target): Update.
3630 * spu-linux-nat.c (spu_can_use_hw_breakpoint): Add 'self'
3632 * s390-linux-nat.c (s390_can_use_hw_breakpoint): Add 'self'
3634 * remote.c (remote_check_watch_resources): Add 'self' argument.
3635 * remote-mips.c (mips_can_use_watchpoint): Add 'self' argument.
3636 * remote-m32r-sdi.c (m32r_can_use_hw_watchpoint): Add 'self'
3638 * procfs.c (procfs_can_use_hw_breakpoint): Add 'self' argument.
3639 * ppc-linux-nat.c (ppc_linux_can_use_hw_breakpoint): Add 'self'
3641 * nto-procfs.c (procfs_can_use_hw_breakpoint): Add 'self'
3643 * mips-linux-nat.c (mips_linux_can_use_hw_breakpoint): Add 'self'
3645 * inf-ttrace.c (inf_ttrace_can_use_hw_breakpoint): Add 'self'
3647 * ia64-linux-nat.c (ia64_linux_can_use_hw_breakpoint): Add 'self'
3649 * ia64-hpux-nat.c (ia64_hpux_can_use_hw_breakpoint): Add 'self'
3651 * i386-nat.c (i386_can_use_hw_breakpoint): Add 'self' argument.
3652 * arm-linux-nat.c (arm_linux_can_use_hw_breakpoint): Add 'self'
3654 * aarch64-linux-nat.c (aarch64_linux_can_use_hw_breakpoint): Add
3657 2014-02-19 Tom Tromey <tromey@redhat.com>
3659 * target.h (struct target_ops) <to_post_attach>: Add argument.
3660 (target_post_attach): Add argument.
3661 * target.c (debug_to_post_attach): Add argument.
3662 (update_current_target): Update.
3663 * spu-linux-nat.c (spu_child_post_attach): Add 'self' argument.
3664 * nto-procfs.c (procfs_post_attach): Add 'self' argument.
3665 * linux-nat.c (linux_child_post_attach): Add 'self' argument.
3666 * inf-ptrace.c (inf_ptrace_post_attach): Add 'self' argument.
3667 * inf-child.c (inf_child_post_attach): Add 'self' argument.
3669 2014-02-19 Tom Tromey <tromey@redhat.com>
3671 * windows-nat.c (windows_close): Add 'self' argument.
3672 * tracepoint.c (tfile_close): Add 'self' argument.
3673 * target.h (struct target_ops) <to_close>: Add argument.
3674 * target.c (target_close): Add argument.
3675 (update_current_target): Update.
3676 * remote.c (remote_close): Add 'self' argument.
3677 * remote-sim.c (gdbsim_close): Add 'self' argument.
3678 * remote-mips.c (mips_close): Add 'self' argument.
3679 * remote-m32r-sdi.c (m32r_close): Add 'self' argument.
3680 * record-full.c (record_full_close): Add 'self' argument.
3681 * record-btrace.c (record_btrace_close): Add 'self' argument.
3682 * monitor.h (monitor_close): Add 'self' argument.
3683 * monitor.c (monitor_close): Add 'self' argument.
3684 * mips-linux-nat.c (mips_linux_close): Add 'self' argument.
3685 * linux-nat.c (linux_nat_close): Add argument.
3686 * go32-nat.c (go32_close): Add 'self' argument.
3687 * exec.c (exec_close_1): Add 'self' argument.
3688 * ctf.c (ctf_close): Add 'self' argument.
3689 * corelow.c (core_close): Add 'self' argument.
3690 (core_close_cleanup): Update.
3691 * bsd-uthread.c (bsd_uthread_close): Add 'self' argument.
3692 * bsd-kvm.c (bsd_kvm_close): Add 'self' argument.
3694 2014-02-19 Tom Tromey <tromey@redhat.com>
3696 * remote.c (remote_load): New function.
3697 (init_remote_ops): Use it.
3699 2014-02-19 Tom Tromey <tromey@redhat.com>
3701 * common/linux-btrace.c (linux_supports_btrace): Add "ops"
3703 * common/linux-btrace.h (linux_supports_btrace): Update.
3704 * remote.c (remote_supports_btrace): Add "self" argument.
3705 * target-delegates.c: Rebuild.
3706 * target.c (target_supports_btrace): Remove.
3707 * target.h (struct target_ops) <to_supports_btrace>: Add
3708 target_ops argument.
3709 (target_supports_btrace): New define.
3711 2014-02-19 Tom Tromey <tromey@redhat.com>
3713 * record-full.c (record_full_beneath_to_resume_ops)
3714 (record_full_beneath_to_resume, record_full_beneath_to_wait_ops)
3715 (record_full_beneath_to_wait)
3716 (record_full_beneath_to_store_registers_ops)
3717 (record_full_beneath_to_store_registers)
3718 (record_full_beneath_to_xfer_partial_ops)
3719 (record_full_beneath_to_xfer_partial)
3720 (record_full_beneath_to_insert_breakpoint_ops)
3721 (record_full_beneath_to_insert_breakpoint)
3722 (record_full_beneath_to_remove_breakpoint_ops)
3723 (record_full_beneath_to_remove_breakpoint)
3724 (record_full_beneath_to_stopped_by_watchpoint)
3725 (record_full_beneath_to_stopped_data_address)
3726 (record_full_beneath_to_async, tmp_to_resume_ops, tmp_to_resume)
3727 (tmp_to_wait_ops, tmp_to_wait, tmp_to_store_registers_ops)
3728 (tmp_to_store_registers, tmp_to_xfer_partial_ops)
3729 (tmp_to_xfer_partial, tmp_to_instmp_to_insert_breakpoint_ops)
3730 (tmp_to_insert_breakpoint, tmp_to_remove_breakpoint_ops)
3731 (tmp_to_remove_breakpoint, tmp_to_stopped_by_watchpoint)
3732 (tmp_to_stopped_data_address, tmp_to_async): Remove.
3733 (record_full_open_1, record_full_open): Update. Use RECORD_IS_USED.
3734 (record_full_resume, record_full_wait_1)
3735 (record_full_stopped_by_watchpoint, record_full_stopped_data_address)
3736 (record_full_store_registers, record_full_xfer_partial)
3737 (record_full_insert_breakpoint, record_full_remove_breakpoint)
3738 (record_full_async, record_full_core_xfer_partial): Use target
3740 * target-delegates.c: Rebuild.
3741 * target.c (current_xfer_partial): Remove.
3742 (update_current_target): Do not INHERIT or de_fault
3743 to_insert_breakpoint, to_remove_breakpoint,
3744 to_stopped_data_address, to_stopped_by_watchpoint, to_can_async_p,
3745 to_is_async_p, to_async. Do not set to_xfer_partial field.
3746 (default_xfer_partial): Simplify.
3747 (current_xfer_partial): Remove.
3748 (target_wait, target_resume): Simplify.
3749 (find_default_can_async_p, find_default_is_async_p): Update.
3750 (init_dummy_target): Don't set to_can_async_p, to_is_async_p,
3751 to_xfer_partial, to_stopped_by_watchpoint,
3752 to_stopped_data_address.
3753 (target_store_registers): Simplify.
3754 (forward_target_remove_breakpoint)
3755 (forward_target_insert_breakpoint): Remove.
3756 (target_remove_breakpoint, target_insert_breakpoint)
3757 (debug_to_insert_breakpoint, debug_to_remove_breakpoint): Update.
3758 * target.h (struct target_ops) <to_resume, to_wait,
3759 to_store_registers, to_insert_breakpoint, to_remove_breakpoint,
3760 to_stopped_by_watchpoint, to_stopped_data_address, to_can_async_p,
3761 to_is_async_p, to_async, to_xfer_partial>: Add TARGET_DEFAULT
3763 (forward_target_remove_breakpoint)
3764 (forward_target_insert_breakpoint): Remove.
3765 * record-btrace.c (record_btrace_remove_breakpoint): Delegate
3767 (record_btrace_insert_breakpoint): Delegate directly.
3769 2014-02-19 Tom Tromey <tromey@redhat.com>
3772 * target-delegates.c: New file.
3773 * target.c: Include target-delegates.c.
3774 (init_dummy_target): Call install_dummy_methods.
3775 (complete_target_initialization): Call install_delegators.
3776 * target.h (TARGET_DEFAULT_IGNORE, TARGET_DEFAULT_NORETURN)
3777 (TARGET_DEFAULT_RETURN, TARGET_DEFAULT_FUNC): New defines.
3778 * make-target-delegates: New file.
3780 2014-02-19 Tom Tromey <tromey@redhat.com>
3782 * record.c (find_record_target): Use find_target_at.
3783 * target.c (find_target_at): New function.
3784 * target.h (find_target_at): Declare.
3786 2014-02-19 Tom Tromey <tromey@redhat.com>
3788 * aarch64-linux-nat.c (aarch64_linux_stopped_by_watchpoint):
3790 * arm-linux-nat.c (arm_linux_stopped_by_watchpoint): Add
3792 * i386-nat.c (i386_stopped_by_watchpoint): Add 'ops' argument.
3793 * ia64-linux-nat.c (ia64_linux_stopped_by_watchpoint): Add
3795 * inf-ttrace.c (inf_ttrace_stopped_by_watchpoint): Add 'ops'
3797 * linux-nat.c (save_sigtrap): Update.
3798 (linux_nat_stopped_by_watchpoint, linux_nat_is_async_p)
3799 (linux_nat_can_async_p, linux_nat_async): Add 'ops' argument.
3800 (linux_nat_close): Update.
3801 * mips-linux-nat.c (mips_linux_stopped_by_watchpoint): Add 'ops'
3803 * ppc-linux-nat.c (ppc_linux_stopped_by_watchpoint): Add 'ops'
3805 * procfs.c (procfs_stopped_by_watchpoint): Add 'ops' argument.
3806 * record-full.c (record_full_beneath_to_stopped_by_watchpoint)
3807 (record_full_beneath_to_async, tmp_to_stopped_by_watchpoint)
3808 (tmp_to_async): Add 'ops' argument.
3809 (record_full_stopped_by_watchpoint, record_full_async)
3810 (record_full_can_async_p, record_full_is_async_p): Add 'ops'
3812 * remote-m32r-sdi.c (m32r_insert_breakpoint, m32r_remove_breakpoint)
3813 (m32r_stopped_by_watchpoint): Add 'ops' argument.
3814 * remote-mips.c (mips_stopped_by_watchpoint): Add 'ops' argument.
3815 * remote.c (remote_stopped_by_watchpoint_p, remote_can_async_p)
3816 (remote_is_async_p, remote_async): Add 'ops' argument.
3817 (remote_stopped_data_address): Update.
3818 * s390-nat.c (s390_stopped_by_watchpoint): Add 'ops' argument.
3819 * target.c (update_current_target)
3820 (find_default_can_async_p, find_default_is_async_p): Update.
3821 (init_dummy_target): Update.
3822 (debug_to_stopped_by_watchpoint): Add 'ops' argument.
3823 * target.h (struct target_ops) <to_stopped_by_watchpoint,
3824 to_can_async_p, to_is_async_p, to_async>: Add 'ops' argument.
3825 (target_can_async_p, target_is_async_p, target_async)
3826 (target_stopped_by_watchpoint): Update.
3828 2014-02-19 Yao Qi <yao@codesourcery.com>
3831 * gdbarch.sh: Remove startup_gdbarch.
3832 * gdbarch.c: Regenerated.
3833 * gdbarch.h: Likewise.
3835 2014-02-17 Kevin Buettner <kevinb@redhat.com>
3837 * rl78-tdep.c (rl78_g10_register_name): New function.
3838 (rl78_return_value): Add g10 support.
3839 (rl78_gdbarch_init): Register rl78_g10_register_name for the
3842 2014-02-17 Doug Evans <xdje42@gmail.com>
3844 * Makefile.in (SUBDIR_GUILE_OBS): Resort alphabetically.
3845 (SUBDIR_GUILE_SRCS): Ditto.
3846 (scm-gsmob.o): Ditto.
3848 2014-02-17 Yao Qi <yao@codesourcery.com>
3850 * gnu-nat.c (ILL_RPC): Declare defined function.
3852 2014-02-17 Yao Qi <yao@codesourcery.com>
3854 * gnu-nat.c (gnu_read_inferior): Change 'copy_count' type to
3855 mach_msg_type_number_t.
3856 (gnu_write_inferior): Likewise.
3858 2014-02-17 Yao Qi <yao@codesourcery.com>
3860 * gnu-nat.c (proc_get_exception_port): Use 'lu' insetad of 'd'
3862 (proc_steal_exc_port, make_proc, inf_set_pid): Likewise.
3863 (inf_validate_procs, inf_signal): Likewise.
3864 (S_exception_raise_request): Likewise.
3865 (do_mach_notify_dead_name): Likewise.
3866 (steal_exc_port): Likewise.
3867 (gnu_read_inferior): Change 'copy_count''s type to
3868 mach_msg_type_number_t.
3869 (gnu_write_inferior): Likewise. Use 'lx' instead of 'x' in
3872 2014-02-16 Thomas Schwinge <thomas@codesourcery.com>
3874 * gnu-nat.c (struct inf): Change pending_execs member to a 1-bit
3875 flag. Adjust all users; in particular...
3876 (gnu_wait): ..., don't decrement its value in here...
3877 (gnu_create_inferior): ..., and instead set the flag in here,
3878 around the startup_inferior call, and call that one with
3879 START_INFERIOR_TRAPS_EXPECTED.
3881 * gnu-nat.c (ill_rpc): Remove function; replaced with this...
3882 (ILL_RPC): ... new macro.
3883 (do_mach_notify_no_senders, do_mach_notify_port_deleted)
3884 (do_mach_notify_msg_accepted, do_mach_notify_port_destroyed)
3885 (do_mach_notify_send_once, S_proc_setmsgport_reply)
3886 (S_proc_getmsgport_reply, S_msg_sig_post_reply): Generate stub
3887 functions with ILL_RPC macro.
3888 (S_proc_pid2task_reply, S_proc_task2pid_reply)
3889 (S_proc_task2proc_reply, S_proc_proc2task_reply)
3890 (S_proc_pid2proc_reply, S_proc_getprocinfo_reply)
3891 (S_proc_getprocargs_reply, S_proc_getprocenv_reply)
3892 (S_proc_getloginid_reply, S_proc_getloginpids_reply)
3893 (S_proc_getlogin_reply, S_proc_getsid_reply)
3894 (S_proc_getsessionpgids_reply, S_proc_getsessionpids_reply)
3895 (S_proc_getsidport_reply, S_proc_getpgrp_reply)
3896 (S_proc_getpgrppids_reply, S_proc_get_tty_reply)
3897 (S_proc_getnports_reply, S_proc_is_important_reply)
3898 (S_proc_get_code_reply): New stub functions, generated with
3901 * reply_mig_hack.awk: In phase 5, keep going if we have not yet
3902 collected the type check structures.
3904 * reply_mig_hack.awk: Don't expect to see the auto keyword.
3906 2014-02-14 Doug Evans <dje@google.com>
3908 * target.c (target_write_partial): Fix result type.
3910 2014-02-14 Jose E. Marchesi <jose.marchesi@oracle.com>
3912 * sparc64-linux-nat.c (_initialize_sparc64_linux_nat): Register
3913 the proper offsets to access fpregset_t.
3915 2014-02-13 Sanimir Agovic <sanimir.agovic@intel.com>
3917 * cris-tdep.c (cris_supply_gregset): Remove zerobuf.
3918 (_initialize_cris_tdep): Remove cris_set_cmdlist, cris_show_cmdlist.
3919 * h8300-tdep.c (setmachinelist): Remove global.
3920 * hppa-tdep.c (hppa_sigtramp): Remove global.
3921 * mipsnbsd-tdep.c (sigtramp_retcode_mipsel, sigtramp_retcode_mipseb
3922 RETCODE_NWORDS, RETCODE_SIZE): Wrap code with #if 0.
3923 * ravenscar-thread.c (update_target_observer): Remove global.
3924 * rs6000-tdep.c (rs6000_gdbarch_init): Remove segment_regs.
3926 2014-02-12 Tom Tromey <tromey@redhat.com>
3928 * common/rsp-low.c: Update comments.
3929 * common/rsp-low.h: Update comments.
3931 2014-02-12 Tom Tromey <tromey@redhat.com>
3933 * common/rsp-low.c (convert_ascii_to_int): Remove.
3934 * common/rsp-low.h (convert_ascii_to_int): Don't declare.
3936 2014-02-12 Tom Tromey <tromey@redhat.com>
3938 * common/rsp-low.h (unhexify): Don't declare.
3939 * common/rsp-low.c (unhexify): Remove.
3941 2014-02-12 Tom Tromey <tromey@redhat.com>
3943 * common/rsp-low.h (convert_int_to_ascii): Don't declare.
3944 * common/rsp-low.c (convert_int_to_ascii): Remove.
3946 2014-02-12 Tom Tromey <tromey@redhat.com>
3948 * common/rsp-low.h (hexify): Don't declare.
3949 * common/rsp-low.c (hexify): Remove.
3951 2014-02-12 Tom Tromey <tromey@redhat.com>
3953 * common/rsp-low.c (hexify): Never take strlen of argument.
3955 2014-02-12 Tom Tromey <tromey@redhat.com>
3957 * common/rsp-low.c (bin2hex): Never take strlen of argument.
3958 * remote.c (extended_remote_run, remote_rcmd)
3959 (remote_download_trace_state_variable, remote_save_trace_data)
3960 (remote_set_trace_notes): Update.
3961 * tracepoint.c (encode_source_string, tfile_write_status)
3962 (tfile_write_uploaded_tsv): Update.
3964 2014-02-12 Tom Tromey <tromey@redhat.com>
3966 * tracepoint.c: Include rsp-low.h.
3967 * remote.h (hex2bin, bin2hex, unpack_varlen_hex): Don't declare.
3968 * remote.c: Include rsp-low.h.
3969 (hexchars, ishex, unpack_varlen_hex, pack_nibble, pack_hex_byte)
3970 (fromhex, hex2bin, tohex, bin2hex, remote_escape_output)
3971 (remote_unescape_input): Move to common/rsp-low.c.
3972 * common/rsp-low.h: New file.
3973 * common/rsp-low.c: New file.
3974 * Makefile.in (SFILES): Add common/rsp-low.c.
3975 (HFILES_NO_SRCDIR): Add common/rsp-low.h.
3976 (COMMON_OBS): Add rsp-low.o.
3977 (rsp-low.o): New target.
3979 2014-02-12 Tom Tromey <tromey@redhat.com>
3981 * utils.h: Include print-utils.h.
3982 (host_address_to_string, plongest, pulongest, phex, phex_nz)
3983 (int_string, core_addr_to_string, core_addr_to_string_nz)
3984 (hex_string, hex_string_custom): Don't declare.
3985 * utils.c (NUMCELLS, CELLSIZE, get_cell, decimal2str, pulongest)
3986 (plongest, thirty_two, phex, phex_nz, octal2str, hex_string)
3987 (hex_string_custom, int_string, core_addr_to_string)
3988 (core_addr_to_string_nz, host_address_to_string): Move to
3989 common/print-utils.c.
3990 * common/print-utils.h: New file.
3991 * common/print-utils.c: New file
3992 * Makefile.in (SFILES): Add common/print-utils.c.
3993 (HFILES_NO_SRCDIR): Add common/print-utils.h.
3994 (COMMON_OBS): Add print-utils.o.
3995 (print-utils.o): New target.
3997 2014-02-12 Tom Tromey <tromey@redhat.com>
3999 * nios2-tdep.c (nios2_stub_frame_base_address): Remove.
4001 2014-02-12 Mark Kettenis <kettenis@gnu.org>
4003 * sparc64obsd-tdep.c (sparc64obsd_init_abi): Call obsd_init_abi.
4005 2014-02-12 Mark Kettenis <kettenis@gnu.org>
4007 * inf-ptrace.c (inf_ptrace_xfer_partial): Return TARGET_XFER_EOF
4008 if a PT_IO ptrace request returns sucessfully but indicates that 0
4009 bytes were transferred.
4011 2014-02-12 Pedro Alves <palves@redhat.com>
4012 Kevin Buettner <kevinb@redhat.com>
4014 * gnu-v3-abi.c (build_gdb_vtable_type): Return a type marked with
4015 TYPE_INSTANCE_FLAG_CODE_SPACE.
4017 2014-02-12 Pedro Alves <palves@redhat.com>
4019 * h8300-tdep.c (pseudo_from_raw_register)
4020 (raw_from_pseudo_register): New functions.
4021 (h8300_pseudo_register_read, h8300_pseudo_register_write): Use
4024 2014-02-12 Pedro Alves <palves@redhat.com>
4026 * h8300-tdep.c (h8300_register_sim_regno): New function.
4027 (h8300_gdbarch_init): Install h8300_register_sim_regno as
4028 gdbarch_register_sim_regno hook.
4030 2014-02-12 Sanimir Agovic <sanimir.agovic@intel.com>
4032 * nios2-tdep.c (nios2_stub_frame_base): Remove global.
4034 2014-02-12 Sanimir Agovic <sanimir.agovic@intel.com>
4036 * tic6x-tdep.c (tic6x_gdbarch_init): Call frame_base_set_default.
4038 2014-02-12 Mark Kettenis <kettenis@gnu.org>
4040 * obsd-tdep.h (obsd_init_abi): New prototype.
4041 * obsd-tdep.c: Define enum with OpenBSD signal numbers.
4042 (obsd_gdb_signal_from_target, obsd_gdb_signal_to_target)
4043 (obsd_init_abi): New functions.
4044 * i386obsd-tdep.c: Include "obsd-tdep.h".
4045 (i386obsd_init_abi): Call obsd_init_abi.
4046 * amd64obsd-tdep.c: Include "obsd-tdep.h".
4047 (amd64obsd_init_abi): Call obsd_init_abi.
4048 * configure.tgt (i[34567]86-*-openbsd*, x86_64-*-openbsd*): Add
4049 obsd-tdep.c to gdb_target_obs.
4051 2014-02-11 Jose E. Marchesi <jose.marchesi@oracle.com>
4053 * sparc64-tdep.c (sparc64_store_arguments): Do not align complex
4054 double float arguments to 16-byte in the argument slots.
4056 2014-02-11 Doug Evans <xdje42@gmail.com>
4058 * configure.ac: Don't crash if pkg-config is not found and guile
4059 wasn't explicitly requested. Use AC_MSG_ERROR instead of AC_ERROR
4061 * configure: Regenerate.
4063 2014-02-11 Yao Qi <yao@codesourcery.com>
4065 * aix-thread.c (aix_thread_xfer_partial): Update comments.
4066 * auxv.c (procfs_xfer_auxv, memory_xfer_auxv): Likewise.
4067 * bsd-uthread.c (bsd_uthread_xfer_partial): Likewise.
4068 * gnu-nat.c (gnu_xfer_memory): Likewise.
4069 * inf-ptrace.c (inf_ptrace_xfer_partial): Likewise.
4070 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
4071 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
4072 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise.
4074 2014-02-11 Yao Qi <yao@codesourcery.com>
4076 * target.h (enum target_xfer_error): Rename to ...
4077 (enum target_xfer_status): ... it. New. All users updated.
4078 (enum target_xfer_status) <TARGET_XFER_OK>, <TARGET_XFER_EOF>:
4080 (TARGET_XFER_STATUS_ERROR_P): New macro.
4081 (target_xfer_error_to_string): Remove declaration.
4082 (target_xfer_status_to_string): Declare.
4083 (target_xfer_partial_ftype): Adjust it.
4084 (struct target_ops) <to_xfer_partial>: Return
4085 target_xfer_status. Add argument xfered_len. Update
4087 * target.c (target_xfer_error_to_string): Rename to ...
4088 (target_xfer_status_to_string): ... it. New. All callers
4090 (target_read_live_memory): Likewise. Call target_xfer_partial
4091 instead of target_read.
4092 (memory_xfer_live_readonly_partial): Return
4093 target_xfer_status. Add argument xfered_len.
4094 (raw_memory_xfer_partial): Likewise.
4095 (memory_xfer_partial_1): Likewise.
4096 (memory_xfer_partial): Likewise.
4097 (target_xfer_partial): Likewise. Check *XFERED_LEN is set
4098 properly. Update debug message.
4099 (default_xfer_partial, current_xfer_partial): Likewise.
4100 (target_write_partial): Likewise.
4101 (target_read_partial): Likewise. All callers updated.
4102 (read_whatever_is_readable): Likewise.
4103 (target_write_with_progress): Likewise.
4104 (target_read_alloc_1): Likewise.
4106 * aix-thread.c (aix_thread_xfer_partial): Likewise.
4107 * auxv.c (procfs_xfer_auxv): Likewise.
4108 (ld_so_xfer_auxv, memory_xfer_auxv): Likewise.
4109 * bfd-target.c (target_bfd_xfer_partial): Likewise.
4110 * bsd-kvm.c (bsd_kvm_xfer_partial): Likewise.
4111 * bsd-uthread.c (bsd_uthread_xfer_partia): Likewise.
4112 * corefile.c (read_memory): Adjust.
4113 * corelow.c (core_xfer_partial): Likewise.
4114 * ctf.c (ctf_xfer_partial): Likewise.
4115 * darwin-nat.c (darwin_read_dyld_info): Likewise. All callers
4117 (darwin_xfer_partial): Likewise.
4118 * exec.c (section_table_xfer_memory_partial): Likewise. All
4120 (exec_xfer_partial): Likewise.
4121 * exec.h (section_table_xfer_memory_partial): Update
4123 * gnu-nat.c (gnu_xfer_memory): Likewise. Assert 'res' is not
4125 (gnu_xfer_partial): Likewise.
4126 * ia64-hpux-nat.c (ia64_hpux_xfer_memory_no_bs): Likewise.
4127 (ia64_hpux_xfer_memory, ia64_hpux_xfer_uregs): Likewise.
4128 (ia64_hpux_xfer_solib_got): Likewise.
4129 * inf-ptrace.c (inf_ptrace_xfer_partial): Likewise. Change
4130 type of 'partial_len' to ULONGEST.
4131 * inf-ttrace.c (inf_ttrace_xfer_partial): Likewise.
4132 * linux-nat.c (linux_xfer_siginfo ): Likewise.
4133 (linux_nat_xfer_partial): Likewise.
4134 (linux_proc_xfer_partial, linux_xfer_partial): Likewise.
4135 (linux_proc_xfer_spu, linux_nat_xfer_osdata): Likewise.
4136 * monitor.c (monitor_xfer_memory): Likewise.
4137 (monitor_xfer_partial): Likewise.
4138 * procfs.c (procfs_xfer_partial): Likewise.
4139 * record-btrace.c (record_btrace_xfer_partial): Likewise.
4140 * record-full.c (record_full_xfer_partial): Likewise.
4141 (record_full_core_xfer_partial): Likewise.
4142 * remote-sim.c (gdbsim_xfer_memory): Likewise.
4143 (gdbsim_xfer_partial): Likewise.
4144 * remote.c (remote_write_bytes_aux): Likewise. All callers
4146 (remote_write_bytes, remote_read_bytes): Likewise. All
4148 (remote_flash_erase): Likewise. All callers updated.
4149 (remote_write_qxfer): Likewise. All callers updated.
4150 (remote_read_qxfer): Likewise. All callers updated.
4151 (remote_xfer_partial): Likewise.
4152 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
4153 (rs6000_xfer_shared_libraries): Likewise.
4154 * sol-thread.c (sol_thread_xfer_partial): Likewise.
4155 (sol_thread_xfer_partial): Likewise.
4156 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
4157 (sparc_xfer_partial): Likewise.
4158 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise. All callers
4160 (spu_xfer_partial): Likewise.
4161 * spu-multiarch.c (spu_xfer_partial): Likewise.
4162 * tracepoint.c (tfile_xfer_partial): Likewise.
4163 * windows-nat.c (windows_xfer_memory): Likewise.
4164 (windows_xfer_shared_libraries): Likewise.
4165 (windows_xfer_partial): Likewise.
4166 * valprint.c: Replace 'target_xfer_error' with
4167 'target_xfer_status' in comments.
4169 2014-02-11 Simon Marchi <simon.marchi@ericsson.com> (tiny patch)
4171 Checked in by Joel Brobecker <brobecker@adacore.com>.
4172 * mi/mi-main.c (mi_cmd_data_write_memory_bytes): Fix comment.
4174 2014-02-11 Joel Brobecker <brobecker@adacore.com>
4176 * symfile-debug.c (debug_qf_expand_symtabs_matching): Reformat
4177 function parameters.
4179 2014-02-10 Will Newton <will.newton@linaro.org>
4181 * elfread.c (elf_rel_plt_read): Look for a .got section if
4182 looking up .got.plt fails.
4183 (elf_gnu_ifunc_resolve_by_got): Call gdbarch_addr_bits_remove
4184 on address passed to elf_gnu_ifunc_record_cache.
4185 (elf_gnu_ifunc_resolve_addr): Likewise.
4186 (elf_gnu_ifunc_resolver_return_stop): Likewise.
4188 2014-02-10 Jose E. Marchesi <jose.marchesi@oracle.com>
4190 * sparc-tdep.c (sparc_in_function_epilogue_p): New function.
4191 (X_RETTURN): New macro.
4192 * sparc-tdep.h: sparc_in_function_epilogue_p prototype.
4194 * sparc64-tdep.c (sparc64_init_abi): Hook
4195 sparc_in_function_epilogue_p.
4197 2014-02-10 Gary Benson <gbenson@redhat.com>
4199 * symfile-debug.c (debug_qf_expand_symtabs_matching):
4200 Rename name_matcher to symbol_matcher.
4202 2014-02-10 Gary Benson <gbenson@redhat.com>
4204 * symfile-debug.c (debug_qf_expand_symtabs_matching):
4205 Use expand_symtabs_file_matcher_ftype and
4206 expand_symtabs_symbol_matcher_ftype.
4208 2014-02-10 Joel Brobecker <brobecker@adacore.com>
4210 * ada-lang.c (struct cache_entry, HASH_SIZE): Move definition up.
4211 (struct ada_symbol_cache): New.
4212 (ada_free_symbol_cache): Forward declare.
4213 (struct ada_pspace_data): New.
4214 (ada_pspace_data_handle): New static global.
4215 (get_ada_pspace_data, ada_pspace_data_cleanup)
4216 (ada_init_symbol_cache, ada_free_symbol_cache): New functions.
4217 (cache_space, cache): Delete, now folded inside struct
4219 (ada_get_symbol_cache): New function.
4220 (ada_clear_symbol_cache, find_entry, cache_symbol): Adjust
4222 (_initialize_ada_language): Remove initialization of cache_space.
4223 Move call to observer_attach_inferior_exit up, grouping it
4224 with the other observer registrations inside this function.
4225 Rename command to be more general. Add call to
4226 register_program_space_data_with_cleanup.
4228 2014-02-10 Joel Brobecker <brobecker@adacore.com>
4230 * ada-tasks.c (ada_tasks_new_objfile_observer): Renames
4231 ada_new_objfile_observer.
4232 (ada_tasks_normal_stop_observer): Renames ada_normal_stop_observer.
4233 (_initialize_tasks): Update uses of ada_new_objfile_observer
4234 and ada_tasks_normal_stop_observer.
4236 2014-02-10 Joel Brobecker <brobecker@adacore.com>
4238 * ada-lang.c (ada_evaluate_subexp): Set the type of the value
4239 returned by the 'Length attribute to integer.
4241 2014-02-10 Joel Brobecker <brobecker@adacore.com>
4243 * ada-lang.c (_initialize_ada_language): Initialize
4244 cache_space obstack.
4246 2014-02-10 Joel Brobecker <brobecker@adacore.com>
4248 * ada-lang.c (HASH_SIZE): New macro.
4249 (struct cache_entry): New type.
4250 (cache_space, cache): New static globals.
4251 (ada_clear_symbol_cache, find_entry): New functions.
4252 (lookup_cached_symbol, cache_symbol): Implement.
4253 (ada_new_objfile_observer, ada_free_objfile_observer): New.
4254 (_initialize_ada_language): Attach ada_new_objfile_observer
4255 and ada_free_objfile_observer.
4257 2014-02-10 Joel Brobecker <brobecker@adacore.com>
4259 * ada-lang.c (ada_add_block_symbols, add_defn_to_vec)
4260 (lookup_cached_symbol, ada_add_local_symbols): Add "const" to
4261 struct block * parameter.
4262 (ada_lookup_symbol_list_worker): Constify local variable "block".
4263 Remove cast which is no longer necessary.
4265 2014-02-10 Doug Evans <xdje42@gmail.com>
4267 Add Guile as an extension language.
4268 * NEWS: Mention Guile scripting.
4269 * Makefile.in (SUBDIR_GUILE_OBS): New variable.
4270 (SUBDIR_GUILE_SRCS, SUBDIR_GUILE_DEPS): New variables
4271 (SUBDIR_GUILE_LDFLAGS, SUBDIR_GUILE_CFLAGS): New variables.
4272 (INTERNAL_CPPFLAGS): Add GUILE_CPPFLAGS.
4273 (CLIBS): Add GUILE_LIBS.
4274 (install-guile): New rule.
4275 (guile.o): New rule.
4276 (scm-arch.o, scm-auto-load.o, scm-block.o): New rules.
4277 (scm-breakpoint.o, scm-disasm.o, scm-exception.o): New rules.
4278 (scm-frame.o, scm-iterator.o, scm-lazy-string.o): New rules.
4279 (scm-math.o, scm-objfile.o, scm-ports.o): New rules.
4280 (scm-pretty-print.o, scm-safe-call.o, scm-gsmob.o): New rules.
4281 (scm-string.o, scm-symbol.o, scm-symtab.o): New rules.
4282 (scm-type.o, scm-utils.o, scm-value.o): New rules.
4283 * configure.ac: New option --with-guile.
4284 * configure: Regenerate.
4285 * config.in: Regenerate.
4286 * auto-load.c: Remove #include "python/python.h". Add #include
4287 "gdb/section-scripts.h".
4288 (source_section_scripts): Handle Guile scripts.
4289 (_initialize_auto_load): Add name of Guile objfile script to
4290 scripts-directory help text.
4291 * breakpoint.c (condition_command): Tweak comment to include Scheme.
4292 * breakpoint.h (gdbscm_breakpoint_object): Add forward decl.
4293 (struct breakpoint): New member scm_bp_object.
4294 * defs.h (enum command_control_type): New value guile_control.
4295 * cli/cli-cmds.c: Remove #include "python/python.h". Add #include
4297 (show_user): Update comment.
4298 (_initialize_cli_cmds): Update help text for "show user". Update help
4299 text for max-user-call-depth.
4300 * cli/cli-script.c: Remove #include "python/python.h". Add #include
4302 (multi_line_command_p): Add guile_control.
4303 (print_command_lines): Handle guile_control.
4304 (execute_control_command, recurse_read_control_structure): Ditto.
4305 (process_next_line): Recognize "guile" commands.
4306 * disasm.c (gdb_disassemble_info): Make non-static.
4307 * disasm.h: #include "dis-asm.h".
4308 (struct gdbarch): Add forward decl.
4309 (gdb_disassemble_info): Declare.
4310 * extension.c: #include "guile/guile.h".
4311 (extension_languages): Add guile.
4312 (get_ext_lang_defn): Handle EXT_LANG_GDB.
4313 * extension.h (enum extension_language): New value EXT_LANG_GUILE.
4314 * gdbtypes.c (get_unsigned_type_max): New function.
4315 (get_signed_type_minmax): New function.
4316 * gdbtypes.h (get_unsigned_type_max): Declare.
4317 (get_signed_type_minmax): Declare.
4318 * guile/README: New file.
4319 * guile/guile-internal.h: New file.
4320 * guile/guile.c: New file.
4321 * guile/guile.h: New file.
4322 * guile/scm-arch.c: New file.
4323 * guile/scm-auto-load.c: New file.
4324 * guile/scm-block.c: New file.
4325 * guile/scm-breakpoint.c: New file.
4326 * guile/scm-disasm.c: New file.
4327 * guile/scm-exception.c: New file.
4328 * guile/scm-frame.c: New file.
4329 * guile/scm-gsmob.c: New file.
4330 * guile/scm-iterator.c: New file.
4331 * guile/scm-lazy-string.c: New file.
4332 * guile/scm-math.c: New file.
4333 * guile/scm-objfile.c: New file.
4334 * guile/scm-ports.c: New file.
4335 * guile/scm-pretty-print.c: New file.
4336 * guile/scm-safe-call.c: New file.
4337 * guile/scm-string.c: New file.
4338 * guile/scm-symbol.c: New file.
4339 * guile/scm-symtab.c: New file.
4340 * guile/scm-type.c: New file.
4341 * guile/scm-utils.c: New file.
4342 * guile/scm-value.c: New file.
4343 * guile/lib/gdb.scm: New file.
4344 * guile/lib/gdb/boot.scm: New file.
4345 * guile/lib/gdb/experimental.scm: New file.
4346 * guile/lib/gdb/init.scm: New file.
4347 * guile/lib/gdb/iterator.scm: New file.
4348 * guile/lib/gdb/printing.scm: New file.
4349 * guile/lib/gdb/types.scm: New file.
4350 * data-directory/Makefile.in (GUILE_SRCDIR): New variable.
4351 (VPATH): Add $(GUILE_SRCDIR).
4352 (GUILE_DIR): New variable.
4353 (GUILE_INSTALL_DIR, GUILE_FILES): New variables.
4354 (all): Add stamp-guile dependency.
4355 (stamp-guile): New rule.
4356 (clean-guile, install-guile, uninstall-guile): New rules.
4357 (install-only): Add install-guile dependency.
4358 (uninstall): Add uninstall-guile dependency.
4359 (clean): Add clean-guile dependency.
4361 2014-02-09 Doug Evans <xdje42@gmail.com>
4363 Revert this patch (which I approved, mea culpa).
4365 2014-02-08 Mark Kettenis <kettenis@gnu.org>
4367 * Makefile.in (all-lib): Remove.
4368 ($(LIBGNU) $(GNULIB_H)): Replace with gits of remove all-lib target.
4370 2014-02-09 Jan Kratochvil <jan.kratochvil@redhat.com>
4372 Fix Python stack corruption.
4373 * python/py-linetable.c (ltpy_get_pcs_for_line, ltpy_has_line): Use
4376 2014-02-08 Mark Kettenis <kettenis@gnu.org>
4378 * Makefile.in (all-lib): Remove.
4379 ($(LIBGNU) $(GNULIB_H)): Replace with gits of remove all-lib target.
4381 2014-02-07 Doug Evans <dje@google.com>
4383 * extension-priv.h (extension_language_script_ops): Add comment.
4384 (extension_language_ops): Add comment.
4385 (active_ext_lang_state): Fix typo in comment.
4387 2014-02-07 Pedro Alves <palves@redhat.com>
4389 PR breakpoints/16292
4390 * infrun.c (handle_signal_stop) <signal arrives while stepping
4391 over a breakpoint>: Switch back to the stepping thread.
4393 2014-02-07 Yao Qi <yao@codesourcery.com>
4395 * target.c (target_xfer_partial): Return zero if LEN is zero.
4397 2014-02-07 Yao Qi <yao@codesourcery.com>
4399 * auxv.c (procfs_xfer_auxv): Replace -1 with TARGET_XFER_E_IO.
4400 (ld_so_xfer_auxv): Likewise.
4401 * bfd-target.c (target_bfd_xfer_partial): Likewise.
4402 * bsd-kvm.c (bsd_kvm_xfer_partial): Likewise.
4403 * corelow.c (core_xfer_partial): Likewise.
4404 * ctf.c (ctf_xfer_partial): Likewise.
4405 * darwin-nat.c (darwin_read_dyld_info): Likewise.
4406 (darwin_xfer_partial): Likewise.
4407 * exec.c (exec_xfer_partial): Likewise.
4408 * gnu-nat.c (gnu_xfer_partial): Likewise.
4409 * ia64-hpux-nat.c (ia64_hpux_xfer_uregs): Likewise.
4410 * inf-ptrace.c (inf_ptrace_xfer_partial): Likewise.
4411 * inf-ttrace.c (inf_ttrace_xfer_partial): Likewise.
4412 * linux-nat.c (linux_xfer_siginfo): Likewise.
4413 (linux_proc_xfer_spu): Likewise.
4414 * procfs.c (procfs_xfer_partial): Likewise.
4415 * record-full.c (record_full_xfer_partial): Likewise.
4416 (record_full_core_xfer_partial): Likewise.
4417 * remote-sim.c (gdbsim_xfer_partial): Likewise.
4418 * remote.c (remote_write_qxfer): Likewise.
4419 (remote_write_qxfer, remote_read_qxfer): Likewise.
4420 (remote_xfer_partial): Likewise.
4421 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
4422 (rs6000_xfer_shared_libraries): Likewise.
4423 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
4424 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise.
4425 (spu_xfer_partial): Likewise.
4426 * target.c (memory_xfer_partial_1): Likewise.
4427 * tracepoint.c (tfile_xfer_partial): Likewise.
4428 * windows-nat.c (windows_xfer_shared_libraries): Likewise.
4429 (windows_xfer_partial): Likewise.
4431 2014-02-07 Yao Qi <yao@codesourcery.com>
4433 * gdbarch.sh (core_xfer_shared_libraries): Returns ULONGEST. Add
4435 (core_xfer_shared_libraries_aix): Likewise.
4436 * gdbarch.c, gdbarch.h: Regenerated.
4437 * i386-cygwin-tdep.c (windows_core_xfer_shared_libraries): Return
4438 ULONGEST. Change 'len_avail' type to ULONGEST.
4439 * rs6000-aix-tdep.c (rs6000_aix_ld_info_to_xml): Likewise.
4440 * rs6000-aix-tdep.h (rs6000_aix_ld_info_to_xml): Update
4442 (rs6000_aix_core_xfer_shared_libraries_aix): Return ULONGEST.
4444 2014-02-07 Yao Qi <yao@codesourcery.com>
4446 * corefile.c (memory_error): Get 'exception' from ERR and pass
4447 'exception' to throw_error.
4449 2014-02-06 Doug Evans <xdje42@gmail.com>
4451 * configure.ac (libpython checking): Remove all but python.o from
4452 CONFIG_OBS. Remove all but python.c from CONFIG_SRCS.
4453 * configure: Regenerate.
4455 * Makefile.in (SFILES): Add extension.c.
4456 (HFILES_NO_SRCDIR): Add extension.h, extension-priv.h
4457 (COMMON_OBS): Add extension.o.
4458 * extension.h: New file.
4459 * extension-priv.h: New file.
4460 * extension.c: New file.
4462 * python/python-internal.h: #include "extension.h".
4463 (gdbpy_auto_load_enabled): Declare.
4464 (gdbpy_apply_val_pretty_printer): Declare.
4465 (gdbpy_apply_frame_filter): Declare.
4466 (gdbpy_preserve_values): Declare.
4467 (gdbpy_breakpoint_cond_says_stop): Declare.
4468 (gdbpy_breakpoint_has_cond): Declare.
4469 (void source_python_script_for_objfile): Delete.
4470 * python/python.c: #include "extension-priv.h".
4471 Delete inclusion of "observer.h".
4472 (extension_language_python): Moved here and renamed from
4473 script_language_python in py-auto-load.c.
4474 Redefined to be of type extension_language_defn.
4475 (python_extension_script_ops): New global.
4476 (python_extension_ops): New global.
4477 (struct python_env): New member previous_active.
4478 (restore_python_env): Call restore_active_ext_lang.
4479 (ensure_python_env): Call set_active_ext_lang.
4480 (gdbpy_clear_quit_flag): Renamed from clear_quit_flag, made static.
4482 (gdbpy_set_quit_flag): Renamed from set_quit_flag, made static.
4484 (gdbpy_check_quit_flag): Renamed from check_quit_flag, made static.
4486 (gdbpy_eval_from_control_command): Renamed from
4487 eval_python_from_control_command, made static. New arg extlang.
4488 (gdbpy_source_script) Renamed from source_python_script, made static.
4490 (gdbpy_before_prompt_hook): Renamed from before_prompt_hook. Change
4491 result to int. New arg extlang.
4492 (gdbpy_source_objfile_script): Renamed from
4493 source_python_script_for_objfile, made static. New arg extlang.
4494 (gdbpy_start_type_printers): Renamed from start_type_printers, made
4495 static. New args extlang, extlang_printers. Change result type to
4497 (gdbpy_apply_type_printers): Renamed from apply_type_printers, made
4498 static. New arg extlang. Rename arg printers to extlang_printers
4499 and change type to ext_lang_type_printers *.
4500 (gdbpy_free_type_printers): Renamed from free_type_printers, made
4501 static. Replace argument arg with extlang, extlang_printers.
4502 (!HAVE_PYTHON, eval_python_from_control_command): Delete.
4503 (!HAVE_PYTHON, source_python_script): Delete.
4504 (!HAVE_PYTHON, gdbpy_should_stop): Delete.
4505 (!HAVE_PYTHON, gdbpy_breakpoint_has_py_cond): Delete.
4506 (!HAVE_PYTHON, start_type_printers): Delete.
4507 (!HAVE_PYTHON, apply_type_printers): Delete.
4508 (!HAVE_PYTHON, free_type_printers): Delete.
4509 (_initialize_python): Delete call to observer_attach_before_prompt.
4510 (finalize_python): Set/restore active extension language.
4511 (gdbpy_finish_initialization) Renamed from
4512 finish_python_initialization, made static. New arg extlang.
4513 (gdbpy_initialized): New function.
4514 * python/python.h: #include "extension.h". Delete #include
4515 "value.h", "mi/mi-cmds.h".
4516 (extension_language_python): Declare.
4517 (GDBPY_AUTO_FILE_NAME): Delete.
4518 (enum py_bt_status): Moved to extension.h and renamed to
4520 (enum frame_filter_flags): Moved to extension.h.
4521 (enum py_frame_args): Moved to extension.h and renamed to
4522 ext_lang_frame_args.
4523 (finish_python_initialization): Delete.
4524 (eval_python_from_control_command): Delete.
4525 (source_python_script): Delete.
4526 (apply_val_pretty_printer): Delete.
4527 (apply_frame_filter): Delete.
4528 (preserve_python_values): Delete.
4529 (gdbpy_script_language_defn): Delete.
4530 (gdbpy_should_stop, gdbpy_breakpoint_has_py_cond): Delete.
4531 (start_type_printers, apply_type_printers, free_type_printers): Delete.
4533 * auto-load.c: #include "extension.h".
4534 (GDB_AUTO_FILE_NAME): Delete.
4535 (auto_load_gdb_scripts_enabled): Make public. New arg extlang.
4536 (script_language_gdb): Delete, moved to extension.c and renamed to
4537 extension_language_gdb.
4538 (source_gdb_script_for_objfile): Delete.
4539 (auto_load_pspace_info): New member unsupported_script_warning_printed.
4540 (loaded_script): Change type of language member to
4541 struct extension_language_defn *.
4542 (init_loaded_scripts_info): Initialize
4543 unsupported_script_warning_printed.
4544 (maybe_add_script): Make static. Change type of language arg to
4545 struct extension_language_defn *.
4546 (clear_section_scripts): Reset unsupported_script_warning_printed.
4547 (auto_load_objfile_script_1): Rewrite to use extension language API.
4548 (auto_load_objfile_script): Make public. Remove support-compiled-in
4549 and auto-load-enabled checks, moved to auto_load_scripts_for_objfile.
4550 (source_section_scripts): Rewrite to use extension language API.
4551 (load_auto_scripts_for_objfile): Rewrite to use
4552 auto_load_scripts_for_objfile.
4553 (collect_matching_scripts_data): Change type of language member to
4554 struct extension_language_defn *.
4555 (auto_load_info_scripts): Change type of language arg to
4556 struct extension_language_defn *.
4557 (unsupported_script_warning_print): New function.
4558 (script_not_found_warning_print): Make static.
4559 (_initialize_auto_load): Rewrite construction of scripts-directory
4561 * auto-load.h (struct objfile): Add forward decl.
4562 (struct script_language): Delete.
4563 (struct auto_load_pspace_info): Add forward decl.
4564 (struct extension_language_defn): Add forward decl.
4565 (maybe_add_script): Delete.
4566 (auto_load_objfile_script): Declare.
4567 (script_not_found_warning_print): Delete.
4568 (auto_load_info_scripts): Update prototype.
4569 (auto_load_gdb_scripts_enabled): Declare.
4570 * python/py-auto-load.c (gdbpy_auto_load_enabled): Renamed from
4571 auto_load_python_scripts_enabled and made public.
4572 (script_language_python): Delete, moved to python.c.
4573 (gdbpy_script_language_defn): Delete.
4574 (info_auto_load_python_scripts): Update to use
4575 extension_language_python.
4577 * breakpoint.c (condition_command): Replace call to
4578 gdbpy_breakpoint_has_py_cond with call to get_breakpoint_cond_ext_lang.
4579 (bpstat_check_breakpoint_conditions): Replace call to gdbpy_should_stop
4580 with call to breakpoint_ext_lang_cond_says_stop.
4581 * python/py-breakpoint.c (gdbpy_breakpoint_cond_says_stop): Renamed
4582 from gdbpy_should_stop. Change result type to enum scr_bp_stop.
4583 New arg slang. Return SCR_BP_STOP_UNSET if py_bp_object is NULL.
4584 (gdbpy_breakpoint_has_cond): Renamed from gdbpy_breakpoint_has_py_cond.
4586 (local_setattro): Print name of extension language with existing
4589 * valprint.c (val_print, value_print): Update to call
4590 apply_ext_lang_val_pretty_printer.
4591 * cp-valprint.c (cp_print_value): Update call to
4592 apply_ext_lang_val_pretty_printer.
4593 * python/py-prettyprint.c: Remove #ifdef HAVE_PYTHON.
4594 (gdbpy_apply_val_pretty_printer): Renamed from
4595 apply_val_pretty_printer. New arg extlang.
4596 (!HAVE_PYTHON, apply_val_pretty_printer): Delete.
4598 * cli/cli-cmds.c (source_script_from_stream): Rewrite to use
4599 extension language API.
4600 * cli/cli-script.c (execute_control_command): Update to call
4601 eval_ext_lang_from_control_command.
4603 * mi/mi-cmd-stack.c (mi_cmd_stack_list_frames): Update to use
4604 enum ext_lang_bt_status values. Update call to
4605 apply_ext_lang_frame_filter.
4606 (mi_cmd_stack_list_locals): Ditto.
4607 (mi_cmd_stack_list_args): Ditto.
4608 (mi_cmd_stack_list_variables): Ditto.
4609 * mi/mi-main.c: Delete #include "python/python-internal.h".
4610 Add #include "extension.h".
4611 (mi_cmd_list_features): Replace reference to python internal variable
4612 gdb_python_initialized with call to ext_lang_initialized_p.
4614 * stack.c (backtrace_command_1): Update to use enum ext_lang_bt_status.
4615 Update to use enum ext_lang_frame_args. Update to call
4616 apply_ext_lang_frame_filter.
4617 * python/py-framefilter.c (extract_sym): Update to use enum
4619 (extract_value, py_print_type, py_print_value): Ditto.
4620 (py_print_single_arg, enumerate_args, enumerate_locals): Ditto.
4621 (py_mi_print_variables, py_print_locals, py_print_args): Ditto.
4622 (py_print_frame): Ditto.
4623 (gdbpy_apply_frame_filter): Renamed from apply_frame_filter.
4624 New arg extlang. Update to use enum ext_lang_bt_status.
4626 * top.c (gdb_init): Delete #ifdef HAVE_PYTHON call to
4627 finish_python_initialization. Replace with call to
4628 finish_ext_lang_initialization.
4630 * typeprint.c (do_free_global_table): Update to call
4631 free_ext_lang_type_printers.
4632 (create_global_typedef_table): Update to call
4633 start_ext_lang_type_printers.
4634 (find_global_typedef): Update to call apply_ext_lang_type_printers.
4635 * typeprint.h (struct ext_lang_type_printers): Add forward decl.
4636 (type_print_options): Change type of global_printers from "void *"
4637 to "struct ext_lang_type_printers *".
4639 * value.c (preserve_values): Update to call preserve_ext_lang_values.
4640 * python/py-value.c: Remove #ifdef HAVE_PYTHON.
4641 (gdbpy_preserve_values): Renamed from preserve_python_values.
4643 (!HAVE_PYTHON, preserve_python_values): Delete.
4645 * utils.c (quit_flag): Delete, moved to extension.c.
4646 (clear_quit_flag, set_quit_flag, check_quit_flag): Delete, moved to
4649 * eval.c: Delete #include "python/python.h".
4650 * main.c: Delete #include "python/python.h".
4652 * defs.h: Update comment.
4654 2014-02-06 Joel Brobecker <brobecker@adacore.com>
4658 2014-02-05 Mark Kettenis <kettenis@gnu.org>
4660 * c-exp.y (YYPRINT, c_print_token): Only define if YYBISON is
4663 2014-02-05 Yao Qi <yao@codesourcery.com>
4665 * remote.c (remote_pass_signals): Remove local 'buf' and use
4667 (remote_program_signals): Likewise.
4669 2014-02-05 Yao Qi <yao@codesourcery.com>
4671 * ctf.c: Include "inferior.h" and "gdbthread.h".
4672 (CTF_PID): A new macro.
4673 (ctf_open): Call inferior_appeared and add_thread_silent.
4674 (ctf_close): Call exit_inferior_silent and set inferior_ptid.
4675 (ctf_thread_alive): New function.
4676 (init_ctf_ops): Install ctf_thread_alive to to_thread_alive.
4678 2014-02-05 Yao Qi <yao@codesourcery.com>
4682 2013-05-24 Yao Qi <yao@codesourcery.com>
4684 * tracepoint.c (TFILE_PID): Remove.
4685 (tfile_open): Don't add thread and inferior.
4686 (tfile_close): Don't set 'inferior_ptid'. Don't call
4687 exit_inferior_silent.
4688 (tfile_thread_alive): Remove.
4689 (init_tfile_ops): Don't set field 'to_thread_alive' of
4692 2014-02-04 Christian Eggers <ceggers@gmx.de> (tiny change)
4694 * remote.c (remote_start_remote): Call remote_check_symbols even
4695 if only symbol-file (not file) has been given.
4697 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
4699 * gdbarch.sh (skip_entrypoint): New callback.
4700 * gdbarch.c, gdbarch.h: Regenerate.
4701 * symtab.c (skip_prologue_sal): Call gdbarch_skip_entrypoint.
4702 * infrun.c (fill_in_stop_func): Likewise.
4703 * ppc-linux-tdep.c: Include "elf/ppc64.h".
4704 (ppc_elfv2_elf_make_msymbol_special): New function.
4705 (ppc_elfv2_skip_entrypoint): Likewise.
4706 (ppc_linux_init_abi): Install them for ELFv2.
4708 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
4710 * ppc-sysv-tdep.c (ppc64_aggregate_candidate): New routine.
4711 (ppc64_elfv2_abi_homogeneous_aggregate): Likewise.
4712 (ppc64_sysv_abi_push_param): Handle ELFv2 homogeneous structs.
4713 (ppc64_sysv_abi_return_value): Likewise. Also, handle small
4714 structures returned in GPRs.
4716 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
4718 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_dummy_call): Use correct
4719 offset to the stack parameter list for the ELFv2 ABI.
4721 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
4723 * ppc-linux-tdep.c (ppc_linux_init_abi): Only call
4724 set_gdbarch_convert_from_func_ptr_addr and
4725 set_gdbarch_elf_make_msymbol_special for ELFv1.
4726 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_param): Only handle
4727 function descriptors on ELFv1.
4728 (ppc64_sysv_abi_push_dummy_call): Likewise. On ELFv2,
4729 set up r12 at function entry.
4731 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
4733 * ppc-tdep.h (enum powerpc_elf_abi): New data type.
4734 (struct gdbarch_tdep): New member elf_abi.
4736 * rs6000-tdep.c: Include "elf/ppc64.h".
4737 (rs6000_gdbarch_init): Detect ELF ABI version.
4739 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
4741 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_freg): Use correct order
4742 within a register pair holding a DFP 128-bit value on little-endian.
4743 (ppc64_sysv_abi_return_value_base): Likewise.
4744 * rs6000-tdep.c (dfp_pseudo_register_read): Likewise.
4745 (dfp_pseudo_register_write): Likewise.
4747 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
4749 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_freg): Use correct
4750 offset on little-endian when passing _Decimal32.
4751 (ppc64_sysv_abi_return_value_base): Likewise for return values.
4753 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
4755 * rs6000-tdep.c (efpr_pseudo_register_read): Use correct offset
4756 of the overlapped FP register within the VSX register on little-
4758 (efpr_pseudo_register_write): Likewise.
4760 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
4762 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_val): Use correct
4763 offset on little-endian when passing small structures.
4765 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
4767 * ppc-sysv-tdep.c (get_decimal_float_return_value): Update comment.
4768 (struct ppc64_sysv_argpos): New data structure.
4769 (ppc64_sysv_abi_push_float): Remove.
4770 (ppc64_sysv_abi_push_val): New function.
4771 (ppc64_sysv_abi_push_integer): Likewise.
4772 (ppc64_sysv_abi_push_freg): Likewise.
4773 (ppc64_sysv_abi_push_vreg): Likewise.
4774 (ppc64_sysv_abi_push_param): Likewise.
4775 (ppc64_sysv_abi_push_dummy_call): Refactor to use those new routines.
4776 (ppc64_sysv_abi_return_value_base): New function.
4777 (ppc64_sysv_abi_return_value): Refactor to use it.
4779 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
4781 * NEWS: Document new target powerpc64le-*-linux*.
4783 2014-02-04 Mark Kettenis <kettenis@gnu.org>
4785 * sparc64obsd-tdep.c (sparc64obsd_gregset): New variable.
4786 (sparc64obsd_supply_gregset): Handle registers sets used in ELF
4788 (sparc64obsd_init_abi): Adjust minimum size of the general purpose
4789 register set used in ELF core dumps. Add floating-point register set.
4791 2014-02-03 Kevin Buettner <kevinb@redhat.com>
4793 * mn10300-tdep.c (mn10300_dwarf2_reg_to_regnum): Rewrite
4794 dwarf2_to_gdb[] table using symbolic constants. Adjust
4795 penultimate entry from number representing the PC register
4796 to symbolic constant representing the MDR register. Add
4797 constant for the PC register to the end of the table.
4799 2014-02-03 Mark Kettenis <kettenis@gnu.org>
4801 * bsd-kvm.c: Include <sys/param.h>
4803 2014-02-03 Mark Kettenis <kettenis@gnu.org>
4805 * sparc64nbsd-nat.c (sparc64nbsd_supply_fpregset): Fix prototype.
4807 2014-01-31 Joel Brobecker <brobecker@adacore.com>
4809 * ada-lang.h (clear_ada_sym_cache): Delete.
4811 2014-01-30 Ulrich Weigand <uweigand@de.ibm.com>
4813 * auxv.c (fprint_target_auxv): Handle AT_HWCAP2.
4815 2014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
4817 * sparc64-linux-tdep.c (sparc64_linux_step_trap): Get PC from
4818 the sigreturn register save area only if the syscall is
4821 2014-01-29 Joel Brobecker <brobecker@adacore.com>
4823 * valops.c (value_slice): Minor reformatting.
4825 2014-01-28 Ulrich Weigand <uweigand@de.ibm.com>
4827 * ppc64-tdep.c (ppc64_standard_linkage7): Fix typo.
4829 2014-01-28 Joel Brobecker <brobecker@adacore.com>
4831 * ada-lang.c (maint_set_ada_cmdlist, maint_show_ada_cmdlist):
4833 (maint_set_ada_cmd, maint_show_ada_cmd): New functions.
4834 (ada_ignore_descriptive_types_p): New static global.
4835 (find_parallel_type_by_descriptive_type): Return immediately
4836 if ada_ignore_descriptive_types_p is set.
4837 (_initialize_ada_language): Register new commands "maintenance
4838 set ada", "maintenance show ada", "maintenance set ada
4839 ignore-descriptive-types" and "maintenance show ada
4840 ignore-descriptive-types".
4841 * NEWS: Add entry for new "maint ada set/show
4842 ignore-descriptive-types" commands.
4844 2014-01-27 Markus Metzger <markus.t.metzger@intel.com>
4846 * record-btrace.c (record_btrace_close): Call btrace_teardown
4849 2014-01-27 Joel Brobecker <brobecker@adacore.com>
4851 * ada-lang.c: Remove "#ifdef UI_OUT" condition for including
4854 2014-01-27 Joel Brobecker <brobecker@adacore.com>
4856 * ada-typeprint (type_is_full_subrange_of_target_type):
4858 (print_range): Add parameter bounds_prefered_p. If not set,
4859 try printing range types using the name of their base type.
4860 (print_range_type): Add parameter bounds_prefered_p.
4861 Use it in call to print_range.
4862 (print_array_type, ada_print_type): Update calls to print_range
4863 and print_range_type.
4865 2014-01-27 Joel Brobecker <brobecker@adacore.com>
4867 * ada-typeprint.c (print_array_type, print_choices, print_range)
4868 (print_range_bound, print_dynamic_range_bound, print_range_type):
4871 2014-01-27 Joel Brobecker <brobecker@adacore.com>
4873 * ada-typeprint.c (print_range): Add missing empty line
4874 after local declaration.
4876 2014-01-27 Joel Brobecker <brobecker@adacore.com>
4878 * ada-valprint.c (print_optional_low_bound): Get index_type's
4879 target type for as long as it is a TYPE_CODE_RANGE.
4881 2014-01-27 Joel Brobecker <brobecker@adacore.com>
4883 * procfs.c (procfs_make_note_section): Remove assertion and
4886 2014-01-24 Yao Qi <yao@codesourcery.com>
4888 * remote.c (remote_read_bytes): Change type of len to ULONGEST.
4889 * corelow.c (get_core_siginfo): Likewise.
4891 2014-01-24 Yao Qi <yao@codesourcery.com>
4893 * remote.c (remote_write_bytes_aux): Change type of 'len' to
4894 ULONGEST. Don't check 'len' is negative.
4895 (remote_write_bytes): Change type of 'len' to ULONGEST.
4897 2014-01-23 Tom Tromey <tromey@redhat.com>
4900 * python/lib/gdb/FrameDecorator.py: (FrameVars.fetch_frame_args):
4901 Handle exception from frame.block.
4902 (FrameVars.fetch_frame_locals): Likewise.
4904 2014-01-23 Tom Tromey <tromey@redhat.com>
4907 * python/py-framefilter.c (py_print_frame): Don't call Py_DECREF
4908 on a NULL pointer. Move "goto error" to correct place.
4910 2014-01-23 Tom Tromey <tromey@redhat.com>
4913 * python/py-framefilter.c (apply_frame_filter): Call
4914 ensure_python_env after computing gdbarch.
4916 2014-01-23 Yao Qi <yao@codesourcery.com>
4918 * target.c (raw_memory_xfer_partial): Change argument type
4919 from void * to gdb_byte *.
4920 (memory_xfer_partial_1, memory_xfer_partial): Likewise.
4922 2014-01-22 Doug Evans <dje@google.com>
4924 New gdbserver option --debug-format=timestamp.
4927 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
4929 * syscalls/s390x-linux.xml: New file.
4930 * syscalls/s390-linux.xml: New file.
4931 * s390-linux-tdep.c (XML_SYSCALL_FILENAME_S390): New macro.
4932 (XML_SYSCALL_FILENAME_S390X): Likewise.
4933 (op_svc): New enum value for SVC opcode.
4934 (s390_sigtramp_frame_sniffer): Replace literal by 'op_svc'.
4935 (s390_linux_get_syscall_number): New function.
4936 (s390_gdbarch_init): Register '*get_syscall_number' and the
4937 syscall xml file name.
4938 * data-directory/Makefile.in (SYSCALLS_FILES): Add
4939 "s390-linux.xml" and "s390x-linux.xml".
4940 * NEWS: Announce new feature.
4942 2014-01-22 Baruch Siach <baruch@tkos.co.il>
4944 * xtensa-tdep.h (xtensa_elf_greg_t): Change type to uint32_t.
4946 2014-01-22 Pedro Alves <palves@redhat.com>
4948 * xtensa-config.c: Include defs.h.
4950 2014-01-22 Joel Brobecker <brobecker@adacore.com>
4952 * common/common-utils.h: Add "ARI:" comment beside __func__
4955 2014-01-22 Joel Brobecker <brobecker@adacore.com>
4957 * common/common-utils.h (FUNCTION_NAME): Expand the macro's
4958 documentation a bit.
4960 2014-01-21 Roland McGrath <mcgrathr@google.com>
4962 * configure.ac: Call AM_PROG_INSTALL_STRIP.
4963 * configure: Regenerate.
4964 * aclocal.m4: Regenerate.
4965 * Makefile.in (install_sh, INSTALL_STRIP_PROGRAM, STRIP):
4966 New substituted variables.
4967 (install-strip): New target.
4968 (INSTALL_SCRIPT): New substituted variable.
4969 (FLAGS_TO_PASS): Add it.
4970 (install-only): Use $(INSTALL_SCRIPT) rather than
4971 $(INSTALL_PROGRAM) for gcore.
4973 2014-01-20 Tom Tromey <tromey@redhat.com>
4975 * cli/cli-decode.h (struct cmd_list_element): Move all bitfields
4978 2014-01-20 Tom Tromey <tromey@redhat.com>
4980 * cli/cli-decode.c (add_cmd, deprecate_cmd, add_alias_cmd)
4981 (add_setshow_cmd_full, delete_cmd, lookup_cmd_1)
4982 (deprecated_cmd_warning, complete_on_cmdlist): Update.
4983 * cli/cli-decode.h (CMD_DEPRECATED, DEPRECATED_WARN_USER)
4984 (MALLOCED_REPLACEMENT, DOC_ALLOCATED): Remove.
4985 (struct cmd_list_element) <flags>: Remove.
4986 <cmd_deprecated, deprecated_warn_user, malloced_replacement,
4987 doc_allocated>: New fields.
4988 <hook_in, allow_unknown, abbrev_flag, type, var_type>: Now
4990 * maint.c (maintenance_do_deprecate): Update.
4991 * top.c (execute_command): Update.
4993 2014-01-20 Baruch Siach <baruch@tkos.co.il>
4995 * xtensa-linux-nat.c: Include asm/ptrace.h.
4997 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
4999 * Makefile.in (SFILES): Add d-support.c.
5000 (COMMON_OBS): Add d-support.o.
5001 * d-lang.h (d_parse_symbol): Add comment, now defined in
5003 * d-lang.c (parse_call_convention)
5004 (parse_attributes, parse_function_types)
5005 (parse_function_args, parse_type, parse_identifier)
5006 (call_convention_p, d_parse_symbol): Move functions to ...
5007 * d-support.c: ... New file.
5009 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
5011 * d-lang.h (d_parse_symbol): Add declaration.
5012 * d-lang.c (extract_identifiers)
5013 (extract_type_info): Remove functions.
5014 (parse_call_convention, parse_attributes)
5015 (parse_function_types, parse_function_args)
5016 (parse_type, parse_identifier, call_convention_p)
5017 (d_parse_symbol): New functions.
5018 (d_demangle): Use d_parse_symbol to demangle D symbols.
5020 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
5022 * d-lang.h (struct builtin_d_type): New data type.
5023 (builtin_d_type): Add declaration.
5024 * d-lang.c (d_language_arch_info, build_d_types)
5025 (builtin_d_type): New functions.
5026 (enum d_primitive_types): New data type.
5027 (d_language_defn): Change c_language_arch_info to
5028 d_language_arch_info.
5029 (d_type_data): New static variable.
5030 (_initialize_d_language): Initialize d_type_data.
5032 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
5034 * d-lang.h (d_main_name): Add declaration.
5035 * d-lang.c (d_main_name): New function.
5036 * symtab.c (find_main_name): Add call to d_main_name.
5038 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
5040 * d-lang.c (d_language_defn): Change macro_expansion_c to
5043 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
5045 * MAINTAINERS: Add myself as a write-after-approval maintainer.
5047 2014-01-17 Sergio Durigan Junior <sergiodj@redhat.com>
5049 * breakpoint.c (insert_bp_location): Add "volatile" keyword to "struct
5050 gdb_exception" declaration.
5051 * remote.c (getpkt_or_notif_sane): Likewise.
5053 2014-01-17 Doug Evans <dje@google.com>
5055 * common/gdb_vecs.c (delim_string_to_char_ptr_vec_append): New
5056 function, contents of dirnames_to_char_ptr_vec_append moved here.
5057 (delim_string_to_char_ptr_vec): New function.
5058 (dirnames_to_char_ptr_vec_append): Rewrite.
5059 * common/gdb_vecs.h (delim_string_to_char_ptr_vec): Declare.
5061 2014-01-17 Doug Evans <dje@google.com>
5063 * common/common-utils.h (FUNCTION_NAME): Renamed from ASSERT_FUNCTION,
5065 * common/gdb_assert.h (ASSERT_FUNCTION): ... from here.
5066 #include "common-utils.h".
5067 (gdb_assert, gdb_assert_fail, gdb_assert_not_reached): Update.
5068 * common/vec.h (VEC_ASSERT_PASS): Update.
5069 * darwin-nat.h: Replace #include of gdb_assert.h with common-utils.h.
5070 (MACH_CHECK_ERROR): Update.
5072 2014-01-17 Simon Marchi <simon.marchi@ericsson.com>
5074 * gdbarch.sh (gdbarch_address_class_name_to_type_flags): Add
5076 * gdbarch.h: Regenerate.
5078 2014-01-16 Tom Tromey <tromey@redhat.com>
5080 * value.c (struct value) <regnum>: Move earlier.
5082 2014-01-16 Tom Tromey <tromey@redhat.com>
5084 * remote.c (extended_remote_create_inferior): Rename from
5085 extended_remote_create_inferior_1. Add "ops" argument. Remove
5088 2014-01-16 Pedro Alves <palves@redhat.com>
5090 * s390-linux-tdep.c (s390_frame_unwind_cache): Swallow
5091 NOT_AVAILABLE_ERROR errors while parsing the prologue or reading
5094 2014-01-16 Doug Evans <dje@google.com>
5096 * dwarf2read.c (open_and_init_dwp_file): Fix typo in comment.
5098 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5100 * btrace.h (btrace_thread_flag): New.
5101 (struct btrace_thread_info) <flags>: New.
5102 * record-btrace.c (record_btrace_resume_thread)
5103 (record_btrace_find_thread_to_move, btrace_step_no_history)
5104 (btrace_step_stopped, record_btrace_start_replaying)
5105 (record_btrace_step_thread, record_btrace_decr_pc_after_break)
5106 (record_btrace_find_resume_thread): New.
5107 (record_btrace_resume, record_btrace_wait): Extend.
5108 (record_btrace_can_execute_reverse): New.
5109 (record_btrace_open): Fail in non-stop mode.
5110 (record_btrace_set_replay): Split into this, ...
5111 (record_btrace_stop_replaying): ... this, ...
5112 (record_btrace_clear_histories): ... and this.
5113 (init_record_btrace_ops): Init to_can_execute_reverse.
5114 * NEWS: Announce it.
5116 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5118 * target.h (struct target_ops) <to_decr_pc_after_break>: New.
5119 (forward_target_decr_pc_after_break)
5120 (target_decr_pc_after_break): New.
5121 * target.c (forward_target_decr_pc_after_break)
5122 (target_decr_pc_after_break): New.
5123 * aix-thread.c (aix_thread_wait): Call target_decr_pc_after_break
5124 instead of gdbarch_decr_pc_after_break.
5125 * darwin-nat.c (cancel_breakpoint): Call target_decr_pc_after_break
5126 instead of gdbarch_decr_pc_after_break.
5127 * infrun.c (adjust_pc_after_break): Call target_decr_pc_after_break
5128 instead of gdbarch_decr_pc_after_break.
5129 * linux-nat.c (cancel_breakpoint): Call target_decr_pc_after_break
5130 instead of gdbarch_decr_pc_after_break.
5131 * linux-thread-db.c (check_event): Call target_decr_pc_after_break
5132 instead of gdbarch_decr_pc_after_break.
5133 * record-full.c (record_full_wait_1): Call target_decr_pc_after_break
5134 instead of gdbarch_decr_pc_after_break.
5136 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5138 * btrace.c: Include regcache.h.
5139 (btrace_add_pc): New.
5140 (btrace_enable): Call btrace_add_pc.
5141 (btrace_is_empty): New.
5142 * btrace.h (btrace_is_empty): New.
5143 * record-btrace.c (require_btrace, record_btrace_info): Call
5146 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5148 * common/linux-btrace.c (perf_event_read_bts, linux_read_btrace):
5149 Support delta reads.
5150 (linux_disable_btrace): Change return type.
5151 * common/linux-btrace.h (linux_read_btrace): Change parameters
5152 and return type to allow error reporting. Update users.
5153 (linux_disable_btrace): Change return type. Update users.
5154 * common/btrace-common.h (btrace_read_type) <BTRACE_READ_DELTA>:
5156 (btrace_error): New.
5157 (btrace_block) <begin>: Comment on BEGIN == 0.
5158 * btrace.c (btrace_compute_ftrace): Start from the end of
5160 (btrace_stitch_trace, btrace_clear_history): New.
5161 (btrace_fetch): Read delta trace, return if replaying.
5162 (btrace_clear): Move clear history code to btrace_clear_history.
5163 (parse_xml_btrace): Throw an error if parsing failed.
5164 * target.h (struct target_ops) <to_read_btrace>: Change parameters
5165 and return type to allow error reporting.
5166 (target_read_btrace): Change parameters and return type to allow
5168 * target.c (target_read_btrace): Update.
5169 * remote.c (remote_read_btrace): Support delta reads. Pass
5171 * NEWS: Announce it.
5173 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5175 * record.h (record_btrace_frame_unwind)
5176 (record_btrace_tailcall_frame_unwind): New declarations.
5177 * dwarf2-frame: Include record.h
5178 (dwarf2_frame_cfa): Throw an error for btrace frames.
5179 * record-btrace.c: Include hashtab.h.
5180 (btrace_get_bfun_name): New.
5181 (btrace_call_history): Call btrace_get_bfun_name.
5182 (struct btrace_frame_cache): New.
5184 (bfcache_hash, bfcache_eq, bfcache_new): New.
5185 (btrace_get_frame_function): New.
5186 (record_btrace_frame_unwind_stop_reason): Allow unwinding.
5187 (record_btrace_frame_this_id): Compute own id.
5188 (record_btrace_frame_prev_register): Provide PC, throw_error
5189 for all other registers.
5190 (record_btrace_frame_sniffer): Detect btrace frames.
5191 (record_btrace_tailcall_frame_sniffer): New.
5192 (record_btrace_frame_dealloc_cache): New.
5193 (record_btrace_frame_unwind): Add new functions.
5194 (record_btrace_tailcall_frame_unwind): New.
5195 (_initialize_record_btrace): Allocate cache.
5196 * btrace.c (btrace_clear): Call reinit_frame_cache.
5197 * NEWS: Announce it.
5199 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5201 * record-btrace.c (record_btrace_set_replay)
5202 (record_btrace_goto_begin, record_btrace_goto_end)
5203 (record_btrace_goto): New.
5204 (init_record_btrace_ops): Initialize them.
5205 * NEWS: Announce it.
5207 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5209 * record-btrace.c (record_btrace_find_new_threads)
5210 (record_btrace_thread_alive): New.
5211 (init_record_btrace_ops): Initialize to_find_new_threads and
5214 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5216 * record-btrace.c (record_btrace_resume): New.
5217 (record_btrace_wait): New.
5218 (init_record_btrace_ops): Initialize to_wait and to_resume.
5220 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5222 * record-btrace.c (record_btrace_xfer_partial)
5223 (record_btrace_insert_breakpoint, record_btrace_remove_breakpoint)
5224 (record_btrace_allow_memory_access): New.
5225 (init_record_btrace_ops): Initialize new methods.
5226 * target.c (raw_memory_xfer_partial): Bail out if target reports
5227 that this memory is not available.
5229 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5231 * target.h (target_ops) <to_insert_breakpoint>
5232 <to_remove_breakpoint>: Add target_ops parameter.
5233 (forward_target_insert_breakpoint): New.
5234 (forward_target_remove_breakpoint): New.
5235 (memory_remove_breakpoint, memory_insert_breakpoint):
5236 Add target_ops parameter.
5237 * target.c (target_insert_breakpoint): Split into this and ...
5238 (forward_target_insert_breakpoint): ... this.
5239 (target_remove_breakpoint): Split into this and ...
5240 (forward_target_remove_breakpoint): ... this.
5241 (debug_to_insert_breakpoint): Add target_ops parameter.
5242 Call forward_target_insert_breakpoint.
5243 (debug_to_remove_breakpoint): Add target_ops parameter.
5244 Call forward_target_remove_breakpoint.
5245 (update_current_target): Do not inherit or default to_insert_breakpoint
5246 and to_remove_breakpoint.
5247 * corelow.c (ignore): Add target_ops parameter.
5248 * exec.c (ignore): Add target_ops parameter.
5249 * mem-break.c (memory_insert_breakpoint, memory_remove_breakpoint):
5250 Add target_ops parameter.
5251 * monitor.c (monitor_insert_breakpoint, monitor_remove_breakpoint):
5252 Add target_ops parameter.
5253 * nto-procfs.c (procfs_insert_breakpoint, procfs_remove_breakpoint):
5254 Add target_ops parameter.
5255 * record-full.c (record_full_beneath_to_insert_breakpoint)
5256 (record_full_beneath_to_remove_breakpoint, tmp_to_insert_breakpoint)
5257 (tmp_to_remove_breakpoint, record_full_insert_breakpoint)
5258 (record_full_remove_breakpoint, record_full_core_insert_breakpoint)
5259 (record_full_core_remove_breakpoint): Add target_ops parameter.
5261 (record_full_beneath_to_insert_breakpoint_ops)
5262 (record_full_beneath_to_remove_breakpoint_ops)
5263 (tmp_to_insert_breakpoint_ops, tmp_to_remove_breakpoint_ops): New.
5264 (record_full_open): Initialize tmp_to_insert_breakpoint_ops,
5265 tmp_to_remove_breakpoint_ops,
5266 record_full_beneath_to_insert_breakpoint_ops, and
5267 record_full_beneath_to_remove_breakpoint_ops.
5268 * remote-m32r-sdi.c (m32r_insert_breakpoint)
5269 (m32r_remove_breakpoint): Add target_ops parameter.
5270 * remote-mips.c (mips_insert_breakpoint, mips_remove_breakpoint):
5271 Add target_ops parameter.
5272 * remote.c (remote_insert_breakpoint, remote_remove_breakpoint):
5273 Add target_ops parameter.
5275 2014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
5276 Markus Metzger <markus.t.metzger@intel.com>
5278 * record-btrace.c: Include frame-unwind.h.
5279 (record_btrace_frame_unwind_stop_reason)
5280 (record_btrace_frame_this_id, record_btrace_frame_prev_register)
5281 (record_btrace_frame_sniffer, record_btrace_frame_unwind):
5283 (init_record_btrace_ops): Install it.
5285 2014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
5287 * frame.c (get_frame_unwind_stop_reason): Unconditionally call
5290 2014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
5292 * dwarf2-frame.c (dwarf2_frame_cfa): Move UNWIND_UNAVAILABLE check
5295 2014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
5297 * frame-unwind.c: Include target.h.
5298 (frame_unwind_try_unwinder): New function with code from ...
5299 (frame_unwind_find_by_frame): ... here. New variable
5300 unwinder_from_target, call also target_get_unwinder)
5301 (target_get_tailcall_unwinder, and frame_unwind_try_unwinder for it.
5302 * target.c (target_get_unwinder, target_get_tailcall_unwinder): New.
5303 * target.h (struct target_ops): New fields to_get_unwinder and
5304 to_get_tailcall_unwinder.
5305 (target_get_unwinder, target_get_tailcall_unwinder): New declarations.
5307 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5309 * record-btrace.c (record_btrace_fetch_registers)
5310 (record_btrace_store_registers)
5311 (record_btrace_to_prepare_to_store): New.
5312 (init_record_btrace_ops): Add the above.
5314 2014-01-16 Tom Tromey <tromey@redhat.com>
5316 * windows-nat.c (windows_prepare_to_store): Add 'self' argument.
5317 * target.h (struct target_ops) <to_prepare_to_store>: Add
5319 (target_prepare_to_store): Add argument.
5320 * target.c (debug_to_prepare_to_store): Add argument.
5321 (update_current_target): Update.
5322 * remote.c (remote_prepare_to_store): Add 'self' argument.
5323 * remote-sim.c (gdbsim_prepare_to_store): Add 'self' argument.
5324 * remote-mips.c (mips_prepare_to_store): Add 'self' argument.
5325 * remote-m32r-sdi.c (m32r_prepare_to_store): Add 'self' argument.
5326 * record-full.c (record_full_core_prepare_to_store): Add 'self'
5328 * ravenscar-thread.c (ravenscar_prepare_to_store): Add argument.
5329 * nto-procfs.c (procfs_prepare_to_store): Add 'self' argument.
5330 * monitor.c (monitor_prepare_to_store): Add 'self' argument.
5331 * inf-child.c (inf_child_prepare_to_store): Add 'self' argument.
5332 * go32-nat.c (go32_prepare_to_store): Add 'self' argument.
5334 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5336 * btrace.h (replay) <replay>: New.
5337 (btrace_is_replaying): New.
5338 * btrace.c (btrace_clear): Free replay iterator.
5339 (btrace_is_replaying): New.
5340 * record-btrace.c (record_btrace_is_replaying): New.
5341 (record_btrace_info): Print insn number if replaying.
5342 (record_btrace_insn_history): Start at replay position.
5343 (record_btrace_call_history): Start at replay position.
5344 (init_record_btrace_ops): Init to_record_is_replaying.
5346 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5348 * record-btrace.c (record_btrace_insn_history_range): Include
5350 (record_btrace_insn_history_from): Adjust range.
5351 (record_btrace_call_history_range): Include
5353 (record_btrace_call_history_from): Adjust range.
5354 * NEWS: Announce changes.
5356 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5358 * record.h (enum record_print_flag)
5359 <record_print_indent_calls>: New.
5360 * record.c (get_call_history_modifiers): Recognize /c modifier.
5361 (_initialize_record): Document /c modifier.
5362 * record-btrace.c (btrace_call_history): Add btinfo parameter.
5363 Reorder fields. Optionally indent the function name. Update
5365 * NEWS: Announce changes.
5367 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5369 * common/linux-btrace.c (linux_enable_btrace): Enlarge buffer.
5371 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5373 * btrace.c (ftrace_new_function): Start counting at one.
5374 * record-btrace.c (record_btrace_info): Adjust number of calls
5376 * NEWS: Announce it.
5378 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5380 * record-btrace.c (btrace_call_history_insn_range): Print
5381 insn range as [begin, end].
5383 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5385 * btrace.h (struct btrace_func_link): New.
5386 (enum btrace_function_flag): New.
5387 (struct btrace_inst): Rename to ...
5388 (struct btrace_insn): ...this. Update all users.
5389 (struct btrace_func) <ibegin, iend>: Remove.
5390 (struct btrace_func_link): New.
5391 (struct btrace_func): Rename to ...
5392 (struct btrace_function): ...this. Update all users.
5393 (struct btrace_function) <segment, flow, up, insn, insn_offset)
5394 (number, level, flags>: New.
5395 (struct btrace_insn_iterator): Rename to ...
5396 (struct btrace_insn_history): ...this.
5398 (struct btrace_insn_iterator, btrace_call_iterator): New.
5399 (struct btrace_target_info) <btrace, itrace, ftrace>: Remove.
5400 (struct btrace_target_info) <begin, end, level>
5401 <insn_history, call_history>: New.
5402 (btrace_insn_get, btrace_insn_number, btrace_insn_begin)
5403 (btrace_insn_end, btrace_insn_prev, btrace_insn_next)
5404 (btrace_insn_cmp, btrace_find_insn_by_number, btrace_call_get)
5405 (btrace_call_number, btrace_call_begin, btrace_call_end)
5406 (btrace_call_prev, btrace_call_next, btrace_call_cmp)
5407 (btrace_find_function_by_number, btrace_set_insn_history)
5408 (btrace_set_call_history): New.
5409 * btrace.c (btrace_init_insn_iterator)
5410 (btrace_init_func_iterator, compute_itrace): Remove.
5411 (ftrace_print_function_name, ftrace_print_filename)
5412 (ftrace_skip_file): Change
5414 (ftrace_init_func): Remove.
5415 (ftrace_debug): Use new btrace_function fields.
5416 (ftrace_function_switched): Also consider gaining and
5417 losing symbol information).
5418 (ftrace_print_insn_addr, ftrace_new_call, ftrace_new_return)
5419 (ftrace_new_switch, ftrace_find_caller, ftrace_new_function)
5420 (ftrace_update_caller, ftrace_fixup_caller, ftrace_new_tailcall):
5422 (ftrace_new_function): Move. Remove debug print.
5423 (ftrace_update_lines, ftrace_update_insns): New.
5424 (ftrace_update_function): Check for call, ret, and jump.
5425 (compute_ftrace): Renamed to ...
5426 (btrace_compute_ftrace): ...this. Rewritten to compute call
5428 (btrace_fetch, btrace_clear): Updated.
5429 (btrace_insn_get, btrace_insn_number, btrace_insn_begin)
5430 (btrace_insn_end, btrace_insn_prev, btrace_insn_next)
5431 (btrace_insn_cmp, btrace_find_insn_by_number, btrace_call_get)
5432 (btrace_call_number, btrace_call_begin, btrace_call_end)
5433 (btrace_call_prev, btrace_call_next, btrace_call_cmp)
5434 (btrace_find_function_by_number, btrace_set_insn_history)
5435 (btrace_set_call_history): New.
5436 * record-btrace.c (require_btrace): Use new btrace thread
5438 (record_btrace_info, btrace_insn_history)
5439 (record_btrace_insn_history, record_btrace_insn_history_range):
5440 Use new btrace thread info fields and new iterator.
5441 (btrace_func_history_src_line): Rename to ...
5442 (btrace_call_history_src_line): ...this. Use new btrace
5444 (btrace_func_history): Rename to ...
5445 (btrace_call_history): ...this. Use new btrace thread info
5446 fields and new iterator.
5447 (record_btrace_call_history, record_btrace_call_history_range):
5448 Use new btrace thread info fields and new iterator.
5450 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5452 * frame.h (frame_id_build_unavailable_stack_special): New.
5453 * frame.c (frame_id_build_unavailable_stack_special): New.
5455 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5457 * amd64-tdep.c (amd64_classify_insn_at, amd64_insn_is_call)
5458 (amd64_insn_is_ret, amd64_insn_is_jump, amd64_jmp_p): New.
5459 (amd64_init_abi): Add insn_is_call, insn_is_ret, and insn_is_jump
5461 * i386-tdep.c (i386_insn_is_call, i386_insn_is_ret)
5462 (i386_insn_is_jump, i386_jmp_p): New.
5463 (i386_gdbarch_init): Add insn_is_call, insn_is_ret, and
5464 insn_is_jump to gdbarch.
5465 * gdbarch.sh (insn_is_call, insn_is_ret, insn_is_jump): New.
5466 * gdbarch.h: Regenerated.
5467 * gdbarch.c: Regenerated.
5468 * arch-utils.h (default_insn_is_call, default_insn_is_ret)
5469 (default_insn_is_jump): New.
5470 * arch-utils.c (default_insn_is_call, default_insn_is_ret)
5471 (default_insn_is_jump): New.
5473 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5475 * common/btrace-common.h (btrace_read_type) <btrace_read_all>:
5477 (btrace_read_type) <BTRACE_READ_ALL>: ... this. Update users.
5478 (btrace_read_type) <btrace_read_new>: Change to ...
5479 (btrace_read_type) <BTRACE_READ_NEW>: ... this. Update users.
5481 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5483 * common/linux-btrace.c (linux_read_btrace): Free trace from
5486 2014-01-15 Doug Evans <dje@google.com>
5488 * dwarf2read.c (open_and_init_dwp_file): Use pulongest to print
5491 2014-01-15 Tom Tromey <tromey@redhat.com>
5493 * dbxread.c (process_one_symbol): Use set_objfile_main_name.
5494 * dwarf2read.c (read_partial_die): Use set_objfile_main_name.
5495 * objfiles.c (get_objfile_bfd_data): Initialize language_of_main.
5496 (set_objfile_main_name): New function.
5497 * objfiles.h (struct objfile_per_bfd_storage) <name_of_main,
5498 language_of_main>: New fields.
5499 (set_objfile_main_name): Declare.
5500 * symtab.c (find_main_name): Loop over objfiles to find the main
5502 (set_main_name): Now static.
5503 (get_main_info): Add comment.
5504 * symtab.h (set_main_name): Don't declare.
5506 2014-01-15 Tom Tromey <tromey@redhat.com>
5508 * symtab.c (main_progspace_key): New global.
5509 (struct main_info): New.
5510 (name_of_main, language_of_main): Remove.
5511 (get_main_info, main_info_cleanup): New function.
5512 (set_main_name, main_name, main_language): Use get_main_info.
5513 (_initialize_symtab): Initialize main_progspace_key.
5515 2014-01-15 Tom Tromey <tromey@redhat.com>
5517 * dbxread.c (process_one_symbol): Update.
5518 * dwarf2read.c (read_partial_die): Update.
5519 * symfile.c (set_initial_language): Call main_language.
5520 * symtab.c (language_of_main): Now static.
5521 (set_main_name): Add 'lang' parameter.
5522 (find_main_name): Update.
5523 (main_language): New function.
5524 (symtab_observer_executable_changed): Update.
5525 * symtab.h (set_main_name): Update.
5526 (language_of_main): Remove.
5527 (main_language): Declare.
5529 2014-01-15 Tom Tromey <tromey@redhat.com>
5531 * symfile.c (init_entry_point_info): Use new "initialized" field.
5533 * objfiles.h (struct entry_point) <initialized>: New field.
5534 (struct objfile_per_bfd_storage) <ei>: New field, moved from...
5535 (struct objfile) <ei>: ...here. Remove.
5536 * objfiles.c (entry_point_address_query): Update.
5538 2014-01-15 Tom Tromey <tromey@redhat.com>
5540 * objfiles.c (entry_point_address_query): Relocate entry point
5542 (objfile_relocate1): Do not relocate entry point address.
5543 * objfiles.h (struct entry_info) <entry_point>: Update comment.
5544 <the_bfd_section_index>: New field.
5545 * symfile.c (init_entry_point_info): Find the entry point's
5548 2014-01-15 Tom Tromey <tromey@redhat.com>
5550 * solib-frv.c (enable_break): Use entry_point_address_query.
5552 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
5554 * NEWS: Add note on improved process record-replay on
5555 arm*-linux* targets.
5557 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
5559 * arm-tdep.c (enum arm_record_result): New enum.
5560 (arm_record_unsupported_insn): New function.
5561 (arm_record_coproc_data_proc): Removed.
5562 (thumb2_record_ld_st_multiple): New function.
5563 (thumb2_record_ld_st_dual_ex_tbb): New function.
5564 (thumb2_record_data_proc_sreg_mimm): New function.
5565 (thumb2_record_ps_dest_generic): New function.
5566 (thumb2_record_branch_misc_cntrl): New function.
5567 (thumb2_record_str_single_data): New function.
5568 (thumb2_record_ld_mem_hints): New function.
5569 (thumb2_record_ld_word): New function.
5570 (thumb2_record_lmul_lmla_div): New function.
5571 (thumb2_record_decode_insn_handler): New function.
5572 (decode_insn): Add thumb32 instruction handlers.
5574 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
5576 * arm-linux-tdep.c: Include "record-full.h" and "linux-record.h".
5577 (struct arm_linux_record_tdep): Declare.
5578 (arm_canonicalize_syscall): New function.
5579 (arm_all_but_pc_registers_record): New function.
5580 (arm_linux_syscall_record): New function.
5581 (arm_linux_init_abi): Add syscall recording constructs.
5582 * arm-tdep.c (thumb_record_ldm_stm_swi): Update thumb syscall
5583 decoding. (arm_record_coproc_data_proc): Update arm syscall
5585 * arm-tdep.h (struct gdbarch_tdep) <arm_swi_record>: Remove.
5586 <arm_syscall_record>: New field.
5587 * configure.tgt (arm*-*-linux*): Add linux-record.o to
5590 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
5592 * arm-tdep.c (thumb_record_misc): Update to use sp as base
5593 register for push instruction recording.
5595 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
5597 * arm-tdep.c (thumb_record_misc): Update to correct logical
5598 error while recording ldm, ldmia and pop instructions.
5600 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
5602 * arm-tdep.c (struct arm_mem_r) <addr>: Change type to uint32_t.
5604 2014-01-15 Pedro Alves <palves@redhat.com>
5606 * go32-nat.c (go32_open, go32_close, go32_attach, go32_detach)
5607 (go32_resume, go32_fetch_registers, store_register)
5608 (go32_store_registers, go32_prepare_to_store)
5609 (go32_xfer_memory, go32_files_info, go32_kill_inferior)
5610 (go32_create_inferior, go32_can_run, go32_terminal_init)
5611 (go32_terminal_inferior, go32_terminal_ours): Delete forward
5614 2014-01-15 Tom Tromey <tromey@redhat.com>
5616 * target.h (async_callback_ftype): New typedef.
5617 (struct target_ops) <to_async>: Use it.
5619 2014-01-15 Joel Brobecker <brobecker@adacore.com>
5621 * python/py-value.c (get_field_type): Remove unnecessary curly
5622 braces for single-statement if block.
5624 2014-01-15 Joel Brobecker <brobecker@adacore.com>
5626 * python/py-type.c (convert_field): Add missing empty line
5629 2014-01-14 Doug Evans <dje@google.com>
5631 * symfile.h (expand_symtabs_matching): Renamed from
5632 expand_partial_symbol_names. Update prototype.
5633 (map_symbol_filenames): Renamed from map_partial_symbol_filenames.
5634 * symfile.c (expand_symtabs_matching): Renamed from
5635 expand_partial_symbol_names. New args file_matcher, kind.
5636 Rename arg fun to symbol_matcher.
5637 (map_symbol_filenames): Renamed from map_partial_symbol_filenames.
5638 * ada-lang.c (ada_complete_symbol_matcher): Renamed from
5639 ada_expand_partial_symbol_name.
5640 (ada_make_symbol_completion_list): Update to call
5641 expand_symtabs_matching.
5642 (ada_add_global_exceptions): Call expand_symtabs_matching.
5643 * mi/mi-cmd-file.c (mi_cmd_file_list_exec_source_files): Update to
5644 call map_symbol_filenames.
5645 * symtab.c (sources_info): Update to call map_symbol_filenames.
5646 (search_symbols): Call expand_symtabs_matching.
5647 (symbol_completion_matcher): Renamed from expand_partial_symbol_name.
5648 (default_make_symbol_completion_list_break_on): Update to call
5649 expand_symtabs_matching.
5650 (make_source_files_completion_list): Update to call
5651 map_symbol_filenames.
5653 2014-01-14 Doug Evans <dje@google.com>
5655 * symfile.h (expand_symtabs_file_matcher_ftype): New typedef.
5656 (expand_symtabs_symbol_matcher_ftype): New typedef.
5657 (quick_symbol_functions.expand_symtabs_matching): Update to use.
5658 expand_symtabs_file_matcher_ftype, expand_symtabs_symbol_matcher_ftype.
5659 * symfile.c (expand_partial_symbol_names): Update to use
5660 expand_symtabs_symbol_matcher_ftype.
5661 * dwarf2read.c (dw2_expand_symtabs_matching): Update to use
5662 expand_symtabs_file_matcher_ftype, expand_symtabs_symbol_matcher_ftype.
5663 Arg name_matcher renamed to symbol_matcher.
5664 * psymtab.c (recursively_search_psymtabs): Update to use
5665 expand_symtabs_symbol_matcher_ftype. Arg name_matcher renamed to
5667 (expand_symtabs_matching_via_partial): Update to use
5668 expand_symtabs_file_matcher_ftype, expand_symtabs_symbol_matcher_ftype.
5669 Arg name_matcher renamed to symbol_matcher.
5671 2014-01-14 Doug Evans <dje@google.com>
5673 * psymtab.c (expand_partial_symbol_names): Delete, moved to symfile.c.
5674 (map_partial_symbol_filenames): Ditto.
5675 * psymtab.h (expand_partial_symbol_names): Delete, moved to symfile.h.
5676 (map_partial_symbol_filenames): Ditto.
5677 * symfile.c (expand_partial_symbol_names): Moved here from psymtab.c.
5678 (map_partial_symbol_filenames): Ditto.
5679 * symfile.h (expand_partial_symbol_names): Moved here from psymtab.h.
5680 (map_partial_symbol_filenames): Ditto.
5681 * symtab.c: Delete #include "psymtab.h".
5683 2014-01-14 Pedro Alves <palves@redhat.com>
5684 Tom Tromey <tromey@redhat.com>
5686 * infrun.c (use_displaced_stepping): Use find_record_target
5687 instead of RECORD_IS_USED.
5688 (adjust_pc_after_break): Use record_full_is_used instead of
5690 * record-btrace.c (record_btrace_open): Call record_preopen
5691 instead of checking RECORD_IS_USED.
5692 * record-full.c (record_full_shortname)
5693 (record_full_core_shortname): New globals.
5694 (record_full_is_used): New function.
5695 (find_full_open): Call record_preopen instead of checking
5697 (init_record_full_ops): Set the target's shortname to
5698 record_full_shortname.
5699 (init_record_full_core_ops): Set the target's shortname to
5700 record_full_core_shortname.
5701 * record-full.h (record_full_is_used): Declare.
5702 * record.c (find_record_target): Make extern.
5703 (record_preopen): New function.
5704 * record.h (RECORD_IS_USED): Delete macro.
5705 (find_record_target, record_preopen): Declare functions.
5707 2014-01-14 Yao Qi <yao@codesourcery.com>
5709 * gdbarch.sh (core_xfer_shared_libraries): Change its argument
5710 'len''s type to ULONGEST.
5711 (core_xfer_shared_libraries_aix): Likewise.
5712 * gdbarch.c, gdbarch.h: Regenerated.
5713 * i386-cygwin-tdep.c (windows_core_xfer_shared_libraries):
5714 Change type of 'len' to ULONGEST.
5715 * rs6000-aix-tdep.c (rs6000_aix_ld_info_to_xml): Likewise.
5716 (rs6000_aix_core_xfer_shared_libraries_aix): Likewise.
5718 2014-01-14 Yao Qi <yao@codesourcery.com>
5720 * common/linux-osdata.c (linux_xfer_osdata_processes): Change
5721 type of 'len' to ULONGEST.
5722 (linux_xfer_osdata_processgroups): Likewise.
5723 (linux_xfer_osdata_threads): Likewise.
5724 (linux_xfer_osdata_fds): Likewise.
5725 (linux_xfer_osdata_isockets): Likewise.
5726 (linux_xfer_osdata_shm): Likewise.
5727 (linux_xfer_osdata_sem): Likewise.
5728 (linux_xfer_osdata_msg): Likewise.
5729 (linux_common_xfer_osdata): Likewise.
5730 (struct osdata_type) <getter>: Likewise.
5731 * common/linux-osdata.h (linux_common_xfer_osdata): Update
5734 2014-01-14 Yao Qi <yao@codesourcery.com>
5736 * target.h (target_xfer_partial_ftype): Update.
5737 (struct target_ops) <to_xfer_partial>: Change 'len' type to
5739 * aix-thread.c (aix_thread_xfer_partial): Change type of
5740 argument 'len' to ULONGEST.
5741 * auxv.c (procfs_xfer_auxv): Likewise.
5742 (ld_so_xfer_auxv): Likewise.
5743 (memory_xfer_auxv): Likewise.
5744 * bfd-target.c (target_bfd_xfer_partial): Likewise.
5745 * bsd-kvm.c (bsd_kvm_xfer_partial): Likewise.
5746 * bsd-uthread.c (bsd_uthread_xfer_partial): Likewise.
5747 * corelow.c (core_xfer_partial): Likewise.
5748 * ctf.c (ctf_xfer_partial): Likewise.
5749 * darwin-nat.c (darwin_read_write_inferior): Likewise. Use
5751 (darwin_read_dyld_info): Likewise.
5752 (darwin_xfer_partial): Likewise.
5753 * exec.c (section_table_xfer_memory_partial): Likewise.
5754 (exec_xfer_partial): Likewise.
5755 * exec.h (section_table_xfer_memory_partial): Update
5757 * gnu-nat.c (gnu_xfer_memory): Likewise. Call pulongest
5758 instead of plongest.
5759 (gnu_xfer_partial): Likewise.
5760 * ia64-hpux-nat.c (ia64_hpux_xfer_memory): Likewise.
5761 (ia64_hpux_xfer_solib_got): Likewise.
5762 (ia64_hpux_xfer_partial): Likewise.
5763 * ia64-linux-nat.c (ia64_linux_xfer_partial):
5764 * inf-ptrace.c (inf_ptrace_xfer_partial):
5765 * inf-ttrace.c (inf_ttrace_xfer_partial):
5766 * linux-nat.c (linux_xfer_siginfo): Likewise.
5767 (linux_nat_xfer_partial): Likewise.
5768 (spu_enumerate_spu_ids, linux_proc_xfer_spu): Likewise.
5769 (linux_nat_xfer_osdata, linux_xfer_partial): Likewise.
5770 * monitor.c (monitor_xfer_memory): Likewise.
5771 (monitor_xfer_partial): Likewise.
5772 * procfs.c (procfs_xfer_partial): Likewise.
5773 * record-full.c (record_full_xfer_partial): Likewise.
5774 (record_full_core_xfer_partial): Likewise.
5775 * remote-sim.c (gdbsim_xfer_memory): Likewise. Call pulongest
5776 instead of plongest.
5777 (gdbsim_xfer_partial): Likewise.
5778 * remote.c (remote_xfer_partial): Likewise.
5779 * rs6000-aix-tdep.c (rs6000_aix_ld_info_to_xml): Likewise.
5780 * rs6000-aix-tdep.h (rs6000_aix_ld_info_to_xml): Update
5782 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
5783 (rs6000_xfer_shared_libraries): Likewise.
5784 * sol-thread.c (sol_thread_xfer_partial): Likewise.
5785 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
5786 (sparc_xfer_partial): Likewise.
5787 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise.
5788 (spu_xfer_partial): Likewise.
5789 * spu-multiarch.c (spu_xfer_partial): Likewise.
5790 * target.c (target_read_live_memory): Likewise.
5791 (memory_xfer_live_readonly_partial): Likewise.
5792 (memory_xfer_partial, memory_xfer_partial_1): Likewise.
5793 (target_xfer_partial, default_xfer_partial): Likewise.
5794 (current_xfer_partial): Likewise.
5795 * tracepoint.c (tfile_xfer_partial): Likewise.
5796 * windows-nat.c (windows_xfer_memory): Likewise. Call
5797 pulongest instead of plongest.
5798 (windows_xfer_partial): Likewise.
5799 (windows_xfer_shared_libraries): Likewise.
5801 2014-01-14 Yao Qi <yao@codesourcery.com>
5803 * rs6000-nat.c (rs6000_xfer_shared_libraries): Use
5804 target_xfer_partial_ftype.
5806 2014-01-13 Siva Chandra Reddy <sivachandra@google.com>
5810 * valops.c (value_struct_elt_bitpos): New function
5811 * py-type.c (convert_field): Set 'name' attribute of a gdb.Field
5812 object to 'None' if the field name is an empty string ("").
5813 * python/py-value.c (valpy_getitem): Use 'bitpos' and 'type'
5814 attribute to look for a field when 'name' is 'None'.
5815 (get_field_type): New function
5817 2014-01-13 Doug Evans <dje@google.com>
5820 * dwarf2read.c (dwarf2_get_dwz_file): Call gdb_bfd_record_inclusion.
5821 (try_open_dwop_file): Ditto.
5822 * gdb_bfd.c: #include "vec.h".
5823 (bfdp): New typedef.
5824 (struct gdb_bfd_data): New member included_bfds.
5825 (gdb_bfd_unref): Unref all included bfds.
5826 (gdb_bfd_record_inclusion): New function.
5827 * gdb_bfd.h (gdb_bfd_record_inclusion): Declare.
5829 2014-01-13 Tom Tromey <tromey@redhat.com>
5831 * gdbcore.h (deprecated_core_resize_section_table): Remove.
5833 2014-01-13 Tom Tromey <tromey@redhat.com>
5835 * defs.h (use_windows): Remove.
5836 * gdb.c (main): Update.
5837 * main.c (captured_main, gdb_main): Update.
5838 * main.h (struct captured_main_args) <use_windows>: Remove.
5839 * top.c (use_windows): Remove.
5841 2014-01-13 Tom Tromey <tromey@redhat.com>
5843 * defs.h (deprecated_flush_hook): Remove.
5845 2014-01-13 Jan Kratochvil <jan.kratochvil@redhat.com>
5848 * linux-thread-db.c (try_thread_db_load): Add parameter
5849 check_auto_load_safe. Move here the file_is_auto_load_safe call.
5850 (try_thread_db_load_from_pdir_1): Move it there from here.
5851 (try_thread_db_load_from_sdir): Update caller.
5852 (try_thread_db_load_from_dir): Move it there from here.
5854 2014-01-13 Patrick Palka <patrick@parcs.ath.cx>
5856 * regformats/regdat.sh: Always rewrite the register file.
5858 2014-01-13 Pedro Alves <palves@redhat.com>
5860 * Makefile.in (CHECK_HEADERS): New variable.
5861 (check-headers:): New rule.
5863 2014-01-13 Tom Tromey <tromey@redhat.com>
5865 * cli/cli-setshow.c (do_set_command): Update.
5866 * defs.h (deprecated_set_hook): Remove.
5867 * top.c (deprecated_set_hook): Remove.
5869 2014-01-13 Pedro Alves <palves@redhat.com>
5871 * tracepoint.c (tfile_fetch_registers): Don't infer the PC from
5872 the tracepoint if the PC is a pseudo-register.
5874 2014-01-13 Tom Tromey <tromey@redhat.com>
5876 * defs.h (XCALLOC): Remove.
5877 * bcache.c (bcache_xmalloc): Use XCNEW, not XCALLOC.
5878 (print_bcache_statistics): Use XCNEWVEC, not XCALLOC.
5879 * dwarf2loc.c (allocate_piece_closure): Likewise.
5880 * elfread.c (elf_symfile_segments): Likewise.
5881 (elf_symfile_segments): Likewise.
5882 * gdbtypes.c (copy_type_recursive): Likewise.
5883 * i386-tdep.c (i386_gdbarch_init): Use XCNEW, not XCALLOC.
5884 * jit.c (jit_frame_sniffer): Use XCNEWVEC, not XCALLOC.
5885 * minsyms.c (prim_record_minimal_symbol_full): Use XCNEW, not
5887 * mt-tdep.c (mt_gdbarch_init): Likewise.
5888 * opencl-lang.c (allocate_lval_closure): Use XCNEWVEC, not
5890 * psymtab.c (psymbol_compare): Use XCNEW, not XCALLOC.
5891 * regcache.c (regcache_xmalloc_1): Use XCNEWVEC, not XCALLOC.
5892 * registry.c (registry_alloc_data): Likewise.
5893 * rs6000-tdep.c (rs6000_gdbarch_init): Use XCNEW, not XCALLOC.
5894 * s390-linux-tdep.c (s390_gdbarch_init): Likewise.
5895 * serial.c (serial_fdopen_ops): Likewise.
5896 * solib-aix.c (solib_aix_get_section_offsets): Use XCNEWVEC, not
5898 * spu-tdep.c (spu_gdbarch_init): Use XCNEW, not XCALLOC.
5899 * symfile.c (default_symfile_segments): Use XCNEW and XCNEWVEC,
5902 2014-01-13 Tom Tromey <tromey@redhat.com>
5904 * defs.h (XMALLOC): Remove.
5905 * avr-tdep.c (avr_gdbarch_init): Use XNEW, not XMALLOC.
5906 * bfin-tdep.c (bfin_gdbarch_init): Likewise.
5907 * cli-out.c (struct ui_out *): Likewise.
5908 * cli/cli-dump.c (add_dump_command): Likewise.
5909 (add_dump_command): Likewise.
5910 * complaints.c (get_complaints): Likewise.
5911 (find_complaint): Likewise.
5912 * dwarf2-frame.c (execute_cfa_program): Likewise.
5913 * dwarf2read.c (abbrev_table_read_table): Likewise.
5914 * gdbarch.sh: Likewise.
5915 * gdbarch.c: Rebuild.
5916 * inf-ttrace.c (inf_ttrace_add_page): Likewise.
5917 * interps.c (interp_new): Likewise.
5918 * lm32-tdep.c (lm32_gdbarch_init): Likewise.
5919 * m32r-tdep.c (m32r_gdbarch_init): Likewise.
5920 * mi/mi-console.c (mi_console_file_new): Likewise.
5921 * mi/mi-interp.c (mi_interpreter_init): Likewise.
5922 * mi/mi-out.c (mi_out_new): Likewise.
5923 * mi/mi-parse.c (mi_parse): Likewise.
5924 * microblaze-tdep.c (microblaze_gdbarch_init): Likewise.
5925 * moxie-tdep.c (moxie_gdbarch_init): Likewise.
5926 * observer.c (xalloc_observer_list_node): Likewise.
5927 * regcache.c (regcache_xmalloc_1): Likewise.
5928 * reggroups.c (reggroup_new): Likewise.
5929 (_initialize_reggroup): Likewise.
5930 * registry.c (register_data_with_cleanup): Likewise.
5931 * remote.c (remote_notif_stop_alloc_reply): Likewise.
5932 * ser-base.c (serial_ttystate): Likewise.
5933 * ser-mingw.c (make_pipe_state): Likewise.
5934 * ser-pipe.c (pipe_open): Likewise.
5935 * serial.c (serial_open): Likewise.
5936 * sh64-tdep.c (sh64_gdbarch_init): Likewise.
5937 * tui/tui-data.c (tui_alloc_generic_win_info): Likewise.
5938 (tui_alloc_win_info): Likewise.
5939 (tui_add_content_elements): Likewise.
5940 * tui/tui-file.c (tui_file_new): Likewise.
5941 * tui/tui-out.c (tui_out_new): Likewise.
5942 * ui-file.c (mem_file_new): Likewise.
5943 * ui-out.c (push_level): Likewise.
5944 (make_cleanup_ui_out_end): Likewise.
5945 (append_header_to_list): Likewise.
5946 (ui_out_new): Likewise.
5947 * user-regs.c (user_reg_add_builtin): Likewise.
5949 2014-01-13 Tom Tromey <tromey@redhat.com>
5951 * defs.h (XZALLOC): Remove.
5952 * ada-lang.c (get_ada_inferior_data): Use XCNEW, not XZALLOC.
5953 * ada-tasks.c (get_ada_tasks_pspace_data): Likewise.
5954 (get_ada_tasks_inferior_data): Likewise.
5955 * auto-load.c (get_auto_load_pspace_data): Likewise.
5956 * auxv.c (get_auxv_inferior_data): Likewise.
5957 * bfd-target.c (target_bfd_reopen): Likewise.
5958 * breakpoint.c (get_catch_syscall_inferior_data): Likewise.
5959 (deprecated_insert_raw_breakpoint): Likewise.
5960 * bsd-uthread.c (bsd_uthread_pid_to_str): Likewise.
5961 * corelow.c (core_open): Likewise.
5962 * darwin-nat.c (darwin_check_new_threads): Likewise.
5963 (darwin_attach_pid): Likewise.
5964 * dummy-frame.c (dummy_frame_push): Likewise.
5965 * dwarf2-frame.c (dwarf2_frame_cache): Likewise.
5966 * dwarf2loc.c (allocate_piece_closure): Likewise.
5967 * elfread.c (elf_symfile_segments): Likewise.
5968 * eval.c (ptrmath_type_p): Likewise.
5969 * exceptions.c (EXCEPTIONS_SIGJMP_BUF): Likewise.
5970 * gdbtypes.c (alloc_type_arch): Likewise.
5971 (alloc_type_instance): Likewise.
5972 * hppa-tdep.c (hppa_gdbarch_init): Likewise.
5973 * inf-child.c (inf_child_can_use_agent): Likewise.
5974 * inflow.c (get_inflow_inferior_data): Likewise.
5975 * infrun.c (save_infcall_suspend_state): Likewise.
5976 * jit.c (jit_reader_load): Likewise.
5977 (get_jit_objfile_data): Likewise.
5978 (get_jit_program_space_data): Likewise.
5979 (jit_object_open_impl): Likewise.
5980 (jit_symtab_open_impl): Likewise.
5981 (jit_block_open_impl): Likewise.
5982 (jit_frame_sniffer): Likewise.
5983 * linux-fork.c (add_fork): Likewise.
5984 * maint.c (make_command_stats_cleanup): Likewise.
5985 * objfiles.c (get_objfile_pspace_data): Likewise.
5986 * opencl-lang.c (struct lval_closure): Likewise.
5987 * osdata.c (osdata_start_osdata): Likewise.
5988 * progspace.c (new_address_space): Likewise.
5989 (add_program_space): Likewise.
5990 * remote-sim.c (get_sim_inferior_data): Likewise.
5991 * sh-tdep.c (sh_gdbarch_init): Likewise.
5992 * skip.c (Ignore): Likewise.
5993 (skip_delete_command): Likewise.
5994 * solib-aix.c (get_solib_aix_inferior_data): Likewise.
5995 (library_list_start_library): Likewise.
5996 (solib_aix_current_sos): Likewise.
5997 * solib-darwin.c (get_darwin_info): Likewise.
5998 (darwin_current_sos): Likewise.
5999 * solib-dsbt.c (get_dsbt_info): Likewise.
6000 * solib-ia64-hpux.c (new_so_list): Likewise.
6001 (ia64_hpux_get_solib_linkage_addr): Likewise.
6002 * solib-spu.c (append_ocl_sos): Likewise.
6003 (spu_current_sos): Likewise.
6004 * solib-svr4.c (get_svr4_info): Likewise.
6005 (svr4_keep_data_in_core): Likewise.
6006 (library_list_start_library): Likewise.
6007 (svr4_default_sos): Likewise.
6008 (svr4_read_so_list): Likewise.
6009 * solib-target.c (library_list_start_library): Likewise.
6010 (solib_target_current_sos): Likewise.
6011 * sparc-tdep.c (sparc32_gdbarch_init): Likewise.
6012 * symfile-debug.c (install_symfile_debug_logging): Likewise.
6013 * symfile.c (default_symfile_segments): Likewise.
6014 * target-descriptions.c (tdesc_data_init): Likewise.
6015 (tdesc_create_reg): Likewise.
6016 (struct tdesc_type *): Likewise.
6017 (tdesc_create_vector): Likewise.
6018 (tdesc_set_struct_size): Likewise.
6019 (struct tdesc_type *): Likewise.
6020 (tdesc_free_feature): Likewise.
6021 (tdesc_create_feature): Likewise.
6022 * windows-nat.c (windows_add_thread): Likewise.
6023 (windows_make_so): Likewise.
6024 * xml-support.c (gdb_xml_body_text): Likewise.
6025 (gdb_xml_create_parser_and_cleanup): Likewise.
6026 (xml_process_xincludes): Likewise.
6027 * xml-syscall.c (allocate_syscalls_info): Likewise.
6028 (syscall_create_syscall_desc): Likewise.
6030 2014-01-12 Sergio Durigan Junior <sergiodj@redhat.com>
6032 * i386-tdep.c (i386_stap_parse_special_token_triplet): New
6033 function, with code from i386_stap_parse_special_token.
6034 (i386_stap_parse_special_token_three_arg_disp): Likewise.
6035 (i386_stap_parse_special_token): Move code to the two functions
6038 2014-01-09 Pedro Alves <palves@redhat.com>
6039 Hui Zhu <hui@codesourcery.com>
6042 * breakpoint.c (insert_bp_location): Rename hw_bp_err_string to
6043 bp_err_string. Don't mark the location shlib_disabled if the
6044 error thrown wasn't a generic or memory error. Catch errors
6045 thrown while inserting breakpoints in overlayed code. Output
6046 error message of software breakpoints.
6047 * remote.c (remote_insert_breakpoint): If this breakpoint has
6048 target-side commands but this stub doesn't support Z0 packets,
6049 throw NOT_SUPPORTED_ERROR error.
6050 * exceptions.h (enum errors) <NOT_SUPPORTED_ERROR>: New error.
6051 * target.h (target_insert_breakpoint): Extend comment.
6052 (target_insert_hw_breakpoint): Add comment.
6054 2014-01-08 Pedro Alves <palves@redhat.com>
6056 * remote.c (remote_add_thread): Add threads silently if starting
6058 (remote_notice_new_inferior): If in all-stop, and starting up,
6059 don't call notice_new_inferior.
6060 (get_current_thread): New function, factored out from ...
6061 (add_current_inferior_and_thread): ... this. Adjust.
6062 (remote_start_remote) <all-stop>: Fetch the thread list. If we
6063 found any thread, then select the remote's current thread as GDB's
6066 2014-01-08 Joel Brobecker <brobecker@adacore.com>
6068 * NEWS: Create a new section for the next release branch.
6069 Rename the section of the current branch, now that it has
6072 2014-01-08 Joel Brobecker <brobecker@adacore.com>
6074 GDB 7.7 branch created (79301218fa0f074c5656db0ec8972a5ddcf91fb5):
6075 * version.in: Bump version to 7.7.50.DATE-cvs.
6077 2014-01-08 Yao Qi <yao@codesourcery.com>
6079 * spu-linux-nat.c (spu_symbol_file_add_from_memory): Change
6080 type of 'id' to gdb_byte. Cast 'id' to 'const char *'.
6081 (spu_xfer_partial): Cast 'buf' to 'const char *'.
6083 2014-01-08 Yao Qi <yao@codesourcery.com>
6085 * spu-linux-nat.c (spu_symbol_file_add_from_memory): Pass
6086 return value of bfd_get_filename to symbol_file_add_from_bfd.
6088 2014-01-08 Pierre Muller <muller@sourceware.org>
6091 * coff-pe-read.c (struct read_pe_section_data): Add index field.
6092 (add_pe_exported_sym): Use SECTION_DATA->INDEX for call
6093 to prim_record_mininal_symbol_and_info.
6094 (add_pe_forwarded_sym): Use known section number of forwarded symbol
6095 in call to prim_record_minimal_symbol_and_info.
6096 (read_pe_exported_syms): Set index field of section_data.
6098 2014-01-07 Andrew Pinski <apinski@cavium.com>
6100 * features/aarch64-core.xml (cpsr): Change to be 64bit.
6101 * features/aarch64.c: Regenerate.
6103 2014-01-07 Andreas Schwab <schwab@linux-m68k.org>
6105 * target.c (return_null): Define.
6106 (update_current_target): Use it instead of return_zero for
6107 functions that return a pointer.
6109 2014-01-07 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
6111 * source.c (add_path): Fix check for duplicated paths in the previously
6114 2014-01-07 Honggyu Kim <hong.gyu.kim@lge.com>
6116 * ada-lang.c: Remove duplicated include statements.
6117 * alphabsd-nat.c: Ditto.
6118 * amd64-darwin-tdep.c: Ditto.
6119 * amd64fbsd-nat.c: Ditto.
6120 * auto-load.c: Ditto.
6122 * breakpoint.c: Ditto.
6124 * fork-child.c: Ditto.
6125 * gdb_usleep.c: Ditto.
6126 * i386-darwin-tdep.c: Ditto.
6127 * i386fbsd-nat.c: Ditto.
6129 * inferior.c: Ditto.
6131 * linux-nat.c: Ditto.
6132 * linux-tdep.c: Ditto.
6133 * m68kbsd-nat.c: Ditto.
6134 * m68klinux-nat.c: Ditto.
6135 * microblaze-tdep.c: Ditto.
6136 * mips-linux-tdep.c: Ditto.
6137 * mn10300-tdep.c: Ditto.
6138 * nto-tdep.c: Ditto.
6139 * opencl-lang.c: Ditto.
6141 * printcmd.c: Ditto.
6142 * regcache.c: Ditto.
6143 * remote-m32r-sdi.c: Ditto.
6147 * tilegx-linux-nat.c: Ditto.
6148 * tilegx-tdep.c: Ditto.
6149 * tracepoint.c: Ditto.
6151 * vaxbsd-nat.c: Ditto.
6152 * windows-nat.c: Ditto.
6153 * xtensa-tdep.c: Ditto.
6155 2014-01-07 Yao Qi <yao@codesourcery.com>
6157 * spu-linux-nat.c (_initialize_spu_nat): Declare.
6159 2014-01-07 Yao Qi <yao@codesourcery.com>
6160 Joel Brobecker <brobecker@adacore.com>
6162 * aix-thread.c (pdc_read_regs): Cast parameter to uintptr_t.
6163 (pdc_write_regs): Likewise.
6164 (fetch_regs_kernel_thread): Likewise.
6165 (store_regs_kernel_thread): Likewise.
6167 2014-01-07 Joel Brobecker <brobecker@adacore.com>
6169 * ada-varobj.c (ada_varobj_adjust_for_child_access): Convert
6170 tagged type objects to their actual type.
6172 2014-01-07 Joel Brobecker <brobecker@adacore.com>
6174 * ada-valprint.c (print_field_values): Add "language" parameter.
6175 Update calls to print_field_values and print_variant_part.
6176 Pass new parameter "language" in call to val_print instead
6177 of "current_language". Replace call to ada_val_print by call
6179 (print_variant_part): Add "language" parameter.
6180 (ada_val_print_struct_union): Update call to print_field_values.
6182 2014-01-07 Joel Brobecker <brobecker@adacore.com>
6184 * ada-valprint.c (ui_memcpy): Delete.
6185 (ada_print_floating): Update documentation. Add empty line
6186 between between function documentation and implementation.
6187 Delete variable "buffer". Use ui_file_xstrdup in place of
6188 ui_file_put. Minor adjustments following this change.
6190 2014-01-07 Joel Brobecker <brobecker@adacore.com>
6192 * ada-valprint.c (ada_val_print_string): New function,
6193 extracted from ada_val_print_array.
6194 (ada_val_print_array): Replace extracted code by call
6195 to ada_val_print_string followed by a return. Move
6196 "else" branch to the function's top block.
6198 2014-01-07 Joel Brobecker <brobecker@adacore.com>
6200 * ada-valprint.c (ada_val_print_array): Move implementation
6201 down. Rename parameter "offset" and "val" into "offset_aligned"
6202 and "original_value" respectively. Add parameter "offset".
6204 2014-01-07 Joel Brobecker <brobecker@adacore.com>
6206 * ada-valprint.c (ada_val_print_ref): Rewrite by mostly
6207 re-organizing the code. Change the "???" message printed
6208 when target type is a TYPE_CODE_UNDEF into
6209 "<ref to undefined type>".
6211 2014-01-07 Joel Brobecker <brobecker@adacore.com>
6213 * ada-valprint.c (print_record): Delete, implementation inlined...
6214 (ada_val_print_struct_union): ... here. Remove call to
6215 ada_check_typedef in inlined implementation.
6217 2014-01-07 Joel Brobecker <brobecker@adacore.com>
6219 * ada-valprint.c (ada_val_print_gnat_array): New function,
6220 extracted from ada_val_print_1;
6221 (ada_val_print_ptr, ada_val_print_num, ada_val_print_enum)
6222 (ada_val_print_flt, ada_val_print_struct_union)
6223 (ada_val_print_ref): Likewise.
6224 (ada_val_print_1): Delete variables i and elttype.
6225 Replace extracted-out code by call to corresponding
6228 2014-01-07 Joel Brobecker <brobecker@adacore.com>
6230 * ada-valprint.c (ada_val_print_1): Remove call to gdb_flush.
6232 2014-01-07 Joel Brobecker <brobecker@adacore.com>
6234 * ada-valprint.c (ada_val_print_1): Replace calls to
6235 ada_val_print_1 by calls to val_print.
6237 2014-01-07 Joel Brobecker <brobecker@adacore.com>
6239 * ada-valprint.c (ada_val_print_1): Add parameter "language".
6240 Update calls to self accordingly. Replace calls to c_val_print
6241 by calls to val_print.
6243 2014-01-07 Joel Brobecker <brobecker@adacore.com>
6245 * ada-valprint.c (print_record): Delete declaration.
6246 (adjust_type_signedness, ada_val_print_1): Likewise.
6247 (ada_val_print): Move function implementation down.
6248 (print_variant_part, print_field_values, print_record):
6249 Move function implementation up.
6251 2014-01-07 Joel Brobecker <brobecker@adacore.com>
6253 * python/py-type.c (typy_get_name): New function.
6254 (type_object_getset): Add entry for attribute "name".
6255 * NEWS: Add entry mentioning this new attribute.
6257 2014-01-07 Yao Qi <yao@codesourcery.com>
6259 * gnu-nat.c (set_exceptions_cmd): Remove an empty body 'if'
6262 2014-01-07 Yao Qi <yao@codesourcery.com>
6264 * gnu-nat.c (info_port_rights): Add qualifier const to
6267 2014-01-07 Yao Qi <yao@codesourcery.com>
6269 * gnu-nat.c (trace_me): Use 'void' for empty argument list.
6271 2014-01-07 Yao Qi <yao@codesourcery.com>
6273 * gnu-nat.c (make_inf) Update declaration.
6274 (make_inf): Make it static.
6275 (inf_set_traced): Likewise.
6276 (inf_port_to_thread, inf_task_died_status): Likewise.
6278 2014-01-07 Yao Qi <yao@codesourcery.com>
6280 * gnu-nat.c (inf_tid_to_proc): Remove declaration.
6282 2014-01-07 Yao Qi <yao@codesourcery.com>
6284 * gnu-nat.c (_initialize_gnu_nat): Declare.
6286 2014-01-07 Yao Qi <yao@codesourcery.com>
6288 * gdbarch.sh (byte_order, byte_order_for_code): Change type to
6290 (struct gdbarch_info) <byte_order>: Change type to
6292 <byte_order_for_code>: Likewise.
6293 * gdbarch.c, gdbarch.h: Regenerated.
6295 2014-01-06 Sasha Smundak <asmundak@google.com>
6297 * jit.c: (jit_reader_load_command): Fix JIT reader path creation.
6299 2014-01-06 Tom Tromey <tromey@redhat.com>
6301 * doublest.c (convert_doublest_to_floatformat): Use const, not
6303 * somread.c (som_symtab_read): Likewise.
6305 2014-01-07 Hui Zhu <hui@codesourcery.com>
6307 * gdb_bfd.c (gdb_bfd_stash_filename): Removed.
6308 (gdb_bfd_open): Removed gdb_bfd_stash_filename.
6309 (gdb_bfd_fopen): Ditto.
6310 (gdb_bfd_openr): Ditto.
6311 (gdb_bfd_openw): Ditto.
6312 (gdb_bfd_openr_iovec): Ditto.
6313 (gdb_bfd_fdopenr): Ditto.
6314 * gdb_bfd.h (gdb_bfd_stash_filename): Removed.
6315 * solib-aix.c (solib_aix_bfd_open): Alloc object_bfd->filename
6317 * solib-darwin.c (darwin_bfd_open): Alloc res->filename
6319 * symfile-mem.c (symbol_file_add_from_memory): Removed
6320 gdb_bfd_stash_filename.
6322 2014-01-03 Doug Evans <dje@google.com>
6324 * nat/linux-waitpid.c (linux_debug): Remove extraneous \n from
6327 2014-01-01 Joel Brobecker <brobecker@adacore.com>
6329 Update year range in copyright notice of all files.
6331 2014-01-01 Joel Brobecker <brobecker@adacore.com>
6333 * top.c (print_gdb_version): Set copyright year to 2014.
6335 2014-01-01 Joel Brobecker <brobecker@adacore.com>
6337 * config/djgpp/fnchange.lst: Add entry for gdb/ChangeLog-2013.
6339 For older changes see ChangeLog-2013.
6345 version-control: never