1 2014-03-17 Tristan Gingold <gingold@adacore.com>
3 * solib-darwin.c (DYLD_VERSION_MAX): Increase value.
4 (darwin_solib_create_inferior_hook): Emit a warning if version
7 2014-03-16 Ulrich Weigand <uweigand@de.ibm.com>
9 * python/py-value.c (get_field_flag): Cast flag_name argument to
10 PyObject_GetAttrString to support Python 2.4.
12 2014-03-14 Jan Kratochvil <jan.kratochvil@redhat.com>
14 * MAINTAINERS (The Official FSF-appointed GDB Maintainers)
15 (Global Maintainers): Remove Jan Kratochvil.
17 2014-03-14 Pedro Alves <palves@redhat.com>
19 * inferior.h (terminal_ours_for_output): Rename to ...
20 (child_terminal_ours_for_output): ... this.
21 (terminal_save_ours): Rename to ...
22 (child_terminal_save_ours): ... this.
23 (terminal_ours): Rename to ...
24 (child_terminal_ours): ... this.
25 (terminal_inferior): Rename to ...
26 (child_terminal_inferior): ... this.
27 (terminal_init_inferior): Rename to ...
28 (child_terminal_init_inferior): ... this.
29 (terminal_init_inferior_with_pgrp): Rename to ...
30 (child_terminal_init_inferior_with_pgrp): ... this.
31 * inflow.c (terminal_init_inferior_with_pgrp): Rename to ...
32 (child_terminal_init_with_pgrp): ... this.
33 (terminal_save_ours): Rename to ...
34 (child_terminal_save_ours): ... this.
35 (terminal_init_inferior): Rename to ...
36 (child_terminal_init): ... this. Adjust.
37 (terminal_inferior): Rename to ...
38 (child_terminal_inferior): ... this.
39 (terminal_ours_for_output): Rename to ...
40 (child_terminal_ours_for_output): ... this. Adjust.
41 (terminal_ours): Rename to ...
42 (child_terminal_ours): ... this.
43 (terminal_ours_1): Rename to ...
44 (child_terminal_ours_1): ... this. Adjust.
45 * linux-nat.c (linux_nat_terminal_inferior): Adjust.
46 * windows-nat.c (do_initial_windows_stuff): Adjust.
47 * gnu-nat.c (gnu_terminal_init_inferior): Rename to ...
48 (gnu_terminal_init): ... this. Adjust.
50 * inf-child.c (inf_child_target): Adjust.
52 2014-03-13 Doug Evans <xdje42@gmail.com>
55 * guile/scm-type.c (tyscm_copy_type_recursive): Move type to its
58 2014-03-13 Doug Evans <xdje42@gmail.com>
60 * value.c (record_latest_value): Call release_value_or_incref
61 instead of release_value.
63 2014-03-13 Pedro Alves <palves@redhat.com>
65 * procfs.c (procfs_target): Don't override to_shortname,
66 to_longname or to_doc.
68 2014-03-13 Pedro Alves <palves@redhat.com>
70 * inf-child.c (inf_child_open, inf_child_target): Don't mention
71 Unix in user visible strings.
73 2014-03-12 Stan Shebs <stan@codesourcery.com>
75 * gdbtypes.h: Annotate comments for Doxygen, add a page
76 block comment with some general info.
78 2014-03-12 Pedro Alves <palves@redhat.com>
80 * infcmd.c (prepare_execution_command): New function, factored out
81 from several execution commands.
82 (run_command_1, continue_command, step_1, jump_command)
83 (signal_command, until_command, advance_command, finish_command)
84 (attach_command): Use prepare_execution_command.
86 2014-03-12 Omair Javaid <omair.javaid@linaro.org>
88 * arm-linux-nat.c (arm_linux_get_hwbp_cap): Updated.
91 (struct arm_linux_thread_points): Removed.
92 (struct arm_linux_process_info): New.
93 (DEF_VEC_P (arm_linux_thread_points_p)): Removed.
94 (VEC(arm_linux_thread_points_p) *arm_threads): Removed.
95 (arm_linux_find_breakpoints_by_tid): Removed.
96 (struct arch_lwp_info): New.
97 (arm_linux_find_process_pid): New functions.
98 (arm_linux_add_process): New functions.
99 (arm_linux_process_info_get): New functions.
100 (arm_linux_forget_process): New function.
101 (arm_linux_get_debug_reg_state): New function.
102 (struct update_registers_data): New.
103 (update_registers_callback): New function.
104 (arm_linux_insert_hw_breakpoint1): Updated.
105 (arm_linux_remove_hw_breakpoint1): Updated.
106 (arm_linux_insert_hw_breakpoint): Updated.
107 (arm_linux_remove_hw_breakpoint): Updated.
108 (arm_linux_insert_watchpoint): Updated.
109 (arm_linux_remove_watchpoint): Updated.
110 (arm_linux_new_thread): Updated.
111 (arm_linux_prepare_to_resume): New function.
112 (arm_linux_new_fork): New function.
113 (_initialize_arm_linux_nat): Updated.
115 2014-03-12 Pedro Alves <palves@redhat.com>
117 * Makefile.in (TARGET_FLAGS_TO_PASS): Add TESTS.
119 2014-03-12 Tom Tromey <tromey@redhat.com>
121 * inf-child.c (return_zero): New function.
122 (inf_child_target): Set to_can_async_p, to_supports_non_stop.
123 * aix-thread.c (aix_thread_inferior_created): New function.
124 (aix_thread_attach): Remove.
125 (init_aix_thread_ops): Don't set to_attach.
126 (_initialize_aix_thread): Register inferior_created observer.
127 * corelow.c (init_core_ops): Don't set to_attach or
129 * exec.c (init_exec_ops): Don't set to_attach or
131 * infcmd.c (run_command_1): Use find_run_target. Make direct
133 (attach_command): Use find_attach_target. Make direct target
135 * record-btrace.c (init_record_btrace_ops): Don't set
137 * record-full.c (record_full_can_async_p, record_full_is_async_p):
139 (init_record_full_ops, init_record_full_core_ops): Update. Don't
140 set to_create_inferior.
141 * target.c (complete_target_initialization): Add assertion.
142 (target_create_inferior): Remove.
143 (find_default_attach, find_default_create_inferior): Remove.
144 (find_attach_target, find_run_target): New functions.
145 (find_default_is_async_p, find_default_can_async_p)
146 (target_supports_non_stop, target_attach): Remove.
147 (init_dummy_target): Don't set to_create_inferior or
148 to_supports_non_stop.
149 * target.h (struct target_ops) <to_attach>: Add comment. Remove
151 <to_create_inferior>: Add comment.
152 <to_can_async_p, to_is_async_p, to_supports_non_stop>: Use
153 TARGET_DEFAULT_RETURN.
154 <to_can_async_p, to_supports_non_stop, to_can_run>: Add comments.
155 (find_attach_target, find_run_target): Declare.
156 (target_create_inferior): Remove.
157 (target_has_execution_1): Update comment.
158 (target_supports_non_stop): Remove.
159 * target-delegates.c: Rebuild.
161 2014-03-12 Pedro Alves <palves@redhat.com>
163 * inf-child.h: Update comment to not mention Unix.
165 2014-03-12 Pedro Alves <palves@redhat.com>
167 * inf-child.c: Update top comment to not mention Unix. Add
168 generic comment describing how this target is meant to be used.
169 (inf_child_post_attach, inf_child_post_startup_inferior)
170 (inf_child_follow_fork, inf_child_pid_to_exec_file): Don't mention
173 2014-03-12 Pedro Alves <palves@redhat.com>
175 * nto-procfs.c: Include inf-child.h.
176 (procfs_ops): Delete global.
177 (procfs_can_run): Delete method.
178 (procfs_detach, procfs_mourn_inferior): Unpush the passed in
179 target pointer instead of referencing procfs_ops.
180 (procfs_prepare_to_store): Delete.
181 (init_procfs_ops): Delete function.
182 (procfs_target): New function, based on init_procfs_ops, but
183 inherit inf_child_target.
184 (_initialize_procfs): Use procfs_target.
186 2014-03-12 Pedro Alves <palves@redhat.com>
188 * windows-nat.c: Include inf-child.h.
189 (windows_ops): Delete global.
190 (windows_open, windows_prepare_to_store, windows_can_run): Delete
192 (init_windows_ops): Delete function.
193 (windows_target): New function, based on init_windows_ops, but
194 inherit inf_child_target.
195 (_initialize_windows_nat): Use windows_target. Install x86
196 specific target methods here.
198 2014-03-10 Doug Evans <xdje42@gmail.com>
200 * guile/guile.c (call_initialize_gdb_module): New function.
201 (initialize_guile): Replace call to scm_init_guile with call to
204 2014-03-10 Joel Brobecker <brobecker@adacore.com>
206 * ada-lang.c (ada_evaluate_subexp): Add missing space before '('
207 in call to TYPE_CODE macro.
209 2014-03-10 Jerome Guitton <guitton@adacore.com>
211 * ada-lang.c (ada_evaluate_subexp) <UNOP_IND, STRUCTOP_STRUCT>:
212 Resolve tagged types to full view.
214 2014-03-10 Hui Zhu <hui@codesourcery.com>
216 * target.h (target_insert_breakpoint): Remove "hardware" from its
219 2014-03-07 Doug Evans <dje@google.com>
221 * dwarf2read.c (read_str_index): Rename local dwo_name to objf_name.
223 2014-03-07 Doug Evans <dje@google.com>
225 * dwarf2read.c (read_cutu_die_from_dwo): Fix function comment.
226 Remove unused local comp_dir_attr. Assert exactly one of
227 stub_comp_unit_die, stub_comp_dir is non-NULL.
229 2014-03-07 Joel Brobecker <brobecker@adacore.com>
231 * target.h (complete_target_initialization, add_target):
234 2014-03-07 Pedro Alves <palves@redhat.com>
236 * go32-nat.c: Include inf-child.h.
237 (go32_ops): Delete global.
238 (go32_close, go32_detach, go32_prepare_to_store, go32_can_run):
240 (go32_create_inferior): Push the passed in target pointer instead
241 of referencing go32_ops.
242 (init_go32_ops): Delete function. Moved parts to _initialize_go32_nat.
243 (go32_target): New function, based on init_go32_ops, but inherit
245 (_initialize_go32_nat): Use go32_target. Move parts of
248 2014-03-06 Joel Brobecker <brobecker@adacore.com>
250 * sol-thread.c: #include "symtab.h", "minsym.h" and "objfiles.h".
251 (ps_pglobal_lookup): Use BMSYMBOL_VALUE_ADDRESS instead of
252 SYMBOL_VALUE_ADDRESS.
253 (info_cb): MSYMBOL_PRINT_NAME instead of SYMBOL_PRINT_NAME.
255 2014-03-06 Yao Qi <yao@codesourcery.com>
257 * breakpoint.c (get_tracepoint_by_number): Remove argument
258 optional_p. All callers updated. Adjust comments. Update
260 * breakpoint.h (get_tracepoint_by_number): Update declaration.
262 2014-03-06 Yao Qi <yao@codesourcery.com>
264 * reverse.c (goto_bookmark_command): Add local 'p'. Emit error
265 early if get_number returns zero. Use 'p' instead of 'args'.
267 2014-03-06 Yao Qi <yao@codesourcery.com>
269 * cli/cli-utils.c (get_number_trailer): Add '\n' at the end of
272 2014-03-06 Yao Qi <yao@codesourcery.com>
275 * tracepoint.c (check_trace_running): New function.
276 (trace_find_command): Move code to check_trace_running and
277 call check_trace_running.
278 (trace_find_pc_command): Likewise.
279 (trace_find_tracepoint_command): Likewise.
280 (trace_find_line_command): Likewise.
281 (trace_find_range_command): Likewise.
282 * tracepoint.h (check_trace_running): Likewise.
283 * mi/mi-main.c (mi_cmd_trace_find): Call check_trace_running.
285 2014-03-06 Yao Qi <yao@codesourcery.com>
287 * target.h (struct target_ops) <to_traceframe_info>: Use
288 TARGET_DEFAULT_NORETURN (tcomplain ()).
289 * target-delegates.c: Regenerated.
291 2014-03-05 Pedro Alves <palves@redhat.com>
294 * dcache.c (dcache_poke_byte): Constify ptr parameter. Return
295 void. Update comment.
296 (dcache_xfer_memory): Delete.
297 (dcache_read_memory_partial): New, based on the read bits of
299 (dcache_update): Add status parameter. Use ULONGEST for len, and
300 adjust. Discard cache lines if the reason for the update was
302 * dcache.h (dcache_xfer_memory): Delete declaration.
303 (dcache_read_memory_partial): New declaration.
304 (dcache_update): Update prototype.
305 * target.c (raw_memory_xfer_partial): Update the dcache here.
306 (memory_xfer_partial_1): Don't handle dcache writes here.
308 2014-03-05 Mike Frysinger <vapier@gentoo.org>
310 * remote-sim.c (gdbsim_load): Add const to prog.
312 2014-03-03 Tom Tromey <tromey@redhat.com>
314 * elfread.c (probe_key): Change to bfd_data.
315 (elf_get_probes, probe_key_free, _initialize_elfread): Probes are
316 now per-BFD, not per-objfile.
317 * stap-probe.c (stap_probe_destroy): Update comment.
318 (handle_stap_probe): Allocate on the per-BFD obstack.
320 2014-03-03 Tom Tromey <tromey@redhat.com>
322 * break-catch-throw.c (fetch_probe_arguments): Use bound probes.
323 * breakpoint.c (create_longjmp_master_breakpoint): Use
325 (add_location_to_breakpoint, bkpt_probe_insert_location)
326 (bkpt_probe_remove_location): Update.
327 * breakpoint.h (struct bp_location) <probe>: Now a bound_probe.
328 * elfread.c (elf_symfile_relocate_probe): Remove.
329 (elf_probe_fns): Update.
330 (insert_exception_resume_breakpoint): Change type of "probe"
331 parameter to bound_probe.
332 (check_exception_resume): Update.
333 * objfiles.c (objfile_relocate1): Don't relocate probes.
334 * probe.c (bound_probe_s): New typedef.
335 (parse_probes): Use get_probe_address. Set sal's objfile.
336 (find_probe_by_pc): Return a bound_probe.
337 (collect_probes): Return a VEC(bound_probe_s).
338 (compare_probes): Update.
339 (gen_ui_out_table_header_info): Change type of "probes"
341 (info_probes_for_ops): Update.
342 (get_probe_address): New function.
343 (probe_safe_evaluate_at_pc): Update.
344 * probe.h (struct probe_ops) <get_probe_address>: New field.
345 <set_semaphore, clear_semaphore>: Add objfile parameter.
346 (struct probe) <objfile>: Remove field.
348 <address>: Update comment.
349 (struct bound_probe): New.
350 (find_probe_by_pc): Return a bound_probe.
351 (get_probe_address): Declare.
352 * solib-svr4.c (struct probe_and_action) <address>: New field.
353 (hash_probe_and_action, equal_probe_and_action): Update.
354 (register_solib_event_probe): Add address parameter.
355 (solib_event_probe_at): Update.
356 (svr4_create_probe_breakpoints): Add objfile parameter. Use
358 * stap-probe.c (struct stap_probe) <sem_addr>: Update comment.
359 (stap_get_probe_address): New function.
360 (stap_can_evaluate_probe_arguments, compute_probe_arg)
361 (compile_probe_arg): Update.
362 (stap_set_semaphore, stap_clear_semaphore): Compute semaphore's
364 (handle_stap_probe): Don't relocate the probe.
365 (stap_relocate): Remove.
366 (stap_gen_info_probes_table_values): Update.
367 (stap_probe_ops): Remove stap_relocate.
368 * symfile-debug.c (debug_sym_relocate_probe): Remove.
369 (debug_sym_probe_fns): Update.
370 * symfile.h (struct sym_probe_fns) <sym_relocate_probe>: Remove.
371 * symtab.c (init_sal): Use memset.
372 * symtab.h (struct symtab_and_line) <objfile>: New field.
373 * tracepoint.c (start_tracing, stop_tracing): Update.
375 2014-03-03 Tom Tromey <tromey@redhat.com>
377 * probe.h (parse_probes, find_probe_by_pc)
378 (find_probes_in_objfile): Fix comments.
380 2014-03-02 Doug Evans <xdje42@gmail.com>
382 * infrun.c (handle_signal_stop): Replace test for
383 TARGET_WAITKIND_STOPPED with an assert.
385 2014-03-02 Doug Evans <xdje42@gmail.com>
387 * guile/scm-objfile.c (ofscm_mark_objfile_smob): Fix typo in comment.
389 2014-03-02 Doug Evans <xdje42@gmail.com>
391 * guile/lib/gdb/printing.scm (append-pretty-printer!): Fix thinko.
393 2014-03-01 Mark Kettenis <kettenis@gnu.org>
395 * obsd-nat.c: Include "gdb_wait.h" instead of <sys/wait.h>.
397 2014-03-01 Mark Kettenis <kettenis@gnu.org>
399 * i386obsd-nat.c: Include "obsd-nat.h".
400 (_initialize_i386obsd_nat): Call obsd_add_target instead of
402 * config/i386/obsd.mh (NATDEPFILES): Add obsd-nat.o.
404 2014-03-01 Mark Kettenis <kettenis@gnu.org>
406 * i386obsd-nat.c (i386obsd_supply_pcb): Cast 'sf' to 'gdb_byte *'.
408 2014-03-01 Mark Kettenis <kettenis@gnu.org>
410 * mips64obsd-nat.c: Include "obsd-nath".
411 (_initialize_mips64obsd_nat): Call obsd_add_target instead of
413 * config/mips/obsd64.mh (NATDEPFILES): Add obsd-nat.o.
415 2014-03-01 Mark Kettenis <kettenis@gnu.org>
417 * amd64obsd-nat.c: Include "obsd-nat,h.
418 (_initialize_amd64obsd_nat): Call obsd_add_target instead of
420 * config/i386/obsd64.mh (NATDEPFILES): Add obsd-nat.o.
422 2014-02-28 Siva Chandra Reddy <sivachandra@google.com>
424 * valops.c (find_oload_champ): Remove unneccesary argument METHOD.
425 (find_overload_match): Update call to find_oload_champ.
426 (find_oload_champ_namespace_loop): Likewise
428 2014-02-28 Mark Kettenis <kettenis@gnu.org>
430 * Makefile.in (ALLDEPFILES): Add sparc64obsd-nat.c.
432 * configure.host (sparc64-*-openbsd*): Set gdb_host to obsd64.
433 * config/sparc/obsd64.mh: New file.
434 * sparc64obsd-nat.c: New file.
436 * obsd-nat.h: New file.
437 * obsd-nat.c: New file.
438 * Makefile.in (HFILES_NO_SRCDIR): Add obsd-nat.h.
439 (ALLDEPFILES): Add obsd-nat.c.
441 2014-02-28 Tom Tromey <tromey@redhat.com>
443 * cli-out.c (cli_ui_out_impl): Now const. Remove comment.
444 * cli-out.h (cli_ui_out_impl): Now const.
445 * mi/mi-out.c (mi_ui_out_impl): Now const. Remove comment.
446 * ui-out.c (struct ui_out) <impl>: Now const.
447 (default_ui_out_impl): Now const.
448 (ui_out_new): Make 'impl' parameter const.
449 * ui-out.h (ui_out_new): Update.
451 2014-02-27 Mark Kettenis <kettenis@gnu.org>
453 * solib-svr4.c (svr4_read_so_list): Initialize first_l_name to 0.
455 2014-02-27 Mark Kettenis <kettenis@gnu.org>
457 * sparc-nat.c (sparc_xfer_wcookie): Always use process ID.
459 2014-02-27 Jan Kratochvil <jan.kratochvil@redhat.com>
461 Additional PR 8882 fix.
462 * solib-svr4.c (svr4_read_so_list): Change first to first_l_name.
464 2014-02-27 Pedro Alves <palves@redhat.com>
466 * nat/linux-waitpid.c (my_waitpid): Only block signals if WNOHANG
469 2014-02-27 Pedro Alves <palves@redhat.com>
472 * linux-nat.c (status_to_str): Moved to nat/linux-waitpid.c.
473 * nat/linux-waitpid.c: Include string.h.
474 (status_to_str): Moved here and made extern.
475 * nat/linux-waitpid.h (status_to_str): New declaration.
477 2014-02-27 Hui Zhu <hui@codesourcery.com>
480 * infrun.c (ptid_match): Move ...
481 * common/ptid.c (ptid_match): ... here.
482 * inferior.h (ptid_match): Move ...
483 * common/ptid.h (ptid_match): ... here.
485 2014-02-27 Mark Kettenis <kettenis@gnu.org>
487 * mips64obsd-tdep.c (mips64obsd_init_abi): Call obsd_init_abi.
488 * configure.tgt (mips64*-*-openbsd*): Add obsd-tdep.c to
491 2014-02-27 Mark Kettenis <kettenis@gnu.org>
493 * obsd-tdep.c (obsd_auxv_parse): New function.
494 (obsd_init_abi): Set auxv_parse.
496 * gdbarch.sh (auxv_parse): New.
497 * gdbarch.h: Regenerated.
498 * gdbarch.c: Regenerated.
499 * auxv.c (target_auxv_parse): Call gdbarch_parse_auxv if provided.
501 2014-02-26 Ludovic Courtès <ludo@gnu.org>
503 * guile/scm-value.c (gdbscm_history_append_x): New function.
504 (value_functions): Add it.
506 2014-02-27 Joel Brobecker <brobecker@adacore.com>
508 * dwarf2read.c (attr_value_as_address): New function.
509 (dwarf2_find_base_address, read_call_site_scope): Use
510 attr_value_as_address in place of DW_ADDR.
511 (dwarf2_get_pc_bounds): Use attr_value_as_address to get
512 the low and high addresses. Slight rework of the handling
513 of the high pc being a constant form, and limit it to
514 DWARF verson 4 or higher.
515 (dwarf2_record_block_ranges): Likewise.
516 (read_partial_die): Likewise.
517 (new_symbol_full): Use attr_value_as_address in place of DW_ADDR.
519 2014-02-26 Tom Tromey <tromey@redhat.com>
521 * exec.c (exec_file_attach): Hold a reference to exec_bfd.
523 2014-02-26 Tom Tromey <tromey@redhat.com>
525 * elfread.c (elf_read_minimal_symbols): Return early if
526 minimal symbols have already been read. Add "ei" parameter.
527 (elf_symfile_read): Call elf_read_minimal_symbols earlier.
528 * minsyms.c (prim_record_minimal_symbol_full): Update.
529 * objfiles.h (struct objstats) <n_minsyms>: Move...
530 (struct objfile_per_bfd_storage) <n_minsyms>: ... here.
531 * symmisc.c (print_objfile_statistics): Update.
533 2014-02-26 Tom Tromey <tromey@redhat.com>
535 * elfread.c (elf_read_minimal_symbols): New function, from
537 (elf_symfile_read): Call it.
539 2014-02-26 Tom Tromey <tromey@redhat.com>
541 * minsyms.c (lookup_minimal_symbol, iterate_over_minimal_symbols)
542 (lookup_minimal_symbol_text, lookup_minimal_symbol_by_pc_name)
543 (lookup_minimal_symbol_solib_trampoline)
544 (lookup_minimal_symbol_by_pc_section_1)
545 (lookup_minimal_symbol_and_objfile): Update.
546 (prim_record_minimal_symbol_full): Use the per-BFD obstack.
547 Don't allocate a minimal symbol if minsyms have already been read.
548 (build_minimal_symbol_hash_tables): Update.
549 (install_minimal_symbols): Do nothing if minsyms already read.
550 Use the per-BFD obstack.
551 (terminate_minimal_symbol_table): Use the per-BFD obstack.
552 * objfiles.c (allocate_objfile): Call
553 terminate_minimal_symbol_table later.
554 (have_minimal_symbols): Update.
555 * objfiles.h (struct objfile_per_bfd_storage) <msymbols,
556 minimal_symbol_count, msymbol_hash, msymbol_demangled_hash>:
557 Move from struct objfile.
558 <minsyms_read>: New field.
559 (struct objfile) <msymbols, minimal_symbol_count,
560 msymbol_hash, msymbol_demangled_hash>: Move.
561 (ALL_OBJFILE_MSYMBOLS): Update.
562 * symfile.c (read_symbols): Set minsyms_read.
563 (reread_symbols): Update.
564 * symmisc.c (dump_objfile, dump_msymbols): Update.
566 2014-02-26 Tom Tromey <tromey@redhat.com>
568 * minsyms.c (msymbols_sort): Remove.
569 * minsyms.h (msymbols_sort): Remove.
570 * objfiles.c (objfile_relocate1): Don't relocate minsyms.
571 * symtab.h (MSYMBOL_VALUE_ADDRESS): Use objfile offsets.
572 * elfread.c (elf_symtab_read): Don't add section offsets.
573 * xcoffread.c (record_minimal_symbol): Don't add section offset
574 to minimal symbol address.
575 * somread.c (text_offset, data_offset): Remove.
576 (som_symtab_read): Don't add section offsets to minimal symbol
578 * coff-pe-read.c (add_pe_forwarded_sym, read_pe_exported_syms):
579 Don't add section offsets to minimal symbols.
580 * coffread.c (coff_symtab_read): Don't add section offsets
581 to minimal symbol addresses.
582 * machoread.c (macho_symtab_add_minsym): Don't add section offset
583 to minimal symbol addresses.
584 * mipsread.c (read_alphacoff_dynamic_symtab): Don't add
585 section offset to minimal symbol addresses.
586 * mdebugread.c (parse_partial_symbols): Don't add section
587 offset to minimal symbol addresses.
588 * dbxread.c (read_dbx_dynamic_symtab): Don't add section
589 offset to minimal symbol addresses.
591 2014-02-26 Tom Tromey <tromey@redhat.com>
593 * ada-lang.c (ada_main_name): Update.
594 (ada_add_standard_exceptions): Update.
595 * ada-tasks.c (ada_tasks_inferior_data_sniffer): Update.
596 * aix-thread.c (pdc_symbol_addrs, pd_enable): Update.
597 * arm-tdep.c (skip_prologue_function, arm_skip_stub): Update.
598 * auxv.c (ld_so_xfer_auxv): Update.
599 * avr-tdep.c (avr_scan_prologue): Update.
600 * ax-gdb.c (gen_var_ref): Update.
601 * blockframe.c (get_pc_function_start)
602 (find_pc_partial_function_gnu_ifunc): Update.
603 * breakpoint.c (create_overlay_event_breakpoint)
604 (create_longjmp_master_breakpoint)
605 (create_std_terminate_master_breakpoint)
606 (create_exception_master_breakpoint): Update.
607 * bsd-uthread.c (bsd_uthread_lookup_address): Update.
608 * c-valprint.c (c_val_print): Update.
609 * coff-pe-read.c (add_pe_forwarded_sym): Update.
610 * common/agent.c (agent_look_up_symbols): Update.
611 * dbxread.c (find_stab_function_addr, end_psymtab): Update.
612 * dwarf2loc.c (call_site_to_target_addr): Update.
613 * dwarf2read.c (dw2_find_pc_sect_symtab): Update.
614 * elfread.c (elf_gnu_ifunc_record_cache)
615 (elf_gnu_ifunc_resolve_by_got): Update.
616 * findvar.c (default_read_var_value): Update.
617 * frame.c (inside_main_func): Update.
618 * frv-tdep.c (frv_frame_this_id): Update.
619 * glibc-tdep.c (glibc_skip_solib_resolver): Update.
620 * gnu-v3-abi.c (gnuv3_get_typeid, gnuv3_skip_trampoline):
622 * hppa-hpux-tdep.c (hppa64_hpux_search_dummy_call_sequence)
623 (hppa_hpux_find_dummy_bpaddr): Update.
624 * hppa-tdep.c (hppa_symbol_address): Update.
625 * infcmd.c (until_next_command): Update.
626 * jit.c (jit_read_descriptor, jit_breakpoint_re_set_internal):
628 * linespec.c (minsym_found, add_minsym): Update.
629 * linux-nat.c (get_signo): Update.
630 * linux-thread-db.c (inferior_has_bug): Update.
631 * m32c-tdep.c (m32c_return_value)
632 (m32c_m16c_address_to_pointer): Update.
633 * m32r-tdep.c (m32r_frame_this_id): Update.
634 * m68hc11-tdep.c (m68hc11_get_register_info): Update.
635 * machoread.c (macho_resolve_oso_sym_with_minsym): Update.
636 * maint.c (maintenance_translate_address): Update.
637 * minsyms.c (lookup_minimal_symbol_by_pc_name): Update.
638 (frob_address): New function.
639 (lookup_minimal_symbol_by_pc_section_1): Use raw addresses,
640 frob_address. Rename parameter to "pc_in".
641 (compare_minimal_symbols, compact_minimal_symbols): Use raw
643 (find_solib_trampoline_target, minimal_symbol_upper_bound):
645 * mips-linux-tdep.c (mips_linux_skip_resolver): Update.
646 * mips-tdep.c (mips_skip_pic_trampoline_code): Update.
647 * objc-lang.c (find_objc_msgsend): Update.
648 * objfiles.c (objfile_relocate1): Update.
649 * obsd-tdep.c (obsd_skip_solib_resolver): Update.
650 * p-valprint.c (pascal_val_print): Update.
651 * parse.c (write_exp_msymbol): Update.
652 * ppc-linux-tdep.c (ppc_linux_spe_context_lookup)
653 (ppc_elfv2_skip_entrypoint): Update.
654 * ppc-sysv-tdep.c (convert_code_addr_to_desc_addr): Update.
655 * printcmd.c (build_address_symbolic, msym_info)
656 (address_info): Update.
657 * proc-service.c (ps_pglobal_lookup): Update.
658 * psymtab.c (find_pc_sect_psymtab_closer)
659 (find_pc_sect_psymtab, find_pc_sect_symtab_from_partial):
660 Change msymbol parameter to bound_minimal_symbol.
661 * ravenscar-thread.c (get_running_thread_id): Update.
662 * remote.c (remote_check_symbols): Update.
663 * sh64-tdep.c (sh64_elf_make_msymbol_special): Use raw
665 * sol2-tdep.c (sol2_skip_solib_resolver): Update.
666 * solib-dsbt.c (lm_base): Update.
667 * solib-frv.c (lm_base, main_got): Update.
668 * solib-irix.c (locate_base): Update.
669 * solib-som.c (som_solib_create_inferior_hook)
670 (link_map_start): Update.
671 * solib-spu.c (spu_enable_break, ocl_enable_break): Update.
672 * solib-svr4.c (elf_locate_base, enable_break): Update.
673 * spu-tdep.c (spu_get_overlay_table, spu_catch_start)
674 (flush_ea_cache): Update.
675 * stabsread.c (define_symbol, scan_file_globals): Update.
676 * stack.c (find_frame_funname): Update.
677 * symfile-debug.c (debug_qf_expand_symtabs_matching)
678 (debug_qf_find_pc_sect_symtab): Update.
679 * symfile.c (simple_read_overlay_table)
680 (simple_overlay_update): Update.
681 * symfile.h (struct quick_symbol_functions)
682 <find_pc_sect_symtab>: Change type of msymbol to
683 bound_minimal_symbol.
684 * symmisc.c (dump_msymbols): Update.
685 * symtab.c (find_pc_sect_symtab_via_partial)
686 (find_pc_sect_psymtab, find_pc_sect_line, skip_prologue_sal)
687 (search_symbols, print_msymbol_info): Update.
688 * symtab.h (MSYMBOL_VALUE_RAW_ADDRESS): New macro.
689 (MSYMBOL_VALUE_ADDRESS): Redefine.
690 (BMSYMBOL_VALUE_ADDRESS): New macro.
691 * tracepoint.c (scope_info): Update.
692 * tui/tui-disasm.c (tui_find_disassembly_address)
693 (tui_get_begin_asm_address): Update.
694 * valops.c (find_function_in_inferior): Update.
695 * value.c (value_static_field, value_fn_field): Update.
697 2014-02-26 Tom Tromey <tromey@redhat.com>
699 * ada-lang.c (ada_update_initial_language): Update.
700 (ada_main_name, ada_has_this_exception_support): Update.
701 * ada-tasks.c (ada_tasks_inferior_data_sniffer): Update.
702 * aix-thread.c (pdc_symbol_addrs, pd_enable): Update.
703 * arm-tdep.c (arm_skip_stub): Update.
704 * auxv.c (ld_so_xfer_auxv): Update.
705 * avr-tdep.c (avr_scan_prologue): Update.
706 * ax-gdb.c (gen_var_ref): Update.
707 * breakpoint.c (struct breakpoint_objfile_data)
708 <overlay_msym, longjmp_msym, terminate_msym, exception_msym>: Change
709 type to bound_minimal_symbol.
710 (create_overlay_event_breakpoint)
711 (create_longjmp_master_breakpoint)
712 (create_std_terminate_master_breakpoint)
713 (create_exception_master_breakpoint): Update.
714 * bsd-uthread.c (bsd_uthread_lookup_address): Update.
715 * c-exp.y (classify_name): Update.
716 * coffread.c (coff_symfile_read): Update.
717 * common/agent.c (agent_look_up_symbols): Update.
718 * d-lang.c (d_main_name): Update.
719 * dbxread.c (find_stab_function_addr, end_psymtab): Update.
720 * dec-thread.c (enable_dec_thread): Update.
721 * dwarf2loc.c (call_site_to_target_addr): Update.
722 * elfread.c (elf_gnu_ifunc_resolve_by_got): Update.
723 * eval.c (evaluate_subexp_standard): Update.
724 * findvar.c (struct minsym_lookup_data) <result>: Change type
725 to bound_minimal_symbol.
727 (minsym_lookup_iterator_cb, default_read_var_value): Update.
728 * frame.c (inside_main_func): Update.
729 * frv-tdep.c (frv_frame_this_id): Update.
730 * gcore.c (call_target_sbrk): Update.
731 * glibc-tdep.c (glibc_skip_solib_resolver): Update.
732 * gnu-v3-abi.c (gnuv3_get_typeid, gnuv3_skip_trampoline):
734 * go-lang.c (go_main_name): Update.
735 * hppa-hpux-tdep.c (hppa_hpux_skip_trampoline_code)
736 (hppa_hpux_find_import_stub_for_addr): Update.
737 * hppa-tdep.c (hppa_extract_17, hppa_lookup_stub_minimal_symbol):
738 Update. Change return type.
739 * hppa-tdep.h (hppa_lookup_stub_minimal_symbol): Change return
741 * jit.c (jit_breakpoint_re_set_internal): Update.
742 * linux-fork.c (inferior_call_waitpid, checkpoint_command):
744 * linux-nat.c (get_signo): Update.
745 * linux-thread-db.c (inferior_has_bug): Update
746 * m32c-tdep.c (m32c_return_value)
747 (m32c_m16c_address_to_pointer): Update.
748 * m32r-tdep.c (m32r_frame_this_id): Update.
749 * m68hc11-tdep.c (m68hc11_get_register_info): Update.
750 * machoread.c (macho_resolve_oso_sym_with_minsym): Update.
751 * minsyms.c (lookup_minimal_symbol_internal): Rename to
752 lookup_minimal_symbol. Change return type.
753 (lookup_minimal_symbol): Remove.
754 (lookup_bound_minimal_symbol): Update.
755 (lookup_minimal_symbol_text): Change return type.
756 (lookup_minimal_symbol_solib_trampoline): Change return type.
757 * minsyms.h (lookup_minimal_symbol, lookup_minimal_symbol_text)
758 (lookup_minimal_symbol_solib_trampoline): Change return type.
759 * mips-linux-tdep.c (mips_linux_skip_resolver): Update.
760 * objc-lang.c (lookup_objc_class, lookup_child_selector)
761 (value_nsstring, find_imps): Update.
762 * obsd-tdep.c (obsd_skip_solib_resolver): Update.
763 * p-lang.c (pascal_main_name): Update.
764 * ppc-linux-tdep.c (ppc_linux_spe_context_lookup): Update.
765 * ppc-sysv-tdep.c (convert_code_addr_to_desc_addr): Update.
766 * proc-service.c (ps_pglobal_lookup): Update.
767 * ravenscar-thread.c (get_running_thread_msymbol): Change
769 (has_ravenscar_runtime, get_running_thread_id): Update.
770 * remote.c (remote_check_symbols): Update.
771 * sol-thread.c (ps_pglobal_lookup): Update.
772 * sol2-tdep.c (sol2_skip_solib_resolver): Update.
773 * solib-dsbt.c (lm_base): Update.
774 * solib-frv.c (lm_base, frv_relocate_section_addresses):
776 * solib-irix.c (locate_base): Update.
777 * solib-som.c (som_solib_create_inferior_hook)
778 (som_solib_desire_dynamic_linker_symbols, link_map_start):
780 * solib-spu.c (spu_enable_break): Update.
781 * solib-svr4.c (elf_locate_base, enable_break): Update.
782 * spu-tdep.c (spu_get_overlay_table, spu_catch_start)
783 (flush_ea_cache): Update.
784 * stabsread.c (define_symbol): Update.
785 * symfile.c (simple_read_overlay_table): Update.
786 * symtab.c (find_pc_sect_line): Update.
787 * tracepoint.c (scope_info): Update.
788 * tui-disasm.c (tui_get_begin_asm_address): Update.
789 * value.c (value_static_field): Update.
791 2014-02-26 Tom Tromey <tromey@redhat.com>
793 * minsyms.c (prim_record_minimal_symbol_full): Use
794 SET_MSYMBOL_VALUE_ADDRESS.
795 * objfiles.c (objfile_relocate1): Use SET_MSYMBOL_VALUE_ADDRESS.
796 * sh64-tdep.c (sh64_elf_make_msymbol_special): Use
797 SET_MSYMBOL_VALUE_ADDRESS.
798 * symtab.h (MSYMBOL_VALUE_ADDRESS): Expand to an rvalue.
799 (SET_MSYMBOL_VALUE_ADDRESS): New macro.
801 2014-02-26 Tom Tromey <tromey@redhat.com>
803 * symtab.h (struct minimal_symbol) <mginfo>: Rename from ginfo.
804 (MSYMBOL_VALUE, MSYMBOL_VALUE_ADDRESS, MSYMBOL_VALUE_BYTES)
805 (MSYMBOL_BLOCK_VALUE, MSYMBOL_VALUE_CHAIN, MSYMBOL_LANGUAGE)
806 (MSYMBOL_SECTION, MSYMBOL_OBJ_SECTION, MSYMBOL_NATURAL_NAME)
807 (MSYMBOL_LINKAGE_NAME, MSYMBOL_PRINT_NAME, MSYMBOL_DEMANGLED_NAME)
808 (MSYMBOL_SET_LANGUAGE, MSYMBOL_SEARCH_NAME)
809 (MSYMBOL_MATCHES_SEARCH_NAME, MSYMBOL_SET_NAMES): New macros.
810 * ada-lang.c (ada_main_name): Update.
811 (ada_lookup_simple_minsym): Update.
812 (ada_make_symbol_completion_list): Update.
813 (ada_add_standard_exceptions): Update.
814 * ada-tasks.c (read_atcb, ada_tasks_inferior_data_sniffer): Update.
815 * aix-thread.c (pdc_symbol_addrs, pd_enable): Update.
816 * amd64-windows-tdep.c (amd64_skip_main_prologue): Update.
817 * arm-tdep.c (skip_prologue_function): Update.
818 (arm_skip_stack_protector, arm_skip_stub): Update.
819 * arm-wince-tdep.c (arm_pe_skip_trampoline_code): Update.
820 (arm_wince_skip_main_prologue): Update.
821 * auxv.c (ld_so_xfer_auxv): Update.
822 * avr-tdep.c (avr_scan_prologue): Update.
823 * ax-gdb.c (gen_var_ref): Update.
824 * block.c (call_site_for_pc): Update.
825 * blockframe.c (get_pc_function_start): Update.
826 (find_pc_partial_function_gnu_ifunc): Update.
827 * breakpoint.c (create_overlay_event_breakpoint): Update.
828 (create_longjmp_master_breakpoint): Update.
829 (create_std_terminate_master_breakpoint): Update.
830 (create_exception_master_breakpoint): Update.
831 (resolve_sal_pc): Update.
832 * bsd-uthread.c (bsd_uthread_lookup_address): Update.
833 * btrace.c (ftrace_print_function_name, ftrace_function_switched):
835 * c-valprint.c (c_val_print): Update.
836 * coff-pe-read.c (add_pe_forwarded_sym): Update.
837 * coffread.c (coff_symfile_read): Update.
838 * common/agent.c (agent_look_up_symbols): Update.
839 * dbxread.c (find_stab_function_addr): Update.
840 (end_psymtab): Update.
841 * dwarf2loc.c (call_site_to_target_addr): Update.
842 (func_verify_no_selftailcall): Update.
843 (tailcall_dump): Update.
844 (call_site_find_chain_1): Update.
845 (dwarf_expr_reg_to_entry_parameter): Update.
846 * elfread.c (elf_gnu_ifunc_record_cache): Update.
847 (elf_gnu_ifunc_resolve_by_got): Update.
848 * f-valprint.c (info_common_command): Update.
849 * findvar.c (read_var_value): Update.
850 * frame.c (get_prev_frame_1): Update.
851 (inside_main_func): Update.
852 * frv-tdep.c (frv_skip_main_prologue): Update.
853 (frv_frame_this_id): Update.
854 * glibc-tdep.c (glibc_skip_solib_resolver): Update.
855 * gnu-v2-abi.c (gnuv2_value_rtti_type): Update.
856 * gnu-v3-abi.c (gnuv3_rtti_type): Update.
857 (gnuv3_skip_trampoline): Update.
858 * hppa-hpux-tdep.c (hppa32_hpux_in_solib_call_trampoline): Update.
859 (hppa64_hpux_in_solib_call_trampoline): Update.
860 (hppa_hpux_skip_trampoline_code): Update.
861 (hppa64_hpux_search_dummy_call_sequence): Update.
862 (hppa_hpux_find_import_stub_for_addr): Update.
863 (hppa_hpux_find_dummy_bpaddr): Update.
864 * hppa-tdep.c (hppa_symbol_address)
865 (hppa_lookup_stub_minimal_symbol): Update.
866 * i386-tdep.c (i386_skip_main_prologue): Update.
867 (i386_pe_skip_trampoline_code): Update.
868 * ia64-tdep.c (ia64_convert_from_func_ptr_addr): Update.
869 * infcall.c (get_function_name): Update.
870 * infcmd.c (until_next_command): Update.
871 * jit.c (jit_breakpoint_re_set_internal): Update.
872 (jit_inferior_init): Update.
873 * linespec.c (minsym_found): Update.
874 (add_minsym): Update.
875 * linux-fork.c (info_checkpoints_command): Update.
876 * linux-nat.c (get_signo): Update.
877 * linux-thread-db.c (inferior_has_bug): Update.
878 * m32c-tdep.c (m32c_return_value): Update.
879 (m32c_m16c_address_to_pointer): Update.
880 (m32c_m16c_pointer_to_address): Update.
881 * m32r-tdep.c (m32r_frame_this_id): Update.
882 * m68hc11-tdep.c (m68hc11_get_register_info): Update.
883 * machoread.c (macho_resolve_oso_sym_with_minsym): Update.
884 * maint.c (maintenance_translate_address): Update.
885 * minsyms.c (add_minsym_to_hash_table): Update.
886 (add_minsym_to_demangled_hash_table): Update.
887 (msymbol_objfile): Update.
888 (lookup_minimal_symbol): Update.
889 (iterate_over_minimal_symbols): Update.
890 (lookup_minimal_symbol_text): Update.
891 (lookup_minimal_symbol_by_pc_name): Update.
892 (lookup_minimal_symbol_solib_trampoline): Update.
893 (lookup_minimal_symbol_by_pc_section_1): Update.
894 (lookup_minimal_symbol_and_objfile): Update.
895 (prim_record_minimal_symbol_full): Update.
896 (compare_minimal_symbols): Update.
897 (compact_minimal_symbols): Update.
898 (build_minimal_symbol_hash_tables): Update.
899 (install_minimal_symbols): Update.
900 (terminate_minimal_symbol_table): Update.
901 (find_solib_trampoline_target): Update.
902 (minimal_symbol_upper_bound): Update.
903 * mips-linux-tdep.c (mips_linux_skip_resolver): Update.
904 * mips-tdep.c (mips_stub_frame_sniffer): Update.
905 (mips_skip_pic_trampoline_code): Update.
906 * msp430-tdep.c (msp430_skip_trampoline_code): Update.
907 * objc-lang.c (selectors_info): Update.
908 (classes_info): Update.
909 (find_methods): Update.
911 (find_objc_msgsend): Update.
912 * objfiles.c (objfile_relocate1): Update.
913 * objfiles.h (ALL_OBJFILE_MSYMBOLS): Update.
914 * obsd-tdep.c (obsd_skip_solib_resolver): Update.
915 * p-valprint.c (pascal_val_print): Update.
916 * parse.c (write_exp_msymbol): Update.
917 * ppc-linux-tdep.c (powerpc_linux_in_dynsym_resolve_code)
918 (ppc_linux_spe_context_lookup, ppc_elfv2_skip_entrypoint): Update.
919 * ppc-sysv-tdep.c (convert_code_addr_to_desc_addr): Update.
920 * printcmd.c (build_address_symbolic): Update.
922 (address_info): Update.
923 * proc-service.c (ps_pglobal_lookup): Update.
924 * psymtab.c (find_pc_sect_psymtab_closer): Update.
925 (find_pc_sect_psymtab): Update.
926 * python/py-framefilter.c (py_print_frame): Update.
927 * ravenscar-thread.c (get_running_thread_id): Update.
928 * record-btrace.c (btrace_call_history, btrace_get_bfun_name):
930 * remote.c (remote_check_symbols): Update.
931 * rs6000-tdep.c (rs6000_skip_main_prologue): Update.
932 (rs6000_skip_trampoline_code): Update.
933 * sh64-tdep.c (sh64_elf_make_msymbol_special): Update.
934 * sol2-tdep.c (sol2_skip_solib_resolver): Update.
935 * solib-dsbt.c (lm_base): Update.
936 * solib-frv.c (lm_base): Update.
938 * solib-irix.c (locate_base): Update.
939 * solib-som.c (som_solib_create_inferior_hook): Update.
940 (som_solib_desire_dynamic_linker_symbols): Update.
941 (link_map_start): Update.
942 * solib-spu.c (spu_enable_break): Update.
943 (ocl_enable_break): Update.
944 * solib-svr4.c (elf_locate_base): Update.
945 (enable_break): Update.
946 * spu-tdep.c (spu_get_overlay_table): Update.
947 (spu_catch_start): Update.
948 (flush_ea_cache): Update.
949 * stabsread.c (define_symbol): Update.
950 (scan_file_globals): Update.
951 * stack.c (find_frame_funname): Update.
952 (frame_info): Update.
953 * symfile.c (simple_read_overlay_table): Update.
954 (simple_overlay_update): Update.
955 * symmisc.c (dump_msymbols): Update.
956 * symtab.c (fixup_section): Update.
957 (find_pc_sect_line): Update.
958 (skip_prologue_sal): Update.
959 (search_symbols): Update.
960 (print_msymbol_info): Update.
961 (rbreak_command): Update.
962 (MCOMPLETION_LIST_ADD_SYMBOL): New macro.
963 (completion_list_objc_symbol): Update.
964 (default_make_symbol_completion_list_break_on): Update.
965 * tracepoint.c (scope_info): Update.
966 * tui/tui-disasm.c (tui_find_disassembly_address): Update.
967 (tui_get_begin_asm_address): Update.
968 * valops.c (find_function_in_inferior): Update.
969 * value.c (value_static_field): Update.
970 (value_fn_field): Update.
972 2014-02-26 Tom Tromey <tromey@redhat.com>
974 * blockframe.c (find_pc_partial_function_gnu_ifunc): Use
975 bound minimal symbols. Move code that knows about minsym
977 * minsyms.c (minimal_symbol_upper_bound): ... here. New
979 * minsyms.h (minimal_symbol_upper_bound): Declare.
980 * objc-lang.c (find_objc_msgsend): Use bound minimal symbols,
981 minimal_symbol_upper_bound.
983 2014-02-27 Joel Brobecker <brobecker@adacore.com>
985 * python/lib/gdb/printing.py (RegexpCollectionPrettyPrinter):
986 Use the type's name if its basic type does not have a tag.
988 2014-02-27 Joel Brobecker <brobecker@adacore.com>
990 * dwarf2read.c (read_subrange_type): Add comment.
992 2014-02-27 Joel Brobecker <brobecker@adacore.com>
994 * dwarf2read.c (update_enumeration_type_from_children): New
995 function, mostly extracted from process_structure_scope.
996 (read_enumeration_type): Call update_enumeration_type_from_children.
997 (process_enumeration_scope): Do not set THIS_TYPE's flag_unsigned
998 and flag_flag_enum fields.
1000 2014-02-26 Pedro Alves <palves@redhat.com>
1002 * bsd-uthread.c (bsd_uthread_xfer_partial): Delete function.
1003 (bsd_uthread_target): Don't install bsd_uthread_xfer_partial as
1004 to_xfer_partial method.
1006 2014-02-26 Pedro Alves <palves@redhat.com>
1008 * target.c (complete_target_initialization): Don't install
1009 default_xfer_partial as to_xfer_partial hook.
1011 (update_current_target): Don't INHERIT nor de_fault
1012 deprecated_xfer_memory. Delete de_fault macro.
1013 (default_xfer_partial, deprecated_debug_xfer_memory): Delete.
1014 (setup_target_debug): Don't install a deprecated_xfer_memory hook.
1015 * target.h (struct target_ops) <deprecated_xfer_memory>: Delete
1018 2014-02-26 Pedro Alves <palves@redhat.com>
1020 * go32-nat.c (my_write_child): New function.
1021 (go32_xfer_memory): Rewrite as to_xfer_partial helper.
1022 (go32_xfer_partial): New function.
1023 (init_go32_ops): Don't install a deprecated_xfer_memory hook.
1024 Instead install a to_xfer_partial hook.
1026 2014-02-26 Pedro Alves <palves@redhat.com>
1028 * nto-procfs.c (procfs_xfer_memory): Adjust interface as a
1029 to_xfer_partial helper. Rewrite.
1030 (procfs_xfer_partial): New function.
1031 (init_procfs_ops): Don't install a deprecated_xfer_memory hook.
1032 Install a to_xfer_partial hook.
1034 2014-02-26 Pedro Alves <palves@redhat.com>
1036 * remote-m32r-sdi.c (send_data): Constify 'buf' parameter.
1037 (m32r_xfer_memory): Adjust as a to_xfer_partial helper.
1038 (m32r_xfer_partial): New function.
1039 (init_m32r_ops): Don't install a deprecated_xfer_memory hook.
1040 Install a to_xfer_partial hook.
1042 2014-02-26 Pedro Alves <palves@redhat.com>
1044 * remote-mips.c (mips_xfer_memory): Adjust as to_xfer_partial
1046 (mips_xfer_partial): New function.
1047 (_initialize_remote_mips): Don't install a deprecated_xfer_memory
1048 hook. Install a to_xfer_partial hook.
1050 2014-02-26 Joel Brobecker <brobecker@adacore.com>
1052 * gdbtypes.h (create_array_type_with_stride): Add declaration.
1053 * gdbtypes.c (create_array_type_with_stride): New function,
1054 renaming create_array_type, but with an added parameter
1055 called "bit_stride".
1056 (create_array_type): Re-implement using
1057 create_array_type_with_stride.
1058 * dwarf2read.c (read_array_type): Add support for DW_AT_byte_stride
1059 and DW_AT_bit_stride attributes.
1061 2014-02-26 Pedro Alves <palves@redhat.com>
1063 * breakpoint.c (bpstat_check_breakpoint_conditions): Handle
1064 task-specific breakpoints.
1066 2014-02-25 Pedro Alves <palves@redhat.com>
1068 * ia64-linux-nat.c (ia64_linux_xfer_partial): Reimplement
1069 handling of object == TARGET_OBJECT_UNWIND_TABLE.
1071 2014-02-25 Stan Shebs <stan@codesourcery.com>
1073 * defs.h: Annotate comments for Doxygen.
1075 2014-02-25 Tom Tromey <tromey@redhat.com>
1077 * target.h (target_ignore): Don't declare.
1078 * target.c (target_ignore): Remove.
1080 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
1083 * auto-load.c (auto_load_objfile_script_1): Change filename to
1086 2014-02-25 Joel Brobecker <brobecker@adacore.com>
1088 * ia64-linux-nat.c (ia64_linux_xfer_partial): Add function
1089 documentation. Adjust prototype to match the target_ops
1090 to_xfer_partial method. Adjust implementation accordingly.
1092 2014-02-25 Hui Zhu <hui@codesourcery.com>
1094 * target.h (target_ops): Fix TARGET_DEFAULT_RETURN of
1097 2014-02-25 Kevin Buettner <kevinb@redhat.com>
1099 * rl78-tdep.c (RL78_BANK0_RP0_PTR_REGNUM, RL78_BANK0_RP1_PTR_REGNUM)
1100 (RL78_BANK0_RP2_PTR_REGNUM, RL78_BANK0_RP3_PTR_REGNUM)
1101 (RL78_BANK1_RP0_PTR_REGNUM, RL78_BANK1_RP1_PTR_REGNUM)
1102 (RL78_BANK1_RP2_PTR_REGNUM, RL78_BANK1_RP3_PTR_REGNUM)
1103 (RL78_BANK2_RP0_PTR_REGNUM, RL78_BANK2_RP1_PTR_REGNUM)
1104 (RL78_BANK2_RP2_PTR_REGNUM, RL78_BANK2_RP3_PTR_REGNUM)
1105 (RL78_BANK3_RP0_PTR_REGNUM, RL78_BANK3_RP1_PTR_REGNUM)
1106 (RL78_BANK3_RP2_PTR_REGNUM, RL78_BANK3_RP3_PTR_REGNUM):
1108 (rl78_register_type): Use a data pointer type for SP and
1109 new pseudo registers mentioned above. Use a 16 bit integer
1110 type for all other register pairs.
1111 (rl78_register_name, rl78_g10_register_name): Update for
1112 new pseudo registers.
1113 (rl78_pseudo_register_read): Likewise.
1114 (rl78_pseudo_register_write): Likewise.
1115 (rl78_dwarf_reg_to_regnum): Return register numbers representing
1116 to the newly added pseudo registers.
1118 2014-02-24 Doug Evans <dje@google.com>
1120 * value.c (record_latest_value): Fix comment.
1121 * printcmd.c (print_command_1): Remove code to handle -1 return from
1122 record_latest_value.
1124 2014-02-24 Pedro Alves <palves@redhat.com>
1126 * procfs.c (procfs_target): Don't install procfs_xfer_memory as
1127 deprecated_xfer_memory hook.
1128 (procfs_xfer_partial): Call procfs_xfer_memory instead
1129 of the deprecated_xfer_memory target hook.
1130 (procfs_xfer_memory): Adjust interface as a to_xfer_partial
1133 2014-02-24 Yuanhui Zhang <asmwarrior@gmail.com>
1135 * windows-nat.c (windows_xfer_shared_libraries): Return
1136 TARGET_XFER_EOF if LEN is zero to fix an assert failure when
1137 requested object is TARGET_OBJECT_LIBRARIES.
1139 2014-02-24 Yao Qi <yao@codesourcery.com>
1141 * target.h (enum target_xfer_status)
1142 <TARGET_XFER_E_UNAVAILABLE>: Rename it to ...
1143 <TARGET_XFER_UNAVAILABLE>: ... it with setting value 2
1145 * corefile.c (memory_error_message): User updated.
1146 * exec.c (section_table_read_available_memory): Likewise.
1147 * record-btrace.c (record_btrace_xfer_partial): Likewise.
1148 * target.c (target_xfer_status_to_string): Likewise.
1149 (raw_memory_xfer_partial): Likewise.
1150 (memory_xfer_partial_1, target_xfer_partial): Likewise.
1151 * valops.c (read_value_memory): Likewise.
1152 * exec.h: Update comments.
1154 2014-02-24 Yao Qi <yao@codesourcery.com>
1156 * target.c (target_xfer_status_to_string): Rename argument err
1158 * target.h (target_xfer_status_to_string): Update declaration.
1159 Replace target_xfer_error_to_string with
1160 target_xfer_status_to_string in comment.
1162 2014-02-24 Yao Qi <yao@codesourcery.com>
1164 * mips-linux-nat.c (super_close): Update its type.
1165 (mips_linux_close): Pass 'self' to super_close.
1167 2014-02-24 Yao Qi <yao@codesourcery.com>
1169 * target.h (TARGET_XFER_STATUS_ERROR_P): Remove.
1170 * corefile.c (read_memory): Adjusted.
1171 * target.c (target_write_with_progress): Adjusted.
1173 2014-02-23 Yao Qi <yao@codesourcery.com>
1177 2013-10-25 Yao Qi <yao@codesourcery.com>
1179 * remote.c (remote_traceframe_info): Return early if
1180 traceframe is not selected.
1182 2013-07-19 Yao Qi <yao@codesourcery.com>
1184 * target.c (update_current_target): Change the default action
1185 of 'to_traceframe_info' from tcomplain to return_zero.
1186 * target.h (struct target_ops) <to_traceframe_info>: Add more
1189 2014-02-23 Yao Qi <yao@codesourcery.com>
1191 * valops.c (read_value_memory): Rewrite it. Call
1192 target_xfer_partial in a loop.
1193 * exec.h (section_table_available_memory): Remove declaration.
1194 Move comments to ...
1195 * exec.c (section_table_available_memory): ... here. Make it
1198 2014-02-23 Yao Qi <yao@codesourcery.com>
1200 * exec.c (section_table_read_available_memory): New function.
1201 * exec.h (section_table_read_available_memory): Declare.
1202 * ctf.c (ctf_xfer_partial): Call
1203 section_table_read_available_memory.
1204 * tracefile-tfile.c (tfile_xfer_partial): Likewise.
1206 2014-02-23 Yao Qi <yao@codesourcery.com>
1208 * ctf.c (ctf_xfer_partial): Move code to ...
1209 * exec.c (exec_read_partial_read_only): ... it. New function.
1210 * tracefile-tfile.c (tfile_xfer_partial): Likewise.
1211 * tracefile.c: Include "exec.h".
1212 * exec.h (exec_read_partial_read_only): Declare.
1214 2014-02-23 Yao Qi <yao@codesourcery.com>
1216 * tracefile-tfile.c (tfile_has_all_memory): Remove.
1217 (tfile_has_memory): Remove.
1218 (init_tfile_ops): Don't set fields to_has_all_memory and
1219 to_has_memory of tfile_ops.
1220 * tracefile.c (tracefile_has_all_memory): New function.
1221 (tracefile_has_memory): New function.
1222 (init_tracefile_ops): Initialize fields to_has_all_memory and
1223 to_has_memory of 'ops'.
1225 2014-02-23 Yao Qi <yao@codesourcery.com>
1227 * ctf.c (ctf_has_stack, ctf_has_registers): Remove.
1228 (ctf_thread_alive, ctf_get_trace_status): Remove.
1229 (init_ctf_ops): Don't set some fields of ctf_ops. Call
1231 * tracefile-tfile.c (tfile_get_trace_status): Remove.
1232 (tfile_has_stack, tfile_has_registers): Remove.
1233 (tfile_thread_alive): Remove.
1234 (init_tfile_ops): Don't set some fields of tfile_ops. Call
1236 * tracefile.c (tracefile_has_stack): New function.
1237 (tracefile_has_registers): New function.
1238 (tracefile_thread_alive): New function.
1239 (tracefile_get_trace_status): New function.
1240 (init_tracefile_ops): New function.
1241 * tracefile.h (init_tracefile_ops): Declare.
1243 2014-02-23 Yao Qi <yao@codesourcery.com>
1245 * tracepoint.c (TFILE_PID): Move it to tracefile-tfile.c.
1246 (O_LARGEFILE): Likewise.
1247 (tfile_ops): Likewise.
1248 (TRACE_HEADER_SIZE): Likewise.
1249 (trace_fd, trace_frames_offset, cur_offset): Likewise.
1250 (cur_data_size): Likewise.
1251 (tfile_read, tfile_open, tfile_interp_line): Likewise.
1252 (tfile_close, tfile_files_info): Likewise.
1253 (tfile_get_trace_status): Likewise.
1254 (tfile_get_tracepoint_status): Likewise.
1255 (tfile_get_traceframe_address): Likewise.
1256 (tfile_trace_find, match_blocktype): Likewise.
1257 (traceframe_walk_blocks, traceframe_find_block_type): Likewise.
1258 (tfile_fetch_registers, tfile_xfer_partial): Likewise.
1259 (tfile_get_trace_state_variable_value): Likewise.
1260 (tfile_has_all_memory, tfile_has_memory): Likewise.
1261 (tfile_has_stack, tfile_has_registers): Likewise.
1262 (tfile_thread_alive, build_traceframe_info): Likewise.
1263 (tfile_traceframe_info, init_tfile_ops): Likewise.
1264 (_initialize_tracepoint): Don't call init_tfile_ops
1265 and add_target_with_completer.
1266 * tracefile-tfile.c: Include regcache.h, inferior.h, gdbthread.h,
1267 exec.h, completer.h and filenames.h.
1268 (_initialize_tracefile_tfile): New function.
1270 2014-02-23 Yao Qi <yao@codesourcery.com>
1272 * Makefile.in (REMOTE_OBS): Append tracefile.o and
1274 (HFILES_NO_SRCDIR): Add tracefile.h.
1275 * ctf.c: Include "tracefile.h".
1276 * tracefile.h: New file.
1277 * tracefile.c: New file
1278 * tracefile-tfile.c: New file.
1279 * tracepoint.c: Include "tracefile.h".
1280 (free_uploaded_tps, free_uploaded_tsvs): Remove declarations.
1281 (stop_reason_names): Add const.
1282 (trace_file_writer_xfree): Move it to tracefile.c.
1283 (trace_save, trace_save_command, trace_save_tfile): Likewise.
1284 (trace_save_ctf): Likewise.
1285 (struct tfile_trace_file_writer): Move it to tracefile-tfile.c.
1286 (tfile_target_save, tfile_dtor, tfile_start): Likewise.
1287 (tfile_write_header, tfile_write_regblock_type): Likewise.
1288 (tfile_write_status, tfile_write_uploaded_tsv): Likewise.
1289 (tfile_write_uploaded_tp, tfile_write_definition_end): Likewise.
1290 (tfile_write_raw_data, tfile_end): Likewise.
1291 (tfile_trace_file_writer_new): Likewise.
1292 (free_uploaded_tp): Make it extern.
1293 (free_uploaded_tsv): Make it extern.
1294 (_initialize_tracepoint): Move code to register command 'tsave'
1296 * tracepoint.h (stop_reason_names): Declare.
1297 (struct trace_frame_write_ops): Move it to tracefile.h.
1298 (struct trace_file_write_ops): Likewise.
1299 (struct trace_file_writer): Likewise.
1300 (free_uploaded_tsvs, free_uploaded_tps): Declare.
1302 2014-02-21 Jan Kratochvil <jan.kratochvil@redhat.com>
1305 * common/linux-osdata.c (linux_common_core_of_thread): Find the end of
1307 (get_cores_used_by_process): New parameter num_cores, use it.
1308 (linux_xfer_osdata_processes): Pass num_cores to it.
1309 * linux-tdep.c (linux_info_proc, linux_fill_prpsinfo): Find the end of
1312 2014-02-21 Andreas Arnez <arnez@vnet.linux.ibm.com>
1314 * target.c (memory_xfer_partial): Fix length arg in call to
1315 breakpoint_xfer_memory.
1317 2014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
1320 * i386-tdep.c (i386_stap_parse_special_token_triplet): Check if a
1321 number comes after the + or - signs. Adjust length of register
1322 name to be extracted.
1324 2014-02-20 Tom Tromey <tromey@redhat.com>
1326 * varobj.h (c_varobj_ops, cplus_varobj_ops, java_varobj_ops)
1327 (ada_varobj_ops): Mark "extern".
1329 2014-02-20 Tom Tromey <tromey@redhat.com>
1331 * dbxread.c (read_dbx_symtab): Remove last_o_file_start.
1333 2014-02-20 Doug Evans <xdje42@gmail.com>
1335 * guile/scm-gsmob.c (gdbscm_init_eqable_gsmob): New arg containing_scm.
1336 All callers updated.
1337 (gdbscm_fill_eqable_gsmob_ptr_slot): Delete arg containing_scm.
1338 All callers updated.
1339 * guile/guile-internal.h (gdbscm_init_eqable_gsmob): Update.
1340 (gdbscm_fill_eqable_gsmob_ptr_slot): Update.
1342 2014-02-20 lin zuojian <manjian2006@gmail.com>
1343 Joel Brobecker <brobecker@adacore.com>
1344 Doug Evans <xdje42@gmail.com>
1347 * dwarf2read.c (struct die_info): New member in_process.
1348 (reset_die_in_process): New function.
1349 (process_die): Set it at the start, reset when returning.
1350 (inherit_abstract_dies): Only call process_die if origin_child_die
1351 not already being processed.
1353 2014-02-20 Joel Brobecker <brobecker@adacore.com>
1355 * windows-nat.c (handle_unload_dll): Add function documentation.
1356 (do_initial_windows_stuff): Add comment explaining why we wait
1357 until after inferior initialization has finished before
1358 processing all DLLs.
1360 2014-02-20 Joel Brobecker <brobecker@adacore.com>
1362 * windows-nat.c (get_module_name): Delete.
1363 (windows_get_exec_module_filename): New function, mostly
1364 inspired from get_module_name.
1365 (windows_pid_to_exec_file): Replace call to get_module_name
1366 by call to windows_get_exec_module_filename.
1368 2014-02-20 Joel Brobecker <brobecker@adacore.com>
1370 * windows-nat.c (handle_load_dll): Rewrite this function's
1371 introductory comment. Remove code using get_module_name
1372 to get the DLL's name.
1374 2014-02-20 Joel Brobecker <brobecker@adacore.com>
1376 * windows-nat.c (get_windows_debug_event): Ignore
1377 LOAD_DLL_DEBUG_EVENT and UNLOAD_DLL_DEBUG_EVENT
1378 if windows_initialization_done == 0.
1379 (windows_add_all_dlls): Renames windows_ensure_ntdll_loaded.
1380 Adjust implementation to always load all DLLs.
1381 (do_initial_windows_stuff): Replace call to
1382 windows_ensure_ntdll_loaded by call to windows_add_all_dlls.
1384 2014-02-20 Joel Brobecker <brobecker@adacore.com>
1386 * windows-nat.c (_initialize_windows_nat): Deprecate the
1387 "dll-symbols" command. Turn the "add-shared-symbol-files"
1388 and "assf" aliases into commands, and deprecate them as well.
1389 * NEWS: Add entry explaining that "dll-symbols" and its two
1390 aliases are now deprecated.
1392 2014-02-20 Joel Brobecker <brobecker@adacore.com>
1394 * dec-thread.c (dec_thread_get_ada_task_ptid): Avoid unescaped
1395 new-line in debug string. Remove trailing spaces.
1397 2014-02-19 Stan Shebs <stan@codesourcery.com>
1399 * darwin-nat.c (darwin_xfer_partial): Fix return type.
1401 2014-02-19 Siva Chandra Reddy <sivachandra@google.com>
1403 * NEWS: Add entry for the new feature
1404 * python/py-value.c (valpy_binop): Call value_x_binop for struct
1407 2014-02-19 Stan Shebs <stan@codesourcery.com>
1409 * MAINTAINERS: List Yao Qi as nios2 maintainer.
1411 2014-02-19 Pedro Alves <palves@redhat.com>
1413 * common/ptid.h (struct ptid): Mention that process_stratum
1414 targets should prefer ptid.lwp.
1416 2014-02-19 Pedro Alves <palves@redhat.com>
1418 * remote.c (remote_thread_alive, write_ptid, read_ptid)
1419 (read_ptid, remote_newthread_step, remote_threads_extra_info)
1420 (remote_get_ada_task_ptid, append_resumption, remote_stop_ns)
1421 (threadalive_test, remote_pid_to_str): Use the ptid.lwp field to
1422 store remote thread ids rather than ptid.tid.
1423 (_initialize_remote): Adjust.
1425 2014-02-19 Tom Tromey <tromey@redhat.com>
1427 * target.c (target_get_unwinder): Rewrite.
1428 (target_get_tailcall_unwinder): Rewrite.
1429 * record-btrace.c (record_btrace_to_get_unwinder): New function.
1430 (record_btrace_to_get_tailcall_unwinder): New function.
1431 (init_record_btrace_ops): Update.
1432 * target.h (struct target_ops) <to_get_unwinder,
1433 to_get_tailcall_unwinder>: Now function pointers. Use
1434 TARGET_DEFAULT_RETURN.
1436 2014-02-19 Tom Tromey <tromey@redhat.com>
1438 * nto-procfs.c (procfs_remove_hw_breakpoint): Add 'self'
1440 (init_procfs_ops): Correctly set to_remove_hw_breakpoint.
1442 2014-02-19 Tom Tromey <tromey@redhat.com>
1444 * record-btrace.c (record_btrace_decr_pc_after_break): Delegate
1446 * target-delegates.c: Rebuild.
1447 * target.h (struct target_ops) <to_decr_pc_after_break>: Use
1448 TARGET_DEFAULT_FUNC.
1449 * target.c (default_target_decr_pc_after_break): Rename from
1450 forward_target_decr_pc_after_break. Simplify.
1451 (target_decr_pc_after_break): Rely on delegation.
1453 2014-02-19 Tom Tromey <tromey@redhat.com>
1455 * target.c (update_current_target): Do not INHERIT to_doc or
1456 to_magic. Do not de_fault to_open or to_close.
1458 2014-02-19 Tom Tromey <tromey@redhat.com>
1460 * gcore.h (objfile_find_memory_regions): Declare.
1461 * gcore.c (objfile_find_memory_regions): No longer static. Add
1463 (_initialize_gcore): Don't call exec_set_find_memory_regions.
1464 * exec.c: Include gcore.h.
1465 (exec_set_find_memory_regions): Remove.
1466 (exec_find_memory_regions): Remove.
1467 (exec_do_find_memory_regions): Remove.
1468 (init_exec_ops): Update.
1469 * defs.h (exec_set_find_memory_regions): Remove.
1471 2014-02-19 Tom Tromey <tromey@redhat.com>
1473 * target-delegates.c: Rebuild.
1474 * target.h (struct target_ops) <to_extra_thread_info,
1475 to_thread_name, to_pid_to_exec_file, to_get_section_table,
1476 to_memory_map, to_read_description, to_traceframe_info>: Use NULL,
1477 not 0, in TARGET_DEFAULT_RETURN.
1479 2014-02-19 Tom Tromey <tromey@redhat.com>
1481 * target.c (complete_target_initialization): Remove casts. Use
1482 return_zero_has_execution.
1483 (return_zero): Add "ignore" argument.
1484 (return_zero_has_execution): New function.
1485 (init_dummy_target): Remove casts. Use
1486 return_zero_has_execution.
1488 2014-02-19 Tom Tromey <tromey@redhat.com>
1490 * target.c (update_current_target): Update comments. Do not
1493 2014-02-19 Tom Tromey <tromey@redhat.com>
1495 * arm-linux-nat.c (arm_linux_read_description): Delegate when
1497 * corelow.c (core_read_description): Delegate when needed.
1498 * remote.c (remote_read_description): Delegate when needed.
1499 * target-delegates.c: Rebuild.
1500 * target.c (target_read_description): Rewrite.
1501 * target.h (struct target_ops) <to_read_description>: Update
1502 comment. Use TARGET_DEFAULT_RETURN.
1504 2014-02-19 Tom Tromey <tromey@redhat.com>
1506 * target-delegates.c: Rebuild.
1507 * target.c (update_current_target): Don't inherit or default
1509 (find_default_run_target): Check against delegate_can_run.
1510 * target.h (struct target_ops) <to_can_run>: Use
1511 TARGET_DEFAULT_RETURN.
1513 2014-02-19 Tom Tromey <tromey@redhat.com>
1515 * target-delegates.c: Rebuild.
1516 * target.c (target_disconnect): Unconditionally delegate.
1517 * target.h (struct target_ops) <to_disconnect>: Use
1518 TARGET_DEFAULT_NORETURN.
1520 2014-02-19 Tom Tromey <tromey@redhat.com>
1522 * record.c (record_stop): Unconditionally delegate.
1523 * target-delegates.c: Rebuild.
1524 * target.c (target_stop_recording): Unconditionally delegate.
1525 * target.h (struct target_ops) <to_stop_recording>: Use
1526 TARGET_DEFAULT_IGNORE.
1528 2014-02-19 Tom Tromey <tromey@redhat.com>
1530 * target-delegates.c: Rebuild.
1531 * target.c (target_enable_btrace): Unconditionally delegate.
1532 * target.h (struct target_ops) <to_enable_btrace>: Use
1533 TARGET_DEFAULT_NORETURN.
1535 2014-02-19 Tom Tromey <tromey@redhat.com>
1537 * target-delegates.c: Rebuild.
1538 * target.c (target_read_btrace): Unconditionally delegate.
1539 * target.h (struct target_ops) <to_read_btrace>: Use
1540 TARGET_DEFAULT_NORETURN.
1542 2014-02-19 Tom Tromey <tromey@redhat.com>
1544 * target-delegates.c: Rebuild.
1545 * target.c (target_teardown_btrace): Unconditionally delegate.
1546 * target.h (struct target_ops) <to_teardown_btrace>: Use
1547 TARGET_DEFAULT_NORETURN.
1549 2014-02-19 Tom Tromey <tromey@redhat.com>
1551 * target-delegates.c: Rebuild.
1552 * target.c (target_disable_btrace): Unconditionally delegate.
1553 * target.h (struct target_ops) <to_disable_btrace>: Use
1554 TARGET_DEFAULT_NORETURN.
1556 2014-02-19 Tom Tromey <tromey@redhat.com>
1558 * target-delegates.c: Rebuild.
1559 * target.c (default_search_memory): New function.
1560 (simple_search_memory): Update comment.
1561 (target_search_memory): Unconditionally delegate.
1562 * target.h (struct target_ops) <to_search_memory>: Use
1563 TARGET_DEFAULT_FUNC.
1565 2014-02-19 Tom Tromey <tromey@redhat.com>
1567 * auxv.c (default_auxv_parse): No longer static.
1568 (target_auxv_parse): Unconditionally delegate.
1569 * auxv.h (default_auxv_parse): Declare.
1570 * target-delegates.c: Rebuild.
1571 * target.c: Include auxv.h.
1572 * target.h (struct target_ops) <to_auxv_parse>: Use
1573 TARGET_DEFAULT_FUNC.
1575 2014-02-19 Tom Tromey <tromey@redhat.com>
1577 * target-delegates.c: Rebuild.
1578 * target.c (target_memory_map): Unconditionally delegate.
1579 * target.h (struct target_ops) <to_memory_map>: Use
1580 TARGET_DEFAULT_RETURN.
1582 2014-02-19 Tom Tromey <tromey@redhat.com>
1584 * target-delegates.c: Rebuild.
1585 * target.c (target_thread_alive): Unconditionally delegate.
1586 * target.h (struct target_ops) <to_thread_alive>: Use
1587 TARGET_DEFAULT_RETURN.
1589 2014-02-19 Tom Tromey <tromey@redhat.com>
1591 * target-delegates.c: Rebuild.
1592 * target.c (target_save_record): Unconditionally delegate.
1593 * target.h (struct target_ops) <to_save_record>: Use
1594 TARGET_DEFAULT_NORETURN.
1596 2014-02-19 Tom Tromey <tromey@redhat.com>
1598 * target-delegates.c: Rebuild.
1599 * target.c (target_delete_record): Unconditionally delegate.
1600 * target.h (struct target_ops) <to_delete_record>: Use
1601 TARGET_DEFAULT_NORETURN.
1603 2014-02-19 Tom Tromey <tromey@redhat.com>
1605 * target-delegates.c: Rebuild.
1606 * target.c (target_record_is_replaying): Unconditionally
1608 * target.h (struct target_ops) <to_record_is_replaying>: Use
1609 TARGET_DEFAULT_RETURN.
1611 2014-02-19 Tom Tromey <tromey@redhat.com>
1613 * target-delegates.c: Rebuild.
1614 * target.c (target_goto_record_begin): Unconditionally delegate.
1615 * target.h (struct target_ops) <to_goto_record_begin>: Use
1616 TARGET_DEFAULT_NORETURN.
1618 2014-02-19 Tom Tromey <tromey@redhat.com>
1620 * target-delegates.c: Rebuild.
1621 * target.c (target_goto_record_end): Unconditionally delegate.
1622 * target.h (struct target_ops) <to_goto_record_end>: Use
1623 TARGET_DEFAULT_NORETURN.
1625 2014-02-19 Tom Tromey <tromey@redhat.com>
1627 * target-delegates.c: Rebuild.
1628 * target.c (target_goto_record): Unconditionally delegate.
1629 * target.h (struct target_ops) <to_goto_record>: Use
1630 TARGET_DEFAULT_NORETURN.
1632 2014-02-19 Tom Tromey <tromey@redhat.com>
1634 * target-delegates.c: Rebuild.
1635 * target.c (target_insn_history): Unconditionally delegate.
1636 * target.h (struct target_ops) <to_insn_history>: Use
1637 TARGET_DEFAULT_NORETURN.
1639 2014-02-19 Tom Tromey <tromey@redhat.com>
1641 * target-delegates.c: Rebuild.
1642 * target.c (target_insn_history_from): Unconditionally delegate.
1643 * target.h (struct target_ops) <to_insn_history_from>: Use
1644 TARGET_DEFAULT_NORETURN.
1646 2014-02-19 Tom Tromey <tromey@redhat.com>
1648 * target-delegates.c: Rebuild.
1649 * target.c (target_insn_history_range): Unconditionally delegate.
1650 * target.h (struct target_ops) <to_insn_history_range>: Use
1651 TARGET_DEFAULT_NORETURN.
1653 2014-02-19 Tom Tromey <tromey@redhat.com>
1655 * target-delegates.c: Rebuild.
1656 * target.c (target_call_history): Unconditionally delegate.
1657 * target.h (struct target_ops) <to_call_history>: Use
1658 TARGET_DEFAULT_NORETURN.
1660 2014-02-19 Tom Tromey <tromey@redhat.com>
1662 * target-delegates.c: Rebuild.
1663 * target.c (target_call_history_from): Unconditionally delegate.
1664 * target.h (struct target_ops) <to_call_history_from>: Use
1665 TARGET_DEFAULT_NORETURN.
1667 2014-02-19 Tom Tromey <tromey@redhat.com>
1669 * target-delegates.c: Rebuild.
1670 * target.c (target_call_history_range): Unconditionally delegate.
1671 * target.h (struct target_ops) <to_call_history_range>: Use
1672 TARGET_DEFAULT_NORETURN.
1674 2014-02-19 Tom Tromey <tromey@redhat.com>
1676 * target-delegates.c: Rebuild.
1677 * target.c (target_verify_memory): Unconditionally delegate.
1678 * target.h (struct target_ops) <to_verify_memory>: Use
1679 TARGET_DEFAULT_NORETURN.
1681 2014-02-19 Tom Tromey <tromey@redhat.com>
1683 * target-delegates.c: Rebuild.
1684 * target.c (target_core_of_thread): Unconditionally delegate.
1685 * target.h (struct target_ops) <to_core_of_thread>: Use
1686 TARGET_DEFAULT_RETURN.
1688 2014-02-19 Tom Tromey <tromey@redhat.com>
1690 * target-delegates.c: Rebuild.
1691 * target.c (target_flash_done): Unconditionally delegate.
1692 * target.h (struct target_ops) <to_flash_done>: Use
1693 TARGET_DEFAULT_NORETURN.
1695 2014-02-19 Tom Tromey <tromey@redhat.com>
1697 * target-delegates.c: Rebuild.
1698 * target.c (target_flash_erase): Unconditionally delegate.
1699 * target.h (struct target_ops) <to_flash_erase>: Use
1700 TARGET_DEFAULT_NORETURN.
1702 2014-02-19 Tom Tromey <tromey@redhat.com>
1704 * target-delegates.c: Rebuild.
1705 * target.c (target_get_section_table): Unconditionally delegate.
1706 * target.h (struct target_ops) <to_get_section_table>: Use
1707 TARGET_DEFAULT_RETURN.
1709 2014-02-19 Tom Tromey <tromey@redhat.com>
1711 * target-delegates.c: Rebuild.
1712 * target.c (target_pid_to_str): Unconditionally delegate.
1713 (init_dummy_target): Don't initialize to_pid_to_str.
1714 (default_pid_to_str): Rename from dummy_pid_to_str.
1715 * target.h (struct target_ops) <to_pid_to_str>: Use
1716 TARGET_DEFAULT_FUNC.
1718 2014-02-19 Tom Tromey <tromey@redhat.com>
1720 * target-delegates.c: Rebuild.
1721 * target.c (target_find_new_threads): Unconditionally delegate.
1722 * target.h (struct target_ops) <to_find_new_threads>: Use
1723 TARGET_DEFAULT_RETURN.
1725 2014-02-19 Tom Tromey <tromey@redhat.com>
1727 * target-delegates.c: Rebuild.
1728 * target.c (target_program_signals): Unconditionally delegate.
1729 * target.h (struct target_ops) <to_program_signals>: Use
1730 TARGET_DEFAULT_IGNORE.
1732 2014-02-19 Tom Tromey <tromey@redhat.com>
1734 * target-delegates.c: Rebuild.
1735 * target.c (target_pass_signals): Unconditionally delegate.
1736 * target.h (struct target_ops) <to_pass_signals>: Use
1737 TARGET_DEFAULT_IGNORE.
1739 2014-02-19 Tom Tromey <tromey@redhat.com>
1741 * target-delegates.c: Rebuild.
1742 * target.c (default_mourn_inferior): New function.
1743 (target_mourn_inferior): Unconditionally delegate.
1744 * target.h (struct target_ops) <to_mourn_inferior>: Use
1745 TARGET_DEFAULT_FUNC.
1747 2014-02-19 Tom Tromey <tromey@redhat.com>
1749 * target-delegates.c: Rebuild.
1750 * target.c (default_follow_fork): New function.
1751 (target_follow_fork): Unconditionally delegate.
1752 * target.h (struct target_ops) <to_follow_fork>: Use
1753 TARGET_DEFAULT_FUNC.
1755 2014-02-19 Tom Tromey <tromey@redhat.com>
1757 * target-delegates.c: Rebuild.
1758 * target.c (target_kill): Unconditionally delegate.
1759 * target.h (struct target_ops) <to_kill>: Use
1760 TARGET_DEFAULT_NORETURN.
1762 2014-02-19 Tom Tromey <tromey@redhat.com>
1764 * target-delegates.c: Rebuild.
1765 * target.c (target_masked_watch_num_registers): Unconditionally
1767 * target.h (struct target_ops) <to_masked_watch_num_registers>:
1768 Use TARGET_DEFAULT_RETURN.
1770 2014-02-19 Tom Tromey <tromey@redhat.com>
1772 * target-delegates.c: Rebuild.
1773 * target.c (target_remove_mask_watchpoint): Unconditionally
1775 * target.h (struct target_ops) <to_remove_mask_watchpoint>: Use
1776 TARGET_DEFAULT_RETURN.
1778 2014-02-19 Tom Tromey <tromey@redhat.com>
1780 * target-delegates.c: Rebuild.
1781 * target.c (target_insert_mask_watchpoint): Unconditionally
1783 * target.h (struct target_ops) <to_insert_mask_watchpoint>: Use
1784 TARGET_DEFAULT_RETURN.
1786 2014-02-19 Tom Tromey <tromey@redhat.com>
1788 * target-delegates.c: Rebuild.
1789 * target.c (target_ranged_break_num_registers): Unconditionally
1791 * target.h (struct target_ops) <to_ranged_break_num_registers>:
1792 Use TARGET_DEFAULT_RETURN.
1794 2014-02-19 Tom Tromey <tromey@redhat.com>
1796 * target-delegates.c: Rebuild.
1797 * target.c (target_fetch_registers): Unconditionally delegate.
1798 * target.h (struct target_ops) <to_fetch_registers>: Use
1799 TARGET_DEFAULT_NORETURN.
1801 2014-02-19 Tom Tromey <tromey@redhat.com>
1803 * target-delegates.c: Rebuild.
1804 * target.c (update_current_target): Don't inherit or default
1806 * target.h (struct target_ops) <to_stop>: Use
1807 TARGET_DEFAULT_IGNORE.
1809 2014-02-19 Tom Tromey <tromey@redhat.com>
1811 * target-delegates.c: Rebuild.
1812 * target.c (update_current_target): Don't inherit or default
1813 to_can_run_breakpoint_commands.
1814 * target.h (struct target_ops) <to_can_run_breakpoint_commands>:
1815 Use TARGET_DEFAULT_RETURN.
1817 2014-02-19 Tom Tromey <tromey@redhat.com>
1819 * target-delegates.c: Rebuild.
1820 * target.c (update_current_target): Don't inherit or default
1821 to_supports_evaluation_of_breakpoint_conditions.
1822 * target.h (struct target_ops)
1823 <to_supports_evaluation_of_breakpoint_conditions>: Use
1824 TARGET_DEFAULT_RETURN.
1826 2014-02-19 Tom Tromey <tromey@redhat.com>
1828 * target-delegates.c: Rebuild.
1829 * target.c (update_current_target): Don't inherit or default
1830 to_augmented_libraries_svr4_read.
1831 * target.h (struct target_ops) <to_augmented_libraries_svr4_read>:
1832 Use TARGET_DEFAULT_RETURN.
1834 2014-02-19 Tom Tromey <tromey@redhat.com>
1836 * target-delegates.c: Rebuild.
1837 * target.c (update_current_target): Don't inherit or default
1839 * target.h (struct target_ops) <to_can_use_agent>: Use
1840 TARGET_DEFAULT_RETURN.
1842 2014-02-19 Tom Tromey <tromey@redhat.com>
1844 * target-delegates.c: Rebuild.
1845 * target.c (update_current_target): Don't inherit or default
1847 * target.h (struct target_ops) <to_use_agent>: Use
1848 TARGET_DEFAULT_NORETURN.
1850 2014-02-19 Tom Tromey <tromey@redhat.com>
1852 * target-delegates.c: Rebuild.
1853 * target.c (update_current_target): Don't inherit or default
1855 (return_null): Remove.
1856 * target.h (struct target_ops) <to_traceframe_info>: Use
1857 TARGET_DEFAULT_RETURN.
1859 2014-02-19 Tom Tromey <tromey@redhat.com>
1861 * target-delegates.c: Rebuild.
1862 * target.c (update_current_target): Don't inherit or default
1863 to_static_tracepoint_markers_by_strid.
1864 * target.h (struct target_ops)
1865 <to_static_tracepoint_markers_by_strid>: Use
1866 TARGET_DEFAULT_NORETURN.
1868 2014-02-19 Tom Tromey <tromey@redhat.com>
1870 * target-delegates.c: Rebuild.
1871 * target.c (update_current_target): Don't inherit or default
1872 to_static_tracepoint_marker_at.
1873 * target.h (struct target_ops) <to_static_tracepoint_marker_at>:
1874 Use TARGET_DEFAULT_RETURN.
1876 2014-02-19 Tom Tromey <tromey@redhat.com>
1878 * target-delegates.c: Rebuild.
1879 * target.c (update_current_target): Don't inherit or default
1881 * target.h (struct target_ops) <to_set_permissions>: Use
1882 TARGET_DEFAULT_IGNORE.
1884 2014-02-19 Tom Tromey <tromey@redhat.com>
1886 * target-delegates.c: Rebuild.
1887 * target.c (update_current_target): Don't inherit or default
1889 * target.h (struct target_ops) <to_get_tib_address>: Use
1890 TARGET_DEFAULT_NORETURN.
1892 2014-02-19 Tom Tromey <tromey@redhat.com>
1894 * target-delegates.c: Rebuild.
1895 * target.c (update_current_target): Don't inherit or default
1897 * target.h (struct target_ops) <to_set_trace_notes>: Use
1898 TARGET_DEFAULT_RETURN.
1900 2014-02-19 Tom Tromey <tromey@redhat.com>
1902 * target-delegates.c: Rebuild.
1903 * target.c (update_current_target): Don't initialize
1904 to_set_trace_buffer_size.
1905 * target.h (struct target_ops) <to_set_trace_buffer_size>: Use
1906 TARGET_DEFAULT_IGNORE.
1908 2014-02-19 Tom Tromey <tromey@redhat.com>
1910 * target-delegates.c: Rebuild.
1911 * target.c (update_current_target): Don't inherit or default
1912 to_set_circular_trace_buffer.
1913 * target.h (struct target_ops) <to_set_circular_trace_buffer>: Use
1914 TARGET_DEFAULT_IGNORE.
1916 2014-02-19 Tom Tromey <tromey@redhat.com>
1918 * target-delegates.c: Rebuild.
1919 * target.c (update_current_target): Don't inherit or default
1920 to_set_disconnected_tracing.
1921 * target.h (struct target_ops) <to_set_disconnected_tracing>: Use
1922 TARGET_DEFAULT_IGNORE.
1924 2014-02-19 Tom Tromey <tromey@redhat.com>
1926 * target-delegates.c: Rebuild.
1927 * target.c (update_current_target): Don't inherit or default
1928 to_get_min_fast_tracepoint_insn_len.
1929 (return_minus_one): Remove.
1930 * target.h (struct target_ops)
1931 <to_get_min_fast_tracepoint_insn_len>: Use TARGET_DEFAULT_RETURN.
1933 2014-02-19 Tom Tromey <tromey@redhat.com>
1935 * target-delegates.c: Rebuild.
1936 * target.c (update_current_target): Don't inherit or default
1937 to_get_raw_trace_data.
1938 * target.h (struct target_ops) <to_get_raw_trace_data>: Use
1939 TARGET_DEFAULT_NORETURN.
1941 2014-02-19 Tom Tromey <tromey@redhat.com>
1943 * target-delegates.c: Rebuild.
1944 * target.c (update_current_target): Don't inherit or default
1945 to_upload_trace_state_variables.
1946 * target.h (struct target_ops) <to_upload_trace_state_variables>:
1947 Use TARGET_DEFAULT_RETURN.
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
1953 to_upload_tracepoints.
1954 * target.h (struct target_ops) <to_upload_tracepoints>: Use
1955 TARGET_DEFAULT_RETURN.
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
1962 * target.h (struct target_ops) <to_save_trace_data>: Use
1963 TARGET_DEFAULT_NORETURN.
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_get_trace_state_variable_value.
1970 * target.h (struct target_ops)
1971 <to_get_trace_state_variable_value>: Use TARGET_DEFAULT_RETURN.
1973 2014-02-19 Tom Tromey <tromey@redhat.com>
1975 * target-delegates.c: Rebuild.
1976 * target.c (update_current_target): Don't inherit or default
1978 * target.h (struct target_ops): Use TARGET_DEFAULT_RETURN.
1980 2014-02-19 Tom Tromey <tromey@redhat.com>
1982 * target-delegates.c: Rebuild.
1983 * target.c (update_current_target): Don't inherit or default
1985 * target.h (struct target_ops) <to_trace_stop>: Use
1986 TARGET_DEFAULT_NORETURN.
1988 2014-02-19 Tom Tromey <tromey@redhat.com>
1990 * target-delegates.c: Rebuild.
1991 * target.c (update_current_target): Don't inherit or default
1992 to_get_tracepoint_status.
1993 * target.h (struct target_ops) <to_get_tracepoint_status>: Use
1994 TARGET_DEFAULT_NORETURN.
1996 2014-02-19 Tom Tromey <tromey@redhat.com>
1998 * target-delegates.c: Rebuild.
1999 * target.c (update_current_target): Don't inherit or default
2000 to_get_trace_status.
2001 * target.h (struct target_ops) <to_get_trace_status>: Use
2002 TARGET_DEFAULT_RETURN.
2004 2014-02-19 Tom Tromey <tromey@redhat.com>
2006 * target-delegates.c: Rebuild.
2007 * target.c (update_current_target): Don't inherit or default
2009 * target.h (struct target_ops) <to_trace_start>: Use
2010 TARGET_DEFAULT_NORETURN.
2012 2014-02-19 Tom Tromey <tromey@redhat.com>
2014 * target-delegates.c: Rebuild.
2015 * target.c (update_current_target): Don't inherit or default
2016 to_trace_set_readonly_regions.
2017 * target.h (struct target_ops) <to_trace_set_readonly_regions>:
2018 Use TARGET_DEFAULT_NORETURN.
2020 2014-02-19 Tom Tromey <tromey@redhat.com>
2022 * target-delegates.c: Rebuild.
2023 * target.c (update_current_target): Don't inherit or default
2024 to_disable_tracepoint.
2025 * target.h (struct target_ops) <to_disable_tracepoint>: Use
2026 TARGET_DEFAULT_NORETURN.
2028 2014-02-19 Tom Tromey <tromey@redhat.com>
2030 * target-delegates.c: Rebuild.
2031 * target.c (update_current_target): Don't inherit or default
2032 to_enable_tracepoint.
2033 * target.h (struct target_ops) <to_enable_tracepoint>: Use
2034 TARGET_DEFAULT_NORETURN.
2036 2014-02-19 Tom Tromey <tromey@redhat.com>
2038 * target-delegates.c: Rebuild.
2039 * target.c (update_current_target): Don't inherit or default
2040 to_download_trace_state_variable.
2041 * target.h (struct target_ops) <to_download_trace_state_variable>:
2042 Use TARGET_DEFAULT_NORETURN.
2044 2014-02-19 Tom Tromey <tromey@redhat.com>
2046 * target-delegates.c: Rebuild.
2047 * target.c (update_current_target): Don't inherit or default
2048 to_can_download_tracepoint.
2049 * target.h (struct target_ops) <to_can_download_tracepoint>: Use
2050 TARGET_DEFAULT_RETURN.
2052 2014-02-19 Tom Tromey <tromey@redhat.com>
2054 * target-delegates.c: Rebuild.
2055 * target.c (update_current_target): Don't inherit or default
2056 to_download_tracepoint.
2057 * target.h (struct target_ops) <to_download_tracepoint>: Use
2058 TARGET_DEFAULT_NORETURN.
2060 2014-02-19 Tom Tromey <tromey@redhat.com>
2062 * target-delegates.c: Rebuild.
2063 * target.c (update_current_target): Don't inherit or default
2065 * target.h (struct target_ops) <to_trace_init>: Use
2066 TARGET_DEFAULT_RETURN.
2068 2014-02-19 Tom Tromey <tromey@redhat.com>
2070 * target-delegates.c: Rebuild.
2071 * target.c (update_current_target): Don't inherit or default
2072 to_supports_string_tracing.
2073 * target.h (struct target_ops) <to_supports_string_tracing>: Use
2074 TARGET_DEFAULT_RETURN.
2076 2014-02-19 Tom Tromey <tromey@redhat.com>
2078 * target-delegates.c: Rebuild.
2079 * target.c (update_current_target): Don't inherit or default
2080 to_supports_enable_disable_tracepoint.
2081 * target.h (struct target_ops)
2082 <to_supports_enable_disable_tracepoint>: Use
2083 TARGET_DEFAULT_RETURN.
2085 2014-02-19 Tom Tromey <tromey@redhat.com>
2087 * target-delegates.c: Rebuild.
2088 * target.c (update_current_target): Don't inherit or default
2089 to_supports_multi_process.
2090 * target.h (struct target_ops) <to_supports_multi_process>: Use
2091 TARGET_DEFAULT_RETURN.
2093 2014-02-19 Tom Tromey <tromey@redhat.com>
2095 * target-delegates.c: Rebuild.
2096 * target.c (update_current_target): Don't inherit or default
2097 to_get_ada_task_ptid.
2098 * target.h (struct target_ops) <to_get_ada_task_ptid>: Use
2099 TARGET_DEFAULT_FUNC.
2101 2014-02-19 Tom Tromey <tromey@redhat.com>
2103 * target-delegates.c: Rebuild.
2104 * target.c (update_current_target): Don't inherit or default
2105 to_thread_architecture.
2106 * target.h (struct target_ops) <to_thread_architecture>: Use
2107 TARGET_DEFAULT_FUNC.
2109 2014-02-19 Tom Tromey <tromey@redhat.com>
2111 * target-delegates.c: Rebuild.
2112 * target.c (update_current_target): Don't inherit or default
2113 to_execution_direction.
2114 * target.h (struct target_ops) <to_execution_direction>: Use
2115 TARGET_DEFAULT_FUNC.
2117 2014-02-19 Tom Tromey <tromey@redhat.com>
2119 * target-delegates.c: Rebuild.
2120 * target.c (update_current_target): Don't inherit or default
2121 to_can_execute_reverse.
2122 * target.h (struct target_ops) <to_can_execute_reverse>: Use
2123 TARGET_DEFAULT_RETURN.
2124 (target_can_execute_reverse): Unconditionally delegate.
2126 2014-02-19 Tom Tromey <tromey@redhat.com>
2128 * target-delegates.c: Rebuild.
2129 * target.c (update_current_target): Don't inherit or default
2131 (dummy_goto_bookmark): Remove.
2132 (init_dummy_target): Don't inherit or default to_goto_bookmark.
2133 * target.h (struct target_ops) <to_goto_bookmark>: 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
2141 (dummy_get_bookmark): Remove.
2142 (init_dummy_target): Don't inherit or default to_get_bookmark.
2143 * target.h (struct target_ops) <to_get_bookmark>: Use
2144 TARGET_DEFAULT_NORETURN
2146 2014-02-19 Tom Tromey <tromey@redhat.com>
2148 * target-delegates.c: Rebuild.
2149 * target.c (update_current_target): Don't inherit or default
2150 to_make_corefile_notes.
2151 (init_dummy_target): Don't initialize to_make_corefile_notes.
2152 * target.h (struct target_ops) <to_make_corefile_notes>: Use
2153 TARGET_DEFAULT_FUNC.
2155 2014-02-19 Tom Tromey <tromey@redhat.com>
2157 * target-delegates.c: Rebuild.
2158 * target.c (update_current_target): Don't inherit or default
2159 to_find_memory_regions.
2160 (init_dummy_target): Don't initialize to_find_memory_regions.
2161 * target.h (struct target_ops) <to_find_memory_regions>: Use
2162 TARGET_DEFAULT_FUNC.
2164 2014-02-19 Tom Tromey <tromey@redhat.com>
2166 * target-delegates.c: Rebuild.
2167 * target.c (update_current_target): Don't inherit or default
2169 * target.h (struct target_ops) <to_log_command>: Use
2170 TARGET_DEFAULT_IGNORE.
2171 (target_log_command): Unconditionally delegate.
2173 2014-02-19 Tom Tromey <tromey@redhat.com>
2175 * target-delegates.c: Rebuild.
2176 * target.c (update_current_target): Don't inherit or default
2177 to_pid_to_exec_file.
2178 * target.h (struct target_ops) <to_pid_to_exec_file>: Use
2179 TARGET_DEFAULT_RETURN.
2181 2014-02-19 Tom Tromey <tromey@redhat.com>
2183 * target-delegates.c: Rebuild.
2184 * target.c (update_current_target): Don't inherit or default
2186 (target_thread_name): Unconditionally delegate.
2187 * target.h (struct target_ops) <to_thread_name>: Use
2188 TARGET_DEFAULT_RETURN.
2190 2014-02-19 Tom Tromey <tromey@redhat.com>
2192 * target-delegates.c: Rebuild.
2193 * target.c (update_current_target): Don't inherit or default
2194 to_extra_thread_info.
2195 * target.h (struct target_ops) <to_extra_thread_info>: Use
2196 TARGET_DEFAULT_RETURN.
2198 2014-02-19 Tom Tromey <tromey@redhat.com>
2200 * target-delegates.c: Rebuild.
2201 * target.c (update_current_target): Don't inherit or default
2203 * target.h (struct target_ops) <to_has_exited>: Use
2204 TARGET_DEFAULT_RETURN..
2206 2014-02-19 Tom Tromey <tromey@redhat.com>
2208 * target-delegates.c: Rebuild.
2209 * target.c (update_current_target): Don't inherit or default
2210 to_set_syscall_catchpoint.
2211 (return_one): Remove.
2212 * target.h (struct target_ops) <to_set_syscall_catchpoint>: Use
2213 TARGET_DEFAULT_RETURN.
2215 2014-02-19 Tom Tromey <tromey@redhat.com>
2217 * target-delegates.c: Rebuild.
2218 * target.c (update_current_target): Don't inherit or default
2219 to_insert_exec_catchpoint.
2220 * target.h (struct target_ops) <to_insert_exec_catchpoint>: Use
2221 TARGET_DEFAULT_RETURN.
2223 2014-01-08 Tom Tromey <tromey@redhat.com>
2225 * target-delegates.c: Rebuild.
2226 * target.c (update_current_target): Don't inherit or default
2227 to_insert_exec_catchpoint.
2228 * target.h (struct target_ops) <to_insert_exec_catchpoint>: Use
2229 TARGET_DEFAULT_RETURN.
2231 2014-02-19 Tom Tromey <tromey@redhat.com>
2233 * target-delegates.c: Rebuild.
2234 * target.c (update_current_target): Don't inherit or default
2235 to_remove_vfork_catchpoint.
2236 * target.h (struct target_ops) <to_remove_vfork_catchpoint>: Use
2237 TARGET_DEFAULT_RETURN.
2239 2014-02-19 Tom Tromey <tromey@redhat.com>
2241 * target-delegates.c: Rebuild.
2242 * target.c (update_current_target): Don't inherit or default
2243 to_insert_vfork_catchpoint.
2244 * target.h (struct target_ops) <to_insert_vfork_catchpoint>: Use
2245 TARGET_DEFAULT_RETURN.
2247 2014-02-19 Tom Tromey <tromey@redhat.com>
2249 * target-delegates.c: Rebuild.
2250 * target.c (update_current_target): Don't inherit or default
2251 to_remove_fork_catchpoint.
2252 * target.h (struct target_ops) <to_remove_fork_catchpoint>: Use
2253 TARGET_DEFAULT_RETURN.
2255 2014-02-19 Tom Tromey <tromey@redhat.com>
2257 * target-delegates.c: Rebuild.
2258 * target.c (update_current_target): Don't inherit or default
2259 to_insert_fork_catchpoint.
2260 * target.h (struct target_ops) <to_insert_fork_catchpoint>: Use
2261 TARGET_DEFAULT_RETURN.
2263 2014-02-19 Tom Tromey <tromey@redhat.com>
2265 * target-delegates.c: Rebuild.
2266 * target.c (update_current_target): Don't inherit or default
2267 to_post_startup_inferior.
2268 * target.h (struct target_ops) <to_post_startup_inferior>: Use
2269 TARGET_DEFAULT_IGNORE.
2271 2014-02-19 Tom Tromey <tromey@redhat.com>
2273 * target-delegates.c: Rebuild.
2274 * target.c (update_current_target): Don't inherit or default
2276 * target.h (struct target_ops) <to_load>: Use
2277 TARGET_DEFAULT_NORETURN.
2279 2014-02-19 Tom Tromey <tromey@redhat.com>
2281 * target-delegates.c: Rebuild.
2282 * target.c (update_current_target): Don't inherit or default
2284 * target.h (struct target_ops) <to_terminal_info>: Use
2285 TARGET_DEFAULT_FUNC.
2287 2014-02-19 Tom Tromey <tromey@redhat.com>
2289 * target-delegates.c: Rebuild.
2290 * target.c (update_current_target): Don't inherit or default
2291 to_terminal_save_ours.
2292 * target.h (struct target_ops) <to_terminal_save_ours>: Use
2293 TARGET_DEFAULT_IGNORE.
2295 2014-02-19 Tom Tromey <tromey@redhat.com>
2297 * target-delegates.c: Rebuild.
2298 * target.c (update_current_target): Don't inherit or default
2300 * target.h (struct target_ops) <to_terminal_ours>: Use
2301 TARGET_DEFAULT_IGNORE.
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_terminal_ours_for_output.
2308 * target.h (struct target_ops) <to_terminal_ours_for_output>: Use
2309 TARGET_DEFAULT_IGNORE.
2311 2014-02-19 Tom Tromey <tromey@redhat.com>
2313 * target-delegates.c: Rebuild.
2314 * target.c (update_current_target): Don't inherit or default
2315 to_terminal_inferior.
2316 * target.h (struct target_ops) <to_terminal_inferior>: Use
2317 TARGET_DEFAULT_IGNORE.
2319 2014-02-19 Tom Tromey <tromey@redhat.com>
2321 * target-delegates.c: Rebuild.
2322 * target.c (update_current_target): Don't inherit or default
2324 * target.h (struct target_ops) <to_terminal_init>: Use
2325 TARGET_DEFAULT_IGNORE.
2327 2014-02-19 Tom Tromey <tromey@redhat.com>
2329 * target-delegates.c: Rebuild.
2330 * target.c (update_current_target): Don't inherit or default
2331 to_can_accel_watchpoint_condition.
2332 * target.h (struct target_ops)
2333 <to_can_accel_watchpoint_condition>: Use TARGET_DEFAULT_RETURN.
2335 2014-02-19 Tom Tromey <tromey@redhat.com>
2337 * target-delegates.c: Rebuild.
2338 * target.c (update_current_target): Don't inherit or default
2339 to_region_ok_for_hw_watchpoint.
2340 * target.h (struct target_ops) <to_region_ok_for_hw_watchpoint>:
2341 Use TARGET_DEFAULT_FUNC.
2343 2014-02-19 Tom Tromey <tromey@redhat.com>
2345 * target-delegates.c: Rebuild.
2346 * target.c (update_current_target): Don't inherit or default
2347 to_watchpoint_addr_within_range.
2348 * target.h (struct target_ops) <to_watchpoint_addr_within_range>:
2349 Use TARGET_DEFAULT_FUNC.
2351 2014-02-19 Tom Tromey <tromey@redhat.com>
2353 * target-delegates.c: Rebuild.
2354 * target.c (update_current_target): Don't inherit or default
2355 to_remove_watchpoint.
2356 * target.h (struct target_ops) <to_remove_watchpoint>: Use
2357 TARGET_DEFAULT_NORETURN.
2359 2014-02-19 Tom Tromey <tromey@redhat.com>
2361 * target-delegates.c: Rebuild.
2362 * target.c (update_current_target): Don't inherit or default
2363 to_insert_watchpoint.
2364 * target.h (struct target_ops) <to_insert_watchpoint>: Use
2365 TARGET_DEFAULT_RETURN.
2367 2014-02-19 Tom Tromey <tromey@redhat.com>
2369 * target-delegates.c: Rebuild.
2370 * target.c (update_current_target): Don't inherit or default
2371 to_remove_hw_breakpoint.
2372 * target.h (struct target_ops) <to_remove_hw_breakpoint>: Use
2373 TARGET_DEFAULT_RETURN.
2375 2014-02-19 Tom Tromey <tromey@redhat.com>
2377 * target-delegates.c: Rebuild.
2378 * target.c (update_current_target): Don't inherit or default
2379 to_insert_hw_breakpoint.
2380 * target.h (struct target_ops) <to_insert_hw_breakpoint>: Use
2381 TARGET_DEFAULT_RETURN.
2383 2014-02-19 Tom Tromey <tromey@redhat.com>
2385 * target-delegates.c: Rebuild.
2386 * target.c (update_current_target): Don't inherit or default
2387 to_can_use_hw_breakpoint.
2388 * target.h (struct target_ops) <to_can_use_hw_breakpoint>: Use
2389 TARGET_DEFAULT_RETURN.
2391 2014-02-19 Tom Tromey <tromey@redhat.com>
2393 * target-delegates.c: Rebuild.
2394 * target.c (update_current_target): Don't inherit or default
2396 * target.h (struct target_ops) <to_files_info>: Use
2397 TARGET_DEFAULT_IGNORE.
2399 2014-02-19 Tom Tromey <tromey@redhat.com>
2401 * target-delegates.c: Rebuild.
2402 * target.c (update_current_target): Don't inherit or default
2404 * target.h (struct target_ops) <to_store>: Use
2405 TARGET_DEFAULT_NORETURN.
2407 2014-02-19 Tom Tromey <tromey@redhat.com>
2409 * target-delegates.c: Rebuild.
2410 * target.c (update_current_target): Don't inherit or default
2412 * target.h (struct target_ops) <to_post_attach>: Use
2413 TARGET_DEFAULT_IGNORE.
2415 2014-02-19 Tom Tromey <tromey@redhat.com>
2417 * target-delegates.c: Rebuild.
2418 * target.c (update_current_target): Don't inherit or default
2420 (default_rcmd): New function.
2421 (do_monitor_command): Unconditionally delegate.
2422 * target.h (struct target_ops) <to_rmcd>: Use
2423 TARGET_DEFAULT_FUNC.
2425 2014-02-19 Tom Tromey <tromey@redhat.com>
2427 * target-delegates.c: Rebuild.
2428 * target.c (init_dummy_target): Don't initialize to_attach.
2429 (target_attach): Unconditionally delegate.
2430 * target.h (struct target_ops) <to_attach>: Use
2431 TARGET_DEFAULT_FUNC.
2433 2014-02-19 Tom Tromey <tromey@redhat.com>
2435 * target-delegates.c: Rebuild.
2436 * target.c (target_detach): Unconditionally delegate.
2437 (init_dummy_target): Don't initialize to_detach.
2438 * target.h (struct target_ops) <to_detach>: Use
2439 TARGET_DEFAULT_IGNORE.
2441 2014-02-19 Tom Tromey <tromey@redhat.com>
2443 * target.h (struct target_ops) <to_augmented_libraries_svr4_read>:
2445 (target_augmented_libraries_svr4_read): Add argument.
2446 * target.c (update_current_target): Update.
2447 * remote.c (remote_augmented_libraries_svr4_read): Add 'self'
2450 2014-02-19 Tom Tromey <tromey@redhat.com>
2452 * target.h (struct target_ops) <to_call_history_range>: Add
2454 * target.c (target_call_history_range): Add argument.
2455 * record-btrace.c (record_btrace_call_history_range): Add 'self'
2457 (record_btrace_call_history_from): Update.
2459 2014-02-19 Tom Tromey <tromey@redhat.com>
2461 * target.h (struct target_ops) <to_call_history_from>: Add
2463 * target.c (target_call_history_from): Add argument.
2464 * record-btrace.c (record_btrace_call_history_from): Add 'self'
2467 2014-02-19 Tom Tromey <tromey@redhat.com>
2469 * target.h (struct target_ops) <to_call_history>: Add argument.
2470 * target.c (target_call_history): Add argument.
2471 * record-btrace.c (record_btrace_call_history): Add 'self'
2474 2014-02-19 Tom Tromey <tromey@redhat.com>
2476 * target.h (struct target_ops) <to_insn_history_range>: Add
2478 * target.c (target_insn_history_range): Add argument.
2479 * record-btrace.c (record_btrace_insn_history_range): Add 'self'
2481 (record_btrace_insn_history_from): Update.
2483 2014-02-19 Tom Tromey <tromey@redhat.com>
2485 * target.h (struct target_ops) <to_insn_history_from>: Add
2487 * target.c (target_insn_history_from): Add argument.
2488 * record-btrace.c (record_btrace_insn_history_from): Add 'self'
2491 2014-02-19 Tom Tromey <tromey@redhat.com>
2493 * target.h (struct target_ops) <to_insn_history>: Add argument.
2494 * target.c (target_insn_history): Add argument.
2495 * record-btrace.c (record_btrace_insn_history): Add 'self'
2498 2014-02-19 Tom Tromey <tromey@redhat.com>
2500 * target.h (struct target_ops) <to_goto_record>: Add argument.
2501 * target.c (target_goto_record): Add argument.
2502 * record-full.c (record_full_goto): Add 'self' argument.
2503 * record-btrace.c (record_btrace_goto): Add 'self' argument.
2505 2014-02-19 Tom Tromey <tromey@redhat.com>
2507 * target.h (struct target_ops) <to_goto_record_end>: Add argument.
2508 * target.c (target_goto_record_end): Add argument.
2509 * record-full.c (record_full_goto_end): Add 'self' argument.
2510 * record-btrace.c (record_btrace_goto_end): Add 'self' argument.
2512 2014-02-19 Tom Tromey <tromey@redhat.com>
2514 * target.h (struct target_ops) <to_goto_record_begin>: Add
2516 * target.c (target_goto_record_begin): Add argument.
2517 * record-full.c (record_full_goto_begin): Add 'self' argument.
2518 * record-btrace.c (record_btrace_goto_begin): Add 'self'
2521 2014-02-19 Tom Tromey <tromey@redhat.com>
2523 * target.h (struct target_ops) <to_record_is_replaying>: Add
2525 * target.c (target_record_is_replaying): Add argument.
2526 * record-full.c (record_full_is_replaying): Add 'self' argument.
2527 * record-btrace.c (record_btrace_is_replaying): Add 'self'
2529 (record_btrace_xfer_partial, record_btrace_store_registers)
2530 (record_btrace_prepare_to_store, record_btrace_resume)
2531 (record_btrace_wait, record_btrace_decr_pc_after_break)
2532 (record_btrace_find_new_threads, record_btrace_thread_alive):
2535 2014-02-19 Tom Tromey <tromey@redhat.com>
2537 * target.h (struct target_ops) <to_delete_record>: Add argument.
2538 * target.c (target_delete_record): Add argument.
2539 * record-full.c (record_full_delete): Add 'self' argument.
2541 2014-02-19 Tom Tromey <tromey@redhat.com>
2543 * target.h (struct target_ops) <to_save_record>: Add argument.
2544 * target.c (target_save_record): Add argument.
2545 * record-full.c (record_full_save): Add 'self' argument.
2546 (record_full_save): Add 'self' argument.
2548 2014-02-19 Tom Tromey <tromey@redhat.com>
2550 * target.h (struct target_ops) <to_info_record>: Add argument.
2551 * target.c (target_info_record): Add argument.
2552 * record.c (info_record_command): Add argument.
2553 * record-full.c (record_full_info): Add 'self' argument.
2554 * record-btrace.c (record_btrace_info): Add 'self' argument.
2556 2014-02-19 Tom Tromey <tromey@redhat.com>
2558 * target.h (struct target_ops) <to_stop_recording>: Add argument.
2559 * target.c (target_stop_recording): Add argument.
2560 * record.c (record_stop): Add argument.
2561 * record-btrace.c (record_btrace_stop_recording): Add 'self'
2564 2014-02-19 Tom Tromey <tromey@redhat.com>
2566 * target.h (struct target_ops) <to_read_btrace>: Add argument.
2567 * target.c (struct target_ops) <to_read_btrace>: Add argument.
2568 * remote.c (struct target_ops) <to_read_btrace>: Add 'self'
2570 * amd64-linux-nat.c (amd64_linux_read_btrace): New function.
2571 (_initialize_amd64_linux_nat): Use it.
2572 * i386-linux-nat.c (i386_linux_read_btrace): New function.
2573 (_initialize_i386_linux_nat): Use it.
2575 2014-02-19 Tom Tromey <tromey@redhat.com>
2577 * target.h (struct target_ops) <to_teardown_btrace>: Add argument.
2578 * target.c (target_teardown_btrace): Add argument.
2579 * remote.c (remote_teardown_btrace): Add 'self' argument.
2580 * i386-linux-nat.c (i386_linux_teardown_btrace): Add 'self'
2582 * amd64-linux-nat.c (amd64_linux_teardown_btrace): Add 'self'
2585 2014-02-19 Tom Tromey <tromey@redhat.com>
2587 * target.h (struct target_ops) <to_disable_btrace>: Add argument.
2588 * target.c (target_disable_btrace): Add argument.
2589 * remote.c (remote_disable_btrace): Add 'self' argument.
2590 * i386-linux-nat.c (i386_linux_disable_btrace): Add 'self'
2592 * amd64-linux-nat.c (amd64_linux_disable_btrace): Add 'self'
2595 2014-02-19 Tom Tromey <tromey@redhat.com>
2597 * target.h (struct target_ops) <to_enable_btrace>: Add argument.
2598 * target.c (target_enable_btrace): Add argument.
2599 * remote.c (remote_enable_btrace): Add 'self' argument.
2600 * i386-linux-nat.c (i386_linux_enable_btrace): Add 'self'
2602 * amd64-linux-nat.c (amd64_linux_enable_btrace): Add 'self'
2605 2014-02-19 Tom Tromey <tromey@redhat.com>
2607 * target.h (struct target_ops) <to_can_use_agent>: Add argument.
2608 (target_can_use_agent): Add argument.
2609 * target.c (update_current_target): Update.
2610 * remote.c (remote_can_use_agent): Add 'self' argument.
2611 * inf-child.c (inf_child_can_use_agent): Add 'self' argument.
2613 2014-02-19 Tom Tromey <tromey@redhat.com>
2615 * target.h (struct target_ops) <to_use_agent>: Add argument.
2616 (target_use_agent): Add argument.
2617 * target.c (update_current_target): Update.
2618 * remote.c (remote_use_agent): Add 'self' argument.
2619 * inf-child.c (inf_child_use_agent): Add 'self' argument.
2621 2014-02-19 Tom Tromey <tromey@redhat.com>
2623 * tracepoint.c (tfile_traceframe_info): Add 'self' argument.
2624 * target.h (struct target_ops) <to_traceframe_info>: Add argument.
2625 (target_traceframe_info): Add argument.
2626 * target.c (update_current_target): Update.
2627 * remote.c (remote_traceframe_info): Add 'self' argument.
2628 * ctf.c (ctf_traceframe_info): Add 'self' argument.
2630 2014-02-19 Tom Tromey <tromey@redhat.com>
2632 * target.h (target_static_tracepoint_markers_by_strid): Add
2634 (struct target_ops) <to_static_tracepoint_markers_by_strid>: Add
2636 * target.c (update_current_target): Update.
2637 * remote.c (struct target_ops)
2638 <to_static_tracepoint_markers_by_strid>: Add 'self' argument.
2639 * linux-nat.c (struct target_ops)
2640 <to_static_tracepoint_markers_by_strid>: Add 'self' argument.
2642 2014-02-19 Tom Tromey <tromey@redhat.com>
2644 * target.h (struct target_ops) <to_static_tracepoint_marker_at>:
2646 (target_static_tracepoint_marker_at): Add argument.
2647 * target.c (update_current_target): Update.
2648 * remote.c (remote_static_tracepoint_marker_at): Add 'self'
2651 2014-02-19 Tom Tromey <tromey@redhat.com>
2653 * target.h (struct target_ops) <to_set_permissions>: Add argument.
2654 (target_set_permissions): Add argument.
2655 * target.c (update_current_target): Update.
2656 * remote.c (remote_set_permissions): Add 'self' argument.
2657 (remote_start_remote): Update.
2659 2014-02-19 Tom Tromey <tromey@redhat.com>
2661 * windows-nat.c (windows_get_tib_address): Add 'self' argument.
2662 * target.h (struct target_ops) <to_get_tib_address>: Add argument.
2663 (target_get_tib_address): Add argument.
2664 * target.c (update_current_target): Update.
2665 * remote.c (remote_get_tib_address): Add 'self' argument.
2667 2014-02-19 Tom Tromey <tromey@redhat.com>
2669 * target.h (struct target_ops) <to_set_trace_notes>: Add argument.
2670 (target_set_trace_notes): Add argument.
2671 * target.c (update_current_target): Update.
2672 * remote.c (remote_set_trace_notes): Add 'self' argument.
2674 2014-02-19 Tom Tromey <tromey@redhat.com>
2676 * target.h (struct target_ops) <to_set_trace_buffer_size>: Add
2678 (target_set_trace_buffer_size): Add argument.
2679 * target.c (update_current_target): Update.
2680 * remote.c (remote_set_trace_buffer_size): Add 'self' argument.
2682 2014-02-19 Tom Tromey <tromey@redhat.com>
2684 * target.h (struct target_ops) <to_set_circular_trace_buffer>: Add
2686 (target_set_circular_trace_buffer): Add argument.
2687 * target.c (update_current_target): Update.
2688 * remote.c (remote_set_circular_trace_buffer): Add 'self'
2691 2014-02-19 Tom Tromey <tromey@redhat.com>
2693 * target.h (struct target_ops) <to_set_disconnected_tracing>: Add
2695 (target_set_disconnected_tracing): Add argument.
2696 * target.c (update_current_target): Update.
2697 * remote.c (remote_set_disconnected_tracing): Add 'self' argument.
2699 2014-02-19 Tom Tromey <tromey@redhat.com>
2701 * target.h (struct target_ops)
2702 <to_get_min_fast_tracepoint_insn_len>: Add argument.
2703 (target_get_min_fast_tracepoint_insn_len): Add argument.
2704 * target.c (update_current_target): Update.
2705 * remote.c (remote_get_min_fast_tracepoint_insn_len): Add 'self'
2708 2014-02-19 Tom Tromey <tromey@redhat.com>
2710 * target.h (struct target_ops) <to_get_raw_trace_data>: Add
2712 (target_get_raw_trace_data): Add argument.
2713 * target.c (update_current_target): Update.
2714 * remote.c (remote_get_raw_trace_data): Add 'self' argument.
2716 2014-02-19 Tom Tromey <tromey@redhat.com>
2718 * target.h (struct target_ops) <to_upload_trace_state_variables>:
2720 (target_upload_trace_state_variables): Add argument.
2721 * target.c (update_current_target): Update.
2722 * remote.c (remote_upload_trace_state_variables): Add 'self'
2724 (remote_start_remote): Update.
2726 2014-02-19 Tom Tromey <tromey@redhat.com>
2728 * target.h (struct target_ops) <to_upload_tracepoints>: Add
2730 (target_upload_tracepoints): Add argument.
2731 * target.c (update_current_target): Update.
2732 * remote.c (remote_upload_tracepoints): Add 'self' argument.
2733 (remote_start_remote): Update.
2735 2014-02-19 Tom Tromey <tromey@redhat.com>
2737 * target.h (struct target_ops) <to_save_trace_data>: Add argument.
2738 (target_save_trace_data): Add argument.
2739 * target.c (update_current_target): Update.
2740 * remote.c (remote_save_trace_data): Add 'self' argument.
2742 2014-02-19 Tom Tromey <tromey@redhat.com>
2744 * tracepoint.c (tfile_get_trace_state_variable_value): Add 'self'
2746 * target.h (struct target_ops)
2747 <to_get_trace_state_variable_value>: Add argument.
2748 (target_get_trace_state_variable_value): Add argument.
2749 * target.c (update_current_target): Update.
2750 * remote.c (remote_get_trace_state_variable_value): Add 'self'
2752 * ctf.c (ctf_get_trace_state_variable_value): Add 'self' argument.
2754 2014-02-19 Tom Tromey <tromey@redhat.com>
2756 * tracepoint.c (tfile_trace_find): Add 'self' argument.
2757 * target.h (struct target_ops) <to_trace_find>: Add argument.
2758 (target_trace_find): Add argument.
2759 * target.c (update_current_target): Update.
2760 * remote.c (remote_trace_find): Add 'self' argument.
2761 * ctf.c (ctf_trace_find): Add 'self' argument.
2763 2014-02-19 Tom Tromey <tromey@redhat.com>
2765 * target.h (struct target_ops) <to_trace_stop>: Add argument.
2766 (target_trace_stop): Add argument.
2767 * target.c (update_current_target): Update.
2768 * remote.c (remote_trace_stop): Add 'self' argument.
2770 2014-02-19 Tom Tromey <tromey@redhat.com>
2772 * tracepoint.c (tfile_get_tracepoint_status): Add 'self' argument.
2773 * target.h (struct target_ops) <to_get_tracepoint_status>: Add
2775 (target_get_tracepoint_status): Add argument.
2776 * target.c (update_current_target): Update.
2777 * remote.c (remote_get_tracepoint_status): Add 'self' argument.
2779 2014-02-19 Tom Tromey <tromey@redhat.com>
2781 * tracepoint.c (tfile_get_trace_status): Add 'self' argument.
2782 * target.h (struct target_ops) <to_get_trace_status>: Add
2784 (target_get_trace_status): Add argument.
2785 * target.c (update_current_target): Update.
2786 * remote.c (remote_get_trace_status): Add 'self' argument.
2787 (remote_start_remote, remote_can_download_tracepoint): Update.
2788 * ctf.c (ctf_get_trace_status): Add 'self' argument.
2790 2014-02-19 Tom Tromey <tromey@redhat.com>
2792 * target.h (struct target_ops) <to_trace_start>: Add argument.
2793 (target_trace_start): Add argument.
2794 * target.c (update_current_target): Update.
2795 * remote.c (remote_trace_start): Add 'self' argument.
2797 2014-02-19 Tom Tromey <tromey@redhat.com>
2799 * target.h (struct target_ops) <to_trace_set_readonly_regions>:
2801 (target_trace_set_readonly_regions): Add argument.
2802 * target.c (update_current_target): Update.
2803 * remote.c (remote_trace_set_readonly_regions): Add 'self'
2806 2014-02-19 Tom Tromey <tromey@redhat.com>
2808 * target.h (struct target_ops) <to_disable_tracepoint>: Add
2810 (target_disable_tracepoint): Add argument.
2811 * target.c (update_current_target): Update.
2812 * remote.c (remote_disable_tracepoint): Add 'self' argument.
2814 2014-02-19 Tom Tromey <tromey@redhat.com>
2816 * target.h (struct target_ops) <to_enable_tracepoint>: Add
2818 (target_enable_tracepoint): Add argument.
2819 * target.c (update_current_target): Update.
2820 * remote.c (remote_enable_tracepoint): Add 'self' argument.
2822 2014-02-19 Tom Tromey <tromey@redhat.com>
2824 * target.h (struct target_ops) <to_download_trace_state_variable>:
2826 (target_download_trace_state_variable): Add argument.
2827 * target.c (update_current_target): Update.
2828 * remote.c (remote_download_trace_state_variable): Add 'self'
2831 2014-02-19 Tom Tromey <tromey@redhat.com>
2833 * target.h (struct target_ops) <to_can_download_tracepoint>: Add
2835 (target_can_download_tracepoint): Add argument.
2836 * target.c (update_current_target): Update.
2837 * remote.c (remote_can_download_tracepoint): Add 'self' argument.
2839 2014-02-19 Tom Tromey <tromey@redhat.com>
2841 * target.h (struct target_ops) <to_download_tracepoint>: Add
2843 (target_download_tracepoint): Add argument.
2844 * target.c (update_current_target): Update.
2845 * remote.c (remote_download_tracepoint): Add 'self' argument.
2847 2014-02-19 Tom Tromey <tromey@redhat.com>
2849 * target.h (struct target_ops) <to_trace_init>: Add argument.
2850 (target_trace_init): Add argument.
2851 * target.c (update_current_target): Update.
2852 * remote.c (remote_trace_init): Add 'self' argument.
2854 2014-02-19 Tom Tromey <tromey@redhat.com>
2856 * target.h (struct target_ops) <to_fileio_readlink>: Add argument.
2857 * target.c (target_fileio_readlink): Add argument.
2858 * remote.c (remote_hostio_readlink): Add 'self' argument.
2859 * inf-child.c (inf_child_fileio_readlink): Add 'self' argument.
2861 2014-02-19 Tom Tromey <tromey@redhat.com>
2863 * target.h (struct target_ops) <to_fileio_unlink>: Add argument.
2864 * target.c (target_fileio_unlink): Add argument.
2865 * remote.c (remote_hostio_unlink): Add 'self' argument.
2866 (remote_file_delete): Update.
2867 * inf-child.c (inf_child_fileio_unlink): Add 'self' argument.
2869 2014-02-19 Tom Tromey <tromey@redhat.com>
2871 * target.h (struct target_ops) <to_fileio_close>: Add argument.
2872 * target.c (target_fileio_close): Add argument.
2873 * remote.c (remote_hostio_close): Add 'self' argument.
2874 (remote_hostio_close_cleanup): Update.
2875 (remote_bfd_iovec_close, remote_file_put, remote_file_get):
2877 * inf-child.c (inf_child_fileio_close): Add 'self' argument.
2879 2014-02-19 Tom Tromey <tromey@redhat.com>
2881 * target.h (struct target_ops) <to_fileio_pread>: Add argument.
2882 * target.c (target_fileio_pread): Add argument.
2883 * remote.c (remote_hostio_pread): Add 'self' argument.
2884 (remote_bfd_iovec_pread, remote_file_get): Update.
2885 * inf-child.c (inf_child_fileio_pread): Add 'self' argument.
2887 2014-02-19 Tom Tromey <tromey@redhat.com>
2889 * target.h (struct target_ops) <to_fileio_pwrite>: Add argument.
2890 * target.c (target_fileio_pwrite): Add argument.
2891 * remote.c (remote_hostio_pwrite): Add 'self' argument.
2892 (remote_file_put): Update.
2893 * inf-child.c (inf_child_fileio_pwrite): Add 'self' argument.
2895 2014-02-19 Tom Tromey <tromey@redhat.com>
2897 * target.h (struct target_ops) <to_fileio_open>: Add argument.
2898 * target.c (target_fileio_open): Add argument.
2899 * remote.c (remote_hostio_open): Add 'self' argument.
2900 (remote_bfd_iovec_open): Add 'self' argument.
2901 (remote_file_put): Add 'self' argument.
2902 (remote_file_get): Add 'self' argument.
2903 * inf-child.c (inf_child_fileio_open): Add 'self' argument.
2905 2014-02-19 Tom Tromey <tromey@redhat.com>
2907 * target.h (struct target_ops) <to_can_run_breakpoint_commands>:
2909 (target_can_run_breakpoint_commands): Add argument.
2910 * target.c (update_current_target): Update.
2911 * remote.c (remote_can_run_breakpoint_commands): Add 'self'
2913 (remote_insert_breakpoint): Add 'self' argument.
2914 (remote_insert_hw_breakpoint): Add 'self' argument.
2915 (remote_can_run_breakpoint_commands): Add 'self' argument.
2917 2014-02-19 Tom Tromey <tromey@redhat.com>
2919 * target.h (struct target_ops)
2920 <to_supports_evaluation_of_breakpoint_conditions>: Add argument.
2921 (target_supports_evaluation_of_breakpoint_conditions): Add
2923 * target.c (update_current_target): Update.
2924 * remote.c (remote_supports_cond_breakpoints): Add 'self'
2926 (remote_insert_breakpoint): Add 'self' argument.
2927 (remote_insert_hw_breakpoint): Add 'self' argument.
2928 (remote_supports_cond_breakpoints): Add 'self' argument.
2930 2014-02-19 Tom Tromey <tromey@redhat.com>
2932 * target.h (struct target_ops) <to_supports_string_tracing>: Add
2934 (target_supports_string_tracing): Add argument.
2935 * target.c (update_current_target): Update.
2936 * remote.c (remote_supports_string_tracing): Add 'self' argument.
2938 2014-02-19 Tom Tromey <tromey@redhat.com>
2940 * target.h (struct target_ops)
2941 <to_supports_disable_randomization>: Add argument.
2942 * target.c (find_default_supports_disable_randomization): Add
2944 (target_supports_disable_randomization): Add argument.
2945 (find_default_supports_disable_randomization): Add 'self'
2947 * remote.c (extended_remote_supports_disable_randomization): Add
2949 (remote_supports_disable_randomization): Add 'self' argument.
2950 (extended_remote_create_inferior): Update.
2951 * linux-nat.c (linux_nat_supports_disable_randomization): Add
2954 2014-02-19 Tom Tromey <tromey@redhat.com>
2956 * target.h (struct target_ops)
2957 <to_supports_enable_disable_tracepoint>: Add argument.
2958 (target_supports_enable_disable_tracepoint): Add argument.
2959 * target.c (update_current_target): Update.
2960 * remote.c (remote_supports_enable_disable_tracepoint): Add 'self'
2963 2014-02-19 Tom Tromey <tromey@redhat.com>
2965 * target.h (struct target_ops) <to_supports_multi_process>: Add
2967 (target_supports_multi_process): Add argument.
2968 * target.c (update_current_target): Update.
2969 * remote.c (remote_supports_multi_process): Add 'self' argument.
2970 * linux-nat.c (linux_nat_supports_multi_process): Add 'self'
2972 * darwin-nat.c (darwin_supports_multi_process): Add 'self'
2975 2014-02-19 Tom Tromey <tromey@redhat.com>
2977 * target.h (struct target_ops) <to_execution_direction>: Add
2979 (target_execution_direction): Add argument.
2980 * target.c (default_execution_direction): Add 'self' argument.
2981 * record-full.c (record_full_execution_direction): Add 'self'
2984 2014-02-19 Tom Tromey <tromey@redhat.com>
2986 * target.h (struct target_ops) <to_can_execute_reverse>: Add
2988 (target_can_execute_reverse): Add argument.
2989 * remote.c (remote_can_execute_reverse): Add 'self' argument.
2990 * record-full.c (record_full_can_execute_reverse): Add 'self'
2992 * record-btrace.c (record_btrace_can_execute_reverse): Add 'self'
2995 2014-02-19 Tom Tromey <tromey@redhat.com>
2997 * windows-nat.c (windows_get_ada_task_ptid): Add 'self' argument.
2998 * target.h (struct target_ops) <to_get_ada_task_ptid>: Add
3000 (target_get_ada_task_ptid): Add argument.
3001 * target.c (update_current_target): Update.
3002 (default_get_ada_task_ptid): Add 'self' argument.
3003 * sol-thread.c (sol_get_ada_task_ptid): Add 'self' argument.
3004 * remote.c (remote_get_ada_task_ptid): Add 'self' argument.
3005 * ravenscar-thread.c (ravenscar_get_ada_task_ptid): Add 'self'
3007 * linux-thread-db.c (thread_db_get_ada_task_ptid): Add 'self'
3009 * inf-ttrace.c (inf_ttrace_get_ada_task_ptid): Add 'self'
3011 * dec-thread.c (dec_thread_get_ada_task_ptid): Add 'self'
3013 * darwin-nat.c (darwin_get_ada_task_ptid): Add 'self' argument.
3014 * aix-thread.c (aix_thread_get_ada_task_ptid): Add 'self'
3017 2014-02-19 Tom Tromey <tromey@redhat.com>
3019 * target.h (struct target_ops) <to_goto_bookmark>: Add argument.
3020 (target_goto_bookmark): Add argument.
3021 * target.c (dummy_goto_bookmark): Add 'self' argument.
3022 * record-full.c (record_full_goto_bookmark): Add 'self' argument.
3024 2014-02-19 Tom Tromey <tromey@redhat.com>
3026 * target.h (struct target_ops) <to_get_bookmark>: Add argument.
3027 (target_get_bookmark): Add argument.
3028 * target.c (dummy_get_bookmark): Add 'self' argument.
3029 * record-full.c (record_full_get_bookmark): Add 'self' argument.
3031 2014-02-19 Tom Tromey <tromey@redhat.com>
3033 * target.h (struct target_ops) <to_make_corefile_notes>: Add
3035 (target_make_corefile_notes): Add argument.
3036 * target.c (dummy_make_corefile_notes): Add 'self' argument.
3037 * procfs.c (procfs_make_note_section): Add 'self' argument.
3038 (procfs_make_note_section): Add 'self' argument.
3039 (procfs_make_note_section): Add 'self' argument.
3040 * linux-nat.c (linux_nat_make_corefile_notes): Add 'self'
3042 * fbsd-nat.h (fbsd_make_corefile_notes): Add 'self' argument.
3043 * fbsd-nat.c (fbsd_make_corefile_notes): Add 'self' argument.
3044 * exec.c (exec_make_note_section): Add 'self' argument.
3045 (exec_make_note_section): Add 'self' argument.
3047 2014-02-19 Tom Tromey <tromey@redhat.com>
3049 * target.h (struct target_ops) <to_find_memory_regions>: Add
3051 (target_find_memory_regions): Add argument.
3052 * target.c (dummy_find_memory_regions): Add 'self' argument.
3053 * procfs.c (proc_find_memory_regions): Add 'self' argument.
3054 * gnu-nat.c (gnu_find_memory_regions): Add 'self' argument.
3055 * fbsd-nat.h (fbsd_find_memory_regions): Add 'self' argument.
3056 * fbsd-nat.c (fbsd_find_memory_regions): Add 'self' argument.
3057 * exec. (exec_do_find_memory_regions): New global.
3058 (exec_set_find_memory_regions): Rewrite.
3059 (exec_find_memory_regions): New function.
3060 (init_exec_ops): Use exec_find_memory_regions.
3062 2014-02-19 Tom Tromey <tromey@redhat.com>
3064 * target.h (struct target_ops) <to_supports_non_stop>: Add
3066 * target.c (find_default_supports_non_stop): Add argument.
3067 (target_supports_non_stop): Add argument.
3068 (find_default_supports_non_stop): Add 'self' argument.
3069 * remote.c (remote_supports_non_stop): Add 'self' argument.
3070 * linux-nat.c (linux_nat_supports_non_stop): Add 'self' argument.
3072 2014-02-19 Tom Tromey <tromey@redhat.com>
3074 * target.h (struct target_ops) <to_log_command>: Add argument.
3075 (target_log_command): Add argument.
3076 * serial.h (serial_log_command): Add 'self' argument.
3077 * serial.c (serial_log_command): Add 'self' argument.
3079 2014-02-19 Tom Tromey <tromey@redhat.com>
3081 * windows-nat.c (windows_pid_to_exec_file): Add 'self' argument.
3082 * target.h (struct target_ops) <to_pid_to_exec_file>: Add
3084 (target_pid_to_exec_file): Add argument.
3085 * target.c (debug_to_pid_to_exec_file): Add argument.
3086 (update_current_target): Update.
3087 * nbsd-nat.h (nbsd_pid_to_exec_file): Add 'self' argument.
3088 * nbsd-nat.c (nbsd_pid_to_exec_file): Add 'self' argument.
3089 * linux-nat.c (linux_child_pid_to_exec_file): Add 'self' argument.
3090 (linux_handle_extended_wait): Update.
3091 * inf-child.c (inf_child_pid_to_exec_file): Add 'self' argument.
3092 * fbsd-nat.h (fbsd_pid_to_exec_file): Add 'self' argument.
3093 * fbsd-nat.c (fbsd_pid_to_exec_file): Add 'self' argument.
3094 * darwin-nat.c (darwin_pid_to_exec_file): Add 'self' argument.
3096 2014-02-19 Tom Tromey <tromey@redhat.com>
3098 * target.h (struct target_ops) <to_rcmd>: Add argument.
3099 (target_rcmd): Add argument.
3100 * target.c (debug_to_rcmd): Add argument.
3101 (update_current_target, do_monitor_command): Update.
3102 * remote.c (remote_rcmd): Add 'self' argument.
3103 * monitor.c (monitor_rcmd): Add 'self' argument.
3105 2014-02-19 Tom Tromey <tromey@redhat.com>
3107 * windows-nat.c (windows_stop): Add 'self' argument.
3108 * target.h (struct target_ops) <to_stop>: Add argument.
3109 * target.c (target_stop): Add argument.
3110 (debug_to_stop): Add argument.
3111 (update_current_target): Update.
3112 * remote.c (remote_stop): Add 'self' argument.
3113 * remote-sim.c (gdbsim_stop): Add 'self' argument.
3114 (gdbsim_cntrl_c): Update.
3115 * remote-m32r-sdi.c (m32r_stop): Add 'self' argument.
3116 * procfs.c (procfs_stop): Add 'self' argument.
3117 * nto-procfs.c (procfs_stop): Add 'self' argument.
3118 * monitor.c (monitor_stop): Add 'self' argument.
3119 (monitor_open): Update.
3120 * linux-nat.c (linux_nat_stop): Add argument.
3121 * inf-ptrace.c (inf_ptrace_stop): Add 'self' argument.
3122 * gnu-nat.c (gnu_stop): Add 'self' argument.
3123 * darwin-nat.c (darwin_stop): Add 'self' argument.
3125 2014-02-19 Tom Tromey <tromey@redhat.com>
3127 * target.h (struct target_ops) <to_thread_name>: Add argument.
3128 * target.c (target_thread_name): Add argument.
3129 (update_current_target): Update.
3130 * linux-nat.c (linux_nat_thread_name): Add 'self' argument.
3132 2014-02-19 Tom Tromey <tromey@redhat.com>
3134 * target.h (struct target_ops) <to_extra_thread_info>: Add
3136 (target_extra_thread_info): Add argument.
3137 * target.c (update_current_target): Update.
3138 * remote.c (remote_threads_extra_info): Add 'self' argument.
3139 * ravenscar-thread.c (ravenscar_extra_thread_info): Add 'self'
3141 * nto-tdep.h (nto_extra_thread_info): Add 'self' argument.
3142 * nto-tdep.c (nto_extra_thread_info): Add 'self' argument.
3143 * linux-thread-db.c (thread_db_extra_thread_info): Add 'self'
3145 * inf-ttrace.c (inf_ttrace_extra_thread_info): Add 'self'
3147 * bsd-uthread.c (bsd_uthread_extra_thread_info): Add 'self'
3149 * aix-thread.c (aix_thread_extra_thread_info): Add 'self'
3152 2014-02-19 Tom Tromey <tromey@redhat.com>
3154 * target.h (struct target_ops) <to_program_signals>: Add argument.
3155 * target.c (target_program_signals): Add argument.
3156 * remote.c (remote_program_signals): Add 'self' argument.
3158 2014-02-19 Tom Tromey <tromey@redhat.com>
3160 * target.h (struct target_ops) <to_pass_signals>: Add argument.
3161 * target.c (target_pass_signals): Add argument.
3162 * remote.c (remote_pass_signals): Add 'self' argument.
3163 (remote_start_remote): Update.
3164 * procfs.c (procfs_pass_signals): Add 'self' argument.
3165 * nto-procfs.c (procfs_pass_signals): Add 'self' argument.
3166 * linux-nat.c (linux_nat_pass_signals): Add 'self' argument.
3167 (linux_nat_create_inferior, linux_nat_attach): Update.
3169 2014-02-19 Tom Tromey <tromey@redhat.com>
3171 * windows-nat.c (windows_can_run): Add 'self' argument.
3172 * target.h (struct target_ops) <to_can_run>: Add argument.
3173 (target_can_run): Add argument.
3174 * target.c (debug_to_can_run): Add argument.
3175 (update_current_target): Update.
3176 * nto-procfs.c (procfs_can_run): Add 'self' argument.
3177 * inf-child.c (inf_child_can_run): Add 'self' argument.
3178 * go32-nat.c (go32_can_run): Add 'self' argument.
3180 2014-02-19 Tom Tromey <tromey@redhat.com>
3182 * target.h (struct target_ops) <to_has_exited>: Add argument.
3183 (target_has_exited): Add argument.
3184 * target.c (debug_to_has_exited): Add argument.
3185 (update_current_target): Update.
3187 2014-02-19 Tom Tromey <tromey@redhat.com>
3189 * target.h (struct target_ops) <to_set_syscall_catchpoint>: Add
3191 (target_set_syscall_catchpoint): Add argument.
3192 * linux-nat.c (linux_child_set_syscall_catchpoint): Add 'self'
3194 * target.c (update_current_target): Update.
3196 2014-02-19 Tom Tromey <tromey@redhat.com>
3198 * target.h (struct target_ops) <to_remove_exec_catchpoint>: Add
3200 (target_remove_exec_catchpoint): Add argument.
3201 * target.c (debug_to_remove_exec_catchpoint): Add argument.
3202 (update_current_target): Update.
3203 * linux-nat.c (linux_child_remove_exec_catchpoint): Add 'self'
3206 2014-02-19 Tom Tromey <tromey@redhat.com>
3208 * target.h (struct target_ops) <to_insert_exec_catchpoint>: Add
3210 (target_insert_exec_catchpoint): Add argument.
3211 * target.c (debug_to_insert_exec_catchpoint): Add argument.
3212 (update_current_target): Update.
3213 * linux-nat.c (linux_child_insert_exec_catchpoint): Add 'self'
3216 2014-02-19 Tom Tromey <tromey@redhat.com>
3218 * target.h (struct target_ops) <to_remove_vfork_catchpoint>: Add
3220 (target_remove_vfork_catchpoint): Add argument.
3221 * target.c (debug_to_remove_vfork_catchpoint): Add argument.
3222 (update_current_target): Update.
3223 * linux-nat.c (linux_child_remove_vfork_catchpoint): Add 'self'
3226 2014-02-19 Tom Tromey <tromey@redhat.com>
3228 * target.h (struct target_ops) <to_insert_vfork_catchpoint>: Add
3230 (target_insert_vfork_catchpoint): Add argument.
3231 * target.c (debug_to_insert_vfork_catchpoint): Add argument.
3232 (update_current_target): Update.
3233 * linux-nat.c (linux_child_insert_vfork_catchpoint): Add 'self'
3236 2014-02-19 Tom Tromey <tromey@redhat.com>
3238 * target.h (struct target_ops) <to_remove_fork_catchpoint>: Add
3240 (target_remove_fork_catchpoint): Add argument.
3241 * target.c (debug_to_remove_fork_catchpoint): Add argument.
3242 (update_current_target): Update.
3243 * linux-nat.c (linux_child_remove_fork_catchpoint): Add 'self'
3246 2014-02-19 Tom Tromey <tromey@redhat.com>
3248 * target.h (struct target_ops) <to_insert_fork_catchpoint>: Add
3250 (target_insert_fork_catchpoint): Add argument.
3251 * target.c (debug_to_insert_fork_catchpoint): Add argument.
3252 (update_current_target): Update.
3253 * linux-nat.c (linux_child_insert_fork_catchpoint): Add 'self'
3256 2014-02-19 Tom Tromey <tromey@redhat.com>
3258 * target.h (struct target_ops) <to_post_startup_inferior>: Add
3260 (target_post_startup_inferior): Add argument.
3261 * target.c (debug_to_post_startup_inferior): Add argument.
3262 (update_current_target): Update.
3263 * spu-linux-nat.c (spu_child_post_startup_inferior): Add 'self'
3265 * linux-nat.c (linux_child_post_startup_inferior): Add 'self'
3267 * inf-ptrace.c (inf_ptrace_post_startup_inferior): Add 'self'
3269 * inf-child.c (inf_child_post_startup_inferior): Add 'self'
3271 * i386-linux-nat.c (i386_linux_child_post_startup_inferior): Add
3273 (super_post_startup_inferior): Likewise.
3274 * amd64-linux-nat.c (amd64_linux_child_post_startup_inferior): Add
3276 (super_post_startup_inferior): Likewise.
3277 * aarch64-linux-nat.c (aarch64_linux_child_post_startup_inferior):
3278 Add 'self' argument.
3279 (super_post_startup_inferior): Likewise.
3281 2014-02-19 Tom Tromey <tromey@redhat.com>
3283 * target.h (struct target_ops) <to_load>: Add argument.
3284 * target.c (target_load): Add argument.
3285 (debug_to_load): Add argument.
3286 (update_current_target): Update.
3287 * remote.c (remote_load): Add 'self' argument.
3288 * remote-sim.c (gdbsim_load): Add 'self' argument.
3289 * remote-mips.c (mips_load): Add 'self' argument.
3290 * remote-m32r-sdi.c (m32r_load): Add 'self' argument.
3291 * monitor.c (monitor_load): Add 'self' argument.
3292 * m32r-rom.c (m32r_load_gen): Add 'self' argument.
3294 2014-02-19 Tom Tromey <tromey@redhat.com>
3296 * target.h (struct target_ops) <to_terminal_info>: Add argument.
3297 (target_terminal_info): Add argument.
3298 * target.c (debug_to_terminal_info): Add argument.
3299 (default_terminal_info): Likewise.
3300 * inflow.c (child_terminal_info): Add 'self' argument.
3301 * inferior.h (child_terminal_info): Add 'self' argument.
3302 * go32-nat.c (go32_terminal_info): Add 'self' argument.
3304 2014-02-19 Tom Tromey <tromey@redhat.com>
3306 * target.h (struct target_ops) <to_terminal_save_ours>: Add
3308 (target_terminal_save_ours): Add argument.
3309 * target.c (debug_to_terminal_save_ours): Add argument.
3310 (update_current_target): Update.
3311 * inflow.c (terminal_save_ours): Add 'self' argument.
3312 * inferior.h (terminal_save_ours): Add 'self' argument.
3314 2014-02-19 Tom Tromey <tromey@redhat.com>
3316 * target.h (struct target_ops) <to_terminal_ours>: Add argument.
3317 (target_terminal_ours): Add argument.
3318 * target.c (debug_to_terminal_ours): Add argument.
3319 (update_current_target): Update.
3320 * remote.c (remote_terminal_ours): Add 'self' argument.
3321 (remote_close): Update.
3322 * linux-nat.c (linux_nat_terminal_ours): Add 'self' argument.
3323 * inflow.c (terminal_ours): Add 'self' argument.
3324 * inferior.h (terminal_ours): Add 'self' argument.
3325 * go32-nat.c (go32_terminal_ours): Add 'self' argument.
3327 2014-02-19 Pedro Alves <palves@redhat.com>
3328 Tom Tromey <tromey@redhat.com>
3330 * target.h (struct target_ops) <to_terminal_ours_for_output>: Add
3332 (target_terminal_ours_for_output): Add argument.
3333 * target.c (debug_to_terminal_ours_for_output): Add argument.
3334 (update_current_target): Update.
3335 * inflow.c (terminal_ours_for_output): Add 'self' argument.
3336 * inferior.h (terminal_ours_for_output): Add 'self' argument.
3337 * go32-nat.c (go32_terminal_ours): Add 'self' argument.
3339 2014-02-19 Tom Tromey <tromey@redhat.com>
3341 * target.h (struct target_ops) <to_terminal_inferior>: Add
3343 * target.c (target_terminal_inferior): Add argument.
3344 (update_current_target): Update.
3345 * remote.c (remote_terminal_inferior): Add 'self' argument.
3346 * linux-nat.c (linux_nat_terminal_inferior): Add 'self' argument.
3347 * inflow.c (terminal_inferior): Add 'self' argument.
3348 * inferior.h (terminal_inferior): Add 'self' argument.
3349 * go32-nat.c (go32_terminal_inferior): Add 'self' argument.
3350 (go32_terminal_inferior): Add 'self' argument.
3352 2014-02-19 Tom Tromey <tromey@redhat.com>
3354 * target.h (struct target_ops) <to_terminal_init>: Add argument.
3355 (target_terminal_init): Add argument.
3356 * target.c (debug_to_terminal_init): Add argument.
3357 (update_current_target): Update.
3358 * inflow.c (terminal_init_inferior): Add 'self' argument.
3359 * inferior.h (terminal_init_inferior): Add 'self' argument.
3360 * go32-nat.c (go32_terminal_init): Add 'self' argument.
3361 * gnu-nat.c (gnu_terminal_init_inferior): Add 'self' argument.
3363 2014-02-19 Tom Tromey <tromey@redhat.com>
3365 * target.h (struct target_ops)
3366 <to_can_accel_watchpoint_condition>: Add argument.
3367 (target_can_accel_watchpoint_condition): Add argument.
3368 * target.c (debug_to_can_accel_watchpoint_condition): Add
3370 (update_current_target): Update.
3371 * ppc-linux-nat.c (ppc_linux_can_accel_watchpoint_condition): Add
3374 2014-02-19 Tom Tromey <tromey@redhat.com>
3376 * target.h (struct target_ops) <to_region_ok_for_hw_watchpoint>:
3378 (target_region_ok_for_hw_watchpoint): Add argument.
3379 * target.c (debug_to_region_ok_for_hw_watchpoint): Add argument.
3380 (default_region_ok_for_hw_watchpoint): Add argument.
3381 * spu-multiarch.c (spu_region_ok_for_hw_watchpoint): Add argument.
3382 * s390-linux-nat.c (s390_region_ok_for_hw_watchpoint): Add 'self'
3384 * remote.c (remote_region_ok_for_hw_watchpoint): Add 'self'
3386 * procfs.c (procfs_region_ok_for_hw_watchpoint): Add 'self'
3388 * ppc-linux-nat.c (ppc_linux_region_ok_for_hw_watchpoint): Add
3390 * mips-linux-nat.c (mips_linux_region_ok_for_hw_watchpoint): Add
3392 * inf-ttrace.c (inf_ttrace_region_ok_for_hw_watchpoint): Add
3394 * i386-nat.c (i386_region_ok_for_watchpoint): Add 'self' argument.
3395 * arm-linux-nat.c (arm_linux_region_ok_for_hw_watchpoint): Add
3397 * aarch64-linux-nat.c (aarch64_linux_region_ok_for_hw_watchpoint):
3398 Add 'self' argument.
3400 2014-02-19 Tom Tromey <tromey@redhat.com>
3402 * target.h (struct target_ops) <to_insert_watchpoint>: Add
3404 (target_insert_watchpoint): Add argument.
3405 * target.c (debug_to_insert_watchpoint): Add argument.
3406 (update_current_target): Update.
3407 * s390-linux-nat.c (s390_insert_watchpoint): Add 'self' argument.
3408 * remote.c (remote_insert_watchpoint): Add 'self' argument.
3409 * remote-mips.c (mips_insert_watchpoint): Add 'self' argument.
3410 * remote-m32r-sdi.c (m32r_insert_watchpoint): Add 'self' argument.
3411 * procfs.c (procfs_insert_watchpoint): Add 'self' argument.
3412 * ppc-linux-nat.c (ppc_linux_insert_watchpoint): Add 'self'
3414 * nto-procfs.c (procfs_insert_hw_watchpoint): Add 'self' argument.
3415 (procfs_insert_hw_watchpoint): Add 'self' argument.
3416 * mips-linux-nat.c (mips_linux_insert_watchpoint): Add 'self'
3418 * inf-ttrace.c (inf_ttrace_insert_watchpoint): Add 'self'
3420 * ia64-linux-nat.c (ia64_linux_insert_watchpoint): Add 'self'
3422 * i386-nat.c (i386_insert_watchpoint): Add 'self' argument.
3423 * arm-linux-nat.c (arm_linux_insert_watchpoint): Add 'self'
3425 * aarch64-linux-nat.c (aarch64_linux_insert_watchpoint): Add
3428 2014-02-19 Tom Tromey <tromey@redhat.com>
3430 * target.h (struct target_ops) <to_remove_watchpoint>: Add
3432 (target_remove_watchpoint): Add argument.
3433 * target.c (debug_to_remove_watchpoint): Add argument.
3434 (update_current_target): Update.
3435 * s390-linux-nat.c (s390_remove_watchpoint): Add 'self' argument.
3436 * remote.c (remote_remove_watchpoint): Add 'self' argument.
3437 * remote-mips.c (mips_remove_watchpoint): Add 'self' argument.
3438 * remote-m32r-sdi.c (m32r_remove_watchpoint): Add 'self' argument.
3439 * procfs.c (procfs_remove_watchpoint): Add 'self' argument.
3440 * ppc-linux-nat.c (ppc_linux_remove_watchpoint): Add 'self'
3442 * nto-procfs.c (procfs_remove_hw_watchpoint): Add 'self' argument.
3443 * mips-linux-nat.c (mips_linux_remove_watchpoint): Add 'self'
3445 * inf-ttrace.c (inf_ttrace_remove_watchpoint): Add 'self'
3447 * ia64-linux-nat.c (ia64_linux_remove_watchpoint): Add 'self'
3449 * i386-nat.c (i386_remove_watchpoint): Add 'self' argument.
3450 * arm-linux-nat.c (arm_linux_remove_watchpoint): Add 'self'
3452 * aarch64-linux-nat.c (aarch64_linux_remove_watchpoint): Add
3455 2014-02-19 Tom Tromey <tromey@redhat.com>
3457 * target.h (struct target_ops) <to_remove_hw_breakpoint>: Add
3459 (target_remove_hw_breakpoint): Add argument.
3460 * target.c (debug_to_remove_hw_breakpoint): Add argument.
3461 (update_current_target): Update.
3462 * remote.c (remote_remove_hw_breakpoint): Add 'self' argument.
3463 * ppc-linux-nat.c (ppc_linux_remove_hw_breakpoint): Add 'self'
3465 * i386-nat.c (i386_remove_hw_breakpoint): Add 'self' argument.
3466 * arm-linux-nat.c (arm_linux_remove_hw_breakpoint): Add 'self'
3468 * aarch64-linux-nat.c (aarch64_linux_remove_hw_breakpoint): Add
3471 2014-02-19 Tom Tromey <tromey@redhat.com>
3473 * target.h (struct target_ops) <to_insert_hw_breakpoint>: Add
3475 (target_insert_hw_breakpoint): Add argument.
3476 * target.c (debug_to_insert_hw_breakpoint): Add argument.
3477 (update_current_target): Update.
3478 * remote.c (remote_insert_hw_breakpoint): Add 'self' argument.
3479 * ppc-linux-nat.c (ppc_linux_insert_hw_breakpoint): Add 'self'
3481 * nto-procfs.c (procfs_insert_hw_breakpoint): Add 'self' argument.
3482 * i386-nat.c (i386_insert_hw_breakpoint): Add 'self' argument.
3483 * arm-linux-nat.c (arm_linux_insert_hw_breakpoint): Add 'self'
3485 * aarch64-linux-nat.c (aarch64_linux_insert_hw_breakpoint): Add
3488 2014-02-19 Tom Tromey <tromey@redhat.com>
3490 * target.h (struct target_ops) <to_can_use_hw_breakpoint>: Add
3492 (target_can_use_hardware_watchpoint): Add argument.
3493 * target.c (debug_to_can_use_hw_breakpoint): Add argument.
3494 (update_current_target): Update.
3495 * spu-linux-nat.c (spu_can_use_hw_breakpoint): Add 'self'
3497 * s390-linux-nat.c (s390_can_use_hw_breakpoint): Add 'self'
3499 * remote.c (remote_check_watch_resources): Add 'self' argument.
3500 * remote-mips.c (mips_can_use_watchpoint): Add 'self' argument.
3501 * remote-m32r-sdi.c (m32r_can_use_hw_watchpoint): Add 'self'
3503 * procfs.c (procfs_can_use_hw_breakpoint): Add 'self' argument.
3504 * ppc-linux-nat.c (ppc_linux_can_use_hw_breakpoint): Add 'self'
3506 * nto-procfs.c (procfs_can_use_hw_breakpoint): Add 'self'
3508 * mips-linux-nat.c (mips_linux_can_use_hw_breakpoint): Add 'self'
3510 * inf-ttrace.c (inf_ttrace_can_use_hw_breakpoint): Add 'self'
3512 * ia64-linux-nat.c (ia64_linux_can_use_hw_breakpoint): Add 'self'
3514 * ia64-hpux-nat.c (ia64_hpux_can_use_hw_breakpoint): Add 'self'
3516 * i386-nat.c (i386_can_use_hw_breakpoint): Add 'self' argument.
3517 * arm-linux-nat.c (arm_linux_can_use_hw_breakpoint): Add 'self'
3519 * aarch64-linux-nat.c (aarch64_linux_can_use_hw_breakpoint): Add
3522 2014-02-19 Tom Tromey <tromey@redhat.com>
3524 * target.h (struct target_ops) <to_post_attach>: Add argument.
3525 (target_post_attach): Add argument.
3526 * target.c (debug_to_post_attach): Add argument.
3527 (update_current_target): Update.
3528 * spu-linux-nat.c (spu_child_post_attach): Add 'self' argument.
3529 * nto-procfs.c (procfs_post_attach): Add 'self' argument.
3530 * linux-nat.c (linux_child_post_attach): Add 'self' argument.
3531 * inf-ptrace.c (inf_ptrace_post_attach): Add 'self' argument.
3532 * inf-child.c (inf_child_post_attach): Add 'self' argument.
3534 2014-02-19 Tom Tromey <tromey@redhat.com>
3536 * windows-nat.c (windows_close): Add 'self' argument.
3537 * tracepoint.c (tfile_close): Add 'self' argument.
3538 * target.h (struct target_ops) <to_close>: Add argument.
3539 * target.c (target_close): Add argument.
3540 (update_current_target): Update.
3541 * remote.c (remote_close): Add 'self' argument.
3542 * remote-sim.c (gdbsim_close): Add 'self' argument.
3543 * remote-mips.c (mips_close): Add 'self' argument.
3544 * remote-m32r-sdi.c (m32r_close): Add 'self' argument.
3545 * record-full.c (record_full_close): Add 'self' argument.
3546 * record-btrace.c (record_btrace_close): Add 'self' argument.
3547 * monitor.h (monitor_close): Add 'self' argument.
3548 * monitor.c (monitor_close): Add 'self' argument.
3549 * mips-linux-nat.c (mips_linux_close): Add 'self' argument.
3550 * linux-nat.c (linux_nat_close): Add argument.
3551 * go32-nat.c (go32_close): Add 'self' argument.
3552 * exec.c (exec_close_1): Add 'self' argument.
3553 * ctf.c (ctf_close): Add 'self' argument.
3554 * corelow.c (core_close): Add 'self' argument.
3555 (core_close_cleanup): Update.
3556 * bsd-uthread.c (bsd_uthread_close): Add 'self' argument.
3557 * bsd-kvm.c (bsd_kvm_close): Add 'self' argument.
3559 2014-02-19 Tom Tromey <tromey@redhat.com>
3561 * remote.c (remote_load): New function.
3562 (init_remote_ops): Use it.
3564 2014-02-19 Tom Tromey <tromey@redhat.com>
3566 * common/linux-btrace.c (linux_supports_btrace): Add "ops"
3568 * common/linux-btrace.h (linux_supports_btrace): Update.
3569 * remote.c (remote_supports_btrace): Add "self" argument.
3570 * target-delegates.c: Rebuild.
3571 * target.c (target_supports_btrace): Remove.
3572 * target.h (struct target_ops) <to_supports_btrace>: Add
3573 target_ops argument.
3574 (target_supports_btrace): New define.
3576 2014-02-19 Tom Tromey <tromey@redhat.com>
3578 * record-full.c (record_full_beneath_to_resume_ops)
3579 (record_full_beneath_to_resume, record_full_beneath_to_wait_ops)
3580 (record_full_beneath_to_wait)
3581 (record_full_beneath_to_store_registers_ops)
3582 (record_full_beneath_to_store_registers)
3583 (record_full_beneath_to_xfer_partial_ops)
3584 (record_full_beneath_to_xfer_partial)
3585 (record_full_beneath_to_insert_breakpoint_ops)
3586 (record_full_beneath_to_insert_breakpoint)
3587 (record_full_beneath_to_remove_breakpoint_ops)
3588 (record_full_beneath_to_remove_breakpoint)
3589 (record_full_beneath_to_stopped_by_watchpoint)
3590 (record_full_beneath_to_stopped_data_address)
3591 (record_full_beneath_to_async, tmp_to_resume_ops, tmp_to_resume)
3592 (tmp_to_wait_ops, tmp_to_wait, tmp_to_store_registers_ops)
3593 (tmp_to_store_registers, tmp_to_xfer_partial_ops)
3594 (tmp_to_xfer_partial, tmp_to_instmp_to_insert_breakpoint_ops)
3595 (tmp_to_insert_breakpoint, tmp_to_remove_breakpoint_ops)
3596 (tmp_to_remove_breakpoint, tmp_to_stopped_by_watchpoint)
3597 (tmp_to_stopped_data_address, tmp_to_async): Remove.
3598 (record_full_open_1, record_full_open): Update. Use RECORD_IS_USED.
3599 (record_full_resume, record_full_wait_1)
3600 (record_full_stopped_by_watchpoint, record_full_stopped_data_address)
3601 (record_full_store_registers, record_full_xfer_partial)
3602 (record_full_insert_breakpoint, record_full_remove_breakpoint)
3603 (record_full_async, record_full_core_xfer_partial): Use target
3605 * target-delegates.c: Rebuild.
3606 * target.c (current_xfer_partial): Remove.
3607 (update_current_target): Do not INHERIT or de_fault
3608 to_insert_breakpoint, to_remove_breakpoint,
3609 to_stopped_data_address, to_stopped_by_watchpoint, to_can_async_p,
3610 to_is_async_p, to_async. Do not set to_xfer_partial field.
3611 (default_xfer_partial): Simplify.
3612 (current_xfer_partial): Remove.
3613 (target_wait, target_resume): Simplify.
3614 (find_default_can_async_p, find_default_is_async_p): Update.
3615 (init_dummy_target): Don't set to_can_async_p, to_is_async_p,
3616 to_xfer_partial, to_stopped_by_watchpoint,
3617 to_stopped_data_address.
3618 (target_store_registers): Simplify.
3619 (forward_target_remove_breakpoint)
3620 (forward_target_insert_breakpoint): Remove.
3621 (target_remove_breakpoint, target_insert_breakpoint)
3622 (debug_to_insert_breakpoint, debug_to_remove_breakpoint): Update.
3623 * target.h (struct target_ops) <to_resume, to_wait,
3624 to_store_registers, to_insert_breakpoint, to_remove_breakpoint,
3625 to_stopped_by_watchpoint, to_stopped_data_address, to_can_async_p,
3626 to_is_async_p, to_async, to_xfer_partial>: Add TARGET_DEFAULT
3628 (forward_target_remove_breakpoint)
3629 (forward_target_insert_breakpoint): Remove.
3630 * record-btrace.c (record_btrace_remove_breakpoint): Delegate
3632 (record_btrace_insert_breakpoint): Delegate directly.
3634 2014-02-19 Tom Tromey <tromey@redhat.com>
3637 * target-delegates.c: New file.
3638 * target.c: Include target-delegates.c.
3639 (init_dummy_target): Call install_dummy_methods.
3640 (complete_target_initialization): Call install_delegators.
3641 * target.h (TARGET_DEFAULT_IGNORE, TARGET_DEFAULT_NORETURN)
3642 (TARGET_DEFAULT_RETURN, TARGET_DEFAULT_FUNC): New defines.
3643 * make-target-delegates: New file.
3645 2014-02-19 Tom Tromey <tromey@redhat.com>
3647 * record.c (find_record_target): Use find_target_at.
3648 * target.c (find_target_at): New function.
3649 * target.h (find_target_at): Declare.
3651 2014-02-19 Tom Tromey <tromey@redhat.com>
3653 * aarch64-linux-nat.c (aarch64_linux_stopped_by_watchpoint):
3655 * arm-linux-nat.c (arm_linux_stopped_by_watchpoint): Add
3657 * i386-nat.c (i386_stopped_by_watchpoint): Add 'ops' argument.
3658 * ia64-linux-nat.c (ia64_linux_stopped_by_watchpoint): Add
3660 * inf-ttrace.c (inf_ttrace_stopped_by_watchpoint): Add 'ops'
3662 * linux-nat.c (save_sigtrap): Update.
3663 (linux_nat_stopped_by_watchpoint, linux_nat_is_async_p)
3664 (linux_nat_can_async_p, linux_nat_async): Add 'ops' argument.
3665 (linux_nat_close): Update.
3666 * mips-linux-nat.c (mips_linux_stopped_by_watchpoint): Add 'ops'
3668 * ppc-linux-nat.c (ppc_linux_stopped_by_watchpoint): Add 'ops'
3670 * procfs.c (procfs_stopped_by_watchpoint): Add 'ops' argument.
3671 * record-full.c (record_full_beneath_to_stopped_by_watchpoint)
3672 (record_full_beneath_to_async, tmp_to_stopped_by_watchpoint)
3673 (tmp_to_async): Add 'ops' argument.
3674 (record_full_stopped_by_watchpoint, record_full_async)
3675 (record_full_can_async_p, record_full_is_async_p): Add 'ops'
3677 * remote-m32r-sdi.c (m32r_insert_breakpoint, m32r_remove_breakpoint)
3678 (m32r_stopped_by_watchpoint): Add 'ops' argument.
3679 * remote-mips.c (mips_stopped_by_watchpoint): Add 'ops' argument.
3680 * remote.c (remote_stopped_by_watchpoint_p, remote_can_async_p)
3681 (remote_is_async_p, remote_async): Add 'ops' argument.
3682 (remote_stopped_data_address): Update.
3683 * s390-nat.c (s390_stopped_by_watchpoint): Add 'ops' argument.
3684 * target.c (update_current_target)
3685 (find_default_can_async_p, find_default_is_async_p): Update.
3686 (init_dummy_target): Update.
3687 (debug_to_stopped_by_watchpoint): Add 'ops' argument.
3688 * target.h (struct target_ops) <to_stopped_by_watchpoint,
3689 to_can_async_p, to_is_async_p, to_async>: Add 'ops' argument.
3690 (target_can_async_p, target_is_async_p, target_async)
3691 (target_stopped_by_watchpoint): Update.
3693 2014-02-19 Yao Qi <yao@codesourcery.com>
3696 * gdbarch.sh: Remove startup_gdbarch.
3697 * gdbarch.c: Regenerated.
3698 * gdbarch.h: Likewise.
3700 2014-02-17 Kevin Buettner <kevinb@redhat.com>
3702 * rl78-tdep.c (rl78_g10_register_name): New function.
3703 (rl78_return_value): Add g10 support.
3704 (rl78_gdbarch_init): Register rl78_g10_register_name for the
3707 2014-02-17 Doug Evans <xdje42@gmail.com>
3709 * Makefile.in (SUBDIR_GUILE_OBS): Resort alphabetically.
3710 (SUBDIR_GUILE_SRCS): Ditto.
3711 (scm-gsmob.o): Ditto.
3713 2014-02-17 Yao Qi <yao@codesourcery.com>
3715 * gnu-nat.c (ILL_RPC): Declare defined function.
3717 2014-02-17 Yao Qi <yao@codesourcery.com>
3719 * gnu-nat.c (gnu_read_inferior): Change 'copy_count' type to
3720 mach_msg_type_number_t.
3721 (gnu_write_inferior): Likewise.
3723 2014-02-17 Yao Qi <yao@codesourcery.com>
3725 * gnu-nat.c (proc_get_exception_port): Use 'lu' insetad of 'd'
3727 (proc_steal_exc_port, make_proc, inf_set_pid): Likewise.
3728 (inf_validate_procs, inf_signal): Likewise.
3729 (S_exception_raise_request): Likewise.
3730 (do_mach_notify_dead_name): Likewise.
3731 (steal_exc_port): Likewise.
3732 (gnu_read_inferior): Change 'copy_count''s type to
3733 mach_msg_type_number_t.
3734 (gnu_write_inferior): Likewise. Use 'lx' instead of 'x' in
3737 2014-02-16 Thomas Schwinge <thomas@codesourcery.com>
3739 * gnu-nat.c (struct inf): Change pending_execs member to a 1-bit
3740 flag. Adjust all users; in particular...
3741 (gnu_wait): ..., don't decrement its value in here...
3742 (gnu_create_inferior): ..., and instead set the flag in here,
3743 around the startup_inferior call, and call that one with
3744 START_INFERIOR_TRAPS_EXPECTED.
3746 * gnu-nat.c (ill_rpc): Remove function; replaced with this...
3747 (ILL_RPC): ... new macro.
3748 (do_mach_notify_no_senders, do_mach_notify_port_deleted)
3749 (do_mach_notify_msg_accepted, do_mach_notify_port_destroyed)
3750 (do_mach_notify_send_once, S_proc_setmsgport_reply)
3751 (S_proc_getmsgport_reply, S_msg_sig_post_reply): Generate stub
3752 functions with ILL_RPC macro.
3753 (S_proc_pid2task_reply, S_proc_task2pid_reply)
3754 (S_proc_task2proc_reply, S_proc_proc2task_reply)
3755 (S_proc_pid2proc_reply, S_proc_getprocinfo_reply)
3756 (S_proc_getprocargs_reply, S_proc_getprocenv_reply)
3757 (S_proc_getloginid_reply, S_proc_getloginpids_reply)
3758 (S_proc_getlogin_reply, S_proc_getsid_reply)
3759 (S_proc_getsessionpgids_reply, S_proc_getsessionpids_reply)
3760 (S_proc_getsidport_reply, S_proc_getpgrp_reply)
3761 (S_proc_getpgrppids_reply, S_proc_get_tty_reply)
3762 (S_proc_getnports_reply, S_proc_is_important_reply)
3763 (S_proc_get_code_reply): New stub functions, generated with
3766 * reply_mig_hack.awk: In phase 5, keep going if we have not yet
3767 collected the type check structures.
3769 * reply_mig_hack.awk: Don't expect to see the auto keyword.
3771 2014-02-14 Doug Evans <dje@google.com>
3773 * target.c (target_write_partial): Fix result type.
3775 2014-02-14 Jose E. Marchesi <jose.marchesi@oracle.com>
3777 * sparc64-linux-nat.c (_initialize_sparc64_linux_nat): Register
3778 the proper offsets to access fpregset_t.
3780 2014-02-13 Sanimir Agovic <sanimir.agovic@intel.com>
3782 * cris-tdep.c (cris_supply_gregset): Remove zerobuf.
3783 (_initialize_cris_tdep): Remove cris_set_cmdlist, cris_show_cmdlist.
3784 * h8300-tdep.c (setmachinelist): Remove global.
3785 * hppa-tdep.c (hppa_sigtramp): Remove global.
3786 * mipsnbsd-tdep.c (sigtramp_retcode_mipsel, sigtramp_retcode_mipseb
3787 RETCODE_NWORDS, RETCODE_SIZE): Wrap code with #if 0.
3788 * ravenscar-thread.c (update_target_observer): Remove global.
3789 * rs6000-tdep.c (rs6000_gdbarch_init): Remove segment_regs.
3791 2014-02-12 Tom Tromey <tromey@redhat.com>
3793 * common/rsp-low.c: Update comments.
3794 * common/rsp-low.h: Update comments.
3796 2014-02-12 Tom Tromey <tromey@redhat.com>
3798 * common/rsp-low.c (convert_ascii_to_int): Remove.
3799 * common/rsp-low.h (convert_ascii_to_int): Don't declare.
3801 2014-02-12 Tom Tromey <tromey@redhat.com>
3803 * common/rsp-low.h (unhexify): Don't declare.
3804 * common/rsp-low.c (unhexify): Remove.
3806 2014-02-12 Tom Tromey <tromey@redhat.com>
3808 * common/rsp-low.h (convert_int_to_ascii): Don't declare.
3809 * common/rsp-low.c (convert_int_to_ascii): Remove.
3811 2014-02-12 Tom Tromey <tromey@redhat.com>
3813 * common/rsp-low.h (hexify): Don't declare.
3814 * common/rsp-low.c (hexify): Remove.
3816 2014-02-12 Tom Tromey <tromey@redhat.com>
3818 * common/rsp-low.c (hexify): Never take strlen of argument.
3820 2014-02-12 Tom Tromey <tromey@redhat.com>
3822 * common/rsp-low.c (bin2hex): Never take strlen of argument.
3823 * remote.c (extended_remote_run, remote_rcmd)
3824 (remote_download_trace_state_variable, remote_save_trace_data)
3825 (remote_set_trace_notes): Update.
3826 * tracepoint.c (encode_source_string, tfile_write_status)
3827 (tfile_write_uploaded_tsv): Update.
3829 2014-02-12 Tom Tromey <tromey@redhat.com>
3831 * tracepoint.c: Include rsp-low.h.
3832 * remote.h (hex2bin, bin2hex, unpack_varlen_hex): Don't declare.
3833 * remote.c: Include rsp-low.h.
3834 (hexchars, ishex, unpack_varlen_hex, pack_nibble, pack_hex_byte)
3835 (fromhex, hex2bin, tohex, bin2hex, remote_escape_output)
3836 (remote_unescape_input): Move to common/rsp-low.c.
3837 * common/rsp-low.h: New file.
3838 * common/rsp-low.c: New file.
3839 * Makefile.in (SFILES): Add common/rsp-low.c.
3840 (HFILES_NO_SRCDIR): Add common/rsp-low.h.
3841 (COMMON_OBS): Add rsp-low.o.
3842 (rsp-low.o): New target.
3844 2014-02-12 Tom Tromey <tromey@redhat.com>
3846 * utils.h: Include print-utils.h.
3847 (host_address_to_string, plongest, pulongest, phex, phex_nz)
3848 (int_string, core_addr_to_string, core_addr_to_string_nz)
3849 (hex_string, hex_string_custom): Don't declare.
3850 * utils.c (NUMCELLS, CELLSIZE, get_cell, decimal2str, pulongest)
3851 (plongest, thirty_two, phex, phex_nz, octal2str, hex_string)
3852 (hex_string_custom, int_string, core_addr_to_string)
3853 (core_addr_to_string_nz, host_address_to_string): Move to
3854 common/print-utils.c.
3855 * common/print-utils.h: New file.
3856 * common/print-utils.c: New file
3857 * Makefile.in (SFILES): Add common/print-utils.c.
3858 (HFILES_NO_SRCDIR): Add common/print-utils.h.
3859 (COMMON_OBS): Add print-utils.o.
3860 (print-utils.o): New target.
3862 2014-02-12 Tom Tromey <tromey@redhat.com>
3864 * nios2-tdep.c (nios2_stub_frame_base_address): Remove.
3866 2014-02-12 Mark Kettenis <kettenis@gnu.org>
3868 * sparc64obsd-tdep.c (sparc64obsd_init_abi): Call obsd_init_abi.
3870 2014-02-12 Mark Kettenis <kettenis@gnu.org>
3872 * inf-ptrace.c (inf_ptrace_xfer_partial): Return TARGET_XFER_EOF
3873 if a PT_IO ptrace request returns sucessfully but indicates that 0
3874 bytes were transferred.
3876 2014-02-12 Pedro Alves <palves@redhat.com>
3877 Kevin Buettner <kevinb@redhat.com>
3879 * gnu-v3-abi.c (build_gdb_vtable_type): Return a type marked with
3880 TYPE_INSTANCE_FLAG_CODE_SPACE.
3882 2014-02-12 Pedro Alves <palves@redhat.com>
3884 * h8300-tdep.c (pseudo_from_raw_register)
3885 (raw_from_pseudo_register): New functions.
3886 (h8300_pseudo_register_read, h8300_pseudo_register_write): Use
3889 2014-02-12 Pedro Alves <palves@redhat.com>
3891 * h8300-tdep.c (h8300_register_sim_regno): New function.
3892 (h8300_gdbarch_init): Install h8300_register_sim_regno as
3893 gdbarch_register_sim_regno hook.
3895 2014-02-12 Sanimir Agovic <sanimir.agovic@intel.com>
3897 * nios2-tdep.c (nios2_stub_frame_base): Remove global.
3899 2014-02-12 Sanimir Agovic <sanimir.agovic@intel.com>
3901 * tic6x-tdep.c (tic6x_gdbarch_init): Call frame_base_set_default.
3903 2014-02-12 Mark Kettenis <kettenis@gnu.org>
3905 * obsd-tdep.h (obsd_init_abi): New prototype.
3906 * obsd-tdep.c: Define enum with OpenBSD signal numbers.
3907 (obsd_gdb_signal_from_target, obsd_gdb_signal_to_target)
3908 (obsd_init_abi): New functions.
3909 * i386obsd-tdep.c: Include "obsd-tdep.h".
3910 (i386obsd_init_abi): Call obsd_init_abi.
3911 * amd64obsd-tdep.c: Include "obsd-tdep.h".
3912 (amd64obsd_init_abi): Call obsd_init_abi.
3913 * configure.tgt (i[34567]86-*-openbsd*, x86_64-*-openbsd*): Add
3914 obsd-tdep.c to gdb_target_obs.
3916 2014-02-11 Jose E. Marchesi <jose.marchesi@oracle.com>
3918 * sparc64-tdep.c (sparc64_store_arguments): Do not align complex
3919 double float arguments to 16-byte in the argument slots.
3921 2014-02-11 Doug Evans <xdje42@gmail.com>
3923 * configure.ac: Don't crash if pkg-config is not found and guile
3924 wasn't explicitly requested. Use AC_MSG_ERROR instead of AC_ERROR
3926 * configure: Regenerate.
3928 2014-02-11 Yao Qi <yao@codesourcery.com>
3930 * aix-thread.c (aix_thread_xfer_partial): Update comments.
3931 * auxv.c (procfs_xfer_auxv, memory_xfer_auxv): Likewise.
3932 * bsd-uthread.c (bsd_uthread_xfer_partial): Likewise.
3933 * gnu-nat.c (gnu_xfer_memory): Likewise.
3934 * inf-ptrace.c (inf_ptrace_xfer_partial): Likewise.
3935 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
3936 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
3937 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise.
3939 2014-02-11 Yao Qi <yao@codesourcery.com>
3941 * target.h (enum target_xfer_error): Rename to ...
3942 (enum target_xfer_status): ... it. New. All users updated.
3943 (enum target_xfer_status) <TARGET_XFER_OK>, <TARGET_XFER_EOF>:
3945 (TARGET_XFER_STATUS_ERROR_P): New macro.
3946 (target_xfer_error_to_string): Remove declaration.
3947 (target_xfer_status_to_string): Declare.
3948 (target_xfer_partial_ftype): Adjust it.
3949 (struct target_ops) <to_xfer_partial>: Return
3950 target_xfer_status. Add argument xfered_len. Update
3952 * target.c (target_xfer_error_to_string): Rename to ...
3953 (target_xfer_status_to_string): ... it. New. All callers
3955 (target_read_live_memory): Likewise. Call target_xfer_partial
3956 instead of target_read.
3957 (memory_xfer_live_readonly_partial): Return
3958 target_xfer_status. Add argument xfered_len.
3959 (raw_memory_xfer_partial): Likewise.
3960 (memory_xfer_partial_1): Likewise.
3961 (memory_xfer_partial): Likewise.
3962 (target_xfer_partial): Likewise. Check *XFERED_LEN is set
3963 properly. Update debug message.
3964 (default_xfer_partial, current_xfer_partial): Likewise.
3965 (target_write_partial): Likewise.
3966 (target_read_partial): Likewise. All callers updated.
3967 (read_whatever_is_readable): Likewise.
3968 (target_write_with_progress): Likewise.
3969 (target_read_alloc_1): Likewise.
3971 * aix-thread.c (aix_thread_xfer_partial): Likewise.
3972 * auxv.c (procfs_xfer_auxv): Likewise.
3973 (ld_so_xfer_auxv, memory_xfer_auxv): Likewise.
3974 * bfd-target.c (target_bfd_xfer_partial): Likewise.
3975 * bsd-kvm.c (bsd_kvm_xfer_partial): Likewise.
3976 * bsd-uthread.c (bsd_uthread_xfer_partia): Likewise.
3977 * corefile.c (read_memory): Adjust.
3978 * corelow.c (core_xfer_partial): Likewise.
3979 * ctf.c (ctf_xfer_partial): Likewise.
3980 * darwin-nat.c (darwin_read_dyld_info): Likewise. All callers
3982 (darwin_xfer_partial): Likewise.
3983 * exec.c (section_table_xfer_memory_partial): Likewise. All
3985 (exec_xfer_partial): Likewise.
3986 * exec.h (section_table_xfer_memory_partial): Update
3988 * gnu-nat.c (gnu_xfer_memory): Likewise. Assert 'res' is not
3990 (gnu_xfer_partial): Likewise.
3991 * ia64-hpux-nat.c (ia64_hpux_xfer_memory_no_bs): Likewise.
3992 (ia64_hpux_xfer_memory, ia64_hpux_xfer_uregs): Likewise.
3993 (ia64_hpux_xfer_solib_got): Likewise.
3994 * inf-ptrace.c (inf_ptrace_xfer_partial): Likewise. Change
3995 type of 'partial_len' to ULONGEST.
3996 * inf-ttrace.c (inf_ttrace_xfer_partial): Likewise.
3997 * linux-nat.c (linux_xfer_siginfo ): Likewise.
3998 (linux_nat_xfer_partial): Likewise.
3999 (linux_proc_xfer_partial, linux_xfer_partial): Likewise.
4000 (linux_proc_xfer_spu, linux_nat_xfer_osdata): Likewise.
4001 * monitor.c (monitor_xfer_memory): Likewise.
4002 (monitor_xfer_partial): Likewise.
4003 * procfs.c (procfs_xfer_partial): Likewise.
4004 * record-btrace.c (record_btrace_xfer_partial): Likewise.
4005 * record-full.c (record_full_xfer_partial): Likewise.
4006 (record_full_core_xfer_partial): Likewise.
4007 * remote-sim.c (gdbsim_xfer_memory): Likewise.
4008 (gdbsim_xfer_partial): Likewise.
4009 * remote.c (remote_write_bytes_aux): Likewise. All callers
4011 (remote_write_bytes, remote_read_bytes): Likewise. All
4013 (remote_flash_erase): Likewise. All callers updated.
4014 (remote_write_qxfer): Likewise. All callers updated.
4015 (remote_read_qxfer): Likewise. All callers updated.
4016 (remote_xfer_partial): Likewise.
4017 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
4018 (rs6000_xfer_shared_libraries): Likewise.
4019 * sol-thread.c (sol_thread_xfer_partial): Likewise.
4020 (sol_thread_xfer_partial): Likewise.
4021 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
4022 (sparc_xfer_partial): Likewise.
4023 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise. All callers
4025 (spu_xfer_partial): Likewise.
4026 * spu-multiarch.c (spu_xfer_partial): Likewise.
4027 * tracepoint.c (tfile_xfer_partial): Likewise.
4028 * windows-nat.c (windows_xfer_memory): Likewise.
4029 (windows_xfer_shared_libraries): Likewise.
4030 (windows_xfer_partial): Likewise.
4031 * valprint.c: Replace 'target_xfer_error' with
4032 'target_xfer_status' in comments.
4034 2014-02-11 Simon Marchi <simon.marchi@ericsson.com> (tiny patch)
4036 Checked in by Joel Brobecker <brobecker@adacore.com>.
4037 * mi/mi-main.c (mi_cmd_data_write_memory_bytes): Fix comment.
4039 2014-02-11 Joel Brobecker <brobecker@adacore.com>
4041 * symfile-debug.c (debug_qf_expand_symtabs_matching): Reformat
4042 function parameters.
4044 2014-02-10 Will Newton <will.newton@linaro.org>
4046 * elfread.c (elf_rel_plt_read): Look for a .got section if
4047 looking up .got.plt fails.
4048 (elf_gnu_ifunc_resolve_by_got): Call gdbarch_addr_bits_remove
4049 on address passed to elf_gnu_ifunc_record_cache.
4050 (elf_gnu_ifunc_resolve_addr): Likewise.
4051 (elf_gnu_ifunc_resolver_return_stop): Likewise.
4053 2014-02-10 Jose E. Marchesi <jose.marchesi@oracle.com>
4055 * sparc-tdep.c (sparc_in_function_epilogue_p): New function.
4056 (X_RETTURN): New macro.
4057 * sparc-tdep.h: sparc_in_function_epilogue_p prototype.
4059 * sparc64-tdep.c (sparc64_init_abi): Hook
4060 sparc_in_function_epilogue_p.
4062 2014-02-10 Gary Benson <gbenson@redhat.com>
4064 * symfile-debug.c (debug_qf_expand_symtabs_matching):
4065 Rename name_matcher to symbol_matcher.
4067 2014-02-10 Gary Benson <gbenson@redhat.com>
4069 * symfile-debug.c (debug_qf_expand_symtabs_matching):
4070 Use expand_symtabs_file_matcher_ftype and
4071 expand_symtabs_symbol_matcher_ftype.
4073 2014-02-10 Joel Brobecker <brobecker@adacore.com>
4075 * ada-lang.c (struct cache_entry, HASH_SIZE): Move definition up.
4076 (struct ada_symbol_cache): New.
4077 (ada_free_symbol_cache): Forward declare.
4078 (struct ada_pspace_data): New.
4079 (ada_pspace_data_handle): New static global.
4080 (get_ada_pspace_data, ada_pspace_data_cleanup)
4081 (ada_init_symbol_cache, ada_free_symbol_cache): New functions.
4082 (cache_space, cache): Delete, now folded inside struct
4084 (ada_get_symbol_cache): New function.
4085 (ada_clear_symbol_cache, find_entry, cache_symbol): Adjust
4087 (_initialize_ada_language): Remove initialization of cache_space.
4088 Move call to observer_attach_inferior_exit up, grouping it
4089 with the other observer registrations inside this function.
4090 Rename command to be more general. Add call to
4091 register_program_space_data_with_cleanup.
4093 2014-02-10 Joel Brobecker <brobecker@adacore.com>
4095 * ada-tasks.c (ada_tasks_new_objfile_observer): Renames
4096 ada_new_objfile_observer.
4097 (ada_tasks_normal_stop_observer): Renames ada_normal_stop_observer.
4098 (_initialize_tasks): Update uses of ada_new_objfile_observer
4099 and ada_tasks_normal_stop_observer.
4101 2014-02-10 Joel Brobecker <brobecker@adacore.com>
4103 * ada-lang.c (ada_evaluate_subexp): Set the type of the value
4104 returned by the 'Length attribute to integer.
4106 2014-02-10 Joel Brobecker <brobecker@adacore.com>
4108 * ada-lang.c (_initialize_ada_language): Initialize
4109 cache_space obstack.
4111 2014-02-10 Joel Brobecker <brobecker@adacore.com>
4113 * ada-lang.c (HASH_SIZE): New macro.
4114 (struct cache_entry): New type.
4115 (cache_space, cache): New static globals.
4116 (ada_clear_symbol_cache, find_entry): New functions.
4117 (lookup_cached_symbol, cache_symbol): Implement.
4118 (ada_new_objfile_observer, ada_free_objfile_observer): New.
4119 (_initialize_ada_language): Attach ada_new_objfile_observer
4120 and ada_free_objfile_observer.
4122 2014-02-10 Joel Brobecker <brobecker@adacore.com>
4124 * ada-lang.c (ada_add_block_symbols, add_defn_to_vec)
4125 (lookup_cached_symbol, ada_add_local_symbols): Add "const" to
4126 struct block * parameter.
4127 (ada_lookup_symbol_list_worker): Constify local variable "block".
4128 Remove cast which is no longer necessary.
4130 2014-02-10 Doug Evans <xdje42@gmail.com>
4132 Add Guile as an extension language.
4133 * NEWS: Mention Guile scripting.
4134 * Makefile.in (SUBDIR_GUILE_OBS): New variable.
4135 (SUBDIR_GUILE_SRCS, SUBDIR_GUILE_DEPS): New variables
4136 (SUBDIR_GUILE_LDFLAGS, SUBDIR_GUILE_CFLAGS): New variables.
4137 (INTERNAL_CPPFLAGS): Add GUILE_CPPFLAGS.
4138 (CLIBS): Add GUILE_LIBS.
4139 (install-guile): New rule.
4140 (guile.o): New rule.
4141 (scm-arch.o, scm-auto-load.o, scm-block.o): New rules.
4142 (scm-breakpoint.o, scm-disasm.o, scm-exception.o): New rules.
4143 (scm-frame.o, scm-iterator.o, scm-lazy-string.o): New rules.
4144 (scm-math.o, scm-objfile.o, scm-ports.o): New rules.
4145 (scm-pretty-print.o, scm-safe-call.o, scm-gsmob.o): New rules.
4146 (scm-string.o, scm-symbol.o, scm-symtab.o): New rules.
4147 (scm-type.o, scm-utils.o, scm-value.o): New rules.
4148 * configure.ac: New option --with-guile.
4149 * configure: Regenerate.
4150 * config.in: Regenerate.
4151 * auto-load.c: Remove #include "python/python.h". Add #include
4152 "gdb/section-scripts.h".
4153 (source_section_scripts): Handle Guile scripts.
4154 (_initialize_auto_load): Add name of Guile objfile script to
4155 scripts-directory help text.
4156 * breakpoint.c (condition_command): Tweak comment to include Scheme.
4157 * breakpoint.h (gdbscm_breakpoint_object): Add forward decl.
4158 (struct breakpoint): New member scm_bp_object.
4159 * defs.h (enum command_control_type): New value guile_control.
4160 * cli/cli-cmds.c: Remove #include "python/python.h". Add #include
4162 (show_user): Update comment.
4163 (_initialize_cli_cmds): Update help text for "show user". Update help
4164 text for max-user-call-depth.
4165 * cli/cli-script.c: Remove #include "python/python.h". Add #include
4167 (multi_line_command_p): Add guile_control.
4168 (print_command_lines): Handle guile_control.
4169 (execute_control_command, recurse_read_control_structure): Ditto.
4170 (process_next_line): Recognize "guile" commands.
4171 * disasm.c (gdb_disassemble_info): Make non-static.
4172 * disasm.h: #include "dis-asm.h".
4173 (struct gdbarch): Add forward decl.
4174 (gdb_disassemble_info): Declare.
4175 * extension.c: #include "guile/guile.h".
4176 (extension_languages): Add guile.
4177 (get_ext_lang_defn): Handle EXT_LANG_GDB.
4178 * extension.h (enum extension_language): New value EXT_LANG_GUILE.
4179 * gdbtypes.c (get_unsigned_type_max): New function.
4180 (get_signed_type_minmax): New function.
4181 * gdbtypes.h (get_unsigned_type_max): Declare.
4182 (get_signed_type_minmax): Declare.
4183 * guile/README: New file.
4184 * guile/guile-internal.h: New file.
4185 * guile/guile.c: New file.
4186 * guile/guile.h: New file.
4187 * guile/scm-arch.c: New file.
4188 * guile/scm-auto-load.c: New file.
4189 * guile/scm-block.c: New file.
4190 * guile/scm-breakpoint.c: New file.
4191 * guile/scm-disasm.c: New file.
4192 * guile/scm-exception.c: New file.
4193 * guile/scm-frame.c: New file.
4194 * guile/scm-gsmob.c: New file.
4195 * guile/scm-iterator.c: New file.
4196 * guile/scm-lazy-string.c: New file.
4197 * guile/scm-math.c: New file.
4198 * guile/scm-objfile.c: New file.
4199 * guile/scm-ports.c: New file.
4200 * guile/scm-pretty-print.c: New file.
4201 * guile/scm-safe-call.c: New file.
4202 * guile/scm-string.c: New file.
4203 * guile/scm-symbol.c: New file.
4204 * guile/scm-symtab.c: New file.
4205 * guile/scm-type.c: New file.
4206 * guile/scm-utils.c: New file.
4207 * guile/scm-value.c: New file.
4208 * guile/lib/gdb.scm: New file.
4209 * guile/lib/gdb/boot.scm: New file.
4210 * guile/lib/gdb/experimental.scm: New file.
4211 * guile/lib/gdb/init.scm: New file.
4212 * guile/lib/gdb/iterator.scm: New file.
4213 * guile/lib/gdb/printing.scm: New file.
4214 * guile/lib/gdb/types.scm: New file.
4215 * data-directory/Makefile.in (GUILE_SRCDIR): New variable.
4216 (VPATH): Add $(GUILE_SRCDIR).
4217 (GUILE_DIR): New variable.
4218 (GUILE_INSTALL_DIR, GUILE_FILES): New variables.
4219 (all): Add stamp-guile dependency.
4220 (stamp-guile): New rule.
4221 (clean-guile, install-guile, uninstall-guile): New rules.
4222 (install-only): Add install-guile dependency.
4223 (uninstall): Add uninstall-guile dependency.
4224 (clean): Add clean-guile dependency.
4226 2014-02-09 Doug Evans <xdje42@gmail.com>
4228 Revert this patch (which I approved, mea culpa).
4230 2014-02-08 Mark Kettenis <kettenis@gnu.org>
4232 * Makefile.in (all-lib): Remove.
4233 ($(LIBGNU) $(GNULIB_H)): Replace with gits of remove all-lib target.
4235 2014-02-09 Jan Kratochvil <jan.kratochvil@redhat.com>
4237 Fix Python stack corruption.
4238 * python/py-linetable.c (ltpy_get_pcs_for_line, ltpy_has_line): Use
4241 2014-02-08 Mark Kettenis <kettenis@gnu.org>
4243 * Makefile.in (all-lib): Remove.
4244 ($(LIBGNU) $(GNULIB_H)): Replace with gits of remove all-lib target.
4246 2014-02-07 Doug Evans <dje@google.com>
4248 * extension-priv.h (extension_language_script_ops): Add comment.
4249 (extension_language_ops): Add comment.
4250 (active_ext_lang_state): Fix typo in comment.
4252 2014-02-07 Pedro Alves <palves@redhat.com>
4254 PR breakpoints/16292
4255 * infrun.c (handle_signal_stop) <signal arrives while stepping
4256 over a breakpoint>: Switch back to the stepping thread.
4258 2014-02-07 Yao Qi <yao@codesourcery.com>
4260 * target.c (target_xfer_partial): Return zero if LEN is zero.
4262 2014-02-07 Yao Qi <yao@codesourcery.com>
4264 * auxv.c (procfs_xfer_auxv): Replace -1 with TARGET_XFER_E_IO.
4265 (ld_so_xfer_auxv): Likewise.
4266 * bfd-target.c (target_bfd_xfer_partial): Likewise.
4267 * bsd-kvm.c (bsd_kvm_xfer_partial): Likewise.
4268 * corelow.c (core_xfer_partial): Likewise.
4269 * ctf.c (ctf_xfer_partial): Likewise.
4270 * darwin-nat.c (darwin_read_dyld_info): Likewise.
4271 (darwin_xfer_partial): Likewise.
4272 * exec.c (exec_xfer_partial): Likewise.
4273 * gnu-nat.c (gnu_xfer_partial): Likewise.
4274 * ia64-hpux-nat.c (ia64_hpux_xfer_uregs): Likewise.
4275 * inf-ptrace.c (inf_ptrace_xfer_partial): Likewise.
4276 * inf-ttrace.c (inf_ttrace_xfer_partial): Likewise.
4277 * linux-nat.c (linux_xfer_siginfo): Likewise.
4278 (linux_proc_xfer_spu): Likewise.
4279 * procfs.c (procfs_xfer_partial): Likewise.
4280 * record-full.c (record_full_xfer_partial): Likewise.
4281 (record_full_core_xfer_partial): Likewise.
4282 * remote-sim.c (gdbsim_xfer_partial): Likewise.
4283 * remote.c (remote_write_qxfer): Likewise.
4284 (remote_write_qxfer, remote_read_qxfer): Likewise.
4285 (remote_xfer_partial): Likewise.
4286 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
4287 (rs6000_xfer_shared_libraries): Likewise.
4288 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
4289 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise.
4290 (spu_xfer_partial): Likewise.
4291 * target.c (memory_xfer_partial_1): Likewise.
4292 * tracepoint.c (tfile_xfer_partial): Likewise.
4293 * windows-nat.c (windows_xfer_shared_libraries): Likewise.
4294 (windows_xfer_partial): Likewise.
4296 2014-02-07 Yao Qi <yao@codesourcery.com>
4298 * gdbarch.sh (core_xfer_shared_libraries): Returns ULONGEST. Add
4300 (core_xfer_shared_libraries_aix): Likewise.
4301 * gdbarch.c, gdbarch.h: Regenerated.
4302 * i386-cygwin-tdep.c (windows_core_xfer_shared_libraries): Return
4303 ULONGEST. Change 'len_avail' type to ULONGEST.
4304 * rs6000-aix-tdep.c (rs6000_aix_ld_info_to_xml): Likewise.
4305 * rs6000-aix-tdep.h (rs6000_aix_ld_info_to_xml): Update
4307 (rs6000_aix_core_xfer_shared_libraries_aix): Return ULONGEST.
4309 2014-02-07 Yao Qi <yao@codesourcery.com>
4311 * corefile.c (memory_error): Get 'exception' from ERR and pass
4312 'exception' to throw_error.
4314 2014-02-06 Doug Evans <xdje42@gmail.com>
4316 * configure.ac (libpython checking): Remove all but python.o from
4317 CONFIG_OBS. Remove all but python.c from CONFIG_SRCS.
4318 * configure: Regenerate.
4320 * Makefile.in (SFILES): Add extension.c.
4321 (HFILES_NO_SRCDIR): Add extension.h, extension-priv.h
4322 (COMMON_OBS): Add extension.o.
4323 * extension.h: New file.
4324 * extension-priv.h: New file.
4325 * extension.c: New file.
4327 * python/python-internal.h: #include "extension.h".
4328 (gdbpy_auto_load_enabled): Declare.
4329 (gdbpy_apply_val_pretty_printer): Declare.
4330 (gdbpy_apply_frame_filter): Declare.
4331 (gdbpy_preserve_values): Declare.
4332 (gdbpy_breakpoint_cond_says_stop): Declare.
4333 (gdbpy_breakpoint_has_cond): Declare.
4334 (void source_python_script_for_objfile): Delete.
4335 * python/python.c: #include "extension-priv.h".
4336 Delete inclusion of "observer.h".
4337 (extension_language_python): Moved here and renamed from
4338 script_language_python in py-auto-load.c.
4339 Redefined to be of type extension_language_defn.
4340 (python_extension_script_ops): New global.
4341 (python_extension_ops): New global.
4342 (struct python_env): New member previous_active.
4343 (restore_python_env): Call restore_active_ext_lang.
4344 (ensure_python_env): Call set_active_ext_lang.
4345 (gdbpy_clear_quit_flag): Renamed from clear_quit_flag, made static.
4347 (gdbpy_set_quit_flag): Renamed from set_quit_flag, made static.
4349 (gdbpy_check_quit_flag): Renamed from check_quit_flag, made static.
4351 (gdbpy_eval_from_control_command): Renamed from
4352 eval_python_from_control_command, made static. New arg extlang.
4353 (gdbpy_source_script) Renamed from source_python_script, made static.
4355 (gdbpy_before_prompt_hook): Renamed from before_prompt_hook. Change
4356 result to int. New arg extlang.
4357 (gdbpy_source_objfile_script): Renamed from
4358 source_python_script_for_objfile, made static. New arg extlang.
4359 (gdbpy_start_type_printers): Renamed from start_type_printers, made
4360 static. New args extlang, extlang_printers. Change result type to
4362 (gdbpy_apply_type_printers): Renamed from apply_type_printers, made
4363 static. New arg extlang. Rename arg printers to extlang_printers
4364 and change type to ext_lang_type_printers *.
4365 (gdbpy_free_type_printers): Renamed from free_type_printers, made
4366 static. Replace argument arg with extlang, extlang_printers.
4367 (!HAVE_PYTHON, eval_python_from_control_command): Delete.
4368 (!HAVE_PYTHON, source_python_script): Delete.
4369 (!HAVE_PYTHON, gdbpy_should_stop): Delete.
4370 (!HAVE_PYTHON, gdbpy_breakpoint_has_py_cond): Delete.
4371 (!HAVE_PYTHON, start_type_printers): Delete.
4372 (!HAVE_PYTHON, apply_type_printers): Delete.
4373 (!HAVE_PYTHON, free_type_printers): Delete.
4374 (_initialize_python): Delete call to observer_attach_before_prompt.
4375 (finalize_python): Set/restore active extension language.
4376 (gdbpy_finish_initialization) Renamed from
4377 finish_python_initialization, made static. New arg extlang.
4378 (gdbpy_initialized): New function.
4379 * python/python.h: #include "extension.h". Delete #include
4380 "value.h", "mi/mi-cmds.h".
4381 (extension_language_python): Declare.
4382 (GDBPY_AUTO_FILE_NAME): Delete.
4383 (enum py_bt_status): Moved to extension.h and renamed to
4385 (enum frame_filter_flags): Moved to extension.h.
4386 (enum py_frame_args): Moved to extension.h and renamed to
4387 ext_lang_frame_args.
4388 (finish_python_initialization): Delete.
4389 (eval_python_from_control_command): Delete.
4390 (source_python_script): Delete.
4391 (apply_val_pretty_printer): Delete.
4392 (apply_frame_filter): Delete.
4393 (preserve_python_values): Delete.
4394 (gdbpy_script_language_defn): Delete.
4395 (gdbpy_should_stop, gdbpy_breakpoint_has_py_cond): Delete.
4396 (start_type_printers, apply_type_printers, free_type_printers): Delete.
4398 * auto-load.c: #include "extension.h".
4399 (GDB_AUTO_FILE_NAME): Delete.
4400 (auto_load_gdb_scripts_enabled): Make public. New arg extlang.
4401 (script_language_gdb): Delete, moved to extension.c and renamed to
4402 extension_language_gdb.
4403 (source_gdb_script_for_objfile): Delete.
4404 (auto_load_pspace_info): New member unsupported_script_warning_printed.
4405 (loaded_script): Change type of language member to
4406 struct extension_language_defn *.
4407 (init_loaded_scripts_info): Initialize
4408 unsupported_script_warning_printed.
4409 (maybe_add_script): Make static. Change type of language arg to
4410 struct extension_language_defn *.
4411 (clear_section_scripts): Reset unsupported_script_warning_printed.
4412 (auto_load_objfile_script_1): Rewrite to use extension language API.
4413 (auto_load_objfile_script): Make public. Remove support-compiled-in
4414 and auto-load-enabled checks, moved to auto_load_scripts_for_objfile.
4415 (source_section_scripts): Rewrite to use extension language API.
4416 (load_auto_scripts_for_objfile): Rewrite to use
4417 auto_load_scripts_for_objfile.
4418 (collect_matching_scripts_data): Change type of language member to
4419 struct extension_language_defn *.
4420 (auto_load_info_scripts): Change type of language arg to
4421 struct extension_language_defn *.
4422 (unsupported_script_warning_print): New function.
4423 (script_not_found_warning_print): Make static.
4424 (_initialize_auto_load): Rewrite construction of scripts-directory
4426 * auto-load.h (struct objfile): Add forward decl.
4427 (struct script_language): Delete.
4428 (struct auto_load_pspace_info): Add forward decl.
4429 (struct extension_language_defn): Add forward decl.
4430 (maybe_add_script): Delete.
4431 (auto_load_objfile_script): Declare.
4432 (script_not_found_warning_print): Delete.
4433 (auto_load_info_scripts): Update prototype.
4434 (auto_load_gdb_scripts_enabled): Declare.
4435 * python/py-auto-load.c (gdbpy_auto_load_enabled): Renamed from
4436 auto_load_python_scripts_enabled and made public.
4437 (script_language_python): Delete, moved to python.c.
4438 (gdbpy_script_language_defn): Delete.
4439 (info_auto_load_python_scripts): Update to use
4440 extension_language_python.
4442 * breakpoint.c (condition_command): Replace call to
4443 gdbpy_breakpoint_has_py_cond with call to get_breakpoint_cond_ext_lang.
4444 (bpstat_check_breakpoint_conditions): Replace call to gdbpy_should_stop
4445 with call to breakpoint_ext_lang_cond_says_stop.
4446 * python/py-breakpoint.c (gdbpy_breakpoint_cond_says_stop): Renamed
4447 from gdbpy_should_stop. Change result type to enum scr_bp_stop.
4448 New arg slang. Return SCR_BP_STOP_UNSET if py_bp_object is NULL.
4449 (gdbpy_breakpoint_has_cond): Renamed from gdbpy_breakpoint_has_py_cond.
4451 (local_setattro): Print name of extension language with existing
4454 * valprint.c (val_print, value_print): Update to call
4455 apply_ext_lang_val_pretty_printer.
4456 * cp-valprint.c (cp_print_value): Update call to
4457 apply_ext_lang_val_pretty_printer.
4458 * python/py-prettyprint.c: Remove #ifdef HAVE_PYTHON.
4459 (gdbpy_apply_val_pretty_printer): Renamed from
4460 apply_val_pretty_printer. New arg extlang.
4461 (!HAVE_PYTHON, apply_val_pretty_printer): Delete.
4463 * cli/cli-cmds.c (source_script_from_stream): Rewrite to use
4464 extension language API.
4465 * cli/cli-script.c (execute_control_command): Update to call
4466 eval_ext_lang_from_control_command.
4468 * mi/mi-cmd-stack.c (mi_cmd_stack_list_frames): Update to use
4469 enum ext_lang_bt_status values. Update call to
4470 apply_ext_lang_frame_filter.
4471 (mi_cmd_stack_list_locals): Ditto.
4472 (mi_cmd_stack_list_args): Ditto.
4473 (mi_cmd_stack_list_variables): Ditto.
4474 * mi/mi-main.c: Delete #include "python/python-internal.h".
4475 Add #include "extension.h".
4476 (mi_cmd_list_features): Replace reference to python internal variable
4477 gdb_python_initialized with call to ext_lang_initialized_p.
4479 * stack.c (backtrace_command_1): Update to use enum ext_lang_bt_status.
4480 Update to use enum ext_lang_frame_args. Update to call
4481 apply_ext_lang_frame_filter.
4482 * python/py-framefilter.c (extract_sym): Update to use enum
4484 (extract_value, py_print_type, py_print_value): Ditto.
4485 (py_print_single_arg, enumerate_args, enumerate_locals): Ditto.
4486 (py_mi_print_variables, py_print_locals, py_print_args): Ditto.
4487 (py_print_frame): Ditto.
4488 (gdbpy_apply_frame_filter): Renamed from apply_frame_filter.
4489 New arg extlang. Update to use enum ext_lang_bt_status.
4491 * top.c (gdb_init): Delete #ifdef HAVE_PYTHON call to
4492 finish_python_initialization. Replace with call to
4493 finish_ext_lang_initialization.
4495 * typeprint.c (do_free_global_table): Update to call
4496 free_ext_lang_type_printers.
4497 (create_global_typedef_table): Update to call
4498 start_ext_lang_type_printers.
4499 (find_global_typedef): Update to call apply_ext_lang_type_printers.
4500 * typeprint.h (struct ext_lang_type_printers): Add forward decl.
4501 (type_print_options): Change type of global_printers from "void *"
4502 to "struct ext_lang_type_printers *".
4504 * value.c (preserve_values): Update to call preserve_ext_lang_values.
4505 * python/py-value.c: Remove #ifdef HAVE_PYTHON.
4506 (gdbpy_preserve_values): Renamed from preserve_python_values.
4508 (!HAVE_PYTHON, preserve_python_values): Delete.
4510 * utils.c (quit_flag): Delete, moved to extension.c.
4511 (clear_quit_flag, set_quit_flag, check_quit_flag): Delete, moved to
4514 * eval.c: Delete #include "python/python.h".
4515 * main.c: Delete #include "python/python.h".
4517 * defs.h: Update comment.
4519 2014-02-06 Joel Brobecker <brobecker@adacore.com>
4523 2014-02-05 Mark Kettenis <kettenis@gnu.org>
4525 * c-exp.y (YYPRINT, c_print_token): Only define if YYBISON is
4528 2014-02-05 Yao Qi <yao@codesourcery.com>
4530 * remote.c (remote_pass_signals): Remove local 'buf' and use
4532 (remote_program_signals): Likewise.
4534 2014-02-05 Yao Qi <yao@codesourcery.com>
4536 * ctf.c: Include "inferior.h" and "gdbthread.h".
4537 (CTF_PID): A new macro.
4538 (ctf_open): Call inferior_appeared and add_thread_silent.
4539 (ctf_close): Call exit_inferior_silent and set inferior_ptid.
4540 (ctf_thread_alive): New function.
4541 (init_ctf_ops): Install ctf_thread_alive to to_thread_alive.
4543 2014-02-05 Yao Qi <yao@codesourcery.com>
4547 2013-05-24 Yao Qi <yao@codesourcery.com>
4549 * tracepoint.c (TFILE_PID): Remove.
4550 (tfile_open): Don't add thread and inferior.
4551 (tfile_close): Don't set 'inferior_ptid'. Don't call
4552 exit_inferior_silent.
4553 (tfile_thread_alive): Remove.
4554 (init_tfile_ops): Don't set field 'to_thread_alive' of
4557 2014-02-04 Christian Eggers <ceggers@gmx.de> (tiny change)
4559 * remote.c (remote_start_remote): Call remote_check_symbols even
4560 if only symbol-file (not file) has been given.
4562 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
4564 * gdbarch.sh (skip_entrypoint): New callback.
4565 * gdbarch.c, gdbarch.h: Regenerate.
4566 * symtab.c (skip_prologue_sal): Call gdbarch_skip_entrypoint.
4567 * infrun.c (fill_in_stop_func): Likewise.
4568 * ppc-linux-tdep.c: Include "elf/ppc64.h".
4569 (ppc_elfv2_elf_make_msymbol_special): New function.
4570 (ppc_elfv2_skip_entrypoint): Likewise.
4571 (ppc_linux_init_abi): Install them for ELFv2.
4573 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
4575 * ppc-sysv-tdep.c (ppc64_aggregate_candidate): New routine.
4576 (ppc64_elfv2_abi_homogeneous_aggregate): Likewise.
4577 (ppc64_sysv_abi_push_param): Handle ELFv2 homogeneous structs.
4578 (ppc64_sysv_abi_return_value): Likewise. Also, handle small
4579 structures returned in GPRs.
4581 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
4583 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_dummy_call): Use correct
4584 offset to the stack parameter list for the ELFv2 ABI.
4586 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
4588 * ppc-linux-tdep.c (ppc_linux_init_abi): Only call
4589 set_gdbarch_convert_from_func_ptr_addr and
4590 set_gdbarch_elf_make_msymbol_special for ELFv1.
4591 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_param): Only handle
4592 function descriptors on ELFv1.
4593 (ppc64_sysv_abi_push_dummy_call): Likewise. On ELFv2,
4594 set up r12 at function entry.
4596 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
4598 * ppc-tdep.h (enum powerpc_elf_abi): New data type.
4599 (struct gdbarch_tdep): New member elf_abi.
4601 * rs6000-tdep.c: Include "elf/ppc64.h".
4602 (rs6000_gdbarch_init): Detect ELF ABI version.
4604 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
4606 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_freg): Use correct order
4607 within a register pair holding a DFP 128-bit value on little-endian.
4608 (ppc64_sysv_abi_return_value_base): Likewise.
4609 * rs6000-tdep.c (dfp_pseudo_register_read): Likewise.
4610 (dfp_pseudo_register_write): Likewise.
4612 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
4614 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_freg): Use correct
4615 offset on little-endian when passing _Decimal32.
4616 (ppc64_sysv_abi_return_value_base): Likewise for return values.
4618 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
4620 * rs6000-tdep.c (efpr_pseudo_register_read): Use correct offset
4621 of the overlapped FP register within the VSX register on little-
4623 (efpr_pseudo_register_write): Likewise.
4625 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
4627 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_val): Use correct
4628 offset on little-endian when passing small structures.
4630 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
4632 * ppc-sysv-tdep.c (get_decimal_float_return_value): Update comment.
4633 (struct ppc64_sysv_argpos): New data structure.
4634 (ppc64_sysv_abi_push_float): Remove.
4635 (ppc64_sysv_abi_push_val): New function.
4636 (ppc64_sysv_abi_push_integer): Likewise.
4637 (ppc64_sysv_abi_push_freg): Likewise.
4638 (ppc64_sysv_abi_push_vreg): Likewise.
4639 (ppc64_sysv_abi_push_param): Likewise.
4640 (ppc64_sysv_abi_push_dummy_call): Refactor to use those new routines.
4641 (ppc64_sysv_abi_return_value_base): New function.
4642 (ppc64_sysv_abi_return_value): Refactor to use it.
4644 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
4646 * NEWS: Document new target powerpc64le-*-linux*.
4648 2014-02-04 Mark Kettenis <kettenis@gnu.org>
4650 * sparc64obsd-tdep.c (sparc64obsd_gregset): New variable.
4651 (sparc64obsd_supply_gregset): Handle registers sets used in ELF
4653 (sparc64obsd_init_abi): Adjust minimum size of the general purpose
4654 register set used in ELF core dumps. Add floating-point register set.
4656 2014-02-03 Kevin Buettner <kevinb@redhat.com>
4658 * mn10300-tdep.c (mn10300_dwarf2_reg_to_regnum): Rewrite
4659 dwarf2_to_gdb[] table using symbolic constants. Adjust
4660 penultimate entry from number representing the PC register
4661 to symbolic constant representing the MDR register. Add
4662 constant for the PC register to the end of the table.
4664 2014-02-03 Mark Kettenis <kettenis@gnu.org>
4666 * bsd-kvm.c: Include <sys/param.h>
4668 2014-02-03 Mark Kettenis <kettenis@gnu.org>
4670 * sparc64nbsd-nat.c (sparc64nbsd_supply_fpregset): Fix prototype.
4672 2014-01-31 Joel Brobecker <brobecker@adacore.com>
4674 * ada-lang.h (clear_ada_sym_cache): Delete.
4676 2014-01-30 Ulrich Weigand <uweigand@de.ibm.com>
4678 * auxv.c (fprint_target_auxv): Handle AT_HWCAP2.
4680 2014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
4682 * sparc64-linux-tdep.c (sparc64_linux_step_trap): Get PC from
4683 the sigreturn register save area only if the syscall is
4686 2014-01-29 Joel Brobecker <brobecker@adacore.com>
4688 * valops.c (value_slice): Minor reformatting.
4690 2014-01-28 Ulrich Weigand <uweigand@de.ibm.com>
4692 * ppc64-tdep.c (ppc64_standard_linkage7): Fix typo.
4694 2014-01-28 Joel Brobecker <brobecker@adacore.com>
4696 * ada-lang.c (maint_set_ada_cmdlist, maint_show_ada_cmdlist):
4698 (maint_set_ada_cmd, maint_show_ada_cmd): New functions.
4699 (ada_ignore_descriptive_types_p): New static global.
4700 (find_parallel_type_by_descriptive_type): Return immediately
4701 if ada_ignore_descriptive_types_p is set.
4702 (_initialize_ada_language): Register new commands "maintenance
4703 set ada", "maintenance show ada", "maintenance set ada
4704 ignore-descriptive-types" and "maintenance show ada
4705 ignore-descriptive-types".
4706 * NEWS: Add entry for new "maint ada set/show
4707 ignore-descriptive-types" commands.
4709 2014-01-27 Markus Metzger <markus.t.metzger@intel.com>
4711 * record-btrace.c (record_btrace_close): Call btrace_teardown
4714 2014-01-27 Joel Brobecker <brobecker@adacore.com>
4716 * ada-lang.c: Remove "#ifdef UI_OUT" condition for including
4719 2014-01-27 Joel Brobecker <brobecker@adacore.com>
4721 * ada-typeprint (type_is_full_subrange_of_target_type):
4723 (print_range): Add parameter bounds_prefered_p. If not set,
4724 try printing range types using the name of their base type.
4725 (print_range_type): Add parameter bounds_prefered_p.
4726 Use it in call to print_range.
4727 (print_array_type, ada_print_type): Update calls to print_range
4728 and print_range_type.
4730 2014-01-27 Joel Brobecker <brobecker@adacore.com>
4732 * ada-typeprint.c (print_array_type, print_choices, print_range)
4733 (print_range_bound, print_dynamic_range_bound, print_range_type):
4736 2014-01-27 Joel Brobecker <brobecker@adacore.com>
4738 * ada-typeprint.c (print_range): Add missing empty line
4739 after local declaration.
4741 2014-01-27 Joel Brobecker <brobecker@adacore.com>
4743 * ada-valprint.c (print_optional_low_bound): Get index_type's
4744 target type for as long as it is a TYPE_CODE_RANGE.
4746 2014-01-27 Joel Brobecker <brobecker@adacore.com>
4748 * procfs.c (procfs_make_note_section): Remove assertion and
4751 2014-01-24 Yao Qi <yao@codesourcery.com>
4753 * remote.c (remote_read_bytes): Change type of len to ULONGEST.
4754 * corelow.c (get_core_siginfo): Likewise.
4756 2014-01-24 Yao Qi <yao@codesourcery.com>
4758 * remote.c (remote_write_bytes_aux): Change type of 'len' to
4759 ULONGEST. Don't check 'len' is negative.
4760 (remote_write_bytes): Change type of 'len' to ULONGEST.
4762 2014-01-23 Tom Tromey <tromey@redhat.com>
4765 * python/lib/gdb/FrameDecorator.py: (FrameVars.fetch_frame_args):
4766 Handle exception from frame.block.
4767 (FrameVars.fetch_frame_locals): Likewise.
4769 2014-01-23 Tom Tromey <tromey@redhat.com>
4772 * python/py-framefilter.c (py_print_frame): Don't call Py_DECREF
4773 on a NULL pointer. Move "goto error" to correct place.
4775 2014-01-23 Tom Tromey <tromey@redhat.com>
4778 * python/py-framefilter.c (apply_frame_filter): Call
4779 ensure_python_env after computing gdbarch.
4781 2014-01-23 Yao Qi <yao@codesourcery.com>
4783 * target.c (raw_memory_xfer_partial): Change argument type
4784 from void * to gdb_byte *.
4785 (memory_xfer_partial_1, memory_xfer_partial): Likewise.
4787 2014-01-22 Doug Evans <dje@google.com>
4789 New gdbserver option --debug-format=timestamp.
4792 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
4794 * syscalls/s390x-linux.xml: New file.
4795 * syscalls/s390-linux.xml: New file.
4796 * s390-linux-tdep.c (XML_SYSCALL_FILENAME_S390): New macro.
4797 (XML_SYSCALL_FILENAME_S390X): Likewise.
4798 (op_svc): New enum value for SVC opcode.
4799 (s390_sigtramp_frame_sniffer): Replace literal by 'op_svc'.
4800 (s390_linux_get_syscall_number): New function.
4801 (s390_gdbarch_init): Register '*get_syscall_number' and the
4802 syscall xml file name.
4803 * data-directory/Makefile.in (SYSCALLS_FILES): Add
4804 "s390-linux.xml" and "s390x-linux.xml".
4805 * NEWS: Announce new feature.
4807 2014-01-22 Baruch Siach <baruch@tkos.co.il>
4809 * xtensa-tdep.h (xtensa_elf_greg_t): Change type to uint32_t.
4811 2014-01-22 Pedro Alves <palves@redhat.com>
4813 * xtensa-config.c: Include defs.h.
4815 2014-01-22 Joel Brobecker <brobecker@adacore.com>
4817 * common/common-utils.h: Add "ARI:" comment beside __func__
4820 2014-01-22 Joel Brobecker <brobecker@adacore.com>
4822 * common/common-utils.h (FUNCTION_NAME): Expand the macro's
4823 documentation a bit.
4825 2014-01-21 Roland McGrath <mcgrathr@google.com>
4827 * configure.ac: Call AM_PROG_INSTALL_STRIP.
4828 * configure: Regenerate.
4829 * aclocal.m4: Regenerate.
4830 * Makefile.in (install_sh, INSTALL_STRIP_PROGRAM, STRIP):
4831 New substituted variables.
4832 (install-strip): New target.
4833 (INSTALL_SCRIPT): New substituted variable.
4834 (FLAGS_TO_PASS): Add it.
4835 (install-only): Use $(INSTALL_SCRIPT) rather than
4836 $(INSTALL_PROGRAM) for gcore.
4838 2014-01-20 Tom Tromey <tromey@redhat.com>
4840 * cli/cli-decode.h (struct cmd_list_element): Move all bitfields
4843 2014-01-20 Tom Tromey <tromey@redhat.com>
4845 * cli/cli-decode.c (add_cmd, deprecate_cmd, add_alias_cmd)
4846 (add_setshow_cmd_full, delete_cmd, lookup_cmd_1)
4847 (deprecated_cmd_warning, complete_on_cmdlist): Update.
4848 * cli/cli-decode.h (CMD_DEPRECATED, DEPRECATED_WARN_USER)
4849 (MALLOCED_REPLACEMENT, DOC_ALLOCATED): Remove.
4850 (struct cmd_list_element) <flags>: Remove.
4851 <cmd_deprecated, deprecated_warn_user, malloced_replacement,
4852 doc_allocated>: New fields.
4853 <hook_in, allow_unknown, abbrev_flag, type, var_type>: Now
4855 * maint.c (maintenance_do_deprecate): Update.
4856 * top.c (execute_command): Update.
4858 2014-01-20 Baruch Siach <baruch@tkos.co.il>
4860 * xtensa-linux-nat.c: Include asm/ptrace.h.
4862 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
4864 * Makefile.in (SFILES): Add d-support.c.
4865 (COMMON_OBS): Add d-support.o.
4866 * d-lang.h (d_parse_symbol): Add comment, now defined in
4868 * d-lang.c (parse_call_convention)
4869 (parse_attributes, parse_function_types)
4870 (parse_function_args, parse_type, parse_identifier)
4871 (call_convention_p, d_parse_symbol): Move functions to ...
4872 * d-support.c: ... New file.
4874 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
4876 * d-lang.h (d_parse_symbol): Add declaration.
4877 * d-lang.c (extract_identifiers)
4878 (extract_type_info): Remove functions.
4879 (parse_call_convention, parse_attributes)
4880 (parse_function_types, parse_function_args)
4881 (parse_type, parse_identifier, call_convention_p)
4882 (d_parse_symbol): New functions.
4883 (d_demangle): Use d_parse_symbol to demangle D symbols.
4885 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
4887 * d-lang.h (struct builtin_d_type): New data type.
4888 (builtin_d_type): Add declaration.
4889 * d-lang.c (d_language_arch_info, build_d_types)
4890 (builtin_d_type): New functions.
4891 (enum d_primitive_types): New data type.
4892 (d_language_defn): Change c_language_arch_info to
4893 d_language_arch_info.
4894 (d_type_data): New static variable.
4895 (_initialize_d_language): Initialize d_type_data.
4897 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
4899 * d-lang.h (d_main_name): Add declaration.
4900 * d-lang.c (d_main_name): New function.
4901 * symtab.c (find_main_name): Add call to d_main_name.
4903 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
4905 * d-lang.c (d_language_defn): Change macro_expansion_c to
4908 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
4910 * MAINTAINERS: Add myself as a write-after-approval maintainer.
4912 2014-01-17 Sergio Durigan Junior <sergiodj@redhat.com>
4914 * breakpoint.c (insert_bp_location): Add "volatile" keyword to "struct
4915 gdb_exception" declaration.
4916 * remote.c (getpkt_or_notif_sane): Likewise.
4918 2014-01-17 Doug Evans <dje@google.com>
4920 * common/gdb_vecs.c (delim_string_to_char_ptr_vec_append): New
4921 function, contents of dirnames_to_char_ptr_vec_append moved here.
4922 (delim_string_to_char_ptr_vec): New function.
4923 (dirnames_to_char_ptr_vec_append): Rewrite.
4924 * common/gdb_vecs.h (delim_string_to_char_ptr_vec): Declare.
4926 2014-01-17 Doug Evans <dje@google.com>
4928 * common/common-utils.h (FUNCTION_NAME): Renamed from ASSERT_FUNCTION,
4930 * common/gdb_assert.h (ASSERT_FUNCTION): ... from here.
4931 #include "common-utils.h".
4932 (gdb_assert, gdb_assert_fail, gdb_assert_not_reached): Update.
4933 * common/vec.h (VEC_ASSERT_PASS): Update.
4934 * darwin-nat.h: Replace #include of gdb_assert.h with common-utils.h.
4935 (MACH_CHECK_ERROR): Update.
4937 2014-01-17 Simon Marchi <simon.marchi@ericsson.com>
4939 * gdbarch.sh (gdbarch_address_class_name_to_type_flags): Add
4941 * gdbarch.h: Regenerate.
4943 2014-01-16 Tom Tromey <tromey@redhat.com>
4945 * value.c (struct value) <regnum>: Move earlier.
4947 2014-01-16 Tom Tromey <tromey@redhat.com>
4949 * remote.c (extended_remote_create_inferior): Rename from
4950 extended_remote_create_inferior_1. Add "ops" argument. Remove
4953 2014-01-16 Pedro Alves <palves@redhat.com>
4955 * s390-linux-tdep.c (s390_frame_unwind_cache): Swallow
4956 NOT_AVAILABLE_ERROR errors while parsing the prologue or reading
4959 2014-01-16 Doug Evans <dje@google.com>
4961 * dwarf2read.c (open_and_init_dwp_file): Fix typo in comment.
4963 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4965 * btrace.h (btrace_thread_flag): New.
4966 (struct btrace_thread_info) <flags>: New.
4967 * record-btrace.c (record_btrace_resume_thread)
4968 (record_btrace_find_thread_to_move, btrace_step_no_history)
4969 (btrace_step_stopped, record_btrace_start_replaying)
4970 (record_btrace_step_thread, record_btrace_decr_pc_after_break)
4971 (record_btrace_find_resume_thread): New.
4972 (record_btrace_resume, record_btrace_wait): Extend.
4973 (record_btrace_can_execute_reverse): New.
4974 (record_btrace_open): Fail in non-stop mode.
4975 (record_btrace_set_replay): Split into this, ...
4976 (record_btrace_stop_replaying): ... this, ...
4977 (record_btrace_clear_histories): ... and this.
4978 (init_record_btrace_ops): Init to_can_execute_reverse.
4979 * NEWS: Announce it.
4981 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4983 * target.h (struct target_ops) <to_decr_pc_after_break>: New.
4984 (forward_target_decr_pc_after_break)
4985 (target_decr_pc_after_break): New.
4986 * target.c (forward_target_decr_pc_after_break)
4987 (target_decr_pc_after_break): New.
4988 * aix-thread.c (aix_thread_wait): Call target_decr_pc_after_break
4989 instead of gdbarch_decr_pc_after_break.
4990 * darwin-nat.c (cancel_breakpoint): Call target_decr_pc_after_break
4991 instead of gdbarch_decr_pc_after_break.
4992 * infrun.c (adjust_pc_after_break): Call target_decr_pc_after_break
4993 instead of gdbarch_decr_pc_after_break.
4994 * linux-nat.c (cancel_breakpoint): Call target_decr_pc_after_break
4995 instead of gdbarch_decr_pc_after_break.
4996 * linux-thread-db.c (check_event): Call target_decr_pc_after_break
4997 instead of gdbarch_decr_pc_after_break.
4998 * record-full.c (record_full_wait_1): Call target_decr_pc_after_break
4999 instead of gdbarch_decr_pc_after_break.
5001 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5003 * btrace.c: Include regcache.h.
5004 (btrace_add_pc): New.
5005 (btrace_enable): Call btrace_add_pc.
5006 (btrace_is_empty): New.
5007 * btrace.h (btrace_is_empty): New.
5008 * record-btrace.c (require_btrace, record_btrace_info): Call
5011 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5013 * common/linux-btrace.c (perf_event_read_bts, linux_read_btrace):
5014 Support delta reads.
5015 (linux_disable_btrace): Change return type.
5016 * common/linux-btrace.h (linux_read_btrace): Change parameters
5017 and return type to allow error reporting. Update users.
5018 (linux_disable_btrace): Change return type. Update users.
5019 * common/btrace-common.h (btrace_read_type) <BTRACE_READ_DELTA>:
5021 (btrace_error): New.
5022 (btrace_block) <begin>: Comment on BEGIN == 0.
5023 * btrace.c (btrace_compute_ftrace): Start from the end of
5025 (btrace_stitch_trace, btrace_clear_history): New.
5026 (btrace_fetch): Read delta trace, return if replaying.
5027 (btrace_clear): Move clear history code to btrace_clear_history.
5028 (parse_xml_btrace): Throw an error if parsing failed.
5029 * target.h (struct target_ops) <to_read_btrace>: Change parameters
5030 and return type to allow error reporting.
5031 (target_read_btrace): Change parameters and return type to allow
5033 * target.c (target_read_btrace): Update.
5034 * remote.c (remote_read_btrace): Support delta reads. Pass
5036 * NEWS: Announce it.
5038 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5040 * record.h (record_btrace_frame_unwind)
5041 (record_btrace_tailcall_frame_unwind): New declarations.
5042 * dwarf2-frame: Include record.h
5043 (dwarf2_frame_cfa): Throw an error for btrace frames.
5044 * record-btrace.c: Include hashtab.h.
5045 (btrace_get_bfun_name): New.
5046 (btrace_call_history): Call btrace_get_bfun_name.
5047 (struct btrace_frame_cache): New.
5049 (bfcache_hash, bfcache_eq, bfcache_new): New.
5050 (btrace_get_frame_function): New.
5051 (record_btrace_frame_unwind_stop_reason): Allow unwinding.
5052 (record_btrace_frame_this_id): Compute own id.
5053 (record_btrace_frame_prev_register): Provide PC, throw_error
5054 for all other registers.
5055 (record_btrace_frame_sniffer): Detect btrace frames.
5056 (record_btrace_tailcall_frame_sniffer): New.
5057 (record_btrace_frame_dealloc_cache): New.
5058 (record_btrace_frame_unwind): Add new functions.
5059 (record_btrace_tailcall_frame_unwind): New.
5060 (_initialize_record_btrace): Allocate cache.
5061 * btrace.c (btrace_clear): Call reinit_frame_cache.
5062 * NEWS: Announce it.
5064 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5066 * record-btrace.c (record_btrace_set_replay)
5067 (record_btrace_goto_begin, record_btrace_goto_end)
5068 (record_btrace_goto): New.
5069 (init_record_btrace_ops): Initialize them.
5070 * NEWS: Announce it.
5072 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5074 * record-btrace.c (record_btrace_find_new_threads)
5075 (record_btrace_thread_alive): New.
5076 (init_record_btrace_ops): Initialize to_find_new_threads and
5079 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5081 * record-btrace.c (record_btrace_resume): New.
5082 (record_btrace_wait): New.
5083 (init_record_btrace_ops): Initialize to_wait and to_resume.
5085 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5087 * record-btrace.c (record_btrace_xfer_partial)
5088 (record_btrace_insert_breakpoint, record_btrace_remove_breakpoint)
5089 (record_btrace_allow_memory_access): New.
5090 (init_record_btrace_ops): Initialize new methods.
5091 * target.c (raw_memory_xfer_partial): Bail out if target reports
5092 that this memory is not available.
5094 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5096 * target.h (target_ops) <to_insert_breakpoint>
5097 <to_remove_breakpoint>: Add target_ops parameter.
5098 (forward_target_insert_breakpoint): New.
5099 (forward_target_remove_breakpoint): New.
5100 (memory_remove_breakpoint, memory_insert_breakpoint):
5101 Add target_ops parameter.
5102 * target.c (target_insert_breakpoint): Split into this and ...
5103 (forward_target_insert_breakpoint): ... this.
5104 (target_remove_breakpoint): Split into this and ...
5105 (forward_target_remove_breakpoint): ... this.
5106 (debug_to_insert_breakpoint): Add target_ops parameter.
5107 Call forward_target_insert_breakpoint.
5108 (debug_to_remove_breakpoint): Add target_ops parameter.
5109 Call forward_target_remove_breakpoint.
5110 (update_current_target): Do not inherit or default to_insert_breakpoint
5111 and to_remove_breakpoint.
5112 * corelow.c (ignore): Add target_ops parameter.
5113 * exec.c (ignore): Add target_ops parameter.
5114 * mem-break.c (memory_insert_breakpoint, memory_remove_breakpoint):
5115 Add target_ops parameter.
5116 * monitor.c (monitor_insert_breakpoint, monitor_remove_breakpoint):
5117 Add target_ops parameter.
5118 * nto-procfs.c (procfs_insert_breakpoint, procfs_remove_breakpoint):
5119 Add target_ops parameter.
5120 * record-full.c (record_full_beneath_to_insert_breakpoint)
5121 (record_full_beneath_to_remove_breakpoint, tmp_to_insert_breakpoint)
5122 (tmp_to_remove_breakpoint, record_full_insert_breakpoint)
5123 (record_full_remove_breakpoint, record_full_core_insert_breakpoint)
5124 (record_full_core_remove_breakpoint): Add target_ops parameter.
5126 (record_full_beneath_to_insert_breakpoint_ops)
5127 (record_full_beneath_to_remove_breakpoint_ops)
5128 (tmp_to_insert_breakpoint_ops, tmp_to_remove_breakpoint_ops): New.
5129 (record_full_open): Initialize tmp_to_insert_breakpoint_ops,
5130 tmp_to_remove_breakpoint_ops,
5131 record_full_beneath_to_insert_breakpoint_ops, and
5132 record_full_beneath_to_remove_breakpoint_ops.
5133 * remote-m32r-sdi.c (m32r_insert_breakpoint)
5134 (m32r_remove_breakpoint): Add target_ops parameter.
5135 * remote-mips.c (mips_insert_breakpoint, mips_remove_breakpoint):
5136 Add target_ops parameter.
5137 * remote.c (remote_insert_breakpoint, remote_remove_breakpoint):
5138 Add target_ops parameter.
5140 2014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
5141 Markus Metzger <markus.t.metzger@intel.com>
5143 * record-btrace.c: Include frame-unwind.h.
5144 (record_btrace_frame_unwind_stop_reason)
5145 (record_btrace_frame_this_id, record_btrace_frame_prev_register)
5146 (record_btrace_frame_sniffer, record_btrace_frame_unwind):
5148 (init_record_btrace_ops): Install it.
5150 2014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
5152 * frame.c (get_frame_unwind_stop_reason): Unconditionally call
5155 2014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
5157 * dwarf2-frame.c (dwarf2_frame_cfa): Move UNWIND_UNAVAILABLE check
5160 2014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
5162 * frame-unwind.c: Include target.h.
5163 (frame_unwind_try_unwinder): New function with code from ...
5164 (frame_unwind_find_by_frame): ... here. New variable
5165 unwinder_from_target, call also target_get_unwinder)
5166 (target_get_tailcall_unwinder, and frame_unwind_try_unwinder for it.
5167 * target.c (target_get_unwinder, target_get_tailcall_unwinder): New.
5168 * target.h (struct target_ops): New fields to_get_unwinder and
5169 to_get_tailcall_unwinder.
5170 (target_get_unwinder, target_get_tailcall_unwinder): New declarations.
5172 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5174 * record-btrace.c (record_btrace_fetch_registers)
5175 (record_btrace_store_registers)
5176 (record_btrace_to_prepare_to_store): New.
5177 (init_record_btrace_ops): Add the above.
5179 2014-01-16 Tom Tromey <tromey@redhat.com>
5181 * windows-nat.c (windows_prepare_to_store): Add 'self' argument.
5182 * target.h (struct target_ops) <to_prepare_to_store>: Add
5184 (target_prepare_to_store): Add argument.
5185 * target.c (debug_to_prepare_to_store): Add argument.
5186 (update_current_target): Update.
5187 * remote.c (remote_prepare_to_store): Add 'self' argument.
5188 * remote-sim.c (gdbsim_prepare_to_store): Add 'self' argument.
5189 * remote-mips.c (mips_prepare_to_store): Add 'self' argument.
5190 * remote-m32r-sdi.c (m32r_prepare_to_store): Add 'self' argument.
5191 * record-full.c (record_full_core_prepare_to_store): Add 'self'
5193 * ravenscar-thread.c (ravenscar_prepare_to_store): Add argument.
5194 * nto-procfs.c (procfs_prepare_to_store): Add 'self' argument.
5195 * monitor.c (monitor_prepare_to_store): Add 'self' argument.
5196 * inf-child.c (inf_child_prepare_to_store): Add 'self' argument.
5197 * go32-nat.c (go32_prepare_to_store): Add 'self' argument.
5199 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5201 * btrace.h (replay) <replay>: New.
5202 (btrace_is_replaying): New.
5203 * btrace.c (btrace_clear): Free replay iterator.
5204 (btrace_is_replaying): New.
5205 * record-btrace.c (record_btrace_is_replaying): New.
5206 (record_btrace_info): Print insn number if replaying.
5207 (record_btrace_insn_history): Start at replay position.
5208 (record_btrace_call_history): Start at replay position.
5209 (init_record_btrace_ops): Init to_record_is_replaying.
5211 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5213 * record-btrace.c (record_btrace_insn_history_range): Include
5215 (record_btrace_insn_history_from): Adjust range.
5216 (record_btrace_call_history_range): Include
5218 (record_btrace_call_history_from): Adjust range.
5219 * NEWS: Announce changes.
5221 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5223 * record.h (enum record_print_flag)
5224 <record_print_indent_calls>: New.
5225 * record.c (get_call_history_modifiers): Recognize /c modifier.
5226 (_initialize_record): Document /c modifier.
5227 * record-btrace.c (btrace_call_history): Add btinfo parameter.
5228 Reorder fields. Optionally indent the function name. Update
5230 * NEWS: Announce changes.
5232 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5234 * common/linux-btrace.c (linux_enable_btrace): Enlarge buffer.
5236 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5238 * btrace.c (ftrace_new_function): Start counting at one.
5239 * record-btrace.c (record_btrace_info): Adjust number of calls
5241 * NEWS: Announce it.
5243 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5245 * record-btrace.c (btrace_call_history_insn_range): Print
5246 insn range as [begin, end].
5248 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5250 * btrace.h (struct btrace_func_link): New.
5251 (enum btrace_function_flag): New.
5252 (struct btrace_inst): Rename to ...
5253 (struct btrace_insn): ...this. Update all users.
5254 (struct btrace_func) <ibegin, iend>: Remove.
5255 (struct btrace_func_link): New.
5256 (struct btrace_func): Rename to ...
5257 (struct btrace_function): ...this. Update all users.
5258 (struct btrace_function) <segment, flow, up, insn, insn_offset)
5259 (number, level, flags>: New.
5260 (struct btrace_insn_iterator): Rename to ...
5261 (struct btrace_insn_history): ...this.
5263 (struct btrace_insn_iterator, btrace_call_iterator): New.
5264 (struct btrace_target_info) <btrace, itrace, ftrace>: Remove.
5265 (struct btrace_target_info) <begin, end, level>
5266 <insn_history, call_history>: New.
5267 (btrace_insn_get, btrace_insn_number, btrace_insn_begin)
5268 (btrace_insn_end, btrace_insn_prev, btrace_insn_next)
5269 (btrace_insn_cmp, btrace_find_insn_by_number, btrace_call_get)
5270 (btrace_call_number, btrace_call_begin, btrace_call_end)
5271 (btrace_call_prev, btrace_call_next, btrace_call_cmp)
5272 (btrace_find_function_by_number, btrace_set_insn_history)
5273 (btrace_set_call_history): New.
5274 * btrace.c (btrace_init_insn_iterator)
5275 (btrace_init_func_iterator, compute_itrace): Remove.
5276 (ftrace_print_function_name, ftrace_print_filename)
5277 (ftrace_skip_file): Change
5279 (ftrace_init_func): Remove.
5280 (ftrace_debug): Use new btrace_function fields.
5281 (ftrace_function_switched): Also consider gaining and
5282 losing symbol information).
5283 (ftrace_print_insn_addr, ftrace_new_call, ftrace_new_return)
5284 (ftrace_new_switch, ftrace_find_caller, ftrace_new_function)
5285 (ftrace_update_caller, ftrace_fixup_caller, ftrace_new_tailcall):
5287 (ftrace_new_function): Move. Remove debug print.
5288 (ftrace_update_lines, ftrace_update_insns): New.
5289 (ftrace_update_function): Check for call, ret, and jump.
5290 (compute_ftrace): Renamed to ...
5291 (btrace_compute_ftrace): ...this. Rewritten to compute call
5293 (btrace_fetch, btrace_clear): Updated.
5294 (btrace_insn_get, btrace_insn_number, btrace_insn_begin)
5295 (btrace_insn_end, btrace_insn_prev, btrace_insn_next)
5296 (btrace_insn_cmp, btrace_find_insn_by_number, btrace_call_get)
5297 (btrace_call_number, btrace_call_begin, btrace_call_end)
5298 (btrace_call_prev, btrace_call_next, btrace_call_cmp)
5299 (btrace_find_function_by_number, btrace_set_insn_history)
5300 (btrace_set_call_history): New.
5301 * record-btrace.c (require_btrace): Use new btrace thread
5303 (record_btrace_info, btrace_insn_history)
5304 (record_btrace_insn_history, record_btrace_insn_history_range):
5305 Use new btrace thread info fields and new iterator.
5306 (btrace_func_history_src_line): Rename to ...
5307 (btrace_call_history_src_line): ...this. Use new btrace
5309 (btrace_func_history): Rename to ...
5310 (btrace_call_history): ...this. Use new btrace thread info
5311 fields and new iterator.
5312 (record_btrace_call_history, record_btrace_call_history_range):
5313 Use new btrace thread info fields and new iterator.
5315 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5317 * frame.h (frame_id_build_unavailable_stack_special): New.
5318 * frame.c (frame_id_build_unavailable_stack_special): New.
5320 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5322 * amd64-tdep.c (amd64_classify_insn_at, amd64_insn_is_call)
5323 (amd64_insn_is_ret, amd64_insn_is_jump, amd64_jmp_p): New.
5324 (amd64_init_abi): Add insn_is_call, insn_is_ret, and insn_is_jump
5326 * i386-tdep.c (i386_insn_is_call, i386_insn_is_ret)
5327 (i386_insn_is_jump, i386_jmp_p): New.
5328 (i386_gdbarch_init): Add insn_is_call, insn_is_ret, and
5329 insn_is_jump to gdbarch.
5330 * gdbarch.sh (insn_is_call, insn_is_ret, insn_is_jump): New.
5331 * gdbarch.h: Regenerated.
5332 * gdbarch.c: Regenerated.
5333 * arch-utils.h (default_insn_is_call, default_insn_is_ret)
5334 (default_insn_is_jump): New.
5335 * arch-utils.c (default_insn_is_call, default_insn_is_ret)
5336 (default_insn_is_jump): New.
5338 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5340 * common/btrace-common.h (btrace_read_type) <btrace_read_all>:
5342 (btrace_read_type) <BTRACE_READ_ALL>: ... this. Update users.
5343 (btrace_read_type) <btrace_read_new>: Change to ...
5344 (btrace_read_type) <BTRACE_READ_NEW>: ... this. Update users.
5346 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5348 * common/linux-btrace.c (linux_read_btrace): Free trace from
5351 2014-01-15 Doug Evans <dje@google.com>
5353 * dwarf2read.c (open_and_init_dwp_file): Use pulongest to print
5356 2014-01-15 Tom Tromey <tromey@redhat.com>
5358 * dbxread.c (process_one_symbol): Use set_objfile_main_name.
5359 * dwarf2read.c (read_partial_die): Use set_objfile_main_name.
5360 * objfiles.c (get_objfile_bfd_data): Initialize language_of_main.
5361 (set_objfile_main_name): New function.
5362 * objfiles.h (struct objfile_per_bfd_storage) <name_of_main,
5363 language_of_main>: New fields.
5364 (set_objfile_main_name): Declare.
5365 * symtab.c (find_main_name): Loop over objfiles to find the main
5367 (set_main_name): Now static.
5368 (get_main_info): Add comment.
5369 * symtab.h (set_main_name): Don't declare.
5371 2014-01-15 Tom Tromey <tromey@redhat.com>
5373 * symtab.c (main_progspace_key): New global.
5374 (struct main_info): New.
5375 (name_of_main, language_of_main): Remove.
5376 (get_main_info, main_info_cleanup): New function.
5377 (set_main_name, main_name, main_language): Use get_main_info.
5378 (_initialize_symtab): Initialize main_progspace_key.
5380 2014-01-15 Tom Tromey <tromey@redhat.com>
5382 * dbxread.c (process_one_symbol): Update.
5383 * dwarf2read.c (read_partial_die): Update.
5384 * symfile.c (set_initial_language): Call main_language.
5385 * symtab.c (language_of_main): Now static.
5386 (set_main_name): Add 'lang' parameter.
5387 (find_main_name): Update.
5388 (main_language): New function.
5389 (symtab_observer_executable_changed): Update.
5390 * symtab.h (set_main_name): Update.
5391 (language_of_main): Remove.
5392 (main_language): Declare.
5394 2014-01-15 Tom Tromey <tromey@redhat.com>
5396 * symfile.c (init_entry_point_info): Use new "initialized" field.
5398 * objfiles.h (struct entry_point) <initialized>: New field.
5399 (struct objfile_per_bfd_storage) <ei>: New field, moved from...
5400 (struct objfile) <ei>: ...here. Remove.
5401 * objfiles.c (entry_point_address_query): Update.
5403 2014-01-15 Tom Tromey <tromey@redhat.com>
5405 * objfiles.c (entry_point_address_query): Relocate entry point
5407 (objfile_relocate1): Do not relocate entry point address.
5408 * objfiles.h (struct entry_info) <entry_point>: Update comment.
5409 <the_bfd_section_index>: New field.
5410 * symfile.c (init_entry_point_info): Find the entry point's
5413 2014-01-15 Tom Tromey <tromey@redhat.com>
5415 * solib-frv.c (enable_break): Use entry_point_address_query.
5417 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
5419 * NEWS: Add note on improved process record-replay on
5420 arm*-linux* targets.
5422 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
5424 * arm-tdep.c (enum arm_record_result): New enum.
5425 (arm_record_unsupported_insn): New function.
5426 (arm_record_coproc_data_proc): Removed.
5427 (thumb2_record_ld_st_multiple): New function.
5428 (thumb2_record_ld_st_dual_ex_tbb): New function.
5429 (thumb2_record_data_proc_sreg_mimm): New function.
5430 (thumb2_record_ps_dest_generic): New function.
5431 (thumb2_record_branch_misc_cntrl): New function.
5432 (thumb2_record_str_single_data): New function.
5433 (thumb2_record_ld_mem_hints): New function.
5434 (thumb2_record_ld_word): New function.
5435 (thumb2_record_lmul_lmla_div): New function.
5436 (thumb2_record_decode_insn_handler): New function.
5437 (decode_insn): Add thumb32 instruction handlers.
5439 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
5441 * arm-linux-tdep.c: Include "record-full.h" and "linux-record.h".
5442 (struct arm_linux_record_tdep): Declare.
5443 (arm_canonicalize_syscall): New function.
5444 (arm_all_but_pc_registers_record): New function.
5445 (arm_linux_syscall_record): New function.
5446 (arm_linux_init_abi): Add syscall recording constructs.
5447 * arm-tdep.c (thumb_record_ldm_stm_swi): Update thumb syscall
5448 decoding. (arm_record_coproc_data_proc): Update arm syscall
5450 * arm-tdep.h (struct gdbarch_tdep) <arm_swi_record>: Remove.
5451 <arm_syscall_record>: New field.
5452 * configure.tgt (arm*-*-linux*): Add linux-record.o to
5455 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
5457 * arm-tdep.c (thumb_record_misc): Update to use sp as base
5458 register for push instruction recording.
5460 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
5462 * arm-tdep.c (thumb_record_misc): Update to correct logical
5463 error while recording ldm, ldmia and pop instructions.
5465 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
5467 * arm-tdep.c (struct arm_mem_r) <addr>: Change type to uint32_t.
5469 2014-01-15 Pedro Alves <palves@redhat.com>
5471 * go32-nat.c (go32_open, go32_close, go32_attach, go32_detach)
5472 (go32_resume, go32_fetch_registers, store_register)
5473 (go32_store_registers, go32_prepare_to_store)
5474 (go32_xfer_memory, go32_files_info, go32_kill_inferior)
5475 (go32_create_inferior, go32_can_run, go32_terminal_init)
5476 (go32_terminal_inferior, go32_terminal_ours): Delete forward
5479 2014-01-15 Tom Tromey <tromey@redhat.com>
5481 * target.h (async_callback_ftype): New typedef.
5482 (struct target_ops) <to_async>: Use it.
5484 2014-01-15 Joel Brobecker <brobecker@adacore.com>
5486 * python/py-value.c (get_field_type): Remove unnecessary curly
5487 braces for single-statement if block.
5489 2014-01-15 Joel Brobecker <brobecker@adacore.com>
5491 * python/py-type.c (convert_field): Add missing empty line
5494 2014-01-14 Doug Evans <dje@google.com>
5496 * symfile.h (expand_symtabs_matching): Renamed from
5497 expand_partial_symbol_names. Update prototype.
5498 (map_symbol_filenames): Renamed from map_partial_symbol_filenames.
5499 * symfile.c (expand_symtabs_matching): Renamed from
5500 expand_partial_symbol_names. New args file_matcher, kind.
5501 Rename arg fun to symbol_matcher.
5502 (map_symbol_filenames): Renamed from map_partial_symbol_filenames.
5503 * ada-lang.c (ada_complete_symbol_matcher): Renamed from
5504 ada_expand_partial_symbol_name.
5505 (ada_make_symbol_completion_list): Update to call
5506 expand_symtabs_matching.
5507 (ada_add_global_exceptions): Call expand_symtabs_matching.
5508 * mi/mi-cmd-file.c (mi_cmd_file_list_exec_source_files): Update to
5509 call map_symbol_filenames.
5510 * symtab.c (sources_info): Update to call map_symbol_filenames.
5511 (search_symbols): Call expand_symtabs_matching.
5512 (symbol_completion_matcher): Renamed from expand_partial_symbol_name.
5513 (default_make_symbol_completion_list_break_on): Update to call
5514 expand_symtabs_matching.
5515 (make_source_files_completion_list): Update to call
5516 map_symbol_filenames.
5518 2014-01-14 Doug Evans <dje@google.com>
5520 * symfile.h (expand_symtabs_file_matcher_ftype): New typedef.
5521 (expand_symtabs_symbol_matcher_ftype): New typedef.
5522 (quick_symbol_functions.expand_symtabs_matching): Update to use.
5523 expand_symtabs_file_matcher_ftype, expand_symtabs_symbol_matcher_ftype.
5524 * symfile.c (expand_partial_symbol_names): Update to use
5525 expand_symtabs_symbol_matcher_ftype.
5526 * dwarf2read.c (dw2_expand_symtabs_matching): Update to use
5527 expand_symtabs_file_matcher_ftype, expand_symtabs_symbol_matcher_ftype.
5528 Arg name_matcher renamed to symbol_matcher.
5529 * psymtab.c (recursively_search_psymtabs): Update to use
5530 expand_symtabs_symbol_matcher_ftype. Arg name_matcher renamed to
5532 (expand_symtabs_matching_via_partial): Update to use
5533 expand_symtabs_file_matcher_ftype, expand_symtabs_symbol_matcher_ftype.
5534 Arg name_matcher renamed to symbol_matcher.
5536 2014-01-14 Doug Evans <dje@google.com>
5538 * psymtab.c (expand_partial_symbol_names): Delete, moved to symfile.c.
5539 (map_partial_symbol_filenames): Ditto.
5540 * psymtab.h (expand_partial_symbol_names): Delete, moved to symfile.h.
5541 (map_partial_symbol_filenames): Ditto.
5542 * symfile.c (expand_partial_symbol_names): Moved here from psymtab.c.
5543 (map_partial_symbol_filenames): Ditto.
5544 * symfile.h (expand_partial_symbol_names): Moved here from psymtab.h.
5545 (map_partial_symbol_filenames): Ditto.
5546 * symtab.c: Delete #include "psymtab.h".
5548 2014-01-14 Pedro Alves <palves@redhat.com>
5549 Tom Tromey <tromey@redhat.com>
5551 * infrun.c (use_displaced_stepping): Use find_record_target
5552 instead of RECORD_IS_USED.
5553 (adjust_pc_after_break): Use record_full_is_used instead of
5555 * record-btrace.c (record_btrace_open): Call record_preopen
5556 instead of checking RECORD_IS_USED.
5557 * record-full.c (record_full_shortname)
5558 (record_full_core_shortname): New globals.
5559 (record_full_is_used): New function.
5560 (find_full_open): Call record_preopen instead of checking
5562 (init_record_full_ops): Set the target's shortname to
5563 record_full_shortname.
5564 (init_record_full_core_ops): Set the target's shortname to
5565 record_full_core_shortname.
5566 * record-full.h (record_full_is_used): Declare.
5567 * record.c (find_record_target): Make extern.
5568 (record_preopen): New function.
5569 * record.h (RECORD_IS_USED): Delete macro.
5570 (find_record_target, record_preopen): Declare functions.
5572 2014-01-14 Yao Qi <yao@codesourcery.com>
5574 * gdbarch.sh (core_xfer_shared_libraries): Change its argument
5575 'len''s type to ULONGEST.
5576 (core_xfer_shared_libraries_aix): Likewise.
5577 * gdbarch.c, gdbarch.h: Regenerated.
5578 * i386-cygwin-tdep.c (windows_core_xfer_shared_libraries):
5579 Change type of 'len' to ULONGEST.
5580 * rs6000-aix-tdep.c (rs6000_aix_ld_info_to_xml): Likewise.
5581 (rs6000_aix_core_xfer_shared_libraries_aix): Likewise.
5583 2014-01-14 Yao Qi <yao@codesourcery.com>
5585 * common/linux-osdata.c (linux_xfer_osdata_processes): Change
5586 type of 'len' to ULONGEST.
5587 (linux_xfer_osdata_processgroups): Likewise.
5588 (linux_xfer_osdata_threads): Likewise.
5589 (linux_xfer_osdata_fds): Likewise.
5590 (linux_xfer_osdata_isockets): Likewise.
5591 (linux_xfer_osdata_shm): Likewise.
5592 (linux_xfer_osdata_sem): Likewise.
5593 (linux_xfer_osdata_msg): Likewise.
5594 (linux_common_xfer_osdata): Likewise.
5595 (struct osdata_type) <getter>: Likewise.
5596 * common/linux-osdata.h (linux_common_xfer_osdata): Update
5599 2014-01-14 Yao Qi <yao@codesourcery.com>
5601 * target.h (target_xfer_partial_ftype): Update.
5602 (struct target_ops) <to_xfer_partial>: Change 'len' type to
5604 * aix-thread.c (aix_thread_xfer_partial): Change type of
5605 argument 'len' to ULONGEST.
5606 * auxv.c (procfs_xfer_auxv): Likewise.
5607 (ld_so_xfer_auxv): Likewise.
5608 (memory_xfer_auxv): Likewise.
5609 * bfd-target.c (target_bfd_xfer_partial): Likewise.
5610 * bsd-kvm.c (bsd_kvm_xfer_partial): Likewise.
5611 * bsd-uthread.c (bsd_uthread_xfer_partial): Likewise.
5612 * corelow.c (core_xfer_partial): Likewise.
5613 * ctf.c (ctf_xfer_partial): Likewise.
5614 * darwin-nat.c (darwin_read_write_inferior): Likewise. Use
5616 (darwin_read_dyld_info): Likewise.
5617 (darwin_xfer_partial): Likewise.
5618 * exec.c (section_table_xfer_memory_partial): Likewise.
5619 (exec_xfer_partial): Likewise.
5620 * exec.h (section_table_xfer_memory_partial): Update
5622 * gnu-nat.c (gnu_xfer_memory): Likewise. Call pulongest
5623 instead of plongest.
5624 (gnu_xfer_partial): Likewise.
5625 * ia64-hpux-nat.c (ia64_hpux_xfer_memory): Likewise.
5626 (ia64_hpux_xfer_solib_got): Likewise.
5627 (ia64_hpux_xfer_partial): Likewise.
5628 * ia64-linux-nat.c (ia64_linux_xfer_partial):
5629 * inf-ptrace.c (inf_ptrace_xfer_partial):
5630 * inf-ttrace.c (inf_ttrace_xfer_partial):
5631 * linux-nat.c (linux_xfer_siginfo): Likewise.
5632 (linux_nat_xfer_partial): Likewise.
5633 (spu_enumerate_spu_ids, linux_proc_xfer_spu): Likewise.
5634 (linux_nat_xfer_osdata, linux_xfer_partial): Likewise.
5635 * monitor.c (monitor_xfer_memory): Likewise.
5636 (monitor_xfer_partial): Likewise.
5637 * procfs.c (procfs_xfer_partial): Likewise.
5638 * record-full.c (record_full_xfer_partial): Likewise.
5639 (record_full_core_xfer_partial): Likewise.
5640 * remote-sim.c (gdbsim_xfer_memory): Likewise. Call pulongest
5641 instead of plongest.
5642 (gdbsim_xfer_partial): Likewise.
5643 * remote.c (remote_xfer_partial): Likewise.
5644 * rs6000-aix-tdep.c (rs6000_aix_ld_info_to_xml): Likewise.
5645 * rs6000-aix-tdep.h (rs6000_aix_ld_info_to_xml): Update
5647 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
5648 (rs6000_xfer_shared_libraries): Likewise.
5649 * sol-thread.c (sol_thread_xfer_partial): Likewise.
5650 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
5651 (sparc_xfer_partial): Likewise.
5652 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise.
5653 (spu_xfer_partial): Likewise.
5654 * spu-multiarch.c (spu_xfer_partial): Likewise.
5655 * target.c (target_read_live_memory): Likewise.
5656 (memory_xfer_live_readonly_partial): Likewise.
5657 (memory_xfer_partial, memory_xfer_partial_1): Likewise.
5658 (target_xfer_partial, default_xfer_partial): Likewise.
5659 (current_xfer_partial): Likewise.
5660 * tracepoint.c (tfile_xfer_partial): Likewise.
5661 * windows-nat.c (windows_xfer_memory): Likewise. Call
5662 pulongest instead of plongest.
5663 (windows_xfer_partial): Likewise.
5664 (windows_xfer_shared_libraries): Likewise.
5666 2014-01-14 Yao Qi <yao@codesourcery.com>
5668 * rs6000-nat.c (rs6000_xfer_shared_libraries): Use
5669 target_xfer_partial_ftype.
5671 2014-01-13 Siva Chandra Reddy <sivachandra@google.com>
5675 * valops.c (value_struct_elt_bitpos): New function
5676 * py-type.c (convert_field): Set 'name' attribute of a gdb.Field
5677 object to 'None' if the field name is an empty string ("").
5678 * python/py-value.c (valpy_getitem): Use 'bitpos' and 'type'
5679 attribute to look for a field when 'name' is 'None'.
5680 (get_field_type): New function
5682 2014-01-13 Doug Evans <dje@google.com>
5685 * dwarf2read.c (dwarf2_get_dwz_file): Call gdb_bfd_record_inclusion.
5686 (try_open_dwop_file): Ditto.
5687 * gdb_bfd.c: #include "vec.h".
5688 (bfdp): New typedef.
5689 (struct gdb_bfd_data): New member included_bfds.
5690 (gdb_bfd_unref): Unref all included bfds.
5691 (gdb_bfd_record_inclusion): New function.
5692 * gdb_bfd.h (gdb_bfd_record_inclusion): Declare.
5694 2014-01-13 Tom Tromey <tromey@redhat.com>
5696 * gdbcore.h (deprecated_core_resize_section_table): Remove.
5698 2014-01-13 Tom Tromey <tromey@redhat.com>
5700 * defs.h (use_windows): Remove.
5701 * gdb.c (main): Update.
5702 * main.c (captured_main, gdb_main): Update.
5703 * main.h (struct captured_main_args) <use_windows>: Remove.
5704 * top.c (use_windows): Remove.
5706 2014-01-13 Tom Tromey <tromey@redhat.com>
5708 * defs.h (deprecated_flush_hook): Remove.
5710 2014-01-13 Jan Kratochvil <jan.kratochvil@redhat.com>
5713 * linux-thread-db.c (try_thread_db_load): Add parameter
5714 check_auto_load_safe. Move here the file_is_auto_load_safe call.
5715 (try_thread_db_load_from_pdir_1): Move it there from here.
5716 (try_thread_db_load_from_sdir): Update caller.
5717 (try_thread_db_load_from_dir): Move it there from here.
5719 2014-01-13 Patrick Palka <patrick@parcs.ath.cx>
5721 * regformats/regdat.sh: Always rewrite the register file.
5723 2014-01-13 Pedro Alves <palves@redhat.com>
5725 * Makefile.in (CHECK_HEADERS): New variable.
5726 (check-headers:): New rule.
5728 2014-01-13 Tom Tromey <tromey@redhat.com>
5730 * cli/cli-setshow.c (do_set_command): Update.
5731 * defs.h (deprecated_set_hook): Remove.
5732 * top.c (deprecated_set_hook): Remove.
5734 2014-01-13 Pedro Alves <palves@redhat.com>
5736 * tracepoint.c (tfile_fetch_registers): Don't infer the PC from
5737 the tracepoint if the PC is a pseudo-register.
5739 2014-01-13 Tom Tromey <tromey@redhat.com>
5741 * defs.h (XCALLOC): Remove.
5742 * bcache.c (bcache_xmalloc): Use XCNEW, not XCALLOC.
5743 (print_bcache_statistics): Use XCNEWVEC, not XCALLOC.
5744 * dwarf2loc.c (allocate_piece_closure): Likewise.
5745 * elfread.c (elf_symfile_segments): Likewise.
5746 (elf_symfile_segments): Likewise.
5747 * gdbtypes.c (copy_type_recursive): Likewise.
5748 * i386-tdep.c (i386_gdbarch_init): Use XCNEW, not XCALLOC.
5749 * jit.c (jit_frame_sniffer): Use XCNEWVEC, not XCALLOC.
5750 * minsyms.c (prim_record_minimal_symbol_full): Use XCNEW, not
5752 * mt-tdep.c (mt_gdbarch_init): Likewise.
5753 * opencl-lang.c (allocate_lval_closure): Use XCNEWVEC, not
5755 * psymtab.c (psymbol_compare): Use XCNEW, not XCALLOC.
5756 * regcache.c (regcache_xmalloc_1): Use XCNEWVEC, not XCALLOC.
5757 * registry.c (registry_alloc_data): Likewise.
5758 * rs6000-tdep.c (rs6000_gdbarch_init): Use XCNEW, not XCALLOC.
5759 * s390-linux-tdep.c (s390_gdbarch_init): Likewise.
5760 * serial.c (serial_fdopen_ops): Likewise.
5761 * solib-aix.c (solib_aix_get_section_offsets): Use XCNEWVEC, not
5763 * spu-tdep.c (spu_gdbarch_init): Use XCNEW, not XCALLOC.
5764 * symfile.c (default_symfile_segments): Use XCNEW and XCNEWVEC,
5767 2014-01-13 Tom Tromey <tromey@redhat.com>
5769 * defs.h (XMALLOC): Remove.
5770 * avr-tdep.c (avr_gdbarch_init): Use XNEW, not XMALLOC.
5771 * bfin-tdep.c (bfin_gdbarch_init): Likewise.
5772 * cli-out.c (struct ui_out *): Likewise.
5773 * cli/cli-dump.c (add_dump_command): Likewise.
5774 (add_dump_command): Likewise.
5775 * complaints.c (get_complaints): Likewise.
5776 (find_complaint): Likewise.
5777 * dwarf2-frame.c (execute_cfa_program): Likewise.
5778 * dwarf2read.c (abbrev_table_read_table): Likewise.
5779 * gdbarch.sh: Likewise.
5780 * gdbarch.c: Rebuild.
5781 * inf-ttrace.c (inf_ttrace_add_page): Likewise.
5782 * interps.c (interp_new): Likewise.
5783 * lm32-tdep.c (lm32_gdbarch_init): Likewise.
5784 * m32r-tdep.c (m32r_gdbarch_init): Likewise.
5785 * mi/mi-console.c (mi_console_file_new): Likewise.
5786 * mi/mi-interp.c (mi_interpreter_init): Likewise.
5787 * mi/mi-out.c (mi_out_new): Likewise.
5788 * mi/mi-parse.c (mi_parse): Likewise.
5789 * microblaze-tdep.c (microblaze_gdbarch_init): Likewise.
5790 * moxie-tdep.c (moxie_gdbarch_init): Likewise.
5791 * observer.c (xalloc_observer_list_node): Likewise.
5792 * regcache.c (regcache_xmalloc_1): Likewise.
5793 * reggroups.c (reggroup_new): Likewise.
5794 (_initialize_reggroup): Likewise.
5795 * registry.c (register_data_with_cleanup): Likewise.
5796 * remote.c (remote_notif_stop_alloc_reply): Likewise.
5797 * ser-base.c (serial_ttystate): Likewise.
5798 * ser-mingw.c (make_pipe_state): Likewise.
5799 * ser-pipe.c (pipe_open): Likewise.
5800 * serial.c (serial_open): Likewise.
5801 * sh64-tdep.c (sh64_gdbarch_init): Likewise.
5802 * tui/tui-data.c (tui_alloc_generic_win_info): Likewise.
5803 (tui_alloc_win_info): Likewise.
5804 (tui_add_content_elements): Likewise.
5805 * tui/tui-file.c (tui_file_new): Likewise.
5806 * tui/tui-out.c (tui_out_new): Likewise.
5807 * ui-file.c (mem_file_new): Likewise.
5808 * ui-out.c (push_level): Likewise.
5809 (make_cleanup_ui_out_end): Likewise.
5810 (append_header_to_list): Likewise.
5811 (ui_out_new): Likewise.
5812 * user-regs.c (user_reg_add_builtin): Likewise.
5814 2014-01-13 Tom Tromey <tromey@redhat.com>
5816 * defs.h (XZALLOC): Remove.
5817 * ada-lang.c (get_ada_inferior_data): Use XCNEW, not XZALLOC.
5818 * ada-tasks.c (get_ada_tasks_pspace_data): Likewise.
5819 (get_ada_tasks_inferior_data): Likewise.
5820 * auto-load.c (get_auto_load_pspace_data): Likewise.
5821 * auxv.c (get_auxv_inferior_data): Likewise.
5822 * bfd-target.c (target_bfd_reopen): Likewise.
5823 * breakpoint.c (get_catch_syscall_inferior_data): Likewise.
5824 (deprecated_insert_raw_breakpoint): Likewise.
5825 * bsd-uthread.c (bsd_uthread_pid_to_str): Likewise.
5826 * corelow.c (core_open): Likewise.
5827 * darwin-nat.c (darwin_check_new_threads): Likewise.
5828 (darwin_attach_pid): Likewise.
5829 * dummy-frame.c (dummy_frame_push): Likewise.
5830 * dwarf2-frame.c (dwarf2_frame_cache): Likewise.
5831 * dwarf2loc.c (allocate_piece_closure): Likewise.
5832 * elfread.c (elf_symfile_segments): Likewise.
5833 * eval.c (ptrmath_type_p): Likewise.
5834 * exceptions.c (EXCEPTIONS_SIGJMP_BUF): Likewise.
5835 * gdbtypes.c (alloc_type_arch): Likewise.
5836 (alloc_type_instance): Likewise.
5837 * hppa-tdep.c (hppa_gdbarch_init): Likewise.
5838 * inf-child.c (inf_child_can_use_agent): Likewise.
5839 * inflow.c (get_inflow_inferior_data): Likewise.
5840 * infrun.c (save_infcall_suspend_state): Likewise.
5841 * jit.c (jit_reader_load): Likewise.
5842 (get_jit_objfile_data): Likewise.
5843 (get_jit_program_space_data): Likewise.
5844 (jit_object_open_impl): Likewise.
5845 (jit_symtab_open_impl): Likewise.
5846 (jit_block_open_impl): Likewise.
5847 (jit_frame_sniffer): Likewise.
5848 * linux-fork.c (add_fork): Likewise.
5849 * maint.c (make_command_stats_cleanup): Likewise.
5850 * objfiles.c (get_objfile_pspace_data): Likewise.
5851 * opencl-lang.c (struct lval_closure): Likewise.
5852 * osdata.c (osdata_start_osdata): Likewise.
5853 * progspace.c (new_address_space): Likewise.
5854 (add_program_space): Likewise.
5855 * remote-sim.c (get_sim_inferior_data): Likewise.
5856 * sh-tdep.c (sh_gdbarch_init): Likewise.
5857 * skip.c (Ignore): Likewise.
5858 (skip_delete_command): Likewise.
5859 * solib-aix.c (get_solib_aix_inferior_data): Likewise.
5860 (library_list_start_library): Likewise.
5861 (solib_aix_current_sos): Likewise.
5862 * solib-darwin.c (get_darwin_info): Likewise.
5863 (darwin_current_sos): Likewise.
5864 * solib-dsbt.c (get_dsbt_info): Likewise.
5865 * solib-ia64-hpux.c (new_so_list): Likewise.
5866 (ia64_hpux_get_solib_linkage_addr): Likewise.
5867 * solib-spu.c (append_ocl_sos): Likewise.
5868 (spu_current_sos): Likewise.
5869 * solib-svr4.c (get_svr4_info): Likewise.
5870 (svr4_keep_data_in_core): Likewise.
5871 (library_list_start_library): Likewise.
5872 (svr4_default_sos): Likewise.
5873 (svr4_read_so_list): Likewise.
5874 * solib-target.c (library_list_start_library): Likewise.
5875 (solib_target_current_sos): Likewise.
5876 * sparc-tdep.c (sparc32_gdbarch_init): Likewise.
5877 * symfile-debug.c (install_symfile_debug_logging): Likewise.
5878 * symfile.c (default_symfile_segments): Likewise.
5879 * target-descriptions.c (tdesc_data_init): Likewise.
5880 (tdesc_create_reg): Likewise.
5881 (struct tdesc_type *): Likewise.
5882 (tdesc_create_vector): Likewise.
5883 (tdesc_set_struct_size): Likewise.
5884 (struct tdesc_type *): Likewise.
5885 (tdesc_free_feature): Likewise.
5886 (tdesc_create_feature): Likewise.
5887 * windows-nat.c (windows_add_thread): Likewise.
5888 (windows_make_so): Likewise.
5889 * xml-support.c (gdb_xml_body_text): Likewise.
5890 (gdb_xml_create_parser_and_cleanup): Likewise.
5891 (xml_process_xincludes): Likewise.
5892 * xml-syscall.c (allocate_syscalls_info): Likewise.
5893 (syscall_create_syscall_desc): Likewise.
5895 2014-01-12 Sergio Durigan Junior <sergiodj@redhat.com>
5897 * i386-tdep.c (i386_stap_parse_special_token_triplet): New
5898 function, with code from i386_stap_parse_special_token.
5899 (i386_stap_parse_special_token_three_arg_disp): Likewise.
5900 (i386_stap_parse_special_token): Move code to the two functions
5903 2014-01-09 Pedro Alves <palves@redhat.com>
5904 Hui Zhu <hui@codesourcery.com>
5907 * breakpoint.c (insert_bp_location): Rename hw_bp_err_string to
5908 bp_err_string. Don't mark the location shlib_disabled if the
5909 error thrown wasn't a generic or memory error. Catch errors
5910 thrown while inserting breakpoints in overlayed code. Output
5911 error message of software breakpoints.
5912 * remote.c (remote_insert_breakpoint): If this breakpoint has
5913 target-side commands but this stub doesn't support Z0 packets,
5914 throw NOT_SUPPORTED_ERROR error.
5915 * exceptions.h (enum errors) <NOT_SUPPORTED_ERROR>: New error.
5916 * target.h (target_insert_breakpoint): Extend comment.
5917 (target_insert_hw_breakpoint): Add comment.
5919 2014-01-08 Pedro Alves <palves@redhat.com>
5921 * remote.c (remote_add_thread): Add threads silently if starting
5923 (remote_notice_new_inferior): If in all-stop, and starting up,
5924 don't call notice_new_inferior.
5925 (get_current_thread): New function, factored out from ...
5926 (add_current_inferior_and_thread): ... this. Adjust.
5927 (remote_start_remote) <all-stop>: Fetch the thread list. If we
5928 found any thread, then select the remote's current thread as GDB's
5931 2014-01-08 Joel Brobecker <brobecker@adacore.com>
5933 * NEWS: Create a new section for the next release branch.
5934 Rename the section of the current branch, now that it has
5937 2014-01-08 Joel Brobecker <brobecker@adacore.com>
5939 GDB 7.7 branch created (79301218fa0f074c5656db0ec8972a5ddcf91fb5):
5940 * version.in: Bump version to 7.7.50.DATE-cvs.
5942 2014-01-08 Yao Qi <yao@codesourcery.com>
5944 * spu-linux-nat.c (spu_symbol_file_add_from_memory): Change
5945 type of 'id' to gdb_byte. Cast 'id' to 'const char *'.
5946 (spu_xfer_partial): Cast 'buf' to 'const char *'.
5948 2014-01-08 Yao Qi <yao@codesourcery.com>
5950 * spu-linux-nat.c (spu_symbol_file_add_from_memory): Pass
5951 return value of bfd_get_filename to symbol_file_add_from_bfd.
5953 2014-01-08 Pierre Muller <muller@sourceware.org>
5956 * coff-pe-read.c (struct read_pe_section_data): Add index field.
5957 (add_pe_exported_sym): Use SECTION_DATA->INDEX for call
5958 to prim_record_mininal_symbol_and_info.
5959 (add_pe_forwarded_sym): Use known section number of forwarded symbol
5960 in call to prim_record_minimal_symbol_and_info.
5961 (read_pe_exported_syms): Set index field of section_data.
5963 2014-01-07 Andrew Pinski <apinski@cavium.com>
5965 * features/aarch64-core.xml (cpsr): Change to be 64bit.
5966 * features/aarch64.c: Regenerate.
5968 2014-01-07 Andreas Schwab <schwab@linux-m68k.org>
5970 * target.c (return_null): Define.
5971 (update_current_target): Use it instead of return_zero for
5972 functions that return a pointer.
5974 2014-01-07 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
5976 * source.c (add_path): Fix check for duplicated paths in the previously
5979 2014-01-07 Honggyu Kim <hong.gyu.kim@lge.com>
5981 * ada-lang.c: Remove duplicated include statements.
5982 * alphabsd-nat.c: Ditto.
5983 * amd64-darwin-tdep.c: Ditto.
5984 * amd64fbsd-nat.c: Ditto.
5985 * auto-load.c: Ditto.
5987 * breakpoint.c: Ditto.
5989 * fork-child.c: Ditto.
5990 * gdb_usleep.c: Ditto.
5991 * i386-darwin-tdep.c: Ditto.
5992 * i386fbsd-nat.c: Ditto.
5994 * inferior.c: Ditto.
5996 * linux-nat.c: Ditto.
5997 * linux-tdep.c: Ditto.
5998 * m68kbsd-nat.c: Ditto.
5999 * m68klinux-nat.c: Ditto.
6000 * microblaze-tdep.c: Ditto.
6001 * mips-linux-tdep.c: Ditto.
6002 * mn10300-tdep.c: Ditto.
6003 * nto-tdep.c: Ditto.
6004 * opencl-lang.c: Ditto.
6006 * printcmd.c: Ditto.
6007 * regcache.c: Ditto.
6008 * remote-m32r-sdi.c: Ditto.
6012 * tilegx-linux-nat.c: Ditto.
6013 * tilegx-tdep.c: Ditto.
6014 * tracepoint.c: Ditto.
6016 * vaxbsd-nat.c: Ditto.
6017 * windows-nat.c: Ditto.
6018 * xtensa-tdep.c: Ditto.
6020 2014-01-07 Yao Qi <yao@codesourcery.com>
6022 * spu-linux-nat.c (_initialize_spu_nat): Declare.
6024 2014-01-07 Yao Qi <yao@codesourcery.com>
6025 Joel Brobecker <brobecker@adacore.com>
6027 * aix-thread.c (pdc_read_regs): Cast parameter to uintptr_t.
6028 (pdc_write_regs): Likewise.
6029 (fetch_regs_kernel_thread): Likewise.
6030 (store_regs_kernel_thread): Likewise.
6032 2014-01-07 Joel Brobecker <brobecker@adacore.com>
6034 * ada-varobj.c (ada_varobj_adjust_for_child_access): Convert
6035 tagged type objects to their actual type.
6037 2014-01-07 Joel Brobecker <brobecker@adacore.com>
6039 * ada-valprint.c (print_field_values): Add "language" parameter.
6040 Update calls to print_field_values and print_variant_part.
6041 Pass new parameter "language" in call to val_print instead
6042 of "current_language". Replace call to ada_val_print by call
6044 (print_variant_part): Add "language" parameter.
6045 (ada_val_print_struct_union): Update call to print_field_values.
6047 2014-01-07 Joel Brobecker <brobecker@adacore.com>
6049 * ada-valprint.c (ui_memcpy): Delete.
6050 (ada_print_floating): Update documentation. Add empty line
6051 between between function documentation and implementation.
6052 Delete variable "buffer". Use ui_file_xstrdup in place of
6053 ui_file_put. Minor adjustments following this change.
6055 2014-01-07 Joel Brobecker <brobecker@adacore.com>
6057 * ada-valprint.c (ada_val_print_string): New function,
6058 extracted from ada_val_print_array.
6059 (ada_val_print_array): Replace extracted code by call
6060 to ada_val_print_string followed by a return. Move
6061 "else" branch to the function's top block.
6063 2014-01-07 Joel Brobecker <brobecker@adacore.com>
6065 * ada-valprint.c (ada_val_print_array): Move implementation
6066 down. Rename parameter "offset" and "val" into "offset_aligned"
6067 and "original_value" respectively. Add parameter "offset".
6069 2014-01-07 Joel Brobecker <brobecker@adacore.com>
6071 * ada-valprint.c (ada_val_print_ref): Rewrite by mostly
6072 re-organizing the code. Change the "???" message printed
6073 when target type is a TYPE_CODE_UNDEF into
6074 "<ref to undefined type>".
6076 2014-01-07 Joel Brobecker <brobecker@adacore.com>
6078 * ada-valprint.c (print_record): Delete, implementation inlined...
6079 (ada_val_print_struct_union): ... here. Remove call to
6080 ada_check_typedef in inlined implementation.
6082 2014-01-07 Joel Brobecker <brobecker@adacore.com>
6084 * ada-valprint.c (ada_val_print_gnat_array): New function,
6085 extracted from ada_val_print_1;
6086 (ada_val_print_ptr, ada_val_print_num, ada_val_print_enum)
6087 (ada_val_print_flt, ada_val_print_struct_union)
6088 (ada_val_print_ref): Likewise.
6089 (ada_val_print_1): Delete variables i and elttype.
6090 Replace extracted-out code by call to corresponding
6093 2014-01-07 Joel Brobecker <brobecker@adacore.com>
6095 * ada-valprint.c (ada_val_print_1): Remove call to gdb_flush.
6097 2014-01-07 Joel Brobecker <brobecker@adacore.com>
6099 * ada-valprint.c (ada_val_print_1): Replace calls to
6100 ada_val_print_1 by calls to val_print.
6102 2014-01-07 Joel Brobecker <brobecker@adacore.com>
6104 * ada-valprint.c (ada_val_print_1): Add parameter "language".
6105 Update calls to self accordingly. Replace calls to c_val_print
6106 by calls to val_print.
6108 2014-01-07 Joel Brobecker <brobecker@adacore.com>
6110 * ada-valprint.c (print_record): Delete declaration.
6111 (adjust_type_signedness, ada_val_print_1): Likewise.
6112 (ada_val_print): Move function implementation down.
6113 (print_variant_part, print_field_values, print_record):
6114 Move function implementation up.
6116 2014-01-07 Joel Brobecker <brobecker@adacore.com>
6118 * python/py-type.c (typy_get_name): New function.
6119 (type_object_getset): Add entry for attribute "name".
6120 * NEWS: Add entry mentioning this new attribute.
6122 2014-01-07 Yao Qi <yao@codesourcery.com>
6124 * gnu-nat.c (set_exceptions_cmd): Remove an empty body 'if'
6127 2014-01-07 Yao Qi <yao@codesourcery.com>
6129 * gnu-nat.c (info_port_rights): Add qualifier const to
6132 2014-01-07 Yao Qi <yao@codesourcery.com>
6134 * gnu-nat.c (trace_me): Use 'void' for empty argument list.
6136 2014-01-07 Yao Qi <yao@codesourcery.com>
6138 * gnu-nat.c (make_inf) Update declaration.
6139 (make_inf): Make it static.
6140 (inf_set_traced): Likewise.
6141 (inf_port_to_thread, inf_task_died_status): Likewise.
6143 2014-01-07 Yao Qi <yao@codesourcery.com>
6145 * gnu-nat.c (inf_tid_to_proc): Remove declaration.
6147 2014-01-07 Yao Qi <yao@codesourcery.com>
6149 * gnu-nat.c (_initialize_gnu_nat): Declare.
6151 2014-01-07 Yao Qi <yao@codesourcery.com>
6153 * gdbarch.sh (byte_order, byte_order_for_code): Change type to
6155 (struct gdbarch_info) <byte_order>: Change type to
6157 <byte_order_for_code>: Likewise.
6158 * gdbarch.c, gdbarch.h: Regenerated.
6160 2014-01-06 Sasha Smundak <asmundak@google.com>
6162 * jit.c: (jit_reader_load_command): Fix JIT reader path creation.
6164 2014-01-06 Tom Tromey <tromey@redhat.com>
6166 * doublest.c (convert_doublest_to_floatformat): Use const, not
6168 * somread.c (som_symtab_read): Likewise.
6170 2014-01-07 Hui Zhu <hui@codesourcery.com>
6172 * gdb_bfd.c (gdb_bfd_stash_filename): Removed.
6173 (gdb_bfd_open): Removed gdb_bfd_stash_filename.
6174 (gdb_bfd_fopen): Ditto.
6175 (gdb_bfd_openr): Ditto.
6176 (gdb_bfd_openw): Ditto.
6177 (gdb_bfd_openr_iovec): Ditto.
6178 (gdb_bfd_fdopenr): Ditto.
6179 * gdb_bfd.h (gdb_bfd_stash_filename): Removed.
6180 * solib-aix.c (solib_aix_bfd_open): Alloc object_bfd->filename
6182 * solib-darwin.c (darwin_bfd_open): Alloc res->filename
6184 * symfile-mem.c (symbol_file_add_from_memory): Removed
6185 gdb_bfd_stash_filename.
6187 2014-01-03 Doug Evans <dje@google.com>
6189 * nat/linux-waitpid.c (linux_debug): Remove extraneous \n from
6192 2014-01-01 Joel Brobecker <brobecker@adacore.com>
6194 Update year range in copyright notice of all files.
6196 2014-01-01 Joel Brobecker <brobecker@adacore.com>
6198 * top.c (print_gdb_version): Set copyright year to 2014.
6200 2014-01-01 Joel Brobecker <brobecker@adacore.com>
6202 * config/djgpp/fnchange.lst: Add entry for gdb/ChangeLog-2013.
6204 For older changes see ChangeLog-2013.
6210 version-control: never