1 2014-03-12 Stan Shebs <stan@codesourcery.com>
3 * gdbtypes.h: Annotate comments for Doxygen, add a page
4 block comment with some general info.
6 2014-03-12 Pedro Alves <palves@redhat.com>
8 * infcmd.c (prepare_execution_command): New function, factored out
9 from several execution commands.
10 (run_command_1, continue_command, step_1, jump_command)
11 (signal_command, until_command, advance_command, finish_command)
12 (attach_command): Use prepare_execution_command.
14 2014-03-12 Omair Javaid <omair.javaid@linaro.org>
16 * arm-linux-nat.c (arm_linux_get_hwbp_cap): Updated.
19 (struct arm_linux_thread_points): Removed.
20 (struct arm_linux_process_info): New.
21 (DEF_VEC_P (arm_linux_thread_points_p)): Removed.
22 (VEC(arm_linux_thread_points_p) *arm_threads): Removed.
23 (arm_linux_find_breakpoints_by_tid): Removed.
24 (struct arch_lwp_info): New.
25 (arm_linux_find_process_pid): New functions.
26 (arm_linux_add_process): New functions.
27 (arm_linux_process_info_get): New functions.
28 (arm_linux_forget_process): New function.
29 (arm_linux_get_debug_reg_state): New function.
30 (struct update_registers_data): New.
31 (update_registers_callback): New function.
32 (arm_linux_insert_hw_breakpoint1): Updated.
33 (arm_linux_remove_hw_breakpoint1): Updated.
34 (arm_linux_insert_hw_breakpoint): Updated.
35 (arm_linux_remove_hw_breakpoint): Updated.
36 (arm_linux_insert_watchpoint): Updated.
37 (arm_linux_remove_watchpoint): Updated.
38 (arm_linux_new_thread): Updated.
39 (arm_linux_prepare_to_resume): New function.
40 (arm_linux_new_fork): New function.
41 (_initialize_arm_linux_nat): Updated.
43 2014-03-12 Pedro Alves <palves@redhat.com>
45 * Makefile.in (TARGET_FLAGS_TO_PASS): Add TESTS.
47 2014-03-12 Tom Tromey <tromey@redhat.com>
49 * inf-child.c (return_zero): New function.
50 (inf_child_target): Set to_can_async_p, to_supports_non_stop.
51 * aix-thread.c (aix_thread_inferior_created): New function.
52 (aix_thread_attach): Remove.
53 (init_aix_thread_ops): Don't set to_attach.
54 (_initialize_aix_thread): Register inferior_created observer.
55 * corelow.c (init_core_ops): Don't set to_attach or
57 * exec.c (init_exec_ops): Don't set to_attach or
59 * infcmd.c (run_command_1): Use find_run_target. Make direct
61 (attach_command): Use find_attach_target. Make direct target
63 * record-btrace.c (init_record_btrace_ops): Don't set
65 * record-full.c (record_full_can_async_p, record_full_is_async_p):
67 (init_record_full_ops, init_record_full_core_ops): Update. Don't
68 set to_create_inferior.
69 * target.c (complete_target_initialization): Add assertion.
70 (target_create_inferior): Remove.
71 (find_default_attach, find_default_create_inferior): Remove.
72 (find_attach_target, find_run_target): New functions.
73 (find_default_is_async_p, find_default_can_async_p)
74 (target_supports_non_stop, target_attach): Remove.
75 (init_dummy_target): Don't set to_create_inferior or
77 * target.h (struct target_ops) <to_attach>: Add comment. Remove
79 <to_create_inferior>: Add comment.
80 <to_can_async_p, to_is_async_p, to_supports_non_stop>: Use
81 TARGET_DEFAULT_RETURN.
82 <to_can_async_p, to_supports_non_stop, to_can_run>: Add comments.
83 (find_attach_target, find_run_target): Declare.
84 (target_create_inferior): Remove.
85 (target_has_execution_1): Update comment.
86 (target_supports_non_stop): Remove.
87 * target-delegates.c: Rebuild.
89 2014-03-12 Pedro Alves <palves@redhat.com>
91 * inf-child.h: Update comment to not mention Unix.
93 2014-03-12 Pedro Alves <palves@redhat.com>
95 * inf-child.c: Update top comment to not mention Unix. Add
96 generic comment describing how this target is meant to be used.
97 (inf_child_post_attach, inf_child_post_startup_inferior)
98 (inf_child_follow_fork, inf_child_pid_to_exec_file): Don't mention
101 2014-03-12 Pedro Alves <palves@redhat.com>
103 * nto-procfs.c: Include inf-child.h.
104 (procfs_ops): Delete global.
105 (procfs_can_run): Delete method.
106 (procfs_detach, procfs_mourn_inferior): Unpush the passed in
107 target pointer instead of referencing procfs_ops.
108 (procfs_prepare_to_store): Delete.
109 (init_procfs_ops): Delete function.
110 (procfs_target): New function, based on init_procfs_ops, but
111 inherit inf_child_target.
112 (_initialize_procfs): Use procfs_target.
114 2014-03-12 Pedro Alves <palves@redhat.com>
116 * windows-nat.c: Include inf-child.h.
117 (windows_ops): Delete global.
118 (windows_open, windows_prepare_to_store, windows_can_run): Delete
120 (init_windows_ops): Delete function.
121 (windows_target): New function, based on init_windows_ops, but
122 inherit inf_child_target.
123 (_initialize_windows_nat): Use windows_target. Install x86
124 specific target methods here.
126 2014-03-10 Doug Evans <xdje42@gmail.com>
128 * guile/guile.c (call_initialize_gdb_module): New function.
129 (initialize_guile): Replace call to scm_init_guile with call to
132 2014-03-10 Joel Brobecker <brobecker@adacore.com>
134 * ada-lang.c (ada_evaluate_subexp): Add missing space before '('
135 in call to TYPE_CODE macro.
137 2014-03-10 Jerome Guitton <guitton@adacore.com>
139 * ada-lang.c (ada_evaluate_subexp) <UNOP_IND, STRUCTOP_STRUCT>:
140 Resolve tagged types to full view.
142 2014-03-10 Hui Zhu <hui@codesourcery.com>
144 * target.h (target_insert_breakpoint): Remove "hardware" from its
147 2014-03-07 Doug Evans <dje@google.com>
149 * dwarf2read.c (read_str_index): Rename local dwo_name to objf_name.
151 2014-03-07 Doug Evans <dje@google.com>
153 * dwarf2read.c (read_cutu_die_from_dwo): Fix function comment.
154 Remove unused local comp_dir_attr. Assert exactly one of
155 stub_comp_unit_die, stub_comp_dir is non-NULL.
157 2014-03-07 Joel Brobecker <brobecker@adacore.com>
159 * target.h (complete_target_initialization, add_target):
162 2014-03-07 Pedro Alves <palves@redhat.com>
164 * go32-nat.c: Include inf-child.h.
165 (go32_ops): Delete global.
166 (go32_close, go32_detach, go32_prepare_to_store, go32_can_run):
168 (go32_create_inferior): Push the passed in target pointer instead
169 of referencing go32_ops.
170 (init_go32_ops): Delete function. Moved parts to _initialize_go32_nat.
171 (go32_target): New function, based on init_go32_ops, but inherit
173 (_initialize_go32_nat): Use go32_target. Move parts of
176 2014-03-06 Joel Brobecker <brobecker@adacore.com>
178 * sol-thread.c: #include "symtab.h", "minsym.h" and "objfiles.h".
179 (ps_pglobal_lookup): Use BMSYMBOL_VALUE_ADDRESS instead of
180 SYMBOL_VALUE_ADDRESS.
181 (info_cb): MSYMBOL_PRINT_NAME instead of SYMBOL_PRINT_NAME.
183 2014-03-06 Yao Qi <yao@codesourcery.com>
185 * breakpoint.c (get_tracepoint_by_number): Remove argument
186 optional_p. All callers updated. Adjust comments. Update
188 * breakpoint.h (get_tracepoint_by_number): Update declaration.
190 2014-03-06 Yao Qi <yao@codesourcery.com>
192 * reverse.c (goto_bookmark_command): Add local 'p'. Emit error
193 early if get_number returns zero. Use 'p' instead of 'args'.
195 2014-03-06 Yao Qi <yao@codesourcery.com>
197 * cli/cli-utils.c (get_number_trailer): Add '\n' at the end of
200 2014-03-06 Yao Qi <yao@codesourcery.com>
203 * tracepoint.c (check_trace_running): New function.
204 (trace_find_command): Move code to check_trace_running and
205 call check_trace_running.
206 (trace_find_pc_command): Likewise.
207 (trace_find_tracepoint_command): Likewise.
208 (trace_find_line_command): Likewise.
209 (trace_find_range_command): Likewise.
210 * tracepoint.h (check_trace_running): Likewise.
211 * mi/mi-main.c (mi_cmd_trace_find): Call check_trace_running.
213 2014-03-06 Yao Qi <yao@codesourcery.com>
215 * target.h (struct target_ops) <to_traceframe_info>: Use
216 TARGET_DEFAULT_NORETURN (tcomplain ()).
217 * target-delegates.c: Regenerated.
219 2014-03-05 Pedro Alves <palves@redhat.com>
222 * dcache.c (dcache_poke_byte): Constify ptr parameter. Return
223 void. Update comment.
224 (dcache_xfer_memory): Delete.
225 (dcache_read_memory_partial): New, based on the read bits of
227 (dcache_update): Add status parameter. Use ULONGEST for len, and
228 adjust. Discard cache lines if the reason for the update was
230 * dcache.h (dcache_xfer_memory): Delete declaration.
231 (dcache_read_memory_partial): New declaration.
232 (dcache_update): Update prototype.
233 * target.c (raw_memory_xfer_partial): Update the dcache here.
234 (memory_xfer_partial_1): Don't handle dcache writes here.
236 2014-03-05 Mike Frysinger <vapier@gentoo.org>
238 * remote-sim.c (gdbsim_load): Add const to prog.
240 2014-03-03 Tom Tromey <tromey@redhat.com>
242 * elfread.c (probe_key): Change to bfd_data.
243 (elf_get_probes, probe_key_free, _initialize_elfread): Probes are
244 now per-BFD, not per-objfile.
245 * stap-probe.c (stap_probe_destroy): Update comment.
246 (handle_stap_probe): Allocate on the per-BFD obstack.
248 2014-03-03 Tom Tromey <tromey@redhat.com>
250 * break-catch-throw.c (fetch_probe_arguments): Use bound probes.
251 * breakpoint.c (create_longjmp_master_breakpoint): Use
253 (add_location_to_breakpoint, bkpt_probe_insert_location)
254 (bkpt_probe_remove_location): Update.
255 * breakpoint.h (struct bp_location) <probe>: Now a bound_probe.
256 * elfread.c (elf_symfile_relocate_probe): Remove.
257 (elf_probe_fns): Update.
258 (insert_exception_resume_breakpoint): Change type of "probe"
259 parameter to bound_probe.
260 (check_exception_resume): Update.
261 * objfiles.c (objfile_relocate1): Don't relocate probes.
262 * probe.c (bound_probe_s): New typedef.
263 (parse_probes): Use get_probe_address. Set sal's objfile.
264 (find_probe_by_pc): Return a bound_probe.
265 (collect_probes): Return a VEC(bound_probe_s).
266 (compare_probes): Update.
267 (gen_ui_out_table_header_info): Change type of "probes"
269 (info_probes_for_ops): Update.
270 (get_probe_address): New function.
271 (probe_safe_evaluate_at_pc): Update.
272 * probe.h (struct probe_ops) <get_probe_address>: New field.
273 <set_semaphore, clear_semaphore>: Add objfile parameter.
274 (struct probe) <objfile>: Remove field.
276 <address>: Update comment.
277 (struct bound_probe): New.
278 (find_probe_by_pc): Return a bound_probe.
279 (get_probe_address): Declare.
280 * solib-svr4.c (struct probe_and_action) <address>: New field.
281 (hash_probe_and_action, equal_probe_and_action): Update.
282 (register_solib_event_probe): Add address parameter.
283 (solib_event_probe_at): Update.
284 (svr4_create_probe_breakpoints): Add objfile parameter. Use
286 * stap-probe.c (struct stap_probe) <sem_addr>: Update comment.
287 (stap_get_probe_address): New function.
288 (stap_can_evaluate_probe_arguments, compute_probe_arg)
289 (compile_probe_arg): Update.
290 (stap_set_semaphore, stap_clear_semaphore): Compute semaphore's
292 (handle_stap_probe): Don't relocate the probe.
293 (stap_relocate): Remove.
294 (stap_gen_info_probes_table_values): Update.
295 (stap_probe_ops): Remove stap_relocate.
296 * symfile-debug.c (debug_sym_relocate_probe): Remove.
297 (debug_sym_probe_fns): Update.
298 * symfile.h (struct sym_probe_fns) <sym_relocate_probe>: Remove.
299 * symtab.c (init_sal): Use memset.
300 * symtab.h (struct symtab_and_line) <objfile>: New field.
301 * tracepoint.c (start_tracing, stop_tracing): Update.
303 2014-03-03 Tom Tromey <tromey@redhat.com>
305 * probe.h (parse_probes, find_probe_by_pc)
306 (find_probes_in_objfile): Fix comments.
308 2014-03-02 Doug Evans <xdje42@gmail.com>
310 * infrun.c (handle_signal_stop): Replace test for
311 TARGET_WAITKIND_STOPPED with an assert.
313 2014-03-02 Doug Evans <xdje42@gmail.com>
315 * guile/scm-objfile.c (ofscm_mark_objfile_smob): Fix typo in comment.
317 2014-03-02 Doug Evans <xdje42@gmail.com>
319 * guile/lib/gdb/printing.scm (append-pretty-printer!): Fix thinko.
321 2014-03-01 Mark Kettenis <kettenis@gnu.org>
323 * obsd-nat.c: Include "gdb_wait.h" instead of <sys/wait.h>.
325 2014-03-01 Mark Kettenis <kettenis@gnu.org>
327 * i386obsd-nat.c: Include "obsd-nat.h".
328 (_initialize_i386obsd_nat): Call obsd_add_target instead of
330 * config/i386/obsd.mh (NATDEPFILES): Add obsd-nat.o.
332 2014-03-01 Mark Kettenis <kettenis@gnu.org>
334 * i386obsd-nat.c (i386obsd_supply_pcb): Cast 'sf' to 'gdb_byte *'.
336 2014-03-01 Mark Kettenis <kettenis@gnu.org>
338 * mips64obsd-nat.c: Include "obsd-nath".
339 (_initialize_mips64obsd_nat): Call obsd_add_target instead of
341 * config/mips/obsd64.mh (NATDEPFILES): Add obsd-nat.o.
343 2014-03-01 Mark Kettenis <kettenis@gnu.org>
345 * amd64obsd-nat.c: Include "obsd-nat,h.
346 (_initialize_amd64obsd_nat): Call obsd_add_target instead of
348 * config/i386/obsd64.mh (NATDEPFILES): Add obsd-nat.o.
350 2014-02-28 Siva Chandra Reddy <sivachandra@google.com>
352 * valops.c (find_oload_champ): Remove unneccesary argument METHOD.
353 (find_overload_match): Update call to find_oload_champ.
354 (find_oload_champ_namespace_loop): Likewise
356 2014-02-28 Mark Kettenis <kettenis@gnu.org>
358 * Makefile.in (ALLDEPFILES): Add sparc64obsd-nat.c.
360 * configure.host (sparc64-*-openbsd*): Set gdb_host to obsd64.
361 * config/sparc/obsd64.mh: New file.
362 * sparc64obsd-nat.c: New file.
364 * obsd-nat.h: New file.
365 * obsd-nat.c: New file.
366 * Makefile.in (HFILES_NO_SRCDIR): Add obsd-nat.h.
367 (ALLDEPFILES): Add obsd-nat.c.
369 2014-02-28 Tom Tromey <tromey@redhat.com>
371 * cli-out.c (cli_ui_out_impl): Now const. Remove comment.
372 * cli-out.h (cli_ui_out_impl): Now const.
373 * mi/mi-out.c (mi_ui_out_impl): Now const. Remove comment.
374 * ui-out.c (struct ui_out) <impl>: Now const.
375 (default_ui_out_impl): Now const.
376 (ui_out_new): Make 'impl' parameter const.
377 * ui-out.h (ui_out_new): Update.
379 2014-02-27 Mark Kettenis <kettenis@gnu.org>
381 * solib-svr4.c (svr4_read_so_list): Initialize first_l_name to 0.
383 2014-02-27 Mark Kettenis <kettenis@gnu.org>
385 * sparc-nat.c (sparc_xfer_wcookie): Always use process ID.
387 2014-02-27 Jan Kratochvil <jan.kratochvil@redhat.com>
389 Additional PR 8882 fix.
390 * solib-svr4.c (svr4_read_so_list): Change first to first_l_name.
392 2014-02-27 Pedro Alves <palves@redhat.com>
394 * nat/linux-waitpid.c (my_waitpid): Only block signals if WNOHANG
397 2014-02-27 Pedro Alves <palves@redhat.com>
400 * linux-nat.c (status_to_str): Moved to nat/linux-waitpid.c.
401 * nat/linux-waitpid.c: Include string.h.
402 (status_to_str): Moved here and made extern.
403 * nat/linux-waitpid.h (status_to_str): New declaration.
405 2014-02-27 Hui Zhu <hui@codesourcery.com>
408 * infrun.c (ptid_match): Move ...
409 * common/ptid.c (ptid_match): ... here.
410 * inferior.h (ptid_match): Move ...
411 * common/ptid.h (ptid_match): ... here.
413 2014-02-27 Mark Kettenis <kettenis@gnu.org>
415 * mips64obsd-tdep.c (mips64obsd_init_abi): Call obsd_init_abi.
416 * configure.tgt (mips64*-*-openbsd*): Add obsd-tdep.c to
419 2014-02-27 Mark Kettenis <kettenis@gnu.org>
421 * obsd-tdep.c (obsd_auxv_parse): New function.
422 (obsd_init_abi): Set auxv_parse.
424 * gdbarch.sh (auxv_parse): New.
425 * gdbarch.h: Regenerated.
426 * gdbarch.c: Regenerated.
427 * auxv.c (target_auxv_parse): Call gdbarch_parse_auxv if provided.
429 2014-02-26 Ludovic Courtès <ludo@gnu.org>
431 * guile/scm-value.c (gdbscm_history_append_x): New function.
432 (value_functions): Add it.
434 2014-02-27 Joel Brobecker <brobecker@adacore.com>
436 * dwarf2read.c (attr_value_as_address): New function.
437 (dwarf2_find_base_address, read_call_site_scope): Use
438 attr_value_as_address in place of DW_ADDR.
439 (dwarf2_get_pc_bounds): Use attr_value_as_address to get
440 the low and high addresses. Slight rework of the handling
441 of the high pc being a constant form, and limit it to
442 DWARF verson 4 or higher.
443 (dwarf2_record_block_ranges): Likewise.
444 (read_partial_die): Likewise.
445 (new_symbol_full): Use attr_value_as_address in place of DW_ADDR.
447 2014-02-26 Tom Tromey <tromey@redhat.com>
449 * exec.c (exec_file_attach): Hold a reference to exec_bfd.
451 2014-02-26 Tom Tromey <tromey@redhat.com>
453 * elfread.c (elf_read_minimal_symbols): Return early if
454 minimal symbols have already been read. Add "ei" parameter.
455 (elf_symfile_read): Call elf_read_minimal_symbols earlier.
456 * minsyms.c (prim_record_minimal_symbol_full): Update.
457 * objfiles.h (struct objstats) <n_minsyms>: Move...
458 (struct objfile_per_bfd_storage) <n_minsyms>: ... here.
459 * symmisc.c (print_objfile_statistics): Update.
461 2014-02-26 Tom Tromey <tromey@redhat.com>
463 * elfread.c (elf_read_minimal_symbols): New function, from
465 (elf_symfile_read): Call it.
467 2014-02-26 Tom Tromey <tromey@redhat.com>
469 * minsyms.c (lookup_minimal_symbol, iterate_over_minimal_symbols)
470 (lookup_minimal_symbol_text, lookup_minimal_symbol_by_pc_name)
471 (lookup_minimal_symbol_solib_trampoline)
472 (lookup_minimal_symbol_by_pc_section_1)
473 (lookup_minimal_symbol_and_objfile): Update.
474 (prim_record_minimal_symbol_full): Use the per-BFD obstack.
475 Don't allocate a minimal symbol if minsyms have already been read.
476 (build_minimal_symbol_hash_tables): Update.
477 (install_minimal_symbols): Do nothing if minsyms already read.
478 Use the per-BFD obstack.
479 (terminate_minimal_symbol_table): Use the per-BFD obstack.
480 * objfiles.c (allocate_objfile): Call
481 terminate_minimal_symbol_table later.
482 (have_minimal_symbols): Update.
483 * objfiles.h (struct objfile_per_bfd_storage) <msymbols,
484 minimal_symbol_count, msymbol_hash, msymbol_demangled_hash>:
485 Move from struct objfile.
486 <minsyms_read>: New field.
487 (struct objfile) <msymbols, minimal_symbol_count,
488 msymbol_hash, msymbol_demangled_hash>: Move.
489 (ALL_OBJFILE_MSYMBOLS): Update.
490 * symfile.c (read_symbols): Set minsyms_read.
491 (reread_symbols): Update.
492 * symmisc.c (dump_objfile, dump_msymbols): Update.
494 2014-02-26 Tom Tromey <tromey@redhat.com>
496 * minsyms.c (msymbols_sort): Remove.
497 * minsyms.h (msymbols_sort): Remove.
498 * objfiles.c (objfile_relocate1): Don't relocate minsyms.
499 * symtab.h (MSYMBOL_VALUE_ADDRESS): Use objfile offsets.
500 * elfread.c (elf_symtab_read): Don't add section offsets.
501 * xcoffread.c (record_minimal_symbol): Don't add section offset
502 to minimal symbol address.
503 * somread.c (text_offset, data_offset): Remove.
504 (som_symtab_read): Don't add section offsets to minimal symbol
506 * coff-pe-read.c (add_pe_forwarded_sym, read_pe_exported_syms):
507 Don't add section offsets to minimal symbols.
508 * coffread.c (coff_symtab_read): Don't add section offsets
509 to minimal symbol addresses.
510 * machoread.c (macho_symtab_add_minsym): Don't add section offset
511 to minimal symbol addresses.
512 * mipsread.c (read_alphacoff_dynamic_symtab): Don't add
513 section offset to minimal symbol addresses.
514 * mdebugread.c (parse_partial_symbols): Don't add section
515 offset to minimal symbol addresses.
516 * dbxread.c (read_dbx_dynamic_symtab): Don't add section
517 offset to minimal symbol addresses.
519 2014-02-26 Tom Tromey <tromey@redhat.com>
521 * ada-lang.c (ada_main_name): Update.
522 (ada_add_standard_exceptions): Update.
523 * ada-tasks.c (ada_tasks_inferior_data_sniffer): Update.
524 * aix-thread.c (pdc_symbol_addrs, pd_enable): Update.
525 * arm-tdep.c (skip_prologue_function, arm_skip_stub): Update.
526 * auxv.c (ld_so_xfer_auxv): Update.
527 * avr-tdep.c (avr_scan_prologue): Update.
528 * ax-gdb.c (gen_var_ref): Update.
529 * blockframe.c (get_pc_function_start)
530 (find_pc_partial_function_gnu_ifunc): Update.
531 * breakpoint.c (create_overlay_event_breakpoint)
532 (create_longjmp_master_breakpoint)
533 (create_std_terminate_master_breakpoint)
534 (create_exception_master_breakpoint): Update.
535 * bsd-uthread.c (bsd_uthread_lookup_address): Update.
536 * c-valprint.c (c_val_print): Update.
537 * coff-pe-read.c (add_pe_forwarded_sym): Update.
538 * common/agent.c (agent_look_up_symbols): Update.
539 * dbxread.c (find_stab_function_addr, end_psymtab): Update.
540 * dwarf2loc.c (call_site_to_target_addr): Update.
541 * dwarf2read.c (dw2_find_pc_sect_symtab): Update.
542 * elfread.c (elf_gnu_ifunc_record_cache)
543 (elf_gnu_ifunc_resolve_by_got): Update.
544 * findvar.c (default_read_var_value): Update.
545 * frame.c (inside_main_func): Update.
546 * frv-tdep.c (frv_frame_this_id): Update.
547 * glibc-tdep.c (glibc_skip_solib_resolver): Update.
548 * gnu-v3-abi.c (gnuv3_get_typeid, gnuv3_skip_trampoline):
550 * hppa-hpux-tdep.c (hppa64_hpux_search_dummy_call_sequence)
551 (hppa_hpux_find_dummy_bpaddr): Update.
552 * hppa-tdep.c (hppa_symbol_address): Update.
553 * infcmd.c (until_next_command): Update.
554 * jit.c (jit_read_descriptor, jit_breakpoint_re_set_internal):
556 * linespec.c (minsym_found, add_minsym): Update.
557 * linux-nat.c (get_signo): Update.
558 * linux-thread-db.c (inferior_has_bug): Update.
559 * m32c-tdep.c (m32c_return_value)
560 (m32c_m16c_address_to_pointer): Update.
561 * m32r-tdep.c (m32r_frame_this_id): Update.
562 * m68hc11-tdep.c (m68hc11_get_register_info): Update.
563 * machoread.c (macho_resolve_oso_sym_with_minsym): Update.
564 * maint.c (maintenance_translate_address): Update.
565 * minsyms.c (lookup_minimal_symbol_by_pc_name): Update.
566 (frob_address): New function.
567 (lookup_minimal_symbol_by_pc_section_1): Use raw addresses,
568 frob_address. Rename parameter to "pc_in".
569 (compare_minimal_symbols, compact_minimal_symbols): Use raw
571 (find_solib_trampoline_target, minimal_symbol_upper_bound):
573 * mips-linux-tdep.c (mips_linux_skip_resolver): Update.
574 * mips-tdep.c (mips_skip_pic_trampoline_code): Update.
575 * objc-lang.c (find_objc_msgsend): Update.
576 * objfiles.c (objfile_relocate1): Update.
577 * obsd-tdep.c (obsd_skip_solib_resolver): Update.
578 * p-valprint.c (pascal_val_print): Update.
579 * parse.c (write_exp_msymbol): Update.
580 * ppc-linux-tdep.c (ppc_linux_spe_context_lookup)
581 (ppc_elfv2_skip_entrypoint): Update.
582 * ppc-sysv-tdep.c (convert_code_addr_to_desc_addr): Update.
583 * printcmd.c (build_address_symbolic, msym_info)
584 (address_info): Update.
585 * proc-service.c (ps_pglobal_lookup): Update.
586 * psymtab.c (find_pc_sect_psymtab_closer)
587 (find_pc_sect_psymtab, find_pc_sect_symtab_from_partial):
588 Change msymbol parameter to bound_minimal_symbol.
589 * ravenscar-thread.c (get_running_thread_id): Update.
590 * remote.c (remote_check_symbols): Update.
591 * sh64-tdep.c (sh64_elf_make_msymbol_special): Use raw
593 * sol2-tdep.c (sol2_skip_solib_resolver): Update.
594 * solib-dsbt.c (lm_base): Update.
595 * solib-frv.c (lm_base, main_got): Update.
596 * solib-irix.c (locate_base): Update.
597 * solib-som.c (som_solib_create_inferior_hook)
598 (link_map_start): Update.
599 * solib-spu.c (spu_enable_break, ocl_enable_break): Update.
600 * solib-svr4.c (elf_locate_base, enable_break): Update.
601 * spu-tdep.c (spu_get_overlay_table, spu_catch_start)
602 (flush_ea_cache): Update.
603 * stabsread.c (define_symbol, scan_file_globals): Update.
604 * stack.c (find_frame_funname): Update.
605 * symfile-debug.c (debug_qf_expand_symtabs_matching)
606 (debug_qf_find_pc_sect_symtab): Update.
607 * symfile.c (simple_read_overlay_table)
608 (simple_overlay_update): Update.
609 * symfile.h (struct quick_symbol_functions)
610 <find_pc_sect_symtab>: Change type of msymbol to
611 bound_minimal_symbol.
612 * symmisc.c (dump_msymbols): Update.
613 * symtab.c (find_pc_sect_symtab_via_partial)
614 (find_pc_sect_psymtab, find_pc_sect_line, skip_prologue_sal)
615 (search_symbols, print_msymbol_info): Update.
616 * symtab.h (MSYMBOL_VALUE_RAW_ADDRESS): New macro.
617 (MSYMBOL_VALUE_ADDRESS): Redefine.
618 (BMSYMBOL_VALUE_ADDRESS): New macro.
619 * tracepoint.c (scope_info): Update.
620 * tui/tui-disasm.c (tui_find_disassembly_address)
621 (tui_get_begin_asm_address): Update.
622 * valops.c (find_function_in_inferior): Update.
623 * value.c (value_static_field, value_fn_field): Update.
625 2014-02-26 Tom Tromey <tromey@redhat.com>
627 * ada-lang.c (ada_update_initial_language): Update.
628 (ada_main_name, ada_has_this_exception_support): Update.
629 * ada-tasks.c (ada_tasks_inferior_data_sniffer): Update.
630 * aix-thread.c (pdc_symbol_addrs, pd_enable): Update.
631 * arm-tdep.c (arm_skip_stub): Update.
632 * auxv.c (ld_so_xfer_auxv): Update.
633 * avr-tdep.c (avr_scan_prologue): Update.
634 * ax-gdb.c (gen_var_ref): Update.
635 * breakpoint.c (struct breakpoint_objfile_data)
636 <overlay_msym, longjmp_msym, terminate_msym, exception_msym>: Change
637 type to bound_minimal_symbol.
638 (create_overlay_event_breakpoint)
639 (create_longjmp_master_breakpoint)
640 (create_std_terminate_master_breakpoint)
641 (create_exception_master_breakpoint): Update.
642 * bsd-uthread.c (bsd_uthread_lookup_address): Update.
643 * c-exp.y (classify_name): Update.
644 * coffread.c (coff_symfile_read): Update.
645 * common/agent.c (agent_look_up_symbols): Update.
646 * d-lang.c (d_main_name): Update.
647 * dbxread.c (find_stab_function_addr, end_psymtab): Update.
648 * dec-thread.c (enable_dec_thread): Update.
649 * dwarf2loc.c (call_site_to_target_addr): Update.
650 * elfread.c (elf_gnu_ifunc_resolve_by_got): Update.
651 * eval.c (evaluate_subexp_standard): Update.
652 * findvar.c (struct minsym_lookup_data) <result>: Change type
653 to bound_minimal_symbol.
655 (minsym_lookup_iterator_cb, default_read_var_value): Update.
656 * frame.c (inside_main_func): Update.
657 * frv-tdep.c (frv_frame_this_id): Update.
658 * gcore.c (call_target_sbrk): Update.
659 * glibc-tdep.c (glibc_skip_solib_resolver): Update.
660 * gnu-v3-abi.c (gnuv3_get_typeid, gnuv3_skip_trampoline):
662 * go-lang.c (go_main_name): Update.
663 * hppa-hpux-tdep.c (hppa_hpux_skip_trampoline_code)
664 (hppa_hpux_find_import_stub_for_addr): Update.
665 * hppa-tdep.c (hppa_extract_17, hppa_lookup_stub_minimal_symbol):
666 Update. Change return type.
667 * hppa-tdep.h (hppa_lookup_stub_minimal_symbol): Change return
669 * jit.c (jit_breakpoint_re_set_internal): Update.
670 * linux-fork.c (inferior_call_waitpid, checkpoint_command):
672 * linux-nat.c (get_signo): Update.
673 * linux-thread-db.c (inferior_has_bug): Update
674 * m32c-tdep.c (m32c_return_value)
675 (m32c_m16c_address_to_pointer): Update.
676 * m32r-tdep.c (m32r_frame_this_id): Update.
677 * m68hc11-tdep.c (m68hc11_get_register_info): Update.
678 * machoread.c (macho_resolve_oso_sym_with_minsym): Update.
679 * minsyms.c (lookup_minimal_symbol_internal): Rename to
680 lookup_minimal_symbol. Change return type.
681 (lookup_minimal_symbol): Remove.
682 (lookup_bound_minimal_symbol): Update.
683 (lookup_minimal_symbol_text): Change return type.
684 (lookup_minimal_symbol_solib_trampoline): Change return type.
685 * minsyms.h (lookup_minimal_symbol, lookup_minimal_symbol_text)
686 (lookup_minimal_symbol_solib_trampoline): Change return type.
687 * mips-linux-tdep.c (mips_linux_skip_resolver): Update.
688 * objc-lang.c (lookup_objc_class, lookup_child_selector)
689 (value_nsstring, find_imps): Update.
690 * obsd-tdep.c (obsd_skip_solib_resolver): Update.
691 * p-lang.c (pascal_main_name): Update.
692 * ppc-linux-tdep.c (ppc_linux_spe_context_lookup): Update.
693 * ppc-sysv-tdep.c (convert_code_addr_to_desc_addr): Update.
694 * proc-service.c (ps_pglobal_lookup): Update.
695 * ravenscar-thread.c (get_running_thread_msymbol): Change
697 (has_ravenscar_runtime, get_running_thread_id): Update.
698 * remote.c (remote_check_symbols): Update.
699 * sol-thread.c (ps_pglobal_lookup): Update.
700 * sol2-tdep.c (sol2_skip_solib_resolver): Update.
701 * solib-dsbt.c (lm_base): Update.
702 * solib-frv.c (lm_base, frv_relocate_section_addresses):
704 * solib-irix.c (locate_base): Update.
705 * solib-som.c (som_solib_create_inferior_hook)
706 (som_solib_desire_dynamic_linker_symbols, link_map_start):
708 * solib-spu.c (spu_enable_break): Update.
709 * solib-svr4.c (elf_locate_base, enable_break): Update.
710 * spu-tdep.c (spu_get_overlay_table, spu_catch_start)
711 (flush_ea_cache): Update.
712 * stabsread.c (define_symbol): Update.
713 * symfile.c (simple_read_overlay_table): Update.
714 * symtab.c (find_pc_sect_line): Update.
715 * tracepoint.c (scope_info): Update.
716 * tui-disasm.c (tui_get_begin_asm_address): Update.
717 * value.c (value_static_field): Update.
719 2014-02-26 Tom Tromey <tromey@redhat.com>
721 * minsyms.c (prim_record_minimal_symbol_full): Use
722 SET_MSYMBOL_VALUE_ADDRESS.
723 * objfiles.c (objfile_relocate1): Use SET_MSYMBOL_VALUE_ADDRESS.
724 * sh64-tdep.c (sh64_elf_make_msymbol_special): Use
725 SET_MSYMBOL_VALUE_ADDRESS.
726 * symtab.h (MSYMBOL_VALUE_ADDRESS): Expand to an rvalue.
727 (SET_MSYMBOL_VALUE_ADDRESS): New macro.
729 2014-02-26 Tom Tromey <tromey@redhat.com>
731 * symtab.h (struct minimal_symbol) <mginfo>: Rename from ginfo.
732 (MSYMBOL_VALUE, MSYMBOL_VALUE_ADDRESS, MSYMBOL_VALUE_BYTES)
733 (MSYMBOL_BLOCK_VALUE, MSYMBOL_VALUE_CHAIN, MSYMBOL_LANGUAGE)
734 (MSYMBOL_SECTION, MSYMBOL_OBJ_SECTION, MSYMBOL_NATURAL_NAME)
735 (MSYMBOL_LINKAGE_NAME, MSYMBOL_PRINT_NAME, MSYMBOL_DEMANGLED_NAME)
736 (MSYMBOL_SET_LANGUAGE, MSYMBOL_SEARCH_NAME)
737 (MSYMBOL_MATCHES_SEARCH_NAME, MSYMBOL_SET_NAMES): New macros.
738 * ada-lang.c (ada_main_name): Update.
739 (ada_lookup_simple_minsym): Update.
740 (ada_make_symbol_completion_list): Update.
741 (ada_add_standard_exceptions): Update.
742 * ada-tasks.c (read_atcb, ada_tasks_inferior_data_sniffer): Update.
743 * aix-thread.c (pdc_symbol_addrs, pd_enable): Update.
744 * amd64-windows-tdep.c (amd64_skip_main_prologue): Update.
745 * arm-tdep.c (skip_prologue_function): Update.
746 (arm_skip_stack_protector, arm_skip_stub): Update.
747 * arm-wince-tdep.c (arm_pe_skip_trampoline_code): Update.
748 (arm_wince_skip_main_prologue): Update.
749 * auxv.c (ld_so_xfer_auxv): Update.
750 * avr-tdep.c (avr_scan_prologue): Update.
751 * ax-gdb.c (gen_var_ref): Update.
752 * block.c (call_site_for_pc): Update.
753 * blockframe.c (get_pc_function_start): Update.
754 (find_pc_partial_function_gnu_ifunc): Update.
755 * breakpoint.c (create_overlay_event_breakpoint): Update.
756 (create_longjmp_master_breakpoint): Update.
757 (create_std_terminate_master_breakpoint): Update.
758 (create_exception_master_breakpoint): Update.
759 (resolve_sal_pc): Update.
760 * bsd-uthread.c (bsd_uthread_lookup_address): Update.
761 * btrace.c (ftrace_print_function_name, ftrace_function_switched):
763 * c-valprint.c (c_val_print): Update.
764 * coff-pe-read.c (add_pe_forwarded_sym): Update.
765 * coffread.c (coff_symfile_read): Update.
766 * common/agent.c (agent_look_up_symbols): Update.
767 * dbxread.c (find_stab_function_addr): Update.
768 (end_psymtab): Update.
769 * dwarf2loc.c (call_site_to_target_addr): Update.
770 (func_verify_no_selftailcall): Update.
771 (tailcall_dump): Update.
772 (call_site_find_chain_1): Update.
773 (dwarf_expr_reg_to_entry_parameter): Update.
774 * elfread.c (elf_gnu_ifunc_record_cache): Update.
775 (elf_gnu_ifunc_resolve_by_got): Update.
776 * f-valprint.c (info_common_command): Update.
777 * findvar.c (read_var_value): Update.
778 * frame.c (get_prev_frame_1): Update.
779 (inside_main_func): Update.
780 * frv-tdep.c (frv_skip_main_prologue): Update.
781 (frv_frame_this_id): Update.
782 * glibc-tdep.c (glibc_skip_solib_resolver): Update.
783 * gnu-v2-abi.c (gnuv2_value_rtti_type): Update.
784 * gnu-v3-abi.c (gnuv3_rtti_type): Update.
785 (gnuv3_skip_trampoline): Update.
786 * hppa-hpux-tdep.c (hppa32_hpux_in_solib_call_trampoline): Update.
787 (hppa64_hpux_in_solib_call_trampoline): Update.
788 (hppa_hpux_skip_trampoline_code): Update.
789 (hppa64_hpux_search_dummy_call_sequence): Update.
790 (hppa_hpux_find_import_stub_for_addr): Update.
791 (hppa_hpux_find_dummy_bpaddr): Update.
792 * hppa-tdep.c (hppa_symbol_address)
793 (hppa_lookup_stub_minimal_symbol): Update.
794 * i386-tdep.c (i386_skip_main_prologue): Update.
795 (i386_pe_skip_trampoline_code): Update.
796 * ia64-tdep.c (ia64_convert_from_func_ptr_addr): Update.
797 * infcall.c (get_function_name): Update.
798 * infcmd.c (until_next_command): Update.
799 * jit.c (jit_breakpoint_re_set_internal): Update.
800 (jit_inferior_init): Update.
801 * linespec.c (minsym_found): Update.
802 (add_minsym): Update.
803 * linux-fork.c (info_checkpoints_command): Update.
804 * linux-nat.c (get_signo): Update.
805 * linux-thread-db.c (inferior_has_bug): Update.
806 * m32c-tdep.c (m32c_return_value): Update.
807 (m32c_m16c_address_to_pointer): Update.
808 (m32c_m16c_pointer_to_address): Update.
809 * m32r-tdep.c (m32r_frame_this_id): Update.
810 * m68hc11-tdep.c (m68hc11_get_register_info): Update.
811 * machoread.c (macho_resolve_oso_sym_with_minsym): Update.
812 * maint.c (maintenance_translate_address): Update.
813 * minsyms.c (add_minsym_to_hash_table): Update.
814 (add_minsym_to_demangled_hash_table): Update.
815 (msymbol_objfile): Update.
816 (lookup_minimal_symbol): Update.
817 (iterate_over_minimal_symbols): Update.
818 (lookup_minimal_symbol_text): Update.
819 (lookup_minimal_symbol_by_pc_name): Update.
820 (lookup_minimal_symbol_solib_trampoline): Update.
821 (lookup_minimal_symbol_by_pc_section_1): Update.
822 (lookup_minimal_symbol_and_objfile): Update.
823 (prim_record_minimal_symbol_full): Update.
824 (compare_minimal_symbols): Update.
825 (compact_minimal_symbols): Update.
826 (build_minimal_symbol_hash_tables): Update.
827 (install_minimal_symbols): Update.
828 (terminate_minimal_symbol_table): Update.
829 (find_solib_trampoline_target): Update.
830 (minimal_symbol_upper_bound): Update.
831 * mips-linux-tdep.c (mips_linux_skip_resolver): Update.
832 * mips-tdep.c (mips_stub_frame_sniffer): Update.
833 (mips_skip_pic_trampoline_code): Update.
834 * msp430-tdep.c (msp430_skip_trampoline_code): Update.
835 * objc-lang.c (selectors_info): Update.
836 (classes_info): Update.
837 (find_methods): Update.
839 (find_objc_msgsend): Update.
840 * objfiles.c (objfile_relocate1): Update.
841 * objfiles.h (ALL_OBJFILE_MSYMBOLS): Update.
842 * obsd-tdep.c (obsd_skip_solib_resolver): Update.
843 * p-valprint.c (pascal_val_print): Update.
844 * parse.c (write_exp_msymbol): Update.
845 * ppc-linux-tdep.c (powerpc_linux_in_dynsym_resolve_code)
846 (ppc_linux_spe_context_lookup, ppc_elfv2_skip_entrypoint): Update.
847 * ppc-sysv-tdep.c (convert_code_addr_to_desc_addr): Update.
848 * printcmd.c (build_address_symbolic): Update.
850 (address_info): Update.
851 * proc-service.c (ps_pglobal_lookup): Update.
852 * psymtab.c (find_pc_sect_psymtab_closer): Update.
853 (find_pc_sect_psymtab): Update.
854 * python/py-framefilter.c (py_print_frame): Update.
855 * ravenscar-thread.c (get_running_thread_id): Update.
856 * record-btrace.c (btrace_call_history, btrace_get_bfun_name):
858 * remote.c (remote_check_symbols): Update.
859 * rs6000-tdep.c (rs6000_skip_main_prologue): Update.
860 (rs6000_skip_trampoline_code): Update.
861 * sh64-tdep.c (sh64_elf_make_msymbol_special): Update.
862 * sol2-tdep.c (sol2_skip_solib_resolver): Update.
863 * solib-dsbt.c (lm_base): Update.
864 * solib-frv.c (lm_base): Update.
866 * solib-irix.c (locate_base): Update.
867 * solib-som.c (som_solib_create_inferior_hook): Update.
868 (som_solib_desire_dynamic_linker_symbols): Update.
869 (link_map_start): Update.
870 * solib-spu.c (spu_enable_break): Update.
871 (ocl_enable_break): Update.
872 * solib-svr4.c (elf_locate_base): Update.
873 (enable_break): Update.
874 * spu-tdep.c (spu_get_overlay_table): Update.
875 (spu_catch_start): Update.
876 (flush_ea_cache): Update.
877 * stabsread.c (define_symbol): Update.
878 (scan_file_globals): Update.
879 * stack.c (find_frame_funname): Update.
880 (frame_info): Update.
881 * symfile.c (simple_read_overlay_table): Update.
882 (simple_overlay_update): Update.
883 * symmisc.c (dump_msymbols): Update.
884 * symtab.c (fixup_section): Update.
885 (find_pc_sect_line): Update.
886 (skip_prologue_sal): Update.
887 (search_symbols): Update.
888 (print_msymbol_info): Update.
889 (rbreak_command): Update.
890 (MCOMPLETION_LIST_ADD_SYMBOL): New macro.
891 (completion_list_objc_symbol): Update.
892 (default_make_symbol_completion_list_break_on): Update.
893 * tracepoint.c (scope_info): Update.
894 * tui/tui-disasm.c (tui_find_disassembly_address): Update.
895 (tui_get_begin_asm_address): Update.
896 * valops.c (find_function_in_inferior): Update.
897 * value.c (value_static_field): Update.
898 (value_fn_field): Update.
900 2014-02-26 Tom Tromey <tromey@redhat.com>
902 * blockframe.c (find_pc_partial_function_gnu_ifunc): Use
903 bound minimal symbols. Move code that knows about minsym
905 * minsyms.c (minimal_symbol_upper_bound): ... here. New
907 * minsyms.h (minimal_symbol_upper_bound): Declare.
908 * objc-lang.c (find_objc_msgsend): Use bound minimal symbols,
909 minimal_symbol_upper_bound.
911 2014-02-27 Joel Brobecker <brobecker@adacore.com>
913 * python/lib/gdb/printing.py (RegexpCollectionPrettyPrinter):
914 Use the type's name if its basic type does not have a tag.
916 2014-02-27 Joel Brobecker <brobecker@adacore.com>
918 * dwarf2read.c (read_subrange_type): Add comment.
920 2014-02-27 Joel Brobecker <brobecker@adacore.com>
922 * dwarf2read.c (update_enumeration_type_from_children): New
923 function, mostly extracted from process_structure_scope.
924 (read_enumeration_type): Call update_enumeration_type_from_children.
925 (process_enumeration_scope): Do not set THIS_TYPE's flag_unsigned
926 and flag_flag_enum fields.
928 2014-02-26 Pedro Alves <palves@redhat.com>
930 * bsd-uthread.c (bsd_uthread_xfer_partial): Delete function.
931 (bsd_uthread_target): Don't install bsd_uthread_xfer_partial as
932 to_xfer_partial method.
934 2014-02-26 Pedro Alves <palves@redhat.com>
936 * target.c (complete_target_initialization): Don't install
937 default_xfer_partial as to_xfer_partial hook.
939 (update_current_target): Don't INHERIT nor de_fault
940 deprecated_xfer_memory. Delete de_fault macro.
941 (default_xfer_partial, deprecated_debug_xfer_memory): Delete.
942 (setup_target_debug): Don't install a deprecated_xfer_memory hook.
943 * target.h (struct target_ops) <deprecated_xfer_memory>: Delete
946 2014-02-26 Pedro Alves <palves@redhat.com>
948 * go32-nat.c (my_write_child): New function.
949 (go32_xfer_memory): Rewrite as to_xfer_partial helper.
950 (go32_xfer_partial): New function.
951 (init_go32_ops): Don't install a deprecated_xfer_memory hook.
952 Instead install a to_xfer_partial hook.
954 2014-02-26 Pedro Alves <palves@redhat.com>
956 * nto-procfs.c (procfs_xfer_memory): Adjust interface as a
957 to_xfer_partial helper. Rewrite.
958 (procfs_xfer_partial): New function.
959 (init_procfs_ops): Don't install a deprecated_xfer_memory hook.
960 Install a to_xfer_partial hook.
962 2014-02-26 Pedro Alves <palves@redhat.com>
964 * remote-m32r-sdi.c (send_data): Constify 'buf' parameter.
965 (m32r_xfer_memory): Adjust as a to_xfer_partial helper.
966 (m32r_xfer_partial): New function.
967 (init_m32r_ops): Don't install a deprecated_xfer_memory hook.
968 Install a to_xfer_partial hook.
970 2014-02-26 Pedro Alves <palves@redhat.com>
972 * remote-mips.c (mips_xfer_memory): Adjust as to_xfer_partial
974 (mips_xfer_partial): New function.
975 (_initialize_remote_mips): Don't install a deprecated_xfer_memory
976 hook. Install a to_xfer_partial hook.
978 2014-02-26 Joel Brobecker <brobecker@adacore.com>
980 * gdbtypes.h (create_array_type_with_stride): Add declaration.
981 * gdbtypes.c (create_array_type_with_stride): New function,
982 renaming create_array_type, but with an added parameter
984 (create_array_type): Re-implement using
985 create_array_type_with_stride.
986 * dwarf2read.c (read_array_type): Add support for DW_AT_byte_stride
987 and DW_AT_bit_stride attributes.
989 2014-02-26 Pedro Alves <palves@redhat.com>
991 * breakpoint.c (bpstat_check_breakpoint_conditions): Handle
992 task-specific breakpoints.
994 2014-02-25 Pedro Alves <palves@redhat.com>
996 * ia64-linux-nat.c (ia64_linux_xfer_partial): Reimplement
997 handling of object == TARGET_OBJECT_UNWIND_TABLE.
999 2014-02-25 Stan Shebs <stan@codesourcery.com>
1001 * defs.h: Annotate comments for Doxygen.
1003 2014-02-25 Tom Tromey <tromey@redhat.com>
1005 * target.h (target_ignore): Don't declare.
1006 * target.c (target_ignore): Remove.
1008 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
1011 * auto-load.c (auto_load_objfile_script_1): Change filename to
1014 2014-02-25 Joel Brobecker <brobecker@adacore.com>
1016 * ia64-linux-nat.c (ia64_linux_xfer_partial): Add function
1017 documentation. Adjust prototype to match the target_ops
1018 to_xfer_partial method. Adjust implementation accordingly.
1020 2014-02-25 Hui Zhu <hui@codesourcery.com>
1022 * target.h (target_ops): Fix TARGET_DEFAULT_RETURN of
1025 2014-02-25 Kevin Buettner <kevinb@redhat.com>
1027 * rl78-tdep.c (RL78_BANK0_RP0_PTR_REGNUM, RL78_BANK0_RP1_PTR_REGNUM)
1028 (RL78_BANK0_RP2_PTR_REGNUM, RL78_BANK0_RP3_PTR_REGNUM)
1029 (RL78_BANK1_RP0_PTR_REGNUM, RL78_BANK1_RP1_PTR_REGNUM)
1030 (RL78_BANK1_RP2_PTR_REGNUM, RL78_BANK1_RP3_PTR_REGNUM)
1031 (RL78_BANK2_RP0_PTR_REGNUM, RL78_BANK2_RP1_PTR_REGNUM)
1032 (RL78_BANK2_RP2_PTR_REGNUM, RL78_BANK2_RP3_PTR_REGNUM)
1033 (RL78_BANK3_RP0_PTR_REGNUM, RL78_BANK3_RP1_PTR_REGNUM)
1034 (RL78_BANK3_RP2_PTR_REGNUM, RL78_BANK3_RP3_PTR_REGNUM):
1036 (rl78_register_type): Use a data pointer type for SP and
1037 new pseudo registers mentioned above. Use a 16 bit integer
1038 type for all other register pairs.
1039 (rl78_register_name, rl78_g10_register_name): Update for
1040 new pseudo registers.
1041 (rl78_pseudo_register_read): Likewise.
1042 (rl78_pseudo_register_write): Likewise.
1043 (rl78_dwarf_reg_to_regnum): Return register numbers representing
1044 to the newly added pseudo registers.
1046 2014-02-24 Doug Evans <dje@google.com>
1048 * value.c (record_latest_value): Fix comment.
1049 * printcmd.c (print_command_1): Remove code to handle -1 return from
1050 record_latest_value.
1052 2014-02-24 Pedro Alves <palves@redhat.com>
1054 * procfs.c (procfs_target): Don't install procfs_xfer_memory as
1055 deprecated_xfer_memory hook.
1056 (procfs_xfer_partial): Call procfs_xfer_memory instead
1057 of the deprecated_xfer_memory target hook.
1058 (procfs_xfer_memory): Adjust interface as a to_xfer_partial
1061 2014-02-24 Yuanhui Zhang <asmwarrior@gmail.com>
1063 * windows-nat.c (windows_xfer_shared_libraries): Return
1064 TARGET_XFER_EOF if LEN is zero to fix an assert failure when
1065 requested object is TARGET_OBJECT_LIBRARIES.
1067 2014-02-24 Yao Qi <yao@codesourcery.com>
1069 * target.h (enum target_xfer_status)
1070 <TARGET_XFER_E_UNAVAILABLE>: Rename it to ...
1071 <TARGET_XFER_UNAVAILABLE>: ... it with setting value 2
1073 * corefile.c (memory_error_message): User updated.
1074 * exec.c (section_table_read_available_memory): Likewise.
1075 * record-btrace.c (record_btrace_xfer_partial): Likewise.
1076 * target.c (target_xfer_status_to_string): Likewise.
1077 (raw_memory_xfer_partial): Likewise.
1078 (memory_xfer_partial_1, target_xfer_partial): Likewise.
1079 * valops.c (read_value_memory): Likewise.
1080 * exec.h: Update comments.
1082 2014-02-24 Yao Qi <yao@codesourcery.com>
1084 * target.c (target_xfer_status_to_string): Rename argument err
1086 * target.h (target_xfer_status_to_string): Update declaration.
1087 Replace target_xfer_error_to_string with
1088 target_xfer_status_to_string in comment.
1090 2014-02-24 Yao Qi <yao@codesourcery.com>
1092 * mips-linux-nat.c (super_close): Update its type.
1093 (mips_linux_close): Pass 'self' to super_close.
1095 2014-02-24 Yao Qi <yao@codesourcery.com>
1097 * target.h (TARGET_XFER_STATUS_ERROR_P): Remove.
1098 * corefile.c (read_memory): Adjusted.
1099 * target.c (target_write_with_progress): Adjusted.
1101 2014-02-23 Yao Qi <yao@codesourcery.com>
1105 2013-10-25 Yao Qi <yao@codesourcery.com>
1107 * remote.c (remote_traceframe_info): Return early if
1108 traceframe is not selected.
1110 2013-07-19 Yao Qi <yao@codesourcery.com>
1112 * target.c (update_current_target): Change the default action
1113 of 'to_traceframe_info' from tcomplain to return_zero.
1114 * target.h (struct target_ops) <to_traceframe_info>: Add more
1117 2014-02-23 Yao Qi <yao@codesourcery.com>
1119 * valops.c (read_value_memory): Rewrite it. Call
1120 target_xfer_partial in a loop.
1121 * exec.h (section_table_available_memory): Remove declaration.
1122 Move comments to ...
1123 * exec.c (section_table_available_memory): ... here. Make it
1126 2014-02-23 Yao Qi <yao@codesourcery.com>
1128 * exec.c (section_table_read_available_memory): New function.
1129 * exec.h (section_table_read_available_memory): Declare.
1130 * ctf.c (ctf_xfer_partial): Call
1131 section_table_read_available_memory.
1132 * tracefile-tfile.c (tfile_xfer_partial): Likewise.
1134 2014-02-23 Yao Qi <yao@codesourcery.com>
1136 * ctf.c (ctf_xfer_partial): Move code to ...
1137 * exec.c (exec_read_partial_read_only): ... it. New function.
1138 * tracefile-tfile.c (tfile_xfer_partial): Likewise.
1139 * tracefile.c: Include "exec.h".
1140 * exec.h (exec_read_partial_read_only): Declare.
1142 2014-02-23 Yao Qi <yao@codesourcery.com>
1144 * tracefile-tfile.c (tfile_has_all_memory): Remove.
1145 (tfile_has_memory): Remove.
1146 (init_tfile_ops): Don't set fields to_has_all_memory and
1147 to_has_memory of tfile_ops.
1148 * tracefile.c (tracefile_has_all_memory): New function.
1149 (tracefile_has_memory): New function.
1150 (init_tracefile_ops): Initialize fields to_has_all_memory and
1151 to_has_memory of 'ops'.
1153 2014-02-23 Yao Qi <yao@codesourcery.com>
1155 * ctf.c (ctf_has_stack, ctf_has_registers): Remove.
1156 (ctf_thread_alive, ctf_get_trace_status): Remove.
1157 (init_ctf_ops): Don't set some fields of ctf_ops. Call
1159 * tracefile-tfile.c (tfile_get_trace_status): Remove.
1160 (tfile_has_stack, tfile_has_registers): Remove.
1161 (tfile_thread_alive): Remove.
1162 (init_tfile_ops): Don't set some fields of tfile_ops. Call
1164 * tracefile.c (tracefile_has_stack): New function.
1165 (tracefile_has_registers): New function.
1166 (tracefile_thread_alive): New function.
1167 (tracefile_get_trace_status): New function.
1168 (init_tracefile_ops): New function.
1169 * tracefile.h (init_tracefile_ops): Declare.
1171 2014-02-23 Yao Qi <yao@codesourcery.com>
1173 * tracepoint.c (TFILE_PID): Move it to tracefile-tfile.c.
1174 (O_LARGEFILE): Likewise.
1175 (tfile_ops): Likewise.
1176 (TRACE_HEADER_SIZE): Likewise.
1177 (trace_fd, trace_frames_offset, cur_offset): Likewise.
1178 (cur_data_size): Likewise.
1179 (tfile_read, tfile_open, tfile_interp_line): Likewise.
1180 (tfile_close, tfile_files_info): Likewise.
1181 (tfile_get_trace_status): Likewise.
1182 (tfile_get_tracepoint_status): Likewise.
1183 (tfile_get_traceframe_address): Likewise.
1184 (tfile_trace_find, match_blocktype): Likewise.
1185 (traceframe_walk_blocks, traceframe_find_block_type): Likewise.
1186 (tfile_fetch_registers, tfile_xfer_partial): Likewise.
1187 (tfile_get_trace_state_variable_value): Likewise.
1188 (tfile_has_all_memory, tfile_has_memory): Likewise.
1189 (tfile_has_stack, tfile_has_registers): Likewise.
1190 (tfile_thread_alive, build_traceframe_info): Likewise.
1191 (tfile_traceframe_info, init_tfile_ops): Likewise.
1192 (_initialize_tracepoint): Don't call init_tfile_ops
1193 and add_target_with_completer.
1194 * tracefile-tfile.c: Include regcache.h, inferior.h, gdbthread.h,
1195 exec.h, completer.h and filenames.h.
1196 (_initialize_tracefile_tfile): New function.
1198 2014-02-23 Yao Qi <yao@codesourcery.com>
1200 * Makefile.in (REMOTE_OBS): Append tracefile.o and
1202 (HFILES_NO_SRCDIR): Add tracefile.h.
1203 * ctf.c: Include "tracefile.h".
1204 * tracefile.h: New file.
1205 * tracefile.c: New file
1206 * tracefile-tfile.c: New file.
1207 * tracepoint.c: Include "tracefile.h".
1208 (free_uploaded_tps, free_uploaded_tsvs): Remove declarations.
1209 (stop_reason_names): Add const.
1210 (trace_file_writer_xfree): Move it to tracefile.c.
1211 (trace_save, trace_save_command, trace_save_tfile): Likewise.
1212 (trace_save_ctf): Likewise.
1213 (struct tfile_trace_file_writer): Move it to tracefile-tfile.c.
1214 (tfile_target_save, tfile_dtor, tfile_start): Likewise.
1215 (tfile_write_header, tfile_write_regblock_type): Likewise.
1216 (tfile_write_status, tfile_write_uploaded_tsv): Likewise.
1217 (tfile_write_uploaded_tp, tfile_write_definition_end): Likewise.
1218 (tfile_write_raw_data, tfile_end): Likewise.
1219 (tfile_trace_file_writer_new): Likewise.
1220 (free_uploaded_tp): Make it extern.
1221 (free_uploaded_tsv): Make it extern.
1222 (_initialize_tracepoint): Move code to register command 'tsave'
1224 * tracepoint.h (stop_reason_names): Declare.
1225 (struct trace_frame_write_ops): Move it to tracefile.h.
1226 (struct trace_file_write_ops): Likewise.
1227 (struct trace_file_writer): Likewise.
1228 (free_uploaded_tsvs, free_uploaded_tps): Declare.
1230 2014-02-21 Jan Kratochvil <jan.kratochvil@redhat.com>
1233 * common/linux-osdata.c (linux_common_core_of_thread): Find the end of
1235 (get_cores_used_by_process): New parameter num_cores, use it.
1236 (linux_xfer_osdata_processes): Pass num_cores to it.
1237 * linux-tdep.c (linux_info_proc, linux_fill_prpsinfo): Find the end of
1240 2014-02-21 Andreas Arnez <arnez@vnet.linux.ibm.com>
1242 * target.c (memory_xfer_partial): Fix length arg in call to
1243 breakpoint_xfer_memory.
1245 2014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
1248 * i386-tdep.c (i386_stap_parse_special_token_triplet): Check if a
1249 number comes after the + or - signs. Adjust length of register
1250 name to be extracted.
1252 2014-02-20 Tom Tromey <tromey@redhat.com>
1254 * varobj.h (c_varobj_ops, cplus_varobj_ops, java_varobj_ops)
1255 (ada_varobj_ops): Mark "extern".
1257 2014-02-20 Tom Tromey <tromey@redhat.com>
1259 * dbxread.c (read_dbx_symtab): Remove last_o_file_start.
1261 2014-02-20 Doug Evans <xdje42@gmail.com>
1263 * guile/scm-gsmob.c (gdbscm_init_eqable_gsmob): New arg containing_scm.
1264 All callers updated.
1265 (gdbscm_fill_eqable_gsmob_ptr_slot): Delete arg containing_scm.
1266 All callers updated.
1267 * guile/guile-internal.h (gdbscm_init_eqable_gsmob): Update.
1268 (gdbscm_fill_eqable_gsmob_ptr_slot): Update.
1270 2014-02-20 lin zuojian <manjian2006@gmail.com>
1271 Joel Brobecker <brobecker@adacore.com>
1272 Doug Evans <xdje42@gmail.com>
1275 * dwarf2read.c (struct die_info): New member in_process.
1276 (reset_die_in_process): New function.
1277 (process_die): Set it at the start, reset when returning.
1278 (inherit_abstract_dies): Only call process_die if origin_child_die
1279 not already being processed.
1281 2014-02-20 Joel Brobecker <brobecker@adacore.com>
1283 * windows-nat.c (handle_unload_dll): Add function documentation.
1284 (do_initial_windows_stuff): Add comment explaining why we wait
1285 until after inferior initialization has finished before
1286 processing all DLLs.
1288 2014-02-20 Joel Brobecker <brobecker@adacore.com>
1290 * windows-nat.c (get_module_name): Delete.
1291 (windows_get_exec_module_filename): New function, mostly
1292 inspired from get_module_name.
1293 (windows_pid_to_exec_file): Replace call to get_module_name
1294 by call to windows_get_exec_module_filename.
1296 2014-02-20 Joel Brobecker <brobecker@adacore.com>
1298 * windows-nat.c (handle_load_dll): Rewrite this function's
1299 introductory comment. Remove code using get_module_name
1300 to get the DLL's name.
1302 2014-02-20 Joel Brobecker <brobecker@adacore.com>
1304 * windows-nat.c (get_windows_debug_event): Ignore
1305 LOAD_DLL_DEBUG_EVENT and UNLOAD_DLL_DEBUG_EVENT
1306 if windows_initialization_done == 0.
1307 (windows_add_all_dlls): Renames windows_ensure_ntdll_loaded.
1308 Adjust implementation to always load all DLLs.
1309 (do_initial_windows_stuff): Replace call to
1310 windows_ensure_ntdll_loaded by call to windows_add_all_dlls.
1312 2014-02-20 Joel Brobecker <brobecker@adacore.com>
1314 * windows-nat.c (_initialize_windows_nat): Deprecate the
1315 "dll-symbols" command. Turn the "add-shared-symbol-files"
1316 and "assf" aliases into commands, and deprecate them as well.
1317 * NEWS: Add entry explaining that "dll-symbols" and its two
1318 aliases are now deprecated.
1320 2014-02-20 Joel Brobecker <brobecker@adacore.com>
1322 * dec-thread.c (dec_thread_get_ada_task_ptid): Avoid unescaped
1323 new-line in debug string. Remove trailing spaces.
1325 2014-02-19 Stan Shebs <stan@codesourcery.com>
1327 * darwin-nat.c (darwin_xfer_partial): Fix return type.
1329 2014-02-19 Siva Chandra Reddy <sivachandra@google.com>
1331 * NEWS: Add entry for the new feature
1332 * python/py-value.c (valpy_binop): Call value_x_binop for struct
1335 2014-02-19 Stan Shebs <stan@codesourcery.com>
1337 * MAINTAINERS: List Yao Qi as nios2 maintainer.
1339 2014-02-19 Pedro Alves <palves@redhat.com>
1341 * common/ptid.h (struct ptid): Mention that process_stratum
1342 targets should prefer ptid.lwp.
1344 2014-02-19 Pedro Alves <palves@redhat.com>
1346 * remote.c (remote_thread_alive, write_ptid, read_ptid)
1347 (read_ptid, remote_newthread_step, remote_threads_extra_info)
1348 (remote_get_ada_task_ptid, append_resumption, remote_stop_ns)
1349 (threadalive_test, remote_pid_to_str): Use the ptid.lwp field to
1350 store remote thread ids rather than ptid.tid.
1351 (_initialize_remote): Adjust.
1353 2014-02-19 Tom Tromey <tromey@redhat.com>
1355 * target.c (target_get_unwinder): Rewrite.
1356 (target_get_tailcall_unwinder): Rewrite.
1357 * record-btrace.c (record_btrace_to_get_unwinder): New function.
1358 (record_btrace_to_get_tailcall_unwinder): New function.
1359 (init_record_btrace_ops): Update.
1360 * target.h (struct target_ops) <to_get_unwinder,
1361 to_get_tailcall_unwinder>: Now function pointers. Use
1362 TARGET_DEFAULT_RETURN.
1364 2014-02-19 Tom Tromey <tromey@redhat.com>
1366 * nto-procfs.c (procfs_remove_hw_breakpoint): Add 'self'
1368 (init_procfs_ops): Correctly set to_remove_hw_breakpoint.
1370 2014-02-19 Tom Tromey <tromey@redhat.com>
1372 * record-btrace.c (record_btrace_decr_pc_after_break): Delegate
1374 * target-delegates.c: Rebuild.
1375 * target.h (struct target_ops) <to_decr_pc_after_break>: Use
1376 TARGET_DEFAULT_FUNC.
1377 * target.c (default_target_decr_pc_after_break): Rename from
1378 forward_target_decr_pc_after_break. Simplify.
1379 (target_decr_pc_after_break): Rely on delegation.
1381 2014-02-19 Tom Tromey <tromey@redhat.com>
1383 * target.c (update_current_target): Do not INHERIT to_doc or
1384 to_magic. Do not de_fault to_open or to_close.
1386 2014-02-19 Tom Tromey <tromey@redhat.com>
1388 * gcore.h (objfile_find_memory_regions): Declare.
1389 * gcore.c (objfile_find_memory_regions): No longer static. Add
1391 (_initialize_gcore): Don't call exec_set_find_memory_regions.
1392 * exec.c: Include gcore.h.
1393 (exec_set_find_memory_regions): Remove.
1394 (exec_find_memory_regions): Remove.
1395 (exec_do_find_memory_regions): Remove.
1396 (init_exec_ops): Update.
1397 * defs.h (exec_set_find_memory_regions): Remove.
1399 2014-02-19 Tom Tromey <tromey@redhat.com>
1401 * target-delegates.c: Rebuild.
1402 * target.h (struct target_ops) <to_extra_thread_info,
1403 to_thread_name, to_pid_to_exec_file, to_get_section_table,
1404 to_memory_map, to_read_description, to_traceframe_info>: Use NULL,
1405 not 0, in TARGET_DEFAULT_RETURN.
1407 2014-02-19 Tom Tromey <tromey@redhat.com>
1409 * target.c (complete_target_initialization): Remove casts. Use
1410 return_zero_has_execution.
1411 (return_zero): Add "ignore" argument.
1412 (return_zero_has_execution): New function.
1413 (init_dummy_target): Remove casts. Use
1414 return_zero_has_execution.
1416 2014-02-19 Tom Tromey <tromey@redhat.com>
1418 * target.c (update_current_target): Update comments. Do not
1421 2014-02-19 Tom Tromey <tromey@redhat.com>
1423 * arm-linux-nat.c (arm_linux_read_description): Delegate when
1425 * corelow.c (core_read_description): Delegate when needed.
1426 * remote.c (remote_read_description): Delegate when needed.
1427 * target-delegates.c: Rebuild.
1428 * target.c (target_read_description): Rewrite.
1429 * target.h (struct target_ops) <to_read_description>: Update
1430 comment. Use TARGET_DEFAULT_RETURN.
1432 2014-02-19 Tom Tromey <tromey@redhat.com>
1434 * target-delegates.c: Rebuild.
1435 * target.c (update_current_target): Don't inherit or default
1437 (find_default_run_target): Check against delegate_can_run.
1438 * target.h (struct target_ops) <to_can_run>: Use
1439 TARGET_DEFAULT_RETURN.
1441 2014-02-19 Tom Tromey <tromey@redhat.com>
1443 * target-delegates.c: Rebuild.
1444 * target.c (target_disconnect): Unconditionally delegate.
1445 * target.h (struct target_ops) <to_disconnect>: Use
1446 TARGET_DEFAULT_NORETURN.
1448 2014-02-19 Tom Tromey <tromey@redhat.com>
1450 * record.c (record_stop): Unconditionally delegate.
1451 * target-delegates.c: Rebuild.
1452 * target.c (target_stop_recording): Unconditionally delegate.
1453 * target.h (struct target_ops) <to_stop_recording>: Use
1454 TARGET_DEFAULT_IGNORE.
1456 2014-02-19 Tom Tromey <tromey@redhat.com>
1458 * target-delegates.c: Rebuild.
1459 * target.c (target_enable_btrace): Unconditionally delegate.
1460 * target.h (struct target_ops) <to_enable_btrace>: Use
1461 TARGET_DEFAULT_NORETURN.
1463 2014-02-19 Tom Tromey <tromey@redhat.com>
1465 * target-delegates.c: Rebuild.
1466 * target.c (target_read_btrace): Unconditionally delegate.
1467 * target.h (struct target_ops) <to_read_btrace>: Use
1468 TARGET_DEFAULT_NORETURN.
1470 2014-02-19 Tom Tromey <tromey@redhat.com>
1472 * target-delegates.c: Rebuild.
1473 * target.c (target_teardown_btrace): Unconditionally delegate.
1474 * target.h (struct target_ops) <to_teardown_btrace>: Use
1475 TARGET_DEFAULT_NORETURN.
1477 2014-02-19 Tom Tromey <tromey@redhat.com>
1479 * target-delegates.c: Rebuild.
1480 * target.c (target_disable_btrace): Unconditionally delegate.
1481 * target.h (struct target_ops) <to_disable_btrace>: Use
1482 TARGET_DEFAULT_NORETURN.
1484 2014-02-19 Tom Tromey <tromey@redhat.com>
1486 * target-delegates.c: Rebuild.
1487 * target.c (default_search_memory): New function.
1488 (simple_search_memory): Update comment.
1489 (target_search_memory): Unconditionally delegate.
1490 * target.h (struct target_ops) <to_search_memory>: Use
1491 TARGET_DEFAULT_FUNC.
1493 2014-02-19 Tom Tromey <tromey@redhat.com>
1495 * auxv.c (default_auxv_parse): No longer static.
1496 (target_auxv_parse): Unconditionally delegate.
1497 * auxv.h (default_auxv_parse): Declare.
1498 * target-delegates.c: Rebuild.
1499 * target.c: Include auxv.h.
1500 * target.h (struct target_ops) <to_auxv_parse>: Use
1501 TARGET_DEFAULT_FUNC.
1503 2014-02-19 Tom Tromey <tromey@redhat.com>
1505 * target-delegates.c: Rebuild.
1506 * target.c (target_memory_map): Unconditionally delegate.
1507 * target.h (struct target_ops) <to_memory_map>: Use
1508 TARGET_DEFAULT_RETURN.
1510 2014-02-19 Tom Tromey <tromey@redhat.com>
1512 * target-delegates.c: Rebuild.
1513 * target.c (target_thread_alive): Unconditionally delegate.
1514 * target.h (struct target_ops) <to_thread_alive>: Use
1515 TARGET_DEFAULT_RETURN.
1517 2014-02-19 Tom Tromey <tromey@redhat.com>
1519 * target-delegates.c: Rebuild.
1520 * target.c (target_save_record): Unconditionally delegate.
1521 * target.h (struct target_ops) <to_save_record>: Use
1522 TARGET_DEFAULT_NORETURN.
1524 2014-02-19 Tom Tromey <tromey@redhat.com>
1526 * target-delegates.c: Rebuild.
1527 * target.c (target_delete_record): Unconditionally delegate.
1528 * target.h (struct target_ops) <to_delete_record>: Use
1529 TARGET_DEFAULT_NORETURN.
1531 2014-02-19 Tom Tromey <tromey@redhat.com>
1533 * target-delegates.c: Rebuild.
1534 * target.c (target_record_is_replaying): Unconditionally
1536 * target.h (struct target_ops) <to_record_is_replaying>: Use
1537 TARGET_DEFAULT_RETURN.
1539 2014-02-19 Tom Tromey <tromey@redhat.com>
1541 * target-delegates.c: Rebuild.
1542 * target.c (target_goto_record_begin): Unconditionally delegate.
1543 * target.h (struct target_ops) <to_goto_record_begin>: Use
1544 TARGET_DEFAULT_NORETURN.
1546 2014-02-19 Tom Tromey <tromey@redhat.com>
1548 * target-delegates.c: Rebuild.
1549 * target.c (target_goto_record_end): Unconditionally delegate.
1550 * target.h (struct target_ops) <to_goto_record_end>: Use
1551 TARGET_DEFAULT_NORETURN.
1553 2014-02-19 Tom Tromey <tromey@redhat.com>
1555 * target-delegates.c: Rebuild.
1556 * target.c (target_goto_record): Unconditionally delegate.
1557 * target.h (struct target_ops) <to_goto_record>: Use
1558 TARGET_DEFAULT_NORETURN.
1560 2014-02-19 Tom Tromey <tromey@redhat.com>
1562 * target-delegates.c: Rebuild.
1563 * target.c (target_insn_history): Unconditionally delegate.
1564 * target.h (struct target_ops) <to_insn_history>: Use
1565 TARGET_DEFAULT_NORETURN.
1567 2014-02-19 Tom Tromey <tromey@redhat.com>
1569 * target-delegates.c: Rebuild.
1570 * target.c (target_insn_history_from): Unconditionally delegate.
1571 * target.h (struct target_ops) <to_insn_history_from>: Use
1572 TARGET_DEFAULT_NORETURN.
1574 2014-02-19 Tom Tromey <tromey@redhat.com>
1576 * target-delegates.c: Rebuild.
1577 * target.c (target_insn_history_range): Unconditionally delegate.
1578 * target.h (struct target_ops) <to_insn_history_range>: Use
1579 TARGET_DEFAULT_NORETURN.
1581 2014-02-19 Tom Tromey <tromey@redhat.com>
1583 * target-delegates.c: Rebuild.
1584 * target.c (target_call_history): Unconditionally delegate.
1585 * target.h (struct target_ops) <to_call_history>: Use
1586 TARGET_DEFAULT_NORETURN.
1588 2014-02-19 Tom Tromey <tromey@redhat.com>
1590 * target-delegates.c: Rebuild.
1591 * target.c (target_call_history_from): Unconditionally delegate.
1592 * target.h (struct target_ops) <to_call_history_from>: Use
1593 TARGET_DEFAULT_NORETURN.
1595 2014-02-19 Tom Tromey <tromey@redhat.com>
1597 * target-delegates.c: Rebuild.
1598 * target.c (target_call_history_range): Unconditionally delegate.
1599 * target.h (struct target_ops) <to_call_history_range>: Use
1600 TARGET_DEFAULT_NORETURN.
1602 2014-02-19 Tom Tromey <tromey@redhat.com>
1604 * target-delegates.c: Rebuild.
1605 * target.c (target_verify_memory): Unconditionally delegate.
1606 * target.h (struct target_ops) <to_verify_memory>: Use
1607 TARGET_DEFAULT_NORETURN.
1609 2014-02-19 Tom Tromey <tromey@redhat.com>
1611 * target-delegates.c: Rebuild.
1612 * target.c (target_core_of_thread): Unconditionally delegate.
1613 * target.h (struct target_ops) <to_core_of_thread>: Use
1614 TARGET_DEFAULT_RETURN.
1616 2014-02-19 Tom Tromey <tromey@redhat.com>
1618 * target-delegates.c: Rebuild.
1619 * target.c (target_flash_done): Unconditionally delegate.
1620 * target.h (struct target_ops) <to_flash_done>: Use
1621 TARGET_DEFAULT_NORETURN.
1623 2014-02-19 Tom Tromey <tromey@redhat.com>
1625 * target-delegates.c: Rebuild.
1626 * target.c (target_flash_erase): Unconditionally delegate.
1627 * target.h (struct target_ops) <to_flash_erase>: Use
1628 TARGET_DEFAULT_NORETURN.
1630 2014-02-19 Tom Tromey <tromey@redhat.com>
1632 * target-delegates.c: Rebuild.
1633 * target.c (target_get_section_table): Unconditionally delegate.
1634 * target.h (struct target_ops) <to_get_section_table>: Use
1635 TARGET_DEFAULT_RETURN.
1637 2014-02-19 Tom Tromey <tromey@redhat.com>
1639 * target-delegates.c: Rebuild.
1640 * target.c (target_pid_to_str): Unconditionally delegate.
1641 (init_dummy_target): Don't initialize to_pid_to_str.
1642 (default_pid_to_str): Rename from dummy_pid_to_str.
1643 * target.h (struct target_ops) <to_pid_to_str>: Use
1644 TARGET_DEFAULT_FUNC.
1646 2014-02-19 Tom Tromey <tromey@redhat.com>
1648 * target-delegates.c: Rebuild.
1649 * target.c (target_find_new_threads): Unconditionally delegate.
1650 * target.h (struct target_ops) <to_find_new_threads>: Use
1651 TARGET_DEFAULT_RETURN.
1653 2014-02-19 Tom Tromey <tromey@redhat.com>
1655 * target-delegates.c: Rebuild.
1656 * target.c (target_program_signals): Unconditionally delegate.
1657 * target.h (struct target_ops) <to_program_signals>: Use
1658 TARGET_DEFAULT_IGNORE.
1660 2014-02-19 Tom Tromey <tromey@redhat.com>
1662 * target-delegates.c: Rebuild.
1663 * target.c (target_pass_signals): Unconditionally delegate.
1664 * target.h (struct target_ops) <to_pass_signals>: Use
1665 TARGET_DEFAULT_IGNORE.
1667 2014-02-19 Tom Tromey <tromey@redhat.com>
1669 * target-delegates.c: Rebuild.
1670 * target.c (default_mourn_inferior): New function.
1671 (target_mourn_inferior): Unconditionally delegate.
1672 * target.h (struct target_ops) <to_mourn_inferior>: Use
1673 TARGET_DEFAULT_FUNC.
1675 2014-02-19 Tom Tromey <tromey@redhat.com>
1677 * target-delegates.c: Rebuild.
1678 * target.c (default_follow_fork): New function.
1679 (target_follow_fork): Unconditionally delegate.
1680 * target.h (struct target_ops) <to_follow_fork>: Use
1681 TARGET_DEFAULT_FUNC.
1683 2014-02-19 Tom Tromey <tromey@redhat.com>
1685 * target-delegates.c: Rebuild.
1686 * target.c (target_kill): Unconditionally delegate.
1687 * target.h (struct target_ops) <to_kill>: Use
1688 TARGET_DEFAULT_NORETURN.
1690 2014-02-19 Tom Tromey <tromey@redhat.com>
1692 * target-delegates.c: Rebuild.
1693 * target.c (target_masked_watch_num_registers): Unconditionally
1695 * target.h (struct target_ops) <to_masked_watch_num_registers>:
1696 Use TARGET_DEFAULT_RETURN.
1698 2014-02-19 Tom Tromey <tromey@redhat.com>
1700 * target-delegates.c: Rebuild.
1701 * target.c (target_remove_mask_watchpoint): Unconditionally
1703 * target.h (struct target_ops) <to_remove_mask_watchpoint>: Use
1704 TARGET_DEFAULT_RETURN.
1706 2014-02-19 Tom Tromey <tromey@redhat.com>
1708 * target-delegates.c: Rebuild.
1709 * target.c (target_insert_mask_watchpoint): Unconditionally
1711 * target.h (struct target_ops) <to_insert_mask_watchpoint>: Use
1712 TARGET_DEFAULT_RETURN.
1714 2014-02-19 Tom Tromey <tromey@redhat.com>
1716 * target-delegates.c: Rebuild.
1717 * target.c (target_ranged_break_num_registers): Unconditionally
1719 * target.h (struct target_ops) <to_ranged_break_num_registers>:
1720 Use TARGET_DEFAULT_RETURN.
1722 2014-02-19 Tom Tromey <tromey@redhat.com>
1724 * target-delegates.c: Rebuild.
1725 * target.c (target_fetch_registers): Unconditionally delegate.
1726 * target.h (struct target_ops) <to_fetch_registers>: Use
1727 TARGET_DEFAULT_NORETURN.
1729 2014-02-19 Tom Tromey <tromey@redhat.com>
1731 * target-delegates.c: Rebuild.
1732 * target.c (update_current_target): Don't inherit or default
1734 * target.h (struct target_ops) <to_stop>: Use
1735 TARGET_DEFAULT_IGNORE.
1737 2014-02-19 Tom Tromey <tromey@redhat.com>
1739 * target-delegates.c: Rebuild.
1740 * target.c (update_current_target): Don't inherit or default
1741 to_can_run_breakpoint_commands.
1742 * target.h (struct target_ops) <to_can_run_breakpoint_commands>:
1743 Use TARGET_DEFAULT_RETURN.
1745 2014-02-19 Tom Tromey <tromey@redhat.com>
1747 * target-delegates.c: Rebuild.
1748 * target.c (update_current_target): Don't inherit or default
1749 to_supports_evaluation_of_breakpoint_conditions.
1750 * target.h (struct target_ops)
1751 <to_supports_evaluation_of_breakpoint_conditions>: Use
1752 TARGET_DEFAULT_RETURN.
1754 2014-02-19 Tom Tromey <tromey@redhat.com>
1756 * target-delegates.c: Rebuild.
1757 * target.c (update_current_target): Don't inherit or default
1758 to_augmented_libraries_svr4_read.
1759 * target.h (struct target_ops) <to_augmented_libraries_svr4_read>:
1760 Use TARGET_DEFAULT_RETURN.
1762 2014-02-19 Tom Tromey <tromey@redhat.com>
1764 * target-delegates.c: Rebuild.
1765 * target.c (update_current_target): Don't inherit or default
1767 * target.h (struct target_ops) <to_can_use_agent>: Use
1768 TARGET_DEFAULT_RETURN.
1770 2014-02-19 Tom Tromey <tromey@redhat.com>
1772 * target-delegates.c: Rebuild.
1773 * target.c (update_current_target): Don't inherit or default
1775 * target.h (struct target_ops) <to_use_agent>: Use
1776 TARGET_DEFAULT_NORETURN.
1778 2014-02-19 Tom Tromey <tromey@redhat.com>
1780 * target-delegates.c: Rebuild.
1781 * target.c (update_current_target): Don't inherit or default
1783 (return_null): Remove.
1784 * target.h (struct target_ops) <to_traceframe_info>: Use
1785 TARGET_DEFAULT_RETURN.
1787 2014-02-19 Tom Tromey <tromey@redhat.com>
1789 * target-delegates.c: Rebuild.
1790 * target.c (update_current_target): Don't inherit or default
1791 to_static_tracepoint_markers_by_strid.
1792 * target.h (struct target_ops)
1793 <to_static_tracepoint_markers_by_strid>: Use
1794 TARGET_DEFAULT_NORETURN.
1796 2014-02-19 Tom Tromey <tromey@redhat.com>
1798 * target-delegates.c: Rebuild.
1799 * target.c (update_current_target): Don't inherit or default
1800 to_static_tracepoint_marker_at.
1801 * target.h (struct target_ops) <to_static_tracepoint_marker_at>:
1802 Use TARGET_DEFAULT_RETURN.
1804 2014-02-19 Tom Tromey <tromey@redhat.com>
1806 * target-delegates.c: Rebuild.
1807 * target.c (update_current_target): Don't inherit or default
1809 * target.h (struct target_ops) <to_set_permissions>: Use
1810 TARGET_DEFAULT_IGNORE.
1812 2014-02-19 Tom Tromey <tromey@redhat.com>
1814 * target-delegates.c: Rebuild.
1815 * target.c (update_current_target): Don't inherit or default
1817 * target.h (struct target_ops) <to_get_tib_address>: Use
1818 TARGET_DEFAULT_NORETURN.
1820 2014-02-19 Tom Tromey <tromey@redhat.com>
1822 * target-delegates.c: Rebuild.
1823 * target.c (update_current_target): Don't inherit or default
1825 * target.h (struct target_ops) <to_set_trace_notes>: Use
1826 TARGET_DEFAULT_RETURN.
1828 2014-02-19 Tom Tromey <tromey@redhat.com>
1830 * target-delegates.c: Rebuild.
1831 * target.c (update_current_target): Don't initialize
1832 to_set_trace_buffer_size.
1833 * target.h (struct target_ops) <to_set_trace_buffer_size>: Use
1834 TARGET_DEFAULT_IGNORE.
1836 2014-02-19 Tom Tromey <tromey@redhat.com>
1838 * target-delegates.c: Rebuild.
1839 * target.c (update_current_target): Don't inherit or default
1840 to_set_circular_trace_buffer.
1841 * target.h (struct target_ops) <to_set_circular_trace_buffer>: Use
1842 TARGET_DEFAULT_IGNORE.
1844 2014-02-19 Tom Tromey <tromey@redhat.com>
1846 * target-delegates.c: Rebuild.
1847 * target.c (update_current_target): Don't inherit or default
1848 to_set_disconnected_tracing.
1849 * target.h (struct target_ops) <to_set_disconnected_tracing>: Use
1850 TARGET_DEFAULT_IGNORE.
1852 2014-02-19 Tom Tromey <tromey@redhat.com>
1854 * target-delegates.c: Rebuild.
1855 * target.c (update_current_target): Don't inherit or default
1856 to_get_min_fast_tracepoint_insn_len.
1857 (return_minus_one): Remove.
1858 * target.h (struct target_ops)
1859 <to_get_min_fast_tracepoint_insn_len>: Use TARGET_DEFAULT_RETURN.
1861 2014-02-19 Tom Tromey <tromey@redhat.com>
1863 * target-delegates.c: Rebuild.
1864 * target.c (update_current_target): Don't inherit or default
1865 to_get_raw_trace_data.
1866 * target.h (struct target_ops) <to_get_raw_trace_data>: Use
1867 TARGET_DEFAULT_NORETURN.
1869 2014-02-19 Tom Tromey <tromey@redhat.com>
1871 * target-delegates.c: Rebuild.
1872 * target.c (update_current_target): Don't inherit or default
1873 to_upload_trace_state_variables.
1874 * target.h (struct target_ops) <to_upload_trace_state_variables>:
1875 Use TARGET_DEFAULT_RETURN.
1877 2014-02-19 Tom Tromey <tromey@redhat.com>
1879 * target-delegates.c: Rebuild.
1880 * target.c (update_current_target): Don't inherit or default
1881 to_upload_tracepoints.
1882 * target.h (struct target_ops) <to_upload_tracepoints>: Use
1883 TARGET_DEFAULT_RETURN.
1885 2014-02-19 Tom Tromey <tromey@redhat.com>
1887 * target-delegates.c: Rebuild.
1888 * target.c (update_current_target): Don't inherit or default
1890 * target.h (struct target_ops) <to_save_trace_data>: Use
1891 TARGET_DEFAULT_NORETURN.
1893 2014-02-19 Tom Tromey <tromey@redhat.com>
1895 * target-delegates.c: Rebuild.
1896 * target.c (update_current_target): Don't inherit or default
1897 to_get_trace_state_variable_value.
1898 * target.h (struct target_ops)
1899 <to_get_trace_state_variable_value>: Use TARGET_DEFAULT_RETURN.
1901 2014-02-19 Tom Tromey <tromey@redhat.com>
1903 * target-delegates.c: Rebuild.
1904 * target.c (update_current_target): Don't inherit or default
1906 * target.h (struct target_ops): Use TARGET_DEFAULT_RETURN.
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
1913 * target.h (struct target_ops) <to_trace_stop>: Use
1914 TARGET_DEFAULT_NORETURN.
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_get_tracepoint_status.
1921 * target.h (struct target_ops) <to_get_tracepoint_status>: Use
1922 TARGET_DEFAULT_NORETURN.
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_trace_status.
1929 * target.h (struct target_ops) <to_get_trace_status>: Use
1930 TARGET_DEFAULT_RETURN.
1932 2014-02-19 Tom Tromey <tromey@redhat.com>
1934 * target-delegates.c: Rebuild.
1935 * target.c (update_current_target): Don't inherit or default
1937 * target.h (struct target_ops) <to_trace_start>: Use
1938 TARGET_DEFAULT_NORETURN.
1940 2014-02-19 Tom Tromey <tromey@redhat.com>
1942 * target-delegates.c: Rebuild.
1943 * target.c (update_current_target): Don't inherit or default
1944 to_trace_set_readonly_regions.
1945 * target.h (struct target_ops) <to_trace_set_readonly_regions>:
1946 Use TARGET_DEFAULT_NORETURN.
1948 2014-02-19 Tom Tromey <tromey@redhat.com>
1950 * target-delegates.c: Rebuild.
1951 * target.c (update_current_target): Don't inherit or default
1952 to_disable_tracepoint.
1953 * target.h (struct target_ops) <to_disable_tracepoint>: Use
1954 TARGET_DEFAULT_NORETURN.
1956 2014-02-19 Tom Tromey <tromey@redhat.com>
1958 * target-delegates.c: Rebuild.
1959 * target.c (update_current_target): Don't inherit or default
1960 to_enable_tracepoint.
1961 * target.h (struct target_ops) <to_enable_tracepoint>: Use
1962 TARGET_DEFAULT_NORETURN.
1964 2014-02-19 Tom Tromey <tromey@redhat.com>
1966 * target-delegates.c: Rebuild.
1967 * target.c (update_current_target): Don't inherit or default
1968 to_download_trace_state_variable.
1969 * target.h (struct target_ops) <to_download_trace_state_variable>:
1970 Use TARGET_DEFAULT_NORETURN.
1972 2014-02-19 Tom Tromey <tromey@redhat.com>
1974 * target-delegates.c: Rebuild.
1975 * target.c (update_current_target): Don't inherit or default
1976 to_can_download_tracepoint.
1977 * target.h (struct target_ops) <to_can_download_tracepoint>: Use
1978 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
1984 to_download_tracepoint.
1985 * target.h (struct target_ops) <to_download_tracepoint>: 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
1993 * target.h (struct target_ops) <to_trace_init>: Use
1994 TARGET_DEFAULT_RETURN.
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_supports_string_tracing.
2001 * target.h (struct target_ops) <to_supports_string_tracing>: 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
2008 to_supports_enable_disable_tracepoint.
2009 * target.h (struct target_ops)
2010 <to_supports_enable_disable_tracepoint>: Use
2011 TARGET_DEFAULT_RETURN.
2013 2014-02-19 Tom Tromey <tromey@redhat.com>
2015 * target-delegates.c: Rebuild.
2016 * target.c (update_current_target): Don't inherit or default
2017 to_supports_multi_process.
2018 * target.h (struct target_ops) <to_supports_multi_process>: Use
2019 TARGET_DEFAULT_RETURN.
2021 2014-02-19 Tom Tromey <tromey@redhat.com>
2023 * target-delegates.c: Rebuild.
2024 * target.c (update_current_target): Don't inherit or default
2025 to_get_ada_task_ptid.
2026 * target.h (struct target_ops) <to_get_ada_task_ptid>: Use
2027 TARGET_DEFAULT_FUNC.
2029 2014-02-19 Tom Tromey <tromey@redhat.com>
2031 * target-delegates.c: Rebuild.
2032 * target.c (update_current_target): Don't inherit or default
2033 to_thread_architecture.
2034 * target.h (struct target_ops) <to_thread_architecture>: Use
2035 TARGET_DEFAULT_FUNC.
2037 2014-02-19 Tom Tromey <tromey@redhat.com>
2039 * target-delegates.c: Rebuild.
2040 * target.c (update_current_target): Don't inherit or default
2041 to_execution_direction.
2042 * target.h (struct target_ops) <to_execution_direction>: Use
2043 TARGET_DEFAULT_FUNC.
2045 2014-02-19 Tom Tromey <tromey@redhat.com>
2047 * target-delegates.c: Rebuild.
2048 * target.c (update_current_target): Don't inherit or default
2049 to_can_execute_reverse.
2050 * target.h (struct target_ops) <to_can_execute_reverse>: Use
2051 TARGET_DEFAULT_RETURN.
2052 (target_can_execute_reverse): Unconditionally delegate.
2054 2014-02-19 Tom Tromey <tromey@redhat.com>
2056 * target-delegates.c: Rebuild.
2057 * target.c (update_current_target): Don't inherit or default
2059 (dummy_goto_bookmark): Remove.
2060 (init_dummy_target): Don't inherit or default to_goto_bookmark.
2061 * target.h (struct target_ops) <to_goto_bookmark>: Use
2062 TARGET_DEFAULT_NORETURN.
2064 2014-02-19 Tom Tromey <tromey@redhat.com>
2066 * target-delegates.c: Rebuild.
2067 * target.c (update_current_target): Don't inherit or default
2069 (dummy_get_bookmark): Remove.
2070 (init_dummy_target): Don't inherit or default to_get_bookmark.
2071 * target.h (struct target_ops) <to_get_bookmark>: Use
2072 TARGET_DEFAULT_NORETURN
2074 2014-02-19 Tom Tromey <tromey@redhat.com>
2076 * target-delegates.c: Rebuild.
2077 * target.c (update_current_target): Don't inherit or default
2078 to_make_corefile_notes.
2079 (init_dummy_target): Don't initialize to_make_corefile_notes.
2080 * target.h (struct target_ops) <to_make_corefile_notes>: Use
2081 TARGET_DEFAULT_FUNC.
2083 2014-02-19 Tom Tromey <tromey@redhat.com>
2085 * target-delegates.c: Rebuild.
2086 * target.c (update_current_target): Don't inherit or default
2087 to_find_memory_regions.
2088 (init_dummy_target): Don't initialize to_find_memory_regions.
2089 * target.h (struct target_ops) <to_find_memory_regions>: Use
2090 TARGET_DEFAULT_FUNC.
2092 2014-02-19 Tom Tromey <tromey@redhat.com>
2094 * target-delegates.c: Rebuild.
2095 * target.c (update_current_target): Don't inherit or default
2097 * target.h (struct target_ops) <to_log_command>: Use
2098 TARGET_DEFAULT_IGNORE.
2099 (target_log_command): Unconditionally delegate.
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_pid_to_exec_file.
2106 * target.h (struct target_ops) <to_pid_to_exec_file>: Use
2107 TARGET_DEFAULT_RETURN.
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
2114 (target_thread_name): Unconditionally delegate.
2115 * target.h (struct target_ops) <to_thread_name>: Use
2116 TARGET_DEFAULT_RETURN.
2118 2014-02-19 Tom Tromey <tromey@redhat.com>
2120 * target-delegates.c: Rebuild.
2121 * target.c (update_current_target): Don't inherit or default
2122 to_extra_thread_info.
2123 * target.h (struct target_ops) <to_extra_thread_info>: Use
2124 TARGET_DEFAULT_RETURN.
2126 2014-02-19 Tom Tromey <tromey@redhat.com>
2128 * target-delegates.c: Rebuild.
2129 * target.c (update_current_target): Don't inherit or default
2131 * target.h (struct target_ops) <to_has_exited>: Use
2132 TARGET_DEFAULT_RETURN..
2134 2014-02-19 Tom Tromey <tromey@redhat.com>
2136 * target-delegates.c: Rebuild.
2137 * target.c (update_current_target): Don't inherit or default
2138 to_set_syscall_catchpoint.
2139 (return_one): Remove.
2140 * target.h (struct target_ops) <to_set_syscall_catchpoint>: Use
2141 TARGET_DEFAULT_RETURN.
2143 2014-02-19 Tom Tromey <tromey@redhat.com>
2145 * target-delegates.c: Rebuild.
2146 * target.c (update_current_target): Don't inherit or default
2147 to_insert_exec_catchpoint.
2148 * target.h (struct target_ops) <to_insert_exec_catchpoint>: Use
2149 TARGET_DEFAULT_RETURN.
2151 2014-01-08 Tom Tromey <tromey@redhat.com>
2153 * target-delegates.c: Rebuild.
2154 * target.c (update_current_target): Don't inherit or default
2155 to_insert_exec_catchpoint.
2156 * target.h (struct target_ops) <to_insert_exec_catchpoint>: Use
2157 TARGET_DEFAULT_RETURN.
2159 2014-02-19 Tom Tromey <tromey@redhat.com>
2161 * target-delegates.c: Rebuild.
2162 * target.c (update_current_target): Don't inherit or default
2163 to_remove_vfork_catchpoint.
2164 * target.h (struct target_ops) <to_remove_vfork_catchpoint>: Use
2165 TARGET_DEFAULT_RETURN.
2167 2014-02-19 Tom Tromey <tromey@redhat.com>
2169 * target-delegates.c: Rebuild.
2170 * target.c (update_current_target): Don't inherit or default
2171 to_insert_vfork_catchpoint.
2172 * target.h (struct target_ops) <to_insert_vfork_catchpoint>: Use
2173 TARGET_DEFAULT_RETURN.
2175 2014-02-19 Tom Tromey <tromey@redhat.com>
2177 * target-delegates.c: Rebuild.
2178 * target.c (update_current_target): Don't inherit or default
2179 to_remove_fork_catchpoint.
2180 * target.h (struct target_ops) <to_remove_fork_catchpoint>: Use
2181 TARGET_DEFAULT_RETURN.
2183 2014-02-19 Tom Tromey <tromey@redhat.com>
2185 * target-delegates.c: Rebuild.
2186 * target.c (update_current_target): Don't inherit or default
2187 to_insert_fork_catchpoint.
2188 * target.h (struct target_ops) <to_insert_fork_catchpoint>: Use
2189 TARGET_DEFAULT_RETURN.
2191 2014-02-19 Tom Tromey <tromey@redhat.com>
2193 * target-delegates.c: Rebuild.
2194 * target.c (update_current_target): Don't inherit or default
2195 to_post_startup_inferior.
2196 * target.h (struct target_ops) <to_post_startup_inferior>: Use
2197 TARGET_DEFAULT_IGNORE.
2199 2014-02-19 Tom Tromey <tromey@redhat.com>
2201 * target-delegates.c: Rebuild.
2202 * target.c (update_current_target): Don't inherit or default
2204 * target.h (struct target_ops) <to_load>: Use
2205 TARGET_DEFAULT_NORETURN.
2207 2014-02-19 Tom Tromey <tromey@redhat.com>
2209 * target-delegates.c: Rebuild.
2210 * target.c (update_current_target): Don't inherit or default
2212 * target.h (struct target_ops) <to_terminal_info>: Use
2213 TARGET_DEFAULT_FUNC.
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_terminal_save_ours.
2220 * target.h (struct target_ops) <to_terminal_save_ours>: Use
2221 TARGET_DEFAULT_IGNORE.
2223 2014-02-19 Tom Tromey <tromey@redhat.com>
2225 * target-delegates.c: Rebuild.
2226 * target.c (update_current_target): Don't inherit or default
2228 * target.h (struct target_ops) <to_terminal_ours>: Use
2229 TARGET_DEFAULT_IGNORE.
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_terminal_ours_for_output.
2236 * target.h (struct target_ops) <to_terminal_ours_for_output>: Use
2237 TARGET_DEFAULT_IGNORE.
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_terminal_inferior.
2244 * target.h (struct target_ops) <to_terminal_inferior>: Use
2245 TARGET_DEFAULT_IGNORE.
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
2252 * target.h (struct target_ops) <to_terminal_init>: Use
2253 TARGET_DEFAULT_IGNORE.
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_can_accel_watchpoint_condition.
2260 * target.h (struct target_ops)
2261 <to_can_accel_watchpoint_condition>: Use 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_region_ok_for_hw_watchpoint.
2268 * target.h (struct target_ops) <to_region_ok_for_hw_watchpoint>:
2269 Use TARGET_DEFAULT_FUNC.
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
2275 to_watchpoint_addr_within_range.
2276 * target.h (struct target_ops) <to_watchpoint_addr_within_range>:
2277 Use TARGET_DEFAULT_FUNC.
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
2283 to_remove_watchpoint.
2284 * target.h (struct target_ops) <to_remove_watchpoint>: Use
2285 TARGET_DEFAULT_NORETURN.
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_insert_watchpoint.
2292 * target.h (struct target_ops) <to_insert_watchpoint>: Use
2293 TARGET_DEFAULT_RETURN.
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
2299 to_remove_hw_breakpoint.
2300 * target.h (struct target_ops) <to_remove_hw_breakpoint>: Use
2301 TARGET_DEFAULT_RETURN.
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_insert_hw_breakpoint.
2308 * target.h (struct target_ops) <to_insert_hw_breakpoint>: Use
2309 TARGET_DEFAULT_RETURN.
2311 2014-02-19 Tom Tromey <tromey@redhat.com>
2313 * target-delegates.c: Rebuild.
2314 * target.c (update_current_target): Don't inherit or default
2315 to_can_use_hw_breakpoint.
2316 * target.h (struct target_ops) <to_can_use_hw_breakpoint>: Use
2317 TARGET_DEFAULT_RETURN.
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_files_info>: 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
2332 * target.h (struct target_ops) <to_store>: Use
2333 TARGET_DEFAULT_NORETURN.
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
2340 * target.h (struct target_ops) <to_post_attach>: Use
2341 TARGET_DEFAULT_IGNORE.
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
2348 (default_rcmd): New function.
2349 (do_monitor_command): Unconditionally delegate.
2350 * target.h (struct target_ops) <to_rmcd>: Use
2351 TARGET_DEFAULT_FUNC.
2353 2014-02-19 Tom Tromey <tromey@redhat.com>
2355 * target-delegates.c: Rebuild.
2356 * target.c (init_dummy_target): Don't initialize to_attach.
2357 (target_attach): Unconditionally delegate.
2358 * target.h (struct target_ops) <to_attach>: Use
2359 TARGET_DEFAULT_FUNC.
2361 2014-02-19 Tom Tromey <tromey@redhat.com>
2363 * target-delegates.c: Rebuild.
2364 * target.c (target_detach): Unconditionally delegate.
2365 (init_dummy_target): Don't initialize to_detach.
2366 * target.h (struct target_ops) <to_detach>: Use
2367 TARGET_DEFAULT_IGNORE.
2369 2014-02-19 Tom Tromey <tromey@redhat.com>
2371 * target.h (struct target_ops) <to_augmented_libraries_svr4_read>:
2373 (target_augmented_libraries_svr4_read): Add argument.
2374 * target.c (update_current_target): Update.
2375 * remote.c (remote_augmented_libraries_svr4_read): Add 'self'
2378 2014-02-19 Tom Tromey <tromey@redhat.com>
2380 * target.h (struct target_ops) <to_call_history_range>: Add
2382 * target.c (target_call_history_range): Add argument.
2383 * record-btrace.c (record_btrace_call_history_range): Add 'self'
2385 (record_btrace_call_history_from): Update.
2387 2014-02-19 Tom Tromey <tromey@redhat.com>
2389 * target.h (struct target_ops) <to_call_history_from>: Add
2391 * target.c (target_call_history_from): Add argument.
2392 * record-btrace.c (record_btrace_call_history_from): Add 'self'
2395 2014-02-19 Tom Tromey <tromey@redhat.com>
2397 * target.h (struct target_ops) <to_call_history>: Add argument.
2398 * target.c (target_call_history): Add argument.
2399 * record-btrace.c (record_btrace_call_history): Add 'self'
2402 2014-02-19 Tom Tromey <tromey@redhat.com>
2404 * target.h (struct target_ops) <to_insn_history_range>: Add
2406 * target.c (target_insn_history_range): Add argument.
2407 * record-btrace.c (record_btrace_insn_history_range): Add 'self'
2409 (record_btrace_insn_history_from): Update.
2411 2014-02-19 Tom Tromey <tromey@redhat.com>
2413 * target.h (struct target_ops) <to_insn_history_from>: Add
2415 * target.c (target_insn_history_from): Add argument.
2416 * record-btrace.c (record_btrace_insn_history_from): Add 'self'
2419 2014-02-19 Tom Tromey <tromey@redhat.com>
2421 * target.h (struct target_ops) <to_insn_history>: Add argument.
2422 * target.c (target_insn_history): Add argument.
2423 * record-btrace.c (record_btrace_insn_history): Add 'self'
2426 2014-02-19 Tom Tromey <tromey@redhat.com>
2428 * target.h (struct target_ops) <to_goto_record>: Add argument.
2429 * target.c (target_goto_record): Add argument.
2430 * record-full.c (record_full_goto): Add 'self' argument.
2431 * record-btrace.c (record_btrace_goto): Add 'self' argument.
2433 2014-02-19 Tom Tromey <tromey@redhat.com>
2435 * target.h (struct target_ops) <to_goto_record_end>: Add argument.
2436 * target.c (target_goto_record_end): Add argument.
2437 * record-full.c (record_full_goto_end): Add 'self' argument.
2438 * record-btrace.c (record_btrace_goto_end): Add 'self' argument.
2440 2014-02-19 Tom Tromey <tromey@redhat.com>
2442 * target.h (struct target_ops) <to_goto_record_begin>: Add
2444 * target.c (target_goto_record_begin): Add argument.
2445 * record-full.c (record_full_goto_begin): Add 'self' argument.
2446 * record-btrace.c (record_btrace_goto_begin): Add 'self'
2449 2014-02-19 Tom Tromey <tromey@redhat.com>
2451 * target.h (struct target_ops) <to_record_is_replaying>: Add
2453 * target.c (target_record_is_replaying): Add argument.
2454 * record-full.c (record_full_is_replaying): Add 'self' argument.
2455 * record-btrace.c (record_btrace_is_replaying): Add 'self'
2457 (record_btrace_xfer_partial, record_btrace_store_registers)
2458 (record_btrace_prepare_to_store, record_btrace_resume)
2459 (record_btrace_wait, record_btrace_decr_pc_after_break)
2460 (record_btrace_find_new_threads, record_btrace_thread_alive):
2463 2014-02-19 Tom Tromey <tromey@redhat.com>
2465 * target.h (struct target_ops) <to_delete_record>: Add argument.
2466 * target.c (target_delete_record): Add argument.
2467 * record-full.c (record_full_delete): Add 'self' argument.
2469 2014-02-19 Tom Tromey <tromey@redhat.com>
2471 * target.h (struct target_ops) <to_save_record>: Add argument.
2472 * target.c (target_save_record): Add argument.
2473 * record-full.c (record_full_save): Add 'self' argument.
2474 (record_full_save): Add 'self' argument.
2476 2014-02-19 Tom Tromey <tromey@redhat.com>
2478 * target.h (struct target_ops) <to_info_record>: Add argument.
2479 * target.c (target_info_record): Add argument.
2480 * record.c (info_record_command): Add argument.
2481 * record-full.c (record_full_info): Add 'self' argument.
2482 * record-btrace.c (record_btrace_info): Add 'self' argument.
2484 2014-02-19 Tom Tromey <tromey@redhat.com>
2486 * target.h (struct target_ops) <to_stop_recording>: Add argument.
2487 * target.c (target_stop_recording): Add argument.
2488 * record.c (record_stop): Add argument.
2489 * record-btrace.c (record_btrace_stop_recording): Add 'self'
2492 2014-02-19 Tom Tromey <tromey@redhat.com>
2494 * target.h (struct target_ops) <to_read_btrace>: Add argument.
2495 * target.c (struct target_ops) <to_read_btrace>: Add argument.
2496 * remote.c (struct target_ops) <to_read_btrace>: Add 'self'
2498 * amd64-linux-nat.c (amd64_linux_read_btrace): New function.
2499 (_initialize_amd64_linux_nat): Use it.
2500 * i386-linux-nat.c (i386_linux_read_btrace): New function.
2501 (_initialize_i386_linux_nat): Use it.
2503 2014-02-19 Tom Tromey <tromey@redhat.com>
2505 * target.h (struct target_ops) <to_teardown_btrace>: Add argument.
2506 * target.c (target_teardown_btrace): Add argument.
2507 * remote.c (remote_teardown_btrace): Add 'self' argument.
2508 * i386-linux-nat.c (i386_linux_teardown_btrace): Add 'self'
2510 * amd64-linux-nat.c (amd64_linux_teardown_btrace): Add 'self'
2513 2014-02-19 Tom Tromey <tromey@redhat.com>
2515 * target.h (struct target_ops) <to_disable_btrace>: Add argument.
2516 * target.c (target_disable_btrace): Add argument.
2517 * remote.c (remote_disable_btrace): Add 'self' argument.
2518 * i386-linux-nat.c (i386_linux_disable_btrace): Add 'self'
2520 * amd64-linux-nat.c (amd64_linux_disable_btrace): Add 'self'
2523 2014-02-19 Tom Tromey <tromey@redhat.com>
2525 * target.h (struct target_ops) <to_enable_btrace>: Add argument.
2526 * target.c (target_enable_btrace): Add argument.
2527 * remote.c (remote_enable_btrace): Add 'self' argument.
2528 * i386-linux-nat.c (i386_linux_enable_btrace): Add 'self'
2530 * amd64-linux-nat.c (amd64_linux_enable_btrace): Add 'self'
2533 2014-02-19 Tom Tromey <tromey@redhat.com>
2535 * target.h (struct target_ops) <to_can_use_agent>: Add argument.
2536 (target_can_use_agent): Add argument.
2537 * target.c (update_current_target): Update.
2538 * remote.c (remote_can_use_agent): Add 'self' argument.
2539 * inf-child.c (inf_child_can_use_agent): Add 'self' argument.
2541 2014-02-19 Tom Tromey <tromey@redhat.com>
2543 * target.h (struct target_ops) <to_use_agent>: Add argument.
2544 (target_use_agent): Add argument.
2545 * target.c (update_current_target): Update.
2546 * remote.c (remote_use_agent): Add 'self' argument.
2547 * inf-child.c (inf_child_use_agent): Add 'self' argument.
2549 2014-02-19 Tom Tromey <tromey@redhat.com>
2551 * tracepoint.c (tfile_traceframe_info): Add 'self' argument.
2552 * target.h (struct target_ops) <to_traceframe_info>: Add argument.
2553 (target_traceframe_info): Add argument.
2554 * target.c (update_current_target): Update.
2555 * remote.c (remote_traceframe_info): Add 'self' argument.
2556 * ctf.c (ctf_traceframe_info): Add 'self' argument.
2558 2014-02-19 Tom Tromey <tromey@redhat.com>
2560 * target.h (target_static_tracepoint_markers_by_strid): Add
2562 (struct target_ops) <to_static_tracepoint_markers_by_strid>: Add
2564 * target.c (update_current_target): Update.
2565 * remote.c (struct target_ops)
2566 <to_static_tracepoint_markers_by_strid>: Add 'self' argument.
2567 * linux-nat.c (struct target_ops)
2568 <to_static_tracepoint_markers_by_strid>: Add 'self' argument.
2570 2014-02-19 Tom Tromey <tromey@redhat.com>
2572 * target.h (struct target_ops) <to_static_tracepoint_marker_at>:
2574 (target_static_tracepoint_marker_at): Add argument.
2575 * target.c (update_current_target): Update.
2576 * remote.c (remote_static_tracepoint_marker_at): Add 'self'
2579 2014-02-19 Tom Tromey <tromey@redhat.com>
2581 * target.h (struct target_ops) <to_set_permissions>: Add argument.
2582 (target_set_permissions): Add argument.
2583 * target.c (update_current_target): Update.
2584 * remote.c (remote_set_permissions): Add 'self' argument.
2585 (remote_start_remote): Update.
2587 2014-02-19 Tom Tromey <tromey@redhat.com>
2589 * windows-nat.c (windows_get_tib_address): Add 'self' argument.
2590 * target.h (struct target_ops) <to_get_tib_address>: Add argument.
2591 (target_get_tib_address): Add argument.
2592 * target.c (update_current_target): Update.
2593 * remote.c (remote_get_tib_address): Add 'self' argument.
2595 2014-02-19 Tom Tromey <tromey@redhat.com>
2597 * target.h (struct target_ops) <to_set_trace_notes>: Add argument.
2598 (target_set_trace_notes): Add argument.
2599 * target.c (update_current_target): Update.
2600 * remote.c (remote_set_trace_notes): Add 'self' argument.
2602 2014-02-19 Tom Tromey <tromey@redhat.com>
2604 * target.h (struct target_ops) <to_set_trace_buffer_size>: Add
2606 (target_set_trace_buffer_size): Add argument.
2607 * target.c (update_current_target): Update.
2608 * remote.c (remote_set_trace_buffer_size): Add 'self' argument.
2610 2014-02-19 Tom Tromey <tromey@redhat.com>
2612 * target.h (struct target_ops) <to_set_circular_trace_buffer>: Add
2614 (target_set_circular_trace_buffer): Add argument.
2615 * target.c (update_current_target): Update.
2616 * remote.c (remote_set_circular_trace_buffer): Add 'self'
2619 2014-02-19 Tom Tromey <tromey@redhat.com>
2621 * target.h (struct target_ops) <to_set_disconnected_tracing>: Add
2623 (target_set_disconnected_tracing): Add argument.
2624 * target.c (update_current_target): Update.
2625 * remote.c (remote_set_disconnected_tracing): Add 'self' argument.
2627 2014-02-19 Tom Tromey <tromey@redhat.com>
2629 * target.h (struct target_ops)
2630 <to_get_min_fast_tracepoint_insn_len>: Add argument.
2631 (target_get_min_fast_tracepoint_insn_len): Add argument.
2632 * target.c (update_current_target): Update.
2633 * remote.c (remote_get_min_fast_tracepoint_insn_len): Add 'self'
2636 2014-02-19 Tom Tromey <tromey@redhat.com>
2638 * target.h (struct target_ops) <to_get_raw_trace_data>: Add
2640 (target_get_raw_trace_data): Add argument.
2641 * target.c (update_current_target): Update.
2642 * remote.c (remote_get_raw_trace_data): Add 'self' argument.
2644 2014-02-19 Tom Tromey <tromey@redhat.com>
2646 * target.h (struct target_ops) <to_upload_trace_state_variables>:
2648 (target_upload_trace_state_variables): Add argument.
2649 * target.c (update_current_target): Update.
2650 * remote.c (remote_upload_trace_state_variables): Add 'self'
2652 (remote_start_remote): Update.
2654 2014-02-19 Tom Tromey <tromey@redhat.com>
2656 * target.h (struct target_ops) <to_upload_tracepoints>: Add
2658 (target_upload_tracepoints): Add argument.
2659 * target.c (update_current_target): Update.
2660 * remote.c (remote_upload_tracepoints): Add 'self' argument.
2661 (remote_start_remote): Update.
2663 2014-02-19 Tom Tromey <tromey@redhat.com>
2665 * target.h (struct target_ops) <to_save_trace_data>: Add argument.
2666 (target_save_trace_data): Add argument.
2667 * target.c (update_current_target): Update.
2668 * remote.c (remote_save_trace_data): Add 'self' argument.
2670 2014-02-19 Tom Tromey <tromey@redhat.com>
2672 * tracepoint.c (tfile_get_trace_state_variable_value): Add 'self'
2674 * target.h (struct target_ops)
2675 <to_get_trace_state_variable_value>: Add argument.
2676 (target_get_trace_state_variable_value): Add argument.
2677 * target.c (update_current_target): Update.
2678 * remote.c (remote_get_trace_state_variable_value): Add 'self'
2680 * ctf.c (ctf_get_trace_state_variable_value): Add 'self' argument.
2682 2014-02-19 Tom Tromey <tromey@redhat.com>
2684 * tracepoint.c (tfile_trace_find): Add 'self' argument.
2685 * target.h (struct target_ops) <to_trace_find>: Add argument.
2686 (target_trace_find): Add argument.
2687 * target.c (update_current_target): Update.
2688 * remote.c (remote_trace_find): Add 'self' argument.
2689 * ctf.c (ctf_trace_find): Add 'self' argument.
2691 2014-02-19 Tom Tromey <tromey@redhat.com>
2693 * target.h (struct target_ops) <to_trace_stop>: Add argument.
2694 (target_trace_stop): Add argument.
2695 * target.c (update_current_target): Update.
2696 * remote.c (remote_trace_stop): Add 'self' argument.
2698 2014-02-19 Tom Tromey <tromey@redhat.com>
2700 * tracepoint.c (tfile_get_tracepoint_status): Add 'self' argument.
2701 * target.h (struct target_ops) <to_get_tracepoint_status>: Add
2703 (target_get_tracepoint_status): Add argument.
2704 * target.c (update_current_target): Update.
2705 * remote.c (remote_get_tracepoint_status): Add 'self' argument.
2707 2014-02-19 Tom Tromey <tromey@redhat.com>
2709 * tracepoint.c (tfile_get_trace_status): Add 'self' argument.
2710 * target.h (struct target_ops) <to_get_trace_status>: Add
2712 (target_get_trace_status): Add argument.
2713 * target.c (update_current_target): Update.
2714 * remote.c (remote_get_trace_status): Add 'self' argument.
2715 (remote_start_remote, remote_can_download_tracepoint): Update.
2716 * ctf.c (ctf_get_trace_status): Add 'self' argument.
2718 2014-02-19 Tom Tromey <tromey@redhat.com>
2720 * target.h (struct target_ops) <to_trace_start>: Add argument.
2721 (target_trace_start): Add argument.
2722 * target.c (update_current_target): Update.
2723 * remote.c (remote_trace_start): Add 'self' argument.
2725 2014-02-19 Tom Tromey <tromey@redhat.com>
2727 * target.h (struct target_ops) <to_trace_set_readonly_regions>:
2729 (target_trace_set_readonly_regions): Add argument.
2730 * target.c (update_current_target): Update.
2731 * remote.c (remote_trace_set_readonly_regions): Add 'self'
2734 2014-02-19 Tom Tromey <tromey@redhat.com>
2736 * target.h (struct target_ops) <to_disable_tracepoint>: Add
2738 (target_disable_tracepoint): Add argument.
2739 * target.c (update_current_target): Update.
2740 * remote.c (remote_disable_tracepoint): Add 'self' argument.
2742 2014-02-19 Tom Tromey <tromey@redhat.com>
2744 * target.h (struct target_ops) <to_enable_tracepoint>: Add
2746 (target_enable_tracepoint): Add argument.
2747 * target.c (update_current_target): Update.
2748 * remote.c (remote_enable_tracepoint): Add 'self' argument.
2750 2014-02-19 Tom Tromey <tromey@redhat.com>
2752 * target.h (struct target_ops) <to_download_trace_state_variable>:
2754 (target_download_trace_state_variable): Add argument.
2755 * target.c (update_current_target): Update.
2756 * remote.c (remote_download_trace_state_variable): Add 'self'
2759 2014-02-19 Tom Tromey <tromey@redhat.com>
2761 * target.h (struct target_ops) <to_can_download_tracepoint>: Add
2763 (target_can_download_tracepoint): Add argument.
2764 * target.c (update_current_target): Update.
2765 * remote.c (remote_can_download_tracepoint): Add 'self' argument.
2767 2014-02-19 Tom Tromey <tromey@redhat.com>
2769 * target.h (struct target_ops) <to_download_tracepoint>: Add
2771 (target_download_tracepoint): Add argument.
2772 * target.c (update_current_target): Update.
2773 * remote.c (remote_download_tracepoint): Add 'self' argument.
2775 2014-02-19 Tom Tromey <tromey@redhat.com>
2777 * target.h (struct target_ops) <to_trace_init>: Add argument.
2778 (target_trace_init): Add argument.
2779 * target.c (update_current_target): Update.
2780 * remote.c (remote_trace_init): Add 'self' argument.
2782 2014-02-19 Tom Tromey <tromey@redhat.com>
2784 * target.h (struct target_ops) <to_fileio_readlink>: Add argument.
2785 * target.c (target_fileio_readlink): Add argument.
2786 * remote.c (remote_hostio_readlink): Add 'self' argument.
2787 * inf-child.c (inf_child_fileio_readlink): Add 'self' argument.
2789 2014-02-19 Tom Tromey <tromey@redhat.com>
2791 * target.h (struct target_ops) <to_fileio_unlink>: Add argument.
2792 * target.c (target_fileio_unlink): Add argument.
2793 * remote.c (remote_hostio_unlink): Add 'self' argument.
2794 (remote_file_delete): Update.
2795 * inf-child.c (inf_child_fileio_unlink): Add 'self' argument.
2797 2014-02-19 Tom Tromey <tromey@redhat.com>
2799 * target.h (struct target_ops) <to_fileio_close>: Add argument.
2800 * target.c (target_fileio_close): Add argument.
2801 * remote.c (remote_hostio_close): Add 'self' argument.
2802 (remote_hostio_close_cleanup): Update.
2803 (remote_bfd_iovec_close, remote_file_put, remote_file_get):
2805 * inf-child.c (inf_child_fileio_close): Add 'self' argument.
2807 2014-02-19 Tom Tromey <tromey@redhat.com>
2809 * target.h (struct target_ops) <to_fileio_pread>: Add argument.
2810 * target.c (target_fileio_pread): Add argument.
2811 * remote.c (remote_hostio_pread): Add 'self' argument.
2812 (remote_bfd_iovec_pread, remote_file_get): Update.
2813 * inf-child.c (inf_child_fileio_pread): Add 'self' argument.
2815 2014-02-19 Tom Tromey <tromey@redhat.com>
2817 * target.h (struct target_ops) <to_fileio_pwrite>: Add argument.
2818 * target.c (target_fileio_pwrite): Add argument.
2819 * remote.c (remote_hostio_pwrite): Add 'self' argument.
2820 (remote_file_put): Update.
2821 * inf-child.c (inf_child_fileio_pwrite): Add 'self' argument.
2823 2014-02-19 Tom Tromey <tromey@redhat.com>
2825 * target.h (struct target_ops) <to_fileio_open>: Add argument.
2826 * target.c (target_fileio_open): Add argument.
2827 * remote.c (remote_hostio_open): Add 'self' argument.
2828 (remote_bfd_iovec_open): Add 'self' argument.
2829 (remote_file_put): Add 'self' argument.
2830 (remote_file_get): Add 'self' argument.
2831 * inf-child.c (inf_child_fileio_open): Add 'self' argument.
2833 2014-02-19 Tom Tromey <tromey@redhat.com>
2835 * target.h (struct target_ops) <to_can_run_breakpoint_commands>:
2837 (target_can_run_breakpoint_commands): Add argument.
2838 * target.c (update_current_target): Update.
2839 * remote.c (remote_can_run_breakpoint_commands): Add 'self'
2841 (remote_insert_breakpoint): Add 'self' argument.
2842 (remote_insert_hw_breakpoint): Add 'self' argument.
2843 (remote_can_run_breakpoint_commands): Add 'self' argument.
2845 2014-02-19 Tom Tromey <tromey@redhat.com>
2847 * target.h (struct target_ops)
2848 <to_supports_evaluation_of_breakpoint_conditions>: Add argument.
2849 (target_supports_evaluation_of_breakpoint_conditions): Add
2851 * target.c (update_current_target): Update.
2852 * remote.c (remote_supports_cond_breakpoints): Add 'self'
2854 (remote_insert_breakpoint): Add 'self' argument.
2855 (remote_insert_hw_breakpoint): Add 'self' argument.
2856 (remote_supports_cond_breakpoints): Add 'self' argument.
2858 2014-02-19 Tom Tromey <tromey@redhat.com>
2860 * target.h (struct target_ops) <to_supports_string_tracing>: Add
2862 (target_supports_string_tracing): Add argument.
2863 * target.c (update_current_target): Update.
2864 * remote.c (remote_supports_string_tracing): Add 'self' argument.
2866 2014-02-19 Tom Tromey <tromey@redhat.com>
2868 * target.h (struct target_ops)
2869 <to_supports_disable_randomization>: Add argument.
2870 * target.c (find_default_supports_disable_randomization): Add
2872 (target_supports_disable_randomization): Add argument.
2873 (find_default_supports_disable_randomization): Add 'self'
2875 * remote.c (extended_remote_supports_disable_randomization): Add
2877 (remote_supports_disable_randomization): Add 'self' argument.
2878 (extended_remote_create_inferior): Update.
2879 * linux-nat.c (linux_nat_supports_disable_randomization): Add
2882 2014-02-19 Tom Tromey <tromey@redhat.com>
2884 * target.h (struct target_ops)
2885 <to_supports_enable_disable_tracepoint>: Add argument.
2886 (target_supports_enable_disable_tracepoint): Add argument.
2887 * target.c (update_current_target): Update.
2888 * remote.c (remote_supports_enable_disable_tracepoint): Add 'self'
2891 2014-02-19 Tom Tromey <tromey@redhat.com>
2893 * target.h (struct target_ops) <to_supports_multi_process>: Add
2895 (target_supports_multi_process): Add argument.
2896 * target.c (update_current_target): Update.
2897 * remote.c (remote_supports_multi_process): Add 'self' argument.
2898 * linux-nat.c (linux_nat_supports_multi_process): Add 'self'
2900 * darwin-nat.c (darwin_supports_multi_process): Add 'self'
2903 2014-02-19 Tom Tromey <tromey@redhat.com>
2905 * target.h (struct target_ops) <to_execution_direction>: Add
2907 (target_execution_direction): Add argument.
2908 * target.c (default_execution_direction): Add 'self' argument.
2909 * record-full.c (record_full_execution_direction): Add 'self'
2912 2014-02-19 Tom Tromey <tromey@redhat.com>
2914 * target.h (struct target_ops) <to_can_execute_reverse>: Add
2916 (target_can_execute_reverse): Add argument.
2917 * remote.c (remote_can_execute_reverse): Add 'self' argument.
2918 * record-full.c (record_full_can_execute_reverse): Add 'self'
2920 * record-btrace.c (record_btrace_can_execute_reverse): Add 'self'
2923 2014-02-19 Tom Tromey <tromey@redhat.com>
2925 * windows-nat.c (windows_get_ada_task_ptid): Add 'self' argument.
2926 * target.h (struct target_ops) <to_get_ada_task_ptid>: Add
2928 (target_get_ada_task_ptid): Add argument.
2929 * target.c (update_current_target): Update.
2930 (default_get_ada_task_ptid): Add 'self' argument.
2931 * sol-thread.c (sol_get_ada_task_ptid): Add 'self' argument.
2932 * remote.c (remote_get_ada_task_ptid): Add 'self' argument.
2933 * ravenscar-thread.c (ravenscar_get_ada_task_ptid): Add 'self'
2935 * linux-thread-db.c (thread_db_get_ada_task_ptid): Add 'self'
2937 * inf-ttrace.c (inf_ttrace_get_ada_task_ptid): Add 'self'
2939 * dec-thread.c (dec_thread_get_ada_task_ptid): Add 'self'
2941 * darwin-nat.c (darwin_get_ada_task_ptid): Add 'self' argument.
2942 * aix-thread.c (aix_thread_get_ada_task_ptid): Add 'self'
2945 2014-02-19 Tom Tromey <tromey@redhat.com>
2947 * target.h (struct target_ops) <to_goto_bookmark>: Add argument.
2948 (target_goto_bookmark): Add argument.
2949 * target.c (dummy_goto_bookmark): Add 'self' argument.
2950 * record-full.c (record_full_goto_bookmark): Add 'self' argument.
2952 2014-02-19 Tom Tromey <tromey@redhat.com>
2954 * target.h (struct target_ops) <to_get_bookmark>: Add argument.
2955 (target_get_bookmark): Add argument.
2956 * target.c (dummy_get_bookmark): Add 'self' argument.
2957 * record-full.c (record_full_get_bookmark): Add 'self' argument.
2959 2014-02-19 Tom Tromey <tromey@redhat.com>
2961 * target.h (struct target_ops) <to_make_corefile_notes>: Add
2963 (target_make_corefile_notes): Add argument.
2964 * target.c (dummy_make_corefile_notes): Add 'self' argument.
2965 * procfs.c (procfs_make_note_section): Add 'self' argument.
2966 (procfs_make_note_section): Add 'self' argument.
2967 (procfs_make_note_section): Add 'self' argument.
2968 * linux-nat.c (linux_nat_make_corefile_notes): Add 'self'
2970 * fbsd-nat.h (fbsd_make_corefile_notes): Add 'self' argument.
2971 * fbsd-nat.c (fbsd_make_corefile_notes): Add 'self' argument.
2972 * exec.c (exec_make_note_section): Add 'self' argument.
2973 (exec_make_note_section): Add 'self' argument.
2975 2014-02-19 Tom Tromey <tromey@redhat.com>
2977 * target.h (struct target_ops) <to_find_memory_regions>: Add
2979 (target_find_memory_regions): Add argument.
2980 * target.c (dummy_find_memory_regions): Add 'self' argument.
2981 * procfs.c (proc_find_memory_regions): Add 'self' argument.
2982 * gnu-nat.c (gnu_find_memory_regions): Add 'self' argument.
2983 * fbsd-nat.h (fbsd_find_memory_regions): Add 'self' argument.
2984 * fbsd-nat.c (fbsd_find_memory_regions): Add 'self' argument.
2985 * exec. (exec_do_find_memory_regions): New global.
2986 (exec_set_find_memory_regions): Rewrite.
2987 (exec_find_memory_regions): New function.
2988 (init_exec_ops): Use exec_find_memory_regions.
2990 2014-02-19 Tom Tromey <tromey@redhat.com>
2992 * target.h (struct target_ops) <to_supports_non_stop>: Add
2994 * target.c (find_default_supports_non_stop): Add argument.
2995 (target_supports_non_stop): Add argument.
2996 (find_default_supports_non_stop): Add 'self' argument.
2997 * remote.c (remote_supports_non_stop): Add 'self' argument.
2998 * linux-nat.c (linux_nat_supports_non_stop): Add 'self' argument.
3000 2014-02-19 Tom Tromey <tromey@redhat.com>
3002 * target.h (struct target_ops) <to_log_command>: Add argument.
3003 (target_log_command): Add argument.
3004 * serial.h (serial_log_command): Add 'self' argument.
3005 * serial.c (serial_log_command): Add 'self' argument.
3007 2014-02-19 Tom Tromey <tromey@redhat.com>
3009 * windows-nat.c (windows_pid_to_exec_file): Add 'self' argument.
3010 * target.h (struct target_ops) <to_pid_to_exec_file>: Add
3012 (target_pid_to_exec_file): Add argument.
3013 * target.c (debug_to_pid_to_exec_file): Add argument.
3014 (update_current_target): Update.
3015 * nbsd-nat.h (nbsd_pid_to_exec_file): Add 'self' argument.
3016 * nbsd-nat.c (nbsd_pid_to_exec_file): Add 'self' argument.
3017 * linux-nat.c (linux_child_pid_to_exec_file): Add 'self' argument.
3018 (linux_handle_extended_wait): Update.
3019 * inf-child.c (inf_child_pid_to_exec_file): Add 'self' argument.
3020 * fbsd-nat.h (fbsd_pid_to_exec_file): Add 'self' argument.
3021 * fbsd-nat.c (fbsd_pid_to_exec_file): Add 'self' argument.
3022 * darwin-nat.c (darwin_pid_to_exec_file): Add 'self' argument.
3024 2014-02-19 Tom Tromey <tromey@redhat.com>
3026 * target.h (struct target_ops) <to_rcmd>: Add argument.
3027 (target_rcmd): Add argument.
3028 * target.c (debug_to_rcmd): Add argument.
3029 (update_current_target, do_monitor_command): Update.
3030 * remote.c (remote_rcmd): Add 'self' argument.
3031 * monitor.c (monitor_rcmd): Add 'self' argument.
3033 2014-02-19 Tom Tromey <tromey@redhat.com>
3035 * windows-nat.c (windows_stop): Add 'self' argument.
3036 * target.h (struct target_ops) <to_stop>: Add argument.
3037 * target.c (target_stop): Add argument.
3038 (debug_to_stop): Add argument.
3039 (update_current_target): Update.
3040 * remote.c (remote_stop): Add 'self' argument.
3041 * remote-sim.c (gdbsim_stop): Add 'self' argument.
3042 (gdbsim_cntrl_c): Update.
3043 * remote-m32r-sdi.c (m32r_stop): Add 'self' argument.
3044 * procfs.c (procfs_stop): Add 'self' argument.
3045 * nto-procfs.c (procfs_stop): Add 'self' argument.
3046 * monitor.c (monitor_stop): Add 'self' argument.
3047 (monitor_open): Update.
3048 * linux-nat.c (linux_nat_stop): Add argument.
3049 * inf-ptrace.c (inf_ptrace_stop): Add 'self' argument.
3050 * gnu-nat.c (gnu_stop): Add 'self' argument.
3051 * darwin-nat.c (darwin_stop): Add 'self' argument.
3053 2014-02-19 Tom Tromey <tromey@redhat.com>
3055 * target.h (struct target_ops) <to_thread_name>: Add argument.
3056 * target.c (target_thread_name): Add argument.
3057 (update_current_target): Update.
3058 * linux-nat.c (linux_nat_thread_name): Add 'self' argument.
3060 2014-02-19 Tom Tromey <tromey@redhat.com>
3062 * target.h (struct target_ops) <to_extra_thread_info>: Add
3064 (target_extra_thread_info): Add argument.
3065 * target.c (update_current_target): Update.
3066 * remote.c (remote_threads_extra_info): Add 'self' argument.
3067 * ravenscar-thread.c (ravenscar_extra_thread_info): Add 'self'
3069 * nto-tdep.h (nto_extra_thread_info): Add 'self' argument.
3070 * nto-tdep.c (nto_extra_thread_info): Add 'self' argument.
3071 * linux-thread-db.c (thread_db_extra_thread_info): Add 'self'
3073 * inf-ttrace.c (inf_ttrace_extra_thread_info): Add 'self'
3075 * bsd-uthread.c (bsd_uthread_extra_thread_info): Add 'self'
3077 * aix-thread.c (aix_thread_extra_thread_info): Add 'self'
3080 2014-02-19 Tom Tromey <tromey@redhat.com>
3082 * target.h (struct target_ops) <to_program_signals>: Add argument.
3083 * target.c (target_program_signals): Add argument.
3084 * remote.c (remote_program_signals): Add 'self' argument.
3086 2014-02-19 Tom Tromey <tromey@redhat.com>
3088 * target.h (struct target_ops) <to_pass_signals>: Add argument.
3089 * target.c (target_pass_signals): Add argument.
3090 * remote.c (remote_pass_signals): Add 'self' argument.
3091 (remote_start_remote): Update.
3092 * procfs.c (procfs_pass_signals): Add 'self' argument.
3093 * nto-procfs.c (procfs_pass_signals): Add 'self' argument.
3094 * linux-nat.c (linux_nat_pass_signals): Add 'self' argument.
3095 (linux_nat_create_inferior, linux_nat_attach): Update.
3097 2014-02-19 Tom Tromey <tromey@redhat.com>
3099 * windows-nat.c (windows_can_run): Add 'self' argument.
3100 * target.h (struct target_ops) <to_can_run>: Add argument.
3101 (target_can_run): Add argument.
3102 * target.c (debug_to_can_run): Add argument.
3103 (update_current_target): Update.
3104 * nto-procfs.c (procfs_can_run): Add 'self' argument.
3105 * inf-child.c (inf_child_can_run): Add 'self' argument.
3106 * go32-nat.c (go32_can_run): Add 'self' argument.
3108 2014-02-19 Tom Tromey <tromey@redhat.com>
3110 * target.h (struct target_ops) <to_has_exited>: Add argument.
3111 (target_has_exited): Add argument.
3112 * target.c (debug_to_has_exited): Add argument.
3113 (update_current_target): Update.
3115 2014-02-19 Tom Tromey <tromey@redhat.com>
3117 * target.h (struct target_ops) <to_set_syscall_catchpoint>: Add
3119 (target_set_syscall_catchpoint): Add argument.
3120 * linux-nat.c (linux_child_set_syscall_catchpoint): Add 'self'
3122 * target.c (update_current_target): Update.
3124 2014-02-19 Tom Tromey <tromey@redhat.com>
3126 * target.h (struct target_ops) <to_remove_exec_catchpoint>: Add
3128 (target_remove_exec_catchpoint): Add argument.
3129 * target.c (debug_to_remove_exec_catchpoint): Add argument.
3130 (update_current_target): Update.
3131 * linux-nat.c (linux_child_remove_exec_catchpoint): Add 'self'
3134 2014-02-19 Tom Tromey <tromey@redhat.com>
3136 * target.h (struct target_ops) <to_insert_exec_catchpoint>: Add
3138 (target_insert_exec_catchpoint): Add argument.
3139 * target.c (debug_to_insert_exec_catchpoint): Add argument.
3140 (update_current_target): Update.
3141 * linux-nat.c (linux_child_insert_exec_catchpoint): Add 'self'
3144 2014-02-19 Tom Tromey <tromey@redhat.com>
3146 * target.h (struct target_ops) <to_remove_vfork_catchpoint>: Add
3148 (target_remove_vfork_catchpoint): Add argument.
3149 * target.c (debug_to_remove_vfork_catchpoint): Add argument.
3150 (update_current_target): Update.
3151 * linux-nat.c (linux_child_remove_vfork_catchpoint): Add 'self'
3154 2014-02-19 Tom Tromey <tromey@redhat.com>
3156 * target.h (struct target_ops) <to_insert_vfork_catchpoint>: Add
3158 (target_insert_vfork_catchpoint): Add argument.
3159 * target.c (debug_to_insert_vfork_catchpoint): Add argument.
3160 (update_current_target): Update.
3161 * linux-nat.c (linux_child_insert_vfork_catchpoint): Add 'self'
3164 2014-02-19 Tom Tromey <tromey@redhat.com>
3166 * target.h (struct target_ops) <to_remove_fork_catchpoint>: Add
3168 (target_remove_fork_catchpoint): Add argument.
3169 * target.c (debug_to_remove_fork_catchpoint): Add argument.
3170 (update_current_target): Update.
3171 * linux-nat.c (linux_child_remove_fork_catchpoint): Add 'self'
3174 2014-02-19 Tom Tromey <tromey@redhat.com>
3176 * target.h (struct target_ops) <to_insert_fork_catchpoint>: Add
3178 (target_insert_fork_catchpoint): Add argument.
3179 * target.c (debug_to_insert_fork_catchpoint): Add argument.
3180 (update_current_target): Update.
3181 * linux-nat.c (linux_child_insert_fork_catchpoint): Add 'self'
3184 2014-02-19 Tom Tromey <tromey@redhat.com>
3186 * target.h (struct target_ops) <to_post_startup_inferior>: Add
3188 (target_post_startup_inferior): Add argument.
3189 * target.c (debug_to_post_startup_inferior): Add argument.
3190 (update_current_target): Update.
3191 * spu-linux-nat.c (spu_child_post_startup_inferior): Add 'self'
3193 * linux-nat.c (linux_child_post_startup_inferior): Add 'self'
3195 * inf-ptrace.c (inf_ptrace_post_startup_inferior): Add 'self'
3197 * inf-child.c (inf_child_post_startup_inferior): Add 'self'
3199 * i386-linux-nat.c (i386_linux_child_post_startup_inferior): Add
3201 (super_post_startup_inferior): Likewise.
3202 * amd64-linux-nat.c (amd64_linux_child_post_startup_inferior): Add
3204 (super_post_startup_inferior): Likewise.
3205 * aarch64-linux-nat.c (aarch64_linux_child_post_startup_inferior):
3206 Add 'self' argument.
3207 (super_post_startup_inferior): Likewise.
3209 2014-02-19 Tom Tromey <tromey@redhat.com>
3211 * target.h (struct target_ops) <to_load>: Add argument.
3212 * target.c (target_load): Add argument.
3213 (debug_to_load): Add argument.
3214 (update_current_target): Update.
3215 * remote.c (remote_load): Add 'self' argument.
3216 * remote-sim.c (gdbsim_load): Add 'self' argument.
3217 * remote-mips.c (mips_load): Add 'self' argument.
3218 * remote-m32r-sdi.c (m32r_load): Add 'self' argument.
3219 * monitor.c (monitor_load): Add 'self' argument.
3220 * m32r-rom.c (m32r_load_gen): Add 'self' argument.
3222 2014-02-19 Tom Tromey <tromey@redhat.com>
3224 * target.h (struct target_ops) <to_terminal_info>: Add argument.
3225 (target_terminal_info): Add argument.
3226 * target.c (debug_to_terminal_info): Add argument.
3227 (default_terminal_info): Likewise.
3228 * inflow.c (child_terminal_info): Add 'self' argument.
3229 * inferior.h (child_terminal_info): Add 'self' argument.
3230 * go32-nat.c (go32_terminal_info): Add 'self' argument.
3232 2014-02-19 Tom Tromey <tromey@redhat.com>
3234 * target.h (struct target_ops) <to_terminal_save_ours>: Add
3236 (target_terminal_save_ours): Add argument.
3237 * target.c (debug_to_terminal_save_ours): Add argument.
3238 (update_current_target): Update.
3239 * inflow.c (terminal_save_ours): Add 'self' argument.
3240 * inferior.h (terminal_save_ours): Add 'self' argument.
3242 2014-02-19 Tom Tromey <tromey@redhat.com>
3244 * target.h (struct target_ops) <to_terminal_ours>: Add argument.
3245 (target_terminal_ours): Add argument.
3246 * target.c (debug_to_terminal_ours): Add argument.
3247 (update_current_target): Update.
3248 * remote.c (remote_terminal_ours): Add 'self' argument.
3249 (remote_close): Update.
3250 * linux-nat.c (linux_nat_terminal_ours): Add 'self' argument.
3251 * inflow.c (terminal_ours): Add 'self' argument.
3252 * inferior.h (terminal_ours): Add 'self' argument.
3253 * go32-nat.c (go32_terminal_ours): Add 'self' argument.
3255 2014-02-19 Pedro Alves <palves@redhat.com>
3256 Tom Tromey <tromey@redhat.com>
3258 * target.h (struct target_ops) <to_terminal_ours_for_output>: Add
3260 (target_terminal_ours_for_output): Add argument.
3261 * target.c (debug_to_terminal_ours_for_output): Add argument.
3262 (update_current_target): Update.
3263 * inflow.c (terminal_ours_for_output): Add 'self' argument.
3264 * inferior.h (terminal_ours_for_output): Add 'self' argument.
3265 * go32-nat.c (go32_terminal_ours): Add 'self' argument.
3267 2014-02-19 Tom Tromey <tromey@redhat.com>
3269 * target.h (struct target_ops) <to_terminal_inferior>: Add
3271 * target.c (target_terminal_inferior): Add argument.
3272 (update_current_target): Update.
3273 * remote.c (remote_terminal_inferior): Add 'self' argument.
3274 * linux-nat.c (linux_nat_terminal_inferior): Add 'self' argument.
3275 * inflow.c (terminal_inferior): Add 'self' argument.
3276 * inferior.h (terminal_inferior): Add 'self' argument.
3277 * go32-nat.c (go32_terminal_inferior): Add 'self' argument.
3278 (go32_terminal_inferior): Add 'self' argument.
3280 2014-02-19 Tom Tromey <tromey@redhat.com>
3282 * target.h (struct target_ops) <to_terminal_init>: Add argument.
3283 (target_terminal_init): Add argument.
3284 * target.c (debug_to_terminal_init): Add argument.
3285 (update_current_target): Update.
3286 * inflow.c (terminal_init_inferior): Add 'self' argument.
3287 * inferior.h (terminal_init_inferior): Add 'self' argument.
3288 * go32-nat.c (go32_terminal_init): Add 'self' argument.
3289 * gnu-nat.c (gnu_terminal_init_inferior): Add 'self' argument.
3291 2014-02-19 Tom Tromey <tromey@redhat.com>
3293 * target.h (struct target_ops)
3294 <to_can_accel_watchpoint_condition>: Add argument.
3295 (target_can_accel_watchpoint_condition): Add argument.
3296 * target.c (debug_to_can_accel_watchpoint_condition): Add
3298 (update_current_target): Update.
3299 * ppc-linux-nat.c (ppc_linux_can_accel_watchpoint_condition): Add
3302 2014-02-19 Tom Tromey <tromey@redhat.com>
3304 * target.h (struct target_ops) <to_region_ok_for_hw_watchpoint>:
3306 (target_region_ok_for_hw_watchpoint): Add argument.
3307 * target.c (debug_to_region_ok_for_hw_watchpoint): Add argument.
3308 (default_region_ok_for_hw_watchpoint): Add argument.
3309 * spu-multiarch.c (spu_region_ok_for_hw_watchpoint): Add argument.
3310 * s390-linux-nat.c (s390_region_ok_for_hw_watchpoint): Add 'self'
3312 * remote.c (remote_region_ok_for_hw_watchpoint): Add 'self'
3314 * procfs.c (procfs_region_ok_for_hw_watchpoint): Add 'self'
3316 * ppc-linux-nat.c (ppc_linux_region_ok_for_hw_watchpoint): Add
3318 * mips-linux-nat.c (mips_linux_region_ok_for_hw_watchpoint): Add
3320 * inf-ttrace.c (inf_ttrace_region_ok_for_hw_watchpoint): Add
3322 * i386-nat.c (i386_region_ok_for_watchpoint): Add 'self' argument.
3323 * arm-linux-nat.c (arm_linux_region_ok_for_hw_watchpoint): Add
3325 * aarch64-linux-nat.c (aarch64_linux_region_ok_for_hw_watchpoint):
3326 Add 'self' argument.
3328 2014-02-19 Tom Tromey <tromey@redhat.com>
3330 * target.h (struct target_ops) <to_insert_watchpoint>: Add
3332 (target_insert_watchpoint): Add argument.
3333 * target.c (debug_to_insert_watchpoint): Add argument.
3334 (update_current_target): Update.
3335 * s390-linux-nat.c (s390_insert_watchpoint): Add 'self' argument.
3336 * remote.c (remote_insert_watchpoint): Add 'self' argument.
3337 * remote-mips.c (mips_insert_watchpoint): Add 'self' argument.
3338 * remote-m32r-sdi.c (m32r_insert_watchpoint): Add 'self' argument.
3339 * procfs.c (procfs_insert_watchpoint): Add 'self' argument.
3340 * ppc-linux-nat.c (ppc_linux_insert_watchpoint): Add 'self'
3342 * nto-procfs.c (procfs_insert_hw_watchpoint): Add 'self' argument.
3343 (procfs_insert_hw_watchpoint): Add 'self' argument.
3344 * mips-linux-nat.c (mips_linux_insert_watchpoint): Add 'self'
3346 * inf-ttrace.c (inf_ttrace_insert_watchpoint): Add 'self'
3348 * ia64-linux-nat.c (ia64_linux_insert_watchpoint): Add 'self'
3350 * i386-nat.c (i386_insert_watchpoint): Add 'self' argument.
3351 * arm-linux-nat.c (arm_linux_insert_watchpoint): Add 'self'
3353 * aarch64-linux-nat.c (aarch64_linux_insert_watchpoint): Add
3356 2014-02-19 Tom Tromey <tromey@redhat.com>
3358 * target.h (struct target_ops) <to_remove_watchpoint>: Add
3360 (target_remove_watchpoint): Add argument.
3361 * target.c (debug_to_remove_watchpoint): Add argument.
3362 (update_current_target): Update.
3363 * s390-linux-nat.c (s390_remove_watchpoint): Add 'self' argument.
3364 * remote.c (remote_remove_watchpoint): Add 'self' argument.
3365 * remote-mips.c (mips_remove_watchpoint): Add 'self' argument.
3366 * remote-m32r-sdi.c (m32r_remove_watchpoint): Add 'self' argument.
3367 * procfs.c (procfs_remove_watchpoint): Add 'self' argument.
3368 * ppc-linux-nat.c (ppc_linux_remove_watchpoint): Add 'self'
3370 * nto-procfs.c (procfs_remove_hw_watchpoint): Add 'self' argument.
3371 * mips-linux-nat.c (mips_linux_remove_watchpoint): Add 'self'
3373 * inf-ttrace.c (inf_ttrace_remove_watchpoint): Add 'self'
3375 * ia64-linux-nat.c (ia64_linux_remove_watchpoint): Add 'self'
3377 * i386-nat.c (i386_remove_watchpoint): Add 'self' argument.
3378 * arm-linux-nat.c (arm_linux_remove_watchpoint): Add 'self'
3380 * aarch64-linux-nat.c (aarch64_linux_remove_watchpoint): Add
3383 2014-02-19 Tom Tromey <tromey@redhat.com>
3385 * target.h (struct target_ops) <to_remove_hw_breakpoint>: Add
3387 (target_remove_hw_breakpoint): Add argument.
3388 * target.c (debug_to_remove_hw_breakpoint): Add argument.
3389 (update_current_target): Update.
3390 * remote.c (remote_remove_hw_breakpoint): Add 'self' argument.
3391 * ppc-linux-nat.c (ppc_linux_remove_hw_breakpoint): Add 'self'
3393 * i386-nat.c (i386_remove_hw_breakpoint): Add 'self' argument.
3394 * arm-linux-nat.c (arm_linux_remove_hw_breakpoint): Add 'self'
3396 * aarch64-linux-nat.c (aarch64_linux_remove_hw_breakpoint): Add
3399 2014-02-19 Tom Tromey <tromey@redhat.com>
3401 * target.h (struct target_ops) <to_insert_hw_breakpoint>: Add
3403 (target_insert_hw_breakpoint): Add argument.
3404 * target.c (debug_to_insert_hw_breakpoint): Add argument.
3405 (update_current_target): Update.
3406 * remote.c (remote_insert_hw_breakpoint): Add 'self' argument.
3407 * ppc-linux-nat.c (ppc_linux_insert_hw_breakpoint): Add 'self'
3409 * nto-procfs.c (procfs_insert_hw_breakpoint): Add 'self' argument.
3410 * i386-nat.c (i386_insert_hw_breakpoint): Add 'self' argument.
3411 * arm-linux-nat.c (arm_linux_insert_hw_breakpoint): Add 'self'
3413 * aarch64-linux-nat.c (aarch64_linux_insert_hw_breakpoint): Add
3416 2014-02-19 Tom Tromey <tromey@redhat.com>
3418 * target.h (struct target_ops) <to_can_use_hw_breakpoint>: Add
3420 (target_can_use_hardware_watchpoint): Add argument.
3421 * target.c (debug_to_can_use_hw_breakpoint): Add argument.
3422 (update_current_target): Update.
3423 * spu-linux-nat.c (spu_can_use_hw_breakpoint): Add 'self'
3425 * s390-linux-nat.c (s390_can_use_hw_breakpoint): Add 'self'
3427 * remote.c (remote_check_watch_resources): Add 'self' argument.
3428 * remote-mips.c (mips_can_use_watchpoint): Add 'self' argument.
3429 * remote-m32r-sdi.c (m32r_can_use_hw_watchpoint): Add 'self'
3431 * procfs.c (procfs_can_use_hw_breakpoint): Add 'self' argument.
3432 * ppc-linux-nat.c (ppc_linux_can_use_hw_breakpoint): Add 'self'
3434 * nto-procfs.c (procfs_can_use_hw_breakpoint): Add 'self'
3436 * mips-linux-nat.c (mips_linux_can_use_hw_breakpoint): Add 'self'
3438 * inf-ttrace.c (inf_ttrace_can_use_hw_breakpoint): Add 'self'
3440 * ia64-linux-nat.c (ia64_linux_can_use_hw_breakpoint): Add 'self'
3442 * ia64-hpux-nat.c (ia64_hpux_can_use_hw_breakpoint): Add 'self'
3444 * i386-nat.c (i386_can_use_hw_breakpoint): Add 'self' argument.
3445 * arm-linux-nat.c (arm_linux_can_use_hw_breakpoint): Add 'self'
3447 * aarch64-linux-nat.c (aarch64_linux_can_use_hw_breakpoint): Add
3450 2014-02-19 Tom Tromey <tromey@redhat.com>
3452 * target.h (struct target_ops) <to_post_attach>: Add argument.
3453 (target_post_attach): Add argument.
3454 * target.c (debug_to_post_attach): Add argument.
3455 (update_current_target): Update.
3456 * spu-linux-nat.c (spu_child_post_attach): Add 'self' argument.
3457 * nto-procfs.c (procfs_post_attach): Add 'self' argument.
3458 * linux-nat.c (linux_child_post_attach): Add 'self' argument.
3459 * inf-ptrace.c (inf_ptrace_post_attach): Add 'self' argument.
3460 * inf-child.c (inf_child_post_attach): Add 'self' argument.
3462 2014-02-19 Tom Tromey <tromey@redhat.com>
3464 * windows-nat.c (windows_close): Add 'self' argument.
3465 * tracepoint.c (tfile_close): Add 'self' argument.
3466 * target.h (struct target_ops) <to_close>: Add argument.
3467 * target.c (target_close): Add argument.
3468 (update_current_target): Update.
3469 * remote.c (remote_close): Add 'self' argument.
3470 * remote-sim.c (gdbsim_close): Add 'self' argument.
3471 * remote-mips.c (mips_close): Add 'self' argument.
3472 * remote-m32r-sdi.c (m32r_close): Add 'self' argument.
3473 * record-full.c (record_full_close): Add 'self' argument.
3474 * record-btrace.c (record_btrace_close): Add 'self' argument.
3475 * monitor.h (monitor_close): Add 'self' argument.
3476 * monitor.c (monitor_close): Add 'self' argument.
3477 * mips-linux-nat.c (mips_linux_close): Add 'self' argument.
3478 * linux-nat.c (linux_nat_close): Add argument.
3479 * go32-nat.c (go32_close): Add 'self' argument.
3480 * exec.c (exec_close_1): Add 'self' argument.
3481 * ctf.c (ctf_close): Add 'self' argument.
3482 * corelow.c (core_close): Add 'self' argument.
3483 (core_close_cleanup): Update.
3484 * bsd-uthread.c (bsd_uthread_close): Add 'self' argument.
3485 * bsd-kvm.c (bsd_kvm_close): Add 'self' argument.
3487 2014-02-19 Tom Tromey <tromey@redhat.com>
3489 * remote.c (remote_load): New function.
3490 (init_remote_ops): Use it.
3492 2014-02-19 Tom Tromey <tromey@redhat.com>
3494 * common/linux-btrace.c (linux_supports_btrace): Add "ops"
3496 * common/linux-btrace.h (linux_supports_btrace): Update.
3497 * remote.c (remote_supports_btrace): Add "self" argument.
3498 * target-delegates.c: Rebuild.
3499 * target.c (target_supports_btrace): Remove.
3500 * target.h (struct target_ops) <to_supports_btrace>: Add
3501 target_ops argument.
3502 (target_supports_btrace): New define.
3504 2014-02-19 Tom Tromey <tromey@redhat.com>
3506 * record-full.c (record_full_beneath_to_resume_ops)
3507 (record_full_beneath_to_resume, record_full_beneath_to_wait_ops)
3508 (record_full_beneath_to_wait)
3509 (record_full_beneath_to_store_registers_ops)
3510 (record_full_beneath_to_store_registers)
3511 (record_full_beneath_to_xfer_partial_ops)
3512 (record_full_beneath_to_xfer_partial)
3513 (record_full_beneath_to_insert_breakpoint_ops)
3514 (record_full_beneath_to_insert_breakpoint)
3515 (record_full_beneath_to_remove_breakpoint_ops)
3516 (record_full_beneath_to_remove_breakpoint)
3517 (record_full_beneath_to_stopped_by_watchpoint)
3518 (record_full_beneath_to_stopped_data_address)
3519 (record_full_beneath_to_async, tmp_to_resume_ops, tmp_to_resume)
3520 (tmp_to_wait_ops, tmp_to_wait, tmp_to_store_registers_ops)
3521 (tmp_to_store_registers, tmp_to_xfer_partial_ops)
3522 (tmp_to_xfer_partial, tmp_to_instmp_to_insert_breakpoint_ops)
3523 (tmp_to_insert_breakpoint, tmp_to_remove_breakpoint_ops)
3524 (tmp_to_remove_breakpoint, tmp_to_stopped_by_watchpoint)
3525 (tmp_to_stopped_data_address, tmp_to_async): Remove.
3526 (record_full_open_1, record_full_open): Update. Use RECORD_IS_USED.
3527 (record_full_resume, record_full_wait_1)
3528 (record_full_stopped_by_watchpoint, record_full_stopped_data_address)
3529 (record_full_store_registers, record_full_xfer_partial)
3530 (record_full_insert_breakpoint, record_full_remove_breakpoint)
3531 (record_full_async, record_full_core_xfer_partial): Use target
3533 * target-delegates.c: Rebuild.
3534 * target.c (current_xfer_partial): Remove.
3535 (update_current_target): Do not INHERIT or de_fault
3536 to_insert_breakpoint, to_remove_breakpoint,
3537 to_stopped_data_address, to_stopped_by_watchpoint, to_can_async_p,
3538 to_is_async_p, to_async. Do not set to_xfer_partial field.
3539 (default_xfer_partial): Simplify.
3540 (current_xfer_partial): Remove.
3541 (target_wait, target_resume): Simplify.
3542 (find_default_can_async_p, find_default_is_async_p): Update.
3543 (init_dummy_target): Don't set to_can_async_p, to_is_async_p,
3544 to_xfer_partial, to_stopped_by_watchpoint,
3545 to_stopped_data_address.
3546 (target_store_registers): Simplify.
3547 (forward_target_remove_breakpoint)
3548 (forward_target_insert_breakpoint): Remove.
3549 (target_remove_breakpoint, target_insert_breakpoint)
3550 (debug_to_insert_breakpoint, debug_to_remove_breakpoint): Update.
3551 * target.h (struct target_ops) <to_resume, to_wait,
3552 to_store_registers, to_insert_breakpoint, to_remove_breakpoint,
3553 to_stopped_by_watchpoint, to_stopped_data_address, to_can_async_p,
3554 to_is_async_p, to_async, to_xfer_partial>: Add TARGET_DEFAULT
3556 (forward_target_remove_breakpoint)
3557 (forward_target_insert_breakpoint): Remove.
3558 * record-btrace.c (record_btrace_remove_breakpoint): Delegate
3560 (record_btrace_insert_breakpoint): Delegate directly.
3562 2014-02-19 Tom Tromey <tromey@redhat.com>
3565 * target-delegates.c: New file.
3566 * target.c: Include target-delegates.c.
3567 (init_dummy_target): Call install_dummy_methods.
3568 (complete_target_initialization): Call install_delegators.
3569 * target.h (TARGET_DEFAULT_IGNORE, TARGET_DEFAULT_NORETURN)
3570 (TARGET_DEFAULT_RETURN, TARGET_DEFAULT_FUNC): New defines.
3571 * make-target-delegates: New file.
3573 2014-02-19 Tom Tromey <tromey@redhat.com>
3575 * record.c (find_record_target): Use find_target_at.
3576 * target.c (find_target_at): New function.
3577 * target.h (find_target_at): Declare.
3579 2014-02-19 Tom Tromey <tromey@redhat.com>
3581 * aarch64-linux-nat.c (aarch64_linux_stopped_by_watchpoint):
3583 * arm-linux-nat.c (arm_linux_stopped_by_watchpoint): Add
3585 * i386-nat.c (i386_stopped_by_watchpoint): Add 'ops' argument.
3586 * ia64-linux-nat.c (ia64_linux_stopped_by_watchpoint): Add
3588 * inf-ttrace.c (inf_ttrace_stopped_by_watchpoint): Add 'ops'
3590 * linux-nat.c (save_sigtrap): Update.
3591 (linux_nat_stopped_by_watchpoint, linux_nat_is_async_p)
3592 (linux_nat_can_async_p, linux_nat_async): Add 'ops' argument.
3593 (linux_nat_close): Update.
3594 * mips-linux-nat.c (mips_linux_stopped_by_watchpoint): Add 'ops'
3596 * ppc-linux-nat.c (ppc_linux_stopped_by_watchpoint): Add 'ops'
3598 * procfs.c (procfs_stopped_by_watchpoint): Add 'ops' argument.
3599 * record-full.c (record_full_beneath_to_stopped_by_watchpoint)
3600 (record_full_beneath_to_async, tmp_to_stopped_by_watchpoint)
3601 (tmp_to_async): Add 'ops' argument.
3602 (record_full_stopped_by_watchpoint, record_full_async)
3603 (record_full_can_async_p, record_full_is_async_p): Add 'ops'
3605 * remote-m32r-sdi.c (m32r_insert_breakpoint, m32r_remove_breakpoint)
3606 (m32r_stopped_by_watchpoint): Add 'ops' argument.
3607 * remote-mips.c (mips_stopped_by_watchpoint): Add 'ops' argument.
3608 * remote.c (remote_stopped_by_watchpoint_p, remote_can_async_p)
3609 (remote_is_async_p, remote_async): Add 'ops' argument.
3610 (remote_stopped_data_address): Update.
3611 * s390-nat.c (s390_stopped_by_watchpoint): Add 'ops' argument.
3612 * target.c (update_current_target)
3613 (find_default_can_async_p, find_default_is_async_p): Update.
3614 (init_dummy_target): Update.
3615 (debug_to_stopped_by_watchpoint): Add 'ops' argument.
3616 * target.h (struct target_ops) <to_stopped_by_watchpoint,
3617 to_can_async_p, to_is_async_p, to_async>: Add 'ops' argument.
3618 (target_can_async_p, target_is_async_p, target_async)
3619 (target_stopped_by_watchpoint): Update.
3621 2014-02-19 Yao Qi <yao@codesourcery.com>
3624 * gdbarch.sh: Remove startup_gdbarch.
3625 * gdbarch.c: Regenerated.
3626 * gdbarch.h: Likewise.
3628 2014-02-17 Kevin Buettner <kevinb@redhat.com>
3630 * rl78-tdep.c (rl78_g10_register_name): New function.
3631 (rl78_return_value): Add g10 support.
3632 (rl78_gdbarch_init): Register rl78_g10_register_name for the
3635 2014-02-17 Doug Evans <xdje42@gmail.com>
3637 * Makefile.in (SUBDIR_GUILE_OBS): Resort alphabetically.
3638 (SUBDIR_GUILE_SRCS): Ditto.
3639 (scm-gsmob.o): Ditto.
3641 2014-02-17 Yao Qi <yao@codesourcery.com>
3643 * gnu-nat.c (ILL_RPC): Declare defined function.
3645 2014-02-17 Yao Qi <yao@codesourcery.com>
3647 * gnu-nat.c (gnu_read_inferior): Change 'copy_count' type to
3648 mach_msg_type_number_t.
3649 (gnu_write_inferior): Likewise.
3651 2014-02-17 Yao Qi <yao@codesourcery.com>
3653 * gnu-nat.c (proc_get_exception_port): Use 'lu' insetad of 'd'
3655 (proc_steal_exc_port, make_proc, inf_set_pid): Likewise.
3656 (inf_validate_procs, inf_signal): Likewise.
3657 (S_exception_raise_request): Likewise.
3658 (do_mach_notify_dead_name): Likewise.
3659 (steal_exc_port): Likewise.
3660 (gnu_read_inferior): Change 'copy_count''s type to
3661 mach_msg_type_number_t.
3662 (gnu_write_inferior): Likewise. Use 'lx' instead of 'x' in
3665 2014-02-16 Thomas Schwinge <thomas@codesourcery.com>
3667 * gnu-nat.c (struct inf): Change pending_execs member to a 1-bit
3668 flag. Adjust all users; in particular...
3669 (gnu_wait): ..., don't decrement its value in here...
3670 (gnu_create_inferior): ..., and instead set the flag in here,
3671 around the startup_inferior call, and call that one with
3672 START_INFERIOR_TRAPS_EXPECTED.
3674 * gnu-nat.c (ill_rpc): Remove function; replaced with this...
3675 (ILL_RPC): ... new macro.
3676 (do_mach_notify_no_senders, do_mach_notify_port_deleted)
3677 (do_mach_notify_msg_accepted, do_mach_notify_port_destroyed)
3678 (do_mach_notify_send_once, S_proc_setmsgport_reply)
3679 (S_proc_getmsgport_reply, S_msg_sig_post_reply): Generate stub
3680 functions with ILL_RPC macro.
3681 (S_proc_pid2task_reply, S_proc_task2pid_reply)
3682 (S_proc_task2proc_reply, S_proc_proc2task_reply)
3683 (S_proc_pid2proc_reply, S_proc_getprocinfo_reply)
3684 (S_proc_getprocargs_reply, S_proc_getprocenv_reply)
3685 (S_proc_getloginid_reply, S_proc_getloginpids_reply)
3686 (S_proc_getlogin_reply, S_proc_getsid_reply)
3687 (S_proc_getsessionpgids_reply, S_proc_getsessionpids_reply)
3688 (S_proc_getsidport_reply, S_proc_getpgrp_reply)
3689 (S_proc_getpgrppids_reply, S_proc_get_tty_reply)
3690 (S_proc_getnports_reply, S_proc_is_important_reply)
3691 (S_proc_get_code_reply): New stub functions, generated with
3694 * reply_mig_hack.awk: In phase 5, keep going if we have not yet
3695 collected the type check structures.
3697 * reply_mig_hack.awk: Don't expect to see the auto keyword.
3699 2014-02-14 Doug Evans <dje@google.com>
3701 * target.c (target_write_partial): Fix result type.
3703 2014-02-14 Jose E. Marchesi <jose.marchesi@oracle.com>
3705 * sparc64-linux-nat.c (_initialize_sparc64_linux_nat): Register
3706 the proper offsets to access fpregset_t.
3708 2014-02-13 Sanimir Agovic <sanimir.agovic@intel.com>
3710 * cris-tdep.c (cris_supply_gregset): Remove zerobuf.
3711 (_initialize_cris_tdep): Remove cris_set_cmdlist, cris_show_cmdlist.
3712 * h8300-tdep.c (setmachinelist): Remove global.
3713 * hppa-tdep.c (hppa_sigtramp): Remove global.
3714 * mipsnbsd-tdep.c (sigtramp_retcode_mipsel, sigtramp_retcode_mipseb
3715 RETCODE_NWORDS, RETCODE_SIZE): Wrap code with #if 0.
3716 * ravenscar-thread.c (update_target_observer): Remove global.
3717 * rs6000-tdep.c (rs6000_gdbarch_init): Remove segment_regs.
3719 2014-02-12 Tom Tromey <tromey@redhat.com>
3721 * common/rsp-low.c: Update comments.
3722 * common/rsp-low.h: Update comments.
3724 2014-02-12 Tom Tromey <tromey@redhat.com>
3726 * common/rsp-low.c (convert_ascii_to_int): Remove.
3727 * common/rsp-low.h (convert_ascii_to_int): Don't declare.
3729 2014-02-12 Tom Tromey <tromey@redhat.com>
3731 * common/rsp-low.h (unhexify): Don't declare.
3732 * common/rsp-low.c (unhexify): Remove.
3734 2014-02-12 Tom Tromey <tromey@redhat.com>
3736 * common/rsp-low.h (convert_int_to_ascii): Don't declare.
3737 * common/rsp-low.c (convert_int_to_ascii): Remove.
3739 2014-02-12 Tom Tromey <tromey@redhat.com>
3741 * common/rsp-low.h (hexify): Don't declare.
3742 * common/rsp-low.c (hexify): Remove.
3744 2014-02-12 Tom Tromey <tromey@redhat.com>
3746 * common/rsp-low.c (hexify): Never take strlen of argument.
3748 2014-02-12 Tom Tromey <tromey@redhat.com>
3750 * common/rsp-low.c (bin2hex): Never take strlen of argument.
3751 * remote.c (extended_remote_run, remote_rcmd)
3752 (remote_download_trace_state_variable, remote_save_trace_data)
3753 (remote_set_trace_notes): Update.
3754 * tracepoint.c (encode_source_string, tfile_write_status)
3755 (tfile_write_uploaded_tsv): Update.
3757 2014-02-12 Tom Tromey <tromey@redhat.com>
3759 * tracepoint.c: Include rsp-low.h.
3760 * remote.h (hex2bin, bin2hex, unpack_varlen_hex): Don't declare.
3761 * remote.c: Include rsp-low.h.
3762 (hexchars, ishex, unpack_varlen_hex, pack_nibble, pack_hex_byte)
3763 (fromhex, hex2bin, tohex, bin2hex, remote_escape_output)
3764 (remote_unescape_input): Move to common/rsp-low.c.
3765 * common/rsp-low.h: New file.
3766 * common/rsp-low.c: New file.
3767 * Makefile.in (SFILES): Add common/rsp-low.c.
3768 (HFILES_NO_SRCDIR): Add common/rsp-low.h.
3769 (COMMON_OBS): Add rsp-low.o.
3770 (rsp-low.o): New target.
3772 2014-02-12 Tom Tromey <tromey@redhat.com>
3774 * utils.h: Include print-utils.h.
3775 (host_address_to_string, plongest, pulongest, phex, phex_nz)
3776 (int_string, core_addr_to_string, core_addr_to_string_nz)
3777 (hex_string, hex_string_custom): Don't declare.
3778 * utils.c (NUMCELLS, CELLSIZE, get_cell, decimal2str, pulongest)
3779 (plongest, thirty_two, phex, phex_nz, octal2str, hex_string)
3780 (hex_string_custom, int_string, core_addr_to_string)
3781 (core_addr_to_string_nz, host_address_to_string): Move to
3782 common/print-utils.c.
3783 * common/print-utils.h: New file.
3784 * common/print-utils.c: New file
3785 * Makefile.in (SFILES): Add common/print-utils.c.
3786 (HFILES_NO_SRCDIR): Add common/print-utils.h.
3787 (COMMON_OBS): Add print-utils.o.
3788 (print-utils.o): New target.
3790 2014-02-12 Tom Tromey <tromey@redhat.com>
3792 * nios2-tdep.c (nios2_stub_frame_base_address): Remove.
3794 2014-02-12 Mark Kettenis <kettenis@gnu.org>
3796 * sparc64obsd-tdep.c (sparc64obsd_init_abi): Call obsd_init_abi.
3798 2014-02-12 Mark Kettenis <kettenis@gnu.org>
3800 * inf-ptrace.c (inf_ptrace_xfer_partial): Return TARGET_XFER_EOF
3801 if a PT_IO ptrace request returns sucessfully but indicates that 0
3802 bytes were transferred.
3804 2014-02-12 Pedro Alves <palves@redhat.com>
3805 Kevin Buettner <kevinb@redhat.com>
3807 * gnu-v3-abi.c (build_gdb_vtable_type): Return a type marked with
3808 TYPE_INSTANCE_FLAG_CODE_SPACE.
3810 2014-02-12 Pedro Alves <palves@redhat.com>
3812 * h8300-tdep.c (pseudo_from_raw_register)
3813 (raw_from_pseudo_register): New functions.
3814 (h8300_pseudo_register_read, h8300_pseudo_register_write): Use
3817 2014-02-12 Pedro Alves <palves@redhat.com>
3819 * h8300-tdep.c (h8300_register_sim_regno): New function.
3820 (h8300_gdbarch_init): Install h8300_register_sim_regno as
3821 gdbarch_register_sim_regno hook.
3823 2014-02-12 Sanimir Agovic <sanimir.agovic@intel.com>
3825 * nios2-tdep.c (nios2_stub_frame_base): Remove global.
3827 2014-02-12 Sanimir Agovic <sanimir.agovic@intel.com>
3829 * tic6x-tdep.c (tic6x_gdbarch_init): Call frame_base_set_default.
3831 2014-02-12 Mark Kettenis <kettenis@gnu.org>
3833 * obsd-tdep.h (obsd_init_abi): New prototype.
3834 * obsd-tdep.c: Define enum with OpenBSD signal numbers.
3835 (obsd_gdb_signal_from_target, obsd_gdb_signal_to_target)
3836 (obsd_init_abi): New functions.
3837 * i386obsd-tdep.c: Include "obsd-tdep.h".
3838 (i386obsd_init_abi): Call obsd_init_abi.
3839 * amd64obsd-tdep.c: Include "obsd-tdep.h".
3840 (amd64obsd_init_abi): Call obsd_init_abi.
3841 * configure.tgt (i[34567]86-*-openbsd*, x86_64-*-openbsd*): Add
3842 obsd-tdep.c to gdb_target_obs.
3844 2014-02-11 Jose E. Marchesi <jose.marchesi@oracle.com>
3846 * sparc64-tdep.c (sparc64_store_arguments): Do not align complex
3847 double float arguments to 16-byte in the argument slots.
3849 2014-02-11 Doug Evans <xdje42@gmail.com>
3851 * configure.ac: Don't crash if pkg-config is not found and guile
3852 wasn't explicitly requested. Use AC_MSG_ERROR instead of AC_ERROR
3854 * configure: Regenerate.
3856 2014-02-11 Yao Qi <yao@codesourcery.com>
3858 * aix-thread.c (aix_thread_xfer_partial): Update comments.
3859 * auxv.c (procfs_xfer_auxv, memory_xfer_auxv): Likewise.
3860 * bsd-uthread.c (bsd_uthread_xfer_partial): Likewise.
3861 * gnu-nat.c (gnu_xfer_memory): Likewise.
3862 * inf-ptrace.c (inf_ptrace_xfer_partial): Likewise.
3863 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
3864 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
3865 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise.
3867 2014-02-11 Yao Qi <yao@codesourcery.com>
3869 * target.h (enum target_xfer_error): Rename to ...
3870 (enum target_xfer_status): ... it. New. All users updated.
3871 (enum target_xfer_status) <TARGET_XFER_OK>, <TARGET_XFER_EOF>:
3873 (TARGET_XFER_STATUS_ERROR_P): New macro.
3874 (target_xfer_error_to_string): Remove declaration.
3875 (target_xfer_status_to_string): Declare.
3876 (target_xfer_partial_ftype): Adjust it.
3877 (struct target_ops) <to_xfer_partial>: Return
3878 target_xfer_status. Add argument xfered_len. Update
3880 * target.c (target_xfer_error_to_string): Rename to ...
3881 (target_xfer_status_to_string): ... it. New. All callers
3883 (target_read_live_memory): Likewise. Call target_xfer_partial
3884 instead of target_read.
3885 (memory_xfer_live_readonly_partial): Return
3886 target_xfer_status. Add argument xfered_len.
3887 (raw_memory_xfer_partial): Likewise.
3888 (memory_xfer_partial_1): Likewise.
3889 (memory_xfer_partial): Likewise.
3890 (target_xfer_partial): Likewise. Check *XFERED_LEN is set
3891 properly. Update debug message.
3892 (default_xfer_partial, current_xfer_partial): Likewise.
3893 (target_write_partial): Likewise.
3894 (target_read_partial): Likewise. All callers updated.
3895 (read_whatever_is_readable): Likewise.
3896 (target_write_with_progress): Likewise.
3897 (target_read_alloc_1): Likewise.
3899 * aix-thread.c (aix_thread_xfer_partial): Likewise.
3900 * auxv.c (procfs_xfer_auxv): Likewise.
3901 (ld_so_xfer_auxv, memory_xfer_auxv): Likewise.
3902 * bfd-target.c (target_bfd_xfer_partial): Likewise.
3903 * bsd-kvm.c (bsd_kvm_xfer_partial): Likewise.
3904 * bsd-uthread.c (bsd_uthread_xfer_partia): Likewise.
3905 * corefile.c (read_memory): Adjust.
3906 * corelow.c (core_xfer_partial): Likewise.
3907 * ctf.c (ctf_xfer_partial): Likewise.
3908 * darwin-nat.c (darwin_read_dyld_info): Likewise. All callers
3910 (darwin_xfer_partial): Likewise.
3911 * exec.c (section_table_xfer_memory_partial): Likewise. All
3913 (exec_xfer_partial): Likewise.
3914 * exec.h (section_table_xfer_memory_partial): Update
3916 * gnu-nat.c (gnu_xfer_memory): Likewise. Assert 'res' is not
3918 (gnu_xfer_partial): Likewise.
3919 * ia64-hpux-nat.c (ia64_hpux_xfer_memory_no_bs): Likewise.
3920 (ia64_hpux_xfer_memory, ia64_hpux_xfer_uregs): Likewise.
3921 (ia64_hpux_xfer_solib_got): Likewise.
3922 * inf-ptrace.c (inf_ptrace_xfer_partial): Likewise. Change
3923 type of 'partial_len' to ULONGEST.
3924 * inf-ttrace.c (inf_ttrace_xfer_partial): Likewise.
3925 * linux-nat.c (linux_xfer_siginfo ): Likewise.
3926 (linux_nat_xfer_partial): Likewise.
3927 (linux_proc_xfer_partial, linux_xfer_partial): Likewise.
3928 (linux_proc_xfer_spu, linux_nat_xfer_osdata): Likewise.
3929 * monitor.c (monitor_xfer_memory): Likewise.
3930 (monitor_xfer_partial): Likewise.
3931 * procfs.c (procfs_xfer_partial): Likewise.
3932 * record-btrace.c (record_btrace_xfer_partial): Likewise.
3933 * record-full.c (record_full_xfer_partial): Likewise.
3934 (record_full_core_xfer_partial): Likewise.
3935 * remote-sim.c (gdbsim_xfer_memory): Likewise.
3936 (gdbsim_xfer_partial): Likewise.
3937 * remote.c (remote_write_bytes_aux): Likewise. All callers
3939 (remote_write_bytes, remote_read_bytes): Likewise. All
3941 (remote_flash_erase): Likewise. All callers updated.
3942 (remote_write_qxfer): Likewise. All callers updated.
3943 (remote_read_qxfer): Likewise. All callers updated.
3944 (remote_xfer_partial): Likewise.
3945 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
3946 (rs6000_xfer_shared_libraries): Likewise.
3947 * sol-thread.c (sol_thread_xfer_partial): Likewise.
3948 (sol_thread_xfer_partial): Likewise.
3949 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
3950 (sparc_xfer_partial): Likewise.
3951 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise. All callers
3953 (spu_xfer_partial): Likewise.
3954 * spu-multiarch.c (spu_xfer_partial): Likewise.
3955 * tracepoint.c (tfile_xfer_partial): Likewise.
3956 * windows-nat.c (windows_xfer_memory): Likewise.
3957 (windows_xfer_shared_libraries): Likewise.
3958 (windows_xfer_partial): Likewise.
3959 * valprint.c: Replace 'target_xfer_error' with
3960 'target_xfer_status' in comments.
3962 2014-02-11 Simon Marchi <simon.marchi@ericsson.com> (tiny patch)
3964 Checked in by Joel Brobecker <brobecker@adacore.com>.
3965 * mi/mi-main.c (mi_cmd_data_write_memory_bytes): Fix comment.
3967 2014-02-11 Joel Brobecker <brobecker@adacore.com>
3969 * symfile-debug.c (debug_qf_expand_symtabs_matching): Reformat
3970 function parameters.
3972 2014-02-10 Will Newton <will.newton@linaro.org>
3974 * elfread.c (elf_rel_plt_read): Look for a .got section if
3975 looking up .got.plt fails.
3976 (elf_gnu_ifunc_resolve_by_got): Call gdbarch_addr_bits_remove
3977 on address passed to elf_gnu_ifunc_record_cache.
3978 (elf_gnu_ifunc_resolve_addr): Likewise.
3979 (elf_gnu_ifunc_resolver_return_stop): Likewise.
3981 2014-02-10 Jose E. Marchesi <jose.marchesi@oracle.com>
3983 * sparc-tdep.c (sparc_in_function_epilogue_p): New function.
3984 (X_RETTURN): New macro.
3985 * sparc-tdep.h: sparc_in_function_epilogue_p prototype.
3987 * sparc64-tdep.c (sparc64_init_abi): Hook
3988 sparc_in_function_epilogue_p.
3990 2014-02-10 Gary Benson <gbenson@redhat.com>
3992 * symfile-debug.c (debug_qf_expand_symtabs_matching):
3993 Rename name_matcher to symbol_matcher.
3995 2014-02-10 Gary Benson <gbenson@redhat.com>
3997 * symfile-debug.c (debug_qf_expand_symtabs_matching):
3998 Use expand_symtabs_file_matcher_ftype and
3999 expand_symtabs_symbol_matcher_ftype.
4001 2014-02-10 Joel Brobecker <brobecker@adacore.com>
4003 * ada-lang.c (struct cache_entry, HASH_SIZE): Move definition up.
4004 (struct ada_symbol_cache): New.
4005 (ada_free_symbol_cache): Forward declare.
4006 (struct ada_pspace_data): New.
4007 (ada_pspace_data_handle): New static global.
4008 (get_ada_pspace_data, ada_pspace_data_cleanup)
4009 (ada_init_symbol_cache, ada_free_symbol_cache): New functions.
4010 (cache_space, cache): Delete, now folded inside struct
4012 (ada_get_symbol_cache): New function.
4013 (ada_clear_symbol_cache, find_entry, cache_symbol): Adjust
4015 (_initialize_ada_language): Remove initialization of cache_space.
4016 Move call to observer_attach_inferior_exit up, grouping it
4017 with the other observer registrations inside this function.
4018 Rename command to be more general. Add call to
4019 register_program_space_data_with_cleanup.
4021 2014-02-10 Joel Brobecker <brobecker@adacore.com>
4023 * ada-tasks.c (ada_tasks_new_objfile_observer): Renames
4024 ada_new_objfile_observer.
4025 (ada_tasks_normal_stop_observer): Renames ada_normal_stop_observer.
4026 (_initialize_tasks): Update uses of ada_new_objfile_observer
4027 and ada_tasks_normal_stop_observer.
4029 2014-02-10 Joel Brobecker <brobecker@adacore.com>
4031 * ada-lang.c (ada_evaluate_subexp): Set the type of the value
4032 returned by the 'Length attribute to integer.
4034 2014-02-10 Joel Brobecker <brobecker@adacore.com>
4036 * ada-lang.c (_initialize_ada_language): Initialize
4037 cache_space obstack.
4039 2014-02-10 Joel Brobecker <brobecker@adacore.com>
4041 * ada-lang.c (HASH_SIZE): New macro.
4042 (struct cache_entry): New type.
4043 (cache_space, cache): New static globals.
4044 (ada_clear_symbol_cache, find_entry): New functions.
4045 (lookup_cached_symbol, cache_symbol): Implement.
4046 (ada_new_objfile_observer, ada_free_objfile_observer): New.
4047 (_initialize_ada_language): Attach ada_new_objfile_observer
4048 and ada_free_objfile_observer.
4050 2014-02-10 Joel Brobecker <brobecker@adacore.com>
4052 * ada-lang.c (ada_add_block_symbols, add_defn_to_vec)
4053 (lookup_cached_symbol, ada_add_local_symbols): Add "const" to
4054 struct block * parameter.
4055 (ada_lookup_symbol_list_worker): Constify local variable "block".
4056 Remove cast which is no longer necessary.
4058 2014-02-10 Doug Evans <xdje42@gmail.com>
4060 Add Guile as an extension language.
4061 * NEWS: Mention Guile scripting.
4062 * Makefile.in (SUBDIR_GUILE_OBS): New variable.
4063 (SUBDIR_GUILE_SRCS, SUBDIR_GUILE_DEPS): New variables
4064 (SUBDIR_GUILE_LDFLAGS, SUBDIR_GUILE_CFLAGS): New variables.
4065 (INTERNAL_CPPFLAGS): Add GUILE_CPPFLAGS.
4066 (CLIBS): Add GUILE_LIBS.
4067 (install-guile): New rule.
4068 (guile.o): New rule.
4069 (scm-arch.o, scm-auto-load.o, scm-block.o): New rules.
4070 (scm-breakpoint.o, scm-disasm.o, scm-exception.o): New rules.
4071 (scm-frame.o, scm-iterator.o, scm-lazy-string.o): New rules.
4072 (scm-math.o, scm-objfile.o, scm-ports.o): New rules.
4073 (scm-pretty-print.o, scm-safe-call.o, scm-gsmob.o): New rules.
4074 (scm-string.o, scm-symbol.o, scm-symtab.o): New rules.
4075 (scm-type.o, scm-utils.o, scm-value.o): New rules.
4076 * configure.ac: New option --with-guile.
4077 * configure: Regenerate.
4078 * config.in: Regenerate.
4079 * auto-load.c: Remove #include "python/python.h". Add #include
4080 "gdb/section-scripts.h".
4081 (source_section_scripts): Handle Guile scripts.
4082 (_initialize_auto_load): Add name of Guile objfile script to
4083 scripts-directory help text.
4084 * breakpoint.c (condition_command): Tweak comment to include Scheme.
4085 * breakpoint.h (gdbscm_breakpoint_object): Add forward decl.
4086 (struct breakpoint): New member scm_bp_object.
4087 * defs.h (enum command_control_type): New value guile_control.
4088 * cli/cli-cmds.c: Remove #include "python/python.h". Add #include
4090 (show_user): Update comment.
4091 (_initialize_cli_cmds): Update help text for "show user". Update help
4092 text for max-user-call-depth.
4093 * cli/cli-script.c: Remove #include "python/python.h". Add #include
4095 (multi_line_command_p): Add guile_control.
4096 (print_command_lines): Handle guile_control.
4097 (execute_control_command, recurse_read_control_structure): Ditto.
4098 (process_next_line): Recognize "guile" commands.
4099 * disasm.c (gdb_disassemble_info): Make non-static.
4100 * disasm.h: #include "dis-asm.h".
4101 (struct gdbarch): Add forward decl.
4102 (gdb_disassemble_info): Declare.
4103 * extension.c: #include "guile/guile.h".
4104 (extension_languages): Add guile.
4105 (get_ext_lang_defn): Handle EXT_LANG_GDB.
4106 * extension.h (enum extension_language): New value EXT_LANG_GUILE.
4107 * gdbtypes.c (get_unsigned_type_max): New function.
4108 (get_signed_type_minmax): New function.
4109 * gdbtypes.h (get_unsigned_type_max): Declare.
4110 (get_signed_type_minmax): Declare.
4111 * guile/README: New file.
4112 * guile/guile-internal.h: New file.
4113 * guile/guile.c: New file.
4114 * guile/guile.h: New file.
4115 * guile/scm-arch.c: New file.
4116 * guile/scm-auto-load.c: New file.
4117 * guile/scm-block.c: New file.
4118 * guile/scm-breakpoint.c: New file.
4119 * guile/scm-disasm.c: New file.
4120 * guile/scm-exception.c: New file.
4121 * guile/scm-frame.c: New file.
4122 * guile/scm-gsmob.c: New file.
4123 * guile/scm-iterator.c: New file.
4124 * guile/scm-lazy-string.c: New file.
4125 * guile/scm-math.c: New file.
4126 * guile/scm-objfile.c: New file.
4127 * guile/scm-ports.c: New file.
4128 * guile/scm-pretty-print.c: New file.
4129 * guile/scm-safe-call.c: New file.
4130 * guile/scm-string.c: New file.
4131 * guile/scm-symbol.c: New file.
4132 * guile/scm-symtab.c: New file.
4133 * guile/scm-type.c: New file.
4134 * guile/scm-utils.c: New file.
4135 * guile/scm-value.c: New file.
4136 * guile/lib/gdb.scm: New file.
4137 * guile/lib/gdb/boot.scm: New file.
4138 * guile/lib/gdb/experimental.scm: New file.
4139 * guile/lib/gdb/init.scm: New file.
4140 * guile/lib/gdb/iterator.scm: New file.
4141 * guile/lib/gdb/printing.scm: New file.
4142 * guile/lib/gdb/types.scm: New file.
4143 * data-directory/Makefile.in (GUILE_SRCDIR): New variable.
4144 (VPATH): Add $(GUILE_SRCDIR).
4145 (GUILE_DIR): New variable.
4146 (GUILE_INSTALL_DIR, GUILE_FILES): New variables.
4147 (all): Add stamp-guile dependency.
4148 (stamp-guile): New rule.
4149 (clean-guile, install-guile, uninstall-guile): New rules.
4150 (install-only): Add install-guile dependency.
4151 (uninstall): Add uninstall-guile dependency.
4152 (clean): Add clean-guile dependency.
4154 2014-02-09 Doug Evans <xdje42@gmail.com>
4156 Revert this patch (which I approved, mea culpa).
4158 2014-02-08 Mark Kettenis <kettenis@gnu.org>
4160 * Makefile.in (all-lib): Remove.
4161 ($(LIBGNU) $(GNULIB_H)): Replace with gits of remove all-lib target.
4163 2014-02-09 Jan Kratochvil <jan.kratochvil@redhat.com>
4165 Fix Python stack corruption.
4166 * python/py-linetable.c (ltpy_get_pcs_for_line, ltpy_has_line): Use
4169 2014-02-08 Mark Kettenis <kettenis@gnu.org>
4171 * Makefile.in (all-lib): Remove.
4172 ($(LIBGNU) $(GNULIB_H)): Replace with gits of remove all-lib target.
4174 2014-02-07 Doug Evans <dje@google.com>
4176 * extension-priv.h (extension_language_script_ops): Add comment.
4177 (extension_language_ops): Add comment.
4178 (active_ext_lang_state): Fix typo in comment.
4180 2014-02-07 Pedro Alves <palves@redhat.com>
4182 PR breakpoints/16292
4183 * infrun.c (handle_signal_stop) <signal arrives while stepping
4184 over a breakpoint>: Switch back to the stepping thread.
4186 2014-02-07 Yao Qi <yao@codesourcery.com>
4188 * target.c (target_xfer_partial): Return zero if LEN is zero.
4190 2014-02-07 Yao Qi <yao@codesourcery.com>
4192 * auxv.c (procfs_xfer_auxv): Replace -1 with TARGET_XFER_E_IO.
4193 (ld_so_xfer_auxv): Likewise.
4194 * bfd-target.c (target_bfd_xfer_partial): Likewise.
4195 * bsd-kvm.c (bsd_kvm_xfer_partial): Likewise.
4196 * corelow.c (core_xfer_partial): Likewise.
4197 * ctf.c (ctf_xfer_partial): Likewise.
4198 * darwin-nat.c (darwin_read_dyld_info): Likewise.
4199 (darwin_xfer_partial): Likewise.
4200 * exec.c (exec_xfer_partial): Likewise.
4201 * gnu-nat.c (gnu_xfer_partial): Likewise.
4202 * ia64-hpux-nat.c (ia64_hpux_xfer_uregs): Likewise.
4203 * inf-ptrace.c (inf_ptrace_xfer_partial): Likewise.
4204 * inf-ttrace.c (inf_ttrace_xfer_partial): Likewise.
4205 * linux-nat.c (linux_xfer_siginfo): Likewise.
4206 (linux_proc_xfer_spu): Likewise.
4207 * procfs.c (procfs_xfer_partial): Likewise.
4208 * record-full.c (record_full_xfer_partial): Likewise.
4209 (record_full_core_xfer_partial): Likewise.
4210 * remote-sim.c (gdbsim_xfer_partial): Likewise.
4211 * remote.c (remote_write_qxfer): Likewise.
4212 (remote_write_qxfer, remote_read_qxfer): Likewise.
4213 (remote_xfer_partial): Likewise.
4214 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
4215 (rs6000_xfer_shared_libraries): Likewise.
4216 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
4217 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise.
4218 (spu_xfer_partial): Likewise.
4219 * target.c (memory_xfer_partial_1): Likewise.
4220 * tracepoint.c (tfile_xfer_partial): Likewise.
4221 * windows-nat.c (windows_xfer_shared_libraries): Likewise.
4222 (windows_xfer_partial): Likewise.
4224 2014-02-07 Yao Qi <yao@codesourcery.com>
4226 * gdbarch.sh (core_xfer_shared_libraries): Returns ULONGEST. Add
4228 (core_xfer_shared_libraries_aix): Likewise.
4229 * gdbarch.c, gdbarch.h: Regenerated.
4230 * i386-cygwin-tdep.c (windows_core_xfer_shared_libraries): Return
4231 ULONGEST. Change 'len_avail' type to ULONGEST.
4232 * rs6000-aix-tdep.c (rs6000_aix_ld_info_to_xml): Likewise.
4233 * rs6000-aix-tdep.h (rs6000_aix_ld_info_to_xml): Update
4235 (rs6000_aix_core_xfer_shared_libraries_aix): Return ULONGEST.
4237 2014-02-07 Yao Qi <yao@codesourcery.com>
4239 * corefile.c (memory_error): Get 'exception' from ERR and pass
4240 'exception' to throw_error.
4242 2014-02-06 Doug Evans <xdje42@gmail.com>
4244 * configure.ac (libpython checking): Remove all but python.o from
4245 CONFIG_OBS. Remove all but python.c from CONFIG_SRCS.
4246 * configure: Regenerate.
4248 * Makefile.in (SFILES): Add extension.c.
4249 (HFILES_NO_SRCDIR): Add extension.h, extension-priv.h
4250 (COMMON_OBS): Add extension.o.
4251 * extension.h: New file.
4252 * extension-priv.h: New file.
4253 * extension.c: New file.
4255 * python/python-internal.h: #include "extension.h".
4256 (gdbpy_auto_load_enabled): Declare.
4257 (gdbpy_apply_val_pretty_printer): Declare.
4258 (gdbpy_apply_frame_filter): Declare.
4259 (gdbpy_preserve_values): Declare.
4260 (gdbpy_breakpoint_cond_says_stop): Declare.
4261 (gdbpy_breakpoint_has_cond): Declare.
4262 (void source_python_script_for_objfile): Delete.
4263 * python/python.c: #include "extension-priv.h".
4264 Delete inclusion of "observer.h".
4265 (extension_language_python): Moved here and renamed from
4266 script_language_python in py-auto-load.c.
4267 Redefined to be of type extension_language_defn.
4268 (python_extension_script_ops): New global.
4269 (python_extension_ops): New global.
4270 (struct python_env): New member previous_active.
4271 (restore_python_env): Call restore_active_ext_lang.
4272 (ensure_python_env): Call set_active_ext_lang.
4273 (gdbpy_clear_quit_flag): Renamed from clear_quit_flag, made static.
4275 (gdbpy_set_quit_flag): Renamed from set_quit_flag, made static.
4277 (gdbpy_check_quit_flag): Renamed from check_quit_flag, made static.
4279 (gdbpy_eval_from_control_command): Renamed from
4280 eval_python_from_control_command, made static. New arg extlang.
4281 (gdbpy_source_script) Renamed from source_python_script, made static.
4283 (gdbpy_before_prompt_hook): Renamed from before_prompt_hook. Change
4284 result to int. New arg extlang.
4285 (gdbpy_source_objfile_script): Renamed from
4286 source_python_script_for_objfile, made static. New arg extlang.
4287 (gdbpy_start_type_printers): Renamed from start_type_printers, made
4288 static. New args extlang, extlang_printers. Change result type to
4290 (gdbpy_apply_type_printers): Renamed from apply_type_printers, made
4291 static. New arg extlang. Rename arg printers to extlang_printers
4292 and change type to ext_lang_type_printers *.
4293 (gdbpy_free_type_printers): Renamed from free_type_printers, made
4294 static. Replace argument arg with extlang, extlang_printers.
4295 (!HAVE_PYTHON, eval_python_from_control_command): Delete.
4296 (!HAVE_PYTHON, source_python_script): Delete.
4297 (!HAVE_PYTHON, gdbpy_should_stop): Delete.
4298 (!HAVE_PYTHON, gdbpy_breakpoint_has_py_cond): Delete.
4299 (!HAVE_PYTHON, start_type_printers): Delete.
4300 (!HAVE_PYTHON, apply_type_printers): Delete.
4301 (!HAVE_PYTHON, free_type_printers): Delete.
4302 (_initialize_python): Delete call to observer_attach_before_prompt.
4303 (finalize_python): Set/restore active extension language.
4304 (gdbpy_finish_initialization) Renamed from
4305 finish_python_initialization, made static. New arg extlang.
4306 (gdbpy_initialized): New function.
4307 * python/python.h: #include "extension.h". Delete #include
4308 "value.h", "mi/mi-cmds.h".
4309 (extension_language_python): Declare.
4310 (GDBPY_AUTO_FILE_NAME): Delete.
4311 (enum py_bt_status): Moved to extension.h and renamed to
4313 (enum frame_filter_flags): Moved to extension.h.
4314 (enum py_frame_args): Moved to extension.h and renamed to
4315 ext_lang_frame_args.
4316 (finish_python_initialization): Delete.
4317 (eval_python_from_control_command): Delete.
4318 (source_python_script): Delete.
4319 (apply_val_pretty_printer): Delete.
4320 (apply_frame_filter): Delete.
4321 (preserve_python_values): Delete.
4322 (gdbpy_script_language_defn): Delete.
4323 (gdbpy_should_stop, gdbpy_breakpoint_has_py_cond): Delete.
4324 (start_type_printers, apply_type_printers, free_type_printers): Delete.
4326 * auto-load.c: #include "extension.h".
4327 (GDB_AUTO_FILE_NAME): Delete.
4328 (auto_load_gdb_scripts_enabled): Make public. New arg extlang.
4329 (script_language_gdb): Delete, moved to extension.c and renamed to
4330 extension_language_gdb.
4331 (source_gdb_script_for_objfile): Delete.
4332 (auto_load_pspace_info): New member unsupported_script_warning_printed.
4333 (loaded_script): Change type of language member to
4334 struct extension_language_defn *.
4335 (init_loaded_scripts_info): Initialize
4336 unsupported_script_warning_printed.
4337 (maybe_add_script): Make static. Change type of language arg to
4338 struct extension_language_defn *.
4339 (clear_section_scripts): Reset unsupported_script_warning_printed.
4340 (auto_load_objfile_script_1): Rewrite to use extension language API.
4341 (auto_load_objfile_script): Make public. Remove support-compiled-in
4342 and auto-load-enabled checks, moved to auto_load_scripts_for_objfile.
4343 (source_section_scripts): Rewrite to use extension language API.
4344 (load_auto_scripts_for_objfile): Rewrite to use
4345 auto_load_scripts_for_objfile.
4346 (collect_matching_scripts_data): Change type of language member to
4347 struct extension_language_defn *.
4348 (auto_load_info_scripts): Change type of language arg to
4349 struct extension_language_defn *.
4350 (unsupported_script_warning_print): New function.
4351 (script_not_found_warning_print): Make static.
4352 (_initialize_auto_load): Rewrite construction of scripts-directory
4354 * auto-load.h (struct objfile): Add forward decl.
4355 (struct script_language): Delete.
4356 (struct auto_load_pspace_info): Add forward decl.
4357 (struct extension_language_defn): Add forward decl.
4358 (maybe_add_script): Delete.
4359 (auto_load_objfile_script): Declare.
4360 (script_not_found_warning_print): Delete.
4361 (auto_load_info_scripts): Update prototype.
4362 (auto_load_gdb_scripts_enabled): Declare.
4363 * python/py-auto-load.c (gdbpy_auto_load_enabled): Renamed from
4364 auto_load_python_scripts_enabled and made public.
4365 (script_language_python): Delete, moved to python.c.
4366 (gdbpy_script_language_defn): Delete.
4367 (info_auto_load_python_scripts): Update to use
4368 extension_language_python.
4370 * breakpoint.c (condition_command): Replace call to
4371 gdbpy_breakpoint_has_py_cond with call to get_breakpoint_cond_ext_lang.
4372 (bpstat_check_breakpoint_conditions): Replace call to gdbpy_should_stop
4373 with call to breakpoint_ext_lang_cond_says_stop.
4374 * python/py-breakpoint.c (gdbpy_breakpoint_cond_says_stop): Renamed
4375 from gdbpy_should_stop. Change result type to enum scr_bp_stop.
4376 New arg slang. Return SCR_BP_STOP_UNSET if py_bp_object is NULL.
4377 (gdbpy_breakpoint_has_cond): Renamed from gdbpy_breakpoint_has_py_cond.
4379 (local_setattro): Print name of extension language with existing
4382 * valprint.c (val_print, value_print): Update to call
4383 apply_ext_lang_val_pretty_printer.
4384 * cp-valprint.c (cp_print_value): Update call to
4385 apply_ext_lang_val_pretty_printer.
4386 * python/py-prettyprint.c: Remove #ifdef HAVE_PYTHON.
4387 (gdbpy_apply_val_pretty_printer): Renamed from
4388 apply_val_pretty_printer. New arg extlang.
4389 (!HAVE_PYTHON, apply_val_pretty_printer): Delete.
4391 * cli/cli-cmds.c (source_script_from_stream): Rewrite to use
4392 extension language API.
4393 * cli/cli-script.c (execute_control_command): Update to call
4394 eval_ext_lang_from_control_command.
4396 * mi/mi-cmd-stack.c (mi_cmd_stack_list_frames): Update to use
4397 enum ext_lang_bt_status values. Update call to
4398 apply_ext_lang_frame_filter.
4399 (mi_cmd_stack_list_locals): Ditto.
4400 (mi_cmd_stack_list_args): Ditto.
4401 (mi_cmd_stack_list_variables): Ditto.
4402 * mi/mi-main.c: Delete #include "python/python-internal.h".
4403 Add #include "extension.h".
4404 (mi_cmd_list_features): Replace reference to python internal variable
4405 gdb_python_initialized with call to ext_lang_initialized_p.
4407 * stack.c (backtrace_command_1): Update to use enum ext_lang_bt_status.
4408 Update to use enum ext_lang_frame_args. Update to call
4409 apply_ext_lang_frame_filter.
4410 * python/py-framefilter.c (extract_sym): Update to use enum
4412 (extract_value, py_print_type, py_print_value): Ditto.
4413 (py_print_single_arg, enumerate_args, enumerate_locals): Ditto.
4414 (py_mi_print_variables, py_print_locals, py_print_args): Ditto.
4415 (py_print_frame): Ditto.
4416 (gdbpy_apply_frame_filter): Renamed from apply_frame_filter.
4417 New arg extlang. Update to use enum ext_lang_bt_status.
4419 * top.c (gdb_init): Delete #ifdef HAVE_PYTHON call to
4420 finish_python_initialization. Replace with call to
4421 finish_ext_lang_initialization.
4423 * typeprint.c (do_free_global_table): Update to call
4424 free_ext_lang_type_printers.
4425 (create_global_typedef_table): Update to call
4426 start_ext_lang_type_printers.
4427 (find_global_typedef): Update to call apply_ext_lang_type_printers.
4428 * typeprint.h (struct ext_lang_type_printers): Add forward decl.
4429 (type_print_options): Change type of global_printers from "void *"
4430 to "struct ext_lang_type_printers *".
4432 * value.c (preserve_values): Update to call preserve_ext_lang_values.
4433 * python/py-value.c: Remove #ifdef HAVE_PYTHON.
4434 (gdbpy_preserve_values): Renamed from preserve_python_values.
4436 (!HAVE_PYTHON, preserve_python_values): Delete.
4438 * utils.c (quit_flag): Delete, moved to extension.c.
4439 (clear_quit_flag, set_quit_flag, check_quit_flag): Delete, moved to
4442 * eval.c: Delete #include "python/python.h".
4443 * main.c: Delete #include "python/python.h".
4445 * defs.h: Update comment.
4447 2014-02-06 Joel Brobecker <brobecker@adacore.com>
4451 2014-02-05 Mark Kettenis <kettenis@gnu.org>
4453 * c-exp.y (YYPRINT, c_print_token): Only define if YYBISON is
4456 2014-02-05 Yao Qi <yao@codesourcery.com>
4458 * remote.c (remote_pass_signals): Remove local 'buf' and use
4460 (remote_program_signals): Likewise.
4462 2014-02-05 Yao Qi <yao@codesourcery.com>
4464 * ctf.c: Include "inferior.h" and "gdbthread.h".
4465 (CTF_PID): A new macro.
4466 (ctf_open): Call inferior_appeared and add_thread_silent.
4467 (ctf_close): Call exit_inferior_silent and set inferior_ptid.
4468 (ctf_thread_alive): New function.
4469 (init_ctf_ops): Install ctf_thread_alive to to_thread_alive.
4471 2014-02-05 Yao Qi <yao@codesourcery.com>
4475 2013-05-24 Yao Qi <yao@codesourcery.com>
4477 * tracepoint.c (TFILE_PID): Remove.
4478 (tfile_open): Don't add thread and inferior.
4479 (tfile_close): Don't set 'inferior_ptid'. Don't call
4480 exit_inferior_silent.
4481 (tfile_thread_alive): Remove.
4482 (init_tfile_ops): Don't set field 'to_thread_alive' of
4485 2014-02-04 Christian Eggers <ceggers@gmx.de> (tiny change)
4487 * remote.c (remote_start_remote): Call remote_check_symbols even
4488 if only symbol-file (not file) has been given.
4490 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
4492 * gdbarch.sh (skip_entrypoint): New callback.
4493 * gdbarch.c, gdbarch.h: Regenerate.
4494 * symtab.c (skip_prologue_sal): Call gdbarch_skip_entrypoint.
4495 * infrun.c (fill_in_stop_func): Likewise.
4496 * ppc-linux-tdep.c: Include "elf/ppc64.h".
4497 (ppc_elfv2_elf_make_msymbol_special): New function.
4498 (ppc_elfv2_skip_entrypoint): Likewise.
4499 (ppc_linux_init_abi): Install them for ELFv2.
4501 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
4503 * ppc-sysv-tdep.c (ppc64_aggregate_candidate): New routine.
4504 (ppc64_elfv2_abi_homogeneous_aggregate): Likewise.
4505 (ppc64_sysv_abi_push_param): Handle ELFv2 homogeneous structs.
4506 (ppc64_sysv_abi_return_value): Likewise. Also, handle small
4507 structures returned in GPRs.
4509 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
4511 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_dummy_call): Use correct
4512 offset to the stack parameter list for the ELFv2 ABI.
4514 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
4516 * ppc-linux-tdep.c (ppc_linux_init_abi): Only call
4517 set_gdbarch_convert_from_func_ptr_addr and
4518 set_gdbarch_elf_make_msymbol_special for ELFv1.
4519 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_param): Only handle
4520 function descriptors on ELFv1.
4521 (ppc64_sysv_abi_push_dummy_call): Likewise. On ELFv2,
4522 set up r12 at function entry.
4524 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
4526 * ppc-tdep.h (enum powerpc_elf_abi): New data type.
4527 (struct gdbarch_tdep): New member elf_abi.
4529 * rs6000-tdep.c: Include "elf/ppc64.h".
4530 (rs6000_gdbarch_init): Detect ELF ABI version.
4532 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
4534 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_freg): Use correct order
4535 within a register pair holding a DFP 128-bit value on little-endian.
4536 (ppc64_sysv_abi_return_value_base): Likewise.
4537 * rs6000-tdep.c (dfp_pseudo_register_read): Likewise.
4538 (dfp_pseudo_register_write): Likewise.
4540 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
4542 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_freg): Use correct
4543 offset on little-endian when passing _Decimal32.
4544 (ppc64_sysv_abi_return_value_base): Likewise for return values.
4546 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
4548 * rs6000-tdep.c (efpr_pseudo_register_read): Use correct offset
4549 of the overlapped FP register within the VSX register on little-
4551 (efpr_pseudo_register_write): Likewise.
4553 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
4555 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_val): Use correct
4556 offset on little-endian when passing small structures.
4558 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
4560 * ppc-sysv-tdep.c (get_decimal_float_return_value): Update comment.
4561 (struct ppc64_sysv_argpos): New data structure.
4562 (ppc64_sysv_abi_push_float): Remove.
4563 (ppc64_sysv_abi_push_val): New function.
4564 (ppc64_sysv_abi_push_integer): Likewise.
4565 (ppc64_sysv_abi_push_freg): Likewise.
4566 (ppc64_sysv_abi_push_vreg): Likewise.
4567 (ppc64_sysv_abi_push_param): Likewise.
4568 (ppc64_sysv_abi_push_dummy_call): Refactor to use those new routines.
4569 (ppc64_sysv_abi_return_value_base): New function.
4570 (ppc64_sysv_abi_return_value): Refactor to use it.
4572 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
4574 * NEWS: Document new target powerpc64le-*-linux*.
4576 2014-02-04 Mark Kettenis <kettenis@gnu.org>
4578 * sparc64obsd-tdep.c (sparc64obsd_gregset): New variable.
4579 (sparc64obsd_supply_gregset): Handle registers sets used in ELF
4581 (sparc64obsd_init_abi): Adjust minimum size of the general purpose
4582 register set used in ELF core dumps. Add floating-point register set.
4584 2014-02-03 Kevin Buettner <kevinb@redhat.com>
4586 * mn10300-tdep.c (mn10300_dwarf2_reg_to_regnum): Rewrite
4587 dwarf2_to_gdb[] table using symbolic constants. Adjust
4588 penultimate entry from number representing the PC register
4589 to symbolic constant representing the MDR register. Add
4590 constant for the PC register to the end of the table.
4592 2014-02-03 Mark Kettenis <kettenis@gnu.org>
4594 * bsd-kvm.c: Include <sys/param.h>
4596 2014-02-03 Mark Kettenis <kettenis@gnu.org>
4598 * sparc64nbsd-nat.c (sparc64nbsd_supply_fpregset): Fix prototype.
4600 2014-01-31 Joel Brobecker <brobecker@adacore.com>
4602 * ada-lang.h (clear_ada_sym_cache): Delete.
4604 2014-01-30 Ulrich Weigand <uweigand@de.ibm.com>
4606 * auxv.c (fprint_target_auxv): Handle AT_HWCAP2.
4608 2014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
4610 * sparc64-linux-tdep.c (sparc64_linux_step_trap): Get PC from
4611 the sigreturn register save area only if the syscall is
4614 2014-01-29 Joel Brobecker <brobecker@adacore.com>
4616 * valops.c (value_slice): Minor reformatting.
4618 2014-01-28 Ulrich Weigand <uweigand@de.ibm.com>
4620 * ppc64-tdep.c (ppc64_standard_linkage7): Fix typo.
4622 2014-01-28 Joel Brobecker <brobecker@adacore.com>
4624 * ada-lang.c (maint_set_ada_cmdlist, maint_show_ada_cmdlist):
4626 (maint_set_ada_cmd, maint_show_ada_cmd): New functions.
4627 (ada_ignore_descriptive_types_p): New static global.
4628 (find_parallel_type_by_descriptive_type): Return immediately
4629 if ada_ignore_descriptive_types_p is set.
4630 (_initialize_ada_language): Register new commands "maintenance
4631 set ada", "maintenance show ada", "maintenance set ada
4632 ignore-descriptive-types" and "maintenance show ada
4633 ignore-descriptive-types".
4634 * NEWS: Add entry for new "maint ada set/show
4635 ignore-descriptive-types" commands.
4637 2014-01-27 Markus Metzger <markus.t.metzger@intel.com>
4639 * record-btrace.c (record_btrace_close): Call btrace_teardown
4642 2014-01-27 Joel Brobecker <brobecker@adacore.com>
4644 * ada-lang.c: Remove "#ifdef UI_OUT" condition for including
4647 2014-01-27 Joel Brobecker <brobecker@adacore.com>
4649 * ada-typeprint (type_is_full_subrange_of_target_type):
4651 (print_range): Add parameter bounds_prefered_p. If not set,
4652 try printing range types using the name of their base type.
4653 (print_range_type): Add parameter bounds_prefered_p.
4654 Use it in call to print_range.
4655 (print_array_type, ada_print_type): Update calls to print_range
4656 and print_range_type.
4658 2014-01-27 Joel Brobecker <brobecker@adacore.com>
4660 * ada-typeprint.c (print_array_type, print_choices, print_range)
4661 (print_range_bound, print_dynamic_range_bound, print_range_type):
4664 2014-01-27 Joel Brobecker <brobecker@adacore.com>
4666 * ada-typeprint.c (print_range): Add missing empty line
4667 after local declaration.
4669 2014-01-27 Joel Brobecker <brobecker@adacore.com>
4671 * ada-valprint.c (print_optional_low_bound): Get index_type's
4672 target type for as long as it is a TYPE_CODE_RANGE.
4674 2014-01-27 Joel Brobecker <brobecker@adacore.com>
4676 * procfs.c (procfs_make_note_section): Remove assertion and
4679 2014-01-24 Yao Qi <yao@codesourcery.com>
4681 * remote.c (remote_read_bytes): Change type of len to ULONGEST.
4682 * corelow.c (get_core_siginfo): Likewise.
4684 2014-01-24 Yao Qi <yao@codesourcery.com>
4686 * remote.c (remote_write_bytes_aux): Change type of 'len' to
4687 ULONGEST. Don't check 'len' is negative.
4688 (remote_write_bytes): Change type of 'len' to ULONGEST.
4690 2014-01-23 Tom Tromey <tromey@redhat.com>
4693 * python/lib/gdb/FrameDecorator.py: (FrameVars.fetch_frame_args):
4694 Handle exception from frame.block.
4695 (FrameVars.fetch_frame_locals): Likewise.
4697 2014-01-23 Tom Tromey <tromey@redhat.com>
4700 * python/py-framefilter.c (py_print_frame): Don't call Py_DECREF
4701 on a NULL pointer. Move "goto error" to correct place.
4703 2014-01-23 Tom Tromey <tromey@redhat.com>
4706 * python/py-framefilter.c (apply_frame_filter): Call
4707 ensure_python_env after computing gdbarch.
4709 2014-01-23 Yao Qi <yao@codesourcery.com>
4711 * target.c (raw_memory_xfer_partial): Change argument type
4712 from void * to gdb_byte *.
4713 (memory_xfer_partial_1, memory_xfer_partial): Likewise.
4715 2014-01-22 Doug Evans <dje@google.com>
4717 New gdbserver option --debug-format=timestamp.
4720 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
4722 * syscalls/s390x-linux.xml: New file.
4723 * syscalls/s390-linux.xml: New file.
4724 * s390-linux-tdep.c (XML_SYSCALL_FILENAME_S390): New macro.
4725 (XML_SYSCALL_FILENAME_S390X): Likewise.
4726 (op_svc): New enum value for SVC opcode.
4727 (s390_sigtramp_frame_sniffer): Replace literal by 'op_svc'.
4728 (s390_linux_get_syscall_number): New function.
4729 (s390_gdbarch_init): Register '*get_syscall_number' and the
4730 syscall xml file name.
4731 * data-directory/Makefile.in (SYSCALLS_FILES): Add
4732 "s390-linux.xml" and "s390x-linux.xml".
4733 * NEWS: Announce new feature.
4735 2014-01-22 Baruch Siach <baruch@tkos.co.il>
4737 * xtensa-tdep.h (xtensa_elf_greg_t): Change type to uint32_t.
4739 2014-01-22 Pedro Alves <palves@redhat.com>
4741 * xtensa-config.c: Include defs.h.
4743 2014-01-22 Joel Brobecker <brobecker@adacore.com>
4745 * common/common-utils.h: Add "ARI:" comment beside __func__
4748 2014-01-22 Joel Brobecker <brobecker@adacore.com>
4750 * common/common-utils.h (FUNCTION_NAME): Expand the macro's
4751 documentation a bit.
4753 2014-01-21 Roland McGrath <mcgrathr@google.com>
4755 * configure.ac: Call AM_PROG_INSTALL_STRIP.
4756 * configure: Regenerate.
4757 * aclocal.m4: Regenerate.
4758 * Makefile.in (install_sh, INSTALL_STRIP_PROGRAM, STRIP):
4759 New substituted variables.
4760 (install-strip): New target.
4761 (INSTALL_SCRIPT): New substituted variable.
4762 (FLAGS_TO_PASS): Add it.
4763 (install-only): Use $(INSTALL_SCRIPT) rather than
4764 $(INSTALL_PROGRAM) for gcore.
4766 2014-01-20 Tom Tromey <tromey@redhat.com>
4768 * cli/cli-decode.h (struct cmd_list_element): Move all bitfields
4771 2014-01-20 Tom Tromey <tromey@redhat.com>
4773 * cli/cli-decode.c (add_cmd, deprecate_cmd, add_alias_cmd)
4774 (add_setshow_cmd_full, delete_cmd, lookup_cmd_1)
4775 (deprecated_cmd_warning, complete_on_cmdlist): Update.
4776 * cli/cli-decode.h (CMD_DEPRECATED, DEPRECATED_WARN_USER)
4777 (MALLOCED_REPLACEMENT, DOC_ALLOCATED): Remove.
4778 (struct cmd_list_element) <flags>: Remove.
4779 <cmd_deprecated, deprecated_warn_user, malloced_replacement,
4780 doc_allocated>: New fields.
4781 <hook_in, allow_unknown, abbrev_flag, type, var_type>: Now
4783 * maint.c (maintenance_do_deprecate): Update.
4784 * top.c (execute_command): Update.
4786 2014-01-20 Baruch Siach <baruch@tkos.co.il>
4788 * xtensa-linux-nat.c: Include asm/ptrace.h.
4790 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
4792 * Makefile.in (SFILES): Add d-support.c.
4793 (COMMON_OBS): Add d-support.o.
4794 * d-lang.h (d_parse_symbol): Add comment, now defined in
4796 * d-lang.c (parse_call_convention)
4797 (parse_attributes, parse_function_types)
4798 (parse_function_args, parse_type, parse_identifier)
4799 (call_convention_p, d_parse_symbol): Move functions to ...
4800 * d-support.c: ... New file.
4802 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
4804 * d-lang.h (d_parse_symbol): Add declaration.
4805 * d-lang.c (extract_identifiers)
4806 (extract_type_info): Remove functions.
4807 (parse_call_convention, parse_attributes)
4808 (parse_function_types, parse_function_args)
4809 (parse_type, parse_identifier, call_convention_p)
4810 (d_parse_symbol): New functions.
4811 (d_demangle): Use d_parse_symbol to demangle D symbols.
4813 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
4815 * d-lang.h (struct builtin_d_type): New data type.
4816 (builtin_d_type): Add declaration.
4817 * d-lang.c (d_language_arch_info, build_d_types)
4818 (builtin_d_type): New functions.
4819 (enum d_primitive_types): New data type.
4820 (d_language_defn): Change c_language_arch_info to
4821 d_language_arch_info.
4822 (d_type_data): New static variable.
4823 (_initialize_d_language): Initialize d_type_data.
4825 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
4827 * d-lang.h (d_main_name): Add declaration.
4828 * d-lang.c (d_main_name): New function.
4829 * symtab.c (find_main_name): Add call to d_main_name.
4831 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
4833 * d-lang.c (d_language_defn): Change macro_expansion_c to
4836 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
4838 * MAINTAINERS: Add myself as a write-after-approval maintainer.
4840 2014-01-17 Sergio Durigan Junior <sergiodj@redhat.com>
4842 * breakpoint.c (insert_bp_location): Add "volatile" keyword to "struct
4843 gdb_exception" declaration.
4844 * remote.c (getpkt_or_notif_sane): Likewise.
4846 2014-01-17 Doug Evans <dje@google.com>
4848 * common/gdb_vecs.c (delim_string_to_char_ptr_vec_append): New
4849 function, contents of dirnames_to_char_ptr_vec_append moved here.
4850 (delim_string_to_char_ptr_vec): New function.
4851 (dirnames_to_char_ptr_vec_append): Rewrite.
4852 * common/gdb_vecs.h (delim_string_to_char_ptr_vec): Declare.
4854 2014-01-17 Doug Evans <dje@google.com>
4856 * common/common-utils.h (FUNCTION_NAME): Renamed from ASSERT_FUNCTION,
4858 * common/gdb_assert.h (ASSERT_FUNCTION): ... from here.
4859 #include "common-utils.h".
4860 (gdb_assert, gdb_assert_fail, gdb_assert_not_reached): Update.
4861 * common/vec.h (VEC_ASSERT_PASS): Update.
4862 * darwin-nat.h: Replace #include of gdb_assert.h with common-utils.h.
4863 (MACH_CHECK_ERROR): Update.
4865 2014-01-17 Simon Marchi <simon.marchi@ericsson.com>
4867 * gdbarch.sh (gdbarch_address_class_name_to_type_flags): Add
4869 * gdbarch.h: Regenerate.
4871 2014-01-16 Tom Tromey <tromey@redhat.com>
4873 * value.c (struct value) <regnum>: Move earlier.
4875 2014-01-16 Tom Tromey <tromey@redhat.com>
4877 * remote.c (extended_remote_create_inferior): Rename from
4878 extended_remote_create_inferior_1. Add "ops" argument. Remove
4881 2014-01-16 Pedro Alves <palves@redhat.com>
4883 * s390-linux-tdep.c (s390_frame_unwind_cache): Swallow
4884 NOT_AVAILABLE_ERROR errors while parsing the prologue or reading
4887 2014-01-16 Doug Evans <dje@google.com>
4889 * dwarf2read.c (open_and_init_dwp_file): Fix typo in comment.
4891 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4893 * btrace.h (btrace_thread_flag): New.
4894 (struct btrace_thread_info) <flags>: New.
4895 * record-btrace.c (record_btrace_resume_thread)
4896 (record_btrace_find_thread_to_move, btrace_step_no_history)
4897 (btrace_step_stopped, record_btrace_start_replaying)
4898 (record_btrace_step_thread, record_btrace_decr_pc_after_break)
4899 (record_btrace_find_resume_thread): New.
4900 (record_btrace_resume, record_btrace_wait): Extend.
4901 (record_btrace_can_execute_reverse): New.
4902 (record_btrace_open): Fail in non-stop mode.
4903 (record_btrace_set_replay): Split into this, ...
4904 (record_btrace_stop_replaying): ... this, ...
4905 (record_btrace_clear_histories): ... and this.
4906 (init_record_btrace_ops): Init to_can_execute_reverse.
4907 * NEWS: Announce it.
4909 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4911 * target.h (struct target_ops) <to_decr_pc_after_break>: New.
4912 (forward_target_decr_pc_after_break)
4913 (target_decr_pc_after_break): New.
4914 * target.c (forward_target_decr_pc_after_break)
4915 (target_decr_pc_after_break): New.
4916 * aix-thread.c (aix_thread_wait): Call target_decr_pc_after_break
4917 instead of gdbarch_decr_pc_after_break.
4918 * darwin-nat.c (cancel_breakpoint): Call target_decr_pc_after_break
4919 instead of gdbarch_decr_pc_after_break.
4920 * infrun.c (adjust_pc_after_break): Call target_decr_pc_after_break
4921 instead of gdbarch_decr_pc_after_break.
4922 * linux-nat.c (cancel_breakpoint): Call target_decr_pc_after_break
4923 instead of gdbarch_decr_pc_after_break.
4924 * linux-thread-db.c (check_event): Call target_decr_pc_after_break
4925 instead of gdbarch_decr_pc_after_break.
4926 * record-full.c (record_full_wait_1): Call target_decr_pc_after_break
4927 instead of gdbarch_decr_pc_after_break.
4929 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4931 * btrace.c: Include regcache.h.
4932 (btrace_add_pc): New.
4933 (btrace_enable): Call btrace_add_pc.
4934 (btrace_is_empty): New.
4935 * btrace.h (btrace_is_empty): New.
4936 * record-btrace.c (require_btrace, record_btrace_info): Call
4939 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4941 * common/linux-btrace.c (perf_event_read_bts, linux_read_btrace):
4942 Support delta reads.
4943 (linux_disable_btrace): Change return type.
4944 * common/linux-btrace.h (linux_read_btrace): Change parameters
4945 and return type to allow error reporting. Update users.
4946 (linux_disable_btrace): Change return type. Update users.
4947 * common/btrace-common.h (btrace_read_type) <BTRACE_READ_DELTA>:
4949 (btrace_error): New.
4950 (btrace_block) <begin>: Comment on BEGIN == 0.
4951 * btrace.c (btrace_compute_ftrace): Start from the end of
4953 (btrace_stitch_trace, btrace_clear_history): New.
4954 (btrace_fetch): Read delta trace, return if replaying.
4955 (btrace_clear): Move clear history code to btrace_clear_history.
4956 (parse_xml_btrace): Throw an error if parsing failed.
4957 * target.h (struct target_ops) <to_read_btrace>: Change parameters
4958 and return type to allow error reporting.
4959 (target_read_btrace): Change parameters and return type to allow
4961 * target.c (target_read_btrace): Update.
4962 * remote.c (remote_read_btrace): Support delta reads. Pass
4964 * NEWS: Announce it.
4966 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4968 * record.h (record_btrace_frame_unwind)
4969 (record_btrace_tailcall_frame_unwind): New declarations.
4970 * dwarf2-frame: Include record.h
4971 (dwarf2_frame_cfa): Throw an error for btrace frames.
4972 * record-btrace.c: Include hashtab.h.
4973 (btrace_get_bfun_name): New.
4974 (btrace_call_history): Call btrace_get_bfun_name.
4975 (struct btrace_frame_cache): New.
4977 (bfcache_hash, bfcache_eq, bfcache_new): New.
4978 (btrace_get_frame_function): New.
4979 (record_btrace_frame_unwind_stop_reason): Allow unwinding.
4980 (record_btrace_frame_this_id): Compute own id.
4981 (record_btrace_frame_prev_register): Provide PC, throw_error
4982 for all other registers.
4983 (record_btrace_frame_sniffer): Detect btrace frames.
4984 (record_btrace_tailcall_frame_sniffer): New.
4985 (record_btrace_frame_dealloc_cache): New.
4986 (record_btrace_frame_unwind): Add new functions.
4987 (record_btrace_tailcall_frame_unwind): New.
4988 (_initialize_record_btrace): Allocate cache.
4989 * btrace.c (btrace_clear): Call reinit_frame_cache.
4990 * NEWS: Announce it.
4992 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4994 * record-btrace.c (record_btrace_set_replay)
4995 (record_btrace_goto_begin, record_btrace_goto_end)
4996 (record_btrace_goto): New.
4997 (init_record_btrace_ops): Initialize them.
4998 * NEWS: Announce it.
5000 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5002 * record-btrace.c (record_btrace_find_new_threads)
5003 (record_btrace_thread_alive): New.
5004 (init_record_btrace_ops): Initialize to_find_new_threads and
5007 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5009 * record-btrace.c (record_btrace_resume): New.
5010 (record_btrace_wait): New.
5011 (init_record_btrace_ops): Initialize to_wait and to_resume.
5013 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5015 * record-btrace.c (record_btrace_xfer_partial)
5016 (record_btrace_insert_breakpoint, record_btrace_remove_breakpoint)
5017 (record_btrace_allow_memory_access): New.
5018 (init_record_btrace_ops): Initialize new methods.
5019 * target.c (raw_memory_xfer_partial): Bail out if target reports
5020 that this memory is not available.
5022 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5024 * target.h (target_ops) <to_insert_breakpoint>
5025 <to_remove_breakpoint>: Add target_ops parameter.
5026 (forward_target_insert_breakpoint): New.
5027 (forward_target_remove_breakpoint): New.
5028 (memory_remove_breakpoint, memory_insert_breakpoint):
5029 Add target_ops parameter.
5030 * target.c (target_insert_breakpoint): Split into this and ...
5031 (forward_target_insert_breakpoint): ... this.
5032 (target_remove_breakpoint): Split into this and ...
5033 (forward_target_remove_breakpoint): ... this.
5034 (debug_to_insert_breakpoint): Add target_ops parameter.
5035 Call forward_target_insert_breakpoint.
5036 (debug_to_remove_breakpoint): Add target_ops parameter.
5037 Call forward_target_remove_breakpoint.
5038 (update_current_target): Do not inherit or default to_insert_breakpoint
5039 and to_remove_breakpoint.
5040 * corelow.c (ignore): Add target_ops parameter.
5041 * exec.c (ignore): Add target_ops parameter.
5042 * mem-break.c (memory_insert_breakpoint, memory_remove_breakpoint):
5043 Add target_ops parameter.
5044 * monitor.c (monitor_insert_breakpoint, monitor_remove_breakpoint):
5045 Add target_ops parameter.
5046 * nto-procfs.c (procfs_insert_breakpoint, procfs_remove_breakpoint):
5047 Add target_ops parameter.
5048 * record-full.c (record_full_beneath_to_insert_breakpoint)
5049 (record_full_beneath_to_remove_breakpoint, tmp_to_insert_breakpoint)
5050 (tmp_to_remove_breakpoint, record_full_insert_breakpoint)
5051 (record_full_remove_breakpoint, record_full_core_insert_breakpoint)
5052 (record_full_core_remove_breakpoint): Add target_ops parameter.
5054 (record_full_beneath_to_insert_breakpoint_ops)
5055 (record_full_beneath_to_remove_breakpoint_ops)
5056 (tmp_to_insert_breakpoint_ops, tmp_to_remove_breakpoint_ops): New.
5057 (record_full_open): Initialize tmp_to_insert_breakpoint_ops,
5058 tmp_to_remove_breakpoint_ops,
5059 record_full_beneath_to_insert_breakpoint_ops, and
5060 record_full_beneath_to_remove_breakpoint_ops.
5061 * remote-m32r-sdi.c (m32r_insert_breakpoint)
5062 (m32r_remove_breakpoint): Add target_ops parameter.
5063 * remote-mips.c (mips_insert_breakpoint, mips_remove_breakpoint):
5064 Add target_ops parameter.
5065 * remote.c (remote_insert_breakpoint, remote_remove_breakpoint):
5066 Add target_ops parameter.
5068 2014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
5069 Markus Metzger <markus.t.metzger@intel.com>
5071 * record-btrace.c: Include frame-unwind.h.
5072 (record_btrace_frame_unwind_stop_reason)
5073 (record_btrace_frame_this_id, record_btrace_frame_prev_register)
5074 (record_btrace_frame_sniffer, record_btrace_frame_unwind):
5076 (init_record_btrace_ops): Install it.
5078 2014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
5080 * frame.c (get_frame_unwind_stop_reason): Unconditionally call
5083 2014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
5085 * dwarf2-frame.c (dwarf2_frame_cfa): Move UNWIND_UNAVAILABLE check
5088 2014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
5090 * frame-unwind.c: Include target.h.
5091 (frame_unwind_try_unwinder): New function with code from ...
5092 (frame_unwind_find_by_frame): ... here. New variable
5093 unwinder_from_target, call also target_get_unwinder)
5094 (target_get_tailcall_unwinder, and frame_unwind_try_unwinder for it.
5095 * target.c (target_get_unwinder, target_get_tailcall_unwinder): New.
5096 * target.h (struct target_ops): New fields to_get_unwinder and
5097 to_get_tailcall_unwinder.
5098 (target_get_unwinder, target_get_tailcall_unwinder): New declarations.
5100 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5102 * record-btrace.c (record_btrace_fetch_registers)
5103 (record_btrace_store_registers)
5104 (record_btrace_to_prepare_to_store): New.
5105 (init_record_btrace_ops): Add the above.
5107 2014-01-16 Tom Tromey <tromey@redhat.com>
5109 * windows-nat.c (windows_prepare_to_store): Add 'self' argument.
5110 * target.h (struct target_ops) <to_prepare_to_store>: Add
5112 (target_prepare_to_store): Add argument.
5113 * target.c (debug_to_prepare_to_store): Add argument.
5114 (update_current_target): Update.
5115 * remote.c (remote_prepare_to_store): Add 'self' argument.
5116 * remote-sim.c (gdbsim_prepare_to_store): Add 'self' argument.
5117 * remote-mips.c (mips_prepare_to_store): Add 'self' argument.
5118 * remote-m32r-sdi.c (m32r_prepare_to_store): Add 'self' argument.
5119 * record-full.c (record_full_core_prepare_to_store): Add 'self'
5121 * ravenscar-thread.c (ravenscar_prepare_to_store): Add argument.
5122 * nto-procfs.c (procfs_prepare_to_store): Add 'self' argument.
5123 * monitor.c (monitor_prepare_to_store): Add 'self' argument.
5124 * inf-child.c (inf_child_prepare_to_store): Add 'self' argument.
5125 * go32-nat.c (go32_prepare_to_store): Add 'self' argument.
5127 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5129 * btrace.h (replay) <replay>: New.
5130 (btrace_is_replaying): New.
5131 * btrace.c (btrace_clear): Free replay iterator.
5132 (btrace_is_replaying): New.
5133 * record-btrace.c (record_btrace_is_replaying): New.
5134 (record_btrace_info): Print insn number if replaying.
5135 (record_btrace_insn_history): Start at replay position.
5136 (record_btrace_call_history): Start at replay position.
5137 (init_record_btrace_ops): Init to_record_is_replaying.
5139 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5141 * record-btrace.c (record_btrace_insn_history_range): Include
5143 (record_btrace_insn_history_from): Adjust range.
5144 (record_btrace_call_history_range): Include
5146 (record_btrace_call_history_from): Adjust range.
5147 * NEWS: Announce changes.
5149 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5151 * record.h (enum record_print_flag)
5152 <record_print_indent_calls>: New.
5153 * record.c (get_call_history_modifiers): Recognize /c modifier.
5154 (_initialize_record): Document /c modifier.
5155 * record-btrace.c (btrace_call_history): Add btinfo parameter.
5156 Reorder fields. Optionally indent the function name. Update
5158 * NEWS: Announce changes.
5160 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5162 * common/linux-btrace.c (linux_enable_btrace): Enlarge buffer.
5164 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5166 * btrace.c (ftrace_new_function): Start counting at one.
5167 * record-btrace.c (record_btrace_info): Adjust number of calls
5169 * NEWS: Announce it.
5171 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5173 * record-btrace.c (btrace_call_history_insn_range): Print
5174 insn range as [begin, end].
5176 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5178 * btrace.h (struct btrace_func_link): New.
5179 (enum btrace_function_flag): New.
5180 (struct btrace_inst): Rename to ...
5181 (struct btrace_insn): ...this. Update all users.
5182 (struct btrace_func) <ibegin, iend>: Remove.
5183 (struct btrace_func_link): New.
5184 (struct btrace_func): Rename to ...
5185 (struct btrace_function): ...this. Update all users.
5186 (struct btrace_function) <segment, flow, up, insn, insn_offset)
5187 (number, level, flags>: New.
5188 (struct btrace_insn_iterator): Rename to ...
5189 (struct btrace_insn_history): ...this.
5191 (struct btrace_insn_iterator, btrace_call_iterator): New.
5192 (struct btrace_target_info) <btrace, itrace, ftrace>: Remove.
5193 (struct btrace_target_info) <begin, end, level>
5194 <insn_history, call_history>: New.
5195 (btrace_insn_get, btrace_insn_number, btrace_insn_begin)
5196 (btrace_insn_end, btrace_insn_prev, btrace_insn_next)
5197 (btrace_insn_cmp, btrace_find_insn_by_number, btrace_call_get)
5198 (btrace_call_number, btrace_call_begin, btrace_call_end)
5199 (btrace_call_prev, btrace_call_next, btrace_call_cmp)
5200 (btrace_find_function_by_number, btrace_set_insn_history)
5201 (btrace_set_call_history): New.
5202 * btrace.c (btrace_init_insn_iterator)
5203 (btrace_init_func_iterator, compute_itrace): Remove.
5204 (ftrace_print_function_name, ftrace_print_filename)
5205 (ftrace_skip_file): Change
5207 (ftrace_init_func): Remove.
5208 (ftrace_debug): Use new btrace_function fields.
5209 (ftrace_function_switched): Also consider gaining and
5210 losing symbol information).
5211 (ftrace_print_insn_addr, ftrace_new_call, ftrace_new_return)
5212 (ftrace_new_switch, ftrace_find_caller, ftrace_new_function)
5213 (ftrace_update_caller, ftrace_fixup_caller, ftrace_new_tailcall):
5215 (ftrace_new_function): Move. Remove debug print.
5216 (ftrace_update_lines, ftrace_update_insns): New.
5217 (ftrace_update_function): Check for call, ret, and jump.
5218 (compute_ftrace): Renamed to ...
5219 (btrace_compute_ftrace): ...this. Rewritten to compute call
5221 (btrace_fetch, btrace_clear): Updated.
5222 (btrace_insn_get, btrace_insn_number, btrace_insn_begin)
5223 (btrace_insn_end, btrace_insn_prev, btrace_insn_next)
5224 (btrace_insn_cmp, btrace_find_insn_by_number, btrace_call_get)
5225 (btrace_call_number, btrace_call_begin, btrace_call_end)
5226 (btrace_call_prev, btrace_call_next, btrace_call_cmp)
5227 (btrace_find_function_by_number, btrace_set_insn_history)
5228 (btrace_set_call_history): New.
5229 * record-btrace.c (require_btrace): Use new btrace thread
5231 (record_btrace_info, btrace_insn_history)
5232 (record_btrace_insn_history, record_btrace_insn_history_range):
5233 Use new btrace thread info fields and new iterator.
5234 (btrace_func_history_src_line): Rename to ...
5235 (btrace_call_history_src_line): ...this. Use new btrace
5237 (btrace_func_history): Rename to ...
5238 (btrace_call_history): ...this. Use new btrace thread info
5239 fields and new iterator.
5240 (record_btrace_call_history, record_btrace_call_history_range):
5241 Use new btrace thread info fields and new iterator.
5243 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5245 * frame.h (frame_id_build_unavailable_stack_special): New.
5246 * frame.c (frame_id_build_unavailable_stack_special): New.
5248 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5250 * amd64-tdep.c (amd64_classify_insn_at, amd64_insn_is_call)
5251 (amd64_insn_is_ret, amd64_insn_is_jump, amd64_jmp_p): New.
5252 (amd64_init_abi): Add insn_is_call, insn_is_ret, and insn_is_jump
5254 * i386-tdep.c (i386_insn_is_call, i386_insn_is_ret)
5255 (i386_insn_is_jump, i386_jmp_p): New.
5256 (i386_gdbarch_init): Add insn_is_call, insn_is_ret, and
5257 insn_is_jump to gdbarch.
5258 * gdbarch.sh (insn_is_call, insn_is_ret, insn_is_jump): New.
5259 * gdbarch.h: Regenerated.
5260 * gdbarch.c: Regenerated.
5261 * arch-utils.h (default_insn_is_call, default_insn_is_ret)
5262 (default_insn_is_jump): New.
5263 * arch-utils.c (default_insn_is_call, default_insn_is_ret)
5264 (default_insn_is_jump): New.
5266 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5268 * common/btrace-common.h (btrace_read_type) <btrace_read_all>:
5270 (btrace_read_type) <BTRACE_READ_ALL>: ... this. Update users.
5271 (btrace_read_type) <btrace_read_new>: Change to ...
5272 (btrace_read_type) <BTRACE_READ_NEW>: ... this. Update users.
5274 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5276 * common/linux-btrace.c (linux_read_btrace): Free trace from
5279 2014-01-15 Doug Evans <dje@google.com>
5281 * dwarf2read.c (open_and_init_dwp_file): Use pulongest to print
5284 2014-01-15 Tom Tromey <tromey@redhat.com>
5286 * dbxread.c (process_one_symbol): Use set_objfile_main_name.
5287 * dwarf2read.c (read_partial_die): Use set_objfile_main_name.
5288 * objfiles.c (get_objfile_bfd_data): Initialize language_of_main.
5289 (set_objfile_main_name): New function.
5290 * objfiles.h (struct objfile_per_bfd_storage) <name_of_main,
5291 language_of_main>: New fields.
5292 (set_objfile_main_name): Declare.
5293 * symtab.c (find_main_name): Loop over objfiles to find the main
5295 (set_main_name): Now static.
5296 (get_main_info): Add comment.
5297 * symtab.h (set_main_name): Don't declare.
5299 2014-01-15 Tom Tromey <tromey@redhat.com>
5301 * symtab.c (main_progspace_key): New global.
5302 (struct main_info): New.
5303 (name_of_main, language_of_main): Remove.
5304 (get_main_info, main_info_cleanup): New function.
5305 (set_main_name, main_name, main_language): Use get_main_info.
5306 (_initialize_symtab): Initialize main_progspace_key.
5308 2014-01-15 Tom Tromey <tromey@redhat.com>
5310 * dbxread.c (process_one_symbol): Update.
5311 * dwarf2read.c (read_partial_die): Update.
5312 * symfile.c (set_initial_language): Call main_language.
5313 * symtab.c (language_of_main): Now static.
5314 (set_main_name): Add 'lang' parameter.
5315 (find_main_name): Update.
5316 (main_language): New function.
5317 (symtab_observer_executable_changed): Update.
5318 * symtab.h (set_main_name): Update.
5319 (language_of_main): Remove.
5320 (main_language): Declare.
5322 2014-01-15 Tom Tromey <tromey@redhat.com>
5324 * symfile.c (init_entry_point_info): Use new "initialized" field.
5326 * objfiles.h (struct entry_point) <initialized>: New field.
5327 (struct objfile_per_bfd_storage) <ei>: New field, moved from...
5328 (struct objfile) <ei>: ...here. Remove.
5329 * objfiles.c (entry_point_address_query): Update.
5331 2014-01-15 Tom Tromey <tromey@redhat.com>
5333 * objfiles.c (entry_point_address_query): Relocate entry point
5335 (objfile_relocate1): Do not relocate entry point address.
5336 * objfiles.h (struct entry_info) <entry_point>: Update comment.
5337 <the_bfd_section_index>: New field.
5338 * symfile.c (init_entry_point_info): Find the entry point's
5341 2014-01-15 Tom Tromey <tromey@redhat.com>
5343 * solib-frv.c (enable_break): Use entry_point_address_query.
5345 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
5347 * NEWS: Add note on improved process record-replay on
5348 arm*-linux* targets.
5350 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
5352 * arm-tdep.c (enum arm_record_result): New enum.
5353 (arm_record_unsupported_insn): New function.
5354 (arm_record_coproc_data_proc): Removed.
5355 (thumb2_record_ld_st_multiple): New function.
5356 (thumb2_record_ld_st_dual_ex_tbb): New function.
5357 (thumb2_record_data_proc_sreg_mimm): New function.
5358 (thumb2_record_ps_dest_generic): New function.
5359 (thumb2_record_branch_misc_cntrl): New function.
5360 (thumb2_record_str_single_data): New function.
5361 (thumb2_record_ld_mem_hints): New function.
5362 (thumb2_record_ld_word): New function.
5363 (thumb2_record_lmul_lmla_div): New function.
5364 (thumb2_record_decode_insn_handler): New function.
5365 (decode_insn): Add thumb32 instruction handlers.
5367 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
5369 * arm-linux-tdep.c: Include "record-full.h" and "linux-record.h".
5370 (struct arm_linux_record_tdep): Declare.
5371 (arm_canonicalize_syscall): New function.
5372 (arm_all_but_pc_registers_record): New function.
5373 (arm_linux_syscall_record): New function.
5374 (arm_linux_init_abi): Add syscall recording constructs.
5375 * arm-tdep.c (thumb_record_ldm_stm_swi): Update thumb syscall
5376 decoding. (arm_record_coproc_data_proc): Update arm syscall
5378 * arm-tdep.h (struct gdbarch_tdep) <arm_swi_record>: Remove.
5379 <arm_syscall_record>: New field.
5380 * configure.tgt (arm*-*-linux*): Add linux-record.o to
5383 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
5385 * arm-tdep.c (thumb_record_misc): Update to use sp as base
5386 register for push instruction recording.
5388 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
5390 * arm-tdep.c (thumb_record_misc): Update to correct logical
5391 error while recording ldm, ldmia and pop instructions.
5393 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
5395 * arm-tdep.c (struct arm_mem_r) <addr>: Change type to uint32_t.
5397 2014-01-15 Pedro Alves <palves@redhat.com>
5399 * go32-nat.c (go32_open, go32_close, go32_attach, go32_detach)
5400 (go32_resume, go32_fetch_registers, store_register)
5401 (go32_store_registers, go32_prepare_to_store)
5402 (go32_xfer_memory, go32_files_info, go32_kill_inferior)
5403 (go32_create_inferior, go32_can_run, go32_terminal_init)
5404 (go32_terminal_inferior, go32_terminal_ours): Delete forward
5407 2014-01-15 Tom Tromey <tromey@redhat.com>
5409 * target.h (async_callback_ftype): New typedef.
5410 (struct target_ops) <to_async>: Use it.
5412 2014-01-15 Joel Brobecker <brobecker@adacore.com>
5414 * python/py-value.c (get_field_type): Remove unnecessary curly
5415 braces for single-statement if block.
5417 2014-01-15 Joel Brobecker <brobecker@adacore.com>
5419 * python/py-type.c (convert_field): Add missing empty line
5422 2014-01-14 Doug Evans <dje@google.com>
5424 * symfile.h (expand_symtabs_matching): Renamed from
5425 expand_partial_symbol_names. Update prototype.
5426 (map_symbol_filenames): Renamed from map_partial_symbol_filenames.
5427 * symfile.c (expand_symtabs_matching): Renamed from
5428 expand_partial_symbol_names. New args file_matcher, kind.
5429 Rename arg fun to symbol_matcher.
5430 (map_symbol_filenames): Renamed from map_partial_symbol_filenames.
5431 * ada-lang.c (ada_complete_symbol_matcher): Renamed from
5432 ada_expand_partial_symbol_name.
5433 (ada_make_symbol_completion_list): Update to call
5434 expand_symtabs_matching.
5435 (ada_add_global_exceptions): Call expand_symtabs_matching.
5436 * mi/mi-cmd-file.c (mi_cmd_file_list_exec_source_files): Update to
5437 call map_symbol_filenames.
5438 * symtab.c (sources_info): Update to call map_symbol_filenames.
5439 (search_symbols): Call expand_symtabs_matching.
5440 (symbol_completion_matcher): Renamed from expand_partial_symbol_name.
5441 (default_make_symbol_completion_list_break_on): Update to call
5442 expand_symtabs_matching.
5443 (make_source_files_completion_list): Update to call
5444 map_symbol_filenames.
5446 2014-01-14 Doug Evans <dje@google.com>
5448 * symfile.h (expand_symtabs_file_matcher_ftype): New typedef.
5449 (expand_symtabs_symbol_matcher_ftype): New typedef.
5450 (quick_symbol_functions.expand_symtabs_matching): Update to use.
5451 expand_symtabs_file_matcher_ftype, expand_symtabs_symbol_matcher_ftype.
5452 * symfile.c (expand_partial_symbol_names): Update to use
5453 expand_symtabs_symbol_matcher_ftype.
5454 * dwarf2read.c (dw2_expand_symtabs_matching): Update to use
5455 expand_symtabs_file_matcher_ftype, expand_symtabs_symbol_matcher_ftype.
5456 Arg name_matcher renamed to symbol_matcher.
5457 * psymtab.c (recursively_search_psymtabs): Update to use
5458 expand_symtabs_symbol_matcher_ftype. Arg name_matcher renamed to
5460 (expand_symtabs_matching_via_partial): Update to use
5461 expand_symtabs_file_matcher_ftype, expand_symtabs_symbol_matcher_ftype.
5462 Arg name_matcher renamed to symbol_matcher.
5464 2014-01-14 Doug Evans <dje@google.com>
5466 * psymtab.c (expand_partial_symbol_names): Delete, moved to symfile.c.
5467 (map_partial_symbol_filenames): Ditto.
5468 * psymtab.h (expand_partial_symbol_names): Delete, moved to symfile.h.
5469 (map_partial_symbol_filenames): Ditto.
5470 * symfile.c (expand_partial_symbol_names): Moved here from psymtab.c.
5471 (map_partial_symbol_filenames): Ditto.
5472 * symfile.h (expand_partial_symbol_names): Moved here from psymtab.h.
5473 (map_partial_symbol_filenames): Ditto.
5474 * symtab.c: Delete #include "psymtab.h".
5476 2014-01-14 Pedro Alves <palves@redhat.com>
5477 Tom Tromey <tromey@redhat.com>
5479 * infrun.c (use_displaced_stepping): Use find_record_target
5480 instead of RECORD_IS_USED.
5481 (adjust_pc_after_break): Use record_full_is_used instead of
5483 * record-btrace.c (record_btrace_open): Call record_preopen
5484 instead of checking RECORD_IS_USED.
5485 * record-full.c (record_full_shortname)
5486 (record_full_core_shortname): New globals.
5487 (record_full_is_used): New function.
5488 (find_full_open): Call record_preopen instead of checking
5490 (init_record_full_ops): Set the target's shortname to
5491 record_full_shortname.
5492 (init_record_full_core_ops): Set the target's shortname to
5493 record_full_core_shortname.
5494 * record-full.h (record_full_is_used): Declare.
5495 * record.c (find_record_target): Make extern.
5496 (record_preopen): New function.
5497 * record.h (RECORD_IS_USED): Delete macro.
5498 (find_record_target, record_preopen): Declare functions.
5500 2014-01-14 Yao Qi <yao@codesourcery.com>
5502 * gdbarch.sh (core_xfer_shared_libraries): Change its argument
5503 'len''s type to ULONGEST.
5504 (core_xfer_shared_libraries_aix): Likewise.
5505 * gdbarch.c, gdbarch.h: Regenerated.
5506 * i386-cygwin-tdep.c (windows_core_xfer_shared_libraries):
5507 Change type of 'len' to ULONGEST.
5508 * rs6000-aix-tdep.c (rs6000_aix_ld_info_to_xml): Likewise.
5509 (rs6000_aix_core_xfer_shared_libraries_aix): Likewise.
5511 2014-01-14 Yao Qi <yao@codesourcery.com>
5513 * common/linux-osdata.c (linux_xfer_osdata_processes): Change
5514 type of 'len' to ULONGEST.
5515 (linux_xfer_osdata_processgroups): Likewise.
5516 (linux_xfer_osdata_threads): Likewise.
5517 (linux_xfer_osdata_fds): Likewise.
5518 (linux_xfer_osdata_isockets): Likewise.
5519 (linux_xfer_osdata_shm): Likewise.
5520 (linux_xfer_osdata_sem): Likewise.
5521 (linux_xfer_osdata_msg): Likewise.
5522 (linux_common_xfer_osdata): Likewise.
5523 (struct osdata_type) <getter>: Likewise.
5524 * common/linux-osdata.h (linux_common_xfer_osdata): Update
5527 2014-01-14 Yao Qi <yao@codesourcery.com>
5529 * target.h (target_xfer_partial_ftype): Update.
5530 (struct target_ops) <to_xfer_partial>: Change 'len' type to
5532 * aix-thread.c (aix_thread_xfer_partial): Change type of
5533 argument 'len' to ULONGEST.
5534 * auxv.c (procfs_xfer_auxv): Likewise.
5535 (ld_so_xfer_auxv): Likewise.
5536 (memory_xfer_auxv): Likewise.
5537 * bfd-target.c (target_bfd_xfer_partial): Likewise.
5538 * bsd-kvm.c (bsd_kvm_xfer_partial): Likewise.
5539 * bsd-uthread.c (bsd_uthread_xfer_partial): Likewise.
5540 * corelow.c (core_xfer_partial): Likewise.
5541 * ctf.c (ctf_xfer_partial): Likewise.
5542 * darwin-nat.c (darwin_read_write_inferior): Likewise. Use
5544 (darwin_read_dyld_info): Likewise.
5545 (darwin_xfer_partial): Likewise.
5546 * exec.c (section_table_xfer_memory_partial): Likewise.
5547 (exec_xfer_partial): Likewise.
5548 * exec.h (section_table_xfer_memory_partial): Update
5550 * gnu-nat.c (gnu_xfer_memory): Likewise. Call pulongest
5551 instead of plongest.
5552 (gnu_xfer_partial): Likewise.
5553 * ia64-hpux-nat.c (ia64_hpux_xfer_memory): Likewise.
5554 (ia64_hpux_xfer_solib_got): Likewise.
5555 (ia64_hpux_xfer_partial): Likewise.
5556 * ia64-linux-nat.c (ia64_linux_xfer_partial):
5557 * inf-ptrace.c (inf_ptrace_xfer_partial):
5558 * inf-ttrace.c (inf_ttrace_xfer_partial):
5559 * linux-nat.c (linux_xfer_siginfo): Likewise.
5560 (linux_nat_xfer_partial): Likewise.
5561 (spu_enumerate_spu_ids, linux_proc_xfer_spu): Likewise.
5562 (linux_nat_xfer_osdata, linux_xfer_partial): Likewise.
5563 * monitor.c (monitor_xfer_memory): Likewise.
5564 (monitor_xfer_partial): Likewise.
5565 * procfs.c (procfs_xfer_partial): Likewise.
5566 * record-full.c (record_full_xfer_partial): Likewise.
5567 (record_full_core_xfer_partial): Likewise.
5568 * remote-sim.c (gdbsim_xfer_memory): Likewise. Call pulongest
5569 instead of plongest.
5570 (gdbsim_xfer_partial): Likewise.
5571 * remote.c (remote_xfer_partial): Likewise.
5572 * rs6000-aix-tdep.c (rs6000_aix_ld_info_to_xml): Likewise.
5573 * rs6000-aix-tdep.h (rs6000_aix_ld_info_to_xml): Update
5575 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
5576 (rs6000_xfer_shared_libraries): Likewise.
5577 * sol-thread.c (sol_thread_xfer_partial): Likewise.
5578 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
5579 (sparc_xfer_partial): Likewise.
5580 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise.
5581 (spu_xfer_partial): Likewise.
5582 * spu-multiarch.c (spu_xfer_partial): Likewise.
5583 * target.c (target_read_live_memory): Likewise.
5584 (memory_xfer_live_readonly_partial): Likewise.
5585 (memory_xfer_partial, memory_xfer_partial_1): Likewise.
5586 (target_xfer_partial, default_xfer_partial): Likewise.
5587 (current_xfer_partial): Likewise.
5588 * tracepoint.c (tfile_xfer_partial): Likewise.
5589 * windows-nat.c (windows_xfer_memory): Likewise. Call
5590 pulongest instead of plongest.
5591 (windows_xfer_partial): Likewise.
5592 (windows_xfer_shared_libraries): Likewise.
5594 2014-01-14 Yao Qi <yao@codesourcery.com>
5596 * rs6000-nat.c (rs6000_xfer_shared_libraries): Use
5597 target_xfer_partial_ftype.
5599 2014-01-13 Siva Chandra Reddy <sivachandra@google.com>
5603 * valops.c (value_struct_elt_bitpos): New function
5604 * py-type.c (convert_field): Set 'name' attribute of a gdb.Field
5605 object to 'None' if the field name is an empty string ("").
5606 * python/py-value.c (valpy_getitem): Use 'bitpos' and 'type'
5607 attribute to look for a field when 'name' is 'None'.
5608 (get_field_type): New function
5610 2014-01-13 Doug Evans <dje@google.com>
5613 * dwarf2read.c (dwarf2_get_dwz_file): Call gdb_bfd_record_inclusion.
5614 (try_open_dwop_file): Ditto.
5615 * gdb_bfd.c: #include "vec.h".
5616 (bfdp): New typedef.
5617 (struct gdb_bfd_data): New member included_bfds.
5618 (gdb_bfd_unref): Unref all included bfds.
5619 (gdb_bfd_record_inclusion): New function.
5620 * gdb_bfd.h (gdb_bfd_record_inclusion): Declare.
5622 2014-01-13 Tom Tromey <tromey@redhat.com>
5624 * gdbcore.h (deprecated_core_resize_section_table): Remove.
5626 2014-01-13 Tom Tromey <tromey@redhat.com>
5628 * defs.h (use_windows): Remove.
5629 * gdb.c (main): Update.
5630 * main.c (captured_main, gdb_main): Update.
5631 * main.h (struct captured_main_args) <use_windows>: Remove.
5632 * top.c (use_windows): Remove.
5634 2014-01-13 Tom Tromey <tromey@redhat.com>
5636 * defs.h (deprecated_flush_hook): Remove.
5638 2014-01-13 Jan Kratochvil <jan.kratochvil@redhat.com>
5641 * linux-thread-db.c (try_thread_db_load): Add parameter
5642 check_auto_load_safe. Move here the file_is_auto_load_safe call.
5643 (try_thread_db_load_from_pdir_1): Move it there from here.
5644 (try_thread_db_load_from_sdir): Update caller.
5645 (try_thread_db_load_from_dir): Move it there from here.
5647 2014-01-13 Patrick Palka <patrick@parcs.ath.cx>
5649 * regformats/regdat.sh: Always rewrite the register file.
5651 2014-01-13 Pedro Alves <palves@redhat.com>
5653 * Makefile.in (CHECK_HEADERS): New variable.
5654 (check-headers:): New rule.
5656 2014-01-13 Tom Tromey <tromey@redhat.com>
5658 * cli/cli-setshow.c (do_set_command): Update.
5659 * defs.h (deprecated_set_hook): Remove.
5660 * top.c (deprecated_set_hook): Remove.
5662 2014-01-13 Pedro Alves <palves@redhat.com>
5664 * tracepoint.c (tfile_fetch_registers): Don't infer the PC from
5665 the tracepoint if the PC is a pseudo-register.
5667 2014-01-13 Tom Tromey <tromey@redhat.com>
5669 * defs.h (XCALLOC): Remove.
5670 * bcache.c (bcache_xmalloc): Use XCNEW, not XCALLOC.
5671 (print_bcache_statistics): Use XCNEWVEC, not XCALLOC.
5672 * dwarf2loc.c (allocate_piece_closure): Likewise.
5673 * elfread.c (elf_symfile_segments): Likewise.
5674 (elf_symfile_segments): Likewise.
5675 * gdbtypes.c (copy_type_recursive): Likewise.
5676 * i386-tdep.c (i386_gdbarch_init): Use XCNEW, not XCALLOC.
5677 * jit.c (jit_frame_sniffer): Use XCNEWVEC, not XCALLOC.
5678 * minsyms.c (prim_record_minimal_symbol_full): Use XCNEW, not
5680 * mt-tdep.c (mt_gdbarch_init): Likewise.
5681 * opencl-lang.c (allocate_lval_closure): Use XCNEWVEC, not
5683 * psymtab.c (psymbol_compare): Use XCNEW, not XCALLOC.
5684 * regcache.c (regcache_xmalloc_1): Use XCNEWVEC, not XCALLOC.
5685 * registry.c (registry_alloc_data): Likewise.
5686 * rs6000-tdep.c (rs6000_gdbarch_init): Use XCNEW, not XCALLOC.
5687 * s390-linux-tdep.c (s390_gdbarch_init): Likewise.
5688 * serial.c (serial_fdopen_ops): Likewise.
5689 * solib-aix.c (solib_aix_get_section_offsets): Use XCNEWVEC, not
5691 * spu-tdep.c (spu_gdbarch_init): Use XCNEW, not XCALLOC.
5692 * symfile.c (default_symfile_segments): Use XCNEW and XCNEWVEC,
5695 2014-01-13 Tom Tromey <tromey@redhat.com>
5697 * defs.h (XMALLOC): Remove.
5698 * avr-tdep.c (avr_gdbarch_init): Use XNEW, not XMALLOC.
5699 * bfin-tdep.c (bfin_gdbarch_init): Likewise.
5700 * cli-out.c (struct ui_out *): Likewise.
5701 * cli/cli-dump.c (add_dump_command): Likewise.
5702 (add_dump_command): Likewise.
5703 * complaints.c (get_complaints): Likewise.
5704 (find_complaint): Likewise.
5705 * dwarf2-frame.c (execute_cfa_program): Likewise.
5706 * dwarf2read.c (abbrev_table_read_table): Likewise.
5707 * gdbarch.sh: Likewise.
5708 * gdbarch.c: Rebuild.
5709 * inf-ttrace.c (inf_ttrace_add_page): Likewise.
5710 * interps.c (interp_new): Likewise.
5711 * lm32-tdep.c (lm32_gdbarch_init): Likewise.
5712 * m32r-tdep.c (m32r_gdbarch_init): Likewise.
5713 * mi/mi-console.c (mi_console_file_new): Likewise.
5714 * mi/mi-interp.c (mi_interpreter_init): Likewise.
5715 * mi/mi-out.c (mi_out_new): Likewise.
5716 * mi/mi-parse.c (mi_parse): Likewise.
5717 * microblaze-tdep.c (microblaze_gdbarch_init): Likewise.
5718 * moxie-tdep.c (moxie_gdbarch_init): Likewise.
5719 * observer.c (xalloc_observer_list_node): Likewise.
5720 * regcache.c (regcache_xmalloc_1): Likewise.
5721 * reggroups.c (reggroup_new): Likewise.
5722 (_initialize_reggroup): Likewise.
5723 * registry.c (register_data_with_cleanup): Likewise.
5724 * remote.c (remote_notif_stop_alloc_reply): Likewise.
5725 * ser-base.c (serial_ttystate): Likewise.
5726 * ser-mingw.c (make_pipe_state): Likewise.
5727 * ser-pipe.c (pipe_open): Likewise.
5728 * serial.c (serial_open): Likewise.
5729 * sh64-tdep.c (sh64_gdbarch_init): Likewise.
5730 * tui/tui-data.c (tui_alloc_generic_win_info): Likewise.
5731 (tui_alloc_win_info): Likewise.
5732 (tui_add_content_elements): Likewise.
5733 * tui/tui-file.c (tui_file_new): Likewise.
5734 * tui/tui-out.c (tui_out_new): Likewise.
5735 * ui-file.c (mem_file_new): Likewise.
5736 * ui-out.c (push_level): Likewise.
5737 (make_cleanup_ui_out_end): Likewise.
5738 (append_header_to_list): Likewise.
5739 (ui_out_new): Likewise.
5740 * user-regs.c (user_reg_add_builtin): Likewise.
5742 2014-01-13 Tom Tromey <tromey@redhat.com>
5744 * defs.h (XZALLOC): Remove.
5745 * ada-lang.c (get_ada_inferior_data): Use XCNEW, not XZALLOC.
5746 * ada-tasks.c (get_ada_tasks_pspace_data): Likewise.
5747 (get_ada_tasks_inferior_data): Likewise.
5748 * auto-load.c (get_auto_load_pspace_data): Likewise.
5749 * auxv.c (get_auxv_inferior_data): Likewise.
5750 * bfd-target.c (target_bfd_reopen): Likewise.
5751 * breakpoint.c (get_catch_syscall_inferior_data): Likewise.
5752 (deprecated_insert_raw_breakpoint): Likewise.
5753 * bsd-uthread.c (bsd_uthread_pid_to_str): Likewise.
5754 * corelow.c (core_open): Likewise.
5755 * darwin-nat.c (darwin_check_new_threads): Likewise.
5756 (darwin_attach_pid): Likewise.
5757 * dummy-frame.c (dummy_frame_push): Likewise.
5758 * dwarf2-frame.c (dwarf2_frame_cache): Likewise.
5759 * dwarf2loc.c (allocate_piece_closure): Likewise.
5760 * elfread.c (elf_symfile_segments): Likewise.
5761 * eval.c (ptrmath_type_p): Likewise.
5762 * exceptions.c (EXCEPTIONS_SIGJMP_BUF): Likewise.
5763 * gdbtypes.c (alloc_type_arch): Likewise.
5764 (alloc_type_instance): Likewise.
5765 * hppa-tdep.c (hppa_gdbarch_init): Likewise.
5766 * inf-child.c (inf_child_can_use_agent): Likewise.
5767 * inflow.c (get_inflow_inferior_data): Likewise.
5768 * infrun.c (save_infcall_suspend_state): Likewise.
5769 * jit.c (jit_reader_load): Likewise.
5770 (get_jit_objfile_data): Likewise.
5771 (get_jit_program_space_data): Likewise.
5772 (jit_object_open_impl): Likewise.
5773 (jit_symtab_open_impl): Likewise.
5774 (jit_block_open_impl): Likewise.
5775 (jit_frame_sniffer): Likewise.
5776 * linux-fork.c (add_fork): Likewise.
5777 * maint.c (make_command_stats_cleanup): Likewise.
5778 * objfiles.c (get_objfile_pspace_data): Likewise.
5779 * opencl-lang.c (struct lval_closure): Likewise.
5780 * osdata.c (osdata_start_osdata): Likewise.
5781 * progspace.c (new_address_space): Likewise.
5782 (add_program_space): Likewise.
5783 * remote-sim.c (get_sim_inferior_data): Likewise.
5784 * sh-tdep.c (sh_gdbarch_init): Likewise.
5785 * skip.c (Ignore): Likewise.
5786 (skip_delete_command): Likewise.
5787 * solib-aix.c (get_solib_aix_inferior_data): Likewise.
5788 (library_list_start_library): Likewise.
5789 (solib_aix_current_sos): Likewise.
5790 * solib-darwin.c (get_darwin_info): Likewise.
5791 (darwin_current_sos): Likewise.
5792 * solib-dsbt.c (get_dsbt_info): Likewise.
5793 * solib-ia64-hpux.c (new_so_list): Likewise.
5794 (ia64_hpux_get_solib_linkage_addr): Likewise.
5795 * solib-spu.c (append_ocl_sos): Likewise.
5796 (spu_current_sos): Likewise.
5797 * solib-svr4.c (get_svr4_info): Likewise.
5798 (svr4_keep_data_in_core): Likewise.
5799 (library_list_start_library): Likewise.
5800 (svr4_default_sos): Likewise.
5801 (svr4_read_so_list): Likewise.
5802 * solib-target.c (library_list_start_library): Likewise.
5803 (solib_target_current_sos): Likewise.
5804 * sparc-tdep.c (sparc32_gdbarch_init): Likewise.
5805 * symfile-debug.c (install_symfile_debug_logging): Likewise.
5806 * symfile.c (default_symfile_segments): Likewise.
5807 * target-descriptions.c (tdesc_data_init): Likewise.
5808 (tdesc_create_reg): Likewise.
5809 (struct tdesc_type *): Likewise.
5810 (tdesc_create_vector): Likewise.
5811 (tdesc_set_struct_size): Likewise.
5812 (struct tdesc_type *): Likewise.
5813 (tdesc_free_feature): Likewise.
5814 (tdesc_create_feature): Likewise.
5815 * windows-nat.c (windows_add_thread): Likewise.
5816 (windows_make_so): Likewise.
5817 * xml-support.c (gdb_xml_body_text): Likewise.
5818 (gdb_xml_create_parser_and_cleanup): Likewise.
5819 (xml_process_xincludes): Likewise.
5820 * xml-syscall.c (allocate_syscalls_info): Likewise.
5821 (syscall_create_syscall_desc): Likewise.
5823 2014-01-12 Sergio Durigan Junior <sergiodj@redhat.com>
5825 * i386-tdep.c (i386_stap_parse_special_token_triplet): New
5826 function, with code from i386_stap_parse_special_token.
5827 (i386_stap_parse_special_token_three_arg_disp): Likewise.
5828 (i386_stap_parse_special_token): Move code to the two functions
5831 2014-01-09 Pedro Alves <palves@redhat.com>
5832 Hui Zhu <hui@codesourcery.com>
5835 * breakpoint.c (insert_bp_location): Rename hw_bp_err_string to
5836 bp_err_string. Don't mark the location shlib_disabled if the
5837 error thrown wasn't a generic or memory error. Catch errors
5838 thrown while inserting breakpoints in overlayed code. Output
5839 error message of software breakpoints.
5840 * remote.c (remote_insert_breakpoint): If this breakpoint has
5841 target-side commands but this stub doesn't support Z0 packets,
5842 throw NOT_SUPPORTED_ERROR error.
5843 * exceptions.h (enum errors) <NOT_SUPPORTED_ERROR>: New error.
5844 * target.h (target_insert_breakpoint): Extend comment.
5845 (target_insert_hw_breakpoint): Add comment.
5847 2014-01-08 Pedro Alves <palves@redhat.com>
5849 * remote.c (remote_add_thread): Add threads silently if starting
5851 (remote_notice_new_inferior): If in all-stop, and starting up,
5852 don't call notice_new_inferior.
5853 (get_current_thread): New function, factored out from ...
5854 (add_current_inferior_and_thread): ... this. Adjust.
5855 (remote_start_remote) <all-stop>: Fetch the thread list. If we
5856 found any thread, then select the remote's current thread as GDB's
5859 2014-01-08 Joel Brobecker <brobecker@adacore.com>
5861 * NEWS: Create a new section for the next release branch.
5862 Rename the section of the current branch, now that it has
5865 2014-01-08 Joel Brobecker <brobecker@adacore.com>
5867 GDB 7.7 branch created (79301218fa0f074c5656db0ec8972a5ddcf91fb5):
5868 * version.in: Bump version to 7.7.50.DATE-cvs.
5870 2014-01-08 Yao Qi <yao@codesourcery.com>
5872 * spu-linux-nat.c (spu_symbol_file_add_from_memory): Change
5873 type of 'id' to gdb_byte. Cast 'id' to 'const char *'.
5874 (spu_xfer_partial): Cast 'buf' to 'const char *'.
5876 2014-01-08 Yao Qi <yao@codesourcery.com>
5878 * spu-linux-nat.c (spu_symbol_file_add_from_memory): Pass
5879 return value of bfd_get_filename to symbol_file_add_from_bfd.
5881 2014-01-08 Pierre Muller <muller@sourceware.org>
5884 * coff-pe-read.c (struct read_pe_section_data): Add index field.
5885 (add_pe_exported_sym): Use SECTION_DATA->INDEX for call
5886 to prim_record_mininal_symbol_and_info.
5887 (add_pe_forwarded_sym): Use known section number of forwarded symbol
5888 in call to prim_record_minimal_symbol_and_info.
5889 (read_pe_exported_syms): Set index field of section_data.
5891 2014-01-07 Andrew Pinski <apinski@cavium.com>
5893 * features/aarch64-core.xml (cpsr): Change to be 64bit.
5894 * features/aarch64.c: Regenerate.
5896 2014-01-07 Andreas Schwab <schwab@linux-m68k.org>
5898 * target.c (return_null): Define.
5899 (update_current_target): Use it instead of return_zero for
5900 functions that return a pointer.
5902 2014-01-07 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
5904 * source.c (add_path): Fix check for duplicated paths in the previously
5907 2014-01-07 Honggyu Kim <hong.gyu.kim@lge.com>
5909 * ada-lang.c: Remove duplicated include statements.
5910 * alphabsd-nat.c: Ditto.
5911 * amd64-darwin-tdep.c: Ditto.
5912 * amd64fbsd-nat.c: Ditto.
5913 * auto-load.c: Ditto.
5915 * breakpoint.c: Ditto.
5917 * fork-child.c: Ditto.
5918 * gdb_usleep.c: Ditto.
5919 * i386-darwin-tdep.c: Ditto.
5920 * i386fbsd-nat.c: Ditto.
5922 * inferior.c: Ditto.
5924 * linux-nat.c: Ditto.
5925 * linux-tdep.c: Ditto.
5926 * m68kbsd-nat.c: Ditto.
5927 * m68klinux-nat.c: Ditto.
5928 * microblaze-tdep.c: Ditto.
5929 * mips-linux-tdep.c: Ditto.
5930 * mn10300-tdep.c: Ditto.
5931 * nto-tdep.c: Ditto.
5932 * opencl-lang.c: Ditto.
5934 * printcmd.c: Ditto.
5935 * regcache.c: Ditto.
5936 * remote-m32r-sdi.c: Ditto.
5940 * tilegx-linux-nat.c: Ditto.
5941 * tilegx-tdep.c: Ditto.
5942 * tracepoint.c: Ditto.
5944 * vaxbsd-nat.c: Ditto.
5945 * windows-nat.c: Ditto.
5946 * xtensa-tdep.c: Ditto.
5948 2014-01-07 Yao Qi <yao@codesourcery.com>
5950 * spu-linux-nat.c (_initialize_spu_nat): Declare.
5952 2014-01-07 Yao Qi <yao@codesourcery.com>
5953 Joel Brobecker <brobecker@adacore.com>
5955 * aix-thread.c (pdc_read_regs): Cast parameter to uintptr_t.
5956 (pdc_write_regs): Likewise.
5957 (fetch_regs_kernel_thread): Likewise.
5958 (store_regs_kernel_thread): Likewise.
5960 2014-01-07 Joel Brobecker <brobecker@adacore.com>
5962 * ada-varobj.c (ada_varobj_adjust_for_child_access): Convert
5963 tagged type objects to their actual type.
5965 2014-01-07 Joel Brobecker <brobecker@adacore.com>
5967 * ada-valprint.c (print_field_values): Add "language" parameter.
5968 Update calls to print_field_values and print_variant_part.
5969 Pass new parameter "language" in call to val_print instead
5970 of "current_language". Replace call to ada_val_print by call
5972 (print_variant_part): Add "language" parameter.
5973 (ada_val_print_struct_union): Update call to print_field_values.
5975 2014-01-07 Joel Brobecker <brobecker@adacore.com>
5977 * ada-valprint.c (ui_memcpy): Delete.
5978 (ada_print_floating): Update documentation. Add empty line
5979 between between function documentation and implementation.
5980 Delete variable "buffer". Use ui_file_xstrdup in place of
5981 ui_file_put. Minor adjustments following this change.
5983 2014-01-07 Joel Brobecker <brobecker@adacore.com>
5985 * ada-valprint.c (ada_val_print_string): New function,
5986 extracted from ada_val_print_array.
5987 (ada_val_print_array): Replace extracted code by call
5988 to ada_val_print_string followed by a return. Move
5989 "else" branch to the function's top block.
5991 2014-01-07 Joel Brobecker <brobecker@adacore.com>
5993 * ada-valprint.c (ada_val_print_array): Move implementation
5994 down. Rename parameter "offset" and "val" into "offset_aligned"
5995 and "original_value" respectively. Add parameter "offset".
5997 2014-01-07 Joel Brobecker <brobecker@adacore.com>
5999 * ada-valprint.c (ada_val_print_ref): Rewrite by mostly
6000 re-organizing the code. Change the "???" message printed
6001 when target type is a TYPE_CODE_UNDEF into
6002 "<ref to undefined type>".
6004 2014-01-07 Joel Brobecker <brobecker@adacore.com>
6006 * ada-valprint.c (print_record): Delete, implementation inlined...
6007 (ada_val_print_struct_union): ... here. Remove call to
6008 ada_check_typedef in inlined implementation.
6010 2014-01-07 Joel Brobecker <brobecker@adacore.com>
6012 * ada-valprint.c (ada_val_print_gnat_array): New function,
6013 extracted from ada_val_print_1;
6014 (ada_val_print_ptr, ada_val_print_num, ada_val_print_enum)
6015 (ada_val_print_flt, ada_val_print_struct_union)
6016 (ada_val_print_ref): Likewise.
6017 (ada_val_print_1): Delete variables i and elttype.
6018 Replace extracted-out code by call to corresponding
6021 2014-01-07 Joel Brobecker <brobecker@adacore.com>
6023 * ada-valprint.c (ada_val_print_1): Remove call to gdb_flush.
6025 2014-01-07 Joel Brobecker <brobecker@adacore.com>
6027 * ada-valprint.c (ada_val_print_1): Replace calls to
6028 ada_val_print_1 by calls to val_print.
6030 2014-01-07 Joel Brobecker <brobecker@adacore.com>
6032 * ada-valprint.c (ada_val_print_1): Add parameter "language".
6033 Update calls to self accordingly. Replace calls to c_val_print
6034 by calls to val_print.
6036 2014-01-07 Joel Brobecker <brobecker@adacore.com>
6038 * ada-valprint.c (print_record): Delete declaration.
6039 (adjust_type_signedness, ada_val_print_1): Likewise.
6040 (ada_val_print): Move function implementation down.
6041 (print_variant_part, print_field_values, print_record):
6042 Move function implementation up.
6044 2014-01-07 Joel Brobecker <brobecker@adacore.com>
6046 * python/py-type.c (typy_get_name): New function.
6047 (type_object_getset): Add entry for attribute "name".
6048 * NEWS: Add entry mentioning this new attribute.
6050 2014-01-07 Yao Qi <yao@codesourcery.com>
6052 * gnu-nat.c (set_exceptions_cmd): Remove an empty body 'if'
6055 2014-01-07 Yao Qi <yao@codesourcery.com>
6057 * gnu-nat.c (info_port_rights): Add qualifier const to
6060 2014-01-07 Yao Qi <yao@codesourcery.com>
6062 * gnu-nat.c (trace_me): Use 'void' for empty argument list.
6064 2014-01-07 Yao Qi <yao@codesourcery.com>
6066 * gnu-nat.c (make_inf) Update declaration.
6067 (make_inf): Make it static.
6068 (inf_set_traced): Likewise.
6069 (inf_port_to_thread, inf_task_died_status): Likewise.
6071 2014-01-07 Yao Qi <yao@codesourcery.com>
6073 * gnu-nat.c (inf_tid_to_proc): Remove declaration.
6075 2014-01-07 Yao Qi <yao@codesourcery.com>
6077 * gnu-nat.c (_initialize_gnu_nat): Declare.
6079 2014-01-07 Yao Qi <yao@codesourcery.com>
6081 * gdbarch.sh (byte_order, byte_order_for_code): Change type to
6083 (struct gdbarch_info) <byte_order>: Change type to
6085 <byte_order_for_code>: Likewise.
6086 * gdbarch.c, gdbarch.h: Regenerated.
6088 2014-01-06 Sasha Smundak <asmundak@google.com>
6090 * jit.c: (jit_reader_load_command): Fix JIT reader path creation.
6092 2014-01-06 Tom Tromey <tromey@redhat.com>
6094 * doublest.c (convert_doublest_to_floatformat): Use const, not
6096 * somread.c (som_symtab_read): Likewise.
6098 2014-01-07 Hui Zhu <hui@codesourcery.com>
6100 * gdb_bfd.c (gdb_bfd_stash_filename): Removed.
6101 (gdb_bfd_open): Removed gdb_bfd_stash_filename.
6102 (gdb_bfd_fopen): Ditto.
6103 (gdb_bfd_openr): Ditto.
6104 (gdb_bfd_openw): Ditto.
6105 (gdb_bfd_openr_iovec): Ditto.
6106 (gdb_bfd_fdopenr): Ditto.
6107 * gdb_bfd.h (gdb_bfd_stash_filename): Removed.
6108 * solib-aix.c (solib_aix_bfd_open): Alloc object_bfd->filename
6110 * solib-darwin.c (darwin_bfd_open): Alloc res->filename
6112 * symfile-mem.c (symbol_file_add_from_memory): Removed
6113 gdb_bfd_stash_filename.
6115 2014-01-03 Doug Evans <dje@google.com>
6117 * nat/linux-waitpid.c (linux_debug): Remove extraneous \n from
6120 2014-01-01 Joel Brobecker <brobecker@adacore.com>
6122 Update year range in copyright notice of all files.
6124 2014-01-01 Joel Brobecker <brobecker@adacore.com>
6126 * top.c (print_gdb_version): Set copyright year to 2014.
6128 2014-01-01 Joel Brobecker <brobecker@adacore.com>
6130 * config/djgpp/fnchange.lst: Add entry for gdb/ChangeLog-2013.
6132 For older changes see ChangeLog-2013.
6138 version-control: never