1 2014-03-06 Yao Qi <yao@codesourcery.com>
3 * cli/cli-utils.c (get_number_trailer): Add '\n' at the end of
6 2014-03-06 Yao Qi <yao@codesourcery.com>
9 * tracepoint.c (check_trace_running): New function.
10 (trace_find_command): Move code to check_trace_running and
11 call check_trace_running.
12 (trace_find_pc_command): Likewise.
13 (trace_find_tracepoint_command): Likewise.
14 (trace_find_line_command): Likewise.
15 (trace_find_range_command): Likewise.
16 * tracepoint.h (check_trace_running): Likewise.
17 * mi/mi-main.c (mi_cmd_trace_find): Call check_trace_running.
19 2014-03-06 Yao Qi <yao@codesourcery.com>
21 * target.h (struct target_ops) <to_traceframe_info>: Use
22 TARGET_DEFAULT_NORETURN (tcomplain ()).
23 * target-delegates.c: Regenerated.
25 2014-03-05 Pedro Alves <palves@redhat.com>
28 * dcache.c (dcache_poke_byte): Constify ptr parameter. Return
30 (dcache_xfer_memory): Delete.
31 (dcache_read_memory_partial): New, based on the read bits of
33 (dcache_update): Add status parameter. Use ULONGEST for len, and
34 adjust. Discard cache lines if the reason for the update was
36 * dcache.h (dcache_xfer_memory): Delete declaration.
37 (dcache_read_memory_partial): New declaration.
38 (dcache_update): Update prototype.
39 * target.c (raw_memory_xfer_partial): Update the dcache here.
40 (memory_xfer_partial_1): Don't handle dcache writes here.
42 2014-03-05 Mike Frysinger <vapier@gentoo.org>
44 * remote-sim.c (gdbsim_load): Add const to prog.
46 2014-03-03 Tom Tromey <tromey@redhat.com>
48 * elfread.c (probe_key): Change to bfd_data.
49 (elf_get_probes, probe_key_free, _initialize_elfread): Probes are
50 now per-BFD, not per-objfile.
51 * stap-probe.c (stap_probe_destroy): Update comment.
52 (handle_stap_probe): Allocate on the per-BFD obstack.
54 2014-03-03 Tom Tromey <tromey@redhat.com>
56 * break-catch-throw.c (fetch_probe_arguments): Use bound probes.
57 * breakpoint.c (create_longjmp_master_breakpoint): Use
59 (add_location_to_breakpoint, bkpt_probe_insert_location)
60 (bkpt_probe_remove_location): Update.
61 * breakpoint.h (struct bp_location) <probe>: Now a bound_probe.
62 * elfread.c (elf_symfile_relocate_probe): Remove.
63 (elf_probe_fns): Update.
64 (insert_exception_resume_breakpoint): Change type of "probe"
65 parameter to bound_probe.
66 (check_exception_resume): Update.
67 * objfiles.c (objfile_relocate1): Don't relocate probes.
68 * probe.c (bound_probe_s): New typedef.
69 (parse_probes): Use get_probe_address. Set sal's objfile.
70 (find_probe_by_pc): Return a bound_probe.
71 (collect_probes): Return a VEC(bound_probe_s).
72 (compare_probes): Update.
73 (gen_ui_out_table_header_info): Change type of "probes"
75 (info_probes_for_ops): Update.
76 (get_probe_address): New function.
77 (probe_safe_evaluate_at_pc): Update.
78 * probe.h (struct probe_ops) <get_probe_address>: New field.
79 <set_semaphore, clear_semaphore>: Add objfile parameter.
80 (struct probe) <objfile>: Remove field.
82 <address>: Update comment.
83 (struct bound_probe): New.
84 (find_probe_by_pc): Return a bound_probe.
85 (get_probe_address): Declare.
86 * solib-svr4.c (struct probe_and_action) <address>: New field.
87 (hash_probe_and_action, equal_probe_and_action): Update.
88 (register_solib_event_probe): Add address parameter.
89 (solib_event_probe_at): Update.
90 (svr4_create_probe_breakpoints): Add objfile parameter. Use
92 * stap-probe.c (struct stap_probe) <sem_addr>: Update comment.
93 (stap_get_probe_address): New function.
94 (stap_can_evaluate_probe_arguments, compute_probe_arg)
95 (compile_probe_arg): Update.
96 (stap_set_semaphore, stap_clear_semaphore): Compute semaphore's
98 (handle_stap_probe): Don't relocate the probe.
99 (stap_relocate): Remove.
100 (stap_gen_info_probes_table_values): Update.
101 (stap_probe_ops): Remove stap_relocate.
102 * symfile-debug.c (debug_sym_relocate_probe): Remove.
103 (debug_sym_probe_fns): Update.
104 * symfile.h (struct sym_probe_fns) <sym_relocate_probe>: Remove.
105 * symtab.c (init_sal): Use memset.
106 * symtab.h (struct symtab_and_line) <objfile>: New field.
107 * tracepoint.c (start_tracing, stop_tracing): Update.
109 2014-03-03 Tom Tromey <tromey@redhat.com>
111 * probe.h (parse_probes, find_probe_by_pc)
112 (find_probes_in_objfile): Fix comments.
114 2014-03-02 Doug Evans <xdje42@gmail.com>
116 * infrun.c (handle_signal_stop): Replace test for
117 TARGET_WAITKIND_STOPPED with an assert.
119 2014-03-02 Doug Evans <xdje42@gmail.com>
121 * guile/scm-objfile.c (ofscm_mark_objfile_smob): Fix typo in comment.
123 2014-03-02 Doug Evans <xdje42@gmail.com>
125 * guile/lib/gdb/printing.scm (append-pretty-printer!): Fix thinko.
127 2014-03-01 Mark Kettenis <kettenis@gnu.org>
129 * obsd-nat.c: Include "gdb_wait.h" instead of <sys/wait.h>.
131 2014-03-01 Mark Kettenis <kettenis@gnu.org>
133 * i386obsd-nat.c: Include "obsd-nat.h".
134 (_initialize_i386obsd_nat): Call obsd_add_target instead of
136 * config/i386/obsd.mh (NATDEPFILES): Add obsd-nat.o.
138 2014-03-01 Mark Kettenis <kettenis@gnu.org>
140 * i386obsd-nat.c (i386obsd_supply_pcb): Cast 'sf' to 'gdb_byte *'.
142 2014-03-01 Mark Kettenis <kettenis@gnu.org>
144 * mips64obsd-nat.c: Include "obsd-nath".
145 (_initialize_mips64obsd_nat): Call obsd_add_target instead of
147 * config/mips/obsd64.mh (NATDEPFILES): Add obsd-nat.o.
149 2014-03-01 Mark Kettenis <kettenis@gnu.org>
151 * amd64obsd-nat.c: Include "obsd-nat,h.
152 (_initialize_amd64obsd_nat): Call obsd_add_target instead of
154 * config/i386/obsd64.mh (NATDEPFILES): Add obsd-nat.o.
156 2014-02-28 Siva Chandra Reddy <sivachandra@google.com>
158 * valops.c (find_oload_champ): Remove unneccesary argument METHOD.
159 (find_overload_match): Update call to find_oload_champ.
160 (find_oload_champ_namespace_loop): Likewise
162 2014-02-28 Mark Kettenis <kettenis@gnu.org>
164 * Makefile.in (ALLDEPFILES): Add sparc64obsd-nat.c.
166 * configure.host (sparc64-*-openbsd*): Set gdb_host to obsd64.
167 * config/sparc/obsd64.mh: New file.
168 * sparc64obsd-nat.c: New file.
170 * obsd-nat.h: New file.
171 * obsd-nat.c: New file.
172 * Makefile.in (HFILES_NO_SRCDIR): Add obsd-nat.h.
173 (ALLDEPFILES): Add obsd-nat.c.
175 2014-02-28 Tom Tromey <tromey@redhat.com>
177 * cli-out.c (cli_ui_out_impl): Now const. Remove comment.
178 * cli-out.h (cli_ui_out_impl): Now const.
179 * mi/mi-out.c (mi_ui_out_impl): Now const. Remove comment.
180 * ui-out.c (struct ui_out) <impl>: Now const.
181 (default_ui_out_impl): Now const.
182 (ui_out_new): Make 'impl' parameter const.
183 * ui-out.h (ui_out_new): Update.
185 2014-02-27 Mark Kettenis <kettenis@gnu.org>
187 * solib-svr4.c (svr4_read_so_list): Initialize first_l_name to 0.
189 2014-02-27 Mark Kettenis <kettenis@gnu.org>
191 * sparc-nat.c (sparc_xfer_wcookie): Always use process ID.
193 2014-02-27 Jan Kratochvil <jan.kratochvil@redhat.com>
195 Additional PR 8882 fix.
196 * solib-svr4.c (svr4_read_so_list): Change first to first_l_name.
198 2014-02-27 Pedro Alves <palves@redhat.com>
200 * nat/linux-waitpid.c (my_waitpid): Only block signals if WNOHANG
203 2014-02-27 Pedro Alves <palves@redhat.com>
206 * linux-nat.c (status_to_str): Moved to nat/linux-waitpid.c.
207 * nat/linux-waitpid.c: Include string.h.
208 (status_to_str): Moved here and made extern.
209 * nat/linux-waitpid.h (status_to_str): New declaration.
211 2014-02-27 Hui Zhu <hui@codesourcery.com>
214 * infrun.c (ptid_match): Move ...
215 * common/ptid.c (ptid_match): ... here.
216 * inferior.h (ptid_match): Move ...
217 * common/ptid.h (ptid_match): ... here.
219 2014-02-27 Mark Kettenis <kettenis@gnu.org>
221 * mips64obsd-tdep.c (mips64obsd_init_abi): Call obsd_init_abi.
222 * configure.tgt (mips64*-*-openbsd*): Add obsd-tdep.c to
225 2014-02-27 Mark Kettenis <kettenis@gnu.org>
227 * obsd-tdep.c (obsd_auxv_parse): New function.
228 (obsd_init_abi): Set auxv_parse.
230 * gdbarch.sh (auxv_parse): New.
231 * gdbarch.h: Regenerated.
232 * gdbarch.c: Regenerated.
233 * auxv.c (target_auxv_parse): Call gdbarch_parse_auxv if provided.
235 2014-02-26 Ludovic Courtès <ludo@gnu.org>
237 * guile/scm-value.c (gdbscm_history_append_x): New function.
238 (value_functions): Add it.
240 2014-02-27 Joel Brobecker <brobecker@adacore.com>
242 * dwarf2read.c (attr_value_as_address): New function.
243 (dwarf2_find_base_address, read_call_site_scope): Use
244 attr_value_as_address in place of DW_ADDR.
245 (dwarf2_get_pc_bounds): Use attr_value_as_address to get
246 the low and high addresses. Slight rework of the handling
247 of the high pc being a constant form, and limit it to
248 DWARF verson 4 or higher.
249 (dwarf2_record_block_ranges): Likewise.
250 (read_partial_die): Likewise.
251 (new_symbol_full): Use attr_value_as_address in place of DW_ADDR.
253 2014-02-26 Tom Tromey <tromey@redhat.com>
255 * exec.c (exec_file_attach): Hold a reference to exec_bfd.
257 2014-02-26 Tom Tromey <tromey@redhat.com>
259 * elfread.c (elf_read_minimal_symbols): Return early if
260 minimal symbols have already been read. Add "ei" parameter.
261 (elf_symfile_read): Call elf_read_minimal_symbols earlier.
262 * minsyms.c (prim_record_minimal_symbol_full): Update.
263 * objfiles.h (struct objstats) <n_minsyms>: Move...
264 (struct objfile_per_bfd_storage) <n_minsyms>: ... here.
265 * symmisc.c (print_objfile_statistics): Update.
267 2014-02-26 Tom Tromey <tromey@redhat.com>
269 * elfread.c (elf_read_minimal_symbols): New function, from
271 (elf_symfile_read): Call it.
273 2014-02-26 Tom Tromey <tromey@redhat.com>
275 * minsyms.c (lookup_minimal_symbol, iterate_over_minimal_symbols)
276 (lookup_minimal_symbol_text, lookup_minimal_symbol_by_pc_name)
277 (lookup_minimal_symbol_solib_trampoline)
278 (lookup_minimal_symbol_by_pc_section_1)
279 (lookup_minimal_symbol_and_objfile): Update.
280 (prim_record_minimal_symbol_full): Use the per-BFD obstack.
281 Don't allocate a minimal symbol if minsyms have already been read.
282 (build_minimal_symbol_hash_tables): Update.
283 (install_minimal_symbols): Do nothing if minsyms already read.
284 Use the per-BFD obstack.
285 (terminate_minimal_symbol_table): Use the per-BFD obstack.
286 * objfiles.c (allocate_objfile): Call
287 terminate_minimal_symbol_table later.
288 (have_minimal_symbols): Update.
289 * objfiles.h (struct objfile_per_bfd_storage) <msymbols,
290 minimal_symbol_count, msymbol_hash, msymbol_demangled_hash>:
291 Move from struct objfile.
292 <minsyms_read>: New field.
293 (struct objfile) <msymbols, minimal_symbol_count,
294 msymbol_hash, msymbol_demangled_hash>: Move.
295 (ALL_OBJFILE_MSYMBOLS): Update.
296 * symfile.c (read_symbols): Set minsyms_read.
297 (reread_symbols): Update.
298 * symmisc.c (dump_objfile, dump_msymbols): Update.
300 2014-02-26 Tom Tromey <tromey@redhat.com>
302 * minsyms.c (msymbols_sort): Remove.
303 * minsyms.h (msymbols_sort): Remove.
304 * objfiles.c (objfile_relocate1): Don't relocate minsyms.
305 * symtab.h (MSYMBOL_VALUE_ADDRESS): Use objfile offsets.
306 * elfread.c (elf_symtab_read): Don't add section offsets.
307 * xcoffread.c (record_minimal_symbol): Don't add section offset
308 to minimal symbol address.
309 * somread.c (text_offset, data_offset): Remove.
310 (som_symtab_read): Don't add section offsets to minimal symbol
312 * coff-pe-read.c (add_pe_forwarded_sym, read_pe_exported_syms):
313 Don't add section offsets to minimal symbols.
314 * coffread.c (coff_symtab_read): Don't add section offsets
315 to minimal symbol addresses.
316 * machoread.c (macho_symtab_add_minsym): Don't add section offset
317 to minimal symbol addresses.
318 * mipsread.c (read_alphacoff_dynamic_symtab): Don't add
319 section offset to minimal symbol addresses.
320 * mdebugread.c (parse_partial_symbols): Don't add section
321 offset to minimal symbol addresses.
322 * dbxread.c (read_dbx_dynamic_symtab): Don't add section
323 offset to minimal symbol addresses.
325 2014-02-26 Tom Tromey <tromey@redhat.com>
327 * ada-lang.c (ada_main_name): Update.
328 (ada_add_standard_exceptions): Update.
329 * ada-tasks.c (ada_tasks_inferior_data_sniffer): Update.
330 * aix-thread.c (pdc_symbol_addrs, pd_enable): Update.
331 * arm-tdep.c (skip_prologue_function, arm_skip_stub): Update.
332 * auxv.c (ld_so_xfer_auxv): Update.
333 * avr-tdep.c (avr_scan_prologue): Update.
334 * ax-gdb.c (gen_var_ref): Update.
335 * blockframe.c (get_pc_function_start)
336 (find_pc_partial_function_gnu_ifunc): Update.
337 * breakpoint.c (create_overlay_event_breakpoint)
338 (create_longjmp_master_breakpoint)
339 (create_std_terminate_master_breakpoint)
340 (create_exception_master_breakpoint): Update.
341 * bsd-uthread.c (bsd_uthread_lookup_address): Update.
342 * c-valprint.c (c_val_print): Update.
343 * coff-pe-read.c (add_pe_forwarded_sym): Update.
344 * common/agent.c (agent_look_up_symbols): Update.
345 * dbxread.c (find_stab_function_addr, end_psymtab): Update.
346 * dwarf2loc.c (call_site_to_target_addr): Update.
347 * dwarf2read.c (dw2_find_pc_sect_symtab): Update.
348 * elfread.c (elf_gnu_ifunc_record_cache)
349 (elf_gnu_ifunc_resolve_by_got): Update.
350 * findvar.c (default_read_var_value): Update.
351 * frame.c (inside_main_func): Update.
352 * frv-tdep.c (frv_frame_this_id): Update.
353 * glibc-tdep.c (glibc_skip_solib_resolver): Update.
354 * gnu-v3-abi.c (gnuv3_get_typeid, gnuv3_skip_trampoline):
356 * hppa-hpux-tdep.c (hppa64_hpux_search_dummy_call_sequence)
357 (hppa_hpux_find_dummy_bpaddr): Update.
358 * hppa-tdep.c (hppa_symbol_address): Update.
359 * infcmd.c (until_next_command): Update.
360 * jit.c (jit_read_descriptor, jit_breakpoint_re_set_internal):
362 * linespec.c (minsym_found, add_minsym): Update.
363 * linux-nat.c (get_signo): Update.
364 * linux-thread-db.c (inferior_has_bug): Update.
365 * m32c-tdep.c (m32c_return_value)
366 (m32c_m16c_address_to_pointer): Update.
367 * m32r-tdep.c (m32r_frame_this_id): Update.
368 * m68hc11-tdep.c (m68hc11_get_register_info): Update.
369 * machoread.c (macho_resolve_oso_sym_with_minsym): Update.
370 * maint.c (maintenance_translate_address): Update.
371 * minsyms.c (lookup_minimal_symbol_by_pc_name): Update.
372 (frob_address): New function.
373 (lookup_minimal_symbol_by_pc_section_1): Use raw addresses,
374 frob_address. Rename parameter to "pc_in".
375 (compare_minimal_symbols, compact_minimal_symbols): Use raw
377 (find_solib_trampoline_target, minimal_symbol_upper_bound):
379 * mips-linux-tdep.c (mips_linux_skip_resolver): Update.
380 * mips-tdep.c (mips_skip_pic_trampoline_code): Update.
381 * objc-lang.c (find_objc_msgsend): Update.
382 * objfiles.c (objfile_relocate1): Update.
383 * obsd-tdep.c (obsd_skip_solib_resolver): Update.
384 * p-valprint.c (pascal_val_print): Update.
385 * parse.c (write_exp_msymbol): Update.
386 * ppc-linux-tdep.c (ppc_linux_spe_context_lookup)
387 (ppc_elfv2_skip_entrypoint): Update.
388 * ppc-sysv-tdep.c (convert_code_addr_to_desc_addr): Update.
389 * printcmd.c (build_address_symbolic, msym_info)
390 (address_info): Update.
391 * proc-service.c (ps_pglobal_lookup): Update.
392 * psymtab.c (find_pc_sect_psymtab_closer)
393 (find_pc_sect_psymtab, find_pc_sect_symtab_from_partial):
394 Change msymbol parameter to bound_minimal_symbol.
395 * ravenscar-thread.c (get_running_thread_id): Update.
396 * remote.c (remote_check_symbols): Update.
397 * sh64-tdep.c (sh64_elf_make_msymbol_special): Use raw
399 * sol2-tdep.c (sol2_skip_solib_resolver): Update.
400 * solib-dsbt.c (lm_base): Update.
401 * solib-frv.c (lm_base, main_got): Update.
402 * solib-irix.c (locate_base): Update.
403 * solib-som.c (som_solib_create_inferior_hook)
404 (link_map_start): Update.
405 * solib-spu.c (spu_enable_break, ocl_enable_break): Update.
406 * solib-svr4.c (elf_locate_base, enable_break): Update.
407 * spu-tdep.c (spu_get_overlay_table, spu_catch_start)
408 (flush_ea_cache): Update.
409 * stabsread.c (define_symbol, scan_file_globals): Update.
410 * stack.c (find_frame_funname): Update.
411 * symfile-debug.c (debug_qf_expand_symtabs_matching)
412 (debug_qf_find_pc_sect_symtab): Update.
413 * symfile.c (simple_read_overlay_table)
414 (simple_overlay_update): Update.
415 * symfile.h (struct quick_symbol_functions)
416 <find_pc_sect_symtab>: Change type of msymbol to
417 bound_minimal_symbol.
418 * symmisc.c (dump_msymbols): Update.
419 * symtab.c (find_pc_sect_symtab_via_partial)
420 (find_pc_sect_psymtab, find_pc_sect_line, skip_prologue_sal)
421 (search_symbols, print_msymbol_info): Update.
422 * symtab.h (MSYMBOL_VALUE_RAW_ADDRESS): New macro.
423 (MSYMBOL_VALUE_ADDRESS): Redefine.
424 (BMSYMBOL_VALUE_ADDRESS): New macro.
425 * tracepoint.c (scope_info): Update.
426 * tui/tui-disasm.c (tui_find_disassembly_address)
427 (tui_get_begin_asm_address): Update.
428 * valops.c (find_function_in_inferior): Update.
429 * value.c (value_static_field, value_fn_field): Update.
431 2014-02-26 Tom Tromey <tromey@redhat.com>
433 * ada-lang.c (ada_update_initial_language): Update.
434 (ada_main_name, ada_has_this_exception_support): Update.
435 * ada-tasks.c (ada_tasks_inferior_data_sniffer): Update.
436 * aix-thread.c (pdc_symbol_addrs, pd_enable): Update.
437 * arm-tdep.c (arm_skip_stub): Update.
438 * auxv.c (ld_so_xfer_auxv): Update.
439 * avr-tdep.c (avr_scan_prologue): Update.
440 * ax-gdb.c (gen_var_ref): Update.
441 * breakpoint.c (struct breakpoint_objfile_data)
442 <overlay_msym, longjmp_msym, terminate_msym, exception_msym>: Change
443 type to bound_minimal_symbol.
444 (create_overlay_event_breakpoint)
445 (create_longjmp_master_breakpoint)
446 (create_std_terminate_master_breakpoint)
447 (create_exception_master_breakpoint): Update.
448 * bsd-uthread.c (bsd_uthread_lookup_address): Update.
449 * c-exp.y (classify_name): Update.
450 * coffread.c (coff_symfile_read): Update.
451 * common/agent.c (agent_look_up_symbols): Update.
452 * d-lang.c (d_main_name): Update.
453 * dbxread.c (find_stab_function_addr, end_psymtab): Update.
454 * dec-thread.c (enable_dec_thread): Update.
455 * dwarf2loc.c (call_site_to_target_addr): Update.
456 * elfread.c (elf_gnu_ifunc_resolve_by_got): Update.
457 * eval.c (evaluate_subexp_standard): Update.
458 * findvar.c (struct minsym_lookup_data) <result>: Change type
459 to bound_minimal_symbol.
461 (minsym_lookup_iterator_cb, default_read_var_value): Update.
462 * frame.c (inside_main_func): Update.
463 * frv-tdep.c (frv_frame_this_id): Update.
464 * gcore.c (call_target_sbrk): Update.
465 * glibc-tdep.c (glibc_skip_solib_resolver): Update.
466 * gnu-v3-abi.c (gnuv3_get_typeid, gnuv3_skip_trampoline):
468 * go-lang.c (go_main_name): Update.
469 * hppa-hpux-tdep.c (hppa_hpux_skip_trampoline_code)
470 (hppa_hpux_find_import_stub_for_addr): Update.
471 * hppa-tdep.c (hppa_extract_17, hppa_lookup_stub_minimal_symbol):
472 Update. Change return type.
473 * hppa-tdep.h (hppa_lookup_stub_minimal_symbol): Change return
475 * jit.c (jit_breakpoint_re_set_internal): Update.
476 * linux-fork.c (inferior_call_waitpid, checkpoint_command):
478 * linux-nat.c (get_signo): Update.
479 * linux-thread-db.c (inferior_has_bug): Update
480 * m32c-tdep.c (m32c_return_value)
481 (m32c_m16c_address_to_pointer): Update.
482 * m32r-tdep.c (m32r_frame_this_id): Update.
483 * m68hc11-tdep.c (m68hc11_get_register_info): Update.
484 * machoread.c (macho_resolve_oso_sym_with_minsym): Update.
485 * minsyms.c (lookup_minimal_symbol_internal): Rename to
486 lookup_minimal_symbol. Change return type.
487 (lookup_minimal_symbol): Remove.
488 (lookup_bound_minimal_symbol): Update.
489 (lookup_minimal_symbol_text): Change return type.
490 (lookup_minimal_symbol_solib_trampoline): Change return type.
491 * minsyms.h (lookup_minimal_symbol, lookup_minimal_symbol_text)
492 (lookup_minimal_symbol_solib_trampoline): Change return type.
493 * mips-linux-tdep.c (mips_linux_skip_resolver): Update.
494 * objc-lang.c (lookup_objc_class, lookup_child_selector)
495 (value_nsstring, find_imps): Update.
496 * obsd-tdep.c (obsd_skip_solib_resolver): Update.
497 * p-lang.c (pascal_main_name): Update.
498 * ppc-linux-tdep.c (ppc_linux_spe_context_lookup): Update.
499 * ppc-sysv-tdep.c (convert_code_addr_to_desc_addr): Update.
500 * proc-service.c (ps_pglobal_lookup): Update.
501 * ravenscar-thread.c (get_running_thread_msymbol): Change
503 (has_ravenscar_runtime, get_running_thread_id): Update.
504 * remote.c (remote_check_symbols): Update.
505 * sol-thread.c (ps_pglobal_lookup): Update.
506 * sol2-tdep.c (sol2_skip_solib_resolver): Update.
507 * solib-dsbt.c (lm_base): Update.
508 * solib-frv.c (lm_base, frv_relocate_section_addresses):
510 * solib-irix.c (locate_base): Update.
511 * solib-som.c (som_solib_create_inferior_hook)
512 (som_solib_desire_dynamic_linker_symbols, link_map_start):
514 * solib-spu.c (spu_enable_break): Update.
515 * solib-svr4.c (elf_locate_base, enable_break): Update.
516 * spu-tdep.c (spu_get_overlay_table, spu_catch_start)
517 (flush_ea_cache): Update.
518 * stabsread.c (define_symbol): Update.
519 * symfile.c (simple_read_overlay_table): Update.
520 * symtab.c (find_pc_sect_line): Update.
521 * tracepoint.c (scope_info): Update.
522 * tui-disasm.c (tui_get_begin_asm_address): Update.
523 * value.c (value_static_field): Update.
525 2014-02-26 Tom Tromey <tromey@redhat.com>
527 * minsyms.c (prim_record_minimal_symbol_full): Use
528 SET_MSYMBOL_VALUE_ADDRESS.
529 * objfiles.c (objfile_relocate1): Use SET_MSYMBOL_VALUE_ADDRESS.
530 * sh64-tdep.c (sh64_elf_make_msymbol_special): Use
531 SET_MSYMBOL_VALUE_ADDRESS.
532 * symtab.h (MSYMBOL_VALUE_ADDRESS): Expand to an rvalue.
533 (SET_MSYMBOL_VALUE_ADDRESS): New macro.
535 2014-02-26 Tom Tromey <tromey@redhat.com>
537 * symtab.h (struct minimal_symbol) <mginfo>: Rename from ginfo.
538 (MSYMBOL_VALUE, MSYMBOL_VALUE_ADDRESS, MSYMBOL_VALUE_BYTES)
539 (MSYMBOL_BLOCK_VALUE, MSYMBOL_VALUE_CHAIN, MSYMBOL_LANGUAGE)
540 (MSYMBOL_SECTION, MSYMBOL_OBJ_SECTION, MSYMBOL_NATURAL_NAME)
541 (MSYMBOL_LINKAGE_NAME, MSYMBOL_PRINT_NAME, MSYMBOL_DEMANGLED_NAME)
542 (MSYMBOL_SET_LANGUAGE, MSYMBOL_SEARCH_NAME)
543 (MSYMBOL_MATCHES_SEARCH_NAME, MSYMBOL_SET_NAMES): New macros.
544 * ada-lang.c (ada_main_name): Update.
545 (ada_lookup_simple_minsym): Update.
546 (ada_make_symbol_completion_list): Update.
547 (ada_add_standard_exceptions): Update.
548 * ada-tasks.c (read_atcb, ada_tasks_inferior_data_sniffer): Update.
549 * aix-thread.c (pdc_symbol_addrs, pd_enable): Update.
550 * amd64-windows-tdep.c (amd64_skip_main_prologue): Update.
551 * arm-tdep.c (skip_prologue_function): Update.
552 (arm_skip_stack_protector, arm_skip_stub): Update.
553 * arm-wince-tdep.c (arm_pe_skip_trampoline_code): Update.
554 (arm_wince_skip_main_prologue): Update.
555 * auxv.c (ld_so_xfer_auxv): Update.
556 * avr-tdep.c (avr_scan_prologue): Update.
557 * ax-gdb.c (gen_var_ref): Update.
558 * block.c (call_site_for_pc): Update.
559 * blockframe.c (get_pc_function_start): Update.
560 (find_pc_partial_function_gnu_ifunc): Update.
561 * breakpoint.c (create_overlay_event_breakpoint): Update.
562 (create_longjmp_master_breakpoint): Update.
563 (create_std_terminate_master_breakpoint): Update.
564 (create_exception_master_breakpoint): Update.
565 (resolve_sal_pc): Update.
566 * bsd-uthread.c (bsd_uthread_lookup_address): Update.
567 * btrace.c (ftrace_print_function_name, ftrace_function_switched):
569 * c-valprint.c (c_val_print): Update.
570 * coff-pe-read.c (add_pe_forwarded_sym): Update.
571 * coffread.c (coff_symfile_read): Update.
572 * common/agent.c (agent_look_up_symbols): Update.
573 * dbxread.c (find_stab_function_addr): Update.
574 (end_psymtab): Update.
575 * dwarf2loc.c (call_site_to_target_addr): Update.
576 (func_verify_no_selftailcall): Update.
577 (tailcall_dump): Update.
578 (call_site_find_chain_1): Update.
579 (dwarf_expr_reg_to_entry_parameter): Update.
580 * elfread.c (elf_gnu_ifunc_record_cache): Update.
581 (elf_gnu_ifunc_resolve_by_got): Update.
582 * f-valprint.c (info_common_command): Update.
583 * findvar.c (read_var_value): Update.
584 * frame.c (get_prev_frame_1): Update.
585 (inside_main_func): Update.
586 * frv-tdep.c (frv_skip_main_prologue): Update.
587 (frv_frame_this_id): Update.
588 * glibc-tdep.c (glibc_skip_solib_resolver): Update.
589 * gnu-v2-abi.c (gnuv2_value_rtti_type): Update.
590 * gnu-v3-abi.c (gnuv3_rtti_type): Update.
591 (gnuv3_skip_trampoline): Update.
592 * hppa-hpux-tdep.c (hppa32_hpux_in_solib_call_trampoline): Update.
593 (hppa64_hpux_in_solib_call_trampoline): Update.
594 (hppa_hpux_skip_trampoline_code): Update.
595 (hppa64_hpux_search_dummy_call_sequence): Update.
596 (hppa_hpux_find_import_stub_for_addr): Update.
597 (hppa_hpux_find_dummy_bpaddr): Update.
598 * hppa-tdep.c (hppa_symbol_address)
599 (hppa_lookup_stub_minimal_symbol): Update.
600 * i386-tdep.c (i386_skip_main_prologue): Update.
601 (i386_pe_skip_trampoline_code): Update.
602 * ia64-tdep.c (ia64_convert_from_func_ptr_addr): Update.
603 * infcall.c (get_function_name): Update.
604 * infcmd.c (until_next_command): Update.
605 * jit.c (jit_breakpoint_re_set_internal): Update.
606 (jit_inferior_init): Update.
607 * linespec.c (minsym_found): Update.
608 (add_minsym): Update.
609 * linux-fork.c (info_checkpoints_command): Update.
610 * linux-nat.c (get_signo): Update.
611 * linux-thread-db.c (inferior_has_bug): Update.
612 * m32c-tdep.c (m32c_return_value): Update.
613 (m32c_m16c_address_to_pointer): Update.
614 (m32c_m16c_pointer_to_address): Update.
615 * m32r-tdep.c (m32r_frame_this_id): Update.
616 * m68hc11-tdep.c (m68hc11_get_register_info): Update.
617 * machoread.c (macho_resolve_oso_sym_with_minsym): Update.
618 * maint.c (maintenance_translate_address): Update.
619 * minsyms.c (add_minsym_to_hash_table): Update.
620 (add_minsym_to_demangled_hash_table): Update.
621 (msymbol_objfile): Update.
622 (lookup_minimal_symbol): Update.
623 (iterate_over_minimal_symbols): Update.
624 (lookup_minimal_symbol_text): Update.
625 (lookup_minimal_symbol_by_pc_name): Update.
626 (lookup_minimal_symbol_solib_trampoline): Update.
627 (lookup_minimal_symbol_by_pc_section_1): Update.
628 (lookup_minimal_symbol_and_objfile): Update.
629 (prim_record_minimal_symbol_full): Update.
630 (compare_minimal_symbols): Update.
631 (compact_minimal_symbols): Update.
632 (build_minimal_symbol_hash_tables): Update.
633 (install_minimal_symbols): Update.
634 (terminate_minimal_symbol_table): Update.
635 (find_solib_trampoline_target): Update.
636 (minimal_symbol_upper_bound): Update.
637 * mips-linux-tdep.c (mips_linux_skip_resolver): Update.
638 * mips-tdep.c (mips_stub_frame_sniffer): Update.
639 (mips_skip_pic_trampoline_code): Update.
640 * msp430-tdep.c (msp430_skip_trampoline_code): Update.
641 * objc-lang.c (selectors_info): Update.
642 (classes_info): Update.
643 (find_methods): Update.
645 (find_objc_msgsend): Update.
646 * objfiles.c (objfile_relocate1): Update.
647 * objfiles.h (ALL_OBJFILE_MSYMBOLS): Update.
648 * obsd-tdep.c (obsd_skip_solib_resolver): Update.
649 * p-valprint.c (pascal_val_print): Update.
650 * parse.c (write_exp_msymbol): Update.
651 * ppc-linux-tdep.c (powerpc_linux_in_dynsym_resolve_code)
652 (ppc_linux_spe_context_lookup, ppc_elfv2_skip_entrypoint): Update.
653 * ppc-sysv-tdep.c (convert_code_addr_to_desc_addr): Update.
654 * printcmd.c (build_address_symbolic): Update.
656 (address_info): Update.
657 * proc-service.c (ps_pglobal_lookup): Update.
658 * psymtab.c (find_pc_sect_psymtab_closer): Update.
659 (find_pc_sect_psymtab): Update.
660 * python/py-framefilter.c (py_print_frame): Update.
661 * ravenscar-thread.c (get_running_thread_id): Update.
662 * record-btrace.c (btrace_call_history, btrace_get_bfun_name):
664 * remote.c (remote_check_symbols): Update.
665 * rs6000-tdep.c (rs6000_skip_main_prologue): Update.
666 (rs6000_skip_trampoline_code): Update.
667 * sh64-tdep.c (sh64_elf_make_msymbol_special): Update.
668 * sol2-tdep.c (sol2_skip_solib_resolver): Update.
669 * solib-dsbt.c (lm_base): Update.
670 * solib-frv.c (lm_base): Update.
672 * solib-irix.c (locate_base): Update.
673 * solib-som.c (som_solib_create_inferior_hook): Update.
674 (som_solib_desire_dynamic_linker_symbols): Update.
675 (link_map_start): Update.
676 * solib-spu.c (spu_enable_break): Update.
677 (ocl_enable_break): Update.
678 * solib-svr4.c (elf_locate_base): Update.
679 (enable_break): Update.
680 * spu-tdep.c (spu_get_overlay_table): Update.
681 (spu_catch_start): Update.
682 (flush_ea_cache): Update.
683 * stabsread.c (define_symbol): Update.
684 (scan_file_globals): Update.
685 * stack.c (find_frame_funname): Update.
686 (frame_info): Update.
687 * symfile.c (simple_read_overlay_table): Update.
688 (simple_overlay_update): Update.
689 * symmisc.c (dump_msymbols): Update.
690 * symtab.c (fixup_section): Update.
691 (find_pc_sect_line): Update.
692 (skip_prologue_sal): Update.
693 (search_symbols): Update.
694 (print_msymbol_info): Update.
695 (rbreak_command): Update.
696 (MCOMPLETION_LIST_ADD_SYMBOL): New macro.
697 (completion_list_objc_symbol): Update.
698 (default_make_symbol_completion_list_break_on): Update.
699 * tracepoint.c (scope_info): Update.
700 * tui/tui-disasm.c (tui_find_disassembly_address): Update.
701 (tui_get_begin_asm_address): Update.
702 * valops.c (find_function_in_inferior): Update.
703 * value.c (value_static_field): Update.
704 (value_fn_field): Update.
706 2014-02-26 Tom Tromey <tromey@redhat.com>
708 * blockframe.c (find_pc_partial_function_gnu_ifunc): Use
709 bound minimal symbols. Move code that knows about minsym
711 * minsyms.c (minimal_symbol_upper_bound): ... here. New
713 * minsyms.h (minimal_symbol_upper_bound): Declare.
714 * objc-lang.c (find_objc_msgsend): Use bound minimal symbols,
715 minimal_symbol_upper_bound.
717 2014-02-27 Joel Brobecker <brobecker@adacore.com>
719 * python/lib/gdb/printing.py (RegexpCollectionPrettyPrinter):
720 Use the type's name if its basic type does not have a tag.
722 2014-02-27 Joel Brobecker <brobecker@adacore.com>
724 * dwarf2read.c (read_subrange_type): Add comment.
726 2014-02-27 Joel Brobecker <brobecker@adacore.com>
728 * dwarf2read.c (update_enumeration_type_from_children): New
729 function, mostly extracted from process_structure_scope.
730 (read_enumeration_type): Call update_enumeration_type_from_children.
731 (process_enumeration_scope): Do not set THIS_TYPE's flag_unsigned
732 and flag_flag_enum fields.
734 2014-02-26 Pedro Alves <palves@redhat.com>
736 * bsd-uthread.c (bsd_uthread_xfer_partial): Delete function.
737 (bsd_uthread_target): Don't install bsd_uthread_xfer_partial as
738 to_xfer_partial method.
740 2014-02-26 Pedro Alves <palves@redhat.com>
742 * target.c (complete_target_initialization): Don't install
743 default_xfer_partial as to_xfer_partial hook.
745 (update_current_target): Don't INHERIT nor de_fault
746 deprecated_xfer_memory. Delete de_fault macro.
747 (default_xfer_partial, deprecated_debug_xfer_memory): Delete.
748 (setup_target_debug): Don't install a deprecated_xfer_memory hook.
749 * target.h (struct target_ops) <deprecated_xfer_memory>: Delete
752 2014-02-26 Pedro Alves <palves@redhat.com>
754 * go32-nat.c (my_write_child): New function.
755 (go32_xfer_memory): Rewrite as to_xfer_partial helper.
756 (go32_xfer_partial): New function.
757 (init_go32_ops): Don't install a deprecated_xfer_memory hook.
758 Instead install a to_xfer_partial hook.
760 2014-02-26 Pedro Alves <palves@redhat.com>
762 * nto-procfs.c (procfs_xfer_memory): Adjust interface as a
763 to_xfer_partial helper. Rewrite.
764 (procfs_xfer_partial): New function.
765 (init_procfs_ops): Don't install a deprecated_xfer_memory hook.
766 Install a to_xfer_partial hook.
768 2014-02-26 Pedro Alves <palves@redhat.com>
770 * remote-m32r-sdi.c (send_data): Constify 'buf' parameter.
771 (m32r_xfer_memory): Adjust as a to_xfer_partial helper.
772 (m32r_xfer_partial): New function.
773 (init_m32r_ops): Don't install a deprecated_xfer_memory hook.
774 Install a to_xfer_partial hook.
776 2014-02-26 Pedro Alves <palves@redhat.com>
778 * remote-mips.c (mips_xfer_memory): Adjust as to_xfer_partial
780 (mips_xfer_partial): New function.
781 (_initialize_remote_mips): Don't install a deprecated_xfer_memory
782 hook. Install a to_xfer_partial hook.
784 2014-02-26 Joel Brobecker <brobecker@adacore.com>
786 * gdbtypes.h (create_array_type_with_stride): Add declaration.
787 * gdbtypes.c (create_array_type_with_stride): New function,
788 renaming create_array_type, but with an added parameter
790 (create_array_type): Re-implement using
791 create_array_type_with_stride.
792 * dwarf2read.c (read_array_type): Add support for DW_AT_byte_stride
793 and DW_AT_bit_stride attributes.
795 2014-02-26 Pedro Alves <palves@redhat.com>
797 * breakpoint.c (bpstat_check_breakpoint_conditions): Handle
798 task-specific breakpoints.
800 2014-02-25 Pedro Alves <palves@redhat.com>
802 * ia64-linux-nat.c (ia64_linux_xfer_partial): Reimplement
803 handling of object == TARGET_OBJECT_UNWIND_TABLE.
805 2014-02-25 Stan Shebs <stan@codesourcery.com>
807 * defs.h: Annotate comments for Doxygen.
809 2014-02-25 Tom Tromey <tromey@redhat.com>
811 * target.h (target_ignore): Don't declare.
812 * target.c (target_ignore): Remove.
814 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
817 * auto-load.c (auto_load_objfile_script_1): Change filename to
820 2014-02-25 Joel Brobecker <brobecker@adacore.com>
822 * ia64-linux-nat.c (ia64_linux_xfer_partial): Add function
823 documentation. Adjust prototype to match the target_ops
824 to_xfer_partial method. Adjust implementation accordingly.
826 2014-02-25 Hui Zhu <hui@codesourcery.com>
828 * target.h (target_ops): Fix TARGET_DEFAULT_RETURN of
831 2014-02-25 Kevin Buettner <kevinb@redhat.com>
833 * rl78-tdep.c (RL78_BANK0_RP0_PTR_REGNUM, RL78_BANK0_RP1_PTR_REGNUM)
834 (RL78_BANK0_RP2_PTR_REGNUM, RL78_BANK0_RP3_PTR_REGNUM)
835 (RL78_BANK1_RP0_PTR_REGNUM, RL78_BANK1_RP1_PTR_REGNUM)
836 (RL78_BANK1_RP2_PTR_REGNUM, RL78_BANK1_RP3_PTR_REGNUM)
837 (RL78_BANK2_RP0_PTR_REGNUM, RL78_BANK2_RP1_PTR_REGNUM)
838 (RL78_BANK2_RP2_PTR_REGNUM, RL78_BANK2_RP3_PTR_REGNUM)
839 (RL78_BANK3_RP0_PTR_REGNUM, RL78_BANK3_RP1_PTR_REGNUM)
840 (RL78_BANK3_RP2_PTR_REGNUM, RL78_BANK3_RP3_PTR_REGNUM):
842 (rl78_register_type): Use a data pointer type for SP and
843 new pseudo registers mentioned above. Use a 16 bit integer
844 type for all other register pairs.
845 (rl78_register_name, rl78_g10_register_name): Update for
846 new pseudo registers.
847 (rl78_pseudo_register_read): Likewise.
848 (rl78_pseudo_register_write): Likewise.
849 (rl78_dwarf_reg_to_regnum): Return register numbers representing
850 to the newly added pseudo registers.
852 2014-02-24 Doug Evans <dje@google.com>
854 * value.c (record_latest_value): Fix comment.
855 * printcmd.c (print_command_1): Remove code to handle -1 return from
858 2014-02-24 Pedro Alves <palves@redhat.com>
860 * procfs.c (procfs_target): Don't install procfs_xfer_memory as
861 deprecated_xfer_memory hook.
862 (procfs_xfer_partial): Call procfs_xfer_memory instead
863 of the deprecated_xfer_memory target hook.
864 (procfs_xfer_memory): Adjust interface as a to_xfer_partial
867 2014-02-24 Yuanhui Zhang <asmwarrior@gmail.com>
869 * windows-nat.c (windows_xfer_shared_libraries): Return
870 TARGET_XFER_EOF if LEN is zero to fix an assert failure when
871 requested object is TARGET_OBJECT_LIBRARIES.
873 2014-02-24 Yao Qi <yao@codesourcery.com>
875 * target.h (enum target_xfer_status)
876 <TARGET_XFER_E_UNAVAILABLE>: Rename it to ...
877 <TARGET_XFER_UNAVAILABLE>: ... it with setting value 2
879 * corefile.c (memory_error_message): User updated.
880 * exec.c (section_table_read_available_memory): Likewise.
881 * record-btrace.c (record_btrace_xfer_partial): Likewise.
882 * target.c (target_xfer_status_to_string): Likewise.
883 (raw_memory_xfer_partial): Likewise.
884 (memory_xfer_partial_1, target_xfer_partial): Likewise.
885 * valops.c (read_value_memory): Likewise.
886 * exec.h: Update comments.
888 2014-02-24 Yao Qi <yao@codesourcery.com>
890 * target.c (target_xfer_status_to_string): Rename argument err
892 * target.h (target_xfer_status_to_string): Update declaration.
893 Replace target_xfer_error_to_string with
894 target_xfer_status_to_string in comment.
896 2014-02-24 Yao Qi <yao@codesourcery.com>
898 * mips-linux-nat.c (super_close): Update its type.
899 (mips_linux_close): Pass 'self' to super_close.
901 2014-02-24 Yao Qi <yao@codesourcery.com>
903 * target.h (TARGET_XFER_STATUS_ERROR_P): Remove.
904 * corefile.c (read_memory): Adjusted.
905 * target.c (target_write_with_progress): Adjusted.
907 2014-02-23 Yao Qi <yao@codesourcery.com>
911 2013-10-25 Yao Qi <yao@codesourcery.com>
913 * remote.c (remote_traceframe_info): Return early if
914 traceframe is not selected.
916 2013-07-19 Yao Qi <yao@codesourcery.com>
918 * target.c (update_current_target): Change the default action
919 of 'to_traceframe_info' from tcomplain to return_zero.
920 * target.h (struct target_ops) <to_traceframe_info>: Add more
923 2014-02-23 Yao Qi <yao@codesourcery.com>
925 * valops.c (read_value_memory): Rewrite it. Call
926 target_xfer_partial in a loop.
927 * exec.h (section_table_available_memory): Remove declaration.
929 * exec.c (section_table_available_memory): ... here. Make it
932 2014-02-23 Yao Qi <yao@codesourcery.com>
934 * exec.c (section_table_read_available_memory): New function.
935 * exec.h (section_table_read_available_memory): Declare.
936 * ctf.c (ctf_xfer_partial): Call
937 section_table_read_available_memory.
938 * tracefile-tfile.c (tfile_xfer_partial): Likewise.
940 2014-02-23 Yao Qi <yao@codesourcery.com>
942 * ctf.c (ctf_xfer_partial): Move code to ...
943 * exec.c (exec_read_partial_read_only): ... it. New function.
944 * tracefile-tfile.c (tfile_xfer_partial): Likewise.
945 * tracefile.c: Include "exec.h".
946 * exec.h (exec_read_partial_read_only): Declare.
948 2014-02-23 Yao Qi <yao@codesourcery.com>
950 * tracefile-tfile.c (tfile_has_all_memory): Remove.
951 (tfile_has_memory): Remove.
952 (init_tfile_ops): Don't set fields to_has_all_memory and
953 to_has_memory of tfile_ops.
954 * tracefile.c (tracefile_has_all_memory): New function.
955 (tracefile_has_memory): New function.
956 (init_tracefile_ops): Initialize fields to_has_all_memory and
957 to_has_memory of 'ops'.
959 2014-02-23 Yao Qi <yao@codesourcery.com>
961 * ctf.c (ctf_has_stack, ctf_has_registers): Remove.
962 (ctf_thread_alive, ctf_get_trace_status): Remove.
963 (init_ctf_ops): Don't set some fields of ctf_ops. Call
965 * tracefile-tfile.c (tfile_get_trace_status): Remove.
966 (tfile_has_stack, tfile_has_registers): Remove.
967 (tfile_thread_alive): Remove.
968 (init_tfile_ops): Don't set some fields of tfile_ops. Call
970 * tracefile.c (tracefile_has_stack): New function.
971 (tracefile_has_registers): New function.
972 (tracefile_thread_alive): New function.
973 (tracefile_get_trace_status): New function.
974 (init_tracefile_ops): New function.
975 * tracefile.h (init_tracefile_ops): Declare.
977 2014-02-23 Yao Qi <yao@codesourcery.com>
979 * tracepoint.c (TFILE_PID): Move it to tracefile-tfile.c.
980 (O_LARGEFILE): Likewise.
981 (tfile_ops): Likewise.
982 (TRACE_HEADER_SIZE): Likewise.
983 (trace_fd, trace_frames_offset, cur_offset): Likewise.
984 (cur_data_size): Likewise.
985 (tfile_read, tfile_open, tfile_interp_line): Likewise.
986 (tfile_close, tfile_files_info): Likewise.
987 (tfile_get_trace_status): Likewise.
988 (tfile_get_tracepoint_status): Likewise.
989 (tfile_get_traceframe_address): Likewise.
990 (tfile_trace_find, match_blocktype): Likewise.
991 (traceframe_walk_blocks, traceframe_find_block_type): Likewise.
992 (tfile_fetch_registers, tfile_xfer_partial): Likewise.
993 (tfile_get_trace_state_variable_value): Likewise.
994 (tfile_has_all_memory, tfile_has_memory): Likewise.
995 (tfile_has_stack, tfile_has_registers): Likewise.
996 (tfile_thread_alive, build_traceframe_info): Likewise.
997 (tfile_traceframe_info, init_tfile_ops): Likewise.
998 (_initialize_tracepoint): Don't call init_tfile_ops
999 and add_target_with_completer.
1000 * tracefile-tfile.c: Include regcache.h, inferior.h, gdbthread.h,
1001 exec.h, completer.h and filenames.h.
1002 (_initialize_tracefile_tfile): New function.
1004 2014-02-23 Yao Qi <yao@codesourcery.com>
1006 * Makefile.in (REMOTE_OBS): Append tracefile.o and
1008 (HFILES_NO_SRCDIR): Add tracefile.h.
1009 * ctf.c: Include "tracefile.h".
1010 * tracefile.h: New file.
1011 * tracefile.c: New file
1012 * tracefile-tfile.c: New file.
1013 * tracepoint.c: Include "tracefile.h".
1014 (free_uploaded_tps, free_uploaded_tsvs): Remove declarations.
1015 (stop_reason_names): Add const.
1016 (trace_file_writer_xfree): Move it to tracefile.c.
1017 (trace_save, trace_save_command, trace_save_tfile): Likewise.
1018 (trace_save_ctf): Likewise.
1019 (struct tfile_trace_file_writer): Move it to tracefile-tfile.c.
1020 (tfile_target_save, tfile_dtor, tfile_start): Likewise.
1021 (tfile_write_header, tfile_write_regblock_type): Likewise.
1022 (tfile_write_status, tfile_write_uploaded_tsv): Likewise.
1023 (tfile_write_uploaded_tp, tfile_write_definition_end): Likewise.
1024 (tfile_write_raw_data, tfile_end): Likewise.
1025 (tfile_trace_file_writer_new): Likewise.
1026 (free_uploaded_tp): Make it extern.
1027 (free_uploaded_tsv): Make it extern.
1028 (_initialize_tracepoint): Move code to register command 'tsave'
1030 * tracepoint.h (stop_reason_names): Declare.
1031 (struct trace_frame_write_ops): Move it to tracefile.h.
1032 (struct trace_file_write_ops): Likewise.
1033 (struct trace_file_writer): Likewise.
1034 (free_uploaded_tsvs, free_uploaded_tps): Declare.
1036 2014-02-21 Jan Kratochvil <jan.kratochvil@redhat.com>
1039 * common/linux-osdata.c (linux_common_core_of_thread): Find the end of
1041 (get_cores_used_by_process): New parameter num_cores, use it.
1042 (linux_xfer_osdata_processes): Pass num_cores to it.
1043 * linux-tdep.c (linux_info_proc, linux_fill_prpsinfo): Find the end of
1046 2014-02-21 Andreas Arnez <arnez@vnet.linux.ibm.com>
1048 * target.c (memory_xfer_partial): Fix length arg in call to
1049 breakpoint_xfer_memory.
1051 2014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
1054 * i386-tdep.c (i386_stap_parse_special_token_triplet): Check if a
1055 number comes after the + or - signs. Adjust length of register
1056 name to be extracted.
1058 2014-02-20 Tom Tromey <tromey@redhat.com>
1060 * varobj.h (c_varobj_ops, cplus_varobj_ops, java_varobj_ops)
1061 (ada_varobj_ops): Mark "extern".
1063 2014-02-20 Tom Tromey <tromey@redhat.com>
1065 * dbxread.c (read_dbx_symtab): Remove last_o_file_start.
1067 2014-02-20 Doug Evans <xdje42@gmail.com>
1069 * guile/scm-gsmob.c (gdbscm_init_eqable_gsmob): New arg containing_scm.
1070 All callers updated.
1071 (gdbscm_fill_eqable_gsmob_ptr_slot): Delete arg containing_scm.
1072 All callers updated.
1073 * guile/guile-internal.h (gdbscm_init_eqable_gsmob): Update.
1074 (gdbscm_fill_eqable_gsmob_ptr_slot): Update.
1076 2014-02-20 lin zuojian <manjian2006@gmail.com>
1077 Joel Brobecker <brobecker@adacore.com>
1078 Doug Evans <xdje42@gmail.com>
1081 * dwarf2read.c (struct die_info): New member in_process.
1082 (reset_die_in_process): New function.
1083 (process_die): Set it at the start, reset when returning.
1084 (inherit_abstract_dies): Only call process_die if origin_child_die
1085 not already being processed.
1087 2014-02-20 Joel Brobecker <brobecker@adacore.com>
1089 * windows-nat.c (handle_unload_dll): Add function documentation.
1090 (do_initial_windows_stuff): Add comment explaining why we wait
1091 until after inferior initialization has finished before
1092 processing all DLLs.
1094 2014-02-20 Joel Brobecker <brobecker@adacore.com>
1096 * windows-nat.c (get_module_name): Delete.
1097 (windows_get_exec_module_filename): New function, mostly
1098 inspired from get_module_name.
1099 (windows_pid_to_exec_file): Replace call to get_module_name
1100 by call to windows_get_exec_module_filename.
1102 2014-02-20 Joel Brobecker <brobecker@adacore.com>
1104 * windows-nat.c (handle_load_dll): Rewrite this function's
1105 introductory comment. Remove code using get_module_name
1106 to get the DLL's name.
1108 2014-02-20 Joel Brobecker <brobecker@adacore.com>
1110 * windows-nat.c (get_windows_debug_event): Ignore
1111 LOAD_DLL_DEBUG_EVENT and UNLOAD_DLL_DEBUG_EVENT
1112 if windows_initialization_done == 0.
1113 (windows_add_all_dlls): Renames windows_ensure_ntdll_loaded.
1114 Adjust implementation to always load all DLLs.
1115 (do_initial_windows_stuff): Replace call to
1116 windows_ensure_ntdll_loaded by call to windows_add_all_dlls.
1118 2014-02-20 Joel Brobecker <brobecker@adacore.com>
1120 * windows-nat.c (_initialize_windows_nat): Deprecate the
1121 "dll-symbols" command. Turn the "add-shared-symbol-files"
1122 and "assf" aliases into commands, and deprecate them as well.
1123 * NEWS: Add entry explaining that "dll-symbols" and its two
1124 aliases are now deprecated.
1126 2014-02-20 Joel Brobecker <brobecker@adacore.com>
1128 * dec-thread.c (dec_thread_get_ada_task_ptid): Avoid unescaped
1129 new-line in debug string. Remove trailing spaces.
1131 2014-02-19 Stan Shebs <stan@codesourcery.com>
1133 * darwin-nat.c (darwin_xfer_partial): Fix return type.
1135 2014-02-19 Siva Chandra Reddy <sivachandra@google.com>
1137 * NEWS: Add entry for the new feature
1138 * python/py-value.c (valpy_binop): Call value_x_binop for struct
1141 2014-02-19 Stan Shebs <stan@codesourcery.com>
1143 * MAINTAINERS: List Yao Qi as nios2 maintainer.
1145 2014-02-19 Pedro Alves <palves@redhat.com>
1147 * common/ptid.h (struct ptid): Mention that process_stratum
1148 targets should prefer ptid.lwp.
1150 2014-02-19 Pedro Alves <palves@redhat.com>
1152 * remote.c (remote_thread_alive, write_ptid, read_ptid)
1153 (read_ptid, remote_newthread_step, remote_threads_extra_info)
1154 (remote_get_ada_task_ptid, append_resumption, remote_stop_ns)
1155 (threadalive_test, remote_pid_to_str): Use the ptid.lwp field to
1156 store remote thread ids rather than ptid.tid.
1157 (_initialize_remote): Adjust.
1159 2014-02-19 Tom Tromey <tromey@redhat.com>
1161 * target.c (target_get_unwinder): Rewrite.
1162 (target_get_tailcall_unwinder): Rewrite.
1163 * record-btrace.c (record_btrace_to_get_unwinder): New function.
1164 (record_btrace_to_get_tailcall_unwinder): New function.
1165 (init_record_btrace_ops): Update.
1166 * target.h (struct target_ops) <to_get_unwinder,
1167 to_get_tailcall_unwinder>: Now function pointers. Use
1168 TARGET_DEFAULT_RETURN.
1170 2014-02-19 Tom Tromey <tromey@redhat.com>
1172 * nto-procfs.c (procfs_remove_hw_breakpoint): Add 'self'
1174 (init_procfs_ops): Correctly set to_remove_hw_breakpoint.
1176 2014-02-19 Tom Tromey <tromey@redhat.com>
1178 * record-btrace.c (record_btrace_decr_pc_after_break): Delegate
1180 * target-delegates.c: Rebuild.
1181 * target.h (struct target_ops) <to_decr_pc_after_break>: Use
1182 TARGET_DEFAULT_FUNC.
1183 * target.c (default_target_decr_pc_after_break): Rename from
1184 forward_target_decr_pc_after_break. Simplify.
1185 (target_decr_pc_after_break): Rely on delegation.
1187 2014-02-19 Tom Tromey <tromey@redhat.com>
1189 * target.c (update_current_target): Do not INHERIT to_doc or
1190 to_magic. Do not de_fault to_open or to_close.
1192 2014-02-19 Tom Tromey <tromey@redhat.com>
1194 * gcore.h (objfile_find_memory_regions): Declare.
1195 * gcore.c (objfile_find_memory_regions): No longer static. Add
1197 (_initialize_gcore): Don't call exec_set_find_memory_regions.
1198 * exec.c: Include gcore.h.
1199 (exec_set_find_memory_regions): Remove.
1200 (exec_find_memory_regions): Remove.
1201 (exec_do_find_memory_regions): Remove.
1202 (init_exec_ops): Update.
1203 * defs.h (exec_set_find_memory_regions): Remove.
1205 2014-02-19 Tom Tromey <tromey@redhat.com>
1207 * target-delegates.c: Rebuild.
1208 * target.h (struct target_ops) <to_extra_thread_info,
1209 to_thread_name, to_pid_to_exec_file, to_get_section_table,
1210 to_memory_map, to_read_description, to_traceframe_info>: Use NULL,
1211 not 0, in TARGET_DEFAULT_RETURN.
1213 2014-02-19 Tom Tromey <tromey@redhat.com>
1215 * target.c (complete_target_initialization): Remove casts. Use
1216 return_zero_has_execution.
1217 (return_zero): Add "ignore" argument.
1218 (return_zero_has_execution): New function.
1219 (init_dummy_target): Remove casts. Use
1220 return_zero_has_execution.
1222 2014-02-19 Tom Tromey <tromey@redhat.com>
1224 * target.c (update_current_target): Update comments. Do not
1227 2014-02-19 Tom Tromey <tromey@redhat.com>
1229 * arm-linux-nat.c (arm_linux_read_description): Delegate when
1231 * corelow.c (core_read_description): Delegate when needed.
1232 * remote.c (remote_read_description): Delegate when needed.
1233 * target-delegates.c: Rebuild.
1234 * target.c (target_read_description): Rewrite.
1235 * target.h (struct target_ops) <to_read_description>: Update
1236 comment. Use TARGET_DEFAULT_RETURN.
1238 2014-02-19 Tom Tromey <tromey@redhat.com>
1240 * target-delegates.c: Rebuild.
1241 * target.c (update_current_target): Don't inherit or default
1243 (find_default_run_target): Check against delegate_can_run.
1244 * target.h (struct target_ops) <to_can_run>: Use
1245 TARGET_DEFAULT_RETURN.
1247 2014-02-19 Tom Tromey <tromey@redhat.com>
1249 * target-delegates.c: Rebuild.
1250 * target.c (target_disconnect): Unconditionally delegate.
1251 * target.h (struct target_ops) <to_disconnect>: Use
1252 TARGET_DEFAULT_NORETURN.
1254 2014-02-19 Tom Tromey <tromey@redhat.com>
1256 * record.c (record_stop): Unconditionally delegate.
1257 * target-delegates.c: Rebuild.
1258 * target.c (target_stop_recording): Unconditionally delegate.
1259 * target.h (struct target_ops) <to_stop_recording>: Use
1260 TARGET_DEFAULT_IGNORE.
1262 2014-02-19 Tom Tromey <tromey@redhat.com>
1264 * target-delegates.c: Rebuild.
1265 * target.c (target_enable_btrace): Unconditionally delegate.
1266 * target.h (struct target_ops) <to_enable_btrace>: Use
1267 TARGET_DEFAULT_NORETURN.
1269 2014-02-19 Tom Tromey <tromey@redhat.com>
1271 * target-delegates.c: Rebuild.
1272 * target.c (target_read_btrace): Unconditionally delegate.
1273 * target.h (struct target_ops) <to_read_btrace>: Use
1274 TARGET_DEFAULT_NORETURN.
1276 2014-02-19 Tom Tromey <tromey@redhat.com>
1278 * target-delegates.c: Rebuild.
1279 * target.c (target_teardown_btrace): Unconditionally delegate.
1280 * target.h (struct target_ops) <to_teardown_btrace>: Use
1281 TARGET_DEFAULT_NORETURN.
1283 2014-02-19 Tom Tromey <tromey@redhat.com>
1285 * target-delegates.c: Rebuild.
1286 * target.c (target_disable_btrace): Unconditionally delegate.
1287 * target.h (struct target_ops) <to_disable_btrace>: Use
1288 TARGET_DEFAULT_NORETURN.
1290 2014-02-19 Tom Tromey <tromey@redhat.com>
1292 * target-delegates.c: Rebuild.
1293 * target.c (default_search_memory): New function.
1294 (simple_search_memory): Update comment.
1295 (target_search_memory): Unconditionally delegate.
1296 * target.h (struct target_ops) <to_search_memory>: Use
1297 TARGET_DEFAULT_FUNC.
1299 2014-02-19 Tom Tromey <tromey@redhat.com>
1301 * auxv.c (default_auxv_parse): No longer static.
1302 (target_auxv_parse): Unconditionally delegate.
1303 * auxv.h (default_auxv_parse): Declare.
1304 * target-delegates.c: Rebuild.
1305 * target.c: Include auxv.h.
1306 * target.h (struct target_ops) <to_auxv_parse>: Use
1307 TARGET_DEFAULT_FUNC.
1309 2014-02-19 Tom Tromey <tromey@redhat.com>
1311 * target-delegates.c: Rebuild.
1312 * target.c (target_memory_map): Unconditionally delegate.
1313 * target.h (struct target_ops) <to_memory_map>: Use
1314 TARGET_DEFAULT_RETURN.
1316 2014-02-19 Tom Tromey <tromey@redhat.com>
1318 * target-delegates.c: Rebuild.
1319 * target.c (target_thread_alive): Unconditionally delegate.
1320 * target.h (struct target_ops) <to_thread_alive>: Use
1321 TARGET_DEFAULT_RETURN.
1323 2014-02-19 Tom Tromey <tromey@redhat.com>
1325 * target-delegates.c: Rebuild.
1326 * target.c (target_save_record): Unconditionally delegate.
1327 * target.h (struct target_ops) <to_save_record>: Use
1328 TARGET_DEFAULT_NORETURN.
1330 2014-02-19 Tom Tromey <tromey@redhat.com>
1332 * target-delegates.c: Rebuild.
1333 * target.c (target_delete_record): Unconditionally delegate.
1334 * target.h (struct target_ops) <to_delete_record>: Use
1335 TARGET_DEFAULT_NORETURN.
1337 2014-02-19 Tom Tromey <tromey@redhat.com>
1339 * target-delegates.c: Rebuild.
1340 * target.c (target_record_is_replaying): Unconditionally
1342 * target.h (struct target_ops) <to_record_is_replaying>: Use
1343 TARGET_DEFAULT_RETURN.
1345 2014-02-19 Tom Tromey <tromey@redhat.com>
1347 * target-delegates.c: Rebuild.
1348 * target.c (target_goto_record_begin): Unconditionally delegate.
1349 * target.h (struct target_ops) <to_goto_record_begin>: Use
1350 TARGET_DEFAULT_NORETURN.
1352 2014-02-19 Tom Tromey <tromey@redhat.com>
1354 * target-delegates.c: Rebuild.
1355 * target.c (target_goto_record_end): Unconditionally delegate.
1356 * target.h (struct target_ops) <to_goto_record_end>: Use
1357 TARGET_DEFAULT_NORETURN.
1359 2014-02-19 Tom Tromey <tromey@redhat.com>
1361 * target-delegates.c: Rebuild.
1362 * target.c (target_goto_record): Unconditionally delegate.
1363 * target.h (struct target_ops) <to_goto_record>: Use
1364 TARGET_DEFAULT_NORETURN.
1366 2014-02-19 Tom Tromey <tromey@redhat.com>
1368 * target-delegates.c: Rebuild.
1369 * target.c (target_insn_history): Unconditionally delegate.
1370 * target.h (struct target_ops) <to_insn_history>: Use
1371 TARGET_DEFAULT_NORETURN.
1373 2014-02-19 Tom Tromey <tromey@redhat.com>
1375 * target-delegates.c: Rebuild.
1376 * target.c (target_insn_history_from): Unconditionally delegate.
1377 * target.h (struct target_ops) <to_insn_history_from>: Use
1378 TARGET_DEFAULT_NORETURN.
1380 2014-02-19 Tom Tromey <tromey@redhat.com>
1382 * target-delegates.c: Rebuild.
1383 * target.c (target_insn_history_range): Unconditionally delegate.
1384 * target.h (struct target_ops) <to_insn_history_range>: Use
1385 TARGET_DEFAULT_NORETURN.
1387 2014-02-19 Tom Tromey <tromey@redhat.com>
1389 * target-delegates.c: Rebuild.
1390 * target.c (target_call_history): Unconditionally delegate.
1391 * target.h (struct target_ops) <to_call_history>: Use
1392 TARGET_DEFAULT_NORETURN.
1394 2014-02-19 Tom Tromey <tromey@redhat.com>
1396 * target-delegates.c: Rebuild.
1397 * target.c (target_call_history_from): Unconditionally delegate.
1398 * target.h (struct target_ops) <to_call_history_from>: Use
1399 TARGET_DEFAULT_NORETURN.
1401 2014-02-19 Tom Tromey <tromey@redhat.com>
1403 * target-delegates.c: Rebuild.
1404 * target.c (target_call_history_range): Unconditionally delegate.
1405 * target.h (struct target_ops) <to_call_history_range>: Use
1406 TARGET_DEFAULT_NORETURN.
1408 2014-02-19 Tom Tromey <tromey@redhat.com>
1410 * target-delegates.c: Rebuild.
1411 * target.c (target_verify_memory): Unconditionally delegate.
1412 * target.h (struct target_ops) <to_verify_memory>: Use
1413 TARGET_DEFAULT_NORETURN.
1415 2014-02-19 Tom Tromey <tromey@redhat.com>
1417 * target-delegates.c: Rebuild.
1418 * target.c (target_core_of_thread): Unconditionally delegate.
1419 * target.h (struct target_ops) <to_core_of_thread>: Use
1420 TARGET_DEFAULT_RETURN.
1422 2014-02-19 Tom Tromey <tromey@redhat.com>
1424 * target-delegates.c: Rebuild.
1425 * target.c (target_flash_done): Unconditionally delegate.
1426 * target.h (struct target_ops) <to_flash_done>: Use
1427 TARGET_DEFAULT_NORETURN.
1429 2014-02-19 Tom Tromey <tromey@redhat.com>
1431 * target-delegates.c: Rebuild.
1432 * target.c (target_flash_erase): Unconditionally delegate.
1433 * target.h (struct target_ops) <to_flash_erase>: Use
1434 TARGET_DEFAULT_NORETURN.
1436 2014-02-19 Tom Tromey <tromey@redhat.com>
1438 * target-delegates.c: Rebuild.
1439 * target.c (target_get_section_table): Unconditionally delegate.
1440 * target.h (struct target_ops) <to_get_section_table>: Use
1441 TARGET_DEFAULT_RETURN.
1443 2014-02-19 Tom Tromey <tromey@redhat.com>
1445 * target-delegates.c: Rebuild.
1446 * target.c (target_pid_to_str): Unconditionally delegate.
1447 (init_dummy_target): Don't initialize to_pid_to_str.
1448 (default_pid_to_str): Rename from dummy_pid_to_str.
1449 * target.h (struct target_ops) <to_pid_to_str>: Use
1450 TARGET_DEFAULT_FUNC.
1452 2014-02-19 Tom Tromey <tromey@redhat.com>
1454 * target-delegates.c: Rebuild.
1455 * target.c (target_find_new_threads): Unconditionally delegate.
1456 * target.h (struct target_ops) <to_find_new_threads>: Use
1457 TARGET_DEFAULT_RETURN.
1459 2014-02-19 Tom Tromey <tromey@redhat.com>
1461 * target-delegates.c: Rebuild.
1462 * target.c (target_program_signals): Unconditionally delegate.
1463 * target.h (struct target_ops) <to_program_signals>: Use
1464 TARGET_DEFAULT_IGNORE.
1466 2014-02-19 Tom Tromey <tromey@redhat.com>
1468 * target-delegates.c: Rebuild.
1469 * target.c (target_pass_signals): Unconditionally delegate.
1470 * target.h (struct target_ops) <to_pass_signals>: Use
1471 TARGET_DEFAULT_IGNORE.
1473 2014-02-19 Tom Tromey <tromey@redhat.com>
1475 * target-delegates.c: Rebuild.
1476 * target.c (default_mourn_inferior): New function.
1477 (target_mourn_inferior): Unconditionally delegate.
1478 * target.h (struct target_ops) <to_mourn_inferior>: Use
1479 TARGET_DEFAULT_FUNC.
1481 2014-02-19 Tom Tromey <tromey@redhat.com>
1483 * target-delegates.c: Rebuild.
1484 * target.c (default_follow_fork): New function.
1485 (target_follow_fork): Unconditionally delegate.
1486 * target.h (struct target_ops) <to_follow_fork>: Use
1487 TARGET_DEFAULT_FUNC.
1489 2014-02-19 Tom Tromey <tromey@redhat.com>
1491 * target-delegates.c: Rebuild.
1492 * target.c (target_kill): Unconditionally delegate.
1493 * target.h (struct target_ops) <to_kill>: Use
1494 TARGET_DEFAULT_NORETURN.
1496 2014-02-19 Tom Tromey <tromey@redhat.com>
1498 * target-delegates.c: Rebuild.
1499 * target.c (target_masked_watch_num_registers): Unconditionally
1501 * target.h (struct target_ops) <to_masked_watch_num_registers>:
1502 Use TARGET_DEFAULT_RETURN.
1504 2014-02-19 Tom Tromey <tromey@redhat.com>
1506 * target-delegates.c: Rebuild.
1507 * target.c (target_remove_mask_watchpoint): Unconditionally
1509 * target.h (struct target_ops) <to_remove_mask_watchpoint>: Use
1510 TARGET_DEFAULT_RETURN.
1512 2014-02-19 Tom Tromey <tromey@redhat.com>
1514 * target-delegates.c: Rebuild.
1515 * target.c (target_insert_mask_watchpoint): Unconditionally
1517 * target.h (struct target_ops) <to_insert_mask_watchpoint>: Use
1518 TARGET_DEFAULT_RETURN.
1520 2014-02-19 Tom Tromey <tromey@redhat.com>
1522 * target-delegates.c: Rebuild.
1523 * target.c (target_ranged_break_num_registers): Unconditionally
1525 * target.h (struct target_ops) <to_ranged_break_num_registers>:
1526 Use TARGET_DEFAULT_RETURN.
1528 2014-02-19 Tom Tromey <tromey@redhat.com>
1530 * target-delegates.c: Rebuild.
1531 * target.c (target_fetch_registers): Unconditionally delegate.
1532 * target.h (struct target_ops) <to_fetch_registers>: Use
1533 TARGET_DEFAULT_NORETURN.
1535 2014-02-19 Tom Tromey <tromey@redhat.com>
1537 * target-delegates.c: Rebuild.
1538 * target.c (update_current_target): Don't inherit or default
1540 * target.h (struct target_ops) <to_stop>: Use
1541 TARGET_DEFAULT_IGNORE.
1543 2014-02-19 Tom Tromey <tromey@redhat.com>
1545 * target-delegates.c: Rebuild.
1546 * target.c (update_current_target): Don't inherit or default
1547 to_can_run_breakpoint_commands.
1548 * target.h (struct target_ops) <to_can_run_breakpoint_commands>:
1549 Use TARGET_DEFAULT_RETURN.
1551 2014-02-19 Tom Tromey <tromey@redhat.com>
1553 * target-delegates.c: Rebuild.
1554 * target.c (update_current_target): Don't inherit or default
1555 to_supports_evaluation_of_breakpoint_conditions.
1556 * target.h (struct target_ops)
1557 <to_supports_evaluation_of_breakpoint_conditions>: Use
1558 TARGET_DEFAULT_RETURN.
1560 2014-02-19 Tom Tromey <tromey@redhat.com>
1562 * target-delegates.c: Rebuild.
1563 * target.c (update_current_target): Don't inherit or default
1564 to_augmented_libraries_svr4_read.
1565 * target.h (struct target_ops) <to_augmented_libraries_svr4_read>:
1566 Use TARGET_DEFAULT_RETURN.
1568 2014-02-19 Tom Tromey <tromey@redhat.com>
1570 * target-delegates.c: Rebuild.
1571 * target.c (update_current_target): Don't inherit or default
1573 * target.h (struct target_ops) <to_can_use_agent>: Use
1574 TARGET_DEFAULT_RETURN.
1576 2014-02-19 Tom Tromey <tromey@redhat.com>
1578 * target-delegates.c: Rebuild.
1579 * target.c (update_current_target): Don't inherit or default
1581 * target.h (struct target_ops) <to_use_agent>: Use
1582 TARGET_DEFAULT_NORETURN.
1584 2014-02-19 Tom Tromey <tromey@redhat.com>
1586 * target-delegates.c: Rebuild.
1587 * target.c (update_current_target): Don't inherit or default
1589 (return_null): Remove.
1590 * target.h (struct target_ops) <to_traceframe_info>: Use
1591 TARGET_DEFAULT_RETURN.
1593 2014-02-19 Tom Tromey <tromey@redhat.com>
1595 * target-delegates.c: Rebuild.
1596 * target.c (update_current_target): Don't inherit or default
1597 to_static_tracepoint_markers_by_strid.
1598 * target.h (struct target_ops)
1599 <to_static_tracepoint_markers_by_strid>: Use
1600 TARGET_DEFAULT_NORETURN.
1602 2014-02-19 Tom Tromey <tromey@redhat.com>
1604 * target-delegates.c: Rebuild.
1605 * target.c (update_current_target): Don't inherit or default
1606 to_static_tracepoint_marker_at.
1607 * target.h (struct target_ops) <to_static_tracepoint_marker_at>:
1608 Use TARGET_DEFAULT_RETURN.
1610 2014-02-19 Tom Tromey <tromey@redhat.com>
1612 * target-delegates.c: Rebuild.
1613 * target.c (update_current_target): Don't inherit or default
1615 * target.h (struct target_ops) <to_set_permissions>: Use
1616 TARGET_DEFAULT_IGNORE.
1618 2014-02-19 Tom Tromey <tromey@redhat.com>
1620 * target-delegates.c: Rebuild.
1621 * target.c (update_current_target): Don't inherit or default
1623 * target.h (struct target_ops) <to_get_tib_address>: Use
1624 TARGET_DEFAULT_NORETURN.
1626 2014-02-19 Tom Tromey <tromey@redhat.com>
1628 * target-delegates.c: Rebuild.
1629 * target.c (update_current_target): Don't inherit or default
1631 * target.h (struct target_ops) <to_set_trace_notes>: Use
1632 TARGET_DEFAULT_RETURN.
1634 2014-02-19 Tom Tromey <tromey@redhat.com>
1636 * target-delegates.c: Rebuild.
1637 * target.c (update_current_target): Don't initialize
1638 to_set_trace_buffer_size.
1639 * target.h (struct target_ops) <to_set_trace_buffer_size>: Use
1640 TARGET_DEFAULT_IGNORE.
1642 2014-02-19 Tom Tromey <tromey@redhat.com>
1644 * target-delegates.c: Rebuild.
1645 * target.c (update_current_target): Don't inherit or default
1646 to_set_circular_trace_buffer.
1647 * target.h (struct target_ops) <to_set_circular_trace_buffer>: Use
1648 TARGET_DEFAULT_IGNORE.
1650 2014-02-19 Tom Tromey <tromey@redhat.com>
1652 * target-delegates.c: Rebuild.
1653 * target.c (update_current_target): Don't inherit or default
1654 to_set_disconnected_tracing.
1655 * target.h (struct target_ops) <to_set_disconnected_tracing>: Use
1656 TARGET_DEFAULT_IGNORE.
1658 2014-02-19 Tom Tromey <tromey@redhat.com>
1660 * target-delegates.c: Rebuild.
1661 * target.c (update_current_target): Don't inherit or default
1662 to_get_min_fast_tracepoint_insn_len.
1663 (return_minus_one): Remove.
1664 * target.h (struct target_ops)
1665 <to_get_min_fast_tracepoint_insn_len>: Use TARGET_DEFAULT_RETURN.
1667 2014-02-19 Tom Tromey <tromey@redhat.com>
1669 * target-delegates.c: Rebuild.
1670 * target.c (update_current_target): Don't inherit or default
1671 to_get_raw_trace_data.
1672 * target.h (struct target_ops) <to_get_raw_trace_data>: Use
1673 TARGET_DEFAULT_NORETURN.
1675 2014-02-19 Tom Tromey <tromey@redhat.com>
1677 * target-delegates.c: Rebuild.
1678 * target.c (update_current_target): Don't inherit or default
1679 to_upload_trace_state_variables.
1680 * target.h (struct target_ops) <to_upload_trace_state_variables>:
1681 Use TARGET_DEFAULT_RETURN.
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_upload_tracepoints.
1688 * target.h (struct target_ops) <to_upload_tracepoints>: Use
1689 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_save_trace_data>: Use
1697 TARGET_DEFAULT_NORETURN.
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
1703 to_get_trace_state_variable_value.
1704 * target.h (struct target_ops)
1705 <to_get_trace_state_variable_value>: Use TARGET_DEFAULT_RETURN.
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): Use TARGET_DEFAULT_RETURN.
1714 2014-02-19 Tom Tromey <tromey@redhat.com>
1716 * target-delegates.c: Rebuild.
1717 * target.c (update_current_target): Don't inherit or default
1719 * target.h (struct target_ops) <to_trace_stop>: Use
1720 TARGET_DEFAULT_NORETURN.
1722 2014-02-19 Tom Tromey <tromey@redhat.com>
1724 * target-delegates.c: Rebuild.
1725 * target.c (update_current_target): Don't inherit or default
1726 to_get_tracepoint_status.
1727 * target.h (struct target_ops) <to_get_tracepoint_status>: Use
1728 TARGET_DEFAULT_NORETURN.
1730 2014-02-19 Tom Tromey <tromey@redhat.com>
1732 * target-delegates.c: Rebuild.
1733 * target.c (update_current_target): Don't inherit or default
1734 to_get_trace_status.
1735 * target.h (struct target_ops) <to_get_trace_status>: Use
1736 TARGET_DEFAULT_RETURN.
1738 2014-02-19 Tom Tromey <tromey@redhat.com>
1740 * target-delegates.c: Rebuild.
1741 * target.c (update_current_target): Don't inherit or default
1743 * target.h (struct target_ops) <to_trace_start>: Use
1744 TARGET_DEFAULT_NORETURN.
1746 2014-02-19 Tom Tromey <tromey@redhat.com>
1748 * target-delegates.c: Rebuild.
1749 * target.c (update_current_target): Don't inherit or default
1750 to_trace_set_readonly_regions.
1751 * target.h (struct target_ops) <to_trace_set_readonly_regions>:
1752 Use TARGET_DEFAULT_NORETURN.
1754 2014-02-19 Tom Tromey <tromey@redhat.com>
1756 * target-delegates.c: Rebuild.
1757 * target.c (update_current_target): Don't inherit or default
1758 to_disable_tracepoint.
1759 * target.h (struct target_ops) <to_disable_tracepoint>: Use
1760 TARGET_DEFAULT_NORETURN.
1762 2014-02-19 Tom Tromey <tromey@redhat.com>
1764 * target-delegates.c: Rebuild.
1765 * target.c (update_current_target): Don't inherit or default
1766 to_enable_tracepoint.
1767 * target.h (struct target_ops) <to_enable_tracepoint>: Use
1768 TARGET_DEFAULT_NORETURN.
1770 2014-02-19 Tom Tromey <tromey@redhat.com>
1772 * target-delegates.c: Rebuild.
1773 * target.c (update_current_target): Don't inherit or default
1774 to_download_trace_state_variable.
1775 * target.h (struct target_ops) <to_download_trace_state_variable>:
1776 Use TARGET_DEFAULT_NORETURN.
1778 2014-02-19 Tom Tromey <tromey@redhat.com>
1780 * target-delegates.c: Rebuild.
1781 * target.c (update_current_target): Don't inherit or default
1782 to_can_download_tracepoint.
1783 * target.h (struct target_ops) <to_can_download_tracepoint>: Use
1784 TARGET_DEFAULT_RETURN.
1786 2014-02-19 Tom Tromey <tromey@redhat.com>
1788 * target-delegates.c: Rebuild.
1789 * target.c (update_current_target): Don't inherit or default
1790 to_download_tracepoint.
1791 * target.h (struct target_ops) <to_download_tracepoint>: Use
1792 TARGET_DEFAULT_NORETURN.
1794 2014-02-19 Tom Tromey <tromey@redhat.com>
1796 * target-delegates.c: Rebuild.
1797 * target.c (update_current_target): Don't inherit or default
1799 * target.h (struct target_ops) <to_trace_init>: Use
1800 TARGET_DEFAULT_RETURN.
1802 2014-02-19 Tom Tromey <tromey@redhat.com>
1804 * target-delegates.c: Rebuild.
1805 * target.c (update_current_target): Don't inherit or default
1806 to_supports_string_tracing.
1807 * target.h (struct target_ops) <to_supports_string_tracing>: Use
1808 TARGET_DEFAULT_RETURN.
1810 2014-02-19 Tom Tromey <tromey@redhat.com>
1812 * target-delegates.c: Rebuild.
1813 * target.c (update_current_target): Don't inherit or default
1814 to_supports_enable_disable_tracepoint.
1815 * target.h (struct target_ops)
1816 <to_supports_enable_disable_tracepoint>: 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
1823 to_supports_multi_process.
1824 * target.h (struct target_ops) <to_supports_multi_process>: Use
1825 TARGET_DEFAULT_RETURN.
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_get_ada_task_ptid.
1832 * target.h (struct target_ops) <to_get_ada_task_ptid>: Use
1833 TARGET_DEFAULT_FUNC.
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_thread_architecture.
1840 * target.h (struct target_ops) <to_thread_architecture>: Use
1841 TARGET_DEFAULT_FUNC.
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_execution_direction.
1848 * target.h (struct target_ops) <to_execution_direction>: Use
1849 TARGET_DEFAULT_FUNC.
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_can_execute_reverse.
1856 * target.h (struct target_ops) <to_can_execute_reverse>: Use
1857 TARGET_DEFAULT_RETURN.
1858 (target_can_execute_reverse): Unconditionally delegate.
1860 2014-02-19 Tom Tromey <tromey@redhat.com>
1862 * target-delegates.c: Rebuild.
1863 * target.c (update_current_target): Don't inherit or default
1865 (dummy_goto_bookmark): Remove.
1866 (init_dummy_target): Don't inherit or default to_goto_bookmark.
1867 * target.h (struct target_ops) <to_goto_bookmark>: Use
1868 TARGET_DEFAULT_NORETURN.
1870 2014-02-19 Tom Tromey <tromey@redhat.com>
1872 * target-delegates.c: Rebuild.
1873 * target.c (update_current_target): Don't inherit or default
1875 (dummy_get_bookmark): Remove.
1876 (init_dummy_target): Don't inherit or default to_get_bookmark.
1877 * target.h (struct target_ops) <to_get_bookmark>: Use
1878 TARGET_DEFAULT_NORETURN
1880 2014-02-19 Tom Tromey <tromey@redhat.com>
1882 * target-delegates.c: Rebuild.
1883 * target.c (update_current_target): Don't inherit or default
1884 to_make_corefile_notes.
1885 (init_dummy_target): Don't initialize to_make_corefile_notes.
1886 * target.h (struct target_ops) <to_make_corefile_notes>: Use
1887 TARGET_DEFAULT_FUNC.
1889 2014-02-19 Tom Tromey <tromey@redhat.com>
1891 * target-delegates.c: Rebuild.
1892 * target.c (update_current_target): Don't inherit or default
1893 to_find_memory_regions.
1894 (init_dummy_target): Don't initialize to_find_memory_regions.
1895 * target.h (struct target_ops) <to_find_memory_regions>: Use
1896 TARGET_DEFAULT_FUNC.
1898 2014-02-19 Tom Tromey <tromey@redhat.com>
1900 * target-delegates.c: Rebuild.
1901 * target.c (update_current_target): Don't inherit or default
1903 * target.h (struct target_ops) <to_log_command>: Use
1904 TARGET_DEFAULT_IGNORE.
1905 (target_log_command): Unconditionally delegate.
1907 2014-02-19 Tom Tromey <tromey@redhat.com>
1909 * target-delegates.c: Rebuild.
1910 * target.c (update_current_target): Don't inherit or default
1911 to_pid_to_exec_file.
1912 * target.h (struct target_ops) <to_pid_to_exec_file>: Use
1913 TARGET_DEFAULT_RETURN.
1915 2014-02-19 Tom Tromey <tromey@redhat.com>
1917 * target-delegates.c: Rebuild.
1918 * target.c (update_current_target): Don't inherit or default
1920 (target_thread_name): Unconditionally delegate.
1921 * target.h (struct target_ops) <to_thread_name>: Use
1922 TARGET_DEFAULT_RETURN.
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_extra_thread_info.
1929 * target.h (struct target_ops) <to_extra_thread_info>: Use
1930 TARGET_DEFAULT_RETURN.
1932 2014-02-19 Tom Tromey <tromey@redhat.com>
1934 * target-delegates.c: Rebuild.
1935 * target.c (update_current_target): Don't inherit or default
1937 * target.h (struct target_ops) <to_has_exited>: Use
1938 TARGET_DEFAULT_RETURN..
1940 2014-02-19 Tom Tromey <tromey@redhat.com>
1942 * target-delegates.c: Rebuild.
1943 * target.c (update_current_target): Don't inherit or default
1944 to_set_syscall_catchpoint.
1945 (return_one): Remove.
1946 * target.h (struct target_ops) <to_set_syscall_catchpoint>: Use
1947 TARGET_DEFAULT_RETURN.
1949 2014-02-19 Tom Tromey <tromey@redhat.com>
1951 * target-delegates.c: Rebuild.
1952 * target.c (update_current_target): Don't inherit or default
1953 to_insert_exec_catchpoint.
1954 * target.h (struct target_ops) <to_insert_exec_catchpoint>: Use
1955 TARGET_DEFAULT_RETURN.
1957 2014-01-08 Tom Tromey <tromey@redhat.com>
1959 * target-delegates.c: Rebuild.
1960 * target.c (update_current_target): Don't inherit or default
1961 to_insert_exec_catchpoint.
1962 * target.h (struct target_ops) <to_insert_exec_catchpoint>: Use
1963 TARGET_DEFAULT_RETURN.
1965 2014-02-19 Tom Tromey <tromey@redhat.com>
1967 * target-delegates.c: Rebuild.
1968 * target.c (update_current_target): Don't inherit or default
1969 to_remove_vfork_catchpoint.
1970 * target.h (struct target_ops) <to_remove_vfork_catchpoint>: Use
1971 TARGET_DEFAULT_RETURN.
1973 2014-02-19 Tom Tromey <tromey@redhat.com>
1975 * target-delegates.c: Rebuild.
1976 * target.c (update_current_target): Don't inherit or default
1977 to_insert_vfork_catchpoint.
1978 * target.h (struct target_ops) <to_insert_vfork_catchpoint>: Use
1979 TARGET_DEFAULT_RETURN.
1981 2014-02-19 Tom Tromey <tromey@redhat.com>
1983 * target-delegates.c: Rebuild.
1984 * target.c (update_current_target): Don't inherit or default
1985 to_remove_fork_catchpoint.
1986 * target.h (struct target_ops) <to_remove_fork_catchpoint>: Use
1987 TARGET_DEFAULT_RETURN.
1989 2014-02-19 Tom Tromey <tromey@redhat.com>
1991 * target-delegates.c: Rebuild.
1992 * target.c (update_current_target): Don't inherit or default
1993 to_insert_fork_catchpoint.
1994 * target.h (struct target_ops) <to_insert_fork_catchpoint>: Use
1995 TARGET_DEFAULT_RETURN.
1997 2014-02-19 Tom Tromey <tromey@redhat.com>
1999 * target-delegates.c: Rebuild.
2000 * target.c (update_current_target): Don't inherit or default
2001 to_post_startup_inferior.
2002 * target.h (struct target_ops) <to_post_startup_inferior>: Use
2003 TARGET_DEFAULT_IGNORE.
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
2010 * target.h (struct target_ops) <to_load>: Use
2011 TARGET_DEFAULT_NORETURN.
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_terminal_info>: Use
2019 TARGET_DEFAULT_FUNC.
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_terminal_save_ours.
2026 * target.h (struct target_ops) <to_terminal_save_ours>: Use
2027 TARGET_DEFAULT_IGNORE.
2029 2014-02-19 Tom Tromey <tromey@redhat.com>
2031 * target-delegates.c: Rebuild.
2032 * target.c (update_current_target): Don't inherit or default
2034 * target.h (struct target_ops) <to_terminal_ours>: Use
2035 TARGET_DEFAULT_IGNORE.
2037 2014-02-19 Tom Tromey <tromey@redhat.com>
2039 * target-delegates.c: Rebuild.
2040 * target.c (update_current_target): Don't inherit or default
2041 to_terminal_ours_for_output.
2042 * target.h (struct target_ops) <to_terminal_ours_for_output>: Use
2043 TARGET_DEFAULT_IGNORE.
2045 2014-02-19 Tom Tromey <tromey@redhat.com>
2047 * target-delegates.c: Rebuild.
2048 * target.c (update_current_target): Don't inherit or default
2049 to_terminal_inferior.
2050 * target.h (struct target_ops) <to_terminal_inferior>: Use
2051 TARGET_DEFAULT_IGNORE.
2053 2014-02-19 Tom Tromey <tromey@redhat.com>
2055 * target-delegates.c: Rebuild.
2056 * target.c (update_current_target): Don't inherit or default
2058 * target.h (struct target_ops) <to_terminal_init>: Use
2059 TARGET_DEFAULT_IGNORE.
2061 2014-02-19 Tom Tromey <tromey@redhat.com>
2063 * target-delegates.c: Rebuild.
2064 * target.c (update_current_target): Don't inherit or default
2065 to_can_accel_watchpoint_condition.
2066 * target.h (struct target_ops)
2067 <to_can_accel_watchpoint_condition>: Use TARGET_DEFAULT_RETURN.
2069 2014-02-19 Tom Tromey <tromey@redhat.com>
2071 * target-delegates.c: Rebuild.
2072 * target.c (update_current_target): Don't inherit or default
2073 to_region_ok_for_hw_watchpoint.
2074 * target.h (struct target_ops) <to_region_ok_for_hw_watchpoint>:
2075 Use TARGET_DEFAULT_FUNC.
2077 2014-02-19 Tom Tromey <tromey@redhat.com>
2079 * target-delegates.c: Rebuild.
2080 * target.c (update_current_target): Don't inherit or default
2081 to_watchpoint_addr_within_range.
2082 * target.h (struct target_ops) <to_watchpoint_addr_within_range>:
2083 Use TARGET_DEFAULT_FUNC.
2085 2014-02-19 Tom Tromey <tromey@redhat.com>
2087 * target-delegates.c: Rebuild.
2088 * target.c (update_current_target): Don't inherit or default
2089 to_remove_watchpoint.
2090 * target.h (struct target_ops) <to_remove_watchpoint>: Use
2091 TARGET_DEFAULT_NORETURN.
2093 2014-02-19 Tom Tromey <tromey@redhat.com>
2095 * target-delegates.c: Rebuild.
2096 * target.c (update_current_target): Don't inherit or default
2097 to_insert_watchpoint.
2098 * target.h (struct target_ops) <to_insert_watchpoint>: Use
2099 TARGET_DEFAULT_RETURN.
2101 2014-02-19 Tom Tromey <tromey@redhat.com>
2103 * target-delegates.c: Rebuild.
2104 * target.c (update_current_target): Don't inherit or default
2105 to_remove_hw_breakpoint.
2106 * target.h (struct target_ops) <to_remove_hw_breakpoint>: Use
2107 TARGET_DEFAULT_RETURN.
2109 2014-02-19 Tom Tromey <tromey@redhat.com>
2111 * target-delegates.c: Rebuild.
2112 * target.c (update_current_target): Don't inherit or default
2113 to_insert_hw_breakpoint.
2114 * target.h (struct target_ops) <to_insert_hw_breakpoint>: Use
2115 TARGET_DEFAULT_RETURN.
2117 2014-02-19 Tom Tromey <tromey@redhat.com>
2119 * target-delegates.c: Rebuild.
2120 * target.c (update_current_target): Don't inherit or default
2121 to_can_use_hw_breakpoint.
2122 * target.h (struct target_ops) <to_can_use_hw_breakpoint>: Use
2123 TARGET_DEFAULT_RETURN.
2125 2014-02-19 Tom Tromey <tromey@redhat.com>
2127 * target-delegates.c: Rebuild.
2128 * target.c (update_current_target): Don't inherit or default
2130 * target.h (struct target_ops) <to_files_info>: Use
2131 TARGET_DEFAULT_IGNORE.
2133 2014-02-19 Tom Tromey <tromey@redhat.com>
2135 * target-delegates.c: Rebuild.
2136 * target.c (update_current_target): Don't inherit or default
2138 * target.h (struct target_ops) <to_store>: Use
2139 TARGET_DEFAULT_NORETURN.
2141 2014-02-19 Tom Tromey <tromey@redhat.com>
2143 * target-delegates.c: Rebuild.
2144 * target.c (update_current_target): Don't inherit or default
2146 * target.h (struct target_ops) <to_post_attach>: Use
2147 TARGET_DEFAULT_IGNORE.
2149 2014-02-19 Tom Tromey <tromey@redhat.com>
2151 * target-delegates.c: Rebuild.
2152 * target.c (update_current_target): Don't inherit or default
2154 (default_rcmd): New function.
2155 (do_monitor_command): Unconditionally delegate.
2156 * target.h (struct target_ops) <to_rmcd>: Use
2157 TARGET_DEFAULT_FUNC.
2159 2014-02-19 Tom Tromey <tromey@redhat.com>
2161 * target-delegates.c: Rebuild.
2162 * target.c (init_dummy_target): Don't initialize to_attach.
2163 (target_attach): Unconditionally delegate.
2164 * target.h (struct target_ops) <to_attach>: Use
2165 TARGET_DEFAULT_FUNC.
2167 2014-02-19 Tom Tromey <tromey@redhat.com>
2169 * target-delegates.c: Rebuild.
2170 * target.c (target_detach): Unconditionally delegate.
2171 (init_dummy_target): Don't initialize to_detach.
2172 * target.h (struct target_ops) <to_detach>: Use
2173 TARGET_DEFAULT_IGNORE.
2175 2014-02-19 Tom Tromey <tromey@redhat.com>
2177 * target.h (struct target_ops) <to_augmented_libraries_svr4_read>:
2179 (target_augmented_libraries_svr4_read): Add argument.
2180 * target.c (update_current_target): Update.
2181 * remote.c (remote_augmented_libraries_svr4_read): Add 'self'
2184 2014-02-19 Tom Tromey <tromey@redhat.com>
2186 * target.h (struct target_ops) <to_call_history_range>: Add
2188 * target.c (target_call_history_range): Add argument.
2189 * record-btrace.c (record_btrace_call_history_range): Add 'self'
2191 (record_btrace_call_history_from): Update.
2193 2014-02-19 Tom Tromey <tromey@redhat.com>
2195 * target.h (struct target_ops) <to_call_history_from>: Add
2197 * target.c (target_call_history_from): Add argument.
2198 * record-btrace.c (record_btrace_call_history_from): Add 'self'
2201 2014-02-19 Tom Tromey <tromey@redhat.com>
2203 * target.h (struct target_ops) <to_call_history>: Add argument.
2204 * target.c (target_call_history): Add argument.
2205 * record-btrace.c (record_btrace_call_history): Add 'self'
2208 2014-02-19 Tom Tromey <tromey@redhat.com>
2210 * target.h (struct target_ops) <to_insn_history_range>: Add
2212 * target.c (target_insn_history_range): Add argument.
2213 * record-btrace.c (record_btrace_insn_history_range): Add 'self'
2215 (record_btrace_insn_history_from): Update.
2217 2014-02-19 Tom Tromey <tromey@redhat.com>
2219 * target.h (struct target_ops) <to_insn_history_from>: Add
2221 * target.c (target_insn_history_from): Add argument.
2222 * record-btrace.c (record_btrace_insn_history_from): Add 'self'
2225 2014-02-19 Tom Tromey <tromey@redhat.com>
2227 * target.h (struct target_ops) <to_insn_history>: Add argument.
2228 * target.c (target_insn_history): Add argument.
2229 * record-btrace.c (record_btrace_insn_history): Add 'self'
2232 2014-02-19 Tom Tromey <tromey@redhat.com>
2234 * target.h (struct target_ops) <to_goto_record>: Add argument.
2235 * target.c (target_goto_record): Add argument.
2236 * record-full.c (record_full_goto): Add 'self' argument.
2237 * record-btrace.c (record_btrace_goto): Add 'self' argument.
2239 2014-02-19 Tom Tromey <tromey@redhat.com>
2241 * target.h (struct target_ops) <to_goto_record_end>: Add argument.
2242 * target.c (target_goto_record_end): Add argument.
2243 * record-full.c (record_full_goto_end): Add 'self' argument.
2244 * record-btrace.c (record_btrace_goto_end): Add 'self' argument.
2246 2014-02-19 Tom Tromey <tromey@redhat.com>
2248 * target.h (struct target_ops) <to_goto_record_begin>: Add
2250 * target.c (target_goto_record_begin): Add argument.
2251 * record-full.c (record_full_goto_begin): Add 'self' argument.
2252 * record-btrace.c (record_btrace_goto_begin): Add 'self'
2255 2014-02-19 Tom Tromey <tromey@redhat.com>
2257 * target.h (struct target_ops) <to_record_is_replaying>: Add
2259 * target.c (target_record_is_replaying): Add argument.
2260 * record-full.c (record_full_is_replaying): Add 'self' argument.
2261 * record-btrace.c (record_btrace_is_replaying): Add 'self'
2263 (record_btrace_xfer_partial, record_btrace_store_registers)
2264 (record_btrace_prepare_to_store, record_btrace_resume)
2265 (record_btrace_wait, record_btrace_decr_pc_after_break)
2266 (record_btrace_find_new_threads, record_btrace_thread_alive):
2269 2014-02-19 Tom Tromey <tromey@redhat.com>
2271 * target.h (struct target_ops) <to_delete_record>: Add argument.
2272 * target.c (target_delete_record): Add argument.
2273 * record-full.c (record_full_delete): Add 'self' argument.
2275 2014-02-19 Tom Tromey <tromey@redhat.com>
2277 * target.h (struct target_ops) <to_save_record>: Add argument.
2278 * target.c (target_save_record): Add argument.
2279 * record-full.c (record_full_save): Add 'self' argument.
2280 (record_full_save): Add 'self' argument.
2282 2014-02-19 Tom Tromey <tromey@redhat.com>
2284 * target.h (struct target_ops) <to_info_record>: Add argument.
2285 * target.c (target_info_record): Add argument.
2286 * record.c (info_record_command): Add argument.
2287 * record-full.c (record_full_info): Add 'self' argument.
2288 * record-btrace.c (record_btrace_info): Add 'self' argument.
2290 2014-02-19 Tom Tromey <tromey@redhat.com>
2292 * target.h (struct target_ops) <to_stop_recording>: Add argument.
2293 * target.c (target_stop_recording): Add argument.
2294 * record.c (record_stop): Add argument.
2295 * record-btrace.c (record_btrace_stop_recording): Add 'self'
2298 2014-02-19 Tom Tromey <tromey@redhat.com>
2300 * target.h (struct target_ops) <to_read_btrace>: Add argument.
2301 * target.c (struct target_ops) <to_read_btrace>: Add argument.
2302 * remote.c (struct target_ops) <to_read_btrace>: Add 'self'
2304 * amd64-linux-nat.c (amd64_linux_read_btrace): New function.
2305 (_initialize_amd64_linux_nat): Use it.
2306 * i386-linux-nat.c (i386_linux_read_btrace): New function.
2307 (_initialize_i386_linux_nat): Use it.
2309 2014-02-19 Tom Tromey <tromey@redhat.com>
2311 * target.h (struct target_ops) <to_teardown_btrace>: Add argument.
2312 * target.c (target_teardown_btrace): Add argument.
2313 * remote.c (remote_teardown_btrace): Add 'self' argument.
2314 * i386-linux-nat.c (i386_linux_teardown_btrace): Add 'self'
2316 * amd64-linux-nat.c (amd64_linux_teardown_btrace): Add 'self'
2319 2014-02-19 Tom Tromey <tromey@redhat.com>
2321 * target.h (struct target_ops) <to_disable_btrace>: Add argument.
2322 * target.c (target_disable_btrace): Add argument.
2323 * remote.c (remote_disable_btrace): Add 'self' argument.
2324 * i386-linux-nat.c (i386_linux_disable_btrace): Add 'self'
2326 * amd64-linux-nat.c (amd64_linux_disable_btrace): Add 'self'
2329 2014-02-19 Tom Tromey <tromey@redhat.com>
2331 * target.h (struct target_ops) <to_enable_btrace>: Add argument.
2332 * target.c (target_enable_btrace): Add argument.
2333 * remote.c (remote_enable_btrace): Add 'self' argument.
2334 * i386-linux-nat.c (i386_linux_enable_btrace): Add 'self'
2336 * amd64-linux-nat.c (amd64_linux_enable_btrace): Add 'self'
2339 2014-02-19 Tom Tromey <tromey@redhat.com>
2341 * target.h (struct target_ops) <to_can_use_agent>: Add argument.
2342 (target_can_use_agent): Add argument.
2343 * target.c (update_current_target): Update.
2344 * remote.c (remote_can_use_agent): Add 'self' argument.
2345 * inf-child.c (inf_child_can_use_agent): Add 'self' argument.
2347 2014-02-19 Tom Tromey <tromey@redhat.com>
2349 * target.h (struct target_ops) <to_use_agent>: Add argument.
2350 (target_use_agent): Add argument.
2351 * target.c (update_current_target): Update.
2352 * remote.c (remote_use_agent): Add 'self' argument.
2353 * inf-child.c (inf_child_use_agent): Add 'self' argument.
2355 2014-02-19 Tom Tromey <tromey@redhat.com>
2357 * tracepoint.c (tfile_traceframe_info): Add 'self' argument.
2358 * target.h (struct target_ops) <to_traceframe_info>: Add argument.
2359 (target_traceframe_info): Add argument.
2360 * target.c (update_current_target): Update.
2361 * remote.c (remote_traceframe_info): Add 'self' argument.
2362 * ctf.c (ctf_traceframe_info): Add 'self' argument.
2364 2014-02-19 Tom Tromey <tromey@redhat.com>
2366 * target.h (target_static_tracepoint_markers_by_strid): Add
2368 (struct target_ops) <to_static_tracepoint_markers_by_strid>: Add
2370 * target.c (update_current_target): Update.
2371 * remote.c (struct target_ops)
2372 <to_static_tracepoint_markers_by_strid>: Add 'self' argument.
2373 * linux-nat.c (struct target_ops)
2374 <to_static_tracepoint_markers_by_strid>: Add 'self' argument.
2376 2014-02-19 Tom Tromey <tromey@redhat.com>
2378 * target.h (struct target_ops) <to_static_tracepoint_marker_at>:
2380 (target_static_tracepoint_marker_at): Add argument.
2381 * target.c (update_current_target): Update.
2382 * remote.c (remote_static_tracepoint_marker_at): Add 'self'
2385 2014-02-19 Tom Tromey <tromey@redhat.com>
2387 * target.h (struct target_ops) <to_set_permissions>: Add argument.
2388 (target_set_permissions): Add argument.
2389 * target.c (update_current_target): Update.
2390 * remote.c (remote_set_permissions): Add 'self' argument.
2391 (remote_start_remote): Update.
2393 2014-02-19 Tom Tromey <tromey@redhat.com>
2395 * windows-nat.c (windows_get_tib_address): Add 'self' argument.
2396 * target.h (struct target_ops) <to_get_tib_address>: Add argument.
2397 (target_get_tib_address): Add argument.
2398 * target.c (update_current_target): Update.
2399 * remote.c (remote_get_tib_address): Add 'self' argument.
2401 2014-02-19 Tom Tromey <tromey@redhat.com>
2403 * target.h (struct target_ops) <to_set_trace_notes>: Add argument.
2404 (target_set_trace_notes): Add argument.
2405 * target.c (update_current_target): Update.
2406 * remote.c (remote_set_trace_notes): Add 'self' argument.
2408 2014-02-19 Tom Tromey <tromey@redhat.com>
2410 * target.h (struct target_ops) <to_set_trace_buffer_size>: Add
2412 (target_set_trace_buffer_size): Add argument.
2413 * target.c (update_current_target): Update.
2414 * remote.c (remote_set_trace_buffer_size): Add 'self' argument.
2416 2014-02-19 Tom Tromey <tromey@redhat.com>
2418 * target.h (struct target_ops) <to_set_circular_trace_buffer>: Add
2420 (target_set_circular_trace_buffer): Add argument.
2421 * target.c (update_current_target): Update.
2422 * remote.c (remote_set_circular_trace_buffer): Add 'self'
2425 2014-02-19 Tom Tromey <tromey@redhat.com>
2427 * target.h (struct target_ops) <to_set_disconnected_tracing>: Add
2429 (target_set_disconnected_tracing): Add argument.
2430 * target.c (update_current_target): Update.
2431 * remote.c (remote_set_disconnected_tracing): Add 'self' argument.
2433 2014-02-19 Tom Tromey <tromey@redhat.com>
2435 * target.h (struct target_ops)
2436 <to_get_min_fast_tracepoint_insn_len>: Add argument.
2437 (target_get_min_fast_tracepoint_insn_len): Add argument.
2438 * target.c (update_current_target): Update.
2439 * remote.c (remote_get_min_fast_tracepoint_insn_len): Add 'self'
2442 2014-02-19 Tom Tromey <tromey@redhat.com>
2444 * target.h (struct target_ops) <to_get_raw_trace_data>: Add
2446 (target_get_raw_trace_data): Add argument.
2447 * target.c (update_current_target): Update.
2448 * remote.c (remote_get_raw_trace_data): Add 'self' argument.
2450 2014-02-19 Tom Tromey <tromey@redhat.com>
2452 * target.h (struct target_ops) <to_upload_trace_state_variables>:
2454 (target_upload_trace_state_variables): Add argument.
2455 * target.c (update_current_target): Update.
2456 * remote.c (remote_upload_trace_state_variables): Add 'self'
2458 (remote_start_remote): Update.
2460 2014-02-19 Tom Tromey <tromey@redhat.com>
2462 * target.h (struct target_ops) <to_upload_tracepoints>: Add
2464 (target_upload_tracepoints): Add argument.
2465 * target.c (update_current_target): Update.
2466 * remote.c (remote_upload_tracepoints): Add 'self' argument.
2467 (remote_start_remote): Update.
2469 2014-02-19 Tom Tromey <tromey@redhat.com>
2471 * target.h (struct target_ops) <to_save_trace_data>: Add argument.
2472 (target_save_trace_data): Add argument.
2473 * target.c (update_current_target): Update.
2474 * remote.c (remote_save_trace_data): Add 'self' argument.
2476 2014-02-19 Tom Tromey <tromey@redhat.com>
2478 * tracepoint.c (tfile_get_trace_state_variable_value): Add 'self'
2480 * target.h (struct target_ops)
2481 <to_get_trace_state_variable_value>: Add argument.
2482 (target_get_trace_state_variable_value): Add argument.
2483 * target.c (update_current_target): Update.
2484 * remote.c (remote_get_trace_state_variable_value): Add 'self'
2486 * ctf.c (ctf_get_trace_state_variable_value): Add 'self' argument.
2488 2014-02-19 Tom Tromey <tromey@redhat.com>
2490 * tracepoint.c (tfile_trace_find): Add 'self' argument.
2491 * target.h (struct target_ops) <to_trace_find>: Add argument.
2492 (target_trace_find): Add argument.
2493 * target.c (update_current_target): Update.
2494 * remote.c (remote_trace_find): Add 'self' argument.
2495 * ctf.c (ctf_trace_find): Add 'self' argument.
2497 2014-02-19 Tom Tromey <tromey@redhat.com>
2499 * target.h (struct target_ops) <to_trace_stop>: Add argument.
2500 (target_trace_stop): Add argument.
2501 * target.c (update_current_target): Update.
2502 * remote.c (remote_trace_stop): Add 'self' argument.
2504 2014-02-19 Tom Tromey <tromey@redhat.com>
2506 * tracepoint.c (tfile_get_tracepoint_status): Add 'self' argument.
2507 * target.h (struct target_ops) <to_get_tracepoint_status>: Add
2509 (target_get_tracepoint_status): Add argument.
2510 * target.c (update_current_target): Update.
2511 * remote.c (remote_get_tracepoint_status): Add 'self' argument.
2513 2014-02-19 Tom Tromey <tromey@redhat.com>
2515 * tracepoint.c (tfile_get_trace_status): Add 'self' argument.
2516 * target.h (struct target_ops) <to_get_trace_status>: Add
2518 (target_get_trace_status): Add argument.
2519 * target.c (update_current_target): Update.
2520 * remote.c (remote_get_trace_status): Add 'self' argument.
2521 (remote_start_remote, remote_can_download_tracepoint): Update.
2522 * ctf.c (ctf_get_trace_status): Add 'self' argument.
2524 2014-02-19 Tom Tromey <tromey@redhat.com>
2526 * target.h (struct target_ops) <to_trace_start>: Add argument.
2527 (target_trace_start): Add argument.
2528 * target.c (update_current_target): Update.
2529 * remote.c (remote_trace_start): Add 'self' argument.
2531 2014-02-19 Tom Tromey <tromey@redhat.com>
2533 * target.h (struct target_ops) <to_trace_set_readonly_regions>:
2535 (target_trace_set_readonly_regions): Add argument.
2536 * target.c (update_current_target): Update.
2537 * remote.c (remote_trace_set_readonly_regions): Add 'self'
2540 2014-02-19 Tom Tromey <tromey@redhat.com>
2542 * target.h (struct target_ops) <to_disable_tracepoint>: Add
2544 (target_disable_tracepoint): Add argument.
2545 * target.c (update_current_target): Update.
2546 * remote.c (remote_disable_tracepoint): Add 'self' argument.
2548 2014-02-19 Tom Tromey <tromey@redhat.com>
2550 * target.h (struct target_ops) <to_enable_tracepoint>: Add
2552 (target_enable_tracepoint): Add argument.
2553 * target.c (update_current_target): Update.
2554 * remote.c (remote_enable_tracepoint): Add 'self' argument.
2556 2014-02-19 Tom Tromey <tromey@redhat.com>
2558 * target.h (struct target_ops) <to_download_trace_state_variable>:
2560 (target_download_trace_state_variable): Add argument.
2561 * target.c (update_current_target): Update.
2562 * remote.c (remote_download_trace_state_variable): Add 'self'
2565 2014-02-19 Tom Tromey <tromey@redhat.com>
2567 * target.h (struct target_ops) <to_can_download_tracepoint>: Add
2569 (target_can_download_tracepoint): Add argument.
2570 * target.c (update_current_target): Update.
2571 * remote.c (remote_can_download_tracepoint): Add 'self' argument.
2573 2014-02-19 Tom Tromey <tromey@redhat.com>
2575 * target.h (struct target_ops) <to_download_tracepoint>: Add
2577 (target_download_tracepoint): Add argument.
2578 * target.c (update_current_target): Update.
2579 * remote.c (remote_download_tracepoint): Add 'self' argument.
2581 2014-02-19 Tom Tromey <tromey@redhat.com>
2583 * target.h (struct target_ops) <to_trace_init>: Add argument.
2584 (target_trace_init): Add argument.
2585 * target.c (update_current_target): Update.
2586 * remote.c (remote_trace_init): Add 'self' argument.
2588 2014-02-19 Tom Tromey <tromey@redhat.com>
2590 * target.h (struct target_ops) <to_fileio_readlink>: Add argument.
2591 * target.c (target_fileio_readlink): Add argument.
2592 * remote.c (remote_hostio_readlink): Add 'self' argument.
2593 * inf-child.c (inf_child_fileio_readlink): Add 'self' argument.
2595 2014-02-19 Tom Tromey <tromey@redhat.com>
2597 * target.h (struct target_ops) <to_fileio_unlink>: Add argument.
2598 * target.c (target_fileio_unlink): Add argument.
2599 * remote.c (remote_hostio_unlink): Add 'self' argument.
2600 (remote_file_delete): Update.
2601 * inf-child.c (inf_child_fileio_unlink): Add 'self' argument.
2603 2014-02-19 Tom Tromey <tromey@redhat.com>
2605 * target.h (struct target_ops) <to_fileio_close>: Add argument.
2606 * target.c (target_fileio_close): Add argument.
2607 * remote.c (remote_hostio_close): Add 'self' argument.
2608 (remote_hostio_close_cleanup): Update.
2609 (remote_bfd_iovec_close, remote_file_put, remote_file_get):
2611 * inf-child.c (inf_child_fileio_close): Add 'self' argument.
2613 2014-02-19 Tom Tromey <tromey@redhat.com>
2615 * target.h (struct target_ops) <to_fileio_pread>: Add argument.
2616 * target.c (target_fileio_pread): Add argument.
2617 * remote.c (remote_hostio_pread): Add 'self' argument.
2618 (remote_bfd_iovec_pread, remote_file_get): Update.
2619 * inf-child.c (inf_child_fileio_pread): Add 'self' argument.
2621 2014-02-19 Tom Tromey <tromey@redhat.com>
2623 * target.h (struct target_ops) <to_fileio_pwrite>: Add argument.
2624 * target.c (target_fileio_pwrite): Add argument.
2625 * remote.c (remote_hostio_pwrite): Add 'self' argument.
2626 (remote_file_put): Update.
2627 * inf-child.c (inf_child_fileio_pwrite): Add 'self' argument.
2629 2014-02-19 Tom Tromey <tromey@redhat.com>
2631 * target.h (struct target_ops) <to_fileio_open>: Add argument.
2632 * target.c (target_fileio_open): Add argument.
2633 * remote.c (remote_hostio_open): Add 'self' argument.
2634 (remote_bfd_iovec_open): Add 'self' argument.
2635 (remote_file_put): Add 'self' argument.
2636 (remote_file_get): Add 'self' argument.
2637 * inf-child.c (inf_child_fileio_open): Add 'self' argument.
2639 2014-02-19 Tom Tromey <tromey@redhat.com>
2641 * target.h (struct target_ops) <to_can_run_breakpoint_commands>:
2643 (target_can_run_breakpoint_commands): Add argument.
2644 * target.c (update_current_target): Update.
2645 * remote.c (remote_can_run_breakpoint_commands): Add 'self'
2647 (remote_insert_breakpoint): Add 'self' argument.
2648 (remote_insert_hw_breakpoint): Add 'self' argument.
2649 (remote_can_run_breakpoint_commands): Add 'self' argument.
2651 2014-02-19 Tom Tromey <tromey@redhat.com>
2653 * target.h (struct target_ops)
2654 <to_supports_evaluation_of_breakpoint_conditions>: Add argument.
2655 (target_supports_evaluation_of_breakpoint_conditions): Add
2657 * target.c (update_current_target): Update.
2658 * remote.c (remote_supports_cond_breakpoints): Add 'self'
2660 (remote_insert_breakpoint): Add 'self' argument.
2661 (remote_insert_hw_breakpoint): Add 'self' argument.
2662 (remote_supports_cond_breakpoints): Add 'self' argument.
2664 2014-02-19 Tom Tromey <tromey@redhat.com>
2666 * target.h (struct target_ops) <to_supports_string_tracing>: Add
2668 (target_supports_string_tracing): Add argument.
2669 * target.c (update_current_target): Update.
2670 * remote.c (remote_supports_string_tracing): Add 'self' argument.
2672 2014-02-19 Tom Tromey <tromey@redhat.com>
2674 * target.h (struct target_ops)
2675 <to_supports_disable_randomization>: Add argument.
2676 * target.c (find_default_supports_disable_randomization): Add
2678 (target_supports_disable_randomization): Add argument.
2679 (find_default_supports_disable_randomization): Add 'self'
2681 * remote.c (extended_remote_supports_disable_randomization): Add
2683 (remote_supports_disable_randomization): Add 'self' argument.
2684 (extended_remote_create_inferior): Update.
2685 * linux-nat.c (linux_nat_supports_disable_randomization): Add
2688 2014-02-19 Tom Tromey <tromey@redhat.com>
2690 * target.h (struct target_ops)
2691 <to_supports_enable_disable_tracepoint>: Add argument.
2692 (target_supports_enable_disable_tracepoint): Add argument.
2693 * target.c (update_current_target): Update.
2694 * remote.c (remote_supports_enable_disable_tracepoint): Add 'self'
2697 2014-02-19 Tom Tromey <tromey@redhat.com>
2699 * target.h (struct target_ops) <to_supports_multi_process>: Add
2701 (target_supports_multi_process): Add argument.
2702 * target.c (update_current_target): Update.
2703 * remote.c (remote_supports_multi_process): Add 'self' argument.
2704 * linux-nat.c (linux_nat_supports_multi_process): Add 'self'
2706 * darwin-nat.c (darwin_supports_multi_process): Add 'self'
2709 2014-02-19 Tom Tromey <tromey@redhat.com>
2711 * target.h (struct target_ops) <to_execution_direction>: Add
2713 (target_execution_direction): Add argument.
2714 * target.c (default_execution_direction): Add 'self' argument.
2715 * record-full.c (record_full_execution_direction): Add 'self'
2718 2014-02-19 Tom Tromey <tromey@redhat.com>
2720 * target.h (struct target_ops) <to_can_execute_reverse>: Add
2722 (target_can_execute_reverse): Add argument.
2723 * remote.c (remote_can_execute_reverse): Add 'self' argument.
2724 * record-full.c (record_full_can_execute_reverse): Add 'self'
2726 * record-btrace.c (record_btrace_can_execute_reverse): Add 'self'
2729 2014-02-19 Tom Tromey <tromey@redhat.com>
2731 * windows-nat.c (windows_get_ada_task_ptid): Add 'self' argument.
2732 * target.h (struct target_ops) <to_get_ada_task_ptid>: Add
2734 (target_get_ada_task_ptid): Add argument.
2735 * target.c (update_current_target): Update.
2736 (default_get_ada_task_ptid): Add 'self' argument.
2737 * sol-thread.c (sol_get_ada_task_ptid): Add 'self' argument.
2738 * remote.c (remote_get_ada_task_ptid): Add 'self' argument.
2739 * ravenscar-thread.c (ravenscar_get_ada_task_ptid): Add 'self'
2741 * linux-thread-db.c (thread_db_get_ada_task_ptid): Add 'self'
2743 * inf-ttrace.c (inf_ttrace_get_ada_task_ptid): Add 'self'
2745 * dec-thread.c (dec_thread_get_ada_task_ptid): Add 'self'
2747 * darwin-nat.c (darwin_get_ada_task_ptid): Add 'self' argument.
2748 * aix-thread.c (aix_thread_get_ada_task_ptid): Add 'self'
2751 2014-02-19 Tom Tromey <tromey@redhat.com>
2753 * target.h (struct target_ops) <to_goto_bookmark>: Add argument.
2754 (target_goto_bookmark): Add argument.
2755 * target.c (dummy_goto_bookmark): Add 'self' argument.
2756 * record-full.c (record_full_goto_bookmark): Add 'self' argument.
2758 2014-02-19 Tom Tromey <tromey@redhat.com>
2760 * target.h (struct target_ops) <to_get_bookmark>: Add argument.
2761 (target_get_bookmark): Add argument.
2762 * target.c (dummy_get_bookmark): Add 'self' argument.
2763 * record-full.c (record_full_get_bookmark): Add 'self' argument.
2765 2014-02-19 Tom Tromey <tromey@redhat.com>
2767 * target.h (struct target_ops) <to_make_corefile_notes>: Add
2769 (target_make_corefile_notes): Add argument.
2770 * target.c (dummy_make_corefile_notes): Add 'self' argument.
2771 * procfs.c (procfs_make_note_section): Add 'self' argument.
2772 (procfs_make_note_section): Add 'self' argument.
2773 (procfs_make_note_section): Add 'self' argument.
2774 * linux-nat.c (linux_nat_make_corefile_notes): Add 'self'
2776 * fbsd-nat.h (fbsd_make_corefile_notes): Add 'self' argument.
2777 * fbsd-nat.c (fbsd_make_corefile_notes): Add 'self' argument.
2778 * exec.c (exec_make_note_section): Add 'self' argument.
2779 (exec_make_note_section): Add 'self' argument.
2781 2014-02-19 Tom Tromey <tromey@redhat.com>
2783 * target.h (struct target_ops) <to_find_memory_regions>: Add
2785 (target_find_memory_regions): Add argument.
2786 * target.c (dummy_find_memory_regions): Add 'self' argument.
2787 * procfs.c (proc_find_memory_regions): Add 'self' argument.
2788 * gnu-nat.c (gnu_find_memory_regions): Add 'self' argument.
2789 * fbsd-nat.h (fbsd_find_memory_regions): Add 'self' argument.
2790 * fbsd-nat.c (fbsd_find_memory_regions): Add 'self' argument.
2791 * exec. (exec_do_find_memory_regions): New global.
2792 (exec_set_find_memory_regions): Rewrite.
2793 (exec_find_memory_regions): New function.
2794 (init_exec_ops): Use exec_find_memory_regions.
2796 2014-02-19 Tom Tromey <tromey@redhat.com>
2798 * target.h (struct target_ops) <to_supports_non_stop>: Add
2800 * target.c (find_default_supports_non_stop): Add argument.
2801 (target_supports_non_stop): Add argument.
2802 (find_default_supports_non_stop): Add 'self' argument.
2803 * remote.c (remote_supports_non_stop): Add 'self' argument.
2804 * linux-nat.c (linux_nat_supports_non_stop): Add 'self' argument.
2806 2014-02-19 Tom Tromey <tromey@redhat.com>
2808 * target.h (struct target_ops) <to_log_command>: Add argument.
2809 (target_log_command): Add argument.
2810 * serial.h (serial_log_command): Add 'self' argument.
2811 * serial.c (serial_log_command): Add 'self' argument.
2813 2014-02-19 Tom Tromey <tromey@redhat.com>
2815 * windows-nat.c (windows_pid_to_exec_file): Add 'self' argument.
2816 * target.h (struct target_ops) <to_pid_to_exec_file>: Add
2818 (target_pid_to_exec_file): Add argument.
2819 * target.c (debug_to_pid_to_exec_file): Add argument.
2820 (update_current_target): Update.
2821 * nbsd-nat.h (nbsd_pid_to_exec_file): Add 'self' argument.
2822 * nbsd-nat.c (nbsd_pid_to_exec_file): Add 'self' argument.
2823 * linux-nat.c (linux_child_pid_to_exec_file): Add 'self' argument.
2824 (linux_handle_extended_wait): Update.
2825 * inf-child.c (inf_child_pid_to_exec_file): Add 'self' argument.
2826 * fbsd-nat.h (fbsd_pid_to_exec_file): Add 'self' argument.
2827 * fbsd-nat.c (fbsd_pid_to_exec_file): Add 'self' argument.
2828 * darwin-nat.c (darwin_pid_to_exec_file): Add 'self' argument.
2830 2014-02-19 Tom Tromey <tromey@redhat.com>
2832 * target.h (struct target_ops) <to_rcmd>: Add argument.
2833 (target_rcmd): Add argument.
2834 * target.c (debug_to_rcmd): Add argument.
2835 (update_current_target, do_monitor_command): Update.
2836 * remote.c (remote_rcmd): Add 'self' argument.
2837 * monitor.c (monitor_rcmd): Add 'self' argument.
2839 2014-02-19 Tom Tromey <tromey@redhat.com>
2841 * windows-nat.c (windows_stop): Add 'self' argument.
2842 * target.h (struct target_ops) <to_stop>: Add argument.
2843 * target.c (target_stop): Add argument.
2844 (debug_to_stop): Add argument.
2845 (update_current_target): Update.
2846 * remote.c (remote_stop): Add 'self' argument.
2847 * remote-sim.c (gdbsim_stop): Add 'self' argument.
2848 (gdbsim_cntrl_c): Update.
2849 * remote-m32r-sdi.c (m32r_stop): Add 'self' argument.
2850 * procfs.c (procfs_stop): Add 'self' argument.
2851 * nto-procfs.c (procfs_stop): Add 'self' argument.
2852 * monitor.c (monitor_stop): Add 'self' argument.
2853 (monitor_open): Update.
2854 * linux-nat.c (linux_nat_stop): Add argument.
2855 * inf-ptrace.c (inf_ptrace_stop): Add 'self' argument.
2856 * gnu-nat.c (gnu_stop): Add 'self' argument.
2857 * darwin-nat.c (darwin_stop): Add 'self' argument.
2859 2014-02-19 Tom Tromey <tromey@redhat.com>
2861 * target.h (struct target_ops) <to_thread_name>: Add argument.
2862 * target.c (target_thread_name): Add argument.
2863 (update_current_target): Update.
2864 * linux-nat.c (linux_nat_thread_name): Add 'self' argument.
2866 2014-02-19 Tom Tromey <tromey@redhat.com>
2868 * target.h (struct target_ops) <to_extra_thread_info>: Add
2870 (target_extra_thread_info): Add argument.
2871 * target.c (update_current_target): Update.
2872 * remote.c (remote_threads_extra_info): Add 'self' argument.
2873 * ravenscar-thread.c (ravenscar_extra_thread_info): Add 'self'
2875 * nto-tdep.h (nto_extra_thread_info): Add 'self' argument.
2876 * nto-tdep.c (nto_extra_thread_info): Add 'self' argument.
2877 * linux-thread-db.c (thread_db_extra_thread_info): Add 'self'
2879 * inf-ttrace.c (inf_ttrace_extra_thread_info): Add 'self'
2881 * bsd-uthread.c (bsd_uthread_extra_thread_info): Add 'self'
2883 * aix-thread.c (aix_thread_extra_thread_info): Add 'self'
2886 2014-02-19 Tom Tromey <tromey@redhat.com>
2888 * target.h (struct target_ops) <to_program_signals>: Add argument.
2889 * target.c (target_program_signals): Add argument.
2890 * remote.c (remote_program_signals): Add 'self' argument.
2892 2014-02-19 Tom Tromey <tromey@redhat.com>
2894 * target.h (struct target_ops) <to_pass_signals>: Add argument.
2895 * target.c (target_pass_signals): Add argument.
2896 * remote.c (remote_pass_signals): Add 'self' argument.
2897 (remote_start_remote): Update.
2898 * procfs.c (procfs_pass_signals): Add 'self' argument.
2899 * nto-procfs.c (procfs_pass_signals): Add 'self' argument.
2900 * linux-nat.c (linux_nat_pass_signals): Add 'self' argument.
2901 (linux_nat_create_inferior, linux_nat_attach): Update.
2903 2014-02-19 Tom Tromey <tromey@redhat.com>
2905 * windows-nat.c (windows_can_run): Add 'self' argument.
2906 * target.h (struct target_ops) <to_can_run>: Add argument.
2907 (target_can_run): Add argument.
2908 * target.c (debug_to_can_run): Add argument.
2909 (update_current_target): Update.
2910 * nto-procfs.c (procfs_can_run): Add 'self' argument.
2911 * inf-child.c (inf_child_can_run): Add 'self' argument.
2912 * go32-nat.c (go32_can_run): Add 'self' argument.
2914 2014-02-19 Tom Tromey <tromey@redhat.com>
2916 * target.h (struct target_ops) <to_has_exited>: Add argument.
2917 (target_has_exited): Add argument.
2918 * target.c (debug_to_has_exited): Add argument.
2919 (update_current_target): Update.
2921 2014-02-19 Tom Tromey <tromey@redhat.com>
2923 * target.h (struct target_ops) <to_set_syscall_catchpoint>: Add
2925 (target_set_syscall_catchpoint): Add argument.
2926 * linux-nat.c (linux_child_set_syscall_catchpoint): Add 'self'
2928 * target.c (update_current_target): Update.
2930 2014-02-19 Tom Tromey <tromey@redhat.com>
2932 * target.h (struct target_ops) <to_remove_exec_catchpoint>: Add
2934 (target_remove_exec_catchpoint): Add argument.
2935 * target.c (debug_to_remove_exec_catchpoint): Add argument.
2936 (update_current_target): Update.
2937 * linux-nat.c (linux_child_remove_exec_catchpoint): Add 'self'
2940 2014-02-19 Tom Tromey <tromey@redhat.com>
2942 * target.h (struct target_ops) <to_insert_exec_catchpoint>: Add
2944 (target_insert_exec_catchpoint): Add argument.
2945 * target.c (debug_to_insert_exec_catchpoint): Add argument.
2946 (update_current_target): Update.
2947 * linux-nat.c (linux_child_insert_exec_catchpoint): Add 'self'
2950 2014-02-19 Tom Tromey <tromey@redhat.com>
2952 * target.h (struct target_ops) <to_remove_vfork_catchpoint>: Add
2954 (target_remove_vfork_catchpoint): Add argument.
2955 * target.c (debug_to_remove_vfork_catchpoint): Add argument.
2956 (update_current_target): Update.
2957 * linux-nat.c (linux_child_remove_vfork_catchpoint): Add 'self'
2960 2014-02-19 Tom Tromey <tromey@redhat.com>
2962 * target.h (struct target_ops) <to_insert_vfork_catchpoint>: Add
2964 (target_insert_vfork_catchpoint): Add argument.
2965 * target.c (debug_to_insert_vfork_catchpoint): Add argument.
2966 (update_current_target): Update.
2967 * linux-nat.c (linux_child_insert_vfork_catchpoint): Add 'self'
2970 2014-02-19 Tom Tromey <tromey@redhat.com>
2972 * target.h (struct target_ops) <to_remove_fork_catchpoint>: Add
2974 (target_remove_fork_catchpoint): Add argument.
2975 * target.c (debug_to_remove_fork_catchpoint): Add argument.
2976 (update_current_target): Update.
2977 * linux-nat.c (linux_child_remove_fork_catchpoint): Add 'self'
2980 2014-02-19 Tom Tromey <tromey@redhat.com>
2982 * target.h (struct target_ops) <to_insert_fork_catchpoint>: Add
2984 (target_insert_fork_catchpoint): Add argument.
2985 * target.c (debug_to_insert_fork_catchpoint): Add argument.
2986 (update_current_target): Update.
2987 * linux-nat.c (linux_child_insert_fork_catchpoint): Add 'self'
2990 2014-02-19 Tom Tromey <tromey@redhat.com>
2992 * target.h (struct target_ops) <to_post_startup_inferior>: Add
2994 (target_post_startup_inferior): Add argument.
2995 * target.c (debug_to_post_startup_inferior): Add argument.
2996 (update_current_target): Update.
2997 * spu-linux-nat.c (spu_child_post_startup_inferior): Add 'self'
2999 * linux-nat.c (linux_child_post_startup_inferior): Add 'self'
3001 * inf-ptrace.c (inf_ptrace_post_startup_inferior): Add 'self'
3003 * inf-child.c (inf_child_post_startup_inferior): Add 'self'
3005 * i386-linux-nat.c (i386_linux_child_post_startup_inferior): Add
3007 (super_post_startup_inferior): Likewise.
3008 * amd64-linux-nat.c (amd64_linux_child_post_startup_inferior): Add
3010 (super_post_startup_inferior): Likewise.
3011 * aarch64-linux-nat.c (aarch64_linux_child_post_startup_inferior):
3012 Add 'self' argument.
3013 (super_post_startup_inferior): Likewise.
3015 2014-02-19 Tom Tromey <tromey@redhat.com>
3017 * target.h (struct target_ops) <to_load>: Add argument.
3018 * target.c (target_load): Add argument.
3019 (debug_to_load): Add argument.
3020 (update_current_target): Update.
3021 * remote.c (remote_load): Add 'self' argument.
3022 * remote-sim.c (gdbsim_load): Add 'self' argument.
3023 * remote-mips.c (mips_load): Add 'self' argument.
3024 * remote-m32r-sdi.c (m32r_load): Add 'self' argument.
3025 * monitor.c (monitor_load): Add 'self' argument.
3026 * m32r-rom.c (m32r_load_gen): Add 'self' argument.
3028 2014-02-19 Tom Tromey <tromey@redhat.com>
3030 * target.h (struct target_ops) <to_terminal_info>: Add argument.
3031 (target_terminal_info): Add argument.
3032 * target.c (debug_to_terminal_info): Add argument.
3033 (default_terminal_info): Likewise.
3034 * inflow.c (child_terminal_info): Add 'self' argument.
3035 * inferior.h (child_terminal_info): Add 'self' argument.
3036 * go32-nat.c (go32_terminal_info): Add 'self' argument.
3038 2014-02-19 Tom Tromey <tromey@redhat.com>
3040 * target.h (struct target_ops) <to_terminal_save_ours>: Add
3042 (target_terminal_save_ours): Add argument.
3043 * target.c (debug_to_terminal_save_ours): Add argument.
3044 (update_current_target): Update.
3045 * inflow.c (terminal_save_ours): Add 'self' argument.
3046 * inferior.h (terminal_save_ours): Add 'self' argument.
3048 2014-02-19 Tom Tromey <tromey@redhat.com>
3050 * target.h (struct target_ops) <to_terminal_ours>: Add argument.
3051 (target_terminal_ours): Add argument.
3052 * target.c (debug_to_terminal_ours): Add argument.
3053 (update_current_target): Update.
3054 * remote.c (remote_terminal_ours): Add 'self' argument.
3055 (remote_close): Update.
3056 * linux-nat.c (linux_nat_terminal_ours): Add 'self' argument.
3057 * inflow.c (terminal_ours): Add 'self' argument.
3058 * inferior.h (terminal_ours): Add 'self' argument.
3059 * go32-nat.c (go32_terminal_ours): Add 'self' argument.
3061 2014-02-19 Pedro Alves <palves@redhat.com>
3062 Tom Tromey <tromey@redhat.com>
3064 * target.h (struct target_ops) <to_terminal_ours_for_output>: Add
3066 (target_terminal_ours_for_output): Add argument.
3067 * target.c (debug_to_terminal_ours_for_output): Add argument.
3068 (update_current_target): Update.
3069 * inflow.c (terminal_ours_for_output): Add 'self' argument.
3070 * inferior.h (terminal_ours_for_output): Add 'self' argument.
3071 * go32-nat.c (go32_terminal_ours): Add 'self' argument.
3073 2014-02-19 Tom Tromey <tromey@redhat.com>
3075 * target.h (struct target_ops) <to_terminal_inferior>: Add
3077 * target.c (target_terminal_inferior): Add argument.
3078 (update_current_target): Update.
3079 * remote.c (remote_terminal_inferior): Add 'self' argument.
3080 * linux-nat.c (linux_nat_terminal_inferior): Add 'self' argument.
3081 * inflow.c (terminal_inferior): Add 'self' argument.
3082 * inferior.h (terminal_inferior): Add 'self' argument.
3083 * go32-nat.c (go32_terminal_inferior): Add 'self' argument.
3084 (go32_terminal_inferior): Add 'self' argument.
3086 2014-02-19 Tom Tromey <tromey@redhat.com>
3088 * target.h (struct target_ops) <to_terminal_init>: Add argument.
3089 (target_terminal_init): Add argument.
3090 * target.c (debug_to_terminal_init): Add argument.
3091 (update_current_target): Update.
3092 * inflow.c (terminal_init_inferior): Add 'self' argument.
3093 * inferior.h (terminal_init_inferior): Add 'self' argument.
3094 * go32-nat.c (go32_terminal_init): Add 'self' argument.
3095 * gnu-nat.c (gnu_terminal_init_inferior): Add 'self' argument.
3097 2014-02-19 Tom Tromey <tromey@redhat.com>
3099 * target.h (struct target_ops)
3100 <to_can_accel_watchpoint_condition>: Add argument.
3101 (target_can_accel_watchpoint_condition): Add argument.
3102 * target.c (debug_to_can_accel_watchpoint_condition): Add
3104 (update_current_target): Update.
3105 * ppc-linux-nat.c (ppc_linux_can_accel_watchpoint_condition): Add
3108 2014-02-19 Tom Tromey <tromey@redhat.com>
3110 * target.h (struct target_ops) <to_region_ok_for_hw_watchpoint>:
3112 (target_region_ok_for_hw_watchpoint): Add argument.
3113 * target.c (debug_to_region_ok_for_hw_watchpoint): Add argument.
3114 (default_region_ok_for_hw_watchpoint): Add argument.
3115 * spu-multiarch.c (spu_region_ok_for_hw_watchpoint): Add argument.
3116 * s390-linux-nat.c (s390_region_ok_for_hw_watchpoint): Add 'self'
3118 * remote.c (remote_region_ok_for_hw_watchpoint): Add 'self'
3120 * procfs.c (procfs_region_ok_for_hw_watchpoint): Add 'self'
3122 * ppc-linux-nat.c (ppc_linux_region_ok_for_hw_watchpoint): Add
3124 * mips-linux-nat.c (mips_linux_region_ok_for_hw_watchpoint): Add
3126 * inf-ttrace.c (inf_ttrace_region_ok_for_hw_watchpoint): Add
3128 * i386-nat.c (i386_region_ok_for_watchpoint): Add 'self' argument.
3129 * arm-linux-nat.c (arm_linux_region_ok_for_hw_watchpoint): Add
3131 * aarch64-linux-nat.c (aarch64_linux_region_ok_for_hw_watchpoint):
3132 Add 'self' argument.
3134 2014-02-19 Tom Tromey <tromey@redhat.com>
3136 * target.h (struct target_ops) <to_insert_watchpoint>: Add
3138 (target_insert_watchpoint): Add argument.
3139 * target.c (debug_to_insert_watchpoint): Add argument.
3140 (update_current_target): Update.
3141 * s390-linux-nat.c (s390_insert_watchpoint): Add 'self' argument.
3142 * remote.c (remote_insert_watchpoint): Add 'self' argument.
3143 * remote-mips.c (mips_insert_watchpoint): Add 'self' argument.
3144 * remote-m32r-sdi.c (m32r_insert_watchpoint): Add 'self' argument.
3145 * procfs.c (procfs_insert_watchpoint): Add 'self' argument.
3146 * ppc-linux-nat.c (ppc_linux_insert_watchpoint): Add 'self'
3148 * nto-procfs.c (procfs_insert_hw_watchpoint): Add 'self' argument.
3149 (procfs_insert_hw_watchpoint): Add 'self' argument.
3150 * mips-linux-nat.c (mips_linux_insert_watchpoint): Add 'self'
3152 * inf-ttrace.c (inf_ttrace_insert_watchpoint): Add 'self'
3154 * ia64-linux-nat.c (ia64_linux_insert_watchpoint): Add 'self'
3156 * i386-nat.c (i386_insert_watchpoint): Add 'self' argument.
3157 * arm-linux-nat.c (arm_linux_insert_watchpoint): Add 'self'
3159 * aarch64-linux-nat.c (aarch64_linux_insert_watchpoint): Add
3162 2014-02-19 Tom Tromey <tromey@redhat.com>
3164 * target.h (struct target_ops) <to_remove_watchpoint>: Add
3166 (target_remove_watchpoint): Add argument.
3167 * target.c (debug_to_remove_watchpoint): Add argument.
3168 (update_current_target): Update.
3169 * s390-linux-nat.c (s390_remove_watchpoint): Add 'self' argument.
3170 * remote.c (remote_remove_watchpoint): Add 'self' argument.
3171 * remote-mips.c (mips_remove_watchpoint): Add 'self' argument.
3172 * remote-m32r-sdi.c (m32r_remove_watchpoint): Add 'self' argument.
3173 * procfs.c (procfs_remove_watchpoint): Add 'self' argument.
3174 * ppc-linux-nat.c (ppc_linux_remove_watchpoint): Add 'self'
3176 * nto-procfs.c (procfs_remove_hw_watchpoint): Add 'self' argument.
3177 * mips-linux-nat.c (mips_linux_remove_watchpoint): Add 'self'
3179 * inf-ttrace.c (inf_ttrace_remove_watchpoint): Add 'self'
3181 * ia64-linux-nat.c (ia64_linux_remove_watchpoint): Add 'self'
3183 * i386-nat.c (i386_remove_watchpoint): Add 'self' argument.
3184 * arm-linux-nat.c (arm_linux_remove_watchpoint): Add 'self'
3186 * aarch64-linux-nat.c (aarch64_linux_remove_watchpoint): Add
3189 2014-02-19 Tom Tromey <tromey@redhat.com>
3191 * target.h (struct target_ops) <to_remove_hw_breakpoint>: Add
3193 (target_remove_hw_breakpoint): Add argument.
3194 * target.c (debug_to_remove_hw_breakpoint): Add argument.
3195 (update_current_target): Update.
3196 * remote.c (remote_remove_hw_breakpoint): Add 'self' argument.
3197 * ppc-linux-nat.c (ppc_linux_remove_hw_breakpoint): Add 'self'
3199 * i386-nat.c (i386_remove_hw_breakpoint): Add 'self' argument.
3200 * arm-linux-nat.c (arm_linux_remove_hw_breakpoint): Add 'self'
3202 * aarch64-linux-nat.c (aarch64_linux_remove_hw_breakpoint): Add
3205 2014-02-19 Tom Tromey <tromey@redhat.com>
3207 * target.h (struct target_ops) <to_insert_hw_breakpoint>: Add
3209 (target_insert_hw_breakpoint): Add argument.
3210 * target.c (debug_to_insert_hw_breakpoint): Add argument.
3211 (update_current_target): Update.
3212 * remote.c (remote_insert_hw_breakpoint): Add 'self' argument.
3213 * ppc-linux-nat.c (ppc_linux_insert_hw_breakpoint): Add 'self'
3215 * nto-procfs.c (procfs_insert_hw_breakpoint): Add 'self' argument.
3216 * i386-nat.c (i386_insert_hw_breakpoint): Add 'self' argument.
3217 * arm-linux-nat.c (arm_linux_insert_hw_breakpoint): Add 'self'
3219 * aarch64-linux-nat.c (aarch64_linux_insert_hw_breakpoint): Add
3222 2014-02-19 Tom Tromey <tromey@redhat.com>
3224 * target.h (struct target_ops) <to_can_use_hw_breakpoint>: Add
3226 (target_can_use_hardware_watchpoint): Add argument.
3227 * target.c (debug_to_can_use_hw_breakpoint): Add argument.
3228 (update_current_target): Update.
3229 * spu-linux-nat.c (spu_can_use_hw_breakpoint): Add 'self'
3231 * s390-linux-nat.c (s390_can_use_hw_breakpoint): Add 'self'
3233 * remote.c (remote_check_watch_resources): Add 'self' argument.
3234 * remote-mips.c (mips_can_use_watchpoint): Add 'self' argument.
3235 * remote-m32r-sdi.c (m32r_can_use_hw_watchpoint): Add 'self'
3237 * procfs.c (procfs_can_use_hw_breakpoint): Add 'self' argument.
3238 * ppc-linux-nat.c (ppc_linux_can_use_hw_breakpoint): Add 'self'
3240 * nto-procfs.c (procfs_can_use_hw_breakpoint): Add 'self'
3242 * mips-linux-nat.c (mips_linux_can_use_hw_breakpoint): Add 'self'
3244 * inf-ttrace.c (inf_ttrace_can_use_hw_breakpoint): Add 'self'
3246 * ia64-linux-nat.c (ia64_linux_can_use_hw_breakpoint): Add 'self'
3248 * ia64-hpux-nat.c (ia64_hpux_can_use_hw_breakpoint): Add 'self'
3250 * i386-nat.c (i386_can_use_hw_breakpoint): Add 'self' argument.
3251 * arm-linux-nat.c (arm_linux_can_use_hw_breakpoint): Add 'self'
3253 * aarch64-linux-nat.c (aarch64_linux_can_use_hw_breakpoint): Add
3256 2014-02-19 Tom Tromey <tromey@redhat.com>
3258 * target.h (struct target_ops) <to_post_attach>: Add argument.
3259 (target_post_attach): Add argument.
3260 * target.c (debug_to_post_attach): Add argument.
3261 (update_current_target): Update.
3262 * spu-linux-nat.c (spu_child_post_attach): Add 'self' argument.
3263 * nto-procfs.c (procfs_post_attach): Add 'self' argument.
3264 * linux-nat.c (linux_child_post_attach): Add 'self' argument.
3265 * inf-ptrace.c (inf_ptrace_post_attach): Add 'self' argument.
3266 * inf-child.c (inf_child_post_attach): Add 'self' argument.
3268 2014-02-19 Tom Tromey <tromey@redhat.com>
3270 * windows-nat.c (windows_close): Add 'self' argument.
3271 * tracepoint.c (tfile_close): Add 'self' argument.
3272 * target.h (struct target_ops) <to_close>: Add argument.
3273 * target.c (target_close): Add argument.
3274 (update_current_target): Update.
3275 * remote.c (remote_close): Add 'self' argument.
3276 * remote-sim.c (gdbsim_close): Add 'self' argument.
3277 * remote-mips.c (mips_close): Add 'self' argument.
3278 * remote-m32r-sdi.c (m32r_close): Add 'self' argument.
3279 * record-full.c (record_full_close): Add 'self' argument.
3280 * record-btrace.c (record_btrace_close): Add 'self' argument.
3281 * monitor.h (monitor_close): Add 'self' argument.
3282 * monitor.c (monitor_close): Add 'self' argument.
3283 * mips-linux-nat.c (mips_linux_close): Add 'self' argument.
3284 * linux-nat.c (linux_nat_close): Add argument.
3285 * go32-nat.c (go32_close): Add 'self' argument.
3286 * exec.c (exec_close_1): Add 'self' argument.
3287 * ctf.c (ctf_close): Add 'self' argument.
3288 * corelow.c (core_close): Add 'self' argument.
3289 (core_close_cleanup): Update.
3290 * bsd-uthread.c (bsd_uthread_close): Add 'self' argument.
3291 * bsd-kvm.c (bsd_kvm_close): Add 'self' argument.
3293 2014-02-19 Tom Tromey <tromey@redhat.com>
3295 * remote.c (remote_load): New function.
3296 (init_remote_ops): Use it.
3298 2014-02-19 Tom Tromey <tromey@redhat.com>
3300 * common/linux-btrace.c (linux_supports_btrace): Add "ops"
3302 * common/linux-btrace.h (linux_supports_btrace): Update.
3303 * remote.c (remote_supports_btrace): Add "self" argument.
3304 * target-delegates.c: Rebuild.
3305 * target.c (target_supports_btrace): Remove.
3306 * target.h (struct target_ops) <to_supports_btrace>: Add
3307 target_ops argument.
3308 (target_supports_btrace): New define.
3310 2014-02-19 Tom Tromey <tromey@redhat.com>
3312 * record-full.c (record_full_beneath_to_resume_ops)
3313 (record_full_beneath_to_resume, record_full_beneath_to_wait_ops)
3314 (record_full_beneath_to_wait)
3315 (record_full_beneath_to_store_registers_ops)
3316 (record_full_beneath_to_store_registers)
3317 (record_full_beneath_to_xfer_partial_ops)
3318 (record_full_beneath_to_xfer_partial)
3319 (record_full_beneath_to_insert_breakpoint_ops)
3320 (record_full_beneath_to_insert_breakpoint)
3321 (record_full_beneath_to_remove_breakpoint_ops)
3322 (record_full_beneath_to_remove_breakpoint)
3323 (record_full_beneath_to_stopped_by_watchpoint)
3324 (record_full_beneath_to_stopped_data_address)
3325 (record_full_beneath_to_async, tmp_to_resume_ops, tmp_to_resume)
3326 (tmp_to_wait_ops, tmp_to_wait, tmp_to_store_registers_ops)
3327 (tmp_to_store_registers, tmp_to_xfer_partial_ops)
3328 (tmp_to_xfer_partial, tmp_to_instmp_to_insert_breakpoint_ops)
3329 (tmp_to_insert_breakpoint, tmp_to_remove_breakpoint_ops)
3330 (tmp_to_remove_breakpoint, tmp_to_stopped_by_watchpoint)
3331 (tmp_to_stopped_data_address, tmp_to_async): Remove.
3332 (record_full_open_1, record_full_open): Update. Use RECORD_IS_USED.
3333 (record_full_resume, record_full_wait_1)
3334 (record_full_stopped_by_watchpoint, record_full_stopped_data_address)
3335 (record_full_store_registers, record_full_xfer_partial)
3336 (record_full_insert_breakpoint, record_full_remove_breakpoint)
3337 (record_full_async, record_full_core_xfer_partial): Use target
3339 * target-delegates.c: Rebuild.
3340 * target.c (current_xfer_partial): Remove.
3341 (update_current_target): Do not INHERIT or de_fault
3342 to_insert_breakpoint, to_remove_breakpoint,
3343 to_stopped_data_address, to_stopped_by_watchpoint, to_can_async_p,
3344 to_is_async_p, to_async. Do not set to_xfer_partial field.
3345 (default_xfer_partial): Simplify.
3346 (current_xfer_partial): Remove.
3347 (target_wait, target_resume): Simplify.
3348 (find_default_can_async_p, find_default_is_async_p): Update.
3349 (init_dummy_target): Don't set to_can_async_p, to_is_async_p,
3350 to_xfer_partial, to_stopped_by_watchpoint,
3351 to_stopped_data_address.
3352 (target_store_registers): Simplify.
3353 (forward_target_remove_breakpoint)
3354 (forward_target_insert_breakpoint): Remove.
3355 (target_remove_breakpoint, target_insert_breakpoint)
3356 (debug_to_insert_breakpoint, debug_to_remove_breakpoint): Update.
3357 * target.h (struct target_ops) <to_resume, to_wait,
3358 to_store_registers, to_insert_breakpoint, to_remove_breakpoint,
3359 to_stopped_by_watchpoint, to_stopped_data_address, to_can_async_p,
3360 to_is_async_p, to_async, to_xfer_partial>: Add TARGET_DEFAULT
3362 (forward_target_remove_breakpoint)
3363 (forward_target_insert_breakpoint): Remove.
3364 * record-btrace.c (record_btrace_remove_breakpoint): Delegate
3366 (record_btrace_insert_breakpoint): Delegate directly.
3368 2014-02-19 Tom Tromey <tromey@redhat.com>
3371 * target-delegates.c: New file.
3372 * target.c: Include target-delegates.c.
3373 (init_dummy_target): Call install_dummy_methods.
3374 (complete_target_initialization): Call install_delegators.
3375 * target.h (TARGET_DEFAULT_IGNORE, TARGET_DEFAULT_NORETURN)
3376 (TARGET_DEFAULT_RETURN, TARGET_DEFAULT_FUNC): New defines.
3377 * make-target-delegates: New file.
3379 2014-02-19 Tom Tromey <tromey@redhat.com>
3381 * record.c (find_record_target): Use find_target_at.
3382 * target.c (find_target_at): New function.
3383 * target.h (find_target_at): Declare.
3385 2014-02-19 Tom Tromey <tromey@redhat.com>
3387 * aarch64-linux-nat.c (aarch64_linux_stopped_by_watchpoint):
3389 * arm-linux-nat.c (arm_linux_stopped_by_watchpoint): Add
3391 * i386-nat.c (i386_stopped_by_watchpoint): Add 'ops' argument.
3392 * ia64-linux-nat.c (ia64_linux_stopped_by_watchpoint): Add
3394 * inf-ttrace.c (inf_ttrace_stopped_by_watchpoint): Add 'ops'
3396 * linux-nat.c (save_sigtrap): Update.
3397 (linux_nat_stopped_by_watchpoint, linux_nat_is_async_p)
3398 (linux_nat_can_async_p, linux_nat_async): Add 'ops' argument.
3399 (linux_nat_close): Update.
3400 * mips-linux-nat.c (mips_linux_stopped_by_watchpoint): Add 'ops'
3402 * ppc-linux-nat.c (ppc_linux_stopped_by_watchpoint): Add 'ops'
3404 * procfs.c (procfs_stopped_by_watchpoint): Add 'ops' argument.
3405 * record-full.c (record_full_beneath_to_stopped_by_watchpoint)
3406 (record_full_beneath_to_async, tmp_to_stopped_by_watchpoint)
3407 (tmp_to_async): Add 'ops' argument.
3408 (record_full_stopped_by_watchpoint, record_full_async)
3409 (record_full_can_async_p, record_full_is_async_p): Add 'ops'
3411 * remote-m32r-sdi.c (m32r_insert_breakpoint, m32r_remove_breakpoint)
3412 (m32r_stopped_by_watchpoint): Add 'ops' argument.
3413 * remote-mips.c (mips_stopped_by_watchpoint): Add 'ops' argument.
3414 * remote.c (remote_stopped_by_watchpoint_p, remote_can_async_p)
3415 (remote_is_async_p, remote_async): Add 'ops' argument.
3416 (remote_stopped_data_address): Update.
3417 * s390-nat.c (s390_stopped_by_watchpoint): Add 'ops' argument.
3418 * target.c (update_current_target)
3419 (find_default_can_async_p, find_default_is_async_p): Update.
3420 (init_dummy_target): Update.
3421 (debug_to_stopped_by_watchpoint): Add 'ops' argument.
3422 * target.h (struct target_ops) <to_stopped_by_watchpoint,
3423 to_can_async_p, to_is_async_p, to_async>: Add 'ops' argument.
3424 (target_can_async_p, target_is_async_p, target_async)
3425 (target_stopped_by_watchpoint): Update.
3427 2014-02-19 Yao Qi <yao@codesourcery.com>
3430 * gdbarch.sh: Remove startup_gdbarch.
3431 * gdbarch.c: Regenerated.
3432 * gdbarch.h: Likewise.
3434 2014-02-17 Kevin Buettner <kevinb@redhat.com>
3436 * rl78-tdep.c (rl78_g10_register_name): New function.
3437 (rl78_return_value): Add g10 support.
3438 (rl78_gdbarch_init): Register rl78_g10_register_name for the
3441 2014-02-17 Doug Evans <xdje42@gmail.com>
3443 * Makefile.in (SUBDIR_GUILE_OBS): Resort alphabetically.
3444 (SUBDIR_GUILE_SRCS): Ditto.
3445 (scm-gsmob.o): Ditto.
3447 2014-02-17 Yao Qi <yao@codesourcery.com>
3449 * gnu-nat.c (ILL_RPC): Declare defined function.
3451 2014-02-17 Yao Qi <yao@codesourcery.com>
3453 * gnu-nat.c (gnu_read_inferior): Change 'copy_count' type to
3454 mach_msg_type_number_t.
3455 (gnu_write_inferior): Likewise.
3457 2014-02-17 Yao Qi <yao@codesourcery.com>
3459 * gnu-nat.c (proc_get_exception_port): Use 'lu' insetad of 'd'
3461 (proc_steal_exc_port, make_proc, inf_set_pid): Likewise.
3462 (inf_validate_procs, inf_signal): Likewise.
3463 (S_exception_raise_request): Likewise.
3464 (do_mach_notify_dead_name): Likewise.
3465 (steal_exc_port): Likewise.
3466 (gnu_read_inferior): Change 'copy_count''s type to
3467 mach_msg_type_number_t.
3468 (gnu_write_inferior): Likewise. Use 'lx' instead of 'x' in
3471 2014-02-16 Thomas Schwinge <thomas@codesourcery.com>
3473 * gnu-nat.c (struct inf): Change pending_execs member to a 1-bit
3474 flag. Adjust all users; in particular...
3475 (gnu_wait): ..., don't decrement its value in here...
3476 (gnu_create_inferior): ..., and instead set the flag in here,
3477 around the startup_inferior call, and call that one with
3478 START_INFERIOR_TRAPS_EXPECTED.
3480 * gnu-nat.c (ill_rpc): Remove function; replaced with this...
3481 (ILL_RPC): ... new macro.
3482 (do_mach_notify_no_senders, do_mach_notify_port_deleted)
3483 (do_mach_notify_msg_accepted, do_mach_notify_port_destroyed)
3484 (do_mach_notify_send_once, S_proc_setmsgport_reply)
3485 (S_proc_getmsgport_reply, S_msg_sig_post_reply): Generate stub
3486 functions with ILL_RPC macro.
3487 (S_proc_pid2task_reply, S_proc_task2pid_reply)
3488 (S_proc_task2proc_reply, S_proc_proc2task_reply)
3489 (S_proc_pid2proc_reply, S_proc_getprocinfo_reply)
3490 (S_proc_getprocargs_reply, S_proc_getprocenv_reply)
3491 (S_proc_getloginid_reply, S_proc_getloginpids_reply)
3492 (S_proc_getlogin_reply, S_proc_getsid_reply)
3493 (S_proc_getsessionpgids_reply, S_proc_getsessionpids_reply)
3494 (S_proc_getsidport_reply, S_proc_getpgrp_reply)
3495 (S_proc_getpgrppids_reply, S_proc_get_tty_reply)
3496 (S_proc_getnports_reply, S_proc_is_important_reply)
3497 (S_proc_get_code_reply): New stub functions, generated with
3500 * reply_mig_hack.awk: In phase 5, keep going if we have not yet
3501 collected the type check structures.
3503 * reply_mig_hack.awk: Don't expect to see the auto keyword.
3505 2014-02-14 Doug Evans <dje@google.com>
3507 * target.c (target_write_partial): Fix result type.
3509 2014-02-14 Jose E. Marchesi <jose.marchesi@oracle.com>
3511 * sparc64-linux-nat.c (_initialize_sparc64_linux_nat): Register
3512 the proper offsets to access fpregset_t.
3514 2014-02-13 Sanimir Agovic <sanimir.agovic@intel.com>
3516 * cris-tdep.c (cris_supply_gregset): Remove zerobuf.
3517 (_initialize_cris_tdep): Remove cris_set_cmdlist, cris_show_cmdlist.
3518 * h8300-tdep.c (setmachinelist): Remove global.
3519 * hppa-tdep.c (hppa_sigtramp): Remove global.
3520 * mipsnbsd-tdep.c (sigtramp_retcode_mipsel, sigtramp_retcode_mipseb
3521 RETCODE_NWORDS, RETCODE_SIZE): Wrap code with #if 0.
3522 * ravenscar-thread.c (update_target_observer): Remove global.
3523 * rs6000-tdep.c (rs6000_gdbarch_init): Remove segment_regs.
3525 2014-02-12 Tom Tromey <tromey@redhat.com>
3527 * common/rsp-low.c: Update comments.
3528 * common/rsp-low.h: Update comments.
3530 2014-02-12 Tom Tromey <tromey@redhat.com>
3532 * common/rsp-low.c (convert_ascii_to_int): Remove.
3533 * common/rsp-low.h (convert_ascii_to_int): Don't declare.
3535 2014-02-12 Tom Tromey <tromey@redhat.com>
3537 * common/rsp-low.h (unhexify): Don't declare.
3538 * common/rsp-low.c (unhexify): Remove.
3540 2014-02-12 Tom Tromey <tromey@redhat.com>
3542 * common/rsp-low.h (convert_int_to_ascii): Don't declare.
3543 * common/rsp-low.c (convert_int_to_ascii): Remove.
3545 2014-02-12 Tom Tromey <tromey@redhat.com>
3547 * common/rsp-low.h (hexify): Don't declare.
3548 * common/rsp-low.c (hexify): Remove.
3550 2014-02-12 Tom Tromey <tromey@redhat.com>
3552 * common/rsp-low.c (hexify): Never take strlen of argument.
3554 2014-02-12 Tom Tromey <tromey@redhat.com>
3556 * common/rsp-low.c (bin2hex): Never take strlen of argument.
3557 * remote.c (extended_remote_run, remote_rcmd)
3558 (remote_download_trace_state_variable, remote_save_trace_data)
3559 (remote_set_trace_notes): Update.
3560 * tracepoint.c (encode_source_string, tfile_write_status)
3561 (tfile_write_uploaded_tsv): Update.
3563 2014-02-12 Tom Tromey <tromey@redhat.com>
3565 * tracepoint.c: Include rsp-low.h.
3566 * remote.h (hex2bin, bin2hex, unpack_varlen_hex): Don't declare.
3567 * remote.c: Include rsp-low.h.
3568 (hexchars, ishex, unpack_varlen_hex, pack_nibble, pack_hex_byte)
3569 (fromhex, hex2bin, tohex, bin2hex, remote_escape_output)
3570 (remote_unescape_input): Move to common/rsp-low.c.
3571 * common/rsp-low.h: New file.
3572 * common/rsp-low.c: New file.
3573 * Makefile.in (SFILES): Add common/rsp-low.c.
3574 (HFILES_NO_SRCDIR): Add common/rsp-low.h.
3575 (COMMON_OBS): Add rsp-low.o.
3576 (rsp-low.o): New target.
3578 2014-02-12 Tom Tromey <tromey@redhat.com>
3580 * utils.h: Include print-utils.h.
3581 (host_address_to_string, plongest, pulongest, phex, phex_nz)
3582 (int_string, core_addr_to_string, core_addr_to_string_nz)
3583 (hex_string, hex_string_custom): Don't declare.
3584 * utils.c (NUMCELLS, CELLSIZE, get_cell, decimal2str, pulongest)
3585 (plongest, thirty_two, phex, phex_nz, octal2str, hex_string)
3586 (hex_string_custom, int_string, core_addr_to_string)
3587 (core_addr_to_string_nz, host_address_to_string): Move to
3588 common/print-utils.c.
3589 * common/print-utils.h: New file.
3590 * common/print-utils.c: New file
3591 * Makefile.in (SFILES): Add common/print-utils.c.
3592 (HFILES_NO_SRCDIR): Add common/print-utils.h.
3593 (COMMON_OBS): Add print-utils.o.
3594 (print-utils.o): New target.
3596 2014-02-12 Tom Tromey <tromey@redhat.com>
3598 * nios2-tdep.c (nios2_stub_frame_base_address): Remove.
3600 2014-02-12 Mark Kettenis <kettenis@gnu.org>
3602 * sparc64obsd-tdep.c (sparc64obsd_init_abi): Call obsd_init_abi.
3604 2014-02-12 Mark Kettenis <kettenis@gnu.org>
3606 * inf-ptrace.c (inf_ptrace_xfer_partial): Return TARGET_XFER_EOF
3607 if a PT_IO ptrace request returns sucessfully but indicates that 0
3608 bytes were transferred.
3610 2014-02-12 Pedro Alves <palves@redhat.com>
3611 Kevin Buettner <kevinb@redhat.com>
3613 * gnu-v3-abi.c (build_gdb_vtable_type): Return a type marked with
3614 TYPE_INSTANCE_FLAG_CODE_SPACE.
3616 2014-02-12 Pedro Alves <palves@redhat.com>
3618 * h8300-tdep.c (pseudo_from_raw_register)
3619 (raw_from_pseudo_register): New functions.
3620 (h8300_pseudo_register_read, h8300_pseudo_register_write): Use
3623 2014-02-12 Pedro Alves <palves@redhat.com>
3625 * h8300-tdep.c (h8300_register_sim_regno): New function.
3626 (h8300_gdbarch_init): Install h8300_register_sim_regno as
3627 gdbarch_register_sim_regno hook.
3629 2014-02-12 Sanimir Agovic <sanimir.agovic@intel.com>
3631 * nios2-tdep.c (nios2_stub_frame_base): Remove global.
3633 2014-02-12 Sanimir Agovic <sanimir.agovic@intel.com>
3635 * tic6x-tdep.c (tic6x_gdbarch_init): Call frame_base_set_default.
3637 2014-02-12 Mark Kettenis <kettenis@gnu.org>
3639 * obsd-tdep.h (obsd_init_abi): New prototype.
3640 * obsd-tdep.c: Define enum with OpenBSD signal numbers.
3641 (obsd_gdb_signal_from_target, obsd_gdb_signal_to_target)
3642 (obsd_init_abi): New functions.
3643 * i386obsd-tdep.c: Include "obsd-tdep.h".
3644 (i386obsd_init_abi): Call obsd_init_abi.
3645 * amd64obsd-tdep.c: Include "obsd-tdep.h".
3646 (amd64obsd_init_abi): Call obsd_init_abi.
3647 * configure.tgt (i[34567]86-*-openbsd*, x86_64-*-openbsd*): Add
3648 obsd-tdep.c to gdb_target_obs.
3650 2014-02-11 Jose E. Marchesi <jose.marchesi@oracle.com>
3652 * sparc64-tdep.c (sparc64_store_arguments): Do not align complex
3653 double float arguments to 16-byte in the argument slots.
3655 2014-02-11 Doug Evans <xdje42@gmail.com>
3657 * configure.ac: Don't crash if pkg-config is not found and guile
3658 wasn't explicitly requested. Use AC_MSG_ERROR instead of AC_ERROR
3660 * configure: Regenerate.
3662 2014-02-11 Yao Qi <yao@codesourcery.com>
3664 * aix-thread.c (aix_thread_xfer_partial): Update comments.
3665 * auxv.c (procfs_xfer_auxv, memory_xfer_auxv): Likewise.
3666 * bsd-uthread.c (bsd_uthread_xfer_partial): Likewise.
3667 * gnu-nat.c (gnu_xfer_memory): Likewise.
3668 * inf-ptrace.c (inf_ptrace_xfer_partial): Likewise.
3669 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
3670 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
3671 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise.
3673 2014-02-11 Yao Qi <yao@codesourcery.com>
3675 * target.h (enum target_xfer_error): Rename to ...
3676 (enum target_xfer_status): ... it. New. All users updated.
3677 (enum target_xfer_status) <TARGET_XFER_OK>, <TARGET_XFER_EOF>:
3679 (TARGET_XFER_STATUS_ERROR_P): New macro.
3680 (target_xfer_error_to_string): Remove declaration.
3681 (target_xfer_status_to_string): Declare.
3682 (target_xfer_partial_ftype): Adjust it.
3683 (struct target_ops) <to_xfer_partial>: Return
3684 target_xfer_status. Add argument xfered_len. Update
3686 * target.c (target_xfer_error_to_string): Rename to ...
3687 (target_xfer_status_to_string): ... it. New. All callers
3689 (target_read_live_memory): Likewise. Call target_xfer_partial
3690 instead of target_read.
3691 (memory_xfer_live_readonly_partial): Return
3692 target_xfer_status. Add argument xfered_len.
3693 (raw_memory_xfer_partial): Likewise.
3694 (memory_xfer_partial_1): Likewise.
3695 (memory_xfer_partial): Likewise.
3696 (target_xfer_partial): Likewise. Check *XFERED_LEN is set
3697 properly. Update debug message.
3698 (default_xfer_partial, current_xfer_partial): Likewise.
3699 (target_write_partial): Likewise.
3700 (target_read_partial): Likewise. All callers updated.
3701 (read_whatever_is_readable): Likewise.
3702 (target_write_with_progress): Likewise.
3703 (target_read_alloc_1): Likewise.
3705 * aix-thread.c (aix_thread_xfer_partial): Likewise.
3706 * auxv.c (procfs_xfer_auxv): Likewise.
3707 (ld_so_xfer_auxv, memory_xfer_auxv): Likewise.
3708 * bfd-target.c (target_bfd_xfer_partial): Likewise.
3709 * bsd-kvm.c (bsd_kvm_xfer_partial): Likewise.
3710 * bsd-uthread.c (bsd_uthread_xfer_partia): Likewise.
3711 * corefile.c (read_memory): Adjust.
3712 * corelow.c (core_xfer_partial): Likewise.
3713 * ctf.c (ctf_xfer_partial): Likewise.
3714 * darwin-nat.c (darwin_read_dyld_info): Likewise. All callers
3716 (darwin_xfer_partial): Likewise.
3717 * exec.c (section_table_xfer_memory_partial): Likewise. All
3719 (exec_xfer_partial): Likewise.
3720 * exec.h (section_table_xfer_memory_partial): Update
3722 * gnu-nat.c (gnu_xfer_memory): Likewise. Assert 'res' is not
3724 (gnu_xfer_partial): Likewise.
3725 * ia64-hpux-nat.c (ia64_hpux_xfer_memory_no_bs): Likewise.
3726 (ia64_hpux_xfer_memory, ia64_hpux_xfer_uregs): Likewise.
3727 (ia64_hpux_xfer_solib_got): Likewise.
3728 * inf-ptrace.c (inf_ptrace_xfer_partial): Likewise. Change
3729 type of 'partial_len' to ULONGEST.
3730 * inf-ttrace.c (inf_ttrace_xfer_partial): Likewise.
3731 * linux-nat.c (linux_xfer_siginfo ): Likewise.
3732 (linux_nat_xfer_partial): Likewise.
3733 (linux_proc_xfer_partial, linux_xfer_partial): Likewise.
3734 (linux_proc_xfer_spu, linux_nat_xfer_osdata): Likewise.
3735 * monitor.c (monitor_xfer_memory): Likewise.
3736 (monitor_xfer_partial): Likewise.
3737 * procfs.c (procfs_xfer_partial): Likewise.
3738 * record-btrace.c (record_btrace_xfer_partial): Likewise.
3739 * record-full.c (record_full_xfer_partial): Likewise.
3740 (record_full_core_xfer_partial): Likewise.
3741 * remote-sim.c (gdbsim_xfer_memory): Likewise.
3742 (gdbsim_xfer_partial): Likewise.
3743 * remote.c (remote_write_bytes_aux): Likewise. All callers
3745 (remote_write_bytes, remote_read_bytes): Likewise. All
3747 (remote_flash_erase): Likewise. All callers updated.
3748 (remote_write_qxfer): Likewise. All callers updated.
3749 (remote_read_qxfer): Likewise. All callers updated.
3750 (remote_xfer_partial): Likewise.
3751 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
3752 (rs6000_xfer_shared_libraries): Likewise.
3753 * sol-thread.c (sol_thread_xfer_partial): Likewise.
3754 (sol_thread_xfer_partial): Likewise.
3755 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
3756 (sparc_xfer_partial): Likewise.
3757 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise. All callers
3759 (spu_xfer_partial): Likewise.
3760 * spu-multiarch.c (spu_xfer_partial): Likewise.
3761 * tracepoint.c (tfile_xfer_partial): Likewise.
3762 * windows-nat.c (windows_xfer_memory): Likewise.
3763 (windows_xfer_shared_libraries): Likewise.
3764 (windows_xfer_partial): Likewise.
3765 * valprint.c: Replace 'target_xfer_error' with
3766 'target_xfer_status' in comments.
3768 2014-02-11 Simon Marchi <simon.marchi@ericsson.com> (tiny patch)
3770 Checked in by Joel Brobecker <brobecker@adacore.com>.
3771 * mi/mi-main.c (mi_cmd_data_write_memory_bytes): Fix comment.
3773 2014-02-11 Joel Brobecker <brobecker@adacore.com>
3775 * symfile-debug.c (debug_qf_expand_symtabs_matching): Reformat
3776 function parameters.
3778 2014-02-10 Will Newton <will.newton@linaro.org>
3780 * elfread.c (elf_rel_plt_read): Look for a .got section if
3781 looking up .got.plt fails.
3782 (elf_gnu_ifunc_resolve_by_got): Call gdbarch_addr_bits_remove
3783 on address passed to elf_gnu_ifunc_record_cache.
3784 (elf_gnu_ifunc_resolve_addr): Likewise.
3785 (elf_gnu_ifunc_resolver_return_stop): Likewise.
3787 2014-02-10 Jose E. Marchesi <jose.marchesi@oracle.com>
3789 * sparc-tdep.c (sparc_in_function_epilogue_p): New function.
3790 (X_RETTURN): New macro.
3791 * sparc-tdep.h: sparc_in_function_epilogue_p prototype.
3793 * sparc64-tdep.c (sparc64_init_abi): Hook
3794 sparc_in_function_epilogue_p.
3796 2014-02-10 Gary Benson <gbenson@redhat.com>
3798 * symfile-debug.c (debug_qf_expand_symtabs_matching):
3799 Rename name_matcher to symbol_matcher.
3801 2014-02-10 Gary Benson <gbenson@redhat.com>
3803 * symfile-debug.c (debug_qf_expand_symtabs_matching):
3804 Use expand_symtabs_file_matcher_ftype and
3805 expand_symtabs_symbol_matcher_ftype.
3807 2014-02-10 Joel Brobecker <brobecker@adacore.com>
3809 * ada-lang.c (struct cache_entry, HASH_SIZE): Move definition up.
3810 (struct ada_symbol_cache): New.
3811 (ada_free_symbol_cache): Forward declare.
3812 (struct ada_pspace_data): New.
3813 (ada_pspace_data_handle): New static global.
3814 (get_ada_pspace_data, ada_pspace_data_cleanup)
3815 (ada_init_symbol_cache, ada_free_symbol_cache): New functions.
3816 (cache_space, cache): Delete, now folded inside struct
3818 (ada_get_symbol_cache): New function.
3819 (ada_clear_symbol_cache, find_entry, cache_symbol): Adjust
3821 (_initialize_ada_language): Remove initialization of cache_space.
3822 Move call to observer_attach_inferior_exit up, grouping it
3823 with the other observer registrations inside this function.
3824 Rename command to be more general. Add call to
3825 register_program_space_data_with_cleanup.
3827 2014-02-10 Joel Brobecker <brobecker@adacore.com>
3829 * ada-tasks.c (ada_tasks_new_objfile_observer): Renames
3830 ada_new_objfile_observer.
3831 (ada_tasks_normal_stop_observer): Renames ada_normal_stop_observer.
3832 (_initialize_tasks): Update uses of ada_new_objfile_observer
3833 and ada_tasks_normal_stop_observer.
3835 2014-02-10 Joel Brobecker <brobecker@adacore.com>
3837 * ada-lang.c (ada_evaluate_subexp): Set the type of the value
3838 returned by the 'Length attribute to integer.
3840 2014-02-10 Joel Brobecker <brobecker@adacore.com>
3842 * ada-lang.c (_initialize_ada_language): Initialize
3843 cache_space obstack.
3845 2014-02-10 Joel Brobecker <brobecker@adacore.com>
3847 * ada-lang.c (HASH_SIZE): New macro.
3848 (struct cache_entry): New type.
3849 (cache_space, cache): New static globals.
3850 (ada_clear_symbol_cache, find_entry): New functions.
3851 (lookup_cached_symbol, cache_symbol): Implement.
3852 (ada_new_objfile_observer, ada_free_objfile_observer): New.
3853 (_initialize_ada_language): Attach ada_new_objfile_observer
3854 and ada_free_objfile_observer.
3856 2014-02-10 Joel Brobecker <brobecker@adacore.com>
3858 * ada-lang.c (ada_add_block_symbols, add_defn_to_vec)
3859 (lookup_cached_symbol, ada_add_local_symbols): Add "const" to
3860 struct block * parameter.
3861 (ada_lookup_symbol_list_worker): Constify local variable "block".
3862 Remove cast which is no longer necessary.
3864 2014-02-10 Doug Evans <xdje42@gmail.com>
3866 Add Guile as an extension language.
3867 * NEWS: Mention Guile scripting.
3868 * Makefile.in (SUBDIR_GUILE_OBS): New variable.
3869 (SUBDIR_GUILE_SRCS, SUBDIR_GUILE_DEPS): New variables
3870 (SUBDIR_GUILE_LDFLAGS, SUBDIR_GUILE_CFLAGS): New variables.
3871 (INTERNAL_CPPFLAGS): Add GUILE_CPPFLAGS.
3872 (CLIBS): Add GUILE_LIBS.
3873 (install-guile): New rule.
3874 (guile.o): New rule.
3875 (scm-arch.o, scm-auto-load.o, scm-block.o): New rules.
3876 (scm-breakpoint.o, scm-disasm.o, scm-exception.o): New rules.
3877 (scm-frame.o, scm-iterator.o, scm-lazy-string.o): New rules.
3878 (scm-math.o, scm-objfile.o, scm-ports.o): New rules.
3879 (scm-pretty-print.o, scm-safe-call.o, scm-gsmob.o): New rules.
3880 (scm-string.o, scm-symbol.o, scm-symtab.o): New rules.
3881 (scm-type.o, scm-utils.o, scm-value.o): New rules.
3882 * configure.ac: New option --with-guile.
3883 * configure: Regenerate.
3884 * config.in: Regenerate.
3885 * auto-load.c: Remove #include "python/python.h". Add #include
3886 "gdb/section-scripts.h".
3887 (source_section_scripts): Handle Guile scripts.
3888 (_initialize_auto_load): Add name of Guile objfile script to
3889 scripts-directory help text.
3890 * breakpoint.c (condition_command): Tweak comment to include Scheme.
3891 * breakpoint.h (gdbscm_breakpoint_object): Add forward decl.
3892 (struct breakpoint): New member scm_bp_object.
3893 * defs.h (enum command_control_type): New value guile_control.
3894 * cli/cli-cmds.c: Remove #include "python/python.h". Add #include
3896 (show_user): Update comment.
3897 (_initialize_cli_cmds): Update help text for "show user". Update help
3898 text for max-user-call-depth.
3899 * cli/cli-script.c: Remove #include "python/python.h". Add #include
3901 (multi_line_command_p): Add guile_control.
3902 (print_command_lines): Handle guile_control.
3903 (execute_control_command, recurse_read_control_structure): Ditto.
3904 (process_next_line): Recognize "guile" commands.
3905 * disasm.c (gdb_disassemble_info): Make non-static.
3906 * disasm.h: #include "dis-asm.h".
3907 (struct gdbarch): Add forward decl.
3908 (gdb_disassemble_info): Declare.
3909 * extension.c: #include "guile/guile.h".
3910 (extension_languages): Add guile.
3911 (get_ext_lang_defn): Handle EXT_LANG_GDB.
3912 * extension.h (enum extension_language): New value EXT_LANG_GUILE.
3913 * gdbtypes.c (get_unsigned_type_max): New function.
3914 (get_signed_type_minmax): New function.
3915 * gdbtypes.h (get_unsigned_type_max): Declare.
3916 (get_signed_type_minmax): Declare.
3917 * guile/README: New file.
3918 * guile/guile-internal.h: New file.
3919 * guile/guile.c: New file.
3920 * guile/guile.h: New file.
3921 * guile/scm-arch.c: New file.
3922 * guile/scm-auto-load.c: New file.
3923 * guile/scm-block.c: New file.
3924 * guile/scm-breakpoint.c: New file.
3925 * guile/scm-disasm.c: New file.
3926 * guile/scm-exception.c: New file.
3927 * guile/scm-frame.c: New file.
3928 * guile/scm-gsmob.c: New file.
3929 * guile/scm-iterator.c: New file.
3930 * guile/scm-lazy-string.c: New file.
3931 * guile/scm-math.c: New file.
3932 * guile/scm-objfile.c: New file.
3933 * guile/scm-ports.c: New file.
3934 * guile/scm-pretty-print.c: New file.
3935 * guile/scm-safe-call.c: New file.
3936 * guile/scm-string.c: New file.
3937 * guile/scm-symbol.c: New file.
3938 * guile/scm-symtab.c: New file.
3939 * guile/scm-type.c: New file.
3940 * guile/scm-utils.c: New file.
3941 * guile/scm-value.c: New file.
3942 * guile/lib/gdb.scm: New file.
3943 * guile/lib/gdb/boot.scm: New file.
3944 * guile/lib/gdb/experimental.scm: New file.
3945 * guile/lib/gdb/init.scm: New file.
3946 * guile/lib/gdb/iterator.scm: New file.
3947 * guile/lib/gdb/printing.scm: New file.
3948 * guile/lib/gdb/types.scm: New file.
3949 * data-directory/Makefile.in (GUILE_SRCDIR): New variable.
3950 (VPATH): Add $(GUILE_SRCDIR).
3951 (GUILE_DIR): New variable.
3952 (GUILE_INSTALL_DIR, GUILE_FILES): New variables.
3953 (all): Add stamp-guile dependency.
3954 (stamp-guile): New rule.
3955 (clean-guile, install-guile, uninstall-guile): New rules.
3956 (install-only): Add install-guile dependency.
3957 (uninstall): Add uninstall-guile dependency.
3958 (clean): Add clean-guile dependency.
3960 2014-02-09 Doug Evans <xdje42@gmail.com>
3962 Revert this patch (which I approved, mea culpa).
3964 2014-02-08 Mark Kettenis <kettenis@gnu.org>
3966 * Makefile.in (all-lib): Remove.
3967 ($(LIBGNU) $(GNULIB_H)): Replace with gits of remove all-lib target.
3969 2014-02-09 Jan Kratochvil <jan.kratochvil@redhat.com>
3971 Fix Python stack corruption.
3972 * python/py-linetable.c (ltpy_get_pcs_for_line, ltpy_has_line): Use
3975 2014-02-08 Mark Kettenis <kettenis@gnu.org>
3977 * Makefile.in (all-lib): Remove.
3978 ($(LIBGNU) $(GNULIB_H)): Replace with gits of remove all-lib target.
3980 2014-02-07 Doug Evans <dje@google.com>
3982 * extension-priv.h (extension_language_script_ops): Add comment.
3983 (extension_language_ops): Add comment.
3984 (active_ext_lang_state): Fix typo in comment.
3986 2014-02-07 Pedro Alves <palves@redhat.com>
3988 PR breakpoints/16292
3989 * infrun.c (handle_signal_stop) <signal arrives while stepping
3990 over a breakpoint>: Switch back to the stepping thread.
3992 2014-02-07 Yao Qi <yao@codesourcery.com>
3994 * target.c (target_xfer_partial): Return zero if LEN is zero.
3996 2014-02-07 Yao Qi <yao@codesourcery.com>
3998 * auxv.c (procfs_xfer_auxv): Replace -1 with TARGET_XFER_E_IO.
3999 (ld_so_xfer_auxv): Likewise.
4000 * bfd-target.c (target_bfd_xfer_partial): Likewise.
4001 * bsd-kvm.c (bsd_kvm_xfer_partial): Likewise.
4002 * corelow.c (core_xfer_partial): Likewise.
4003 * ctf.c (ctf_xfer_partial): Likewise.
4004 * darwin-nat.c (darwin_read_dyld_info): Likewise.
4005 (darwin_xfer_partial): Likewise.
4006 * exec.c (exec_xfer_partial): Likewise.
4007 * gnu-nat.c (gnu_xfer_partial): Likewise.
4008 * ia64-hpux-nat.c (ia64_hpux_xfer_uregs): Likewise.
4009 * inf-ptrace.c (inf_ptrace_xfer_partial): Likewise.
4010 * inf-ttrace.c (inf_ttrace_xfer_partial): Likewise.
4011 * linux-nat.c (linux_xfer_siginfo): Likewise.
4012 (linux_proc_xfer_spu): Likewise.
4013 * procfs.c (procfs_xfer_partial): Likewise.
4014 * record-full.c (record_full_xfer_partial): Likewise.
4015 (record_full_core_xfer_partial): Likewise.
4016 * remote-sim.c (gdbsim_xfer_partial): Likewise.
4017 * remote.c (remote_write_qxfer): Likewise.
4018 (remote_write_qxfer, remote_read_qxfer): Likewise.
4019 (remote_xfer_partial): Likewise.
4020 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
4021 (rs6000_xfer_shared_libraries): Likewise.
4022 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
4023 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise.
4024 (spu_xfer_partial): Likewise.
4025 * target.c (memory_xfer_partial_1): Likewise.
4026 * tracepoint.c (tfile_xfer_partial): Likewise.
4027 * windows-nat.c (windows_xfer_shared_libraries): Likewise.
4028 (windows_xfer_partial): Likewise.
4030 2014-02-07 Yao Qi <yao@codesourcery.com>
4032 * gdbarch.sh (core_xfer_shared_libraries): Returns ULONGEST. Add
4034 (core_xfer_shared_libraries_aix): Likewise.
4035 * gdbarch.c, gdbarch.h: Regenerated.
4036 * i386-cygwin-tdep.c (windows_core_xfer_shared_libraries): Return
4037 ULONGEST. Change 'len_avail' type to ULONGEST.
4038 * rs6000-aix-tdep.c (rs6000_aix_ld_info_to_xml): Likewise.
4039 * rs6000-aix-tdep.h (rs6000_aix_ld_info_to_xml): Update
4041 (rs6000_aix_core_xfer_shared_libraries_aix): Return ULONGEST.
4043 2014-02-07 Yao Qi <yao@codesourcery.com>
4045 * corefile.c (memory_error): Get 'exception' from ERR and pass
4046 'exception' to throw_error.
4048 2014-02-06 Doug Evans <xdje42@gmail.com>
4050 * configure.ac (libpython checking): Remove all but python.o from
4051 CONFIG_OBS. Remove all but python.c from CONFIG_SRCS.
4052 * configure: Regenerate.
4054 * Makefile.in (SFILES): Add extension.c.
4055 (HFILES_NO_SRCDIR): Add extension.h, extension-priv.h
4056 (COMMON_OBS): Add extension.o.
4057 * extension.h: New file.
4058 * extension-priv.h: New file.
4059 * extension.c: New file.
4061 * python/python-internal.h: #include "extension.h".
4062 (gdbpy_auto_load_enabled): Declare.
4063 (gdbpy_apply_val_pretty_printer): Declare.
4064 (gdbpy_apply_frame_filter): Declare.
4065 (gdbpy_preserve_values): Declare.
4066 (gdbpy_breakpoint_cond_says_stop): Declare.
4067 (gdbpy_breakpoint_has_cond): Declare.
4068 (void source_python_script_for_objfile): Delete.
4069 * python/python.c: #include "extension-priv.h".
4070 Delete inclusion of "observer.h".
4071 (extension_language_python): Moved here and renamed from
4072 script_language_python in py-auto-load.c.
4073 Redefined to be of type extension_language_defn.
4074 (python_extension_script_ops): New global.
4075 (python_extension_ops): New global.
4076 (struct python_env): New member previous_active.
4077 (restore_python_env): Call restore_active_ext_lang.
4078 (ensure_python_env): Call set_active_ext_lang.
4079 (gdbpy_clear_quit_flag): Renamed from clear_quit_flag, made static.
4081 (gdbpy_set_quit_flag): Renamed from set_quit_flag, made static.
4083 (gdbpy_check_quit_flag): Renamed from check_quit_flag, made static.
4085 (gdbpy_eval_from_control_command): Renamed from
4086 eval_python_from_control_command, made static. New arg extlang.
4087 (gdbpy_source_script) Renamed from source_python_script, made static.
4089 (gdbpy_before_prompt_hook): Renamed from before_prompt_hook. Change
4090 result to int. New arg extlang.
4091 (gdbpy_source_objfile_script): Renamed from
4092 source_python_script_for_objfile, made static. New arg extlang.
4093 (gdbpy_start_type_printers): Renamed from start_type_printers, made
4094 static. New args extlang, extlang_printers. Change result type to
4096 (gdbpy_apply_type_printers): Renamed from apply_type_printers, made
4097 static. New arg extlang. Rename arg printers to extlang_printers
4098 and change type to ext_lang_type_printers *.
4099 (gdbpy_free_type_printers): Renamed from free_type_printers, made
4100 static. Replace argument arg with extlang, extlang_printers.
4101 (!HAVE_PYTHON, eval_python_from_control_command): Delete.
4102 (!HAVE_PYTHON, source_python_script): Delete.
4103 (!HAVE_PYTHON, gdbpy_should_stop): Delete.
4104 (!HAVE_PYTHON, gdbpy_breakpoint_has_py_cond): Delete.
4105 (!HAVE_PYTHON, start_type_printers): Delete.
4106 (!HAVE_PYTHON, apply_type_printers): Delete.
4107 (!HAVE_PYTHON, free_type_printers): Delete.
4108 (_initialize_python): Delete call to observer_attach_before_prompt.
4109 (finalize_python): Set/restore active extension language.
4110 (gdbpy_finish_initialization) Renamed from
4111 finish_python_initialization, made static. New arg extlang.
4112 (gdbpy_initialized): New function.
4113 * python/python.h: #include "extension.h". Delete #include
4114 "value.h", "mi/mi-cmds.h".
4115 (extension_language_python): Declare.
4116 (GDBPY_AUTO_FILE_NAME): Delete.
4117 (enum py_bt_status): Moved to extension.h and renamed to
4119 (enum frame_filter_flags): Moved to extension.h.
4120 (enum py_frame_args): Moved to extension.h and renamed to
4121 ext_lang_frame_args.
4122 (finish_python_initialization): Delete.
4123 (eval_python_from_control_command): Delete.
4124 (source_python_script): Delete.
4125 (apply_val_pretty_printer): Delete.
4126 (apply_frame_filter): Delete.
4127 (preserve_python_values): Delete.
4128 (gdbpy_script_language_defn): Delete.
4129 (gdbpy_should_stop, gdbpy_breakpoint_has_py_cond): Delete.
4130 (start_type_printers, apply_type_printers, free_type_printers): Delete.
4132 * auto-load.c: #include "extension.h".
4133 (GDB_AUTO_FILE_NAME): Delete.
4134 (auto_load_gdb_scripts_enabled): Make public. New arg extlang.
4135 (script_language_gdb): Delete, moved to extension.c and renamed to
4136 extension_language_gdb.
4137 (source_gdb_script_for_objfile): Delete.
4138 (auto_load_pspace_info): New member unsupported_script_warning_printed.
4139 (loaded_script): Change type of language member to
4140 struct extension_language_defn *.
4141 (init_loaded_scripts_info): Initialize
4142 unsupported_script_warning_printed.
4143 (maybe_add_script): Make static. Change type of language arg to
4144 struct extension_language_defn *.
4145 (clear_section_scripts): Reset unsupported_script_warning_printed.
4146 (auto_load_objfile_script_1): Rewrite to use extension language API.
4147 (auto_load_objfile_script): Make public. Remove support-compiled-in
4148 and auto-load-enabled checks, moved to auto_load_scripts_for_objfile.
4149 (source_section_scripts): Rewrite to use extension language API.
4150 (load_auto_scripts_for_objfile): Rewrite to use
4151 auto_load_scripts_for_objfile.
4152 (collect_matching_scripts_data): Change type of language member to
4153 struct extension_language_defn *.
4154 (auto_load_info_scripts): Change type of language arg to
4155 struct extension_language_defn *.
4156 (unsupported_script_warning_print): New function.
4157 (script_not_found_warning_print): Make static.
4158 (_initialize_auto_load): Rewrite construction of scripts-directory
4160 * auto-load.h (struct objfile): Add forward decl.
4161 (struct script_language): Delete.
4162 (struct auto_load_pspace_info): Add forward decl.
4163 (struct extension_language_defn): Add forward decl.
4164 (maybe_add_script): Delete.
4165 (auto_load_objfile_script): Declare.
4166 (script_not_found_warning_print): Delete.
4167 (auto_load_info_scripts): Update prototype.
4168 (auto_load_gdb_scripts_enabled): Declare.
4169 * python/py-auto-load.c (gdbpy_auto_load_enabled): Renamed from
4170 auto_load_python_scripts_enabled and made public.
4171 (script_language_python): Delete, moved to python.c.
4172 (gdbpy_script_language_defn): Delete.
4173 (info_auto_load_python_scripts): Update to use
4174 extension_language_python.
4176 * breakpoint.c (condition_command): Replace call to
4177 gdbpy_breakpoint_has_py_cond with call to get_breakpoint_cond_ext_lang.
4178 (bpstat_check_breakpoint_conditions): Replace call to gdbpy_should_stop
4179 with call to breakpoint_ext_lang_cond_says_stop.
4180 * python/py-breakpoint.c (gdbpy_breakpoint_cond_says_stop): Renamed
4181 from gdbpy_should_stop. Change result type to enum scr_bp_stop.
4182 New arg slang. Return SCR_BP_STOP_UNSET if py_bp_object is NULL.
4183 (gdbpy_breakpoint_has_cond): Renamed from gdbpy_breakpoint_has_py_cond.
4185 (local_setattro): Print name of extension language with existing
4188 * valprint.c (val_print, value_print): Update to call
4189 apply_ext_lang_val_pretty_printer.
4190 * cp-valprint.c (cp_print_value): Update call to
4191 apply_ext_lang_val_pretty_printer.
4192 * python/py-prettyprint.c: Remove #ifdef HAVE_PYTHON.
4193 (gdbpy_apply_val_pretty_printer): Renamed from
4194 apply_val_pretty_printer. New arg extlang.
4195 (!HAVE_PYTHON, apply_val_pretty_printer): Delete.
4197 * cli/cli-cmds.c (source_script_from_stream): Rewrite to use
4198 extension language API.
4199 * cli/cli-script.c (execute_control_command): Update to call
4200 eval_ext_lang_from_control_command.
4202 * mi/mi-cmd-stack.c (mi_cmd_stack_list_frames): Update to use
4203 enum ext_lang_bt_status values. Update call to
4204 apply_ext_lang_frame_filter.
4205 (mi_cmd_stack_list_locals): Ditto.
4206 (mi_cmd_stack_list_args): Ditto.
4207 (mi_cmd_stack_list_variables): Ditto.
4208 * mi/mi-main.c: Delete #include "python/python-internal.h".
4209 Add #include "extension.h".
4210 (mi_cmd_list_features): Replace reference to python internal variable
4211 gdb_python_initialized with call to ext_lang_initialized_p.
4213 * stack.c (backtrace_command_1): Update to use enum ext_lang_bt_status.
4214 Update to use enum ext_lang_frame_args. Update to call
4215 apply_ext_lang_frame_filter.
4216 * python/py-framefilter.c (extract_sym): Update to use enum
4218 (extract_value, py_print_type, py_print_value): Ditto.
4219 (py_print_single_arg, enumerate_args, enumerate_locals): Ditto.
4220 (py_mi_print_variables, py_print_locals, py_print_args): Ditto.
4221 (py_print_frame): Ditto.
4222 (gdbpy_apply_frame_filter): Renamed from apply_frame_filter.
4223 New arg extlang. Update to use enum ext_lang_bt_status.
4225 * top.c (gdb_init): Delete #ifdef HAVE_PYTHON call to
4226 finish_python_initialization. Replace with call to
4227 finish_ext_lang_initialization.
4229 * typeprint.c (do_free_global_table): Update to call
4230 free_ext_lang_type_printers.
4231 (create_global_typedef_table): Update to call
4232 start_ext_lang_type_printers.
4233 (find_global_typedef): Update to call apply_ext_lang_type_printers.
4234 * typeprint.h (struct ext_lang_type_printers): Add forward decl.
4235 (type_print_options): Change type of global_printers from "void *"
4236 to "struct ext_lang_type_printers *".
4238 * value.c (preserve_values): Update to call preserve_ext_lang_values.
4239 * python/py-value.c: Remove #ifdef HAVE_PYTHON.
4240 (gdbpy_preserve_values): Renamed from preserve_python_values.
4242 (!HAVE_PYTHON, preserve_python_values): Delete.
4244 * utils.c (quit_flag): Delete, moved to extension.c.
4245 (clear_quit_flag, set_quit_flag, check_quit_flag): Delete, moved to
4248 * eval.c: Delete #include "python/python.h".
4249 * main.c: Delete #include "python/python.h".
4251 * defs.h: Update comment.
4253 2014-02-06 Joel Brobecker <brobecker@adacore.com>
4257 2014-02-05 Mark Kettenis <kettenis@gnu.org>
4259 * c-exp.y (YYPRINT, c_print_token): Only define if YYBISON is
4262 2014-02-05 Yao Qi <yao@codesourcery.com>
4264 * remote.c (remote_pass_signals): Remove local 'buf' and use
4266 (remote_program_signals): Likewise.
4268 2014-02-05 Yao Qi <yao@codesourcery.com>
4270 * ctf.c: Include "inferior.h" and "gdbthread.h".
4271 (CTF_PID): A new macro.
4272 (ctf_open): Call inferior_appeared and add_thread_silent.
4273 (ctf_close): Call exit_inferior_silent and set inferior_ptid.
4274 (ctf_thread_alive): New function.
4275 (init_ctf_ops): Install ctf_thread_alive to to_thread_alive.
4277 2014-02-05 Yao Qi <yao@codesourcery.com>
4281 2013-05-24 Yao Qi <yao@codesourcery.com>
4283 * tracepoint.c (TFILE_PID): Remove.
4284 (tfile_open): Don't add thread and inferior.
4285 (tfile_close): Don't set 'inferior_ptid'. Don't call
4286 exit_inferior_silent.
4287 (tfile_thread_alive): Remove.
4288 (init_tfile_ops): Don't set field 'to_thread_alive' of
4291 2014-02-04 Christian Eggers <ceggers@gmx.de> (tiny change)
4293 * remote.c (remote_start_remote): Call remote_check_symbols even
4294 if only symbol-file (not file) has been given.
4296 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
4298 * gdbarch.sh (skip_entrypoint): New callback.
4299 * gdbarch.c, gdbarch.h: Regenerate.
4300 * symtab.c (skip_prologue_sal): Call gdbarch_skip_entrypoint.
4301 * infrun.c (fill_in_stop_func): Likewise.
4302 * ppc-linux-tdep.c: Include "elf/ppc64.h".
4303 (ppc_elfv2_elf_make_msymbol_special): New function.
4304 (ppc_elfv2_skip_entrypoint): Likewise.
4305 (ppc_linux_init_abi): Install them for ELFv2.
4307 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
4309 * ppc-sysv-tdep.c (ppc64_aggregate_candidate): New routine.
4310 (ppc64_elfv2_abi_homogeneous_aggregate): Likewise.
4311 (ppc64_sysv_abi_push_param): Handle ELFv2 homogeneous structs.
4312 (ppc64_sysv_abi_return_value): Likewise. Also, handle small
4313 structures returned in GPRs.
4315 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
4317 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_dummy_call): Use correct
4318 offset to the stack parameter list for the ELFv2 ABI.
4320 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
4322 * ppc-linux-tdep.c (ppc_linux_init_abi): Only call
4323 set_gdbarch_convert_from_func_ptr_addr and
4324 set_gdbarch_elf_make_msymbol_special for ELFv1.
4325 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_param): Only handle
4326 function descriptors on ELFv1.
4327 (ppc64_sysv_abi_push_dummy_call): Likewise. On ELFv2,
4328 set up r12 at function entry.
4330 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
4332 * ppc-tdep.h (enum powerpc_elf_abi): New data type.
4333 (struct gdbarch_tdep): New member elf_abi.
4335 * rs6000-tdep.c: Include "elf/ppc64.h".
4336 (rs6000_gdbarch_init): Detect ELF ABI version.
4338 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
4340 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_freg): Use correct order
4341 within a register pair holding a DFP 128-bit value on little-endian.
4342 (ppc64_sysv_abi_return_value_base): Likewise.
4343 * rs6000-tdep.c (dfp_pseudo_register_read): Likewise.
4344 (dfp_pseudo_register_write): Likewise.
4346 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
4348 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_freg): Use correct
4349 offset on little-endian when passing _Decimal32.
4350 (ppc64_sysv_abi_return_value_base): Likewise for return values.
4352 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
4354 * rs6000-tdep.c (efpr_pseudo_register_read): Use correct offset
4355 of the overlapped FP register within the VSX register on little-
4357 (efpr_pseudo_register_write): Likewise.
4359 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
4361 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_val): Use correct
4362 offset on little-endian when passing small structures.
4364 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
4366 * ppc-sysv-tdep.c (get_decimal_float_return_value): Update comment.
4367 (struct ppc64_sysv_argpos): New data structure.
4368 (ppc64_sysv_abi_push_float): Remove.
4369 (ppc64_sysv_abi_push_val): New function.
4370 (ppc64_sysv_abi_push_integer): Likewise.
4371 (ppc64_sysv_abi_push_freg): Likewise.
4372 (ppc64_sysv_abi_push_vreg): Likewise.
4373 (ppc64_sysv_abi_push_param): Likewise.
4374 (ppc64_sysv_abi_push_dummy_call): Refactor to use those new routines.
4375 (ppc64_sysv_abi_return_value_base): New function.
4376 (ppc64_sysv_abi_return_value): Refactor to use it.
4378 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
4380 * NEWS: Document new target powerpc64le-*-linux*.
4382 2014-02-04 Mark Kettenis <kettenis@gnu.org>
4384 * sparc64obsd-tdep.c (sparc64obsd_gregset): New variable.
4385 (sparc64obsd_supply_gregset): Handle registers sets used in ELF
4387 (sparc64obsd_init_abi): Adjust minimum size of the general purpose
4388 register set used in ELF core dumps. Add floating-point register set.
4390 2014-02-03 Kevin Buettner <kevinb@redhat.com>
4392 * mn10300-tdep.c (mn10300_dwarf2_reg_to_regnum): Rewrite
4393 dwarf2_to_gdb[] table using symbolic constants. Adjust
4394 penultimate entry from number representing the PC register
4395 to symbolic constant representing the MDR register. Add
4396 constant for the PC register to the end of the table.
4398 2014-02-03 Mark Kettenis <kettenis@gnu.org>
4400 * bsd-kvm.c: Include <sys/param.h>
4402 2014-02-03 Mark Kettenis <kettenis@gnu.org>
4404 * sparc64nbsd-nat.c (sparc64nbsd_supply_fpregset): Fix prototype.
4406 2014-01-31 Joel Brobecker <brobecker@adacore.com>
4408 * ada-lang.h (clear_ada_sym_cache): Delete.
4410 2014-01-30 Ulrich Weigand <uweigand@de.ibm.com>
4412 * auxv.c (fprint_target_auxv): Handle AT_HWCAP2.
4414 2014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
4416 * sparc64-linux-tdep.c (sparc64_linux_step_trap): Get PC from
4417 the sigreturn register save area only if the syscall is
4420 2014-01-29 Joel Brobecker <brobecker@adacore.com>
4422 * valops.c (value_slice): Minor reformatting.
4424 2014-01-28 Ulrich Weigand <uweigand@de.ibm.com>
4426 * ppc64-tdep.c (ppc64_standard_linkage7): Fix typo.
4428 2014-01-28 Joel Brobecker <brobecker@adacore.com>
4430 * ada-lang.c (maint_set_ada_cmdlist, maint_show_ada_cmdlist):
4432 (maint_set_ada_cmd, maint_show_ada_cmd): New functions.
4433 (ada_ignore_descriptive_types_p): New static global.
4434 (find_parallel_type_by_descriptive_type): Return immediately
4435 if ada_ignore_descriptive_types_p is set.
4436 (_initialize_ada_language): Register new commands "maintenance
4437 set ada", "maintenance show ada", "maintenance set ada
4438 ignore-descriptive-types" and "maintenance show ada
4439 ignore-descriptive-types".
4440 * NEWS: Add entry for new "maint ada set/show
4441 ignore-descriptive-types" commands.
4443 2014-01-27 Markus Metzger <markus.t.metzger@intel.com>
4445 * record-btrace.c (record_btrace_close): Call btrace_teardown
4448 2014-01-27 Joel Brobecker <brobecker@adacore.com>
4450 * ada-lang.c: Remove "#ifdef UI_OUT" condition for including
4453 2014-01-27 Joel Brobecker <brobecker@adacore.com>
4455 * ada-typeprint (type_is_full_subrange_of_target_type):
4457 (print_range): Add parameter bounds_prefered_p. If not set,
4458 try printing range types using the name of their base type.
4459 (print_range_type): Add parameter bounds_prefered_p.
4460 Use it in call to print_range.
4461 (print_array_type, ada_print_type): Update calls to print_range
4462 and print_range_type.
4464 2014-01-27 Joel Brobecker <brobecker@adacore.com>
4466 * ada-typeprint.c (print_array_type, print_choices, print_range)
4467 (print_range_bound, print_dynamic_range_bound, print_range_type):
4470 2014-01-27 Joel Brobecker <brobecker@adacore.com>
4472 * ada-typeprint.c (print_range): Add missing empty line
4473 after local declaration.
4475 2014-01-27 Joel Brobecker <brobecker@adacore.com>
4477 * ada-valprint.c (print_optional_low_bound): Get index_type's
4478 target type for as long as it is a TYPE_CODE_RANGE.
4480 2014-01-27 Joel Brobecker <brobecker@adacore.com>
4482 * procfs.c (procfs_make_note_section): Remove assertion and
4485 2014-01-24 Yao Qi <yao@codesourcery.com>
4487 * remote.c (remote_read_bytes): Change type of len to ULONGEST.
4488 * corelow.c (get_core_siginfo): Likewise.
4490 2014-01-24 Yao Qi <yao@codesourcery.com>
4492 * remote.c (remote_write_bytes_aux): Change type of 'len' to
4493 ULONGEST. Don't check 'len' is negative.
4494 (remote_write_bytes): Change type of 'len' to ULONGEST.
4496 2014-01-23 Tom Tromey <tromey@redhat.com>
4499 * python/lib/gdb/FrameDecorator.py: (FrameVars.fetch_frame_args):
4500 Handle exception from frame.block.
4501 (FrameVars.fetch_frame_locals): Likewise.
4503 2014-01-23 Tom Tromey <tromey@redhat.com>
4506 * python/py-framefilter.c (py_print_frame): Don't call Py_DECREF
4507 on a NULL pointer. Move "goto error" to correct place.
4509 2014-01-23 Tom Tromey <tromey@redhat.com>
4512 * python/py-framefilter.c (apply_frame_filter): Call
4513 ensure_python_env after computing gdbarch.
4515 2014-01-23 Yao Qi <yao@codesourcery.com>
4517 * target.c (raw_memory_xfer_partial): Change argument type
4518 from void * to gdb_byte *.
4519 (memory_xfer_partial_1, memory_xfer_partial): Likewise.
4521 2014-01-22 Doug Evans <dje@google.com>
4523 New gdbserver option --debug-format=timestamp.
4526 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
4528 * syscalls/s390x-linux.xml: New file.
4529 * syscalls/s390-linux.xml: New file.
4530 * s390-linux-tdep.c (XML_SYSCALL_FILENAME_S390): New macro.
4531 (XML_SYSCALL_FILENAME_S390X): Likewise.
4532 (op_svc): New enum value for SVC opcode.
4533 (s390_sigtramp_frame_sniffer): Replace literal by 'op_svc'.
4534 (s390_linux_get_syscall_number): New function.
4535 (s390_gdbarch_init): Register '*get_syscall_number' and the
4536 syscall xml file name.
4537 * data-directory/Makefile.in (SYSCALLS_FILES): Add
4538 "s390-linux.xml" and "s390x-linux.xml".
4539 * NEWS: Announce new feature.
4541 2014-01-22 Baruch Siach <baruch@tkos.co.il>
4543 * xtensa-tdep.h (xtensa_elf_greg_t): Change type to uint32_t.
4545 2014-01-22 Pedro Alves <palves@redhat.com>
4547 * xtensa-config.c: Include defs.h.
4549 2014-01-22 Joel Brobecker <brobecker@adacore.com>
4551 * common/common-utils.h: Add "ARI:" comment beside __func__
4554 2014-01-22 Joel Brobecker <brobecker@adacore.com>
4556 * common/common-utils.h (FUNCTION_NAME): Expand the macro's
4557 documentation a bit.
4559 2014-01-21 Roland McGrath <mcgrathr@google.com>
4561 * configure.ac: Call AM_PROG_INSTALL_STRIP.
4562 * configure: Regenerate.
4563 * aclocal.m4: Regenerate.
4564 * Makefile.in (install_sh, INSTALL_STRIP_PROGRAM, STRIP):
4565 New substituted variables.
4566 (install-strip): New target.
4567 (INSTALL_SCRIPT): New substituted variable.
4568 (FLAGS_TO_PASS): Add it.
4569 (install-only): Use $(INSTALL_SCRIPT) rather than
4570 $(INSTALL_PROGRAM) for gcore.
4572 2014-01-20 Tom Tromey <tromey@redhat.com>
4574 * cli/cli-decode.h (struct cmd_list_element): Move all bitfields
4577 2014-01-20 Tom Tromey <tromey@redhat.com>
4579 * cli/cli-decode.c (add_cmd, deprecate_cmd, add_alias_cmd)
4580 (add_setshow_cmd_full, delete_cmd, lookup_cmd_1)
4581 (deprecated_cmd_warning, complete_on_cmdlist): Update.
4582 * cli/cli-decode.h (CMD_DEPRECATED, DEPRECATED_WARN_USER)
4583 (MALLOCED_REPLACEMENT, DOC_ALLOCATED): Remove.
4584 (struct cmd_list_element) <flags>: Remove.
4585 <cmd_deprecated, deprecated_warn_user, malloced_replacement,
4586 doc_allocated>: New fields.
4587 <hook_in, allow_unknown, abbrev_flag, type, var_type>: Now
4589 * maint.c (maintenance_do_deprecate): Update.
4590 * top.c (execute_command): Update.
4592 2014-01-20 Baruch Siach <baruch@tkos.co.il>
4594 * xtensa-linux-nat.c: Include asm/ptrace.h.
4596 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
4598 * Makefile.in (SFILES): Add d-support.c.
4599 (COMMON_OBS): Add d-support.o.
4600 * d-lang.h (d_parse_symbol): Add comment, now defined in
4602 * d-lang.c (parse_call_convention)
4603 (parse_attributes, parse_function_types)
4604 (parse_function_args, parse_type, parse_identifier)
4605 (call_convention_p, d_parse_symbol): Move functions to ...
4606 * d-support.c: ... New file.
4608 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
4610 * d-lang.h (d_parse_symbol): Add declaration.
4611 * d-lang.c (extract_identifiers)
4612 (extract_type_info): Remove functions.
4613 (parse_call_convention, parse_attributes)
4614 (parse_function_types, parse_function_args)
4615 (parse_type, parse_identifier, call_convention_p)
4616 (d_parse_symbol): New functions.
4617 (d_demangle): Use d_parse_symbol to demangle D symbols.
4619 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
4621 * d-lang.h (struct builtin_d_type): New data type.
4622 (builtin_d_type): Add declaration.
4623 * d-lang.c (d_language_arch_info, build_d_types)
4624 (builtin_d_type): New functions.
4625 (enum d_primitive_types): New data type.
4626 (d_language_defn): Change c_language_arch_info to
4627 d_language_arch_info.
4628 (d_type_data): New static variable.
4629 (_initialize_d_language): Initialize d_type_data.
4631 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
4633 * d-lang.h (d_main_name): Add declaration.
4634 * d-lang.c (d_main_name): New function.
4635 * symtab.c (find_main_name): Add call to d_main_name.
4637 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
4639 * d-lang.c (d_language_defn): Change macro_expansion_c to
4642 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
4644 * MAINTAINERS: Add myself as a write-after-approval maintainer.
4646 2014-01-17 Sergio Durigan Junior <sergiodj@redhat.com>
4648 * breakpoint.c (insert_bp_location): Add "volatile" keyword to "struct
4649 gdb_exception" declaration.
4650 * remote.c (getpkt_or_notif_sane): Likewise.
4652 2014-01-17 Doug Evans <dje@google.com>
4654 * common/gdb_vecs.c (delim_string_to_char_ptr_vec_append): New
4655 function, contents of dirnames_to_char_ptr_vec_append moved here.
4656 (delim_string_to_char_ptr_vec): New function.
4657 (dirnames_to_char_ptr_vec_append): Rewrite.
4658 * common/gdb_vecs.h (delim_string_to_char_ptr_vec): Declare.
4660 2014-01-17 Doug Evans <dje@google.com>
4662 * common/common-utils.h (FUNCTION_NAME): Renamed from ASSERT_FUNCTION,
4664 * common/gdb_assert.h (ASSERT_FUNCTION): ... from here.
4665 #include "common-utils.h".
4666 (gdb_assert, gdb_assert_fail, gdb_assert_not_reached): Update.
4667 * common/vec.h (VEC_ASSERT_PASS): Update.
4668 * darwin-nat.h: Replace #include of gdb_assert.h with common-utils.h.
4669 (MACH_CHECK_ERROR): Update.
4671 2014-01-17 Simon Marchi <simon.marchi@ericsson.com>
4673 * gdbarch.sh (gdbarch_address_class_name_to_type_flags): Add
4675 * gdbarch.h: Regenerate.
4677 2014-01-16 Tom Tromey <tromey@redhat.com>
4679 * value.c (struct value) <regnum>: Move earlier.
4681 2014-01-16 Tom Tromey <tromey@redhat.com>
4683 * remote.c (extended_remote_create_inferior): Rename from
4684 extended_remote_create_inferior_1. Add "ops" argument. Remove
4687 2014-01-16 Pedro Alves <palves@redhat.com>
4689 * s390-linux-tdep.c (s390_frame_unwind_cache): Swallow
4690 NOT_AVAILABLE_ERROR errors while parsing the prologue or reading
4693 2014-01-16 Doug Evans <dje@google.com>
4695 * dwarf2read.c (open_and_init_dwp_file): Fix typo in comment.
4697 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4699 * btrace.h (btrace_thread_flag): New.
4700 (struct btrace_thread_info) <flags>: New.
4701 * record-btrace.c (record_btrace_resume_thread)
4702 (record_btrace_find_thread_to_move, btrace_step_no_history)
4703 (btrace_step_stopped, record_btrace_start_replaying)
4704 (record_btrace_step_thread, record_btrace_decr_pc_after_break)
4705 (record_btrace_find_resume_thread): New.
4706 (record_btrace_resume, record_btrace_wait): Extend.
4707 (record_btrace_can_execute_reverse): New.
4708 (record_btrace_open): Fail in non-stop mode.
4709 (record_btrace_set_replay): Split into this, ...
4710 (record_btrace_stop_replaying): ... this, ...
4711 (record_btrace_clear_histories): ... and this.
4712 (init_record_btrace_ops): Init to_can_execute_reverse.
4713 * NEWS: Announce it.
4715 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4717 * target.h (struct target_ops) <to_decr_pc_after_break>: New.
4718 (forward_target_decr_pc_after_break)
4719 (target_decr_pc_after_break): New.
4720 * target.c (forward_target_decr_pc_after_break)
4721 (target_decr_pc_after_break): New.
4722 * aix-thread.c (aix_thread_wait): Call target_decr_pc_after_break
4723 instead of gdbarch_decr_pc_after_break.
4724 * darwin-nat.c (cancel_breakpoint): Call target_decr_pc_after_break
4725 instead of gdbarch_decr_pc_after_break.
4726 * infrun.c (adjust_pc_after_break): Call target_decr_pc_after_break
4727 instead of gdbarch_decr_pc_after_break.
4728 * linux-nat.c (cancel_breakpoint): Call target_decr_pc_after_break
4729 instead of gdbarch_decr_pc_after_break.
4730 * linux-thread-db.c (check_event): Call target_decr_pc_after_break
4731 instead of gdbarch_decr_pc_after_break.
4732 * record-full.c (record_full_wait_1): Call target_decr_pc_after_break
4733 instead of gdbarch_decr_pc_after_break.
4735 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4737 * btrace.c: Include regcache.h.
4738 (btrace_add_pc): New.
4739 (btrace_enable): Call btrace_add_pc.
4740 (btrace_is_empty): New.
4741 * btrace.h (btrace_is_empty): New.
4742 * record-btrace.c (require_btrace, record_btrace_info): Call
4745 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4747 * common/linux-btrace.c (perf_event_read_bts, linux_read_btrace):
4748 Support delta reads.
4749 (linux_disable_btrace): Change return type.
4750 * common/linux-btrace.h (linux_read_btrace): Change parameters
4751 and return type to allow error reporting. Update users.
4752 (linux_disable_btrace): Change return type. Update users.
4753 * common/btrace-common.h (btrace_read_type) <BTRACE_READ_DELTA>:
4755 (btrace_error): New.
4756 (btrace_block) <begin>: Comment on BEGIN == 0.
4757 * btrace.c (btrace_compute_ftrace): Start from the end of
4759 (btrace_stitch_trace, btrace_clear_history): New.
4760 (btrace_fetch): Read delta trace, return if replaying.
4761 (btrace_clear): Move clear history code to btrace_clear_history.
4762 (parse_xml_btrace): Throw an error if parsing failed.
4763 * target.h (struct target_ops) <to_read_btrace>: Change parameters
4764 and return type to allow error reporting.
4765 (target_read_btrace): Change parameters and return type to allow
4767 * target.c (target_read_btrace): Update.
4768 * remote.c (remote_read_btrace): Support delta reads. Pass
4770 * NEWS: Announce it.
4772 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4774 * record.h (record_btrace_frame_unwind)
4775 (record_btrace_tailcall_frame_unwind): New declarations.
4776 * dwarf2-frame: Include record.h
4777 (dwarf2_frame_cfa): Throw an error for btrace frames.
4778 * record-btrace.c: Include hashtab.h.
4779 (btrace_get_bfun_name): New.
4780 (btrace_call_history): Call btrace_get_bfun_name.
4781 (struct btrace_frame_cache): New.
4783 (bfcache_hash, bfcache_eq, bfcache_new): New.
4784 (btrace_get_frame_function): New.
4785 (record_btrace_frame_unwind_stop_reason): Allow unwinding.
4786 (record_btrace_frame_this_id): Compute own id.
4787 (record_btrace_frame_prev_register): Provide PC, throw_error
4788 for all other registers.
4789 (record_btrace_frame_sniffer): Detect btrace frames.
4790 (record_btrace_tailcall_frame_sniffer): New.
4791 (record_btrace_frame_dealloc_cache): New.
4792 (record_btrace_frame_unwind): Add new functions.
4793 (record_btrace_tailcall_frame_unwind): New.
4794 (_initialize_record_btrace): Allocate cache.
4795 * btrace.c (btrace_clear): Call reinit_frame_cache.
4796 * NEWS: Announce it.
4798 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4800 * record-btrace.c (record_btrace_set_replay)
4801 (record_btrace_goto_begin, record_btrace_goto_end)
4802 (record_btrace_goto): New.
4803 (init_record_btrace_ops): Initialize them.
4804 * NEWS: Announce it.
4806 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4808 * record-btrace.c (record_btrace_find_new_threads)
4809 (record_btrace_thread_alive): New.
4810 (init_record_btrace_ops): Initialize to_find_new_threads and
4813 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4815 * record-btrace.c (record_btrace_resume): New.
4816 (record_btrace_wait): New.
4817 (init_record_btrace_ops): Initialize to_wait and to_resume.
4819 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4821 * record-btrace.c (record_btrace_xfer_partial)
4822 (record_btrace_insert_breakpoint, record_btrace_remove_breakpoint)
4823 (record_btrace_allow_memory_access): New.
4824 (init_record_btrace_ops): Initialize new methods.
4825 * target.c (raw_memory_xfer_partial): Bail out if target reports
4826 that this memory is not available.
4828 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4830 * target.h (target_ops) <to_insert_breakpoint>
4831 <to_remove_breakpoint>: Add target_ops parameter.
4832 (forward_target_insert_breakpoint): New.
4833 (forward_target_remove_breakpoint): New.
4834 (memory_remove_breakpoint, memory_insert_breakpoint):
4835 Add target_ops parameter.
4836 * target.c (target_insert_breakpoint): Split into this and ...
4837 (forward_target_insert_breakpoint): ... this.
4838 (target_remove_breakpoint): Split into this and ...
4839 (forward_target_remove_breakpoint): ... this.
4840 (debug_to_insert_breakpoint): Add target_ops parameter.
4841 Call forward_target_insert_breakpoint.
4842 (debug_to_remove_breakpoint): Add target_ops parameter.
4843 Call forward_target_remove_breakpoint.
4844 (update_current_target): Do not inherit or default to_insert_breakpoint
4845 and to_remove_breakpoint.
4846 * corelow.c (ignore): Add target_ops parameter.
4847 * exec.c (ignore): Add target_ops parameter.
4848 * mem-break.c (memory_insert_breakpoint, memory_remove_breakpoint):
4849 Add target_ops parameter.
4850 * monitor.c (monitor_insert_breakpoint, monitor_remove_breakpoint):
4851 Add target_ops parameter.
4852 * nto-procfs.c (procfs_insert_breakpoint, procfs_remove_breakpoint):
4853 Add target_ops parameter.
4854 * record-full.c (record_full_beneath_to_insert_breakpoint)
4855 (record_full_beneath_to_remove_breakpoint, tmp_to_insert_breakpoint)
4856 (tmp_to_remove_breakpoint, record_full_insert_breakpoint)
4857 (record_full_remove_breakpoint, record_full_core_insert_breakpoint)
4858 (record_full_core_remove_breakpoint): Add target_ops parameter.
4860 (record_full_beneath_to_insert_breakpoint_ops)
4861 (record_full_beneath_to_remove_breakpoint_ops)
4862 (tmp_to_insert_breakpoint_ops, tmp_to_remove_breakpoint_ops): New.
4863 (record_full_open): Initialize tmp_to_insert_breakpoint_ops,
4864 tmp_to_remove_breakpoint_ops,
4865 record_full_beneath_to_insert_breakpoint_ops, and
4866 record_full_beneath_to_remove_breakpoint_ops.
4867 * remote-m32r-sdi.c (m32r_insert_breakpoint)
4868 (m32r_remove_breakpoint): Add target_ops parameter.
4869 * remote-mips.c (mips_insert_breakpoint, mips_remove_breakpoint):
4870 Add target_ops parameter.
4871 * remote.c (remote_insert_breakpoint, remote_remove_breakpoint):
4872 Add target_ops parameter.
4874 2014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
4875 Markus Metzger <markus.t.metzger@intel.com>
4877 * record-btrace.c: Include frame-unwind.h.
4878 (record_btrace_frame_unwind_stop_reason)
4879 (record_btrace_frame_this_id, record_btrace_frame_prev_register)
4880 (record_btrace_frame_sniffer, record_btrace_frame_unwind):
4882 (init_record_btrace_ops): Install it.
4884 2014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
4886 * frame.c (get_frame_unwind_stop_reason): Unconditionally call
4889 2014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
4891 * dwarf2-frame.c (dwarf2_frame_cfa): Move UNWIND_UNAVAILABLE check
4894 2014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
4896 * frame-unwind.c: Include target.h.
4897 (frame_unwind_try_unwinder): New function with code from ...
4898 (frame_unwind_find_by_frame): ... here. New variable
4899 unwinder_from_target, call also target_get_unwinder)
4900 (target_get_tailcall_unwinder, and frame_unwind_try_unwinder for it.
4901 * target.c (target_get_unwinder, target_get_tailcall_unwinder): New.
4902 * target.h (struct target_ops): New fields to_get_unwinder and
4903 to_get_tailcall_unwinder.
4904 (target_get_unwinder, target_get_tailcall_unwinder): New declarations.
4906 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4908 * record-btrace.c (record_btrace_fetch_registers)
4909 (record_btrace_store_registers)
4910 (record_btrace_to_prepare_to_store): New.
4911 (init_record_btrace_ops): Add the above.
4913 2014-01-16 Tom Tromey <tromey@redhat.com>
4915 * windows-nat.c (windows_prepare_to_store): Add 'self' argument.
4916 * target.h (struct target_ops) <to_prepare_to_store>: Add
4918 (target_prepare_to_store): Add argument.
4919 * target.c (debug_to_prepare_to_store): Add argument.
4920 (update_current_target): Update.
4921 * remote.c (remote_prepare_to_store): Add 'self' argument.
4922 * remote-sim.c (gdbsim_prepare_to_store): Add 'self' argument.
4923 * remote-mips.c (mips_prepare_to_store): Add 'self' argument.
4924 * remote-m32r-sdi.c (m32r_prepare_to_store): Add 'self' argument.
4925 * record-full.c (record_full_core_prepare_to_store): Add 'self'
4927 * ravenscar-thread.c (ravenscar_prepare_to_store): Add argument.
4928 * nto-procfs.c (procfs_prepare_to_store): Add 'self' argument.
4929 * monitor.c (monitor_prepare_to_store): Add 'self' argument.
4930 * inf-child.c (inf_child_prepare_to_store): Add 'self' argument.
4931 * go32-nat.c (go32_prepare_to_store): Add 'self' argument.
4933 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4935 * btrace.h (replay) <replay>: New.
4936 (btrace_is_replaying): New.
4937 * btrace.c (btrace_clear): Free replay iterator.
4938 (btrace_is_replaying): New.
4939 * record-btrace.c (record_btrace_is_replaying): New.
4940 (record_btrace_info): Print insn number if replaying.
4941 (record_btrace_insn_history): Start at replay position.
4942 (record_btrace_call_history): Start at replay position.
4943 (init_record_btrace_ops): Init to_record_is_replaying.
4945 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4947 * record-btrace.c (record_btrace_insn_history_range): Include
4949 (record_btrace_insn_history_from): Adjust range.
4950 (record_btrace_call_history_range): Include
4952 (record_btrace_call_history_from): Adjust range.
4953 * NEWS: Announce changes.
4955 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4957 * record.h (enum record_print_flag)
4958 <record_print_indent_calls>: New.
4959 * record.c (get_call_history_modifiers): Recognize /c modifier.
4960 (_initialize_record): Document /c modifier.
4961 * record-btrace.c (btrace_call_history): Add btinfo parameter.
4962 Reorder fields. Optionally indent the function name. Update
4964 * NEWS: Announce changes.
4966 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4968 * common/linux-btrace.c (linux_enable_btrace): Enlarge buffer.
4970 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4972 * btrace.c (ftrace_new_function): Start counting at one.
4973 * record-btrace.c (record_btrace_info): Adjust number of calls
4975 * NEWS: Announce it.
4977 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4979 * record-btrace.c (btrace_call_history_insn_range): Print
4980 insn range as [begin, end].
4982 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4984 * btrace.h (struct btrace_func_link): New.
4985 (enum btrace_function_flag): New.
4986 (struct btrace_inst): Rename to ...
4987 (struct btrace_insn): ...this. Update all users.
4988 (struct btrace_func) <ibegin, iend>: Remove.
4989 (struct btrace_func_link): New.
4990 (struct btrace_func): Rename to ...
4991 (struct btrace_function): ...this. Update all users.
4992 (struct btrace_function) <segment, flow, up, insn, insn_offset)
4993 (number, level, flags>: New.
4994 (struct btrace_insn_iterator): Rename to ...
4995 (struct btrace_insn_history): ...this.
4997 (struct btrace_insn_iterator, btrace_call_iterator): New.
4998 (struct btrace_target_info) <btrace, itrace, ftrace>: Remove.
4999 (struct btrace_target_info) <begin, end, level>
5000 <insn_history, call_history>: New.
5001 (btrace_insn_get, btrace_insn_number, btrace_insn_begin)
5002 (btrace_insn_end, btrace_insn_prev, btrace_insn_next)
5003 (btrace_insn_cmp, btrace_find_insn_by_number, btrace_call_get)
5004 (btrace_call_number, btrace_call_begin, btrace_call_end)
5005 (btrace_call_prev, btrace_call_next, btrace_call_cmp)
5006 (btrace_find_function_by_number, btrace_set_insn_history)
5007 (btrace_set_call_history): New.
5008 * btrace.c (btrace_init_insn_iterator)
5009 (btrace_init_func_iterator, compute_itrace): Remove.
5010 (ftrace_print_function_name, ftrace_print_filename)
5011 (ftrace_skip_file): Change
5013 (ftrace_init_func): Remove.
5014 (ftrace_debug): Use new btrace_function fields.
5015 (ftrace_function_switched): Also consider gaining and
5016 losing symbol information).
5017 (ftrace_print_insn_addr, ftrace_new_call, ftrace_new_return)
5018 (ftrace_new_switch, ftrace_find_caller, ftrace_new_function)
5019 (ftrace_update_caller, ftrace_fixup_caller, ftrace_new_tailcall):
5021 (ftrace_new_function): Move. Remove debug print.
5022 (ftrace_update_lines, ftrace_update_insns): New.
5023 (ftrace_update_function): Check for call, ret, and jump.
5024 (compute_ftrace): Renamed to ...
5025 (btrace_compute_ftrace): ...this. Rewritten to compute call
5027 (btrace_fetch, btrace_clear): Updated.
5028 (btrace_insn_get, btrace_insn_number, btrace_insn_begin)
5029 (btrace_insn_end, btrace_insn_prev, btrace_insn_next)
5030 (btrace_insn_cmp, btrace_find_insn_by_number, btrace_call_get)
5031 (btrace_call_number, btrace_call_begin, btrace_call_end)
5032 (btrace_call_prev, btrace_call_next, btrace_call_cmp)
5033 (btrace_find_function_by_number, btrace_set_insn_history)
5034 (btrace_set_call_history): New.
5035 * record-btrace.c (require_btrace): Use new btrace thread
5037 (record_btrace_info, btrace_insn_history)
5038 (record_btrace_insn_history, record_btrace_insn_history_range):
5039 Use new btrace thread info fields and new iterator.
5040 (btrace_func_history_src_line): Rename to ...
5041 (btrace_call_history_src_line): ...this. Use new btrace
5043 (btrace_func_history): Rename to ...
5044 (btrace_call_history): ...this. Use new btrace thread info
5045 fields and new iterator.
5046 (record_btrace_call_history, record_btrace_call_history_range):
5047 Use new btrace thread info fields and new iterator.
5049 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5051 * frame.h (frame_id_build_unavailable_stack_special): New.
5052 * frame.c (frame_id_build_unavailable_stack_special): New.
5054 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5056 * amd64-tdep.c (amd64_classify_insn_at, amd64_insn_is_call)
5057 (amd64_insn_is_ret, amd64_insn_is_jump, amd64_jmp_p): New.
5058 (amd64_init_abi): Add insn_is_call, insn_is_ret, and insn_is_jump
5060 * i386-tdep.c (i386_insn_is_call, i386_insn_is_ret)
5061 (i386_insn_is_jump, i386_jmp_p): New.
5062 (i386_gdbarch_init): Add insn_is_call, insn_is_ret, and
5063 insn_is_jump to gdbarch.
5064 * gdbarch.sh (insn_is_call, insn_is_ret, insn_is_jump): New.
5065 * gdbarch.h: Regenerated.
5066 * gdbarch.c: Regenerated.
5067 * arch-utils.h (default_insn_is_call, default_insn_is_ret)
5068 (default_insn_is_jump): New.
5069 * arch-utils.c (default_insn_is_call, default_insn_is_ret)
5070 (default_insn_is_jump): New.
5072 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5074 * common/btrace-common.h (btrace_read_type) <btrace_read_all>:
5076 (btrace_read_type) <BTRACE_READ_ALL>: ... this. Update users.
5077 (btrace_read_type) <btrace_read_new>: Change to ...
5078 (btrace_read_type) <BTRACE_READ_NEW>: ... this. Update users.
5080 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5082 * common/linux-btrace.c (linux_read_btrace): Free trace from
5085 2014-01-15 Doug Evans <dje@google.com>
5087 * dwarf2read.c (open_and_init_dwp_file): Use pulongest to print
5090 2014-01-15 Tom Tromey <tromey@redhat.com>
5092 * dbxread.c (process_one_symbol): Use set_objfile_main_name.
5093 * dwarf2read.c (read_partial_die): Use set_objfile_main_name.
5094 * objfiles.c (get_objfile_bfd_data): Initialize language_of_main.
5095 (set_objfile_main_name): New function.
5096 * objfiles.h (struct objfile_per_bfd_storage) <name_of_main,
5097 language_of_main>: New fields.
5098 (set_objfile_main_name): Declare.
5099 * symtab.c (find_main_name): Loop over objfiles to find the main
5101 (set_main_name): Now static.
5102 (get_main_info): Add comment.
5103 * symtab.h (set_main_name): Don't declare.
5105 2014-01-15 Tom Tromey <tromey@redhat.com>
5107 * symtab.c (main_progspace_key): New global.
5108 (struct main_info): New.
5109 (name_of_main, language_of_main): Remove.
5110 (get_main_info, main_info_cleanup): New function.
5111 (set_main_name, main_name, main_language): Use get_main_info.
5112 (_initialize_symtab): Initialize main_progspace_key.
5114 2014-01-15 Tom Tromey <tromey@redhat.com>
5116 * dbxread.c (process_one_symbol): Update.
5117 * dwarf2read.c (read_partial_die): Update.
5118 * symfile.c (set_initial_language): Call main_language.
5119 * symtab.c (language_of_main): Now static.
5120 (set_main_name): Add 'lang' parameter.
5121 (find_main_name): Update.
5122 (main_language): New function.
5123 (symtab_observer_executable_changed): Update.
5124 * symtab.h (set_main_name): Update.
5125 (language_of_main): Remove.
5126 (main_language): Declare.
5128 2014-01-15 Tom Tromey <tromey@redhat.com>
5130 * symfile.c (init_entry_point_info): Use new "initialized" field.
5132 * objfiles.h (struct entry_point) <initialized>: New field.
5133 (struct objfile_per_bfd_storage) <ei>: New field, moved from...
5134 (struct objfile) <ei>: ...here. Remove.
5135 * objfiles.c (entry_point_address_query): Update.
5137 2014-01-15 Tom Tromey <tromey@redhat.com>
5139 * objfiles.c (entry_point_address_query): Relocate entry point
5141 (objfile_relocate1): Do not relocate entry point address.
5142 * objfiles.h (struct entry_info) <entry_point>: Update comment.
5143 <the_bfd_section_index>: New field.
5144 * symfile.c (init_entry_point_info): Find the entry point's
5147 2014-01-15 Tom Tromey <tromey@redhat.com>
5149 * solib-frv.c (enable_break): Use entry_point_address_query.
5151 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
5153 * NEWS: Add note on improved process record-replay on
5154 arm*-linux* targets.
5156 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
5158 * arm-tdep.c (enum arm_record_result): New enum.
5159 (arm_record_unsupported_insn): New function.
5160 (arm_record_coproc_data_proc): Removed.
5161 (thumb2_record_ld_st_multiple): New function.
5162 (thumb2_record_ld_st_dual_ex_tbb): New function.
5163 (thumb2_record_data_proc_sreg_mimm): New function.
5164 (thumb2_record_ps_dest_generic): New function.
5165 (thumb2_record_branch_misc_cntrl): New function.
5166 (thumb2_record_str_single_data): New function.
5167 (thumb2_record_ld_mem_hints): New function.
5168 (thumb2_record_ld_word): New function.
5169 (thumb2_record_lmul_lmla_div): New function.
5170 (thumb2_record_decode_insn_handler): New function.
5171 (decode_insn): Add thumb32 instruction handlers.
5173 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
5175 * arm-linux-tdep.c: Include "record-full.h" and "linux-record.h".
5176 (struct arm_linux_record_tdep): Declare.
5177 (arm_canonicalize_syscall): New function.
5178 (arm_all_but_pc_registers_record): New function.
5179 (arm_linux_syscall_record): New function.
5180 (arm_linux_init_abi): Add syscall recording constructs.
5181 * arm-tdep.c (thumb_record_ldm_stm_swi): Update thumb syscall
5182 decoding. (arm_record_coproc_data_proc): Update arm syscall
5184 * arm-tdep.h (struct gdbarch_tdep) <arm_swi_record>: Remove.
5185 <arm_syscall_record>: New field.
5186 * configure.tgt (arm*-*-linux*): Add linux-record.o to
5189 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
5191 * arm-tdep.c (thumb_record_misc): Update to use sp as base
5192 register for push instruction recording.
5194 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
5196 * arm-tdep.c (thumb_record_misc): Update to correct logical
5197 error while recording ldm, ldmia and pop instructions.
5199 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
5201 * arm-tdep.c (struct arm_mem_r) <addr>: Change type to uint32_t.
5203 2014-01-15 Pedro Alves <palves@redhat.com>
5205 * go32-nat.c (go32_open, go32_close, go32_attach, go32_detach)
5206 (go32_resume, go32_fetch_registers, store_register)
5207 (go32_store_registers, go32_prepare_to_store)
5208 (go32_xfer_memory, go32_files_info, go32_kill_inferior)
5209 (go32_create_inferior, go32_can_run, go32_terminal_init)
5210 (go32_terminal_inferior, go32_terminal_ours): Delete forward
5213 2014-01-15 Tom Tromey <tromey@redhat.com>
5215 * target.h (async_callback_ftype): New typedef.
5216 (struct target_ops) <to_async>: Use it.
5218 2014-01-15 Joel Brobecker <brobecker@adacore.com>
5220 * python/py-value.c (get_field_type): Remove unnecessary curly
5221 braces for single-statement if block.
5223 2014-01-15 Joel Brobecker <brobecker@adacore.com>
5225 * python/py-type.c (convert_field): Add missing empty line
5228 2014-01-14 Doug Evans <dje@google.com>
5230 * symfile.h (expand_symtabs_matching): Renamed from
5231 expand_partial_symbol_names. Update prototype.
5232 (map_symbol_filenames): Renamed from map_partial_symbol_filenames.
5233 * symfile.c (expand_symtabs_matching): Renamed from
5234 expand_partial_symbol_names. New args file_matcher, kind.
5235 Rename arg fun to symbol_matcher.
5236 (map_symbol_filenames): Renamed from map_partial_symbol_filenames.
5237 * ada-lang.c (ada_complete_symbol_matcher): Renamed from
5238 ada_expand_partial_symbol_name.
5239 (ada_make_symbol_completion_list): Update to call
5240 expand_symtabs_matching.
5241 (ada_add_global_exceptions): Call expand_symtabs_matching.
5242 * mi/mi-cmd-file.c (mi_cmd_file_list_exec_source_files): Update to
5243 call map_symbol_filenames.
5244 * symtab.c (sources_info): Update to call map_symbol_filenames.
5245 (search_symbols): Call expand_symtabs_matching.
5246 (symbol_completion_matcher): Renamed from expand_partial_symbol_name.
5247 (default_make_symbol_completion_list_break_on): Update to call
5248 expand_symtabs_matching.
5249 (make_source_files_completion_list): Update to call
5250 map_symbol_filenames.
5252 2014-01-14 Doug Evans <dje@google.com>
5254 * symfile.h (expand_symtabs_file_matcher_ftype): New typedef.
5255 (expand_symtabs_symbol_matcher_ftype): New typedef.
5256 (quick_symbol_functions.expand_symtabs_matching): Update to use.
5257 expand_symtabs_file_matcher_ftype, expand_symtabs_symbol_matcher_ftype.
5258 * symfile.c (expand_partial_symbol_names): Update to use
5259 expand_symtabs_symbol_matcher_ftype.
5260 * dwarf2read.c (dw2_expand_symtabs_matching): Update to use
5261 expand_symtabs_file_matcher_ftype, expand_symtabs_symbol_matcher_ftype.
5262 Arg name_matcher renamed to symbol_matcher.
5263 * psymtab.c (recursively_search_psymtabs): Update to use
5264 expand_symtabs_symbol_matcher_ftype. Arg name_matcher renamed to
5266 (expand_symtabs_matching_via_partial): Update to use
5267 expand_symtabs_file_matcher_ftype, expand_symtabs_symbol_matcher_ftype.
5268 Arg name_matcher renamed to symbol_matcher.
5270 2014-01-14 Doug Evans <dje@google.com>
5272 * psymtab.c (expand_partial_symbol_names): Delete, moved to symfile.c.
5273 (map_partial_symbol_filenames): Ditto.
5274 * psymtab.h (expand_partial_symbol_names): Delete, moved to symfile.h.
5275 (map_partial_symbol_filenames): Ditto.
5276 * symfile.c (expand_partial_symbol_names): Moved here from psymtab.c.
5277 (map_partial_symbol_filenames): Ditto.
5278 * symfile.h (expand_partial_symbol_names): Moved here from psymtab.h.
5279 (map_partial_symbol_filenames): Ditto.
5280 * symtab.c: Delete #include "psymtab.h".
5282 2014-01-14 Pedro Alves <palves@redhat.com>
5283 Tom Tromey <tromey@redhat.com>
5285 * infrun.c (use_displaced_stepping): Use find_record_target
5286 instead of RECORD_IS_USED.
5287 (adjust_pc_after_break): Use record_full_is_used instead of
5289 * record-btrace.c (record_btrace_open): Call record_preopen
5290 instead of checking RECORD_IS_USED.
5291 * record-full.c (record_full_shortname)
5292 (record_full_core_shortname): New globals.
5293 (record_full_is_used): New function.
5294 (find_full_open): Call record_preopen instead of checking
5296 (init_record_full_ops): Set the target's shortname to
5297 record_full_shortname.
5298 (init_record_full_core_ops): Set the target's shortname to
5299 record_full_core_shortname.
5300 * record-full.h (record_full_is_used): Declare.
5301 * record.c (find_record_target): Make extern.
5302 (record_preopen): New function.
5303 * record.h (RECORD_IS_USED): Delete macro.
5304 (find_record_target, record_preopen): Declare functions.
5306 2014-01-14 Yao Qi <yao@codesourcery.com>
5308 * gdbarch.sh (core_xfer_shared_libraries): Change its argument
5309 'len''s type to ULONGEST.
5310 (core_xfer_shared_libraries_aix): Likewise.
5311 * gdbarch.c, gdbarch.h: Regenerated.
5312 * i386-cygwin-tdep.c (windows_core_xfer_shared_libraries):
5313 Change type of 'len' to ULONGEST.
5314 * rs6000-aix-tdep.c (rs6000_aix_ld_info_to_xml): Likewise.
5315 (rs6000_aix_core_xfer_shared_libraries_aix): Likewise.
5317 2014-01-14 Yao Qi <yao@codesourcery.com>
5319 * common/linux-osdata.c (linux_xfer_osdata_processes): Change
5320 type of 'len' to ULONGEST.
5321 (linux_xfer_osdata_processgroups): Likewise.
5322 (linux_xfer_osdata_threads): Likewise.
5323 (linux_xfer_osdata_fds): Likewise.
5324 (linux_xfer_osdata_isockets): Likewise.
5325 (linux_xfer_osdata_shm): Likewise.
5326 (linux_xfer_osdata_sem): Likewise.
5327 (linux_xfer_osdata_msg): Likewise.
5328 (linux_common_xfer_osdata): Likewise.
5329 (struct osdata_type) <getter>: Likewise.
5330 * common/linux-osdata.h (linux_common_xfer_osdata): Update
5333 2014-01-14 Yao Qi <yao@codesourcery.com>
5335 * target.h (target_xfer_partial_ftype): Update.
5336 (struct target_ops) <to_xfer_partial>: Change 'len' type to
5338 * aix-thread.c (aix_thread_xfer_partial): Change type of
5339 argument 'len' to ULONGEST.
5340 * auxv.c (procfs_xfer_auxv): Likewise.
5341 (ld_so_xfer_auxv): Likewise.
5342 (memory_xfer_auxv): Likewise.
5343 * bfd-target.c (target_bfd_xfer_partial): Likewise.
5344 * bsd-kvm.c (bsd_kvm_xfer_partial): Likewise.
5345 * bsd-uthread.c (bsd_uthread_xfer_partial): Likewise.
5346 * corelow.c (core_xfer_partial): Likewise.
5347 * ctf.c (ctf_xfer_partial): Likewise.
5348 * darwin-nat.c (darwin_read_write_inferior): Likewise. Use
5350 (darwin_read_dyld_info): Likewise.
5351 (darwin_xfer_partial): Likewise.
5352 * exec.c (section_table_xfer_memory_partial): Likewise.
5353 (exec_xfer_partial): Likewise.
5354 * exec.h (section_table_xfer_memory_partial): Update
5356 * gnu-nat.c (gnu_xfer_memory): Likewise. Call pulongest
5357 instead of plongest.
5358 (gnu_xfer_partial): Likewise.
5359 * ia64-hpux-nat.c (ia64_hpux_xfer_memory): Likewise.
5360 (ia64_hpux_xfer_solib_got): Likewise.
5361 (ia64_hpux_xfer_partial): Likewise.
5362 * ia64-linux-nat.c (ia64_linux_xfer_partial):
5363 * inf-ptrace.c (inf_ptrace_xfer_partial):
5364 * inf-ttrace.c (inf_ttrace_xfer_partial):
5365 * linux-nat.c (linux_xfer_siginfo): Likewise.
5366 (linux_nat_xfer_partial): Likewise.
5367 (spu_enumerate_spu_ids, linux_proc_xfer_spu): Likewise.
5368 (linux_nat_xfer_osdata, linux_xfer_partial): Likewise.
5369 * monitor.c (monitor_xfer_memory): Likewise.
5370 (monitor_xfer_partial): Likewise.
5371 * procfs.c (procfs_xfer_partial): Likewise.
5372 * record-full.c (record_full_xfer_partial): Likewise.
5373 (record_full_core_xfer_partial): Likewise.
5374 * remote-sim.c (gdbsim_xfer_memory): Likewise. Call pulongest
5375 instead of plongest.
5376 (gdbsim_xfer_partial): Likewise.
5377 * remote.c (remote_xfer_partial): Likewise.
5378 * rs6000-aix-tdep.c (rs6000_aix_ld_info_to_xml): Likewise.
5379 * rs6000-aix-tdep.h (rs6000_aix_ld_info_to_xml): Update
5381 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
5382 (rs6000_xfer_shared_libraries): Likewise.
5383 * sol-thread.c (sol_thread_xfer_partial): Likewise.
5384 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
5385 (sparc_xfer_partial): Likewise.
5386 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise.
5387 (spu_xfer_partial): Likewise.
5388 * spu-multiarch.c (spu_xfer_partial): Likewise.
5389 * target.c (target_read_live_memory): Likewise.
5390 (memory_xfer_live_readonly_partial): Likewise.
5391 (memory_xfer_partial, memory_xfer_partial_1): Likewise.
5392 (target_xfer_partial, default_xfer_partial): Likewise.
5393 (current_xfer_partial): Likewise.
5394 * tracepoint.c (tfile_xfer_partial): Likewise.
5395 * windows-nat.c (windows_xfer_memory): Likewise. Call
5396 pulongest instead of plongest.
5397 (windows_xfer_partial): Likewise.
5398 (windows_xfer_shared_libraries): Likewise.
5400 2014-01-14 Yao Qi <yao@codesourcery.com>
5402 * rs6000-nat.c (rs6000_xfer_shared_libraries): Use
5403 target_xfer_partial_ftype.
5405 2014-01-13 Siva Chandra Reddy <sivachandra@google.com>
5409 * valops.c (value_struct_elt_bitpos): New function
5410 * py-type.c (convert_field): Set 'name' attribute of a gdb.Field
5411 object to 'None' if the field name is an empty string ("").
5412 * python/py-value.c (valpy_getitem): Use 'bitpos' and 'type'
5413 attribute to look for a field when 'name' is 'None'.
5414 (get_field_type): New function
5416 2014-01-13 Doug Evans <dje@google.com>
5419 * dwarf2read.c (dwarf2_get_dwz_file): Call gdb_bfd_record_inclusion.
5420 (try_open_dwop_file): Ditto.
5421 * gdb_bfd.c: #include "vec.h".
5422 (bfdp): New typedef.
5423 (struct gdb_bfd_data): New member included_bfds.
5424 (gdb_bfd_unref): Unref all included bfds.
5425 (gdb_bfd_record_inclusion): New function.
5426 * gdb_bfd.h (gdb_bfd_record_inclusion): Declare.
5428 2014-01-13 Tom Tromey <tromey@redhat.com>
5430 * gdbcore.h (deprecated_core_resize_section_table): Remove.
5432 2014-01-13 Tom Tromey <tromey@redhat.com>
5434 * defs.h (use_windows): Remove.
5435 * gdb.c (main): Update.
5436 * main.c (captured_main, gdb_main): Update.
5437 * main.h (struct captured_main_args) <use_windows>: Remove.
5438 * top.c (use_windows): Remove.
5440 2014-01-13 Tom Tromey <tromey@redhat.com>
5442 * defs.h (deprecated_flush_hook): Remove.
5444 2014-01-13 Jan Kratochvil <jan.kratochvil@redhat.com>
5447 * linux-thread-db.c (try_thread_db_load): Add parameter
5448 check_auto_load_safe. Move here the file_is_auto_load_safe call.
5449 (try_thread_db_load_from_pdir_1): Move it there from here.
5450 (try_thread_db_load_from_sdir): Update caller.
5451 (try_thread_db_load_from_dir): Move it there from here.
5453 2014-01-13 Patrick Palka <patrick@parcs.ath.cx>
5455 * regformats/regdat.sh: Always rewrite the register file.
5457 2014-01-13 Pedro Alves <palves@redhat.com>
5459 * Makefile.in (CHECK_HEADERS): New variable.
5460 (check-headers:): New rule.
5462 2014-01-13 Tom Tromey <tromey@redhat.com>
5464 * cli/cli-setshow.c (do_set_command): Update.
5465 * defs.h (deprecated_set_hook): Remove.
5466 * top.c (deprecated_set_hook): Remove.
5468 2014-01-13 Pedro Alves <palves@redhat.com>
5470 * tracepoint.c (tfile_fetch_registers): Don't infer the PC from
5471 the tracepoint if the PC is a pseudo-register.
5473 2014-01-13 Tom Tromey <tromey@redhat.com>
5475 * defs.h (XCALLOC): Remove.
5476 * bcache.c (bcache_xmalloc): Use XCNEW, not XCALLOC.
5477 (print_bcache_statistics): Use XCNEWVEC, not XCALLOC.
5478 * dwarf2loc.c (allocate_piece_closure): Likewise.
5479 * elfread.c (elf_symfile_segments): Likewise.
5480 (elf_symfile_segments): Likewise.
5481 * gdbtypes.c (copy_type_recursive): Likewise.
5482 * i386-tdep.c (i386_gdbarch_init): Use XCNEW, not XCALLOC.
5483 * jit.c (jit_frame_sniffer): Use XCNEWVEC, not XCALLOC.
5484 * minsyms.c (prim_record_minimal_symbol_full): Use XCNEW, not
5486 * mt-tdep.c (mt_gdbarch_init): Likewise.
5487 * opencl-lang.c (allocate_lval_closure): Use XCNEWVEC, not
5489 * psymtab.c (psymbol_compare): Use XCNEW, not XCALLOC.
5490 * regcache.c (regcache_xmalloc_1): Use XCNEWVEC, not XCALLOC.
5491 * registry.c (registry_alloc_data): Likewise.
5492 * rs6000-tdep.c (rs6000_gdbarch_init): Use XCNEW, not XCALLOC.
5493 * s390-linux-tdep.c (s390_gdbarch_init): Likewise.
5494 * serial.c (serial_fdopen_ops): Likewise.
5495 * solib-aix.c (solib_aix_get_section_offsets): Use XCNEWVEC, not
5497 * spu-tdep.c (spu_gdbarch_init): Use XCNEW, not XCALLOC.
5498 * symfile.c (default_symfile_segments): Use XCNEW and XCNEWVEC,
5501 2014-01-13 Tom Tromey <tromey@redhat.com>
5503 * defs.h (XMALLOC): Remove.
5504 * avr-tdep.c (avr_gdbarch_init): Use XNEW, not XMALLOC.
5505 * bfin-tdep.c (bfin_gdbarch_init): Likewise.
5506 * cli-out.c (struct ui_out *): Likewise.
5507 * cli/cli-dump.c (add_dump_command): Likewise.
5508 (add_dump_command): Likewise.
5509 * complaints.c (get_complaints): Likewise.
5510 (find_complaint): Likewise.
5511 * dwarf2-frame.c (execute_cfa_program): Likewise.
5512 * dwarf2read.c (abbrev_table_read_table): Likewise.
5513 * gdbarch.sh: Likewise.
5514 * gdbarch.c: Rebuild.
5515 * inf-ttrace.c (inf_ttrace_add_page): Likewise.
5516 * interps.c (interp_new): Likewise.
5517 * lm32-tdep.c (lm32_gdbarch_init): Likewise.
5518 * m32r-tdep.c (m32r_gdbarch_init): Likewise.
5519 * mi/mi-console.c (mi_console_file_new): Likewise.
5520 * mi/mi-interp.c (mi_interpreter_init): Likewise.
5521 * mi/mi-out.c (mi_out_new): Likewise.
5522 * mi/mi-parse.c (mi_parse): Likewise.
5523 * microblaze-tdep.c (microblaze_gdbarch_init): Likewise.
5524 * moxie-tdep.c (moxie_gdbarch_init): Likewise.
5525 * observer.c (xalloc_observer_list_node): Likewise.
5526 * regcache.c (regcache_xmalloc_1): Likewise.
5527 * reggroups.c (reggroup_new): Likewise.
5528 (_initialize_reggroup): Likewise.
5529 * registry.c (register_data_with_cleanup): Likewise.
5530 * remote.c (remote_notif_stop_alloc_reply): Likewise.
5531 * ser-base.c (serial_ttystate): Likewise.
5532 * ser-mingw.c (make_pipe_state): Likewise.
5533 * ser-pipe.c (pipe_open): Likewise.
5534 * serial.c (serial_open): Likewise.
5535 * sh64-tdep.c (sh64_gdbarch_init): Likewise.
5536 * tui/tui-data.c (tui_alloc_generic_win_info): Likewise.
5537 (tui_alloc_win_info): Likewise.
5538 (tui_add_content_elements): Likewise.
5539 * tui/tui-file.c (tui_file_new): Likewise.
5540 * tui/tui-out.c (tui_out_new): Likewise.
5541 * ui-file.c (mem_file_new): Likewise.
5542 * ui-out.c (push_level): Likewise.
5543 (make_cleanup_ui_out_end): Likewise.
5544 (append_header_to_list): Likewise.
5545 (ui_out_new): Likewise.
5546 * user-regs.c (user_reg_add_builtin): Likewise.
5548 2014-01-13 Tom Tromey <tromey@redhat.com>
5550 * defs.h (XZALLOC): Remove.
5551 * ada-lang.c (get_ada_inferior_data): Use XCNEW, not XZALLOC.
5552 * ada-tasks.c (get_ada_tasks_pspace_data): Likewise.
5553 (get_ada_tasks_inferior_data): Likewise.
5554 * auto-load.c (get_auto_load_pspace_data): Likewise.
5555 * auxv.c (get_auxv_inferior_data): Likewise.
5556 * bfd-target.c (target_bfd_reopen): Likewise.
5557 * breakpoint.c (get_catch_syscall_inferior_data): Likewise.
5558 (deprecated_insert_raw_breakpoint): Likewise.
5559 * bsd-uthread.c (bsd_uthread_pid_to_str): Likewise.
5560 * corelow.c (core_open): Likewise.
5561 * darwin-nat.c (darwin_check_new_threads): Likewise.
5562 (darwin_attach_pid): Likewise.
5563 * dummy-frame.c (dummy_frame_push): Likewise.
5564 * dwarf2-frame.c (dwarf2_frame_cache): Likewise.
5565 * dwarf2loc.c (allocate_piece_closure): Likewise.
5566 * elfread.c (elf_symfile_segments): Likewise.
5567 * eval.c (ptrmath_type_p): Likewise.
5568 * exceptions.c (EXCEPTIONS_SIGJMP_BUF): Likewise.
5569 * gdbtypes.c (alloc_type_arch): Likewise.
5570 (alloc_type_instance): Likewise.
5571 * hppa-tdep.c (hppa_gdbarch_init): Likewise.
5572 * inf-child.c (inf_child_can_use_agent): Likewise.
5573 * inflow.c (get_inflow_inferior_data): Likewise.
5574 * infrun.c (save_infcall_suspend_state): Likewise.
5575 * jit.c (jit_reader_load): Likewise.
5576 (get_jit_objfile_data): Likewise.
5577 (get_jit_program_space_data): Likewise.
5578 (jit_object_open_impl): Likewise.
5579 (jit_symtab_open_impl): Likewise.
5580 (jit_block_open_impl): Likewise.
5581 (jit_frame_sniffer): Likewise.
5582 * linux-fork.c (add_fork): Likewise.
5583 * maint.c (make_command_stats_cleanup): Likewise.
5584 * objfiles.c (get_objfile_pspace_data): Likewise.
5585 * opencl-lang.c (struct lval_closure): Likewise.
5586 * osdata.c (osdata_start_osdata): Likewise.
5587 * progspace.c (new_address_space): Likewise.
5588 (add_program_space): Likewise.
5589 * remote-sim.c (get_sim_inferior_data): Likewise.
5590 * sh-tdep.c (sh_gdbarch_init): Likewise.
5591 * skip.c (Ignore): Likewise.
5592 (skip_delete_command): Likewise.
5593 * solib-aix.c (get_solib_aix_inferior_data): Likewise.
5594 (library_list_start_library): Likewise.
5595 (solib_aix_current_sos): Likewise.
5596 * solib-darwin.c (get_darwin_info): Likewise.
5597 (darwin_current_sos): Likewise.
5598 * solib-dsbt.c (get_dsbt_info): Likewise.
5599 * solib-ia64-hpux.c (new_so_list): Likewise.
5600 (ia64_hpux_get_solib_linkage_addr): Likewise.
5601 * solib-spu.c (append_ocl_sos): Likewise.
5602 (spu_current_sos): Likewise.
5603 * solib-svr4.c (get_svr4_info): Likewise.
5604 (svr4_keep_data_in_core): Likewise.
5605 (library_list_start_library): Likewise.
5606 (svr4_default_sos): Likewise.
5607 (svr4_read_so_list): Likewise.
5608 * solib-target.c (library_list_start_library): Likewise.
5609 (solib_target_current_sos): Likewise.
5610 * sparc-tdep.c (sparc32_gdbarch_init): Likewise.
5611 * symfile-debug.c (install_symfile_debug_logging): Likewise.
5612 * symfile.c (default_symfile_segments): Likewise.
5613 * target-descriptions.c (tdesc_data_init): Likewise.
5614 (tdesc_create_reg): Likewise.
5615 (struct tdesc_type *): Likewise.
5616 (tdesc_create_vector): Likewise.
5617 (tdesc_set_struct_size): Likewise.
5618 (struct tdesc_type *): Likewise.
5619 (tdesc_free_feature): Likewise.
5620 (tdesc_create_feature): Likewise.
5621 * windows-nat.c (windows_add_thread): Likewise.
5622 (windows_make_so): Likewise.
5623 * xml-support.c (gdb_xml_body_text): Likewise.
5624 (gdb_xml_create_parser_and_cleanup): Likewise.
5625 (xml_process_xincludes): Likewise.
5626 * xml-syscall.c (allocate_syscalls_info): Likewise.
5627 (syscall_create_syscall_desc): Likewise.
5629 2014-01-12 Sergio Durigan Junior <sergiodj@redhat.com>
5631 * i386-tdep.c (i386_stap_parse_special_token_triplet): New
5632 function, with code from i386_stap_parse_special_token.
5633 (i386_stap_parse_special_token_three_arg_disp): Likewise.
5634 (i386_stap_parse_special_token): Move code to the two functions
5637 2014-01-09 Pedro Alves <palves@redhat.com>
5638 Hui Zhu <hui@codesourcery.com>
5641 * breakpoint.c (insert_bp_location): Rename hw_bp_err_string to
5642 bp_err_string. Don't mark the location shlib_disabled if the
5643 error thrown wasn't a generic or memory error. Catch errors
5644 thrown while inserting breakpoints in overlayed code. Output
5645 error message of software breakpoints.
5646 * remote.c (remote_insert_breakpoint): If this breakpoint has
5647 target-side commands but this stub doesn't support Z0 packets,
5648 throw NOT_SUPPORTED_ERROR error.
5649 * exceptions.h (enum errors) <NOT_SUPPORTED_ERROR>: New error.
5650 * target.h (target_insert_breakpoint): Extend comment.
5651 (target_insert_hw_breakpoint): Add comment.
5653 2014-01-08 Pedro Alves <palves@redhat.com>
5655 * remote.c (remote_add_thread): Add threads silently if starting
5657 (remote_notice_new_inferior): If in all-stop, and starting up,
5658 don't call notice_new_inferior.
5659 (get_current_thread): New function, factored out from ...
5660 (add_current_inferior_and_thread): ... this. Adjust.
5661 (remote_start_remote) <all-stop>: Fetch the thread list. If we
5662 found any thread, then select the remote's current thread as GDB's
5665 2014-01-08 Joel Brobecker <brobecker@adacore.com>
5667 * NEWS: Create a new section for the next release branch.
5668 Rename the section of the current branch, now that it has
5671 2014-01-08 Joel Brobecker <brobecker@adacore.com>
5673 GDB 7.7 branch created (79301218fa0f074c5656db0ec8972a5ddcf91fb5):
5674 * version.in: Bump version to 7.7.50.DATE-cvs.
5676 2014-01-08 Yao Qi <yao@codesourcery.com>
5678 * spu-linux-nat.c (spu_symbol_file_add_from_memory): Change
5679 type of 'id' to gdb_byte. Cast 'id' to 'const char *'.
5680 (spu_xfer_partial): Cast 'buf' to 'const char *'.
5682 2014-01-08 Yao Qi <yao@codesourcery.com>
5684 * spu-linux-nat.c (spu_symbol_file_add_from_memory): Pass
5685 return value of bfd_get_filename to symbol_file_add_from_bfd.
5687 2014-01-08 Pierre Muller <muller@sourceware.org>
5690 * coff-pe-read.c (struct read_pe_section_data): Add index field.
5691 (add_pe_exported_sym): Use SECTION_DATA->INDEX for call
5692 to prim_record_mininal_symbol_and_info.
5693 (add_pe_forwarded_sym): Use known section number of forwarded symbol
5694 in call to prim_record_minimal_symbol_and_info.
5695 (read_pe_exported_syms): Set index field of section_data.
5697 2014-01-07 Andrew Pinski <apinski@cavium.com>
5699 * features/aarch64-core.xml (cpsr): Change to be 64bit.
5700 * features/aarch64.c: Regenerate.
5702 2014-01-07 Andreas Schwab <schwab@linux-m68k.org>
5704 * target.c (return_null): Define.
5705 (update_current_target): Use it instead of return_zero for
5706 functions that return a pointer.
5708 2014-01-07 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
5710 * source.c (add_path): Fix check for duplicated paths in the previously
5713 2014-01-07 Honggyu Kim <hong.gyu.kim@lge.com>
5715 * ada-lang.c: Remove duplicated include statements.
5716 * alphabsd-nat.c: Ditto.
5717 * amd64-darwin-tdep.c: Ditto.
5718 * amd64fbsd-nat.c: Ditto.
5719 * auto-load.c: Ditto.
5721 * breakpoint.c: Ditto.
5723 * fork-child.c: Ditto.
5724 * gdb_usleep.c: Ditto.
5725 * i386-darwin-tdep.c: Ditto.
5726 * i386fbsd-nat.c: Ditto.
5728 * inferior.c: Ditto.
5730 * linux-nat.c: Ditto.
5731 * linux-tdep.c: Ditto.
5732 * m68kbsd-nat.c: Ditto.
5733 * m68klinux-nat.c: Ditto.
5734 * microblaze-tdep.c: Ditto.
5735 * mips-linux-tdep.c: Ditto.
5736 * mn10300-tdep.c: Ditto.
5737 * nto-tdep.c: Ditto.
5738 * opencl-lang.c: Ditto.
5740 * printcmd.c: Ditto.
5741 * regcache.c: Ditto.
5742 * remote-m32r-sdi.c: Ditto.
5746 * tilegx-linux-nat.c: Ditto.
5747 * tilegx-tdep.c: Ditto.
5748 * tracepoint.c: Ditto.
5750 * vaxbsd-nat.c: Ditto.
5751 * windows-nat.c: Ditto.
5752 * xtensa-tdep.c: Ditto.
5754 2014-01-07 Yao Qi <yao@codesourcery.com>
5756 * spu-linux-nat.c (_initialize_spu_nat): Declare.
5758 2014-01-07 Yao Qi <yao@codesourcery.com>
5759 Joel Brobecker <brobecker@adacore.com>
5761 * aix-thread.c (pdc_read_regs): Cast parameter to uintptr_t.
5762 (pdc_write_regs): Likewise.
5763 (fetch_regs_kernel_thread): Likewise.
5764 (store_regs_kernel_thread): Likewise.
5766 2014-01-07 Joel Brobecker <brobecker@adacore.com>
5768 * ada-varobj.c (ada_varobj_adjust_for_child_access): Convert
5769 tagged type objects to their actual type.
5771 2014-01-07 Joel Brobecker <brobecker@adacore.com>
5773 * ada-valprint.c (print_field_values): Add "language" parameter.
5774 Update calls to print_field_values and print_variant_part.
5775 Pass new parameter "language" in call to val_print instead
5776 of "current_language". Replace call to ada_val_print by call
5778 (print_variant_part): Add "language" parameter.
5779 (ada_val_print_struct_union): Update call to print_field_values.
5781 2014-01-07 Joel Brobecker <brobecker@adacore.com>
5783 * ada-valprint.c (ui_memcpy): Delete.
5784 (ada_print_floating): Update documentation. Add empty line
5785 between between function documentation and implementation.
5786 Delete variable "buffer". Use ui_file_xstrdup in place of
5787 ui_file_put. Minor adjustments following this change.
5789 2014-01-07 Joel Brobecker <brobecker@adacore.com>
5791 * ada-valprint.c (ada_val_print_string): New function,
5792 extracted from ada_val_print_array.
5793 (ada_val_print_array): Replace extracted code by call
5794 to ada_val_print_string followed by a return. Move
5795 "else" branch to the function's top block.
5797 2014-01-07 Joel Brobecker <brobecker@adacore.com>
5799 * ada-valprint.c (ada_val_print_array): Move implementation
5800 down. Rename parameter "offset" and "val" into "offset_aligned"
5801 and "original_value" respectively. Add parameter "offset".
5803 2014-01-07 Joel Brobecker <brobecker@adacore.com>
5805 * ada-valprint.c (ada_val_print_ref): Rewrite by mostly
5806 re-organizing the code. Change the "???" message printed
5807 when target type is a TYPE_CODE_UNDEF into
5808 "<ref to undefined type>".
5810 2014-01-07 Joel Brobecker <brobecker@adacore.com>
5812 * ada-valprint.c (print_record): Delete, implementation inlined...
5813 (ada_val_print_struct_union): ... here. Remove call to
5814 ada_check_typedef in inlined implementation.
5816 2014-01-07 Joel Brobecker <brobecker@adacore.com>
5818 * ada-valprint.c (ada_val_print_gnat_array): New function,
5819 extracted from ada_val_print_1;
5820 (ada_val_print_ptr, ada_val_print_num, ada_val_print_enum)
5821 (ada_val_print_flt, ada_val_print_struct_union)
5822 (ada_val_print_ref): Likewise.
5823 (ada_val_print_1): Delete variables i and elttype.
5824 Replace extracted-out code by call to corresponding
5827 2014-01-07 Joel Brobecker <brobecker@adacore.com>
5829 * ada-valprint.c (ada_val_print_1): Remove call to gdb_flush.
5831 2014-01-07 Joel Brobecker <brobecker@adacore.com>
5833 * ada-valprint.c (ada_val_print_1): Replace calls to
5834 ada_val_print_1 by calls to val_print.
5836 2014-01-07 Joel Brobecker <brobecker@adacore.com>
5838 * ada-valprint.c (ada_val_print_1): Add parameter "language".
5839 Update calls to self accordingly. Replace calls to c_val_print
5840 by calls to val_print.
5842 2014-01-07 Joel Brobecker <brobecker@adacore.com>
5844 * ada-valprint.c (print_record): Delete declaration.
5845 (adjust_type_signedness, ada_val_print_1): Likewise.
5846 (ada_val_print): Move function implementation down.
5847 (print_variant_part, print_field_values, print_record):
5848 Move function implementation up.
5850 2014-01-07 Joel Brobecker <brobecker@adacore.com>
5852 * python/py-type.c (typy_get_name): New function.
5853 (type_object_getset): Add entry for attribute "name".
5854 * NEWS: Add entry mentioning this new attribute.
5856 2014-01-07 Yao Qi <yao@codesourcery.com>
5858 * gnu-nat.c (set_exceptions_cmd): Remove an empty body 'if'
5861 2014-01-07 Yao Qi <yao@codesourcery.com>
5863 * gnu-nat.c (info_port_rights): Add qualifier const to
5866 2014-01-07 Yao Qi <yao@codesourcery.com>
5868 * gnu-nat.c (trace_me): Use 'void' for empty argument list.
5870 2014-01-07 Yao Qi <yao@codesourcery.com>
5872 * gnu-nat.c (make_inf) Update declaration.
5873 (make_inf): Make it static.
5874 (inf_set_traced): Likewise.
5875 (inf_port_to_thread, inf_task_died_status): Likewise.
5877 2014-01-07 Yao Qi <yao@codesourcery.com>
5879 * gnu-nat.c (inf_tid_to_proc): Remove declaration.
5881 2014-01-07 Yao Qi <yao@codesourcery.com>
5883 * gnu-nat.c (_initialize_gnu_nat): Declare.
5885 2014-01-07 Yao Qi <yao@codesourcery.com>
5887 * gdbarch.sh (byte_order, byte_order_for_code): Change type to
5889 (struct gdbarch_info) <byte_order>: Change type to
5891 <byte_order_for_code>: Likewise.
5892 * gdbarch.c, gdbarch.h: Regenerated.
5894 2014-01-06 Sasha Smundak <asmundak@google.com>
5896 * jit.c: (jit_reader_load_command): Fix JIT reader path creation.
5898 2014-01-06 Tom Tromey <tromey@redhat.com>
5900 * doublest.c (convert_doublest_to_floatformat): Use const, not
5902 * somread.c (som_symtab_read): Likewise.
5904 2014-01-07 Hui Zhu <hui@codesourcery.com>
5906 * gdb_bfd.c (gdb_bfd_stash_filename): Removed.
5907 (gdb_bfd_open): Removed gdb_bfd_stash_filename.
5908 (gdb_bfd_fopen): Ditto.
5909 (gdb_bfd_openr): Ditto.
5910 (gdb_bfd_openw): Ditto.
5911 (gdb_bfd_openr_iovec): Ditto.
5912 (gdb_bfd_fdopenr): Ditto.
5913 * gdb_bfd.h (gdb_bfd_stash_filename): Removed.
5914 * solib-aix.c (solib_aix_bfd_open): Alloc object_bfd->filename
5916 * solib-darwin.c (darwin_bfd_open): Alloc res->filename
5918 * symfile-mem.c (symbol_file_add_from_memory): Removed
5919 gdb_bfd_stash_filename.
5921 2014-01-03 Doug Evans <dje@google.com>
5923 * nat/linux-waitpid.c (linux_debug): Remove extraneous \n from
5926 2014-01-01 Joel Brobecker <brobecker@adacore.com>
5928 Update year range in copyright notice of all files.
5930 2014-01-01 Joel Brobecker <brobecker@adacore.com>
5932 * top.c (print_gdb_version): Set copyright year to 2014.
5934 2014-01-01 Joel Brobecker <brobecker@adacore.com>
5936 * config/djgpp/fnchange.lst: Add entry for gdb/ChangeLog-2013.
5938 For older changes see ChangeLog-2013.
5944 version-control: never