1 2014-03-12 Pedro Alves <palves@redhat.com>
3 * windows-nat.c: Include inf-child.h.
4 (windows_ops): Delete global.
5 (windows_open, windows_prepare_to_store, windows_can_run): Delete
7 (init_windows_ops): Delete function.
8 (windows_target): New function, based on init_windows_ops, but
9 inherit inf_child_target.
10 (_initialize_windows_nat): Use windows_target. Install x86
11 specific target methods here.
13 2014-03-10 Doug Evans <xdje42@gmail.com>
15 * guile/guile.c (call_initialize_gdb_module): New function.
16 (initialize_guile): Replace call to scm_init_guile with call to
19 2014-03-10 Joel Brobecker <brobecker@adacore.com>
21 * ada-lang.c (ada_evaluate_subexp): Add missing space before '('
22 in call to TYPE_CODE macro.
24 2014-03-10 Jerome Guitton <guitton@adacore.com>
26 * ada-lang.c (ada_evaluate_subexp) <UNOP_IND, STRUCTOP_STRUCT>:
27 Resolve tagged types to full view.
29 2014-03-10 Hui Zhu <hui@codesourcery.com>
31 * target.h (target_insert_breakpoint): Remove "hardware" from its
34 2014-03-07 Doug Evans <dje@google.com>
36 * dwarf2read.c (read_str_index): Rename local dwo_name to objf_name.
38 2014-03-07 Doug Evans <dje@google.com>
40 * dwarf2read.c (read_cutu_die_from_dwo): Fix function comment.
41 Remove unused local comp_dir_attr. Assert exactly one of
42 stub_comp_unit_die, stub_comp_dir is non-NULL.
44 2014-03-07 Joel Brobecker <brobecker@adacore.com>
46 * target.h (complete_target_initialization, add_target):
49 2014-03-07 Pedro Alves <palves@redhat.com>
51 * go32-nat.c: Include inf-child.h.
52 (go32_ops): Delete global.
53 (go32_close, go32_detach, go32_prepare_to_store, go32_can_run):
55 (go32_create_inferior): Push the passed in target pointer instead
56 of referencing go32_ops.
57 (init_go32_ops): Delete function. Moved parts to _initialize_go32_nat.
58 (go32_target): New function, based on init_go32_ops, but inherit
60 (_initialize_go32_nat): Use go32_target. Move parts of
63 2014-03-06 Joel Brobecker <brobecker@adacore.com>
65 * sol-thread.c: #include "symtab.h", "minsym.h" and "objfiles.h".
66 (ps_pglobal_lookup): Use BMSYMBOL_VALUE_ADDRESS instead of
68 (info_cb): MSYMBOL_PRINT_NAME instead of SYMBOL_PRINT_NAME.
70 2014-03-06 Yao Qi <yao@codesourcery.com>
72 * breakpoint.c (get_tracepoint_by_number): Remove argument
73 optional_p. All callers updated. Adjust comments. Update
75 * breakpoint.h (get_tracepoint_by_number): Update declaration.
77 2014-03-06 Yao Qi <yao@codesourcery.com>
79 * reverse.c (goto_bookmark_command): Add local 'p'. Emit error
80 early if get_number returns zero. Use 'p' instead of 'args'.
82 2014-03-06 Yao Qi <yao@codesourcery.com>
84 * cli/cli-utils.c (get_number_trailer): Add '\n' at the end of
87 2014-03-06 Yao Qi <yao@codesourcery.com>
90 * tracepoint.c (check_trace_running): New function.
91 (trace_find_command): Move code to check_trace_running and
92 call check_trace_running.
93 (trace_find_pc_command): Likewise.
94 (trace_find_tracepoint_command): Likewise.
95 (trace_find_line_command): Likewise.
96 (trace_find_range_command): Likewise.
97 * tracepoint.h (check_trace_running): Likewise.
98 * mi/mi-main.c (mi_cmd_trace_find): Call check_trace_running.
100 2014-03-06 Yao Qi <yao@codesourcery.com>
102 * target.h (struct target_ops) <to_traceframe_info>: Use
103 TARGET_DEFAULT_NORETURN (tcomplain ()).
104 * target-delegates.c: Regenerated.
106 2014-03-05 Pedro Alves <palves@redhat.com>
109 * dcache.c (dcache_poke_byte): Constify ptr parameter. Return
110 void. Update comment.
111 (dcache_xfer_memory): Delete.
112 (dcache_read_memory_partial): New, based on the read bits of
114 (dcache_update): Add status parameter. Use ULONGEST for len, and
115 adjust. Discard cache lines if the reason for the update was
117 * dcache.h (dcache_xfer_memory): Delete declaration.
118 (dcache_read_memory_partial): New declaration.
119 (dcache_update): Update prototype.
120 * target.c (raw_memory_xfer_partial): Update the dcache here.
121 (memory_xfer_partial_1): Don't handle dcache writes here.
123 2014-03-05 Mike Frysinger <vapier@gentoo.org>
125 * remote-sim.c (gdbsim_load): Add const to prog.
127 2014-03-03 Tom Tromey <tromey@redhat.com>
129 * elfread.c (probe_key): Change to bfd_data.
130 (elf_get_probes, probe_key_free, _initialize_elfread): Probes are
131 now per-BFD, not per-objfile.
132 * stap-probe.c (stap_probe_destroy): Update comment.
133 (handle_stap_probe): Allocate on the per-BFD obstack.
135 2014-03-03 Tom Tromey <tromey@redhat.com>
137 * break-catch-throw.c (fetch_probe_arguments): Use bound probes.
138 * breakpoint.c (create_longjmp_master_breakpoint): Use
140 (add_location_to_breakpoint, bkpt_probe_insert_location)
141 (bkpt_probe_remove_location): Update.
142 * breakpoint.h (struct bp_location) <probe>: Now a bound_probe.
143 * elfread.c (elf_symfile_relocate_probe): Remove.
144 (elf_probe_fns): Update.
145 (insert_exception_resume_breakpoint): Change type of "probe"
146 parameter to bound_probe.
147 (check_exception_resume): Update.
148 * objfiles.c (objfile_relocate1): Don't relocate probes.
149 * probe.c (bound_probe_s): New typedef.
150 (parse_probes): Use get_probe_address. Set sal's objfile.
151 (find_probe_by_pc): Return a bound_probe.
152 (collect_probes): Return a VEC(bound_probe_s).
153 (compare_probes): Update.
154 (gen_ui_out_table_header_info): Change type of "probes"
156 (info_probes_for_ops): Update.
157 (get_probe_address): New function.
158 (probe_safe_evaluate_at_pc): Update.
159 * probe.h (struct probe_ops) <get_probe_address>: New field.
160 <set_semaphore, clear_semaphore>: Add objfile parameter.
161 (struct probe) <objfile>: Remove field.
163 <address>: Update comment.
164 (struct bound_probe): New.
165 (find_probe_by_pc): Return a bound_probe.
166 (get_probe_address): Declare.
167 * solib-svr4.c (struct probe_and_action) <address>: New field.
168 (hash_probe_and_action, equal_probe_and_action): Update.
169 (register_solib_event_probe): Add address parameter.
170 (solib_event_probe_at): Update.
171 (svr4_create_probe_breakpoints): Add objfile parameter. Use
173 * stap-probe.c (struct stap_probe) <sem_addr>: Update comment.
174 (stap_get_probe_address): New function.
175 (stap_can_evaluate_probe_arguments, compute_probe_arg)
176 (compile_probe_arg): Update.
177 (stap_set_semaphore, stap_clear_semaphore): Compute semaphore's
179 (handle_stap_probe): Don't relocate the probe.
180 (stap_relocate): Remove.
181 (stap_gen_info_probes_table_values): Update.
182 (stap_probe_ops): Remove stap_relocate.
183 * symfile-debug.c (debug_sym_relocate_probe): Remove.
184 (debug_sym_probe_fns): Update.
185 * symfile.h (struct sym_probe_fns) <sym_relocate_probe>: Remove.
186 * symtab.c (init_sal): Use memset.
187 * symtab.h (struct symtab_and_line) <objfile>: New field.
188 * tracepoint.c (start_tracing, stop_tracing): Update.
190 2014-03-03 Tom Tromey <tromey@redhat.com>
192 * probe.h (parse_probes, find_probe_by_pc)
193 (find_probes_in_objfile): Fix comments.
195 2014-03-02 Doug Evans <xdje42@gmail.com>
197 * infrun.c (handle_signal_stop): Replace test for
198 TARGET_WAITKIND_STOPPED with an assert.
200 2014-03-02 Doug Evans <xdje42@gmail.com>
202 * guile/scm-objfile.c (ofscm_mark_objfile_smob): Fix typo in comment.
204 2014-03-02 Doug Evans <xdje42@gmail.com>
206 * guile/lib/gdb/printing.scm (append-pretty-printer!): Fix thinko.
208 2014-03-01 Mark Kettenis <kettenis@gnu.org>
210 * obsd-nat.c: Include "gdb_wait.h" instead of <sys/wait.h>.
212 2014-03-01 Mark Kettenis <kettenis@gnu.org>
214 * i386obsd-nat.c: Include "obsd-nat.h".
215 (_initialize_i386obsd_nat): Call obsd_add_target instead of
217 * config/i386/obsd.mh (NATDEPFILES): Add obsd-nat.o.
219 2014-03-01 Mark Kettenis <kettenis@gnu.org>
221 * i386obsd-nat.c (i386obsd_supply_pcb): Cast 'sf' to 'gdb_byte *'.
223 2014-03-01 Mark Kettenis <kettenis@gnu.org>
225 * mips64obsd-nat.c: Include "obsd-nath".
226 (_initialize_mips64obsd_nat): Call obsd_add_target instead of
228 * config/mips/obsd64.mh (NATDEPFILES): Add obsd-nat.o.
230 2014-03-01 Mark Kettenis <kettenis@gnu.org>
232 * amd64obsd-nat.c: Include "obsd-nat,h.
233 (_initialize_amd64obsd_nat): Call obsd_add_target instead of
235 * config/i386/obsd64.mh (NATDEPFILES): Add obsd-nat.o.
237 2014-02-28 Siva Chandra Reddy <sivachandra@google.com>
239 * valops.c (find_oload_champ): Remove unneccesary argument METHOD.
240 (find_overload_match): Update call to find_oload_champ.
241 (find_oload_champ_namespace_loop): Likewise
243 2014-02-28 Mark Kettenis <kettenis@gnu.org>
245 * Makefile.in (ALLDEPFILES): Add sparc64obsd-nat.c.
247 * configure.host (sparc64-*-openbsd*): Set gdb_host to obsd64.
248 * config/sparc/obsd64.mh: New file.
249 * sparc64obsd-nat.c: New file.
251 * obsd-nat.h: New file.
252 * obsd-nat.c: New file.
253 * Makefile.in (HFILES_NO_SRCDIR): Add obsd-nat.h.
254 (ALLDEPFILES): Add obsd-nat.c.
256 2014-02-28 Tom Tromey <tromey@redhat.com>
258 * cli-out.c (cli_ui_out_impl): Now const. Remove comment.
259 * cli-out.h (cli_ui_out_impl): Now const.
260 * mi/mi-out.c (mi_ui_out_impl): Now const. Remove comment.
261 * ui-out.c (struct ui_out) <impl>: Now const.
262 (default_ui_out_impl): Now const.
263 (ui_out_new): Make 'impl' parameter const.
264 * ui-out.h (ui_out_new): Update.
266 2014-02-27 Mark Kettenis <kettenis@gnu.org>
268 * solib-svr4.c (svr4_read_so_list): Initialize first_l_name to 0.
270 2014-02-27 Mark Kettenis <kettenis@gnu.org>
272 * sparc-nat.c (sparc_xfer_wcookie): Always use process ID.
274 2014-02-27 Jan Kratochvil <jan.kratochvil@redhat.com>
276 Additional PR 8882 fix.
277 * solib-svr4.c (svr4_read_so_list): Change first to first_l_name.
279 2014-02-27 Pedro Alves <palves@redhat.com>
281 * nat/linux-waitpid.c (my_waitpid): Only block signals if WNOHANG
284 2014-02-27 Pedro Alves <palves@redhat.com>
287 * linux-nat.c (status_to_str): Moved to nat/linux-waitpid.c.
288 * nat/linux-waitpid.c: Include string.h.
289 (status_to_str): Moved here and made extern.
290 * nat/linux-waitpid.h (status_to_str): New declaration.
292 2014-02-27 Hui Zhu <hui@codesourcery.com>
295 * infrun.c (ptid_match): Move ...
296 * common/ptid.c (ptid_match): ... here.
297 * inferior.h (ptid_match): Move ...
298 * common/ptid.h (ptid_match): ... here.
300 2014-02-27 Mark Kettenis <kettenis@gnu.org>
302 * mips64obsd-tdep.c (mips64obsd_init_abi): Call obsd_init_abi.
303 * configure.tgt (mips64*-*-openbsd*): Add obsd-tdep.c to
306 2014-02-27 Mark Kettenis <kettenis@gnu.org>
308 * obsd-tdep.c (obsd_auxv_parse): New function.
309 (obsd_init_abi): Set auxv_parse.
311 * gdbarch.sh (auxv_parse): New.
312 * gdbarch.h: Regenerated.
313 * gdbarch.c: Regenerated.
314 * auxv.c (target_auxv_parse): Call gdbarch_parse_auxv if provided.
316 2014-02-26 Ludovic Courtès <ludo@gnu.org>
318 * guile/scm-value.c (gdbscm_history_append_x): New function.
319 (value_functions): Add it.
321 2014-02-27 Joel Brobecker <brobecker@adacore.com>
323 * dwarf2read.c (attr_value_as_address): New function.
324 (dwarf2_find_base_address, read_call_site_scope): Use
325 attr_value_as_address in place of DW_ADDR.
326 (dwarf2_get_pc_bounds): Use attr_value_as_address to get
327 the low and high addresses. Slight rework of the handling
328 of the high pc being a constant form, and limit it to
329 DWARF verson 4 or higher.
330 (dwarf2_record_block_ranges): Likewise.
331 (read_partial_die): Likewise.
332 (new_symbol_full): Use attr_value_as_address in place of DW_ADDR.
334 2014-02-26 Tom Tromey <tromey@redhat.com>
336 * exec.c (exec_file_attach): Hold a reference to exec_bfd.
338 2014-02-26 Tom Tromey <tromey@redhat.com>
340 * elfread.c (elf_read_minimal_symbols): Return early if
341 minimal symbols have already been read. Add "ei" parameter.
342 (elf_symfile_read): Call elf_read_minimal_symbols earlier.
343 * minsyms.c (prim_record_minimal_symbol_full): Update.
344 * objfiles.h (struct objstats) <n_minsyms>: Move...
345 (struct objfile_per_bfd_storage) <n_minsyms>: ... here.
346 * symmisc.c (print_objfile_statistics): Update.
348 2014-02-26 Tom Tromey <tromey@redhat.com>
350 * elfread.c (elf_read_minimal_symbols): New function, from
352 (elf_symfile_read): Call it.
354 2014-02-26 Tom Tromey <tromey@redhat.com>
356 * minsyms.c (lookup_minimal_symbol, iterate_over_minimal_symbols)
357 (lookup_minimal_symbol_text, lookup_minimal_symbol_by_pc_name)
358 (lookup_minimal_symbol_solib_trampoline)
359 (lookup_minimal_symbol_by_pc_section_1)
360 (lookup_minimal_symbol_and_objfile): Update.
361 (prim_record_minimal_symbol_full): Use the per-BFD obstack.
362 Don't allocate a minimal symbol if minsyms have already been read.
363 (build_minimal_symbol_hash_tables): Update.
364 (install_minimal_symbols): Do nothing if minsyms already read.
365 Use the per-BFD obstack.
366 (terminate_minimal_symbol_table): Use the per-BFD obstack.
367 * objfiles.c (allocate_objfile): Call
368 terminate_minimal_symbol_table later.
369 (have_minimal_symbols): Update.
370 * objfiles.h (struct objfile_per_bfd_storage) <msymbols,
371 minimal_symbol_count, msymbol_hash, msymbol_demangled_hash>:
372 Move from struct objfile.
373 <minsyms_read>: New field.
374 (struct objfile) <msymbols, minimal_symbol_count,
375 msymbol_hash, msymbol_demangled_hash>: Move.
376 (ALL_OBJFILE_MSYMBOLS): Update.
377 * symfile.c (read_symbols): Set minsyms_read.
378 (reread_symbols): Update.
379 * symmisc.c (dump_objfile, dump_msymbols): Update.
381 2014-02-26 Tom Tromey <tromey@redhat.com>
383 * minsyms.c (msymbols_sort): Remove.
384 * minsyms.h (msymbols_sort): Remove.
385 * objfiles.c (objfile_relocate1): Don't relocate minsyms.
386 * symtab.h (MSYMBOL_VALUE_ADDRESS): Use objfile offsets.
387 * elfread.c (elf_symtab_read): Don't add section offsets.
388 * xcoffread.c (record_minimal_symbol): Don't add section offset
389 to minimal symbol address.
390 * somread.c (text_offset, data_offset): Remove.
391 (som_symtab_read): Don't add section offsets to minimal symbol
393 * coff-pe-read.c (add_pe_forwarded_sym, read_pe_exported_syms):
394 Don't add section offsets to minimal symbols.
395 * coffread.c (coff_symtab_read): Don't add section offsets
396 to minimal symbol addresses.
397 * machoread.c (macho_symtab_add_minsym): Don't add section offset
398 to minimal symbol addresses.
399 * mipsread.c (read_alphacoff_dynamic_symtab): Don't add
400 section offset to minimal symbol addresses.
401 * mdebugread.c (parse_partial_symbols): Don't add section
402 offset to minimal symbol addresses.
403 * dbxread.c (read_dbx_dynamic_symtab): Don't add section
404 offset to minimal symbol addresses.
406 2014-02-26 Tom Tromey <tromey@redhat.com>
408 * ada-lang.c (ada_main_name): Update.
409 (ada_add_standard_exceptions): Update.
410 * ada-tasks.c (ada_tasks_inferior_data_sniffer): Update.
411 * aix-thread.c (pdc_symbol_addrs, pd_enable): Update.
412 * arm-tdep.c (skip_prologue_function, arm_skip_stub): Update.
413 * auxv.c (ld_so_xfer_auxv): Update.
414 * avr-tdep.c (avr_scan_prologue): Update.
415 * ax-gdb.c (gen_var_ref): Update.
416 * blockframe.c (get_pc_function_start)
417 (find_pc_partial_function_gnu_ifunc): Update.
418 * breakpoint.c (create_overlay_event_breakpoint)
419 (create_longjmp_master_breakpoint)
420 (create_std_terminate_master_breakpoint)
421 (create_exception_master_breakpoint): Update.
422 * bsd-uthread.c (bsd_uthread_lookup_address): Update.
423 * c-valprint.c (c_val_print): Update.
424 * coff-pe-read.c (add_pe_forwarded_sym): Update.
425 * common/agent.c (agent_look_up_symbols): Update.
426 * dbxread.c (find_stab_function_addr, end_psymtab): Update.
427 * dwarf2loc.c (call_site_to_target_addr): Update.
428 * dwarf2read.c (dw2_find_pc_sect_symtab): Update.
429 * elfread.c (elf_gnu_ifunc_record_cache)
430 (elf_gnu_ifunc_resolve_by_got): Update.
431 * findvar.c (default_read_var_value): Update.
432 * frame.c (inside_main_func): Update.
433 * frv-tdep.c (frv_frame_this_id): Update.
434 * glibc-tdep.c (glibc_skip_solib_resolver): Update.
435 * gnu-v3-abi.c (gnuv3_get_typeid, gnuv3_skip_trampoline):
437 * hppa-hpux-tdep.c (hppa64_hpux_search_dummy_call_sequence)
438 (hppa_hpux_find_dummy_bpaddr): Update.
439 * hppa-tdep.c (hppa_symbol_address): Update.
440 * infcmd.c (until_next_command): Update.
441 * jit.c (jit_read_descriptor, jit_breakpoint_re_set_internal):
443 * linespec.c (minsym_found, add_minsym): Update.
444 * linux-nat.c (get_signo): Update.
445 * linux-thread-db.c (inferior_has_bug): Update.
446 * m32c-tdep.c (m32c_return_value)
447 (m32c_m16c_address_to_pointer): Update.
448 * m32r-tdep.c (m32r_frame_this_id): Update.
449 * m68hc11-tdep.c (m68hc11_get_register_info): Update.
450 * machoread.c (macho_resolve_oso_sym_with_minsym): Update.
451 * maint.c (maintenance_translate_address): Update.
452 * minsyms.c (lookup_minimal_symbol_by_pc_name): Update.
453 (frob_address): New function.
454 (lookup_minimal_symbol_by_pc_section_1): Use raw addresses,
455 frob_address. Rename parameter to "pc_in".
456 (compare_minimal_symbols, compact_minimal_symbols): Use raw
458 (find_solib_trampoline_target, minimal_symbol_upper_bound):
460 * mips-linux-tdep.c (mips_linux_skip_resolver): Update.
461 * mips-tdep.c (mips_skip_pic_trampoline_code): Update.
462 * objc-lang.c (find_objc_msgsend): Update.
463 * objfiles.c (objfile_relocate1): Update.
464 * obsd-tdep.c (obsd_skip_solib_resolver): Update.
465 * p-valprint.c (pascal_val_print): Update.
466 * parse.c (write_exp_msymbol): Update.
467 * ppc-linux-tdep.c (ppc_linux_spe_context_lookup)
468 (ppc_elfv2_skip_entrypoint): Update.
469 * ppc-sysv-tdep.c (convert_code_addr_to_desc_addr): Update.
470 * printcmd.c (build_address_symbolic, msym_info)
471 (address_info): Update.
472 * proc-service.c (ps_pglobal_lookup): Update.
473 * psymtab.c (find_pc_sect_psymtab_closer)
474 (find_pc_sect_psymtab, find_pc_sect_symtab_from_partial):
475 Change msymbol parameter to bound_minimal_symbol.
476 * ravenscar-thread.c (get_running_thread_id): Update.
477 * remote.c (remote_check_symbols): Update.
478 * sh64-tdep.c (sh64_elf_make_msymbol_special): Use raw
480 * sol2-tdep.c (sol2_skip_solib_resolver): Update.
481 * solib-dsbt.c (lm_base): Update.
482 * solib-frv.c (lm_base, main_got): Update.
483 * solib-irix.c (locate_base): Update.
484 * solib-som.c (som_solib_create_inferior_hook)
485 (link_map_start): Update.
486 * solib-spu.c (spu_enable_break, ocl_enable_break): Update.
487 * solib-svr4.c (elf_locate_base, enable_break): Update.
488 * spu-tdep.c (spu_get_overlay_table, spu_catch_start)
489 (flush_ea_cache): Update.
490 * stabsread.c (define_symbol, scan_file_globals): Update.
491 * stack.c (find_frame_funname): Update.
492 * symfile-debug.c (debug_qf_expand_symtabs_matching)
493 (debug_qf_find_pc_sect_symtab): Update.
494 * symfile.c (simple_read_overlay_table)
495 (simple_overlay_update): Update.
496 * symfile.h (struct quick_symbol_functions)
497 <find_pc_sect_symtab>: Change type of msymbol to
498 bound_minimal_symbol.
499 * symmisc.c (dump_msymbols): Update.
500 * symtab.c (find_pc_sect_symtab_via_partial)
501 (find_pc_sect_psymtab, find_pc_sect_line, skip_prologue_sal)
502 (search_symbols, print_msymbol_info): Update.
503 * symtab.h (MSYMBOL_VALUE_RAW_ADDRESS): New macro.
504 (MSYMBOL_VALUE_ADDRESS): Redefine.
505 (BMSYMBOL_VALUE_ADDRESS): New macro.
506 * tracepoint.c (scope_info): Update.
507 * tui/tui-disasm.c (tui_find_disassembly_address)
508 (tui_get_begin_asm_address): Update.
509 * valops.c (find_function_in_inferior): Update.
510 * value.c (value_static_field, value_fn_field): Update.
512 2014-02-26 Tom Tromey <tromey@redhat.com>
514 * ada-lang.c (ada_update_initial_language): Update.
515 (ada_main_name, ada_has_this_exception_support): Update.
516 * ada-tasks.c (ada_tasks_inferior_data_sniffer): Update.
517 * aix-thread.c (pdc_symbol_addrs, pd_enable): Update.
518 * arm-tdep.c (arm_skip_stub): Update.
519 * auxv.c (ld_so_xfer_auxv): Update.
520 * avr-tdep.c (avr_scan_prologue): Update.
521 * ax-gdb.c (gen_var_ref): Update.
522 * breakpoint.c (struct breakpoint_objfile_data)
523 <overlay_msym, longjmp_msym, terminate_msym, exception_msym>: Change
524 type to bound_minimal_symbol.
525 (create_overlay_event_breakpoint)
526 (create_longjmp_master_breakpoint)
527 (create_std_terminate_master_breakpoint)
528 (create_exception_master_breakpoint): Update.
529 * bsd-uthread.c (bsd_uthread_lookup_address): Update.
530 * c-exp.y (classify_name): Update.
531 * coffread.c (coff_symfile_read): Update.
532 * common/agent.c (agent_look_up_symbols): Update.
533 * d-lang.c (d_main_name): Update.
534 * dbxread.c (find_stab_function_addr, end_psymtab): Update.
535 * dec-thread.c (enable_dec_thread): Update.
536 * dwarf2loc.c (call_site_to_target_addr): Update.
537 * elfread.c (elf_gnu_ifunc_resolve_by_got): Update.
538 * eval.c (evaluate_subexp_standard): Update.
539 * findvar.c (struct minsym_lookup_data) <result>: Change type
540 to bound_minimal_symbol.
542 (minsym_lookup_iterator_cb, default_read_var_value): Update.
543 * frame.c (inside_main_func): Update.
544 * frv-tdep.c (frv_frame_this_id): Update.
545 * gcore.c (call_target_sbrk): Update.
546 * glibc-tdep.c (glibc_skip_solib_resolver): Update.
547 * gnu-v3-abi.c (gnuv3_get_typeid, gnuv3_skip_trampoline):
549 * go-lang.c (go_main_name): Update.
550 * hppa-hpux-tdep.c (hppa_hpux_skip_trampoline_code)
551 (hppa_hpux_find_import_stub_for_addr): Update.
552 * hppa-tdep.c (hppa_extract_17, hppa_lookup_stub_minimal_symbol):
553 Update. Change return type.
554 * hppa-tdep.h (hppa_lookup_stub_minimal_symbol): Change return
556 * jit.c (jit_breakpoint_re_set_internal): Update.
557 * linux-fork.c (inferior_call_waitpid, checkpoint_command):
559 * linux-nat.c (get_signo): Update.
560 * linux-thread-db.c (inferior_has_bug): Update
561 * m32c-tdep.c (m32c_return_value)
562 (m32c_m16c_address_to_pointer): Update.
563 * m32r-tdep.c (m32r_frame_this_id): Update.
564 * m68hc11-tdep.c (m68hc11_get_register_info): Update.
565 * machoread.c (macho_resolve_oso_sym_with_minsym): Update.
566 * minsyms.c (lookup_minimal_symbol_internal): Rename to
567 lookup_minimal_symbol. Change return type.
568 (lookup_minimal_symbol): Remove.
569 (lookup_bound_minimal_symbol): Update.
570 (lookup_minimal_symbol_text): Change return type.
571 (lookup_minimal_symbol_solib_trampoline): Change return type.
572 * minsyms.h (lookup_minimal_symbol, lookup_minimal_symbol_text)
573 (lookup_minimal_symbol_solib_trampoline): Change return type.
574 * mips-linux-tdep.c (mips_linux_skip_resolver): Update.
575 * objc-lang.c (lookup_objc_class, lookup_child_selector)
576 (value_nsstring, find_imps): Update.
577 * obsd-tdep.c (obsd_skip_solib_resolver): Update.
578 * p-lang.c (pascal_main_name): Update.
579 * ppc-linux-tdep.c (ppc_linux_spe_context_lookup): Update.
580 * ppc-sysv-tdep.c (convert_code_addr_to_desc_addr): Update.
581 * proc-service.c (ps_pglobal_lookup): Update.
582 * ravenscar-thread.c (get_running_thread_msymbol): Change
584 (has_ravenscar_runtime, get_running_thread_id): Update.
585 * remote.c (remote_check_symbols): Update.
586 * sol-thread.c (ps_pglobal_lookup): Update.
587 * sol2-tdep.c (sol2_skip_solib_resolver): Update.
588 * solib-dsbt.c (lm_base): Update.
589 * solib-frv.c (lm_base, frv_relocate_section_addresses):
591 * solib-irix.c (locate_base): Update.
592 * solib-som.c (som_solib_create_inferior_hook)
593 (som_solib_desire_dynamic_linker_symbols, link_map_start):
595 * solib-spu.c (spu_enable_break): Update.
596 * solib-svr4.c (elf_locate_base, enable_break): Update.
597 * spu-tdep.c (spu_get_overlay_table, spu_catch_start)
598 (flush_ea_cache): Update.
599 * stabsread.c (define_symbol): Update.
600 * symfile.c (simple_read_overlay_table): Update.
601 * symtab.c (find_pc_sect_line): Update.
602 * tracepoint.c (scope_info): Update.
603 * tui-disasm.c (tui_get_begin_asm_address): Update.
604 * value.c (value_static_field): Update.
606 2014-02-26 Tom Tromey <tromey@redhat.com>
608 * minsyms.c (prim_record_minimal_symbol_full): Use
609 SET_MSYMBOL_VALUE_ADDRESS.
610 * objfiles.c (objfile_relocate1): Use SET_MSYMBOL_VALUE_ADDRESS.
611 * sh64-tdep.c (sh64_elf_make_msymbol_special): Use
612 SET_MSYMBOL_VALUE_ADDRESS.
613 * symtab.h (MSYMBOL_VALUE_ADDRESS): Expand to an rvalue.
614 (SET_MSYMBOL_VALUE_ADDRESS): New macro.
616 2014-02-26 Tom Tromey <tromey@redhat.com>
618 * symtab.h (struct minimal_symbol) <mginfo>: Rename from ginfo.
619 (MSYMBOL_VALUE, MSYMBOL_VALUE_ADDRESS, MSYMBOL_VALUE_BYTES)
620 (MSYMBOL_BLOCK_VALUE, MSYMBOL_VALUE_CHAIN, MSYMBOL_LANGUAGE)
621 (MSYMBOL_SECTION, MSYMBOL_OBJ_SECTION, MSYMBOL_NATURAL_NAME)
622 (MSYMBOL_LINKAGE_NAME, MSYMBOL_PRINT_NAME, MSYMBOL_DEMANGLED_NAME)
623 (MSYMBOL_SET_LANGUAGE, MSYMBOL_SEARCH_NAME)
624 (MSYMBOL_MATCHES_SEARCH_NAME, MSYMBOL_SET_NAMES): New macros.
625 * ada-lang.c (ada_main_name): Update.
626 (ada_lookup_simple_minsym): Update.
627 (ada_make_symbol_completion_list): Update.
628 (ada_add_standard_exceptions): Update.
629 * ada-tasks.c (read_atcb, ada_tasks_inferior_data_sniffer): Update.
630 * aix-thread.c (pdc_symbol_addrs, pd_enable): Update.
631 * amd64-windows-tdep.c (amd64_skip_main_prologue): Update.
632 * arm-tdep.c (skip_prologue_function): Update.
633 (arm_skip_stack_protector, arm_skip_stub): Update.
634 * arm-wince-tdep.c (arm_pe_skip_trampoline_code): Update.
635 (arm_wince_skip_main_prologue): Update.
636 * auxv.c (ld_so_xfer_auxv): Update.
637 * avr-tdep.c (avr_scan_prologue): Update.
638 * ax-gdb.c (gen_var_ref): Update.
639 * block.c (call_site_for_pc): Update.
640 * blockframe.c (get_pc_function_start): Update.
641 (find_pc_partial_function_gnu_ifunc): Update.
642 * breakpoint.c (create_overlay_event_breakpoint): Update.
643 (create_longjmp_master_breakpoint): Update.
644 (create_std_terminate_master_breakpoint): Update.
645 (create_exception_master_breakpoint): Update.
646 (resolve_sal_pc): Update.
647 * bsd-uthread.c (bsd_uthread_lookup_address): Update.
648 * btrace.c (ftrace_print_function_name, ftrace_function_switched):
650 * c-valprint.c (c_val_print): Update.
651 * coff-pe-read.c (add_pe_forwarded_sym): Update.
652 * coffread.c (coff_symfile_read): Update.
653 * common/agent.c (agent_look_up_symbols): Update.
654 * dbxread.c (find_stab_function_addr): Update.
655 (end_psymtab): Update.
656 * dwarf2loc.c (call_site_to_target_addr): Update.
657 (func_verify_no_selftailcall): Update.
658 (tailcall_dump): Update.
659 (call_site_find_chain_1): Update.
660 (dwarf_expr_reg_to_entry_parameter): Update.
661 * elfread.c (elf_gnu_ifunc_record_cache): Update.
662 (elf_gnu_ifunc_resolve_by_got): Update.
663 * f-valprint.c (info_common_command): Update.
664 * findvar.c (read_var_value): Update.
665 * frame.c (get_prev_frame_1): Update.
666 (inside_main_func): Update.
667 * frv-tdep.c (frv_skip_main_prologue): Update.
668 (frv_frame_this_id): Update.
669 * glibc-tdep.c (glibc_skip_solib_resolver): Update.
670 * gnu-v2-abi.c (gnuv2_value_rtti_type): Update.
671 * gnu-v3-abi.c (gnuv3_rtti_type): Update.
672 (gnuv3_skip_trampoline): Update.
673 * hppa-hpux-tdep.c (hppa32_hpux_in_solib_call_trampoline): Update.
674 (hppa64_hpux_in_solib_call_trampoline): Update.
675 (hppa_hpux_skip_trampoline_code): Update.
676 (hppa64_hpux_search_dummy_call_sequence): Update.
677 (hppa_hpux_find_import_stub_for_addr): Update.
678 (hppa_hpux_find_dummy_bpaddr): Update.
679 * hppa-tdep.c (hppa_symbol_address)
680 (hppa_lookup_stub_minimal_symbol): Update.
681 * i386-tdep.c (i386_skip_main_prologue): Update.
682 (i386_pe_skip_trampoline_code): Update.
683 * ia64-tdep.c (ia64_convert_from_func_ptr_addr): Update.
684 * infcall.c (get_function_name): Update.
685 * infcmd.c (until_next_command): Update.
686 * jit.c (jit_breakpoint_re_set_internal): Update.
687 (jit_inferior_init): Update.
688 * linespec.c (minsym_found): Update.
689 (add_minsym): Update.
690 * linux-fork.c (info_checkpoints_command): Update.
691 * linux-nat.c (get_signo): Update.
692 * linux-thread-db.c (inferior_has_bug): Update.
693 * m32c-tdep.c (m32c_return_value): Update.
694 (m32c_m16c_address_to_pointer): Update.
695 (m32c_m16c_pointer_to_address): Update.
696 * m32r-tdep.c (m32r_frame_this_id): Update.
697 * m68hc11-tdep.c (m68hc11_get_register_info): Update.
698 * machoread.c (macho_resolve_oso_sym_with_minsym): Update.
699 * maint.c (maintenance_translate_address): Update.
700 * minsyms.c (add_minsym_to_hash_table): Update.
701 (add_minsym_to_demangled_hash_table): Update.
702 (msymbol_objfile): Update.
703 (lookup_minimal_symbol): Update.
704 (iterate_over_minimal_symbols): Update.
705 (lookup_minimal_symbol_text): Update.
706 (lookup_minimal_symbol_by_pc_name): Update.
707 (lookup_minimal_symbol_solib_trampoline): Update.
708 (lookup_minimal_symbol_by_pc_section_1): Update.
709 (lookup_minimal_symbol_and_objfile): Update.
710 (prim_record_minimal_symbol_full): Update.
711 (compare_minimal_symbols): Update.
712 (compact_minimal_symbols): Update.
713 (build_minimal_symbol_hash_tables): Update.
714 (install_minimal_symbols): Update.
715 (terminate_minimal_symbol_table): Update.
716 (find_solib_trampoline_target): Update.
717 (minimal_symbol_upper_bound): Update.
718 * mips-linux-tdep.c (mips_linux_skip_resolver): Update.
719 * mips-tdep.c (mips_stub_frame_sniffer): Update.
720 (mips_skip_pic_trampoline_code): Update.
721 * msp430-tdep.c (msp430_skip_trampoline_code): Update.
722 * objc-lang.c (selectors_info): Update.
723 (classes_info): Update.
724 (find_methods): Update.
726 (find_objc_msgsend): Update.
727 * objfiles.c (objfile_relocate1): Update.
728 * objfiles.h (ALL_OBJFILE_MSYMBOLS): Update.
729 * obsd-tdep.c (obsd_skip_solib_resolver): Update.
730 * p-valprint.c (pascal_val_print): Update.
731 * parse.c (write_exp_msymbol): Update.
732 * ppc-linux-tdep.c (powerpc_linux_in_dynsym_resolve_code)
733 (ppc_linux_spe_context_lookup, ppc_elfv2_skip_entrypoint): Update.
734 * ppc-sysv-tdep.c (convert_code_addr_to_desc_addr): Update.
735 * printcmd.c (build_address_symbolic): Update.
737 (address_info): Update.
738 * proc-service.c (ps_pglobal_lookup): Update.
739 * psymtab.c (find_pc_sect_psymtab_closer): Update.
740 (find_pc_sect_psymtab): Update.
741 * python/py-framefilter.c (py_print_frame): Update.
742 * ravenscar-thread.c (get_running_thread_id): Update.
743 * record-btrace.c (btrace_call_history, btrace_get_bfun_name):
745 * remote.c (remote_check_symbols): Update.
746 * rs6000-tdep.c (rs6000_skip_main_prologue): Update.
747 (rs6000_skip_trampoline_code): Update.
748 * sh64-tdep.c (sh64_elf_make_msymbol_special): Update.
749 * sol2-tdep.c (sol2_skip_solib_resolver): Update.
750 * solib-dsbt.c (lm_base): Update.
751 * solib-frv.c (lm_base): Update.
753 * solib-irix.c (locate_base): Update.
754 * solib-som.c (som_solib_create_inferior_hook): Update.
755 (som_solib_desire_dynamic_linker_symbols): Update.
756 (link_map_start): Update.
757 * solib-spu.c (spu_enable_break): Update.
758 (ocl_enable_break): Update.
759 * solib-svr4.c (elf_locate_base): Update.
760 (enable_break): Update.
761 * spu-tdep.c (spu_get_overlay_table): Update.
762 (spu_catch_start): Update.
763 (flush_ea_cache): Update.
764 * stabsread.c (define_symbol): Update.
765 (scan_file_globals): Update.
766 * stack.c (find_frame_funname): Update.
767 (frame_info): Update.
768 * symfile.c (simple_read_overlay_table): Update.
769 (simple_overlay_update): Update.
770 * symmisc.c (dump_msymbols): Update.
771 * symtab.c (fixup_section): Update.
772 (find_pc_sect_line): Update.
773 (skip_prologue_sal): Update.
774 (search_symbols): Update.
775 (print_msymbol_info): Update.
776 (rbreak_command): Update.
777 (MCOMPLETION_LIST_ADD_SYMBOL): New macro.
778 (completion_list_objc_symbol): Update.
779 (default_make_symbol_completion_list_break_on): Update.
780 * tracepoint.c (scope_info): Update.
781 * tui/tui-disasm.c (tui_find_disassembly_address): Update.
782 (tui_get_begin_asm_address): Update.
783 * valops.c (find_function_in_inferior): Update.
784 * value.c (value_static_field): Update.
785 (value_fn_field): Update.
787 2014-02-26 Tom Tromey <tromey@redhat.com>
789 * blockframe.c (find_pc_partial_function_gnu_ifunc): Use
790 bound minimal symbols. Move code that knows about minsym
792 * minsyms.c (minimal_symbol_upper_bound): ... here. New
794 * minsyms.h (minimal_symbol_upper_bound): Declare.
795 * objc-lang.c (find_objc_msgsend): Use bound minimal symbols,
796 minimal_symbol_upper_bound.
798 2014-02-27 Joel Brobecker <brobecker@adacore.com>
800 * python/lib/gdb/printing.py (RegexpCollectionPrettyPrinter):
801 Use the type's name if its basic type does not have a tag.
803 2014-02-27 Joel Brobecker <brobecker@adacore.com>
805 * dwarf2read.c (read_subrange_type): Add comment.
807 2014-02-27 Joel Brobecker <brobecker@adacore.com>
809 * dwarf2read.c (update_enumeration_type_from_children): New
810 function, mostly extracted from process_structure_scope.
811 (read_enumeration_type): Call update_enumeration_type_from_children.
812 (process_enumeration_scope): Do not set THIS_TYPE's flag_unsigned
813 and flag_flag_enum fields.
815 2014-02-26 Pedro Alves <palves@redhat.com>
817 * bsd-uthread.c (bsd_uthread_xfer_partial): Delete function.
818 (bsd_uthread_target): Don't install bsd_uthread_xfer_partial as
819 to_xfer_partial method.
821 2014-02-26 Pedro Alves <palves@redhat.com>
823 * target.c (complete_target_initialization): Don't install
824 default_xfer_partial as to_xfer_partial hook.
826 (update_current_target): Don't INHERIT nor de_fault
827 deprecated_xfer_memory. Delete de_fault macro.
828 (default_xfer_partial, deprecated_debug_xfer_memory): Delete.
829 (setup_target_debug): Don't install a deprecated_xfer_memory hook.
830 * target.h (struct target_ops) <deprecated_xfer_memory>: Delete
833 2014-02-26 Pedro Alves <palves@redhat.com>
835 * go32-nat.c (my_write_child): New function.
836 (go32_xfer_memory): Rewrite as to_xfer_partial helper.
837 (go32_xfer_partial): New function.
838 (init_go32_ops): Don't install a deprecated_xfer_memory hook.
839 Instead install a to_xfer_partial hook.
841 2014-02-26 Pedro Alves <palves@redhat.com>
843 * nto-procfs.c (procfs_xfer_memory): Adjust interface as a
844 to_xfer_partial helper. Rewrite.
845 (procfs_xfer_partial): New function.
846 (init_procfs_ops): Don't install a deprecated_xfer_memory hook.
847 Install a to_xfer_partial hook.
849 2014-02-26 Pedro Alves <palves@redhat.com>
851 * remote-m32r-sdi.c (send_data): Constify 'buf' parameter.
852 (m32r_xfer_memory): Adjust as a to_xfer_partial helper.
853 (m32r_xfer_partial): New function.
854 (init_m32r_ops): Don't install a deprecated_xfer_memory hook.
855 Install a to_xfer_partial hook.
857 2014-02-26 Pedro Alves <palves@redhat.com>
859 * remote-mips.c (mips_xfer_memory): Adjust as to_xfer_partial
861 (mips_xfer_partial): New function.
862 (_initialize_remote_mips): Don't install a deprecated_xfer_memory
863 hook. Install a to_xfer_partial hook.
865 2014-02-26 Joel Brobecker <brobecker@adacore.com>
867 * gdbtypes.h (create_array_type_with_stride): Add declaration.
868 * gdbtypes.c (create_array_type_with_stride): New function,
869 renaming create_array_type, but with an added parameter
871 (create_array_type): Re-implement using
872 create_array_type_with_stride.
873 * dwarf2read.c (read_array_type): Add support for DW_AT_byte_stride
874 and DW_AT_bit_stride attributes.
876 2014-02-26 Pedro Alves <palves@redhat.com>
878 * breakpoint.c (bpstat_check_breakpoint_conditions): Handle
879 task-specific breakpoints.
881 2014-02-25 Pedro Alves <palves@redhat.com>
883 * ia64-linux-nat.c (ia64_linux_xfer_partial): Reimplement
884 handling of object == TARGET_OBJECT_UNWIND_TABLE.
886 2014-02-25 Stan Shebs <stan@codesourcery.com>
888 * defs.h: Annotate comments for Doxygen.
890 2014-02-25 Tom Tromey <tromey@redhat.com>
892 * target.h (target_ignore): Don't declare.
893 * target.c (target_ignore): Remove.
895 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
898 * auto-load.c (auto_load_objfile_script_1): Change filename to
901 2014-02-25 Joel Brobecker <brobecker@adacore.com>
903 * ia64-linux-nat.c (ia64_linux_xfer_partial): Add function
904 documentation. Adjust prototype to match the target_ops
905 to_xfer_partial method. Adjust implementation accordingly.
907 2014-02-25 Hui Zhu <hui@codesourcery.com>
909 * target.h (target_ops): Fix TARGET_DEFAULT_RETURN of
912 2014-02-25 Kevin Buettner <kevinb@redhat.com>
914 * rl78-tdep.c (RL78_BANK0_RP0_PTR_REGNUM, RL78_BANK0_RP1_PTR_REGNUM)
915 (RL78_BANK0_RP2_PTR_REGNUM, RL78_BANK0_RP3_PTR_REGNUM)
916 (RL78_BANK1_RP0_PTR_REGNUM, RL78_BANK1_RP1_PTR_REGNUM)
917 (RL78_BANK1_RP2_PTR_REGNUM, RL78_BANK1_RP3_PTR_REGNUM)
918 (RL78_BANK2_RP0_PTR_REGNUM, RL78_BANK2_RP1_PTR_REGNUM)
919 (RL78_BANK2_RP2_PTR_REGNUM, RL78_BANK2_RP3_PTR_REGNUM)
920 (RL78_BANK3_RP0_PTR_REGNUM, RL78_BANK3_RP1_PTR_REGNUM)
921 (RL78_BANK3_RP2_PTR_REGNUM, RL78_BANK3_RP3_PTR_REGNUM):
923 (rl78_register_type): Use a data pointer type for SP and
924 new pseudo registers mentioned above. Use a 16 bit integer
925 type for all other register pairs.
926 (rl78_register_name, rl78_g10_register_name): Update for
927 new pseudo registers.
928 (rl78_pseudo_register_read): Likewise.
929 (rl78_pseudo_register_write): Likewise.
930 (rl78_dwarf_reg_to_regnum): Return register numbers representing
931 to the newly added pseudo registers.
933 2014-02-24 Doug Evans <dje@google.com>
935 * value.c (record_latest_value): Fix comment.
936 * printcmd.c (print_command_1): Remove code to handle -1 return from
939 2014-02-24 Pedro Alves <palves@redhat.com>
941 * procfs.c (procfs_target): Don't install procfs_xfer_memory as
942 deprecated_xfer_memory hook.
943 (procfs_xfer_partial): Call procfs_xfer_memory instead
944 of the deprecated_xfer_memory target hook.
945 (procfs_xfer_memory): Adjust interface as a to_xfer_partial
948 2014-02-24 Yuanhui Zhang <asmwarrior@gmail.com>
950 * windows-nat.c (windows_xfer_shared_libraries): Return
951 TARGET_XFER_EOF if LEN is zero to fix an assert failure when
952 requested object is TARGET_OBJECT_LIBRARIES.
954 2014-02-24 Yao Qi <yao@codesourcery.com>
956 * target.h (enum target_xfer_status)
957 <TARGET_XFER_E_UNAVAILABLE>: Rename it to ...
958 <TARGET_XFER_UNAVAILABLE>: ... it with setting value 2
960 * corefile.c (memory_error_message): User updated.
961 * exec.c (section_table_read_available_memory): Likewise.
962 * record-btrace.c (record_btrace_xfer_partial): Likewise.
963 * target.c (target_xfer_status_to_string): Likewise.
964 (raw_memory_xfer_partial): Likewise.
965 (memory_xfer_partial_1, target_xfer_partial): Likewise.
966 * valops.c (read_value_memory): Likewise.
967 * exec.h: Update comments.
969 2014-02-24 Yao Qi <yao@codesourcery.com>
971 * target.c (target_xfer_status_to_string): Rename argument err
973 * target.h (target_xfer_status_to_string): Update declaration.
974 Replace target_xfer_error_to_string with
975 target_xfer_status_to_string in comment.
977 2014-02-24 Yao Qi <yao@codesourcery.com>
979 * mips-linux-nat.c (super_close): Update its type.
980 (mips_linux_close): Pass 'self' to super_close.
982 2014-02-24 Yao Qi <yao@codesourcery.com>
984 * target.h (TARGET_XFER_STATUS_ERROR_P): Remove.
985 * corefile.c (read_memory): Adjusted.
986 * target.c (target_write_with_progress): Adjusted.
988 2014-02-23 Yao Qi <yao@codesourcery.com>
992 2013-10-25 Yao Qi <yao@codesourcery.com>
994 * remote.c (remote_traceframe_info): Return early if
995 traceframe is not selected.
997 2013-07-19 Yao Qi <yao@codesourcery.com>
999 * target.c (update_current_target): Change the default action
1000 of 'to_traceframe_info' from tcomplain to return_zero.
1001 * target.h (struct target_ops) <to_traceframe_info>: Add more
1004 2014-02-23 Yao Qi <yao@codesourcery.com>
1006 * valops.c (read_value_memory): Rewrite it. Call
1007 target_xfer_partial in a loop.
1008 * exec.h (section_table_available_memory): Remove declaration.
1009 Move comments to ...
1010 * exec.c (section_table_available_memory): ... here. Make it
1013 2014-02-23 Yao Qi <yao@codesourcery.com>
1015 * exec.c (section_table_read_available_memory): New function.
1016 * exec.h (section_table_read_available_memory): Declare.
1017 * ctf.c (ctf_xfer_partial): Call
1018 section_table_read_available_memory.
1019 * tracefile-tfile.c (tfile_xfer_partial): Likewise.
1021 2014-02-23 Yao Qi <yao@codesourcery.com>
1023 * ctf.c (ctf_xfer_partial): Move code to ...
1024 * exec.c (exec_read_partial_read_only): ... it. New function.
1025 * tracefile-tfile.c (tfile_xfer_partial): Likewise.
1026 * tracefile.c: Include "exec.h".
1027 * exec.h (exec_read_partial_read_only): Declare.
1029 2014-02-23 Yao Qi <yao@codesourcery.com>
1031 * tracefile-tfile.c (tfile_has_all_memory): Remove.
1032 (tfile_has_memory): Remove.
1033 (init_tfile_ops): Don't set fields to_has_all_memory and
1034 to_has_memory of tfile_ops.
1035 * tracefile.c (tracefile_has_all_memory): New function.
1036 (tracefile_has_memory): New function.
1037 (init_tracefile_ops): Initialize fields to_has_all_memory and
1038 to_has_memory of 'ops'.
1040 2014-02-23 Yao Qi <yao@codesourcery.com>
1042 * ctf.c (ctf_has_stack, ctf_has_registers): Remove.
1043 (ctf_thread_alive, ctf_get_trace_status): Remove.
1044 (init_ctf_ops): Don't set some fields of ctf_ops. Call
1046 * tracefile-tfile.c (tfile_get_trace_status): Remove.
1047 (tfile_has_stack, tfile_has_registers): Remove.
1048 (tfile_thread_alive): Remove.
1049 (init_tfile_ops): Don't set some fields of tfile_ops. Call
1051 * tracefile.c (tracefile_has_stack): New function.
1052 (tracefile_has_registers): New function.
1053 (tracefile_thread_alive): New function.
1054 (tracefile_get_trace_status): New function.
1055 (init_tracefile_ops): New function.
1056 * tracefile.h (init_tracefile_ops): Declare.
1058 2014-02-23 Yao Qi <yao@codesourcery.com>
1060 * tracepoint.c (TFILE_PID): Move it to tracefile-tfile.c.
1061 (O_LARGEFILE): Likewise.
1062 (tfile_ops): Likewise.
1063 (TRACE_HEADER_SIZE): Likewise.
1064 (trace_fd, trace_frames_offset, cur_offset): Likewise.
1065 (cur_data_size): Likewise.
1066 (tfile_read, tfile_open, tfile_interp_line): Likewise.
1067 (tfile_close, tfile_files_info): Likewise.
1068 (tfile_get_trace_status): Likewise.
1069 (tfile_get_tracepoint_status): Likewise.
1070 (tfile_get_traceframe_address): Likewise.
1071 (tfile_trace_find, match_blocktype): Likewise.
1072 (traceframe_walk_blocks, traceframe_find_block_type): Likewise.
1073 (tfile_fetch_registers, tfile_xfer_partial): Likewise.
1074 (tfile_get_trace_state_variable_value): Likewise.
1075 (tfile_has_all_memory, tfile_has_memory): Likewise.
1076 (tfile_has_stack, tfile_has_registers): Likewise.
1077 (tfile_thread_alive, build_traceframe_info): Likewise.
1078 (tfile_traceframe_info, init_tfile_ops): Likewise.
1079 (_initialize_tracepoint): Don't call init_tfile_ops
1080 and add_target_with_completer.
1081 * tracefile-tfile.c: Include regcache.h, inferior.h, gdbthread.h,
1082 exec.h, completer.h and filenames.h.
1083 (_initialize_tracefile_tfile): New function.
1085 2014-02-23 Yao Qi <yao@codesourcery.com>
1087 * Makefile.in (REMOTE_OBS): Append tracefile.o and
1089 (HFILES_NO_SRCDIR): Add tracefile.h.
1090 * ctf.c: Include "tracefile.h".
1091 * tracefile.h: New file.
1092 * tracefile.c: New file
1093 * tracefile-tfile.c: New file.
1094 * tracepoint.c: Include "tracefile.h".
1095 (free_uploaded_tps, free_uploaded_tsvs): Remove declarations.
1096 (stop_reason_names): Add const.
1097 (trace_file_writer_xfree): Move it to tracefile.c.
1098 (trace_save, trace_save_command, trace_save_tfile): Likewise.
1099 (trace_save_ctf): Likewise.
1100 (struct tfile_trace_file_writer): Move it to tracefile-tfile.c.
1101 (tfile_target_save, tfile_dtor, tfile_start): Likewise.
1102 (tfile_write_header, tfile_write_regblock_type): Likewise.
1103 (tfile_write_status, tfile_write_uploaded_tsv): Likewise.
1104 (tfile_write_uploaded_tp, tfile_write_definition_end): Likewise.
1105 (tfile_write_raw_data, tfile_end): Likewise.
1106 (tfile_trace_file_writer_new): Likewise.
1107 (free_uploaded_tp): Make it extern.
1108 (free_uploaded_tsv): Make it extern.
1109 (_initialize_tracepoint): Move code to register command 'tsave'
1111 * tracepoint.h (stop_reason_names): Declare.
1112 (struct trace_frame_write_ops): Move it to tracefile.h.
1113 (struct trace_file_write_ops): Likewise.
1114 (struct trace_file_writer): Likewise.
1115 (free_uploaded_tsvs, free_uploaded_tps): Declare.
1117 2014-02-21 Jan Kratochvil <jan.kratochvil@redhat.com>
1120 * common/linux-osdata.c (linux_common_core_of_thread): Find the end of
1122 (get_cores_used_by_process): New parameter num_cores, use it.
1123 (linux_xfer_osdata_processes): Pass num_cores to it.
1124 * linux-tdep.c (linux_info_proc, linux_fill_prpsinfo): Find the end of
1127 2014-02-21 Andreas Arnez <arnez@vnet.linux.ibm.com>
1129 * target.c (memory_xfer_partial): Fix length arg in call to
1130 breakpoint_xfer_memory.
1132 2014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
1135 * i386-tdep.c (i386_stap_parse_special_token_triplet): Check if a
1136 number comes after the + or - signs. Adjust length of register
1137 name to be extracted.
1139 2014-02-20 Tom Tromey <tromey@redhat.com>
1141 * varobj.h (c_varobj_ops, cplus_varobj_ops, java_varobj_ops)
1142 (ada_varobj_ops): Mark "extern".
1144 2014-02-20 Tom Tromey <tromey@redhat.com>
1146 * dbxread.c (read_dbx_symtab): Remove last_o_file_start.
1148 2014-02-20 Doug Evans <xdje42@gmail.com>
1150 * guile/scm-gsmob.c (gdbscm_init_eqable_gsmob): New arg containing_scm.
1151 All callers updated.
1152 (gdbscm_fill_eqable_gsmob_ptr_slot): Delete arg containing_scm.
1153 All callers updated.
1154 * guile/guile-internal.h (gdbscm_init_eqable_gsmob): Update.
1155 (gdbscm_fill_eqable_gsmob_ptr_slot): Update.
1157 2014-02-20 lin zuojian <manjian2006@gmail.com>
1158 Joel Brobecker <brobecker@adacore.com>
1159 Doug Evans <xdje42@gmail.com>
1162 * dwarf2read.c (struct die_info): New member in_process.
1163 (reset_die_in_process): New function.
1164 (process_die): Set it at the start, reset when returning.
1165 (inherit_abstract_dies): Only call process_die if origin_child_die
1166 not already being processed.
1168 2014-02-20 Joel Brobecker <brobecker@adacore.com>
1170 * windows-nat.c (handle_unload_dll): Add function documentation.
1171 (do_initial_windows_stuff): Add comment explaining why we wait
1172 until after inferior initialization has finished before
1173 processing all DLLs.
1175 2014-02-20 Joel Brobecker <brobecker@adacore.com>
1177 * windows-nat.c (get_module_name): Delete.
1178 (windows_get_exec_module_filename): New function, mostly
1179 inspired from get_module_name.
1180 (windows_pid_to_exec_file): Replace call to get_module_name
1181 by call to windows_get_exec_module_filename.
1183 2014-02-20 Joel Brobecker <brobecker@adacore.com>
1185 * windows-nat.c (handle_load_dll): Rewrite this function's
1186 introductory comment. Remove code using get_module_name
1187 to get the DLL's name.
1189 2014-02-20 Joel Brobecker <brobecker@adacore.com>
1191 * windows-nat.c (get_windows_debug_event): Ignore
1192 LOAD_DLL_DEBUG_EVENT and UNLOAD_DLL_DEBUG_EVENT
1193 if windows_initialization_done == 0.
1194 (windows_add_all_dlls): Renames windows_ensure_ntdll_loaded.
1195 Adjust implementation to always load all DLLs.
1196 (do_initial_windows_stuff): Replace call to
1197 windows_ensure_ntdll_loaded by call to windows_add_all_dlls.
1199 2014-02-20 Joel Brobecker <brobecker@adacore.com>
1201 * windows-nat.c (_initialize_windows_nat): Deprecate the
1202 "dll-symbols" command. Turn the "add-shared-symbol-files"
1203 and "assf" aliases into commands, and deprecate them as well.
1204 * NEWS: Add entry explaining that "dll-symbols" and its two
1205 aliases are now deprecated.
1207 2014-02-20 Joel Brobecker <brobecker@adacore.com>
1209 * dec-thread.c (dec_thread_get_ada_task_ptid): Avoid unescaped
1210 new-line in debug string. Remove trailing spaces.
1212 2014-02-19 Stan Shebs <stan@codesourcery.com>
1214 * darwin-nat.c (darwin_xfer_partial): Fix return type.
1216 2014-02-19 Siva Chandra Reddy <sivachandra@google.com>
1218 * NEWS: Add entry for the new feature
1219 * python/py-value.c (valpy_binop): Call value_x_binop for struct
1222 2014-02-19 Stan Shebs <stan@codesourcery.com>
1224 * MAINTAINERS: List Yao Qi as nios2 maintainer.
1226 2014-02-19 Pedro Alves <palves@redhat.com>
1228 * common/ptid.h (struct ptid): Mention that process_stratum
1229 targets should prefer ptid.lwp.
1231 2014-02-19 Pedro Alves <palves@redhat.com>
1233 * remote.c (remote_thread_alive, write_ptid, read_ptid)
1234 (read_ptid, remote_newthread_step, remote_threads_extra_info)
1235 (remote_get_ada_task_ptid, append_resumption, remote_stop_ns)
1236 (threadalive_test, remote_pid_to_str): Use the ptid.lwp field to
1237 store remote thread ids rather than ptid.tid.
1238 (_initialize_remote): Adjust.
1240 2014-02-19 Tom Tromey <tromey@redhat.com>
1242 * target.c (target_get_unwinder): Rewrite.
1243 (target_get_tailcall_unwinder): Rewrite.
1244 * record-btrace.c (record_btrace_to_get_unwinder): New function.
1245 (record_btrace_to_get_tailcall_unwinder): New function.
1246 (init_record_btrace_ops): Update.
1247 * target.h (struct target_ops) <to_get_unwinder,
1248 to_get_tailcall_unwinder>: Now function pointers. Use
1249 TARGET_DEFAULT_RETURN.
1251 2014-02-19 Tom Tromey <tromey@redhat.com>
1253 * nto-procfs.c (procfs_remove_hw_breakpoint): Add 'self'
1255 (init_procfs_ops): Correctly set to_remove_hw_breakpoint.
1257 2014-02-19 Tom Tromey <tromey@redhat.com>
1259 * record-btrace.c (record_btrace_decr_pc_after_break): Delegate
1261 * target-delegates.c: Rebuild.
1262 * target.h (struct target_ops) <to_decr_pc_after_break>: Use
1263 TARGET_DEFAULT_FUNC.
1264 * target.c (default_target_decr_pc_after_break): Rename from
1265 forward_target_decr_pc_after_break. Simplify.
1266 (target_decr_pc_after_break): Rely on delegation.
1268 2014-02-19 Tom Tromey <tromey@redhat.com>
1270 * target.c (update_current_target): Do not INHERIT to_doc or
1271 to_magic. Do not de_fault to_open or to_close.
1273 2014-02-19 Tom Tromey <tromey@redhat.com>
1275 * gcore.h (objfile_find_memory_regions): Declare.
1276 * gcore.c (objfile_find_memory_regions): No longer static. Add
1278 (_initialize_gcore): Don't call exec_set_find_memory_regions.
1279 * exec.c: Include gcore.h.
1280 (exec_set_find_memory_regions): Remove.
1281 (exec_find_memory_regions): Remove.
1282 (exec_do_find_memory_regions): Remove.
1283 (init_exec_ops): Update.
1284 * defs.h (exec_set_find_memory_regions): Remove.
1286 2014-02-19 Tom Tromey <tromey@redhat.com>
1288 * target-delegates.c: Rebuild.
1289 * target.h (struct target_ops) <to_extra_thread_info,
1290 to_thread_name, to_pid_to_exec_file, to_get_section_table,
1291 to_memory_map, to_read_description, to_traceframe_info>: Use NULL,
1292 not 0, in TARGET_DEFAULT_RETURN.
1294 2014-02-19 Tom Tromey <tromey@redhat.com>
1296 * target.c (complete_target_initialization): Remove casts. Use
1297 return_zero_has_execution.
1298 (return_zero): Add "ignore" argument.
1299 (return_zero_has_execution): New function.
1300 (init_dummy_target): Remove casts. Use
1301 return_zero_has_execution.
1303 2014-02-19 Tom Tromey <tromey@redhat.com>
1305 * target.c (update_current_target): Update comments. Do not
1308 2014-02-19 Tom Tromey <tromey@redhat.com>
1310 * arm-linux-nat.c (arm_linux_read_description): Delegate when
1312 * corelow.c (core_read_description): Delegate when needed.
1313 * remote.c (remote_read_description): Delegate when needed.
1314 * target-delegates.c: Rebuild.
1315 * target.c (target_read_description): Rewrite.
1316 * target.h (struct target_ops) <to_read_description>: Update
1317 comment. Use TARGET_DEFAULT_RETURN.
1319 2014-02-19 Tom Tromey <tromey@redhat.com>
1321 * target-delegates.c: Rebuild.
1322 * target.c (update_current_target): Don't inherit or default
1324 (find_default_run_target): Check against delegate_can_run.
1325 * target.h (struct target_ops) <to_can_run>: Use
1326 TARGET_DEFAULT_RETURN.
1328 2014-02-19 Tom Tromey <tromey@redhat.com>
1330 * target-delegates.c: Rebuild.
1331 * target.c (target_disconnect): Unconditionally delegate.
1332 * target.h (struct target_ops) <to_disconnect>: Use
1333 TARGET_DEFAULT_NORETURN.
1335 2014-02-19 Tom Tromey <tromey@redhat.com>
1337 * record.c (record_stop): Unconditionally delegate.
1338 * target-delegates.c: Rebuild.
1339 * target.c (target_stop_recording): Unconditionally delegate.
1340 * target.h (struct target_ops) <to_stop_recording>: Use
1341 TARGET_DEFAULT_IGNORE.
1343 2014-02-19 Tom Tromey <tromey@redhat.com>
1345 * target-delegates.c: Rebuild.
1346 * target.c (target_enable_btrace): Unconditionally delegate.
1347 * target.h (struct target_ops) <to_enable_btrace>: Use
1348 TARGET_DEFAULT_NORETURN.
1350 2014-02-19 Tom Tromey <tromey@redhat.com>
1352 * target-delegates.c: Rebuild.
1353 * target.c (target_read_btrace): Unconditionally delegate.
1354 * target.h (struct target_ops) <to_read_btrace>: Use
1355 TARGET_DEFAULT_NORETURN.
1357 2014-02-19 Tom Tromey <tromey@redhat.com>
1359 * target-delegates.c: Rebuild.
1360 * target.c (target_teardown_btrace): Unconditionally delegate.
1361 * target.h (struct target_ops) <to_teardown_btrace>: Use
1362 TARGET_DEFAULT_NORETURN.
1364 2014-02-19 Tom Tromey <tromey@redhat.com>
1366 * target-delegates.c: Rebuild.
1367 * target.c (target_disable_btrace): Unconditionally delegate.
1368 * target.h (struct target_ops) <to_disable_btrace>: Use
1369 TARGET_DEFAULT_NORETURN.
1371 2014-02-19 Tom Tromey <tromey@redhat.com>
1373 * target-delegates.c: Rebuild.
1374 * target.c (default_search_memory): New function.
1375 (simple_search_memory): Update comment.
1376 (target_search_memory): Unconditionally delegate.
1377 * target.h (struct target_ops) <to_search_memory>: Use
1378 TARGET_DEFAULT_FUNC.
1380 2014-02-19 Tom Tromey <tromey@redhat.com>
1382 * auxv.c (default_auxv_parse): No longer static.
1383 (target_auxv_parse): Unconditionally delegate.
1384 * auxv.h (default_auxv_parse): Declare.
1385 * target-delegates.c: Rebuild.
1386 * target.c: Include auxv.h.
1387 * target.h (struct target_ops) <to_auxv_parse>: Use
1388 TARGET_DEFAULT_FUNC.
1390 2014-02-19 Tom Tromey <tromey@redhat.com>
1392 * target-delegates.c: Rebuild.
1393 * target.c (target_memory_map): Unconditionally delegate.
1394 * target.h (struct target_ops) <to_memory_map>: Use
1395 TARGET_DEFAULT_RETURN.
1397 2014-02-19 Tom Tromey <tromey@redhat.com>
1399 * target-delegates.c: Rebuild.
1400 * target.c (target_thread_alive): Unconditionally delegate.
1401 * target.h (struct target_ops) <to_thread_alive>: Use
1402 TARGET_DEFAULT_RETURN.
1404 2014-02-19 Tom Tromey <tromey@redhat.com>
1406 * target-delegates.c: Rebuild.
1407 * target.c (target_save_record): Unconditionally delegate.
1408 * target.h (struct target_ops) <to_save_record>: Use
1409 TARGET_DEFAULT_NORETURN.
1411 2014-02-19 Tom Tromey <tromey@redhat.com>
1413 * target-delegates.c: Rebuild.
1414 * target.c (target_delete_record): Unconditionally delegate.
1415 * target.h (struct target_ops) <to_delete_record>: Use
1416 TARGET_DEFAULT_NORETURN.
1418 2014-02-19 Tom Tromey <tromey@redhat.com>
1420 * target-delegates.c: Rebuild.
1421 * target.c (target_record_is_replaying): Unconditionally
1423 * target.h (struct target_ops) <to_record_is_replaying>: Use
1424 TARGET_DEFAULT_RETURN.
1426 2014-02-19 Tom Tromey <tromey@redhat.com>
1428 * target-delegates.c: Rebuild.
1429 * target.c (target_goto_record_begin): Unconditionally delegate.
1430 * target.h (struct target_ops) <to_goto_record_begin>: Use
1431 TARGET_DEFAULT_NORETURN.
1433 2014-02-19 Tom Tromey <tromey@redhat.com>
1435 * target-delegates.c: Rebuild.
1436 * target.c (target_goto_record_end): Unconditionally delegate.
1437 * target.h (struct target_ops) <to_goto_record_end>: Use
1438 TARGET_DEFAULT_NORETURN.
1440 2014-02-19 Tom Tromey <tromey@redhat.com>
1442 * target-delegates.c: Rebuild.
1443 * target.c (target_goto_record): Unconditionally delegate.
1444 * target.h (struct target_ops) <to_goto_record>: Use
1445 TARGET_DEFAULT_NORETURN.
1447 2014-02-19 Tom Tromey <tromey@redhat.com>
1449 * target-delegates.c: Rebuild.
1450 * target.c (target_insn_history): Unconditionally delegate.
1451 * target.h (struct target_ops) <to_insn_history>: Use
1452 TARGET_DEFAULT_NORETURN.
1454 2014-02-19 Tom Tromey <tromey@redhat.com>
1456 * target-delegates.c: Rebuild.
1457 * target.c (target_insn_history_from): Unconditionally delegate.
1458 * target.h (struct target_ops) <to_insn_history_from>: Use
1459 TARGET_DEFAULT_NORETURN.
1461 2014-02-19 Tom Tromey <tromey@redhat.com>
1463 * target-delegates.c: Rebuild.
1464 * target.c (target_insn_history_range): Unconditionally delegate.
1465 * target.h (struct target_ops) <to_insn_history_range>: Use
1466 TARGET_DEFAULT_NORETURN.
1468 2014-02-19 Tom Tromey <tromey@redhat.com>
1470 * target-delegates.c: Rebuild.
1471 * target.c (target_call_history): Unconditionally delegate.
1472 * target.h (struct target_ops) <to_call_history>: Use
1473 TARGET_DEFAULT_NORETURN.
1475 2014-02-19 Tom Tromey <tromey@redhat.com>
1477 * target-delegates.c: Rebuild.
1478 * target.c (target_call_history_from): Unconditionally delegate.
1479 * target.h (struct target_ops) <to_call_history_from>: Use
1480 TARGET_DEFAULT_NORETURN.
1482 2014-02-19 Tom Tromey <tromey@redhat.com>
1484 * target-delegates.c: Rebuild.
1485 * target.c (target_call_history_range): Unconditionally delegate.
1486 * target.h (struct target_ops) <to_call_history_range>: Use
1487 TARGET_DEFAULT_NORETURN.
1489 2014-02-19 Tom Tromey <tromey@redhat.com>
1491 * target-delegates.c: Rebuild.
1492 * target.c (target_verify_memory): Unconditionally delegate.
1493 * target.h (struct target_ops) <to_verify_memory>: Use
1494 TARGET_DEFAULT_NORETURN.
1496 2014-02-19 Tom Tromey <tromey@redhat.com>
1498 * target-delegates.c: Rebuild.
1499 * target.c (target_core_of_thread): Unconditionally delegate.
1500 * target.h (struct target_ops) <to_core_of_thread>: Use
1501 TARGET_DEFAULT_RETURN.
1503 2014-02-19 Tom Tromey <tromey@redhat.com>
1505 * target-delegates.c: Rebuild.
1506 * target.c (target_flash_done): Unconditionally delegate.
1507 * target.h (struct target_ops) <to_flash_done>: Use
1508 TARGET_DEFAULT_NORETURN.
1510 2014-02-19 Tom Tromey <tromey@redhat.com>
1512 * target-delegates.c: Rebuild.
1513 * target.c (target_flash_erase): Unconditionally delegate.
1514 * target.h (struct target_ops) <to_flash_erase>: Use
1515 TARGET_DEFAULT_NORETURN.
1517 2014-02-19 Tom Tromey <tromey@redhat.com>
1519 * target-delegates.c: Rebuild.
1520 * target.c (target_get_section_table): Unconditionally delegate.
1521 * target.h (struct target_ops) <to_get_section_table>: Use
1522 TARGET_DEFAULT_RETURN.
1524 2014-02-19 Tom Tromey <tromey@redhat.com>
1526 * target-delegates.c: Rebuild.
1527 * target.c (target_pid_to_str): Unconditionally delegate.
1528 (init_dummy_target): Don't initialize to_pid_to_str.
1529 (default_pid_to_str): Rename from dummy_pid_to_str.
1530 * target.h (struct target_ops) <to_pid_to_str>: Use
1531 TARGET_DEFAULT_FUNC.
1533 2014-02-19 Tom Tromey <tromey@redhat.com>
1535 * target-delegates.c: Rebuild.
1536 * target.c (target_find_new_threads): Unconditionally delegate.
1537 * target.h (struct target_ops) <to_find_new_threads>: Use
1538 TARGET_DEFAULT_RETURN.
1540 2014-02-19 Tom Tromey <tromey@redhat.com>
1542 * target-delegates.c: Rebuild.
1543 * target.c (target_program_signals): Unconditionally delegate.
1544 * target.h (struct target_ops) <to_program_signals>: Use
1545 TARGET_DEFAULT_IGNORE.
1547 2014-02-19 Tom Tromey <tromey@redhat.com>
1549 * target-delegates.c: Rebuild.
1550 * target.c (target_pass_signals): Unconditionally delegate.
1551 * target.h (struct target_ops) <to_pass_signals>: Use
1552 TARGET_DEFAULT_IGNORE.
1554 2014-02-19 Tom Tromey <tromey@redhat.com>
1556 * target-delegates.c: Rebuild.
1557 * target.c (default_mourn_inferior): New function.
1558 (target_mourn_inferior): Unconditionally delegate.
1559 * target.h (struct target_ops) <to_mourn_inferior>: Use
1560 TARGET_DEFAULT_FUNC.
1562 2014-02-19 Tom Tromey <tromey@redhat.com>
1564 * target-delegates.c: Rebuild.
1565 * target.c (default_follow_fork): New function.
1566 (target_follow_fork): Unconditionally delegate.
1567 * target.h (struct target_ops) <to_follow_fork>: Use
1568 TARGET_DEFAULT_FUNC.
1570 2014-02-19 Tom Tromey <tromey@redhat.com>
1572 * target-delegates.c: Rebuild.
1573 * target.c (target_kill): Unconditionally delegate.
1574 * target.h (struct target_ops) <to_kill>: Use
1575 TARGET_DEFAULT_NORETURN.
1577 2014-02-19 Tom Tromey <tromey@redhat.com>
1579 * target-delegates.c: Rebuild.
1580 * target.c (target_masked_watch_num_registers): Unconditionally
1582 * target.h (struct target_ops) <to_masked_watch_num_registers>:
1583 Use TARGET_DEFAULT_RETURN.
1585 2014-02-19 Tom Tromey <tromey@redhat.com>
1587 * target-delegates.c: Rebuild.
1588 * target.c (target_remove_mask_watchpoint): Unconditionally
1590 * target.h (struct target_ops) <to_remove_mask_watchpoint>: Use
1591 TARGET_DEFAULT_RETURN.
1593 2014-02-19 Tom Tromey <tromey@redhat.com>
1595 * target-delegates.c: Rebuild.
1596 * target.c (target_insert_mask_watchpoint): Unconditionally
1598 * target.h (struct target_ops) <to_insert_mask_watchpoint>: Use
1599 TARGET_DEFAULT_RETURN.
1601 2014-02-19 Tom Tromey <tromey@redhat.com>
1603 * target-delegates.c: Rebuild.
1604 * target.c (target_ranged_break_num_registers): Unconditionally
1606 * target.h (struct target_ops) <to_ranged_break_num_registers>:
1607 Use TARGET_DEFAULT_RETURN.
1609 2014-02-19 Tom Tromey <tromey@redhat.com>
1611 * target-delegates.c: Rebuild.
1612 * target.c (target_fetch_registers): Unconditionally delegate.
1613 * target.h (struct target_ops) <to_fetch_registers>: Use
1614 TARGET_DEFAULT_NORETURN.
1616 2014-02-19 Tom Tromey <tromey@redhat.com>
1618 * target-delegates.c: Rebuild.
1619 * target.c (update_current_target): Don't inherit or default
1621 * target.h (struct target_ops) <to_stop>: Use
1622 TARGET_DEFAULT_IGNORE.
1624 2014-02-19 Tom Tromey <tromey@redhat.com>
1626 * target-delegates.c: Rebuild.
1627 * target.c (update_current_target): Don't inherit or default
1628 to_can_run_breakpoint_commands.
1629 * target.h (struct target_ops) <to_can_run_breakpoint_commands>:
1630 Use TARGET_DEFAULT_RETURN.
1632 2014-02-19 Tom Tromey <tromey@redhat.com>
1634 * target-delegates.c: Rebuild.
1635 * target.c (update_current_target): Don't inherit or default
1636 to_supports_evaluation_of_breakpoint_conditions.
1637 * target.h (struct target_ops)
1638 <to_supports_evaluation_of_breakpoint_conditions>: Use
1639 TARGET_DEFAULT_RETURN.
1641 2014-02-19 Tom Tromey <tromey@redhat.com>
1643 * target-delegates.c: Rebuild.
1644 * target.c (update_current_target): Don't inherit or default
1645 to_augmented_libraries_svr4_read.
1646 * target.h (struct target_ops) <to_augmented_libraries_svr4_read>:
1647 Use TARGET_DEFAULT_RETURN.
1649 2014-02-19 Tom Tromey <tromey@redhat.com>
1651 * target-delegates.c: Rebuild.
1652 * target.c (update_current_target): Don't inherit or default
1654 * target.h (struct target_ops) <to_can_use_agent>: Use
1655 TARGET_DEFAULT_RETURN.
1657 2014-02-19 Tom Tromey <tromey@redhat.com>
1659 * target-delegates.c: Rebuild.
1660 * target.c (update_current_target): Don't inherit or default
1662 * target.h (struct target_ops) <to_use_agent>: Use
1663 TARGET_DEFAULT_NORETURN.
1665 2014-02-19 Tom Tromey <tromey@redhat.com>
1667 * target-delegates.c: Rebuild.
1668 * target.c (update_current_target): Don't inherit or default
1670 (return_null): Remove.
1671 * target.h (struct target_ops) <to_traceframe_info>: Use
1672 TARGET_DEFAULT_RETURN.
1674 2014-02-19 Tom Tromey <tromey@redhat.com>
1676 * target-delegates.c: Rebuild.
1677 * target.c (update_current_target): Don't inherit or default
1678 to_static_tracepoint_markers_by_strid.
1679 * target.h (struct target_ops)
1680 <to_static_tracepoint_markers_by_strid>: Use
1681 TARGET_DEFAULT_NORETURN.
1683 2014-02-19 Tom Tromey <tromey@redhat.com>
1685 * target-delegates.c: Rebuild.
1686 * target.c (update_current_target): Don't inherit or default
1687 to_static_tracepoint_marker_at.
1688 * target.h (struct target_ops) <to_static_tracepoint_marker_at>:
1689 Use TARGET_DEFAULT_RETURN.
1691 2014-02-19 Tom Tromey <tromey@redhat.com>
1693 * target-delegates.c: Rebuild.
1694 * target.c (update_current_target): Don't inherit or default
1696 * target.h (struct target_ops) <to_set_permissions>: Use
1697 TARGET_DEFAULT_IGNORE.
1699 2014-02-19 Tom Tromey <tromey@redhat.com>
1701 * target-delegates.c: Rebuild.
1702 * target.c (update_current_target): Don't inherit or default
1704 * target.h (struct target_ops) <to_get_tib_address>: Use
1705 TARGET_DEFAULT_NORETURN.
1707 2014-02-19 Tom Tromey <tromey@redhat.com>
1709 * target-delegates.c: Rebuild.
1710 * target.c (update_current_target): Don't inherit or default
1712 * target.h (struct target_ops) <to_set_trace_notes>: Use
1713 TARGET_DEFAULT_RETURN.
1715 2014-02-19 Tom Tromey <tromey@redhat.com>
1717 * target-delegates.c: Rebuild.
1718 * target.c (update_current_target): Don't initialize
1719 to_set_trace_buffer_size.
1720 * target.h (struct target_ops) <to_set_trace_buffer_size>: Use
1721 TARGET_DEFAULT_IGNORE.
1723 2014-02-19 Tom Tromey <tromey@redhat.com>
1725 * target-delegates.c: Rebuild.
1726 * target.c (update_current_target): Don't inherit or default
1727 to_set_circular_trace_buffer.
1728 * target.h (struct target_ops) <to_set_circular_trace_buffer>: Use
1729 TARGET_DEFAULT_IGNORE.
1731 2014-02-19 Tom Tromey <tromey@redhat.com>
1733 * target-delegates.c: Rebuild.
1734 * target.c (update_current_target): Don't inherit or default
1735 to_set_disconnected_tracing.
1736 * target.h (struct target_ops) <to_set_disconnected_tracing>: Use
1737 TARGET_DEFAULT_IGNORE.
1739 2014-02-19 Tom Tromey <tromey@redhat.com>
1741 * target-delegates.c: Rebuild.
1742 * target.c (update_current_target): Don't inherit or default
1743 to_get_min_fast_tracepoint_insn_len.
1744 (return_minus_one): Remove.
1745 * target.h (struct target_ops)
1746 <to_get_min_fast_tracepoint_insn_len>: Use TARGET_DEFAULT_RETURN.
1748 2014-02-19 Tom Tromey <tromey@redhat.com>
1750 * target-delegates.c: Rebuild.
1751 * target.c (update_current_target): Don't inherit or default
1752 to_get_raw_trace_data.
1753 * target.h (struct target_ops) <to_get_raw_trace_data>: Use
1754 TARGET_DEFAULT_NORETURN.
1756 2014-02-19 Tom Tromey <tromey@redhat.com>
1758 * target-delegates.c: Rebuild.
1759 * target.c (update_current_target): Don't inherit or default
1760 to_upload_trace_state_variables.
1761 * target.h (struct target_ops) <to_upload_trace_state_variables>:
1762 Use TARGET_DEFAULT_RETURN.
1764 2014-02-19 Tom Tromey <tromey@redhat.com>
1766 * target-delegates.c: Rebuild.
1767 * target.c (update_current_target): Don't inherit or default
1768 to_upload_tracepoints.
1769 * target.h (struct target_ops) <to_upload_tracepoints>: Use
1770 TARGET_DEFAULT_RETURN.
1772 2014-02-19 Tom Tromey <tromey@redhat.com>
1774 * target-delegates.c: Rebuild.
1775 * target.c (update_current_target): Don't inherit or default
1777 * target.h (struct target_ops) <to_save_trace_data>: Use
1778 TARGET_DEFAULT_NORETURN.
1780 2014-02-19 Tom Tromey <tromey@redhat.com>
1782 * target-delegates.c: Rebuild.
1783 * target.c (update_current_target): Don't inherit or default
1784 to_get_trace_state_variable_value.
1785 * target.h (struct target_ops)
1786 <to_get_trace_state_variable_value>: Use TARGET_DEFAULT_RETURN.
1788 2014-02-19 Tom Tromey <tromey@redhat.com>
1790 * target-delegates.c: Rebuild.
1791 * target.c (update_current_target): Don't inherit or default
1793 * target.h (struct target_ops): Use TARGET_DEFAULT_RETURN.
1795 2014-02-19 Tom Tromey <tromey@redhat.com>
1797 * target-delegates.c: Rebuild.
1798 * target.c (update_current_target): Don't inherit or default
1800 * target.h (struct target_ops) <to_trace_stop>: Use
1801 TARGET_DEFAULT_NORETURN.
1803 2014-02-19 Tom Tromey <tromey@redhat.com>
1805 * target-delegates.c: Rebuild.
1806 * target.c (update_current_target): Don't inherit or default
1807 to_get_tracepoint_status.
1808 * target.h (struct target_ops) <to_get_tracepoint_status>: Use
1809 TARGET_DEFAULT_NORETURN.
1811 2014-02-19 Tom Tromey <tromey@redhat.com>
1813 * target-delegates.c: Rebuild.
1814 * target.c (update_current_target): Don't inherit or default
1815 to_get_trace_status.
1816 * target.h (struct target_ops) <to_get_trace_status>: Use
1817 TARGET_DEFAULT_RETURN.
1819 2014-02-19 Tom Tromey <tromey@redhat.com>
1821 * target-delegates.c: Rebuild.
1822 * target.c (update_current_target): Don't inherit or default
1824 * target.h (struct target_ops) <to_trace_start>: Use
1825 TARGET_DEFAULT_NORETURN.
1827 2014-02-19 Tom Tromey <tromey@redhat.com>
1829 * target-delegates.c: Rebuild.
1830 * target.c (update_current_target): Don't inherit or default
1831 to_trace_set_readonly_regions.
1832 * target.h (struct target_ops) <to_trace_set_readonly_regions>:
1833 Use TARGET_DEFAULT_NORETURN.
1835 2014-02-19 Tom Tromey <tromey@redhat.com>
1837 * target-delegates.c: Rebuild.
1838 * target.c (update_current_target): Don't inherit or default
1839 to_disable_tracepoint.
1840 * target.h (struct target_ops) <to_disable_tracepoint>: Use
1841 TARGET_DEFAULT_NORETURN.
1843 2014-02-19 Tom Tromey <tromey@redhat.com>
1845 * target-delegates.c: Rebuild.
1846 * target.c (update_current_target): Don't inherit or default
1847 to_enable_tracepoint.
1848 * target.h (struct target_ops) <to_enable_tracepoint>: Use
1849 TARGET_DEFAULT_NORETURN.
1851 2014-02-19 Tom Tromey <tromey@redhat.com>
1853 * target-delegates.c: Rebuild.
1854 * target.c (update_current_target): Don't inherit or default
1855 to_download_trace_state_variable.
1856 * target.h (struct target_ops) <to_download_trace_state_variable>:
1857 Use TARGET_DEFAULT_NORETURN.
1859 2014-02-19 Tom Tromey <tromey@redhat.com>
1861 * target-delegates.c: Rebuild.
1862 * target.c (update_current_target): Don't inherit or default
1863 to_can_download_tracepoint.
1864 * target.h (struct target_ops) <to_can_download_tracepoint>: Use
1865 TARGET_DEFAULT_RETURN.
1867 2014-02-19 Tom Tromey <tromey@redhat.com>
1869 * target-delegates.c: Rebuild.
1870 * target.c (update_current_target): Don't inherit or default
1871 to_download_tracepoint.
1872 * target.h (struct target_ops) <to_download_tracepoint>: Use
1873 TARGET_DEFAULT_NORETURN.
1875 2014-02-19 Tom Tromey <tromey@redhat.com>
1877 * target-delegates.c: Rebuild.
1878 * target.c (update_current_target): Don't inherit or default
1880 * target.h (struct target_ops) <to_trace_init>: Use
1881 TARGET_DEFAULT_RETURN.
1883 2014-02-19 Tom Tromey <tromey@redhat.com>
1885 * target-delegates.c: Rebuild.
1886 * target.c (update_current_target): Don't inherit or default
1887 to_supports_string_tracing.
1888 * target.h (struct target_ops) <to_supports_string_tracing>: Use
1889 TARGET_DEFAULT_RETURN.
1891 2014-02-19 Tom Tromey <tromey@redhat.com>
1893 * target-delegates.c: Rebuild.
1894 * target.c (update_current_target): Don't inherit or default
1895 to_supports_enable_disable_tracepoint.
1896 * target.h (struct target_ops)
1897 <to_supports_enable_disable_tracepoint>: Use
1898 TARGET_DEFAULT_RETURN.
1900 2014-02-19 Tom Tromey <tromey@redhat.com>
1902 * target-delegates.c: Rebuild.
1903 * target.c (update_current_target): Don't inherit or default
1904 to_supports_multi_process.
1905 * target.h (struct target_ops) <to_supports_multi_process>: Use
1906 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
1912 to_get_ada_task_ptid.
1913 * target.h (struct target_ops) <to_get_ada_task_ptid>: Use
1914 TARGET_DEFAULT_FUNC.
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_thread_architecture.
1921 * target.h (struct target_ops) <to_thread_architecture>: Use
1922 TARGET_DEFAULT_FUNC.
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_execution_direction.
1929 * target.h (struct target_ops) <to_execution_direction>: Use
1930 TARGET_DEFAULT_FUNC.
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
1936 to_can_execute_reverse.
1937 * target.h (struct target_ops) <to_can_execute_reverse>: Use
1938 TARGET_DEFAULT_RETURN.
1939 (target_can_execute_reverse): Unconditionally delegate.
1941 2014-02-19 Tom Tromey <tromey@redhat.com>
1943 * target-delegates.c: Rebuild.
1944 * target.c (update_current_target): Don't inherit or default
1946 (dummy_goto_bookmark): Remove.
1947 (init_dummy_target): Don't inherit or default to_goto_bookmark.
1948 * target.h (struct target_ops) <to_goto_bookmark>: Use
1949 TARGET_DEFAULT_NORETURN.
1951 2014-02-19 Tom Tromey <tromey@redhat.com>
1953 * target-delegates.c: Rebuild.
1954 * target.c (update_current_target): Don't inherit or default
1956 (dummy_get_bookmark): Remove.
1957 (init_dummy_target): Don't inherit or default to_get_bookmark.
1958 * target.h (struct target_ops) <to_get_bookmark>: Use
1959 TARGET_DEFAULT_NORETURN
1961 2014-02-19 Tom Tromey <tromey@redhat.com>
1963 * target-delegates.c: Rebuild.
1964 * target.c (update_current_target): Don't inherit or default
1965 to_make_corefile_notes.
1966 (init_dummy_target): Don't initialize to_make_corefile_notes.
1967 * target.h (struct target_ops) <to_make_corefile_notes>: Use
1968 TARGET_DEFAULT_FUNC.
1970 2014-02-19 Tom Tromey <tromey@redhat.com>
1972 * target-delegates.c: Rebuild.
1973 * target.c (update_current_target): Don't inherit or default
1974 to_find_memory_regions.
1975 (init_dummy_target): Don't initialize to_find_memory_regions.
1976 * target.h (struct target_ops) <to_find_memory_regions>: Use
1977 TARGET_DEFAULT_FUNC.
1979 2014-02-19 Tom Tromey <tromey@redhat.com>
1981 * target-delegates.c: Rebuild.
1982 * target.c (update_current_target): Don't inherit or default
1984 * target.h (struct target_ops) <to_log_command>: Use
1985 TARGET_DEFAULT_IGNORE.
1986 (target_log_command): Unconditionally delegate.
1988 2014-02-19 Tom Tromey <tromey@redhat.com>
1990 * target-delegates.c: Rebuild.
1991 * target.c (update_current_target): Don't inherit or default
1992 to_pid_to_exec_file.
1993 * target.h (struct target_ops) <to_pid_to_exec_file>: 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
2001 (target_thread_name): Unconditionally delegate.
2002 * target.h (struct target_ops) <to_thread_name>: Use
2003 TARGET_DEFAULT_RETURN.
2005 2014-02-19 Tom Tromey <tromey@redhat.com>
2007 * target-delegates.c: Rebuild.
2008 * target.c (update_current_target): Don't inherit or default
2009 to_extra_thread_info.
2010 * target.h (struct target_ops) <to_extra_thread_info>: 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
2018 * target.h (struct target_ops) <to_has_exited>: 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_set_syscall_catchpoint.
2026 (return_one): Remove.
2027 * target.h (struct target_ops) <to_set_syscall_catchpoint>: Use
2028 TARGET_DEFAULT_RETURN.
2030 2014-02-19 Tom Tromey <tromey@redhat.com>
2032 * target-delegates.c: Rebuild.
2033 * target.c (update_current_target): Don't inherit or default
2034 to_insert_exec_catchpoint.
2035 * target.h (struct target_ops) <to_insert_exec_catchpoint>: Use
2036 TARGET_DEFAULT_RETURN.
2038 2014-01-08 Tom Tromey <tromey@redhat.com>
2040 * target-delegates.c: Rebuild.
2041 * target.c (update_current_target): Don't inherit or default
2042 to_insert_exec_catchpoint.
2043 * target.h (struct target_ops) <to_insert_exec_catchpoint>: Use
2044 TARGET_DEFAULT_RETURN.
2046 2014-02-19 Tom Tromey <tromey@redhat.com>
2048 * target-delegates.c: Rebuild.
2049 * target.c (update_current_target): Don't inherit or default
2050 to_remove_vfork_catchpoint.
2051 * target.h (struct target_ops) <to_remove_vfork_catchpoint>: Use
2052 TARGET_DEFAULT_RETURN.
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
2058 to_insert_vfork_catchpoint.
2059 * target.h (struct target_ops) <to_insert_vfork_catchpoint>: Use
2060 TARGET_DEFAULT_RETURN.
2062 2014-02-19 Tom Tromey <tromey@redhat.com>
2064 * target-delegates.c: Rebuild.
2065 * target.c (update_current_target): Don't inherit or default
2066 to_remove_fork_catchpoint.
2067 * target.h (struct target_ops) <to_remove_fork_catchpoint>: Use
2068 TARGET_DEFAULT_RETURN.
2070 2014-02-19 Tom Tromey <tromey@redhat.com>
2072 * target-delegates.c: Rebuild.
2073 * target.c (update_current_target): Don't inherit or default
2074 to_insert_fork_catchpoint.
2075 * target.h (struct target_ops) <to_insert_fork_catchpoint>: Use
2076 TARGET_DEFAULT_RETURN.
2078 2014-02-19 Tom Tromey <tromey@redhat.com>
2080 * target-delegates.c: Rebuild.
2081 * target.c (update_current_target): Don't inherit or default
2082 to_post_startup_inferior.
2083 * target.h (struct target_ops) <to_post_startup_inferior>: Use
2084 TARGET_DEFAULT_IGNORE.
2086 2014-02-19 Tom Tromey <tromey@redhat.com>
2088 * target-delegates.c: Rebuild.
2089 * target.c (update_current_target): Don't inherit or default
2091 * target.h (struct target_ops) <to_load>: Use
2092 TARGET_DEFAULT_NORETURN.
2094 2014-02-19 Tom Tromey <tromey@redhat.com>
2096 * target-delegates.c: Rebuild.
2097 * target.c (update_current_target): Don't inherit or default
2099 * target.h (struct target_ops) <to_terminal_info>: Use
2100 TARGET_DEFAULT_FUNC.
2102 2014-02-19 Tom Tromey <tromey@redhat.com>
2104 * target-delegates.c: Rebuild.
2105 * target.c (update_current_target): Don't inherit or default
2106 to_terminal_save_ours.
2107 * target.h (struct target_ops) <to_terminal_save_ours>: Use
2108 TARGET_DEFAULT_IGNORE.
2110 2014-02-19 Tom Tromey <tromey@redhat.com>
2112 * target-delegates.c: Rebuild.
2113 * target.c (update_current_target): Don't inherit or default
2115 * target.h (struct target_ops) <to_terminal_ours>: Use
2116 TARGET_DEFAULT_IGNORE.
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_terminal_ours_for_output.
2123 * target.h (struct target_ops) <to_terminal_ours_for_output>: Use
2124 TARGET_DEFAULT_IGNORE.
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
2130 to_terminal_inferior.
2131 * target.h (struct target_ops) <to_terminal_inferior>: Use
2132 TARGET_DEFAULT_IGNORE.
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
2139 * target.h (struct target_ops) <to_terminal_init>: Use
2140 TARGET_DEFAULT_IGNORE.
2142 2014-02-19 Tom Tromey <tromey@redhat.com>
2144 * target-delegates.c: Rebuild.
2145 * target.c (update_current_target): Don't inherit or default
2146 to_can_accel_watchpoint_condition.
2147 * target.h (struct target_ops)
2148 <to_can_accel_watchpoint_condition>: Use TARGET_DEFAULT_RETURN.
2150 2014-02-19 Tom Tromey <tromey@redhat.com>
2152 * target-delegates.c: Rebuild.
2153 * target.c (update_current_target): Don't inherit or default
2154 to_region_ok_for_hw_watchpoint.
2155 * target.h (struct target_ops) <to_region_ok_for_hw_watchpoint>:
2156 Use TARGET_DEFAULT_FUNC.
2158 2014-02-19 Tom Tromey <tromey@redhat.com>
2160 * target-delegates.c: Rebuild.
2161 * target.c (update_current_target): Don't inherit or default
2162 to_watchpoint_addr_within_range.
2163 * target.h (struct target_ops) <to_watchpoint_addr_within_range>:
2164 Use TARGET_DEFAULT_FUNC.
2166 2014-02-19 Tom Tromey <tromey@redhat.com>
2168 * target-delegates.c: Rebuild.
2169 * target.c (update_current_target): Don't inherit or default
2170 to_remove_watchpoint.
2171 * target.h (struct target_ops) <to_remove_watchpoint>: Use
2172 TARGET_DEFAULT_NORETURN.
2174 2014-02-19 Tom Tromey <tromey@redhat.com>
2176 * target-delegates.c: Rebuild.
2177 * target.c (update_current_target): Don't inherit or default
2178 to_insert_watchpoint.
2179 * target.h (struct target_ops) <to_insert_watchpoint>: Use
2180 TARGET_DEFAULT_RETURN.
2182 2014-02-19 Tom Tromey <tromey@redhat.com>
2184 * target-delegates.c: Rebuild.
2185 * target.c (update_current_target): Don't inherit or default
2186 to_remove_hw_breakpoint.
2187 * target.h (struct target_ops) <to_remove_hw_breakpoint>: Use
2188 TARGET_DEFAULT_RETURN.
2190 2014-02-19 Tom Tromey <tromey@redhat.com>
2192 * target-delegates.c: Rebuild.
2193 * target.c (update_current_target): Don't inherit or default
2194 to_insert_hw_breakpoint.
2195 * target.h (struct target_ops) <to_insert_hw_breakpoint>: Use
2196 TARGET_DEFAULT_RETURN.
2198 2014-02-19 Tom Tromey <tromey@redhat.com>
2200 * target-delegates.c: Rebuild.
2201 * target.c (update_current_target): Don't inherit or default
2202 to_can_use_hw_breakpoint.
2203 * target.h (struct target_ops) <to_can_use_hw_breakpoint>: Use
2204 TARGET_DEFAULT_RETURN.
2206 2014-02-19 Tom Tromey <tromey@redhat.com>
2208 * target-delegates.c: Rebuild.
2209 * target.c (update_current_target): Don't inherit or default
2211 * target.h (struct target_ops) <to_files_info>: Use
2212 TARGET_DEFAULT_IGNORE.
2214 2014-02-19 Tom Tromey <tromey@redhat.com>
2216 * target-delegates.c: Rebuild.
2217 * target.c (update_current_target): Don't inherit or default
2219 * target.h (struct target_ops) <to_store>: Use
2220 TARGET_DEFAULT_NORETURN.
2222 2014-02-19 Tom Tromey <tromey@redhat.com>
2224 * target-delegates.c: Rebuild.
2225 * target.c (update_current_target): Don't inherit or default
2227 * target.h (struct target_ops) <to_post_attach>: Use
2228 TARGET_DEFAULT_IGNORE.
2230 2014-02-19 Tom Tromey <tromey@redhat.com>
2232 * target-delegates.c: Rebuild.
2233 * target.c (update_current_target): Don't inherit or default
2235 (default_rcmd): New function.
2236 (do_monitor_command): Unconditionally delegate.
2237 * target.h (struct target_ops) <to_rmcd>: Use
2238 TARGET_DEFAULT_FUNC.
2240 2014-02-19 Tom Tromey <tromey@redhat.com>
2242 * target-delegates.c: Rebuild.
2243 * target.c (init_dummy_target): Don't initialize to_attach.
2244 (target_attach): Unconditionally delegate.
2245 * target.h (struct target_ops) <to_attach>: Use
2246 TARGET_DEFAULT_FUNC.
2248 2014-02-19 Tom Tromey <tromey@redhat.com>
2250 * target-delegates.c: Rebuild.
2251 * target.c (target_detach): Unconditionally delegate.
2252 (init_dummy_target): Don't initialize to_detach.
2253 * target.h (struct target_ops) <to_detach>: Use
2254 TARGET_DEFAULT_IGNORE.
2256 2014-02-19 Tom Tromey <tromey@redhat.com>
2258 * target.h (struct target_ops) <to_augmented_libraries_svr4_read>:
2260 (target_augmented_libraries_svr4_read): Add argument.
2261 * target.c (update_current_target): Update.
2262 * remote.c (remote_augmented_libraries_svr4_read): Add 'self'
2265 2014-02-19 Tom Tromey <tromey@redhat.com>
2267 * target.h (struct target_ops) <to_call_history_range>: Add
2269 * target.c (target_call_history_range): Add argument.
2270 * record-btrace.c (record_btrace_call_history_range): Add 'self'
2272 (record_btrace_call_history_from): Update.
2274 2014-02-19 Tom Tromey <tromey@redhat.com>
2276 * target.h (struct target_ops) <to_call_history_from>: Add
2278 * target.c (target_call_history_from): Add argument.
2279 * record-btrace.c (record_btrace_call_history_from): Add 'self'
2282 2014-02-19 Tom Tromey <tromey@redhat.com>
2284 * target.h (struct target_ops) <to_call_history>: Add argument.
2285 * target.c (target_call_history): Add argument.
2286 * record-btrace.c (record_btrace_call_history): Add 'self'
2289 2014-02-19 Tom Tromey <tromey@redhat.com>
2291 * target.h (struct target_ops) <to_insn_history_range>: Add
2293 * target.c (target_insn_history_range): Add argument.
2294 * record-btrace.c (record_btrace_insn_history_range): Add 'self'
2296 (record_btrace_insn_history_from): Update.
2298 2014-02-19 Tom Tromey <tromey@redhat.com>
2300 * target.h (struct target_ops) <to_insn_history_from>: Add
2302 * target.c (target_insn_history_from): Add argument.
2303 * record-btrace.c (record_btrace_insn_history_from): Add 'self'
2306 2014-02-19 Tom Tromey <tromey@redhat.com>
2308 * target.h (struct target_ops) <to_insn_history>: Add argument.
2309 * target.c (target_insn_history): Add argument.
2310 * record-btrace.c (record_btrace_insn_history): Add 'self'
2313 2014-02-19 Tom Tromey <tromey@redhat.com>
2315 * target.h (struct target_ops) <to_goto_record>: Add argument.
2316 * target.c (target_goto_record): Add argument.
2317 * record-full.c (record_full_goto): Add 'self' argument.
2318 * record-btrace.c (record_btrace_goto): Add 'self' argument.
2320 2014-02-19 Tom Tromey <tromey@redhat.com>
2322 * target.h (struct target_ops) <to_goto_record_end>: Add argument.
2323 * target.c (target_goto_record_end): Add argument.
2324 * record-full.c (record_full_goto_end): Add 'self' argument.
2325 * record-btrace.c (record_btrace_goto_end): Add 'self' argument.
2327 2014-02-19 Tom Tromey <tromey@redhat.com>
2329 * target.h (struct target_ops) <to_goto_record_begin>: Add
2331 * target.c (target_goto_record_begin): Add argument.
2332 * record-full.c (record_full_goto_begin): Add 'self' argument.
2333 * record-btrace.c (record_btrace_goto_begin): Add 'self'
2336 2014-02-19 Tom Tromey <tromey@redhat.com>
2338 * target.h (struct target_ops) <to_record_is_replaying>: Add
2340 * target.c (target_record_is_replaying): Add argument.
2341 * record-full.c (record_full_is_replaying): Add 'self' argument.
2342 * record-btrace.c (record_btrace_is_replaying): Add 'self'
2344 (record_btrace_xfer_partial, record_btrace_store_registers)
2345 (record_btrace_prepare_to_store, record_btrace_resume)
2346 (record_btrace_wait, record_btrace_decr_pc_after_break)
2347 (record_btrace_find_new_threads, record_btrace_thread_alive):
2350 2014-02-19 Tom Tromey <tromey@redhat.com>
2352 * target.h (struct target_ops) <to_delete_record>: Add argument.
2353 * target.c (target_delete_record): Add argument.
2354 * record-full.c (record_full_delete): Add 'self' argument.
2356 2014-02-19 Tom Tromey <tromey@redhat.com>
2358 * target.h (struct target_ops) <to_save_record>: Add argument.
2359 * target.c (target_save_record): Add argument.
2360 * record-full.c (record_full_save): Add 'self' argument.
2361 (record_full_save): Add 'self' argument.
2363 2014-02-19 Tom Tromey <tromey@redhat.com>
2365 * target.h (struct target_ops) <to_info_record>: Add argument.
2366 * target.c (target_info_record): Add argument.
2367 * record.c (info_record_command): Add argument.
2368 * record-full.c (record_full_info): Add 'self' argument.
2369 * record-btrace.c (record_btrace_info): Add 'self' argument.
2371 2014-02-19 Tom Tromey <tromey@redhat.com>
2373 * target.h (struct target_ops) <to_stop_recording>: Add argument.
2374 * target.c (target_stop_recording): Add argument.
2375 * record.c (record_stop): Add argument.
2376 * record-btrace.c (record_btrace_stop_recording): Add 'self'
2379 2014-02-19 Tom Tromey <tromey@redhat.com>
2381 * target.h (struct target_ops) <to_read_btrace>: Add argument.
2382 * target.c (struct target_ops) <to_read_btrace>: Add argument.
2383 * remote.c (struct target_ops) <to_read_btrace>: Add 'self'
2385 * amd64-linux-nat.c (amd64_linux_read_btrace): New function.
2386 (_initialize_amd64_linux_nat): Use it.
2387 * i386-linux-nat.c (i386_linux_read_btrace): New function.
2388 (_initialize_i386_linux_nat): Use it.
2390 2014-02-19 Tom Tromey <tromey@redhat.com>
2392 * target.h (struct target_ops) <to_teardown_btrace>: Add argument.
2393 * target.c (target_teardown_btrace): Add argument.
2394 * remote.c (remote_teardown_btrace): Add 'self' argument.
2395 * i386-linux-nat.c (i386_linux_teardown_btrace): Add 'self'
2397 * amd64-linux-nat.c (amd64_linux_teardown_btrace): Add 'self'
2400 2014-02-19 Tom Tromey <tromey@redhat.com>
2402 * target.h (struct target_ops) <to_disable_btrace>: Add argument.
2403 * target.c (target_disable_btrace): Add argument.
2404 * remote.c (remote_disable_btrace): Add 'self' argument.
2405 * i386-linux-nat.c (i386_linux_disable_btrace): Add 'self'
2407 * amd64-linux-nat.c (amd64_linux_disable_btrace): Add 'self'
2410 2014-02-19 Tom Tromey <tromey@redhat.com>
2412 * target.h (struct target_ops) <to_enable_btrace>: Add argument.
2413 * target.c (target_enable_btrace): Add argument.
2414 * remote.c (remote_enable_btrace): Add 'self' argument.
2415 * i386-linux-nat.c (i386_linux_enable_btrace): Add 'self'
2417 * amd64-linux-nat.c (amd64_linux_enable_btrace): Add 'self'
2420 2014-02-19 Tom Tromey <tromey@redhat.com>
2422 * target.h (struct target_ops) <to_can_use_agent>: Add argument.
2423 (target_can_use_agent): Add argument.
2424 * target.c (update_current_target): Update.
2425 * remote.c (remote_can_use_agent): Add 'self' argument.
2426 * inf-child.c (inf_child_can_use_agent): Add 'self' argument.
2428 2014-02-19 Tom Tromey <tromey@redhat.com>
2430 * target.h (struct target_ops) <to_use_agent>: Add argument.
2431 (target_use_agent): Add argument.
2432 * target.c (update_current_target): Update.
2433 * remote.c (remote_use_agent): Add 'self' argument.
2434 * inf-child.c (inf_child_use_agent): Add 'self' argument.
2436 2014-02-19 Tom Tromey <tromey@redhat.com>
2438 * tracepoint.c (tfile_traceframe_info): Add 'self' argument.
2439 * target.h (struct target_ops) <to_traceframe_info>: Add argument.
2440 (target_traceframe_info): Add argument.
2441 * target.c (update_current_target): Update.
2442 * remote.c (remote_traceframe_info): Add 'self' argument.
2443 * ctf.c (ctf_traceframe_info): Add 'self' argument.
2445 2014-02-19 Tom Tromey <tromey@redhat.com>
2447 * target.h (target_static_tracepoint_markers_by_strid): Add
2449 (struct target_ops) <to_static_tracepoint_markers_by_strid>: Add
2451 * target.c (update_current_target): Update.
2452 * remote.c (struct target_ops)
2453 <to_static_tracepoint_markers_by_strid>: Add 'self' argument.
2454 * linux-nat.c (struct target_ops)
2455 <to_static_tracepoint_markers_by_strid>: Add 'self' argument.
2457 2014-02-19 Tom Tromey <tromey@redhat.com>
2459 * target.h (struct target_ops) <to_static_tracepoint_marker_at>:
2461 (target_static_tracepoint_marker_at): Add argument.
2462 * target.c (update_current_target): Update.
2463 * remote.c (remote_static_tracepoint_marker_at): Add 'self'
2466 2014-02-19 Tom Tromey <tromey@redhat.com>
2468 * target.h (struct target_ops) <to_set_permissions>: Add argument.
2469 (target_set_permissions): Add argument.
2470 * target.c (update_current_target): Update.
2471 * remote.c (remote_set_permissions): Add 'self' argument.
2472 (remote_start_remote): Update.
2474 2014-02-19 Tom Tromey <tromey@redhat.com>
2476 * windows-nat.c (windows_get_tib_address): Add 'self' argument.
2477 * target.h (struct target_ops) <to_get_tib_address>: Add argument.
2478 (target_get_tib_address): Add argument.
2479 * target.c (update_current_target): Update.
2480 * remote.c (remote_get_tib_address): Add 'self' argument.
2482 2014-02-19 Tom Tromey <tromey@redhat.com>
2484 * target.h (struct target_ops) <to_set_trace_notes>: Add argument.
2485 (target_set_trace_notes): Add argument.
2486 * target.c (update_current_target): Update.
2487 * remote.c (remote_set_trace_notes): Add 'self' argument.
2489 2014-02-19 Tom Tromey <tromey@redhat.com>
2491 * target.h (struct target_ops) <to_set_trace_buffer_size>: Add
2493 (target_set_trace_buffer_size): Add argument.
2494 * target.c (update_current_target): Update.
2495 * remote.c (remote_set_trace_buffer_size): Add 'self' argument.
2497 2014-02-19 Tom Tromey <tromey@redhat.com>
2499 * target.h (struct target_ops) <to_set_circular_trace_buffer>: Add
2501 (target_set_circular_trace_buffer): Add argument.
2502 * target.c (update_current_target): Update.
2503 * remote.c (remote_set_circular_trace_buffer): Add 'self'
2506 2014-02-19 Tom Tromey <tromey@redhat.com>
2508 * target.h (struct target_ops) <to_set_disconnected_tracing>: Add
2510 (target_set_disconnected_tracing): Add argument.
2511 * target.c (update_current_target): Update.
2512 * remote.c (remote_set_disconnected_tracing): Add 'self' argument.
2514 2014-02-19 Tom Tromey <tromey@redhat.com>
2516 * target.h (struct target_ops)
2517 <to_get_min_fast_tracepoint_insn_len>: Add argument.
2518 (target_get_min_fast_tracepoint_insn_len): Add argument.
2519 * target.c (update_current_target): Update.
2520 * remote.c (remote_get_min_fast_tracepoint_insn_len): Add 'self'
2523 2014-02-19 Tom Tromey <tromey@redhat.com>
2525 * target.h (struct target_ops) <to_get_raw_trace_data>: Add
2527 (target_get_raw_trace_data): Add argument.
2528 * target.c (update_current_target): Update.
2529 * remote.c (remote_get_raw_trace_data): Add 'self' argument.
2531 2014-02-19 Tom Tromey <tromey@redhat.com>
2533 * target.h (struct target_ops) <to_upload_trace_state_variables>:
2535 (target_upload_trace_state_variables): Add argument.
2536 * target.c (update_current_target): Update.
2537 * remote.c (remote_upload_trace_state_variables): Add 'self'
2539 (remote_start_remote): Update.
2541 2014-02-19 Tom Tromey <tromey@redhat.com>
2543 * target.h (struct target_ops) <to_upload_tracepoints>: Add
2545 (target_upload_tracepoints): Add argument.
2546 * target.c (update_current_target): Update.
2547 * remote.c (remote_upload_tracepoints): Add 'self' argument.
2548 (remote_start_remote): Update.
2550 2014-02-19 Tom Tromey <tromey@redhat.com>
2552 * target.h (struct target_ops) <to_save_trace_data>: Add argument.
2553 (target_save_trace_data): Add argument.
2554 * target.c (update_current_target): Update.
2555 * remote.c (remote_save_trace_data): Add 'self' argument.
2557 2014-02-19 Tom Tromey <tromey@redhat.com>
2559 * tracepoint.c (tfile_get_trace_state_variable_value): Add 'self'
2561 * target.h (struct target_ops)
2562 <to_get_trace_state_variable_value>: Add argument.
2563 (target_get_trace_state_variable_value): Add argument.
2564 * target.c (update_current_target): Update.
2565 * remote.c (remote_get_trace_state_variable_value): Add 'self'
2567 * ctf.c (ctf_get_trace_state_variable_value): Add 'self' argument.
2569 2014-02-19 Tom Tromey <tromey@redhat.com>
2571 * tracepoint.c (tfile_trace_find): Add 'self' argument.
2572 * target.h (struct target_ops) <to_trace_find>: Add argument.
2573 (target_trace_find): Add argument.
2574 * target.c (update_current_target): Update.
2575 * remote.c (remote_trace_find): Add 'self' argument.
2576 * ctf.c (ctf_trace_find): Add 'self' argument.
2578 2014-02-19 Tom Tromey <tromey@redhat.com>
2580 * target.h (struct target_ops) <to_trace_stop>: Add argument.
2581 (target_trace_stop): Add argument.
2582 * target.c (update_current_target): Update.
2583 * remote.c (remote_trace_stop): Add 'self' argument.
2585 2014-02-19 Tom Tromey <tromey@redhat.com>
2587 * tracepoint.c (tfile_get_tracepoint_status): Add 'self' argument.
2588 * target.h (struct target_ops) <to_get_tracepoint_status>: Add
2590 (target_get_tracepoint_status): Add argument.
2591 * target.c (update_current_target): Update.
2592 * remote.c (remote_get_tracepoint_status): Add 'self' argument.
2594 2014-02-19 Tom Tromey <tromey@redhat.com>
2596 * tracepoint.c (tfile_get_trace_status): Add 'self' argument.
2597 * target.h (struct target_ops) <to_get_trace_status>: Add
2599 (target_get_trace_status): Add argument.
2600 * target.c (update_current_target): Update.
2601 * remote.c (remote_get_trace_status): Add 'self' argument.
2602 (remote_start_remote, remote_can_download_tracepoint): Update.
2603 * ctf.c (ctf_get_trace_status): Add 'self' argument.
2605 2014-02-19 Tom Tromey <tromey@redhat.com>
2607 * target.h (struct target_ops) <to_trace_start>: Add argument.
2608 (target_trace_start): Add argument.
2609 * target.c (update_current_target): Update.
2610 * remote.c (remote_trace_start): Add 'self' argument.
2612 2014-02-19 Tom Tromey <tromey@redhat.com>
2614 * target.h (struct target_ops) <to_trace_set_readonly_regions>:
2616 (target_trace_set_readonly_regions): Add argument.
2617 * target.c (update_current_target): Update.
2618 * remote.c (remote_trace_set_readonly_regions): Add 'self'
2621 2014-02-19 Tom Tromey <tromey@redhat.com>
2623 * target.h (struct target_ops) <to_disable_tracepoint>: Add
2625 (target_disable_tracepoint): Add argument.
2626 * target.c (update_current_target): Update.
2627 * remote.c (remote_disable_tracepoint): Add 'self' argument.
2629 2014-02-19 Tom Tromey <tromey@redhat.com>
2631 * target.h (struct target_ops) <to_enable_tracepoint>: Add
2633 (target_enable_tracepoint): Add argument.
2634 * target.c (update_current_target): Update.
2635 * remote.c (remote_enable_tracepoint): Add 'self' argument.
2637 2014-02-19 Tom Tromey <tromey@redhat.com>
2639 * target.h (struct target_ops) <to_download_trace_state_variable>:
2641 (target_download_trace_state_variable): Add argument.
2642 * target.c (update_current_target): Update.
2643 * remote.c (remote_download_trace_state_variable): Add 'self'
2646 2014-02-19 Tom Tromey <tromey@redhat.com>
2648 * target.h (struct target_ops) <to_can_download_tracepoint>: Add
2650 (target_can_download_tracepoint): Add argument.
2651 * target.c (update_current_target): Update.
2652 * remote.c (remote_can_download_tracepoint): Add 'self' argument.
2654 2014-02-19 Tom Tromey <tromey@redhat.com>
2656 * target.h (struct target_ops) <to_download_tracepoint>: Add
2658 (target_download_tracepoint): Add argument.
2659 * target.c (update_current_target): Update.
2660 * remote.c (remote_download_tracepoint): Add 'self' argument.
2662 2014-02-19 Tom Tromey <tromey@redhat.com>
2664 * target.h (struct target_ops) <to_trace_init>: Add argument.
2665 (target_trace_init): Add argument.
2666 * target.c (update_current_target): Update.
2667 * remote.c (remote_trace_init): Add 'self' argument.
2669 2014-02-19 Tom Tromey <tromey@redhat.com>
2671 * target.h (struct target_ops) <to_fileio_readlink>: Add argument.
2672 * target.c (target_fileio_readlink): Add argument.
2673 * remote.c (remote_hostio_readlink): Add 'self' argument.
2674 * inf-child.c (inf_child_fileio_readlink): Add 'self' argument.
2676 2014-02-19 Tom Tromey <tromey@redhat.com>
2678 * target.h (struct target_ops) <to_fileio_unlink>: Add argument.
2679 * target.c (target_fileio_unlink): Add argument.
2680 * remote.c (remote_hostio_unlink): Add 'self' argument.
2681 (remote_file_delete): Update.
2682 * inf-child.c (inf_child_fileio_unlink): Add 'self' argument.
2684 2014-02-19 Tom Tromey <tromey@redhat.com>
2686 * target.h (struct target_ops) <to_fileio_close>: Add argument.
2687 * target.c (target_fileio_close): Add argument.
2688 * remote.c (remote_hostio_close): Add 'self' argument.
2689 (remote_hostio_close_cleanup): Update.
2690 (remote_bfd_iovec_close, remote_file_put, remote_file_get):
2692 * inf-child.c (inf_child_fileio_close): Add 'self' argument.
2694 2014-02-19 Tom Tromey <tromey@redhat.com>
2696 * target.h (struct target_ops) <to_fileio_pread>: Add argument.
2697 * target.c (target_fileio_pread): Add argument.
2698 * remote.c (remote_hostio_pread): Add 'self' argument.
2699 (remote_bfd_iovec_pread, remote_file_get): Update.
2700 * inf-child.c (inf_child_fileio_pread): Add 'self' argument.
2702 2014-02-19 Tom Tromey <tromey@redhat.com>
2704 * target.h (struct target_ops) <to_fileio_pwrite>: Add argument.
2705 * target.c (target_fileio_pwrite): Add argument.
2706 * remote.c (remote_hostio_pwrite): Add 'self' argument.
2707 (remote_file_put): Update.
2708 * inf-child.c (inf_child_fileio_pwrite): Add 'self' argument.
2710 2014-02-19 Tom Tromey <tromey@redhat.com>
2712 * target.h (struct target_ops) <to_fileio_open>: Add argument.
2713 * target.c (target_fileio_open): Add argument.
2714 * remote.c (remote_hostio_open): Add 'self' argument.
2715 (remote_bfd_iovec_open): Add 'self' argument.
2716 (remote_file_put): Add 'self' argument.
2717 (remote_file_get): Add 'self' argument.
2718 * inf-child.c (inf_child_fileio_open): Add 'self' argument.
2720 2014-02-19 Tom Tromey <tromey@redhat.com>
2722 * target.h (struct target_ops) <to_can_run_breakpoint_commands>:
2724 (target_can_run_breakpoint_commands): Add argument.
2725 * target.c (update_current_target): Update.
2726 * remote.c (remote_can_run_breakpoint_commands): Add 'self'
2728 (remote_insert_breakpoint): Add 'self' argument.
2729 (remote_insert_hw_breakpoint): Add 'self' argument.
2730 (remote_can_run_breakpoint_commands): Add 'self' argument.
2732 2014-02-19 Tom Tromey <tromey@redhat.com>
2734 * target.h (struct target_ops)
2735 <to_supports_evaluation_of_breakpoint_conditions>: Add argument.
2736 (target_supports_evaluation_of_breakpoint_conditions): Add
2738 * target.c (update_current_target): Update.
2739 * remote.c (remote_supports_cond_breakpoints): Add 'self'
2741 (remote_insert_breakpoint): Add 'self' argument.
2742 (remote_insert_hw_breakpoint): Add 'self' argument.
2743 (remote_supports_cond_breakpoints): Add 'self' argument.
2745 2014-02-19 Tom Tromey <tromey@redhat.com>
2747 * target.h (struct target_ops) <to_supports_string_tracing>: Add
2749 (target_supports_string_tracing): Add argument.
2750 * target.c (update_current_target): Update.
2751 * remote.c (remote_supports_string_tracing): Add 'self' argument.
2753 2014-02-19 Tom Tromey <tromey@redhat.com>
2755 * target.h (struct target_ops)
2756 <to_supports_disable_randomization>: Add argument.
2757 * target.c (find_default_supports_disable_randomization): Add
2759 (target_supports_disable_randomization): Add argument.
2760 (find_default_supports_disable_randomization): Add 'self'
2762 * remote.c (extended_remote_supports_disable_randomization): Add
2764 (remote_supports_disable_randomization): Add 'self' argument.
2765 (extended_remote_create_inferior): Update.
2766 * linux-nat.c (linux_nat_supports_disable_randomization): Add
2769 2014-02-19 Tom Tromey <tromey@redhat.com>
2771 * target.h (struct target_ops)
2772 <to_supports_enable_disable_tracepoint>: Add argument.
2773 (target_supports_enable_disable_tracepoint): Add argument.
2774 * target.c (update_current_target): Update.
2775 * remote.c (remote_supports_enable_disable_tracepoint): Add 'self'
2778 2014-02-19 Tom Tromey <tromey@redhat.com>
2780 * target.h (struct target_ops) <to_supports_multi_process>: Add
2782 (target_supports_multi_process): Add argument.
2783 * target.c (update_current_target): Update.
2784 * remote.c (remote_supports_multi_process): Add 'self' argument.
2785 * linux-nat.c (linux_nat_supports_multi_process): Add 'self'
2787 * darwin-nat.c (darwin_supports_multi_process): Add 'self'
2790 2014-02-19 Tom Tromey <tromey@redhat.com>
2792 * target.h (struct target_ops) <to_execution_direction>: Add
2794 (target_execution_direction): Add argument.
2795 * target.c (default_execution_direction): Add 'self' argument.
2796 * record-full.c (record_full_execution_direction): Add 'self'
2799 2014-02-19 Tom Tromey <tromey@redhat.com>
2801 * target.h (struct target_ops) <to_can_execute_reverse>: Add
2803 (target_can_execute_reverse): Add argument.
2804 * remote.c (remote_can_execute_reverse): Add 'self' argument.
2805 * record-full.c (record_full_can_execute_reverse): Add 'self'
2807 * record-btrace.c (record_btrace_can_execute_reverse): Add 'self'
2810 2014-02-19 Tom Tromey <tromey@redhat.com>
2812 * windows-nat.c (windows_get_ada_task_ptid): Add 'self' argument.
2813 * target.h (struct target_ops) <to_get_ada_task_ptid>: Add
2815 (target_get_ada_task_ptid): Add argument.
2816 * target.c (update_current_target): Update.
2817 (default_get_ada_task_ptid): Add 'self' argument.
2818 * sol-thread.c (sol_get_ada_task_ptid): Add 'self' argument.
2819 * remote.c (remote_get_ada_task_ptid): Add 'self' argument.
2820 * ravenscar-thread.c (ravenscar_get_ada_task_ptid): Add 'self'
2822 * linux-thread-db.c (thread_db_get_ada_task_ptid): Add 'self'
2824 * inf-ttrace.c (inf_ttrace_get_ada_task_ptid): Add 'self'
2826 * dec-thread.c (dec_thread_get_ada_task_ptid): Add 'self'
2828 * darwin-nat.c (darwin_get_ada_task_ptid): Add 'self' argument.
2829 * aix-thread.c (aix_thread_get_ada_task_ptid): Add 'self'
2832 2014-02-19 Tom Tromey <tromey@redhat.com>
2834 * target.h (struct target_ops) <to_goto_bookmark>: Add argument.
2835 (target_goto_bookmark): Add argument.
2836 * target.c (dummy_goto_bookmark): Add 'self' argument.
2837 * record-full.c (record_full_goto_bookmark): Add 'self' argument.
2839 2014-02-19 Tom Tromey <tromey@redhat.com>
2841 * target.h (struct target_ops) <to_get_bookmark>: Add argument.
2842 (target_get_bookmark): Add argument.
2843 * target.c (dummy_get_bookmark): Add 'self' argument.
2844 * record-full.c (record_full_get_bookmark): Add 'self' argument.
2846 2014-02-19 Tom Tromey <tromey@redhat.com>
2848 * target.h (struct target_ops) <to_make_corefile_notes>: Add
2850 (target_make_corefile_notes): Add argument.
2851 * target.c (dummy_make_corefile_notes): Add 'self' argument.
2852 * procfs.c (procfs_make_note_section): Add 'self' argument.
2853 (procfs_make_note_section): Add 'self' argument.
2854 (procfs_make_note_section): Add 'self' argument.
2855 * linux-nat.c (linux_nat_make_corefile_notes): Add 'self'
2857 * fbsd-nat.h (fbsd_make_corefile_notes): Add 'self' argument.
2858 * fbsd-nat.c (fbsd_make_corefile_notes): Add 'self' argument.
2859 * exec.c (exec_make_note_section): Add 'self' argument.
2860 (exec_make_note_section): Add 'self' argument.
2862 2014-02-19 Tom Tromey <tromey@redhat.com>
2864 * target.h (struct target_ops) <to_find_memory_regions>: Add
2866 (target_find_memory_regions): Add argument.
2867 * target.c (dummy_find_memory_regions): Add 'self' argument.
2868 * procfs.c (proc_find_memory_regions): Add 'self' argument.
2869 * gnu-nat.c (gnu_find_memory_regions): Add 'self' argument.
2870 * fbsd-nat.h (fbsd_find_memory_regions): Add 'self' argument.
2871 * fbsd-nat.c (fbsd_find_memory_regions): Add 'self' argument.
2872 * exec. (exec_do_find_memory_regions): New global.
2873 (exec_set_find_memory_regions): Rewrite.
2874 (exec_find_memory_regions): New function.
2875 (init_exec_ops): Use exec_find_memory_regions.
2877 2014-02-19 Tom Tromey <tromey@redhat.com>
2879 * target.h (struct target_ops) <to_supports_non_stop>: Add
2881 * target.c (find_default_supports_non_stop): Add argument.
2882 (target_supports_non_stop): Add argument.
2883 (find_default_supports_non_stop): Add 'self' argument.
2884 * remote.c (remote_supports_non_stop): Add 'self' argument.
2885 * linux-nat.c (linux_nat_supports_non_stop): Add 'self' argument.
2887 2014-02-19 Tom Tromey <tromey@redhat.com>
2889 * target.h (struct target_ops) <to_log_command>: Add argument.
2890 (target_log_command): Add argument.
2891 * serial.h (serial_log_command): Add 'self' argument.
2892 * serial.c (serial_log_command): Add 'self' argument.
2894 2014-02-19 Tom Tromey <tromey@redhat.com>
2896 * windows-nat.c (windows_pid_to_exec_file): Add 'self' argument.
2897 * target.h (struct target_ops) <to_pid_to_exec_file>: Add
2899 (target_pid_to_exec_file): Add argument.
2900 * target.c (debug_to_pid_to_exec_file): Add argument.
2901 (update_current_target): Update.
2902 * nbsd-nat.h (nbsd_pid_to_exec_file): Add 'self' argument.
2903 * nbsd-nat.c (nbsd_pid_to_exec_file): Add 'self' argument.
2904 * linux-nat.c (linux_child_pid_to_exec_file): Add 'self' argument.
2905 (linux_handle_extended_wait): Update.
2906 * inf-child.c (inf_child_pid_to_exec_file): Add 'self' argument.
2907 * fbsd-nat.h (fbsd_pid_to_exec_file): Add 'self' argument.
2908 * fbsd-nat.c (fbsd_pid_to_exec_file): Add 'self' argument.
2909 * darwin-nat.c (darwin_pid_to_exec_file): Add 'self' argument.
2911 2014-02-19 Tom Tromey <tromey@redhat.com>
2913 * target.h (struct target_ops) <to_rcmd>: Add argument.
2914 (target_rcmd): Add argument.
2915 * target.c (debug_to_rcmd): Add argument.
2916 (update_current_target, do_monitor_command): Update.
2917 * remote.c (remote_rcmd): Add 'self' argument.
2918 * monitor.c (monitor_rcmd): Add 'self' argument.
2920 2014-02-19 Tom Tromey <tromey@redhat.com>
2922 * windows-nat.c (windows_stop): Add 'self' argument.
2923 * target.h (struct target_ops) <to_stop>: Add argument.
2924 * target.c (target_stop): Add argument.
2925 (debug_to_stop): Add argument.
2926 (update_current_target): Update.
2927 * remote.c (remote_stop): Add 'self' argument.
2928 * remote-sim.c (gdbsim_stop): Add 'self' argument.
2929 (gdbsim_cntrl_c): Update.
2930 * remote-m32r-sdi.c (m32r_stop): Add 'self' argument.
2931 * procfs.c (procfs_stop): Add 'self' argument.
2932 * nto-procfs.c (procfs_stop): Add 'self' argument.
2933 * monitor.c (monitor_stop): Add 'self' argument.
2934 (monitor_open): Update.
2935 * linux-nat.c (linux_nat_stop): Add argument.
2936 * inf-ptrace.c (inf_ptrace_stop): Add 'self' argument.
2937 * gnu-nat.c (gnu_stop): Add 'self' argument.
2938 * darwin-nat.c (darwin_stop): Add 'self' argument.
2940 2014-02-19 Tom Tromey <tromey@redhat.com>
2942 * target.h (struct target_ops) <to_thread_name>: Add argument.
2943 * target.c (target_thread_name): Add argument.
2944 (update_current_target): Update.
2945 * linux-nat.c (linux_nat_thread_name): Add 'self' argument.
2947 2014-02-19 Tom Tromey <tromey@redhat.com>
2949 * target.h (struct target_ops) <to_extra_thread_info>: Add
2951 (target_extra_thread_info): Add argument.
2952 * target.c (update_current_target): Update.
2953 * remote.c (remote_threads_extra_info): Add 'self' argument.
2954 * ravenscar-thread.c (ravenscar_extra_thread_info): Add 'self'
2956 * nto-tdep.h (nto_extra_thread_info): Add 'self' argument.
2957 * nto-tdep.c (nto_extra_thread_info): Add 'self' argument.
2958 * linux-thread-db.c (thread_db_extra_thread_info): Add 'self'
2960 * inf-ttrace.c (inf_ttrace_extra_thread_info): Add 'self'
2962 * bsd-uthread.c (bsd_uthread_extra_thread_info): Add 'self'
2964 * aix-thread.c (aix_thread_extra_thread_info): Add 'self'
2967 2014-02-19 Tom Tromey <tromey@redhat.com>
2969 * target.h (struct target_ops) <to_program_signals>: Add argument.
2970 * target.c (target_program_signals): Add argument.
2971 * remote.c (remote_program_signals): Add 'self' argument.
2973 2014-02-19 Tom Tromey <tromey@redhat.com>
2975 * target.h (struct target_ops) <to_pass_signals>: Add argument.
2976 * target.c (target_pass_signals): Add argument.
2977 * remote.c (remote_pass_signals): Add 'self' argument.
2978 (remote_start_remote): Update.
2979 * procfs.c (procfs_pass_signals): Add 'self' argument.
2980 * nto-procfs.c (procfs_pass_signals): Add 'self' argument.
2981 * linux-nat.c (linux_nat_pass_signals): Add 'self' argument.
2982 (linux_nat_create_inferior, linux_nat_attach): Update.
2984 2014-02-19 Tom Tromey <tromey@redhat.com>
2986 * windows-nat.c (windows_can_run): Add 'self' argument.
2987 * target.h (struct target_ops) <to_can_run>: Add argument.
2988 (target_can_run): Add argument.
2989 * target.c (debug_to_can_run): Add argument.
2990 (update_current_target): Update.
2991 * nto-procfs.c (procfs_can_run): Add 'self' argument.
2992 * inf-child.c (inf_child_can_run): Add 'self' argument.
2993 * go32-nat.c (go32_can_run): Add 'self' argument.
2995 2014-02-19 Tom Tromey <tromey@redhat.com>
2997 * target.h (struct target_ops) <to_has_exited>: Add argument.
2998 (target_has_exited): Add argument.
2999 * target.c (debug_to_has_exited): Add argument.
3000 (update_current_target): Update.
3002 2014-02-19 Tom Tromey <tromey@redhat.com>
3004 * target.h (struct target_ops) <to_set_syscall_catchpoint>: Add
3006 (target_set_syscall_catchpoint): Add argument.
3007 * linux-nat.c (linux_child_set_syscall_catchpoint): Add 'self'
3009 * target.c (update_current_target): Update.
3011 2014-02-19 Tom Tromey <tromey@redhat.com>
3013 * target.h (struct target_ops) <to_remove_exec_catchpoint>: Add
3015 (target_remove_exec_catchpoint): Add argument.
3016 * target.c (debug_to_remove_exec_catchpoint): Add argument.
3017 (update_current_target): Update.
3018 * linux-nat.c (linux_child_remove_exec_catchpoint): Add 'self'
3021 2014-02-19 Tom Tromey <tromey@redhat.com>
3023 * target.h (struct target_ops) <to_insert_exec_catchpoint>: Add
3025 (target_insert_exec_catchpoint): Add argument.
3026 * target.c (debug_to_insert_exec_catchpoint): Add argument.
3027 (update_current_target): Update.
3028 * linux-nat.c (linux_child_insert_exec_catchpoint): Add 'self'
3031 2014-02-19 Tom Tromey <tromey@redhat.com>
3033 * target.h (struct target_ops) <to_remove_vfork_catchpoint>: Add
3035 (target_remove_vfork_catchpoint): Add argument.
3036 * target.c (debug_to_remove_vfork_catchpoint): Add argument.
3037 (update_current_target): Update.
3038 * linux-nat.c (linux_child_remove_vfork_catchpoint): Add 'self'
3041 2014-02-19 Tom Tromey <tromey@redhat.com>
3043 * target.h (struct target_ops) <to_insert_vfork_catchpoint>: Add
3045 (target_insert_vfork_catchpoint): Add argument.
3046 * target.c (debug_to_insert_vfork_catchpoint): Add argument.
3047 (update_current_target): Update.
3048 * linux-nat.c (linux_child_insert_vfork_catchpoint): Add 'self'
3051 2014-02-19 Tom Tromey <tromey@redhat.com>
3053 * target.h (struct target_ops) <to_remove_fork_catchpoint>: Add
3055 (target_remove_fork_catchpoint): Add argument.
3056 * target.c (debug_to_remove_fork_catchpoint): Add argument.
3057 (update_current_target): Update.
3058 * linux-nat.c (linux_child_remove_fork_catchpoint): Add 'self'
3061 2014-02-19 Tom Tromey <tromey@redhat.com>
3063 * target.h (struct target_ops) <to_insert_fork_catchpoint>: Add
3065 (target_insert_fork_catchpoint): Add argument.
3066 * target.c (debug_to_insert_fork_catchpoint): Add argument.
3067 (update_current_target): Update.
3068 * linux-nat.c (linux_child_insert_fork_catchpoint): Add 'self'
3071 2014-02-19 Tom Tromey <tromey@redhat.com>
3073 * target.h (struct target_ops) <to_post_startup_inferior>: Add
3075 (target_post_startup_inferior): Add argument.
3076 * target.c (debug_to_post_startup_inferior): Add argument.
3077 (update_current_target): Update.
3078 * spu-linux-nat.c (spu_child_post_startup_inferior): Add 'self'
3080 * linux-nat.c (linux_child_post_startup_inferior): Add 'self'
3082 * inf-ptrace.c (inf_ptrace_post_startup_inferior): Add 'self'
3084 * inf-child.c (inf_child_post_startup_inferior): Add 'self'
3086 * i386-linux-nat.c (i386_linux_child_post_startup_inferior): Add
3088 (super_post_startup_inferior): Likewise.
3089 * amd64-linux-nat.c (amd64_linux_child_post_startup_inferior): Add
3091 (super_post_startup_inferior): Likewise.
3092 * aarch64-linux-nat.c (aarch64_linux_child_post_startup_inferior):
3093 Add 'self' argument.
3094 (super_post_startup_inferior): Likewise.
3096 2014-02-19 Tom Tromey <tromey@redhat.com>
3098 * target.h (struct target_ops) <to_load>: Add argument.
3099 * target.c (target_load): Add argument.
3100 (debug_to_load): Add argument.
3101 (update_current_target): Update.
3102 * remote.c (remote_load): Add 'self' argument.
3103 * remote-sim.c (gdbsim_load): Add 'self' argument.
3104 * remote-mips.c (mips_load): Add 'self' argument.
3105 * remote-m32r-sdi.c (m32r_load): Add 'self' argument.
3106 * monitor.c (monitor_load): Add 'self' argument.
3107 * m32r-rom.c (m32r_load_gen): Add 'self' argument.
3109 2014-02-19 Tom Tromey <tromey@redhat.com>
3111 * target.h (struct target_ops) <to_terminal_info>: Add argument.
3112 (target_terminal_info): Add argument.
3113 * target.c (debug_to_terminal_info): Add argument.
3114 (default_terminal_info): Likewise.
3115 * inflow.c (child_terminal_info): Add 'self' argument.
3116 * inferior.h (child_terminal_info): Add 'self' argument.
3117 * go32-nat.c (go32_terminal_info): Add 'self' argument.
3119 2014-02-19 Tom Tromey <tromey@redhat.com>
3121 * target.h (struct target_ops) <to_terminal_save_ours>: Add
3123 (target_terminal_save_ours): Add argument.
3124 * target.c (debug_to_terminal_save_ours): Add argument.
3125 (update_current_target): Update.
3126 * inflow.c (terminal_save_ours): Add 'self' argument.
3127 * inferior.h (terminal_save_ours): Add 'self' argument.
3129 2014-02-19 Tom Tromey <tromey@redhat.com>
3131 * target.h (struct target_ops) <to_terminal_ours>: Add argument.
3132 (target_terminal_ours): Add argument.
3133 * target.c (debug_to_terminal_ours): Add argument.
3134 (update_current_target): Update.
3135 * remote.c (remote_terminal_ours): Add 'self' argument.
3136 (remote_close): Update.
3137 * linux-nat.c (linux_nat_terminal_ours): Add 'self' argument.
3138 * inflow.c (terminal_ours): Add 'self' argument.
3139 * inferior.h (terminal_ours): Add 'self' argument.
3140 * go32-nat.c (go32_terminal_ours): Add 'self' argument.
3142 2014-02-19 Pedro Alves <palves@redhat.com>
3143 Tom Tromey <tromey@redhat.com>
3145 * target.h (struct target_ops) <to_terminal_ours_for_output>: Add
3147 (target_terminal_ours_for_output): Add argument.
3148 * target.c (debug_to_terminal_ours_for_output): Add argument.
3149 (update_current_target): Update.
3150 * inflow.c (terminal_ours_for_output): Add 'self' argument.
3151 * inferior.h (terminal_ours_for_output): Add 'self' argument.
3152 * go32-nat.c (go32_terminal_ours): Add 'self' argument.
3154 2014-02-19 Tom Tromey <tromey@redhat.com>
3156 * target.h (struct target_ops) <to_terminal_inferior>: Add
3158 * target.c (target_terminal_inferior): Add argument.
3159 (update_current_target): Update.
3160 * remote.c (remote_terminal_inferior): Add 'self' argument.
3161 * linux-nat.c (linux_nat_terminal_inferior): Add 'self' argument.
3162 * inflow.c (terminal_inferior): Add 'self' argument.
3163 * inferior.h (terminal_inferior): Add 'self' argument.
3164 * go32-nat.c (go32_terminal_inferior): Add 'self' argument.
3165 (go32_terminal_inferior): Add 'self' argument.
3167 2014-02-19 Tom Tromey <tromey@redhat.com>
3169 * target.h (struct target_ops) <to_terminal_init>: Add argument.
3170 (target_terminal_init): Add argument.
3171 * target.c (debug_to_terminal_init): Add argument.
3172 (update_current_target): Update.
3173 * inflow.c (terminal_init_inferior): Add 'self' argument.
3174 * inferior.h (terminal_init_inferior): Add 'self' argument.
3175 * go32-nat.c (go32_terminal_init): Add 'self' argument.
3176 * gnu-nat.c (gnu_terminal_init_inferior): Add 'self' argument.
3178 2014-02-19 Tom Tromey <tromey@redhat.com>
3180 * target.h (struct target_ops)
3181 <to_can_accel_watchpoint_condition>: Add argument.
3182 (target_can_accel_watchpoint_condition): Add argument.
3183 * target.c (debug_to_can_accel_watchpoint_condition): Add
3185 (update_current_target): Update.
3186 * ppc-linux-nat.c (ppc_linux_can_accel_watchpoint_condition): Add
3189 2014-02-19 Tom Tromey <tromey@redhat.com>
3191 * target.h (struct target_ops) <to_region_ok_for_hw_watchpoint>:
3193 (target_region_ok_for_hw_watchpoint): Add argument.
3194 * target.c (debug_to_region_ok_for_hw_watchpoint): Add argument.
3195 (default_region_ok_for_hw_watchpoint): Add argument.
3196 * spu-multiarch.c (spu_region_ok_for_hw_watchpoint): Add argument.
3197 * s390-linux-nat.c (s390_region_ok_for_hw_watchpoint): Add 'self'
3199 * remote.c (remote_region_ok_for_hw_watchpoint): Add 'self'
3201 * procfs.c (procfs_region_ok_for_hw_watchpoint): Add 'self'
3203 * ppc-linux-nat.c (ppc_linux_region_ok_for_hw_watchpoint): Add
3205 * mips-linux-nat.c (mips_linux_region_ok_for_hw_watchpoint): Add
3207 * inf-ttrace.c (inf_ttrace_region_ok_for_hw_watchpoint): Add
3209 * i386-nat.c (i386_region_ok_for_watchpoint): Add 'self' argument.
3210 * arm-linux-nat.c (arm_linux_region_ok_for_hw_watchpoint): Add
3212 * aarch64-linux-nat.c (aarch64_linux_region_ok_for_hw_watchpoint):
3213 Add 'self' argument.
3215 2014-02-19 Tom Tromey <tromey@redhat.com>
3217 * target.h (struct target_ops) <to_insert_watchpoint>: Add
3219 (target_insert_watchpoint): Add argument.
3220 * target.c (debug_to_insert_watchpoint): Add argument.
3221 (update_current_target): Update.
3222 * s390-linux-nat.c (s390_insert_watchpoint): Add 'self' argument.
3223 * remote.c (remote_insert_watchpoint): Add 'self' argument.
3224 * remote-mips.c (mips_insert_watchpoint): Add 'self' argument.
3225 * remote-m32r-sdi.c (m32r_insert_watchpoint): Add 'self' argument.
3226 * procfs.c (procfs_insert_watchpoint): Add 'self' argument.
3227 * ppc-linux-nat.c (ppc_linux_insert_watchpoint): Add 'self'
3229 * nto-procfs.c (procfs_insert_hw_watchpoint): Add 'self' argument.
3230 (procfs_insert_hw_watchpoint): Add 'self' argument.
3231 * mips-linux-nat.c (mips_linux_insert_watchpoint): Add 'self'
3233 * inf-ttrace.c (inf_ttrace_insert_watchpoint): Add 'self'
3235 * ia64-linux-nat.c (ia64_linux_insert_watchpoint): Add 'self'
3237 * i386-nat.c (i386_insert_watchpoint): Add 'self' argument.
3238 * arm-linux-nat.c (arm_linux_insert_watchpoint): Add 'self'
3240 * aarch64-linux-nat.c (aarch64_linux_insert_watchpoint): Add
3243 2014-02-19 Tom Tromey <tromey@redhat.com>
3245 * target.h (struct target_ops) <to_remove_watchpoint>: Add
3247 (target_remove_watchpoint): Add argument.
3248 * target.c (debug_to_remove_watchpoint): Add argument.
3249 (update_current_target): Update.
3250 * s390-linux-nat.c (s390_remove_watchpoint): Add 'self' argument.
3251 * remote.c (remote_remove_watchpoint): Add 'self' argument.
3252 * remote-mips.c (mips_remove_watchpoint): Add 'self' argument.
3253 * remote-m32r-sdi.c (m32r_remove_watchpoint): Add 'self' argument.
3254 * procfs.c (procfs_remove_watchpoint): Add 'self' argument.
3255 * ppc-linux-nat.c (ppc_linux_remove_watchpoint): Add 'self'
3257 * nto-procfs.c (procfs_remove_hw_watchpoint): Add 'self' argument.
3258 * mips-linux-nat.c (mips_linux_remove_watchpoint): Add 'self'
3260 * inf-ttrace.c (inf_ttrace_remove_watchpoint): Add 'self'
3262 * ia64-linux-nat.c (ia64_linux_remove_watchpoint): Add 'self'
3264 * i386-nat.c (i386_remove_watchpoint): Add 'self' argument.
3265 * arm-linux-nat.c (arm_linux_remove_watchpoint): Add 'self'
3267 * aarch64-linux-nat.c (aarch64_linux_remove_watchpoint): Add
3270 2014-02-19 Tom Tromey <tromey@redhat.com>
3272 * target.h (struct target_ops) <to_remove_hw_breakpoint>: Add
3274 (target_remove_hw_breakpoint): Add argument.
3275 * target.c (debug_to_remove_hw_breakpoint): Add argument.
3276 (update_current_target): Update.
3277 * remote.c (remote_remove_hw_breakpoint): Add 'self' argument.
3278 * ppc-linux-nat.c (ppc_linux_remove_hw_breakpoint): Add 'self'
3280 * i386-nat.c (i386_remove_hw_breakpoint): Add 'self' argument.
3281 * arm-linux-nat.c (arm_linux_remove_hw_breakpoint): Add 'self'
3283 * aarch64-linux-nat.c (aarch64_linux_remove_hw_breakpoint): Add
3286 2014-02-19 Tom Tromey <tromey@redhat.com>
3288 * target.h (struct target_ops) <to_insert_hw_breakpoint>: Add
3290 (target_insert_hw_breakpoint): Add argument.
3291 * target.c (debug_to_insert_hw_breakpoint): Add argument.
3292 (update_current_target): Update.
3293 * remote.c (remote_insert_hw_breakpoint): Add 'self' argument.
3294 * ppc-linux-nat.c (ppc_linux_insert_hw_breakpoint): Add 'self'
3296 * nto-procfs.c (procfs_insert_hw_breakpoint): Add 'self' argument.
3297 * i386-nat.c (i386_insert_hw_breakpoint): Add 'self' argument.
3298 * arm-linux-nat.c (arm_linux_insert_hw_breakpoint): Add 'self'
3300 * aarch64-linux-nat.c (aarch64_linux_insert_hw_breakpoint): Add
3303 2014-02-19 Tom Tromey <tromey@redhat.com>
3305 * target.h (struct target_ops) <to_can_use_hw_breakpoint>: Add
3307 (target_can_use_hardware_watchpoint): Add argument.
3308 * target.c (debug_to_can_use_hw_breakpoint): Add argument.
3309 (update_current_target): Update.
3310 * spu-linux-nat.c (spu_can_use_hw_breakpoint): Add 'self'
3312 * s390-linux-nat.c (s390_can_use_hw_breakpoint): Add 'self'
3314 * remote.c (remote_check_watch_resources): Add 'self' argument.
3315 * remote-mips.c (mips_can_use_watchpoint): Add 'self' argument.
3316 * remote-m32r-sdi.c (m32r_can_use_hw_watchpoint): Add 'self'
3318 * procfs.c (procfs_can_use_hw_breakpoint): Add 'self' argument.
3319 * ppc-linux-nat.c (ppc_linux_can_use_hw_breakpoint): Add 'self'
3321 * nto-procfs.c (procfs_can_use_hw_breakpoint): Add 'self'
3323 * mips-linux-nat.c (mips_linux_can_use_hw_breakpoint): Add 'self'
3325 * inf-ttrace.c (inf_ttrace_can_use_hw_breakpoint): Add 'self'
3327 * ia64-linux-nat.c (ia64_linux_can_use_hw_breakpoint): Add 'self'
3329 * ia64-hpux-nat.c (ia64_hpux_can_use_hw_breakpoint): Add 'self'
3331 * i386-nat.c (i386_can_use_hw_breakpoint): Add 'self' argument.
3332 * arm-linux-nat.c (arm_linux_can_use_hw_breakpoint): Add 'self'
3334 * aarch64-linux-nat.c (aarch64_linux_can_use_hw_breakpoint): Add
3337 2014-02-19 Tom Tromey <tromey@redhat.com>
3339 * target.h (struct target_ops) <to_post_attach>: Add argument.
3340 (target_post_attach): Add argument.
3341 * target.c (debug_to_post_attach): Add argument.
3342 (update_current_target): Update.
3343 * spu-linux-nat.c (spu_child_post_attach): Add 'self' argument.
3344 * nto-procfs.c (procfs_post_attach): Add 'self' argument.
3345 * linux-nat.c (linux_child_post_attach): Add 'self' argument.
3346 * inf-ptrace.c (inf_ptrace_post_attach): Add 'self' argument.
3347 * inf-child.c (inf_child_post_attach): Add 'self' argument.
3349 2014-02-19 Tom Tromey <tromey@redhat.com>
3351 * windows-nat.c (windows_close): Add 'self' argument.
3352 * tracepoint.c (tfile_close): Add 'self' argument.
3353 * target.h (struct target_ops) <to_close>: Add argument.
3354 * target.c (target_close): Add argument.
3355 (update_current_target): Update.
3356 * remote.c (remote_close): Add 'self' argument.
3357 * remote-sim.c (gdbsim_close): Add 'self' argument.
3358 * remote-mips.c (mips_close): Add 'self' argument.
3359 * remote-m32r-sdi.c (m32r_close): Add 'self' argument.
3360 * record-full.c (record_full_close): Add 'self' argument.
3361 * record-btrace.c (record_btrace_close): Add 'self' argument.
3362 * monitor.h (monitor_close): Add 'self' argument.
3363 * monitor.c (monitor_close): Add 'self' argument.
3364 * mips-linux-nat.c (mips_linux_close): Add 'self' argument.
3365 * linux-nat.c (linux_nat_close): Add argument.
3366 * go32-nat.c (go32_close): Add 'self' argument.
3367 * exec.c (exec_close_1): Add 'self' argument.
3368 * ctf.c (ctf_close): Add 'self' argument.
3369 * corelow.c (core_close): Add 'self' argument.
3370 (core_close_cleanup): Update.
3371 * bsd-uthread.c (bsd_uthread_close): Add 'self' argument.
3372 * bsd-kvm.c (bsd_kvm_close): Add 'self' argument.
3374 2014-02-19 Tom Tromey <tromey@redhat.com>
3376 * remote.c (remote_load): New function.
3377 (init_remote_ops): Use it.
3379 2014-02-19 Tom Tromey <tromey@redhat.com>
3381 * common/linux-btrace.c (linux_supports_btrace): Add "ops"
3383 * common/linux-btrace.h (linux_supports_btrace): Update.
3384 * remote.c (remote_supports_btrace): Add "self" argument.
3385 * target-delegates.c: Rebuild.
3386 * target.c (target_supports_btrace): Remove.
3387 * target.h (struct target_ops) <to_supports_btrace>: Add
3388 target_ops argument.
3389 (target_supports_btrace): New define.
3391 2014-02-19 Tom Tromey <tromey@redhat.com>
3393 * record-full.c (record_full_beneath_to_resume_ops)
3394 (record_full_beneath_to_resume, record_full_beneath_to_wait_ops)
3395 (record_full_beneath_to_wait)
3396 (record_full_beneath_to_store_registers_ops)
3397 (record_full_beneath_to_store_registers)
3398 (record_full_beneath_to_xfer_partial_ops)
3399 (record_full_beneath_to_xfer_partial)
3400 (record_full_beneath_to_insert_breakpoint_ops)
3401 (record_full_beneath_to_insert_breakpoint)
3402 (record_full_beneath_to_remove_breakpoint_ops)
3403 (record_full_beneath_to_remove_breakpoint)
3404 (record_full_beneath_to_stopped_by_watchpoint)
3405 (record_full_beneath_to_stopped_data_address)
3406 (record_full_beneath_to_async, tmp_to_resume_ops, tmp_to_resume)
3407 (tmp_to_wait_ops, tmp_to_wait, tmp_to_store_registers_ops)
3408 (tmp_to_store_registers, tmp_to_xfer_partial_ops)
3409 (tmp_to_xfer_partial, tmp_to_instmp_to_insert_breakpoint_ops)
3410 (tmp_to_insert_breakpoint, tmp_to_remove_breakpoint_ops)
3411 (tmp_to_remove_breakpoint, tmp_to_stopped_by_watchpoint)
3412 (tmp_to_stopped_data_address, tmp_to_async): Remove.
3413 (record_full_open_1, record_full_open): Update. Use RECORD_IS_USED.
3414 (record_full_resume, record_full_wait_1)
3415 (record_full_stopped_by_watchpoint, record_full_stopped_data_address)
3416 (record_full_store_registers, record_full_xfer_partial)
3417 (record_full_insert_breakpoint, record_full_remove_breakpoint)
3418 (record_full_async, record_full_core_xfer_partial): Use target
3420 * target-delegates.c: Rebuild.
3421 * target.c (current_xfer_partial): Remove.
3422 (update_current_target): Do not INHERIT or de_fault
3423 to_insert_breakpoint, to_remove_breakpoint,
3424 to_stopped_data_address, to_stopped_by_watchpoint, to_can_async_p,
3425 to_is_async_p, to_async. Do not set to_xfer_partial field.
3426 (default_xfer_partial): Simplify.
3427 (current_xfer_partial): Remove.
3428 (target_wait, target_resume): Simplify.
3429 (find_default_can_async_p, find_default_is_async_p): Update.
3430 (init_dummy_target): Don't set to_can_async_p, to_is_async_p,
3431 to_xfer_partial, to_stopped_by_watchpoint,
3432 to_stopped_data_address.
3433 (target_store_registers): Simplify.
3434 (forward_target_remove_breakpoint)
3435 (forward_target_insert_breakpoint): Remove.
3436 (target_remove_breakpoint, target_insert_breakpoint)
3437 (debug_to_insert_breakpoint, debug_to_remove_breakpoint): Update.
3438 * target.h (struct target_ops) <to_resume, to_wait,
3439 to_store_registers, to_insert_breakpoint, to_remove_breakpoint,
3440 to_stopped_by_watchpoint, to_stopped_data_address, to_can_async_p,
3441 to_is_async_p, to_async, to_xfer_partial>: Add TARGET_DEFAULT
3443 (forward_target_remove_breakpoint)
3444 (forward_target_insert_breakpoint): Remove.
3445 * record-btrace.c (record_btrace_remove_breakpoint): Delegate
3447 (record_btrace_insert_breakpoint): Delegate directly.
3449 2014-02-19 Tom Tromey <tromey@redhat.com>
3452 * target-delegates.c: New file.
3453 * target.c: Include target-delegates.c.
3454 (init_dummy_target): Call install_dummy_methods.
3455 (complete_target_initialization): Call install_delegators.
3456 * target.h (TARGET_DEFAULT_IGNORE, TARGET_DEFAULT_NORETURN)
3457 (TARGET_DEFAULT_RETURN, TARGET_DEFAULT_FUNC): New defines.
3458 * make-target-delegates: New file.
3460 2014-02-19 Tom Tromey <tromey@redhat.com>
3462 * record.c (find_record_target): Use find_target_at.
3463 * target.c (find_target_at): New function.
3464 * target.h (find_target_at): Declare.
3466 2014-02-19 Tom Tromey <tromey@redhat.com>
3468 * aarch64-linux-nat.c (aarch64_linux_stopped_by_watchpoint):
3470 * arm-linux-nat.c (arm_linux_stopped_by_watchpoint): Add
3472 * i386-nat.c (i386_stopped_by_watchpoint): Add 'ops' argument.
3473 * ia64-linux-nat.c (ia64_linux_stopped_by_watchpoint): Add
3475 * inf-ttrace.c (inf_ttrace_stopped_by_watchpoint): Add 'ops'
3477 * linux-nat.c (save_sigtrap): Update.
3478 (linux_nat_stopped_by_watchpoint, linux_nat_is_async_p)
3479 (linux_nat_can_async_p, linux_nat_async): Add 'ops' argument.
3480 (linux_nat_close): Update.
3481 * mips-linux-nat.c (mips_linux_stopped_by_watchpoint): Add 'ops'
3483 * ppc-linux-nat.c (ppc_linux_stopped_by_watchpoint): Add 'ops'
3485 * procfs.c (procfs_stopped_by_watchpoint): Add 'ops' argument.
3486 * record-full.c (record_full_beneath_to_stopped_by_watchpoint)
3487 (record_full_beneath_to_async, tmp_to_stopped_by_watchpoint)
3488 (tmp_to_async): Add 'ops' argument.
3489 (record_full_stopped_by_watchpoint, record_full_async)
3490 (record_full_can_async_p, record_full_is_async_p): Add 'ops'
3492 * remote-m32r-sdi.c (m32r_insert_breakpoint, m32r_remove_breakpoint)
3493 (m32r_stopped_by_watchpoint): Add 'ops' argument.
3494 * remote-mips.c (mips_stopped_by_watchpoint): Add 'ops' argument.
3495 * remote.c (remote_stopped_by_watchpoint_p, remote_can_async_p)
3496 (remote_is_async_p, remote_async): Add 'ops' argument.
3497 (remote_stopped_data_address): Update.
3498 * s390-nat.c (s390_stopped_by_watchpoint): Add 'ops' argument.
3499 * target.c (update_current_target)
3500 (find_default_can_async_p, find_default_is_async_p): Update.
3501 (init_dummy_target): Update.
3502 (debug_to_stopped_by_watchpoint): Add 'ops' argument.
3503 * target.h (struct target_ops) <to_stopped_by_watchpoint,
3504 to_can_async_p, to_is_async_p, to_async>: Add 'ops' argument.
3505 (target_can_async_p, target_is_async_p, target_async)
3506 (target_stopped_by_watchpoint): Update.
3508 2014-02-19 Yao Qi <yao@codesourcery.com>
3511 * gdbarch.sh: Remove startup_gdbarch.
3512 * gdbarch.c: Regenerated.
3513 * gdbarch.h: Likewise.
3515 2014-02-17 Kevin Buettner <kevinb@redhat.com>
3517 * rl78-tdep.c (rl78_g10_register_name): New function.
3518 (rl78_return_value): Add g10 support.
3519 (rl78_gdbarch_init): Register rl78_g10_register_name for the
3522 2014-02-17 Doug Evans <xdje42@gmail.com>
3524 * Makefile.in (SUBDIR_GUILE_OBS): Resort alphabetically.
3525 (SUBDIR_GUILE_SRCS): Ditto.
3526 (scm-gsmob.o): Ditto.
3528 2014-02-17 Yao Qi <yao@codesourcery.com>
3530 * gnu-nat.c (ILL_RPC): Declare defined function.
3532 2014-02-17 Yao Qi <yao@codesourcery.com>
3534 * gnu-nat.c (gnu_read_inferior): Change 'copy_count' type to
3535 mach_msg_type_number_t.
3536 (gnu_write_inferior): Likewise.
3538 2014-02-17 Yao Qi <yao@codesourcery.com>
3540 * gnu-nat.c (proc_get_exception_port): Use 'lu' insetad of 'd'
3542 (proc_steal_exc_port, make_proc, inf_set_pid): Likewise.
3543 (inf_validate_procs, inf_signal): Likewise.
3544 (S_exception_raise_request): Likewise.
3545 (do_mach_notify_dead_name): Likewise.
3546 (steal_exc_port): Likewise.
3547 (gnu_read_inferior): Change 'copy_count''s type to
3548 mach_msg_type_number_t.
3549 (gnu_write_inferior): Likewise. Use 'lx' instead of 'x' in
3552 2014-02-16 Thomas Schwinge <thomas@codesourcery.com>
3554 * gnu-nat.c (struct inf): Change pending_execs member to a 1-bit
3555 flag. Adjust all users; in particular...
3556 (gnu_wait): ..., don't decrement its value in here...
3557 (gnu_create_inferior): ..., and instead set the flag in here,
3558 around the startup_inferior call, and call that one with
3559 START_INFERIOR_TRAPS_EXPECTED.
3561 * gnu-nat.c (ill_rpc): Remove function; replaced with this...
3562 (ILL_RPC): ... new macro.
3563 (do_mach_notify_no_senders, do_mach_notify_port_deleted)
3564 (do_mach_notify_msg_accepted, do_mach_notify_port_destroyed)
3565 (do_mach_notify_send_once, S_proc_setmsgport_reply)
3566 (S_proc_getmsgport_reply, S_msg_sig_post_reply): Generate stub
3567 functions with ILL_RPC macro.
3568 (S_proc_pid2task_reply, S_proc_task2pid_reply)
3569 (S_proc_task2proc_reply, S_proc_proc2task_reply)
3570 (S_proc_pid2proc_reply, S_proc_getprocinfo_reply)
3571 (S_proc_getprocargs_reply, S_proc_getprocenv_reply)
3572 (S_proc_getloginid_reply, S_proc_getloginpids_reply)
3573 (S_proc_getlogin_reply, S_proc_getsid_reply)
3574 (S_proc_getsessionpgids_reply, S_proc_getsessionpids_reply)
3575 (S_proc_getsidport_reply, S_proc_getpgrp_reply)
3576 (S_proc_getpgrppids_reply, S_proc_get_tty_reply)
3577 (S_proc_getnports_reply, S_proc_is_important_reply)
3578 (S_proc_get_code_reply): New stub functions, generated with
3581 * reply_mig_hack.awk: In phase 5, keep going if we have not yet
3582 collected the type check structures.
3584 * reply_mig_hack.awk: Don't expect to see the auto keyword.
3586 2014-02-14 Doug Evans <dje@google.com>
3588 * target.c (target_write_partial): Fix result type.
3590 2014-02-14 Jose E. Marchesi <jose.marchesi@oracle.com>
3592 * sparc64-linux-nat.c (_initialize_sparc64_linux_nat): Register
3593 the proper offsets to access fpregset_t.
3595 2014-02-13 Sanimir Agovic <sanimir.agovic@intel.com>
3597 * cris-tdep.c (cris_supply_gregset): Remove zerobuf.
3598 (_initialize_cris_tdep): Remove cris_set_cmdlist, cris_show_cmdlist.
3599 * h8300-tdep.c (setmachinelist): Remove global.
3600 * hppa-tdep.c (hppa_sigtramp): Remove global.
3601 * mipsnbsd-tdep.c (sigtramp_retcode_mipsel, sigtramp_retcode_mipseb
3602 RETCODE_NWORDS, RETCODE_SIZE): Wrap code with #if 0.
3603 * ravenscar-thread.c (update_target_observer): Remove global.
3604 * rs6000-tdep.c (rs6000_gdbarch_init): Remove segment_regs.
3606 2014-02-12 Tom Tromey <tromey@redhat.com>
3608 * common/rsp-low.c: Update comments.
3609 * common/rsp-low.h: Update comments.
3611 2014-02-12 Tom Tromey <tromey@redhat.com>
3613 * common/rsp-low.c (convert_ascii_to_int): Remove.
3614 * common/rsp-low.h (convert_ascii_to_int): Don't declare.
3616 2014-02-12 Tom Tromey <tromey@redhat.com>
3618 * common/rsp-low.h (unhexify): Don't declare.
3619 * common/rsp-low.c (unhexify): Remove.
3621 2014-02-12 Tom Tromey <tromey@redhat.com>
3623 * common/rsp-low.h (convert_int_to_ascii): Don't declare.
3624 * common/rsp-low.c (convert_int_to_ascii): Remove.
3626 2014-02-12 Tom Tromey <tromey@redhat.com>
3628 * common/rsp-low.h (hexify): Don't declare.
3629 * common/rsp-low.c (hexify): Remove.
3631 2014-02-12 Tom Tromey <tromey@redhat.com>
3633 * common/rsp-low.c (hexify): Never take strlen of argument.
3635 2014-02-12 Tom Tromey <tromey@redhat.com>
3637 * common/rsp-low.c (bin2hex): Never take strlen of argument.
3638 * remote.c (extended_remote_run, remote_rcmd)
3639 (remote_download_trace_state_variable, remote_save_trace_data)
3640 (remote_set_trace_notes): Update.
3641 * tracepoint.c (encode_source_string, tfile_write_status)
3642 (tfile_write_uploaded_tsv): Update.
3644 2014-02-12 Tom Tromey <tromey@redhat.com>
3646 * tracepoint.c: Include rsp-low.h.
3647 * remote.h (hex2bin, bin2hex, unpack_varlen_hex): Don't declare.
3648 * remote.c: Include rsp-low.h.
3649 (hexchars, ishex, unpack_varlen_hex, pack_nibble, pack_hex_byte)
3650 (fromhex, hex2bin, tohex, bin2hex, remote_escape_output)
3651 (remote_unescape_input): Move to common/rsp-low.c.
3652 * common/rsp-low.h: New file.
3653 * common/rsp-low.c: New file.
3654 * Makefile.in (SFILES): Add common/rsp-low.c.
3655 (HFILES_NO_SRCDIR): Add common/rsp-low.h.
3656 (COMMON_OBS): Add rsp-low.o.
3657 (rsp-low.o): New target.
3659 2014-02-12 Tom Tromey <tromey@redhat.com>
3661 * utils.h: Include print-utils.h.
3662 (host_address_to_string, plongest, pulongest, phex, phex_nz)
3663 (int_string, core_addr_to_string, core_addr_to_string_nz)
3664 (hex_string, hex_string_custom): Don't declare.
3665 * utils.c (NUMCELLS, CELLSIZE, get_cell, decimal2str, pulongest)
3666 (plongest, thirty_two, phex, phex_nz, octal2str, hex_string)
3667 (hex_string_custom, int_string, core_addr_to_string)
3668 (core_addr_to_string_nz, host_address_to_string): Move to
3669 common/print-utils.c.
3670 * common/print-utils.h: New file.
3671 * common/print-utils.c: New file
3672 * Makefile.in (SFILES): Add common/print-utils.c.
3673 (HFILES_NO_SRCDIR): Add common/print-utils.h.
3674 (COMMON_OBS): Add print-utils.o.
3675 (print-utils.o): New target.
3677 2014-02-12 Tom Tromey <tromey@redhat.com>
3679 * nios2-tdep.c (nios2_stub_frame_base_address): Remove.
3681 2014-02-12 Mark Kettenis <kettenis@gnu.org>
3683 * sparc64obsd-tdep.c (sparc64obsd_init_abi): Call obsd_init_abi.
3685 2014-02-12 Mark Kettenis <kettenis@gnu.org>
3687 * inf-ptrace.c (inf_ptrace_xfer_partial): Return TARGET_XFER_EOF
3688 if a PT_IO ptrace request returns sucessfully but indicates that 0
3689 bytes were transferred.
3691 2014-02-12 Pedro Alves <palves@redhat.com>
3692 Kevin Buettner <kevinb@redhat.com>
3694 * gnu-v3-abi.c (build_gdb_vtable_type): Return a type marked with
3695 TYPE_INSTANCE_FLAG_CODE_SPACE.
3697 2014-02-12 Pedro Alves <palves@redhat.com>
3699 * h8300-tdep.c (pseudo_from_raw_register)
3700 (raw_from_pseudo_register): New functions.
3701 (h8300_pseudo_register_read, h8300_pseudo_register_write): Use
3704 2014-02-12 Pedro Alves <palves@redhat.com>
3706 * h8300-tdep.c (h8300_register_sim_regno): New function.
3707 (h8300_gdbarch_init): Install h8300_register_sim_regno as
3708 gdbarch_register_sim_regno hook.
3710 2014-02-12 Sanimir Agovic <sanimir.agovic@intel.com>
3712 * nios2-tdep.c (nios2_stub_frame_base): Remove global.
3714 2014-02-12 Sanimir Agovic <sanimir.agovic@intel.com>
3716 * tic6x-tdep.c (tic6x_gdbarch_init): Call frame_base_set_default.
3718 2014-02-12 Mark Kettenis <kettenis@gnu.org>
3720 * obsd-tdep.h (obsd_init_abi): New prototype.
3721 * obsd-tdep.c: Define enum with OpenBSD signal numbers.
3722 (obsd_gdb_signal_from_target, obsd_gdb_signal_to_target)
3723 (obsd_init_abi): New functions.
3724 * i386obsd-tdep.c: Include "obsd-tdep.h".
3725 (i386obsd_init_abi): Call obsd_init_abi.
3726 * amd64obsd-tdep.c: Include "obsd-tdep.h".
3727 (amd64obsd_init_abi): Call obsd_init_abi.
3728 * configure.tgt (i[34567]86-*-openbsd*, x86_64-*-openbsd*): Add
3729 obsd-tdep.c to gdb_target_obs.
3731 2014-02-11 Jose E. Marchesi <jose.marchesi@oracle.com>
3733 * sparc64-tdep.c (sparc64_store_arguments): Do not align complex
3734 double float arguments to 16-byte in the argument slots.
3736 2014-02-11 Doug Evans <xdje42@gmail.com>
3738 * configure.ac: Don't crash if pkg-config is not found and guile
3739 wasn't explicitly requested. Use AC_MSG_ERROR instead of AC_ERROR
3741 * configure: Regenerate.
3743 2014-02-11 Yao Qi <yao@codesourcery.com>
3745 * aix-thread.c (aix_thread_xfer_partial): Update comments.
3746 * auxv.c (procfs_xfer_auxv, memory_xfer_auxv): Likewise.
3747 * bsd-uthread.c (bsd_uthread_xfer_partial): Likewise.
3748 * gnu-nat.c (gnu_xfer_memory): Likewise.
3749 * inf-ptrace.c (inf_ptrace_xfer_partial): Likewise.
3750 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
3751 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
3752 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise.
3754 2014-02-11 Yao Qi <yao@codesourcery.com>
3756 * target.h (enum target_xfer_error): Rename to ...
3757 (enum target_xfer_status): ... it. New. All users updated.
3758 (enum target_xfer_status) <TARGET_XFER_OK>, <TARGET_XFER_EOF>:
3760 (TARGET_XFER_STATUS_ERROR_P): New macro.
3761 (target_xfer_error_to_string): Remove declaration.
3762 (target_xfer_status_to_string): Declare.
3763 (target_xfer_partial_ftype): Adjust it.
3764 (struct target_ops) <to_xfer_partial>: Return
3765 target_xfer_status. Add argument xfered_len. Update
3767 * target.c (target_xfer_error_to_string): Rename to ...
3768 (target_xfer_status_to_string): ... it. New. All callers
3770 (target_read_live_memory): Likewise. Call target_xfer_partial
3771 instead of target_read.
3772 (memory_xfer_live_readonly_partial): Return
3773 target_xfer_status. Add argument xfered_len.
3774 (raw_memory_xfer_partial): Likewise.
3775 (memory_xfer_partial_1): Likewise.
3776 (memory_xfer_partial): Likewise.
3777 (target_xfer_partial): Likewise. Check *XFERED_LEN is set
3778 properly. Update debug message.
3779 (default_xfer_partial, current_xfer_partial): Likewise.
3780 (target_write_partial): Likewise.
3781 (target_read_partial): Likewise. All callers updated.
3782 (read_whatever_is_readable): Likewise.
3783 (target_write_with_progress): Likewise.
3784 (target_read_alloc_1): Likewise.
3786 * aix-thread.c (aix_thread_xfer_partial): Likewise.
3787 * auxv.c (procfs_xfer_auxv): Likewise.
3788 (ld_so_xfer_auxv, memory_xfer_auxv): Likewise.
3789 * bfd-target.c (target_bfd_xfer_partial): Likewise.
3790 * bsd-kvm.c (bsd_kvm_xfer_partial): Likewise.
3791 * bsd-uthread.c (bsd_uthread_xfer_partia): Likewise.
3792 * corefile.c (read_memory): Adjust.
3793 * corelow.c (core_xfer_partial): Likewise.
3794 * ctf.c (ctf_xfer_partial): Likewise.
3795 * darwin-nat.c (darwin_read_dyld_info): Likewise. All callers
3797 (darwin_xfer_partial): Likewise.
3798 * exec.c (section_table_xfer_memory_partial): Likewise. All
3800 (exec_xfer_partial): Likewise.
3801 * exec.h (section_table_xfer_memory_partial): Update
3803 * gnu-nat.c (gnu_xfer_memory): Likewise. Assert 'res' is not
3805 (gnu_xfer_partial): Likewise.
3806 * ia64-hpux-nat.c (ia64_hpux_xfer_memory_no_bs): Likewise.
3807 (ia64_hpux_xfer_memory, ia64_hpux_xfer_uregs): Likewise.
3808 (ia64_hpux_xfer_solib_got): Likewise.
3809 * inf-ptrace.c (inf_ptrace_xfer_partial): Likewise. Change
3810 type of 'partial_len' to ULONGEST.
3811 * inf-ttrace.c (inf_ttrace_xfer_partial): Likewise.
3812 * linux-nat.c (linux_xfer_siginfo ): Likewise.
3813 (linux_nat_xfer_partial): Likewise.
3814 (linux_proc_xfer_partial, linux_xfer_partial): Likewise.
3815 (linux_proc_xfer_spu, linux_nat_xfer_osdata): Likewise.
3816 * monitor.c (monitor_xfer_memory): Likewise.
3817 (monitor_xfer_partial): Likewise.
3818 * procfs.c (procfs_xfer_partial): Likewise.
3819 * record-btrace.c (record_btrace_xfer_partial): Likewise.
3820 * record-full.c (record_full_xfer_partial): Likewise.
3821 (record_full_core_xfer_partial): Likewise.
3822 * remote-sim.c (gdbsim_xfer_memory): Likewise.
3823 (gdbsim_xfer_partial): Likewise.
3824 * remote.c (remote_write_bytes_aux): Likewise. All callers
3826 (remote_write_bytes, remote_read_bytes): Likewise. All
3828 (remote_flash_erase): Likewise. All callers updated.
3829 (remote_write_qxfer): Likewise. All callers updated.
3830 (remote_read_qxfer): Likewise. All callers updated.
3831 (remote_xfer_partial): Likewise.
3832 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
3833 (rs6000_xfer_shared_libraries): Likewise.
3834 * sol-thread.c (sol_thread_xfer_partial): Likewise.
3835 (sol_thread_xfer_partial): Likewise.
3836 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
3837 (sparc_xfer_partial): Likewise.
3838 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise. All callers
3840 (spu_xfer_partial): Likewise.
3841 * spu-multiarch.c (spu_xfer_partial): Likewise.
3842 * tracepoint.c (tfile_xfer_partial): Likewise.
3843 * windows-nat.c (windows_xfer_memory): Likewise.
3844 (windows_xfer_shared_libraries): Likewise.
3845 (windows_xfer_partial): Likewise.
3846 * valprint.c: Replace 'target_xfer_error' with
3847 'target_xfer_status' in comments.
3849 2014-02-11 Simon Marchi <simon.marchi@ericsson.com> (tiny patch)
3851 Checked in by Joel Brobecker <brobecker@adacore.com>.
3852 * mi/mi-main.c (mi_cmd_data_write_memory_bytes): Fix comment.
3854 2014-02-11 Joel Brobecker <brobecker@adacore.com>
3856 * symfile-debug.c (debug_qf_expand_symtabs_matching): Reformat
3857 function parameters.
3859 2014-02-10 Will Newton <will.newton@linaro.org>
3861 * elfread.c (elf_rel_plt_read): Look for a .got section if
3862 looking up .got.plt fails.
3863 (elf_gnu_ifunc_resolve_by_got): Call gdbarch_addr_bits_remove
3864 on address passed to elf_gnu_ifunc_record_cache.
3865 (elf_gnu_ifunc_resolve_addr): Likewise.
3866 (elf_gnu_ifunc_resolver_return_stop): Likewise.
3868 2014-02-10 Jose E. Marchesi <jose.marchesi@oracle.com>
3870 * sparc-tdep.c (sparc_in_function_epilogue_p): New function.
3871 (X_RETTURN): New macro.
3872 * sparc-tdep.h: sparc_in_function_epilogue_p prototype.
3874 * sparc64-tdep.c (sparc64_init_abi): Hook
3875 sparc_in_function_epilogue_p.
3877 2014-02-10 Gary Benson <gbenson@redhat.com>
3879 * symfile-debug.c (debug_qf_expand_symtabs_matching):
3880 Rename name_matcher to symbol_matcher.
3882 2014-02-10 Gary Benson <gbenson@redhat.com>
3884 * symfile-debug.c (debug_qf_expand_symtabs_matching):
3885 Use expand_symtabs_file_matcher_ftype and
3886 expand_symtabs_symbol_matcher_ftype.
3888 2014-02-10 Joel Brobecker <brobecker@adacore.com>
3890 * ada-lang.c (struct cache_entry, HASH_SIZE): Move definition up.
3891 (struct ada_symbol_cache): New.
3892 (ada_free_symbol_cache): Forward declare.
3893 (struct ada_pspace_data): New.
3894 (ada_pspace_data_handle): New static global.
3895 (get_ada_pspace_data, ada_pspace_data_cleanup)
3896 (ada_init_symbol_cache, ada_free_symbol_cache): New functions.
3897 (cache_space, cache): Delete, now folded inside struct
3899 (ada_get_symbol_cache): New function.
3900 (ada_clear_symbol_cache, find_entry, cache_symbol): Adjust
3902 (_initialize_ada_language): Remove initialization of cache_space.
3903 Move call to observer_attach_inferior_exit up, grouping it
3904 with the other observer registrations inside this function.
3905 Rename command to be more general. Add call to
3906 register_program_space_data_with_cleanup.
3908 2014-02-10 Joel Brobecker <brobecker@adacore.com>
3910 * ada-tasks.c (ada_tasks_new_objfile_observer): Renames
3911 ada_new_objfile_observer.
3912 (ada_tasks_normal_stop_observer): Renames ada_normal_stop_observer.
3913 (_initialize_tasks): Update uses of ada_new_objfile_observer
3914 and ada_tasks_normal_stop_observer.
3916 2014-02-10 Joel Brobecker <brobecker@adacore.com>
3918 * ada-lang.c (ada_evaluate_subexp): Set the type of the value
3919 returned by the 'Length attribute to integer.
3921 2014-02-10 Joel Brobecker <brobecker@adacore.com>
3923 * ada-lang.c (_initialize_ada_language): Initialize
3924 cache_space obstack.
3926 2014-02-10 Joel Brobecker <brobecker@adacore.com>
3928 * ada-lang.c (HASH_SIZE): New macro.
3929 (struct cache_entry): New type.
3930 (cache_space, cache): New static globals.
3931 (ada_clear_symbol_cache, find_entry): New functions.
3932 (lookup_cached_symbol, cache_symbol): Implement.
3933 (ada_new_objfile_observer, ada_free_objfile_observer): New.
3934 (_initialize_ada_language): Attach ada_new_objfile_observer
3935 and ada_free_objfile_observer.
3937 2014-02-10 Joel Brobecker <brobecker@adacore.com>
3939 * ada-lang.c (ada_add_block_symbols, add_defn_to_vec)
3940 (lookup_cached_symbol, ada_add_local_symbols): Add "const" to
3941 struct block * parameter.
3942 (ada_lookup_symbol_list_worker): Constify local variable "block".
3943 Remove cast which is no longer necessary.
3945 2014-02-10 Doug Evans <xdje42@gmail.com>
3947 Add Guile as an extension language.
3948 * NEWS: Mention Guile scripting.
3949 * Makefile.in (SUBDIR_GUILE_OBS): New variable.
3950 (SUBDIR_GUILE_SRCS, SUBDIR_GUILE_DEPS): New variables
3951 (SUBDIR_GUILE_LDFLAGS, SUBDIR_GUILE_CFLAGS): New variables.
3952 (INTERNAL_CPPFLAGS): Add GUILE_CPPFLAGS.
3953 (CLIBS): Add GUILE_LIBS.
3954 (install-guile): New rule.
3955 (guile.o): New rule.
3956 (scm-arch.o, scm-auto-load.o, scm-block.o): New rules.
3957 (scm-breakpoint.o, scm-disasm.o, scm-exception.o): New rules.
3958 (scm-frame.o, scm-iterator.o, scm-lazy-string.o): New rules.
3959 (scm-math.o, scm-objfile.o, scm-ports.o): New rules.
3960 (scm-pretty-print.o, scm-safe-call.o, scm-gsmob.o): New rules.
3961 (scm-string.o, scm-symbol.o, scm-symtab.o): New rules.
3962 (scm-type.o, scm-utils.o, scm-value.o): New rules.
3963 * configure.ac: New option --with-guile.
3964 * configure: Regenerate.
3965 * config.in: Regenerate.
3966 * auto-load.c: Remove #include "python/python.h". Add #include
3967 "gdb/section-scripts.h".
3968 (source_section_scripts): Handle Guile scripts.
3969 (_initialize_auto_load): Add name of Guile objfile script to
3970 scripts-directory help text.
3971 * breakpoint.c (condition_command): Tweak comment to include Scheme.
3972 * breakpoint.h (gdbscm_breakpoint_object): Add forward decl.
3973 (struct breakpoint): New member scm_bp_object.
3974 * defs.h (enum command_control_type): New value guile_control.
3975 * cli/cli-cmds.c: Remove #include "python/python.h". Add #include
3977 (show_user): Update comment.
3978 (_initialize_cli_cmds): Update help text for "show user". Update help
3979 text for max-user-call-depth.
3980 * cli/cli-script.c: Remove #include "python/python.h". Add #include
3982 (multi_line_command_p): Add guile_control.
3983 (print_command_lines): Handle guile_control.
3984 (execute_control_command, recurse_read_control_structure): Ditto.
3985 (process_next_line): Recognize "guile" commands.
3986 * disasm.c (gdb_disassemble_info): Make non-static.
3987 * disasm.h: #include "dis-asm.h".
3988 (struct gdbarch): Add forward decl.
3989 (gdb_disassemble_info): Declare.
3990 * extension.c: #include "guile/guile.h".
3991 (extension_languages): Add guile.
3992 (get_ext_lang_defn): Handle EXT_LANG_GDB.
3993 * extension.h (enum extension_language): New value EXT_LANG_GUILE.
3994 * gdbtypes.c (get_unsigned_type_max): New function.
3995 (get_signed_type_minmax): New function.
3996 * gdbtypes.h (get_unsigned_type_max): Declare.
3997 (get_signed_type_minmax): Declare.
3998 * guile/README: New file.
3999 * guile/guile-internal.h: New file.
4000 * guile/guile.c: New file.
4001 * guile/guile.h: New file.
4002 * guile/scm-arch.c: New file.
4003 * guile/scm-auto-load.c: New file.
4004 * guile/scm-block.c: New file.
4005 * guile/scm-breakpoint.c: New file.
4006 * guile/scm-disasm.c: New file.
4007 * guile/scm-exception.c: New file.
4008 * guile/scm-frame.c: New file.
4009 * guile/scm-gsmob.c: New file.
4010 * guile/scm-iterator.c: New file.
4011 * guile/scm-lazy-string.c: New file.
4012 * guile/scm-math.c: New file.
4013 * guile/scm-objfile.c: New file.
4014 * guile/scm-ports.c: New file.
4015 * guile/scm-pretty-print.c: New file.
4016 * guile/scm-safe-call.c: New file.
4017 * guile/scm-string.c: New file.
4018 * guile/scm-symbol.c: New file.
4019 * guile/scm-symtab.c: New file.
4020 * guile/scm-type.c: New file.
4021 * guile/scm-utils.c: New file.
4022 * guile/scm-value.c: New file.
4023 * guile/lib/gdb.scm: New file.
4024 * guile/lib/gdb/boot.scm: New file.
4025 * guile/lib/gdb/experimental.scm: New file.
4026 * guile/lib/gdb/init.scm: New file.
4027 * guile/lib/gdb/iterator.scm: New file.
4028 * guile/lib/gdb/printing.scm: New file.
4029 * guile/lib/gdb/types.scm: New file.
4030 * data-directory/Makefile.in (GUILE_SRCDIR): New variable.
4031 (VPATH): Add $(GUILE_SRCDIR).
4032 (GUILE_DIR): New variable.
4033 (GUILE_INSTALL_DIR, GUILE_FILES): New variables.
4034 (all): Add stamp-guile dependency.
4035 (stamp-guile): New rule.
4036 (clean-guile, install-guile, uninstall-guile): New rules.
4037 (install-only): Add install-guile dependency.
4038 (uninstall): Add uninstall-guile dependency.
4039 (clean): Add clean-guile dependency.
4041 2014-02-09 Doug Evans <xdje42@gmail.com>
4043 Revert this patch (which I approved, mea culpa).
4045 2014-02-08 Mark Kettenis <kettenis@gnu.org>
4047 * Makefile.in (all-lib): Remove.
4048 ($(LIBGNU) $(GNULIB_H)): Replace with gits of remove all-lib target.
4050 2014-02-09 Jan Kratochvil <jan.kratochvil@redhat.com>
4052 Fix Python stack corruption.
4053 * python/py-linetable.c (ltpy_get_pcs_for_line, ltpy_has_line): Use
4056 2014-02-08 Mark Kettenis <kettenis@gnu.org>
4058 * Makefile.in (all-lib): Remove.
4059 ($(LIBGNU) $(GNULIB_H)): Replace with gits of remove all-lib target.
4061 2014-02-07 Doug Evans <dje@google.com>
4063 * extension-priv.h (extension_language_script_ops): Add comment.
4064 (extension_language_ops): Add comment.
4065 (active_ext_lang_state): Fix typo in comment.
4067 2014-02-07 Pedro Alves <palves@redhat.com>
4069 PR breakpoints/16292
4070 * infrun.c (handle_signal_stop) <signal arrives while stepping
4071 over a breakpoint>: Switch back to the stepping thread.
4073 2014-02-07 Yao Qi <yao@codesourcery.com>
4075 * target.c (target_xfer_partial): Return zero if LEN is zero.
4077 2014-02-07 Yao Qi <yao@codesourcery.com>
4079 * auxv.c (procfs_xfer_auxv): Replace -1 with TARGET_XFER_E_IO.
4080 (ld_so_xfer_auxv): Likewise.
4081 * bfd-target.c (target_bfd_xfer_partial): Likewise.
4082 * bsd-kvm.c (bsd_kvm_xfer_partial): Likewise.
4083 * corelow.c (core_xfer_partial): Likewise.
4084 * ctf.c (ctf_xfer_partial): Likewise.
4085 * darwin-nat.c (darwin_read_dyld_info): Likewise.
4086 (darwin_xfer_partial): Likewise.
4087 * exec.c (exec_xfer_partial): Likewise.
4088 * gnu-nat.c (gnu_xfer_partial): Likewise.
4089 * ia64-hpux-nat.c (ia64_hpux_xfer_uregs): Likewise.
4090 * inf-ptrace.c (inf_ptrace_xfer_partial): Likewise.
4091 * inf-ttrace.c (inf_ttrace_xfer_partial): Likewise.
4092 * linux-nat.c (linux_xfer_siginfo): Likewise.
4093 (linux_proc_xfer_spu): Likewise.
4094 * procfs.c (procfs_xfer_partial): Likewise.
4095 * record-full.c (record_full_xfer_partial): Likewise.
4096 (record_full_core_xfer_partial): Likewise.
4097 * remote-sim.c (gdbsim_xfer_partial): Likewise.
4098 * remote.c (remote_write_qxfer): Likewise.
4099 (remote_write_qxfer, remote_read_qxfer): Likewise.
4100 (remote_xfer_partial): Likewise.
4101 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
4102 (rs6000_xfer_shared_libraries): Likewise.
4103 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
4104 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise.
4105 (spu_xfer_partial): Likewise.
4106 * target.c (memory_xfer_partial_1): Likewise.
4107 * tracepoint.c (tfile_xfer_partial): Likewise.
4108 * windows-nat.c (windows_xfer_shared_libraries): Likewise.
4109 (windows_xfer_partial): Likewise.
4111 2014-02-07 Yao Qi <yao@codesourcery.com>
4113 * gdbarch.sh (core_xfer_shared_libraries): Returns ULONGEST. Add
4115 (core_xfer_shared_libraries_aix): Likewise.
4116 * gdbarch.c, gdbarch.h: Regenerated.
4117 * i386-cygwin-tdep.c (windows_core_xfer_shared_libraries): Return
4118 ULONGEST. Change 'len_avail' type to ULONGEST.
4119 * rs6000-aix-tdep.c (rs6000_aix_ld_info_to_xml): Likewise.
4120 * rs6000-aix-tdep.h (rs6000_aix_ld_info_to_xml): Update
4122 (rs6000_aix_core_xfer_shared_libraries_aix): Return ULONGEST.
4124 2014-02-07 Yao Qi <yao@codesourcery.com>
4126 * corefile.c (memory_error): Get 'exception' from ERR and pass
4127 'exception' to throw_error.
4129 2014-02-06 Doug Evans <xdje42@gmail.com>
4131 * configure.ac (libpython checking): Remove all but python.o from
4132 CONFIG_OBS. Remove all but python.c from CONFIG_SRCS.
4133 * configure: Regenerate.
4135 * Makefile.in (SFILES): Add extension.c.
4136 (HFILES_NO_SRCDIR): Add extension.h, extension-priv.h
4137 (COMMON_OBS): Add extension.o.
4138 * extension.h: New file.
4139 * extension-priv.h: New file.
4140 * extension.c: New file.
4142 * python/python-internal.h: #include "extension.h".
4143 (gdbpy_auto_load_enabled): Declare.
4144 (gdbpy_apply_val_pretty_printer): Declare.
4145 (gdbpy_apply_frame_filter): Declare.
4146 (gdbpy_preserve_values): Declare.
4147 (gdbpy_breakpoint_cond_says_stop): Declare.
4148 (gdbpy_breakpoint_has_cond): Declare.
4149 (void source_python_script_for_objfile): Delete.
4150 * python/python.c: #include "extension-priv.h".
4151 Delete inclusion of "observer.h".
4152 (extension_language_python): Moved here and renamed from
4153 script_language_python in py-auto-load.c.
4154 Redefined to be of type extension_language_defn.
4155 (python_extension_script_ops): New global.
4156 (python_extension_ops): New global.
4157 (struct python_env): New member previous_active.
4158 (restore_python_env): Call restore_active_ext_lang.
4159 (ensure_python_env): Call set_active_ext_lang.
4160 (gdbpy_clear_quit_flag): Renamed from clear_quit_flag, made static.
4162 (gdbpy_set_quit_flag): Renamed from set_quit_flag, made static.
4164 (gdbpy_check_quit_flag): Renamed from check_quit_flag, made static.
4166 (gdbpy_eval_from_control_command): Renamed from
4167 eval_python_from_control_command, made static. New arg extlang.
4168 (gdbpy_source_script) Renamed from source_python_script, made static.
4170 (gdbpy_before_prompt_hook): Renamed from before_prompt_hook. Change
4171 result to int. New arg extlang.
4172 (gdbpy_source_objfile_script): Renamed from
4173 source_python_script_for_objfile, made static. New arg extlang.
4174 (gdbpy_start_type_printers): Renamed from start_type_printers, made
4175 static. New args extlang, extlang_printers. Change result type to
4177 (gdbpy_apply_type_printers): Renamed from apply_type_printers, made
4178 static. New arg extlang. Rename arg printers to extlang_printers
4179 and change type to ext_lang_type_printers *.
4180 (gdbpy_free_type_printers): Renamed from free_type_printers, made
4181 static. Replace argument arg with extlang, extlang_printers.
4182 (!HAVE_PYTHON, eval_python_from_control_command): Delete.
4183 (!HAVE_PYTHON, source_python_script): Delete.
4184 (!HAVE_PYTHON, gdbpy_should_stop): Delete.
4185 (!HAVE_PYTHON, gdbpy_breakpoint_has_py_cond): Delete.
4186 (!HAVE_PYTHON, start_type_printers): Delete.
4187 (!HAVE_PYTHON, apply_type_printers): Delete.
4188 (!HAVE_PYTHON, free_type_printers): Delete.
4189 (_initialize_python): Delete call to observer_attach_before_prompt.
4190 (finalize_python): Set/restore active extension language.
4191 (gdbpy_finish_initialization) Renamed from
4192 finish_python_initialization, made static. New arg extlang.
4193 (gdbpy_initialized): New function.
4194 * python/python.h: #include "extension.h". Delete #include
4195 "value.h", "mi/mi-cmds.h".
4196 (extension_language_python): Declare.
4197 (GDBPY_AUTO_FILE_NAME): Delete.
4198 (enum py_bt_status): Moved to extension.h and renamed to
4200 (enum frame_filter_flags): Moved to extension.h.
4201 (enum py_frame_args): Moved to extension.h and renamed to
4202 ext_lang_frame_args.
4203 (finish_python_initialization): Delete.
4204 (eval_python_from_control_command): Delete.
4205 (source_python_script): Delete.
4206 (apply_val_pretty_printer): Delete.
4207 (apply_frame_filter): Delete.
4208 (preserve_python_values): Delete.
4209 (gdbpy_script_language_defn): Delete.
4210 (gdbpy_should_stop, gdbpy_breakpoint_has_py_cond): Delete.
4211 (start_type_printers, apply_type_printers, free_type_printers): Delete.
4213 * auto-load.c: #include "extension.h".
4214 (GDB_AUTO_FILE_NAME): Delete.
4215 (auto_load_gdb_scripts_enabled): Make public. New arg extlang.
4216 (script_language_gdb): Delete, moved to extension.c and renamed to
4217 extension_language_gdb.
4218 (source_gdb_script_for_objfile): Delete.
4219 (auto_load_pspace_info): New member unsupported_script_warning_printed.
4220 (loaded_script): Change type of language member to
4221 struct extension_language_defn *.
4222 (init_loaded_scripts_info): Initialize
4223 unsupported_script_warning_printed.
4224 (maybe_add_script): Make static. Change type of language arg to
4225 struct extension_language_defn *.
4226 (clear_section_scripts): Reset unsupported_script_warning_printed.
4227 (auto_load_objfile_script_1): Rewrite to use extension language API.
4228 (auto_load_objfile_script): Make public. Remove support-compiled-in
4229 and auto-load-enabled checks, moved to auto_load_scripts_for_objfile.
4230 (source_section_scripts): Rewrite to use extension language API.
4231 (load_auto_scripts_for_objfile): Rewrite to use
4232 auto_load_scripts_for_objfile.
4233 (collect_matching_scripts_data): Change type of language member to
4234 struct extension_language_defn *.
4235 (auto_load_info_scripts): Change type of language arg to
4236 struct extension_language_defn *.
4237 (unsupported_script_warning_print): New function.
4238 (script_not_found_warning_print): Make static.
4239 (_initialize_auto_load): Rewrite construction of scripts-directory
4241 * auto-load.h (struct objfile): Add forward decl.
4242 (struct script_language): Delete.
4243 (struct auto_load_pspace_info): Add forward decl.
4244 (struct extension_language_defn): Add forward decl.
4245 (maybe_add_script): Delete.
4246 (auto_load_objfile_script): Declare.
4247 (script_not_found_warning_print): Delete.
4248 (auto_load_info_scripts): Update prototype.
4249 (auto_load_gdb_scripts_enabled): Declare.
4250 * python/py-auto-load.c (gdbpy_auto_load_enabled): Renamed from
4251 auto_load_python_scripts_enabled and made public.
4252 (script_language_python): Delete, moved to python.c.
4253 (gdbpy_script_language_defn): Delete.
4254 (info_auto_load_python_scripts): Update to use
4255 extension_language_python.
4257 * breakpoint.c (condition_command): Replace call to
4258 gdbpy_breakpoint_has_py_cond with call to get_breakpoint_cond_ext_lang.
4259 (bpstat_check_breakpoint_conditions): Replace call to gdbpy_should_stop
4260 with call to breakpoint_ext_lang_cond_says_stop.
4261 * python/py-breakpoint.c (gdbpy_breakpoint_cond_says_stop): Renamed
4262 from gdbpy_should_stop. Change result type to enum scr_bp_stop.
4263 New arg slang. Return SCR_BP_STOP_UNSET if py_bp_object is NULL.
4264 (gdbpy_breakpoint_has_cond): Renamed from gdbpy_breakpoint_has_py_cond.
4266 (local_setattro): Print name of extension language with existing
4269 * valprint.c (val_print, value_print): Update to call
4270 apply_ext_lang_val_pretty_printer.
4271 * cp-valprint.c (cp_print_value): Update call to
4272 apply_ext_lang_val_pretty_printer.
4273 * python/py-prettyprint.c: Remove #ifdef HAVE_PYTHON.
4274 (gdbpy_apply_val_pretty_printer): Renamed from
4275 apply_val_pretty_printer. New arg extlang.
4276 (!HAVE_PYTHON, apply_val_pretty_printer): Delete.
4278 * cli/cli-cmds.c (source_script_from_stream): Rewrite to use
4279 extension language API.
4280 * cli/cli-script.c (execute_control_command): Update to call
4281 eval_ext_lang_from_control_command.
4283 * mi/mi-cmd-stack.c (mi_cmd_stack_list_frames): Update to use
4284 enum ext_lang_bt_status values. Update call to
4285 apply_ext_lang_frame_filter.
4286 (mi_cmd_stack_list_locals): Ditto.
4287 (mi_cmd_stack_list_args): Ditto.
4288 (mi_cmd_stack_list_variables): Ditto.
4289 * mi/mi-main.c: Delete #include "python/python-internal.h".
4290 Add #include "extension.h".
4291 (mi_cmd_list_features): Replace reference to python internal variable
4292 gdb_python_initialized with call to ext_lang_initialized_p.
4294 * stack.c (backtrace_command_1): Update to use enum ext_lang_bt_status.
4295 Update to use enum ext_lang_frame_args. Update to call
4296 apply_ext_lang_frame_filter.
4297 * python/py-framefilter.c (extract_sym): Update to use enum
4299 (extract_value, py_print_type, py_print_value): Ditto.
4300 (py_print_single_arg, enumerate_args, enumerate_locals): Ditto.
4301 (py_mi_print_variables, py_print_locals, py_print_args): Ditto.
4302 (py_print_frame): Ditto.
4303 (gdbpy_apply_frame_filter): Renamed from apply_frame_filter.
4304 New arg extlang. Update to use enum ext_lang_bt_status.
4306 * top.c (gdb_init): Delete #ifdef HAVE_PYTHON call to
4307 finish_python_initialization. Replace with call to
4308 finish_ext_lang_initialization.
4310 * typeprint.c (do_free_global_table): Update to call
4311 free_ext_lang_type_printers.
4312 (create_global_typedef_table): Update to call
4313 start_ext_lang_type_printers.
4314 (find_global_typedef): Update to call apply_ext_lang_type_printers.
4315 * typeprint.h (struct ext_lang_type_printers): Add forward decl.
4316 (type_print_options): Change type of global_printers from "void *"
4317 to "struct ext_lang_type_printers *".
4319 * value.c (preserve_values): Update to call preserve_ext_lang_values.
4320 * python/py-value.c: Remove #ifdef HAVE_PYTHON.
4321 (gdbpy_preserve_values): Renamed from preserve_python_values.
4323 (!HAVE_PYTHON, preserve_python_values): Delete.
4325 * utils.c (quit_flag): Delete, moved to extension.c.
4326 (clear_quit_flag, set_quit_flag, check_quit_flag): Delete, moved to
4329 * eval.c: Delete #include "python/python.h".
4330 * main.c: Delete #include "python/python.h".
4332 * defs.h: Update comment.
4334 2014-02-06 Joel Brobecker <brobecker@adacore.com>
4338 2014-02-05 Mark Kettenis <kettenis@gnu.org>
4340 * c-exp.y (YYPRINT, c_print_token): Only define if YYBISON is
4343 2014-02-05 Yao Qi <yao@codesourcery.com>
4345 * remote.c (remote_pass_signals): Remove local 'buf' and use
4347 (remote_program_signals): Likewise.
4349 2014-02-05 Yao Qi <yao@codesourcery.com>
4351 * ctf.c: Include "inferior.h" and "gdbthread.h".
4352 (CTF_PID): A new macro.
4353 (ctf_open): Call inferior_appeared and add_thread_silent.
4354 (ctf_close): Call exit_inferior_silent and set inferior_ptid.
4355 (ctf_thread_alive): New function.
4356 (init_ctf_ops): Install ctf_thread_alive to to_thread_alive.
4358 2014-02-05 Yao Qi <yao@codesourcery.com>
4362 2013-05-24 Yao Qi <yao@codesourcery.com>
4364 * tracepoint.c (TFILE_PID): Remove.
4365 (tfile_open): Don't add thread and inferior.
4366 (tfile_close): Don't set 'inferior_ptid'. Don't call
4367 exit_inferior_silent.
4368 (tfile_thread_alive): Remove.
4369 (init_tfile_ops): Don't set field 'to_thread_alive' of
4372 2014-02-04 Christian Eggers <ceggers@gmx.de> (tiny change)
4374 * remote.c (remote_start_remote): Call remote_check_symbols even
4375 if only symbol-file (not file) has been given.
4377 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
4379 * gdbarch.sh (skip_entrypoint): New callback.
4380 * gdbarch.c, gdbarch.h: Regenerate.
4381 * symtab.c (skip_prologue_sal): Call gdbarch_skip_entrypoint.
4382 * infrun.c (fill_in_stop_func): Likewise.
4383 * ppc-linux-tdep.c: Include "elf/ppc64.h".
4384 (ppc_elfv2_elf_make_msymbol_special): New function.
4385 (ppc_elfv2_skip_entrypoint): Likewise.
4386 (ppc_linux_init_abi): Install them for ELFv2.
4388 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
4390 * ppc-sysv-tdep.c (ppc64_aggregate_candidate): New routine.
4391 (ppc64_elfv2_abi_homogeneous_aggregate): Likewise.
4392 (ppc64_sysv_abi_push_param): Handle ELFv2 homogeneous structs.
4393 (ppc64_sysv_abi_return_value): Likewise. Also, handle small
4394 structures returned in GPRs.
4396 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
4398 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_dummy_call): Use correct
4399 offset to the stack parameter list for the ELFv2 ABI.
4401 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
4403 * ppc-linux-tdep.c (ppc_linux_init_abi): Only call
4404 set_gdbarch_convert_from_func_ptr_addr and
4405 set_gdbarch_elf_make_msymbol_special for ELFv1.
4406 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_param): Only handle
4407 function descriptors on ELFv1.
4408 (ppc64_sysv_abi_push_dummy_call): Likewise. On ELFv2,
4409 set up r12 at function entry.
4411 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
4413 * ppc-tdep.h (enum powerpc_elf_abi): New data type.
4414 (struct gdbarch_tdep): New member elf_abi.
4416 * rs6000-tdep.c: Include "elf/ppc64.h".
4417 (rs6000_gdbarch_init): Detect ELF ABI version.
4419 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
4421 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_freg): Use correct order
4422 within a register pair holding a DFP 128-bit value on little-endian.
4423 (ppc64_sysv_abi_return_value_base): Likewise.
4424 * rs6000-tdep.c (dfp_pseudo_register_read): Likewise.
4425 (dfp_pseudo_register_write): Likewise.
4427 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
4429 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_freg): Use correct
4430 offset on little-endian when passing _Decimal32.
4431 (ppc64_sysv_abi_return_value_base): Likewise for return values.
4433 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
4435 * rs6000-tdep.c (efpr_pseudo_register_read): Use correct offset
4436 of the overlapped FP register within the VSX register on little-
4438 (efpr_pseudo_register_write): Likewise.
4440 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
4442 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_val): Use correct
4443 offset on little-endian when passing small structures.
4445 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
4447 * ppc-sysv-tdep.c (get_decimal_float_return_value): Update comment.
4448 (struct ppc64_sysv_argpos): New data structure.
4449 (ppc64_sysv_abi_push_float): Remove.
4450 (ppc64_sysv_abi_push_val): New function.
4451 (ppc64_sysv_abi_push_integer): Likewise.
4452 (ppc64_sysv_abi_push_freg): Likewise.
4453 (ppc64_sysv_abi_push_vreg): Likewise.
4454 (ppc64_sysv_abi_push_param): Likewise.
4455 (ppc64_sysv_abi_push_dummy_call): Refactor to use those new routines.
4456 (ppc64_sysv_abi_return_value_base): New function.
4457 (ppc64_sysv_abi_return_value): Refactor to use it.
4459 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
4461 * NEWS: Document new target powerpc64le-*-linux*.
4463 2014-02-04 Mark Kettenis <kettenis@gnu.org>
4465 * sparc64obsd-tdep.c (sparc64obsd_gregset): New variable.
4466 (sparc64obsd_supply_gregset): Handle registers sets used in ELF
4468 (sparc64obsd_init_abi): Adjust minimum size of the general purpose
4469 register set used in ELF core dumps. Add floating-point register set.
4471 2014-02-03 Kevin Buettner <kevinb@redhat.com>
4473 * mn10300-tdep.c (mn10300_dwarf2_reg_to_regnum): Rewrite
4474 dwarf2_to_gdb[] table using symbolic constants. Adjust
4475 penultimate entry from number representing the PC register
4476 to symbolic constant representing the MDR register. Add
4477 constant for the PC register to the end of the table.
4479 2014-02-03 Mark Kettenis <kettenis@gnu.org>
4481 * bsd-kvm.c: Include <sys/param.h>
4483 2014-02-03 Mark Kettenis <kettenis@gnu.org>
4485 * sparc64nbsd-nat.c (sparc64nbsd_supply_fpregset): Fix prototype.
4487 2014-01-31 Joel Brobecker <brobecker@adacore.com>
4489 * ada-lang.h (clear_ada_sym_cache): Delete.
4491 2014-01-30 Ulrich Weigand <uweigand@de.ibm.com>
4493 * auxv.c (fprint_target_auxv): Handle AT_HWCAP2.
4495 2014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
4497 * sparc64-linux-tdep.c (sparc64_linux_step_trap): Get PC from
4498 the sigreturn register save area only if the syscall is
4501 2014-01-29 Joel Brobecker <brobecker@adacore.com>
4503 * valops.c (value_slice): Minor reformatting.
4505 2014-01-28 Ulrich Weigand <uweigand@de.ibm.com>
4507 * ppc64-tdep.c (ppc64_standard_linkage7): Fix typo.
4509 2014-01-28 Joel Brobecker <brobecker@adacore.com>
4511 * ada-lang.c (maint_set_ada_cmdlist, maint_show_ada_cmdlist):
4513 (maint_set_ada_cmd, maint_show_ada_cmd): New functions.
4514 (ada_ignore_descriptive_types_p): New static global.
4515 (find_parallel_type_by_descriptive_type): Return immediately
4516 if ada_ignore_descriptive_types_p is set.
4517 (_initialize_ada_language): Register new commands "maintenance
4518 set ada", "maintenance show ada", "maintenance set ada
4519 ignore-descriptive-types" and "maintenance show ada
4520 ignore-descriptive-types".
4521 * NEWS: Add entry for new "maint ada set/show
4522 ignore-descriptive-types" commands.
4524 2014-01-27 Markus Metzger <markus.t.metzger@intel.com>
4526 * record-btrace.c (record_btrace_close): Call btrace_teardown
4529 2014-01-27 Joel Brobecker <brobecker@adacore.com>
4531 * ada-lang.c: Remove "#ifdef UI_OUT" condition for including
4534 2014-01-27 Joel Brobecker <brobecker@adacore.com>
4536 * ada-typeprint (type_is_full_subrange_of_target_type):
4538 (print_range): Add parameter bounds_prefered_p. If not set,
4539 try printing range types using the name of their base type.
4540 (print_range_type): Add parameter bounds_prefered_p.
4541 Use it in call to print_range.
4542 (print_array_type, ada_print_type): Update calls to print_range
4543 and print_range_type.
4545 2014-01-27 Joel Brobecker <brobecker@adacore.com>
4547 * ada-typeprint.c (print_array_type, print_choices, print_range)
4548 (print_range_bound, print_dynamic_range_bound, print_range_type):
4551 2014-01-27 Joel Brobecker <brobecker@adacore.com>
4553 * ada-typeprint.c (print_range): Add missing empty line
4554 after local declaration.
4556 2014-01-27 Joel Brobecker <brobecker@adacore.com>
4558 * ada-valprint.c (print_optional_low_bound): Get index_type's
4559 target type for as long as it is a TYPE_CODE_RANGE.
4561 2014-01-27 Joel Brobecker <brobecker@adacore.com>
4563 * procfs.c (procfs_make_note_section): Remove assertion and
4566 2014-01-24 Yao Qi <yao@codesourcery.com>
4568 * remote.c (remote_read_bytes): Change type of len to ULONGEST.
4569 * corelow.c (get_core_siginfo): Likewise.
4571 2014-01-24 Yao Qi <yao@codesourcery.com>
4573 * remote.c (remote_write_bytes_aux): Change type of 'len' to
4574 ULONGEST. Don't check 'len' is negative.
4575 (remote_write_bytes): Change type of 'len' to ULONGEST.
4577 2014-01-23 Tom Tromey <tromey@redhat.com>
4580 * python/lib/gdb/FrameDecorator.py: (FrameVars.fetch_frame_args):
4581 Handle exception from frame.block.
4582 (FrameVars.fetch_frame_locals): Likewise.
4584 2014-01-23 Tom Tromey <tromey@redhat.com>
4587 * python/py-framefilter.c (py_print_frame): Don't call Py_DECREF
4588 on a NULL pointer. Move "goto error" to correct place.
4590 2014-01-23 Tom Tromey <tromey@redhat.com>
4593 * python/py-framefilter.c (apply_frame_filter): Call
4594 ensure_python_env after computing gdbarch.
4596 2014-01-23 Yao Qi <yao@codesourcery.com>
4598 * target.c (raw_memory_xfer_partial): Change argument type
4599 from void * to gdb_byte *.
4600 (memory_xfer_partial_1, memory_xfer_partial): Likewise.
4602 2014-01-22 Doug Evans <dje@google.com>
4604 New gdbserver option --debug-format=timestamp.
4607 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
4609 * syscalls/s390x-linux.xml: New file.
4610 * syscalls/s390-linux.xml: New file.
4611 * s390-linux-tdep.c (XML_SYSCALL_FILENAME_S390): New macro.
4612 (XML_SYSCALL_FILENAME_S390X): Likewise.
4613 (op_svc): New enum value for SVC opcode.
4614 (s390_sigtramp_frame_sniffer): Replace literal by 'op_svc'.
4615 (s390_linux_get_syscall_number): New function.
4616 (s390_gdbarch_init): Register '*get_syscall_number' and the
4617 syscall xml file name.
4618 * data-directory/Makefile.in (SYSCALLS_FILES): Add
4619 "s390-linux.xml" and "s390x-linux.xml".
4620 * NEWS: Announce new feature.
4622 2014-01-22 Baruch Siach <baruch@tkos.co.il>
4624 * xtensa-tdep.h (xtensa_elf_greg_t): Change type to uint32_t.
4626 2014-01-22 Pedro Alves <palves@redhat.com>
4628 * xtensa-config.c: Include defs.h.
4630 2014-01-22 Joel Brobecker <brobecker@adacore.com>
4632 * common/common-utils.h: Add "ARI:" comment beside __func__
4635 2014-01-22 Joel Brobecker <brobecker@adacore.com>
4637 * common/common-utils.h (FUNCTION_NAME): Expand the macro's
4638 documentation a bit.
4640 2014-01-21 Roland McGrath <mcgrathr@google.com>
4642 * configure.ac: Call AM_PROG_INSTALL_STRIP.
4643 * configure: Regenerate.
4644 * aclocal.m4: Regenerate.
4645 * Makefile.in (install_sh, INSTALL_STRIP_PROGRAM, STRIP):
4646 New substituted variables.
4647 (install-strip): New target.
4648 (INSTALL_SCRIPT): New substituted variable.
4649 (FLAGS_TO_PASS): Add it.
4650 (install-only): Use $(INSTALL_SCRIPT) rather than
4651 $(INSTALL_PROGRAM) for gcore.
4653 2014-01-20 Tom Tromey <tromey@redhat.com>
4655 * cli/cli-decode.h (struct cmd_list_element): Move all bitfields
4658 2014-01-20 Tom Tromey <tromey@redhat.com>
4660 * cli/cli-decode.c (add_cmd, deprecate_cmd, add_alias_cmd)
4661 (add_setshow_cmd_full, delete_cmd, lookup_cmd_1)
4662 (deprecated_cmd_warning, complete_on_cmdlist): Update.
4663 * cli/cli-decode.h (CMD_DEPRECATED, DEPRECATED_WARN_USER)
4664 (MALLOCED_REPLACEMENT, DOC_ALLOCATED): Remove.
4665 (struct cmd_list_element) <flags>: Remove.
4666 <cmd_deprecated, deprecated_warn_user, malloced_replacement,
4667 doc_allocated>: New fields.
4668 <hook_in, allow_unknown, abbrev_flag, type, var_type>: Now
4670 * maint.c (maintenance_do_deprecate): Update.
4671 * top.c (execute_command): Update.
4673 2014-01-20 Baruch Siach <baruch@tkos.co.il>
4675 * xtensa-linux-nat.c: Include asm/ptrace.h.
4677 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
4679 * Makefile.in (SFILES): Add d-support.c.
4680 (COMMON_OBS): Add d-support.o.
4681 * d-lang.h (d_parse_symbol): Add comment, now defined in
4683 * d-lang.c (parse_call_convention)
4684 (parse_attributes, parse_function_types)
4685 (parse_function_args, parse_type, parse_identifier)
4686 (call_convention_p, d_parse_symbol): Move functions to ...
4687 * d-support.c: ... New file.
4689 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
4691 * d-lang.h (d_parse_symbol): Add declaration.
4692 * d-lang.c (extract_identifiers)
4693 (extract_type_info): Remove functions.
4694 (parse_call_convention, parse_attributes)
4695 (parse_function_types, parse_function_args)
4696 (parse_type, parse_identifier, call_convention_p)
4697 (d_parse_symbol): New functions.
4698 (d_demangle): Use d_parse_symbol to demangle D symbols.
4700 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
4702 * d-lang.h (struct builtin_d_type): New data type.
4703 (builtin_d_type): Add declaration.
4704 * d-lang.c (d_language_arch_info, build_d_types)
4705 (builtin_d_type): New functions.
4706 (enum d_primitive_types): New data type.
4707 (d_language_defn): Change c_language_arch_info to
4708 d_language_arch_info.
4709 (d_type_data): New static variable.
4710 (_initialize_d_language): Initialize d_type_data.
4712 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
4714 * d-lang.h (d_main_name): Add declaration.
4715 * d-lang.c (d_main_name): New function.
4716 * symtab.c (find_main_name): Add call to d_main_name.
4718 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
4720 * d-lang.c (d_language_defn): Change macro_expansion_c to
4723 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
4725 * MAINTAINERS: Add myself as a write-after-approval maintainer.
4727 2014-01-17 Sergio Durigan Junior <sergiodj@redhat.com>
4729 * breakpoint.c (insert_bp_location): Add "volatile" keyword to "struct
4730 gdb_exception" declaration.
4731 * remote.c (getpkt_or_notif_sane): Likewise.
4733 2014-01-17 Doug Evans <dje@google.com>
4735 * common/gdb_vecs.c (delim_string_to_char_ptr_vec_append): New
4736 function, contents of dirnames_to_char_ptr_vec_append moved here.
4737 (delim_string_to_char_ptr_vec): New function.
4738 (dirnames_to_char_ptr_vec_append): Rewrite.
4739 * common/gdb_vecs.h (delim_string_to_char_ptr_vec): Declare.
4741 2014-01-17 Doug Evans <dje@google.com>
4743 * common/common-utils.h (FUNCTION_NAME): Renamed from ASSERT_FUNCTION,
4745 * common/gdb_assert.h (ASSERT_FUNCTION): ... from here.
4746 #include "common-utils.h".
4747 (gdb_assert, gdb_assert_fail, gdb_assert_not_reached): Update.
4748 * common/vec.h (VEC_ASSERT_PASS): Update.
4749 * darwin-nat.h: Replace #include of gdb_assert.h with common-utils.h.
4750 (MACH_CHECK_ERROR): Update.
4752 2014-01-17 Simon Marchi <simon.marchi@ericsson.com>
4754 * gdbarch.sh (gdbarch_address_class_name_to_type_flags): Add
4756 * gdbarch.h: Regenerate.
4758 2014-01-16 Tom Tromey <tromey@redhat.com>
4760 * value.c (struct value) <regnum>: Move earlier.
4762 2014-01-16 Tom Tromey <tromey@redhat.com>
4764 * remote.c (extended_remote_create_inferior): Rename from
4765 extended_remote_create_inferior_1. Add "ops" argument. Remove
4768 2014-01-16 Pedro Alves <palves@redhat.com>
4770 * s390-linux-tdep.c (s390_frame_unwind_cache): Swallow
4771 NOT_AVAILABLE_ERROR errors while parsing the prologue or reading
4774 2014-01-16 Doug Evans <dje@google.com>
4776 * dwarf2read.c (open_and_init_dwp_file): Fix typo in comment.
4778 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4780 * btrace.h (btrace_thread_flag): New.
4781 (struct btrace_thread_info) <flags>: New.
4782 * record-btrace.c (record_btrace_resume_thread)
4783 (record_btrace_find_thread_to_move, btrace_step_no_history)
4784 (btrace_step_stopped, record_btrace_start_replaying)
4785 (record_btrace_step_thread, record_btrace_decr_pc_after_break)
4786 (record_btrace_find_resume_thread): New.
4787 (record_btrace_resume, record_btrace_wait): Extend.
4788 (record_btrace_can_execute_reverse): New.
4789 (record_btrace_open): Fail in non-stop mode.
4790 (record_btrace_set_replay): Split into this, ...
4791 (record_btrace_stop_replaying): ... this, ...
4792 (record_btrace_clear_histories): ... and this.
4793 (init_record_btrace_ops): Init to_can_execute_reverse.
4794 * NEWS: Announce it.
4796 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4798 * target.h (struct target_ops) <to_decr_pc_after_break>: New.
4799 (forward_target_decr_pc_after_break)
4800 (target_decr_pc_after_break): New.
4801 * target.c (forward_target_decr_pc_after_break)
4802 (target_decr_pc_after_break): New.
4803 * aix-thread.c (aix_thread_wait): Call target_decr_pc_after_break
4804 instead of gdbarch_decr_pc_after_break.
4805 * darwin-nat.c (cancel_breakpoint): Call target_decr_pc_after_break
4806 instead of gdbarch_decr_pc_after_break.
4807 * infrun.c (adjust_pc_after_break): Call target_decr_pc_after_break
4808 instead of gdbarch_decr_pc_after_break.
4809 * linux-nat.c (cancel_breakpoint): Call target_decr_pc_after_break
4810 instead of gdbarch_decr_pc_after_break.
4811 * linux-thread-db.c (check_event): Call target_decr_pc_after_break
4812 instead of gdbarch_decr_pc_after_break.
4813 * record-full.c (record_full_wait_1): Call target_decr_pc_after_break
4814 instead of gdbarch_decr_pc_after_break.
4816 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4818 * btrace.c: Include regcache.h.
4819 (btrace_add_pc): New.
4820 (btrace_enable): Call btrace_add_pc.
4821 (btrace_is_empty): New.
4822 * btrace.h (btrace_is_empty): New.
4823 * record-btrace.c (require_btrace, record_btrace_info): Call
4826 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4828 * common/linux-btrace.c (perf_event_read_bts, linux_read_btrace):
4829 Support delta reads.
4830 (linux_disable_btrace): Change return type.
4831 * common/linux-btrace.h (linux_read_btrace): Change parameters
4832 and return type to allow error reporting. Update users.
4833 (linux_disable_btrace): Change return type. Update users.
4834 * common/btrace-common.h (btrace_read_type) <BTRACE_READ_DELTA>:
4836 (btrace_error): New.
4837 (btrace_block) <begin>: Comment on BEGIN == 0.
4838 * btrace.c (btrace_compute_ftrace): Start from the end of
4840 (btrace_stitch_trace, btrace_clear_history): New.
4841 (btrace_fetch): Read delta trace, return if replaying.
4842 (btrace_clear): Move clear history code to btrace_clear_history.
4843 (parse_xml_btrace): Throw an error if parsing failed.
4844 * target.h (struct target_ops) <to_read_btrace>: Change parameters
4845 and return type to allow error reporting.
4846 (target_read_btrace): Change parameters and return type to allow
4848 * target.c (target_read_btrace): Update.
4849 * remote.c (remote_read_btrace): Support delta reads. Pass
4851 * NEWS: Announce it.
4853 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4855 * record.h (record_btrace_frame_unwind)
4856 (record_btrace_tailcall_frame_unwind): New declarations.
4857 * dwarf2-frame: Include record.h
4858 (dwarf2_frame_cfa): Throw an error for btrace frames.
4859 * record-btrace.c: Include hashtab.h.
4860 (btrace_get_bfun_name): New.
4861 (btrace_call_history): Call btrace_get_bfun_name.
4862 (struct btrace_frame_cache): New.
4864 (bfcache_hash, bfcache_eq, bfcache_new): New.
4865 (btrace_get_frame_function): New.
4866 (record_btrace_frame_unwind_stop_reason): Allow unwinding.
4867 (record_btrace_frame_this_id): Compute own id.
4868 (record_btrace_frame_prev_register): Provide PC, throw_error
4869 for all other registers.
4870 (record_btrace_frame_sniffer): Detect btrace frames.
4871 (record_btrace_tailcall_frame_sniffer): New.
4872 (record_btrace_frame_dealloc_cache): New.
4873 (record_btrace_frame_unwind): Add new functions.
4874 (record_btrace_tailcall_frame_unwind): New.
4875 (_initialize_record_btrace): Allocate cache.
4876 * btrace.c (btrace_clear): Call reinit_frame_cache.
4877 * NEWS: Announce it.
4879 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4881 * record-btrace.c (record_btrace_set_replay)
4882 (record_btrace_goto_begin, record_btrace_goto_end)
4883 (record_btrace_goto): New.
4884 (init_record_btrace_ops): Initialize them.
4885 * NEWS: Announce it.
4887 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4889 * record-btrace.c (record_btrace_find_new_threads)
4890 (record_btrace_thread_alive): New.
4891 (init_record_btrace_ops): Initialize to_find_new_threads and
4894 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4896 * record-btrace.c (record_btrace_resume): New.
4897 (record_btrace_wait): New.
4898 (init_record_btrace_ops): Initialize to_wait and to_resume.
4900 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4902 * record-btrace.c (record_btrace_xfer_partial)
4903 (record_btrace_insert_breakpoint, record_btrace_remove_breakpoint)
4904 (record_btrace_allow_memory_access): New.
4905 (init_record_btrace_ops): Initialize new methods.
4906 * target.c (raw_memory_xfer_partial): Bail out if target reports
4907 that this memory is not available.
4909 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4911 * target.h (target_ops) <to_insert_breakpoint>
4912 <to_remove_breakpoint>: Add target_ops parameter.
4913 (forward_target_insert_breakpoint): New.
4914 (forward_target_remove_breakpoint): New.
4915 (memory_remove_breakpoint, memory_insert_breakpoint):
4916 Add target_ops parameter.
4917 * target.c (target_insert_breakpoint): Split into this and ...
4918 (forward_target_insert_breakpoint): ... this.
4919 (target_remove_breakpoint): Split into this and ...
4920 (forward_target_remove_breakpoint): ... this.
4921 (debug_to_insert_breakpoint): Add target_ops parameter.
4922 Call forward_target_insert_breakpoint.
4923 (debug_to_remove_breakpoint): Add target_ops parameter.
4924 Call forward_target_remove_breakpoint.
4925 (update_current_target): Do not inherit or default to_insert_breakpoint
4926 and to_remove_breakpoint.
4927 * corelow.c (ignore): Add target_ops parameter.
4928 * exec.c (ignore): Add target_ops parameter.
4929 * mem-break.c (memory_insert_breakpoint, memory_remove_breakpoint):
4930 Add target_ops parameter.
4931 * monitor.c (monitor_insert_breakpoint, monitor_remove_breakpoint):
4932 Add target_ops parameter.
4933 * nto-procfs.c (procfs_insert_breakpoint, procfs_remove_breakpoint):
4934 Add target_ops parameter.
4935 * record-full.c (record_full_beneath_to_insert_breakpoint)
4936 (record_full_beneath_to_remove_breakpoint, tmp_to_insert_breakpoint)
4937 (tmp_to_remove_breakpoint, record_full_insert_breakpoint)
4938 (record_full_remove_breakpoint, record_full_core_insert_breakpoint)
4939 (record_full_core_remove_breakpoint): Add target_ops parameter.
4941 (record_full_beneath_to_insert_breakpoint_ops)
4942 (record_full_beneath_to_remove_breakpoint_ops)
4943 (tmp_to_insert_breakpoint_ops, tmp_to_remove_breakpoint_ops): New.
4944 (record_full_open): Initialize tmp_to_insert_breakpoint_ops,
4945 tmp_to_remove_breakpoint_ops,
4946 record_full_beneath_to_insert_breakpoint_ops, and
4947 record_full_beneath_to_remove_breakpoint_ops.
4948 * remote-m32r-sdi.c (m32r_insert_breakpoint)
4949 (m32r_remove_breakpoint): Add target_ops parameter.
4950 * remote-mips.c (mips_insert_breakpoint, mips_remove_breakpoint):
4951 Add target_ops parameter.
4952 * remote.c (remote_insert_breakpoint, remote_remove_breakpoint):
4953 Add target_ops parameter.
4955 2014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
4956 Markus Metzger <markus.t.metzger@intel.com>
4958 * record-btrace.c: Include frame-unwind.h.
4959 (record_btrace_frame_unwind_stop_reason)
4960 (record_btrace_frame_this_id, record_btrace_frame_prev_register)
4961 (record_btrace_frame_sniffer, record_btrace_frame_unwind):
4963 (init_record_btrace_ops): Install it.
4965 2014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
4967 * frame.c (get_frame_unwind_stop_reason): Unconditionally call
4970 2014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
4972 * dwarf2-frame.c (dwarf2_frame_cfa): Move UNWIND_UNAVAILABLE check
4975 2014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
4977 * frame-unwind.c: Include target.h.
4978 (frame_unwind_try_unwinder): New function with code from ...
4979 (frame_unwind_find_by_frame): ... here. New variable
4980 unwinder_from_target, call also target_get_unwinder)
4981 (target_get_tailcall_unwinder, and frame_unwind_try_unwinder for it.
4982 * target.c (target_get_unwinder, target_get_tailcall_unwinder): New.
4983 * target.h (struct target_ops): New fields to_get_unwinder and
4984 to_get_tailcall_unwinder.
4985 (target_get_unwinder, target_get_tailcall_unwinder): New declarations.
4987 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4989 * record-btrace.c (record_btrace_fetch_registers)
4990 (record_btrace_store_registers)
4991 (record_btrace_to_prepare_to_store): New.
4992 (init_record_btrace_ops): Add the above.
4994 2014-01-16 Tom Tromey <tromey@redhat.com>
4996 * windows-nat.c (windows_prepare_to_store): Add 'self' argument.
4997 * target.h (struct target_ops) <to_prepare_to_store>: Add
4999 (target_prepare_to_store): Add argument.
5000 * target.c (debug_to_prepare_to_store): Add argument.
5001 (update_current_target): Update.
5002 * remote.c (remote_prepare_to_store): Add 'self' argument.
5003 * remote-sim.c (gdbsim_prepare_to_store): Add 'self' argument.
5004 * remote-mips.c (mips_prepare_to_store): Add 'self' argument.
5005 * remote-m32r-sdi.c (m32r_prepare_to_store): Add 'self' argument.
5006 * record-full.c (record_full_core_prepare_to_store): Add 'self'
5008 * ravenscar-thread.c (ravenscar_prepare_to_store): Add argument.
5009 * nto-procfs.c (procfs_prepare_to_store): Add 'self' argument.
5010 * monitor.c (monitor_prepare_to_store): Add 'self' argument.
5011 * inf-child.c (inf_child_prepare_to_store): Add 'self' argument.
5012 * go32-nat.c (go32_prepare_to_store): Add 'self' argument.
5014 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5016 * btrace.h (replay) <replay>: New.
5017 (btrace_is_replaying): New.
5018 * btrace.c (btrace_clear): Free replay iterator.
5019 (btrace_is_replaying): New.
5020 * record-btrace.c (record_btrace_is_replaying): New.
5021 (record_btrace_info): Print insn number if replaying.
5022 (record_btrace_insn_history): Start at replay position.
5023 (record_btrace_call_history): Start at replay position.
5024 (init_record_btrace_ops): Init to_record_is_replaying.
5026 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5028 * record-btrace.c (record_btrace_insn_history_range): Include
5030 (record_btrace_insn_history_from): Adjust range.
5031 (record_btrace_call_history_range): Include
5033 (record_btrace_call_history_from): Adjust range.
5034 * NEWS: Announce changes.
5036 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5038 * record.h (enum record_print_flag)
5039 <record_print_indent_calls>: New.
5040 * record.c (get_call_history_modifiers): Recognize /c modifier.
5041 (_initialize_record): Document /c modifier.
5042 * record-btrace.c (btrace_call_history): Add btinfo parameter.
5043 Reorder fields. Optionally indent the function name. Update
5045 * NEWS: Announce changes.
5047 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5049 * common/linux-btrace.c (linux_enable_btrace): Enlarge buffer.
5051 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5053 * btrace.c (ftrace_new_function): Start counting at one.
5054 * record-btrace.c (record_btrace_info): Adjust number of calls
5056 * NEWS: Announce it.
5058 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5060 * record-btrace.c (btrace_call_history_insn_range): Print
5061 insn range as [begin, end].
5063 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5065 * btrace.h (struct btrace_func_link): New.
5066 (enum btrace_function_flag): New.
5067 (struct btrace_inst): Rename to ...
5068 (struct btrace_insn): ...this. Update all users.
5069 (struct btrace_func) <ibegin, iend>: Remove.
5070 (struct btrace_func_link): New.
5071 (struct btrace_func): Rename to ...
5072 (struct btrace_function): ...this. Update all users.
5073 (struct btrace_function) <segment, flow, up, insn, insn_offset)
5074 (number, level, flags>: New.
5075 (struct btrace_insn_iterator): Rename to ...
5076 (struct btrace_insn_history): ...this.
5078 (struct btrace_insn_iterator, btrace_call_iterator): New.
5079 (struct btrace_target_info) <btrace, itrace, ftrace>: Remove.
5080 (struct btrace_target_info) <begin, end, level>
5081 <insn_history, call_history>: New.
5082 (btrace_insn_get, btrace_insn_number, btrace_insn_begin)
5083 (btrace_insn_end, btrace_insn_prev, btrace_insn_next)
5084 (btrace_insn_cmp, btrace_find_insn_by_number, btrace_call_get)
5085 (btrace_call_number, btrace_call_begin, btrace_call_end)
5086 (btrace_call_prev, btrace_call_next, btrace_call_cmp)
5087 (btrace_find_function_by_number, btrace_set_insn_history)
5088 (btrace_set_call_history): New.
5089 * btrace.c (btrace_init_insn_iterator)
5090 (btrace_init_func_iterator, compute_itrace): Remove.
5091 (ftrace_print_function_name, ftrace_print_filename)
5092 (ftrace_skip_file): Change
5094 (ftrace_init_func): Remove.
5095 (ftrace_debug): Use new btrace_function fields.
5096 (ftrace_function_switched): Also consider gaining and
5097 losing symbol information).
5098 (ftrace_print_insn_addr, ftrace_new_call, ftrace_new_return)
5099 (ftrace_new_switch, ftrace_find_caller, ftrace_new_function)
5100 (ftrace_update_caller, ftrace_fixup_caller, ftrace_new_tailcall):
5102 (ftrace_new_function): Move. Remove debug print.
5103 (ftrace_update_lines, ftrace_update_insns): New.
5104 (ftrace_update_function): Check for call, ret, and jump.
5105 (compute_ftrace): Renamed to ...
5106 (btrace_compute_ftrace): ...this. Rewritten to compute call
5108 (btrace_fetch, btrace_clear): Updated.
5109 (btrace_insn_get, btrace_insn_number, btrace_insn_begin)
5110 (btrace_insn_end, btrace_insn_prev, btrace_insn_next)
5111 (btrace_insn_cmp, btrace_find_insn_by_number, btrace_call_get)
5112 (btrace_call_number, btrace_call_begin, btrace_call_end)
5113 (btrace_call_prev, btrace_call_next, btrace_call_cmp)
5114 (btrace_find_function_by_number, btrace_set_insn_history)
5115 (btrace_set_call_history): New.
5116 * record-btrace.c (require_btrace): Use new btrace thread
5118 (record_btrace_info, btrace_insn_history)
5119 (record_btrace_insn_history, record_btrace_insn_history_range):
5120 Use new btrace thread info fields and new iterator.
5121 (btrace_func_history_src_line): Rename to ...
5122 (btrace_call_history_src_line): ...this. Use new btrace
5124 (btrace_func_history): Rename to ...
5125 (btrace_call_history): ...this. Use new btrace thread info
5126 fields and new iterator.
5127 (record_btrace_call_history, record_btrace_call_history_range):
5128 Use new btrace thread info fields and new iterator.
5130 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5132 * frame.h (frame_id_build_unavailable_stack_special): New.
5133 * frame.c (frame_id_build_unavailable_stack_special): New.
5135 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5137 * amd64-tdep.c (amd64_classify_insn_at, amd64_insn_is_call)
5138 (amd64_insn_is_ret, amd64_insn_is_jump, amd64_jmp_p): New.
5139 (amd64_init_abi): Add insn_is_call, insn_is_ret, and insn_is_jump
5141 * i386-tdep.c (i386_insn_is_call, i386_insn_is_ret)
5142 (i386_insn_is_jump, i386_jmp_p): New.
5143 (i386_gdbarch_init): Add insn_is_call, insn_is_ret, and
5144 insn_is_jump to gdbarch.
5145 * gdbarch.sh (insn_is_call, insn_is_ret, insn_is_jump): New.
5146 * gdbarch.h: Regenerated.
5147 * gdbarch.c: Regenerated.
5148 * arch-utils.h (default_insn_is_call, default_insn_is_ret)
5149 (default_insn_is_jump): New.
5150 * arch-utils.c (default_insn_is_call, default_insn_is_ret)
5151 (default_insn_is_jump): New.
5153 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5155 * common/btrace-common.h (btrace_read_type) <btrace_read_all>:
5157 (btrace_read_type) <BTRACE_READ_ALL>: ... this. Update users.
5158 (btrace_read_type) <btrace_read_new>: Change to ...
5159 (btrace_read_type) <BTRACE_READ_NEW>: ... this. Update users.
5161 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5163 * common/linux-btrace.c (linux_read_btrace): Free trace from
5166 2014-01-15 Doug Evans <dje@google.com>
5168 * dwarf2read.c (open_and_init_dwp_file): Use pulongest to print
5171 2014-01-15 Tom Tromey <tromey@redhat.com>
5173 * dbxread.c (process_one_symbol): Use set_objfile_main_name.
5174 * dwarf2read.c (read_partial_die): Use set_objfile_main_name.
5175 * objfiles.c (get_objfile_bfd_data): Initialize language_of_main.
5176 (set_objfile_main_name): New function.
5177 * objfiles.h (struct objfile_per_bfd_storage) <name_of_main,
5178 language_of_main>: New fields.
5179 (set_objfile_main_name): Declare.
5180 * symtab.c (find_main_name): Loop over objfiles to find the main
5182 (set_main_name): Now static.
5183 (get_main_info): Add comment.
5184 * symtab.h (set_main_name): Don't declare.
5186 2014-01-15 Tom Tromey <tromey@redhat.com>
5188 * symtab.c (main_progspace_key): New global.
5189 (struct main_info): New.
5190 (name_of_main, language_of_main): Remove.
5191 (get_main_info, main_info_cleanup): New function.
5192 (set_main_name, main_name, main_language): Use get_main_info.
5193 (_initialize_symtab): Initialize main_progspace_key.
5195 2014-01-15 Tom Tromey <tromey@redhat.com>
5197 * dbxread.c (process_one_symbol): Update.
5198 * dwarf2read.c (read_partial_die): Update.
5199 * symfile.c (set_initial_language): Call main_language.
5200 * symtab.c (language_of_main): Now static.
5201 (set_main_name): Add 'lang' parameter.
5202 (find_main_name): Update.
5203 (main_language): New function.
5204 (symtab_observer_executable_changed): Update.
5205 * symtab.h (set_main_name): Update.
5206 (language_of_main): Remove.
5207 (main_language): Declare.
5209 2014-01-15 Tom Tromey <tromey@redhat.com>
5211 * symfile.c (init_entry_point_info): Use new "initialized" field.
5213 * objfiles.h (struct entry_point) <initialized>: New field.
5214 (struct objfile_per_bfd_storage) <ei>: New field, moved from...
5215 (struct objfile) <ei>: ...here. Remove.
5216 * objfiles.c (entry_point_address_query): Update.
5218 2014-01-15 Tom Tromey <tromey@redhat.com>
5220 * objfiles.c (entry_point_address_query): Relocate entry point
5222 (objfile_relocate1): Do not relocate entry point address.
5223 * objfiles.h (struct entry_info) <entry_point>: Update comment.
5224 <the_bfd_section_index>: New field.
5225 * symfile.c (init_entry_point_info): Find the entry point's
5228 2014-01-15 Tom Tromey <tromey@redhat.com>
5230 * solib-frv.c (enable_break): Use entry_point_address_query.
5232 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
5234 * NEWS: Add note on improved process record-replay on
5235 arm*-linux* targets.
5237 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
5239 * arm-tdep.c (enum arm_record_result): New enum.
5240 (arm_record_unsupported_insn): New function.
5241 (arm_record_coproc_data_proc): Removed.
5242 (thumb2_record_ld_st_multiple): New function.
5243 (thumb2_record_ld_st_dual_ex_tbb): New function.
5244 (thumb2_record_data_proc_sreg_mimm): New function.
5245 (thumb2_record_ps_dest_generic): New function.
5246 (thumb2_record_branch_misc_cntrl): New function.
5247 (thumb2_record_str_single_data): New function.
5248 (thumb2_record_ld_mem_hints): New function.
5249 (thumb2_record_ld_word): New function.
5250 (thumb2_record_lmul_lmla_div): New function.
5251 (thumb2_record_decode_insn_handler): New function.
5252 (decode_insn): Add thumb32 instruction handlers.
5254 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
5256 * arm-linux-tdep.c: Include "record-full.h" and "linux-record.h".
5257 (struct arm_linux_record_tdep): Declare.
5258 (arm_canonicalize_syscall): New function.
5259 (arm_all_but_pc_registers_record): New function.
5260 (arm_linux_syscall_record): New function.
5261 (arm_linux_init_abi): Add syscall recording constructs.
5262 * arm-tdep.c (thumb_record_ldm_stm_swi): Update thumb syscall
5263 decoding. (arm_record_coproc_data_proc): Update arm syscall
5265 * arm-tdep.h (struct gdbarch_tdep) <arm_swi_record>: Remove.
5266 <arm_syscall_record>: New field.
5267 * configure.tgt (arm*-*-linux*): Add linux-record.o to
5270 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
5272 * arm-tdep.c (thumb_record_misc): Update to use sp as base
5273 register for push instruction recording.
5275 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
5277 * arm-tdep.c (thumb_record_misc): Update to correct logical
5278 error while recording ldm, ldmia and pop instructions.
5280 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
5282 * arm-tdep.c (struct arm_mem_r) <addr>: Change type to uint32_t.
5284 2014-01-15 Pedro Alves <palves@redhat.com>
5286 * go32-nat.c (go32_open, go32_close, go32_attach, go32_detach)
5287 (go32_resume, go32_fetch_registers, store_register)
5288 (go32_store_registers, go32_prepare_to_store)
5289 (go32_xfer_memory, go32_files_info, go32_kill_inferior)
5290 (go32_create_inferior, go32_can_run, go32_terminal_init)
5291 (go32_terminal_inferior, go32_terminal_ours): Delete forward
5294 2014-01-15 Tom Tromey <tromey@redhat.com>
5296 * target.h (async_callback_ftype): New typedef.
5297 (struct target_ops) <to_async>: Use it.
5299 2014-01-15 Joel Brobecker <brobecker@adacore.com>
5301 * python/py-value.c (get_field_type): Remove unnecessary curly
5302 braces for single-statement if block.
5304 2014-01-15 Joel Brobecker <brobecker@adacore.com>
5306 * python/py-type.c (convert_field): Add missing empty line
5309 2014-01-14 Doug Evans <dje@google.com>
5311 * symfile.h (expand_symtabs_matching): Renamed from
5312 expand_partial_symbol_names. Update prototype.
5313 (map_symbol_filenames): Renamed from map_partial_symbol_filenames.
5314 * symfile.c (expand_symtabs_matching): Renamed from
5315 expand_partial_symbol_names. New args file_matcher, kind.
5316 Rename arg fun to symbol_matcher.
5317 (map_symbol_filenames): Renamed from map_partial_symbol_filenames.
5318 * ada-lang.c (ada_complete_symbol_matcher): Renamed from
5319 ada_expand_partial_symbol_name.
5320 (ada_make_symbol_completion_list): Update to call
5321 expand_symtabs_matching.
5322 (ada_add_global_exceptions): Call expand_symtabs_matching.
5323 * mi/mi-cmd-file.c (mi_cmd_file_list_exec_source_files): Update to
5324 call map_symbol_filenames.
5325 * symtab.c (sources_info): Update to call map_symbol_filenames.
5326 (search_symbols): Call expand_symtabs_matching.
5327 (symbol_completion_matcher): Renamed from expand_partial_symbol_name.
5328 (default_make_symbol_completion_list_break_on): Update to call
5329 expand_symtabs_matching.
5330 (make_source_files_completion_list): Update to call
5331 map_symbol_filenames.
5333 2014-01-14 Doug Evans <dje@google.com>
5335 * symfile.h (expand_symtabs_file_matcher_ftype): New typedef.
5336 (expand_symtabs_symbol_matcher_ftype): New typedef.
5337 (quick_symbol_functions.expand_symtabs_matching): Update to use.
5338 expand_symtabs_file_matcher_ftype, expand_symtabs_symbol_matcher_ftype.
5339 * symfile.c (expand_partial_symbol_names): Update to use
5340 expand_symtabs_symbol_matcher_ftype.
5341 * dwarf2read.c (dw2_expand_symtabs_matching): Update to use
5342 expand_symtabs_file_matcher_ftype, expand_symtabs_symbol_matcher_ftype.
5343 Arg name_matcher renamed to symbol_matcher.
5344 * psymtab.c (recursively_search_psymtabs): Update to use
5345 expand_symtabs_symbol_matcher_ftype. Arg name_matcher renamed to
5347 (expand_symtabs_matching_via_partial): Update to use
5348 expand_symtabs_file_matcher_ftype, expand_symtabs_symbol_matcher_ftype.
5349 Arg name_matcher renamed to symbol_matcher.
5351 2014-01-14 Doug Evans <dje@google.com>
5353 * psymtab.c (expand_partial_symbol_names): Delete, moved to symfile.c.
5354 (map_partial_symbol_filenames): Ditto.
5355 * psymtab.h (expand_partial_symbol_names): Delete, moved to symfile.h.
5356 (map_partial_symbol_filenames): Ditto.
5357 * symfile.c (expand_partial_symbol_names): Moved here from psymtab.c.
5358 (map_partial_symbol_filenames): Ditto.
5359 * symfile.h (expand_partial_symbol_names): Moved here from psymtab.h.
5360 (map_partial_symbol_filenames): Ditto.
5361 * symtab.c: Delete #include "psymtab.h".
5363 2014-01-14 Pedro Alves <palves@redhat.com>
5364 Tom Tromey <tromey@redhat.com>
5366 * infrun.c (use_displaced_stepping): Use find_record_target
5367 instead of RECORD_IS_USED.
5368 (adjust_pc_after_break): Use record_full_is_used instead of
5370 * record-btrace.c (record_btrace_open): Call record_preopen
5371 instead of checking RECORD_IS_USED.
5372 * record-full.c (record_full_shortname)
5373 (record_full_core_shortname): New globals.
5374 (record_full_is_used): New function.
5375 (find_full_open): Call record_preopen instead of checking
5377 (init_record_full_ops): Set the target's shortname to
5378 record_full_shortname.
5379 (init_record_full_core_ops): Set the target's shortname to
5380 record_full_core_shortname.
5381 * record-full.h (record_full_is_used): Declare.
5382 * record.c (find_record_target): Make extern.
5383 (record_preopen): New function.
5384 * record.h (RECORD_IS_USED): Delete macro.
5385 (find_record_target, record_preopen): Declare functions.
5387 2014-01-14 Yao Qi <yao@codesourcery.com>
5389 * gdbarch.sh (core_xfer_shared_libraries): Change its argument
5390 'len''s type to ULONGEST.
5391 (core_xfer_shared_libraries_aix): Likewise.
5392 * gdbarch.c, gdbarch.h: Regenerated.
5393 * i386-cygwin-tdep.c (windows_core_xfer_shared_libraries):
5394 Change type of 'len' to ULONGEST.
5395 * rs6000-aix-tdep.c (rs6000_aix_ld_info_to_xml): Likewise.
5396 (rs6000_aix_core_xfer_shared_libraries_aix): Likewise.
5398 2014-01-14 Yao Qi <yao@codesourcery.com>
5400 * common/linux-osdata.c (linux_xfer_osdata_processes): Change
5401 type of 'len' to ULONGEST.
5402 (linux_xfer_osdata_processgroups): Likewise.
5403 (linux_xfer_osdata_threads): Likewise.
5404 (linux_xfer_osdata_fds): Likewise.
5405 (linux_xfer_osdata_isockets): Likewise.
5406 (linux_xfer_osdata_shm): Likewise.
5407 (linux_xfer_osdata_sem): Likewise.
5408 (linux_xfer_osdata_msg): Likewise.
5409 (linux_common_xfer_osdata): Likewise.
5410 (struct osdata_type) <getter>: Likewise.
5411 * common/linux-osdata.h (linux_common_xfer_osdata): Update
5414 2014-01-14 Yao Qi <yao@codesourcery.com>
5416 * target.h (target_xfer_partial_ftype): Update.
5417 (struct target_ops) <to_xfer_partial>: Change 'len' type to
5419 * aix-thread.c (aix_thread_xfer_partial): Change type of
5420 argument 'len' to ULONGEST.
5421 * auxv.c (procfs_xfer_auxv): Likewise.
5422 (ld_so_xfer_auxv): Likewise.
5423 (memory_xfer_auxv): Likewise.
5424 * bfd-target.c (target_bfd_xfer_partial): Likewise.
5425 * bsd-kvm.c (bsd_kvm_xfer_partial): Likewise.
5426 * bsd-uthread.c (bsd_uthread_xfer_partial): Likewise.
5427 * corelow.c (core_xfer_partial): Likewise.
5428 * ctf.c (ctf_xfer_partial): Likewise.
5429 * darwin-nat.c (darwin_read_write_inferior): Likewise. Use
5431 (darwin_read_dyld_info): Likewise.
5432 (darwin_xfer_partial): Likewise.
5433 * exec.c (section_table_xfer_memory_partial): Likewise.
5434 (exec_xfer_partial): Likewise.
5435 * exec.h (section_table_xfer_memory_partial): Update
5437 * gnu-nat.c (gnu_xfer_memory): Likewise. Call pulongest
5438 instead of plongest.
5439 (gnu_xfer_partial): Likewise.
5440 * ia64-hpux-nat.c (ia64_hpux_xfer_memory): Likewise.
5441 (ia64_hpux_xfer_solib_got): Likewise.
5442 (ia64_hpux_xfer_partial): Likewise.
5443 * ia64-linux-nat.c (ia64_linux_xfer_partial):
5444 * inf-ptrace.c (inf_ptrace_xfer_partial):
5445 * inf-ttrace.c (inf_ttrace_xfer_partial):
5446 * linux-nat.c (linux_xfer_siginfo): Likewise.
5447 (linux_nat_xfer_partial): Likewise.
5448 (spu_enumerate_spu_ids, linux_proc_xfer_spu): Likewise.
5449 (linux_nat_xfer_osdata, linux_xfer_partial): Likewise.
5450 * monitor.c (monitor_xfer_memory): Likewise.
5451 (monitor_xfer_partial): Likewise.
5452 * procfs.c (procfs_xfer_partial): Likewise.
5453 * record-full.c (record_full_xfer_partial): Likewise.
5454 (record_full_core_xfer_partial): Likewise.
5455 * remote-sim.c (gdbsim_xfer_memory): Likewise. Call pulongest
5456 instead of plongest.
5457 (gdbsim_xfer_partial): Likewise.
5458 * remote.c (remote_xfer_partial): Likewise.
5459 * rs6000-aix-tdep.c (rs6000_aix_ld_info_to_xml): Likewise.
5460 * rs6000-aix-tdep.h (rs6000_aix_ld_info_to_xml): Update
5462 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
5463 (rs6000_xfer_shared_libraries): Likewise.
5464 * sol-thread.c (sol_thread_xfer_partial): Likewise.
5465 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
5466 (sparc_xfer_partial): Likewise.
5467 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise.
5468 (spu_xfer_partial): Likewise.
5469 * spu-multiarch.c (spu_xfer_partial): Likewise.
5470 * target.c (target_read_live_memory): Likewise.
5471 (memory_xfer_live_readonly_partial): Likewise.
5472 (memory_xfer_partial, memory_xfer_partial_1): Likewise.
5473 (target_xfer_partial, default_xfer_partial): Likewise.
5474 (current_xfer_partial): Likewise.
5475 * tracepoint.c (tfile_xfer_partial): Likewise.
5476 * windows-nat.c (windows_xfer_memory): Likewise. Call
5477 pulongest instead of plongest.
5478 (windows_xfer_partial): Likewise.
5479 (windows_xfer_shared_libraries): Likewise.
5481 2014-01-14 Yao Qi <yao@codesourcery.com>
5483 * rs6000-nat.c (rs6000_xfer_shared_libraries): Use
5484 target_xfer_partial_ftype.
5486 2014-01-13 Siva Chandra Reddy <sivachandra@google.com>
5490 * valops.c (value_struct_elt_bitpos): New function
5491 * py-type.c (convert_field): Set 'name' attribute of a gdb.Field
5492 object to 'None' if the field name is an empty string ("").
5493 * python/py-value.c (valpy_getitem): Use 'bitpos' and 'type'
5494 attribute to look for a field when 'name' is 'None'.
5495 (get_field_type): New function
5497 2014-01-13 Doug Evans <dje@google.com>
5500 * dwarf2read.c (dwarf2_get_dwz_file): Call gdb_bfd_record_inclusion.
5501 (try_open_dwop_file): Ditto.
5502 * gdb_bfd.c: #include "vec.h".
5503 (bfdp): New typedef.
5504 (struct gdb_bfd_data): New member included_bfds.
5505 (gdb_bfd_unref): Unref all included bfds.
5506 (gdb_bfd_record_inclusion): New function.
5507 * gdb_bfd.h (gdb_bfd_record_inclusion): Declare.
5509 2014-01-13 Tom Tromey <tromey@redhat.com>
5511 * gdbcore.h (deprecated_core_resize_section_table): Remove.
5513 2014-01-13 Tom Tromey <tromey@redhat.com>
5515 * defs.h (use_windows): Remove.
5516 * gdb.c (main): Update.
5517 * main.c (captured_main, gdb_main): Update.
5518 * main.h (struct captured_main_args) <use_windows>: Remove.
5519 * top.c (use_windows): Remove.
5521 2014-01-13 Tom Tromey <tromey@redhat.com>
5523 * defs.h (deprecated_flush_hook): Remove.
5525 2014-01-13 Jan Kratochvil <jan.kratochvil@redhat.com>
5528 * linux-thread-db.c (try_thread_db_load): Add parameter
5529 check_auto_load_safe. Move here the file_is_auto_load_safe call.
5530 (try_thread_db_load_from_pdir_1): Move it there from here.
5531 (try_thread_db_load_from_sdir): Update caller.
5532 (try_thread_db_load_from_dir): Move it there from here.
5534 2014-01-13 Patrick Palka <patrick@parcs.ath.cx>
5536 * regformats/regdat.sh: Always rewrite the register file.
5538 2014-01-13 Pedro Alves <palves@redhat.com>
5540 * Makefile.in (CHECK_HEADERS): New variable.
5541 (check-headers:): New rule.
5543 2014-01-13 Tom Tromey <tromey@redhat.com>
5545 * cli/cli-setshow.c (do_set_command): Update.
5546 * defs.h (deprecated_set_hook): Remove.
5547 * top.c (deprecated_set_hook): Remove.
5549 2014-01-13 Pedro Alves <palves@redhat.com>
5551 * tracepoint.c (tfile_fetch_registers): Don't infer the PC from
5552 the tracepoint if the PC is a pseudo-register.
5554 2014-01-13 Tom Tromey <tromey@redhat.com>
5556 * defs.h (XCALLOC): Remove.
5557 * bcache.c (bcache_xmalloc): Use XCNEW, not XCALLOC.
5558 (print_bcache_statistics): Use XCNEWVEC, not XCALLOC.
5559 * dwarf2loc.c (allocate_piece_closure): Likewise.
5560 * elfread.c (elf_symfile_segments): Likewise.
5561 (elf_symfile_segments): Likewise.
5562 * gdbtypes.c (copy_type_recursive): Likewise.
5563 * i386-tdep.c (i386_gdbarch_init): Use XCNEW, not XCALLOC.
5564 * jit.c (jit_frame_sniffer): Use XCNEWVEC, not XCALLOC.
5565 * minsyms.c (prim_record_minimal_symbol_full): Use XCNEW, not
5567 * mt-tdep.c (mt_gdbarch_init): Likewise.
5568 * opencl-lang.c (allocate_lval_closure): Use XCNEWVEC, not
5570 * psymtab.c (psymbol_compare): Use XCNEW, not XCALLOC.
5571 * regcache.c (regcache_xmalloc_1): Use XCNEWVEC, not XCALLOC.
5572 * registry.c (registry_alloc_data): Likewise.
5573 * rs6000-tdep.c (rs6000_gdbarch_init): Use XCNEW, not XCALLOC.
5574 * s390-linux-tdep.c (s390_gdbarch_init): Likewise.
5575 * serial.c (serial_fdopen_ops): Likewise.
5576 * solib-aix.c (solib_aix_get_section_offsets): Use XCNEWVEC, not
5578 * spu-tdep.c (spu_gdbarch_init): Use XCNEW, not XCALLOC.
5579 * symfile.c (default_symfile_segments): Use XCNEW and XCNEWVEC,
5582 2014-01-13 Tom Tromey <tromey@redhat.com>
5584 * defs.h (XMALLOC): Remove.
5585 * avr-tdep.c (avr_gdbarch_init): Use XNEW, not XMALLOC.
5586 * bfin-tdep.c (bfin_gdbarch_init): Likewise.
5587 * cli-out.c (struct ui_out *): Likewise.
5588 * cli/cli-dump.c (add_dump_command): Likewise.
5589 (add_dump_command): Likewise.
5590 * complaints.c (get_complaints): Likewise.
5591 (find_complaint): Likewise.
5592 * dwarf2-frame.c (execute_cfa_program): Likewise.
5593 * dwarf2read.c (abbrev_table_read_table): Likewise.
5594 * gdbarch.sh: Likewise.
5595 * gdbarch.c: Rebuild.
5596 * inf-ttrace.c (inf_ttrace_add_page): Likewise.
5597 * interps.c (interp_new): Likewise.
5598 * lm32-tdep.c (lm32_gdbarch_init): Likewise.
5599 * m32r-tdep.c (m32r_gdbarch_init): Likewise.
5600 * mi/mi-console.c (mi_console_file_new): Likewise.
5601 * mi/mi-interp.c (mi_interpreter_init): Likewise.
5602 * mi/mi-out.c (mi_out_new): Likewise.
5603 * mi/mi-parse.c (mi_parse): Likewise.
5604 * microblaze-tdep.c (microblaze_gdbarch_init): Likewise.
5605 * moxie-tdep.c (moxie_gdbarch_init): Likewise.
5606 * observer.c (xalloc_observer_list_node): Likewise.
5607 * regcache.c (regcache_xmalloc_1): Likewise.
5608 * reggroups.c (reggroup_new): Likewise.
5609 (_initialize_reggroup): Likewise.
5610 * registry.c (register_data_with_cleanup): Likewise.
5611 * remote.c (remote_notif_stop_alloc_reply): Likewise.
5612 * ser-base.c (serial_ttystate): Likewise.
5613 * ser-mingw.c (make_pipe_state): Likewise.
5614 * ser-pipe.c (pipe_open): Likewise.
5615 * serial.c (serial_open): Likewise.
5616 * sh64-tdep.c (sh64_gdbarch_init): Likewise.
5617 * tui/tui-data.c (tui_alloc_generic_win_info): Likewise.
5618 (tui_alloc_win_info): Likewise.
5619 (tui_add_content_elements): Likewise.
5620 * tui/tui-file.c (tui_file_new): Likewise.
5621 * tui/tui-out.c (tui_out_new): Likewise.
5622 * ui-file.c (mem_file_new): Likewise.
5623 * ui-out.c (push_level): Likewise.
5624 (make_cleanup_ui_out_end): Likewise.
5625 (append_header_to_list): Likewise.
5626 (ui_out_new): Likewise.
5627 * user-regs.c (user_reg_add_builtin): Likewise.
5629 2014-01-13 Tom Tromey <tromey@redhat.com>
5631 * defs.h (XZALLOC): Remove.
5632 * ada-lang.c (get_ada_inferior_data): Use XCNEW, not XZALLOC.
5633 * ada-tasks.c (get_ada_tasks_pspace_data): Likewise.
5634 (get_ada_tasks_inferior_data): Likewise.
5635 * auto-load.c (get_auto_load_pspace_data): Likewise.
5636 * auxv.c (get_auxv_inferior_data): Likewise.
5637 * bfd-target.c (target_bfd_reopen): Likewise.
5638 * breakpoint.c (get_catch_syscall_inferior_data): Likewise.
5639 (deprecated_insert_raw_breakpoint): Likewise.
5640 * bsd-uthread.c (bsd_uthread_pid_to_str): Likewise.
5641 * corelow.c (core_open): Likewise.
5642 * darwin-nat.c (darwin_check_new_threads): Likewise.
5643 (darwin_attach_pid): Likewise.
5644 * dummy-frame.c (dummy_frame_push): Likewise.
5645 * dwarf2-frame.c (dwarf2_frame_cache): Likewise.
5646 * dwarf2loc.c (allocate_piece_closure): Likewise.
5647 * elfread.c (elf_symfile_segments): Likewise.
5648 * eval.c (ptrmath_type_p): Likewise.
5649 * exceptions.c (EXCEPTIONS_SIGJMP_BUF): Likewise.
5650 * gdbtypes.c (alloc_type_arch): Likewise.
5651 (alloc_type_instance): Likewise.
5652 * hppa-tdep.c (hppa_gdbarch_init): Likewise.
5653 * inf-child.c (inf_child_can_use_agent): Likewise.
5654 * inflow.c (get_inflow_inferior_data): Likewise.
5655 * infrun.c (save_infcall_suspend_state): Likewise.
5656 * jit.c (jit_reader_load): Likewise.
5657 (get_jit_objfile_data): Likewise.
5658 (get_jit_program_space_data): Likewise.
5659 (jit_object_open_impl): Likewise.
5660 (jit_symtab_open_impl): Likewise.
5661 (jit_block_open_impl): Likewise.
5662 (jit_frame_sniffer): Likewise.
5663 * linux-fork.c (add_fork): Likewise.
5664 * maint.c (make_command_stats_cleanup): Likewise.
5665 * objfiles.c (get_objfile_pspace_data): Likewise.
5666 * opencl-lang.c (struct lval_closure): Likewise.
5667 * osdata.c (osdata_start_osdata): Likewise.
5668 * progspace.c (new_address_space): Likewise.
5669 (add_program_space): Likewise.
5670 * remote-sim.c (get_sim_inferior_data): Likewise.
5671 * sh-tdep.c (sh_gdbarch_init): Likewise.
5672 * skip.c (Ignore): Likewise.
5673 (skip_delete_command): Likewise.
5674 * solib-aix.c (get_solib_aix_inferior_data): Likewise.
5675 (library_list_start_library): Likewise.
5676 (solib_aix_current_sos): Likewise.
5677 * solib-darwin.c (get_darwin_info): Likewise.
5678 (darwin_current_sos): Likewise.
5679 * solib-dsbt.c (get_dsbt_info): Likewise.
5680 * solib-ia64-hpux.c (new_so_list): Likewise.
5681 (ia64_hpux_get_solib_linkage_addr): Likewise.
5682 * solib-spu.c (append_ocl_sos): Likewise.
5683 (spu_current_sos): Likewise.
5684 * solib-svr4.c (get_svr4_info): Likewise.
5685 (svr4_keep_data_in_core): Likewise.
5686 (library_list_start_library): Likewise.
5687 (svr4_default_sos): Likewise.
5688 (svr4_read_so_list): Likewise.
5689 * solib-target.c (library_list_start_library): Likewise.
5690 (solib_target_current_sos): Likewise.
5691 * sparc-tdep.c (sparc32_gdbarch_init): Likewise.
5692 * symfile-debug.c (install_symfile_debug_logging): Likewise.
5693 * symfile.c (default_symfile_segments): Likewise.
5694 * target-descriptions.c (tdesc_data_init): Likewise.
5695 (tdesc_create_reg): Likewise.
5696 (struct tdesc_type *): Likewise.
5697 (tdesc_create_vector): Likewise.
5698 (tdesc_set_struct_size): Likewise.
5699 (struct tdesc_type *): Likewise.
5700 (tdesc_free_feature): Likewise.
5701 (tdesc_create_feature): Likewise.
5702 * windows-nat.c (windows_add_thread): Likewise.
5703 (windows_make_so): Likewise.
5704 * xml-support.c (gdb_xml_body_text): Likewise.
5705 (gdb_xml_create_parser_and_cleanup): Likewise.
5706 (xml_process_xincludes): Likewise.
5707 * xml-syscall.c (allocate_syscalls_info): Likewise.
5708 (syscall_create_syscall_desc): Likewise.
5710 2014-01-12 Sergio Durigan Junior <sergiodj@redhat.com>
5712 * i386-tdep.c (i386_stap_parse_special_token_triplet): New
5713 function, with code from i386_stap_parse_special_token.
5714 (i386_stap_parse_special_token_three_arg_disp): Likewise.
5715 (i386_stap_parse_special_token): Move code to the two functions
5718 2014-01-09 Pedro Alves <palves@redhat.com>
5719 Hui Zhu <hui@codesourcery.com>
5722 * breakpoint.c (insert_bp_location): Rename hw_bp_err_string to
5723 bp_err_string. Don't mark the location shlib_disabled if the
5724 error thrown wasn't a generic or memory error. Catch errors
5725 thrown while inserting breakpoints in overlayed code. Output
5726 error message of software breakpoints.
5727 * remote.c (remote_insert_breakpoint): If this breakpoint has
5728 target-side commands but this stub doesn't support Z0 packets,
5729 throw NOT_SUPPORTED_ERROR error.
5730 * exceptions.h (enum errors) <NOT_SUPPORTED_ERROR>: New error.
5731 * target.h (target_insert_breakpoint): Extend comment.
5732 (target_insert_hw_breakpoint): Add comment.
5734 2014-01-08 Pedro Alves <palves@redhat.com>
5736 * remote.c (remote_add_thread): Add threads silently if starting
5738 (remote_notice_new_inferior): If in all-stop, and starting up,
5739 don't call notice_new_inferior.
5740 (get_current_thread): New function, factored out from ...
5741 (add_current_inferior_and_thread): ... this. Adjust.
5742 (remote_start_remote) <all-stop>: Fetch the thread list. If we
5743 found any thread, then select the remote's current thread as GDB's
5746 2014-01-08 Joel Brobecker <brobecker@adacore.com>
5748 * NEWS: Create a new section for the next release branch.
5749 Rename the section of the current branch, now that it has
5752 2014-01-08 Joel Brobecker <brobecker@adacore.com>
5754 GDB 7.7 branch created (79301218fa0f074c5656db0ec8972a5ddcf91fb5):
5755 * version.in: Bump version to 7.7.50.DATE-cvs.
5757 2014-01-08 Yao Qi <yao@codesourcery.com>
5759 * spu-linux-nat.c (spu_symbol_file_add_from_memory): Change
5760 type of 'id' to gdb_byte. Cast 'id' to 'const char *'.
5761 (spu_xfer_partial): Cast 'buf' to 'const char *'.
5763 2014-01-08 Yao Qi <yao@codesourcery.com>
5765 * spu-linux-nat.c (spu_symbol_file_add_from_memory): Pass
5766 return value of bfd_get_filename to symbol_file_add_from_bfd.
5768 2014-01-08 Pierre Muller <muller@sourceware.org>
5771 * coff-pe-read.c (struct read_pe_section_data): Add index field.
5772 (add_pe_exported_sym): Use SECTION_DATA->INDEX for call
5773 to prim_record_mininal_symbol_and_info.
5774 (add_pe_forwarded_sym): Use known section number of forwarded symbol
5775 in call to prim_record_minimal_symbol_and_info.
5776 (read_pe_exported_syms): Set index field of section_data.
5778 2014-01-07 Andrew Pinski <apinski@cavium.com>
5780 * features/aarch64-core.xml (cpsr): Change to be 64bit.
5781 * features/aarch64.c: Regenerate.
5783 2014-01-07 Andreas Schwab <schwab@linux-m68k.org>
5785 * target.c (return_null): Define.
5786 (update_current_target): Use it instead of return_zero for
5787 functions that return a pointer.
5789 2014-01-07 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
5791 * source.c (add_path): Fix check for duplicated paths in the previously
5794 2014-01-07 Honggyu Kim <hong.gyu.kim@lge.com>
5796 * ada-lang.c: Remove duplicated include statements.
5797 * alphabsd-nat.c: Ditto.
5798 * amd64-darwin-tdep.c: Ditto.
5799 * amd64fbsd-nat.c: Ditto.
5800 * auto-load.c: Ditto.
5802 * breakpoint.c: Ditto.
5804 * fork-child.c: Ditto.
5805 * gdb_usleep.c: Ditto.
5806 * i386-darwin-tdep.c: Ditto.
5807 * i386fbsd-nat.c: Ditto.
5809 * inferior.c: Ditto.
5811 * linux-nat.c: Ditto.
5812 * linux-tdep.c: Ditto.
5813 * m68kbsd-nat.c: Ditto.
5814 * m68klinux-nat.c: Ditto.
5815 * microblaze-tdep.c: Ditto.
5816 * mips-linux-tdep.c: Ditto.
5817 * mn10300-tdep.c: Ditto.
5818 * nto-tdep.c: Ditto.
5819 * opencl-lang.c: Ditto.
5821 * printcmd.c: Ditto.
5822 * regcache.c: Ditto.
5823 * remote-m32r-sdi.c: Ditto.
5827 * tilegx-linux-nat.c: Ditto.
5828 * tilegx-tdep.c: Ditto.
5829 * tracepoint.c: Ditto.
5831 * vaxbsd-nat.c: Ditto.
5832 * windows-nat.c: Ditto.
5833 * xtensa-tdep.c: Ditto.
5835 2014-01-07 Yao Qi <yao@codesourcery.com>
5837 * spu-linux-nat.c (_initialize_spu_nat): Declare.
5839 2014-01-07 Yao Qi <yao@codesourcery.com>
5840 Joel Brobecker <brobecker@adacore.com>
5842 * aix-thread.c (pdc_read_regs): Cast parameter to uintptr_t.
5843 (pdc_write_regs): Likewise.
5844 (fetch_regs_kernel_thread): Likewise.
5845 (store_regs_kernel_thread): Likewise.
5847 2014-01-07 Joel Brobecker <brobecker@adacore.com>
5849 * ada-varobj.c (ada_varobj_adjust_for_child_access): Convert
5850 tagged type objects to their actual type.
5852 2014-01-07 Joel Brobecker <brobecker@adacore.com>
5854 * ada-valprint.c (print_field_values): Add "language" parameter.
5855 Update calls to print_field_values and print_variant_part.
5856 Pass new parameter "language" in call to val_print instead
5857 of "current_language". Replace call to ada_val_print by call
5859 (print_variant_part): Add "language" parameter.
5860 (ada_val_print_struct_union): Update call to print_field_values.
5862 2014-01-07 Joel Brobecker <brobecker@adacore.com>
5864 * ada-valprint.c (ui_memcpy): Delete.
5865 (ada_print_floating): Update documentation. Add empty line
5866 between between function documentation and implementation.
5867 Delete variable "buffer". Use ui_file_xstrdup in place of
5868 ui_file_put. Minor adjustments following this change.
5870 2014-01-07 Joel Brobecker <brobecker@adacore.com>
5872 * ada-valprint.c (ada_val_print_string): New function,
5873 extracted from ada_val_print_array.
5874 (ada_val_print_array): Replace extracted code by call
5875 to ada_val_print_string followed by a return. Move
5876 "else" branch to the function's top block.
5878 2014-01-07 Joel Brobecker <brobecker@adacore.com>
5880 * ada-valprint.c (ada_val_print_array): Move implementation
5881 down. Rename parameter "offset" and "val" into "offset_aligned"
5882 and "original_value" respectively. Add parameter "offset".
5884 2014-01-07 Joel Brobecker <brobecker@adacore.com>
5886 * ada-valprint.c (ada_val_print_ref): Rewrite by mostly
5887 re-organizing the code. Change the "???" message printed
5888 when target type is a TYPE_CODE_UNDEF into
5889 "<ref to undefined type>".
5891 2014-01-07 Joel Brobecker <brobecker@adacore.com>
5893 * ada-valprint.c (print_record): Delete, implementation inlined...
5894 (ada_val_print_struct_union): ... here. Remove call to
5895 ada_check_typedef in inlined implementation.
5897 2014-01-07 Joel Brobecker <brobecker@adacore.com>
5899 * ada-valprint.c (ada_val_print_gnat_array): New function,
5900 extracted from ada_val_print_1;
5901 (ada_val_print_ptr, ada_val_print_num, ada_val_print_enum)
5902 (ada_val_print_flt, ada_val_print_struct_union)
5903 (ada_val_print_ref): Likewise.
5904 (ada_val_print_1): Delete variables i and elttype.
5905 Replace extracted-out code by call to corresponding
5908 2014-01-07 Joel Brobecker <brobecker@adacore.com>
5910 * ada-valprint.c (ada_val_print_1): Remove call to gdb_flush.
5912 2014-01-07 Joel Brobecker <brobecker@adacore.com>
5914 * ada-valprint.c (ada_val_print_1): Replace calls to
5915 ada_val_print_1 by calls to val_print.
5917 2014-01-07 Joel Brobecker <brobecker@adacore.com>
5919 * ada-valprint.c (ada_val_print_1): Add parameter "language".
5920 Update calls to self accordingly. Replace calls to c_val_print
5921 by calls to val_print.
5923 2014-01-07 Joel Brobecker <brobecker@adacore.com>
5925 * ada-valprint.c (print_record): Delete declaration.
5926 (adjust_type_signedness, ada_val_print_1): Likewise.
5927 (ada_val_print): Move function implementation down.
5928 (print_variant_part, print_field_values, print_record):
5929 Move function implementation up.
5931 2014-01-07 Joel Brobecker <brobecker@adacore.com>
5933 * python/py-type.c (typy_get_name): New function.
5934 (type_object_getset): Add entry for attribute "name".
5935 * NEWS: Add entry mentioning this new attribute.
5937 2014-01-07 Yao Qi <yao@codesourcery.com>
5939 * gnu-nat.c (set_exceptions_cmd): Remove an empty body 'if'
5942 2014-01-07 Yao Qi <yao@codesourcery.com>
5944 * gnu-nat.c (info_port_rights): Add qualifier const to
5947 2014-01-07 Yao Qi <yao@codesourcery.com>
5949 * gnu-nat.c (trace_me): Use 'void' for empty argument list.
5951 2014-01-07 Yao Qi <yao@codesourcery.com>
5953 * gnu-nat.c (make_inf) Update declaration.
5954 (make_inf): Make it static.
5955 (inf_set_traced): Likewise.
5956 (inf_port_to_thread, inf_task_died_status): Likewise.
5958 2014-01-07 Yao Qi <yao@codesourcery.com>
5960 * gnu-nat.c (inf_tid_to_proc): Remove declaration.
5962 2014-01-07 Yao Qi <yao@codesourcery.com>
5964 * gnu-nat.c (_initialize_gnu_nat): Declare.
5966 2014-01-07 Yao Qi <yao@codesourcery.com>
5968 * gdbarch.sh (byte_order, byte_order_for_code): Change type to
5970 (struct gdbarch_info) <byte_order>: Change type to
5972 <byte_order_for_code>: Likewise.
5973 * gdbarch.c, gdbarch.h: Regenerated.
5975 2014-01-06 Sasha Smundak <asmundak@google.com>
5977 * jit.c: (jit_reader_load_command): Fix JIT reader path creation.
5979 2014-01-06 Tom Tromey <tromey@redhat.com>
5981 * doublest.c (convert_doublest_to_floatformat): Use const, not
5983 * somread.c (som_symtab_read): Likewise.
5985 2014-01-07 Hui Zhu <hui@codesourcery.com>
5987 * gdb_bfd.c (gdb_bfd_stash_filename): Removed.
5988 (gdb_bfd_open): Removed gdb_bfd_stash_filename.
5989 (gdb_bfd_fopen): Ditto.
5990 (gdb_bfd_openr): Ditto.
5991 (gdb_bfd_openw): Ditto.
5992 (gdb_bfd_openr_iovec): Ditto.
5993 (gdb_bfd_fdopenr): Ditto.
5994 * gdb_bfd.h (gdb_bfd_stash_filename): Removed.
5995 * solib-aix.c (solib_aix_bfd_open): Alloc object_bfd->filename
5997 * solib-darwin.c (darwin_bfd_open): Alloc res->filename
5999 * symfile-mem.c (symbol_file_add_from_memory): Removed
6000 gdb_bfd_stash_filename.
6002 2014-01-03 Doug Evans <dje@google.com>
6004 * nat/linux-waitpid.c (linux_debug): Remove extraneous \n from
6007 2014-01-01 Joel Brobecker <brobecker@adacore.com>
6009 Update year range in copyright notice of all files.
6011 2014-01-01 Joel Brobecker <brobecker@adacore.com>
6013 * top.c (print_gdb_version): Set copyright year to 2014.
6015 2014-01-01 Joel Brobecker <brobecker@adacore.com>
6017 * config/djgpp/fnchange.lst: Add entry for gdb/ChangeLog-2013.
6019 For older changes see ChangeLog-2013.
6025 version-control: never