1 2014-03-21 Pedro Alves <palves@redhat.com>
3 * infrun.c (normal_stop): Extend comment.
5 2014-03-21 Hui Zhu <hui@codesourcery.com>
6 Pedro Alves <palves@redhat.com>
8 * darwin-nat.c (darwin_pid_to_exec_file): Change xmalloc to
10 * fbsd-nat.c (fbsd_pid_to_exec_file): Ditto.
11 * linux-nat.c (linux_child_pid_to_exec_file): Ditto.
12 * nbsd-nat.c (nbsd_pid_to_exec_file): Ditto.
14 2014-03-20 Maciej W. Rozycki <macro@codesourcery.com>
16 * mi/mi-interp.c (mi_memory_changed): Avoid using the ISO C99
17 `z' formatted output modifier.
19 2014-03-20 Tom Tromey <tromey@redhat.com>
20 Sergio Durigan Junior <sergiodj@redhat.com>
22 * probe.c (parse_probes): Turn assert into an ordinary error.
23 * break-catch-throw.c (re_set_exception_catchpoint): Ignore
24 exceptions when parsing probes. Rearrange the code for clarity.
26 2014-03-20 Tom Tromey <tromey@redhat.com>
29 * top.c (execute_command): Only dispatch events if the command
32 2014-03-20 Tom Tromey <tromey@redhat.com>
35 * infcall.c: Include event-top.h.
36 (run_inferior_call): Call async_disable_stdin if needed.
38 2014-03-20 Pedro Alves <palves@redhat.com>
40 * infrun.c (prepare_to_proceed): Delete.
41 (thread_still_needs_step_over): New function.
42 (find_thread_needs_step_over): New function.
43 (proceed): If the current thread needs a step-over, set its
44 steping_over_breakpoint flag. Adjust to use
45 find_thread_needs_step_over instead of prepare_to_proceed.
46 (process_event_stop_test): For BPSTAT_WHAT_STOP_NOISY and
47 BPSTAT_WHAT_STOP_SILENT, assume the thread stopped for a
49 (switch_back_to_stepped_thread): Step over breakpoints of all
50 threads not the stepping thread, before switching back to the
53 2014-03-20 Pedro Alves <palves@redhat.com>
55 * breakpoint.c (single_step_breakpoint_inserted_here_p): Make
57 * breakpoint.h (single_step_breakpoint_inserted_here_p): Declare.
58 * infrun.c (saved_singlestep_ptid)
59 (stepping_past_singlestep_breakpoint): Delete.
60 (resume): Remove stepping_past_singlestep_breakpoint handling.
61 (proceed): Store the prev_pc of the stepping thread too.
62 (init_wait_for_inferior): Adjust. Clear singlestep_ptid and
64 (enum infwait_states): Delete infwait_thread_hop_state.
65 (struct execution_control_state) <hit_singlestep_breakpoint>: New
67 (handle_inferior_event): Adjust.
68 (handle_signal_stop): Delete stepping_past_singlestep_breakpoint
69 handling and the thread-hop code. Before removing single-step
70 breakpoints, check whether the thread hit a single-step breakpoint
71 of another thread. If it did, the trap is not a random signal.
72 (switch_back_to_stepped_thread): If the event thread hit a
73 single-step breakpoint, unblock it before switching to the
74 stepping thread. Handle the case of the stepped thread having
76 (keep_going): Handle the case of the current thread moving past a
77 single-step breakpoint.
79 2014-03-20 Pedro Alves <palves@redhat.com>
82 * breakpoint.c (should_be_inserted): Don't insert breakpoints that
83 are being stepped over.
84 (breakpoint_address_match): Make extern.
85 * breakpoint.h (breakpoint_address_match): New declaration.
86 * inferior.h (stepping_past_instruction_at): New declaration.
87 * infrun.c (struct step_over_info): New type.
88 (step_over_info): New global.
89 (set_step_over_info, clear_step_over_info)
90 (stepping_past_instruction_at): New functions.
91 (handle_inferior_event): Clear the step-over info when
92 trap_expected is cleared.
93 (resume): Remove now stale comment.
94 (clear_proceed_status): Clear step-over info.
95 (proceed): Adjust step-over handling to set or clear the step-over
96 info instead of removing all breakpoints.
97 (handle_signal_stop): When setting up a thread-hop, don't remove
99 (stop_stepping): Clear step-over info.
100 (keep_going): Adjust step-over handling to set or clear step-over
101 info and then always inserting breakpoints, instead of removing
102 all breakpoints when stepping over one.
104 2014-03-20 Pedro Alves <palves@redhat.com>
106 * infrun.c (previous_inferior_ptid): Adjust comment.
107 (deferred_step_ptid): Delete.
108 (infrun_thread_ptid_changed, prepare_to_proceed)
109 (init_wait_for_inferior): Adjust.
110 (handle_signal_stop): Delete deferred_step_ptid handling.
112 2014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
115 * defs.h (sync_quit_force_run): New declaration.
116 (QUIT): Check also SYNC_QUIT_FORCE_RUN.
117 * event-top.c (async_sigterm_handler): New declaration.
118 (async_sigterm_token): New variable.
119 (async_init_signals): Create also async_sigterm_token.
120 (async_sigterm_handler): New function.
121 (sync_quit_force_run): New variable.
122 (handle_sigterm): Replace quit_force call by other calls.
123 * utils.c (quit): Call quit_force if SYNC_QUIT_FORCE_RUN.
125 2014-03-18 Maciej W. Rozycki <macro@codesourcery.com>
127 * rs6000-tdep.c (rs6000_frame_cache): Correct little-endian GPR
128 offset into SPE pseudo registers.
130 2014-03-18 Pedro Alves <palves@redhat.com>
133 * inferior.h (print_stop_event): Declare.
134 * infrun.c (print_stop_event): New, factored out from ...
135 (normal_stop): ... this.
136 * mi/mi-interp.c (mi_on_normal_stop): Use print_stop_event instead
137 of bpstat_print/print_stack_frame.
139 2014-03-17 Tom Tromey <tromey@redhat.com>
141 * ui-out.c (clear_table, ui_out_new): Clear uiout->table.id.
143 2014-03-17 Pierre-Marie de Rodat <derodat@adacore.com>
145 * ada-lang.c (decode_constrained_packed_array): Perform a
146 minimal coercion for reference with coerce_ref instead of
149 2014-03-17 Tristan Gingold <gingold@adacore.com>
151 * solib-darwin.c (DYLD_VERSION_MAX): Increase value.
152 (darwin_solib_create_inferior_hook): Emit a warning if version
155 2014-03-16 Ulrich Weigand <uweigand@de.ibm.com>
157 * python/py-value.c (get_field_flag): Cast flag_name argument to
158 PyObject_GetAttrString to support Python 2.4.
160 2014-03-14 Jan Kratochvil <jan.kratochvil@redhat.com>
162 * MAINTAINERS (The Official FSF-appointed GDB Maintainers)
163 (Global Maintainers): Remove Jan Kratochvil.
165 2014-03-14 Pedro Alves <palves@redhat.com>
167 * inferior.h (terminal_ours_for_output): Rename to ...
168 (child_terminal_ours_for_output): ... this.
169 (terminal_save_ours): Rename to ...
170 (child_terminal_save_ours): ... this.
171 (terminal_ours): Rename to ...
172 (child_terminal_ours): ... this.
173 (terminal_inferior): Rename to ...
174 (child_terminal_inferior): ... this.
175 (terminal_init_inferior): Rename to ...
176 (child_terminal_init_inferior): ... this.
177 (terminal_init_inferior_with_pgrp): Rename to ...
178 (child_terminal_init_inferior_with_pgrp): ... this.
179 * inflow.c (terminal_init_inferior_with_pgrp): Rename to ...
180 (child_terminal_init_with_pgrp): ... this.
181 (terminal_save_ours): Rename to ...
182 (child_terminal_save_ours): ... this.
183 (terminal_init_inferior): Rename to ...
184 (child_terminal_init): ... this. Adjust.
185 (terminal_inferior): Rename to ...
186 (child_terminal_inferior): ... this.
187 (terminal_ours_for_output): Rename to ...
188 (child_terminal_ours_for_output): ... this. Adjust.
189 (terminal_ours): Rename to ...
190 (child_terminal_ours): ... this.
191 (terminal_ours_1): Rename to ...
192 (child_terminal_ours_1): ... this. Adjust.
193 * linux-nat.c (linux_nat_terminal_inferior): Adjust.
194 * windows-nat.c (do_initial_windows_stuff): Adjust.
195 * gnu-nat.c (gnu_terminal_init_inferior): Rename to ...
196 (gnu_terminal_init): ... this. Adjust.
197 (gnu_target): Adjust.
198 * inf-child.c (inf_child_target): Adjust.
200 2014-03-13 Doug Evans <xdje42@gmail.com>
203 * guile/scm-type.c (tyscm_copy_type_recursive): Move type to its
206 2014-03-13 Doug Evans <xdje42@gmail.com>
208 * value.c (record_latest_value): Call release_value_or_incref
209 instead of release_value.
211 2014-03-13 Pedro Alves <palves@redhat.com>
213 * procfs.c (procfs_target): Don't override to_shortname,
214 to_longname or to_doc.
216 2014-03-13 Pedro Alves <palves@redhat.com>
218 * inf-child.c (inf_child_open, inf_child_target): Don't mention
219 Unix in user visible strings.
221 2014-03-12 Stan Shebs <stan@codesourcery.com>
223 * gdbtypes.h: Annotate comments for Doxygen, add a page
224 block comment with some general info.
226 2014-03-12 Pedro Alves <palves@redhat.com>
228 * infcmd.c (prepare_execution_command): New function, factored out
229 from several execution commands.
230 (run_command_1, continue_command, step_1, jump_command)
231 (signal_command, until_command, advance_command, finish_command)
232 (attach_command): Use prepare_execution_command.
234 2014-03-12 Omair Javaid <omair.javaid@linaro.org>
236 * arm-linux-nat.c (arm_linux_get_hwbp_cap): Updated.
239 (struct arm_linux_thread_points): Removed.
240 (struct arm_linux_process_info): New.
241 (DEF_VEC_P (arm_linux_thread_points_p)): Removed.
242 (VEC(arm_linux_thread_points_p) *arm_threads): Removed.
243 (arm_linux_find_breakpoints_by_tid): Removed.
244 (struct arch_lwp_info): New.
245 (arm_linux_find_process_pid): New functions.
246 (arm_linux_add_process): New functions.
247 (arm_linux_process_info_get): New functions.
248 (arm_linux_forget_process): New function.
249 (arm_linux_get_debug_reg_state): New function.
250 (struct update_registers_data): New.
251 (update_registers_callback): New function.
252 (arm_linux_insert_hw_breakpoint1): Updated.
253 (arm_linux_remove_hw_breakpoint1): Updated.
254 (arm_linux_insert_hw_breakpoint): Updated.
255 (arm_linux_remove_hw_breakpoint): Updated.
256 (arm_linux_insert_watchpoint): Updated.
257 (arm_linux_remove_watchpoint): Updated.
258 (arm_linux_new_thread): Updated.
259 (arm_linux_prepare_to_resume): New function.
260 (arm_linux_new_fork): New function.
261 (_initialize_arm_linux_nat): Updated.
263 2014-03-12 Pedro Alves <palves@redhat.com>
265 * Makefile.in (TARGET_FLAGS_TO_PASS): Add TESTS.
267 2014-03-12 Tom Tromey <tromey@redhat.com>
269 * inf-child.c (return_zero): New function.
270 (inf_child_target): Set to_can_async_p, to_supports_non_stop.
271 * aix-thread.c (aix_thread_inferior_created): New function.
272 (aix_thread_attach): Remove.
273 (init_aix_thread_ops): Don't set to_attach.
274 (_initialize_aix_thread): Register inferior_created observer.
275 * corelow.c (init_core_ops): Don't set to_attach or
277 * exec.c (init_exec_ops): Don't set to_attach or
279 * infcmd.c (run_command_1): Use find_run_target. Make direct
281 (attach_command): Use find_attach_target. Make direct target
283 * record-btrace.c (init_record_btrace_ops): Don't set
285 * record-full.c (record_full_can_async_p, record_full_is_async_p):
287 (init_record_full_ops, init_record_full_core_ops): Update. Don't
288 set to_create_inferior.
289 * target.c (complete_target_initialization): Add assertion.
290 (target_create_inferior): Remove.
291 (find_default_attach, find_default_create_inferior): Remove.
292 (find_attach_target, find_run_target): New functions.
293 (find_default_is_async_p, find_default_can_async_p)
294 (target_supports_non_stop, target_attach): Remove.
295 (init_dummy_target): Don't set to_create_inferior or
296 to_supports_non_stop.
297 * target.h (struct target_ops) <to_attach>: Add comment. Remove
299 <to_create_inferior>: Add comment.
300 <to_can_async_p, to_is_async_p, to_supports_non_stop>: Use
301 TARGET_DEFAULT_RETURN.
302 <to_can_async_p, to_supports_non_stop, to_can_run>: Add comments.
303 (find_attach_target, find_run_target): Declare.
304 (target_create_inferior): Remove.
305 (target_has_execution_1): Update comment.
306 (target_supports_non_stop): Remove.
307 * target-delegates.c: Rebuild.
309 2014-03-12 Pedro Alves <palves@redhat.com>
311 * inf-child.h: Update comment to not mention Unix.
313 2014-03-12 Pedro Alves <palves@redhat.com>
315 * inf-child.c: Update top comment to not mention Unix. Add
316 generic comment describing how this target is meant to be used.
317 (inf_child_post_attach, inf_child_post_startup_inferior)
318 (inf_child_follow_fork, inf_child_pid_to_exec_file): Don't mention
321 2014-03-12 Pedro Alves <palves@redhat.com>
323 * nto-procfs.c: Include inf-child.h.
324 (procfs_ops): Delete global.
325 (procfs_can_run): Delete method.
326 (procfs_detach, procfs_mourn_inferior): Unpush the passed in
327 target pointer instead of referencing procfs_ops.
328 (procfs_prepare_to_store): Delete.
329 (init_procfs_ops): Delete function.
330 (procfs_target): New function, based on init_procfs_ops, but
331 inherit inf_child_target.
332 (_initialize_procfs): Use procfs_target.
334 2014-03-12 Pedro Alves <palves@redhat.com>
336 * windows-nat.c: Include inf-child.h.
337 (windows_ops): Delete global.
338 (windows_open, windows_prepare_to_store, windows_can_run): Delete
340 (init_windows_ops): Delete function.
341 (windows_target): New function, based on init_windows_ops, but
342 inherit inf_child_target.
343 (_initialize_windows_nat): Use windows_target. Install x86
344 specific target methods here.
346 2014-03-10 Doug Evans <xdje42@gmail.com>
348 * guile/guile.c (call_initialize_gdb_module): New function.
349 (initialize_guile): Replace call to scm_init_guile with call to
352 2014-03-10 Joel Brobecker <brobecker@adacore.com>
354 * ada-lang.c (ada_evaluate_subexp): Add missing space before '('
355 in call to TYPE_CODE macro.
357 2014-03-10 Jerome Guitton <guitton@adacore.com>
359 * ada-lang.c (ada_evaluate_subexp) <UNOP_IND, STRUCTOP_STRUCT>:
360 Resolve tagged types to full view.
362 2014-03-10 Hui Zhu <hui@codesourcery.com>
364 * target.h (target_insert_breakpoint): Remove "hardware" from its
367 2014-03-07 Doug Evans <dje@google.com>
369 * dwarf2read.c (read_str_index): Rename local dwo_name to objf_name.
371 2014-03-07 Doug Evans <dje@google.com>
373 * dwarf2read.c (read_cutu_die_from_dwo): Fix function comment.
374 Remove unused local comp_dir_attr. Assert exactly one of
375 stub_comp_unit_die, stub_comp_dir is non-NULL.
377 2014-03-07 Joel Brobecker <brobecker@adacore.com>
379 * target.h (complete_target_initialization, add_target):
382 2014-03-07 Pedro Alves <palves@redhat.com>
384 * go32-nat.c: Include inf-child.h.
385 (go32_ops): Delete global.
386 (go32_close, go32_detach, go32_prepare_to_store, go32_can_run):
388 (go32_create_inferior): Push the passed in target pointer instead
389 of referencing go32_ops.
390 (init_go32_ops): Delete function. Moved parts to _initialize_go32_nat.
391 (go32_target): New function, based on init_go32_ops, but inherit
393 (_initialize_go32_nat): Use go32_target. Move parts of
396 2014-03-06 Joel Brobecker <brobecker@adacore.com>
398 * sol-thread.c: #include "symtab.h", "minsym.h" and "objfiles.h".
399 (ps_pglobal_lookup): Use BMSYMBOL_VALUE_ADDRESS instead of
400 SYMBOL_VALUE_ADDRESS.
401 (info_cb): MSYMBOL_PRINT_NAME instead of SYMBOL_PRINT_NAME.
403 2014-03-06 Yao Qi <yao@codesourcery.com>
405 * breakpoint.c (get_tracepoint_by_number): Remove argument
406 optional_p. All callers updated. Adjust comments. Update
408 * breakpoint.h (get_tracepoint_by_number): Update declaration.
410 2014-03-06 Yao Qi <yao@codesourcery.com>
412 * reverse.c (goto_bookmark_command): Add local 'p'. Emit error
413 early if get_number returns zero. Use 'p' instead of 'args'.
415 2014-03-06 Yao Qi <yao@codesourcery.com>
417 * cli/cli-utils.c (get_number_trailer): Add '\n' at the end of
420 2014-03-06 Yao Qi <yao@codesourcery.com>
423 * tracepoint.c (check_trace_running): New function.
424 (trace_find_command): Move code to check_trace_running and
425 call check_trace_running.
426 (trace_find_pc_command): Likewise.
427 (trace_find_tracepoint_command): Likewise.
428 (trace_find_line_command): Likewise.
429 (trace_find_range_command): Likewise.
430 * tracepoint.h (check_trace_running): Likewise.
431 * mi/mi-main.c (mi_cmd_trace_find): Call check_trace_running.
433 2014-03-06 Yao Qi <yao@codesourcery.com>
435 * target.h (struct target_ops) <to_traceframe_info>: Use
436 TARGET_DEFAULT_NORETURN (tcomplain ()).
437 * target-delegates.c: Regenerated.
439 2014-03-05 Pedro Alves <palves@redhat.com>
442 * dcache.c (dcache_poke_byte): Constify ptr parameter. Return
443 void. Update comment.
444 (dcache_xfer_memory): Delete.
445 (dcache_read_memory_partial): New, based on the read bits of
447 (dcache_update): Add status parameter. Use ULONGEST for len, and
448 adjust. Discard cache lines if the reason for the update was
450 * dcache.h (dcache_xfer_memory): Delete declaration.
451 (dcache_read_memory_partial): New declaration.
452 (dcache_update): Update prototype.
453 * target.c (raw_memory_xfer_partial): Update the dcache here.
454 (memory_xfer_partial_1): Don't handle dcache writes here.
456 2014-03-05 Mike Frysinger <vapier@gentoo.org>
458 * remote-sim.c (gdbsim_load): Add const to prog.
460 2014-03-03 Tom Tromey <tromey@redhat.com>
462 * elfread.c (probe_key): Change to bfd_data.
463 (elf_get_probes, probe_key_free, _initialize_elfread): Probes are
464 now per-BFD, not per-objfile.
465 * stap-probe.c (stap_probe_destroy): Update comment.
466 (handle_stap_probe): Allocate on the per-BFD obstack.
468 2014-03-03 Tom Tromey <tromey@redhat.com>
470 * break-catch-throw.c (fetch_probe_arguments): Use bound probes.
471 * breakpoint.c (create_longjmp_master_breakpoint): Use
473 (add_location_to_breakpoint, bkpt_probe_insert_location)
474 (bkpt_probe_remove_location): Update.
475 * breakpoint.h (struct bp_location) <probe>: Now a bound_probe.
476 * elfread.c (elf_symfile_relocate_probe): Remove.
477 (elf_probe_fns): Update.
478 (insert_exception_resume_breakpoint): Change type of "probe"
479 parameter to bound_probe.
480 (check_exception_resume): Update.
481 * objfiles.c (objfile_relocate1): Don't relocate probes.
482 * probe.c (bound_probe_s): New typedef.
483 (parse_probes): Use get_probe_address. Set sal's objfile.
484 (find_probe_by_pc): Return a bound_probe.
485 (collect_probes): Return a VEC(bound_probe_s).
486 (compare_probes): Update.
487 (gen_ui_out_table_header_info): Change type of "probes"
489 (info_probes_for_ops): Update.
490 (get_probe_address): New function.
491 (probe_safe_evaluate_at_pc): Update.
492 * probe.h (struct probe_ops) <get_probe_address>: New field.
493 <set_semaphore, clear_semaphore>: Add objfile parameter.
494 (struct probe) <objfile>: Remove field.
496 <address>: Update comment.
497 (struct bound_probe): New.
498 (find_probe_by_pc): Return a bound_probe.
499 (get_probe_address): Declare.
500 * solib-svr4.c (struct probe_and_action) <address>: New field.
501 (hash_probe_and_action, equal_probe_and_action): Update.
502 (register_solib_event_probe): Add address parameter.
503 (solib_event_probe_at): Update.
504 (svr4_create_probe_breakpoints): Add objfile parameter. Use
506 * stap-probe.c (struct stap_probe) <sem_addr>: Update comment.
507 (stap_get_probe_address): New function.
508 (stap_can_evaluate_probe_arguments, compute_probe_arg)
509 (compile_probe_arg): Update.
510 (stap_set_semaphore, stap_clear_semaphore): Compute semaphore's
512 (handle_stap_probe): Don't relocate the probe.
513 (stap_relocate): Remove.
514 (stap_gen_info_probes_table_values): Update.
515 (stap_probe_ops): Remove stap_relocate.
516 * symfile-debug.c (debug_sym_relocate_probe): Remove.
517 (debug_sym_probe_fns): Update.
518 * symfile.h (struct sym_probe_fns) <sym_relocate_probe>: Remove.
519 * symtab.c (init_sal): Use memset.
520 * symtab.h (struct symtab_and_line) <objfile>: New field.
521 * tracepoint.c (start_tracing, stop_tracing): Update.
523 2014-03-03 Tom Tromey <tromey@redhat.com>
525 * probe.h (parse_probes, find_probe_by_pc)
526 (find_probes_in_objfile): Fix comments.
528 2014-03-02 Doug Evans <xdje42@gmail.com>
530 * infrun.c (handle_signal_stop): Replace test for
531 TARGET_WAITKIND_STOPPED with an assert.
533 2014-03-02 Doug Evans <xdje42@gmail.com>
535 * guile/scm-objfile.c (ofscm_mark_objfile_smob): Fix typo in comment.
537 2014-03-02 Doug Evans <xdje42@gmail.com>
539 * guile/lib/gdb/printing.scm (append-pretty-printer!): Fix thinko.
541 2014-03-01 Mark Kettenis <kettenis@gnu.org>
543 * obsd-nat.c: Include "gdb_wait.h" instead of <sys/wait.h>.
545 2014-03-01 Mark Kettenis <kettenis@gnu.org>
547 * i386obsd-nat.c: Include "obsd-nat.h".
548 (_initialize_i386obsd_nat): Call obsd_add_target instead of
550 * config/i386/obsd.mh (NATDEPFILES): Add obsd-nat.o.
552 2014-03-01 Mark Kettenis <kettenis@gnu.org>
554 * i386obsd-nat.c (i386obsd_supply_pcb): Cast 'sf' to 'gdb_byte *'.
556 2014-03-01 Mark Kettenis <kettenis@gnu.org>
558 * mips64obsd-nat.c: Include "obsd-nath".
559 (_initialize_mips64obsd_nat): Call obsd_add_target instead of
561 * config/mips/obsd64.mh (NATDEPFILES): Add obsd-nat.o.
563 2014-03-01 Mark Kettenis <kettenis@gnu.org>
565 * amd64obsd-nat.c: Include "obsd-nat,h.
566 (_initialize_amd64obsd_nat): Call obsd_add_target instead of
568 * config/i386/obsd64.mh (NATDEPFILES): Add obsd-nat.o.
570 2014-02-28 Siva Chandra Reddy <sivachandra@google.com>
572 * valops.c (find_oload_champ): Remove unneccesary argument METHOD.
573 (find_overload_match): Update call to find_oload_champ.
574 (find_oload_champ_namespace_loop): Likewise
576 2014-02-28 Mark Kettenis <kettenis@gnu.org>
578 * Makefile.in (ALLDEPFILES): Add sparc64obsd-nat.c.
580 * configure.host (sparc64-*-openbsd*): Set gdb_host to obsd64.
581 * config/sparc/obsd64.mh: New file.
582 * sparc64obsd-nat.c: New file.
584 * obsd-nat.h: New file.
585 * obsd-nat.c: New file.
586 * Makefile.in (HFILES_NO_SRCDIR): Add obsd-nat.h.
587 (ALLDEPFILES): Add obsd-nat.c.
589 2014-02-28 Tom Tromey <tromey@redhat.com>
591 * cli-out.c (cli_ui_out_impl): Now const. Remove comment.
592 * cli-out.h (cli_ui_out_impl): Now const.
593 * mi/mi-out.c (mi_ui_out_impl): Now const. Remove comment.
594 * ui-out.c (struct ui_out) <impl>: Now const.
595 (default_ui_out_impl): Now const.
596 (ui_out_new): Make 'impl' parameter const.
597 * ui-out.h (ui_out_new): Update.
599 2014-02-27 Mark Kettenis <kettenis@gnu.org>
601 * solib-svr4.c (svr4_read_so_list): Initialize first_l_name to 0.
603 2014-02-27 Mark Kettenis <kettenis@gnu.org>
605 * sparc-nat.c (sparc_xfer_wcookie): Always use process ID.
607 2014-02-27 Jan Kratochvil <jan.kratochvil@redhat.com>
609 Additional PR 8882 fix.
610 * solib-svr4.c (svr4_read_so_list): Change first to first_l_name.
612 2014-02-27 Pedro Alves <palves@redhat.com>
614 * nat/linux-waitpid.c (my_waitpid): Only block signals if WNOHANG
617 2014-02-27 Pedro Alves <palves@redhat.com>
620 * linux-nat.c (status_to_str): Moved to nat/linux-waitpid.c.
621 * nat/linux-waitpid.c: Include string.h.
622 (status_to_str): Moved here and made extern.
623 * nat/linux-waitpid.h (status_to_str): New declaration.
625 2014-02-27 Hui Zhu <hui@codesourcery.com>
628 * infrun.c (ptid_match): Move ...
629 * common/ptid.c (ptid_match): ... here.
630 * inferior.h (ptid_match): Move ...
631 * common/ptid.h (ptid_match): ... here.
633 2014-02-27 Mark Kettenis <kettenis@gnu.org>
635 * mips64obsd-tdep.c (mips64obsd_init_abi): Call obsd_init_abi.
636 * configure.tgt (mips64*-*-openbsd*): Add obsd-tdep.c to
639 2014-02-27 Mark Kettenis <kettenis@gnu.org>
641 * obsd-tdep.c (obsd_auxv_parse): New function.
642 (obsd_init_abi): Set auxv_parse.
644 * gdbarch.sh (auxv_parse): New.
645 * gdbarch.h: Regenerated.
646 * gdbarch.c: Regenerated.
647 * auxv.c (target_auxv_parse): Call gdbarch_parse_auxv if provided.
649 2014-02-26 Ludovic Courtès <ludo@gnu.org>
651 * guile/scm-value.c (gdbscm_history_append_x): New function.
652 (value_functions): Add it.
654 2014-02-27 Joel Brobecker <brobecker@adacore.com>
656 * dwarf2read.c (attr_value_as_address): New function.
657 (dwarf2_find_base_address, read_call_site_scope): Use
658 attr_value_as_address in place of DW_ADDR.
659 (dwarf2_get_pc_bounds): Use attr_value_as_address to get
660 the low and high addresses. Slight rework of the handling
661 of the high pc being a constant form, and limit it to
662 DWARF verson 4 or higher.
663 (dwarf2_record_block_ranges): Likewise.
664 (read_partial_die): Likewise.
665 (new_symbol_full): Use attr_value_as_address in place of DW_ADDR.
667 2014-02-26 Tom Tromey <tromey@redhat.com>
669 * exec.c (exec_file_attach): Hold a reference to exec_bfd.
671 2014-02-26 Tom Tromey <tromey@redhat.com>
673 * elfread.c (elf_read_minimal_symbols): Return early if
674 minimal symbols have already been read. Add "ei" parameter.
675 (elf_symfile_read): Call elf_read_minimal_symbols earlier.
676 * minsyms.c (prim_record_minimal_symbol_full): Update.
677 * objfiles.h (struct objstats) <n_minsyms>: Move...
678 (struct objfile_per_bfd_storage) <n_minsyms>: ... here.
679 * symmisc.c (print_objfile_statistics): Update.
681 2014-02-26 Tom Tromey <tromey@redhat.com>
683 * elfread.c (elf_read_minimal_symbols): New function, from
685 (elf_symfile_read): Call it.
687 2014-02-26 Tom Tromey <tromey@redhat.com>
689 * minsyms.c (lookup_minimal_symbol, iterate_over_minimal_symbols)
690 (lookup_minimal_symbol_text, lookup_minimal_symbol_by_pc_name)
691 (lookup_minimal_symbol_solib_trampoline)
692 (lookup_minimal_symbol_by_pc_section_1)
693 (lookup_minimal_symbol_and_objfile): Update.
694 (prim_record_minimal_symbol_full): Use the per-BFD obstack.
695 Don't allocate a minimal symbol if minsyms have already been read.
696 (build_minimal_symbol_hash_tables): Update.
697 (install_minimal_symbols): Do nothing if minsyms already read.
698 Use the per-BFD obstack.
699 (terminate_minimal_symbol_table): Use the per-BFD obstack.
700 * objfiles.c (allocate_objfile): Call
701 terminate_minimal_symbol_table later.
702 (have_minimal_symbols): Update.
703 * objfiles.h (struct objfile_per_bfd_storage) <msymbols,
704 minimal_symbol_count, msymbol_hash, msymbol_demangled_hash>:
705 Move from struct objfile.
706 <minsyms_read>: New field.
707 (struct objfile) <msymbols, minimal_symbol_count,
708 msymbol_hash, msymbol_demangled_hash>: Move.
709 (ALL_OBJFILE_MSYMBOLS): Update.
710 * symfile.c (read_symbols): Set minsyms_read.
711 (reread_symbols): Update.
712 * symmisc.c (dump_objfile, dump_msymbols): Update.
714 2014-02-26 Tom Tromey <tromey@redhat.com>
716 * minsyms.c (msymbols_sort): Remove.
717 * minsyms.h (msymbols_sort): Remove.
718 * objfiles.c (objfile_relocate1): Don't relocate minsyms.
719 * symtab.h (MSYMBOL_VALUE_ADDRESS): Use objfile offsets.
720 * elfread.c (elf_symtab_read): Don't add section offsets.
721 * xcoffread.c (record_minimal_symbol): Don't add section offset
722 to minimal symbol address.
723 * somread.c (text_offset, data_offset): Remove.
724 (som_symtab_read): Don't add section offsets to minimal symbol
726 * coff-pe-read.c (add_pe_forwarded_sym, read_pe_exported_syms):
727 Don't add section offsets to minimal symbols.
728 * coffread.c (coff_symtab_read): Don't add section offsets
729 to minimal symbol addresses.
730 * machoread.c (macho_symtab_add_minsym): Don't add section offset
731 to minimal symbol addresses.
732 * mipsread.c (read_alphacoff_dynamic_symtab): Don't add
733 section offset to minimal symbol addresses.
734 * mdebugread.c (parse_partial_symbols): Don't add section
735 offset to minimal symbol addresses.
736 * dbxread.c (read_dbx_dynamic_symtab): Don't add section
737 offset to minimal symbol addresses.
739 2014-02-26 Tom Tromey <tromey@redhat.com>
741 * ada-lang.c (ada_main_name): Update.
742 (ada_add_standard_exceptions): Update.
743 * ada-tasks.c (ada_tasks_inferior_data_sniffer): Update.
744 * aix-thread.c (pdc_symbol_addrs, pd_enable): Update.
745 * arm-tdep.c (skip_prologue_function, arm_skip_stub): Update.
746 * auxv.c (ld_so_xfer_auxv): Update.
747 * avr-tdep.c (avr_scan_prologue): Update.
748 * ax-gdb.c (gen_var_ref): Update.
749 * blockframe.c (get_pc_function_start)
750 (find_pc_partial_function_gnu_ifunc): Update.
751 * breakpoint.c (create_overlay_event_breakpoint)
752 (create_longjmp_master_breakpoint)
753 (create_std_terminate_master_breakpoint)
754 (create_exception_master_breakpoint): Update.
755 * bsd-uthread.c (bsd_uthread_lookup_address): Update.
756 * c-valprint.c (c_val_print): Update.
757 * coff-pe-read.c (add_pe_forwarded_sym): Update.
758 * common/agent.c (agent_look_up_symbols): Update.
759 * dbxread.c (find_stab_function_addr, end_psymtab): Update.
760 * dwarf2loc.c (call_site_to_target_addr): Update.
761 * dwarf2read.c (dw2_find_pc_sect_symtab): Update.
762 * elfread.c (elf_gnu_ifunc_record_cache)
763 (elf_gnu_ifunc_resolve_by_got): Update.
764 * findvar.c (default_read_var_value): Update.
765 * frame.c (inside_main_func): Update.
766 * frv-tdep.c (frv_frame_this_id): Update.
767 * glibc-tdep.c (glibc_skip_solib_resolver): Update.
768 * gnu-v3-abi.c (gnuv3_get_typeid, gnuv3_skip_trampoline):
770 * hppa-hpux-tdep.c (hppa64_hpux_search_dummy_call_sequence)
771 (hppa_hpux_find_dummy_bpaddr): Update.
772 * hppa-tdep.c (hppa_symbol_address): Update.
773 * infcmd.c (until_next_command): Update.
774 * jit.c (jit_read_descriptor, jit_breakpoint_re_set_internal):
776 * linespec.c (minsym_found, add_minsym): Update.
777 * linux-nat.c (get_signo): Update.
778 * linux-thread-db.c (inferior_has_bug): Update.
779 * m32c-tdep.c (m32c_return_value)
780 (m32c_m16c_address_to_pointer): Update.
781 * m32r-tdep.c (m32r_frame_this_id): Update.
782 * m68hc11-tdep.c (m68hc11_get_register_info): Update.
783 * machoread.c (macho_resolve_oso_sym_with_minsym): Update.
784 * maint.c (maintenance_translate_address): Update.
785 * minsyms.c (lookup_minimal_symbol_by_pc_name): Update.
786 (frob_address): New function.
787 (lookup_minimal_symbol_by_pc_section_1): Use raw addresses,
788 frob_address. Rename parameter to "pc_in".
789 (compare_minimal_symbols, compact_minimal_symbols): Use raw
791 (find_solib_trampoline_target, minimal_symbol_upper_bound):
793 * mips-linux-tdep.c (mips_linux_skip_resolver): Update.
794 * mips-tdep.c (mips_skip_pic_trampoline_code): Update.
795 * objc-lang.c (find_objc_msgsend): Update.
796 * objfiles.c (objfile_relocate1): Update.
797 * obsd-tdep.c (obsd_skip_solib_resolver): Update.
798 * p-valprint.c (pascal_val_print): Update.
799 * parse.c (write_exp_msymbol): Update.
800 * ppc-linux-tdep.c (ppc_linux_spe_context_lookup)
801 (ppc_elfv2_skip_entrypoint): Update.
802 * ppc-sysv-tdep.c (convert_code_addr_to_desc_addr): Update.
803 * printcmd.c (build_address_symbolic, msym_info)
804 (address_info): Update.
805 * proc-service.c (ps_pglobal_lookup): Update.
806 * psymtab.c (find_pc_sect_psymtab_closer)
807 (find_pc_sect_psymtab, find_pc_sect_symtab_from_partial):
808 Change msymbol parameter to bound_minimal_symbol.
809 * ravenscar-thread.c (get_running_thread_id): Update.
810 * remote.c (remote_check_symbols): Update.
811 * sh64-tdep.c (sh64_elf_make_msymbol_special): Use raw
813 * sol2-tdep.c (sol2_skip_solib_resolver): Update.
814 * solib-dsbt.c (lm_base): Update.
815 * solib-frv.c (lm_base, main_got): Update.
816 * solib-irix.c (locate_base): Update.
817 * solib-som.c (som_solib_create_inferior_hook)
818 (link_map_start): Update.
819 * solib-spu.c (spu_enable_break, ocl_enable_break): Update.
820 * solib-svr4.c (elf_locate_base, enable_break): Update.
821 * spu-tdep.c (spu_get_overlay_table, spu_catch_start)
822 (flush_ea_cache): Update.
823 * stabsread.c (define_symbol, scan_file_globals): Update.
824 * stack.c (find_frame_funname): Update.
825 * symfile-debug.c (debug_qf_expand_symtabs_matching)
826 (debug_qf_find_pc_sect_symtab): Update.
827 * symfile.c (simple_read_overlay_table)
828 (simple_overlay_update): Update.
829 * symfile.h (struct quick_symbol_functions)
830 <find_pc_sect_symtab>: Change type of msymbol to
831 bound_minimal_symbol.
832 * symmisc.c (dump_msymbols): Update.
833 * symtab.c (find_pc_sect_symtab_via_partial)
834 (find_pc_sect_psymtab, find_pc_sect_line, skip_prologue_sal)
835 (search_symbols, print_msymbol_info): Update.
836 * symtab.h (MSYMBOL_VALUE_RAW_ADDRESS): New macro.
837 (MSYMBOL_VALUE_ADDRESS): Redefine.
838 (BMSYMBOL_VALUE_ADDRESS): New macro.
839 * tracepoint.c (scope_info): Update.
840 * tui/tui-disasm.c (tui_find_disassembly_address)
841 (tui_get_begin_asm_address): Update.
842 * valops.c (find_function_in_inferior): Update.
843 * value.c (value_static_field, value_fn_field): Update.
845 2014-02-26 Tom Tromey <tromey@redhat.com>
847 * ada-lang.c (ada_update_initial_language): Update.
848 (ada_main_name, ada_has_this_exception_support): Update.
849 * ada-tasks.c (ada_tasks_inferior_data_sniffer): Update.
850 * aix-thread.c (pdc_symbol_addrs, pd_enable): Update.
851 * arm-tdep.c (arm_skip_stub): Update.
852 * auxv.c (ld_so_xfer_auxv): Update.
853 * avr-tdep.c (avr_scan_prologue): Update.
854 * ax-gdb.c (gen_var_ref): Update.
855 * breakpoint.c (struct breakpoint_objfile_data)
856 <overlay_msym, longjmp_msym, terminate_msym, exception_msym>: Change
857 type to bound_minimal_symbol.
858 (create_overlay_event_breakpoint)
859 (create_longjmp_master_breakpoint)
860 (create_std_terminate_master_breakpoint)
861 (create_exception_master_breakpoint): Update.
862 * bsd-uthread.c (bsd_uthread_lookup_address): Update.
863 * c-exp.y (classify_name): Update.
864 * coffread.c (coff_symfile_read): Update.
865 * common/agent.c (agent_look_up_symbols): Update.
866 * d-lang.c (d_main_name): Update.
867 * dbxread.c (find_stab_function_addr, end_psymtab): Update.
868 * dec-thread.c (enable_dec_thread): Update.
869 * dwarf2loc.c (call_site_to_target_addr): Update.
870 * elfread.c (elf_gnu_ifunc_resolve_by_got): Update.
871 * eval.c (evaluate_subexp_standard): Update.
872 * findvar.c (struct minsym_lookup_data) <result>: Change type
873 to bound_minimal_symbol.
875 (minsym_lookup_iterator_cb, default_read_var_value): Update.
876 * frame.c (inside_main_func): Update.
877 * frv-tdep.c (frv_frame_this_id): Update.
878 * gcore.c (call_target_sbrk): Update.
879 * glibc-tdep.c (glibc_skip_solib_resolver): Update.
880 * gnu-v3-abi.c (gnuv3_get_typeid, gnuv3_skip_trampoline):
882 * go-lang.c (go_main_name): Update.
883 * hppa-hpux-tdep.c (hppa_hpux_skip_trampoline_code)
884 (hppa_hpux_find_import_stub_for_addr): Update.
885 * hppa-tdep.c (hppa_extract_17, hppa_lookup_stub_minimal_symbol):
886 Update. Change return type.
887 * hppa-tdep.h (hppa_lookup_stub_minimal_symbol): Change return
889 * jit.c (jit_breakpoint_re_set_internal): Update.
890 * linux-fork.c (inferior_call_waitpid, checkpoint_command):
892 * linux-nat.c (get_signo): Update.
893 * linux-thread-db.c (inferior_has_bug): Update
894 * m32c-tdep.c (m32c_return_value)
895 (m32c_m16c_address_to_pointer): Update.
896 * m32r-tdep.c (m32r_frame_this_id): Update.
897 * m68hc11-tdep.c (m68hc11_get_register_info): Update.
898 * machoread.c (macho_resolve_oso_sym_with_minsym): Update.
899 * minsyms.c (lookup_minimal_symbol_internal): Rename to
900 lookup_minimal_symbol. Change return type.
901 (lookup_minimal_symbol): Remove.
902 (lookup_bound_minimal_symbol): Update.
903 (lookup_minimal_symbol_text): Change return type.
904 (lookup_minimal_symbol_solib_trampoline): Change return type.
905 * minsyms.h (lookup_minimal_symbol, lookup_minimal_symbol_text)
906 (lookup_minimal_symbol_solib_trampoline): Change return type.
907 * mips-linux-tdep.c (mips_linux_skip_resolver): Update.
908 * objc-lang.c (lookup_objc_class, lookup_child_selector)
909 (value_nsstring, find_imps): Update.
910 * obsd-tdep.c (obsd_skip_solib_resolver): Update.
911 * p-lang.c (pascal_main_name): Update.
912 * ppc-linux-tdep.c (ppc_linux_spe_context_lookup): Update.
913 * ppc-sysv-tdep.c (convert_code_addr_to_desc_addr): Update.
914 * proc-service.c (ps_pglobal_lookup): Update.
915 * ravenscar-thread.c (get_running_thread_msymbol): Change
917 (has_ravenscar_runtime, get_running_thread_id): Update.
918 * remote.c (remote_check_symbols): Update.
919 * sol-thread.c (ps_pglobal_lookup): Update.
920 * sol2-tdep.c (sol2_skip_solib_resolver): Update.
921 * solib-dsbt.c (lm_base): Update.
922 * solib-frv.c (lm_base, frv_relocate_section_addresses):
924 * solib-irix.c (locate_base): Update.
925 * solib-som.c (som_solib_create_inferior_hook)
926 (som_solib_desire_dynamic_linker_symbols, link_map_start):
928 * solib-spu.c (spu_enable_break): Update.
929 * solib-svr4.c (elf_locate_base, enable_break): Update.
930 * spu-tdep.c (spu_get_overlay_table, spu_catch_start)
931 (flush_ea_cache): Update.
932 * stabsread.c (define_symbol): Update.
933 * symfile.c (simple_read_overlay_table): Update.
934 * symtab.c (find_pc_sect_line): Update.
935 * tracepoint.c (scope_info): Update.
936 * tui-disasm.c (tui_get_begin_asm_address): Update.
937 * value.c (value_static_field): Update.
939 2014-02-26 Tom Tromey <tromey@redhat.com>
941 * minsyms.c (prim_record_minimal_symbol_full): Use
942 SET_MSYMBOL_VALUE_ADDRESS.
943 * objfiles.c (objfile_relocate1): Use SET_MSYMBOL_VALUE_ADDRESS.
944 * sh64-tdep.c (sh64_elf_make_msymbol_special): Use
945 SET_MSYMBOL_VALUE_ADDRESS.
946 * symtab.h (MSYMBOL_VALUE_ADDRESS): Expand to an rvalue.
947 (SET_MSYMBOL_VALUE_ADDRESS): New macro.
949 2014-02-26 Tom Tromey <tromey@redhat.com>
951 * symtab.h (struct minimal_symbol) <mginfo>: Rename from ginfo.
952 (MSYMBOL_VALUE, MSYMBOL_VALUE_ADDRESS, MSYMBOL_VALUE_BYTES)
953 (MSYMBOL_BLOCK_VALUE, MSYMBOL_VALUE_CHAIN, MSYMBOL_LANGUAGE)
954 (MSYMBOL_SECTION, MSYMBOL_OBJ_SECTION, MSYMBOL_NATURAL_NAME)
955 (MSYMBOL_LINKAGE_NAME, MSYMBOL_PRINT_NAME, MSYMBOL_DEMANGLED_NAME)
956 (MSYMBOL_SET_LANGUAGE, MSYMBOL_SEARCH_NAME)
957 (MSYMBOL_MATCHES_SEARCH_NAME, MSYMBOL_SET_NAMES): New macros.
958 * ada-lang.c (ada_main_name): Update.
959 (ada_lookup_simple_minsym): Update.
960 (ada_make_symbol_completion_list): Update.
961 (ada_add_standard_exceptions): Update.
962 * ada-tasks.c (read_atcb, ada_tasks_inferior_data_sniffer): Update.
963 * aix-thread.c (pdc_symbol_addrs, pd_enable): Update.
964 * amd64-windows-tdep.c (amd64_skip_main_prologue): Update.
965 * arm-tdep.c (skip_prologue_function): Update.
966 (arm_skip_stack_protector, arm_skip_stub): Update.
967 * arm-wince-tdep.c (arm_pe_skip_trampoline_code): Update.
968 (arm_wince_skip_main_prologue): Update.
969 * auxv.c (ld_so_xfer_auxv): Update.
970 * avr-tdep.c (avr_scan_prologue): Update.
971 * ax-gdb.c (gen_var_ref): Update.
972 * block.c (call_site_for_pc): Update.
973 * blockframe.c (get_pc_function_start): Update.
974 (find_pc_partial_function_gnu_ifunc): Update.
975 * breakpoint.c (create_overlay_event_breakpoint): Update.
976 (create_longjmp_master_breakpoint): Update.
977 (create_std_terminate_master_breakpoint): Update.
978 (create_exception_master_breakpoint): Update.
979 (resolve_sal_pc): Update.
980 * bsd-uthread.c (bsd_uthread_lookup_address): Update.
981 * btrace.c (ftrace_print_function_name, ftrace_function_switched):
983 * c-valprint.c (c_val_print): Update.
984 * coff-pe-read.c (add_pe_forwarded_sym): Update.
985 * coffread.c (coff_symfile_read): Update.
986 * common/agent.c (agent_look_up_symbols): Update.
987 * dbxread.c (find_stab_function_addr): Update.
988 (end_psymtab): Update.
989 * dwarf2loc.c (call_site_to_target_addr): Update.
990 (func_verify_no_selftailcall): Update.
991 (tailcall_dump): Update.
992 (call_site_find_chain_1): Update.
993 (dwarf_expr_reg_to_entry_parameter): Update.
994 * elfread.c (elf_gnu_ifunc_record_cache): Update.
995 (elf_gnu_ifunc_resolve_by_got): Update.
996 * f-valprint.c (info_common_command): Update.
997 * findvar.c (read_var_value): Update.
998 * frame.c (get_prev_frame_1): Update.
999 (inside_main_func): Update.
1000 * frv-tdep.c (frv_skip_main_prologue): Update.
1001 (frv_frame_this_id): Update.
1002 * glibc-tdep.c (glibc_skip_solib_resolver): Update.
1003 * gnu-v2-abi.c (gnuv2_value_rtti_type): Update.
1004 * gnu-v3-abi.c (gnuv3_rtti_type): Update.
1005 (gnuv3_skip_trampoline): Update.
1006 * hppa-hpux-tdep.c (hppa32_hpux_in_solib_call_trampoline): Update.
1007 (hppa64_hpux_in_solib_call_trampoline): Update.
1008 (hppa_hpux_skip_trampoline_code): Update.
1009 (hppa64_hpux_search_dummy_call_sequence): Update.
1010 (hppa_hpux_find_import_stub_for_addr): Update.
1011 (hppa_hpux_find_dummy_bpaddr): Update.
1012 * hppa-tdep.c (hppa_symbol_address)
1013 (hppa_lookup_stub_minimal_symbol): Update.
1014 * i386-tdep.c (i386_skip_main_prologue): Update.
1015 (i386_pe_skip_trampoline_code): Update.
1016 * ia64-tdep.c (ia64_convert_from_func_ptr_addr): Update.
1017 * infcall.c (get_function_name): Update.
1018 * infcmd.c (until_next_command): Update.
1019 * jit.c (jit_breakpoint_re_set_internal): Update.
1020 (jit_inferior_init): Update.
1021 * linespec.c (minsym_found): Update.
1022 (add_minsym): Update.
1023 * linux-fork.c (info_checkpoints_command): Update.
1024 * linux-nat.c (get_signo): Update.
1025 * linux-thread-db.c (inferior_has_bug): Update.
1026 * m32c-tdep.c (m32c_return_value): Update.
1027 (m32c_m16c_address_to_pointer): Update.
1028 (m32c_m16c_pointer_to_address): Update.
1029 * m32r-tdep.c (m32r_frame_this_id): Update.
1030 * m68hc11-tdep.c (m68hc11_get_register_info): Update.
1031 * machoread.c (macho_resolve_oso_sym_with_minsym): Update.
1032 * maint.c (maintenance_translate_address): Update.
1033 * minsyms.c (add_minsym_to_hash_table): Update.
1034 (add_minsym_to_demangled_hash_table): Update.
1035 (msymbol_objfile): Update.
1036 (lookup_minimal_symbol): Update.
1037 (iterate_over_minimal_symbols): Update.
1038 (lookup_minimal_symbol_text): Update.
1039 (lookup_minimal_symbol_by_pc_name): Update.
1040 (lookup_minimal_symbol_solib_trampoline): Update.
1041 (lookup_minimal_symbol_by_pc_section_1): Update.
1042 (lookup_minimal_symbol_and_objfile): Update.
1043 (prim_record_minimal_symbol_full): Update.
1044 (compare_minimal_symbols): Update.
1045 (compact_minimal_symbols): Update.
1046 (build_minimal_symbol_hash_tables): Update.
1047 (install_minimal_symbols): Update.
1048 (terminate_minimal_symbol_table): Update.
1049 (find_solib_trampoline_target): Update.
1050 (minimal_symbol_upper_bound): Update.
1051 * mips-linux-tdep.c (mips_linux_skip_resolver): Update.
1052 * mips-tdep.c (mips_stub_frame_sniffer): Update.
1053 (mips_skip_pic_trampoline_code): Update.
1054 * msp430-tdep.c (msp430_skip_trampoline_code): Update.
1055 * objc-lang.c (selectors_info): Update.
1056 (classes_info): Update.
1057 (find_methods): Update.
1058 (find_imps): Update.
1059 (find_objc_msgsend): Update.
1060 * objfiles.c (objfile_relocate1): Update.
1061 * objfiles.h (ALL_OBJFILE_MSYMBOLS): Update.
1062 * obsd-tdep.c (obsd_skip_solib_resolver): Update.
1063 * p-valprint.c (pascal_val_print): Update.
1064 * parse.c (write_exp_msymbol): Update.
1065 * ppc-linux-tdep.c (powerpc_linux_in_dynsym_resolve_code)
1066 (ppc_linux_spe_context_lookup, ppc_elfv2_skip_entrypoint): Update.
1067 * ppc-sysv-tdep.c (convert_code_addr_to_desc_addr): Update.
1068 * printcmd.c (build_address_symbolic): Update.
1070 (address_info): Update.
1071 * proc-service.c (ps_pglobal_lookup): Update.
1072 * psymtab.c (find_pc_sect_psymtab_closer): Update.
1073 (find_pc_sect_psymtab): Update.
1074 * python/py-framefilter.c (py_print_frame): Update.
1075 * ravenscar-thread.c (get_running_thread_id): Update.
1076 * record-btrace.c (btrace_call_history, btrace_get_bfun_name):
1078 * remote.c (remote_check_symbols): Update.
1079 * rs6000-tdep.c (rs6000_skip_main_prologue): Update.
1080 (rs6000_skip_trampoline_code): Update.
1081 * sh64-tdep.c (sh64_elf_make_msymbol_special): Update.
1082 * sol2-tdep.c (sol2_skip_solib_resolver): Update.
1083 * solib-dsbt.c (lm_base): Update.
1084 * solib-frv.c (lm_base): Update.
1086 * solib-irix.c (locate_base): Update.
1087 * solib-som.c (som_solib_create_inferior_hook): Update.
1088 (som_solib_desire_dynamic_linker_symbols): Update.
1089 (link_map_start): Update.
1090 * solib-spu.c (spu_enable_break): Update.
1091 (ocl_enable_break): Update.
1092 * solib-svr4.c (elf_locate_base): Update.
1093 (enable_break): Update.
1094 * spu-tdep.c (spu_get_overlay_table): Update.
1095 (spu_catch_start): Update.
1096 (flush_ea_cache): Update.
1097 * stabsread.c (define_symbol): Update.
1098 (scan_file_globals): Update.
1099 * stack.c (find_frame_funname): Update.
1100 (frame_info): Update.
1101 * symfile.c (simple_read_overlay_table): Update.
1102 (simple_overlay_update): Update.
1103 * symmisc.c (dump_msymbols): Update.
1104 * symtab.c (fixup_section): Update.
1105 (find_pc_sect_line): Update.
1106 (skip_prologue_sal): Update.
1107 (search_symbols): Update.
1108 (print_msymbol_info): Update.
1109 (rbreak_command): Update.
1110 (MCOMPLETION_LIST_ADD_SYMBOL): New macro.
1111 (completion_list_objc_symbol): Update.
1112 (default_make_symbol_completion_list_break_on): Update.
1113 * tracepoint.c (scope_info): Update.
1114 * tui/tui-disasm.c (tui_find_disassembly_address): Update.
1115 (tui_get_begin_asm_address): Update.
1116 * valops.c (find_function_in_inferior): Update.
1117 * value.c (value_static_field): Update.
1118 (value_fn_field): Update.
1120 2014-02-26 Tom Tromey <tromey@redhat.com>
1122 * blockframe.c (find_pc_partial_function_gnu_ifunc): Use
1123 bound minimal symbols. Move code that knows about minsym
1125 * minsyms.c (minimal_symbol_upper_bound): ... here. New
1127 * minsyms.h (minimal_symbol_upper_bound): Declare.
1128 * objc-lang.c (find_objc_msgsend): Use bound minimal symbols,
1129 minimal_symbol_upper_bound.
1131 2014-02-27 Joel Brobecker <brobecker@adacore.com>
1133 * python/lib/gdb/printing.py (RegexpCollectionPrettyPrinter):
1134 Use the type's name if its basic type does not have a tag.
1136 2014-02-27 Joel Brobecker <brobecker@adacore.com>
1138 * dwarf2read.c (read_subrange_type): Add comment.
1140 2014-02-27 Joel Brobecker <brobecker@adacore.com>
1142 * dwarf2read.c (update_enumeration_type_from_children): New
1143 function, mostly extracted from process_structure_scope.
1144 (read_enumeration_type): Call update_enumeration_type_from_children.
1145 (process_enumeration_scope): Do not set THIS_TYPE's flag_unsigned
1146 and flag_flag_enum fields.
1148 2014-02-26 Pedro Alves <palves@redhat.com>
1150 * bsd-uthread.c (bsd_uthread_xfer_partial): Delete function.
1151 (bsd_uthread_target): Don't install bsd_uthread_xfer_partial as
1152 to_xfer_partial method.
1154 2014-02-26 Pedro Alves <palves@redhat.com>
1156 * target.c (complete_target_initialization): Don't install
1157 default_xfer_partial as to_xfer_partial hook.
1159 (update_current_target): Don't INHERIT nor de_fault
1160 deprecated_xfer_memory. Delete de_fault macro.
1161 (default_xfer_partial, deprecated_debug_xfer_memory): Delete.
1162 (setup_target_debug): Don't install a deprecated_xfer_memory hook.
1163 * target.h (struct target_ops) <deprecated_xfer_memory>: Delete
1166 2014-02-26 Pedro Alves <palves@redhat.com>
1168 * go32-nat.c (my_write_child): New function.
1169 (go32_xfer_memory): Rewrite as to_xfer_partial helper.
1170 (go32_xfer_partial): New function.
1171 (init_go32_ops): Don't install a deprecated_xfer_memory hook.
1172 Instead install a to_xfer_partial hook.
1174 2014-02-26 Pedro Alves <palves@redhat.com>
1176 * nto-procfs.c (procfs_xfer_memory): Adjust interface as a
1177 to_xfer_partial helper. Rewrite.
1178 (procfs_xfer_partial): New function.
1179 (init_procfs_ops): Don't install a deprecated_xfer_memory hook.
1180 Install a to_xfer_partial hook.
1182 2014-02-26 Pedro Alves <palves@redhat.com>
1184 * remote-m32r-sdi.c (send_data): Constify 'buf' parameter.
1185 (m32r_xfer_memory): Adjust as a to_xfer_partial helper.
1186 (m32r_xfer_partial): New function.
1187 (init_m32r_ops): Don't install a deprecated_xfer_memory hook.
1188 Install a to_xfer_partial hook.
1190 2014-02-26 Pedro Alves <palves@redhat.com>
1192 * remote-mips.c (mips_xfer_memory): Adjust as to_xfer_partial
1194 (mips_xfer_partial): New function.
1195 (_initialize_remote_mips): Don't install a deprecated_xfer_memory
1196 hook. Install a to_xfer_partial hook.
1198 2014-02-26 Joel Brobecker <brobecker@adacore.com>
1200 * gdbtypes.h (create_array_type_with_stride): Add declaration.
1201 * gdbtypes.c (create_array_type_with_stride): New function,
1202 renaming create_array_type, but with an added parameter
1203 called "bit_stride".
1204 (create_array_type): Re-implement using
1205 create_array_type_with_stride.
1206 * dwarf2read.c (read_array_type): Add support for DW_AT_byte_stride
1207 and DW_AT_bit_stride attributes.
1209 2014-02-26 Pedro Alves <palves@redhat.com>
1211 * breakpoint.c (bpstat_check_breakpoint_conditions): Handle
1212 task-specific breakpoints.
1214 2014-02-25 Pedro Alves <palves@redhat.com>
1216 * ia64-linux-nat.c (ia64_linux_xfer_partial): Reimplement
1217 handling of object == TARGET_OBJECT_UNWIND_TABLE.
1219 2014-02-25 Stan Shebs <stan@codesourcery.com>
1221 * defs.h: Annotate comments for Doxygen.
1223 2014-02-25 Tom Tromey <tromey@redhat.com>
1225 * target.h (target_ignore): Don't declare.
1226 * target.c (target_ignore): Remove.
1228 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
1231 * auto-load.c (auto_load_objfile_script_1): Change filename to
1234 2014-02-25 Joel Brobecker <brobecker@adacore.com>
1236 * ia64-linux-nat.c (ia64_linux_xfer_partial): Add function
1237 documentation. Adjust prototype to match the target_ops
1238 to_xfer_partial method. Adjust implementation accordingly.
1240 2014-02-25 Hui Zhu <hui@codesourcery.com>
1242 * target.h (target_ops): Fix TARGET_DEFAULT_RETURN of
1245 2014-02-25 Kevin Buettner <kevinb@redhat.com>
1247 * rl78-tdep.c (RL78_BANK0_RP0_PTR_REGNUM, RL78_BANK0_RP1_PTR_REGNUM)
1248 (RL78_BANK0_RP2_PTR_REGNUM, RL78_BANK0_RP3_PTR_REGNUM)
1249 (RL78_BANK1_RP0_PTR_REGNUM, RL78_BANK1_RP1_PTR_REGNUM)
1250 (RL78_BANK1_RP2_PTR_REGNUM, RL78_BANK1_RP3_PTR_REGNUM)
1251 (RL78_BANK2_RP0_PTR_REGNUM, RL78_BANK2_RP1_PTR_REGNUM)
1252 (RL78_BANK2_RP2_PTR_REGNUM, RL78_BANK2_RP3_PTR_REGNUM)
1253 (RL78_BANK3_RP0_PTR_REGNUM, RL78_BANK3_RP1_PTR_REGNUM)
1254 (RL78_BANK3_RP2_PTR_REGNUM, RL78_BANK3_RP3_PTR_REGNUM):
1256 (rl78_register_type): Use a data pointer type for SP and
1257 new pseudo registers mentioned above. Use a 16 bit integer
1258 type for all other register pairs.
1259 (rl78_register_name, rl78_g10_register_name): Update for
1260 new pseudo registers.
1261 (rl78_pseudo_register_read): Likewise.
1262 (rl78_pseudo_register_write): Likewise.
1263 (rl78_dwarf_reg_to_regnum): Return register numbers representing
1264 to the newly added pseudo registers.
1266 2014-02-24 Doug Evans <dje@google.com>
1268 * value.c (record_latest_value): Fix comment.
1269 * printcmd.c (print_command_1): Remove code to handle -1 return from
1270 record_latest_value.
1272 2014-02-24 Pedro Alves <palves@redhat.com>
1274 * procfs.c (procfs_target): Don't install procfs_xfer_memory as
1275 deprecated_xfer_memory hook.
1276 (procfs_xfer_partial): Call procfs_xfer_memory instead
1277 of the deprecated_xfer_memory target hook.
1278 (procfs_xfer_memory): Adjust interface as a to_xfer_partial
1281 2014-02-24 Yuanhui Zhang <asmwarrior@gmail.com>
1283 * windows-nat.c (windows_xfer_shared_libraries): Return
1284 TARGET_XFER_EOF if LEN is zero to fix an assert failure when
1285 requested object is TARGET_OBJECT_LIBRARIES.
1287 2014-02-24 Yao Qi <yao@codesourcery.com>
1289 * target.h (enum target_xfer_status)
1290 <TARGET_XFER_E_UNAVAILABLE>: Rename it to ...
1291 <TARGET_XFER_UNAVAILABLE>: ... it with setting value 2
1293 * corefile.c (memory_error_message): User updated.
1294 * exec.c (section_table_read_available_memory): Likewise.
1295 * record-btrace.c (record_btrace_xfer_partial): Likewise.
1296 * target.c (target_xfer_status_to_string): Likewise.
1297 (raw_memory_xfer_partial): Likewise.
1298 (memory_xfer_partial_1, target_xfer_partial): Likewise.
1299 * valops.c (read_value_memory): Likewise.
1300 * exec.h: Update comments.
1302 2014-02-24 Yao Qi <yao@codesourcery.com>
1304 * target.c (target_xfer_status_to_string): Rename argument err
1306 * target.h (target_xfer_status_to_string): Update declaration.
1307 Replace target_xfer_error_to_string with
1308 target_xfer_status_to_string in comment.
1310 2014-02-24 Yao Qi <yao@codesourcery.com>
1312 * mips-linux-nat.c (super_close): Update its type.
1313 (mips_linux_close): Pass 'self' to super_close.
1315 2014-02-24 Yao Qi <yao@codesourcery.com>
1317 * target.h (TARGET_XFER_STATUS_ERROR_P): Remove.
1318 * corefile.c (read_memory): Adjusted.
1319 * target.c (target_write_with_progress): Adjusted.
1321 2014-02-23 Yao Qi <yao@codesourcery.com>
1325 2013-10-25 Yao Qi <yao@codesourcery.com>
1327 * remote.c (remote_traceframe_info): Return early if
1328 traceframe is not selected.
1330 2013-07-19 Yao Qi <yao@codesourcery.com>
1332 * target.c (update_current_target): Change the default action
1333 of 'to_traceframe_info' from tcomplain to return_zero.
1334 * target.h (struct target_ops) <to_traceframe_info>: Add more
1337 2014-02-23 Yao Qi <yao@codesourcery.com>
1339 * valops.c (read_value_memory): Rewrite it. Call
1340 target_xfer_partial in a loop.
1341 * exec.h (section_table_available_memory): Remove declaration.
1342 Move comments to ...
1343 * exec.c (section_table_available_memory): ... here. Make it
1346 2014-02-23 Yao Qi <yao@codesourcery.com>
1348 * exec.c (section_table_read_available_memory): New function.
1349 * exec.h (section_table_read_available_memory): Declare.
1350 * ctf.c (ctf_xfer_partial): Call
1351 section_table_read_available_memory.
1352 * tracefile-tfile.c (tfile_xfer_partial): Likewise.
1354 2014-02-23 Yao Qi <yao@codesourcery.com>
1356 * ctf.c (ctf_xfer_partial): Move code to ...
1357 * exec.c (exec_read_partial_read_only): ... it. New function.
1358 * tracefile-tfile.c (tfile_xfer_partial): Likewise.
1359 * tracefile.c: Include "exec.h".
1360 * exec.h (exec_read_partial_read_only): Declare.
1362 2014-02-23 Yao Qi <yao@codesourcery.com>
1364 * tracefile-tfile.c (tfile_has_all_memory): Remove.
1365 (tfile_has_memory): Remove.
1366 (init_tfile_ops): Don't set fields to_has_all_memory and
1367 to_has_memory of tfile_ops.
1368 * tracefile.c (tracefile_has_all_memory): New function.
1369 (tracefile_has_memory): New function.
1370 (init_tracefile_ops): Initialize fields to_has_all_memory and
1371 to_has_memory of 'ops'.
1373 2014-02-23 Yao Qi <yao@codesourcery.com>
1375 * ctf.c (ctf_has_stack, ctf_has_registers): Remove.
1376 (ctf_thread_alive, ctf_get_trace_status): Remove.
1377 (init_ctf_ops): Don't set some fields of ctf_ops. Call
1379 * tracefile-tfile.c (tfile_get_trace_status): Remove.
1380 (tfile_has_stack, tfile_has_registers): Remove.
1381 (tfile_thread_alive): Remove.
1382 (init_tfile_ops): Don't set some fields of tfile_ops. Call
1384 * tracefile.c (tracefile_has_stack): New function.
1385 (tracefile_has_registers): New function.
1386 (tracefile_thread_alive): New function.
1387 (tracefile_get_trace_status): New function.
1388 (init_tracefile_ops): New function.
1389 * tracefile.h (init_tracefile_ops): Declare.
1391 2014-02-23 Yao Qi <yao@codesourcery.com>
1393 * tracepoint.c (TFILE_PID): Move it to tracefile-tfile.c.
1394 (O_LARGEFILE): Likewise.
1395 (tfile_ops): Likewise.
1396 (TRACE_HEADER_SIZE): Likewise.
1397 (trace_fd, trace_frames_offset, cur_offset): Likewise.
1398 (cur_data_size): Likewise.
1399 (tfile_read, tfile_open, tfile_interp_line): Likewise.
1400 (tfile_close, tfile_files_info): Likewise.
1401 (tfile_get_trace_status): Likewise.
1402 (tfile_get_tracepoint_status): Likewise.
1403 (tfile_get_traceframe_address): Likewise.
1404 (tfile_trace_find, match_blocktype): Likewise.
1405 (traceframe_walk_blocks, traceframe_find_block_type): Likewise.
1406 (tfile_fetch_registers, tfile_xfer_partial): Likewise.
1407 (tfile_get_trace_state_variable_value): Likewise.
1408 (tfile_has_all_memory, tfile_has_memory): Likewise.
1409 (tfile_has_stack, tfile_has_registers): Likewise.
1410 (tfile_thread_alive, build_traceframe_info): Likewise.
1411 (tfile_traceframe_info, init_tfile_ops): Likewise.
1412 (_initialize_tracepoint): Don't call init_tfile_ops
1413 and add_target_with_completer.
1414 * tracefile-tfile.c: Include regcache.h, inferior.h, gdbthread.h,
1415 exec.h, completer.h and filenames.h.
1416 (_initialize_tracefile_tfile): New function.
1418 2014-02-23 Yao Qi <yao@codesourcery.com>
1420 * Makefile.in (REMOTE_OBS): Append tracefile.o and
1422 (HFILES_NO_SRCDIR): Add tracefile.h.
1423 * ctf.c: Include "tracefile.h".
1424 * tracefile.h: New file.
1425 * tracefile.c: New file
1426 * tracefile-tfile.c: New file.
1427 * tracepoint.c: Include "tracefile.h".
1428 (free_uploaded_tps, free_uploaded_tsvs): Remove declarations.
1429 (stop_reason_names): Add const.
1430 (trace_file_writer_xfree): Move it to tracefile.c.
1431 (trace_save, trace_save_command, trace_save_tfile): Likewise.
1432 (trace_save_ctf): Likewise.
1433 (struct tfile_trace_file_writer): Move it to tracefile-tfile.c.
1434 (tfile_target_save, tfile_dtor, tfile_start): Likewise.
1435 (tfile_write_header, tfile_write_regblock_type): Likewise.
1436 (tfile_write_status, tfile_write_uploaded_tsv): Likewise.
1437 (tfile_write_uploaded_tp, tfile_write_definition_end): Likewise.
1438 (tfile_write_raw_data, tfile_end): Likewise.
1439 (tfile_trace_file_writer_new): Likewise.
1440 (free_uploaded_tp): Make it extern.
1441 (free_uploaded_tsv): Make it extern.
1442 (_initialize_tracepoint): Move code to register command 'tsave'
1444 * tracepoint.h (stop_reason_names): Declare.
1445 (struct trace_frame_write_ops): Move it to tracefile.h.
1446 (struct trace_file_write_ops): Likewise.
1447 (struct trace_file_writer): Likewise.
1448 (free_uploaded_tsvs, free_uploaded_tps): Declare.
1450 2014-02-21 Jan Kratochvil <jan.kratochvil@redhat.com>
1453 * common/linux-osdata.c (linux_common_core_of_thread): Find the end of
1455 (get_cores_used_by_process): New parameter num_cores, use it.
1456 (linux_xfer_osdata_processes): Pass num_cores to it.
1457 * linux-tdep.c (linux_info_proc, linux_fill_prpsinfo): Find the end of
1460 2014-02-21 Andreas Arnez <arnez@vnet.linux.ibm.com>
1462 * target.c (memory_xfer_partial): Fix length arg in call to
1463 breakpoint_xfer_memory.
1465 2014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
1468 * i386-tdep.c (i386_stap_parse_special_token_triplet): Check if a
1469 number comes after the + or - signs. Adjust length of register
1470 name to be extracted.
1472 2014-02-20 Tom Tromey <tromey@redhat.com>
1474 * varobj.h (c_varobj_ops, cplus_varobj_ops, java_varobj_ops)
1475 (ada_varobj_ops): Mark "extern".
1477 2014-02-20 Tom Tromey <tromey@redhat.com>
1479 * dbxread.c (read_dbx_symtab): Remove last_o_file_start.
1481 2014-02-20 Doug Evans <xdje42@gmail.com>
1483 * guile/scm-gsmob.c (gdbscm_init_eqable_gsmob): New arg containing_scm.
1484 All callers updated.
1485 (gdbscm_fill_eqable_gsmob_ptr_slot): Delete arg containing_scm.
1486 All callers updated.
1487 * guile/guile-internal.h (gdbscm_init_eqable_gsmob): Update.
1488 (gdbscm_fill_eqable_gsmob_ptr_slot): Update.
1490 2014-02-20 lin zuojian <manjian2006@gmail.com>
1491 Joel Brobecker <brobecker@adacore.com>
1492 Doug Evans <xdje42@gmail.com>
1495 * dwarf2read.c (struct die_info): New member in_process.
1496 (reset_die_in_process): New function.
1497 (process_die): Set it at the start, reset when returning.
1498 (inherit_abstract_dies): Only call process_die if origin_child_die
1499 not already being processed.
1501 2014-02-20 Joel Brobecker <brobecker@adacore.com>
1503 * windows-nat.c (handle_unload_dll): Add function documentation.
1504 (do_initial_windows_stuff): Add comment explaining why we wait
1505 until after inferior initialization has finished before
1506 processing all DLLs.
1508 2014-02-20 Joel Brobecker <brobecker@adacore.com>
1510 * windows-nat.c (get_module_name): Delete.
1511 (windows_get_exec_module_filename): New function, mostly
1512 inspired from get_module_name.
1513 (windows_pid_to_exec_file): Replace call to get_module_name
1514 by call to windows_get_exec_module_filename.
1516 2014-02-20 Joel Brobecker <brobecker@adacore.com>
1518 * windows-nat.c (handle_load_dll): Rewrite this function's
1519 introductory comment. Remove code using get_module_name
1520 to get the DLL's name.
1522 2014-02-20 Joel Brobecker <brobecker@adacore.com>
1524 * windows-nat.c (get_windows_debug_event): Ignore
1525 LOAD_DLL_DEBUG_EVENT and UNLOAD_DLL_DEBUG_EVENT
1526 if windows_initialization_done == 0.
1527 (windows_add_all_dlls): Renames windows_ensure_ntdll_loaded.
1528 Adjust implementation to always load all DLLs.
1529 (do_initial_windows_stuff): Replace call to
1530 windows_ensure_ntdll_loaded by call to windows_add_all_dlls.
1532 2014-02-20 Joel Brobecker <brobecker@adacore.com>
1534 * windows-nat.c (_initialize_windows_nat): Deprecate the
1535 "dll-symbols" command. Turn the "add-shared-symbol-files"
1536 and "assf" aliases into commands, and deprecate them as well.
1537 * NEWS: Add entry explaining that "dll-symbols" and its two
1538 aliases are now deprecated.
1540 2014-02-20 Joel Brobecker <brobecker@adacore.com>
1542 * dec-thread.c (dec_thread_get_ada_task_ptid): Avoid unescaped
1543 new-line in debug string. Remove trailing spaces.
1545 2014-02-19 Stan Shebs <stan@codesourcery.com>
1547 * darwin-nat.c (darwin_xfer_partial): Fix return type.
1549 2014-02-19 Siva Chandra Reddy <sivachandra@google.com>
1551 * NEWS: Add entry for the new feature
1552 * python/py-value.c (valpy_binop): Call value_x_binop for struct
1555 2014-02-19 Stan Shebs <stan@codesourcery.com>
1557 * MAINTAINERS: List Yao Qi as nios2 maintainer.
1559 2014-02-19 Pedro Alves <palves@redhat.com>
1561 * common/ptid.h (struct ptid): Mention that process_stratum
1562 targets should prefer ptid.lwp.
1564 2014-02-19 Pedro Alves <palves@redhat.com>
1566 * remote.c (remote_thread_alive, write_ptid, read_ptid)
1567 (read_ptid, remote_newthread_step, remote_threads_extra_info)
1568 (remote_get_ada_task_ptid, append_resumption, remote_stop_ns)
1569 (threadalive_test, remote_pid_to_str): Use the ptid.lwp field to
1570 store remote thread ids rather than ptid.tid.
1571 (_initialize_remote): Adjust.
1573 2014-02-19 Tom Tromey <tromey@redhat.com>
1575 * target.c (target_get_unwinder): Rewrite.
1576 (target_get_tailcall_unwinder): Rewrite.
1577 * record-btrace.c (record_btrace_to_get_unwinder): New function.
1578 (record_btrace_to_get_tailcall_unwinder): New function.
1579 (init_record_btrace_ops): Update.
1580 * target.h (struct target_ops) <to_get_unwinder,
1581 to_get_tailcall_unwinder>: Now function pointers. Use
1582 TARGET_DEFAULT_RETURN.
1584 2014-02-19 Tom Tromey <tromey@redhat.com>
1586 * nto-procfs.c (procfs_remove_hw_breakpoint): Add 'self'
1588 (init_procfs_ops): Correctly set to_remove_hw_breakpoint.
1590 2014-02-19 Tom Tromey <tromey@redhat.com>
1592 * record-btrace.c (record_btrace_decr_pc_after_break): Delegate
1594 * target-delegates.c: Rebuild.
1595 * target.h (struct target_ops) <to_decr_pc_after_break>: Use
1596 TARGET_DEFAULT_FUNC.
1597 * target.c (default_target_decr_pc_after_break): Rename from
1598 forward_target_decr_pc_after_break. Simplify.
1599 (target_decr_pc_after_break): Rely on delegation.
1601 2014-02-19 Tom Tromey <tromey@redhat.com>
1603 * target.c (update_current_target): Do not INHERIT to_doc or
1604 to_magic. Do not de_fault to_open or to_close.
1606 2014-02-19 Tom Tromey <tromey@redhat.com>
1608 * gcore.h (objfile_find_memory_regions): Declare.
1609 * gcore.c (objfile_find_memory_regions): No longer static. Add
1611 (_initialize_gcore): Don't call exec_set_find_memory_regions.
1612 * exec.c: Include gcore.h.
1613 (exec_set_find_memory_regions): Remove.
1614 (exec_find_memory_regions): Remove.
1615 (exec_do_find_memory_regions): Remove.
1616 (init_exec_ops): Update.
1617 * defs.h (exec_set_find_memory_regions): Remove.
1619 2014-02-19 Tom Tromey <tromey@redhat.com>
1621 * target-delegates.c: Rebuild.
1622 * target.h (struct target_ops) <to_extra_thread_info,
1623 to_thread_name, to_pid_to_exec_file, to_get_section_table,
1624 to_memory_map, to_read_description, to_traceframe_info>: Use NULL,
1625 not 0, in TARGET_DEFAULT_RETURN.
1627 2014-02-19 Tom Tromey <tromey@redhat.com>
1629 * target.c (complete_target_initialization): Remove casts. Use
1630 return_zero_has_execution.
1631 (return_zero): Add "ignore" argument.
1632 (return_zero_has_execution): New function.
1633 (init_dummy_target): Remove casts. Use
1634 return_zero_has_execution.
1636 2014-02-19 Tom Tromey <tromey@redhat.com>
1638 * target.c (update_current_target): Update comments. Do not
1641 2014-02-19 Tom Tromey <tromey@redhat.com>
1643 * arm-linux-nat.c (arm_linux_read_description): Delegate when
1645 * corelow.c (core_read_description): Delegate when needed.
1646 * remote.c (remote_read_description): Delegate when needed.
1647 * target-delegates.c: Rebuild.
1648 * target.c (target_read_description): Rewrite.
1649 * target.h (struct target_ops) <to_read_description>: Update
1650 comment. Use TARGET_DEFAULT_RETURN.
1652 2014-02-19 Tom Tromey <tromey@redhat.com>
1654 * target-delegates.c: Rebuild.
1655 * target.c (update_current_target): Don't inherit or default
1657 (find_default_run_target): Check against delegate_can_run.
1658 * target.h (struct target_ops) <to_can_run>: Use
1659 TARGET_DEFAULT_RETURN.
1661 2014-02-19 Tom Tromey <tromey@redhat.com>
1663 * target-delegates.c: Rebuild.
1664 * target.c (target_disconnect): Unconditionally delegate.
1665 * target.h (struct target_ops) <to_disconnect>: Use
1666 TARGET_DEFAULT_NORETURN.
1668 2014-02-19 Tom Tromey <tromey@redhat.com>
1670 * record.c (record_stop): Unconditionally delegate.
1671 * target-delegates.c: Rebuild.
1672 * target.c (target_stop_recording): Unconditionally delegate.
1673 * target.h (struct target_ops) <to_stop_recording>: Use
1674 TARGET_DEFAULT_IGNORE.
1676 2014-02-19 Tom Tromey <tromey@redhat.com>
1678 * target-delegates.c: Rebuild.
1679 * target.c (target_enable_btrace): Unconditionally delegate.
1680 * target.h (struct target_ops) <to_enable_btrace>: Use
1681 TARGET_DEFAULT_NORETURN.
1683 2014-02-19 Tom Tromey <tromey@redhat.com>
1685 * target-delegates.c: Rebuild.
1686 * target.c (target_read_btrace): Unconditionally delegate.
1687 * target.h (struct target_ops) <to_read_btrace>: Use
1688 TARGET_DEFAULT_NORETURN.
1690 2014-02-19 Tom Tromey <tromey@redhat.com>
1692 * target-delegates.c: Rebuild.
1693 * target.c (target_teardown_btrace): Unconditionally delegate.
1694 * target.h (struct target_ops) <to_teardown_btrace>: Use
1695 TARGET_DEFAULT_NORETURN.
1697 2014-02-19 Tom Tromey <tromey@redhat.com>
1699 * target-delegates.c: Rebuild.
1700 * target.c (target_disable_btrace): Unconditionally delegate.
1701 * target.h (struct target_ops) <to_disable_btrace>: Use
1702 TARGET_DEFAULT_NORETURN.
1704 2014-02-19 Tom Tromey <tromey@redhat.com>
1706 * target-delegates.c: Rebuild.
1707 * target.c (default_search_memory): New function.
1708 (simple_search_memory): Update comment.
1709 (target_search_memory): Unconditionally delegate.
1710 * target.h (struct target_ops) <to_search_memory>: Use
1711 TARGET_DEFAULT_FUNC.
1713 2014-02-19 Tom Tromey <tromey@redhat.com>
1715 * auxv.c (default_auxv_parse): No longer static.
1716 (target_auxv_parse): Unconditionally delegate.
1717 * auxv.h (default_auxv_parse): Declare.
1718 * target-delegates.c: Rebuild.
1719 * target.c: Include auxv.h.
1720 * target.h (struct target_ops) <to_auxv_parse>: Use
1721 TARGET_DEFAULT_FUNC.
1723 2014-02-19 Tom Tromey <tromey@redhat.com>
1725 * target-delegates.c: Rebuild.
1726 * target.c (target_memory_map): Unconditionally delegate.
1727 * target.h (struct target_ops) <to_memory_map>: Use
1728 TARGET_DEFAULT_RETURN.
1730 2014-02-19 Tom Tromey <tromey@redhat.com>
1732 * target-delegates.c: Rebuild.
1733 * target.c (target_thread_alive): Unconditionally delegate.
1734 * target.h (struct target_ops) <to_thread_alive>: Use
1735 TARGET_DEFAULT_RETURN.
1737 2014-02-19 Tom Tromey <tromey@redhat.com>
1739 * target-delegates.c: Rebuild.
1740 * target.c (target_save_record): Unconditionally delegate.
1741 * target.h (struct target_ops) <to_save_record>: Use
1742 TARGET_DEFAULT_NORETURN.
1744 2014-02-19 Tom Tromey <tromey@redhat.com>
1746 * target-delegates.c: Rebuild.
1747 * target.c (target_delete_record): Unconditionally delegate.
1748 * target.h (struct target_ops) <to_delete_record>: Use
1749 TARGET_DEFAULT_NORETURN.
1751 2014-02-19 Tom Tromey <tromey@redhat.com>
1753 * target-delegates.c: Rebuild.
1754 * target.c (target_record_is_replaying): Unconditionally
1756 * target.h (struct target_ops) <to_record_is_replaying>: Use
1757 TARGET_DEFAULT_RETURN.
1759 2014-02-19 Tom Tromey <tromey@redhat.com>
1761 * target-delegates.c: Rebuild.
1762 * target.c (target_goto_record_begin): Unconditionally delegate.
1763 * target.h (struct target_ops) <to_goto_record_begin>: Use
1764 TARGET_DEFAULT_NORETURN.
1766 2014-02-19 Tom Tromey <tromey@redhat.com>
1768 * target-delegates.c: Rebuild.
1769 * target.c (target_goto_record_end): Unconditionally delegate.
1770 * target.h (struct target_ops) <to_goto_record_end>: Use
1771 TARGET_DEFAULT_NORETURN.
1773 2014-02-19 Tom Tromey <tromey@redhat.com>
1775 * target-delegates.c: Rebuild.
1776 * target.c (target_goto_record): Unconditionally delegate.
1777 * target.h (struct target_ops) <to_goto_record>: Use
1778 TARGET_DEFAULT_NORETURN.
1780 2014-02-19 Tom Tromey <tromey@redhat.com>
1782 * target-delegates.c: Rebuild.
1783 * target.c (target_insn_history): Unconditionally delegate.
1784 * target.h (struct target_ops) <to_insn_history>: Use
1785 TARGET_DEFAULT_NORETURN.
1787 2014-02-19 Tom Tromey <tromey@redhat.com>
1789 * target-delegates.c: Rebuild.
1790 * target.c (target_insn_history_from): Unconditionally delegate.
1791 * target.h (struct target_ops) <to_insn_history_from>: Use
1792 TARGET_DEFAULT_NORETURN.
1794 2014-02-19 Tom Tromey <tromey@redhat.com>
1796 * target-delegates.c: Rebuild.
1797 * target.c (target_insn_history_range): Unconditionally delegate.
1798 * target.h (struct target_ops) <to_insn_history_range>: Use
1799 TARGET_DEFAULT_NORETURN.
1801 2014-02-19 Tom Tromey <tromey@redhat.com>
1803 * target-delegates.c: Rebuild.
1804 * target.c (target_call_history): Unconditionally delegate.
1805 * target.h (struct target_ops) <to_call_history>: Use
1806 TARGET_DEFAULT_NORETURN.
1808 2014-02-19 Tom Tromey <tromey@redhat.com>
1810 * target-delegates.c: Rebuild.
1811 * target.c (target_call_history_from): Unconditionally delegate.
1812 * target.h (struct target_ops) <to_call_history_from>: Use
1813 TARGET_DEFAULT_NORETURN.
1815 2014-02-19 Tom Tromey <tromey@redhat.com>
1817 * target-delegates.c: Rebuild.
1818 * target.c (target_call_history_range): Unconditionally delegate.
1819 * target.h (struct target_ops) <to_call_history_range>: Use
1820 TARGET_DEFAULT_NORETURN.
1822 2014-02-19 Tom Tromey <tromey@redhat.com>
1824 * target-delegates.c: Rebuild.
1825 * target.c (target_verify_memory): Unconditionally delegate.
1826 * target.h (struct target_ops) <to_verify_memory>: Use
1827 TARGET_DEFAULT_NORETURN.
1829 2014-02-19 Tom Tromey <tromey@redhat.com>
1831 * target-delegates.c: Rebuild.
1832 * target.c (target_core_of_thread): Unconditionally delegate.
1833 * target.h (struct target_ops) <to_core_of_thread>: Use
1834 TARGET_DEFAULT_RETURN.
1836 2014-02-19 Tom Tromey <tromey@redhat.com>
1838 * target-delegates.c: Rebuild.
1839 * target.c (target_flash_done): Unconditionally delegate.
1840 * target.h (struct target_ops) <to_flash_done>: Use
1841 TARGET_DEFAULT_NORETURN.
1843 2014-02-19 Tom Tromey <tromey@redhat.com>
1845 * target-delegates.c: Rebuild.
1846 * target.c (target_flash_erase): Unconditionally delegate.
1847 * target.h (struct target_ops) <to_flash_erase>: Use
1848 TARGET_DEFAULT_NORETURN.
1850 2014-02-19 Tom Tromey <tromey@redhat.com>
1852 * target-delegates.c: Rebuild.
1853 * target.c (target_get_section_table): Unconditionally delegate.
1854 * target.h (struct target_ops) <to_get_section_table>: Use
1855 TARGET_DEFAULT_RETURN.
1857 2014-02-19 Tom Tromey <tromey@redhat.com>
1859 * target-delegates.c: Rebuild.
1860 * target.c (target_pid_to_str): Unconditionally delegate.
1861 (init_dummy_target): Don't initialize to_pid_to_str.
1862 (default_pid_to_str): Rename from dummy_pid_to_str.
1863 * target.h (struct target_ops) <to_pid_to_str>: Use
1864 TARGET_DEFAULT_FUNC.
1866 2014-02-19 Tom Tromey <tromey@redhat.com>
1868 * target-delegates.c: Rebuild.
1869 * target.c (target_find_new_threads): Unconditionally delegate.
1870 * target.h (struct target_ops) <to_find_new_threads>: Use
1871 TARGET_DEFAULT_RETURN.
1873 2014-02-19 Tom Tromey <tromey@redhat.com>
1875 * target-delegates.c: Rebuild.
1876 * target.c (target_program_signals): Unconditionally delegate.
1877 * target.h (struct target_ops) <to_program_signals>: Use
1878 TARGET_DEFAULT_IGNORE.
1880 2014-02-19 Tom Tromey <tromey@redhat.com>
1882 * target-delegates.c: Rebuild.
1883 * target.c (target_pass_signals): Unconditionally delegate.
1884 * target.h (struct target_ops) <to_pass_signals>: Use
1885 TARGET_DEFAULT_IGNORE.
1887 2014-02-19 Tom Tromey <tromey@redhat.com>
1889 * target-delegates.c: Rebuild.
1890 * target.c (default_mourn_inferior): New function.
1891 (target_mourn_inferior): Unconditionally delegate.
1892 * target.h (struct target_ops) <to_mourn_inferior>: Use
1893 TARGET_DEFAULT_FUNC.
1895 2014-02-19 Tom Tromey <tromey@redhat.com>
1897 * target-delegates.c: Rebuild.
1898 * target.c (default_follow_fork): New function.
1899 (target_follow_fork): Unconditionally delegate.
1900 * target.h (struct target_ops) <to_follow_fork>: Use
1901 TARGET_DEFAULT_FUNC.
1903 2014-02-19 Tom Tromey <tromey@redhat.com>
1905 * target-delegates.c: Rebuild.
1906 * target.c (target_kill): Unconditionally delegate.
1907 * target.h (struct target_ops) <to_kill>: Use
1908 TARGET_DEFAULT_NORETURN.
1910 2014-02-19 Tom Tromey <tromey@redhat.com>
1912 * target-delegates.c: Rebuild.
1913 * target.c (target_masked_watch_num_registers): Unconditionally
1915 * target.h (struct target_ops) <to_masked_watch_num_registers>:
1916 Use TARGET_DEFAULT_RETURN.
1918 2014-02-19 Tom Tromey <tromey@redhat.com>
1920 * target-delegates.c: Rebuild.
1921 * target.c (target_remove_mask_watchpoint): Unconditionally
1923 * target.h (struct target_ops) <to_remove_mask_watchpoint>: Use
1924 TARGET_DEFAULT_RETURN.
1926 2014-02-19 Tom Tromey <tromey@redhat.com>
1928 * target-delegates.c: Rebuild.
1929 * target.c (target_insert_mask_watchpoint): Unconditionally
1931 * target.h (struct target_ops) <to_insert_mask_watchpoint>: Use
1932 TARGET_DEFAULT_RETURN.
1934 2014-02-19 Tom Tromey <tromey@redhat.com>
1936 * target-delegates.c: Rebuild.
1937 * target.c (target_ranged_break_num_registers): Unconditionally
1939 * target.h (struct target_ops) <to_ranged_break_num_registers>:
1940 Use TARGET_DEFAULT_RETURN.
1942 2014-02-19 Tom Tromey <tromey@redhat.com>
1944 * target-delegates.c: Rebuild.
1945 * target.c (target_fetch_registers): Unconditionally delegate.
1946 * target.h (struct target_ops) <to_fetch_registers>: Use
1947 TARGET_DEFAULT_NORETURN.
1949 2014-02-19 Tom Tromey <tromey@redhat.com>
1951 * target-delegates.c: Rebuild.
1952 * target.c (update_current_target): Don't inherit or default
1954 * target.h (struct target_ops) <to_stop>: Use
1955 TARGET_DEFAULT_IGNORE.
1957 2014-02-19 Tom Tromey <tromey@redhat.com>
1959 * target-delegates.c: Rebuild.
1960 * target.c (update_current_target): Don't inherit or default
1961 to_can_run_breakpoint_commands.
1962 * target.h (struct target_ops) <to_can_run_breakpoint_commands>:
1963 Use TARGET_DEFAULT_RETURN.
1965 2014-02-19 Tom Tromey <tromey@redhat.com>
1967 * target-delegates.c: Rebuild.
1968 * target.c (update_current_target): Don't inherit or default
1969 to_supports_evaluation_of_breakpoint_conditions.
1970 * target.h (struct target_ops)
1971 <to_supports_evaluation_of_breakpoint_conditions>: Use
1972 TARGET_DEFAULT_RETURN.
1974 2014-02-19 Tom Tromey <tromey@redhat.com>
1976 * target-delegates.c: Rebuild.
1977 * target.c (update_current_target): Don't inherit or default
1978 to_augmented_libraries_svr4_read.
1979 * target.h (struct target_ops) <to_augmented_libraries_svr4_read>:
1980 Use TARGET_DEFAULT_RETURN.
1982 2014-02-19 Tom Tromey <tromey@redhat.com>
1984 * target-delegates.c: Rebuild.
1985 * target.c (update_current_target): Don't inherit or default
1987 * target.h (struct target_ops) <to_can_use_agent>: Use
1988 TARGET_DEFAULT_RETURN.
1990 2014-02-19 Tom Tromey <tromey@redhat.com>
1992 * target-delegates.c: Rebuild.
1993 * target.c (update_current_target): Don't inherit or default
1995 * target.h (struct target_ops) <to_use_agent>: Use
1996 TARGET_DEFAULT_NORETURN.
1998 2014-02-19 Tom Tromey <tromey@redhat.com>
2000 * target-delegates.c: Rebuild.
2001 * target.c (update_current_target): Don't inherit or default
2003 (return_null): Remove.
2004 * target.h (struct target_ops) <to_traceframe_info>: Use
2005 TARGET_DEFAULT_RETURN.
2007 2014-02-19 Tom Tromey <tromey@redhat.com>
2009 * target-delegates.c: Rebuild.
2010 * target.c (update_current_target): Don't inherit or default
2011 to_static_tracepoint_markers_by_strid.
2012 * target.h (struct target_ops)
2013 <to_static_tracepoint_markers_by_strid>: Use
2014 TARGET_DEFAULT_NORETURN.
2016 2014-02-19 Tom Tromey <tromey@redhat.com>
2018 * target-delegates.c: Rebuild.
2019 * target.c (update_current_target): Don't inherit or default
2020 to_static_tracepoint_marker_at.
2021 * target.h (struct target_ops) <to_static_tracepoint_marker_at>:
2022 Use TARGET_DEFAULT_RETURN.
2024 2014-02-19 Tom Tromey <tromey@redhat.com>
2026 * target-delegates.c: Rebuild.
2027 * target.c (update_current_target): Don't inherit or default
2029 * target.h (struct target_ops) <to_set_permissions>: Use
2030 TARGET_DEFAULT_IGNORE.
2032 2014-02-19 Tom Tromey <tromey@redhat.com>
2034 * target-delegates.c: Rebuild.
2035 * target.c (update_current_target): Don't inherit or default
2037 * target.h (struct target_ops) <to_get_tib_address>: Use
2038 TARGET_DEFAULT_NORETURN.
2040 2014-02-19 Tom Tromey <tromey@redhat.com>
2042 * target-delegates.c: Rebuild.
2043 * target.c (update_current_target): Don't inherit or default
2045 * target.h (struct target_ops) <to_set_trace_notes>: Use
2046 TARGET_DEFAULT_RETURN.
2048 2014-02-19 Tom Tromey <tromey@redhat.com>
2050 * target-delegates.c: Rebuild.
2051 * target.c (update_current_target): Don't initialize
2052 to_set_trace_buffer_size.
2053 * target.h (struct target_ops) <to_set_trace_buffer_size>: Use
2054 TARGET_DEFAULT_IGNORE.
2056 2014-02-19 Tom Tromey <tromey@redhat.com>
2058 * target-delegates.c: Rebuild.
2059 * target.c (update_current_target): Don't inherit or default
2060 to_set_circular_trace_buffer.
2061 * target.h (struct target_ops) <to_set_circular_trace_buffer>: Use
2062 TARGET_DEFAULT_IGNORE.
2064 2014-02-19 Tom Tromey <tromey@redhat.com>
2066 * target-delegates.c: Rebuild.
2067 * target.c (update_current_target): Don't inherit or default
2068 to_set_disconnected_tracing.
2069 * target.h (struct target_ops) <to_set_disconnected_tracing>: Use
2070 TARGET_DEFAULT_IGNORE.
2072 2014-02-19 Tom Tromey <tromey@redhat.com>
2074 * target-delegates.c: Rebuild.
2075 * target.c (update_current_target): Don't inherit or default
2076 to_get_min_fast_tracepoint_insn_len.
2077 (return_minus_one): Remove.
2078 * target.h (struct target_ops)
2079 <to_get_min_fast_tracepoint_insn_len>: Use TARGET_DEFAULT_RETURN.
2081 2014-02-19 Tom Tromey <tromey@redhat.com>
2083 * target-delegates.c: Rebuild.
2084 * target.c (update_current_target): Don't inherit or default
2085 to_get_raw_trace_data.
2086 * target.h (struct target_ops) <to_get_raw_trace_data>: Use
2087 TARGET_DEFAULT_NORETURN.
2089 2014-02-19 Tom Tromey <tromey@redhat.com>
2091 * target-delegates.c: Rebuild.
2092 * target.c (update_current_target): Don't inherit or default
2093 to_upload_trace_state_variables.
2094 * target.h (struct target_ops) <to_upload_trace_state_variables>:
2095 Use TARGET_DEFAULT_RETURN.
2097 2014-02-19 Tom Tromey <tromey@redhat.com>
2099 * target-delegates.c: Rebuild.
2100 * target.c (update_current_target): Don't inherit or default
2101 to_upload_tracepoints.
2102 * target.h (struct target_ops) <to_upload_tracepoints>: Use
2103 TARGET_DEFAULT_RETURN.
2105 2014-02-19 Tom Tromey <tromey@redhat.com>
2107 * target-delegates.c: Rebuild.
2108 * target.c (update_current_target): Don't inherit or default
2110 * target.h (struct target_ops) <to_save_trace_data>: Use
2111 TARGET_DEFAULT_NORETURN.
2113 2014-02-19 Tom Tromey <tromey@redhat.com>
2115 * target-delegates.c: Rebuild.
2116 * target.c (update_current_target): Don't inherit or default
2117 to_get_trace_state_variable_value.
2118 * target.h (struct target_ops)
2119 <to_get_trace_state_variable_value>: Use TARGET_DEFAULT_RETURN.
2121 2014-02-19 Tom Tromey <tromey@redhat.com>
2123 * target-delegates.c: Rebuild.
2124 * target.c (update_current_target): Don't inherit or default
2126 * target.h (struct target_ops): Use TARGET_DEFAULT_RETURN.
2128 2014-02-19 Tom Tromey <tromey@redhat.com>
2130 * target-delegates.c: Rebuild.
2131 * target.c (update_current_target): Don't inherit or default
2133 * target.h (struct target_ops) <to_trace_stop>: Use
2134 TARGET_DEFAULT_NORETURN.
2136 2014-02-19 Tom Tromey <tromey@redhat.com>
2138 * target-delegates.c: Rebuild.
2139 * target.c (update_current_target): Don't inherit or default
2140 to_get_tracepoint_status.
2141 * target.h (struct target_ops) <to_get_tracepoint_status>: Use
2142 TARGET_DEFAULT_NORETURN.
2144 2014-02-19 Tom Tromey <tromey@redhat.com>
2146 * target-delegates.c: Rebuild.
2147 * target.c (update_current_target): Don't inherit or default
2148 to_get_trace_status.
2149 * target.h (struct target_ops) <to_get_trace_status>: Use
2150 TARGET_DEFAULT_RETURN.
2152 2014-02-19 Tom Tromey <tromey@redhat.com>
2154 * target-delegates.c: Rebuild.
2155 * target.c (update_current_target): Don't inherit or default
2157 * target.h (struct target_ops) <to_trace_start>: Use
2158 TARGET_DEFAULT_NORETURN.
2160 2014-02-19 Tom Tromey <tromey@redhat.com>
2162 * target-delegates.c: Rebuild.
2163 * target.c (update_current_target): Don't inherit or default
2164 to_trace_set_readonly_regions.
2165 * target.h (struct target_ops) <to_trace_set_readonly_regions>:
2166 Use TARGET_DEFAULT_NORETURN.
2168 2014-02-19 Tom Tromey <tromey@redhat.com>
2170 * target-delegates.c: Rebuild.
2171 * target.c (update_current_target): Don't inherit or default
2172 to_disable_tracepoint.
2173 * target.h (struct target_ops) <to_disable_tracepoint>: Use
2174 TARGET_DEFAULT_NORETURN.
2176 2014-02-19 Tom Tromey <tromey@redhat.com>
2178 * target-delegates.c: Rebuild.
2179 * target.c (update_current_target): Don't inherit or default
2180 to_enable_tracepoint.
2181 * target.h (struct target_ops) <to_enable_tracepoint>: Use
2182 TARGET_DEFAULT_NORETURN.
2184 2014-02-19 Tom Tromey <tromey@redhat.com>
2186 * target-delegates.c: Rebuild.
2187 * target.c (update_current_target): Don't inherit or default
2188 to_download_trace_state_variable.
2189 * target.h (struct target_ops) <to_download_trace_state_variable>:
2190 Use TARGET_DEFAULT_NORETURN.
2192 2014-02-19 Tom Tromey <tromey@redhat.com>
2194 * target-delegates.c: Rebuild.
2195 * target.c (update_current_target): Don't inherit or default
2196 to_can_download_tracepoint.
2197 * target.h (struct target_ops) <to_can_download_tracepoint>: Use
2198 TARGET_DEFAULT_RETURN.
2200 2014-02-19 Tom Tromey <tromey@redhat.com>
2202 * target-delegates.c: Rebuild.
2203 * target.c (update_current_target): Don't inherit or default
2204 to_download_tracepoint.
2205 * target.h (struct target_ops) <to_download_tracepoint>: Use
2206 TARGET_DEFAULT_NORETURN.
2208 2014-02-19 Tom Tromey <tromey@redhat.com>
2210 * target-delegates.c: Rebuild.
2211 * target.c (update_current_target): Don't inherit or default
2213 * target.h (struct target_ops) <to_trace_init>: Use
2214 TARGET_DEFAULT_RETURN.
2216 2014-02-19 Tom Tromey <tromey@redhat.com>
2218 * target-delegates.c: Rebuild.
2219 * target.c (update_current_target): Don't inherit or default
2220 to_supports_string_tracing.
2221 * target.h (struct target_ops) <to_supports_string_tracing>: Use
2222 TARGET_DEFAULT_RETURN.
2224 2014-02-19 Tom Tromey <tromey@redhat.com>
2226 * target-delegates.c: Rebuild.
2227 * target.c (update_current_target): Don't inherit or default
2228 to_supports_enable_disable_tracepoint.
2229 * target.h (struct target_ops)
2230 <to_supports_enable_disable_tracepoint>: Use
2231 TARGET_DEFAULT_RETURN.
2233 2014-02-19 Tom Tromey <tromey@redhat.com>
2235 * target-delegates.c: Rebuild.
2236 * target.c (update_current_target): Don't inherit or default
2237 to_supports_multi_process.
2238 * target.h (struct target_ops) <to_supports_multi_process>: Use
2239 TARGET_DEFAULT_RETURN.
2241 2014-02-19 Tom Tromey <tromey@redhat.com>
2243 * target-delegates.c: Rebuild.
2244 * target.c (update_current_target): Don't inherit or default
2245 to_get_ada_task_ptid.
2246 * target.h (struct target_ops) <to_get_ada_task_ptid>: Use
2247 TARGET_DEFAULT_FUNC.
2249 2014-02-19 Tom Tromey <tromey@redhat.com>
2251 * target-delegates.c: Rebuild.
2252 * target.c (update_current_target): Don't inherit or default
2253 to_thread_architecture.
2254 * target.h (struct target_ops) <to_thread_architecture>: Use
2255 TARGET_DEFAULT_FUNC.
2257 2014-02-19 Tom Tromey <tromey@redhat.com>
2259 * target-delegates.c: Rebuild.
2260 * target.c (update_current_target): Don't inherit or default
2261 to_execution_direction.
2262 * target.h (struct target_ops) <to_execution_direction>: Use
2263 TARGET_DEFAULT_FUNC.
2265 2014-02-19 Tom Tromey <tromey@redhat.com>
2267 * target-delegates.c: Rebuild.
2268 * target.c (update_current_target): Don't inherit or default
2269 to_can_execute_reverse.
2270 * target.h (struct target_ops) <to_can_execute_reverse>: Use
2271 TARGET_DEFAULT_RETURN.
2272 (target_can_execute_reverse): Unconditionally delegate.
2274 2014-02-19 Tom Tromey <tromey@redhat.com>
2276 * target-delegates.c: Rebuild.
2277 * target.c (update_current_target): Don't inherit or default
2279 (dummy_goto_bookmark): Remove.
2280 (init_dummy_target): Don't inherit or default to_goto_bookmark.
2281 * target.h (struct target_ops) <to_goto_bookmark>: Use
2282 TARGET_DEFAULT_NORETURN.
2284 2014-02-19 Tom Tromey <tromey@redhat.com>
2286 * target-delegates.c: Rebuild.
2287 * target.c (update_current_target): Don't inherit or default
2289 (dummy_get_bookmark): Remove.
2290 (init_dummy_target): Don't inherit or default to_get_bookmark.
2291 * target.h (struct target_ops) <to_get_bookmark>: Use
2292 TARGET_DEFAULT_NORETURN
2294 2014-02-19 Tom Tromey <tromey@redhat.com>
2296 * target-delegates.c: Rebuild.
2297 * target.c (update_current_target): Don't inherit or default
2298 to_make_corefile_notes.
2299 (init_dummy_target): Don't initialize to_make_corefile_notes.
2300 * target.h (struct target_ops) <to_make_corefile_notes>: Use
2301 TARGET_DEFAULT_FUNC.
2303 2014-02-19 Tom Tromey <tromey@redhat.com>
2305 * target-delegates.c: Rebuild.
2306 * target.c (update_current_target): Don't inherit or default
2307 to_find_memory_regions.
2308 (init_dummy_target): Don't initialize to_find_memory_regions.
2309 * target.h (struct target_ops) <to_find_memory_regions>: Use
2310 TARGET_DEFAULT_FUNC.
2312 2014-02-19 Tom Tromey <tromey@redhat.com>
2314 * target-delegates.c: Rebuild.
2315 * target.c (update_current_target): Don't inherit or default
2317 * target.h (struct target_ops) <to_log_command>: Use
2318 TARGET_DEFAULT_IGNORE.
2319 (target_log_command): Unconditionally delegate.
2321 2014-02-19 Tom Tromey <tromey@redhat.com>
2323 * target-delegates.c: Rebuild.
2324 * target.c (update_current_target): Don't inherit or default
2325 to_pid_to_exec_file.
2326 * target.h (struct target_ops) <to_pid_to_exec_file>: Use
2327 TARGET_DEFAULT_RETURN.
2329 2014-02-19 Tom Tromey <tromey@redhat.com>
2331 * target-delegates.c: Rebuild.
2332 * target.c (update_current_target): Don't inherit or default
2334 (target_thread_name): Unconditionally delegate.
2335 * target.h (struct target_ops) <to_thread_name>: Use
2336 TARGET_DEFAULT_RETURN.
2338 2014-02-19 Tom Tromey <tromey@redhat.com>
2340 * target-delegates.c: Rebuild.
2341 * target.c (update_current_target): Don't inherit or default
2342 to_extra_thread_info.
2343 * target.h (struct target_ops) <to_extra_thread_info>: Use
2344 TARGET_DEFAULT_RETURN.
2346 2014-02-19 Tom Tromey <tromey@redhat.com>
2348 * target-delegates.c: Rebuild.
2349 * target.c (update_current_target): Don't inherit or default
2351 * target.h (struct target_ops) <to_has_exited>: Use
2352 TARGET_DEFAULT_RETURN..
2354 2014-02-19 Tom Tromey <tromey@redhat.com>
2356 * target-delegates.c: Rebuild.
2357 * target.c (update_current_target): Don't inherit or default
2358 to_set_syscall_catchpoint.
2359 (return_one): Remove.
2360 * target.h (struct target_ops) <to_set_syscall_catchpoint>: Use
2361 TARGET_DEFAULT_RETURN.
2363 2014-02-19 Tom Tromey <tromey@redhat.com>
2365 * target-delegates.c: Rebuild.
2366 * target.c (update_current_target): Don't inherit or default
2367 to_insert_exec_catchpoint.
2368 * target.h (struct target_ops) <to_insert_exec_catchpoint>: Use
2369 TARGET_DEFAULT_RETURN.
2371 2014-01-08 Tom Tromey <tromey@redhat.com>
2373 * target-delegates.c: Rebuild.
2374 * target.c (update_current_target): Don't inherit or default
2375 to_insert_exec_catchpoint.
2376 * target.h (struct target_ops) <to_insert_exec_catchpoint>: Use
2377 TARGET_DEFAULT_RETURN.
2379 2014-02-19 Tom Tromey <tromey@redhat.com>
2381 * target-delegates.c: Rebuild.
2382 * target.c (update_current_target): Don't inherit or default
2383 to_remove_vfork_catchpoint.
2384 * target.h (struct target_ops) <to_remove_vfork_catchpoint>: Use
2385 TARGET_DEFAULT_RETURN.
2387 2014-02-19 Tom Tromey <tromey@redhat.com>
2389 * target-delegates.c: Rebuild.
2390 * target.c (update_current_target): Don't inherit or default
2391 to_insert_vfork_catchpoint.
2392 * target.h (struct target_ops) <to_insert_vfork_catchpoint>: Use
2393 TARGET_DEFAULT_RETURN.
2395 2014-02-19 Tom Tromey <tromey@redhat.com>
2397 * target-delegates.c: Rebuild.
2398 * target.c (update_current_target): Don't inherit or default
2399 to_remove_fork_catchpoint.
2400 * target.h (struct target_ops) <to_remove_fork_catchpoint>: Use
2401 TARGET_DEFAULT_RETURN.
2403 2014-02-19 Tom Tromey <tromey@redhat.com>
2405 * target-delegates.c: Rebuild.
2406 * target.c (update_current_target): Don't inherit or default
2407 to_insert_fork_catchpoint.
2408 * target.h (struct target_ops) <to_insert_fork_catchpoint>: Use
2409 TARGET_DEFAULT_RETURN.
2411 2014-02-19 Tom Tromey <tromey@redhat.com>
2413 * target-delegates.c: Rebuild.
2414 * target.c (update_current_target): Don't inherit or default
2415 to_post_startup_inferior.
2416 * target.h (struct target_ops) <to_post_startup_inferior>: Use
2417 TARGET_DEFAULT_IGNORE.
2419 2014-02-19 Tom Tromey <tromey@redhat.com>
2421 * target-delegates.c: Rebuild.
2422 * target.c (update_current_target): Don't inherit or default
2424 * target.h (struct target_ops) <to_load>: Use
2425 TARGET_DEFAULT_NORETURN.
2427 2014-02-19 Tom Tromey <tromey@redhat.com>
2429 * target-delegates.c: Rebuild.
2430 * target.c (update_current_target): Don't inherit or default
2432 * target.h (struct target_ops) <to_terminal_info>: Use
2433 TARGET_DEFAULT_FUNC.
2435 2014-02-19 Tom Tromey <tromey@redhat.com>
2437 * target-delegates.c: Rebuild.
2438 * target.c (update_current_target): Don't inherit or default
2439 to_terminal_save_ours.
2440 * target.h (struct target_ops) <to_terminal_save_ours>: Use
2441 TARGET_DEFAULT_IGNORE.
2443 2014-02-19 Tom Tromey <tromey@redhat.com>
2445 * target-delegates.c: Rebuild.
2446 * target.c (update_current_target): Don't inherit or default
2448 * target.h (struct target_ops) <to_terminal_ours>: Use
2449 TARGET_DEFAULT_IGNORE.
2451 2014-02-19 Tom Tromey <tromey@redhat.com>
2453 * target-delegates.c: Rebuild.
2454 * target.c (update_current_target): Don't inherit or default
2455 to_terminal_ours_for_output.
2456 * target.h (struct target_ops) <to_terminal_ours_for_output>: Use
2457 TARGET_DEFAULT_IGNORE.
2459 2014-02-19 Tom Tromey <tromey@redhat.com>
2461 * target-delegates.c: Rebuild.
2462 * target.c (update_current_target): Don't inherit or default
2463 to_terminal_inferior.
2464 * target.h (struct target_ops) <to_terminal_inferior>: Use
2465 TARGET_DEFAULT_IGNORE.
2467 2014-02-19 Tom Tromey <tromey@redhat.com>
2469 * target-delegates.c: Rebuild.
2470 * target.c (update_current_target): Don't inherit or default
2472 * target.h (struct target_ops) <to_terminal_init>: Use
2473 TARGET_DEFAULT_IGNORE.
2475 2014-02-19 Tom Tromey <tromey@redhat.com>
2477 * target-delegates.c: Rebuild.
2478 * target.c (update_current_target): Don't inherit or default
2479 to_can_accel_watchpoint_condition.
2480 * target.h (struct target_ops)
2481 <to_can_accel_watchpoint_condition>: Use TARGET_DEFAULT_RETURN.
2483 2014-02-19 Tom Tromey <tromey@redhat.com>
2485 * target-delegates.c: Rebuild.
2486 * target.c (update_current_target): Don't inherit or default
2487 to_region_ok_for_hw_watchpoint.
2488 * target.h (struct target_ops) <to_region_ok_for_hw_watchpoint>:
2489 Use TARGET_DEFAULT_FUNC.
2491 2014-02-19 Tom Tromey <tromey@redhat.com>
2493 * target-delegates.c: Rebuild.
2494 * target.c (update_current_target): Don't inherit or default
2495 to_watchpoint_addr_within_range.
2496 * target.h (struct target_ops) <to_watchpoint_addr_within_range>:
2497 Use TARGET_DEFAULT_FUNC.
2499 2014-02-19 Tom Tromey <tromey@redhat.com>
2501 * target-delegates.c: Rebuild.
2502 * target.c (update_current_target): Don't inherit or default
2503 to_remove_watchpoint.
2504 * target.h (struct target_ops) <to_remove_watchpoint>: Use
2505 TARGET_DEFAULT_NORETURN.
2507 2014-02-19 Tom Tromey <tromey@redhat.com>
2509 * target-delegates.c: Rebuild.
2510 * target.c (update_current_target): Don't inherit or default
2511 to_insert_watchpoint.
2512 * target.h (struct target_ops) <to_insert_watchpoint>: Use
2513 TARGET_DEFAULT_RETURN.
2515 2014-02-19 Tom Tromey <tromey@redhat.com>
2517 * target-delegates.c: Rebuild.
2518 * target.c (update_current_target): Don't inherit or default
2519 to_remove_hw_breakpoint.
2520 * target.h (struct target_ops) <to_remove_hw_breakpoint>: Use
2521 TARGET_DEFAULT_RETURN.
2523 2014-02-19 Tom Tromey <tromey@redhat.com>
2525 * target-delegates.c: Rebuild.
2526 * target.c (update_current_target): Don't inherit or default
2527 to_insert_hw_breakpoint.
2528 * target.h (struct target_ops) <to_insert_hw_breakpoint>: Use
2529 TARGET_DEFAULT_RETURN.
2531 2014-02-19 Tom Tromey <tromey@redhat.com>
2533 * target-delegates.c: Rebuild.
2534 * target.c (update_current_target): Don't inherit or default
2535 to_can_use_hw_breakpoint.
2536 * target.h (struct target_ops) <to_can_use_hw_breakpoint>: Use
2537 TARGET_DEFAULT_RETURN.
2539 2014-02-19 Tom Tromey <tromey@redhat.com>
2541 * target-delegates.c: Rebuild.
2542 * target.c (update_current_target): Don't inherit or default
2544 * target.h (struct target_ops) <to_files_info>: Use
2545 TARGET_DEFAULT_IGNORE.
2547 2014-02-19 Tom Tromey <tromey@redhat.com>
2549 * target-delegates.c: Rebuild.
2550 * target.c (update_current_target): Don't inherit or default
2552 * target.h (struct target_ops) <to_store>: Use
2553 TARGET_DEFAULT_NORETURN.
2555 2014-02-19 Tom Tromey <tromey@redhat.com>
2557 * target-delegates.c: Rebuild.
2558 * target.c (update_current_target): Don't inherit or default
2560 * target.h (struct target_ops) <to_post_attach>: Use
2561 TARGET_DEFAULT_IGNORE.
2563 2014-02-19 Tom Tromey <tromey@redhat.com>
2565 * target-delegates.c: Rebuild.
2566 * target.c (update_current_target): Don't inherit or default
2568 (default_rcmd): New function.
2569 (do_monitor_command): Unconditionally delegate.
2570 * target.h (struct target_ops) <to_rmcd>: Use
2571 TARGET_DEFAULT_FUNC.
2573 2014-02-19 Tom Tromey <tromey@redhat.com>
2575 * target-delegates.c: Rebuild.
2576 * target.c (init_dummy_target): Don't initialize to_attach.
2577 (target_attach): Unconditionally delegate.
2578 * target.h (struct target_ops) <to_attach>: Use
2579 TARGET_DEFAULT_FUNC.
2581 2014-02-19 Tom Tromey <tromey@redhat.com>
2583 * target-delegates.c: Rebuild.
2584 * target.c (target_detach): Unconditionally delegate.
2585 (init_dummy_target): Don't initialize to_detach.
2586 * target.h (struct target_ops) <to_detach>: Use
2587 TARGET_DEFAULT_IGNORE.
2589 2014-02-19 Tom Tromey <tromey@redhat.com>
2591 * target.h (struct target_ops) <to_augmented_libraries_svr4_read>:
2593 (target_augmented_libraries_svr4_read): Add argument.
2594 * target.c (update_current_target): Update.
2595 * remote.c (remote_augmented_libraries_svr4_read): Add 'self'
2598 2014-02-19 Tom Tromey <tromey@redhat.com>
2600 * target.h (struct target_ops) <to_call_history_range>: Add
2602 * target.c (target_call_history_range): Add argument.
2603 * record-btrace.c (record_btrace_call_history_range): Add 'self'
2605 (record_btrace_call_history_from): Update.
2607 2014-02-19 Tom Tromey <tromey@redhat.com>
2609 * target.h (struct target_ops) <to_call_history_from>: Add
2611 * target.c (target_call_history_from): Add argument.
2612 * record-btrace.c (record_btrace_call_history_from): Add 'self'
2615 2014-02-19 Tom Tromey <tromey@redhat.com>
2617 * target.h (struct target_ops) <to_call_history>: Add argument.
2618 * target.c (target_call_history): Add argument.
2619 * record-btrace.c (record_btrace_call_history): Add 'self'
2622 2014-02-19 Tom Tromey <tromey@redhat.com>
2624 * target.h (struct target_ops) <to_insn_history_range>: Add
2626 * target.c (target_insn_history_range): Add argument.
2627 * record-btrace.c (record_btrace_insn_history_range): Add 'self'
2629 (record_btrace_insn_history_from): Update.
2631 2014-02-19 Tom Tromey <tromey@redhat.com>
2633 * target.h (struct target_ops) <to_insn_history_from>: Add
2635 * target.c (target_insn_history_from): Add argument.
2636 * record-btrace.c (record_btrace_insn_history_from): Add 'self'
2639 2014-02-19 Tom Tromey <tromey@redhat.com>
2641 * target.h (struct target_ops) <to_insn_history>: Add argument.
2642 * target.c (target_insn_history): Add argument.
2643 * record-btrace.c (record_btrace_insn_history): Add 'self'
2646 2014-02-19 Tom Tromey <tromey@redhat.com>
2648 * target.h (struct target_ops) <to_goto_record>: Add argument.
2649 * target.c (target_goto_record): Add argument.
2650 * record-full.c (record_full_goto): Add 'self' argument.
2651 * record-btrace.c (record_btrace_goto): Add 'self' argument.
2653 2014-02-19 Tom Tromey <tromey@redhat.com>
2655 * target.h (struct target_ops) <to_goto_record_end>: Add argument.
2656 * target.c (target_goto_record_end): Add argument.
2657 * record-full.c (record_full_goto_end): Add 'self' argument.
2658 * record-btrace.c (record_btrace_goto_end): Add 'self' argument.
2660 2014-02-19 Tom Tromey <tromey@redhat.com>
2662 * target.h (struct target_ops) <to_goto_record_begin>: Add
2664 * target.c (target_goto_record_begin): Add argument.
2665 * record-full.c (record_full_goto_begin): Add 'self' argument.
2666 * record-btrace.c (record_btrace_goto_begin): Add 'self'
2669 2014-02-19 Tom Tromey <tromey@redhat.com>
2671 * target.h (struct target_ops) <to_record_is_replaying>: Add
2673 * target.c (target_record_is_replaying): Add argument.
2674 * record-full.c (record_full_is_replaying): Add 'self' argument.
2675 * record-btrace.c (record_btrace_is_replaying): Add 'self'
2677 (record_btrace_xfer_partial, record_btrace_store_registers)
2678 (record_btrace_prepare_to_store, record_btrace_resume)
2679 (record_btrace_wait, record_btrace_decr_pc_after_break)
2680 (record_btrace_find_new_threads, record_btrace_thread_alive):
2683 2014-02-19 Tom Tromey <tromey@redhat.com>
2685 * target.h (struct target_ops) <to_delete_record>: Add argument.
2686 * target.c (target_delete_record): Add argument.
2687 * record-full.c (record_full_delete): Add 'self' argument.
2689 2014-02-19 Tom Tromey <tromey@redhat.com>
2691 * target.h (struct target_ops) <to_save_record>: Add argument.
2692 * target.c (target_save_record): Add argument.
2693 * record-full.c (record_full_save): Add 'self' argument.
2694 (record_full_save): Add 'self' argument.
2696 2014-02-19 Tom Tromey <tromey@redhat.com>
2698 * target.h (struct target_ops) <to_info_record>: Add argument.
2699 * target.c (target_info_record): Add argument.
2700 * record.c (info_record_command): Add argument.
2701 * record-full.c (record_full_info): Add 'self' argument.
2702 * record-btrace.c (record_btrace_info): Add 'self' argument.
2704 2014-02-19 Tom Tromey <tromey@redhat.com>
2706 * target.h (struct target_ops) <to_stop_recording>: Add argument.
2707 * target.c (target_stop_recording): Add argument.
2708 * record.c (record_stop): Add argument.
2709 * record-btrace.c (record_btrace_stop_recording): Add 'self'
2712 2014-02-19 Tom Tromey <tromey@redhat.com>
2714 * target.h (struct target_ops) <to_read_btrace>: Add argument.
2715 * target.c (struct target_ops) <to_read_btrace>: Add argument.
2716 * remote.c (struct target_ops) <to_read_btrace>: Add 'self'
2718 * amd64-linux-nat.c (amd64_linux_read_btrace): New function.
2719 (_initialize_amd64_linux_nat): Use it.
2720 * i386-linux-nat.c (i386_linux_read_btrace): New function.
2721 (_initialize_i386_linux_nat): Use it.
2723 2014-02-19 Tom Tromey <tromey@redhat.com>
2725 * target.h (struct target_ops) <to_teardown_btrace>: Add argument.
2726 * target.c (target_teardown_btrace): Add argument.
2727 * remote.c (remote_teardown_btrace): Add 'self' argument.
2728 * i386-linux-nat.c (i386_linux_teardown_btrace): Add 'self'
2730 * amd64-linux-nat.c (amd64_linux_teardown_btrace): Add 'self'
2733 2014-02-19 Tom Tromey <tromey@redhat.com>
2735 * target.h (struct target_ops) <to_disable_btrace>: Add argument.
2736 * target.c (target_disable_btrace): Add argument.
2737 * remote.c (remote_disable_btrace): Add 'self' argument.
2738 * i386-linux-nat.c (i386_linux_disable_btrace): Add 'self'
2740 * amd64-linux-nat.c (amd64_linux_disable_btrace): Add 'self'
2743 2014-02-19 Tom Tromey <tromey@redhat.com>
2745 * target.h (struct target_ops) <to_enable_btrace>: Add argument.
2746 * target.c (target_enable_btrace): Add argument.
2747 * remote.c (remote_enable_btrace): Add 'self' argument.
2748 * i386-linux-nat.c (i386_linux_enable_btrace): Add 'self'
2750 * amd64-linux-nat.c (amd64_linux_enable_btrace): Add 'self'
2753 2014-02-19 Tom Tromey <tromey@redhat.com>
2755 * target.h (struct target_ops) <to_can_use_agent>: Add argument.
2756 (target_can_use_agent): Add argument.
2757 * target.c (update_current_target): Update.
2758 * remote.c (remote_can_use_agent): Add 'self' argument.
2759 * inf-child.c (inf_child_can_use_agent): Add 'self' argument.
2761 2014-02-19 Tom Tromey <tromey@redhat.com>
2763 * target.h (struct target_ops) <to_use_agent>: Add argument.
2764 (target_use_agent): Add argument.
2765 * target.c (update_current_target): Update.
2766 * remote.c (remote_use_agent): Add 'self' argument.
2767 * inf-child.c (inf_child_use_agent): Add 'self' argument.
2769 2014-02-19 Tom Tromey <tromey@redhat.com>
2771 * tracepoint.c (tfile_traceframe_info): Add 'self' argument.
2772 * target.h (struct target_ops) <to_traceframe_info>: Add argument.
2773 (target_traceframe_info): Add argument.
2774 * target.c (update_current_target): Update.
2775 * remote.c (remote_traceframe_info): Add 'self' argument.
2776 * ctf.c (ctf_traceframe_info): Add 'self' argument.
2778 2014-02-19 Tom Tromey <tromey@redhat.com>
2780 * target.h (target_static_tracepoint_markers_by_strid): Add
2782 (struct target_ops) <to_static_tracepoint_markers_by_strid>: Add
2784 * target.c (update_current_target): Update.
2785 * remote.c (struct target_ops)
2786 <to_static_tracepoint_markers_by_strid>: Add 'self' argument.
2787 * linux-nat.c (struct target_ops)
2788 <to_static_tracepoint_markers_by_strid>: Add 'self' argument.
2790 2014-02-19 Tom Tromey <tromey@redhat.com>
2792 * target.h (struct target_ops) <to_static_tracepoint_marker_at>:
2794 (target_static_tracepoint_marker_at): Add argument.
2795 * target.c (update_current_target): Update.
2796 * remote.c (remote_static_tracepoint_marker_at): Add 'self'
2799 2014-02-19 Tom Tromey <tromey@redhat.com>
2801 * target.h (struct target_ops) <to_set_permissions>: Add argument.
2802 (target_set_permissions): Add argument.
2803 * target.c (update_current_target): Update.
2804 * remote.c (remote_set_permissions): Add 'self' argument.
2805 (remote_start_remote): Update.
2807 2014-02-19 Tom Tromey <tromey@redhat.com>
2809 * windows-nat.c (windows_get_tib_address): Add 'self' argument.
2810 * target.h (struct target_ops) <to_get_tib_address>: Add argument.
2811 (target_get_tib_address): Add argument.
2812 * target.c (update_current_target): Update.
2813 * remote.c (remote_get_tib_address): Add 'self' argument.
2815 2014-02-19 Tom Tromey <tromey@redhat.com>
2817 * target.h (struct target_ops) <to_set_trace_notes>: Add argument.
2818 (target_set_trace_notes): Add argument.
2819 * target.c (update_current_target): Update.
2820 * remote.c (remote_set_trace_notes): Add 'self' argument.
2822 2014-02-19 Tom Tromey <tromey@redhat.com>
2824 * target.h (struct target_ops) <to_set_trace_buffer_size>: Add
2826 (target_set_trace_buffer_size): Add argument.
2827 * target.c (update_current_target): Update.
2828 * remote.c (remote_set_trace_buffer_size): Add 'self' argument.
2830 2014-02-19 Tom Tromey <tromey@redhat.com>
2832 * target.h (struct target_ops) <to_set_circular_trace_buffer>: Add
2834 (target_set_circular_trace_buffer): Add argument.
2835 * target.c (update_current_target): Update.
2836 * remote.c (remote_set_circular_trace_buffer): Add 'self'
2839 2014-02-19 Tom Tromey <tromey@redhat.com>
2841 * target.h (struct target_ops) <to_set_disconnected_tracing>: Add
2843 (target_set_disconnected_tracing): Add argument.
2844 * target.c (update_current_target): Update.
2845 * remote.c (remote_set_disconnected_tracing): Add 'self' argument.
2847 2014-02-19 Tom Tromey <tromey@redhat.com>
2849 * target.h (struct target_ops)
2850 <to_get_min_fast_tracepoint_insn_len>: Add argument.
2851 (target_get_min_fast_tracepoint_insn_len): Add argument.
2852 * target.c (update_current_target): Update.
2853 * remote.c (remote_get_min_fast_tracepoint_insn_len): Add 'self'
2856 2014-02-19 Tom Tromey <tromey@redhat.com>
2858 * target.h (struct target_ops) <to_get_raw_trace_data>: Add
2860 (target_get_raw_trace_data): Add argument.
2861 * target.c (update_current_target): Update.
2862 * remote.c (remote_get_raw_trace_data): Add 'self' argument.
2864 2014-02-19 Tom Tromey <tromey@redhat.com>
2866 * target.h (struct target_ops) <to_upload_trace_state_variables>:
2868 (target_upload_trace_state_variables): Add argument.
2869 * target.c (update_current_target): Update.
2870 * remote.c (remote_upload_trace_state_variables): Add 'self'
2872 (remote_start_remote): Update.
2874 2014-02-19 Tom Tromey <tromey@redhat.com>
2876 * target.h (struct target_ops) <to_upload_tracepoints>: Add
2878 (target_upload_tracepoints): Add argument.
2879 * target.c (update_current_target): Update.
2880 * remote.c (remote_upload_tracepoints): Add 'self' argument.
2881 (remote_start_remote): Update.
2883 2014-02-19 Tom Tromey <tromey@redhat.com>
2885 * target.h (struct target_ops) <to_save_trace_data>: Add argument.
2886 (target_save_trace_data): Add argument.
2887 * target.c (update_current_target): Update.
2888 * remote.c (remote_save_trace_data): Add 'self' argument.
2890 2014-02-19 Tom Tromey <tromey@redhat.com>
2892 * tracepoint.c (tfile_get_trace_state_variable_value): Add 'self'
2894 * target.h (struct target_ops)
2895 <to_get_trace_state_variable_value>: Add argument.
2896 (target_get_trace_state_variable_value): Add argument.
2897 * target.c (update_current_target): Update.
2898 * remote.c (remote_get_trace_state_variable_value): Add 'self'
2900 * ctf.c (ctf_get_trace_state_variable_value): Add 'self' argument.
2902 2014-02-19 Tom Tromey <tromey@redhat.com>
2904 * tracepoint.c (tfile_trace_find): Add 'self' argument.
2905 * target.h (struct target_ops) <to_trace_find>: Add argument.
2906 (target_trace_find): Add argument.
2907 * target.c (update_current_target): Update.
2908 * remote.c (remote_trace_find): Add 'self' argument.
2909 * ctf.c (ctf_trace_find): Add 'self' argument.
2911 2014-02-19 Tom Tromey <tromey@redhat.com>
2913 * target.h (struct target_ops) <to_trace_stop>: Add argument.
2914 (target_trace_stop): Add argument.
2915 * target.c (update_current_target): Update.
2916 * remote.c (remote_trace_stop): Add 'self' argument.
2918 2014-02-19 Tom Tromey <tromey@redhat.com>
2920 * tracepoint.c (tfile_get_tracepoint_status): Add 'self' argument.
2921 * target.h (struct target_ops) <to_get_tracepoint_status>: Add
2923 (target_get_tracepoint_status): Add argument.
2924 * target.c (update_current_target): Update.
2925 * remote.c (remote_get_tracepoint_status): Add 'self' argument.
2927 2014-02-19 Tom Tromey <tromey@redhat.com>
2929 * tracepoint.c (tfile_get_trace_status): Add 'self' argument.
2930 * target.h (struct target_ops) <to_get_trace_status>: Add
2932 (target_get_trace_status): Add argument.
2933 * target.c (update_current_target): Update.
2934 * remote.c (remote_get_trace_status): Add 'self' argument.
2935 (remote_start_remote, remote_can_download_tracepoint): Update.
2936 * ctf.c (ctf_get_trace_status): Add 'self' argument.
2938 2014-02-19 Tom Tromey <tromey@redhat.com>
2940 * target.h (struct target_ops) <to_trace_start>: Add argument.
2941 (target_trace_start): Add argument.
2942 * target.c (update_current_target): Update.
2943 * remote.c (remote_trace_start): Add 'self' argument.
2945 2014-02-19 Tom Tromey <tromey@redhat.com>
2947 * target.h (struct target_ops) <to_trace_set_readonly_regions>:
2949 (target_trace_set_readonly_regions): Add argument.
2950 * target.c (update_current_target): Update.
2951 * remote.c (remote_trace_set_readonly_regions): Add 'self'
2954 2014-02-19 Tom Tromey <tromey@redhat.com>
2956 * target.h (struct target_ops) <to_disable_tracepoint>: Add
2958 (target_disable_tracepoint): Add argument.
2959 * target.c (update_current_target): Update.
2960 * remote.c (remote_disable_tracepoint): Add 'self' argument.
2962 2014-02-19 Tom Tromey <tromey@redhat.com>
2964 * target.h (struct target_ops) <to_enable_tracepoint>: Add
2966 (target_enable_tracepoint): Add argument.
2967 * target.c (update_current_target): Update.
2968 * remote.c (remote_enable_tracepoint): Add 'self' argument.
2970 2014-02-19 Tom Tromey <tromey@redhat.com>
2972 * target.h (struct target_ops) <to_download_trace_state_variable>:
2974 (target_download_trace_state_variable): Add argument.
2975 * target.c (update_current_target): Update.
2976 * remote.c (remote_download_trace_state_variable): Add 'self'
2979 2014-02-19 Tom Tromey <tromey@redhat.com>
2981 * target.h (struct target_ops) <to_can_download_tracepoint>: Add
2983 (target_can_download_tracepoint): Add argument.
2984 * target.c (update_current_target): Update.
2985 * remote.c (remote_can_download_tracepoint): Add 'self' argument.
2987 2014-02-19 Tom Tromey <tromey@redhat.com>
2989 * target.h (struct target_ops) <to_download_tracepoint>: Add
2991 (target_download_tracepoint): Add argument.
2992 * target.c (update_current_target): Update.
2993 * remote.c (remote_download_tracepoint): Add 'self' argument.
2995 2014-02-19 Tom Tromey <tromey@redhat.com>
2997 * target.h (struct target_ops) <to_trace_init>: Add argument.
2998 (target_trace_init): Add argument.
2999 * target.c (update_current_target): Update.
3000 * remote.c (remote_trace_init): Add 'self' argument.
3002 2014-02-19 Tom Tromey <tromey@redhat.com>
3004 * target.h (struct target_ops) <to_fileio_readlink>: Add argument.
3005 * target.c (target_fileio_readlink): Add argument.
3006 * remote.c (remote_hostio_readlink): Add 'self' argument.
3007 * inf-child.c (inf_child_fileio_readlink): Add 'self' argument.
3009 2014-02-19 Tom Tromey <tromey@redhat.com>
3011 * target.h (struct target_ops) <to_fileio_unlink>: Add argument.
3012 * target.c (target_fileio_unlink): Add argument.
3013 * remote.c (remote_hostio_unlink): Add 'self' argument.
3014 (remote_file_delete): Update.
3015 * inf-child.c (inf_child_fileio_unlink): Add 'self' argument.
3017 2014-02-19 Tom Tromey <tromey@redhat.com>
3019 * target.h (struct target_ops) <to_fileio_close>: Add argument.
3020 * target.c (target_fileio_close): Add argument.
3021 * remote.c (remote_hostio_close): Add 'self' argument.
3022 (remote_hostio_close_cleanup): Update.
3023 (remote_bfd_iovec_close, remote_file_put, remote_file_get):
3025 * inf-child.c (inf_child_fileio_close): Add 'self' argument.
3027 2014-02-19 Tom Tromey <tromey@redhat.com>
3029 * target.h (struct target_ops) <to_fileio_pread>: Add argument.
3030 * target.c (target_fileio_pread): Add argument.
3031 * remote.c (remote_hostio_pread): Add 'self' argument.
3032 (remote_bfd_iovec_pread, remote_file_get): Update.
3033 * inf-child.c (inf_child_fileio_pread): Add 'self' argument.
3035 2014-02-19 Tom Tromey <tromey@redhat.com>
3037 * target.h (struct target_ops) <to_fileio_pwrite>: Add argument.
3038 * target.c (target_fileio_pwrite): Add argument.
3039 * remote.c (remote_hostio_pwrite): Add 'self' argument.
3040 (remote_file_put): Update.
3041 * inf-child.c (inf_child_fileio_pwrite): Add 'self' argument.
3043 2014-02-19 Tom Tromey <tromey@redhat.com>
3045 * target.h (struct target_ops) <to_fileio_open>: Add argument.
3046 * target.c (target_fileio_open): Add argument.
3047 * remote.c (remote_hostio_open): Add 'self' argument.
3048 (remote_bfd_iovec_open): Add 'self' argument.
3049 (remote_file_put): Add 'self' argument.
3050 (remote_file_get): Add 'self' argument.
3051 * inf-child.c (inf_child_fileio_open): Add 'self' argument.
3053 2014-02-19 Tom Tromey <tromey@redhat.com>
3055 * target.h (struct target_ops) <to_can_run_breakpoint_commands>:
3057 (target_can_run_breakpoint_commands): Add argument.
3058 * target.c (update_current_target): Update.
3059 * remote.c (remote_can_run_breakpoint_commands): Add 'self'
3061 (remote_insert_breakpoint): Add 'self' argument.
3062 (remote_insert_hw_breakpoint): Add 'self' argument.
3063 (remote_can_run_breakpoint_commands): Add 'self' argument.
3065 2014-02-19 Tom Tromey <tromey@redhat.com>
3067 * target.h (struct target_ops)
3068 <to_supports_evaluation_of_breakpoint_conditions>: Add argument.
3069 (target_supports_evaluation_of_breakpoint_conditions): Add
3071 * target.c (update_current_target): Update.
3072 * remote.c (remote_supports_cond_breakpoints): Add 'self'
3074 (remote_insert_breakpoint): Add 'self' argument.
3075 (remote_insert_hw_breakpoint): Add 'self' argument.
3076 (remote_supports_cond_breakpoints): Add 'self' argument.
3078 2014-02-19 Tom Tromey <tromey@redhat.com>
3080 * target.h (struct target_ops) <to_supports_string_tracing>: Add
3082 (target_supports_string_tracing): Add argument.
3083 * target.c (update_current_target): Update.
3084 * remote.c (remote_supports_string_tracing): Add 'self' argument.
3086 2014-02-19 Tom Tromey <tromey@redhat.com>
3088 * target.h (struct target_ops)
3089 <to_supports_disable_randomization>: Add argument.
3090 * target.c (find_default_supports_disable_randomization): Add
3092 (target_supports_disable_randomization): Add argument.
3093 (find_default_supports_disable_randomization): Add 'self'
3095 * remote.c (extended_remote_supports_disable_randomization): Add
3097 (remote_supports_disable_randomization): Add 'self' argument.
3098 (extended_remote_create_inferior): Update.
3099 * linux-nat.c (linux_nat_supports_disable_randomization): Add
3102 2014-02-19 Tom Tromey <tromey@redhat.com>
3104 * target.h (struct target_ops)
3105 <to_supports_enable_disable_tracepoint>: Add argument.
3106 (target_supports_enable_disable_tracepoint): Add argument.
3107 * target.c (update_current_target): Update.
3108 * remote.c (remote_supports_enable_disable_tracepoint): Add 'self'
3111 2014-02-19 Tom Tromey <tromey@redhat.com>
3113 * target.h (struct target_ops) <to_supports_multi_process>: Add
3115 (target_supports_multi_process): Add argument.
3116 * target.c (update_current_target): Update.
3117 * remote.c (remote_supports_multi_process): Add 'self' argument.
3118 * linux-nat.c (linux_nat_supports_multi_process): Add 'self'
3120 * darwin-nat.c (darwin_supports_multi_process): Add 'self'
3123 2014-02-19 Tom Tromey <tromey@redhat.com>
3125 * target.h (struct target_ops) <to_execution_direction>: Add
3127 (target_execution_direction): Add argument.
3128 * target.c (default_execution_direction): Add 'self' argument.
3129 * record-full.c (record_full_execution_direction): Add 'self'
3132 2014-02-19 Tom Tromey <tromey@redhat.com>
3134 * target.h (struct target_ops) <to_can_execute_reverse>: Add
3136 (target_can_execute_reverse): Add argument.
3137 * remote.c (remote_can_execute_reverse): Add 'self' argument.
3138 * record-full.c (record_full_can_execute_reverse): Add 'self'
3140 * record-btrace.c (record_btrace_can_execute_reverse): Add 'self'
3143 2014-02-19 Tom Tromey <tromey@redhat.com>
3145 * windows-nat.c (windows_get_ada_task_ptid): Add 'self' argument.
3146 * target.h (struct target_ops) <to_get_ada_task_ptid>: Add
3148 (target_get_ada_task_ptid): Add argument.
3149 * target.c (update_current_target): Update.
3150 (default_get_ada_task_ptid): Add 'self' argument.
3151 * sol-thread.c (sol_get_ada_task_ptid): Add 'self' argument.
3152 * remote.c (remote_get_ada_task_ptid): Add 'self' argument.
3153 * ravenscar-thread.c (ravenscar_get_ada_task_ptid): Add 'self'
3155 * linux-thread-db.c (thread_db_get_ada_task_ptid): Add 'self'
3157 * inf-ttrace.c (inf_ttrace_get_ada_task_ptid): Add 'self'
3159 * dec-thread.c (dec_thread_get_ada_task_ptid): Add 'self'
3161 * darwin-nat.c (darwin_get_ada_task_ptid): Add 'self' argument.
3162 * aix-thread.c (aix_thread_get_ada_task_ptid): Add 'self'
3165 2014-02-19 Tom Tromey <tromey@redhat.com>
3167 * target.h (struct target_ops) <to_goto_bookmark>: Add argument.
3168 (target_goto_bookmark): Add argument.
3169 * target.c (dummy_goto_bookmark): Add 'self' argument.
3170 * record-full.c (record_full_goto_bookmark): Add 'self' argument.
3172 2014-02-19 Tom Tromey <tromey@redhat.com>
3174 * target.h (struct target_ops) <to_get_bookmark>: Add argument.
3175 (target_get_bookmark): Add argument.
3176 * target.c (dummy_get_bookmark): Add 'self' argument.
3177 * record-full.c (record_full_get_bookmark): Add 'self' argument.
3179 2014-02-19 Tom Tromey <tromey@redhat.com>
3181 * target.h (struct target_ops) <to_make_corefile_notes>: Add
3183 (target_make_corefile_notes): Add argument.
3184 * target.c (dummy_make_corefile_notes): Add 'self' argument.
3185 * procfs.c (procfs_make_note_section): Add 'self' argument.
3186 (procfs_make_note_section): Add 'self' argument.
3187 (procfs_make_note_section): Add 'self' argument.
3188 * linux-nat.c (linux_nat_make_corefile_notes): Add 'self'
3190 * fbsd-nat.h (fbsd_make_corefile_notes): Add 'self' argument.
3191 * fbsd-nat.c (fbsd_make_corefile_notes): Add 'self' argument.
3192 * exec.c (exec_make_note_section): Add 'self' argument.
3193 (exec_make_note_section): Add 'self' argument.
3195 2014-02-19 Tom Tromey <tromey@redhat.com>
3197 * target.h (struct target_ops) <to_find_memory_regions>: Add
3199 (target_find_memory_regions): Add argument.
3200 * target.c (dummy_find_memory_regions): Add 'self' argument.
3201 * procfs.c (proc_find_memory_regions): Add 'self' argument.
3202 * gnu-nat.c (gnu_find_memory_regions): Add 'self' argument.
3203 * fbsd-nat.h (fbsd_find_memory_regions): Add 'self' argument.
3204 * fbsd-nat.c (fbsd_find_memory_regions): Add 'self' argument.
3205 * exec. (exec_do_find_memory_regions): New global.
3206 (exec_set_find_memory_regions): Rewrite.
3207 (exec_find_memory_regions): New function.
3208 (init_exec_ops): Use exec_find_memory_regions.
3210 2014-02-19 Tom Tromey <tromey@redhat.com>
3212 * target.h (struct target_ops) <to_supports_non_stop>: Add
3214 * target.c (find_default_supports_non_stop): Add argument.
3215 (target_supports_non_stop): Add argument.
3216 (find_default_supports_non_stop): Add 'self' argument.
3217 * remote.c (remote_supports_non_stop): Add 'self' argument.
3218 * linux-nat.c (linux_nat_supports_non_stop): Add 'self' argument.
3220 2014-02-19 Tom Tromey <tromey@redhat.com>
3222 * target.h (struct target_ops) <to_log_command>: Add argument.
3223 (target_log_command): Add argument.
3224 * serial.h (serial_log_command): Add 'self' argument.
3225 * serial.c (serial_log_command): Add 'self' argument.
3227 2014-02-19 Tom Tromey <tromey@redhat.com>
3229 * windows-nat.c (windows_pid_to_exec_file): Add 'self' argument.
3230 * target.h (struct target_ops) <to_pid_to_exec_file>: Add
3232 (target_pid_to_exec_file): Add argument.
3233 * target.c (debug_to_pid_to_exec_file): Add argument.
3234 (update_current_target): Update.
3235 * nbsd-nat.h (nbsd_pid_to_exec_file): Add 'self' argument.
3236 * nbsd-nat.c (nbsd_pid_to_exec_file): Add 'self' argument.
3237 * linux-nat.c (linux_child_pid_to_exec_file): Add 'self' argument.
3238 (linux_handle_extended_wait): Update.
3239 * inf-child.c (inf_child_pid_to_exec_file): Add 'self' argument.
3240 * fbsd-nat.h (fbsd_pid_to_exec_file): Add 'self' argument.
3241 * fbsd-nat.c (fbsd_pid_to_exec_file): Add 'self' argument.
3242 * darwin-nat.c (darwin_pid_to_exec_file): Add 'self' argument.
3244 2014-02-19 Tom Tromey <tromey@redhat.com>
3246 * target.h (struct target_ops) <to_rcmd>: Add argument.
3247 (target_rcmd): Add argument.
3248 * target.c (debug_to_rcmd): Add argument.
3249 (update_current_target, do_monitor_command): Update.
3250 * remote.c (remote_rcmd): Add 'self' argument.
3251 * monitor.c (monitor_rcmd): Add 'self' argument.
3253 2014-02-19 Tom Tromey <tromey@redhat.com>
3255 * windows-nat.c (windows_stop): Add 'self' argument.
3256 * target.h (struct target_ops) <to_stop>: Add argument.
3257 * target.c (target_stop): Add argument.
3258 (debug_to_stop): Add argument.
3259 (update_current_target): Update.
3260 * remote.c (remote_stop): Add 'self' argument.
3261 * remote-sim.c (gdbsim_stop): Add 'self' argument.
3262 (gdbsim_cntrl_c): Update.
3263 * remote-m32r-sdi.c (m32r_stop): Add 'self' argument.
3264 * procfs.c (procfs_stop): Add 'self' argument.
3265 * nto-procfs.c (procfs_stop): Add 'self' argument.
3266 * monitor.c (monitor_stop): Add 'self' argument.
3267 (monitor_open): Update.
3268 * linux-nat.c (linux_nat_stop): Add argument.
3269 * inf-ptrace.c (inf_ptrace_stop): Add 'self' argument.
3270 * gnu-nat.c (gnu_stop): Add 'self' argument.
3271 * darwin-nat.c (darwin_stop): Add 'self' argument.
3273 2014-02-19 Tom Tromey <tromey@redhat.com>
3275 * target.h (struct target_ops) <to_thread_name>: Add argument.
3276 * target.c (target_thread_name): Add argument.
3277 (update_current_target): Update.
3278 * linux-nat.c (linux_nat_thread_name): Add 'self' argument.
3280 2014-02-19 Tom Tromey <tromey@redhat.com>
3282 * target.h (struct target_ops) <to_extra_thread_info>: Add
3284 (target_extra_thread_info): Add argument.
3285 * target.c (update_current_target): Update.
3286 * remote.c (remote_threads_extra_info): Add 'self' argument.
3287 * ravenscar-thread.c (ravenscar_extra_thread_info): Add 'self'
3289 * nto-tdep.h (nto_extra_thread_info): Add 'self' argument.
3290 * nto-tdep.c (nto_extra_thread_info): Add 'self' argument.
3291 * linux-thread-db.c (thread_db_extra_thread_info): Add 'self'
3293 * inf-ttrace.c (inf_ttrace_extra_thread_info): Add 'self'
3295 * bsd-uthread.c (bsd_uthread_extra_thread_info): Add 'self'
3297 * aix-thread.c (aix_thread_extra_thread_info): Add 'self'
3300 2014-02-19 Tom Tromey <tromey@redhat.com>
3302 * target.h (struct target_ops) <to_program_signals>: Add argument.
3303 * target.c (target_program_signals): Add argument.
3304 * remote.c (remote_program_signals): Add 'self' argument.
3306 2014-02-19 Tom Tromey <tromey@redhat.com>
3308 * target.h (struct target_ops) <to_pass_signals>: Add argument.
3309 * target.c (target_pass_signals): Add argument.
3310 * remote.c (remote_pass_signals): Add 'self' argument.
3311 (remote_start_remote): Update.
3312 * procfs.c (procfs_pass_signals): Add 'self' argument.
3313 * nto-procfs.c (procfs_pass_signals): Add 'self' argument.
3314 * linux-nat.c (linux_nat_pass_signals): Add 'self' argument.
3315 (linux_nat_create_inferior, linux_nat_attach): Update.
3317 2014-02-19 Tom Tromey <tromey@redhat.com>
3319 * windows-nat.c (windows_can_run): Add 'self' argument.
3320 * target.h (struct target_ops) <to_can_run>: Add argument.
3321 (target_can_run): Add argument.
3322 * target.c (debug_to_can_run): Add argument.
3323 (update_current_target): Update.
3324 * nto-procfs.c (procfs_can_run): Add 'self' argument.
3325 * inf-child.c (inf_child_can_run): Add 'self' argument.
3326 * go32-nat.c (go32_can_run): Add 'self' argument.
3328 2014-02-19 Tom Tromey <tromey@redhat.com>
3330 * target.h (struct target_ops) <to_has_exited>: Add argument.
3331 (target_has_exited): Add argument.
3332 * target.c (debug_to_has_exited): Add argument.
3333 (update_current_target): Update.
3335 2014-02-19 Tom Tromey <tromey@redhat.com>
3337 * target.h (struct target_ops) <to_set_syscall_catchpoint>: Add
3339 (target_set_syscall_catchpoint): Add argument.
3340 * linux-nat.c (linux_child_set_syscall_catchpoint): Add 'self'
3342 * target.c (update_current_target): Update.
3344 2014-02-19 Tom Tromey <tromey@redhat.com>
3346 * target.h (struct target_ops) <to_remove_exec_catchpoint>: Add
3348 (target_remove_exec_catchpoint): Add argument.
3349 * target.c (debug_to_remove_exec_catchpoint): Add argument.
3350 (update_current_target): Update.
3351 * linux-nat.c (linux_child_remove_exec_catchpoint): Add 'self'
3354 2014-02-19 Tom Tromey <tromey@redhat.com>
3356 * target.h (struct target_ops) <to_insert_exec_catchpoint>: Add
3358 (target_insert_exec_catchpoint): Add argument.
3359 * target.c (debug_to_insert_exec_catchpoint): Add argument.
3360 (update_current_target): Update.
3361 * linux-nat.c (linux_child_insert_exec_catchpoint): Add 'self'
3364 2014-02-19 Tom Tromey <tromey@redhat.com>
3366 * target.h (struct target_ops) <to_remove_vfork_catchpoint>: Add
3368 (target_remove_vfork_catchpoint): Add argument.
3369 * target.c (debug_to_remove_vfork_catchpoint): Add argument.
3370 (update_current_target): Update.
3371 * linux-nat.c (linux_child_remove_vfork_catchpoint): Add 'self'
3374 2014-02-19 Tom Tromey <tromey@redhat.com>
3376 * target.h (struct target_ops) <to_insert_vfork_catchpoint>: Add
3378 (target_insert_vfork_catchpoint): Add argument.
3379 * target.c (debug_to_insert_vfork_catchpoint): Add argument.
3380 (update_current_target): Update.
3381 * linux-nat.c (linux_child_insert_vfork_catchpoint): Add 'self'
3384 2014-02-19 Tom Tromey <tromey@redhat.com>
3386 * target.h (struct target_ops) <to_remove_fork_catchpoint>: Add
3388 (target_remove_fork_catchpoint): Add argument.
3389 * target.c (debug_to_remove_fork_catchpoint): Add argument.
3390 (update_current_target): Update.
3391 * linux-nat.c (linux_child_remove_fork_catchpoint): Add 'self'
3394 2014-02-19 Tom Tromey <tromey@redhat.com>
3396 * target.h (struct target_ops) <to_insert_fork_catchpoint>: Add
3398 (target_insert_fork_catchpoint): Add argument.
3399 * target.c (debug_to_insert_fork_catchpoint): Add argument.
3400 (update_current_target): Update.
3401 * linux-nat.c (linux_child_insert_fork_catchpoint): Add 'self'
3404 2014-02-19 Tom Tromey <tromey@redhat.com>
3406 * target.h (struct target_ops) <to_post_startup_inferior>: Add
3408 (target_post_startup_inferior): Add argument.
3409 * target.c (debug_to_post_startup_inferior): Add argument.
3410 (update_current_target): Update.
3411 * spu-linux-nat.c (spu_child_post_startup_inferior): Add 'self'
3413 * linux-nat.c (linux_child_post_startup_inferior): Add 'self'
3415 * inf-ptrace.c (inf_ptrace_post_startup_inferior): Add 'self'
3417 * inf-child.c (inf_child_post_startup_inferior): Add 'self'
3419 * i386-linux-nat.c (i386_linux_child_post_startup_inferior): Add
3421 (super_post_startup_inferior): Likewise.
3422 * amd64-linux-nat.c (amd64_linux_child_post_startup_inferior): Add
3424 (super_post_startup_inferior): Likewise.
3425 * aarch64-linux-nat.c (aarch64_linux_child_post_startup_inferior):
3426 Add 'self' argument.
3427 (super_post_startup_inferior): Likewise.
3429 2014-02-19 Tom Tromey <tromey@redhat.com>
3431 * target.h (struct target_ops) <to_load>: Add argument.
3432 * target.c (target_load): Add argument.
3433 (debug_to_load): Add argument.
3434 (update_current_target): Update.
3435 * remote.c (remote_load): Add 'self' argument.
3436 * remote-sim.c (gdbsim_load): Add 'self' argument.
3437 * remote-mips.c (mips_load): Add 'self' argument.
3438 * remote-m32r-sdi.c (m32r_load): Add 'self' argument.
3439 * monitor.c (monitor_load): Add 'self' argument.
3440 * m32r-rom.c (m32r_load_gen): Add 'self' argument.
3442 2014-02-19 Tom Tromey <tromey@redhat.com>
3444 * target.h (struct target_ops) <to_terminal_info>: Add argument.
3445 (target_terminal_info): Add argument.
3446 * target.c (debug_to_terminal_info): Add argument.
3447 (default_terminal_info): Likewise.
3448 * inflow.c (child_terminal_info): Add 'self' argument.
3449 * inferior.h (child_terminal_info): Add 'self' argument.
3450 * go32-nat.c (go32_terminal_info): Add 'self' argument.
3452 2014-02-19 Tom Tromey <tromey@redhat.com>
3454 * target.h (struct target_ops) <to_terminal_save_ours>: Add
3456 (target_terminal_save_ours): Add argument.
3457 * target.c (debug_to_terminal_save_ours): Add argument.
3458 (update_current_target): Update.
3459 * inflow.c (terminal_save_ours): Add 'self' argument.
3460 * inferior.h (terminal_save_ours): Add 'self' argument.
3462 2014-02-19 Tom Tromey <tromey@redhat.com>
3464 * target.h (struct target_ops) <to_terminal_ours>: Add argument.
3465 (target_terminal_ours): Add argument.
3466 * target.c (debug_to_terminal_ours): Add argument.
3467 (update_current_target): Update.
3468 * remote.c (remote_terminal_ours): Add 'self' argument.
3469 (remote_close): Update.
3470 * linux-nat.c (linux_nat_terminal_ours): Add 'self' argument.
3471 * inflow.c (terminal_ours): Add 'self' argument.
3472 * inferior.h (terminal_ours): Add 'self' argument.
3473 * go32-nat.c (go32_terminal_ours): Add 'self' argument.
3475 2014-02-19 Pedro Alves <palves@redhat.com>
3476 Tom Tromey <tromey@redhat.com>
3478 * target.h (struct target_ops) <to_terminal_ours_for_output>: Add
3480 (target_terminal_ours_for_output): Add argument.
3481 * target.c (debug_to_terminal_ours_for_output): Add argument.
3482 (update_current_target): Update.
3483 * inflow.c (terminal_ours_for_output): Add 'self' argument.
3484 * inferior.h (terminal_ours_for_output): Add 'self' argument.
3485 * go32-nat.c (go32_terminal_ours): Add 'self' argument.
3487 2014-02-19 Tom Tromey <tromey@redhat.com>
3489 * target.h (struct target_ops) <to_terminal_inferior>: Add
3491 * target.c (target_terminal_inferior): Add argument.
3492 (update_current_target): Update.
3493 * remote.c (remote_terminal_inferior): Add 'self' argument.
3494 * linux-nat.c (linux_nat_terminal_inferior): Add 'self' argument.
3495 * inflow.c (terminal_inferior): Add 'self' argument.
3496 * inferior.h (terminal_inferior): Add 'self' argument.
3497 * go32-nat.c (go32_terminal_inferior): Add 'self' argument.
3498 (go32_terminal_inferior): Add 'self' argument.
3500 2014-02-19 Tom Tromey <tromey@redhat.com>
3502 * target.h (struct target_ops) <to_terminal_init>: Add argument.
3503 (target_terminal_init): Add argument.
3504 * target.c (debug_to_terminal_init): Add argument.
3505 (update_current_target): Update.
3506 * inflow.c (terminal_init_inferior): Add 'self' argument.
3507 * inferior.h (terminal_init_inferior): Add 'self' argument.
3508 * go32-nat.c (go32_terminal_init): Add 'self' argument.
3509 * gnu-nat.c (gnu_terminal_init_inferior): Add 'self' argument.
3511 2014-02-19 Tom Tromey <tromey@redhat.com>
3513 * target.h (struct target_ops)
3514 <to_can_accel_watchpoint_condition>: Add argument.
3515 (target_can_accel_watchpoint_condition): Add argument.
3516 * target.c (debug_to_can_accel_watchpoint_condition): Add
3518 (update_current_target): Update.
3519 * ppc-linux-nat.c (ppc_linux_can_accel_watchpoint_condition): Add
3522 2014-02-19 Tom Tromey <tromey@redhat.com>
3524 * target.h (struct target_ops) <to_region_ok_for_hw_watchpoint>:
3526 (target_region_ok_for_hw_watchpoint): Add argument.
3527 * target.c (debug_to_region_ok_for_hw_watchpoint): Add argument.
3528 (default_region_ok_for_hw_watchpoint): Add argument.
3529 * spu-multiarch.c (spu_region_ok_for_hw_watchpoint): Add argument.
3530 * s390-linux-nat.c (s390_region_ok_for_hw_watchpoint): Add 'self'
3532 * remote.c (remote_region_ok_for_hw_watchpoint): Add 'self'
3534 * procfs.c (procfs_region_ok_for_hw_watchpoint): Add 'self'
3536 * ppc-linux-nat.c (ppc_linux_region_ok_for_hw_watchpoint): Add
3538 * mips-linux-nat.c (mips_linux_region_ok_for_hw_watchpoint): Add
3540 * inf-ttrace.c (inf_ttrace_region_ok_for_hw_watchpoint): Add
3542 * i386-nat.c (i386_region_ok_for_watchpoint): Add 'self' argument.
3543 * arm-linux-nat.c (arm_linux_region_ok_for_hw_watchpoint): Add
3545 * aarch64-linux-nat.c (aarch64_linux_region_ok_for_hw_watchpoint):
3546 Add 'self' argument.
3548 2014-02-19 Tom Tromey <tromey@redhat.com>
3550 * target.h (struct target_ops) <to_insert_watchpoint>: Add
3552 (target_insert_watchpoint): Add argument.
3553 * target.c (debug_to_insert_watchpoint): Add argument.
3554 (update_current_target): Update.
3555 * s390-linux-nat.c (s390_insert_watchpoint): Add 'self' argument.
3556 * remote.c (remote_insert_watchpoint): Add 'self' argument.
3557 * remote-mips.c (mips_insert_watchpoint): Add 'self' argument.
3558 * remote-m32r-sdi.c (m32r_insert_watchpoint): Add 'self' argument.
3559 * procfs.c (procfs_insert_watchpoint): Add 'self' argument.
3560 * ppc-linux-nat.c (ppc_linux_insert_watchpoint): Add 'self'
3562 * nto-procfs.c (procfs_insert_hw_watchpoint): Add 'self' argument.
3563 (procfs_insert_hw_watchpoint): Add 'self' argument.
3564 * mips-linux-nat.c (mips_linux_insert_watchpoint): Add 'self'
3566 * inf-ttrace.c (inf_ttrace_insert_watchpoint): Add 'self'
3568 * ia64-linux-nat.c (ia64_linux_insert_watchpoint): Add 'self'
3570 * i386-nat.c (i386_insert_watchpoint): Add 'self' argument.
3571 * arm-linux-nat.c (arm_linux_insert_watchpoint): Add 'self'
3573 * aarch64-linux-nat.c (aarch64_linux_insert_watchpoint): Add
3576 2014-02-19 Tom Tromey <tromey@redhat.com>
3578 * target.h (struct target_ops) <to_remove_watchpoint>: Add
3580 (target_remove_watchpoint): Add argument.
3581 * target.c (debug_to_remove_watchpoint): Add argument.
3582 (update_current_target): Update.
3583 * s390-linux-nat.c (s390_remove_watchpoint): Add 'self' argument.
3584 * remote.c (remote_remove_watchpoint): Add 'self' argument.
3585 * remote-mips.c (mips_remove_watchpoint): Add 'self' argument.
3586 * remote-m32r-sdi.c (m32r_remove_watchpoint): Add 'self' argument.
3587 * procfs.c (procfs_remove_watchpoint): Add 'self' argument.
3588 * ppc-linux-nat.c (ppc_linux_remove_watchpoint): Add 'self'
3590 * nto-procfs.c (procfs_remove_hw_watchpoint): Add 'self' argument.
3591 * mips-linux-nat.c (mips_linux_remove_watchpoint): Add 'self'
3593 * inf-ttrace.c (inf_ttrace_remove_watchpoint): Add 'self'
3595 * ia64-linux-nat.c (ia64_linux_remove_watchpoint): Add 'self'
3597 * i386-nat.c (i386_remove_watchpoint): Add 'self' argument.
3598 * arm-linux-nat.c (arm_linux_remove_watchpoint): Add 'self'
3600 * aarch64-linux-nat.c (aarch64_linux_remove_watchpoint): Add
3603 2014-02-19 Tom Tromey <tromey@redhat.com>
3605 * target.h (struct target_ops) <to_remove_hw_breakpoint>: Add
3607 (target_remove_hw_breakpoint): Add argument.
3608 * target.c (debug_to_remove_hw_breakpoint): Add argument.
3609 (update_current_target): Update.
3610 * remote.c (remote_remove_hw_breakpoint): Add 'self' argument.
3611 * ppc-linux-nat.c (ppc_linux_remove_hw_breakpoint): Add 'self'
3613 * i386-nat.c (i386_remove_hw_breakpoint): Add 'self' argument.
3614 * arm-linux-nat.c (arm_linux_remove_hw_breakpoint): Add 'self'
3616 * aarch64-linux-nat.c (aarch64_linux_remove_hw_breakpoint): Add
3619 2014-02-19 Tom Tromey <tromey@redhat.com>
3621 * target.h (struct target_ops) <to_insert_hw_breakpoint>: Add
3623 (target_insert_hw_breakpoint): Add argument.
3624 * target.c (debug_to_insert_hw_breakpoint): Add argument.
3625 (update_current_target): Update.
3626 * remote.c (remote_insert_hw_breakpoint): Add 'self' argument.
3627 * ppc-linux-nat.c (ppc_linux_insert_hw_breakpoint): Add 'self'
3629 * nto-procfs.c (procfs_insert_hw_breakpoint): Add 'self' argument.
3630 * i386-nat.c (i386_insert_hw_breakpoint): Add 'self' argument.
3631 * arm-linux-nat.c (arm_linux_insert_hw_breakpoint): Add 'self'
3633 * aarch64-linux-nat.c (aarch64_linux_insert_hw_breakpoint): Add
3636 2014-02-19 Tom Tromey <tromey@redhat.com>
3638 * target.h (struct target_ops) <to_can_use_hw_breakpoint>: Add
3640 (target_can_use_hardware_watchpoint): Add argument.
3641 * target.c (debug_to_can_use_hw_breakpoint): Add argument.
3642 (update_current_target): Update.
3643 * spu-linux-nat.c (spu_can_use_hw_breakpoint): Add 'self'
3645 * s390-linux-nat.c (s390_can_use_hw_breakpoint): Add 'self'
3647 * remote.c (remote_check_watch_resources): Add 'self' argument.
3648 * remote-mips.c (mips_can_use_watchpoint): Add 'self' argument.
3649 * remote-m32r-sdi.c (m32r_can_use_hw_watchpoint): Add 'self'
3651 * procfs.c (procfs_can_use_hw_breakpoint): Add 'self' argument.
3652 * ppc-linux-nat.c (ppc_linux_can_use_hw_breakpoint): Add 'self'
3654 * nto-procfs.c (procfs_can_use_hw_breakpoint): Add 'self'
3656 * mips-linux-nat.c (mips_linux_can_use_hw_breakpoint): Add 'self'
3658 * inf-ttrace.c (inf_ttrace_can_use_hw_breakpoint): Add 'self'
3660 * ia64-linux-nat.c (ia64_linux_can_use_hw_breakpoint): Add 'self'
3662 * ia64-hpux-nat.c (ia64_hpux_can_use_hw_breakpoint): Add 'self'
3664 * i386-nat.c (i386_can_use_hw_breakpoint): Add 'self' argument.
3665 * arm-linux-nat.c (arm_linux_can_use_hw_breakpoint): Add 'self'
3667 * aarch64-linux-nat.c (aarch64_linux_can_use_hw_breakpoint): Add
3670 2014-02-19 Tom Tromey <tromey@redhat.com>
3672 * target.h (struct target_ops) <to_post_attach>: Add argument.
3673 (target_post_attach): Add argument.
3674 * target.c (debug_to_post_attach): Add argument.
3675 (update_current_target): Update.
3676 * spu-linux-nat.c (spu_child_post_attach): Add 'self' argument.
3677 * nto-procfs.c (procfs_post_attach): Add 'self' argument.
3678 * linux-nat.c (linux_child_post_attach): Add 'self' argument.
3679 * inf-ptrace.c (inf_ptrace_post_attach): Add 'self' argument.
3680 * inf-child.c (inf_child_post_attach): Add 'self' argument.
3682 2014-02-19 Tom Tromey <tromey@redhat.com>
3684 * windows-nat.c (windows_close): Add 'self' argument.
3685 * tracepoint.c (tfile_close): Add 'self' argument.
3686 * target.h (struct target_ops) <to_close>: Add argument.
3687 * target.c (target_close): Add argument.
3688 (update_current_target): Update.
3689 * remote.c (remote_close): Add 'self' argument.
3690 * remote-sim.c (gdbsim_close): Add 'self' argument.
3691 * remote-mips.c (mips_close): Add 'self' argument.
3692 * remote-m32r-sdi.c (m32r_close): Add 'self' argument.
3693 * record-full.c (record_full_close): Add 'self' argument.
3694 * record-btrace.c (record_btrace_close): Add 'self' argument.
3695 * monitor.h (monitor_close): Add 'self' argument.
3696 * monitor.c (monitor_close): Add 'self' argument.
3697 * mips-linux-nat.c (mips_linux_close): Add 'self' argument.
3698 * linux-nat.c (linux_nat_close): Add argument.
3699 * go32-nat.c (go32_close): Add 'self' argument.
3700 * exec.c (exec_close_1): Add 'self' argument.
3701 * ctf.c (ctf_close): Add 'self' argument.
3702 * corelow.c (core_close): Add 'self' argument.
3703 (core_close_cleanup): Update.
3704 * bsd-uthread.c (bsd_uthread_close): Add 'self' argument.
3705 * bsd-kvm.c (bsd_kvm_close): Add 'self' argument.
3707 2014-02-19 Tom Tromey <tromey@redhat.com>
3709 * remote.c (remote_load): New function.
3710 (init_remote_ops): Use it.
3712 2014-02-19 Tom Tromey <tromey@redhat.com>
3714 * common/linux-btrace.c (linux_supports_btrace): Add "ops"
3716 * common/linux-btrace.h (linux_supports_btrace): Update.
3717 * remote.c (remote_supports_btrace): Add "self" argument.
3718 * target-delegates.c: Rebuild.
3719 * target.c (target_supports_btrace): Remove.
3720 * target.h (struct target_ops) <to_supports_btrace>: Add
3721 target_ops argument.
3722 (target_supports_btrace): New define.
3724 2014-02-19 Tom Tromey <tromey@redhat.com>
3726 * record-full.c (record_full_beneath_to_resume_ops)
3727 (record_full_beneath_to_resume, record_full_beneath_to_wait_ops)
3728 (record_full_beneath_to_wait)
3729 (record_full_beneath_to_store_registers_ops)
3730 (record_full_beneath_to_store_registers)
3731 (record_full_beneath_to_xfer_partial_ops)
3732 (record_full_beneath_to_xfer_partial)
3733 (record_full_beneath_to_insert_breakpoint_ops)
3734 (record_full_beneath_to_insert_breakpoint)
3735 (record_full_beneath_to_remove_breakpoint_ops)
3736 (record_full_beneath_to_remove_breakpoint)
3737 (record_full_beneath_to_stopped_by_watchpoint)
3738 (record_full_beneath_to_stopped_data_address)
3739 (record_full_beneath_to_async, tmp_to_resume_ops, tmp_to_resume)
3740 (tmp_to_wait_ops, tmp_to_wait, tmp_to_store_registers_ops)
3741 (tmp_to_store_registers, tmp_to_xfer_partial_ops)
3742 (tmp_to_xfer_partial, tmp_to_instmp_to_insert_breakpoint_ops)
3743 (tmp_to_insert_breakpoint, tmp_to_remove_breakpoint_ops)
3744 (tmp_to_remove_breakpoint, tmp_to_stopped_by_watchpoint)
3745 (tmp_to_stopped_data_address, tmp_to_async): Remove.
3746 (record_full_open_1, record_full_open): Update. Use RECORD_IS_USED.
3747 (record_full_resume, record_full_wait_1)
3748 (record_full_stopped_by_watchpoint, record_full_stopped_data_address)
3749 (record_full_store_registers, record_full_xfer_partial)
3750 (record_full_insert_breakpoint, record_full_remove_breakpoint)
3751 (record_full_async, record_full_core_xfer_partial): Use target
3753 * target-delegates.c: Rebuild.
3754 * target.c (current_xfer_partial): Remove.
3755 (update_current_target): Do not INHERIT or de_fault
3756 to_insert_breakpoint, to_remove_breakpoint,
3757 to_stopped_data_address, to_stopped_by_watchpoint, to_can_async_p,
3758 to_is_async_p, to_async. Do not set to_xfer_partial field.
3759 (default_xfer_partial): Simplify.
3760 (current_xfer_partial): Remove.
3761 (target_wait, target_resume): Simplify.
3762 (find_default_can_async_p, find_default_is_async_p): Update.
3763 (init_dummy_target): Don't set to_can_async_p, to_is_async_p,
3764 to_xfer_partial, to_stopped_by_watchpoint,
3765 to_stopped_data_address.
3766 (target_store_registers): Simplify.
3767 (forward_target_remove_breakpoint)
3768 (forward_target_insert_breakpoint): Remove.
3769 (target_remove_breakpoint, target_insert_breakpoint)
3770 (debug_to_insert_breakpoint, debug_to_remove_breakpoint): Update.
3771 * target.h (struct target_ops) <to_resume, to_wait,
3772 to_store_registers, to_insert_breakpoint, to_remove_breakpoint,
3773 to_stopped_by_watchpoint, to_stopped_data_address, to_can_async_p,
3774 to_is_async_p, to_async, to_xfer_partial>: Add TARGET_DEFAULT
3776 (forward_target_remove_breakpoint)
3777 (forward_target_insert_breakpoint): Remove.
3778 * record-btrace.c (record_btrace_remove_breakpoint): Delegate
3780 (record_btrace_insert_breakpoint): Delegate directly.
3782 2014-02-19 Tom Tromey <tromey@redhat.com>
3785 * target-delegates.c: New file.
3786 * target.c: Include target-delegates.c.
3787 (init_dummy_target): Call install_dummy_methods.
3788 (complete_target_initialization): Call install_delegators.
3789 * target.h (TARGET_DEFAULT_IGNORE, TARGET_DEFAULT_NORETURN)
3790 (TARGET_DEFAULT_RETURN, TARGET_DEFAULT_FUNC): New defines.
3791 * make-target-delegates: New file.
3793 2014-02-19 Tom Tromey <tromey@redhat.com>
3795 * record.c (find_record_target): Use find_target_at.
3796 * target.c (find_target_at): New function.
3797 * target.h (find_target_at): Declare.
3799 2014-02-19 Tom Tromey <tromey@redhat.com>
3801 * aarch64-linux-nat.c (aarch64_linux_stopped_by_watchpoint):
3803 * arm-linux-nat.c (arm_linux_stopped_by_watchpoint): Add
3805 * i386-nat.c (i386_stopped_by_watchpoint): Add 'ops' argument.
3806 * ia64-linux-nat.c (ia64_linux_stopped_by_watchpoint): Add
3808 * inf-ttrace.c (inf_ttrace_stopped_by_watchpoint): Add 'ops'
3810 * linux-nat.c (save_sigtrap): Update.
3811 (linux_nat_stopped_by_watchpoint, linux_nat_is_async_p)
3812 (linux_nat_can_async_p, linux_nat_async): Add 'ops' argument.
3813 (linux_nat_close): Update.
3814 * mips-linux-nat.c (mips_linux_stopped_by_watchpoint): Add 'ops'
3816 * ppc-linux-nat.c (ppc_linux_stopped_by_watchpoint): Add 'ops'
3818 * procfs.c (procfs_stopped_by_watchpoint): Add 'ops' argument.
3819 * record-full.c (record_full_beneath_to_stopped_by_watchpoint)
3820 (record_full_beneath_to_async, tmp_to_stopped_by_watchpoint)
3821 (tmp_to_async): Add 'ops' argument.
3822 (record_full_stopped_by_watchpoint, record_full_async)
3823 (record_full_can_async_p, record_full_is_async_p): Add 'ops'
3825 * remote-m32r-sdi.c (m32r_insert_breakpoint, m32r_remove_breakpoint)
3826 (m32r_stopped_by_watchpoint): Add 'ops' argument.
3827 * remote-mips.c (mips_stopped_by_watchpoint): Add 'ops' argument.
3828 * remote.c (remote_stopped_by_watchpoint_p, remote_can_async_p)
3829 (remote_is_async_p, remote_async): Add 'ops' argument.
3830 (remote_stopped_data_address): Update.
3831 * s390-nat.c (s390_stopped_by_watchpoint): Add 'ops' argument.
3832 * target.c (update_current_target)
3833 (find_default_can_async_p, find_default_is_async_p): Update.
3834 (init_dummy_target): Update.
3835 (debug_to_stopped_by_watchpoint): Add 'ops' argument.
3836 * target.h (struct target_ops) <to_stopped_by_watchpoint,
3837 to_can_async_p, to_is_async_p, to_async>: Add 'ops' argument.
3838 (target_can_async_p, target_is_async_p, target_async)
3839 (target_stopped_by_watchpoint): Update.
3841 2014-02-19 Yao Qi <yao@codesourcery.com>
3844 * gdbarch.sh: Remove startup_gdbarch.
3845 * gdbarch.c: Regenerated.
3846 * gdbarch.h: Likewise.
3848 2014-02-17 Kevin Buettner <kevinb@redhat.com>
3850 * rl78-tdep.c (rl78_g10_register_name): New function.
3851 (rl78_return_value): Add g10 support.
3852 (rl78_gdbarch_init): Register rl78_g10_register_name for the
3855 2014-02-17 Doug Evans <xdje42@gmail.com>
3857 * Makefile.in (SUBDIR_GUILE_OBS): Resort alphabetically.
3858 (SUBDIR_GUILE_SRCS): Ditto.
3859 (scm-gsmob.o): Ditto.
3861 2014-02-17 Yao Qi <yao@codesourcery.com>
3863 * gnu-nat.c (ILL_RPC): Declare defined function.
3865 2014-02-17 Yao Qi <yao@codesourcery.com>
3867 * gnu-nat.c (gnu_read_inferior): Change 'copy_count' type to
3868 mach_msg_type_number_t.
3869 (gnu_write_inferior): Likewise.
3871 2014-02-17 Yao Qi <yao@codesourcery.com>
3873 * gnu-nat.c (proc_get_exception_port): Use 'lu' insetad of 'd'
3875 (proc_steal_exc_port, make_proc, inf_set_pid): Likewise.
3876 (inf_validate_procs, inf_signal): Likewise.
3877 (S_exception_raise_request): Likewise.
3878 (do_mach_notify_dead_name): Likewise.
3879 (steal_exc_port): Likewise.
3880 (gnu_read_inferior): Change 'copy_count''s type to
3881 mach_msg_type_number_t.
3882 (gnu_write_inferior): Likewise. Use 'lx' instead of 'x' in
3885 2014-02-16 Thomas Schwinge <thomas@codesourcery.com>
3887 * gnu-nat.c (struct inf): Change pending_execs member to a 1-bit
3888 flag. Adjust all users; in particular...
3889 (gnu_wait): ..., don't decrement its value in here...
3890 (gnu_create_inferior): ..., and instead set the flag in here,
3891 around the startup_inferior call, and call that one with
3892 START_INFERIOR_TRAPS_EXPECTED.
3894 * gnu-nat.c (ill_rpc): Remove function; replaced with this...
3895 (ILL_RPC): ... new macro.
3896 (do_mach_notify_no_senders, do_mach_notify_port_deleted)
3897 (do_mach_notify_msg_accepted, do_mach_notify_port_destroyed)
3898 (do_mach_notify_send_once, S_proc_setmsgport_reply)
3899 (S_proc_getmsgport_reply, S_msg_sig_post_reply): Generate stub
3900 functions with ILL_RPC macro.
3901 (S_proc_pid2task_reply, S_proc_task2pid_reply)
3902 (S_proc_task2proc_reply, S_proc_proc2task_reply)
3903 (S_proc_pid2proc_reply, S_proc_getprocinfo_reply)
3904 (S_proc_getprocargs_reply, S_proc_getprocenv_reply)
3905 (S_proc_getloginid_reply, S_proc_getloginpids_reply)
3906 (S_proc_getlogin_reply, S_proc_getsid_reply)
3907 (S_proc_getsessionpgids_reply, S_proc_getsessionpids_reply)
3908 (S_proc_getsidport_reply, S_proc_getpgrp_reply)
3909 (S_proc_getpgrppids_reply, S_proc_get_tty_reply)
3910 (S_proc_getnports_reply, S_proc_is_important_reply)
3911 (S_proc_get_code_reply): New stub functions, generated with
3914 * reply_mig_hack.awk: In phase 5, keep going if we have not yet
3915 collected the type check structures.
3917 * reply_mig_hack.awk: Don't expect to see the auto keyword.
3919 2014-02-14 Doug Evans <dje@google.com>
3921 * target.c (target_write_partial): Fix result type.
3923 2014-02-14 Jose E. Marchesi <jose.marchesi@oracle.com>
3925 * sparc64-linux-nat.c (_initialize_sparc64_linux_nat): Register
3926 the proper offsets to access fpregset_t.
3928 2014-02-13 Sanimir Agovic <sanimir.agovic@intel.com>
3930 * cris-tdep.c (cris_supply_gregset): Remove zerobuf.
3931 (_initialize_cris_tdep): Remove cris_set_cmdlist, cris_show_cmdlist.
3932 * h8300-tdep.c (setmachinelist): Remove global.
3933 * hppa-tdep.c (hppa_sigtramp): Remove global.
3934 * mipsnbsd-tdep.c (sigtramp_retcode_mipsel, sigtramp_retcode_mipseb
3935 RETCODE_NWORDS, RETCODE_SIZE): Wrap code with #if 0.
3936 * ravenscar-thread.c (update_target_observer): Remove global.
3937 * rs6000-tdep.c (rs6000_gdbarch_init): Remove segment_regs.
3939 2014-02-12 Tom Tromey <tromey@redhat.com>
3941 * common/rsp-low.c: Update comments.
3942 * common/rsp-low.h: Update comments.
3944 2014-02-12 Tom Tromey <tromey@redhat.com>
3946 * common/rsp-low.c (convert_ascii_to_int): Remove.
3947 * common/rsp-low.h (convert_ascii_to_int): Don't declare.
3949 2014-02-12 Tom Tromey <tromey@redhat.com>
3951 * common/rsp-low.h (unhexify): Don't declare.
3952 * common/rsp-low.c (unhexify): Remove.
3954 2014-02-12 Tom Tromey <tromey@redhat.com>
3956 * common/rsp-low.h (convert_int_to_ascii): Don't declare.
3957 * common/rsp-low.c (convert_int_to_ascii): Remove.
3959 2014-02-12 Tom Tromey <tromey@redhat.com>
3961 * common/rsp-low.h (hexify): Don't declare.
3962 * common/rsp-low.c (hexify): Remove.
3964 2014-02-12 Tom Tromey <tromey@redhat.com>
3966 * common/rsp-low.c (hexify): Never take strlen of argument.
3968 2014-02-12 Tom Tromey <tromey@redhat.com>
3970 * common/rsp-low.c (bin2hex): Never take strlen of argument.
3971 * remote.c (extended_remote_run, remote_rcmd)
3972 (remote_download_trace_state_variable, remote_save_trace_data)
3973 (remote_set_trace_notes): Update.
3974 * tracepoint.c (encode_source_string, tfile_write_status)
3975 (tfile_write_uploaded_tsv): Update.
3977 2014-02-12 Tom Tromey <tromey@redhat.com>
3979 * tracepoint.c: Include rsp-low.h.
3980 * remote.h (hex2bin, bin2hex, unpack_varlen_hex): Don't declare.
3981 * remote.c: Include rsp-low.h.
3982 (hexchars, ishex, unpack_varlen_hex, pack_nibble, pack_hex_byte)
3983 (fromhex, hex2bin, tohex, bin2hex, remote_escape_output)
3984 (remote_unescape_input): Move to common/rsp-low.c.
3985 * common/rsp-low.h: New file.
3986 * common/rsp-low.c: New file.
3987 * Makefile.in (SFILES): Add common/rsp-low.c.
3988 (HFILES_NO_SRCDIR): Add common/rsp-low.h.
3989 (COMMON_OBS): Add rsp-low.o.
3990 (rsp-low.o): New target.
3992 2014-02-12 Tom Tromey <tromey@redhat.com>
3994 * utils.h: Include print-utils.h.
3995 (host_address_to_string, plongest, pulongest, phex, phex_nz)
3996 (int_string, core_addr_to_string, core_addr_to_string_nz)
3997 (hex_string, hex_string_custom): Don't declare.
3998 * utils.c (NUMCELLS, CELLSIZE, get_cell, decimal2str, pulongest)
3999 (plongest, thirty_two, phex, phex_nz, octal2str, hex_string)
4000 (hex_string_custom, int_string, core_addr_to_string)
4001 (core_addr_to_string_nz, host_address_to_string): Move to
4002 common/print-utils.c.
4003 * common/print-utils.h: New file.
4004 * common/print-utils.c: New file
4005 * Makefile.in (SFILES): Add common/print-utils.c.
4006 (HFILES_NO_SRCDIR): Add common/print-utils.h.
4007 (COMMON_OBS): Add print-utils.o.
4008 (print-utils.o): New target.
4010 2014-02-12 Tom Tromey <tromey@redhat.com>
4012 * nios2-tdep.c (nios2_stub_frame_base_address): Remove.
4014 2014-02-12 Mark Kettenis <kettenis@gnu.org>
4016 * sparc64obsd-tdep.c (sparc64obsd_init_abi): Call obsd_init_abi.
4018 2014-02-12 Mark Kettenis <kettenis@gnu.org>
4020 * inf-ptrace.c (inf_ptrace_xfer_partial): Return TARGET_XFER_EOF
4021 if a PT_IO ptrace request returns sucessfully but indicates that 0
4022 bytes were transferred.
4024 2014-02-12 Pedro Alves <palves@redhat.com>
4025 Kevin Buettner <kevinb@redhat.com>
4027 * gnu-v3-abi.c (build_gdb_vtable_type): Return a type marked with
4028 TYPE_INSTANCE_FLAG_CODE_SPACE.
4030 2014-02-12 Pedro Alves <palves@redhat.com>
4032 * h8300-tdep.c (pseudo_from_raw_register)
4033 (raw_from_pseudo_register): New functions.
4034 (h8300_pseudo_register_read, h8300_pseudo_register_write): Use
4037 2014-02-12 Pedro Alves <palves@redhat.com>
4039 * h8300-tdep.c (h8300_register_sim_regno): New function.
4040 (h8300_gdbarch_init): Install h8300_register_sim_regno as
4041 gdbarch_register_sim_regno hook.
4043 2014-02-12 Sanimir Agovic <sanimir.agovic@intel.com>
4045 * nios2-tdep.c (nios2_stub_frame_base): Remove global.
4047 2014-02-12 Sanimir Agovic <sanimir.agovic@intel.com>
4049 * tic6x-tdep.c (tic6x_gdbarch_init): Call frame_base_set_default.
4051 2014-02-12 Mark Kettenis <kettenis@gnu.org>
4053 * obsd-tdep.h (obsd_init_abi): New prototype.
4054 * obsd-tdep.c: Define enum with OpenBSD signal numbers.
4055 (obsd_gdb_signal_from_target, obsd_gdb_signal_to_target)
4056 (obsd_init_abi): New functions.
4057 * i386obsd-tdep.c: Include "obsd-tdep.h".
4058 (i386obsd_init_abi): Call obsd_init_abi.
4059 * amd64obsd-tdep.c: Include "obsd-tdep.h".
4060 (amd64obsd_init_abi): Call obsd_init_abi.
4061 * configure.tgt (i[34567]86-*-openbsd*, x86_64-*-openbsd*): Add
4062 obsd-tdep.c to gdb_target_obs.
4064 2014-02-11 Jose E. Marchesi <jose.marchesi@oracle.com>
4066 * sparc64-tdep.c (sparc64_store_arguments): Do not align complex
4067 double float arguments to 16-byte in the argument slots.
4069 2014-02-11 Doug Evans <xdje42@gmail.com>
4071 * configure.ac: Don't crash if pkg-config is not found and guile
4072 wasn't explicitly requested. Use AC_MSG_ERROR instead of AC_ERROR
4074 * configure: Regenerate.
4076 2014-02-11 Yao Qi <yao@codesourcery.com>
4078 * aix-thread.c (aix_thread_xfer_partial): Update comments.
4079 * auxv.c (procfs_xfer_auxv, memory_xfer_auxv): Likewise.
4080 * bsd-uthread.c (bsd_uthread_xfer_partial): Likewise.
4081 * gnu-nat.c (gnu_xfer_memory): Likewise.
4082 * inf-ptrace.c (inf_ptrace_xfer_partial): Likewise.
4083 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
4084 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
4085 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise.
4087 2014-02-11 Yao Qi <yao@codesourcery.com>
4089 * target.h (enum target_xfer_error): Rename to ...
4090 (enum target_xfer_status): ... it. New. All users updated.
4091 (enum target_xfer_status) <TARGET_XFER_OK>, <TARGET_XFER_EOF>:
4093 (TARGET_XFER_STATUS_ERROR_P): New macro.
4094 (target_xfer_error_to_string): Remove declaration.
4095 (target_xfer_status_to_string): Declare.
4096 (target_xfer_partial_ftype): Adjust it.
4097 (struct target_ops) <to_xfer_partial>: Return
4098 target_xfer_status. Add argument xfered_len. Update
4100 * target.c (target_xfer_error_to_string): Rename to ...
4101 (target_xfer_status_to_string): ... it. New. All callers
4103 (target_read_live_memory): Likewise. Call target_xfer_partial
4104 instead of target_read.
4105 (memory_xfer_live_readonly_partial): Return
4106 target_xfer_status. Add argument xfered_len.
4107 (raw_memory_xfer_partial): Likewise.
4108 (memory_xfer_partial_1): Likewise.
4109 (memory_xfer_partial): Likewise.
4110 (target_xfer_partial): Likewise. Check *XFERED_LEN is set
4111 properly. Update debug message.
4112 (default_xfer_partial, current_xfer_partial): Likewise.
4113 (target_write_partial): Likewise.
4114 (target_read_partial): Likewise. All callers updated.
4115 (read_whatever_is_readable): Likewise.
4116 (target_write_with_progress): Likewise.
4117 (target_read_alloc_1): Likewise.
4119 * aix-thread.c (aix_thread_xfer_partial): Likewise.
4120 * auxv.c (procfs_xfer_auxv): Likewise.
4121 (ld_so_xfer_auxv, memory_xfer_auxv): Likewise.
4122 * bfd-target.c (target_bfd_xfer_partial): Likewise.
4123 * bsd-kvm.c (bsd_kvm_xfer_partial): Likewise.
4124 * bsd-uthread.c (bsd_uthread_xfer_partia): Likewise.
4125 * corefile.c (read_memory): Adjust.
4126 * corelow.c (core_xfer_partial): Likewise.
4127 * ctf.c (ctf_xfer_partial): Likewise.
4128 * darwin-nat.c (darwin_read_dyld_info): Likewise. All callers
4130 (darwin_xfer_partial): Likewise.
4131 * exec.c (section_table_xfer_memory_partial): Likewise. All
4133 (exec_xfer_partial): Likewise.
4134 * exec.h (section_table_xfer_memory_partial): Update
4136 * gnu-nat.c (gnu_xfer_memory): Likewise. Assert 'res' is not
4138 (gnu_xfer_partial): Likewise.
4139 * ia64-hpux-nat.c (ia64_hpux_xfer_memory_no_bs): Likewise.
4140 (ia64_hpux_xfer_memory, ia64_hpux_xfer_uregs): Likewise.
4141 (ia64_hpux_xfer_solib_got): Likewise.
4142 * inf-ptrace.c (inf_ptrace_xfer_partial): Likewise. Change
4143 type of 'partial_len' to ULONGEST.
4144 * inf-ttrace.c (inf_ttrace_xfer_partial): Likewise.
4145 * linux-nat.c (linux_xfer_siginfo ): Likewise.
4146 (linux_nat_xfer_partial): Likewise.
4147 (linux_proc_xfer_partial, linux_xfer_partial): Likewise.
4148 (linux_proc_xfer_spu, linux_nat_xfer_osdata): Likewise.
4149 * monitor.c (monitor_xfer_memory): Likewise.
4150 (monitor_xfer_partial): Likewise.
4151 * procfs.c (procfs_xfer_partial): Likewise.
4152 * record-btrace.c (record_btrace_xfer_partial): Likewise.
4153 * record-full.c (record_full_xfer_partial): Likewise.
4154 (record_full_core_xfer_partial): Likewise.
4155 * remote-sim.c (gdbsim_xfer_memory): Likewise.
4156 (gdbsim_xfer_partial): Likewise.
4157 * remote.c (remote_write_bytes_aux): Likewise. All callers
4159 (remote_write_bytes, remote_read_bytes): Likewise. All
4161 (remote_flash_erase): Likewise. All callers updated.
4162 (remote_write_qxfer): Likewise. All callers updated.
4163 (remote_read_qxfer): Likewise. All callers updated.
4164 (remote_xfer_partial): Likewise.
4165 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
4166 (rs6000_xfer_shared_libraries): Likewise.
4167 * sol-thread.c (sol_thread_xfer_partial): Likewise.
4168 (sol_thread_xfer_partial): Likewise.
4169 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
4170 (sparc_xfer_partial): Likewise.
4171 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise. All callers
4173 (spu_xfer_partial): Likewise.
4174 * spu-multiarch.c (spu_xfer_partial): Likewise.
4175 * tracepoint.c (tfile_xfer_partial): Likewise.
4176 * windows-nat.c (windows_xfer_memory): Likewise.
4177 (windows_xfer_shared_libraries): Likewise.
4178 (windows_xfer_partial): Likewise.
4179 * valprint.c: Replace 'target_xfer_error' with
4180 'target_xfer_status' in comments.
4182 2014-02-11 Simon Marchi <simon.marchi@ericsson.com> (tiny patch)
4184 Checked in by Joel Brobecker <brobecker@adacore.com>.
4185 * mi/mi-main.c (mi_cmd_data_write_memory_bytes): Fix comment.
4187 2014-02-11 Joel Brobecker <brobecker@adacore.com>
4189 * symfile-debug.c (debug_qf_expand_symtabs_matching): Reformat
4190 function parameters.
4192 2014-02-10 Will Newton <will.newton@linaro.org>
4194 * elfread.c (elf_rel_plt_read): Look for a .got section if
4195 looking up .got.plt fails.
4196 (elf_gnu_ifunc_resolve_by_got): Call gdbarch_addr_bits_remove
4197 on address passed to elf_gnu_ifunc_record_cache.
4198 (elf_gnu_ifunc_resolve_addr): Likewise.
4199 (elf_gnu_ifunc_resolver_return_stop): Likewise.
4201 2014-02-10 Jose E. Marchesi <jose.marchesi@oracle.com>
4203 * sparc-tdep.c (sparc_in_function_epilogue_p): New function.
4204 (X_RETTURN): New macro.
4205 * sparc-tdep.h: sparc_in_function_epilogue_p prototype.
4207 * sparc64-tdep.c (sparc64_init_abi): Hook
4208 sparc_in_function_epilogue_p.
4210 2014-02-10 Gary Benson <gbenson@redhat.com>
4212 * symfile-debug.c (debug_qf_expand_symtabs_matching):
4213 Rename name_matcher to symbol_matcher.
4215 2014-02-10 Gary Benson <gbenson@redhat.com>
4217 * symfile-debug.c (debug_qf_expand_symtabs_matching):
4218 Use expand_symtabs_file_matcher_ftype and
4219 expand_symtabs_symbol_matcher_ftype.
4221 2014-02-10 Joel Brobecker <brobecker@adacore.com>
4223 * ada-lang.c (struct cache_entry, HASH_SIZE): Move definition up.
4224 (struct ada_symbol_cache): New.
4225 (ada_free_symbol_cache): Forward declare.
4226 (struct ada_pspace_data): New.
4227 (ada_pspace_data_handle): New static global.
4228 (get_ada_pspace_data, ada_pspace_data_cleanup)
4229 (ada_init_symbol_cache, ada_free_symbol_cache): New functions.
4230 (cache_space, cache): Delete, now folded inside struct
4232 (ada_get_symbol_cache): New function.
4233 (ada_clear_symbol_cache, find_entry, cache_symbol): Adjust
4235 (_initialize_ada_language): Remove initialization of cache_space.
4236 Move call to observer_attach_inferior_exit up, grouping it
4237 with the other observer registrations inside this function.
4238 Rename command to be more general. Add call to
4239 register_program_space_data_with_cleanup.
4241 2014-02-10 Joel Brobecker <brobecker@adacore.com>
4243 * ada-tasks.c (ada_tasks_new_objfile_observer): Renames
4244 ada_new_objfile_observer.
4245 (ada_tasks_normal_stop_observer): Renames ada_normal_stop_observer.
4246 (_initialize_tasks): Update uses of ada_new_objfile_observer
4247 and ada_tasks_normal_stop_observer.
4249 2014-02-10 Joel Brobecker <brobecker@adacore.com>
4251 * ada-lang.c (ada_evaluate_subexp): Set the type of the value
4252 returned by the 'Length attribute to integer.
4254 2014-02-10 Joel Brobecker <brobecker@adacore.com>
4256 * ada-lang.c (_initialize_ada_language): Initialize
4257 cache_space obstack.
4259 2014-02-10 Joel Brobecker <brobecker@adacore.com>
4261 * ada-lang.c (HASH_SIZE): New macro.
4262 (struct cache_entry): New type.
4263 (cache_space, cache): New static globals.
4264 (ada_clear_symbol_cache, find_entry): New functions.
4265 (lookup_cached_symbol, cache_symbol): Implement.
4266 (ada_new_objfile_observer, ada_free_objfile_observer): New.
4267 (_initialize_ada_language): Attach ada_new_objfile_observer
4268 and ada_free_objfile_observer.
4270 2014-02-10 Joel Brobecker <brobecker@adacore.com>
4272 * ada-lang.c (ada_add_block_symbols, add_defn_to_vec)
4273 (lookup_cached_symbol, ada_add_local_symbols): Add "const" to
4274 struct block * parameter.
4275 (ada_lookup_symbol_list_worker): Constify local variable "block".
4276 Remove cast which is no longer necessary.
4278 2014-02-10 Doug Evans <xdje42@gmail.com>
4280 Add Guile as an extension language.
4281 * NEWS: Mention Guile scripting.
4282 * Makefile.in (SUBDIR_GUILE_OBS): New variable.
4283 (SUBDIR_GUILE_SRCS, SUBDIR_GUILE_DEPS): New variables
4284 (SUBDIR_GUILE_LDFLAGS, SUBDIR_GUILE_CFLAGS): New variables.
4285 (INTERNAL_CPPFLAGS): Add GUILE_CPPFLAGS.
4286 (CLIBS): Add GUILE_LIBS.
4287 (install-guile): New rule.
4288 (guile.o): New rule.
4289 (scm-arch.o, scm-auto-load.o, scm-block.o): New rules.
4290 (scm-breakpoint.o, scm-disasm.o, scm-exception.o): New rules.
4291 (scm-frame.o, scm-iterator.o, scm-lazy-string.o): New rules.
4292 (scm-math.o, scm-objfile.o, scm-ports.o): New rules.
4293 (scm-pretty-print.o, scm-safe-call.o, scm-gsmob.o): New rules.
4294 (scm-string.o, scm-symbol.o, scm-symtab.o): New rules.
4295 (scm-type.o, scm-utils.o, scm-value.o): New rules.
4296 * configure.ac: New option --with-guile.
4297 * configure: Regenerate.
4298 * config.in: Regenerate.
4299 * auto-load.c: Remove #include "python/python.h". Add #include
4300 "gdb/section-scripts.h".
4301 (source_section_scripts): Handle Guile scripts.
4302 (_initialize_auto_load): Add name of Guile objfile script to
4303 scripts-directory help text.
4304 * breakpoint.c (condition_command): Tweak comment to include Scheme.
4305 * breakpoint.h (gdbscm_breakpoint_object): Add forward decl.
4306 (struct breakpoint): New member scm_bp_object.
4307 * defs.h (enum command_control_type): New value guile_control.
4308 * cli/cli-cmds.c: Remove #include "python/python.h". Add #include
4310 (show_user): Update comment.
4311 (_initialize_cli_cmds): Update help text for "show user". Update help
4312 text for max-user-call-depth.
4313 * cli/cli-script.c: Remove #include "python/python.h". Add #include
4315 (multi_line_command_p): Add guile_control.
4316 (print_command_lines): Handle guile_control.
4317 (execute_control_command, recurse_read_control_structure): Ditto.
4318 (process_next_line): Recognize "guile" commands.
4319 * disasm.c (gdb_disassemble_info): Make non-static.
4320 * disasm.h: #include "dis-asm.h".
4321 (struct gdbarch): Add forward decl.
4322 (gdb_disassemble_info): Declare.
4323 * extension.c: #include "guile/guile.h".
4324 (extension_languages): Add guile.
4325 (get_ext_lang_defn): Handle EXT_LANG_GDB.
4326 * extension.h (enum extension_language): New value EXT_LANG_GUILE.
4327 * gdbtypes.c (get_unsigned_type_max): New function.
4328 (get_signed_type_minmax): New function.
4329 * gdbtypes.h (get_unsigned_type_max): Declare.
4330 (get_signed_type_minmax): Declare.
4331 * guile/README: New file.
4332 * guile/guile-internal.h: New file.
4333 * guile/guile.c: New file.
4334 * guile/guile.h: New file.
4335 * guile/scm-arch.c: New file.
4336 * guile/scm-auto-load.c: New file.
4337 * guile/scm-block.c: New file.
4338 * guile/scm-breakpoint.c: New file.
4339 * guile/scm-disasm.c: New file.
4340 * guile/scm-exception.c: New file.
4341 * guile/scm-frame.c: New file.
4342 * guile/scm-gsmob.c: New file.
4343 * guile/scm-iterator.c: New file.
4344 * guile/scm-lazy-string.c: New file.
4345 * guile/scm-math.c: New file.
4346 * guile/scm-objfile.c: New file.
4347 * guile/scm-ports.c: New file.
4348 * guile/scm-pretty-print.c: New file.
4349 * guile/scm-safe-call.c: New file.
4350 * guile/scm-string.c: New file.
4351 * guile/scm-symbol.c: New file.
4352 * guile/scm-symtab.c: New file.
4353 * guile/scm-type.c: New file.
4354 * guile/scm-utils.c: New file.
4355 * guile/scm-value.c: New file.
4356 * guile/lib/gdb.scm: New file.
4357 * guile/lib/gdb/boot.scm: New file.
4358 * guile/lib/gdb/experimental.scm: New file.
4359 * guile/lib/gdb/init.scm: New file.
4360 * guile/lib/gdb/iterator.scm: New file.
4361 * guile/lib/gdb/printing.scm: New file.
4362 * guile/lib/gdb/types.scm: New file.
4363 * data-directory/Makefile.in (GUILE_SRCDIR): New variable.
4364 (VPATH): Add $(GUILE_SRCDIR).
4365 (GUILE_DIR): New variable.
4366 (GUILE_INSTALL_DIR, GUILE_FILES): New variables.
4367 (all): Add stamp-guile dependency.
4368 (stamp-guile): New rule.
4369 (clean-guile, install-guile, uninstall-guile): New rules.
4370 (install-only): Add install-guile dependency.
4371 (uninstall): Add uninstall-guile dependency.
4372 (clean): Add clean-guile dependency.
4374 2014-02-09 Doug Evans <xdje42@gmail.com>
4376 Revert this patch (which I approved, mea culpa).
4378 2014-02-08 Mark Kettenis <kettenis@gnu.org>
4380 * Makefile.in (all-lib): Remove.
4381 ($(LIBGNU) $(GNULIB_H)): Replace with gits of remove all-lib target.
4383 2014-02-09 Jan Kratochvil <jan.kratochvil@redhat.com>
4385 Fix Python stack corruption.
4386 * python/py-linetable.c (ltpy_get_pcs_for_line, ltpy_has_line): Use
4389 2014-02-08 Mark Kettenis <kettenis@gnu.org>
4391 * Makefile.in (all-lib): Remove.
4392 ($(LIBGNU) $(GNULIB_H)): Replace with gits of remove all-lib target.
4394 2014-02-07 Doug Evans <dje@google.com>
4396 * extension-priv.h (extension_language_script_ops): Add comment.
4397 (extension_language_ops): Add comment.
4398 (active_ext_lang_state): Fix typo in comment.
4400 2014-02-07 Pedro Alves <palves@redhat.com>
4402 PR breakpoints/16292
4403 * infrun.c (handle_signal_stop) <signal arrives while stepping
4404 over a breakpoint>: Switch back to the stepping thread.
4406 2014-02-07 Yao Qi <yao@codesourcery.com>
4408 * target.c (target_xfer_partial): Return zero if LEN is zero.
4410 2014-02-07 Yao Qi <yao@codesourcery.com>
4412 * auxv.c (procfs_xfer_auxv): Replace -1 with TARGET_XFER_E_IO.
4413 (ld_so_xfer_auxv): Likewise.
4414 * bfd-target.c (target_bfd_xfer_partial): Likewise.
4415 * bsd-kvm.c (bsd_kvm_xfer_partial): Likewise.
4416 * corelow.c (core_xfer_partial): Likewise.
4417 * ctf.c (ctf_xfer_partial): Likewise.
4418 * darwin-nat.c (darwin_read_dyld_info): Likewise.
4419 (darwin_xfer_partial): Likewise.
4420 * exec.c (exec_xfer_partial): Likewise.
4421 * gnu-nat.c (gnu_xfer_partial): Likewise.
4422 * ia64-hpux-nat.c (ia64_hpux_xfer_uregs): Likewise.
4423 * inf-ptrace.c (inf_ptrace_xfer_partial): Likewise.
4424 * inf-ttrace.c (inf_ttrace_xfer_partial): Likewise.
4425 * linux-nat.c (linux_xfer_siginfo): Likewise.
4426 (linux_proc_xfer_spu): Likewise.
4427 * procfs.c (procfs_xfer_partial): Likewise.
4428 * record-full.c (record_full_xfer_partial): Likewise.
4429 (record_full_core_xfer_partial): Likewise.
4430 * remote-sim.c (gdbsim_xfer_partial): Likewise.
4431 * remote.c (remote_write_qxfer): Likewise.
4432 (remote_write_qxfer, remote_read_qxfer): Likewise.
4433 (remote_xfer_partial): Likewise.
4434 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
4435 (rs6000_xfer_shared_libraries): Likewise.
4436 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
4437 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise.
4438 (spu_xfer_partial): Likewise.
4439 * target.c (memory_xfer_partial_1): Likewise.
4440 * tracepoint.c (tfile_xfer_partial): Likewise.
4441 * windows-nat.c (windows_xfer_shared_libraries): Likewise.
4442 (windows_xfer_partial): Likewise.
4444 2014-02-07 Yao Qi <yao@codesourcery.com>
4446 * gdbarch.sh (core_xfer_shared_libraries): Returns ULONGEST. Add
4448 (core_xfer_shared_libraries_aix): Likewise.
4449 * gdbarch.c, gdbarch.h: Regenerated.
4450 * i386-cygwin-tdep.c (windows_core_xfer_shared_libraries): Return
4451 ULONGEST. Change 'len_avail' type to ULONGEST.
4452 * rs6000-aix-tdep.c (rs6000_aix_ld_info_to_xml): Likewise.
4453 * rs6000-aix-tdep.h (rs6000_aix_ld_info_to_xml): Update
4455 (rs6000_aix_core_xfer_shared_libraries_aix): Return ULONGEST.
4457 2014-02-07 Yao Qi <yao@codesourcery.com>
4459 * corefile.c (memory_error): Get 'exception' from ERR and pass
4460 'exception' to throw_error.
4462 2014-02-06 Doug Evans <xdje42@gmail.com>
4464 * configure.ac (libpython checking): Remove all but python.o from
4465 CONFIG_OBS. Remove all but python.c from CONFIG_SRCS.
4466 * configure: Regenerate.
4468 * Makefile.in (SFILES): Add extension.c.
4469 (HFILES_NO_SRCDIR): Add extension.h, extension-priv.h
4470 (COMMON_OBS): Add extension.o.
4471 * extension.h: New file.
4472 * extension-priv.h: New file.
4473 * extension.c: New file.
4475 * python/python-internal.h: #include "extension.h".
4476 (gdbpy_auto_load_enabled): Declare.
4477 (gdbpy_apply_val_pretty_printer): Declare.
4478 (gdbpy_apply_frame_filter): Declare.
4479 (gdbpy_preserve_values): Declare.
4480 (gdbpy_breakpoint_cond_says_stop): Declare.
4481 (gdbpy_breakpoint_has_cond): Declare.
4482 (void source_python_script_for_objfile): Delete.
4483 * python/python.c: #include "extension-priv.h".
4484 Delete inclusion of "observer.h".
4485 (extension_language_python): Moved here and renamed from
4486 script_language_python in py-auto-load.c.
4487 Redefined to be of type extension_language_defn.
4488 (python_extension_script_ops): New global.
4489 (python_extension_ops): New global.
4490 (struct python_env): New member previous_active.
4491 (restore_python_env): Call restore_active_ext_lang.
4492 (ensure_python_env): Call set_active_ext_lang.
4493 (gdbpy_clear_quit_flag): Renamed from clear_quit_flag, made static.
4495 (gdbpy_set_quit_flag): Renamed from set_quit_flag, made static.
4497 (gdbpy_check_quit_flag): Renamed from check_quit_flag, made static.
4499 (gdbpy_eval_from_control_command): Renamed from
4500 eval_python_from_control_command, made static. New arg extlang.
4501 (gdbpy_source_script) Renamed from source_python_script, made static.
4503 (gdbpy_before_prompt_hook): Renamed from before_prompt_hook. Change
4504 result to int. New arg extlang.
4505 (gdbpy_source_objfile_script): Renamed from
4506 source_python_script_for_objfile, made static. New arg extlang.
4507 (gdbpy_start_type_printers): Renamed from start_type_printers, made
4508 static. New args extlang, extlang_printers. Change result type to
4510 (gdbpy_apply_type_printers): Renamed from apply_type_printers, made
4511 static. New arg extlang. Rename arg printers to extlang_printers
4512 and change type to ext_lang_type_printers *.
4513 (gdbpy_free_type_printers): Renamed from free_type_printers, made
4514 static. Replace argument arg with extlang, extlang_printers.
4515 (!HAVE_PYTHON, eval_python_from_control_command): Delete.
4516 (!HAVE_PYTHON, source_python_script): Delete.
4517 (!HAVE_PYTHON, gdbpy_should_stop): Delete.
4518 (!HAVE_PYTHON, gdbpy_breakpoint_has_py_cond): Delete.
4519 (!HAVE_PYTHON, start_type_printers): Delete.
4520 (!HAVE_PYTHON, apply_type_printers): Delete.
4521 (!HAVE_PYTHON, free_type_printers): Delete.
4522 (_initialize_python): Delete call to observer_attach_before_prompt.
4523 (finalize_python): Set/restore active extension language.
4524 (gdbpy_finish_initialization) Renamed from
4525 finish_python_initialization, made static. New arg extlang.
4526 (gdbpy_initialized): New function.
4527 * python/python.h: #include "extension.h". Delete #include
4528 "value.h", "mi/mi-cmds.h".
4529 (extension_language_python): Declare.
4530 (GDBPY_AUTO_FILE_NAME): Delete.
4531 (enum py_bt_status): Moved to extension.h and renamed to
4533 (enum frame_filter_flags): Moved to extension.h.
4534 (enum py_frame_args): Moved to extension.h and renamed to
4535 ext_lang_frame_args.
4536 (finish_python_initialization): Delete.
4537 (eval_python_from_control_command): Delete.
4538 (source_python_script): Delete.
4539 (apply_val_pretty_printer): Delete.
4540 (apply_frame_filter): Delete.
4541 (preserve_python_values): Delete.
4542 (gdbpy_script_language_defn): Delete.
4543 (gdbpy_should_stop, gdbpy_breakpoint_has_py_cond): Delete.
4544 (start_type_printers, apply_type_printers, free_type_printers): Delete.
4546 * auto-load.c: #include "extension.h".
4547 (GDB_AUTO_FILE_NAME): Delete.
4548 (auto_load_gdb_scripts_enabled): Make public. New arg extlang.
4549 (script_language_gdb): Delete, moved to extension.c and renamed to
4550 extension_language_gdb.
4551 (source_gdb_script_for_objfile): Delete.
4552 (auto_load_pspace_info): New member unsupported_script_warning_printed.
4553 (loaded_script): Change type of language member to
4554 struct extension_language_defn *.
4555 (init_loaded_scripts_info): Initialize
4556 unsupported_script_warning_printed.
4557 (maybe_add_script): Make static. Change type of language arg to
4558 struct extension_language_defn *.
4559 (clear_section_scripts): Reset unsupported_script_warning_printed.
4560 (auto_load_objfile_script_1): Rewrite to use extension language API.
4561 (auto_load_objfile_script): Make public. Remove support-compiled-in
4562 and auto-load-enabled checks, moved to auto_load_scripts_for_objfile.
4563 (source_section_scripts): Rewrite to use extension language API.
4564 (load_auto_scripts_for_objfile): Rewrite to use
4565 auto_load_scripts_for_objfile.
4566 (collect_matching_scripts_data): Change type of language member to
4567 struct extension_language_defn *.
4568 (auto_load_info_scripts): Change type of language arg to
4569 struct extension_language_defn *.
4570 (unsupported_script_warning_print): New function.
4571 (script_not_found_warning_print): Make static.
4572 (_initialize_auto_load): Rewrite construction of scripts-directory
4574 * auto-load.h (struct objfile): Add forward decl.
4575 (struct script_language): Delete.
4576 (struct auto_load_pspace_info): Add forward decl.
4577 (struct extension_language_defn): Add forward decl.
4578 (maybe_add_script): Delete.
4579 (auto_load_objfile_script): Declare.
4580 (script_not_found_warning_print): Delete.
4581 (auto_load_info_scripts): Update prototype.
4582 (auto_load_gdb_scripts_enabled): Declare.
4583 * python/py-auto-load.c (gdbpy_auto_load_enabled): Renamed from
4584 auto_load_python_scripts_enabled and made public.
4585 (script_language_python): Delete, moved to python.c.
4586 (gdbpy_script_language_defn): Delete.
4587 (info_auto_load_python_scripts): Update to use
4588 extension_language_python.
4590 * breakpoint.c (condition_command): Replace call to
4591 gdbpy_breakpoint_has_py_cond with call to get_breakpoint_cond_ext_lang.
4592 (bpstat_check_breakpoint_conditions): Replace call to gdbpy_should_stop
4593 with call to breakpoint_ext_lang_cond_says_stop.
4594 * python/py-breakpoint.c (gdbpy_breakpoint_cond_says_stop): Renamed
4595 from gdbpy_should_stop. Change result type to enum scr_bp_stop.
4596 New arg slang. Return SCR_BP_STOP_UNSET if py_bp_object is NULL.
4597 (gdbpy_breakpoint_has_cond): Renamed from gdbpy_breakpoint_has_py_cond.
4599 (local_setattro): Print name of extension language with existing
4602 * valprint.c (val_print, value_print): Update to call
4603 apply_ext_lang_val_pretty_printer.
4604 * cp-valprint.c (cp_print_value): Update call to
4605 apply_ext_lang_val_pretty_printer.
4606 * python/py-prettyprint.c: Remove #ifdef HAVE_PYTHON.
4607 (gdbpy_apply_val_pretty_printer): Renamed from
4608 apply_val_pretty_printer. New arg extlang.
4609 (!HAVE_PYTHON, apply_val_pretty_printer): Delete.
4611 * cli/cli-cmds.c (source_script_from_stream): Rewrite to use
4612 extension language API.
4613 * cli/cli-script.c (execute_control_command): Update to call
4614 eval_ext_lang_from_control_command.
4616 * mi/mi-cmd-stack.c (mi_cmd_stack_list_frames): Update to use
4617 enum ext_lang_bt_status values. Update call to
4618 apply_ext_lang_frame_filter.
4619 (mi_cmd_stack_list_locals): Ditto.
4620 (mi_cmd_stack_list_args): Ditto.
4621 (mi_cmd_stack_list_variables): Ditto.
4622 * mi/mi-main.c: Delete #include "python/python-internal.h".
4623 Add #include "extension.h".
4624 (mi_cmd_list_features): Replace reference to python internal variable
4625 gdb_python_initialized with call to ext_lang_initialized_p.
4627 * stack.c (backtrace_command_1): Update to use enum ext_lang_bt_status.
4628 Update to use enum ext_lang_frame_args. Update to call
4629 apply_ext_lang_frame_filter.
4630 * python/py-framefilter.c (extract_sym): Update to use enum
4632 (extract_value, py_print_type, py_print_value): Ditto.
4633 (py_print_single_arg, enumerate_args, enumerate_locals): Ditto.
4634 (py_mi_print_variables, py_print_locals, py_print_args): Ditto.
4635 (py_print_frame): Ditto.
4636 (gdbpy_apply_frame_filter): Renamed from apply_frame_filter.
4637 New arg extlang. Update to use enum ext_lang_bt_status.
4639 * top.c (gdb_init): Delete #ifdef HAVE_PYTHON call to
4640 finish_python_initialization. Replace with call to
4641 finish_ext_lang_initialization.
4643 * typeprint.c (do_free_global_table): Update to call
4644 free_ext_lang_type_printers.
4645 (create_global_typedef_table): Update to call
4646 start_ext_lang_type_printers.
4647 (find_global_typedef): Update to call apply_ext_lang_type_printers.
4648 * typeprint.h (struct ext_lang_type_printers): Add forward decl.
4649 (type_print_options): Change type of global_printers from "void *"
4650 to "struct ext_lang_type_printers *".
4652 * value.c (preserve_values): Update to call preserve_ext_lang_values.
4653 * python/py-value.c: Remove #ifdef HAVE_PYTHON.
4654 (gdbpy_preserve_values): Renamed from preserve_python_values.
4656 (!HAVE_PYTHON, preserve_python_values): Delete.
4658 * utils.c (quit_flag): Delete, moved to extension.c.
4659 (clear_quit_flag, set_quit_flag, check_quit_flag): Delete, moved to
4662 * eval.c: Delete #include "python/python.h".
4663 * main.c: Delete #include "python/python.h".
4665 * defs.h: Update comment.
4667 2014-02-06 Joel Brobecker <brobecker@adacore.com>
4671 2014-02-05 Mark Kettenis <kettenis@gnu.org>
4673 * c-exp.y (YYPRINT, c_print_token): Only define if YYBISON is
4676 2014-02-05 Yao Qi <yao@codesourcery.com>
4678 * remote.c (remote_pass_signals): Remove local 'buf' and use
4680 (remote_program_signals): Likewise.
4682 2014-02-05 Yao Qi <yao@codesourcery.com>
4684 * ctf.c: Include "inferior.h" and "gdbthread.h".
4685 (CTF_PID): A new macro.
4686 (ctf_open): Call inferior_appeared and add_thread_silent.
4687 (ctf_close): Call exit_inferior_silent and set inferior_ptid.
4688 (ctf_thread_alive): New function.
4689 (init_ctf_ops): Install ctf_thread_alive to to_thread_alive.
4691 2014-02-05 Yao Qi <yao@codesourcery.com>
4695 2013-05-24 Yao Qi <yao@codesourcery.com>
4697 * tracepoint.c (TFILE_PID): Remove.
4698 (tfile_open): Don't add thread and inferior.
4699 (tfile_close): Don't set 'inferior_ptid'. Don't call
4700 exit_inferior_silent.
4701 (tfile_thread_alive): Remove.
4702 (init_tfile_ops): Don't set field 'to_thread_alive' of
4705 2014-02-04 Christian Eggers <ceggers@gmx.de> (tiny change)
4707 * remote.c (remote_start_remote): Call remote_check_symbols even
4708 if only symbol-file (not file) has been given.
4710 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
4712 * gdbarch.sh (skip_entrypoint): New callback.
4713 * gdbarch.c, gdbarch.h: Regenerate.
4714 * symtab.c (skip_prologue_sal): Call gdbarch_skip_entrypoint.
4715 * infrun.c (fill_in_stop_func): Likewise.
4716 * ppc-linux-tdep.c: Include "elf/ppc64.h".
4717 (ppc_elfv2_elf_make_msymbol_special): New function.
4718 (ppc_elfv2_skip_entrypoint): Likewise.
4719 (ppc_linux_init_abi): Install them for ELFv2.
4721 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
4723 * ppc-sysv-tdep.c (ppc64_aggregate_candidate): New routine.
4724 (ppc64_elfv2_abi_homogeneous_aggregate): Likewise.
4725 (ppc64_sysv_abi_push_param): Handle ELFv2 homogeneous structs.
4726 (ppc64_sysv_abi_return_value): Likewise. Also, handle small
4727 structures returned in GPRs.
4729 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
4731 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_dummy_call): Use correct
4732 offset to the stack parameter list for the ELFv2 ABI.
4734 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
4736 * ppc-linux-tdep.c (ppc_linux_init_abi): Only call
4737 set_gdbarch_convert_from_func_ptr_addr and
4738 set_gdbarch_elf_make_msymbol_special for ELFv1.
4739 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_param): Only handle
4740 function descriptors on ELFv1.
4741 (ppc64_sysv_abi_push_dummy_call): Likewise. On ELFv2,
4742 set up r12 at function entry.
4744 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
4746 * ppc-tdep.h (enum powerpc_elf_abi): New data type.
4747 (struct gdbarch_tdep): New member elf_abi.
4749 * rs6000-tdep.c: Include "elf/ppc64.h".
4750 (rs6000_gdbarch_init): Detect ELF ABI version.
4752 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
4754 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_freg): Use correct order
4755 within a register pair holding a DFP 128-bit value on little-endian.
4756 (ppc64_sysv_abi_return_value_base): Likewise.
4757 * rs6000-tdep.c (dfp_pseudo_register_read): Likewise.
4758 (dfp_pseudo_register_write): Likewise.
4760 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
4762 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_freg): Use correct
4763 offset on little-endian when passing _Decimal32.
4764 (ppc64_sysv_abi_return_value_base): Likewise for return values.
4766 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
4768 * rs6000-tdep.c (efpr_pseudo_register_read): Use correct offset
4769 of the overlapped FP register within the VSX register on little-
4771 (efpr_pseudo_register_write): Likewise.
4773 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
4775 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_val): Use correct
4776 offset on little-endian when passing small structures.
4778 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
4780 * ppc-sysv-tdep.c (get_decimal_float_return_value): Update comment.
4781 (struct ppc64_sysv_argpos): New data structure.
4782 (ppc64_sysv_abi_push_float): Remove.
4783 (ppc64_sysv_abi_push_val): New function.
4784 (ppc64_sysv_abi_push_integer): Likewise.
4785 (ppc64_sysv_abi_push_freg): Likewise.
4786 (ppc64_sysv_abi_push_vreg): Likewise.
4787 (ppc64_sysv_abi_push_param): Likewise.
4788 (ppc64_sysv_abi_push_dummy_call): Refactor to use those new routines.
4789 (ppc64_sysv_abi_return_value_base): New function.
4790 (ppc64_sysv_abi_return_value): Refactor to use it.
4792 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
4794 * NEWS: Document new target powerpc64le-*-linux*.
4796 2014-02-04 Mark Kettenis <kettenis@gnu.org>
4798 * sparc64obsd-tdep.c (sparc64obsd_gregset): New variable.
4799 (sparc64obsd_supply_gregset): Handle registers sets used in ELF
4801 (sparc64obsd_init_abi): Adjust minimum size of the general purpose
4802 register set used in ELF core dumps. Add floating-point register set.
4804 2014-02-03 Kevin Buettner <kevinb@redhat.com>
4806 * mn10300-tdep.c (mn10300_dwarf2_reg_to_regnum): Rewrite
4807 dwarf2_to_gdb[] table using symbolic constants. Adjust
4808 penultimate entry from number representing the PC register
4809 to symbolic constant representing the MDR register. Add
4810 constant for the PC register to the end of the table.
4812 2014-02-03 Mark Kettenis <kettenis@gnu.org>
4814 * bsd-kvm.c: Include <sys/param.h>
4816 2014-02-03 Mark Kettenis <kettenis@gnu.org>
4818 * sparc64nbsd-nat.c (sparc64nbsd_supply_fpregset): Fix prototype.
4820 2014-01-31 Joel Brobecker <brobecker@adacore.com>
4822 * ada-lang.h (clear_ada_sym_cache): Delete.
4824 2014-01-30 Ulrich Weigand <uweigand@de.ibm.com>
4826 * auxv.c (fprint_target_auxv): Handle AT_HWCAP2.
4828 2014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
4830 * sparc64-linux-tdep.c (sparc64_linux_step_trap): Get PC from
4831 the sigreturn register save area only if the syscall is
4834 2014-01-29 Joel Brobecker <brobecker@adacore.com>
4836 * valops.c (value_slice): Minor reformatting.
4838 2014-01-28 Ulrich Weigand <uweigand@de.ibm.com>
4840 * ppc64-tdep.c (ppc64_standard_linkage7): Fix typo.
4842 2014-01-28 Joel Brobecker <brobecker@adacore.com>
4844 * ada-lang.c (maint_set_ada_cmdlist, maint_show_ada_cmdlist):
4846 (maint_set_ada_cmd, maint_show_ada_cmd): New functions.
4847 (ada_ignore_descriptive_types_p): New static global.
4848 (find_parallel_type_by_descriptive_type): Return immediately
4849 if ada_ignore_descriptive_types_p is set.
4850 (_initialize_ada_language): Register new commands "maintenance
4851 set ada", "maintenance show ada", "maintenance set ada
4852 ignore-descriptive-types" and "maintenance show ada
4853 ignore-descriptive-types".
4854 * NEWS: Add entry for new "maint ada set/show
4855 ignore-descriptive-types" commands.
4857 2014-01-27 Markus Metzger <markus.t.metzger@intel.com>
4859 * record-btrace.c (record_btrace_close): Call btrace_teardown
4862 2014-01-27 Joel Brobecker <brobecker@adacore.com>
4864 * ada-lang.c: Remove "#ifdef UI_OUT" condition for including
4867 2014-01-27 Joel Brobecker <brobecker@adacore.com>
4869 * ada-typeprint (type_is_full_subrange_of_target_type):
4871 (print_range): Add parameter bounds_prefered_p. If not set,
4872 try printing range types using the name of their base type.
4873 (print_range_type): Add parameter bounds_prefered_p.
4874 Use it in call to print_range.
4875 (print_array_type, ada_print_type): Update calls to print_range
4876 and print_range_type.
4878 2014-01-27 Joel Brobecker <brobecker@adacore.com>
4880 * ada-typeprint.c (print_array_type, print_choices, print_range)
4881 (print_range_bound, print_dynamic_range_bound, print_range_type):
4884 2014-01-27 Joel Brobecker <brobecker@adacore.com>
4886 * ada-typeprint.c (print_range): Add missing empty line
4887 after local declaration.
4889 2014-01-27 Joel Brobecker <brobecker@adacore.com>
4891 * ada-valprint.c (print_optional_low_bound): Get index_type's
4892 target type for as long as it is a TYPE_CODE_RANGE.
4894 2014-01-27 Joel Brobecker <brobecker@adacore.com>
4896 * procfs.c (procfs_make_note_section): Remove assertion and
4899 2014-01-24 Yao Qi <yao@codesourcery.com>
4901 * remote.c (remote_read_bytes): Change type of len to ULONGEST.
4902 * corelow.c (get_core_siginfo): Likewise.
4904 2014-01-24 Yao Qi <yao@codesourcery.com>
4906 * remote.c (remote_write_bytes_aux): Change type of 'len' to
4907 ULONGEST. Don't check 'len' is negative.
4908 (remote_write_bytes): Change type of 'len' to ULONGEST.
4910 2014-01-23 Tom Tromey <tromey@redhat.com>
4913 * python/lib/gdb/FrameDecorator.py: (FrameVars.fetch_frame_args):
4914 Handle exception from frame.block.
4915 (FrameVars.fetch_frame_locals): Likewise.
4917 2014-01-23 Tom Tromey <tromey@redhat.com>
4920 * python/py-framefilter.c (py_print_frame): Don't call Py_DECREF
4921 on a NULL pointer. Move "goto error" to correct place.
4923 2014-01-23 Tom Tromey <tromey@redhat.com>
4926 * python/py-framefilter.c (apply_frame_filter): Call
4927 ensure_python_env after computing gdbarch.
4929 2014-01-23 Yao Qi <yao@codesourcery.com>
4931 * target.c (raw_memory_xfer_partial): Change argument type
4932 from void * to gdb_byte *.
4933 (memory_xfer_partial_1, memory_xfer_partial): Likewise.
4935 2014-01-22 Doug Evans <dje@google.com>
4937 New gdbserver option --debug-format=timestamp.
4940 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
4942 * syscalls/s390x-linux.xml: New file.
4943 * syscalls/s390-linux.xml: New file.
4944 * s390-linux-tdep.c (XML_SYSCALL_FILENAME_S390): New macro.
4945 (XML_SYSCALL_FILENAME_S390X): Likewise.
4946 (op_svc): New enum value for SVC opcode.
4947 (s390_sigtramp_frame_sniffer): Replace literal by 'op_svc'.
4948 (s390_linux_get_syscall_number): New function.
4949 (s390_gdbarch_init): Register '*get_syscall_number' and the
4950 syscall xml file name.
4951 * data-directory/Makefile.in (SYSCALLS_FILES): Add
4952 "s390-linux.xml" and "s390x-linux.xml".
4953 * NEWS: Announce new feature.
4955 2014-01-22 Baruch Siach <baruch@tkos.co.il>
4957 * xtensa-tdep.h (xtensa_elf_greg_t): Change type to uint32_t.
4959 2014-01-22 Pedro Alves <palves@redhat.com>
4961 * xtensa-config.c: Include defs.h.
4963 2014-01-22 Joel Brobecker <brobecker@adacore.com>
4965 * common/common-utils.h: Add "ARI:" comment beside __func__
4968 2014-01-22 Joel Brobecker <brobecker@adacore.com>
4970 * common/common-utils.h (FUNCTION_NAME): Expand the macro's
4971 documentation a bit.
4973 2014-01-21 Roland McGrath <mcgrathr@google.com>
4975 * configure.ac: Call AM_PROG_INSTALL_STRIP.
4976 * configure: Regenerate.
4977 * aclocal.m4: Regenerate.
4978 * Makefile.in (install_sh, INSTALL_STRIP_PROGRAM, STRIP):
4979 New substituted variables.
4980 (install-strip): New target.
4981 (INSTALL_SCRIPT): New substituted variable.
4982 (FLAGS_TO_PASS): Add it.
4983 (install-only): Use $(INSTALL_SCRIPT) rather than
4984 $(INSTALL_PROGRAM) for gcore.
4986 2014-01-20 Tom Tromey <tromey@redhat.com>
4988 * cli/cli-decode.h (struct cmd_list_element): Move all bitfields
4991 2014-01-20 Tom Tromey <tromey@redhat.com>
4993 * cli/cli-decode.c (add_cmd, deprecate_cmd, add_alias_cmd)
4994 (add_setshow_cmd_full, delete_cmd, lookup_cmd_1)
4995 (deprecated_cmd_warning, complete_on_cmdlist): Update.
4996 * cli/cli-decode.h (CMD_DEPRECATED, DEPRECATED_WARN_USER)
4997 (MALLOCED_REPLACEMENT, DOC_ALLOCATED): Remove.
4998 (struct cmd_list_element) <flags>: Remove.
4999 <cmd_deprecated, deprecated_warn_user, malloced_replacement,
5000 doc_allocated>: New fields.
5001 <hook_in, allow_unknown, abbrev_flag, type, var_type>: Now
5003 * maint.c (maintenance_do_deprecate): Update.
5004 * top.c (execute_command): Update.
5006 2014-01-20 Baruch Siach <baruch@tkos.co.il>
5008 * xtensa-linux-nat.c: Include asm/ptrace.h.
5010 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
5012 * Makefile.in (SFILES): Add d-support.c.
5013 (COMMON_OBS): Add d-support.o.
5014 * d-lang.h (d_parse_symbol): Add comment, now defined in
5016 * d-lang.c (parse_call_convention)
5017 (parse_attributes, parse_function_types)
5018 (parse_function_args, parse_type, parse_identifier)
5019 (call_convention_p, d_parse_symbol): Move functions to ...
5020 * d-support.c: ... New file.
5022 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
5024 * d-lang.h (d_parse_symbol): Add declaration.
5025 * d-lang.c (extract_identifiers)
5026 (extract_type_info): Remove functions.
5027 (parse_call_convention, parse_attributes)
5028 (parse_function_types, parse_function_args)
5029 (parse_type, parse_identifier, call_convention_p)
5030 (d_parse_symbol): New functions.
5031 (d_demangle): Use d_parse_symbol to demangle D symbols.
5033 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
5035 * d-lang.h (struct builtin_d_type): New data type.
5036 (builtin_d_type): Add declaration.
5037 * d-lang.c (d_language_arch_info, build_d_types)
5038 (builtin_d_type): New functions.
5039 (enum d_primitive_types): New data type.
5040 (d_language_defn): Change c_language_arch_info to
5041 d_language_arch_info.
5042 (d_type_data): New static variable.
5043 (_initialize_d_language): Initialize d_type_data.
5045 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
5047 * d-lang.h (d_main_name): Add declaration.
5048 * d-lang.c (d_main_name): New function.
5049 * symtab.c (find_main_name): Add call to d_main_name.
5051 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
5053 * d-lang.c (d_language_defn): Change macro_expansion_c to
5056 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
5058 * MAINTAINERS: Add myself as a write-after-approval maintainer.
5060 2014-01-17 Sergio Durigan Junior <sergiodj@redhat.com>
5062 * breakpoint.c (insert_bp_location): Add "volatile" keyword to "struct
5063 gdb_exception" declaration.
5064 * remote.c (getpkt_or_notif_sane): Likewise.
5066 2014-01-17 Doug Evans <dje@google.com>
5068 * common/gdb_vecs.c (delim_string_to_char_ptr_vec_append): New
5069 function, contents of dirnames_to_char_ptr_vec_append moved here.
5070 (delim_string_to_char_ptr_vec): New function.
5071 (dirnames_to_char_ptr_vec_append): Rewrite.
5072 * common/gdb_vecs.h (delim_string_to_char_ptr_vec): Declare.
5074 2014-01-17 Doug Evans <dje@google.com>
5076 * common/common-utils.h (FUNCTION_NAME): Renamed from ASSERT_FUNCTION,
5078 * common/gdb_assert.h (ASSERT_FUNCTION): ... from here.
5079 #include "common-utils.h".
5080 (gdb_assert, gdb_assert_fail, gdb_assert_not_reached): Update.
5081 * common/vec.h (VEC_ASSERT_PASS): Update.
5082 * darwin-nat.h: Replace #include of gdb_assert.h with common-utils.h.
5083 (MACH_CHECK_ERROR): Update.
5085 2014-01-17 Simon Marchi <simon.marchi@ericsson.com>
5087 * gdbarch.sh (gdbarch_address_class_name_to_type_flags): Add
5089 * gdbarch.h: Regenerate.
5091 2014-01-16 Tom Tromey <tromey@redhat.com>
5093 * value.c (struct value) <regnum>: Move earlier.
5095 2014-01-16 Tom Tromey <tromey@redhat.com>
5097 * remote.c (extended_remote_create_inferior): Rename from
5098 extended_remote_create_inferior_1. Add "ops" argument. Remove
5101 2014-01-16 Pedro Alves <palves@redhat.com>
5103 * s390-linux-tdep.c (s390_frame_unwind_cache): Swallow
5104 NOT_AVAILABLE_ERROR errors while parsing the prologue or reading
5107 2014-01-16 Doug Evans <dje@google.com>
5109 * dwarf2read.c (open_and_init_dwp_file): Fix typo in comment.
5111 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5113 * btrace.h (btrace_thread_flag): New.
5114 (struct btrace_thread_info) <flags>: New.
5115 * record-btrace.c (record_btrace_resume_thread)
5116 (record_btrace_find_thread_to_move, btrace_step_no_history)
5117 (btrace_step_stopped, record_btrace_start_replaying)
5118 (record_btrace_step_thread, record_btrace_decr_pc_after_break)
5119 (record_btrace_find_resume_thread): New.
5120 (record_btrace_resume, record_btrace_wait): Extend.
5121 (record_btrace_can_execute_reverse): New.
5122 (record_btrace_open): Fail in non-stop mode.
5123 (record_btrace_set_replay): Split into this, ...
5124 (record_btrace_stop_replaying): ... this, ...
5125 (record_btrace_clear_histories): ... and this.
5126 (init_record_btrace_ops): Init to_can_execute_reverse.
5127 * NEWS: Announce it.
5129 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5131 * target.h (struct target_ops) <to_decr_pc_after_break>: New.
5132 (forward_target_decr_pc_after_break)
5133 (target_decr_pc_after_break): New.
5134 * target.c (forward_target_decr_pc_after_break)
5135 (target_decr_pc_after_break): New.
5136 * aix-thread.c (aix_thread_wait): Call target_decr_pc_after_break
5137 instead of gdbarch_decr_pc_after_break.
5138 * darwin-nat.c (cancel_breakpoint): Call target_decr_pc_after_break
5139 instead of gdbarch_decr_pc_after_break.
5140 * infrun.c (adjust_pc_after_break): Call target_decr_pc_after_break
5141 instead of gdbarch_decr_pc_after_break.
5142 * linux-nat.c (cancel_breakpoint): Call target_decr_pc_after_break
5143 instead of gdbarch_decr_pc_after_break.
5144 * linux-thread-db.c (check_event): Call target_decr_pc_after_break
5145 instead of gdbarch_decr_pc_after_break.
5146 * record-full.c (record_full_wait_1): Call target_decr_pc_after_break
5147 instead of gdbarch_decr_pc_after_break.
5149 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5151 * btrace.c: Include regcache.h.
5152 (btrace_add_pc): New.
5153 (btrace_enable): Call btrace_add_pc.
5154 (btrace_is_empty): New.
5155 * btrace.h (btrace_is_empty): New.
5156 * record-btrace.c (require_btrace, record_btrace_info): Call
5159 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5161 * common/linux-btrace.c (perf_event_read_bts, linux_read_btrace):
5162 Support delta reads.
5163 (linux_disable_btrace): Change return type.
5164 * common/linux-btrace.h (linux_read_btrace): Change parameters
5165 and return type to allow error reporting. Update users.
5166 (linux_disable_btrace): Change return type. Update users.
5167 * common/btrace-common.h (btrace_read_type) <BTRACE_READ_DELTA>:
5169 (btrace_error): New.
5170 (btrace_block) <begin>: Comment on BEGIN == 0.
5171 * btrace.c (btrace_compute_ftrace): Start from the end of
5173 (btrace_stitch_trace, btrace_clear_history): New.
5174 (btrace_fetch): Read delta trace, return if replaying.
5175 (btrace_clear): Move clear history code to btrace_clear_history.
5176 (parse_xml_btrace): Throw an error if parsing failed.
5177 * target.h (struct target_ops) <to_read_btrace>: Change parameters
5178 and return type to allow error reporting.
5179 (target_read_btrace): Change parameters and return type to allow
5181 * target.c (target_read_btrace): Update.
5182 * remote.c (remote_read_btrace): Support delta reads. Pass
5184 * NEWS: Announce it.
5186 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5188 * record.h (record_btrace_frame_unwind)
5189 (record_btrace_tailcall_frame_unwind): New declarations.
5190 * dwarf2-frame: Include record.h
5191 (dwarf2_frame_cfa): Throw an error for btrace frames.
5192 * record-btrace.c: Include hashtab.h.
5193 (btrace_get_bfun_name): New.
5194 (btrace_call_history): Call btrace_get_bfun_name.
5195 (struct btrace_frame_cache): New.
5197 (bfcache_hash, bfcache_eq, bfcache_new): New.
5198 (btrace_get_frame_function): New.
5199 (record_btrace_frame_unwind_stop_reason): Allow unwinding.
5200 (record_btrace_frame_this_id): Compute own id.
5201 (record_btrace_frame_prev_register): Provide PC, throw_error
5202 for all other registers.
5203 (record_btrace_frame_sniffer): Detect btrace frames.
5204 (record_btrace_tailcall_frame_sniffer): New.
5205 (record_btrace_frame_dealloc_cache): New.
5206 (record_btrace_frame_unwind): Add new functions.
5207 (record_btrace_tailcall_frame_unwind): New.
5208 (_initialize_record_btrace): Allocate cache.
5209 * btrace.c (btrace_clear): Call reinit_frame_cache.
5210 * NEWS: Announce it.
5212 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5214 * record-btrace.c (record_btrace_set_replay)
5215 (record_btrace_goto_begin, record_btrace_goto_end)
5216 (record_btrace_goto): New.
5217 (init_record_btrace_ops): Initialize them.
5218 * NEWS: Announce it.
5220 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5222 * record-btrace.c (record_btrace_find_new_threads)
5223 (record_btrace_thread_alive): New.
5224 (init_record_btrace_ops): Initialize to_find_new_threads and
5227 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5229 * record-btrace.c (record_btrace_resume): New.
5230 (record_btrace_wait): New.
5231 (init_record_btrace_ops): Initialize to_wait and to_resume.
5233 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5235 * record-btrace.c (record_btrace_xfer_partial)
5236 (record_btrace_insert_breakpoint, record_btrace_remove_breakpoint)
5237 (record_btrace_allow_memory_access): New.
5238 (init_record_btrace_ops): Initialize new methods.
5239 * target.c (raw_memory_xfer_partial): Bail out if target reports
5240 that this memory is not available.
5242 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5244 * target.h (target_ops) <to_insert_breakpoint>
5245 <to_remove_breakpoint>: Add target_ops parameter.
5246 (forward_target_insert_breakpoint): New.
5247 (forward_target_remove_breakpoint): New.
5248 (memory_remove_breakpoint, memory_insert_breakpoint):
5249 Add target_ops parameter.
5250 * target.c (target_insert_breakpoint): Split into this and ...
5251 (forward_target_insert_breakpoint): ... this.
5252 (target_remove_breakpoint): Split into this and ...
5253 (forward_target_remove_breakpoint): ... this.
5254 (debug_to_insert_breakpoint): Add target_ops parameter.
5255 Call forward_target_insert_breakpoint.
5256 (debug_to_remove_breakpoint): Add target_ops parameter.
5257 Call forward_target_remove_breakpoint.
5258 (update_current_target): Do not inherit or default to_insert_breakpoint
5259 and to_remove_breakpoint.
5260 * corelow.c (ignore): Add target_ops parameter.
5261 * exec.c (ignore): Add target_ops parameter.
5262 * mem-break.c (memory_insert_breakpoint, memory_remove_breakpoint):
5263 Add target_ops parameter.
5264 * monitor.c (monitor_insert_breakpoint, monitor_remove_breakpoint):
5265 Add target_ops parameter.
5266 * nto-procfs.c (procfs_insert_breakpoint, procfs_remove_breakpoint):
5267 Add target_ops parameter.
5268 * record-full.c (record_full_beneath_to_insert_breakpoint)
5269 (record_full_beneath_to_remove_breakpoint, tmp_to_insert_breakpoint)
5270 (tmp_to_remove_breakpoint, record_full_insert_breakpoint)
5271 (record_full_remove_breakpoint, record_full_core_insert_breakpoint)
5272 (record_full_core_remove_breakpoint): Add target_ops parameter.
5274 (record_full_beneath_to_insert_breakpoint_ops)
5275 (record_full_beneath_to_remove_breakpoint_ops)
5276 (tmp_to_insert_breakpoint_ops, tmp_to_remove_breakpoint_ops): New.
5277 (record_full_open): Initialize tmp_to_insert_breakpoint_ops,
5278 tmp_to_remove_breakpoint_ops,
5279 record_full_beneath_to_insert_breakpoint_ops, and
5280 record_full_beneath_to_remove_breakpoint_ops.
5281 * remote-m32r-sdi.c (m32r_insert_breakpoint)
5282 (m32r_remove_breakpoint): Add target_ops parameter.
5283 * remote-mips.c (mips_insert_breakpoint, mips_remove_breakpoint):
5284 Add target_ops parameter.
5285 * remote.c (remote_insert_breakpoint, remote_remove_breakpoint):
5286 Add target_ops parameter.
5288 2014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
5289 Markus Metzger <markus.t.metzger@intel.com>
5291 * record-btrace.c: Include frame-unwind.h.
5292 (record_btrace_frame_unwind_stop_reason)
5293 (record_btrace_frame_this_id, record_btrace_frame_prev_register)
5294 (record_btrace_frame_sniffer, record_btrace_frame_unwind):
5296 (init_record_btrace_ops): Install it.
5298 2014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
5300 * frame.c (get_frame_unwind_stop_reason): Unconditionally call
5303 2014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
5305 * dwarf2-frame.c (dwarf2_frame_cfa): Move UNWIND_UNAVAILABLE check
5308 2014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
5310 * frame-unwind.c: Include target.h.
5311 (frame_unwind_try_unwinder): New function with code from ...
5312 (frame_unwind_find_by_frame): ... here. New variable
5313 unwinder_from_target, call also target_get_unwinder)
5314 (target_get_tailcall_unwinder, and frame_unwind_try_unwinder for it.
5315 * target.c (target_get_unwinder, target_get_tailcall_unwinder): New.
5316 * target.h (struct target_ops): New fields to_get_unwinder and
5317 to_get_tailcall_unwinder.
5318 (target_get_unwinder, target_get_tailcall_unwinder): New declarations.
5320 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5322 * record-btrace.c (record_btrace_fetch_registers)
5323 (record_btrace_store_registers)
5324 (record_btrace_to_prepare_to_store): New.
5325 (init_record_btrace_ops): Add the above.
5327 2014-01-16 Tom Tromey <tromey@redhat.com>
5329 * windows-nat.c (windows_prepare_to_store): Add 'self' argument.
5330 * target.h (struct target_ops) <to_prepare_to_store>: Add
5332 (target_prepare_to_store): Add argument.
5333 * target.c (debug_to_prepare_to_store): Add argument.
5334 (update_current_target): Update.
5335 * remote.c (remote_prepare_to_store): Add 'self' argument.
5336 * remote-sim.c (gdbsim_prepare_to_store): Add 'self' argument.
5337 * remote-mips.c (mips_prepare_to_store): Add 'self' argument.
5338 * remote-m32r-sdi.c (m32r_prepare_to_store): Add 'self' argument.
5339 * record-full.c (record_full_core_prepare_to_store): Add 'self'
5341 * ravenscar-thread.c (ravenscar_prepare_to_store): Add argument.
5342 * nto-procfs.c (procfs_prepare_to_store): Add 'self' argument.
5343 * monitor.c (monitor_prepare_to_store): Add 'self' argument.
5344 * inf-child.c (inf_child_prepare_to_store): Add 'self' argument.
5345 * go32-nat.c (go32_prepare_to_store): Add 'self' argument.
5347 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5349 * btrace.h (replay) <replay>: New.
5350 (btrace_is_replaying): New.
5351 * btrace.c (btrace_clear): Free replay iterator.
5352 (btrace_is_replaying): New.
5353 * record-btrace.c (record_btrace_is_replaying): New.
5354 (record_btrace_info): Print insn number if replaying.
5355 (record_btrace_insn_history): Start at replay position.
5356 (record_btrace_call_history): Start at replay position.
5357 (init_record_btrace_ops): Init to_record_is_replaying.
5359 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5361 * record-btrace.c (record_btrace_insn_history_range): Include
5363 (record_btrace_insn_history_from): Adjust range.
5364 (record_btrace_call_history_range): Include
5366 (record_btrace_call_history_from): Adjust range.
5367 * NEWS: Announce changes.
5369 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5371 * record.h (enum record_print_flag)
5372 <record_print_indent_calls>: New.
5373 * record.c (get_call_history_modifiers): Recognize /c modifier.
5374 (_initialize_record): Document /c modifier.
5375 * record-btrace.c (btrace_call_history): Add btinfo parameter.
5376 Reorder fields. Optionally indent the function name. Update
5378 * NEWS: Announce changes.
5380 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5382 * common/linux-btrace.c (linux_enable_btrace): Enlarge buffer.
5384 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5386 * btrace.c (ftrace_new_function): Start counting at one.
5387 * record-btrace.c (record_btrace_info): Adjust number of calls
5389 * NEWS: Announce it.
5391 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5393 * record-btrace.c (btrace_call_history_insn_range): Print
5394 insn range as [begin, end].
5396 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5398 * btrace.h (struct btrace_func_link): New.
5399 (enum btrace_function_flag): New.
5400 (struct btrace_inst): Rename to ...
5401 (struct btrace_insn): ...this. Update all users.
5402 (struct btrace_func) <ibegin, iend>: Remove.
5403 (struct btrace_func_link): New.
5404 (struct btrace_func): Rename to ...
5405 (struct btrace_function): ...this. Update all users.
5406 (struct btrace_function) <segment, flow, up, insn, insn_offset)
5407 (number, level, flags>: New.
5408 (struct btrace_insn_iterator): Rename to ...
5409 (struct btrace_insn_history): ...this.
5411 (struct btrace_insn_iterator, btrace_call_iterator): New.
5412 (struct btrace_target_info) <btrace, itrace, ftrace>: Remove.
5413 (struct btrace_target_info) <begin, end, level>
5414 <insn_history, call_history>: New.
5415 (btrace_insn_get, btrace_insn_number, btrace_insn_begin)
5416 (btrace_insn_end, btrace_insn_prev, btrace_insn_next)
5417 (btrace_insn_cmp, btrace_find_insn_by_number, btrace_call_get)
5418 (btrace_call_number, btrace_call_begin, btrace_call_end)
5419 (btrace_call_prev, btrace_call_next, btrace_call_cmp)
5420 (btrace_find_function_by_number, btrace_set_insn_history)
5421 (btrace_set_call_history): New.
5422 * btrace.c (btrace_init_insn_iterator)
5423 (btrace_init_func_iterator, compute_itrace): Remove.
5424 (ftrace_print_function_name, ftrace_print_filename)
5425 (ftrace_skip_file): Change
5427 (ftrace_init_func): Remove.
5428 (ftrace_debug): Use new btrace_function fields.
5429 (ftrace_function_switched): Also consider gaining and
5430 losing symbol information).
5431 (ftrace_print_insn_addr, ftrace_new_call, ftrace_new_return)
5432 (ftrace_new_switch, ftrace_find_caller, ftrace_new_function)
5433 (ftrace_update_caller, ftrace_fixup_caller, ftrace_new_tailcall):
5435 (ftrace_new_function): Move. Remove debug print.
5436 (ftrace_update_lines, ftrace_update_insns): New.
5437 (ftrace_update_function): Check for call, ret, and jump.
5438 (compute_ftrace): Renamed to ...
5439 (btrace_compute_ftrace): ...this. Rewritten to compute call
5441 (btrace_fetch, btrace_clear): Updated.
5442 (btrace_insn_get, btrace_insn_number, btrace_insn_begin)
5443 (btrace_insn_end, btrace_insn_prev, btrace_insn_next)
5444 (btrace_insn_cmp, btrace_find_insn_by_number, btrace_call_get)
5445 (btrace_call_number, btrace_call_begin, btrace_call_end)
5446 (btrace_call_prev, btrace_call_next, btrace_call_cmp)
5447 (btrace_find_function_by_number, btrace_set_insn_history)
5448 (btrace_set_call_history): New.
5449 * record-btrace.c (require_btrace): Use new btrace thread
5451 (record_btrace_info, btrace_insn_history)
5452 (record_btrace_insn_history, record_btrace_insn_history_range):
5453 Use new btrace thread info fields and new iterator.
5454 (btrace_func_history_src_line): Rename to ...
5455 (btrace_call_history_src_line): ...this. Use new btrace
5457 (btrace_func_history): Rename to ...
5458 (btrace_call_history): ...this. Use new btrace thread info
5459 fields and new iterator.
5460 (record_btrace_call_history, record_btrace_call_history_range):
5461 Use new btrace thread info fields and new iterator.
5463 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5465 * frame.h (frame_id_build_unavailable_stack_special): New.
5466 * frame.c (frame_id_build_unavailable_stack_special): New.
5468 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5470 * amd64-tdep.c (amd64_classify_insn_at, amd64_insn_is_call)
5471 (amd64_insn_is_ret, amd64_insn_is_jump, amd64_jmp_p): New.
5472 (amd64_init_abi): Add insn_is_call, insn_is_ret, and insn_is_jump
5474 * i386-tdep.c (i386_insn_is_call, i386_insn_is_ret)
5475 (i386_insn_is_jump, i386_jmp_p): New.
5476 (i386_gdbarch_init): Add insn_is_call, insn_is_ret, and
5477 insn_is_jump to gdbarch.
5478 * gdbarch.sh (insn_is_call, insn_is_ret, insn_is_jump): New.
5479 * gdbarch.h: Regenerated.
5480 * gdbarch.c: Regenerated.
5481 * arch-utils.h (default_insn_is_call, default_insn_is_ret)
5482 (default_insn_is_jump): New.
5483 * arch-utils.c (default_insn_is_call, default_insn_is_ret)
5484 (default_insn_is_jump): New.
5486 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5488 * common/btrace-common.h (btrace_read_type) <btrace_read_all>:
5490 (btrace_read_type) <BTRACE_READ_ALL>: ... this. Update users.
5491 (btrace_read_type) <btrace_read_new>: Change to ...
5492 (btrace_read_type) <BTRACE_READ_NEW>: ... this. Update users.
5494 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5496 * common/linux-btrace.c (linux_read_btrace): Free trace from
5499 2014-01-15 Doug Evans <dje@google.com>
5501 * dwarf2read.c (open_and_init_dwp_file): Use pulongest to print
5504 2014-01-15 Tom Tromey <tromey@redhat.com>
5506 * dbxread.c (process_one_symbol): Use set_objfile_main_name.
5507 * dwarf2read.c (read_partial_die): Use set_objfile_main_name.
5508 * objfiles.c (get_objfile_bfd_data): Initialize language_of_main.
5509 (set_objfile_main_name): New function.
5510 * objfiles.h (struct objfile_per_bfd_storage) <name_of_main,
5511 language_of_main>: New fields.
5512 (set_objfile_main_name): Declare.
5513 * symtab.c (find_main_name): Loop over objfiles to find the main
5515 (set_main_name): Now static.
5516 (get_main_info): Add comment.
5517 * symtab.h (set_main_name): Don't declare.
5519 2014-01-15 Tom Tromey <tromey@redhat.com>
5521 * symtab.c (main_progspace_key): New global.
5522 (struct main_info): New.
5523 (name_of_main, language_of_main): Remove.
5524 (get_main_info, main_info_cleanup): New function.
5525 (set_main_name, main_name, main_language): Use get_main_info.
5526 (_initialize_symtab): Initialize main_progspace_key.
5528 2014-01-15 Tom Tromey <tromey@redhat.com>
5530 * dbxread.c (process_one_symbol): Update.
5531 * dwarf2read.c (read_partial_die): Update.
5532 * symfile.c (set_initial_language): Call main_language.
5533 * symtab.c (language_of_main): Now static.
5534 (set_main_name): Add 'lang' parameter.
5535 (find_main_name): Update.
5536 (main_language): New function.
5537 (symtab_observer_executable_changed): Update.
5538 * symtab.h (set_main_name): Update.
5539 (language_of_main): Remove.
5540 (main_language): Declare.
5542 2014-01-15 Tom Tromey <tromey@redhat.com>
5544 * symfile.c (init_entry_point_info): Use new "initialized" field.
5546 * objfiles.h (struct entry_point) <initialized>: New field.
5547 (struct objfile_per_bfd_storage) <ei>: New field, moved from...
5548 (struct objfile) <ei>: ...here. Remove.
5549 * objfiles.c (entry_point_address_query): Update.
5551 2014-01-15 Tom Tromey <tromey@redhat.com>
5553 * objfiles.c (entry_point_address_query): Relocate entry point
5555 (objfile_relocate1): Do not relocate entry point address.
5556 * objfiles.h (struct entry_info) <entry_point>: Update comment.
5557 <the_bfd_section_index>: New field.
5558 * symfile.c (init_entry_point_info): Find the entry point's
5561 2014-01-15 Tom Tromey <tromey@redhat.com>
5563 * solib-frv.c (enable_break): Use entry_point_address_query.
5565 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
5567 * NEWS: Add note on improved process record-replay on
5568 arm*-linux* targets.
5570 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
5572 * arm-tdep.c (enum arm_record_result): New enum.
5573 (arm_record_unsupported_insn): New function.
5574 (arm_record_coproc_data_proc): Removed.
5575 (thumb2_record_ld_st_multiple): New function.
5576 (thumb2_record_ld_st_dual_ex_tbb): New function.
5577 (thumb2_record_data_proc_sreg_mimm): New function.
5578 (thumb2_record_ps_dest_generic): New function.
5579 (thumb2_record_branch_misc_cntrl): New function.
5580 (thumb2_record_str_single_data): New function.
5581 (thumb2_record_ld_mem_hints): New function.
5582 (thumb2_record_ld_word): New function.
5583 (thumb2_record_lmul_lmla_div): New function.
5584 (thumb2_record_decode_insn_handler): New function.
5585 (decode_insn): Add thumb32 instruction handlers.
5587 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
5589 * arm-linux-tdep.c: Include "record-full.h" and "linux-record.h".
5590 (struct arm_linux_record_tdep): Declare.
5591 (arm_canonicalize_syscall): New function.
5592 (arm_all_but_pc_registers_record): New function.
5593 (arm_linux_syscall_record): New function.
5594 (arm_linux_init_abi): Add syscall recording constructs.
5595 * arm-tdep.c (thumb_record_ldm_stm_swi): Update thumb syscall
5596 decoding. (arm_record_coproc_data_proc): Update arm syscall
5598 * arm-tdep.h (struct gdbarch_tdep) <arm_swi_record>: Remove.
5599 <arm_syscall_record>: New field.
5600 * configure.tgt (arm*-*-linux*): Add linux-record.o to
5603 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
5605 * arm-tdep.c (thumb_record_misc): Update to use sp as base
5606 register for push instruction recording.
5608 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
5610 * arm-tdep.c (thumb_record_misc): Update to correct logical
5611 error while recording ldm, ldmia and pop instructions.
5613 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
5615 * arm-tdep.c (struct arm_mem_r) <addr>: Change type to uint32_t.
5617 2014-01-15 Pedro Alves <palves@redhat.com>
5619 * go32-nat.c (go32_open, go32_close, go32_attach, go32_detach)
5620 (go32_resume, go32_fetch_registers, store_register)
5621 (go32_store_registers, go32_prepare_to_store)
5622 (go32_xfer_memory, go32_files_info, go32_kill_inferior)
5623 (go32_create_inferior, go32_can_run, go32_terminal_init)
5624 (go32_terminal_inferior, go32_terminal_ours): Delete forward
5627 2014-01-15 Tom Tromey <tromey@redhat.com>
5629 * target.h (async_callback_ftype): New typedef.
5630 (struct target_ops) <to_async>: Use it.
5632 2014-01-15 Joel Brobecker <brobecker@adacore.com>
5634 * python/py-value.c (get_field_type): Remove unnecessary curly
5635 braces for single-statement if block.
5637 2014-01-15 Joel Brobecker <brobecker@adacore.com>
5639 * python/py-type.c (convert_field): Add missing empty line
5642 2014-01-14 Doug Evans <dje@google.com>
5644 * symfile.h (expand_symtabs_matching): Renamed from
5645 expand_partial_symbol_names. Update prototype.
5646 (map_symbol_filenames): Renamed from map_partial_symbol_filenames.
5647 * symfile.c (expand_symtabs_matching): Renamed from
5648 expand_partial_symbol_names. New args file_matcher, kind.
5649 Rename arg fun to symbol_matcher.
5650 (map_symbol_filenames): Renamed from map_partial_symbol_filenames.
5651 * ada-lang.c (ada_complete_symbol_matcher): Renamed from
5652 ada_expand_partial_symbol_name.
5653 (ada_make_symbol_completion_list): Update to call
5654 expand_symtabs_matching.
5655 (ada_add_global_exceptions): Call expand_symtabs_matching.
5656 * mi/mi-cmd-file.c (mi_cmd_file_list_exec_source_files): Update to
5657 call map_symbol_filenames.
5658 * symtab.c (sources_info): Update to call map_symbol_filenames.
5659 (search_symbols): Call expand_symtabs_matching.
5660 (symbol_completion_matcher): Renamed from expand_partial_symbol_name.
5661 (default_make_symbol_completion_list_break_on): Update to call
5662 expand_symtabs_matching.
5663 (make_source_files_completion_list): Update to call
5664 map_symbol_filenames.
5666 2014-01-14 Doug Evans <dje@google.com>
5668 * symfile.h (expand_symtabs_file_matcher_ftype): New typedef.
5669 (expand_symtabs_symbol_matcher_ftype): New typedef.
5670 (quick_symbol_functions.expand_symtabs_matching): Update to use.
5671 expand_symtabs_file_matcher_ftype, expand_symtabs_symbol_matcher_ftype.
5672 * symfile.c (expand_partial_symbol_names): Update to use
5673 expand_symtabs_symbol_matcher_ftype.
5674 * dwarf2read.c (dw2_expand_symtabs_matching): Update to use
5675 expand_symtabs_file_matcher_ftype, expand_symtabs_symbol_matcher_ftype.
5676 Arg name_matcher renamed to symbol_matcher.
5677 * psymtab.c (recursively_search_psymtabs): Update to use
5678 expand_symtabs_symbol_matcher_ftype. Arg name_matcher renamed to
5680 (expand_symtabs_matching_via_partial): Update to use
5681 expand_symtabs_file_matcher_ftype, expand_symtabs_symbol_matcher_ftype.
5682 Arg name_matcher renamed to symbol_matcher.
5684 2014-01-14 Doug Evans <dje@google.com>
5686 * psymtab.c (expand_partial_symbol_names): Delete, moved to symfile.c.
5687 (map_partial_symbol_filenames): Ditto.
5688 * psymtab.h (expand_partial_symbol_names): Delete, moved to symfile.h.
5689 (map_partial_symbol_filenames): Ditto.
5690 * symfile.c (expand_partial_symbol_names): Moved here from psymtab.c.
5691 (map_partial_symbol_filenames): Ditto.
5692 * symfile.h (expand_partial_symbol_names): Moved here from psymtab.h.
5693 (map_partial_symbol_filenames): Ditto.
5694 * symtab.c: Delete #include "psymtab.h".
5696 2014-01-14 Pedro Alves <palves@redhat.com>
5697 Tom Tromey <tromey@redhat.com>
5699 * infrun.c (use_displaced_stepping): Use find_record_target
5700 instead of RECORD_IS_USED.
5701 (adjust_pc_after_break): Use record_full_is_used instead of
5703 * record-btrace.c (record_btrace_open): Call record_preopen
5704 instead of checking RECORD_IS_USED.
5705 * record-full.c (record_full_shortname)
5706 (record_full_core_shortname): New globals.
5707 (record_full_is_used): New function.
5708 (find_full_open): Call record_preopen instead of checking
5710 (init_record_full_ops): Set the target's shortname to
5711 record_full_shortname.
5712 (init_record_full_core_ops): Set the target's shortname to
5713 record_full_core_shortname.
5714 * record-full.h (record_full_is_used): Declare.
5715 * record.c (find_record_target): Make extern.
5716 (record_preopen): New function.
5717 * record.h (RECORD_IS_USED): Delete macro.
5718 (find_record_target, record_preopen): Declare functions.
5720 2014-01-14 Yao Qi <yao@codesourcery.com>
5722 * gdbarch.sh (core_xfer_shared_libraries): Change its argument
5723 'len''s type to ULONGEST.
5724 (core_xfer_shared_libraries_aix): Likewise.
5725 * gdbarch.c, gdbarch.h: Regenerated.
5726 * i386-cygwin-tdep.c (windows_core_xfer_shared_libraries):
5727 Change type of 'len' to ULONGEST.
5728 * rs6000-aix-tdep.c (rs6000_aix_ld_info_to_xml): Likewise.
5729 (rs6000_aix_core_xfer_shared_libraries_aix): Likewise.
5731 2014-01-14 Yao Qi <yao@codesourcery.com>
5733 * common/linux-osdata.c (linux_xfer_osdata_processes): Change
5734 type of 'len' to ULONGEST.
5735 (linux_xfer_osdata_processgroups): Likewise.
5736 (linux_xfer_osdata_threads): Likewise.
5737 (linux_xfer_osdata_fds): Likewise.
5738 (linux_xfer_osdata_isockets): Likewise.
5739 (linux_xfer_osdata_shm): Likewise.
5740 (linux_xfer_osdata_sem): Likewise.
5741 (linux_xfer_osdata_msg): Likewise.
5742 (linux_common_xfer_osdata): Likewise.
5743 (struct osdata_type) <getter>: Likewise.
5744 * common/linux-osdata.h (linux_common_xfer_osdata): Update
5747 2014-01-14 Yao Qi <yao@codesourcery.com>
5749 * target.h (target_xfer_partial_ftype): Update.
5750 (struct target_ops) <to_xfer_partial>: Change 'len' type to
5752 * aix-thread.c (aix_thread_xfer_partial): Change type of
5753 argument 'len' to ULONGEST.
5754 * auxv.c (procfs_xfer_auxv): Likewise.
5755 (ld_so_xfer_auxv): Likewise.
5756 (memory_xfer_auxv): Likewise.
5757 * bfd-target.c (target_bfd_xfer_partial): Likewise.
5758 * bsd-kvm.c (bsd_kvm_xfer_partial): Likewise.
5759 * bsd-uthread.c (bsd_uthread_xfer_partial): Likewise.
5760 * corelow.c (core_xfer_partial): Likewise.
5761 * ctf.c (ctf_xfer_partial): Likewise.
5762 * darwin-nat.c (darwin_read_write_inferior): Likewise. Use
5764 (darwin_read_dyld_info): Likewise.
5765 (darwin_xfer_partial): Likewise.
5766 * exec.c (section_table_xfer_memory_partial): Likewise.
5767 (exec_xfer_partial): Likewise.
5768 * exec.h (section_table_xfer_memory_partial): Update
5770 * gnu-nat.c (gnu_xfer_memory): Likewise. Call pulongest
5771 instead of plongest.
5772 (gnu_xfer_partial): Likewise.
5773 * ia64-hpux-nat.c (ia64_hpux_xfer_memory): Likewise.
5774 (ia64_hpux_xfer_solib_got): Likewise.
5775 (ia64_hpux_xfer_partial): Likewise.
5776 * ia64-linux-nat.c (ia64_linux_xfer_partial):
5777 * inf-ptrace.c (inf_ptrace_xfer_partial):
5778 * inf-ttrace.c (inf_ttrace_xfer_partial):
5779 * linux-nat.c (linux_xfer_siginfo): Likewise.
5780 (linux_nat_xfer_partial): Likewise.
5781 (spu_enumerate_spu_ids, linux_proc_xfer_spu): Likewise.
5782 (linux_nat_xfer_osdata, linux_xfer_partial): Likewise.
5783 * monitor.c (monitor_xfer_memory): Likewise.
5784 (monitor_xfer_partial): Likewise.
5785 * procfs.c (procfs_xfer_partial): Likewise.
5786 * record-full.c (record_full_xfer_partial): Likewise.
5787 (record_full_core_xfer_partial): Likewise.
5788 * remote-sim.c (gdbsim_xfer_memory): Likewise. Call pulongest
5789 instead of plongest.
5790 (gdbsim_xfer_partial): Likewise.
5791 * remote.c (remote_xfer_partial): Likewise.
5792 * rs6000-aix-tdep.c (rs6000_aix_ld_info_to_xml): Likewise.
5793 * rs6000-aix-tdep.h (rs6000_aix_ld_info_to_xml): Update
5795 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
5796 (rs6000_xfer_shared_libraries): Likewise.
5797 * sol-thread.c (sol_thread_xfer_partial): Likewise.
5798 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
5799 (sparc_xfer_partial): Likewise.
5800 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise.
5801 (spu_xfer_partial): Likewise.
5802 * spu-multiarch.c (spu_xfer_partial): Likewise.
5803 * target.c (target_read_live_memory): Likewise.
5804 (memory_xfer_live_readonly_partial): Likewise.
5805 (memory_xfer_partial, memory_xfer_partial_1): Likewise.
5806 (target_xfer_partial, default_xfer_partial): Likewise.
5807 (current_xfer_partial): Likewise.
5808 * tracepoint.c (tfile_xfer_partial): Likewise.
5809 * windows-nat.c (windows_xfer_memory): Likewise. Call
5810 pulongest instead of plongest.
5811 (windows_xfer_partial): Likewise.
5812 (windows_xfer_shared_libraries): Likewise.
5814 2014-01-14 Yao Qi <yao@codesourcery.com>
5816 * rs6000-nat.c (rs6000_xfer_shared_libraries): Use
5817 target_xfer_partial_ftype.
5819 2014-01-13 Siva Chandra Reddy <sivachandra@google.com>
5823 * valops.c (value_struct_elt_bitpos): New function
5824 * py-type.c (convert_field): Set 'name' attribute of a gdb.Field
5825 object to 'None' if the field name is an empty string ("").
5826 * python/py-value.c (valpy_getitem): Use 'bitpos' and 'type'
5827 attribute to look for a field when 'name' is 'None'.
5828 (get_field_type): New function
5830 2014-01-13 Doug Evans <dje@google.com>
5833 * dwarf2read.c (dwarf2_get_dwz_file): Call gdb_bfd_record_inclusion.
5834 (try_open_dwop_file): Ditto.
5835 * gdb_bfd.c: #include "vec.h".
5836 (bfdp): New typedef.
5837 (struct gdb_bfd_data): New member included_bfds.
5838 (gdb_bfd_unref): Unref all included bfds.
5839 (gdb_bfd_record_inclusion): New function.
5840 * gdb_bfd.h (gdb_bfd_record_inclusion): Declare.
5842 2014-01-13 Tom Tromey <tromey@redhat.com>
5844 * gdbcore.h (deprecated_core_resize_section_table): Remove.
5846 2014-01-13 Tom Tromey <tromey@redhat.com>
5848 * defs.h (use_windows): Remove.
5849 * gdb.c (main): Update.
5850 * main.c (captured_main, gdb_main): Update.
5851 * main.h (struct captured_main_args) <use_windows>: Remove.
5852 * top.c (use_windows): Remove.
5854 2014-01-13 Tom Tromey <tromey@redhat.com>
5856 * defs.h (deprecated_flush_hook): Remove.
5858 2014-01-13 Jan Kratochvil <jan.kratochvil@redhat.com>
5861 * linux-thread-db.c (try_thread_db_load): Add parameter
5862 check_auto_load_safe. Move here the file_is_auto_load_safe call.
5863 (try_thread_db_load_from_pdir_1): Move it there from here.
5864 (try_thread_db_load_from_sdir): Update caller.
5865 (try_thread_db_load_from_dir): Move it there from here.
5867 2014-01-13 Patrick Palka <patrick@parcs.ath.cx>
5869 * regformats/regdat.sh: Always rewrite the register file.
5871 2014-01-13 Pedro Alves <palves@redhat.com>
5873 * Makefile.in (CHECK_HEADERS): New variable.
5874 (check-headers:): New rule.
5876 2014-01-13 Tom Tromey <tromey@redhat.com>
5878 * cli/cli-setshow.c (do_set_command): Update.
5879 * defs.h (deprecated_set_hook): Remove.
5880 * top.c (deprecated_set_hook): Remove.
5882 2014-01-13 Pedro Alves <palves@redhat.com>
5884 * tracepoint.c (tfile_fetch_registers): Don't infer the PC from
5885 the tracepoint if the PC is a pseudo-register.
5887 2014-01-13 Tom Tromey <tromey@redhat.com>
5889 * defs.h (XCALLOC): Remove.
5890 * bcache.c (bcache_xmalloc): Use XCNEW, not XCALLOC.
5891 (print_bcache_statistics): Use XCNEWVEC, not XCALLOC.
5892 * dwarf2loc.c (allocate_piece_closure): Likewise.
5893 * elfread.c (elf_symfile_segments): Likewise.
5894 (elf_symfile_segments): Likewise.
5895 * gdbtypes.c (copy_type_recursive): Likewise.
5896 * i386-tdep.c (i386_gdbarch_init): Use XCNEW, not XCALLOC.
5897 * jit.c (jit_frame_sniffer): Use XCNEWVEC, not XCALLOC.
5898 * minsyms.c (prim_record_minimal_symbol_full): Use XCNEW, not
5900 * mt-tdep.c (mt_gdbarch_init): Likewise.
5901 * opencl-lang.c (allocate_lval_closure): Use XCNEWVEC, not
5903 * psymtab.c (psymbol_compare): Use XCNEW, not XCALLOC.
5904 * regcache.c (regcache_xmalloc_1): Use XCNEWVEC, not XCALLOC.
5905 * registry.c (registry_alloc_data): Likewise.
5906 * rs6000-tdep.c (rs6000_gdbarch_init): Use XCNEW, not XCALLOC.
5907 * s390-linux-tdep.c (s390_gdbarch_init): Likewise.
5908 * serial.c (serial_fdopen_ops): Likewise.
5909 * solib-aix.c (solib_aix_get_section_offsets): Use XCNEWVEC, not
5911 * spu-tdep.c (spu_gdbarch_init): Use XCNEW, not XCALLOC.
5912 * symfile.c (default_symfile_segments): Use XCNEW and XCNEWVEC,
5915 2014-01-13 Tom Tromey <tromey@redhat.com>
5917 * defs.h (XMALLOC): Remove.
5918 * avr-tdep.c (avr_gdbarch_init): Use XNEW, not XMALLOC.
5919 * bfin-tdep.c (bfin_gdbarch_init): Likewise.
5920 * cli-out.c (struct ui_out *): Likewise.
5921 * cli/cli-dump.c (add_dump_command): Likewise.
5922 (add_dump_command): Likewise.
5923 * complaints.c (get_complaints): Likewise.
5924 (find_complaint): Likewise.
5925 * dwarf2-frame.c (execute_cfa_program): Likewise.
5926 * dwarf2read.c (abbrev_table_read_table): Likewise.
5927 * gdbarch.sh: Likewise.
5928 * gdbarch.c: Rebuild.
5929 * inf-ttrace.c (inf_ttrace_add_page): Likewise.
5930 * interps.c (interp_new): Likewise.
5931 * lm32-tdep.c (lm32_gdbarch_init): Likewise.
5932 * m32r-tdep.c (m32r_gdbarch_init): Likewise.
5933 * mi/mi-console.c (mi_console_file_new): Likewise.
5934 * mi/mi-interp.c (mi_interpreter_init): Likewise.
5935 * mi/mi-out.c (mi_out_new): Likewise.
5936 * mi/mi-parse.c (mi_parse): Likewise.
5937 * microblaze-tdep.c (microblaze_gdbarch_init): Likewise.
5938 * moxie-tdep.c (moxie_gdbarch_init): Likewise.
5939 * observer.c (xalloc_observer_list_node): Likewise.
5940 * regcache.c (regcache_xmalloc_1): Likewise.
5941 * reggroups.c (reggroup_new): Likewise.
5942 (_initialize_reggroup): Likewise.
5943 * registry.c (register_data_with_cleanup): Likewise.
5944 * remote.c (remote_notif_stop_alloc_reply): Likewise.
5945 * ser-base.c (serial_ttystate): Likewise.
5946 * ser-mingw.c (make_pipe_state): Likewise.
5947 * ser-pipe.c (pipe_open): Likewise.
5948 * serial.c (serial_open): Likewise.
5949 * sh64-tdep.c (sh64_gdbarch_init): Likewise.
5950 * tui/tui-data.c (tui_alloc_generic_win_info): Likewise.
5951 (tui_alloc_win_info): Likewise.
5952 (tui_add_content_elements): Likewise.
5953 * tui/tui-file.c (tui_file_new): Likewise.
5954 * tui/tui-out.c (tui_out_new): Likewise.
5955 * ui-file.c (mem_file_new): Likewise.
5956 * ui-out.c (push_level): Likewise.
5957 (make_cleanup_ui_out_end): Likewise.
5958 (append_header_to_list): Likewise.
5959 (ui_out_new): Likewise.
5960 * user-regs.c (user_reg_add_builtin): Likewise.
5962 2014-01-13 Tom Tromey <tromey@redhat.com>
5964 * defs.h (XZALLOC): Remove.
5965 * ada-lang.c (get_ada_inferior_data): Use XCNEW, not XZALLOC.
5966 * ada-tasks.c (get_ada_tasks_pspace_data): Likewise.
5967 (get_ada_tasks_inferior_data): Likewise.
5968 * auto-load.c (get_auto_load_pspace_data): Likewise.
5969 * auxv.c (get_auxv_inferior_data): Likewise.
5970 * bfd-target.c (target_bfd_reopen): Likewise.
5971 * breakpoint.c (get_catch_syscall_inferior_data): Likewise.
5972 (deprecated_insert_raw_breakpoint): Likewise.
5973 * bsd-uthread.c (bsd_uthread_pid_to_str): Likewise.
5974 * corelow.c (core_open): Likewise.
5975 * darwin-nat.c (darwin_check_new_threads): Likewise.
5976 (darwin_attach_pid): Likewise.
5977 * dummy-frame.c (dummy_frame_push): Likewise.
5978 * dwarf2-frame.c (dwarf2_frame_cache): Likewise.
5979 * dwarf2loc.c (allocate_piece_closure): Likewise.
5980 * elfread.c (elf_symfile_segments): Likewise.
5981 * eval.c (ptrmath_type_p): Likewise.
5982 * exceptions.c (EXCEPTIONS_SIGJMP_BUF): Likewise.
5983 * gdbtypes.c (alloc_type_arch): Likewise.
5984 (alloc_type_instance): Likewise.
5985 * hppa-tdep.c (hppa_gdbarch_init): Likewise.
5986 * inf-child.c (inf_child_can_use_agent): Likewise.
5987 * inflow.c (get_inflow_inferior_data): Likewise.
5988 * infrun.c (save_infcall_suspend_state): Likewise.
5989 * jit.c (jit_reader_load): Likewise.
5990 (get_jit_objfile_data): Likewise.
5991 (get_jit_program_space_data): Likewise.
5992 (jit_object_open_impl): Likewise.
5993 (jit_symtab_open_impl): Likewise.
5994 (jit_block_open_impl): Likewise.
5995 (jit_frame_sniffer): Likewise.
5996 * linux-fork.c (add_fork): Likewise.
5997 * maint.c (make_command_stats_cleanup): Likewise.
5998 * objfiles.c (get_objfile_pspace_data): Likewise.
5999 * opencl-lang.c (struct lval_closure): Likewise.
6000 * osdata.c (osdata_start_osdata): Likewise.
6001 * progspace.c (new_address_space): Likewise.
6002 (add_program_space): Likewise.
6003 * remote-sim.c (get_sim_inferior_data): Likewise.
6004 * sh-tdep.c (sh_gdbarch_init): Likewise.
6005 * skip.c (Ignore): Likewise.
6006 (skip_delete_command): Likewise.
6007 * solib-aix.c (get_solib_aix_inferior_data): Likewise.
6008 (library_list_start_library): Likewise.
6009 (solib_aix_current_sos): Likewise.
6010 * solib-darwin.c (get_darwin_info): Likewise.
6011 (darwin_current_sos): Likewise.
6012 * solib-dsbt.c (get_dsbt_info): Likewise.
6013 * solib-ia64-hpux.c (new_so_list): Likewise.
6014 (ia64_hpux_get_solib_linkage_addr): Likewise.
6015 * solib-spu.c (append_ocl_sos): Likewise.
6016 (spu_current_sos): Likewise.
6017 * solib-svr4.c (get_svr4_info): Likewise.
6018 (svr4_keep_data_in_core): Likewise.
6019 (library_list_start_library): Likewise.
6020 (svr4_default_sos): Likewise.
6021 (svr4_read_so_list): Likewise.
6022 * solib-target.c (library_list_start_library): Likewise.
6023 (solib_target_current_sos): Likewise.
6024 * sparc-tdep.c (sparc32_gdbarch_init): Likewise.
6025 * symfile-debug.c (install_symfile_debug_logging): Likewise.
6026 * symfile.c (default_symfile_segments): Likewise.
6027 * target-descriptions.c (tdesc_data_init): Likewise.
6028 (tdesc_create_reg): Likewise.
6029 (struct tdesc_type *): Likewise.
6030 (tdesc_create_vector): Likewise.
6031 (tdesc_set_struct_size): Likewise.
6032 (struct tdesc_type *): Likewise.
6033 (tdesc_free_feature): Likewise.
6034 (tdesc_create_feature): Likewise.
6035 * windows-nat.c (windows_add_thread): Likewise.
6036 (windows_make_so): Likewise.
6037 * xml-support.c (gdb_xml_body_text): Likewise.
6038 (gdb_xml_create_parser_and_cleanup): Likewise.
6039 (xml_process_xincludes): Likewise.
6040 * xml-syscall.c (allocate_syscalls_info): Likewise.
6041 (syscall_create_syscall_desc): Likewise.
6043 2014-01-12 Sergio Durigan Junior <sergiodj@redhat.com>
6045 * i386-tdep.c (i386_stap_parse_special_token_triplet): New
6046 function, with code from i386_stap_parse_special_token.
6047 (i386_stap_parse_special_token_three_arg_disp): Likewise.
6048 (i386_stap_parse_special_token): Move code to the two functions
6051 2014-01-09 Pedro Alves <palves@redhat.com>
6052 Hui Zhu <hui@codesourcery.com>
6055 * breakpoint.c (insert_bp_location): Rename hw_bp_err_string to
6056 bp_err_string. Don't mark the location shlib_disabled if the
6057 error thrown wasn't a generic or memory error. Catch errors
6058 thrown while inserting breakpoints in overlayed code. Output
6059 error message of software breakpoints.
6060 * remote.c (remote_insert_breakpoint): If this breakpoint has
6061 target-side commands but this stub doesn't support Z0 packets,
6062 throw NOT_SUPPORTED_ERROR error.
6063 * exceptions.h (enum errors) <NOT_SUPPORTED_ERROR>: New error.
6064 * target.h (target_insert_breakpoint): Extend comment.
6065 (target_insert_hw_breakpoint): Add comment.
6067 2014-01-08 Pedro Alves <palves@redhat.com>
6069 * remote.c (remote_add_thread): Add threads silently if starting
6071 (remote_notice_new_inferior): If in all-stop, and starting up,
6072 don't call notice_new_inferior.
6073 (get_current_thread): New function, factored out from ...
6074 (add_current_inferior_and_thread): ... this. Adjust.
6075 (remote_start_remote) <all-stop>: Fetch the thread list. If we
6076 found any thread, then select the remote's current thread as GDB's
6079 2014-01-08 Joel Brobecker <brobecker@adacore.com>
6081 * NEWS: Create a new section for the next release branch.
6082 Rename the section of the current branch, now that it has
6085 2014-01-08 Joel Brobecker <brobecker@adacore.com>
6087 GDB 7.7 branch created (79301218fa0f074c5656db0ec8972a5ddcf91fb5):
6088 * version.in: Bump version to 7.7.50.DATE-cvs.
6090 2014-01-08 Yao Qi <yao@codesourcery.com>
6092 * spu-linux-nat.c (spu_symbol_file_add_from_memory): Change
6093 type of 'id' to gdb_byte. Cast 'id' to 'const char *'.
6094 (spu_xfer_partial): Cast 'buf' to 'const char *'.
6096 2014-01-08 Yao Qi <yao@codesourcery.com>
6098 * spu-linux-nat.c (spu_symbol_file_add_from_memory): Pass
6099 return value of bfd_get_filename to symbol_file_add_from_bfd.
6101 2014-01-08 Pierre Muller <muller@sourceware.org>
6104 * coff-pe-read.c (struct read_pe_section_data): Add index field.
6105 (add_pe_exported_sym): Use SECTION_DATA->INDEX for call
6106 to prim_record_mininal_symbol_and_info.
6107 (add_pe_forwarded_sym): Use known section number of forwarded symbol
6108 in call to prim_record_minimal_symbol_and_info.
6109 (read_pe_exported_syms): Set index field of section_data.
6111 2014-01-07 Andrew Pinski <apinski@cavium.com>
6113 * features/aarch64-core.xml (cpsr): Change to be 64bit.
6114 * features/aarch64.c: Regenerate.
6116 2014-01-07 Andreas Schwab <schwab@linux-m68k.org>
6118 * target.c (return_null): Define.
6119 (update_current_target): Use it instead of return_zero for
6120 functions that return a pointer.
6122 2014-01-07 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
6124 * source.c (add_path): Fix check for duplicated paths in the previously
6127 2014-01-07 Honggyu Kim <hong.gyu.kim@lge.com>
6129 * ada-lang.c: Remove duplicated include statements.
6130 * alphabsd-nat.c: Ditto.
6131 * amd64-darwin-tdep.c: Ditto.
6132 * amd64fbsd-nat.c: Ditto.
6133 * auto-load.c: Ditto.
6135 * breakpoint.c: Ditto.
6137 * fork-child.c: Ditto.
6138 * gdb_usleep.c: Ditto.
6139 * i386-darwin-tdep.c: Ditto.
6140 * i386fbsd-nat.c: Ditto.
6142 * inferior.c: Ditto.
6144 * linux-nat.c: Ditto.
6145 * linux-tdep.c: Ditto.
6146 * m68kbsd-nat.c: Ditto.
6147 * m68klinux-nat.c: Ditto.
6148 * microblaze-tdep.c: Ditto.
6149 * mips-linux-tdep.c: Ditto.
6150 * mn10300-tdep.c: Ditto.
6151 * nto-tdep.c: Ditto.
6152 * opencl-lang.c: Ditto.
6154 * printcmd.c: Ditto.
6155 * regcache.c: Ditto.
6156 * remote-m32r-sdi.c: Ditto.
6160 * tilegx-linux-nat.c: Ditto.
6161 * tilegx-tdep.c: Ditto.
6162 * tracepoint.c: Ditto.
6164 * vaxbsd-nat.c: Ditto.
6165 * windows-nat.c: Ditto.
6166 * xtensa-tdep.c: Ditto.
6168 2014-01-07 Yao Qi <yao@codesourcery.com>
6170 * spu-linux-nat.c (_initialize_spu_nat): Declare.
6172 2014-01-07 Yao Qi <yao@codesourcery.com>
6173 Joel Brobecker <brobecker@adacore.com>
6175 * aix-thread.c (pdc_read_regs): Cast parameter to uintptr_t.
6176 (pdc_write_regs): Likewise.
6177 (fetch_regs_kernel_thread): Likewise.
6178 (store_regs_kernel_thread): Likewise.
6180 2014-01-07 Joel Brobecker <brobecker@adacore.com>
6182 * ada-varobj.c (ada_varobj_adjust_for_child_access): Convert
6183 tagged type objects to their actual type.
6185 2014-01-07 Joel Brobecker <brobecker@adacore.com>
6187 * ada-valprint.c (print_field_values): Add "language" parameter.
6188 Update calls to print_field_values and print_variant_part.
6189 Pass new parameter "language" in call to val_print instead
6190 of "current_language". Replace call to ada_val_print by call
6192 (print_variant_part): Add "language" parameter.
6193 (ada_val_print_struct_union): Update call to print_field_values.
6195 2014-01-07 Joel Brobecker <brobecker@adacore.com>
6197 * ada-valprint.c (ui_memcpy): Delete.
6198 (ada_print_floating): Update documentation. Add empty line
6199 between between function documentation and implementation.
6200 Delete variable "buffer". Use ui_file_xstrdup in place of
6201 ui_file_put. Minor adjustments following this change.
6203 2014-01-07 Joel Brobecker <brobecker@adacore.com>
6205 * ada-valprint.c (ada_val_print_string): New function,
6206 extracted from ada_val_print_array.
6207 (ada_val_print_array): Replace extracted code by call
6208 to ada_val_print_string followed by a return. Move
6209 "else" branch to the function's top block.
6211 2014-01-07 Joel Brobecker <brobecker@adacore.com>
6213 * ada-valprint.c (ada_val_print_array): Move implementation
6214 down. Rename parameter "offset" and "val" into "offset_aligned"
6215 and "original_value" respectively. Add parameter "offset".
6217 2014-01-07 Joel Brobecker <brobecker@adacore.com>
6219 * ada-valprint.c (ada_val_print_ref): Rewrite by mostly
6220 re-organizing the code. Change the "???" message printed
6221 when target type is a TYPE_CODE_UNDEF into
6222 "<ref to undefined type>".
6224 2014-01-07 Joel Brobecker <brobecker@adacore.com>
6226 * ada-valprint.c (print_record): Delete, implementation inlined...
6227 (ada_val_print_struct_union): ... here. Remove call to
6228 ada_check_typedef in inlined implementation.
6230 2014-01-07 Joel Brobecker <brobecker@adacore.com>
6232 * ada-valprint.c (ada_val_print_gnat_array): New function,
6233 extracted from ada_val_print_1;
6234 (ada_val_print_ptr, ada_val_print_num, ada_val_print_enum)
6235 (ada_val_print_flt, ada_val_print_struct_union)
6236 (ada_val_print_ref): Likewise.
6237 (ada_val_print_1): Delete variables i and elttype.
6238 Replace extracted-out code by call to corresponding
6241 2014-01-07 Joel Brobecker <brobecker@adacore.com>
6243 * ada-valprint.c (ada_val_print_1): Remove call to gdb_flush.
6245 2014-01-07 Joel Brobecker <brobecker@adacore.com>
6247 * ada-valprint.c (ada_val_print_1): Replace calls to
6248 ada_val_print_1 by calls to val_print.
6250 2014-01-07 Joel Brobecker <brobecker@adacore.com>
6252 * ada-valprint.c (ada_val_print_1): Add parameter "language".
6253 Update calls to self accordingly. Replace calls to c_val_print
6254 by calls to val_print.
6256 2014-01-07 Joel Brobecker <brobecker@adacore.com>
6258 * ada-valprint.c (print_record): Delete declaration.
6259 (adjust_type_signedness, ada_val_print_1): Likewise.
6260 (ada_val_print): Move function implementation down.
6261 (print_variant_part, print_field_values, print_record):
6262 Move function implementation up.
6264 2014-01-07 Joel Brobecker <brobecker@adacore.com>
6266 * python/py-type.c (typy_get_name): New function.
6267 (type_object_getset): Add entry for attribute "name".
6268 * NEWS: Add entry mentioning this new attribute.
6270 2014-01-07 Yao Qi <yao@codesourcery.com>
6272 * gnu-nat.c (set_exceptions_cmd): Remove an empty body 'if'
6275 2014-01-07 Yao Qi <yao@codesourcery.com>
6277 * gnu-nat.c (info_port_rights): Add qualifier const to
6280 2014-01-07 Yao Qi <yao@codesourcery.com>
6282 * gnu-nat.c (trace_me): Use 'void' for empty argument list.
6284 2014-01-07 Yao Qi <yao@codesourcery.com>
6286 * gnu-nat.c (make_inf) Update declaration.
6287 (make_inf): Make it static.
6288 (inf_set_traced): Likewise.
6289 (inf_port_to_thread, inf_task_died_status): Likewise.
6291 2014-01-07 Yao Qi <yao@codesourcery.com>
6293 * gnu-nat.c (inf_tid_to_proc): Remove declaration.
6295 2014-01-07 Yao Qi <yao@codesourcery.com>
6297 * gnu-nat.c (_initialize_gnu_nat): Declare.
6299 2014-01-07 Yao Qi <yao@codesourcery.com>
6301 * gdbarch.sh (byte_order, byte_order_for_code): Change type to
6303 (struct gdbarch_info) <byte_order>: Change type to
6305 <byte_order_for_code>: Likewise.
6306 * gdbarch.c, gdbarch.h: Regenerated.
6308 2014-01-06 Sasha Smundak <asmundak@google.com>
6310 * jit.c: (jit_reader_load_command): Fix JIT reader path creation.
6312 2014-01-06 Tom Tromey <tromey@redhat.com>
6314 * doublest.c (convert_doublest_to_floatformat): Use const, not
6316 * somread.c (som_symtab_read): Likewise.
6318 2014-01-07 Hui Zhu <hui@codesourcery.com>
6320 * gdb_bfd.c (gdb_bfd_stash_filename): Removed.
6321 (gdb_bfd_open): Removed gdb_bfd_stash_filename.
6322 (gdb_bfd_fopen): Ditto.
6323 (gdb_bfd_openr): Ditto.
6324 (gdb_bfd_openw): Ditto.
6325 (gdb_bfd_openr_iovec): Ditto.
6326 (gdb_bfd_fdopenr): Ditto.
6327 * gdb_bfd.h (gdb_bfd_stash_filename): Removed.
6328 * solib-aix.c (solib_aix_bfd_open): Alloc object_bfd->filename
6330 * solib-darwin.c (darwin_bfd_open): Alloc res->filename
6332 * symfile-mem.c (symbol_file_add_from_memory): Removed
6333 gdb_bfd_stash_filename.
6335 2014-01-03 Doug Evans <dje@google.com>
6337 * nat/linux-waitpid.c (linux_debug): Remove extraneous \n from
6340 2014-01-01 Joel Brobecker <brobecker@adacore.com>
6342 Update year range in copyright notice of all files.
6344 2014-01-01 Joel Brobecker <brobecker@adacore.com>
6346 * top.c (print_gdb_version): Set copyright year to 2014.
6348 2014-01-01 Joel Brobecker <brobecker@adacore.com>
6350 * config/djgpp/fnchange.lst: Add entry for gdb/ChangeLog-2013.
6352 For older changes see ChangeLog-2013.
6358 version-control: never