1 2014-03-21 Daniel Gutson <daniel.gutson@tallertechnologies.com>
3 * extension.c (eval_ext_lang_from_control_command): Avoid dereferencing
6 2014-03-21 Pedro Alves <palves@redhat.com>
8 * infrun.c (normal_stop): Extend comment.
10 2014-03-21 Hui Zhu <hui@codesourcery.com>
11 Pedro Alves <palves@redhat.com>
13 * darwin-nat.c (darwin_pid_to_exec_file): Change xmalloc to
15 * fbsd-nat.c (fbsd_pid_to_exec_file): Ditto.
16 * linux-nat.c (linux_child_pid_to_exec_file): Ditto.
17 * nbsd-nat.c (nbsd_pid_to_exec_file): Ditto.
19 2014-03-20 Maciej W. Rozycki <macro@codesourcery.com>
21 * mi/mi-interp.c (mi_memory_changed): Avoid using the ISO C99
22 `z' formatted output modifier.
24 2014-03-20 Tom Tromey <tromey@redhat.com>
25 Sergio Durigan Junior <sergiodj@redhat.com>
27 * probe.c (parse_probes): Turn assert into an ordinary error.
28 * break-catch-throw.c (re_set_exception_catchpoint): Ignore
29 exceptions when parsing probes. Rearrange the code for clarity.
31 2014-03-20 Tom Tromey <tromey@redhat.com>
34 * top.c (execute_command): Only dispatch events if the command
37 2014-03-20 Tom Tromey <tromey@redhat.com>
40 * infcall.c: Include event-top.h.
41 (run_inferior_call): Call async_disable_stdin if needed.
43 2014-03-20 Pedro Alves <palves@redhat.com>
45 * infrun.c (prepare_to_proceed): Delete.
46 (thread_still_needs_step_over): New function.
47 (find_thread_needs_step_over): New function.
48 (proceed): If the current thread needs a step-over, set its
49 steping_over_breakpoint flag. Adjust to use
50 find_thread_needs_step_over instead of prepare_to_proceed.
51 (process_event_stop_test): For BPSTAT_WHAT_STOP_NOISY and
52 BPSTAT_WHAT_STOP_SILENT, assume the thread stopped for a
54 (switch_back_to_stepped_thread): Step over breakpoints of all
55 threads not the stepping thread, before switching back to the
58 2014-03-20 Pedro Alves <palves@redhat.com>
60 * breakpoint.c (single_step_breakpoint_inserted_here_p): Make
62 * breakpoint.h (single_step_breakpoint_inserted_here_p): Declare.
63 * infrun.c (saved_singlestep_ptid)
64 (stepping_past_singlestep_breakpoint): Delete.
65 (resume): Remove stepping_past_singlestep_breakpoint handling.
66 (proceed): Store the prev_pc of the stepping thread too.
67 (init_wait_for_inferior): Adjust. Clear singlestep_ptid and
69 (enum infwait_states): Delete infwait_thread_hop_state.
70 (struct execution_control_state) <hit_singlestep_breakpoint>: New
72 (handle_inferior_event): Adjust.
73 (handle_signal_stop): Delete stepping_past_singlestep_breakpoint
74 handling and the thread-hop code. Before removing single-step
75 breakpoints, check whether the thread hit a single-step breakpoint
76 of another thread. If it did, the trap is not a random signal.
77 (switch_back_to_stepped_thread): If the event thread hit a
78 single-step breakpoint, unblock it before switching to the
79 stepping thread. Handle the case of the stepped thread having
81 (keep_going): Handle the case of the current thread moving past a
82 single-step breakpoint.
84 2014-03-20 Pedro Alves <palves@redhat.com>
87 * breakpoint.c (should_be_inserted): Don't insert breakpoints that
88 are being stepped over.
89 (breakpoint_address_match): Make extern.
90 * breakpoint.h (breakpoint_address_match): New declaration.
91 * inferior.h (stepping_past_instruction_at): New declaration.
92 * infrun.c (struct step_over_info): New type.
93 (step_over_info): New global.
94 (set_step_over_info, clear_step_over_info)
95 (stepping_past_instruction_at): New functions.
96 (handle_inferior_event): Clear the step-over info when
97 trap_expected is cleared.
98 (resume): Remove now stale comment.
99 (clear_proceed_status): Clear step-over info.
100 (proceed): Adjust step-over handling to set or clear the step-over
101 info instead of removing all breakpoints.
102 (handle_signal_stop): When setting up a thread-hop, don't remove
104 (stop_stepping): Clear step-over info.
105 (keep_going): Adjust step-over handling to set or clear step-over
106 info and then always inserting breakpoints, instead of removing
107 all breakpoints when stepping over one.
109 2014-03-20 Pedro Alves <palves@redhat.com>
111 * infrun.c (previous_inferior_ptid): Adjust comment.
112 (deferred_step_ptid): Delete.
113 (infrun_thread_ptid_changed, prepare_to_proceed)
114 (init_wait_for_inferior): Adjust.
115 (handle_signal_stop): Delete deferred_step_ptid handling.
117 2014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
120 * defs.h (sync_quit_force_run): New declaration.
121 (QUIT): Check also SYNC_QUIT_FORCE_RUN.
122 * event-top.c (async_sigterm_handler): New declaration.
123 (async_sigterm_token): New variable.
124 (async_init_signals): Create also async_sigterm_token.
125 (async_sigterm_handler): New function.
126 (sync_quit_force_run): New variable.
127 (handle_sigterm): Replace quit_force call by other calls.
128 * utils.c (quit): Call quit_force if SYNC_QUIT_FORCE_RUN.
130 2014-03-18 Maciej W. Rozycki <macro@codesourcery.com>
132 * rs6000-tdep.c (rs6000_frame_cache): Correct little-endian GPR
133 offset into SPE pseudo registers.
135 2014-03-18 Pedro Alves <palves@redhat.com>
138 * inferior.h (print_stop_event): Declare.
139 * infrun.c (print_stop_event): New, factored out from ...
140 (normal_stop): ... this.
141 * mi/mi-interp.c (mi_on_normal_stop): Use print_stop_event instead
142 of bpstat_print/print_stack_frame.
144 2014-03-17 Tom Tromey <tromey@redhat.com>
146 * ui-out.c (clear_table, ui_out_new): Clear uiout->table.id.
148 2014-03-17 Pierre-Marie de Rodat <derodat@adacore.com>
150 * ada-lang.c (decode_constrained_packed_array): Perform a
151 minimal coercion for reference with coerce_ref instead of
154 2014-03-17 Tristan Gingold <gingold@adacore.com>
156 * solib-darwin.c (DYLD_VERSION_MAX): Increase value.
157 (darwin_solib_create_inferior_hook): Emit a warning if version
160 2014-03-16 Ulrich Weigand <uweigand@de.ibm.com>
162 * python/py-value.c (get_field_flag): Cast flag_name argument to
163 PyObject_GetAttrString to support Python 2.4.
165 2014-03-14 Jan Kratochvil <jan.kratochvil@redhat.com>
167 * MAINTAINERS (The Official FSF-appointed GDB Maintainers)
168 (Global Maintainers): Remove Jan Kratochvil.
170 2014-03-14 Pedro Alves <palves@redhat.com>
172 * inferior.h (terminal_ours_for_output): Rename to ...
173 (child_terminal_ours_for_output): ... this.
174 (terminal_save_ours): Rename to ...
175 (child_terminal_save_ours): ... this.
176 (terminal_ours): Rename to ...
177 (child_terminal_ours): ... this.
178 (terminal_inferior): Rename to ...
179 (child_terminal_inferior): ... this.
180 (terminal_init_inferior): Rename to ...
181 (child_terminal_init_inferior): ... this.
182 (terminal_init_inferior_with_pgrp): Rename to ...
183 (child_terminal_init_inferior_with_pgrp): ... this.
184 * inflow.c (terminal_init_inferior_with_pgrp): Rename to ...
185 (child_terminal_init_with_pgrp): ... this.
186 (terminal_save_ours): Rename to ...
187 (child_terminal_save_ours): ... this.
188 (terminal_init_inferior): Rename to ...
189 (child_terminal_init): ... this. Adjust.
190 (terminal_inferior): Rename to ...
191 (child_terminal_inferior): ... this.
192 (terminal_ours_for_output): Rename to ...
193 (child_terminal_ours_for_output): ... this. Adjust.
194 (terminal_ours): Rename to ...
195 (child_terminal_ours): ... this.
196 (terminal_ours_1): Rename to ...
197 (child_terminal_ours_1): ... this. Adjust.
198 * linux-nat.c (linux_nat_terminal_inferior): Adjust.
199 * windows-nat.c (do_initial_windows_stuff): Adjust.
200 * gnu-nat.c (gnu_terminal_init_inferior): Rename to ...
201 (gnu_terminal_init): ... this. Adjust.
202 (gnu_target): Adjust.
203 * inf-child.c (inf_child_target): Adjust.
205 2014-03-13 Doug Evans <xdje42@gmail.com>
208 * guile/scm-type.c (tyscm_copy_type_recursive): Move type to its
211 2014-03-13 Doug Evans <xdje42@gmail.com>
213 * value.c (record_latest_value): Call release_value_or_incref
214 instead of release_value.
216 2014-03-13 Pedro Alves <palves@redhat.com>
218 * procfs.c (procfs_target): Don't override to_shortname,
219 to_longname or to_doc.
221 2014-03-13 Pedro Alves <palves@redhat.com>
223 * inf-child.c (inf_child_open, inf_child_target): Don't mention
224 Unix in user visible strings.
226 2014-03-12 Stan Shebs <stan@codesourcery.com>
228 * gdbtypes.h: Annotate comments for Doxygen, add a page
229 block comment with some general info.
231 2014-03-12 Pedro Alves <palves@redhat.com>
233 * infcmd.c (prepare_execution_command): New function, factored out
234 from several execution commands.
235 (run_command_1, continue_command, step_1, jump_command)
236 (signal_command, until_command, advance_command, finish_command)
237 (attach_command): Use prepare_execution_command.
239 2014-03-12 Omair Javaid <omair.javaid@linaro.org>
241 * arm-linux-nat.c (arm_linux_get_hwbp_cap): Updated.
244 (struct arm_linux_thread_points): Removed.
245 (struct arm_linux_process_info): New.
246 (DEF_VEC_P (arm_linux_thread_points_p)): Removed.
247 (VEC(arm_linux_thread_points_p) *arm_threads): Removed.
248 (arm_linux_find_breakpoints_by_tid): Removed.
249 (struct arch_lwp_info): New.
250 (arm_linux_find_process_pid): New functions.
251 (arm_linux_add_process): New functions.
252 (arm_linux_process_info_get): New functions.
253 (arm_linux_forget_process): New function.
254 (arm_linux_get_debug_reg_state): New function.
255 (struct update_registers_data): New.
256 (update_registers_callback): New function.
257 (arm_linux_insert_hw_breakpoint1): Updated.
258 (arm_linux_remove_hw_breakpoint1): Updated.
259 (arm_linux_insert_hw_breakpoint): Updated.
260 (arm_linux_remove_hw_breakpoint): Updated.
261 (arm_linux_insert_watchpoint): Updated.
262 (arm_linux_remove_watchpoint): Updated.
263 (arm_linux_new_thread): Updated.
264 (arm_linux_prepare_to_resume): New function.
265 (arm_linux_new_fork): New function.
266 (_initialize_arm_linux_nat): Updated.
268 2014-03-12 Pedro Alves <palves@redhat.com>
270 * Makefile.in (TARGET_FLAGS_TO_PASS): Add TESTS.
272 2014-03-12 Tom Tromey <tromey@redhat.com>
274 * inf-child.c (return_zero): New function.
275 (inf_child_target): Set to_can_async_p, to_supports_non_stop.
276 * aix-thread.c (aix_thread_inferior_created): New function.
277 (aix_thread_attach): Remove.
278 (init_aix_thread_ops): Don't set to_attach.
279 (_initialize_aix_thread): Register inferior_created observer.
280 * corelow.c (init_core_ops): Don't set to_attach or
282 * exec.c (init_exec_ops): Don't set to_attach or
284 * infcmd.c (run_command_1): Use find_run_target. Make direct
286 (attach_command): Use find_attach_target. Make direct target
288 * record-btrace.c (init_record_btrace_ops): Don't set
290 * record-full.c (record_full_can_async_p, record_full_is_async_p):
292 (init_record_full_ops, init_record_full_core_ops): Update. Don't
293 set to_create_inferior.
294 * target.c (complete_target_initialization): Add assertion.
295 (target_create_inferior): Remove.
296 (find_default_attach, find_default_create_inferior): Remove.
297 (find_attach_target, find_run_target): New functions.
298 (find_default_is_async_p, find_default_can_async_p)
299 (target_supports_non_stop, target_attach): Remove.
300 (init_dummy_target): Don't set to_create_inferior or
301 to_supports_non_stop.
302 * target.h (struct target_ops) <to_attach>: Add comment. Remove
304 <to_create_inferior>: Add comment.
305 <to_can_async_p, to_is_async_p, to_supports_non_stop>: Use
306 TARGET_DEFAULT_RETURN.
307 <to_can_async_p, to_supports_non_stop, to_can_run>: Add comments.
308 (find_attach_target, find_run_target): Declare.
309 (target_create_inferior): Remove.
310 (target_has_execution_1): Update comment.
311 (target_supports_non_stop): Remove.
312 * target-delegates.c: Rebuild.
314 2014-03-12 Pedro Alves <palves@redhat.com>
316 * inf-child.h: Update comment to not mention Unix.
318 2014-03-12 Pedro Alves <palves@redhat.com>
320 * inf-child.c: Update top comment to not mention Unix. Add
321 generic comment describing how this target is meant to be used.
322 (inf_child_post_attach, inf_child_post_startup_inferior)
323 (inf_child_follow_fork, inf_child_pid_to_exec_file): Don't mention
326 2014-03-12 Pedro Alves <palves@redhat.com>
328 * nto-procfs.c: Include inf-child.h.
329 (procfs_ops): Delete global.
330 (procfs_can_run): Delete method.
331 (procfs_detach, procfs_mourn_inferior): Unpush the passed in
332 target pointer instead of referencing procfs_ops.
333 (procfs_prepare_to_store): Delete.
334 (init_procfs_ops): Delete function.
335 (procfs_target): New function, based on init_procfs_ops, but
336 inherit inf_child_target.
337 (_initialize_procfs): Use procfs_target.
339 2014-03-12 Pedro Alves <palves@redhat.com>
341 * windows-nat.c: Include inf-child.h.
342 (windows_ops): Delete global.
343 (windows_open, windows_prepare_to_store, windows_can_run): Delete
345 (init_windows_ops): Delete function.
346 (windows_target): New function, based on init_windows_ops, but
347 inherit inf_child_target.
348 (_initialize_windows_nat): Use windows_target. Install x86
349 specific target methods here.
351 2014-03-10 Doug Evans <xdje42@gmail.com>
353 * guile/guile.c (call_initialize_gdb_module): New function.
354 (initialize_guile): Replace call to scm_init_guile with call to
357 2014-03-10 Joel Brobecker <brobecker@adacore.com>
359 * ada-lang.c (ada_evaluate_subexp): Add missing space before '('
360 in call to TYPE_CODE macro.
362 2014-03-10 Jerome Guitton <guitton@adacore.com>
364 * ada-lang.c (ada_evaluate_subexp) <UNOP_IND, STRUCTOP_STRUCT>:
365 Resolve tagged types to full view.
367 2014-03-10 Hui Zhu <hui@codesourcery.com>
369 * target.h (target_insert_breakpoint): Remove "hardware" from its
372 2014-03-07 Doug Evans <dje@google.com>
374 * dwarf2read.c (read_str_index): Rename local dwo_name to objf_name.
376 2014-03-07 Doug Evans <dje@google.com>
378 * dwarf2read.c (read_cutu_die_from_dwo): Fix function comment.
379 Remove unused local comp_dir_attr. Assert exactly one of
380 stub_comp_unit_die, stub_comp_dir is non-NULL.
382 2014-03-07 Joel Brobecker <brobecker@adacore.com>
384 * target.h (complete_target_initialization, add_target):
387 2014-03-07 Pedro Alves <palves@redhat.com>
389 * go32-nat.c: Include inf-child.h.
390 (go32_ops): Delete global.
391 (go32_close, go32_detach, go32_prepare_to_store, go32_can_run):
393 (go32_create_inferior): Push the passed in target pointer instead
394 of referencing go32_ops.
395 (init_go32_ops): Delete function. Moved parts to _initialize_go32_nat.
396 (go32_target): New function, based on init_go32_ops, but inherit
398 (_initialize_go32_nat): Use go32_target. Move parts of
401 2014-03-06 Joel Brobecker <brobecker@adacore.com>
403 * sol-thread.c: #include "symtab.h", "minsym.h" and "objfiles.h".
404 (ps_pglobal_lookup): Use BMSYMBOL_VALUE_ADDRESS instead of
405 SYMBOL_VALUE_ADDRESS.
406 (info_cb): MSYMBOL_PRINT_NAME instead of SYMBOL_PRINT_NAME.
408 2014-03-06 Yao Qi <yao@codesourcery.com>
410 * breakpoint.c (get_tracepoint_by_number): Remove argument
411 optional_p. All callers updated. Adjust comments. Update
413 * breakpoint.h (get_tracepoint_by_number): Update declaration.
415 2014-03-06 Yao Qi <yao@codesourcery.com>
417 * reverse.c (goto_bookmark_command): Add local 'p'. Emit error
418 early if get_number returns zero. Use 'p' instead of 'args'.
420 2014-03-06 Yao Qi <yao@codesourcery.com>
422 * cli/cli-utils.c (get_number_trailer): Add '\n' at the end of
425 2014-03-06 Yao Qi <yao@codesourcery.com>
428 * tracepoint.c (check_trace_running): New function.
429 (trace_find_command): Move code to check_trace_running and
430 call check_trace_running.
431 (trace_find_pc_command): Likewise.
432 (trace_find_tracepoint_command): Likewise.
433 (trace_find_line_command): Likewise.
434 (trace_find_range_command): Likewise.
435 * tracepoint.h (check_trace_running): Likewise.
436 * mi/mi-main.c (mi_cmd_trace_find): Call check_trace_running.
438 2014-03-06 Yao Qi <yao@codesourcery.com>
440 * target.h (struct target_ops) <to_traceframe_info>: Use
441 TARGET_DEFAULT_NORETURN (tcomplain ()).
442 * target-delegates.c: Regenerated.
444 2014-03-05 Pedro Alves <palves@redhat.com>
447 * dcache.c (dcache_poke_byte): Constify ptr parameter. Return
448 void. Update comment.
449 (dcache_xfer_memory): Delete.
450 (dcache_read_memory_partial): New, based on the read bits of
452 (dcache_update): Add status parameter. Use ULONGEST for len, and
453 adjust. Discard cache lines if the reason for the update was
455 * dcache.h (dcache_xfer_memory): Delete declaration.
456 (dcache_read_memory_partial): New declaration.
457 (dcache_update): Update prototype.
458 * target.c (raw_memory_xfer_partial): Update the dcache here.
459 (memory_xfer_partial_1): Don't handle dcache writes here.
461 2014-03-05 Mike Frysinger <vapier@gentoo.org>
463 * remote-sim.c (gdbsim_load): Add const to prog.
465 2014-03-03 Tom Tromey <tromey@redhat.com>
467 * elfread.c (probe_key): Change to bfd_data.
468 (elf_get_probes, probe_key_free, _initialize_elfread): Probes are
469 now per-BFD, not per-objfile.
470 * stap-probe.c (stap_probe_destroy): Update comment.
471 (handle_stap_probe): Allocate on the per-BFD obstack.
473 2014-03-03 Tom Tromey <tromey@redhat.com>
475 * break-catch-throw.c (fetch_probe_arguments): Use bound probes.
476 * breakpoint.c (create_longjmp_master_breakpoint): Use
478 (add_location_to_breakpoint, bkpt_probe_insert_location)
479 (bkpt_probe_remove_location): Update.
480 * breakpoint.h (struct bp_location) <probe>: Now a bound_probe.
481 * elfread.c (elf_symfile_relocate_probe): Remove.
482 (elf_probe_fns): Update.
483 (insert_exception_resume_breakpoint): Change type of "probe"
484 parameter to bound_probe.
485 (check_exception_resume): Update.
486 * objfiles.c (objfile_relocate1): Don't relocate probes.
487 * probe.c (bound_probe_s): New typedef.
488 (parse_probes): Use get_probe_address. Set sal's objfile.
489 (find_probe_by_pc): Return a bound_probe.
490 (collect_probes): Return a VEC(bound_probe_s).
491 (compare_probes): Update.
492 (gen_ui_out_table_header_info): Change type of "probes"
494 (info_probes_for_ops): Update.
495 (get_probe_address): New function.
496 (probe_safe_evaluate_at_pc): Update.
497 * probe.h (struct probe_ops) <get_probe_address>: New field.
498 <set_semaphore, clear_semaphore>: Add objfile parameter.
499 (struct probe) <objfile>: Remove field.
501 <address>: Update comment.
502 (struct bound_probe): New.
503 (find_probe_by_pc): Return a bound_probe.
504 (get_probe_address): Declare.
505 * solib-svr4.c (struct probe_and_action) <address>: New field.
506 (hash_probe_and_action, equal_probe_and_action): Update.
507 (register_solib_event_probe): Add address parameter.
508 (solib_event_probe_at): Update.
509 (svr4_create_probe_breakpoints): Add objfile parameter. Use
511 * stap-probe.c (struct stap_probe) <sem_addr>: Update comment.
512 (stap_get_probe_address): New function.
513 (stap_can_evaluate_probe_arguments, compute_probe_arg)
514 (compile_probe_arg): Update.
515 (stap_set_semaphore, stap_clear_semaphore): Compute semaphore's
517 (handle_stap_probe): Don't relocate the probe.
518 (stap_relocate): Remove.
519 (stap_gen_info_probes_table_values): Update.
520 (stap_probe_ops): Remove stap_relocate.
521 * symfile-debug.c (debug_sym_relocate_probe): Remove.
522 (debug_sym_probe_fns): Update.
523 * symfile.h (struct sym_probe_fns) <sym_relocate_probe>: Remove.
524 * symtab.c (init_sal): Use memset.
525 * symtab.h (struct symtab_and_line) <objfile>: New field.
526 * tracepoint.c (start_tracing, stop_tracing): Update.
528 2014-03-03 Tom Tromey <tromey@redhat.com>
530 * probe.h (parse_probes, find_probe_by_pc)
531 (find_probes_in_objfile): Fix comments.
533 2014-03-02 Doug Evans <xdje42@gmail.com>
535 * infrun.c (handle_signal_stop): Replace test for
536 TARGET_WAITKIND_STOPPED with an assert.
538 2014-03-02 Doug Evans <xdje42@gmail.com>
540 * guile/scm-objfile.c (ofscm_mark_objfile_smob): Fix typo in comment.
542 2014-03-02 Doug Evans <xdje42@gmail.com>
544 * guile/lib/gdb/printing.scm (append-pretty-printer!): Fix thinko.
546 2014-03-01 Mark Kettenis <kettenis@gnu.org>
548 * obsd-nat.c: Include "gdb_wait.h" instead of <sys/wait.h>.
550 2014-03-01 Mark Kettenis <kettenis@gnu.org>
552 * i386obsd-nat.c: Include "obsd-nat.h".
553 (_initialize_i386obsd_nat): Call obsd_add_target instead of
555 * config/i386/obsd.mh (NATDEPFILES): Add obsd-nat.o.
557 2014-03-01 Mark Kettenis <kettenis@gnu.org>
559 * i386obsd-nat.c (i386obsd_supply_pcb): Cast 'sf' to 'gdb_byte *'.
561 2014-03-01 Mark Kettenis <kettenis@gnu.org>
563 * mips64obsd-nat.c: Include "obsd-nath".
564 (_initialize_mips64obsd_nat): Call obsd_add_target instead of
566 * config/mips/obsd64.mh (NATDEPFILES): Add obsd-nat.o.
568 2014-03-01 Mark Kettenis <kettenis@gnu.org>
570 * amd64obsd-nat.c: Include "obsd-nat,h.
571 (_initialize_amd64obsd_nat): Call obsd_add_target instead of
573 * config/i386/obsd64.mh (NATDEPFILES): Add obsd-nat.o.
575 2014-02-28 Siva Chandra Reddy <sivachandra@google.com>
577 * valops.c (find_oload_champ): Remove unneccesary argument METHOD.
578 (find_overload_match): Update call to find_oload_champ.
579 (find_oload_champ_namespace_loop): Likewise
581 2014-02-28 Mark Kettenis <kettenis@gnu.org>
583 * Makefile.in (ALLDEPFILES): Add sparc64obsd-nat.c.
585 * configure.host (sparc64-*-openbsd*): Set gdb_host to obsd64.
586 * config/sparc/obsd64.mh: New file.
587 * sparc64obsd-nat.c: New file.
589 * obsd-nat.h: New file.
590 * obsd-nat.c: New file.
591 * Makefile.in (HFILES_NO_SRCDIR): Add obsd-nat.h.
592 (ALLDEPFILES): Add obsd-nat.c.
594 2014-02-28 Tom Tromey <tromey@redhat.com>
596 * cli-out.c (cli_ui_out_impl): Now const. Remove comment.
597 * cli-out.h (cli_ui_out_impl): Now const.
598 * mi/mi-out.c (mi_ui_out_impl): Now const. Remove comment.
599 * ui-out.c (struct ui_out) <impl>: Now const.
600 (default_ui_out_impl): Now const.
601 (ui_out_new): Make 'impl' parameter const.
602 * ui-out.h (ui_out_new): Update.
604 2014-02-27 Mark Kettenis <kettenis@gnu.org>
606 * solib-svr4.c (svr4_read_so_list): Initialize first_l_name to 0.
608 2014-02-27 Mark Kettenis <kettenis@gnu.org>
610 * sparc-nat.c (sparc_xfer_wcookie): Always use process ID.
612 2014-02-27 Jan Kratochvil <jan.kratochvil@redhat.com>
614 Additional PR 8882 fix.
615 * solib-svr4.c (svr4_read_so_list): Change first to first_l_name.
617 2014-02-27 Pedro Alves <palves@redhat.com>
619 * nat/linux-waitpid.c (my_waitpid): Only block signals if WNOHANG
622 2014-02-27 Pedro Alves <palves@redhat.com>
625 * linux-nat.c (status_to_str): Moved to nat/linux-waitpid.c.
626 * nat/linux-waitpid.c: Include string.h.
627 (status_to_str): Moved here and made extern.
628 * nat/linux-waitpid.h (status_to_str): New declaration.
630 2014-02-27 Hui Zhu <hui@codesourcery.com>
633 * infrun.c (ptid_match): Move ...
634 * common/ptid.c (ptid_match): ... here.
635 * inferior.h (ptid_match): Move ...
636 * common/ptid.h (ptid_match): ... here.
638 2014-02-27 Mark Kettenis <kettenis@gnu.org>
640 * mips64obsd-tdep.c (mips64obsd_init_abi): Call obsd_init_abi.
641 * configure.tgt (mips64*-*-openbsd*): Add obsd-tdep.c to
644 2014-02-27 Mark Kettenis <kettenis@gnu.org>
646 * obsd-tdep.c (obsd_auxv_parse): New function.
647 (obsd_init_abi): Set auxv_parse.
649 * gdbarch.sh (auxv_parse): New.
650 * gdbarch.h: Regenerated.
651 * gdbarch.c: Regenerated.
652 * auxv.c (target_auxv_parse): Call gdbarch_parse_auxv if provided.
654 2014-02-26 Ludovic Courtès <ludo@gnu.org>
656 * guile/scm-value.c (gdbscm_history_append_x): New function.
657 (value_functions): Add it.
659 2014-02-27 Joel Brobecker <brobecker@adacore.com>
661 * dwarf2read.c (attr_value_as_address): New function.
662 (dwarf2_find_base_address, read_call_site_scope): Use
663 attr_value_as_address in place of DW_ADDR.
664 (dwarf2_get_pc_bounds): Use attr_value_as_address to get
665 the low and high addresses. Slight rework of the handling
666 of the high pc being a constant form, and limit it to
667 DWARF verson 4 or higher.
668 (dwarf2_record_block_ranges): Likewise.
669 (read_partial_die): Likewise.
670 (new_symbol_full): Use attr_value_as_address in place of DW_ADDR.
672 2014-02-26 Tom Tromey <tromey@redhat.com>
674 * exec.c (exec_file_attach): Hold a reference to exec_bfd.
676 2014-02-26 Tom Tromey <tromey@redhat.com>
678 * elfread.c (elf_read_minimal_symbols): Return early if
679 minimal symbols have already been read. Add "ei" parameter.
680 (elf_symfile_read): Call elf_read_minimal_symbols earlier.
681 * minsyms.c (prim_record_minimal_symbol_full): Update.
682 * objfiles.h (struct objstats) <n_minsyms>: Move...
683 (struct objfile_per_bfd_storage) <n_minsyms>: ... here.
684 * symmisc.c (print_objfile_statistics): Update.
686 2014-02-26 Tom Tromey <tromey@redhat.com>
688 * elfread.c (elf_read_minimal_symbols): New function, from
690 (elf_symfile_read): Call it.
692 2014-02-26 Tom Tromey <tromey@redhat.com>
694 * minsyms.c (lookup_minimal_symbol, iterate_over_minimal_symbols)
695 (lookup_minimal_symbol_text, lookup_minimal_symbol_by_pc_name)
696 (lookup_minimal_symbol_solib_trampoline)
697 (lookup_minimal_symbol_by_pc_section_1)
698 (lookup_minimal_symbol_and_objfile): Update.
699 (prim_record_minimal_symbol_full): Use the per-BFD obstack.
700 Don't allocate a minimal symbol if minsyms have already been read.
701 (build_minimal_symbol_hash_tables): Update.
702 (install_minimal_symbols): Do nothing if minsyms already read.
703 Use the per-BFD obstack.
704 (terminate_minimal_symbol_table): Use the per-BFD obstack.
705 * objfiles.c (allocate_objfile): Call
706 terminate_minimal_symbol_table later.
707 (have_minimal_symbols): Update.
708 * objfiles.h (struct objfile_per_bfd_storage) <msymbols,
709 minimal_symbol_count, msymbol_hash, msymbol_demangled_hash>:
710 Move from struct objfile.
711 <minsyms_read>: New field.
712 (struct objfile) <msymbols, minimal_symbol_count,
713 msymbol_hash, msymbol_demangled_hash>: Move.
714 (ALL_OBJFILE_MSYMBOLS): Update.
715 * symfile.c (read_symbols): Set minsyms_read.
716 (reread_symbols): Update.
717 * symmisc.c (dump_objfile, dump_msymbols): Update.
719 2014-02-26 Tom Tromey <tromey@redhat.com>
721 * minsyms.c (msymbols_sort): Remove.
722 * minsyms.h (msymbols_sort): Remove.
723 * objfiles.c (objfile_relocate1): Don't relocate minsyms.
724 * symtab.h (MSYMBOL_VALUE_ADDRESS): Use objfile offsets.
725 * elfread.c (elf_symtab_read): Don't add section offsets.
726 * xcoffread.c (record_minimal_symbol): Don't add section offset
727 to minimal symbol address.
728 * somread.c (text_offset, data_offset): Remove.
729 (som_symtab_read): Don't add section offsets to minimal symbol
731 * coff-pe-read.c (add_pe_forwarded_sym, read_pe_exported_syms):
732 Don't add section offsets to minimal symbols.
733 * coffread.c (coff_symtab_read): Don't add section offsets
734 to minimal symbol addresses.
735 * machoread.c (macho_symtab_add_minsym): Don't add section offset
736 to minimal symbol addresses.
737 * mipsread.c (read_alphacoff_dynamic_symtab): Don't add
738 section offset to minimal symbol addresses.
739 * mdebugread.c (parse_partial_symbols): Don't add section
740 offset to minimal symbol addresses.
741 * dbxread.c (read_dbx_dynamic_symtab): Don't add section
742 offset to minimal symbol addresses.
744 2014-02-26 Tom Tromey <tromey@redhat.com>
746 * ada-lang.c (ada_main_name): Update.
747 (ada_add_standard_exceptions): Update.
748 * ada-tasks.c (ada_tasks_inferior_data_sniffer): Update.
749 * aix-thread.c (pdc_symbol_addrs, pd_enable): Update.
750 * arm-tdep.c (skip_prologue_function, arm_skip_stub): Update.
751 * auxv.c (ld_so_xfer_auxv): Update.
752 * avr-tdep.c (avr_scan_prologue): Update.
753 * ax-gdb.c (gen_var_ref): Update.
754 * blockframe.c (get_pc_function_start)
755 (find_pc_partial_function_gnu_ifunc): Update.
756 * breakpoint.c (create_overlay_event_breakpoint)
757 (create_longjmp_master_breakpoint)
758 (create_std_terminate_master_breakpoint)
759 (create_exception_master_breakpoint): Update.
760 * bsd-uthread.c (bsd_uthread_lookup_address): Update.
761 * c-valprint.c (c_val_print): Update.
762 * coff-pe-read.c (add_pe_forwarded_sym): Update.
763 * common/agent.c (agent_look_up_symbols): Update.
764 * dbxread.c (find_stab_function_addr, end_psymtab): Update.
765 * dwarf2loc.c (call_site_to_target_addr): Update.
766 * dwarf2read.c (dw2_find_pc_sect_symtab): Update.
767 * elfread.c (elf_gnu_ifunc_record_cache)
768 (elf_gnu_ifunc_resolve_by_got): Update.
769 * findvar.c (default_read_var_value): Update.
770 * frame.c (inside_main_func): Update.
771 * frv-tdep.c (frv_frame_this_id): Update.
772 * glibc-tdep.c (glibc_skip_solib_resolver): Update.
773 * gnu-v3-abi.c (gnuv3_get_typeid, gnuv3_skip_trampoline):
775 * hppa-hpux-tdep.c (hppa64_hpux_search_dummy_call_sequence)
776 (hppa_hpux_find_dummy_bpaddr): Update.
777 * hppa-tdep.c (hppa_symbol_address): Update.
778 * infcmd.c (until_next_command): Update.
779 * jit.c (jit_read_descriptor, jit_breakpoint_re_set_internal):
781 * linespec.c (minsym_found, add_minsym): Update.
782 * linux-nat.c (get_signo): Update.
783 * linux-thread-db.c (inferior_has_bug): Update.
784 * m32c-tdep.c (m32c_return_value)
785 (m32c_m16c_address_to_pointer): Update.
786 * m32r-tdep.c (m32r_frame_this_id): Update.
787 * m68hc11-tdep.c (m68hc11_get_register_info): Update.
788 * machoread.c (macho_resolve_oso_sym_with_minsym): Update.
789 * maint.c (maintenance_translate_address): Update.
790 * minsyms.c (lookup_minimal_symbol_by_pc_name): Update.
791 (frob_address): New function.
792 (lookup_minimal_symbol_by_pc_section_1): Use raw addresses,
793 frob_address. Rename parameter to "pc_in".
794 (compare_minimal_symbols, compact_minimal_symbols): Use raw
796 (find_solib_trampoline_target, minimal_symbol_upper_bound):
798 * mips-linux-tdep.c (mips_linux_skip_resolver): Update.
799 * mips-tdep.c (mips_skip_pic_trampoline_code): Update.
800 * objc-lang.c (find_objc_msgsend): Update.
801 * objfiles.c (objfile_relocate1): Update.
802 * obsd-tdep.c (obsd_skip_solib_resolver): Update.
803 * p-valprint.c (pascal_val_print): Update.
804 * parse.c (write_exp_msymbol): Update.
805 * ppc-linux-tdep.c (ppc_linux_spe_context_lookup)
806 (ppc_elfv2_skip_entrypoint): Update.
807 * ppc-sysv-tdep.c (convert_code_addr_to_desc_addr): Update.
808 * printcmd.c (build_address_symbolic, msym_info)
809 (address_info): Update.
810 * proc-service.c (ps_pglobal_lookup): Update.
811 * psymtab.c (find_pc_sect_psymtab_closer)
812 (find_pc_sect_psymtab, find_pc_sect_symtab_from_partial):
813 Change msymbol parameter to bound_minimal_symbol.
814 * ravenscar-thread.c (get_running_thread_id): Update.
815 * remote.c (remote_check_symbols): Update.
816 * sh64-tdep.c (sh64_elf_make_msymbol_special): Use raw
818 * sol2-tdep.c (sol2_skip_solib_resolver): Update.
819 * solib-dsbt.c (lm_base): Update.
820 * solib-frv.c (lm_base, main_got): Update.
821 * solib-irix.c (locate_base): Update.
822 * solib-som.c (som_solib_create_inferior_hook)
823 (link_map_start): Update.
824 * solib-spu.c (spu_enable_break, ocl_enable_break): Update.
825 * solib-svr4.c (elf_locate_base, enable_break): Update.
826 * spu-tdep.c (spu_get_overlay_table, spu_catch_start)
827 (flush_ea_cache): Update.
828 * stabsread.c (define_symbol, scan_file_globals): Update.
829 * stack.c (find_frame_funname): Update.
830 * symfile-debug.c (debug_qf_expand_symtabs_matching)
831 (debug_qf_find_pc_sect_symtab): Update.
832 * symfile.c (simple_read_overlay_table)
833 (simple_overlay_update): Update.
834 * symfile.h (struct quick_symbol_functions)
835 <find_pc_sect_symtab>: Change type of msymbol to
836 bound_minimal_symbol.
837 * symmisc.c (dump_msymbols): Update.
838 * symtab.c (find_pc_sect_symtab_via_partial)
839 (find_pc_sect_psymtab, find_pc_sect_line, skip_prologue_sal)
840 (search_symbols, print_msymbol_info): Update.
841 * symtab.h (MSYMBOL_VALUE_RAW_ADDRESS): New macro.
842 (MSYMBOL_VALUE_ADDRESS): Redefine.
843 (BMSYMBOL_VALUE_ADDRESS): New macro.
844 * tracepoint.c (scope_info): Update.
845 * tui/tui-disasm.c (tui_find_disassembly_address)
846 (tui_get_begin_asm_address): Update.
847 * valops.c (find_function_in_inferior): Update.
848 * value.c (value_static_field, value_fn_field): Update.
850 2014-02-26 Tom Tromey <tromey@redhat.com>
852 * ada-lang.c (ada_update_initial_language): Update.
853 (ada_main_name, ada_has_this_exception_support): Update.
854 * ada-tasks.c (ada_tasks_inferior_data_sniffer): Update.
855 * aix-thread.c (pdc_symbol_addrs, pd_enable): Update.
856 * arm-tdep.c (arm_skip_stub): Update.
857 * auxv.c (ld_so_xfer_auxv): Update.
858 * avr-tdep.c (avr_scan_prologue): Update.
859 * ax-gdb.c (gen_var_ref): Update.
860 * breakpoint.c (struct breakpoint_objfile_data)
861 <overlay_msym, longjmp_msym, terminate_msym, exception_msym>: Change
862 type to bound_minimal_symbol.
863 (create_overlay_event_breakpoint)
864 (create_longjmp_master_breakpoint)
865 (create_std_terminate_master_breakpoint)
866 (create_exception_master_breakpoint): Update.
867 * bsd-uthread.c (bsd_uthread_lookup_address): Update.
868 * c-exp.y (classify_name): Update.
869 * coffread.c (coff_symfile_read): Update.
870 * common/agent.c (agent_look_up_symbols): Update.
871 * d-lang.c (d_main_name): Update.
872 * dbxread.c (find_stab_function_addr, end_psymtab): Update.
873 * dec-thread.c (enable_dec_thread): Update.
874 * dwarf2loc.c (call_site_to_target_addr): Update.
875 * elfread.c (elf_gnu_ifunc_resolve_by_got): Update.
876 * eval.c (evaluate_subexp_standard): Update.
877 * findvar.c (struct minsym_lookup_data) <result>: Change type
878 to bound_minimal_symbol.
880 (minsym_lookup_iterator_cb, default_read_var_value): Update.
881 * frame.c (inside_main_func): Update.
882 * frv-tdep.c (frv_frame_this_id): Update.
883 * gcore.c (call_target_sbrk): Update.
884 * glibc-tdep.c (glibc_skip_solib_resolver): Update.
885 * gnu-v3-abi.c (gnuv3_get_typeid, gnuv3_skip_trampoline):
887 * go-lang.c (go_main_name): Update.
888 * hppa-hpux-tdep.c (hppa_hpux_skip_trampoline_code)
889 (hppa_hpux_find_import_stub_for_addr): Update.
890 * hppa-tdep.c (hppa_extract_17, hppa_lookup_stub_minimal_symbol):
891 Update. Change return type.
892 * hppa-tdep.h (hppa_lookup_stub_minimal_symbol): Change return
894 * jit.c (jit_breakpoint_re_set_internal): Update.
895 * linux-fork.c (inferior_call_waitpid, checkpoint_command):
897 * linux-nat.c (get_signo): Update.
898 * linux-thread-db.c (inferior_has_bug): Update
899 * m32c-tdep.c (m32c_return_value)
900 (m32c_m16c_address_to_pointer): Update.
901 * m32r-tdep.c (m32r_frame_this_id): Update.
902 * m68hc11-tdep.c (m68hc11_get_register_info): Update.
903 * machoread.c (macho_resolve_oso_sym_with_minsym): Update.
904 * minsyms.c (lookup_minimal_symbol_internal): Rename to
905 lookup_minimal_symbol. Change return type.
906 (lookup_minimal_symbol): Remove.
907 (lookup_bound_minimal_symbol): Update.
908 (lookup_minimal_symbol_text): Change return type.
909 (lookup_minimal_symbol_solib_trampoline): Change return type.
910 * minsyms.h (lookup_minimal_symbol, lookup_minimal_symbol_text)
911 (lookup_minimal_symbol_solib_trampoline): Change return type.
912 * mips-linux-tdep.c (mips_linux_skip_resolver): Update.
913 * objc-lang.c (lookup_objc_class, lookup_child_selector)
914 (value_nsstring, find_imps): Update.
915 * obsd-tdep.c (obsd_skip_solib_resolver): Update.
916 * p-lang.c (pascal_main_name): Update.
917 * ppc-linux-tdep.c (ppc_linux_spe_context_lookup): Update.
918 * ppc-sysv-tdep.c (convert_code_addr_to_desc_addr): Update.
919 * proc-service.c (ps_pglobal_lookup): Update.
920 * ravenscar-thread.c (get_running_thread_msymbol): Change
922 (has_ravenscar_runtime, get_running_thread_id): Update.
923 * remote.c (remote_check_symbols): Update.
924 * sol-thread.c (ps_pglobal_lookup): Update.
925 * sol2-tdep.c (sol2_skip_solib_resolver): Update.
926 * solib-dsbt.c (lm_base): Update.
927 * solib-frv.c (lm_base, frv_relocate_section_addresses):
929 * solib-irix.c (locate_base): Update.
930 * solib-som.c (som_solib_create_inferior_hook)
931 (som_solib_desire_dynamic_linker_symbols, link_map_start):
933 * solib-spu.c (spu_enable_break): Update.
934 * solib-svr4.c (elf_locate_base, enable_break): Update.
935 * spu-tdep.c (spu_get_overlay_table, spu_catch_start)
936 (flush_ea_cache): Update.
937 * stabsread.c (define_symbol): Update.
938 * symfile.c (simple_read_overlay_table): Update.
939 * symtab.c (find_pc_sect_line): Update.
940 * tracepoint.c (scope_info): Update.
941 * tui-disasm.c (tui_get_begin_asm_address): Update.
942 * value.c (value_static_field): Update.
944 2014-02-26 Tom Tromey <tromey@redhat.com>
946 * minsyms.c (prim_record_minimal_symbol_full): Use
947 SET_MSYMBOL_VALUE_ADDRESS.
948 * objfiles.c (objfile_relocate1): Use SET_MSYMBOL_VALUE_ADDRESS.
949 * sh64-tdep.c (sh64_elf_make_msymbol_special): Use
950 SET_MSYMBOL_VALUE_ADDRESS.
951 * symtab.h (MSYMBOL_VALUE_ADDRESS): Expand to an rvalue.
952 (SET_MSYMBOL_VALUE_ADDRESS): New macro.
954 2014-02-26 Tom Tromey <tromey@redhat.com>
956 * symtab.h (struct minimal_symbol) <mginfo>: Rename from ginfo.
957 (MSYMBOL_VALUE, MSYMBOL_VALUE_ADDRESS, MSYMBOL_VALUE_BYTES)
958 (MSYMBOL_BLOCK_VALUE, MSYMBOL_VALUE_CHAIN, MSYMBOL_LANGUAGE)
959 (MSYMBOL_SECTION, MSYMBOL_OBJ_SECTION, MSYMBOL_NATURAL_NAME)
960 (MSYMBOL_LINKAGE_NAME, MSYMBOL_PRINT_NAME, MSYMBOL_DEMANGLED_NAME)
961 (MSYMBOL_SET_LANGUAGE, MSYMBOL_SEARCH_NAME)
962 (MSYMBOL_MATCHES_SEARCH_NAME, MSYMBOL_SET_NAMES): New macros.
963 * ada-lang.c (ada_main_name): Update.
964 (ada_lookup_simple_minsym): Update.
965 (ada_make_symbol_completion_list): Update.
966 (ada_add_standard_exceptions): Update.
967 * ada-tasks.c (read_atcb, ada_tasks_inferior_data_sniffer): Update.
968 * aix-thread.c (pdc_symbol_addrs, pd_enable): Update.
969 * amd64-windows-tdep.c (amd64_skip_main_prologue): Update.
970 * arm-tdep.c (skip_prologue_function): Update.
971 (arm_skip_stack_protector, arm_skip_stub): Update.
972 * arm-wince-tdep.c (arm_pe_skip_trampoline_code): Update.
973 (arm_wince_skip_main_prologue): Update.
974 * auxv.c (ld_so_xfer_auxv): Update.
975 * avr-tdep.c (avr_scan_prologue): Update.
976 * ax-gdb.c (gen_var_ref): Update.
977 * block.c (call_site_for_pc): Update.
978 * blockframe.c (get_pc_function_start): Update.
979 (find_pc_partial_function_gnu_ifunc): Update.
980 * breakpoint.c (create_overlay_event_breakpoint): Update.
981 (create_longjmp_master_breakpoint): Update.
982 (create_std_terminate_master_breakpoint): Update.
983 (create_exception_master_breakpoint): Update.
984 (resolve_sal_pc): Update.
985 * bsd-uthread.c (bsd_uthread_lookup_address): Update.
986 * btrace.c (ftrace_print_function_name, ftrace_function_switched):
988 * c-valprint.c (c_val_print): Update.
989 * coff-pe-read.c (add_pe_forwarded_sym): Update.
990 * coffread.c (coff_symfile_read): Update.
991 * common/agent.c (agent_look_up_symbols): Update.
992 * dbxread.c (find_stab_function_addr): Update.
993 (end_psymtab): Update.
994 * dwarf2loc.c (call_site_to_target_addr): Update.
995 (func_verify_no_selftailcall): Update.
996 (tailcall_dump): Update.
997 (call_site_find_chain_1): Update.
998 (dwarf_expr_reg_to_entry_parameter): Update.
999 * elfread.c (elf_gnu_ifunc_record_cache): Update.
1000 (elf_gnu_ifunc_resolve_by_got): Update.
1001 * f-valprint.c (info_common_command): Update.
1002 * findvar.c (read_var_value): Update.
1003 * frame.c (get_prev_frame_1): Update.
1004 (inside_main_func): Update.
1005 * frv-tdep.c (frv_skip_main_prologue): Update.
1006 (frv_frame_this_id): Update.
1007 * glibc-tdep.c (glibc_skip_solib_resolver): Update.
1008 * gnu-v2-abi.c (gnuv2_value_rtti_type): Update.
1009 * gnu-v3-abi.c (gnuv3_rtti_type): Update.
1010 (gnuv3_skip_trampoline): Update.
1011 * hppa-hpux-tdep.c (hppa32_hpux_in_solib_call_trampoline): Update.
1012 (hppa64_hpux_in_solib_call_trampoline): Update.
1013 (hppa_hpux_skip_trampoline_code): Update.
1014 (hppa64_hpux_search_dummy_call_sequence): Update.
1015 (hppa_hpux_find_import_stub_for_addr): Update.
1016 (hppa_hpux_find_dummy_bpaddr): Update.
1017 * hppa-tdep.c (hppa_symbol_address)
1018 (hppa_lookup_stub_minimal_symbol): Update.
1019 * i386-tdep.c (i386_skip_main_prologue): Update.
1020 (i386_pe_skip_trampoline_code): Update.
1021 * ia64-tdep.c (ia64_convert_from_func_ptr_addr): Update.
1022 * infcall.c (get_function_name): Update.
1023 * infcmd.c (until_next_command): Update.
1024 * jit.c (jit_breakpoint_re_set_internal): Update.
1025 (jit_inferior_init): Update.
1026 * linespec.c (minsym_found): Update.
1027 (add_minsym): Update.
1028 * linux-fork.c (info_checkpoints_command): Update.
1029 * linux-nat.c (get_signo): Update.
1030 * linux-thread-db.c (inferior_has_bug): Update.
1031 * m32c-tdep.c (m32c_return_value): Update.
1032 (m32c_m16c_address_to_pointer): Update.
1033 (m32c_m16c_pointer_to_address): Update.
1034 * m32r-tdep.c (m32r_frame_this_id): Update.
1035 * m68hc11-tdep.c (m68hc11_get_register_info): Update.
1036 * machoread.c (macho_resolve_oso_sym_with_minsym): Update.
1037 * maint.c (maintenance_translate_address): Update.
1038 * minsyms.c (add_minsym_to_hash_table): Update.
1039 (add_minsym_to_demangled_hash_table): Update.
1040 (msymbol_objfile): Update.
1041 (lookup_minimal_symbol): Update.
1042 (iterate_over_minimal_symbols): Update.
1043 (lookup_minimal_symbol_text): Update.
1044 (lookup_minimal_symbol_by_pc_name): Update.
1045 (lookup_minimal_symbol_solib_trampoline): Update.
1046 (lookup_minimal_symbol_by_pc_section_1): Update.
1047 (lookup_minimal_symbol_and_objfile): Update.
1048 (prim_record_minimal_symbol_full): Update.
1049 (compare_minimal_symbols): Update.
1050 (compact_minimal_symbols): Update.
1051 (build_minimal_symbol_hash_tables): Update.
1052 (install_minimal_symbols): Update.
1053 (terminate_minimal_symbol_table): Update.
1054 (find_solib_trampoline_target): Update.
1055 (minimal_symbol_upper_bound): Update.
1056 * mips-linux-tdep.c (mips_linux_skip_resolver): Update.
1057 * mips-tdep.c (mips_stub_frame_sniffer): Update.
1058 (mips_skip_pic_trampoline_code): Update.
1059 * msp430-tdep.c (msp430_skip_trampoline_code): Update.
1060 * objc-lang.c (selectors_info): Update.
1061 (classes_info): Update.
1062 (find_methods): Update.
1063 (find_imps): Update.
1064 (find_objc_msgsend): Update.
1065 * objfiles.c (objfile_relocate1): Update.
1066 * objfiles.h (ALL_OBJFILE_MSYMBOLS): Update.
1067 * obsd-tdep.c (obsd_skip_solib_resolver): Update.
1068 * p-valprint.c (pascal_val_print): Update.
1069 * parse.c (write_exp_msymbol): Update.
1070 * ppc-linux-tdep.c (powerpc_linux_in_dynsym_resolve_code)
1071 (ppc_linux_spe_context_lookup, ppc_elfv2_skip_entrypoint): Update.
1072 * ppc-sysv-tdep.c (convert_code_addr_to_desc_addr): Update.
1073 * printcmd.c (build_address_symbolic): Update.
1075 (address_info): Update.
1076 * proc-service.c (ps_pglobal_lookup): Update.
1077 * psymtab.c (find_pc_sect_psymtab_closer): Update.
1078 (find_pc_sect_psymtab): Update.
1079 * python/py-framefilter.c (py_print_frame): Update.
1080 * ravenscar-thread.c (get_running_thread_id): Update.
1081 * record-btrace.c (btrace_call_history, btrace_get_bfun_name):
1083 * remote.c (remote_check_symbols): Update.
1084 * rs6000-tdep.c (rs6000_skip_main_prologue): Update.
1085 (rs6000_skip_trampoline_code): Update.
1086 * sh64-tdep.c (sh64_elf_make_msymbol_special): Update.
1087 * sol2-tdep.c (sol2_skip_solib_resolver): Update.
1088 * solib-dsbt.c (lm_base): Update.
1089 * solib-frv.c (lm_base): Update.
1091 * solib-irix.c (locate_base): Update.
1092 * solib-som.c (som_solib_create_inferior_hook): Update.
1093 (som_solib_desire_dynamic_linker_symbols): Update.
1094 (link_map_start): Update.
1095 * solib-spu.c (spu_enable_break): Update.
1096 (ocl_enable_break): Update.
1097 * solib-svr4.c (elf_locate_base): Update.
1098 (enable_break): Update.
1099 * spu-tdep.c (spu_get_overlay_table): Update.
1100 (spu_catch_start): Update.
1101 (flush_ea_cache): Update.
1102 * stabsread.c (define_symbol): Update.
1103 (scan_file_globals): Update.
1104 * stack.c (find_frame_funname): Update.
1105 (frame_info): Update.
1106 * symfile.c (simple_read_overlay_table): Update.
1107 (simple_overlay_update): Update.
1108 * symmisc.c (dump_msymbols): Update.
1109 * symtab.c (fixup_section): Update.
1110 (find_pc_sect_line): Update.
1111 (skip_prologue_sal): Update.
1112 (search_symbols): Update.
1113 (print_msymbol_info): Update.
1114 (rbreak_command): Update.
1115 (MCOMPLETION_LIST_ADD_SYMBOL): New macro.
1116 (completion_list_objc_symbol): Update.
1117 (default_make_symbol_completion_list_break_on): Update.
1118 * tracepoint.c (scope_info): Update.
1119 * tui/tui-disasm.c (tui_find_disassembly_address): Update.
1120 (tui_get_begin_asm_address): Update.
1121 * valops.c (find_function_in_inferior): Update.
1122 * value.c (value_static_field): Update.
1123 (value_fn_field): Update.
1125 2014-02-26 Tom Tromey <tromey@redhat.com>
1127 * blockframe.c (find_pc_partial_function_gnu_ifunc): Use
1128 bound minimal symbols. Move code that knows about minsym
1130 * minsyms.c (minimal_symbol_upper_bound): ... here. New
1132 * minsyms.h (minimal_symbol_upper_bound): Declare.
1133 * objc-lang.c (find_objc_msgsend): Use bound minimal symbols,
1134 minimal_symbol_upper_bound.
1136 2014-02-27 Joel Brobecker <brobecker@adacore.com>
1138 * python/lib/gdb/printing.py (RegexpCollectionPrettyPrinter):
1139 Use the type's name if its basic type does not have a tag.
1141 2014-02-27 Joel Brobecker <brobecker@adacore.com>
1143 * dwarf2read.c (read_subrange_type): Add comment.
1145 2014-02-27 Joel Brobecker <brobecker@adacore.com>
1147 * dwarf2read.c (update_enumeration_type_from_children): New
1148 function, mostly extracted from process_structure_scope.
1149 (read_enumeration_type): Call update_enumeration_type_from_children.
1150 (process_enumeration_scope): Do not set THIS_TYPE's flag_unsigned
1151 and flag_flag_enum fields.
1153 2014-02-26 Pedro Alves <palves@redhat.com>
1155 * bsd-uthread.c (bsd_uthread_xfer_partial): Delete function.
1156 (bsd_uthread_target): Don't install bsd_uthread_xfer_partial as
1157 to_xfer_partial method.
1159 2014-02-26 Pedro Alves <palves@redhat.com>
1161 * target.c (complete_target_initialization): Don't install
1162 default_xfer_partial as to_xfer_partial hook.
1164 (update_current_target): Don't INHERIT nor de_fault
1165 deprecated_xfer_memory. Delete de_fault macro.
1166 (default_xfer_partial, deprecated_debug_xfer_memory): Delete.
1167 (setup_target_debug): Don't install a deprecated_xfer_memory hook.
1168 * target.h (struct target_ops) <deprecated_xfer_memory>: Delete
1171 2014-02-26 Pedro Alves <palves@redhat.com>
1173 * go32-nat.c (my_write_child): New function.
1174 (go32_xfer_memory): Rewrite as to_xfer_partial helper.
1175 (go32_xfer_partial): New function.
1176 (init_go32_ops): Don't install a deprecated_xfer_memory hook.
1177 Instead install a to_xfer_partial hook.
1179 2014-02-26 Pedro Alves <palves@redhat.com>
1181 * nto-procfs.c (procfs_xfer_memory): Adjust interface as a
1182 to_xfer_partial helper. Rewrite.
1183 (procfs_xfer_partial): New function.
1184 (init_procfs_ops): Don't install a deprecated_xfer_memory hook.
1185 Install a to_xfer_partial hook.
1187 2014-02-26 Pedro Alves <palves@redhat.com>
1189 * remote-m32r-sdi.c (send_data): Constify 'buf' parameter.
1190 (m32r_xfer_memory): Adjust as a to_xfer_partial helper.
1191 (m32r_xfer_partial): New function.
1192 (init_m32r_ops): Don't install a deprecated_xfer_memory hook.
1193 Install a to_xfer_partial hook.
1195 2014-02-26 Pedro Alves <palves@redhat.com>
1197 * remote-mips.c (mips_xfer_memory): Adjust as to_xfer_partial
1199 (mips_xfer_partial): New function.
1200 (_initialize_remote_mips): Don't install a deprecated_xfer_memory
1201 hook. Install a to_xfer_partial hook.
1203 2014-02-26 Joel Brobecker <brobecker@adacore.com>
1205 * gdbtypes.h (create_array_type_with_stride): Add declaration.
1206 * gdbtypes.c (create_array_type_with_stride): New function,
1207 renaming create_array_type, but with an added parameter
1208 called "bit_stride".
1209 (create_array_type): Re-implement using
1210 create_array_type_with_stride.
1211 * dwarf2read.c (read_array_type): Add support for DW_AT_byte_stride
1212 and DW_AT_bit_stride attributes.
1214 2014-02-26 Pedro Alves <palves@redhat.com>
1216 * breakpoint.c (bpstat_check_breakpoint_conditions): Handle
1217 task-specific breakpoints.
1219 2014-02-25 Pedro Alves <palves@redhat.com>
1221 * ia64-linux-nat.c (ia64_linux_xfer_partial): Reimplement
1222 handling of object == TARGET_OBJECT_UNWIND_TABLE.
1224 2014-02-25 Stan Shebs <stan@codesourcery.com>
1226 * defs.h: Annotate comments for Doxygen.
1228 2014-02-25 Tom Tromey <tromey@redhat.com>
1230 * target.h (target_ignore): Don't declare.
1231 * target.c (target_ignore): Remove.
1233 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
1236 * auto-load.c (auto_load_objfile_script_1): Change filename to
1239 2014-02-25 Joel Brobecker <brobecker@adacore.com>
1241 * ia64-linux-nat.c (ia64_linux_xfer_partial): Add function
1242 documentation. Adjust prototype to match the target_ops
1243 to_xfer_partial method. Adjust implementation accordingly.
1245 2014-02-25 Hui Zhu <hui@codesourcery.com>
1247 * target.h (target_ops): Fix TARGET_DEFAULT_RETURN of
1250 2014-02-25 Kevin Buettner <kevinb@redhat.com>
1252 * rl78-tdep.c (RL78_BANK0_RP0_PTR_REGNUM, RL78_BANK0_RP1_PTR_REGNUM)
1253 (RL78_BANK0_RP2_PTR_REGNUM, RL78_BANK0_RP3_PTR_REGNUM)
1254 (RL78_BANK1_RP0_PTR_REGNUM, RL78_BANK1_RP1_PTR_REGNUM)
1255 (RL78_BANK1_RP2_PTR_REGNUM, RL78_BANK1_RP3_PTR_REGNUM)
1256 (RL78_BANK2_RP0_PTR_REGNUM, RL78_BANK2_RP1_PTR_REGNUM)
1257 (RL78_BANK2_RP2_PTR_REGNUM, RL78_BANK2_RP3_PTR_REGNUM)
1258 (RL78_BANK3_RP0_PTR_REGNUM, RL78_BANK3_RP1_PTR_REGNUM)
1259 (RL78_BANK3_RP2_PTR_REGNUM, RL78_BANK3_RP3_PTR_REGNUM):
1261 (rl78_register_type): Use a data pointer type for SP and
1262 new pseudo registers mentioned above. Use a 16 bit integer
1263 type for all other register pairs.
1264 (rl78_register_name, rl78_g10_register_name): Update for
1265 new pseudo registers.
1266 (rl78_pseudo_register_read): Likewise.
1267 (rl78_pseudo_register_write): Likewise.
1268 (rl78_dwarf_reg_to_regnum): Return register numbers representing
1269 to the newly added pseudo registers.
1271 2014-02-24 Doug Evans <dje@google.com>
1273 * value.c (record_latest_value): Fix comment.
1274 * printcmd.c (print_command_1): Remove code to handle -1 return from
1275 record_latest_value.
1277 2014-02-24 Pedro Alves <palves@redhat.com>
1279 * procfs.c (procfs_target): Don't install procfs_xfer_memory as
1280 deprecated_xfer_memory hook.
1281 (procfs_xfer_partial): Call procfs_xfer_memory instead
1282 of the deprecated_xfer_memory target hook.
1283 (procfs_xfer_memory): Adjust interface as a to_xfer_partial
1286 2014-02-24 Yuanhui Zhang <asmwarrior@gmail.com>
1288 * windows-nat.c (windows_xfer_shared_libraries): Return
1289 TARGET_XFER_EOF if LEN is zero to fix an assert failure when
1290 requested object is TARGET_OBJECT_LIBRARIES.
1292 2014-02-24 Yao Qi <yao@codesourcery.com>
1294 * target.h (enum target_xfer_status)
1295 <TARGET_XFER_E_UNAVAILABLE>: Rename it to ...
1296 <TARGET_XFER_UNAVAILABLE>: ... it with setting value 2
1298 * corefile.c (memory_error_message): User updated.
1299 * exec.c (section_table_read_available_memory): Likewise.
1300 * record-btrace.c (record_btrace_xfer_partial): Likewise.
1301 * target.c (target_xfer_status_to_string): Likewise.
1302 (raw_memory_xfer_partial): Likewise.
1303 (memory_xfer_partial_1, target_xfer_partial): Likewise.
1304 * valops.c (read_value_memory): Likewise.
1305 * exec.h: Update comments.
1307 2014-02-24 Yao Qi <yao@codesourcery.com>
1309 * target.c (target_xfer_status_to_string): Rename argument err
1311 * target.h (target_xfer_status_to_string): Update declaration.
1312 Replace target_xfer_error_to_string with
1313 target_xfer_status_to_string in comment.
1315 2014-02-24 Yao Qi <yao@codesourcery.com>
1317 * mips-linux-nat.c (super_close): Update its type.
1318 (mips_linux_close): Pass 'self' to super_close.
1320 2014-02-24 Yao Qi <yao@codesourcery.com>
1322 * target.h (TARGET_XFER_STATUS_ERROR_P): Remove.
1323 * corefile.c (read_memory): Adjusted.
1324 * target.c (target_write_with_progress): Adjusted.
1326 2014-02-23 Yao Qi <yao@codesourcery.com>
1330 2013-10-25 Yao Qi <yao@codesourcery.com>
1332 * remote.c (remote_traceframe_info): Return early if
1333 traceframe is not selected.
1335 2013-07-19 Yao Qi <yao@codesourcery.com>
1337 * target.c (update_current_target): Change the default action
1338 of 'to_traceframe_info' from tcomplain to return_zero.
1339 * target.h (struct target_ops) <to_traceframe_info>: Add more
1342 2014-02-23 Yao Qi <yao@codesourcery.com>
1344 * valops.c (read_value_memory): Rewrite it. Call
1345 target_xfer_partial in a loop.
1346 * exec.h (section_table_available_memory): Remove declaration.
1347 Move comments to ...
1348 * exec.c (section_table_available_memory): ... here. Make it
1351 2014-02-23 Yao Qi <yao@codesourcery.com>
1353 * exec.c (section_table_read_available_memory): New function.
1354 * exec.h (section_table_read_available_memory): Declare.
1355 * ctf.c (ctf_xfer_partial): Call
1356 section_table_read_available_memory.
1357 * tracefile-tfile.c (tfile_xfer_partial): Likewise.
1359 2014-02-23 Yao Qi <yao@codesourcery.com>
1361 * ctf.c (ctf_xfer_partial): Move code to ...
1362 * exec.c (exec_read_partial_read_only): ... it. New function.
1363 * tracefile-tfile.c (tfile_xfer_partial): Likewise.
1364 * tracefile.c: Include "exec.h".
1365 * exec.h (exec_read_partial_read_only): Declare.
1367 2014-02-23 Yao Qi <yao@codesourcery.com>
1369 * tracefile-tfile.c (tfile_has_all_memory): Remove.
1370 (tfile_has_memory): Remove.
1371 (init_tfile_ops): Don't set fields to_has_all_memory and
1372 to_has_memory of tfile_ops.
1373 * tracefile.c (tracefile_has_all_memory): New function.
1374 (tracefile_has_memory): New function.
1375 (init_tracefile_ops): Initialize fields to_has_all_memory and
1376 to_has_memory of 'ops'.
1378 2014-02-23 Yao Qi <yao@codesourcery.com>
1380 * ctf.c (ctf_has_stack, ctf_has_registers): Remove.
1381 (ctf_thread_alive, ctf_get_trace_status): Remove.
1382 (init_ctf_ops): Don't set some fields of ctf_ops. Call
1384 * tracefile-tfile.c (tfile_get_trace_status): Remove.
1385 (tfile_has_stack, tfile_has_registers): Remove.
1386 (tfile_thread_alive): Remove.
1387 (init_tfile_ops): Don't set some fields of tfile_ops. Call
1389 * tracefile.c (tracefile_has_stack): New function.
1390 (tracefile_has_registers): New function.
1391 (tracefile_thread_alive): New function.
1392 (tracefile_get_trace_status): New function.
1393 (init_tracefile_ops): New function.
1394 * tracefile.h (init_tracefile_ops): Declare.
1396 2014-02-23 Yao Qi <yao@codesourcery.com>
1398 * tracepoint.c (TFILE_PID): Move it to tracefile-tfile.c.
1399 (O_LARGEFILE): Likewise.
1400 (tfile_ops): Likewise.
1401 (TRACE_HEADER_SIZE): Likewise.
1402 (trace_fd, trace_frames_offset, cur_offset): Likewise.
1403 (cur_data_size): Likewise.
1404 (tfile_read, tfile_open, tfile_interp_line): Likewise.
1405 (tfile_close, tfile_files_info): Likewise.
1406 (tfile_get_trace_status): Likewise.
1407 (tfile_get_tracepoint_status): Likewise.
1408 (tfile_get_traceframe_address): Likewise.
1409 (tfile_trace_find, match_blocktype): Likewise.
1410 (traceframe_walk_blocks, traceframe_find_block_type): Likewise.
1411 (tfile_fetch_registers, tfile_xfer_partial): Likewise.
1412 (tfile_get_trace_state_variable_value): Likewise.
1413 (tfile_has_all_memory, tfile_has_memory): Likewise.
1414 (tfile_has_stack, tfile_has_registers): Likewise.
1415 (tfile_thread_alive, build_traceframe_info): Likewise.
1416 (tfile_traceframe_info, init_tfile_ops): Likewise.
1417 (_initialize_tracepoint): Don't call init_tfile_ops
1418 and add_target_with_completer.
1419 * tracefile-tfile.c: Include regcache.h, inferior.h, gdbthread.h,
1420 exec.h, completer.h and filenames.h.
1421 (_initialize_tracefile_tfile): New function.
1423 2014-02-23 Yao Qi <yao@codesourcery.com>
1425 * Makefile.in (REMOTE_OBS): Append tracefile.o and
1427 (HFILES_NO_SRCDIR): Add tracefile.h.
1428 * ctf.c: Include "tracefile.h".
1429 * tracefile.h: New file.
1430 * tracefile.c: New file
1431 * tracefile-tfile.c: New file.
1432 * tracepoint.c: Include "tracefile.h".
1433 (free_uploaded_tps, free_uploaded_tsvs): Remove declarations.
1434 (stop_reason_names): Add const.
1435 (trace_file_writer_xfree): Move it to tracefile.c.
1436 (trace_save, trace_save_command, trace_save_tfile): Likewise.
1437 (trace_save_ctf): Likewise.
1438 (struct tfile_trace_file_writer): Move it to tracefile-tfile.c.
1439 (tfile_target_save, tfile_dtor, tfile_start): Likewise.
1440 (tfile_write_header, tfile_write_regblock_type): Likewise.
1441 (tfile_write_status, tfile_write_uploaded_tsv): Likewise.
1442 (tfile_write_uploaded_tp, tfile_write_definition_end): Likewise.
1443 (tfile_write_raw_data, tfile_end): Likewise.
1444 (tfile_trace_file_writer_new): Likewise.
1445 (free_uploaded_tp): Make it extern.
1446 (free_uploaded_tsv): Make it extern.
1447 (_initialize_tracepoint): Move code to register command 'tsave'
1449 * tracepoint.h (stop_reason_names): Declare.
1450 (struct trace_frame_write_ops): Move it to tracefile.h.
1451 (struct trace_file_write_ops): Likewise.
1452 (struct trace_file_writer): Likewise.
1453 (free_uploaded_tsvs, free_uploaded_tps): Declare.
1455 2014-02-21 Jan Kratochvil <jan.kratochvil@redhat.com>
1458 * common/linux-osdata.c (linux_common_core_of_thread): Find the end of
1460 (get_cores_used_by_process): New parameter num_cores, use it.
1461 (linux_xfer_osdata_processes): Pass num_cores to it.
1462 * linux-tdep.c (linux_info_proc, linux_fill_prpsinfo): Find the end of
1465 2014-02-21 Andreas Arnez <arnez@vnet.linux.ibm.com>
1467 * target.c (memory_xfer_partial): Fix length arg in call to
1468 breakpoint_xfer_memory.
1470 2014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
1473 * i386-tdep.c (i386_stap_parse_special_token_triplet): Check if a
1474 number comes after the + or - signs. Adjust length of register
1475 name to be extracted.
1477 2014-02-20 Tom Tromey <tromey@redhat.com>
1479 * varobj.h (c_varobj_ops, cplus_varobj_ops, java_varobj_ops)
1480 (ada_varobj_ops): Mark "extern".
1482 2014-02-20 Tom Tromey <tromey@redhat.com>
1484 * dbxread.c (read_dbx_symtab): Remove last_o_file_start.
1486 2014-02-20 Doug Evans <xdje42@gmail.com>
1488 * guile/scm-gsmob.c (gdbscm_init_eqable_gsmob): New arg containing_scm.
1489 All callers updated.
1490 (gdbscm_fill_eqable_gsmob_ptr_slot): Delete arg containing_scm.
1491 All callers updated.
1492 * guile/guile-internal.h (gdbscm_init_eqable_gsmob): Update.
1493 (gdbscm_fill_eqable_gsmob_ptr_slot): Update.
1495 2014-02-20 lin zuojian <manjian2006@gmail.com>
1496 Joel Brobecker <brobecker@adacore.com>
1497 Doug Evans <xdje42@gmail.com>
1500 * dwarf2read.c (struct die_info): New member in_process.
1501 (reset_die_in_process): New function.
1502 (process_die): Set it at the start, reset when returning.
1503 (inherit_abstract_dies): Only call process_die if origin_child_die
1504 not already being processed.
1506 2014-02-20 Joel Brobecker <brobecker@adacore.com>
1508 * windows-nat.c (handle_unload_dll): Add function documentation.
1509 (do_initial_windows_stuff): Add comment explaining why we wait
1510 until after inferior initialization has finished before
1511 processing all DLLs.
1513 2014-02-20 Joel Brobecker <brobecker@adacore.com>
1515 * windows-nat.c (get_module_name): Delete.
1516 (windows_get_exec_module_filename): New function, mostly
1517 inspired from get_module_name.
1518 (windows_pid_to_exec_file): Replace call to get_module_name
1519 by call to windows_get_exec_module_filename.
1521 2014-02-20 Joel Brobecker <brobecker@adacore.com>
1523 * windows-nat.c (handle_load_dll): Rewrite this function's
1524 introductory comment. Remove code using get_module_name
1525 to get the DLL's name.
1527 2014-02-20 Joel Brobecker <brobecker@adacore.com>
1529 * windows-nat.c (get_windows_debug_event): Ignore
1530 LOAD_DLL_DEBUG_EVENT and UNLOAD_DLL_DEBUG_EVENT
1531 if windows_initialization_done == 0.
1532 (windows_add_all_dlls): Renames windows_ensure_ntdll_loaded.
1533 Adjust implementation to always load all DLLs.
1534 (do_initial_windows_stuff): Replace call to
1535 windows_ensure_ntdll_loaded by call to windows_add_all_dlls.
1537 2014-02-20 Joel Brobecker <brobecker@adacore.com>
1539 * windows-nat.c (_initialize_windows_nat): Deprecate the
1540 "dll-symbols" command. Turn the "add-shared-symbol-files"
1541 and "assf" aliases into commands, and deprecate them as well.
1542 * NEWS: Add entry explaining that "dll-symbols" and its two
1543 aliases are now deprecated.
1545 2014-02-20 Joel Brobecker <brobecker@adacore.com>
1547 * dec-thread.c (dec_thread_get_ada_task_ptid): Avoid unescaped
1548 new-line in debug string. Remove trailing spaces.
1550 2014-02-19 Stan Shebs <stan@codesourcery.com>
1552 * darwin-nat.c (darwin_xfer_partial): Fix return type.
1554 2014-02-19 Siva Chandra Reddy <sivachandra@google.com>
1556 * NEWS: Add entry for the new feature
1557 * python/py-value.c (valpy_binop): Call value_x_binop for struct
1560 2014-02-19 Stan Shebs <stan@codesourcery.com>
1562 * MAINTAINERS: List Yao Qi as nios2 maintainer.
1564 2014-02-19 Pedro Alves <palves@redhat.com>
1566 * common/ptid.h (struct ptid): Mention that process_stratum
1567 targets should prefer ptid.lwp.
1569 2014-02-19 Pedro Alves <palves@redhat.com>
1571 * remote.c (remote_thread_alive, write_ptid, read_ptid)
1572 (read_ptid, remote_newthread_step, remote_threads_extra_info)
1573 (remote_get_ada_task_ptid, append_resumption, remote_stop_ns)
1574 (threadalive_test, remote_pid_to_str): Use the ptid.lwp field to
1575 store remote thread ids rather than ptid.tid.
1576 (_initialize_remote): Adjust.
1578 2014-02-19 Tom Tromey <tromey@redhat.com>
1580 * target.c (target_get_unwinder): Rewrite.
1581 (target_get_tailcall_unwinder): Rewrite.
1582 * record-btrace.c (record_btrace_to_get_unwinder): New function.
1583 (record_btrace_to_get_tailcall_unwinder): New function.
1584 (init_record_btrace_ops): Update.
1585 * target.h (struct target_ops) <to_get_unwinder,
1586 to_get_tailcall_unwinder>: Now function pointers. Use
1587 TARGET_DEFAULT_RETURN.
1589 2014-02-19 Tom Tromey <tromey@redhat.com>
1591 * nto-procfs.c (procfs_remove_hw_breakpoint): Add 'self'
1593 (init_procfs_ops): Correctly set to_remove_hw_breakpoint.
1595 2014-02-19 Tom Tromey <tromey@redhat.com>
1597 * record-btrace.c (record_btrace_decr_pc_after_break): Delegate
1599 * target-delegates.c: Rebuild.
1600 * target.h (struct target_ops) <to_decr_pc_after_break>: Use
1601 TARGET_DEFAULT_FUNC.
1602 * target.c (default_target_decr_pc_after_break): Rename from
1603 forward_target_decr_pc_after_break. Simplify.
1604 (target_decr_pc_after_break): Rely on delegation.
1606 2014-02-19 Tom Tromey <tromey@redhat.com>
1608 * target.c (update_current_target): Do not INHERIT to_doc or
1609 to_magic. Do not de_fault to_open or to_close.
1611 2014-02-19 Tom Tromey <tromey@redhat.com>
1613 * gcore.h (objfile_find_memory_regions): Declare.
1614 * gcore.c (objfile_find_memory_regions): No longer static. Add
1616 (_initialize_gcore): Don't call exec_set_find_memory_regions.
1617 * exec.c: Include gcore.h.
1618 (exec_set_find_memory_regions): Remove.
1619 (exec_find_memory_regions): Remove.
1620 (exec_do_find_memory_regions): Remove.
1621 (init_exec_ops): Update.
1622 * defs.h (exec_set_find_memory_regions): Remove.
1624 2014-02-19 Tom Tromey <tromey@redhat.com>
1626 * target-delegates.c: Rebuild.
1627 * target.h (struct target_ops) <to_extra_thread_info,
1628 to_thread_name, to_pid_to_exec_file, to_get_section_table,
1629 to_memory_map, to_read_description, to_traceframe_info>: Use NULL,
1630 not 0, in TARGET_DEFAULT_RETURN.
1632 2014-02-19 Tom Tromey <tromey@redhat.com>
1634 * target.c (complete_target_initialization): Remove casts. Use
1635 return_zero_has_execution.
1636 (return_zero): Add "ignore" argument.
1637 (return_zero_has_execution): New function.
1638 (init_dummy_target): Remove casts. Use
1639 return_zero_has_execution.
1641 2014-02-19 Tom Tromey <tromey@redhat.com>
1643 * target.c (update_current_target): Update comments. Do not
1646 2014-02-19 Tom Tromey <tromey@redhat.com>
1648 * arm-linux-nat.c (arm_linux_read_description): Delegate when
1650 * corelow.c (core_read_description): Delegate when needed.
1651 * remote.c (remote_read_description): Delegate when needed.
1652 * target-delegates.c: Rebuild.
1653 * target.c (target_read_description): Rewrite.
1654 * target.h (struct target_ops) <to_read_description>: Update
1655 comment. Use TARGET_DEFAULT_RETURN.
1657 2014-02-19 Tom Tromey <tromey@redhat.com>
1659 * target-delegates.c: Rebuild.
1660 * target.c (update_current_target): Don't inherit or default
1662 (find_default_run_target): Check against delegate_can_run.
1663 * target.h (struct target_ops) <to_can_run>: Use
1664 TARGET_DEFAULT_RETURN.
1666 2014-02-19 Tom Tromey <tromey@redhat.com>
1668 * target-delegates.c: Rebuild.
1669 * target.c (target_disconnect): Unconditionally delegate.
1670 * target.h (struct target_ops) <to_disconnect>: Use
1671 TARGET_DEFAULT_NORETURN.
1673 2014-02-19 Tom Tromey <tromey@redhat.com>
1675 * record.c (record_stop): Unconditionally delegate.
1676 * target-delegates.c: Rebuild.
1677 * target.c (target_stop_recording): Unconditionally delegate.
1678 * target.h (struct target_ops) <to_stop_recording>: Use
1679 TARGET_DEFAULT_IGNORE.
1681 2014-02-19 Tom Tromey <tromey@redhat.com>
1683 * target-delegates.c: Rebuild.
1684 * target.c (target_enable_btrace): Unconditionally delegate.
1685 * target.h (struct target_ops) <to_enable_btrace>: Use
1686 TARGET_DEFAULT_NORETURN.
1688 2014-02-19 Tom Tromey <tromey@redhat.com>
1690 * target-delegates.c: Rebuild.
1691 * target.c (target_read_btrace): Unconditionally delegate.
1692 * target.h (struct target_ops) <to_read_btrace>: Use
1693 TARGET_DEFAULT_NORETURN.
1695 2014-02-19 Tom Tromey <tromey@redhat.com>
1697 * target-delegates.c: Rebuild.
1698 * target.c (target_teardown_btrace): Unconditionally delegate.
1699 * target.h (struct target_ops) <to_teardown_btrace>: Use
1700 TARGET_DEFAULT_NORETURN.
1702 2014-02-19 Tom Tromey <tromey@redhat.com>
1704 * target-delegates.c: Rebuild.
1705 * target.c (target_disable_btrace): Unconditionally delegate.
1706 * target.h (struct target_ops) <to_disable_btrace>: Use
1707 TARGET_DEFAULT_NORETURN.
1709 2014-02-19 Tom Tromey <tromey@redhat.com>
1711 * target-delegates.c: Rebuild.
1712 * target.c (default_search_memory): New function.
1713 (simple_search_memory): Update comment.
1714 (target_search_memory): Unconditionally delegate.
1715 * target.h (struct target_ops) <to_search_memory>: Use
1716 TARGET_DEFAULT_FUNC.
1718 2014-02-19 Tom Tromey <tromey@redhat.com>
1720 * auxv.c (default_auxv_parse): No longer static.
1721 (target_auxv_parse): Unconditionally delegate.
1722 * auxv.h (default_auxv_parse): Declare.
1723 * target-delegates.c: Rebuild.
1724 * target.c: Include auxv.h.
1725 * target.h (struct target_ops) <to_auxv_parse>: Use
1726 TARGET_DEFAULT_FUNC.
1728 2014-02-19 Tom Tromey <tromey@redhat.com>
1730 * target-delegates.c: Rebuild.
1731 * target.c (target_memory_map): Unconditionally delegate.
1732 * target.h (struct target_ops) <to_memory_map>: Use
1733 TARGET_DEFAULT_RETURN.
1735 2014-02-19 Tom Tromey <tromey@redhat.com>
1737 * target-delegates.c: Rebuild.
1738 * target.c (target_thread_alive): Unconditionally delegate.
1739 * target.h (struct target_ops) <to_thread_alive>: Use
1740 TARGET_DEFAULT_RETURN.
1742 2014-02-19 Tom Tromey <tromey@redhat.com>
1744 * target-delegates.c: Rebuild.
1745 * target.c (target_save_record): Unconditionally delegate.
1746 * target.h (struct target_ops) <to_save_record>: Use
1747 TARGET_DEFAULT_NORETURN.
1749 2014-02-19 Tom Tromey <tromey@redhat.com>
1751 * target-delegates.c: Rebuild.
1752 * target.c (target_delete_record): Unconditionally delegate.
1753 * target.h (struct target_ops) <to_delete_record>: Use
1754 TARGET_DEFAULT_NORETURN.
1756 2014-02-19 Tom Tromey <tromey@redhat.com>
1758 * target-delegates.c: Rebuild.
1759 * target.c (target_record_is_replaying): Unconditionally
1761 * target.h (struct target_ops) <to_record_is_replaying>: Use
1762 TARGET_DEFAULT_RETURN.
1764 2014-02-19 Tom Tromey <tromey@redhat.com>
1766 * target-delegates.c: Rebuild.
1767 * target.c (target_goto_record_begin): Unconditionally delegate.
1768 * target.h (struct target_ops) <to_goto_record_begin>: Use
1769 TARGET_DEFAULT_NORETURN.
1771 2014-02-19 Tom Tromey <tromey@redhat.com>
1773 * target-delegates.c: Rebuild.
1774 * target.c (target_goto_record_end): Unconditionally delegate.
1775 * target.h (struct target_ops) <to_goto_record_end>: Use
1776 TARGET_DEFAULT_NORETURN.
1778 2014-02-19 Tom Tromey <tromey@redhat.com>
1780 * target-delegates.c: Rebuild.
1781 * target.c (target_goto_record): Unconditionally delegate.
1782 * target.h (struct target_ops) <to_goto_record>: Use
1783 TARGET_DEFAULT_NORETURN.
1785 2014-02-19 Tom Tromey <tromey@redhat.com>
1787 * target-delegates.c: Rebuild.
1788 * target.c (target_insn_history): Unconditionally delegate.
1789 * target.h (struct target_ops) <to_insn_history>: Use
1790 TARGET_DEFAULT_NORETURN.
1792 2014-02-19 Tom Tromey <tromey@redhat.com>
1794 * target-delegates.c: Rebuild.
1795 * target.c (target_insn_history_from): Unconditionally delegate.
1796 * target.h (struct target_ops) <to_insn_history_from>: Use
1797 TARGET_DEFAULT_NORETURN.
1799 2014-02-19 Tom Tromey <tromey@redhat.com>
1801 * target-delegates.c: Rebuild.
1802 * target.c (target_insn_history_range): Unconditionally delegate.
1803 * target.h (struct target_ops) <to_insn_history_range>: Use
1804 TARGET_DEFAULT_NORETURN.
1806 2014-02-19 Tom Tromey <tromey@redhat.com>
1808 * target-delegates.c: Rebuild.
1809 * target.c (target_call_history): Unconditionally delegate.
1810 * target.h (struct target_ops) <to_call_history>: Use
1811 TARGET_DEFAULT_NORETURN.
1813 2014-02-19 Tom Tromey <tromey@redhat.com>
1815 * target-delegates.c: Rebuild.
1816 * target.c (target_call_history_from): Unconditionally delegate.
1817 * target.h (struct target_ops) <to_call_history_from>: Use
1818 TARGET_DEFAULT_NORETURN.
1820 2014-02-19 Tom Tromey <tromey@redhat.com>
1822 * target-delegates.c: Rebuild.
1823 * target.c (target_call_history_range): Unconditionally delegate.
1824 * target.h (struct target_ops) <to_call_history_range>: Use
1825 TARGET_DEFAULT_NORETURN.
1827 2014-02-19 Tom Tromey <tromey@redhat.com>
1829 * target-delegates.c: Rebuild.
1830 * target.c (target_verify_memory): Unconditionally delegate.
1831 * target.h (struct target_ops) <to_verify_memory>: Use
1832 TARGET_DEFAULT_NORETURN.
1834 2014-02-19 Tom Tromey <tromey@redhat.com>
1836 * target-delegates.c: Rebuild.
1837 * target.c (target_core_of_thread): Unconditionally delegate.
1838 * target.h (struct target_ops) <to_core_of_thread>: Use
1839 TARGET_DEFAULT_RETURN.
1841 2014-02-19 Tom Tromey <tromey@redhat.com>
1843 * target-delegates.c: Rebuild.
1844 * target.c (target_flash_done): Unconditionally delegate.
1845 * target.h (struct target_ops) <to_flash_done>: Use
1846 TARGET_DEFAULT_NORETURN.
1848 2014-02-19 Tom Tromey <tromey@redhat.com>
1850 * target-delegates.c: Rebuild.
1851 * target.c (target_flash_erase): Unconditionally delegate.
1852 * target.h (struct target_ops) <to_flash_erase>: Use
1853 TARGET_DEFAULT_NORETURN.
1855 2014-02-19 Tom Tromey <tromey@redhat.com>
1857 * target-delegates.c: Rebuild.
1858 * target.c (target_get_section_table): Unconditionally delegate.
1859 * target.h (struct target_ops) <to_get_section_table>: Use
1860 TARGET_DEFAULT_RETURN.
1862 2014-02-19 Tom Tromey <tromey@redhat.com>
1864 * target-delegates.c: Rebuild.
1865 * target.c (target_pid_to_str): Unconditionally delegate.
1866 (init_dummy_target): Don't initialize to_pid_to_str.
1867 (default_pid_to_str): Rename from dummy_pid_to_str.
1868 * target.h (struct target_ops) <to_pid_to_str>: Use
1869 TARGET_DEFAULT_FUNC.
1871 2014-02-19 Tom Tromey <tromey@redhat.com>
1873 * target-delegates.c: Rebuild.
1874 * target.c (target_find_new_threads): Unconditionally delegate.
1875 * target.h (struct target_ops) <to_find_new_threads>: Use
1876 TARGET_DEFAULT_RETURN.
1878 2014-02-19 Tom Tromey <tromey@redhat.com>
1880 * target-delegates.c: Rebuild.
1881 * target.c (target_program_signals): Unconditionally delegate.
1882 * target.h (struct target_ops) <to_program_signals>: Use
1883 TARGET_DEFAULT_IGNORE.
1885 2014-02-19 Tom Tromey <tromey@redhat.com>
1887 * target-delegates.c: Rebuild.
1888 * target.c (target_pass_signals): Unconditionally delegate.
1889 * target.h (struct target_ops) <to_pass_signals>: Use
1890 TARGET_DEFAULT_IGNORE.
1892 2014-02-19 Tom Tromey <tromey@redhat.com>
1894 * target-delegates.c: Rebuild.
1895 * target.c (default_mourn_inferior): New function.
1896 (target_mourn_inferior): Unconditionally delegate.
1897 * target.h (struct target_ops) <to_mourn_inferior>: Use
1898 TARGET_DEFAULT_FUNC.
1900 2014-02-19 Tom Tromey <tromey@redhat.com>
1902 * target-delegates.c: Rebuild.
1903 * target.c (default_follow_fork): New function.
1904 (target_follow_fork): Unconditionally delegate.
1905 * target.h (struct target_ops) <to_follow_fork>: Use
1906 TARGET_DEFAULT_FUNC.
1908 2014-02-19 Tom Tromey <tromey@redhat.com>
1910 * target-delegates.c: Rebuild.
1911 * target.c (target_kill): Unconditionally delegate.
1912 * target.h (struct target_ops) <to_kill>: Use
1913 TARGET_DEFAULT_NORETURN.
1915 2014-02-19 Tom Tromey <tromey@redhat.com>
1917 * target-delegates.c: Rebuild.
1918 * target.c (target_masked_watch_num_registers): Unconditionally
1920 * target.h (struct target_ops) <to_masked_watch_num_registers>:
1921 Use TARGET_DEFAULT_RETURN.
1923 2014-02-19 Tom Tromey <tromey@redhat.com>
1925 * target-delegates.c: Rebuild.
1926 * target.c (target_remove_mask_watchpoint): Unconditionally
1928 * target.h (struct target_ops) <to_remove_mask_watchpoint>: Use
1929 TARGET_DEFAULT_RETURN.
1931 2014-02-19 Tom Tromey <tromey@redhat.com>
1933 * target-delegates.c: Rebuild.
1934 * target.c (target_insert_mask_watchpoint): Unconditionally
1936 * target.h (struct target_ops) <to_insert_mask_watchpoint>: Use
1937 TARGET_DEFAULT_RETURN.
1939 2014-02-19 Tom Tromey <tromey@redhat.com>
1941 * target-delegates.c: Rebuild.
1942 * target.c (target_ranged_break_num_registers): Unconditionally
1944 * target.h (struct target_ops) <to_ranged_break_num_registers>:
1945 Use TARGET_DEFAULT_RETURN.
1947 2014-02-19 Tom Tromey <tromey@redhat.com>
1949 * target-delegates.c: Rebuild.
1950 * target.c (target_fetch_registers): Unconditionally delegate.
1951 * target.h (struct target_ops) <to_fetch_registers>: Use
1952 TARGET_DEFAULT_NORETURN.
1954 2014-02-19 Tom Tromey <tromey@redhat.com>
1956 * target-delegates.c: Rebuild.
1957 * target.c (update_current_target): Don't inherit or default
1959 * target.h (struct target_ops) <to_stop>: Use
1960 TARGET_DEFAULT_IGNORE.
1962 2014-02-19 Tom Tromey <tromey@redhat.com>
1964 * target-delegates.c: Rebuild.
1965 * target.c (update_current_target): Don't inherit or default
1966 to_can_run_breakpoint_commands.
1967 * target.h (struct target_ops) <to_can_run_breakpoint_commands>:
1968 Use TARGET_DEFAULT_RETURN.
1970 2014-02-19 Tom Tromey <tromey@redhat.com>
1972 * target-delegates.c: Rebuild.
1973 * target.c (update_current_target): Don't inherit or default
1974 to_supports_evaluation_of_breakpoint_conditions.
1975 * target.h (struct target_ops)
1976 <to_supports_evaluation_of_breakpoint_conditions>: Use
1977 TARGET_DEFAULT_RETURN.
1979 2014-02-19 Tom Tromey <tromey@redhat.com>
1981 * target-delegates.c: Rebuild.
1982 * target.c (update_current_target): Don't inherit or default
1983 to_augmented_libraries_svr4_read.
1984 * target.h (struct target_ops) <to_augmented_libraries_svr4_read>:
1985 Use TARGET_DEFAULT_RETURN.
1987 2014-02-19 Tom Tromey <tromey@redhat.com>
1989 * target-delegates.c: Rebuild.
1990 * target.c (update_current_target): Don't inherit or default
1992 * target.h (struct target_ops) <to_can_use_agent>: Use
1993 TARGET_DEFAULT_RETURN.
1995 2014-02-19 Tom Tromey <tromey@redhat.com>
1997 * target-delegates.c: Rebuild.
1998 * target.c (update_current_target): Don't inherit or default
2000 * target.h (struct target_ops) <to_use_agent>: 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
2008 (return_null): Remove.
2009 * target.h (struct target_ops) <to_traceframe_info>: Use
2010 TARGET_DEFAULT_RETURN.
2012 2014-02-19 Tom Tromey <tromey@redhat.com>
2014 * target-delegates.c: Rebuild.
2015 * target.c (update_current_target): Don't inherit or default
2016 to_static_tracepoint_markers_by_strid.
2017 * target.h (struct target_ops)
2018 <to_static_tracepoint_markers_by_strid>: Use
2019 TARGET_DEFAULT_NORETURN.
2021 2014-02-19 Tom Tromey <tromey@redhat.com>
2023 * target-delegates.c: Rebuild.
2024 * target.c (update_current_target): Don't inherit or default
2025 to_static_tracepoint_marker_at.
2026 * target.h (struct target_ops) <to_static_tracepoint_marker_at>:
2027 Use TARGET_DEFAULT_RETURN.
2029 2014-02-19 Tom Tromey <tromey@redhat.com>
2031 * target-delegates.c: Rebuild.
2032 * target.c (update_current_target): Don't inherit or default
2034 * target.h (struct target_ops) <to_set_permissions>: Use
2035 TARGET_DEFAULT_IGNORE.
2037 2014-02-19 Tom Tromey <tromey@redhat.com>
2039 * target-delegates.c: Rebuild.
2040 * target.c (update_current_target): Don't inherit or default
2042 * target.h (struct target_ops) <to_get_tib_address>: Use
2043 TARGET_DEFAULT_NORETURN.
2045 2014-02-19 Tom Tromey <tromey@redhat.com>
2047 * target-delegates.c: Rebuild.
2048 * target.c (update_current_target): Don't inherit or default
2050 * target.h (struct target_ops) <to_set_trace_notes>: Use
2051 TARGET_DEFAULT_RETURN.
2053 2014-02-19 Tom Tromey <tromey@redhat.com>
2055 * target-delegates.c: Rebuild.
2056 * target.c (update_current_target): Don't initialize
2057 to_set_trace_buffer_size.
2058 * target.h (struct target_ops) <to_set_trace_buffer_size>: Use
2059 TARGET_DEFAULT_IGNORE.
2061 2014-02-19 Tom Tromey <tromey@redhat.com>
2063 * target-delegates.c: Rebuild.
2064 * target.c (update_current_target): Don't inherit or default
2065 to_set_circular_trace_buffer.
2066 * target.h (struct target_ops) <to_set_circular_trace_buffer>: Use
2067 TARGET_DEFAULT_IGNORE.
2069 2014-02-19 Tom Tromey <tromey@redhat.com>
2071 * target-delegates.c: Rebuild.
2072 * target.c (update_current_target): Don't inherit or default
2073 to_set_disconnected_tracing.
2074 * target.h (struct target_ops) <to_set_disconnected_tracing>: Use
2075 TARGET_DEFAULT_IGNORE.
2077 2014-02-19 Tom Tromey <tromey@redhat.com>
2079 * target-delegates.c: Rebuild.
2080 * target.c (update_current_target): Don't inherit or default
2081 to_get_min_fast_tracepoint_insn_len.
2082 (return_minus_one): Remove.
2083 * target.h (struct target_ops)
2084 <to_get_min_fast_tracepoint_insn_len>: Use TARGET_DEFAULT_RETURN.
2086 2014-02-19 Tom Tromey <tromey@redhat.com>
2088 * target-delegates.c: Rebuild.
2089 * target.c (update_current_target): Don't inherit or default
2090 to_get_raw_trace_data.
2091 * target.h (struct target_ops) <to_get_raw_trace_data>: Use
2092 TARGET_DEFAULT_NORETURN.
2094 2014-02-19 Tom Tromey <tromey@redhat.com>
2096 * target-delegates.c: Rebuild.
2097 * target.c (update_current_target): Don't inherit or default
2098 to_upload_trace_state_variables.
2099 * target.h (struct target_ops) <to_upload_trace_state_variables>:
2100 Use TARGET_DEFAULT_RETURN.
2102 2014-02-19 Tom Tromey <tromey@redhat.com>
2104 * target-delegates.c: Rebuild.
2105 * target.c (update_current_target): Don't inherit or default
2106 to_upload_tracepoints.
2107 * target.h (struct target_ops) <to_upload_tracepoints>: Use
2108 TARGET_DEFAULT_RETURN.
2110 2014-02-19 Tom Tromey <tromey@redhat.com>
2112 * target-delegates.c: Rebuild.
2113 * target.c (update_current_target): Don't inherit or default
2115 * target.h (struct target_ops) <to_save_trace_data>: Use
2116 TARGET_DEFAULT_NORETURN.
2118 2014-02-19 Tom Tromey <tromey@redhat.com>
2120 * target-delegates.c: Rebuild.
2121 * target.c (update_current_target): Don't inherit or default
2122 to_get_trace_state_variable_value.
2123 * target.h (struct target_ops)
2124 <to_get_trace_state_variable_value>: Use TARGET_DEFAULT_RETURN.
2126 2014-02-19 Tom Tromey <tromey@redhat.com>
2128 * target-delegates.c: Rebuild.
2129 * target.c (update_current_target): Don't inherit or default
2131 * target.h (struct target_ops): Use TARGET_DEFAULT_RETURN.
2133 2014-02-19 Tom Tromey <tromey@redhat.com>
2135 * target-delegates.c: Rebuild.
2136 * target.c (update_current_target): Don't inherit or default
2138 * target.h (struct target_ops) <to_trace_stop>: Use
2139 TARGET_DEFAULT_NORETURN.
2141 2014-02-19 Tom Tromey <tromey@redhat.com>
2143 * target-delegates.c: Rebuild.
2144 * target.c (update_current_target): Don't inherit or default
2145 to_get_tracepoint_status.
2146 * target.h (struct target_ops) <to_get_tracepoint_status>: Use
2147 TARGET_DEFAULT_NORETURN.
2149 2014-02-19 Tom Tromey <tromey@redhat.com>
2151 * target-delegates.c: Rebuild.
2152 * target.c (update_current_target): Don't inherit or default
2153 to_get_trace_status.
2154 * target.h (struct target_ops) <to_get_trace_status>: Use
2155 TARGET_DEFAULT_RETURN.
2157 2014-02-19 Tom Tromey <tromey@redhat.com>
2159 * target-delegates.c: Rebuild.
2160 * target.c (update_current_target): Don't inherit or default
2162 * target.h (struct target_ops) <to_trace_start>: Use
2163 TARGET_DEFAULT_NORETURN.
2165 2014-02-19 Tom Tromey <tromey@redhat.com>
2167 * target-delegates.c: Rebuild.
2168 * target.c (update_current_target): Don't inherit or default
2169 to_trace_set_readonly_regions.
2170 * target.h (struct target_ops) <to_trace_set_readonly_regions>:
2171 Use TARGET_DEFAULT_NORETURN.
2173 2014-02-19 Tom Tromey <tromey@redhat.com>
2175 * target-delegates.c: Rebuild.
2176 * target.c (update_current_target): Don't inherit or default
2177 to_disable_tracepoint.
2178 * target.h (struct target_ops) <to_disable_tracepoint>: Use
2179 TARGET_DEFAULT_NORETURN.
2181 2014-02-19 Tom Tromey <tromey@redhat.com>
2183 * target-delegates.c: Rebuild.
2184 * target.c (update_current_target): Don't inherit or default
2185 to_enable_tracepoint.
2186 * target.h (struct target_ops) <to_enable_tracepoint>: Use
2187 TARGET_DEFAULT_NORETURN.
2189 2014-02-19 Tom Tromey <tromey@redhat.com>
2191 * target-delegates.c: Rebuild.
2192 * target.c (update_current_target): Don't inherit or default
2193 to_download_trace_state_variable.
2194 * target.h (struct target_ops) <to_download_trace_state_variable>:
2195 Use TARGET_DEFAULT_NORETURN.
2197 2014-02-19 Tom Tromey <tromey@redhat.com>
2199 * target-delegates.c: Rebuild.
2200 * target.c (update_current_target): Don't inherit or default
2201 to_can_download_tracepoint.
2202 * target.h (struct target_ops) <to_can_download_tracepoint>: Use
2203 TARGET_DEFAULT_RETURN.
2205 2014-02-19 Tom Tromey <tromey@redhat.com>
2207 * target-delegates.c: Rebuild.
2208 * target.c (update_current_target): Don't inherit or default
2209 to_download_tracepoint.
2210 * target.h (struct target_ops) <to_download_tracepoint>: Use
2211 TARGET_DEFAULT_NORETURN.
2213 2014-02-19 Tom Tromey <tromey@redhat.com>
2215 * target-delegates.c: Rebuild.
2216 * target.c (update_current_target): Don't inherit or default
2218 * target.h (struct target_ops) <to_trace_init>: Use
2219 TARGET_DEFAULT_RETURN.
2221 2014-02-19 Tom Tromey <tromey@redhat.com>
2223 * target-delegates.c: Rebuild.
2224 * target.c (update_current_target): Don't inherit or default
2225 to_supports_string_tracing.
2226 * target.h (struct target_ops) <to_supports_string_tracing>: Use
2227 TARGET_DEFAULT_RETURN.
2229 2014-02-19 Tom Tromey <tromey@redhat.com>
2231 * target-delegates.c: Rebuild.
2232 * target.c (update_current_target): Don't inherit or default
2233 to_supports_enable_disable_tracepoint.
2234 * target.h (struct target_ops)
2235 <to_supports_enable_disable_tracepoint>: Use
2236 TARGET_DEFAULT_RETURN.
2238 2014-02-19 Tom Tromey <tromey@redhat.com>
2240 * target-delegates.c: Rebuild.
2241 * target.c (update_current_target): Don't inherit or default
2242 to_supports_multi_process.
2243 * target.h (struct target_ops) <to_supports_multi_process>: Use
2244 TARGET_DEFAULT_RETURN.
2246 2014-02-19 Tom Tromey <tromey@redhat.com>
2248 * target-delegates.c: Rebuild.
2249 * target.c (update_current_target): Don't inherit or default
2250 to_get_ada_task_ptid.
2251 * target.h (struct target_ops) <to_get_ada_task_ptid>: Use
2252 TARGET_DEFAULT_FUNC.
2254 2014-02-19 Tom Tromey <tromey@redhat.com>
2256 * target-delegates.c: Rebuild.
2257 * target.c (update_current_target): Don't inherit or default
2258 to_thread_architecture.
2259 * target.h (struct target_ops) <to_thread_architecture>: Use
2260 TARGET_DEFAULT_FUNC.
2262 2014-02-19 Tom Tromey <tromey@redhat.com>
2264 * target-delegates.c: Rebuild.
2265 * target.c (update_current_target): Don't inherit or default
2266 to_execution_direction.
2267 * target.h (struct target_ops) <to_execution_direction>: Use
2268 TARGET_DEFAULT_FUNC.
2270 2014-02-19 Tom Tromey <tromey@redhat.com>
2272 * target-delegates.c: Rebuild.
2273 * target.c (update_current_target): Don't inherit or default
2274 to_can_execute_reverse.
2275 * target.h (struct target_ops) <to_can_execute_reverse>: Use
2276 TARGET_DEFAULT_RETURN.
2277 (target_can_execute_reverse): Unconditionally delegate.
2279 2014-02-19 Tom Tromey <tromey@redhat.com>
2281 * target-delegates.c: Rebuild.
2282 * target.c (update_current_target): Don't inherit or default
2284 (dummy_goto_bookmark): Remove.
2285 (init_dummy_target): Don't inherit or default to_goto_bookmark.
2286 * target.h (struct target_ops) <to_goto_bookmark>: Use
2287 TARGET_DEFAULT_NORETURN.
2289 2014-02-19 Tom Tromey <tromey@redhat.com>
2291 * target-delegates.c: Rebuild.
2292 * target.c (update_current_target): Don't inherit or default
2294 (dummy_get_bookmark): Remove.
2295 (init_dummy_target): Don't inherit or default to_get_bookmark.
2296 * target.h (struct target_ops) <to_get_bookmark>: Use
2297 TARGET_DEFAULT_NORETURN
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
2303 to_make_corefile_notes.
2304 (init_dummy_target): Don't initialize to_make_corefile_notes.
2305 * target.h (struct target_ops) <to_make_corefile_notes>: Use
2306 TARGET_DEFAULT_FUNC.
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_find_memory_regions.
2313 (init_dummy_target): Don't initialize to_find_memory_regions.
2314 * target.h (struct target_ops) <to_find_memory_regions>: Use
2315 TARGET_DEFAULT_FUNC.
2317 2014-02-19 Tom Tromey <tromey@redhat.com>
2319 * target-delegates.c: Rebuild.
2320 * target.c (update_current_target): Don't inherit or default
2322 * target.h (struct target_ops) <to_log_command>: Use
2323 TARGET_DEFAULT_IGNORE.
2324 (target_log_command): Unconditionally delegate.
2326 2014-02-19 Tom Tromey <tromey@redhat.com>
2328 * target-delegates.c: Rebuild.
2329 * target.c (update_current_target): Don't inherit or default
2330 to_pid_to_exec_file.
2331 * target.h (struct target_ops) <to_pid_to_exec_file>: Use
2332 TARGET_DEFAULT_RETURN.
2334 2014-02-19 Tom Tromey <tromey@redhat.com>
2336 * target-delegates.c: Rebuild.
2337 * target.c (update_current_target): Don't inherit or default
2339 (target_thread_name): Unconditionally delegate.
2340 * target.h (struct target_ops) <to_thread_name>: Use
2341 TARGET_DEFAULT_RETURN.
2343 2014-02-19 Tom Tromey <tromey@redhat.com>
2345 * target-delegates.c: Rebuild.
2346 * target.c (update_current_target): Don't inherit or default
2347 to_extra_thread_info.
2348 * target.h (struct target_ops) <to_extra_thread_info>: Use
2349 TARGET_DEFAULT_RETURN.
2351 2014-02-19 Tom Tromey <tromey@redhat.com>
2353 * target-delegates.c: Rebuild.
2354 * target.c (update_current_target): Don't inherit or default
2356 * target.h (struct target_ops) <to_has_exited>: Use
2357 TARGET_DEFAULT_RETURN..
2359 2014-02-19 Tom Tromey <tromey@redhat.com>
2361 * target-delegates.c: Rebuild.
2362 * target.c (update_current_target): Don't inherit or default
2363 to_set_syscall_catchpoint.
2364 (return_one): Remove.
2365 * target.h (struct target_ops) <to_set_syscall_catchpoint>: Use
2366 TARGET_DEFAULT_RETURN.
2368 2014-02-19 Tom Tromey <tromey@redhat.com>
2370 * target-delegates.c: Rebuild.
2371 * target.c (update_current_target): Don't inherit or default
2372 to_insert_exec_catchpoint.
2373 * target.h (struct target_ops) <to_insert_exec_catchpoint>: Use
2374 TARGET_DEFAULT_RETURN.
2376 2014-01-08 Tom Tromey <tromey@redhat.com>
2378 * target-delegates.c: Rebuild.
2379 * target.c (update_current_target): Don't inherit or default
2380 to_insert_exec_catchpoint.
2381 * target.h (struct target_ops) <to_insert_exec_catchpoint>: Use
2382 TARGET_DEFAULT_RETURN.
2384 2014-02-19 Tom Tromey <tromey@redhat.com>
2386 * target-delegates.c: Rebuild.
2387 * target.c (update_current_target): Don't inherit or default
2388 to_remove_vfork_catchpoint.
2389 * target.h (struct target_ops) <to_remove_vfork_catchpoint>: Use
2390 TARGET_DEFAULT_RETURN.
2392 2014-02-19 Tom Tromey <tromey@redhat.com>
2394 * target-delegates.c: Rebuild.
2395 * target.c (update_current_target): Don't inherit or default
2396 to_insert_vfork_catchpoint.
2397 * target.h (struct target_ops) <to_insert_vfork_catchpoint>: Use
2398 TARGET_DEFAULT_RETURN.
2400 2014-02-19 Tom Tromey <tromey@redhat.com>
2402 * target-delegates.c: Rebuild.
2403 * target.c (update_current_target): Don't inherit or default
2404 to_remove_fork_catchpoint.
2405 * target.h (struct target_ops) <to_remove_fork_catchpoint>: Use
2406 TARGET_DEFAULT_RETURN.
2408 2014-02-19 Tom Tromey <tromey@redhat.com>
2410 * target-delegates.c: Rebuild.
2411 * target.c (update_current_target): Don't inherit or default
2412 to_insert_fork_catchpoint.
2413 * target.h (struct target_ops) <to_insert_fork_catchpoint>: Use
2414 TARGET_DEFAULT_RETURN.
2416 2014-02-19 Tom Tromey <tromey@redhat.com>
2418 * target-delegates.c: Rebuild.
2419 * target.c (update_current_target): Don't inherit or default
2420 to_post_startup_inferior.
2421 * target.h (struct target_ops) <to_post_startup_inferior>: Use
2422 TARGET_DEFAULT_IGNORE.
2424 2014-02-19 Tom Tromey <tromey@redhat.com>
2426 * target-delegates.c: Rebuild.
2427 * target.c (update_current_target): Don't inherit or default
2429 * target.h (struct target_ops) <to_load>: Use
2430 TARGET_DEFAULT_NORETURN.
2432 2014-02-19 Tom Tromey <tromey@redhat.com>
2434 * target-delegates.c: Rebuild.
2435 * target.c (update_current_target): Don't inherit or default
2437 * target.h (struct target_ops) <to_terminal_info>: Use
2438 TARGET_DEFAULT_FUNC.
2440 2014-02-19 Tom Tromey <tromey@redhat.com>
2442 * target-delegates.c: Rebuild.
2443 * target.c (update_current_target): Don't inherit or default
2444 to_terminal_save_ours.
2445 * target.h (struct target_ops) <to_terminal_save_ours>: Use
2446 TARGET_DEFAULT_IGNORE.
2448 2014-02-19 Tom Tromey <tromey@redhat.com>
2450 * target-delegates.c: Rebuild.
2451 * target.c (update_current_target): Don't inherit or default
2453 * target.h (struct target_ops) <to_terminal_ours>: Use
2454 TARGET_DEFAULT_IGNORE.
2456 2014-02-19 Tom Tromey <tromey@redhat.com>
2458 * target-delegates.c: Rebuild.
2459 * target.c (update_current_target): Don't inherit or default
2460 to_terminal_ours_for_output.
2461 * target.h (struct target_ops) <to_terminal_ours_for_output>: Use
2462 TARGET_DEFAULT_IGNORE.
2464 2014-02-19 Tom Tromey <tromey@redhat.com>
2466 * target-delegates.c: Rebuild.
2467 * target.c (update_current_target): Don't inherit or default
2468 to_terminal_inferior.
2469 * target.h (struct target_ops) <to_terminal_inferior>: Use
2470 TARGET_DEFAULT_IGNORE.
2472 2014-02-19 Tom Tromey <tromey@redhat.com>
2474 * target-delegates.c: Rebuild.
2475 * target.c (update_current_target): Don't inherit or default
2477 * target.h (struct target_ops) <to_terminal_init>: Use
2478 TARGET_DEFAULT_IGNORE.
2480 2014-02-19 Tom Tromey <tromey@redhat.com>
2482 * target-delegates.c: Rebuild.
2483 * target.c (update_current_target): Don't inherit or default
2484 to_can_accel_watchpoint_condition.
2485 * target.h (struct target_ops)
2486 <to_can_accel_watchpoint_condition>: Use TARGET_DEFAULT_RETURN.
2488 2014-02-19 Tom Tromey <tromey@redhat.com>
2490 * target-delegates.c: Rebuild.
2491 * target.c (update_current_target): Don't inherit or default
2492 to_region_ok_for_hw_watchpoint.
2493 * target.h (struct target_ops) <to_region_ok_for_hw_watchpoint>:
2494 Use TARGET_DEFAULT_FUNC.
2496 2014-02-19 Tom Tromey <tromey@redhat.com>
2498 * target-delegates.c: Rebuild.
2499 * target.c (update_current_target): Don't inherit or default
2500 to_watchpoint_addr_within_range.
2501 * target.h (struct target_ops) <to_watchpoint_addr_within_range>:
2502 Use TARGET_DEFAULT_FUNC.
2504 2014-02-19 Tom Tromey <tromey@redhat.com>
2506 * target-delegates.c: Rebuild.
2507 * target.c (update_current_target): Don't inherit or default
2508 to_remove_watchpoint.
2509 * target.h (struct target_ops) <to_remove_watchpoint>: Use
2510 TARGET_DEFAULT_NORETURN.
2512 2014-02-19 Tom Tromey <tromey@redhat.com>
2514 * target-delegates.c: Rebuild.
2515 * target.c (update_current_target): Don't inherit or default
2516 to_insert_watchpoint.
2517 * target.h (struct target_ops) <to_insert_watchpoint>: Use
2518 TARGET_DEFAULT_RETURN.
2520 2014-02-19 Tom Tromey <tromey@redhat.com>
2522 * target-delegates.c: Rebuild.
2523 * target.c (update_current_target): Don't inherit or default
2524 to_remove_hw_breakpoint.
2525 * target.h (struct target_ops) <to_remove_hw_breakpoint>: Use
2526 TARGET_DEFAULT_RETURN.
2528 2014-02-19 Tom Tromey <tromey@redhat.com>
2530 * target-delegates.c: Rebuild.
2531 * target.c (update_current_target): Don't inherit or default
2532 to_insert_hw_breakpoint.
2533 * target.h (struct target_ops) <to_insert_hw_breakpoint>: Use
2534 TARGET_DEFAULT_RETURN.
2536 2014-02-19 Tom Tromey <tromey@redhat.com>
2538 * target-delegates.c: Rebuild.
2539 * target.c (update_current_target): Don't inherit or default
2540 to_can_use_hw_breakpoint.
2541 * target.h (struct target_ops) <to_can_use_hw_breakpoint>: Use
2542 TARGET_DEFAULT_RETURN.
2544 2014-02-19 Tom Tromey <tromey@redhat.com>
2546 * target-delegates.c: Rebuild.
2547 * target.c (update_current_target): Don't inherit or default
2549 * target.h (struct target_ops) <to_files_info>: Use
2550 TARGET_DEFAULT_IGNORE.
2552 2014-02-19 Tom Tromey <tromey@redhat.com>
2554 * target-delegates.c: Rebuild.
2555 * target.c (update_current_target): Don't inherit or default
2557 * target.h (struct target_ops) <to_store>: Use
2558 TARGET_DEFAULT_NORETURN.
2560 2014-02-19 Tom Tromey <tromey@redhat.com>
2562 * target-delegates.c: Rebuild.
2563 * target.c (update_current_target): Don't inherit or default
2565 * target.h (struct target_ops) <to_post_attach>: Use
2566 TARGET_DEFAULT_IGNORE.
2568 2014-02-19 Tom Tromey <tromey@redhat.com>
2570 * target-delegates.c: Rebuild.
2571 * target.c (update_current_target): Don't inherit or default
2573 (default_rcmd): New function.
2574 (do_monitor_command): Unconditionally delegate.
2575 * target.h (struct target_ops) <to_rmcd>: Use
2576 TARGET_DEFAULT_FUNC.
2578 2014-02-19 Tom Tromey <tromey@redhat.com>
2580 * target-delegates.c: Rebuild.
2581 * target.c (init_dummy_target): Don't initialize to_attach.
2582 (target_attach): Unconditionally delegate.
2583 * target.h (struct target_ops) <to_attach>: Use
2584 TARGET_DEFAULT_FUNC.
2586 2014-02-19 Tom Tromey <tromey@redhat.com>
2588 * target-delegates.c: Rebuild.
2589 * target.c (target_detach): Unconditionally delegate.
2590 (init_dummy_target): Don't initialize to_detach.
2591 * target.h (struct target_ops) <to_detach>: Use
2592 TARGET_DEFAULT_IGNORE.
2594 2014-02-19 Tom Tromey <tromey@redhat.com>
2596 * target.h (struct target_ops) <to_augmented_libraries_svr4_read>:
2598 (target_augmented_libraries_svr4_read): Add argument.
2599 * target.c (update_current_target): Update.
2600 * remote.c (remote_augmented_libraries_svr4_read): Add 'self'
2603 2014-02-19 Tom Tromey <tromey@redhat.com>
2605 * target.h (struct target_ops) <to_call_history_range>: Add
2607 * target.c (target_call_history_range): Add argument.
2608 * record-btrace.c (record_btrace_call_history_range): Add 'self'
2610 (record_btrace_call_history_from): Update.
2612 2014-02-19 Tom Tromey <tromey@redhat.com>
2614 * target.h (struct target_ops) <to_call_history_from>: Add
2616 * target.c (target_call_history_from): Add argument.
2617 * record-btrace.c (record_btrace_call_history_from): Add 'self'
2620 2014-02-19 Tom Tromey <tromey@redhat.com>
2622 * target.h (struct target_ops) <to_call_history>: Add argument.
2623 * target.c (target_call_history): Add argument.
2624 * record-btrace.c (record_btrace_call_history): Add 'self'
2627 2014-02-19 Tom Tromey <tromey@redhat.com>
2629 * target.h (struct target_ops) <to_insn_history_range>: Add
2631 * target.c (target_insn_history_range): Add argument.
2632 * record-btrace.c (record_btrace_insn_history_range): Add 'self'
2634 (record_btrace_insn_history_from): Update.
2636 2014-02-19 Tom Tromey <tromey@redhat.com>
2638 * target.h (struct target_ops) <to_insn_history_from>: Add
2640 * target.c (target_insn_history_from): Add argument.
2641 * record-btrace.c (record_btrace_insn_history_from): Add 'self'
2644 2014-02-19 Tom Tromey <tromey@redhat.com>
2646 * target.h (struct target_ops) <to_insn_history>: Add argument.
2647 * target.c (target_insn_history): Add argument.
2648 * record-btrace.c (record_btrace_insn_history): Add 'self'
2651 2014-02-19 Tom Tromey <tromey@redhat.com>
2653 * target.h (struct target_ops) <to_goto_record>: Add argument.
2654 * target.c (target_goto_record): Add argument.
2655 * record-full.c (record_full_goto): Add 'self' argument.
2656 * record-btrace.c (record_btrace_goto): Add 'self' argument.
2658 2014-02-19 Tom Tromey <tromey@redhat.com>
2660 * target.h (struct target_ops) <to_goto_record_end>: Add argument.
2661 * target.c (target_goto_record_end): Add argument.
2662 * record-full.c (record_full_goto_end): Add 'self' argument.
2663 * record-btrace.c (record_btrace_goto_end): Add 'self' argument.
2665 2014-02-19 Tom Tromey <tromey@redhat.com>
2667 * target.h (struct target_ops) <to_goto_record_begin>: Add
2669 * target.c (target_goto_record_begin): Add argument.
2670 * record-full.c (record_full_goto_begin): Add 'self' argument.
2671 * record-btrace.c (record_btrace_goto_begin): Add 'self'
2674 2014-02-19 Tom Tromey <tromey@redhat.com>
2676 * target.h (struct target_ops) <to_record_is_replaying>: Add
2678 * target.c (target_record_is_replaying): Add argument.
2679 * record-full.c (record_full_is_replaying): Add 'self' argument.
2680 * record-btrace.c (record_btrace_is_replaying): Add 'self'
2682 (record_btrace_xfer_partial, record_btrace_store_registers)
2683 (record_btrace_prepare_to_store, record_btrace_resume)
2684 (record_btrace_wait, record_btrace_decr_pc_after_break)
2685 (record_btrace_find_new_threads, record_btrace_thread_alive):
2688 2014-02-19 Tom Tromey <tromey@redhat.com>
2690 * target.h (struct target_ops) <to_delete_record>: Add argument.
2691 * target.c (target_delete_record): Add argument.
2692 * record-full.c (record_full_delete): Add 'self' argument.
2694 2014-02-19 Tom Tromey <tromey@redhat.com>
2696 * target.h (struct target_ops) <to_save_record>: Add argument.
2697 * target.c (target_save_record): Add argument.
2698 * record-full.c (record_full_save): Add 'self' argument.
2699 (record_full_save): Add 'self' argument.
2701 2014-02-19 Tom Tromey <tromey@redhat.com>
2703 * target.h (struct target_ops) <to_info_record>: Add argument.
2704 * target.c (target_info_record): Add argument.
2705 * record.c (info_record_command): Add argument.
2706 * record-full.c (record_full_info): Add 'self' argument.
2707 * record-btrace.c (record_btrace_info): Add 'self' argument.
2709 2014-02-19 Tom Tromey <tromey@redhat.com>
2711 * target.h (struct target_ops) <to_stop_recording>: Add argument.
2712 * target.c (target_stop_recording): Add argument.
2713 * record.c (record_stop): Add argument.
2714 * record-btrace.c (record_btrace_stop_recording): Add 'self'
2717 2014-02-19 Tom Tromey <tromey@redhat.com>
2719 * target.h (struct target_ops) <to_read_btrace>: Add argument.
2720 * target.c (struct target_ops) <to_read_btrace>: Add argument.
2721 * remote.c (struct target_ops) <to_read_btrace>: Add 'self'
2723 * amd64-linux-nat.c (amd64_linux_read_btrace): New function.
2724 (_initialize_amd64_linux_nat): Use it.
2725 * i386-linux-nat.c (i386_linux_read_btrace): New function.
2726 (_initialize_i386_linux_nat): Use it.
2728 2014-02-19 Tom Tromey <tromey@redhat.com>
2730 * target.h (struct target_ops) <to_teardown_btrace>: Add argument.
2731 * target.c (target_teardown_btrace): Add argument.
2732 * remote.c (remote_teardown_btrace): Add 'self' argument.
2733 * i386-linux-nat.c (i386_linux_teardown_btrace): Add 'self'
2735 * amd64-linux-nat.c (amd64_linux_teardown_btrace): Add 'self'
2738 2014-02-19 Tom Tromey <tromey@redhat.com>
2740 * target.h (struct target_ops) <to_disable_btrace>: Add argument.
2741 * target.c (target_disable_btrace): Add argument.
2742 * remote.c (remote_disable_btrace): Add 'self' argument.
2743 * i386-linux-nat.c (i386_linux_disable_btrace): Add 'self'
2745 * amd64-linux-nat.c (amd64_linux_disable_btrace): Add 'self'
2748 2014-02-19 Tom Tromey <tromey@redhat.com>
2750 * target.h (struct target_ops) <to_enable_btrace>: Add argument.
2751 * target.c (target_enable_btrace): Add argument.
2752 * remote.c (remote_enable_btrace): Add 'self' argument.
2753 * i386-linux-nat.c (i386_linux_enable_btrace): Add 'self'
2755 * amd64-linux-nat.c (amd64_linux_enable_btrace): Add 'self'
2758 2014-02-19 Tom Tromey <tromey@redhat.com>
2760 * target.h (struct target_ops) <to_can_use_agent>: Add argument.
2761 (target_can_use_agent): Add argument.
2762 * target.c (update_current_target): Update.
2763 * remote.c (remote_can_use_agent): Add 'self' argument.
2764 * inf-child.c (inf_child_can_use_agent): Add 'self' argument.
2766 2014-02-19 Tom Tromey <tromey@redhat.com>
2768 * target.h (struct target_ops) <to_use_agent>: Add argument.
2769 (target_use_agent): Add argument.
2770 * target.c (update_current_target): Update.
2771 * remote.c (remote_use_agent): Add 'self' argument.
2772 * inf-child.c (inf_child_use_agent): Add 'self' argument.
2774 2014-02-19 Tom Tromey <tromey@redhat.com>
2776 * tracepoint.c (tfile_traceframe_info): Add 'self' argument.
2777 * target.h (struct target_ops) <to_traceframe_info>: Add argument.
2778 (target_traceframe_info): Add argument.
2779 * target.c (update_current_target): Update.
2780 * remote.c (remote_traceframe_info): Add 'self' argument.
2781 * ctf.c (ctf_traceframe_info): Add 'self' argument.
2783 2014-02-19 Tom Tromey <tromey@redhat.com>
2785 * target.h (target_static_tracepoint_markers_by_strid): Add
2787 (struct target_ops) <to_static_tracepoint_markers_by_strid>: Add
2789 * target.c (update_current_target): Update.
2790 * remote.c (struct target_ops)
2791 <to_static_tracepoint_markers_by_strid>: Add 'self' argument.
2792 * linux-nat.c (struct target_ops)
2793 <to_static_tracepoint_markers_by_strid>: Add 'self' argument.
2795 2014-02-19 Tom Tromey <tromey@redhat.com>
2797 * target.h (struct target_ops) <to_static_tracepoint_marker_at>:
2799 (target_static_tracepoint_marker_at): Add argument.
2800 * target.c (update_current_target): Update.
2801 * remote.c (remote_static_tracepoint_marker_at): Add 'self'
2804 2014-02-19 Tom Tromey <tromey@redhat.com>
2806 * target.h (struct target_ops) <to_set_permissions>: Add argument.
2807 (target_set_permissions): Add argument.
2808 * target.c (update_current_target): Update.
2809 * remote.c (remote_set_permissions): Add 'self' argument.
2810 (remote_start_remote): Update.
2812 2014-02-19 Tom Tromey <tromey@redhat.com>
2814 * windows-nat.c (windows_get_tib_address): Add 'self' argument.
2815 * target.h (struct target_ops) <to_get_tib_address>: Add argument.
2816 (target_get_tib_address): Add argument.
2817 * target.c (update_current_target): Update.
2818 * remote.c (remote_get_tib_address): Add 'self' argument.
2820 2014-02-19 Tom Tromey <tromey@redhat.com>
2822 * target.h (struct target_ops) <to_set_trace_notes>: Add argument.
2823 (target_set_trace_notes): Add argument.
2824 * target.c (update_current_target): Update.
2825 * remote.c (remote_set_trace_notes): Add 'self' argument.
2827 2014-02-19 Tom Tromey <tromey@redhat.com>
2829 * target.h (struct target_ops) <to_set_trace_buffer_size>: Add
2831 (target_set_trace_buffer_size): Add argument.
2832 * target.c (update_current_target): Update.
2833 * remote.c (remote_set_trace_buffer_size): Add 'self' argument.
2835 2014-02-19 Tom Tromey <tromey@redhat.com>
2837 * target.h (struct target_ops) <to_set_circular_trace_buffer>: Add
2839 (target_set_circular_trace_buffer): Add argument.
2840 * target.c (update_current_target): Update.
2841 * remote.c (remote_set_circular_trace_buffer): Add 'self'
2844 2014-02-19 Tom Tromey <tromey@redhat.com>
2846 * target.h (struct target_ops) <to_set_disconnected_tracing>: Add
2848 (target_set_disconnected_tracing): Add argument.
2849 * target.c (update_current_target): Update.
2850 * remote.c (remote_set_disconnected_tracing): Add 'self' argument.
2852 2014-02-19 Tom Tromey <tromey@redhat.com>
2854 * target.h (struct target_ops)
2855 <to_get_min_fast_tracepoint_insn_len>: Add argument.
2856 (target_get_min_fast_tracepoint_insn_len): Add argument.
2857 * target.c (update_current_target): Update.
2858 * remote.c (remote_get_min_fast_tracepoint_insn_len): Add 'self'
2861 2014-02-19 Tom Tromey <tromey@redhat.com>
2863 * target.h (struct target_ops) <to_get_raw_trace_data>: Add
2865 (target_get_raw_trace_data): Add argument.
2866 * target.c (update_current_target): Update.
2867 * remote.c (remote_get_raw_trace_data): Add 'self' argument.
2869 2014-02-19 Tom Tromey <tromey@redhat.com>
2871 * target.h (struct target_ops) <to_upload_trace_state_variables>:
2873 (target_upload_trace_state_variables): Add argument.
2874 * target.c (update_current_target): Update.
2875 * remote.c (remote_upload_trace_state_variables): Add 'self'
2877 (remote_start_remote): Update.
2879 2014-02-19 Tom Tromey <tromey@redhat.com>
2881 * target.h (struct target_ops) <to_upload_tracepoints>: Add
2883 (target_upload_tracepoints): Add argument.
2884 * target.c (update_current_target): Update.
2885 * remote.c (remote_upload_tracepoints): Add 'self' argument.
2886 (remote_start_remote): Update.
2888 2014-02-19 Tom Tromey <tromey@redhat.com>
2890 * target.h (struct target_ops) <to_save_trace_data>: Add argument.
2891 (target_save_trace_data): Add argument.
2892 * target.c (update_current_target): Update.
2893 * remote.c (remote_save_trace_data): Add 'self' argument.
2895 2014-02-19 Tom Tromey <tromey@redhat.com>
2897 * tracepoint.c (tfile_get_trace_state_variable_value): Add 'self'
2899 * target.h (struct target_ops)
2900 <to_get_trace_state_variable_value>: Add argument.
2901 (target_get_trace_state_variable_value): Add argument.
2902 * target.c (update_current_target): Update.
2903 * remote.c (remote_get_trace_state_variable_value): Add 'self'
2905 * ctf.c (ctf_get_trace_state_variable_value): Add 'self' argument.
2907 2014-02-19 Tom Tromey <tromey@redhat.com>
2909 * tracepoint.c (tfile_trace_find): Add 'self' argument.
2910 * target.h (struct target_ops) <to_trace_find>: Add argument.
2911 (target_trace_find): Add argument.
2912 * target.c (update_current_target): Update.
2913 * remote.c (remote_trace_find): Add 'self' argument.
2914 * ctf.c (ctf_trace_find): Add 'self' argument.
2916 2014-02-19 Tom Tromey <tromey@redhat.com>
2918 * target.h (struct target_ops) <to_trace_stop>: Add argument.
2919 (target_trace_stop): Add argument.
2920 * target.c (update_current_target): Update.
2921 * remote.c (remote_trace_stop): Add 'self' argument.
2923 2014-02-19 Tom Tromey <tromey@redhat.com>
2925 * tracepoint.c (tfile_get_tracepoint_status): Add 'self' argument.
2926 * target.h (struct target_ops) <to_get_tracepoint_status>: Add
2928 (target_get_tracepoint_status): Add argument.
2929 * target.c (update_current_target): Update.
2930 * remote.c (remote_get_tracepoint_status): Add 'self' argument.
2932 2014-02-19 Tom Tromey <tromey@redhat.com>
2934 * tracepoint.c (tfile_get_trace_status): Add 'self' argument.
2935 * target.h (struct target_ops) <to_get_trace_status>: Add
2937 (target_get_trace_status): Add argument.
2938 * target.c (update_current_target): Update.
2939 * remote.c (remote_get_trace_status): Add 'self' argument.
2940 (remote_start_remote, remote_can_download_tracepoint): Update.
2941 * ctf.c (ctf_get_trace_status): Add 'self' argument.
2943 2014-02-19 Tom Tromey <tromey@redhat.com>
2945 * target.h (struct target_ops) <to_trace_start>: Add argument.
2946 (target_trace_start): Add argument.
2947 * target.c (update_current_target): Update.
2948 * remote.c (remote_trace_start): Add 'self' argument.
2950 2014-02-19 Tom Tromey <tromey@redhat.com>
2952 * target.h (struct target_ops) <to_trace_set_readonly_regions>:
2954 (target_trace_set_readonly_regions): Add argument.
2955 * target.c (update_current_target): Update.
2956 * remote.c (remote_trace_set_readonly_regions): Add 'self'
2959 2014-02-19 Tom Tromey <tromey@redhat.com>
2961 * target.h (struct target_ops) <to_disable_tracepoint>: Add
2963 (target_disable_tracepoint): Add argument.
2964 * target.c (update_current_target): Update.
2965 * remote.c (remote_disable_tracepoint): Add 'self' argument.
2967 2014-02-19 Tom Tromey <tromey@redhat.com>
2969 * target.h (struct target_ops) <to_enable_tracepoint>: Add
2971 (target_enable_tracepoint): Add argument.
2972 * target.c (update_current_target): Update.
2973 * remote.c (remote_enable_tracepoint): Add 'self' argument.
2975 2014-02-19 Tom Tromey <tromey@redhat.com>
2977 * target.h (struct target_ops) <to_download_trace_state_variable>:
2979 (target_download_trace_state_variable): Add argument.
2980 * target.c (update_current_target): Update.
2981 * remote.c (remote_download_trace_state_variable): Add 'self'
2984 2014-02-19 Tom Tromey <tromey@redhat.com>
2986 * target.h (struct target_ops) <to_can_download_tracepoint>: Add
2988 (target_can_download_tracepoint): Add argument.
2989 * target.c (update_current_target): Update.
2990 * remote.c (remote_can_download_tracepoint): Add 'self' argument.
2992 2014-02-19 Tom Tromey <tromey@redhat.com>
2994 * target.h (struct target_ops) <to_download_tracepoint>: Add
2996 (target_download_tracepoint): Add argument.
2997 * target.c (update_current_target): Update.
2998 * remote.c (remote_download_tracepoint): Add 'self' argument.
3000 2014-02-19 Tom Tromey <tromey@redhat.com>
3002 * target.h (struct target_ops) <to_trace_init>: Add argument.
3003 (target_trace_init): Add argument.
3004 * target.c (update_current_target): Update.
3005 * remote.c (remote_trace_init): Add 'self' argument.
3007 2014-02-19 Tom Tromey <tromey@redhat.com>
3009 * target.h (struct target_ops) <to_fileio_readlink>: Add argument.
3010 * target.c (target_fileio_readlink): Add argument.
3011 * remote.c (remote_hostio_readlink): Add 'self' argument.
3012 * inf-child.c (inf_child_fileio_readlink): Add 'self' argument.
3014 2014-02-19 Tom Tromey <tromey@redhat.com>
3016 * target.h (struct target_ops) <to_fileio_unlink>: Add argument.
3017 * target.c (target_fileio_unlink): Add argument.
3018 * remote.c (remote_hostio_unlink): Add 'self' argument.
3019 (remote_file_delete): Update.
3020 * inf-child.c (inf_child_fileio_unlink): Add 'self' argument.
3022 2014-02-19 Tom Tromey <tromey@redhat.com>
3024 * target.h (struct target_ops) <to_fileio_close>: Add argument.
3025 * target.c (target_fileio_close): Add argument.
3026 * remote.c (remote_hostio_close): Add 'self' argument.
3027 (remote_hostio_close_cleanup): Update.
3028 (remote_bfd_iovec_close, remote_file_put, remote_file_get):
3030 * inf-child.c (inf_child_fileio_close): Add 'self' argument.
3032 2014-02-19 Tom Tromey <tromey@redhat.com>
3034 * target.h (struct target_ops) <to_fileio_pread>: Add argument.
3035 * target.c (target_fileio_pread): Add argument.
3036 * remote.c (remote_hostio_pread): Add 'self' argument.
3037 (remote_bfd_iovec_pread, remote_file_get): Update.
3038 * inf-child.c (inf_child_fileio_pread): Add 'self' argument.
3040 2014-02-19 Tom Tromey <tromey@redhat.com>
3042 * target.h (struct target_ops) <to_fileio_pwrite>: Add argument.
3043 * target.c (target_fileio_pwrite): Add argument.
3044 * remote.c (remote_hostio_pwrite): Add 'self' argument.
3045 (remote_file_put): Update.
3046 * inf-child.c (inf_child_fileio_pwrite): Add 'self' argument.
3048 2014-02-19 Tom Tromey <tromey@redhat.com>
3050 * target.h (struct target_ops) <to_fileio_open>: Add argument.
3051 * target.c (target_fileio_open): Add argument.
3052 * remote.c (remote_hostio_open): Add 'self' argument.
3053 (remote_bfd_iovec_open): Add 'self' argument.
3054 (remote_file_put): Add 'self' argument.
3055 (remote_file_get): Add 'self' argument.
3056 * inf-child.c (inf_child_fileio_open): Add 'self' argument.
3058 2014-02-19 Tom Tromey <tromey@redhat.com>
3060 * target.h (struct target_ops) <to_can_run_breakpoint_commands>:
3062 (target_can_run_breakpoint_commands): Add argument.
3063 * target.c (update_current_target): Update.
3064 * remote.c (remote_can_run_breakpoint_commands): Add 'self'
3066 (remote_insert_breakpoint): Add 'self' argument.
3067 (remote_insert_hw_breakpoint): Add 'self' argument.
3068 (remote_can_run_breakpoint_commands): Add 'self' argument.
3070 2014-02-19 Tom Tromey <tromey@redhat.com>
3072 * target.h (struct target_ops)
3073 <to_supports_evaluation_of_breakpoint_conditions>: Add argument.
3074 (target_supports_evaluation_of_breakpoint_conditions): Add
3076 * target.c (update_current_target): Update.
3077 * remote.c (remote_supports_cond_breakpoints): Add 'self'
3079 (remote_insert_breakpoint): Add 'self' argument.
3080 (remote_insert_hw_breakpoint): Add 'self' argument.
3081 (remote_supports_cond_breakpoints): Add 'self' argument.
3083 2014-02-19 Tom Tromey <tromey@redhat.com>
3085 * target.h (struct target_ops) <to_supports_string_tracing>: Add
3087 (target_supports_string_tracing): Add argument.
3088 * target.c (update_current_target): Update.
3089 * remote.c (remote_supports_string_tracing): Add 'self' argument.
3091 2014-02-19 Tom Tromey <tromey@redhat.com>
3093 * target.h (struct target_ops)
3094 <to_supports_disable_randomization>: Add argument.
3095 * target.c (find_default_supports_disable_randomization): Add
3097 (target_supports_disable_randomization): Add argument.
3098 (find_default_supports_disable_randomization): Add 'self'
3100 * remote.c (extended_remote_supports_disable_randomization): Add
3102 (remote_supports_disable_randomization): Add 'self' argument.
3103 (extended_remote_create_inferior): Update.
3104 * linux-nat.c (linux_nat_supports_disable_randomization): Add
3107 2014-02-19 Tom Tromey <tromey@redhat.com>
3109 * target.h (struct target_ops)
3110 <to_supports_enable_disable_tracepoint>: Add argument.
3111 (target_supports_enable_disable_tracepoint): Add argument.
3112 * target.c (update_current_target): Update.
3113 * remote.c (remote_supports_enable_disable_tracepoint): Add 'self'
3116 2014-02-19 Tom Tromey <tromey@redhat.com>
3118 * target.h (struct target_ops) <to_supports_multi_process>: Add
3120 (target_supports_multi_process): Add argument.
3121 * target.c (update_current_target): Update.
3122 * remote.c (remote_supports_multi_process): Add 'self' argument.
3123 * linux-nat.c (linux_nat_supports_multi_process): Add 'self'
3125 * darwin-nat.c (darwin_supports_multi_process): Add 'self'
3128 2014-02-19 Tom Tromey <tromey@redhat.com>
3130 * target.h (struct target_ops) <to_execution_direction>: Add
3132 (target_execution_direction): Add argument.
3133 * target.c (default_execution_direction): Add 'self' argument.
3134 * record-full.c (record_full_execution_direction): Add 'self'
3137 2014-02-19 Tom Tromey <tromey@redhat.com>
3139 * target.h (struct target_ops) <to_can_execute_reverse>: Add
3141 (target_can_execute_reverse): Add argument.
3142 * remote.c (remote_can_execute_reverse): Add 'self' argument.
3143 * record-full.c (record_full_can_execute_reverse): Add 'self'
3145 * record-btrace.c (record_btrace_can_execute_reverse): Add 'self'
3148 2014-02-19 Tom Tromey <tromey@redhat.com>
3150 * windows-nat.c (windows_get_ada_task_ptid): Add 'self' argument.
3151 * target.h (struct target_ops) <to_get_ada_task_ptid>: Add
3153 (target_get_ada_task_ptid): Add argument.
3154 * target.c (update_current_target): Update.
3155 (default_get_ada_task_ptid): Add 'self' argument.
3156 * sol-thread.c (sol_get_ada_task_ptid): Add 'self' argument.
3157 * remote.c (remote_get_ada_task_ptid): Add 'self' argument.
3158 * ravenscar-thread.c (ravenscar_get_ada_task_ptid): Add 'self'
3160 * linux-thread-db.c (thread_db_get_ada_task_ptid): Add 'self'
3162 * inf-ttrace.c (inf_ttrace_get_ada_task_ptid): Add 'self'
3164 * dec-thread.c (dec_thread_get_ada_task_ptid): Add 'self'
3166 * darwin-nat.c (darwin_get_ada_task_ptid): Add 'self' argument.
3167 * aix-thread.c (aix_thread_get_ada_task_ptid): Add 'self'
3170 2014-02-19 Tom Tromey <tromey@redhat.com>
3172 * target.h (struct target_ops) <to_goto_bookmark>: Add argument.
3173 (target_goto_bookmark): Add argument.
3174 * target.c (dummy_goto_bookmark): Add 'self' argument.
3175 * record-full.c (record_full_goto_bookmark): Add 'self' argument.
3177 2014-02-19 Tom Tromey <tromey@redhat.com>
3179 * target.h (struct target_ops) <to_get_bookmark>: Add argument.
3180 (target_get_bookmark): Add argument.
3181 * target.c (dummy_get_bookmark): Add 'self' argument.
3182 * record-full.c (record_full_get_bookmark): Add 'self' argument.
3184 2014-02-19 Tom Tromey <tromey@redhat.com>
3186 * target.h (struct target_ops) <to_make_corefile_notes>: Add
3188 (target_make_corefile_notes): Add argument.
3189 * target.c (dummy_make_corefile_notes): Add 'self' argument.
3190 * procfs.c (procfs_make_note_section): Add 'self' argument.
3191 (procfs_make_note_section): Add 'self' argument.
3192 (procfs_make_note_section): Add 'self' argument.
3193 * linux-nat.c (linux_nat_make_corefile_notes): Add 'self'
3195 * fbsd-nat.h (fbsd_make_corefile_notes): Add 'self' argument.
3196 * fbsd-nat.c (fbsd_make_corefile_notes): Add 'self' argument.
3197 * exec.c (exec_make_note_section): Add 'self' argument.
3198 (exec_make_note_section): Add 'self' argument.
3200 2014-02-19 Tom Tromey <tromey@redhat.com>
3202 * target.h (struct target_ops) <to_find_memory_regions>: Add
3204 (target_find_memory_regions): Add argument.
3205 * target.c (dummy_find_memory_regions): Add 'self' argument.
3206 * procfs.c (proc_find_memory_regions): Add 'self' argument.
3207 * gnu-nat.c (gnu_find_memory_regions): Add 'self' argument.
3208 * fbsd-nat.h (fbsd_find_memory_regions): Add 'self' argument.
3209 * fbsd-nat.c (fbsd_find_memory_regions): Add 'self' argument.
3210 * exec. (exec_do_find_memory_regions): New global.
3211 (exec_set_find_memory_regions): Rewrite.
3212 (exec_find_memory_regions): New function.
3213 (init_exec_ops): Use exec_find_memory_regions.
3215 2014-02-19 Tom Tromey <tromey@redhat.com>
3217 * target.h (struct target_ops) <to_supports_non_stop>: Add
3219 * target.c (find_default_supports_non_stop): Add argument.
3220 (target_supports_non_stop): Add argument.
3221 (find_default_supports_non_stop): Add 'self' argument.
3222 * remote.c (remote_supports_non_stop): Add 'self' argument.
3223 * linux-nat.c (linux_nat_supports_non_stop): Add 'self' argument.
3225 2014-02-19 Tom Tromey <tromey@redhat.com>
3227 * target.h (struct target_ops) <to_log_command>: Add argument.
3228 (target_log_command): Add argument.
3229 * serial.h (serial_log_command): Add 'self' argument.
3230 * serial.c (serial_log_command): Add 'self' argument.
3232 2014-02-19 Tom Tromey <tromey@redhat.com>
3234 * windows-nat.c (windows_pid_to_exec_file): Add 'self' argument.
3235 * target.h (struct target_ops) <to_pid_to_exec_file>: Add
3237 (target_pid_to_exec_file): Add argument.
3238 * target.c (debug_to_pid_to_exec_file): Add argument.
3239 (update_current_target): Update.
3240 * nbsd-nat.h (nbsd_pid_to_exec_file): Add 'self' argument.
3241 * nbsd-nat.c (nbsd_pid_to_exec_file): Add 'self' argument.
3242 * linux-nat.c (linux_child_pid_to_exec_file): Add 'self' argument.
3243 (linux_handle_extended_wait): Update.
3244 * inf-child.c (inf_child_pid_to_exec_file): Add 'self' argument.
3245 * fbsd-nat.h (fbsd_pid_to_exec_file): Add 'self' argument.
3246 * fbsd-nat.c (fbsd_pid_to_exec_file): Add 'self' argument.
3247 * darwin-nat.c (darwin_pid_to_exec_file): Add 'self' argument.
3249 2014-02-19 Tom Tromey <tromey@redhat.com>
3251 * target.h (struct target_ops) <to_rcmd>: Add argument.
3252 (target_rcmd): Add argument.
3253 * target.c (debug_to_rcmd): Add argument.
3254 (update_current_target, do_monitor_command): Update.
3255 * remote.c (remote_rcmd): Add 'self' argument.
3256 * monitor.c (monitor_rcmd): Add 'self' argument.
3258 2014-02-19 Tom Tromey <tromey@redhat.com>
3260 * windows-nat.c (windows_stop): Add 'self' argument.
3261 * target.h (struct target_ops) <to_stop>: Add argument.
3262 * target.c (target_stop): Add argument.
3263 (debug_to_stop): Add argument.
3264 (update_current_target): Update.
3265 * remote.c (remote_stop): Add 'self' argument.
3266 * remote-sim.c (gdbsim_stop): Add 'self' argument.
3267 (gdbsim_cntrl_c): Update.
3268 * remote-m32r-sdi.c (m32r_stop): Add 'self' argument.
3269 * procfs.c (procfs_stop): Add 'self' argument.
3270 * nto-procfs.c (procfs_stop): Add 'self' argument.
3271 * monitor.c (monitor_stop): Add 'self' argument.
3272 (monitor_open): Update.
3273 * linux-nat.c (linux_nat_stop): Add argument.
3274 * inf-ptrace.c (inf_ptrace_stop): Add 'self' argument.
3275 * gnu-nat.c (gnu_stop): Add 'self' argument.
3276 * darwin-nat.c (darwin_stop): Add 'self' argument.
3278 2014-02-19 Tom Tromey <tromey@redhat.com>
3280 * target.h (struct target_ops) <to_thread_name>: Add argument.
3281 * target.c (target_thread_name): Add argument.
3282 (update_current_target): Update.
3283 * linux-nat.c (linux_nat_thread_name): Add 'self' argument.
3285 2014-02-19 Tom Tromey <tromey@redhat.com>
3287 * target.h (struct target_ops) <to_extra_thread_info>: Add
3289 (target_extra_thread_info): Add argument.
3290 * target.c (update_current_target): Update.
3291 * remote.c (remote_threads_extra_info): Add 'self' argument.
3292 * ravenscar-thread.c (ravenscar_extra_thread_info): Add 'self'
3294 * nto-tdep.h (nto_extra_thread_info): Add 'self' argument.
3295 * nto-tdep.c (nto_extra_thread_info): Add 'self' argument.
3296 * linux-thread-db.c (thread_db_extra_thread_info): Add 'self'
3298 * inf-ttrace.c (inf_ttrace_extra_thread_info): Add 'self'
3300 * bsd-uthread.c (bsd_uthread_extra_thread_info): Add 'self'
3302 * aix-thread.c (aix_thread_extra_thread_info): Add 'self'
3305 2014-02-19 Tom Tromey <tromey@redhat.com>
3307 * target.h (struct target_ops) <to_program_signals>: Add argument.
3308 * target.c (target_program_signals): Add argument.
3309 * remote.c (remote_program_signals): Add 'self' argument.
3311 2014-02-19 Tom Tromey <tromey@redhat.com>
3313 * target.h (struct target_ops) <to_pass_signals>: Add argument.
3314 * target.c (target_pass_signals): Add argument.
3315 * remote.c (remote_pass_signals): Add 'self' argument.
3316 (remote_start_remote): Update.
3317 * procfs.c (procfs_pass_signals): Add 'self' argument.
3318 * nto-procfs.c (procfs_pass_signals): Add 'self' argument.
3319 * linux-nat.c (linux_nat_pass_signals): Add 'self' argument.
3320 (linux_nat_create_inferior, linux_nat_attach): Update.
3322 2014-02-19 Tom Tromey <tromey@redhat.com>
3324 * windows-nat.c (windows_can_run): Add 'self' argument.
3325 * target.h (struct target_ops) <to_can_run>: Add argument.
3326 (target_can_run): Add argument.
3327 * target.c (debug_to_can_run): Add argument.
3328 (update_current_target): Update.
3329 * nto-procfs.c (procfs_can_run): Add 'self' argument.
3330 * inf-child.c (inf_child_can_run): Add 'self' argument.
3331 * go32-nat.c (go32_can_run): Add 'self' argument.
3333 2014-02-19 Tom Tromey <tromey@redhat.com>
3335 * target.h (struct target_ops) <to_has_exited>: Add argument.
3336 (target_has_exited): Add argument.
3337 * target.c (debug_to_has_exited): Add argument.
3338 (update_current_target): Update.
3340 2014-02-19 Tom Tromey <tromey@redhat.com>
3342 * target.h (struct target_ops) <to_set_syscall_catchpoint>: Add
3344 (target_set_syscall_catchpoint): Add argument.
3345 * linux-nat.c (linux_child_set_syscall_catchpoint): Add 'self'
3347 * target.c (update_current_target): Update.
3349 2014-02-19 Tom Tromey <tromey@redhat.com>
3351 * target.h (struct target_ops) <to_remove_exec_catchpoint>: Add
3353 (target_remove_exec_catchpoint): Add argument.
3354 * target.c (debug_to_remove_exec_catchpoint): Add argument.
3355 (update_current_target): Update.
3356 * linux-nat.c (linux_child_remove_exec_catchpoint): Add 'self'
3359 2014-02-19 Tom Tromey <tromey@redhat.com>
3361 * target.h (struct target_ops) <to_insert_exec_catchpoint>: Add
3363 (target_insert_exec_catchpoint): Add argument.
3364 * target.c (debug_to_insert_exec_catchpoint): Add argument.
3365 (update_current_target): Update.
3366 * linux-nat.c (linux_child_insert_exec_catchpoint): Add 'self'
3369 2014-02-19 Tom Tromey <tromey@redhat.com>
3371 * target.h (struct target_ops) <to_remove_vfork_catchpoint>: Add
3373 (target_remove_vfork_catchpoint): Add argument.
3374 * target.c (debug_to_remove_vfork_catchpoint): Add argument.
3375 (update_current_target): Update.
3376 * linux-nat.c (linux_child_remove_vfork_catchpoint): Add 'self'
3379 2014-02-19 Tom Tromey <tromey@redhat.com>
3381 * target.h (struct target_ops) <to_insert_vfork_catchpoint>: Add
3383 (target_insert_vfork_catchpoint): Add argument.
3384 * target.c (debug_to_insert_vfork_catchpoint): Add argument.
3385 (update_current_target): Update.
3386 * linux-nat.c (linux_child_insert_vfork_catchpoint): Add 'self'
3389 2014-02-19 Tom Tromey <tromey@redhat.com>
3391 * target.h (struct target_ops) <to_remove_fork_catchpoint>: Add
3393 (target_remove_fork_catchpoint): Add argument.
3394 * target.c (debug_to_remove_fork_catchpoint): Add argument.
3395 (update_current_target): Update.
3396 * linux-nat.c (linux_child_remove_fork_catchpoint): Add 'self'
3399 2014-02-19 Tom Tromey <tromey@redhat.com>
3401 * target.h (struct target_ops) <to_insert_fork_catchpoint>: Add
3403 (target_insert_fork_catchpoint): Add argument.
3404 * target.c (debug_to_insert_fork_catchpoint): Add argument.
3405 (update_current_target): Update.
3406 * linux-nat.c (linux_child_insert_fork_catchpoint): Add 'self'
3409 2014-02-19 Tom Tromey <tromey@redhat.com>
3411 * target.h (struct target_ops) <to_post_startup_inferior>: Add
3413 (target_post_startup_inferior): Add argument.
3414 * target.c (debug_to_post_startup_inferior): Add argument.
3415 (update_current_target): Update.
3416 * spu-linux-nat.c (spu_child_post_startup_inferior): Add 'self'
3418 * linux-nat.c (linux_child_post_startup_inferior): Add 'self'
3420 * inf-ptrace.c (inf_ptrace_post_startup_inferior): Add 'self'
3422 * inf-child.c (inf_child_post_startup_inferior): Add 'self'
3424 * i386-linux-nat.c (i386_linux_child_post_startup_inferior): Add
3426 (super_post_startup_inferior): Likewise.
3427 * amd64-linux-nat.c (amd64_linux_child_post_startup_inferior): Add
3429 (super_post_startup_inferior): Likewise.
3430 * aarch64-linux-nat.c (aarch64_linux_child_post_startup_inferior):
3431 Add 'self' argument.
3432 (super_post_startup_inferior): Likewise.
3434 2014-02-19 Tom Tromey <tromey@redhat.com>
3436 * target.h (struct target_ops) <to_load>: Add argument.
3437 * target.c (target_load): Add argument.
3438 (debug_to_load): Add argument.
3439 (update_current_target): Update.
3440 * remote.c (remote_load): Add 'self' argument.
3441 * remote-sim.c (gdbsim_load): Add 'self' argument.
3442 * remote-mips.c (mips_load): Add 'self' argument.
3443 * remote-m32r-sdi.c (m32r_load): Add 'self' argument.
3444 * monitor.c (monitor_load): Add 'self' argument.
3445 * m32r-rom.c (m32r_load_gen): Add 'self' argument.
3447 2014-02-19 Tom Tromey <tromey@redhat.com>
3449 * target.h (struct target_ops) <to_terminal_info>: Add argument.
3450 (target_terminal_info): Add argument.
3451 * target.c (debug_to_terminal_info): Add argument.
3452 (default_terminal_info): Likewise.
3453 * inflow.c (child_terminal_info): Add 'self' argument.
3454 * inferior.h (child_terminal_info): Add 'self' argument.
3455 * go32-nat.c (go32_terminal_info): Add 'self' argument.
3457 2014-02-19 Tom Tromey <tromey@redhat.com>
3459 * target.h (struct target_ops) <to_terminal_save_ours>: Add
3461 (target_terminal_save_ours): Add argument.
3462 * target.c (debug_to_terminal_save_ours): Add argument.
3463 (update_current_target): Update.
3464 * inflow.c (terminal_save_ours): Add 'self' argument.
3465 * inferior.h (terminal_save_ours): Add 'self' argument.
3467 2014-02-19 Tom Tromey <tromey@redhat.com>
3469 * target.h (struct target_ops) <to_terminal_ours>: Add argument.
3470 (target_terminal_ours): Add argument.
3471 * target.c (debug_to_terminal_ours): Add argument.
3472 (update_current_target): Update.
3473 * remote.c (remote_terminal_ours): Add 'self' argument.
3474 (remote_close): Update.
3475 * linux-nat.c (linux_nat_terminal_ours): Add 'self' argument.
3476 * inflow.c (terminal_ours): Add 'self' argument.
3477 * inferior.h (terminal_ours): Add 'self' argument.
3478 * go32-nat.c (go32_terminal_ours): Add 'self' argument.
3480 2014-02-19 Pedro Alves <palves@redhat.com>
3481 Tom Tromey <tromey@redhat.com>
3483 * target.h (struct target_ops) <to_terminal_ours_for_output>: Add
3485 (target_terminal_ours_for_output): Add argument.
3486 * target.c (debug_to_terminal_ours_for_output): Add argument.
3487 (update_current_target): Update.
3488 * inflow.c (terminal_ours_for_output): Add 'self' argument.
3489 * inferior.h (terminal_ours_for_output): Add 'self' argument.
3490 * go32-nat.c (go32_terminal_ours): Add 'self' argument.
3492 2014-02-19 Tom Tromey <tromey@redhat.com>
3494 * target.h (struct target_ops) <to_terminal_inferior>: Add
3496 * target.c (target_terminal_inferior): Add argument.
3497 (update_current_target): Update.
3498 * remote.c (remote_terminal_inferior): Add 'self' argument.
3499 * linux-nat.c (linux_nat_terminal_inferior): Add 'self' argument.
3500 * inflow.c (terminal_inferior): Add 'self' argument.
3501 * inferior.h (terminal_inferior): Add 'self' argument.
3502 * go32-nat.c (go32_terminal_inferior): Add 'self' argument.
3503 (go32_terminal_inferior): Add 'self' argument.
3505 2014-02-19 Tom Tromey <tromey@redhat.com>
3507 * target.h (struct target_ops) <to_terminal_init>: Add argument.
3508 (target_terminal_init): Add argument.
3509 * target.c (debug_to_terminal_init): Add argument.
3510 (update_current_target): Update.
3511 * inflow.c (terminal_init_inferior): Add 'self' argument.
3512 * inferior.h (terminal_init_inferior): Add 'self' argument.
3513 * go32-nat.c (go32_terminal_init): Add 'self' argument.
3514 * gnu-nat.c (gnu_terminal_init_inferior): Add 'self' argument.
3516 2014-02-19 Tom Tromey <tromey@redhat.com>
3518 * target.h (struct target_ops)
3519 <to_can_accel_watchpoint_condition>: Add argument.
3520 (target_can_accel_watchpoint_condition): Add argument.
3521 * target.c (debug_to_can_accel_watchpoint_condition): Add
3523 (update_current_target): Update.
3524 * ppc-linux-nat.c (ppc_linux_can_accel_watchpoint_condition): Add
3527 2014-02-19 Tom Tromey <tromey@redhat.com>
3529 * target.h (struct target_ops) <to_region_ok_for_hw_watchpoint>:
3531 (target_region_ok_for_hw_watchpoint): Add argument.
3532 * target.c (debug_to_region_ok_for_hw_watchpoint): Add argument.
3533 (default_region_ok_for_hw_watchpoint): Add argument.
3534 * spu-multiarch.c (spu_region_ok_for_hw_watchpoint): Add argument.
3535 * s390-linux-nat.c (s390_region_ok_for_hw_watchpoint): Add 'self'
3537 * remote.c (remote_region_ok_for_hw_watchpoint): Add 'self'
3539 * procfs.c (procfs_region_ok_for_hw_watchpoint): Add 'self'
3541 * ppc-linux-nat.c (ppc_linux_region_ok_for_hw_watchpoint): Add
3543 * mips-linux-nat.c (mips_linux_region_ok_for_hw_watchpoint): Add
3545 * inf-ttrace.c (inf_ttrace_region_ok_for_hw_watchpoint): Add
3547 * i386-nat.c (i386_region_ok_for_watchpoint): Add 'self' argument.
3548 * arm-linux-nat.c (arm_linux_region_ok_for_hw_watchpoint): Add
3550 * aarch64-linux-nat.c (aarch64_linux_region_ok_for_hw_watchpoint):
3551 Add 'self' argument.
3553 2014-02-19 Tom Tromey <tromey@redhat.com>
3555 * target.h (struct target_ops) <to_insert_watchpoint>: Add
3557 (target_insert_watchpoint): Add argument.
3558 * target.c (debug_to_insert_watchpoint): Add argument.
3559 (update_current_target): Update.
3560 * s390-linux-nat.c (s390_insert_watchpoint): Add 'self' argument.
3561 * remote.c (remote_insert_watchpoint): Add 'self' argument.
3562 * remote-mips.c (mips_insert_watchpoint): Add 'self' argument.
3563 * remote-m32r-sdi.c (m32r_insert_watchpoint): Add 'self' argument.
3564 * procfs.c (procfs_insert_watchpoint): Add 'self' argument.
3565 * ppc-linux-nat.c (ppc_linux_insert_watchpoint): Add 'self'
3567 * nto-procfs.c (procfs_insert_hw_watchpoint): Add 'self' argument.
3568 (procfs_insert_hw_watchpoint): Add 'self' argument.
3569 * mips-linux-nat.c (mips_linux_insert_watchpoint): Add 'self'
3571 * inf-ttrace.c (inf_ttrace_insert_watchpoint): Add 'self'
3573 * ia64-linux-nat.c (ia64_linux_insert_watchpoint): Add 'self'
3575 * i386-nat.c (i386_insert_watchpoint): Add 'self' argument.
3576 * arm-linux-nat.c (arm_linux_insert_watchpoint): Add 'self'
3578 * aarch64-linux-nat.c (aarch64_linux_insert_watchpoint): Add
3581 2014-02-19 Tom Tromey <tromey@redhat.com>
3583 * target.h (struct target_ops) <to_remove_watchpoint>: Add
3585 (target_remove_watchpoint): Add argument.
3586 * target.c (debug_to_remove_watchpoint): Add argument.
3587 (update_current_target): Update.
3588 * s390-linux-nat.c (s390_remove_watchpoint): Add 'self' argument.
3589 * remote.c (remote_remove_watchpoint): Add 'self' argument.
3590 * remote-mips.c (mips_remove_watchpoint): Add 'self' argument.
3591 * remote-m32r-sdi.c (m32r_remove_watchpoint): Add 'self' argument.
3592 * procfs.c (procfs_remove_watchpoint): Add 'self' argument.
3593 * ppc-linux-nat.c (ppc_linux_remove_watchpoint): Add 'self'
3595 * nto-procfs.c (procfs_remove_hw_watchpoint): Add 'self' argument.
3596 * mips-linux-nat.c (mips_linux_remove_watchpoint): Add 'self'
3598 * inf-ttrace.c (inf_ttrace_remove_watchpoint): Add 'self'
3600 * ia64-linux-nat.c (ia64_linux_remove_watchpoint): Add 'self'
3602 * i386-nat.c (i386_remove_watchpoint): Add 'self' argument.
3603 * arm-linux-nat.c (arm_linux_remove_watchpoint): Add 'self'
3605 * aarch64-linux-nat.c (aarch64_linux_remove_watchpoint): Add
3608 2014-02-19 Tom Tromey <tromey@redhat.com>
3610 * target.h (struct target_ops) <to_remove_hw_breakpoint>: Add
3612 (target_remove_hw_breakpoint): Add argument.
3613 * target.c (debug_to_remove_hw_breakpoint): Add argument.
3614 (update_current_target): Update.
3615 * remote.c (remote_remove_hw_breakpoint): Add 'self' argument.
3616 * ppc-linux-nat.c (ppc_linux_remove_hw_breakpoint): Add 'self'
3618 * i386-nat.c (i386_remove_hw_breakpoint): Add 'self' argument.
3619 * arm-linux-nat.c (arm_linux_remove_hw_breakpoint): Add 'self'
3621 * aarch64-linux-nat.c (aarch64_linux_remove_hw_breakpoint): Add
3624 2014-02-19 Tom Tromey <tromey@redhat.com>
3626 * target.h (struct target_ops) <to_insert_hw_breakpoint>: Add
3628 (target_insert_hw_breakpoint): Add argument.
3629 * target.c (debug_to_insert_hw_breakpoint): Add argument.
3630 (update_current_target): Update.
3631 * remote.c (remote_insert_hw_breakpoint): Add 'self' argument.
3632 * ppc-linux-nat.c (ppc_linux_insert_hw_breakpoint): Add 'self'
3634 * nto-procfs.c (procfs_insert_hw_breakpoint): Add 'self' argument.
3635 * i386-nat.c (i386_insert_hw_breakpoint): Add 'self' argument.
3636 * arm-linux-nat.c (arm_linux_insert_hw_breakpoint): Add 'self'
3638 * aarch64-linux-nat.c (aarch64_linux_insert_hw_breakpoint): Add
3641 2014-02-19 Tom Tromey <tromey@redhat.com>
3643 * target.h (struct target_ops) <to_can_use_hw_breakpoint>: Add
3645 (target_can_use_hardware_watchpoint): Add argument.
3646 * target.c (debug_to_can_use_hw_breakpoint): Add argument.
3647 (update_current_target): Update.
3648 * spu-linux-nat.c (spu_can_use_hw_breakpoint): Add 'self'
3650 * s390-linux-nat.c (s390_can_use_hw_breakpoint): Add 'self'
3652 * remote.c (remote_check_watch_resources): Add 'self' argument.
3653 * remote-mips.c (mips_can_use_watchpoint): Add 'self' argument.
3654 * remote-m32r-sdi.c (m32r_can_use_hw_watchpoint): Add 'self'
3656 * procfs.c (procfs_can_use_hw_breakpoint): Add 'self' argument.
3657 * ppc-linux-nat.c (ppc_linux_can_use_hw_breakpoint): Add 'self'
3659 * nto-procfs.c (procfs_can_use_hw_breakpoint): Add 'self'
3661 * mips-linux-nat.c (mips_linux_can_use_hw_breakpoint): Add 'self'
3663 * inf-ttrace.c (inf_ttrace_can_use_hw_breakpoint): Add 'self'
3665 * ia64-linux-nat.c (ia64_linux_can_use_hw_breakpoint): Add 'self'
3667 * ia64-hpux-nat.c (ia64_hpux_can_use_hw_breakpoint): Add 'self'
3669 * i386-nat.c (i386_can_use_hw_breakpoint): Add 'self' argument.
3670 * arm-linux-nat.c (arm_linux_can_use_hw_breakpoint): Add 'self'
3672 * aarch64-linux-nat.c (aarch64_linux_can_use_hw_breakpoint): Add
3675 2014-02-19 Tom Tromey <tromey@redhat.com>
3677 * target.h (struct target_ops) <to_post_attach>: Add argument.
3678 (target_post_attach): Add argument.
3679 * target.c (debug_to_post_attach): Add argument.
3680 (update_current_target): Update.
3681 * spu-linux-nat.c (spu_child_post_attach): Add 'self' argument.
3682 * nto-procfs.c (procfs_post_attach): Add 'self' argument.
3683 * linux-nat.c (linux_child_post_attach): Add 'self' argument.
3684 * inf-ptrace.c (inf_ptrace_post_attach): Add 'self' argument.
3685 * inf-child.c (inf_child_post_attach): Add 'self' argument.
3687 2014-02-19 Tom Tromey <tromey@redhat.com>
3689 * windows-nat.c (windows_close): Add 'self' argument.
3690 * tracepoint.c (tfile_close): Add 'self' argument.
3691 * target.h (struct target_ops) <to_close>: Add argument.
3692 * target.c (target_close): Add argument.
3693 (update_current_target): Update.
3694 * remote.c (remote_close): Add 'self' argument.
3695 * remote-sim.c (gdbsim_close): Add 'self' argument.
3696 * remote-mips.c (mips_close): Add 'self' argument.
3697 * remote-m32r-sdi.c (m32r_close): Add 'self' argument.
3698 * record-full.c (record_full_close): Add 'self' argument.
3699 * record-btrace.c (record_btrace_close): Add 'self' argument.
3700 * monitor.h (monitor_close): Add 'self' argument.
3701 * monitor.c (monitor_close): Add 'self' argument.
3702 * mips-linux-nat.c (mips_linux_close): Add 'self' argument.
3703 * linux-nat.c (linux_nat_close): Add argument.
3704 * go32-nat.c (go32_close): Add 'self' argument.
3705 * exec.c (exec_close_1): Add 'self' argument.
3706 * ctf.c (ctf_close): Add 'self' argument.
3707 * corelow.c (core_close): Add 'self' argument.
3708 (core_close_cleanup): Update.
3709 * bsd-uthread.c (bsd_uthread_close): Add 'self' argument.
3710 * bsd-kvm.c (bsd_kvm_close): Add 'self' argument.
3712 2014-02-19 Tom Tromey <tromey@redhat.com>
3714 * remote.c (remote_load): New function.
3715 (init_remote_ops): Use it.
3717 2014-02-19 Tom Tromey <tromey@redhat.com>
3719 * common/linux-btrace.c (linux_supports_btrace): Add "ops"
3721 * common/linux-btrace.h (linux_supports_btrace): Update.
3722 * remote.c (remote_supports_btrace): Add "self" argument.
3723 * target-delegates.c: Rebuild.
3724 * target.c (target_supports_btrace): Remove.
3725 * target.h (struct target_ops) <to_supports_btrace>: Add
3726 target_ops argument.
3727 (target_supports_btrace): New define.
3729 2014-02-19 Tom Tromey <tromey@redhat.com>
3731 * record-full.c (record_full_beneath_to_resume_ops)
3732 (record_full_beneath_to_resume, record_full_beneath_to_wait_ops)
3733 (record_full_beneath_to_wait)
3734 (record_full_beneath_to_store_registers_ops)
3735 (record_full_beneath_to_store_registers)
3736 (record_full_beneath_to_xfer_partial_ops)
3737 (record_full_beneath_to_xfer_partial)
3738 (record_full_beneath_to_insert_breakpoint_ops)
3739 (record_full_beneath_to_insert_breakpoint)
3740 (record_full_beneath_to_remove_breakpoint_ops)
3741 (record_full_beneath_to_remove_breakpoint)
3742 (record_full_beneath_to_stopped_by_watchpoint)
3743 (record_full_beneath_to_stopped_data_address)
3744 (record_full_beneath_to_async, tmp_to_resume_ops, tmp_to_resume)
3745 (tmp_to_wait_ops, tmp_to_wait, tmp_to_store_registers_ops)
3746 (tmp_to_store_registers, tmp_to_xfer_partial_ops)
3747 (tmp_to_xfer_partial, tmp_to_instmp_to_insert_breakpoint_ops)
3748 (tmp_to_insert_breakpoint, tmp_to_remove_breakpoint_ops)
3749 (tmp_to_remove_breakpoint, tmp_to_stopped_by_watchpoint)
3750 (tmp_to_stopped_data_address, tmp_to_async): Remove.
3751 (record_full_open_1, record_full_open): Update. Use RECORD_IS_USED.
3752 (record_full_resume, record_full_wait_1)
3753 (record_full_stopped_by_watchpoint, record_full_stopped_data_address)
3754 (record_full_store_registers, record_full_xfer_partial)
3755 (record_full_insert_breakpoint, record_full_remove_breakpoint)
3756 (record_full_async, record_full_core_xfer_partial): Use target
3758 * target-delegates.c: Rebuild.
3759 * target.c (current_xfer_partial): Remove.
3760 (update_current_target): Do not INHERIT or de_fault
3761 to_insert_breakpoint, to_remove_breakpoint,
3762 to_stopped_data_address, to_stopped_by_watchpoint, to_can_async_p,
3763 to_is_async_p, to_async. Do not set to_xfer_partial field.
3764 (default_xfer_partial): Simplify.
3765 (current_xfer_partial): Remove.
3766 (target_wait, target_resume): Simplify.
3767 (find_default_can_async_p, find_default_is_async_p): Update.
3768 (init_dummy_target): Don't set to_can_async_p, to_is_async_p,
3769 to_xfer_partial, to_stopped_by_watchpoint,
3770 to_stopped_data_address.
3771 (target_store_registers): Simplify.
3772 (forward_target_remove_breakpoint)
3773 (forward_target_insert_breakpoint): Remove.
3774 (target_remove_breakpoint, target_insert_breakpoint)
3775 (debug_to_insert_breakpoint, debug_to_remove_breakpoint): Update.
3776 * target.h (struct target_ops) <to_resume, to_wait,
3777 to_store_registers, to_insert_breakpoint, to_remove_breakpoint,
3778 to_stopped_by_watchpoint, to_stopped_data_address, to_can_async_p,
3779 to_is_async_p, to_async, to_xfer_partial>: Add TARGET_DEFAULT
3781 (forward_target_remove_breakpoint)
3782 (forward_target_insert_breakpoint): Remove.
3783 * record-btrace.c (record_btrace_remove_breakpoint): Delegate
3785 (record_btrace_insert_breakpoint): Delegate directly.
3787 2014-02-19 Tom Tromey <tromey@redhat.com>
3790 * target-delegates.c: New file.
3791 * target.c: Include target-delegates.c.
3792 (init_dummy_target): Call install_dummy_methods.
3793 (complete_target_initialization): Call install_delegators.
3794 * target.h (TARGET_DEFAULT_IGNORE, TARGET_DEFAULT_NORETURN)
3795 (TARGET_DEFAULT_RETURN, TARGET_DEFAULT_FUNC): New defines.
3796 * make-target-delegates: New file.
3798 2014-02-19 Tom Tromey <tromey@redhat.com>
3800 * record.c (find_record_target): Use find_target_at.
3801 * target.c (find_target_at): New function.
3802 * target.h (find_target_at): Declare.
3804 2014-02-19 Tom Tromey <tromey@redhat.com>
3806 * aarch64-linux-nat.c (aarch64_linux_stopped_by_watchpoint):
3808 * arm-linux-nat.c (arm_linux_stopped_by_watchpoint): Add
3810 * i386-nat.c (i386_stopped_by_watchpoint): Add 'ops' argument.
3811 * ia64-linux-nat.c (ia64_linux_stopped_by_watchpoint): Add
3813 * inf-ttrace.c (inf_ttrace_stopped_by_watchpoint): Add 'ops'
3815 * linux-nat.c (save_sigtrap): Update.
3816 (linux_nat_stopped_by_watchpoint, linux_nat_is_async_p)
3817 (linux_nat_can_async_p, linux_nat_async): Add 'ops' argument.
3818 (linux_nat_close): Update.
3819 * mips-linux-nat.c (mips_linux_stopped_by_watchpoint): Add 'ops'
3821 * ppc-linux-nat.c (ppc_linux_stopped_by_watchpoint): Add 'ops'
3823 * procfs.c (procfs_stopped_by_watchpoint): Add 'ops' argument.
3824 * record-full.c (record_full_beneath_to_stopped_by_watchpoint)
3825 (record_full_beneath_to_async, tmp_to_stopped_by_watchpoint)
3826 (tmp_to_async): Add 'ops' argument.
3827 (record_full_stopped_by_watchpoint, record_full_async)
3828 (record_full_can_async_p, record_full_is_async_p): Add 'ops'
3830 * remote-m32r-sdi.c (m32r_insert_breakpoint, m32r_remove_breakpoint)
3831 (m32r_stopped_by_watchpoint): Add 'ops' argument.
3832 * remote-mips.c (mips_stopped_by_watchpoint): Add 'ops' argument.
3833 * remote.c (remote_stopped_by_watchpoint_p, remote_can_async_p)
3834 (remote_is_async_p, remote_async): Add 'ops' argument.
3835 (remote_stopped_data_address): Update.
3836 * s390-nat.c (s390_stopped_by_watchpoint): Add 'ops' argument.
3837 * target.c (update_current_target)
3838 (find_default_can_async_p, find_default_is_async_p): Update.
3839 (init_dummy_target): Update.
3840 (debug_to_stopped_by_watchpoint): Add 'ops' argument.
3841 * target.h (struct target_ops) <to_stopped_by_watchpoint,
3842 to_can_async_p, to_is_async_p, to_async>: Add 'ops' argument.
3843 (target_can_async_p, target_is_async_p, target_async)
3844 (target_stopped_by_watchpoint): Update.
3846 2014-02-19 Yao Qi <yao@codesourcery.com>
3849 * gdbarch.sh: Remove startup_gdbarch.
3850 * gdbarch.c: Regenerated.
3851 * gdbarch.h: Likewise.
3853 2014-02-17 Kevin Buettner <kevinb@redhat.com>
3855 * rl78-tdep.c (rl78_g10_register_name): New function.
3856 (rl78_return_value): Add g10 support.
3857 (rl78_gdbarch_init): Register rl78_g10_register_name for the
3860 2014-02-17 Doug Evans <xdje42@gmail.com>
3862 * Makefile.in (SUBDIR_GUILE_OBS): Resort alphabetically.
3863 (SUBDIR_GUILE_SRCS): Ditto.
3864 (scm-gsmob.o): Ditto.
3866 2014-02-17 Yao Qi <yao@codesourcery.com>
3868 * gnu-nat.c (ILL_RPC): Declare defined function.
3870 2014-02-17 Yao Qi <yao@codesourcery.com>
3872 * gnu-nat.c (gnu_read_inferior): Change 'copy_count' type to
3873 mach_msg_type_number_t.
3874 (gnu_write_inferior): Likewise.
3876 2014-02-17 Yao Qi <yao@codesourcery.com>
3878 * gnu-nat.c (proc_get_exception_port): Use 'lu' insetad of 'd'
3880 (proc_steal_exc_port, make_proc, inf_set_pid): Likewise.
3881 (inf_validate_procs, inf_signal): Likewise.
3882 (S_exception_raise_request): Likewise.
3883 (do_mach_notify_dead_name): Likewise.
3884 (steal_exc_port): Likewise.
3885 (gnu_read_inferior): Change 'copy_count''s type to
3886 mach_msg_type_number_t.
3887 (gnu_write_inferior): Likewise. Use 'lx' instead of 'x' in
3890 2014-02-16 Thomas Schwinge <thomas@codesourcery.com>
3892 * gnu-nat.c (struct inf): Change pending_execs member to a 1-bit
3893 flag. Adjust all users; in particular...
3894 (gnu_wait): ..., don't decrement its value in here...
3895 (gnu_create_inferior): ..., and instead set the flag in here,
3896 around the startup_inferior call, and call that one with
3897 START_INFERIOR_TRAPS_EXPECTED.
3899 * gnu-nat.c (ill_rpc): Remove function; replaced with this...
3900 (ILL_RPC): ... new macro.
3901 (do_mach_notify_no_senders, do_mach_notify_port_deleted)
3902 (do_mach_notify_msg_accepted, do_mach_notify_port_destroyed)
3903 (do_mach_notify_send_once, S_proc_setmsgport_reply)
3904 (S_proc_getmsgport_reply, S_msg_sig_post_reply): Generate stub
3905 functions with ILL_RPC macro.
3906 (S_proc_pid2task_reply, S_proc_task2pid_reply)
3907 (S_proc_task2proc_reply, S_proc_proc2task_reply)
3908 (S_proc_pid2proc_reply, S_proc_getprocinfo_reply)
3909 (S_proc_getprocargs_reply, S_proc_getprocenv_reply)
3910 (S_proc_getloginid_reply, S_proc_getloginpids_reply)
3911 (S_proc_getlogin_reply, S_proc_getsid_reply)
3912 (S_proc_getsessionpgids_reply, S_proc_getsessionpids_reply)
3913 (S_proc_getsidport_reply, S_proc_getpgrp_reply)
3914 (S_proc_getpgrppids_reply, S_proc_get_tty_reply)
3915 (S_proc_getnports_reply, S_proc_is_important_reply)
3916 (S_proc_get_code_reply): New stub functions, generated with
3919 * reply_mig_hack.awk: In phase 5, keep going if we have not yet
3920 collected the type check structures.
3922 * reply_mig_hack.awk: Don't expect to see the auto keyword.
3924 2014-02-14 Doug Evans <dje@google.com>
3926 * target.c (target_write_partial): Fix result type.
3928 2014-02-14 Jose E. Marchesi <jose.marchesi@oracle.com>
3930 * sparc64-linux-nat.c (_initialize_sparc64_linux_nat): Register
3931 the proper offsets to access fpregset_t.
3933 2014-02-13 Sanimir Agovic <sanimir.agovic@intel.com>
3935 * cris-tdep.c (cris_supply_gregset): Remove zerobuf.
3936 (_initialize_cris_tdep): Remove cris_set_cmdlist, cris_show_cmdlist.
3937 * h8300-tdep.c (setmachinelist): Remove global.
3938 * hppa-tdep.c (hppa_sigtramp): Remove global.
3939 * mipsnbsd-tdep.c (sigtramp_retcode_mipsel, sigtramp_retcode_mipseb
3940 RETCODE_NWORDS, RETCODE_SIZE): Wrap code with #if 0.
3941 * ravenscar-thread.c (update_target_observer): Remove global.
3942 * rs6000-tdep.c (rs6000_gdbarch_init): Remove segment_regs.
3944 2014-02-12 Tom Tromey <tromey@redhat.com>
3946 * common/rsp-low.c: Update comments.
3947 * common/rsp-low.h: Update comments.
3949 2014-02-12 Tom Tromey <tromey@redhat.com>
3951 * common/rsp-low.c (convert_ascii_to_int): Remove.
3952 * common/rsp-low.h (convert_ascii_to_int): Don't declare.
3954 2014-02-12 Tom Tromey <tromey@redhat.com>
3956 * common/rsp-low.h (unhexify): Don't declare.
3957 * common/rsp-low.c (unhexify): Remove.
3959 2014-02-12 Tom Tromey <tromey@redhat.com>
3961 * common/rsp-low.h (convert_int_to_ascii): Don't declare.
3962 * common/rsp-low.c (convert_int_to_ascii): Remove.
3964 2014-02-12 Tom Tromey <tromey@redhat.com>
3966 * common/rsp-low.h (hexify): Don't declare.
3967 * common/rsp-low.c (hexify): Remove.
3969 2014-02-12 Tom Tromey <tromey@redhat.com>
3971 * common/rsp-low.c (hexify): Never take strlen of argument.
3973 2014-02-12 Tom Tromey <tromey@redhat.com>
3975 * common/rsp-low.c (bin2hex): Never take strlen of argument.
3976 * remote.c (extended_remote_run, remote_rcmd)
3977 (remote_download_trace_state_variable, remote_save_trace_data)
3978 (remote_set_trace_notes): Update.
3979 * tracepoint.c (encode_source_string, tfile_write_status)
3980 (tfile_write_uploaded_tsv): Update.
3982 2014-02-12 Tom Tromey <tromey@redhat.com>
3984 * tracepoint.c: Include rsp-low.h.
3985 * remote.h (hex2bin, bin2hex, unpack_varlen_hex): Don't declare.
3986 * remote.c: Include rsp-low.h.
3987 (hexchars, ishex, unpack_varlen_hex, pack_nibble, pack_hex_byte)
3988 (fromhex, hex2bin, tohex, bin2hex, remote_escape_output)
3989 (remote_unescape_input): Move to common/rsp-low.c.
3990 * common/rsp-low.h: New file.
3991 * common/rsp-low.c: New file.
3992 * Makefile.in (SFILES): Add common/rsp-low.c.
3993 (HFILES_NO_SRCDIR): Add common/rsp-low.h.
3994 (COMMON_OBS): Add rsp-low.o.
3995 (rsp-low.o): New target.
3997 2014-02-12 Tom Tromey <tromey@redhat.com>
3999 * utils.h: Include print-utils.h.
4000 (host_address_to_string, plongest, pulongest, phex, phex_nz)
4001 (int_string, core_addr_to_string, core_addr_to_string_nz)
4002 (hex_string, hex_string_custom): Don't declare.
4003 * utils.c (NUMCELLS, CELLSIZE, get_cell, decimal2str, pulongest)
4004 (plongest, thirty_two, phex, phex_nz, octal2str, hex_string)
4005 (hex_string_custom, int_string, core_addr_to_string)
4006 (core_addr_to_string_nz, host_address_to_string): Move to
4007 common/print-utils.c.
4008 * common/print-utils.h: New file.
4009 * common/print-utils.c: New file
4010 * Makefile.in (SFILES): Add common/print-utils.c.
4011 (HFILES_NO_SRCDIR): Add common/print-utils.h.
4012 (COMMON_OBS): Add print-utils.o.
4013 (print-utils.o): New target.
4015 2014-02-12 Tom Tromey <tromey@redhat.com>
4017 * nios2-tdep.c (nios2_stub_frame_base_address): Remove.
4019 2014-02-12 Mark Kettenis <kettenis@gnu.org>
4021 * sparc64obsd-tdep.c (sparc64obsd_init_abi): Call obsd_init_abi.
4023 2014-02-12 Mark Kettenis <kettenis@gnu.org>
4025 * inf-ptrace.c (inf_ptrace_xfer_partial): Return TARGET_XFER_EOF
4026 if a PT_IO ptrace request returns sucessfully but indicates that 0
4027 bytes were transferred.
4029 2014-02-12 Pedro Alves <palves@redhat.com>
4030 Kevin Buettner <kevinb@redhat.com>
4032 * gnu-v3-abi.c (build_gdb_vtable_type): Return a type marked with
4033 TYPE_INSTANCE_FLAG_CODE_SPACE.
4035 2014-02-12 Pedro Alves <palves@redhat.com>
4037 * h8300-tdep.c (pseudo_from_raw_register)
4038 (raw_from_pseudo_register): New functions.
4039 (h8300_pseudo_register_read, h8300_pseudo_register_write): Use
4042 2014-02-12 Pedro Alves <palves@redhat.com>
4044 * h8300-tdep.c (h8300_register_sim_regno): New function.
4045 (h8300_gdbarch_init): Install h8300_register_sim_regno as
4046 gdbarch_register_sim_regno hook.
4048 2014-02-12 Sanimir Agovic <sanimir.agovic@intel.com>
4050 * nios2-tdep.c (nios2_stub_frame_base): Remove global.
4052 2014-02-12 Sanimir Agovic <sanimir.agovic@intel.com>
4054 * tic6x-tdep.c (tic6x_gdbarch_init): Call frame_base_set_default.
4056 2014-02-12 Mark Kettenis <kettenis@gnu.org>
4058 * obsd-tdep.h (obsd_init_abi): New prototype.
4059 * obsd-tdep.c: Define enum with OpenBSD signal numbers.
4060 (obsd_gdb_signal_from_target, obsd_gdb_signal_to_target)
4061 (obsd_init_abi): New functions.
4062 * i386obsd-tdep.c: Include "obsd-tdep.h".
4063 (i386obsd_init_abi): Call obsd_init_abi.
4064 * amd64obsd-tdep.c: Include "obsd-tdep.h".
4065 (amd64obsd_init_abi): Call obsd_init_abi.
4066 * configure.tgt (i[34567]86-*-openbsd*, x86_64-*-openbsd*): Add
4067 obsd-tdep.c to gdb_target_obs.
4069 2014-02-11 Jose E. Marchesi <jose.marchesi@oracle.com>
4071 * sparc64-tdep.c (sparc64_store_arguments): Do not align complex
4072 double float arguments to 16-byte in the argument slots.
4074 2014-02-11 Doug Evans <xdje42@gmail.com>
4076 * configure.ac: Don't crash if pkg-config is not found and guile
4077 wasn't explicitly requested. Use AC_MSG_ERROR instead of AC_ERROR
4079 * configure: Regenerate.
4081 2014-02-11 Yao Qi <yao@codesourcery.com>
4083 * aix-thread.c (aix_thread_xfer_partial): Update comments.
4084 * auxv.c (procfs_xfer_auxv, memory_xfer_auxv): Likewise.
4085 * bsd-uthread.c (bsd_uthread_xfer_partial): Likewise.
4086 * gnu-nat.c (gnu_xfer_memory): Likewise.
4087 * inf-ptrace.c (inf_ptrace_xfer_partial): Likewise.
4088 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
4089 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
4090 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise.
4092 2014-02-11 Yao Qi <yao@codesourcery.com>
4094 * target.h (enum target_xfer_error): Rename to ...
4095 (enum target_xfer_status): ... it. New. All users updated.
4096 (enum target_xfer_status) <TARGET_XFER_OK>, <TARGET_XFER_EOF>:
4098 (TARGET_XFER_STATUS_ERROR_P): New macro.
4099 (target_xfer_error_to_string): Remove declaration.
4100 (target_xfer_status_to_string): Declare.
4101 (target_xfer_partial_ftype): Adjust it.
4102 (struct target_ops) <to_xfer_partial>: Return
4103 target_xfer_status. Add argument xfered_len. Update
4105 * target.c (target_xfer_error_to_string): Rename to ...
4106 (target_xfer_status_to_string): ... it. New. All callers
4108 (target_read_live_memory): Likewise. Call target_xfer_partial
4109 instead of target_read.
4110 (memory_xfer_live_readonly_partial): Return
4111 target_xfer_status. Add argument xfered_len.
4112 (raw_memory_xfer_partial): Likewise.
4113 (memory_xfer_partial_1): Likewise.
4114 (memory_xfer_partial): Likewise.
4115 (target_xfer_partial): Likewise. Check *XFERED_LEN is set
4116 properly. Update debug message.
4117 (default_xfer_partial, current_xfer_partial): Likewise.
4118 (target_write_partial): Likewise.
4119 (target_read_partial): Likewise. All callers updated.
4120 (read_whatever_is_readable): Likewise.
4121 (target_write_with_progress): Likewise.
4122 (target_read_alloc_1): Likewise.
4124 * aix-thread.c (aix_thread_xfer_partial): Likewise.
4125 * auxv.c (procfs_xfer_auxv): Likewise.
4126 (ld_so_xfer_auxv, memory_xfer_auxv): Likewise.
4127 * bfd-target.c (target_bfd_xfer_partial): Likewise.
4128 * bsd-kvm.c (bsd_kvm_xfer_partial): Likewise.
4129 * bsd-uthread.c (bsd_uthread_xfer_partia): Likewise.
4130 * corefile.c (read_memory): Adjust.
4131 * corelow.c (core_xfer_partial): Likewise.
4132 * ctf.c (ctf_xfer_partial): Likewise.
4133 * darwin-nat.c (darwin_read_dyld_info): Likewise. All callers
4135 (darwin_xfer_partial): Likewise.
4136 * exec.c (section_table_xfer_memory_partial): Likewise. All
4138 (exec_xfer_partial): Likewise.
4139 * exec.h (section_table_xfer_memory_partial): Update
4141 * gnu-nat.c (gnu_xfer_memory): Likewise. Assert 'res' is not
4143 (gnu_xfer_partial): Likewise.
4144 * ia64-hpux-nat.c (ia64_hpux_xfer_memory_no_bs): Likewise.
4145 (ia64_hpux_xfer_memory, ia64_hpux_xfer_uregs): Likewise.
4146 (ia64_hpux_xfer_solib_got): Likewise.
4147 * inf-ptrace.c (inf_ptrace_xfer_partial): Likewise. Change
4148 type of 'partial_len' to ULONGEST.
4149 * inf-ttrace.c (inf_ttrace_xfer_partial): Likewise.
4150 * linux-nat.c (linux_xfer_siginfo ): Likewise.
4151 (linux_nat_xfer_partial): Likewise.
4152 (linux_proc_xfer_partial, linux_xfer_partial): Likewise.
4153 (linux_proc_xfer_spu, linux_nat_xfer_osdata): Likewise.
4154 * monitor.c (monitor_xfer_memory): Likewise.
4155 (monitor_xfer_partial): Likewise.
4156 * procfs.c (procfs_xfer_partial): Likewise.
4157 * record-btrace.c (record_btrace_xfer_partial): Likewise.
4158 * record-full.c (record_full_xfer_partial): Likewise.
4159 (record_full_core_xfer_partial): Likewise.
4160 * remote-sim.c (gdbsim_xfer_memory): Likewise.
4161 (gdbsim_xfer_partial): Likewise.
4162 * remote.c (remote_write_bytes_aux): Likewise. All callers
4164 (remote_write_bytes, remote_read_bytes): Likewise. All
4166 (remote_flash_erase): Likewise. All callers updated.
4167 (remote_write_qxfer): Likewise. All callers updated.
4168 (remote_read_qxfer): Likewise. All callers updated.
4169 (remote_xfer_partial): Likewise.
4170 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
4171 (rs6000_xfer_shared_libraries): Likewise.
4172 * sol-thread.c (sol_thread_xfer_partial): Likewise.
4173 (sol_thread_xfer_partial): Likewise.
4174 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
4175 (sparc_xfer_partial): Likewise.
4176 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise. All callers
4178 (spu_xfer_partial): Likewise.
4179 * spu-multiarch.c (spu_xfer_partial): Likewise.
4180 * tracepoint.c (tfile_xfer_partial): Likewise.
4181 * windows-nat.c (windows_xfer_memory): Likewise.
4182 (windows_xfer_shared_libraries): Likewise.
4183 (windows_xfer_partial): Likewise.
4184 * valprint.c: Replace 'target_xfer_error' with
4185 'target_xfer_status' in comments.
4187 2014-02-11 Simon Marchi <simon.marchi@ericsson.com> (tiny patch)
4189 Checked in by Joel Brobecker <brobecker@adacore.com>.
4190 * mi/mi-main.c (mi_cmd_data_write_memory_bytes): Fix comment.
4192 2014-02-11 Joel Brobecker <brobecker@adacore.com>
4194 * symfile-debug.c (debug_qf_expand_symtabs_matching): Reformat
4195 function parameters.
4197 2014-02-10 Will Newton <will.newton@linaro.org>
4199 * elfread.c (elf_rel_plt_read): Look for a .got section if
4200 looking up .got.plt fails.
4201 (elf_gnu_ifunc_resolve_by_got): Call gdbarch_addr_bits_remove
4202 on address passed to elf_gnu_ifunc_record_cache.
4203 (elf_gnu_ifunc_resolve_addr): Likewise.
4204 (elf_gnu_ifunc_resolver_return_stop): Likewise.
4206 2014-02-10 Jose E. Marchesi <jose.marchesi@oracle.com>
4208 * sparc-tdep.c (sparc_in_function_epilogue_p): New function.
4209 (X_RETTURN): New macro.
4210 * sparc-tdep.h: sparc_in_function_epilogue_p prototype.
4212 * sparc64-tdep.c (sparc64_init_abi): Hook
4213 sparc_in_function_epilogue_p.
4215 2014-02-10 Gary Benson <gbenson@redhat.com>
4217 * symfile-debug.c (debug_qf_expand_symtabs_matching):
4218 Rename name_matcher to symbol_matcher.
4220 2014-02-10 Gary Benson <gbenson@redhat.com>
4222 * symfile-debug.c (debug_qf_expand_symtabs_matching):
4223 Use expand_symtabs_file_matcher_ftype and
4224 expand_symtabs_symbol_matcher_ftype.
4226 2014-02-10 Joel Brobecker <brobecker@adacore.com>
4228 * ada-lang.c (struct cache_entry, HASH_SIZE): Move definition up.
4229 (struct ada_symbol_cache): New.
4230 (ada_free_symbol_cache): Forward declare.
4231 (struct ada_pspace_data): New.
4232 (ada_pspace_data_handle): New static global.
4233 (get_ada_pspace_data, ada_pspace_data_cleanup)
4234 (ada_init_symbol_cache, ada_free_symbol_cache): New functions.
4235 (cache_space, cache): Delete, now folded inside struct
4237 (ada_get_symbol_cache): New function.
4238 (ada_clear_symbol_cache, find_entry, cache_symbol): Adjust
4240 (_initialize_ada_language): Remove initialization of cache_space.
4241 Move call to observer_attach_inferior_exit up, grouping it
4242 with the other observer registrations inside this function.
4243 Rename command to be more general. Add call to
4244 register_program_space_data_with_cleanup.
4246 2014-02-10 Joel Brobecker <brobecker@adacore.com>
4248 * ada-tasks.c (ada_tasks_new_objfile_observer): Renames
4249 ada_new_objfile_observer.
4250 (ada_tasks_normal_stop_observer): Renames ada_normal_stop_observer.
4251 (_initialize_tasks): Update uses of ada_new_objfile_observer
4252 and ada_tasks_normal_stop_observer.
4254 2014-02-10 Joel Brobecker <brobecker@adacore.com>
4256 * ada-lang.c (ada_evaluate_subexp): Set the type of the value
4257 returned by the 'Length attribute to integer.
4259 2014-02-10 Joel Brobecker <brobecker@adacore.com>
4261 * ada-lang.c (_initialize_ada_language): Initialize
4262 cache_space obstack.
4264 2014-02-10 Joel Brobecker <brobecker@adacore.com>
4266 * ada-lang.c (HASH_SIZE): New macro.
4267 (struct cache_entry): New type.
4268 (cache_space, cache): New static globals.
4269 (ada_clear_symbol_cache, find_entry): New functions.
4270 (lookup_cached_symbol, cache_symbol): Implement.
4271 (ada_new_objfile_observer, ada_free_objfile_observer): New.
4272 (_initialize_ada_language): Attach ada_new_objfile_observer
4273 and ada_free_objfile_observer.
4275 2014-02-10 Joel Brobecker <brobecker@adacore.com>
4277 * ada-lang.c (ada_add_block_symbols, add_defn_to_vec)
4278 (lookup_cached_symbol, ada_add_local_symbols): Add "const" to
4279 struct block * parameter.
4280 (ada_lookup_symbol_list_worker): Constify local variable "block".
4281 Remove cast which is no longer necessary.
4283 2014-02-10 Doug Evans <xdje42@gmail.com>
4285 Add Guile as an extension language.
4286 * NEWS: Mention Guile scripting.
4287 * Makefile.in (SUBDIR_GUILE_OBS): New variable.
4288 (SUBDIR_GUILE_SRCS, SUBDIR_GUILE_DEPS): New variables
4289 (SUBDIR_GUILE_LDFLAGS, SUBDIR_GUILE_CFLAGS): New variables.
4290 (INTERNAL_CPPFLAGS): Add GUILE_CPPFLAGS.
4291 (CLIBS): Add GUILE_LIBS.
4292 (install-guile): New rule.
4293 (guile.o): New rule.
4294 (scm-arch.o, scm-auto-load.o, scm-block.o): New rules.
4295 (scm-breakpoint.o, scm-disasm.o, scm-exception.o): New rules.
4296 (scm-frame.o, scm-iterator.o, scm-lazy-string.o): New rules.
4297 (scm-math.o, scm-objfile.o, scm-ports.o): New rules.
4298 (scm-pretty-print.o, scm-safe-call.o, scm-gsmob.o): New rules.
4299 (scm-string.o, scm-symbol.o, scm-symtab.o): New rules.
4300 (scm-type.o, scm-utils.o, scm-value.o): New rules.
4301 * configure.ac: New option --with-guile.
4302 * configure: Regenerate.
4303 * config.in: Regenerate.
4304 * auto-load.c: Remove #include "python/python.h". Add #include
4305 "gdb/section-scripts.h".
4306 (source_section_scripts): Handle Guile scripts.
4307 (_initialize_auto_load): Add name of Guile objfile script to
4308 scripts-directory help text.
4309 * breakpoint.c (condition_command): Tweak comment to include Scheme.
4310 * breakpoint.h (gdbscm_breakpoint_object): Add forward decl.
4311 (struct breakpoint): New member scm_bp_object.
4312 * defs.h (enum command_control_type): New value guile_control.
4313 * cli/cli-cmds.c: Remove #include "python/python.h". Add #include
4315 (show_user): Update comment.
4316 (_initialize_cli_cmds): Update help text for "show user". Update help
4317 text for max-user-call-depth.
4318 * cli/cli-script.c: Remove #include "python/python.h". Add #include
4320 (multi_line_command_p): Add guile_control.
4321 (print_command_lines): Handle guile_control.
4322 (execute_control_command, recurse_read_control_structure): Ditto.
4323 (process_next_line): Recognize "guile" commands.
4324 * disasm.c (gdb_disassemble_info): Make non-static.
4325 * disasm.h: #include "dis-asm.h".
4326 (struct gdbarch): Add forward decl.
4327 (gdb_disassemble_info): Declare.
4328 * extension.c: #include "guile/guile.h".
4329 (extension_languages): Add guile.
4330 (get_ext_lang_defn): Handle EXT_LANG_GDB.
4331 * extension.h (enum extension_language): New value EXT_LANG_GUILE.
4332 * gdbtypes.c (get_unsigned_type_max): New function.
4333 (get_signed_type_minmax): New function.
4334 * gdbtypes.h (get_unsigned_type_max): Declare.
4335 (get_signed_type_minmax): Declare.
4336 * guile/README: New file.
4337 * guile/guile-internal.h: New file.
4338 * guile/guile.c: New file.
4339 * guile/guile.h: New file.
4340 * guile/scm-arch.c: New file.
4341 * guile/scm-auto-load.c: New file.
4342 * guile/scm-block.c: New file.
4343 * guile/scm-breakpoint.c: New file.
4344 * guile/scm-disasm.c: New file.
4345 * guile/scm-exception.c: New file.
4346 * guile/scm-frame.c: New file.
4347 * guile/scm-gsmob.c: New file.
4348 * guile/scm-iterator.c: New file.
4349 * guile/scm-lazy-string.c: New file.
4350 * guile/scm-math.c: New file.
4351 * guile/scm-objfile.c: New file.
4352 * guile/scm-ports.c: New file.
4353 * guile/scm-pretty-print.c: New file.
4354 * guile/scm-safe-call.c: New file.
4355 * guile/scm-string.c: New file.
4356 * guile/scm-symbol.c: New file.
4357 * guile/scm-symtab.c: New file.
4358 * guile/scm-type.c: New file.
4359 * guile/scm-utils.c: New file.
4360 * guile/scm-value.c: New file.
4361 * guile/lib/gdb.scm: New file.
4362 * guile/lib/gdb/boot.scm: New file.
4363 * guile/lib/gdb/experimental.scm: New file.
4364 * guile/lib/gdb/init.scm: New file.
4365 * guile/lib/gdb/iterator.scm: New file.
4366 * guile/lib/gdb/printing.scm: New file.
4367 * guile/lib/gdb/types.scm: New file.
4368 * data-directory/Makefile.in (GUILE_SRCDIR): New variable.
4369 (VPATH): Add $(GUILE_SRCDIR).
4370 (GUILE_DIR): New variable.
4371 (GUILE_INSTALL_DIR, GUILE_FILES): New variables.
4372 (all): Add stamp-guile dependency.
4373 (stamp-guile): New rule.
4374 (clean-guile, install-guile, uninstall-guile): New rules.
4375 (install-only): Add install-guile dependency.
4376 (uninstall): Add uninstall-guile dependency.
4377 (clean): Add clean-guile dependency.
4379 2014-02-09 Doug Evans <xdje42@gmail.com>
4381 Revert this patch (which I approved, mea culpa).
4383 2014-02-08 Mark Kettenis <kettenis@gnu.org>
4385 * Makefile.in (all-lib): Remove.
4386 ($(LIBGNU) $(GNULIB_H)): Replace with gits of remove all-lib target.
4388 2014-02-09 Jan Kratochvil <jan.kratochvil@redhat.com>
4390 Fix Python stack corruption.
4391 * python/py-linetable.c (ltpy_get_pcs_for_line, ltpy_has_line): Use
4394 2014-02-08 Mark Kettenis <kettenis@gnu.org>
4396 * Makefile.in (all-lib): Remove.
4397 ($(LIBGNU) $(GNULIB_H)): Replace with gits of remove all-lib target.
4399 2014-02-07 Doug Evans <dje@google.com>
4401 * extension-priv.h (extension_language_script_ops): Add comment.
4402 (extension_language_ops): Add comment.
4403 (active_ext_lang_state): Fix typo in comment.
4405 2014-02-07 Pedro Alves <palves@redhat.com>
4407 PR breakpoints/16292
4408 * infrun.c (handle_signal_stop) <signal arrives while stepping
4409 over a breakpoint>: Switch back to the stepping thread.
4411 2014-02-07 Yao Qi <yao@codesourcery.com>
4413 * target.c (target_xfer_partial): Return zero if LEN is zero.
4415 2014-02-07 Yao Qi <yao@codesourcery.com>
4417 * auxv.c (procfs_xfer_auxv): Replace -1 with TARGET_XFER_E_IO.
4418 (ld_so_xfer_auxv): Likewise.
4419 * bfd-target.c (target_bfd_xfer_partial): Likewise.
4420 * bsd-kvm.c (bsd_kvm_xfer_partial): Likewise.
4421 * corelow.c (core_xfer_partial): Likewise.
4422 * ctf.c (ctf_xfer_partial): Likewise.
4423 * darwin-nat.c (darwin_read_dyld_info): Likewise.
4424 (darwin_xfer_partial): Likewise.
4425 * exec.c (exec_xfer_partial): Likewise.
4426 * gnu-nat.c (gnu_xfer_partial): Likewise.
4427 * ia64-hpux-nat.c (ia64_hpux_xfer_uregs): Likewise.
4428 * inf-ptrace.c (inf_ptrace_xfer_partial): Likewise.
4429 * inf-ttrace.c (inf_ttrace_xfer_partial): Likewise.
4430 * linux-nat.c (linux_xfer_siginfo): Likewise.
4431 (linux_proc_xfer_spu): Likewise.
4432 * procfs.c (procfs_xfer_partial): Likewise.
4433 * record-full.c (record_full_xfer_partial): Likewise.
4434 (record_full_core_xfer_partial): Likewise.
4435 * remote-sim.c (gdbsim_xfer_partial): Likewise.
4436 * remote.c (remote_write_qxfer): Likewise.
4437 (remote_write_qxfer, remote_read_qxfer): Likewise.
4438 (remote_xfer_partial): Likewise.
4439 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
4440 (rs6000_xfer_shared_libraries): Likewise.
4441 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
4442 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise.
4443 (spu_xfer_partial): Likewise.
4444 * target.c (memory_xfer_partial_1): Likewise.
4445 * tracepoint.c (tfile_xfer_partial): Likewise.
4446 * windows-nat.c (windows_xfer_shared_libraries): Likewise.
4447 (windows_xfer_partial): Likewise.
4449 2014-02-07 Yao Qi <yao@codesourcery.com>
4451 * gdbarch.sh (core_xfer_shared_libraries): Returns ULONGEST. Add
4453 (core_xfer_shared_libraries_aix): Likewise.
4454 * gdbarch.c, gdbarch.h: Regenerated.
4455 * i386-cygwin-tdep.c (windows_core_xfer_shared_libraries): Return
4456 ULONGEST. Change 'len_avail' type to ULONGEST.
4457 * rs6000-aix-tdep.c (rs6000_aix_ld_info_to_xml): Likewise.
4458 * rs6000-aix-tdep.h (rs6000_aix_ld_info_to_xml): Update
4460 (rs6000_aix_core_xfer_shared_libraries_aix): Return ULONGEST.
4462 2014-02-07 Yao Qi <yao@codesourcery.com>
4464 * corefile.c (memory_error): Get 'exception' from ERR and pass
4465 'exception' to throw_error.
4467 2014-02-06 Doug Evans <xdje42@gmail.com>
4469 * configure.ac (libpython checking): Remove all but python.o from
4470 CONFIG_OBS. Remove all but python.c from CONFIG_SRCS.
4471 * configure: Regenerate.
4473 * Makefile.in (SFILES): Add extension.c.
4474 (HFILES_NO_SRCDIR): Add extension.h, extension-priv.h
4475 (COMMON_OBS): Add extension.o.
4476 * extension.h: New file.
4477 * extension-priv.h: New file.
4478 * extension.c: New file.
4480 * python/python-internal.h: #include "extension.h".
4481 (gdbpy_auto_load_enabled): Declare.
4482 (gdbpy_apply_val_pretty_printer): Declare.
4483 (gdbpy_apply_frame_filter): Declare.
4484 (gdbpy_preserve_values): Declare.
4485 (gdbpy_breakpoint_cond_says_stop): Declare.
4486 (gdbpy_breakpoint_has_cond): Declare.
4487 (void source_python_script_for_objfile): Delete.
4488 * python/python.c: #include "extension-priv.h".
4489 Delete inclusion of "observer.h".
4490 (extension_language_python): Moved here and renamed from
4491 script_language_python in py-auto-load.c.
4492 Redefined to be of type extension_language_defn.
4493 (python_extension_script_ops): New global.
4494 (python_extension_ops): New global.
4495 (struct python_env): New member previous_active.
4496 (restore_python_env): Call restore_active_ext_lang.
4497 (ensure_python_env): Call set_active_ext_lang.
4498 (gdbpy_clear_quit_flag): Renamed from clear_quit_flag, made static.
4500 (gdbpy_set_quit_flag): Renamed from set_quit_flag, made static.
4502 (gdbpy_check_quit_flag): Renamed from check_quit_flag, made static.
4504 (gdbpy_eval_from_control_command): Renamed from
4505 eval_python_from_control_command, made static. New arg extlang.
4506 (gdbpy_source_script) Renamed from source_python_script, made static.
4508 (gdbpy_before_prompt_hook): Renamed from before_prompt_hook. Change
4509 result to int. New arg extlang.
4510 (gdbpy_source_objfile_script): Renamed from
4511 source_python_script_for_objfile, made static. New arg extlang.
4512 (gdbpy_start_type_printers): Renamed from start_type_printers, made
4513 static. New args extlang, extlang_printers. Change result type to
4515 (gdbpy_apply_type_printers): Renamed from apply_type_printers, made
4516 static. New arg extlang. Rename arg printers to extlang_printers
4517 and change type to ext_lang_type_printers *.
4518 (gdbpy_free_type_printers): Renamed from free_type_printers, made
4519 static. Replace argument arg with extlang, extlang_printers.
4520 (!HAVE_PYTHON, eval_python_from_control_command): Delete.
4521 (!HAVE_PYTHON, source_python_script): Delete.
4522 (!HAVE_PYTHON, gdbpy_should_stop): Delete.
4523 (!HAVE_PYTHON, gdbpy_breakpoint_has_py_cond): Delete.
4524 (!HAVE_PYTHON, start_type_printers): Delete.
4525 (!HAVE_PYTHON, apply_type_printers): Delete.
4526 (!HAVE_PYTHON, free_type_printers): Delete.
4527 (_initialize_python): Delete call to observer_attach_before_prompt.
4528 (finalize_python): Set/restore active extension language.
4529 (gdbpy_finish_initialization) Renamed from
4530 finish_python_initialization, made static. New arg extlang.
4531 (gdbpy_initialized): New function.
4532 * python/python.h: #include "extension.h". Delete #include
4533 "value.h", "mi/mi-cmds.h".
4534 (extension_language_python): Declare.
4535 (GDBPY_AUTO_FILE_NAME): Delete.
4536 (enum py_bt_status): Moved to extension.h and renamed to
4538 (enum frame_filter_flags): Moved to extension.h.
4539 (enum py_frame_args): Moved to extension.h and renamed to
4540 ext_lang_frame_args.
4541 (finish_python_initialization): Delete.
4542 (eval_python_from_control_command): Delete.
4543 (source_python_script): Delete.
4544 (apply_val_pretty_printer): Delete.
4545 (apply_frame_filter): Delete.
4546 (preserve_python_values): Delete.
4547 (gdbpy_script_language_defn): Delete.
4548 (gdbpy_should_stop, gdbpy_breakpoint_has_py_cond): Delete.
4549 (start_type_printers, apply_type_printers, free_type_printers): Delete.
4551 * auto-load.c: #include "extension.h".
4552 (GDB_AUTO_FILE_NAME): Delete.
4553 (auto_load_gdb_scripts_enabled): Make public. New arg extlang.
4554 (script_language_gdb): Delete, moved to extension.c and renamed to
4555 extension_language_gdb.
4556 (source_gdb_script_for_objfile): Delete.
4557 (auto_load_pspace_info): New member unsupported_script_warning_printed.
4558 (loaded_script): Change type of language member to
4559 struct extension_language_defn *.
4560 (init_loaded_scripts_info): Initialize
4561 unsupported_script_warning_printed.
4562 (maybe_add_script): Make static. Change type of language arg to
4563 struct extension_language_defn *.
4564 (clear_section_scripts): Reset unsupported_script_warning_printed.
4565 (auto_load_objfile_script_1): Rewrite to use extension language API.
4566 (auto_load_objfile_script): Make public. Remove support-compiled-in
4567 and auto-load-enabled checks, moved to auto_load_scripts_for_objfile.
4568 (source_section_scripts): Rewrite to use extension language API.
4569 (load_auto_scripts_for_objfile): Rewrite to use
4570 auto_load_scripts_for_objfile.
4571 (collect_matching_scripts_data): Change type of language member to
4572 struct extension_language_defn *.
4573 (auto_load_info_scripts): Change type of language arg to
4574 struct extension_language_defn *.
4575 (unsupported_script_warning_print): New function.
4576 (script_not_found_warning_print): Make static.
4577 (_initialize_auto_load): Rewrite construction of scripts-directory
4579 * auto-load.h (struct objfile): Add forward decl.
4580 (struct script_language): Delete.
4581 (struct auto_load_pspace_info): Add forward decl.
4582 (struct extension_language_defn): Add forward decl.
4583 (maybe_add_script): Delete.
4584 (auto_load_objfile_script): Declare.
4585 (script_not_found_warning_print): Delete.
4586 (auto_load_info_scripts): Update prototype.
4587 (auto_load_gdb_scripts_enabled): Declare.
4588 * python/py-auto-load.c (gdbpy_auto_load_enabled): Renamed from
4589 auto_load_python_scripts_enabled and made public.
4590 (script_language_python): Delete, moved to python.c.
4591 (gdbpy_script_language_defn): Delete.
4592 (info_auto_load_python_scripts): Update to use
4593 extension_language_python.
4595 * breakpoint.c (condition_command): Replace call to
4596 gdbpy_breakpoint_has_py_cond with call to get_breakpoint_cond_ext_lang.
4597 (bpstat_check_breakpoint_conditions): Replace call to gdbpy_should_stop
4598 with call to breakpoint_ext_lang_cond_says_stop.
4599 * python/py-breakpoint.c (gdbpy_breakpoint_cond_says_stop): Renamed
4600 from gdbpy_should_stop. Change result type to enum scr_bp_stop.
4601 New arg slang. Return SCR_BP_STOP_UNSET if py_bp_object is NULL.
4602 (gdbpy_breakpoint_has_cond): Renamed from gdbpy_breakpoint_has_py_cond.
4604 (local_setattro): Print name of extension language with existing
4607 * valprint.c (val_print, value_print): Update to call
4608 apply_ext_lang_val_pretty_printer.
4609 * cp-valprint.c (cp_print_value): Update call to
4610 apply_ext_lang_val_pretty_printer.
4611 * python/py-prettyprint.c: Remove #ifdef HAVE_PYTHON.
4612 (gdbpy_apply_val_pretty_printer): Renamed from
4613 apply_val_pretty_printer. New arg extlang.
4614 (!HAVE_PYTHON, apply_val_pretty_printer): Delete.
4616 * cli/cli-cmds.c (source_script_from_stream): Rewrite to use
4617 extension language API.
4618 * cli/cli-script.c (execute_control_command): Update to call
4619 eval_ext_lang_from_control_command.
4621 * mi/mi-cmd-stack.c (mi_cmd_stack_list_frames): Update to use
4622 enum ext_lang_bt_status values. Update call to
4623 apply_ext_lang_frame_filter.
4624 (mi_cmd_stack_list_locals): Ditto.
4625 (mi_cmd_stack_list_args): Ditto.
4626 (mi_cmd_stack_list_variables): Ditto.
4627 * mi/mi-main.c: Delete #include "python/python-internal.h".
4628 Add #include "extension.h".
4629 (mi_cmd_list_features): Replace reference to python internal variable
4630 gdb_python_initialized with call to ext_lang_initialized_p.
4632 * stack.c (backtrace_command_1): Update to use enum ext_lang_bt_status.
4633 Update to use enum ext_lang_frame_args. Update to call
4634 apply_ext_lang_frame_filter.
4635 * python/py-framefilter.c (extract_sym): Update to use enum
4637 (extract_value, py_print_type, py_print_value): Ditto.
4638 (py_print_single_arg, enumerate_args, enumerate_locals): Ditto.
4639 (py_mi_print_variables, py_print_locals, py_print_args): Ditto.
4640 (py_print_frame): Ditto.
4641 (gdbpy_apply_frame_filter): Renamed from apply_frame_filter.
4642 New arg extlang. Update to use enum ext_lang_bt_status.
4644 * top.c (gdb_init): Delete #ifdef HAVE_PYTHON call to
4645 finish_python_initialization. Replace with call to
4646 finish_ext_lang_initialization.
4648 * typeprint.c (do_free_global_table): Update to call
4649 free_ext_lang_type_printers.
4650 (create_global_typedef_table): Update to call
4651 start_ext_lang_type_printers.
4652 (find_global_typedef): Update to call apply_ext_lang_type_printers.
4653 * typeprint.h (struct ext_lang_type_printers): Add forward decl.
4654 (type_print_options): Change type of global_printers from "void *"
4655 to "struct ext_lang_type_printers *".
4657 * value.c (preserve_values): Update to call preserve_ext_lang_values.
4658 * python/py-value.c: Remove #ifdef HAVE_PYTHON.
4659 (gdbpy_preserve_values): Renamed from preserve_python_values.
4661 (!HAVE_PYTHON, preserve_python_values): Delete.
4663 * utils.c (quit_flag): Delete, moved to extension.c.
4664 (clear_quit_flag, set_quit_flag, check_quit_flag): Delete, moved to
4667 * eval.c: Delete #include "python/python.h".
4668 * main.c: Delete #include "python/python.h".
4670 * defs.h: Update comment.
4672 2014-02-06 Joel Brobecker <brobecker@adacore.com>
4676 2014-02-05 Mark Kettenis <kettenis@gnu.org>
4678 * c-exp.y (YYPRINT, c_print_token): Only define if YYBISON is
4681 2014-02-05 Yao Qi <yao@codesourcery.com>
4683 * remote.c (remote_pass_signals): Remove local 'buf' and use
4685 (remote_program_signals): Likewise.
4687 2014-02-05 Yao Qi <yao@codesourcery.com>
4689 * ctf.c: Include "inferior.h" and "gdbthread.h".
4690 (CTF_PID): A new macro.
4691 (ctf_open): Call inferior_appeared and add_thread_silent.
4692 (ctf_close): Call exit_inferior_silent and set inferior_ptid.
4693 (ctf_thread_alive): New function.
4694 (init_ctf_ops): Install ctf_thread_alive to to_thread_alive.
4696 2014-02-05 Yao Qi <yao@codesourcery.com>
4700 2013-05-24 Yao Qi <yao@codesourcery.com>
4702 * tracepoint.c (TFILE_PID): Remove.
4703 (tfile_open): Don't add thread and inferior.
4704 (tfile_close): Don't set 'inferior_ptid'. Don't call
4705 exit_inferior_silent.
4706 (tfile_thread_alive): Remove.
4707 (init_tfile_ops): Don't set field 'to_thread_alive' of
4710 2014-02-04 Christian Eggers <ceggers@gmx.de> (tiny change)
4712 * remote.c (remote_start_remote): Call remote_check_symbols even
4713 if only symbol-file (not file) has been given.
4715 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
4717 * gdbarch.sh (skip_entrypoint): New callback.
4718 * gdbarch.c, gdbarch.h: Regenerate.
4719 * symtab.c (skip_prologue_sal): Call gdbarch_skip_entrypoint.
4720 * infrun.c (fill_in_stop_func): Likewise.
4721 * ppc-linux-tdep.c: Include "elf/ppc64.h".
4722 (ppc_elfv2_elf_make_msymbol_special): New function.
4723 (ppc_elfv2_skip_entrypoint): Likewise.
4724 (ppc_linux_init_abi): Install them for ELFv2.
4726 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
4728 * ppc-sysv-tdep.c (ppc64_aggregate_candidate): New routine.
4729 (ppc64_elfv2_abi_homogeneous_aggregate): Likewise.
4730 (ppc64_sysv_abi_push_param): Handle ELFv2 homogeneous structs.
4731 (ppc64_sysv_abi_return_value): Likewise. Also, handle small
4732 structures returned in GPRs.
4734 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
4736 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_dummy_call): Use correct
4737 offset to the stack parameter list for the ELFv2 ABI.
4739 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
4741 * ppc-linux-tdep.c (ppc_linux_init_abi): Only call
4742 set_gdbarch_convert_from_func_ptr_addr and
4743 set_gdbarch_elf_make_msymbol_special for ELFv1.
4744 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_param): Only handle
4745 function descriptors on ELFv1.
4746 (ppc64_sysv_abi_push_dummy_call): Likewise. On ELFv2,
4747 set up r12 at function entry.
4749 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
4751 * ppc-tdep.h (enum powerpc_elf_abi): New data type.
4752 (struct gdbarch_tdep): New member elf_abi.
4754 * rs6000-tdep.c: Include "elf/ppc64.h".
4755 (rs6000_gdbarch_init): Detect ELF ABI version.
4757 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
4759 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_freg): Use correct order
4760 within a register pair holding a DFP 128-bit value on little-endian.
4761 (ppc64_sysv_abi_return_value_base): Likewise.
4762 * rs6000-tdep.c (dfp_pseudo_register_read): Likewise.
4763 (dfp_pseudo_register_write): Likewise.
4765 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
4767 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_freg): Use correct
4768 offset on little-endian when passing _Decimal32.
4769 (ppc64_sysv_abi_return_value_base): Likewise for return values.
4771 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
4773 * rs6000-tdep.c (efpr_pseudo_register_read): Use correct offset
4774 of the overlapped FP register within the VSX register on little-
4776 (efpr_pseudo_register_write): Likewise.
4778 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
4780 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_val): Use correct
4781 offset on little-endian when passing small structures.
4783 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
4785 * ppc-sysv-tdep.c (get_decimal_float_return_value): Update comment.
4786 (struct ppc64_sysv_argpos): New data structure.
4787 (ppc64_sysv_abi_push_float): Remove.
4788 (ppc64_sysv_abi_push_val): New function.
4789 (ppc64_sysv_abi_push_integer): Likewise.
4790 (ppc64_sysv_abi_push_freg): Likewise.
4791 (ppc64_sysv_abi_push_vreg): Likewise.
4792 (ppc64_sysv_abi_push_param): Likewise.
4793 (ppc64_sysv_abi_push_dummy_call): Refactor to use those new routines.
4794 (ppc64_sysv_abi_return_value_base): New function.
4795 (ppc64_sysv_abi_return_value): Refactor to use it.
4797 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
4799 * NEWS: Document new target powerpc64le-*-linux*.
4801 2014-02-04 Mark Kettenis <kettenis@gnu.org>
4803 * sparc64obsd-tdep.c (sparc64obsd_gregset): New variable.
4804 (sparc64obsd_supply_gregset): Handle registers sets used in ELF
4806 (sparc64obsd_init_abi): Adjust minimum size of the general purpose
4807 register set used in ELF core dumps. Add floating-point register set.
4809 2014-02-03 Kevin Buettner <kevinb@redhat.com>
4811 * mn10300-tdep.c (mn10300_dwarf2_reg_to_regnum): Rewrite
4812 dwarf2_to_gdb[] table using symbolic constants. Adjust
4813 penultimate entry from number representing the PC register
4814 to symbolic constant representing the MDR register. Add
4815 constant for the PC register to the end of the table.
4817 2014-02-03 Mark Kettenis <kettenis@gnu.org>
4819 * bsd-kvm.c: Include <sys/param.h>
4821 2014-02-03 Mark Kettenis <kettenis@gnu.org>
4823 * sparc64nbsd-nat.c (sparc64nbsd_supply_fpregset): Fix prototype.
4825 2014-01-31 Joel Brobecker <brobecker@adacore.com>
4827 * ada-lang.h (clear_ada_sym_cache): Delete.
4829 2014-01-30 Ulrich Weigand <uweigand@de.ibm.com>
4831 * auxv.c (fprint_target_auxv): Handle AT_HWCAP2.
4833 2014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
4835 * sparc64-linux-tdep.c (sparc64_linux_step_trap): Get PC from
4836 the sigreturn register save area only if the syscall is
4839 2014-01-29 Joel Brobecker <brobecker@adacore.com>
4841 * valops.c (value_slice): Minor reformatting.
4843 2014-01-28 Ulrich Weigand <uweigand@de.ibm.com>
4845 * ppc64-tdep.c (ppc64_standard_linkage7): Fix typo.
4847 2014-01-28 Joel Brobecker <brobecker@adacore.com>
4849 * ada-lang.c (maint_set_ada_cmdlist, maint_show_ada_cmdlist):
4851 (maint_set_ada_cmd, maint_show_ada_cmd): New functions.
4852 (ada_ignore_descriptive_types_p): New static global.
4853 (find_parallel_type_by_descriptive_type): Return immediately
4854 if ada_ignore_descriptive_types_p is set.
4855 (_initialize_ada_language): Register new commands "maintenance
4856 set ada", "maintenance show ada", "maintenance set ada
4857 ignore-descriptive-types" and "maintenance show ada
4858 ignore-descriptive-types".
4859 * NEWS: Add entry for new "maint ada set/show
4860 ignore-descriptive-types" commands.
4862 2014-01-27 Markus Metzger <markus.t.metzger@intel.com>
4864 * record-btrace.c (record_btrace_close): Call btrace_teardown
4867 2014-01-27 Joel Brobecker <brobecker@adacore.com>
4869 * ada-lang.c: Remove "#ifdef UI_OUT" condition for including
4872 2014-01-27 Joel Brobecker <brobecker@adacore.com>
4874 * ada-typeprint (type_is_full_subrange_of_target_type):
4876 (print_range): Add parameter bounds_prefered_p. If not set,
4877 try printing range types using the name of their base type.
4878 (print_range_type): Add parameter bounds_prefered_p.
4879 Use it in call to print_range.
4880 (print_array_type, ada_print_type): Update calls to print_range
4881 and print_range_type.
4883 2014-01-27 Joel Brobecker <brobecker@adacore.com>
4885 * ada-typeprint.c (print_array_type, print_choices, print_range)
4886 (print_range_bound, print_dynamic_range_bound, print_range_type):
4889 2014-01-27 Joel Brobecker <brobecker@adacore.com>
4891 * ada-typeprint.c (print_range): Add missing empty line
4892 after local declaration.
4894 2014-01-27 Joel Brobecker <brobecker@adacore.com>
4896 * ada-valprint.c (print_optional_low_bound): Get index_type's
4897 target type for as long as it is a TYPE_CODE_RANGE.
4899 2014-01-27 Joel Brobecker <brobecker@adacore.com>
4901 * procfs.c (procfs_make_note_section): Remove assertion and
4904 2014-01-24 Yao Qi <yao@codesourcery.com>
4906 * remote.c (remote_read_bytes): Change type of len to ULONGEST.
4907 * corelow.c (get_core_siginfo): Likewise.
4909 2014-01-24 Yao Qi <yao@codesourcery.com>
4911 * remote.c (remote_write_bytes_aux): Change type of 'len' to
4912 ULONGEST. Don't check 'len' is negative.
4913 (remote_write_bytes): Change type of 'len' to ULONGEST.
4915 2014-01-23 Tom Tromey <tromey@redhat.com>
4918 * python/lib/gdb/FrameDecorator.py: (FrameVars.fetch_frame_args):
4919 Handle exception from frame.block.
4920 (FrameVars.fetch_frame_locals): Likewise.
4922 2014-01-23 Tom Tromey <tromey@redhat.com>
4925 * python/py-framefilter.c (py_print_frame): Don't call Py_DECREF
4926 on a NULL pointer. Move "goto error" to correct place.
4928 2014-01-23 Tom Tromey <tromey@redhat.com>
4931 * python/py-framefilter.c (apply_frame_filter): Call
4932 ensure_python_env after computing gdbarch.
4934 2014-01-23 Yao Qi <yao@codesourcery.com>
4936 * target.c (raw_memory_xfer_partial): Change argument type
4937 from void * to gdb_byte *.
4938 (memory_xfer_partial_1, memory_xfer_partial): Likewise.
4940 2014-01-22 Doug Evans <dje@google.com>
4942 New gdbserver option --debug-format=timestamp.
4945 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
4947 * syscalls/s390x-linux.xml: New file.
4948 * syscalls/s390-linux.xml: New file.
4949 * s390-linux-tdep.c (XML_SYSCALL_FILENAME_S390): New macro.
4950 (XML_SYSCALL_FILENAME_S390X): Likewise.
4951 (op_svc): New enum value for SVC opcode.
4952 (s390_sigtramp_frame_sniffer): Replace literal by 'op_svc'.
4953 (s390_linux_get_syscall_number): New function.
4954 (s390_gdbarch_init): Register '*get_syscall_number' and the
4955 syscall xml file name.
4956 * data-directory/Makefile.in (SYSCALLS_FILES): Add
4957 "s390-linux.xml" and "s390x-linux.xml".
4958 * NEWS: Announce new feature.
4960 2014-01-22 Baruch Siach <baruch@tkos.co.il>
4962 * xtensa-tdep.h (xtensa_elf_greg_t): Change type to uint32_t.
4964 2014-01-22 Pedro Alves <palves@redhat.com>
4966 * xtensa-config.c: Include defs.h.
4968 2014-01-22 Joel Brobecker <brobecker@adacore.com>
4970 * common/common-utils.h: Add "ARI:" comment beside __func__
4973 2014-01-22 Joel Brobecker <brobecker@adacore.com>
4975 * common/common-utils.h (FUNCTION_NAME): Expand the macro's
4976 documentation a bit.
4978 2014-01-21 Roland McGrath <mcgrathr@google.com>
4980 * configure.ac: Call AM_PROG_INSTALL_STRIP.
4981 * configure: Regenerate.
4982 * aclocal.m4: Regenerate.
4983 * Makefile.in (install_sh, INSTALL_STRIP_PROGRAM, STRIP):
4984 New substituted variables.
4985 (install-strip): New target.
4986 (INSTALL_SCRIPT): New substituted variable.
4987 (FLAGS_TO_PASS): Add it.
4988 (install-only): Use $(INSTALL_SCRIPT) rather than
4989 $(INSTALL_PROGRAM) for gcore.
4991 2014-01-20 Tom Tromey <tromey@redhat.com>
4993 * cli/cli-decode.h (struct cmd_list_element): Move all bitfields
4996 2014-01-20 Tom Tromey <tromey@redhat.com>
4998 * cli/cli-decode.c (add_cmd, deprecate_cmd, add_alias_cmd)
4999 (add_setshow_cmd_full, delete_cmd, lookup_cmd_1)
5000 (deprecated_cmd_warning, complete_on_cmdlist): Update.
5001 * cli/cli-decode.h (CMD_DEPRECATED, DEPRECATED_WARN_USER)
5002 (MALLOCED_REPLACEMENT, DOC_ALLOCATED): Remove.
5003 (struct cmd_list_element) <flags>: Remove.
5004 <cmd_deprecated, deprecated_warn_user, malloced_replacement,
5005 doc_allocated>: New fields.
5006 <hook_in, allow_unknown, abbrev_flag, type, var_type>: Now
5008 * maint.c (maintenance_do_deprecate): Update.
5009 * top.c (execute_command): Update.
5011 2014-01-20 Baruch Siach <baruch@tkos.co.il>
5013 * xtensa-linux-nat.c: Include asm/ptrace.h.
5015 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
5017 * Makefile.in (SFILES): Add d-support.c.
5018 (COMMON_OBS): Add d-support.o.
5019 * d-lang.h (d_parse_symbol): Add comment, now defined in
5021 * d-lang.c (parse_call_convention)
5022 (parse_attributes, parse_function_types)
5023 (parse_function_args, parse_type, parse_identifier)
5024 (call_convention_p, d_parse_symbol): Move functions to ...
5025 * d-support.c: ... New file.
5027 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
5029 * d-lang.h (d_parse_symbol): Add declaration.
5030 * d-lang.c (extract_identifiers)
5031 (extract_type_info): Remove functions.
5032 (parse_call_convention, parse_attributes)
5033 (parse_function_types, parse_function_args)
5034 (parse_type, parse_identifier, call_convention_p)
5035 (d_parse_symbol): New functions.
5036 (d_demangle): Use d_parse_symbol to demangle D symbols.
5038 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
5040 * d-lang.h (struct builtin_d_type): New data type.
5041 (builtin_d_type): Add declaration.
5042 * d-lang.c (d_language_arch_info, build_d_types)
5043 (builtin_d_type): New functions.
5044 (enum d_primitive_types): New data type.
5045 (d_language_defn): Change c_language_arch_info to
5046 d_language_arch_info.
5047 (d_type_data): New static variable.
5048 (_initialize_d_language): Initialize d_type_data.
5050 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
5052 * d-lang.h (d_main_name): Add declaration.
5053 * d-lang.c (d_main_name): New function.
5054 * symtab.c (find_main_name): Add call to d_main_name.
5056 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
5058 * d-lang.c (d_language_defn): Change macro_expansion_c to
5061 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
5063 * MAINTAINERS: Add myself as a write-after-approval maintainer.
5065 2014-01-17 Sergio Durigan Junior <sergiodj@redhat.com>
5067 * breakpoint.c (insert_bp_location): Add "volatile" keyword to "struct
5068 gdb_exception" declaration.
5069 * remote.c (getpkt_or_notif_sane): Likewise.
5071 2014-01-17 Doug Evans <dje@google.com>
5073 * common/gdb_vecs.c (delim_string_to_char_ptr_vec_append): New
5074 function, contents of dirnames_to_char_ptr_vec_append moved here.
5075 (delim_string_to_char_ptr_vec): New function.
5076 (dirnames_to_char_ptr_vec_append): Rewrite.
5077 * common/gdb_vecs.h (delim_string_to_char_ptr_vec): Declare.
5079 2014-01-17 Doug Evans <dje@google.com>
5081 * common/common-utils.h (FUNCTION_NAME): Renamed from ASSERT_FUNCTION,
5083 * common/gdb_assert.h (ASSERT_FUNCTION): ... from here.
5084 #include "common-utils.h".
5085 (gdb_assert, gdb_assert_fail, gdb_assert_not_reached): Update.
5086 * common/vec.h (VEC_ASSERT_PASS): Update.
5087 * darwin-nat.h: Replace #include of gdb_assert.h with common-utils.h.
5088 (MACH_CHECK_ERROR): Update.
5090 2014-01-17 Simon Marchi <simon.marchi@ericsson.com>
5092 * gdbarch.sh (gdbarch_address_class_name_to_type_flags): Add
5094 * gdbarch.h: Regenerate.
5096 2014-01-16 Tom Tromey <tromey@redhat.com>
5098 * value.c (struct value) <regnum>: Move earlier.
5100 2014-01-16 Tom Tromey <tromey@redhat.com>
5102 * remote.c (extended_remote_create_inferior): Rename from
5103 extended_remote_create_inferior_1. Add "ops" argument. Remove
5106 2014-01-16 Pedro Alves <palves@redhat.com>
5108 * s390-linux-tdep.c (s390_frame_unwind_cache): Swallow
5109 NOT_AVAILABLE_ERROR errors while parsing the prologue or reading
5112 2014-01-16 Doug Evans <dje@google.com>
5114 * dwarf2read.c (open_and_init_dwp_file): Fix typo in comment.
5116 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5118 * btrace.h (btrace_thread_flag): New.
5119 (struct btrace_thread_info) <flags>: New.
5120 * record-btrace.c (record_btrace_resume_thread)
5121 (record_btrace_find_thread_to_move, btrace_step_no_history)
5122 (btrace_step_stopped, record_btrace_start_replaying)
5123 (record_btrace_step_thread, record_btrace_decr_pc_after_break)
5124 (record_btrace_find_resume_thread): New.
5125 (record_btrace_resume, record_btrace_wait): Extend.
5126 (record_btrace_can_execute_reverse): New.
5127 (record_btrace_open): Fail in non-stop mode.
5128 (record_btrace_set_replay): Split into this, ...
5129 (record_btrace_stop_replaying): ... this, ...
5130 (record_btrace_clear_histories): ... and this.
5131 (init_record_btrace_ops): Init to_can_execute_reverse.
5132 * NEWS: Announce it.
5134 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5136 * target.h (struct target_ops) <to_decr_pc_after_break>: New.
5137 (forward_target_decr_pc_after_break)
5138 (target_decr_pc_after_break): New.
5139 * target.c (forward_target_decr_pc_after_break)
5140 (target_decr_pc_after_break): New.
5141 * aix-thread.c (aix_thread_wait): Call target_decr_pc_after_break
5142 instead of gdbarch_decr_pc_after_break.
5143 * darwin-nat.c (cancel_breakpoint): Call target_decr_pc_after_break
5144 instead of gdbarch_decr_pc_after_break.
5145 * infrun.c (adjust_pc_after_break): Call target_decr_pc_after_break
5146 instead of gdbarch_decr_pc_after_break.
5147 * linux-nat.c (cancel_breakpoint): Call target_decr_pc_after_break
5148 instead of gdbarch_decr_pc_after_break.
5149 * linux-thread-db.c (check_event): Call target_decr_pc_after_break
5150 instead of gdbarch_decr_pc_after_break.
5151 * record-full.c (record_full_wait_1): Call target_decr_pc_after_break
5152 instead of gdbarch_decr_pc_after_break.
5154 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5156 * btrace.c: Include regcache.h.
5157 (btrace_add_pc): New.
5158 (btrace_enable): Call btrace_add_pc.
5159 (btrace_is_empty): New.
5160 * btrace.h (btrace_is_empty): New.
5161 * record-btrace.c (require_btrace, record_btrace_info): Call
5164 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5166 * common/linux-btrace.c (perf_event_read_bts, linux_read_btrace):
5167 Support delta reads.
5168 (linux_disable_btrace): Change return type.
5169 * common/linux-btrace.h (linux_read_btrace): Change parameters
5170 and return type to allow error reporting. Update users.
5171 (linux_disable_btrace): Change return type. Update users.
5172 * common/btrace-common.h (btrace_read_type) <BTRACE_READ_DELTA>:
5174 (btrace_error): New.
5175 (btrace_block) <begin>: Comment on BEGIN == 0.
5176 * btrace.c (btrace_compute_ftrace): Start from the end of
5178 (btrace_stitch_trace, btrace_clear_history): New.
5179 (btrace_fetch): Read delta trace, return if replaying.
5180 (btrace_clear): Move clear history code to btrace_clear_history.
5181 (parse_xml_btrace): Throw an error if parsing failed.
5182 * target.h (struct target_ops) <to_read_btrace>: Change parameters
5183 and return type to allow error reporting.
5184 (target_read_btrace): Change parameters and return type to allow
5186 * target.c (target_read_btrace): Update.
5187 * remote.c (remote_read_btrace): Support delta reads. Pass
5189 * NEWS: Announce it.
5191 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5193 * record.h (record_btrace_frame_unwind)
5194 (record_btrace_tailcall_frame_unwind): New declarations.
5195 * dwarf2-frame: Include record.h
5196 (dwarf2_frame_cfa): Throw an error for btrace frames.
5197 * record-btrace.c: Include hashtab.h.
5198 (btrace_get_bfun_name): New.
5199 (btrace_call_history): Call btrace_get_bfun_name.
5200 (struct btrace_frame_cache): New.
5202 (bfcache_hash, bfcache_eq, bfcache_new): New.
5203 (btrace_get_frame_function): New.
5204 (record_btrace_frame_unwind_stop_reason): Allow unwinding.
5205 (record_btrace_frame_this_id): Compute own id.
5206 (record_btrace_frame_prev_register): Provide PC, throw_error
5207 for all other registers.
5208 (record_btrace_frame_sniffer): Detect btrace frames.
5209 (record_btrace_tailcall_frame_sniffer): New.
5210 (record_btrace_frame_dealloc_cache): New.
5211 (record_btrace_frame_unwind): Add new functions.
5212 (record_btrace_tailcall_frame_unwind): New.
5213 (_initialize_record_btrace): Allocate cache.
5214 * btrace.c (btrace_clear): Call reinit_frame_cache.
5215 * NEWS: Announce it.
5217 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5219 * record-btrace.c (record_btrace_set_replay)
5220 (record_btrace_goto_begin, record_btrace_goto_end)
5221 (record_btrace_goto): New.
5222 (init_record_btrace_ops): Initialize them.
5223 * NEWS: Announce it.
5225 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5227 * record-btrace.c (record_btrace_find_new_threads)
5228 (record_btrace_thread_alive): New.
5229 (init_record_btrace_ops): Initialize to_find_new_threads and
5232 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5234 * record-btrace.c (record_btrace_resume): New.
5235 (record_btrace_wait): New.
5236 (init_record_btrace_ops): Initialize to_wait and to_resume.
5238 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5240 * record-btrace.c (record_btrace_xfer_partial)
5241 (record_btrace_insert_breakpoint, record_btrace_remove_breakpoint)
5242 (record_btrace_allow_memory_access): New.
5243 (init_record_btrace_ops): Initialize new methods.
5244 * target.c (raw_memory_xfer_partial): Bail out if target reports
5245 that this memory is not available.
5247 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5249 * target.h (target_ops) <to_insert_breakpoint>
5250 <to_remove_breakpoint>: Add target_ops parameter.
5251 (forward_target_insert_breakpoint): New.
5252 (forward_target_remove_breakpoint): New.
5253 (memory_remove_breakpoint, memory_insert_breakpoint):
5254 Add target_ops parameter.
5255 * target.c (target_insert_breakpoint): Split into this and ...
5256 (forward_target_insert_breakpoint): ... this.
5257 (target_remove_breakpoint): Split into this and ...
5258 (forward_target_remove_breakpoint): ... this.
5259 (debug_to_insert_breakpoint): Add target_ops parameter.
5260 Call forward_target_insert_breakpoint.
5261 (debug_to_remove_breakpoint): Add target_ops parameter.
5262 Call forward_target_remove_breakpoint.
5263 (update_current_target): Do not inherit or default to_insert_breakpoint
5264 and to_remove_breakpoint.
5265 * corelow.c (ignore): Add target_ops parameter.
5266 * exec.c (ignore): Add target_ops parameter.
5267 * mem-break.c (memory_insert_breakpoint, memory_remove_breakpoint):
5268 Add target_ops parameter.
5269 * monitor.c (monitor_insert_breakpoint, monitor_remove_breakpoint):
5270 Add target_ops parameter.
5271 * nto-procfs.c (procfs_insert_breakpoint, procfs_remove_breakpoint):
5272 Add target_ops parameter.
5273 * record-full.c (record_full_beneath_to_insert_breakpoint)
5274 (record_full_beneath_to_remove_breakpoint, tmp_to_insert_breakpoint)
5275 (tmp_to_remove_breakpoint, record_full_insert_breakpoint)
5276 (record_full_remove_breakpoint, record_full_core_insert_breakpoint)
5277 (record_full_core_remove_breakpoint): Add target_ops parameter.
5279 (record_full_beneath_to_insert_breakpoint_ops)
5280 (record_full_beneath_to_remove_breakpoint_ops)
5281 (tmp_to_insert_breakpoint_ops, tmp_to_remove_breakpoint_ops): New.
5282 (record_full_open): Initialize tmp_to_insert_breakpoint_ops,
5283 tmp_to_remove_breakpoint_ops,
5284 record_full_beneath_to_insert_breakpoint_ops, and
5285 record_full_beneath_to_remove_breakpoint_ops.
5286 * remote-m32r-sdi.c (m32r_insert_breakpoint)
5287 (m32r_remove_breakpoint): Add target_ops parameter.
5288 * remote-mips.c (mips_insert_breakpoint, mips_remove_breakpoint):
5289 Add target_ops parameter.
5290 * remote.c (remote_insert_breakpoint, remote_remove_breakpoint):
5291 Add target_ops parameter.
5293 2014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
5294 Markus Metzger <markus.t.metzger@intel.com>
5296 * record-btrace.c: Include frame-unwind.h.
5297 (record_btrace_frame_unwind_stop_reason)
5298 (record_btrace_frame_this_id, record_btrace_frame_prev_register)
5299 (record_btrace_frame_sniffer, record_btrace_frame_unwind):
5301 (init_record_btrace_ops): Install it.
5303 2014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
5305 * frame.c (get_frame_unwind_stop_reason): Unconditionally call
5308 2014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
5310 * dwarf2-frame.c (dwarf2_frame_cfa): Move UNWIND_UNAVAILABLE check
5313 2014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
5315 * frame-unwind.c: Include target.h.
5316 (frame_unwind_try_unwinder): New function with code from ...
5317 (frame_unwind_find_by_frame): ... here. New variable
5318 unwinder_from_target, call also target_get_unwinder)
5319 (target_get_tailcall_unwinder, and frame_unwind_try_unwinder for it.
5320 * target.c (target_get_unwinder, target_get_tailcall_unwinder): New.
5321 * target.h (struct target_ops): New fields to_get_unwinder and
5322 to_get_tailcall_unwinder.
5323 (target_get_unwinder, target_get_tailcall_unwinder): New declarations.
5325 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5327 * record-btrace.c (record_btrace_fetch_registers)
5328 (record_btrace_store_registers)
5329 (record_btrace_to_prepare_to_store): New.
5330 (init_record_btrace_ops): Add the above.
5332 2014-01-16 Tom Tromey <tromey@redhat.com>
5334 * windows-nat.c (windows_prepare_to_store): Add 'self' argument.
5335 * target.h (struct target_ops) <to_prepare_to_store>: Add
5337 (target_prepare_to_store): Add argument.
5338 * target.c (debug_to_prepare_to_store): Add argument.
5339 (update_current_target): Update.
5340 * remote.c (remote_prepare_to_store): Add 'self' argument.
5341 * remote-sim.c (gdbsim_prepare_to_store): Add 'self' argument.
5342 * remote-mips.c (mips_prepare_to_store): Add 'self' argument.
5343 * remote-m32r-sdi.c (m32r_prepare_to_store): Add 'self' argument.
5344 * record-full.c (record_full_core_prepare_to_store): Add 'self'
5346 * ravenscar-thread.c (ravenscar_prepare_to_store): Add argument.
5347 * nto-procfs.c (procfs_prepare_to_store): Add 'self' argument.
5348 * monitor.c (monitor_prepare_to_store): Add 'self' argument.
5349 * inf-child.c (inf_child_prepare_to_store): Add 'self' argument.
5350 * go32-nat.c (go32_prepare_to_store): Add 'self' argument.
5352 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5354 * btrace.h (replay) <replay>: New.
5355 (btrace_is_replaying): New.
5356 * btrace.c (btrace_clear): Free replay iterator.
5357 (btrace_is_replaying): New.
5358 * record-btrace.c (record_btrace_is_replaying): New.
5359 (record_btrace_info): Print insn number if replaying.
5360 (record_btrace_insn_history): Start at replay position.
5361 (record_btrace_call_history): Start at replay position.
5362 (init_record_btrace_ops): Init to_record_is_replaying.
5364 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5366 * record-btrace.c (record_btrace_insn_history_range): Include
5368 (record_btrace_insn_history_from): Adjust range.
5369 (record_btrace_call_history_range): Include
5371 (record_btrace_call_history_from): Adjust range.
5372 * NEWS: Announce changes.
5374 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5376 * record.h (enum record_print_flag)
5377 <record_print_indent_calls>: New.
5378 * record.c (get_call_history_modifiers): Recognize /c modifier.
5379 (_initialize_record): Document /c modifier.
5380 * record-btrace.c (btrace_call_history): Add btinfo parameter.
5381 Reorder fields. Optionally indent the function name. Update
5383 * NEWS: Announce changes.
5385 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5387 * common/linux-btrace.c (linux_enable_btrace): Enlarge buffer.
5389 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5391 * btrace.c (ftrace_new_function): Start counting at one.
5392 * record-btrace.c (record_btrace_info): Adjust number of calls
5394 * NEWS: Announce it.
5396 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5398 * record-btrace.c (btrace_call_history_insn_range): Print
5399 insn range as [begin, end].
5401 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5403 * btrace.h (struct btrace_func_link): New.
5404 (enum btrace_function_flag): New.
5405 (struct btrace_inst): Rename to ...
5406 (struct btrace_insn): ...this. Update all users.
5407 (struct btrace_func) <ibegin, iend>: Remove.
5408 (struct btrace_func_link): New.
5409 (struct btrace_func): Rename to ...
5410 (struct btrace_function): ...this. Update all users.
5411 (struct btrace_function) <segment, flow, up, insn, insn_offset)
5412 (number, level, flags>: New.
5413 (struct btrace_insn_iterator): Rename to ...
5414 (struct btrace_insn_history): ...this.
5416 (struct btrace_insn_iterator, btrace_call_iterator): New.
5417 (struct btrace_target_info) <btrace, itrace, ftrace>: Remove.
5418 (struct btrace_target_info) <begin, end, level>
5419 <insn_history, call_history>: New.
5420 (btrace_insn_get, btrace_insn_number, btrace_insn_begin)
5421 (btrace_insn_end, btrace_insn_prev, btrace_insn_next)
5422 (btrace_insn_cmp, btrace_find_insn_by_number, btrace_call_get)
5423 (btrace_call_number, btrace_call_begin, btrace_call_end)
5424 (btrace_call_prev, btrace_call_next, btrace_call_cmp)
5425 (btrace_find_function_by_number, btrace_set_insn_history)
5426 (btrace_set_call_history): New.
5427 * btrace.c (btrace_init_insn_iterator)
5428 (btrace_init_func_iterator, compute_itrace): Remove.
5429 (ftrace_print_function_name, ftrace_print_filename)
5430 (ftrace_skip_file): Change
5432 (ftrace_init_func): Remove.
5433 (ftrace_debug): Use new btrace_function fields.
5434 (ftrace_function_switched): Also consider gaining and
5435 losing symbol information).
5436 (ftrace_print_insn_addr, ftrace_new_call, ftrace_new_return)
5437 (ftrace_new_switch, ftrace_find_caller, ftrace_new_function)
5438 (ftrace_update_caller, ftrace_fixup_caller, ftrace_new_tailcall):
5440 (ftrace_new_function): Move. Remove debug print.
5441 (ftrace_update_lines, ftrace_update_insns): New.
5442 (ftrace_update_function): Check for call, ret, and jump.
5443 (compute_ftrace): Renamed to ...
5444 (btrace_compute_ftrace): ...this. Rewritten to compute call
5446 (btrace_fetch, btrace_clear): Updated.
5447 (btrace_insn_get, btrace_insn_number, btrace_insn_begin)
5448 (btrace_insn_end, btrace_insn_prev, btrace_insn_next)
5449 (btrace_insn_cmp, btrace_find_insn_by_number, btrace_call_get)
5450 (btrace_call_number, btrace_call_begin, btrace_call_end)
5451 (btrace_call_prev, btrace_call_next, btrace_call_cmp)
5452 (btrace_find_function_by_number, btrace_set_insn_history)
5453 (btrace_set_call_history): New.
5454 * record-btrace.c (require_btrace): Use new btrace thread
5456 (record_btrace_info, btrace_insn_history)
5457 (record_btrace_insn_history, record_btrace_insn_history_range):
5458 Use new btrace thread info fields and new iterator.
5459 (btrace_func_history_src_line): Rename to ...
5460 (btrace_call_history_src_line): ...this. Use new btrace
5462 (btrace_func_history): Rename to ...
5463 (btrace_call_history): ...this. Use new btrace thread info
5464 fields and new iterator.
5465 (record_btrace_call_history, record_btrace_call_history_range):
5466 Use new btrace thread info fields and new iterator.
5468 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5470 * frame.h (frame_id_build_unavailable_stack_special): New.
5471 * frame.c (frame_id_build_unavailable_stack_special): New.
5473 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5475 * amd64-tdep.c (amd64_classify_insn_at, amd64_insn_is_call)
5476 (amd64_insn_is_ret, amd64_insn_is_jump, amd64_jmp_p): New.
5477 (amd64_init_abi): Add insn_is_call, insn_is_ret, and insn_is_jump
5479 * i386-tdep.c (i386_insn_is_call, i386_insn_is_ret)
5480 (i386_insn_is_jump, i386_jmp_p): New.
5481 (i386_gdbarch_init): Add insn_is_call, insn_is_ret, and
5482 insn_is_jump to gdbarch.
5483 * gdbarch.sh (insn_is_call, insn_is_ret, insn_is_jump): New.
5484 * gdbarch.h: Regenerated.
5485 * gdbarch.c: Regenerated.
5486 * arch-utils.h (default_insn_is_call, default_insn_is_ret)
5487 (default_insn_is_jump): New.
5488 * arch-utils.c (default_insn_is_call, default_insn_is_ret)
5489 (default_insn_is_jump): New.
5491 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5493 * common/btrace-common.h (btrace_read_type) <btrace_read_all>:
5495 (btrace_read_type) <BTRACE_READ_ALL>: ... this. Update users.
5496 (btrace_read_type) <btrace_read_new>: Change to ...
5497 (btrace_read_type) <BTRACE_READ_NEW>: ... this. Update users.
5499 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5501 * common/linux-btrace.c (linux_read_btrace): Free trace from
5504 2014-01-15 Doug Evans <dje@google.com>
5506 * dwarf2read.c (open_and_init_dwp_file): Use pulongest to print
5509 2014-01-15 Tom Tromey <tromey@redhat.com>
5511 * dbxread.c (process_one_symbol): Use set_objfile_main_name.
5512 * dwarf2read.c (read_partial_die): Use set_objfile_main_name.
5513 * objfiles.c (get_objfile_bfd_data): Initialize language_of_main.
5514 (set_objfile_main_name): New function.
5515 * objfiles.h (struct objfile_per_bfd_storage) <name_of_main,
5516 language_of_main>: New fields.
5517 (set_objfile_main_name): Declare.
5518 * symtab.c (find_main_name): Loop over objfiles to find the main
5520 (set_main_name): Now static.
5521 (get_main_info): Add comment.
5522 * symtab.h (set_main_name): Don't declare.
5524 2014-01-15 Tom Tromey <tromey@redhat.com>
5526 * symtab.c (main_progspace_key): New global.
5527 (struct main_info): New.
5528 (name_of_main, language_of_main): Remove.
5529 (get_main_info, main_info_cleanup): New function.
5530 (set_main_name, main_name, main_language): Use get_main_info.
5531 (_initialize_symtab): Initialize main_progspace_key.
5533 2014-01-15 Tom Tromey <tromey@redhat.com>
5535 * dbxread.c (process_one_symbol): Update.
5536 * dwarf2read.c (read_partial_die): Update.
5537 * symfile.c (set_initial_language): Call main_language.
5538 * symtab.c (language_of_main): Now static.
5539 (set_main_name): Add 'lang' parameter.
5540 (find_main_name): Update.
5541 (main_language): New function.
5542 (symtab_observer_executable_changed): Update.
5543 * symtab.h (set_main_name): Update.
5544 (language_of_main): Remove.
5545 (main_language): Declare.
5547 2014-01-15 Tom Tromey <tromey@redhat.com>
5549 * symfile.c (init_entry_point_info): Use new "initialized" field.
5551 * objfiles.h (struct entry_point) <initialized>: New field.
5552 (struct objfile_per_bfd_storage) <ei>: New field, moved from...
5553 (struct objfile) <ei>: ...here. Remove.
5554 * objfiles.c (entry_point_address_query): Update.
5556 2014-01-15 Tom Tromey <tromey@redhat.com>
5558 * objfiles.c (entry_point_address_query): Relocate entry point
5560 (objfile_relocate1): Do not relocate entry point address.
5561 * objfiles.h (struct entry_info) <entry_point>: Update comment.
5562 <the_bfd_section_index>: New field.
5563 * symfile.c (init_entry_point_info): Find the entry point's
5566 2014-01-15 Tom Tromey <tromey@redhat.com>
5568 * solib-frv.c (enable_break): Use entry_point_address_query.
5570 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
5572 * NEWS: Add note on improved process record-replay on
5573 arm*-linux* targets.
5575 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
5577 * arm-tdep.c (enum arm_record_result): New enum.
5578 (arm_record_unsupported_insn): New function.
5579 (arm_record_coproc_data_proc): Removed.
5580 (thumb2_record_ld_st_multiple): New function.
5581 (thumb2_record_ld_st_dual_ex_tbb): New function.
5582 (thumb2_record_data_proc_sreg_mimm): New function.
5583 (thumb2_record_ps_dest_generic): New function.
5584 (thumb2_record_branch_misc_cntrl): New function.
5585 (thumb2_record_str_single_data): New function.
5586 (thumb2_record_ld_mem_hints): New function.
5587 (thumb2_record_ld_word): New function.
5588 (thumb2_record_lmul_lmla_div): New function.
5589 (thumb2_record_decode_insn_handler): New function.
5590 (decode_insn): Add thumb32 instruction handlers.
5592 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
5594 * arm-linux-tdep.c: Include "record-full.h" and "linux-record.h".
5595 (struct arm_linux_record_tdep): Declare.
5596 (arm_canonicalize_syscall): New function.
5597 (arm_all_but_pc_registers_record): New function.
5598 (arm_linux_syscall_record): New function.
5599 (arm_linux_init_abi): Add syscall recording constructs.
5600 * arm-tdep.c (thumb_record_ldm_stm_swi): Update thumb syscall
5601 decoding. (arm_record_coproc_data_proc): Update arm syscall
5603 * arm-tdep.h (struct gdbarch_tdep) <arm_swi_record>: Remove.
5604 <arm_syscall_record>: New field.
5605 * configure.tgt (arm*-*-linux*): Add linux-record.o to
5608 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
5610 * arm-tdep.c (thumb_record_misc): Update to use sp as base
5611 register for push instruction recording.
5613 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
5615 * arm-tdep.c (thumb_record_misc): Update to correct logical
5616 error while recording ldm, ldmia and pop instructions.
5618 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
5620 * arm-tdep.c (struct arm_mem_r) <addr>: Change type to uint32_t.
5622 2014-01-15 Pedro Alves <palves@redhat.com>
5624 * go32-nat.c (go32_open, go32_close, go32_attach, go32_detach)
5625 (go32_resume, go32_fetch_registers, store_register)
5626 (go32_store_registers, go32_prepare_to_store)
5627 (go32_xfer_memory, go32_files_info, go32_kill_inferior)
5628 (go32_create_inferior, go32_can_run, go32_terminal_init)
5629 (go32_terminal_inferior, go32_terminal_ours): Delete forward
5632 2014-01-15 Tom Tromey <tromey@redhat.com>
5634 * target.h (async_callback_ftype): New typedef.
5635 (struct target_ops) <to_async>: Use it.
5637 2014-01-15 Joel Brobecker <brobecker@adacore.com>
5639 * python/py-value.c (get_field_type): Remove unnecessary curly
5640 braces for single-statement if block.
5642 2014-01-15 Joel Brobecker <brobecker@adacore.com>
5644 * python/py-type.c (convert_field): Add missing empty line
5647 2014-01-14 Doug Evans <dje@google.com>
5649 * symfile.h (expand_symtabs_matching): Renamed from
5650 expand_partial_symbol_names. Update prototype.
5651 (map_symbol_filenames): Renamed from map_partial_symbol_filenames.
5652 * symfile.c (expand_symtabs_matching): Renamed from
5653 expand_partial_symbol_names. New args file_matcher, kind.
5654 Rename arg fun to symbol_matcher.
5655 (map_symbol_filenames): Renamed from map_partial_symbol_filenames.
5656 * ada-lang.c (ada_complete_symbol_matcher): Renamed from
5657 ada_expand_partial_symbol_name.
5658 (ada_make_symbol_completion_list): Update to call
5659 expand_symtabs_matching.
5660 (ada_add_global_exceptions): Call expand_symtabs_matching.
5661 * mi/mi-cmd-file.c (mi_cmd_file_list_exec_source_files): Update to
5662 call map_symbol_filenames.
5663 * symtab.c (sources_info): Update to call map_symbol_filenames.
5664 (search_symbols): Call expand_symtabs_matching.
5665 (symbol_completion_matcher): Renamed from expand_partial_symbol_name.
5666 (default_make_symbol_completion_list_break_on): Update to call
5667 expand_symtabs_matching.
5668 (make_source_files_completion_list): Update to call
5669 map_symbol_filenames.
5671 2014-01-14 Doug Evans <dje@google.com>
5673 * symfile.h (expand_symtabs_file_matcher_ftype): New typedef.
5674 (expand_symtabs_symbol_matcher_ftype): New typedef.
5675 (quick_symbol_functions.expand_symtabs_matching): Update to use.
5676 expand_symtabs_file_matcher_ftype, expand_symtabs_symbol_matcher_ftype.
5677 * symfile.c (expand_partial_symbol_names): Update to use
5678 expand_symtabs_symbol_matcher_ftype.
5679 * dwarf2read.c (dw2_expand_symtabs_matching): Update to use
5680 expand_symtabs_file_matcher_ftype, expand_symtabs_symbol_matcher_ftype.
5681 Arg name_matcher renamed to symbol_matcher.
5682 * psymtab.c (recursively_search_psymtabs): Update to use
5683 expand_symtabs_symbol_matcher_ftype. Arg name_matcher renamed to
5685 (expand_symtabs_matching_via_partial): Update to use
5686 expand_symtabs_file_matcher_ftype, expand_symtabs_symbol_matcher_ftype.
5687 Arg name_matcher renamed to symbol_matcher.
5689 2014-01-14 Doug Evans <dje@google.com>
5691 * psymtab.c (expand_partial_symbol_names): Delete, moved to symfile.c.
5692 (map_partial_symbol_filenames): Ditto.
5693 * psymtab.h (expand_partial_symbol_names): Delete, moved to symfile.h.
5694 (map_partial_symbol_filenames): Ditto.
5695 * symfile.c (expand_partial_symbol_names): Moved here from psymtab.c.
5696 (map_partial_symbol_filenames): Ditto.
5697 * symfile.h (expand_partial_symbol_names): Moved here from psymtab.h.
5698 (map_partial_symbol_filenames): Ditto.
5699 * symtab.c: Delete #include "psymtab.h".
5701 2014-01-14 Pedro Alves <palves@redhat.com>
5702 Tom Tromey <tromey@redhat.com>
5704 * infrun.c (use_displaced_stepping): Use find_record_target
5705 instead of RECORD_IS_USED.
5706 (adjust_pc_after_break): Use record_full_is_used instead of
5708 * record-btrace.c (record_btrace_open): Call record_preopen
5709 instead of checking RECORD_IS_USED.
5710 * record-full.c (record_full_shortname)
5711 (record_full_core_shortname): New globals.
5712 (record_full_is_used): New function.
5713 (find_full_open): Call record_preopen instead of checking
5715 (init_record_full_ops): Set the target's shortname to
5716 record_full_shortname.
5717 (init_record_full_core_ops): Set the target's shortname to
5718 record_full_core_shortname.
5719 * record-full.h (record_full_is_used): Declare.
5720 * record.c (find_record_target): Make extern.
5721 (record_preopen): New function.
5722 * record.h (RECORD_IS_USED): Delete macro.
5723 (find_record_target, record_preopen): Declare functions.
5725 2014-01-14 Yao Qi <yao@codesourcery.com>
5727 * gdbarch.sh (core_xfer_shared_libraries): Change its argument
5728 'len''s type to ULONGEST.
5729 (core_xfer_shared_libraries_aix): Likewise.
5730 * gdbarch.c, gdbarch.h: Regenerated.
5731 * i386-cygwin-tdep.c (windows_core_xfer_shared_libraries):
5732 Change type of 'len' to ULONGEST.
5733 * rs6000-aix-tdep.c (rs6000_aix_ld_info_to_xml): Likewise.
5734 (rs6000_aix_core_xfer_shared_libraries_aix): Likewise.
5736 2014-01-14 Yao Qi <yao@codesourcery.com>
5738 * common/linux-osdata.c (linux_xfer_osdata_processes): Change
5739 type of 'len' to ULONGEST.
5740 (linux_xfer_osdata_processgroups): Likewise.
5741 (linux_xfer_osdata_threads): Likewise.
5742 (linux_xfer_osdata_fds): Likewise.
5743 (linux_xfer_osdata_isockets): Likewise.
5744 (linux_xfer_osdata_shm): Likewise.
5745 (linux_xfer_osdata_sem): Likewise.
5746 (linux_xfer_osdata_msg): Likewise.
5747 (linux_common_xfer_osdata): Likewise.
5748 (struct osdata_type) <getter>: Likewise.
5749 * common/linux-osdata.h (linux_common_xfer_osdata): Update
5752 2014-01-14 Yao Qi <yao@codesourcery.com>
5754 * target.h (target_xfer_partial_ftype): Update.
5755 (struct target_ops) <to_xfer_partial>: Change 'len' type to
5757 * aix-thread.c (aix_thread_xfer_partial): Change type of
5758 argument 'len' to ULONGEST.
5759 * auxv.c (procfs_xfer_auxv): Likewise.
5760 (ld_so_xfer_auxv): Likewise.
5761 (memory_xfer_auxv): Likewise.
5762 * bfd-target.c (target_bfd_xfer_partial): Likewise.
5763 * bsd-kvm.c (bsd_kvm_xfer_partial): Likewise.
5764 * bsd-uthread.c (bsd_uthread_xfer_partial): Likewise.
5765 * corelow.c (core_xfer_partial): Likewise.
5766 * ctf.c (ctf_xfer_partial): Likewise.
5767 * darwin-nat.c (darwin_read_write_inferior): Likewise. Use
5769 (darwin_read_dyld_info): Likewise.
5770 (darwin_xfer_partial): Likewise.
5771 * exec.c (section_table_xfer_memory_partial): Likewise.
5772 (exec_xfer_partial): Likewise.
5773 * exec.h (section_table_xfer_memory_partial): Update
5775 * gnu-nat.c (gnu_xfer_memory): Likewise. Call pulongest
5776 instead of plongest.
5777 (gnu_xfer_partial): Likewise.
5778 * ia64-hpux-nat.c (ia64_hpux_xfer_memory): Likewise.
5779 (ia64_hpux_xfer_solib_got): Likewise.
5780 (ia64_hpux_xfer_partial): Likewise.
5781 * ia64-linux-nat.c (ia64_linux_xfer_partial):
5782 * inf-ptrace.c (inf_ptrace_xfer_partial):
5783 * inf-ttrace.c (inf_ttrace_xfer_partial):
5784 * linux-nat.c (linux_xfer_siginfo): Likewise.
5785 (linux_nat_xfer_partial): Likewise.
5786 (spu_enumerate_spu_ids, linux_proc_xfer_spu): Likewise.
5787 (linux_nat_xfer_osdata, linux_xfer_partial): Likewise.
5788 * monitor.c (monitor_xfer_memory): Likewise.
5789 (monitor_xfer_partial): Likewise.
5790 * procfs.c (procfs_xfer_partial): Likewise.
5791 * record-full.c (record_full_xfer_partial): Likewise.
5792 (record_full_core_xfer_partial): Likewise.
5793 * remote-sim.c (gdbsim_xfer_memory): Likewise. Call pulongest
5794 instead of plongest.
5795 (gdbsim_xfer_partial): Likewise.
5796 * remote.c (remote_xfer_partial): Likewise.
5797 * rs6000-aix-tdep.c (rs6000_aix_ld_info_to_xml): Likewise.
5798 * rs6000-aix-tdep.h (rs6000_aix_ld_info_to_xml): Update
5800 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
5801 (rs6000_xfer_shared_libraries): Likewise.
5802 * sol-thread.c (sol_thread_xfer_partial): Likewise.
5803 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
5804 (sparc_xfer_partial): Likewise.
5805 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise.
5806 (spu_xfer_partial): Likewise.
5807 * spu-multiarch.c (spu_xfer_partial): Likewise.
5808 * target.c (target_read_live_memory): Likewise.
5809 (memory_xfer_live_readonly_partial): Likewise.
5810 (memory_xfer_partial, memory_xfer_partial_1): Likewise.
5811 (target_xfer_partial, default_xfer_partial): Likewise.
5812 (current_xfer_partial): Likewise.
5813 * tracepoint.c (tfile_xfer_partial): Likewise.
5814 * windows-nat.c (windows_xfer_memory): Likewise. Call
5815 pulongest instead of plongest.
5816 (windows_xfer_partial): Likewise.
5817 (windows_xfer_shared_libraries): Likewise.
5819 2014-01-14 Yao Qi <yao@codesourcery.com>
5821 * rs6000-nat.c (rs6000_xfer_shared_libraries): Use
5822 target_xfer_partial_ftype.
5824 2014-01-13 Siva Chandra Reddy <sivachandra@google.com>
5828 * valops.c (value_struct_elt_bitpos): New function
5829 * py-type.c (convert_field): Set 'name' attribute of a gdb.Field
5830 object to 'None' if the field name is an empty string ("").
5831 * python/py-value.c (valpy_getitem): Use 'bitpos' and 'type'
5832 attribute to look for a field when 'name' is 'None'.
5833 (get_field_type): New function
5835 2014-01-13 Doug Evans <dje@google.com>
5838 * dwarf2read.c (dwarf2_get_dwz_file): Call gdb_bfd_record_inclusion.
5839 (try_open_dwop_file): Ditto.
5840 * gdb_bfd.c: #include "vec.h".
5841 (bfdp): New typedef.
5842 (struct gdb_bfd_data): New member included_bfds.
5843 (gdb_bfd_unref): Unref all included bfds.
5844 (gdb_bfd_record_inclusion): New function.
5845 * gdb_bfd.h (gdb_bfd_record_inclusion): Declare.
5847 2014-01-13 Tom Tromey <tromey@redhat.com>
5849 * gdbcore.h (deprecated_core_resize_section_table): Remove.
5851 2014-01-13 Tom Tromey <tromey@redhat.com>
5853 * defs.h (use_windows): Remove.
5854 * gdb.c (main): Update.
5855 * main.c (captured_main, gdb_main): Update.
5856 * main.h (struct captured_main_args) <use_windows>: Remove.
5857 * top.c (use_windows): Remove.
5859 2014-01-13 Tom Tromey <tromey@redhat.com>
5861 * defs.h (deprecated_flush_hook): Remove.
5863 2014-01-13 Jan Kratochvil <jan.kratochvil@redhat.com>
5866 * linux-thread-db.c (try_thread_db_load): Add parameter
5867 check_auto_load_safe. Move here the file_is_auto_load_safe call.
5868 (try_thread_db_load_from_pdir_1): Move it there from here.
5869 (try_thread_db_load_from_sdir): Update caller.
5870 (try_thread_db_load_from_dir): Move it there from here.
5872 2014-01-13 Patrick Palka <patrick@parcs.ath.cx>
5874 * regformats/regdat.sh: Always rewrite the register file.
5876 2014-01-13 Pedro Alves <palves@redhat.com>
5878 * Makefile.in (CHECK_HEADERS): New variable.
5879 (check-headers:): New rule.
5881 2014-01-13 Tom Tromey <tromey@redhat.com>
5883 * cli/cli-setshow.c (do_set_command): Update.
5884 * defs.h (deprecated_set_hook): Remove.
5885 * top.c (deprecated_set_hook): Remove.
5887 2014-01-13 Pedro Alves <palves@redhat.com>
5889 * tracepoint.c (tfile_fetch_registers): Don't infer the PC from
5890 the tracepoint if the PC is a pseudo-register.
5892 2014-01-13 Tom Tromey <tromey@redhat.com>
5894 * defs.h (XCALLOC): Remove.
5895 * bcache.c (bcache_xmalloc): Use XCNEW, not XCALLOC.
5896 (print_bcache_statistics): Use XCNEWVEC, not XCALLOC.
5897 * dwarf2loc.c (allocate_piece_closure): Likewise.
5898 * elfread.c (elf_symfile_segments): Likewise.
5899 (elf_symfile_segments): Likewise.
5900 * gdbtypes.c (copy_type_recursive): Likewise.
5901 * i386-tdep.c (i386_gdbarch_init): Use XCNEW, not XCALLOC.
5902 * jit.c (jit_frame_sniffer): Use XCNEWVEC, not XCALLOC.
5903 * minsyms.c (prim_record_minimal_symbol_full): Use XCNEW, not
5905 * mt-tdep.c (mt_gdbarch_init): Likewise.
5906 * opencl-lang.c (allocate_lval_closure): Use XCNEWVEC, not
5908 * psymtab.c (psymbol_compare): Use XCNEW, not XCALLOC.
5909 * regcache.c (regcache_xmalloc_1): Use XCNEWVEC, not XCALLOC.
5910 * registry.c (registry_alloc_data): Likewise.
5911 * rs6000-tdep.c (rs6000_gdbarch_init): Use XCNEW, not XCALLOC.
5912 * s390-linux-tdep.c (s390_gdbarch_init): Likewise.
5913 * serial.c (serial_fdopen_ops): Likewise.
5914 * solib-aix.c (solib_aix_get_section_offsets): Use XCNEWVEC, not
5916 * spu-tdep.c (spu_gdbarch_init): Use XCNEW, not XCALLOC.
5917 * symfile.c (default_symfile_segments): Use XCNEW and XCNEWVEC,
5920 2014-01-13 Tom Tromey <tromey@redhat.com>
5922 * defs.h (XMALLOC): Remove.
5923 * avr-tdep.c (avr_gdbarch_init): Use XNEW, not XMALLOC.
5924 * bfin-tdep.c (bfin_gdbarch_init): Likewise.
5925 * cli-out.c (struct ui_out *): Likewise.
5926 * cli/cli-dump.c (add_dump_command): Likewise.
5927 (add_dump_command): Likewise.
5928 * complaints.c (get_complaints): Likewise.
5929 (find_complaint): Likewise.
5930 * dwarf2-frame.c (execute_cfa_program): Likewise.
5931 * dwarf2read.c (abbrev_table_read_table): Likewise.
5932 * gdbarch.sh: Likewise.
5933 * gdbarch.c: Rebuild.
5934 * inf-ttrace.c (inf_ttrace_add_page): Likewise.
5935 * interps.c (interp_new): Likewise.
5936 * lm32-tdep.c (lm32_gdbarch_init): Likewise.
5937 * m32r-tdep.c (m32r_gdbarch_init): Likewise.
5938 * mi/mi-console.c (mi_console_file_new): Likewise.
5939 * mi/mi-interp.c (mi_interpreter_init): Likewise.
5940 * mi/mi-out.c (mi_out_new): Likewise.
5941 * mi/mi-parse.c (mi_parse): Likewise.
5942 * microblaze-tdep.c (microblaze_gdbarch_init): Likewise.
5943 * moxie-tdep.c (moxie_gdbarch_init): Likewise.
5944 * observer.c (xalloc_observer_list_node): Likewise.
5945 * regcache.c (regcache_xmalloc_1): Likewise.
5946 * reggroups.c (reggroup_new): Likewise.
5947 (_initialize_reggroup): Likewise.
5948 * registry.c (register_data_with_cleanup): Likewise.
5949 * remote.c (remote_notif_stop_alloc_reply): Likewise.
5950 * ser-base.c (serial_ttystate): Likewise.
5951 * ser-mingw.c (make_pipe_state): Likewise.
5952 * ser-pipe.c (pipe_open): Likewise.
5953 * serial.c (serial_open): Likewise.
5954 * sh64-tdep.c (sh64_gdbarch_init): Likewise.
5955 * tui/tui-data.c (tui_alloc_generic_win_info): Likewise.
5956 (tui_alloc_win_info): Likewise.
5957 (tui_add_content_elements): Likewise.
5958 * tui/tui-file.c (tui_file_new): Likewise.
5959 * tui/tui-out.c (tui_out_new): Likewise.
5960 * ui-file.c (mem_file_new): Likewise.
5961 * ui-out.c (push_level): Likewise.
5962 (make_cleanup_ui_out_end): Likewise.
5963 (append_header_to_list): Likewise.
5964 (ui_out_new): Likewise.
5965 * user-regs.c (user_reg_add_builtin): Likewise.
5967 2014-01-13 Tom Tromey <tromey@redhat.com>
5969 * defs.h (XZALLOC): Remove.
5970 * ada-lang.c (get_ada_inferior_data): Use XCNEW, not XZALLOC.
5971 * ada-tasks.c (get_ada_tasks_pspace_data): Likewise.
5972 (get_ada_tasks_inferior_data): Likewise.
5973 * auto-load.c (get_auto_load_pspace_data): Likewise.
5974 * auxv.c (get_auxv_inferior_data): Likewise.
5975 * bfd-target.c (target_bfd_reopen): Likewise.
5976 * breakpoint.c (get_catch_syscall_inferior_data): Likewise.
5977 (deprecated_insert_raw_breakpoint): Likewise.
5978 * bsd-uthread.c (bsd_uthread_pid_to_str): Likewise.
5979 * corelow.c (core_open): Likewise.
5980 * darwin-nat.c (darwin_check_new_threads): Likewise.
5981 (darwin_attach_pid): Likewise.
5982 * dummy-frame.c (dummy_frame_push): Likewise.
5983 * dwarf2-frame.c (dwarf2_frame_cache): Likewise.
5984 * dwarf2loc.c (allocate_piece_closure): Likewise.
5985 * elfread.c (elf_symfile_segments): Likewise.
5986 * eval.c (ptrmath_type_p): Likewise.
5987 * exceptions.c (EXCEPTIONS_SIGJMP_BUF): Likewise.
5988 * gdbtypes.c (alloc_type_arch): Likewise.
5989 (alloc_type_instance): Likewise.
5990 * hppa-tdep.c (hppa_gdbarch_init): Likewise.
5991 * inf-child.c (inf_child_can_use_agent): Likewise.
5992 * inflow.c (get_inflow_inferior_data): Likewise.
5993 * infrun.c (save_infcall_suspend_state): Likewise.
5994 * jit.c (jit_reader_load): Likewise.
5995 (get_jit_objfile_data): Likewise.
5996 (get_jit_program_space_data): Likewise.
5997 (jit_object_open_impl): Likewise.
5998 (jit_symtab_open_impl): Likewise.
5999 (jit_block_open_impl): Likewise.
6000 (jit_frame_sniffer): Likewise.
6001 * linux-fork.c (add_fork): Likewise.
6002 * maint.c (make_command_stats_cleanup): Likewise.
6003 * objfiles.c (get_objfile_pspace_data): Likewise.
6004 * opencl-lang.c (struct lval_closure): Likewise.
6005 * osdata.c (osdata_start_osdata): Likewise.
6006 * progspace.c (new_address_space): Likewise.
6007 (add_program_space): Likewise.
6008 * remote-sim.c (get_sim_inferior_data): Likewise.
6009 * sh-tdep.c (sh_gdbarch_init): Likewise.
6010 * skip.c (Ignore): Likewise.
6011 (skip_delete_command): Likewise.
6012 * solib-aix.c (get_solib_aix_inferior_data): Likewise.
6013 (library_list_start_library): Likewise.
6014 (solib_aix_current_sos): Likewise.
6015 * solib-darwin.c (get_darwin_info): Likewise.
6016 (darwin_current_sos): Likewise.
6017 * solib-dsbt.c (get_dsbt_info): Likewise.
6018 * solib-ia64-hpux.c (new_so_list): Likewise.
6019 (ia64_hpux_get_solib_linkage_addr): Likewise.
6020 * solib-spu.c (append_ocl_sos): Likewise.
6021 (spu_current_sos): Likewise.
6022 * solib-svr4.c (get_svr4_info): Likewise.
6023 (svr4_keep_data_in_core): Likewise.
6024 (library_list_start_library): Likewise.
6025 (svr4_default_sos): Likewise.
6026 (svr4_read_so_list): Likewise.
6027 * solib-target.c (library_list_start_library): Likewise.
6028 (solib_target_current_sos): Likewise.
6029 * sparc-tdep.c (sparc32_gdbarch_init): Likewise.
6030 * symfile-debug.c (install_symfile_debug_logging): Likewise.
6031 * symfile.c (default_symfile_segments): Likewise.
6032 * target-descriptions.c (tdesc_data_init): Likewise.
6033 (tdesc_create_reg): Likewise.
6034 (struct tdesc_type *): Likewise.
6035 (tdesc_create_vector): Likewise.
6036 (tdesc_set_struct_size): Likewise.
6037 (struct tdesc_type *): Likewise.
6038 (tdesc_free_feature): Likewise.
6039 (tdesc_create_feature): Likewise.
6040 * windows-nat.c (windows_add_thread): Likewise.
6041 (windows_make_so): Likewise.
6042 * xml-support.c (gdb_xml_body_text): Likewise.
6043 (gdb_xml_create_parser_and_cleanup): Likewise.
6044 (xml_process_xincludes): Likewise.
6045 * xml-syscall.c (allocate_syscalls_info): Likewise.
6046 (syscall_create_syscall_desc): Likewise.
6048 2014-01-12 Sergio Durigan Junior <sergiodj@redhat.com>
6050 * i386-tdep.c (i386_stap_parse_special_token_triplet): New
6051 function, with code from i386_stap_parse_special_token.
6052 (i386_stap_parse_special_token_three_arg_disp): Likewise.
6053 (i386_stap_parse_special_token): Move code to the two functions
6056 2014-01-09 Pedro Alves <palves@redhat.com>
6057 Hui Zhu <hui@codesourcery.com>
6060 * breakpoint.c (insert_bp_location): Rename hw_bp_err_string to
6061 bp_err_string. Don't mark the location shlib_disabled if the
6062 error thrown wasn't a generic or memory error. Catch errors
6063 thrown while inserting breakpoints in overlayed code. Output
6064 error message of software breakpoints.
6065 * remote.c (remote_insert_breakpoint): If this breakpoint has
6066 target-side commands but this stub doesn't support Z0 packets,
6067 throw NOT_SUPPORTED_ERROR error.
6068 * exceptions.h (enum errors) <NOT_SUPPORTED_ERROR>: New error.
6069 * target.h (target_insert_breakpoint): Extend comment.
6070 (target_insert_hw_breakpoint): Add comment.
6072 2014-01-08 Pedro Alves <palves@redhat.com>
6074 * remote.c (remote_add_thread): Add threads silently if starting
6076 (remote_notice_new_inferior): If in all-stop, and starting up,
6077 don't call notice_new_inferior.
6078 (get_current_thread): New function, factored out from ...
6079 (add_current_inferior_and_thread): ... this. Adjust.
6080 (remote_start_remote) <all-stop>: Fetch the thread list. If we
6081 found any thread, then select the remote's current thread as GDB's
6084 2014-01-08 Joel Brobecker <brobecker@adacore.com>
6086 * NEWS: Create a new section for the next release branch.
6087 Rename the section of the current branch, now that it has
6090 2014-01-08 Joel Brobecker <brobecker@adacore.com>
6092 GDB 7.7 branch created (79301218fa0f074c5656db0ec8972a5ddcf91fb5):
6093 * version.in: Bump version to 7.7.50.DATE-cvs.
6095 2014-01-08 Yao Qi <yao@codesourcery.com>
6097 * spu-linux-nat.c (spu_symbol_file_add_from_memory): Change
6098 type of 'id' to gdb_byte. Cast 'id' to 'const char *'.
6099 (spu_xfer_partial): Cast 'buf' to 'const char *'.
6101 2014-01-08 Yao Qi <yao@codesourcery.com>
6103 * spu-linux-nat.c (spu_symbol_file_add_from_memory): Pass
6104 return value of bfd_get_filename to symbol_file_add_from_bfd.
6106 2014-01-08 Pierre Muller <muller@sourceware.org>
6109 * coff-pe-read.c (struct read_pe_section_data): Add index field.
6110 (add_pe_exported_sym): Use SECTION_DATA->INDEX for call
6111 to prim_record_mininal_symbol_and_info.
6112 (add_pe_forwarded_sym): Use known section number of forwarded symbol
6113 in call to prim_record_minimal_symbol_and_info.
6114 (read_pe_exported_syms): Set index field of section_data.
6116 2014-01-07 Andrew Pinski <apinski@cavium.com>
6118 * features/aarch64-core.xml (cpsr): Change to be 64bit.
6119 * features/aarch64.c: Regenerate.
6121 2014-01-07 Andreas Schwab <schwab@linux-m68k.org>
6123 * target.c (return_null): Define.
6124 (update_current_target): Use it instead of return_zero for
6125 functions that return a pointer.
6127 2014-01-07 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
6129 * source.c (add_path): Fix check for duplicated paths in the previously
6132 2014-01-07 Honggyu Kim <hong.gyu.kim@lge.com>
6134 * ada-lang.c: Remove duplicated include statements.
6135 * alphabsd-nat.c: Ditto.
6136 * amd64-darwin-tdep.c: Ditto.
6137 * amd64fbsd-nat.c: Ditto.
6138 * auto-load.c: Ditto.
6140 * breakpoint.c: Ditto.
6142 * fork-child.c: Ditto.
6143 * gdb_usleep.c: Ditto.
6144 * i386-darwin-tdep.c: Ditto.
6145 * i386fbsd-nat.c: Ditto.
6147 * inferior.c: Ditto.
6149 * linux-nat.c: Ditto.
6150 * linux-tdep.c: Ditto.
6151 * m68kbsd-nat.c: Ditto.
6152 * m68klinux-nat.c: Ditto.
6153 * microblaze-tdep.c: Ditto.
6154 * mips-linux-tdep.c: Ditto.
6155 * mn10300-tdep.c: Ditto.
6156 * nto-tdep.c: Ditto.
6157 * opencl-lang.c: Ditto.
6159 * printcmd.c: Ditto.
6160 * regcache.c: Ditto.
6161 * remote-m32r-sdi.c: Ditto.
6165 * tilegx-linux-nat.c: Ditto.
6166 * tilegx-tdep.c: Ditto.
6167 * tracepoint.c: Ditto.
6169 * vaxbsd-nat.c: Ditto.
6170 * windows-nat.c: Ditto.
6171 * xtensa-tdep.c: Ditto.
6173 2014-01-07 Yao Qi <yao@codesourcery.com>
6175 * spu-linux-nat.c (_initialize_spu_nat): Declare.
6177 2014-01-07 Yao Qi <yao@codesourcery.com>
6178 Joel Brobecker <brobecker@adacore.com>
6180 * aix-thread.c (pdc_read_regs): Cast parameter to uintptr_t.
6181 (pdc_write_regs): Likewise.
6182 (fetch_regs_kernel_thread): Likewise.
6183 (store_regs_kernel_thread): Likewise.
6185 2014-01-07 Joel Brobecker <brobecker@adacore.com>
6187 * ada-varobj.c (ada_varobj_adjust_for_child_access): Convert
6188 tagged type objects to their actual type.
6190 2014-01-07 Joel Brobecker <brobecker@adacore.com>
6192 * ada-valprint.c (print_field_values): Add "language" parameter.
6193 Update calls to print_field_values and print_variant_part.
6194 Pass new parameter "language" in call to val_print instead
6195 of "current_language". Replace call to ada_val_print by call
6197 (print_variant_part): Add "language" parameter.
6198 (ada_val_print_struct_union): Update call to print_field_values.
6200 2014-01-07 Joel Brobecker <brobecker@adacore.com>
6202 * ada-valprint.c (ui_memcpy): Delete.
6203 (ada_print_floating): Update documentation. Add empty line
6204 between between function documentation and implementation.
6205 Delete variable "buffer". Use ui_file_xstrdup in place of
6206 ui_file_put. Minor adjustments following this change.
6208 2014-01-07 Joel Brobecker <brobecker@adacore.com>
6210 * ada-valprint.c (ada_val_print_string): New function,
6211 extracted from ada_val_print_array.
6212 (ada_val_print_array): Replace extracted code by call
6213 to ada_val_print_string followed by a return. Move
6214 "else" branch to the function's top block.
6216 2014-01-07 Joel Brobecker <brobecker@adacore.com>
6218 * ada-valprint.c (ada_val_print_array): Move implementation
6219 down. Rename parameter "offset" and "val" into "offset_aligned"
6220 and "original_value" respectively. Add parameter "offset".
6222 2014-01-07 Joel Brobecker <brobecker@adacore.com>
6224 * ada-valprint.c (ada_val_print_ref): Rewrite by mostly
6225 re-organizing the code. Change the "???" message printed
6226 when target type is a TYPE_CODE_UNDEF into
6227 "<ref to undefined type>".
6229 2014-01-07 Joel Brobecker <brobecker@adacore.com>
6231 * ada-valprint.c (print_record): Delete, implementation inlined...
6232 (ada_val_print_struct_union): ... here. Remove call to
6233 ada_check_typedef in inlined implementation.
6235 2014-01-07 Joel Brobecker <brobecker@adacore.com>
6237 * ada-valprint.c (ada_val_print_gnat_array): New function,
6238 extracted from ada_val_print_1;
6239 (ada_val_print_ptr, ada_val_print_num, ada_val_print_enum)
6240 (ada_val_print_flt, ada_val_print_struct_union)
6241 (ada_val_print_ref): Likewise.
6242 (ada_val_print_1): Delete variables i and elttype.
6243 Replace extracted-out code by call to corresponding
6246 2014-01-07 Joel Brobecker <brobecker@adacore.com>
6248 * ada-valprint.c (ada_val_print_1): Remove call to gdb_flush.
6250 2014-01-07 Joel Brobecker <brobecker@adacore.com>
6252 * ada-valprint.c (ada_val_print_1): Replace calls to
6253 ada_val_print_1 by calls to val_print.
6255 2014-01-07 Joel Brobecker <brobecker@adacore.com>
6257 * ada-valprint.c (ada_val_print_1): Add parameter "language".
6258 Update calls to self accordingly. Replace calls to c_val_print
6259 by calls to val_print.
6261 2014-01-07 Joel Brobecker <brobecker@adacore.com>
6263 * ada-valprint.c (print_record): Delete declaration.
6264 (adjust_type_signedness, ada_val_print_1): Likewise.
6265 (ada_val_print): Move function implementation down.
6266 (print_variant_part, print_field_values, print_record):
6267 Move function implementation up.
6269 2014-01-07 Joel Brobecker <brobecker@adacore.com>
6271 * python/py-type.c (typy_get_name): New function.
6272 (type_object_getset): Add entry for attribute "name".
6273 * NEWS: Add entry mentioning this new attribute.
6275 2014-01-07 Yao Qi <yao@codesourcery.com>
6277 * gnu-nat.c (set_exceptions_cmd): Remove an empty body 'if'
6280 2014-01-07 Yao Qi <yao@codesourcery.com>
6282 * gnu-nat.c (info_port_rights): Add qualifier const to
6285 2014-01-07 Yao Qi <yao@codesourcery.com>
6287 * gnu-nat.c (trace_me): Use 'void' for empty argument list.
6289 2014-01-07 Yao Qi <yao@codesourcery.com>
6291 * gnu-nat.c (make_inf) Update declaration.
6292 (make_inf): Make it static.
6293 (inf_set_traced): Likewise.
6294 (inf_port_to_thread, inf_task_died_status): Likewise.
6296 2014-01-07 Yao Qi <yao@codesourcery.com>
6298 * gnu-nat.c (inf_tid_to_proc): Remove declaration.
6300 2014-01-07 Yao Qi <yao@codesourcery.com>
6302 * gnu-nat.c (_initialize_gnu_nat): Declare.
6304 2014-01-07 Yao Qi <yao@codesourcery.com>
6306 * gdbarch.sh (byte_order, byte_order_for_code): Change type to
6308 (struct gdbarch_info) <byte_order>: Change type to
6310 <byte_order_for_code>: Likewise.
6311 * gdbarch.c, gdbarch.h: Regenerated.
6313 2014-01-06 Sasha Smundak <asmundak@google.com>
6315 * jit.c: (jit_reader_load_command): Fix JIT reader path creation.
6317 2014-01-06 Tom Tromey <tromey@redhat.com>
6319 * doublest.c (convert_doublest_to_floatformat): Use const, not
6321 * somread.c (som_symtab_read): Likewise.
6323 2014-01-07 Hui Zhu <hui@codesourcery.com>
6325 * gdb_bfd.c (gdb_bfd_stash_filename): Removed.
6326 (gdb_bfd_open): Removed gdb_bfd_stash_filename.
6327 (gdb_bfd_fopen): Ditto.
6328 (gdb_bfd_openr): Ditto.
6329 (gdb_bfd_openw): Ditto.
6330 (gdb_bfd_openr_iovec): Ditto.
6331 (gdb_bfd_fdopenr): Ditto.
6332 * gdb_bfd.h (gdb_bfd_stash_filename): Removed.
6333 * solib-aix.c (solib_aix_bfd_open): Alloc object_bfd->filename
6335 * solib-darwin.c (darwin_bfd_open): Alloc res->filename
6337 * symfile-mem.c (symbol_file_add_from_memory): Removed
6338 gdb_bfd_stash_filename.
6340 2014-01-03 Doug Evans <dje@google.com>
6342 * nat/linux-waitpid.c (linux_debug): Remove extraneous \n from
6345 2014-01-01 Joel Brobecker <brobecker@adacore.com>
6347 Update year range in copyright notice of all files.
6349 2014-01-01 Joel Brobecker <brobecker@adacore.com>
6351 * top.c (print_gdb_version): Set copyright year to 2014.
6353 2014-01-01 Joel Brobecker <brobecker@adacore.com>
6355 * config/djgpp/fnchange.lst: Add entry for gdb/ChangeLog-2013.
6357 For older changes see ChangeLog-2013.
6363 version-control: never