1 2014-03-05 Pedro Alves <palves@redhat.com>
4 * dcache.c (dcache_poke_byte): Constify ptr parameter. Return
6 (dcache_xfer_memory): Delete.
7 (dcache_read_memory_partial): New, based on the read bits of
9 (dcache_update): Add status parameter. Use ULONGEST for len, and
10 adjust. Discard cache lines if the reason for the update was
12 * dcache.h (dcache_xfer_memory): Delete declaration.
13 (dcache_read_memory_partial): New declaration.
14 (dcache_update): Update prototype.
15 * target.c (raw_memory_xfer_partial): Update the dcache here.
16 (memory_xfer_partial_1): Don't handle dcache writes here.
18 2014-03-05 Mike Frysinger <vapier@gentoo.org>
20 * remote-sim.c (gdbsim_load): Add const to prog.
22 2014-03-03 Tom Tromey <tromey@redhat.com>
24 * elfread.c (probe_key): Change to bfd_data.
25 (elf_get_probes, probe_key_free, _initialize_elfread): Probes are
26 now per-BFD, not per-objfile.
27 * stap-probe.c (stap_probe_destroy): Update comment.
28 (handle_stap_probe): Allocate on the per-BFD obstack.
30 2014-03-03 Tom Tromey <tromey@redhat.com>
32 * break-catch-throw.c (fetch_probe_arguments): Use bound probes.
33 * breakpoint.c (create_longjmp_master_breakpoint): Use
35 (add_location_to_breakpoint, bkpt_probe_insert_location)
36 (bkpt_probe_remove_location): Update.
37 * breakpoint.h (struct bp_location) <probe>: Now a bound_probe.
38 * elfread.c (elf_symfile_relocate_probe): Remove.
39 (elf_probe_fns): Update.
40 (insert_exception_resume_breakpoint): Change type of "probe"
41 parameter to bound_probe.
42 (check_exception_resume): Update.
43 * objfiles.c (objfile_relocate1): Don't relocate probes.
44 * probe.c (bound_probe_s): New typedef.
45 (parse_probes): Use get_probe_address. Set sal's objfile.
46 (find_probe_by_pc): Return a bound_probe.
47 (collect_probes): Return a VEC(bound_probe_s).
48 (compare_probes): Update.
49 (gen_ui_out_table_header_info): Change type of "probes"
51 (info_probes_for_ops): Update.
52 (get_probe_address): New function.
53 (probe_safe_evaluate_at_pc): Update.
54 * probe.h (struct probe_ops) <get_probe_address>: New field.
55 <set_semaphore, clear_semaphore>: Add objfile parameter.
56 (struct probe) <objfile>: Remove field.
58 <address>: Update comment.
59 (struct bound_probe): New.
60 (find_probe_by_pc): Return a bound_probe.
61 (get_probe_address): Declare.
62 * solib-svr4.c (struct probe_and_action) <address>: New field.
63 (hash_probe_and_action, equal_probe_and_action): Update.
64 (register_solib_event_probe): Add address parameter.
65 (solib_event_probe_at): Update.
66 (svr4_create_probe_breakpoints): Add objfile parameter. Use
68 * stap-probe.c (struct stap_probe) <sem_addr>: Update comment.
69 (stap_get_probe_address): New function.
70 (stap_can_evaluate_probe_arguments, compute_probe_arg)
71 (compile_probe_arg): Update.
72 (stap_set_semaphore, stap_clear_semaphore): Compute semaphore's
74 (handle_stap_probe): Don't relocate the probe.
75 (stap_relocate): Remove.
76 (stap_gen_info_probes_table_values): Update.
77 (stap_probe_ops): Remove stap_relocate.
78 * symfile-debug.c (debug_sym_relocate_probe): Remove.
79 (debug_sym_probe_fns): Update.
80 * symfile.h (struct sym_probe_fns) <sym_relocate_probe>: Remove.
81 * symtab.c (init_sal): Use memset.
82 * symtab.h (struct symtab_and_line) <objfile>: New field.
83 * tracepoint.c (start_tracing, stop_tracing): Update.
85 2014-03-03 Tom Tromey <tromey@redhat.com>
87 * probe.h (parse_probes, find_probe_by_pc)
88 (find_probes_in_objfile): Fix comments.
90 2014-03-02 Doug Evans <xdje42@gmail.com>
92 * infrun.c (handle_signal_stop): Replace test for
93 TARGET_WAITKIND_STOPPED with an assert.
95 2014-03-02 Doug Evans <xdje42@gmail.com>
97 * guile/scm-objfile.c (ofscm_mark_objfile_smob): Fix typo in comment.
99 2014-03-02 Doug Evans <xdje42@gmail.com>
101 * guile/lib/gdb/printing.scm (append-pretty-printer!): Fix thinko.
103 2014-03-01 Mark Kettenis <kettenis@gnu.org>
105 * obsd-nat.c: Include "gdb_wait.h" instead of <sys/wait.h>.
107 2014-03-01 Mark Kettenis <kettenis@gnu.org>
109 * i386obsd-nat.c: Include "obsd-nat.h".
110 (_initialize_i386obsd_nat): Call obsd_add_target instead of
112 * config/i386/obsd.mh (NATDEPFILES): Add obsd-nat.o.
114 2014-03-01 Mark Kettenis <kettenis@gnu.org>
116 * i386obsd-nat.c (i386obsd_supply_pcb): Cast 'sf' to 'gdb_byte *'.
118 2014-03-01 Mark Kettenis <kettenis@gnu.org>
120 * mips64obsd-nat.c: Include "obsd-nath".
121 (_initialize_mips64obsd_nat): Call obsd_add_target instead of
123 * config/mips/obsd64.mh (NATDEPFILES): Add obsd-nat.o.
125 2014-03-01 Mark Kettenis <kettenis@gnu.org>
127 * amd64obsd-nat.c: Include "obsd-nat,h.
128 (_initialize_amd64obsd_nat): Call obsd_add_target instead of
130 * config/i386/obsd64.mh (NATDEPFILES): Add obsd-nat.o.
132 2014-02-28 Siva Chandra Reddy <sivachandra@google.com>
134 * valops.c (find_oload_champ): Remove unneccesary argument METHOD.
135 (find_overload_match): Update call to find_oload_champ.
136 (find_oload_champ_namespace_loop): Likewise
138 2014-02-28 Mark Kettenis <kettenis@gnu.org>
140 * Makefile.in (ALLDEPFILES): Add sparc64obsd-nat.c.
142 * configure.host (sparc64-*-openbsd*): Set gdb_host to obsd64.
143 * config/sparc/obsd64.mh: New file.
144 * sparc64obsd-nat.c: New file.
146 * obsd-nat.h: New file.
147 * obsd-nat.c: New file.
148 * Makefile.in (HFILES_NO_SRCDIR): Add obsd-nat.h.
149 (ALLDEPFILES): Add obsd-nat.c.
151 2014-02-28 Tom Tromey <tromey@redhat.com>
153 * cli-out.c (cli_ui_out_impl): Now const. Remove comment.
154 * cli-out.h (cli_ui_out_impl): Now const.
155 * mi/mi-out.c (mi_ui_out_impl): Now const. Remove comment.
156 * ui-out.c (struct ui_out) <impl>: Now const.
157 (default_ui_out_impl): Now const.
158 (ui_out_new): Make 'impl' parameter const.
159 * ui-out.h (ui_out_new): Update.
161 2014-02-27 Mark Kettenis <kettenis@gnu.org>
163 * solib-svr4.c (svr4_read_so_list): Initialize first_l_name to 0.
165 2014-02-27 Mark Kettenis <kettenis@gnu.org>
167 * sparc-nat.c (sparc_xfer_wcookie): Always use process ID.
169 2014-02-27 Jan Kratochvil <jan.kratochvil@redhat.com>
171 Additional PR 8882 fix.
172 * solib-svr4.c (svr4_read_so_list): Change first to first_l_name.
174 2014-02-27 Pedro Alves <palves@redhat.com>
176 * nat/linux-waitpid.c (my_waitpid): Only block signals if WNOHANG
179 2014-02-27 Pedro Alves <palves@redhat.com>
182 * linux-nat.c (status_to_str): Moved to nat/linux-waitpid.c.
183 * nat/linux-waitpid.c: Include string.h.
184 (status_to_str): Moved here and made extern.
185 * nat/linux-waitpid.h (status_to_str): New declaration.
187 2014-02-27 Hui Zhu <hui@codesourcery.com>
190 * infrun.c (ptid_match): Move ...
191 * common/ptid.c (ptid_match): ... here.
192 * inferior.h (ptid_match): Move ...
193 * common/ptid.h (ptid_match): ... here.
195 2014-02-27 Mark Kettenis <kettenis@gnu.org>
197 * mips64obsd-tdep.c (mips64obsd_init_abi): Call obsd_init_abi.
198 * configure.tgt (mips64*-*-openbsd*): Add obsd-tdep.c to
201 2014-02-27 Mark Kettenis <kettenis@gnu.org>
203 * obsd-tdep.c (obsd_auxv_parse): New function.
204 (obsd_init_abi): Set auxv_parse.
206 * gdbarch.sh (auxv_parse): New.
207 * gdbarch.h: Regenerated.
208 * gdbarch.c: Regenerated.
209 * auxv.c (target_auxv_parse): Call gdbarch_parse_auxv if provided.
211 2014-02-26 Ludovic Courtès <ludo@gnu.org>
213 * guile/scm-value.c (gdbscm_history_append_x): New function.
214 (value_functions): Add it.
216 2014-02-27 Joel Brobecker <brobecker@adacore.com>
218 * dwarf2read.c (attr_value_as_address): New function.
219 (dwarf2_find_base_address, read_call_site_scope): Use
220 attr_value_as_address in place of DW_ADDR.
221 (dwarf2_get_pc_bounds): Use attr_value_as_address to get
222 the low and high addresses. Slight rework of the handling
223 of the high pc being a constant form, and limit it to
224 DWARF verson 4 or higher.
225 (dwarf2_record_block_ranges): Likewise.
226 (read_partial_die): Likewise.
227 (new_symbol_full): Use attr_value_as_address in place of DW_ADDR.
229 2014-02-26 Tom Tromey <tromey@redhat.com>
231 * exec.c (exec_file_attach): Hold a reference to exec_bfd.
233 2014-02-26 Tom Tromey <tromey@redhat.com>
235 * elfread.c (elf_read_minimal_symbols): Return early if
236 minimal symbols have already been read. Add "ei" parameter.
237 (elf_symfile_read): Call elf_read_minimal_symbols earlier.
238 * minsyms.c (prim_record_minimal_symbol_full): Update.
239 * objfiles.h (struct objstats) <n_minsyms>: Move...
240 (struct objfile_per_bfd_storage) <n_minsyms>: ... here.
241 * symmisc.c (print_objfile_statistics): Update.
243 2014-02-26 Tom Tromey <tromey@redhat.com>
245 * elfread.c (elf_read_minimal_symbols): New function, from
247 (elf_symfile_read): Call it.
249 2014-02-26 Tom Tromey <tromey@redhat.com>
251 * minsyms.c (lookup_minimal_symbol, iterate_over_minimal_symbols)
252 (lookup_minimal_symbol_text, lookup_minimal_symbol_by_pc_name)
253 (lookup_minimal_symbol_solib_trampoline)
254 (lookup_minimal_symbol_by_pc_section_1)
255 (lookup_minimal_symbol_and_objfile): Update.
256 (prim_record_minimal_symbol_full): Use the per-BFD obstack.
257 Don't allocate a minimal symbol if minsyms have already been read.
258 (build_minimal_symbol_hash_tables): Update.
259 (install_minimal_symbols): Do nothing if minsyms already read.
260 Use the per-BFD obstack.
261 (terminate_minimal_symbol_table): Use the per-BFD obstack.
262 * objfiles.c (allocate_objfile): Call
263 terminate_minimal_symbol_table later.
264 (have_minimal_symbols): Update.
265 * objfiles.h (struct objfile_per_bfd_storage) <msymbols,
266 minimal_symbol_count, msymbol_hash, msymbol_demangled_hash>:
267 Move from struct objfile.
268 <minsyms_read>: New field.
269 (struct objfile) <msymbols, minimal_symbol_count,
270 msymbol_hash, msymbol_demangled_hash>: Move.
271 (ALL_OBJFILE_MSYMBOLS): Update.
272 * symfile.c (read_symbols): Set minsyms_read.
273 (reread_symbols): Update.
274 * symmisc.c (dump_objfile, dump_msymbols): Update.
276 2014-02-26 Tom Tromey <tromey@redhat.com>
278 * minsyms.c (msymbols_sort): Remove.
279 * minsyms.h (msymbols_sort): Remove.
280 * objfiles.c (objfile_relocate1): Don't relocate minsyms.
281 * symtab.h (MSYMBOL_VALUE_ADDRESS): Use objfile offsets.
282 * elfread.c (elf_symtab_read): Don't add section offsets.
283 * xcoffread.c (record_minimal_symbol): Don't add section offset
284 to minimal symbol address.
285 * somread.c (text_offset, data_offset): Remove.
286 (som_symtab_read): Don't add section offsets to minimal symbol
288 * coff-pe-read.c (add_pe_forwarded_sym, read_pe_exported_syms):
289 Don't add section offsets to minimal symbols.
290 * coffread.c (coff_symtab_read): Don't add section offsets
291 to minimal symbol addresses.
292 * machoread.c (macho_symtab_add_minsym): Don't add section offset
293 to minimal symbol addresses.
294 * mipsread.c (read_alphacoff_dynamic_symtab): Don't add
295 section offset to minimal symbol addresses.
296 * mdebugread.c (parse_partial_symbols): Don't add section
297 offset to minimal symbol addresses.
298 * dbxread.c (read_dbx_dynamic_symtab): Don't add section
299 offset to minimal symbol addresses.
301 2014-02-26 Tom Tromey <tromey@redhat.com>
303 * ada-lang.c (ada_main_name): Update.
304 (ada_add_standard_exceptions): Update.
305 * ada-tasks.c (ada_tasks_inferior_data_sniffer): Update.
306 * aix-thread.c (pdc_symbol_addrs, pd_enable): Update.
307 * arm-tdep.c (skip_prologue_function, arm_skip_stub): Update.
308 * auxv.c (ld_so_xfer_auxv): Update.
309 * avr-tdep.c (avr_scan_prologue): Update.
310 * ax-gdb.c (gen_var_ref): Update.
311 * blockframe.c (get_pc_function_start)
312 (find_pc_partial_function_gnu_ifunc): Update.
313 * breakpoint.c (create_overlay_event_breakpoint)
314 (create_longjmp_master_breakpoint)
315 (create_std_terminate_master_breakpoint)
316 (create_exception_master_breakpoint): Update.
317 * bsd-uthread.c (bsd_uthread_lookup_address): Update.
318 * c-valprint.c (c_val_print): Update.
319 * coff-pe-read.c (add_pe_forwarded_sym): Update.
320 * common/agent.c (agent_look_up_symbols): Update.
321 * dbxread.c (find_stab_function_addr, end_psymtab): Update.
322 * dwarf2loc.c (call_site_to_target_addr): Update.
323 * dwarf2read.c (dw2_find_pc_sect_symtab): Update.
324 * elfread.c (elf_gnu_ifunc_record_cache)
325 (elf_gnu_ifunc_resolve_by_got): Update.
326 * findvar.c (default_read_var_value): Update.
327 * frame.c (inside_main_func): Update.
328 * frv-tdep.c (frv_frame_this_id): Update.
329 * glibc-tdep.c (glibc_skip_solib_resolver): Update.
330 * gnu-v3-abi.c (gnuv3_get_typeid, gnuv3_skip_trampoline):
332 * hppa-hpux-tdep.c (hppa64_hpux_search_dummy_call_sequence)
333 (hppa_hpux_find_dummy_bpaddr): Update.
334 * hppa-tdep.c (hppa_symbol_address): Update.
335 * infcmd.c (until_next_command): Update.
336 * jit.c (jit_read_descriptor, jit_breakpoint_re_set_internal):
338 * linespec.c (minsym_found, add_minsym): Update.
339 * linux-nat.c (get_signo): Update.
340 * linux-thread-db.c (inferior_has_bug): Update.
341 * m32c-tdep.c (m32c_return_value)
342 (m32c_m16c_address_to_pointer): Update.
343 * m32r-tdep.c (m32r_frame_this_id): Update.
344 * m68hc11-tdep.c (m68hc11_get_register_info): Update.
345 * machoread.c (macho_resolve_oso_sym_with_minsym): Update.
346 * maint.c (maintenance_translate_address): Update.
347 * minsyms.c (lookup_minimal_symbol_by_pc_name): Update.
348 (frob_address): New function.
349 (lookup_minimal_symbol_by_pc_section_1): Use raw addresses,
350 frob_address. Rename parameter to "pc_in".
351 (compare_minimal_symbols, compact_minimal_symbols): Use raw
353 (find_solib_trampoline_target, minimal_symbol_upper_bound):
355 * mips-linux-tdep.c (mips_linux_skip_resolver): Update.
356 * mips-tdep.c (mips_skip_pic_trampoline_code): Update.
357 * objc-lang.c (find_objc_msgsend): Update.
358 * objfiles.c (objfile_relocate1): Update.
359 * obsd-tdep.c (obsd_skip_solib_resolver): Update.
360 * p-valprint.c (pascal_val_print): Update.
361 * parse.c (write_exp_msymbol): Update.
362 * ppc-linux-tdep.c (ppc_linux_spe_context_lookup)
363 (ppc_elfv2_skip_entrypoint): Update.
364 * ppc-sysv-tdep.c (convert_code_addr_to_desc_addr): Update.
365 * printcmd.c (build_address_symbolic, msym_info)
366 (address_info): Update.
367 * proc-service.c (ps_pglobal_lookup): Update.
368 * psymtab.c (find_pc_sect_psymtab_closer)
369 (find_pc_sect_psymtab, find_pc_sect_symtab_from_partial):
370 Change msymbol parameter to bound_minimal_symbol.
371 * ravenscar-thread.c (get_running_thread_id): Update.
372 * remote.c (remote_check_symbols): Update.
373 * sh64-tdep.c (sh64_elf_make_msymbol_special): Use raw
375 * sol2-tdep.c (sol2_skip_solib_resolver): Update.
376 * solib-dsbt.c (lm_base): Update.
377 * solib-frv.c (lm_base, main_got): Update.
378 * solib-irix.c (locate_base): Update.
379 * solib-som.c (som_solib_create_inferior_hook)
380 (link_map_start): Update.
381 * solib-spu.c (spu_enable_break, ocl_enable_break): Update.
382 * solib-svr4.c (elf_locate_base, enable_break): Update.
383 * spu-tdep.c (spu_get_overlay_table, spu_catch_start)
384 (flush_ea_cache): Update.
385 * stabsread.c (define_symbol, scan_file_globals): Update.
386 * stack.c (find_frame_funname): Update.
387 * symfile-debug.c (debug_qf_expand_symtabs_matching)
388 (debug_qf_find_pc_sect_symtab): Update.
389 * symfile.c (simple_read_overlay_table)
390 (simple_overlay_update): Update.
391 * symfile.h (struct quick_symbol_functions)
392 <find_pc_sect_symtab>: Change type of msymbol to
393 bound_minimal_symbol.
394 * symmisc.c (dump_msymbols): Update.
395 * symtab.c (find_pc_sect_symtab_via_partial)
396 (find_pc_sect_psymtab, find_pc_sect_line, skip_prologue_sal)
397 (search_symbols, print_msymbol_info): Update.
398 * symtab.h (MSYMBOL_VALUE_RAW_ADDRESS): New macro.
399 (MSYMBOL_VALUE_ADDRESS): Redefine.
400 (BMSYMBOL_VALUE_ADDRESS): New macro.
401 * tracepoint.c (scope_info): Update.
402 * tui/tui-disasm.c (tui_find_disassembly_address)
403 (tui_get_begin_asm_address): Update.
404 * valops.c (find_function_in_inferior): Update.
405 * value.c (value_static_field, value_fn_field): Update.
407 2014-02-26 Tom Tromey <tromey@redhat.com>
409 * ada-lang.c (ada_update_initial_language): Update.
410 (ada_main_name, ada_has_this_exception_support): Update.
411 * ada-tasks.c (ada_tasks_inferior_data_sniffer): Update.
412 * aix-thread.c (pdc_symbol_addrs, pd_enable): Update.
413 * arm-tdep.c (arm_skip_stub): Update.
414 * auxv.c (ld_so_xfer_auxv): Update.
415 * avr-tdep.c (avr_scan_prologue): Update.
416 * ax-gdb.c (gen_var_ref): Update.
417 * breakpoint.c (struct breakpoint_objfile_data)
418 <overlay_msym, longjmp_msym, terminate_msym, exception_msym>: Change
419 type to bound_minimal_symbol.
420 (create_overlay_event_breakpoint)
421 (create_longjmp_master_breakpoint)
422 (create_std_terminate_master_breakpoint)
423 (create_exception_master_breakpoint): Update.
424 * bsd-uthread.c (bsd_uthread_lookup_address): Update.
425 * c-exp.y (classify_name): Update.
426 * coffread.c (coff_symfile_read): Update.
427 * common/agent.c (agent_look_up_symbols): Update.
428 * d-lang.c (d_main_name): Update.
429 * dbxread.c (find_stab_function_addr, end_psymtab): Update.
430 * dec-thread.c (enable_dec_thread): Update.
431 * dwarf2loc.c (call_site_to_target_addr): Update.
432 * elfread.c (elf_gnu_ifunc_resolve_by_got): Update.
433 * eval.c (evaluate_subexp_standard): Update.
434 * findvar.c (struct minsym_lookup_data) <result>: Change type
435 to bound_minimal_symbol.
437 (minsym_lookup_iterator_cb, default_read_var_value): Update.
438 * frame.c (inside_main_func): Update.
439 * frv-tdep.c (frv_frame_this_id): Update.
440 * gcore.c (call_target_sbrk): Update.
441 * glibc-tdep.c (glibc_skip_solib_resolver): Update.
442 * gnu-v3-abi.c (gnuv3_get_typeid, gnuv3_skip_trampoline):
444 * go-lang.c (go_main_name): Update.
445 * hppa-hpux-tdep.c (hppa_hpux_skip_trampoline_code)
446 (hppa_hpux_find_import_stub_for_addr): Update.
447 * hppa-tdep.c (hppa_extract_17, hppa_lookup_stub_minimal_symbol):
448 Update. Change return type.
449 * hppa-tdep.h (hppa_lookup_stub_minimal_symbol): Change return
451 * jit.c (jit_breakpoint_re_set_internal): Update.
452 * linux-fork.c (inferior_call_waitpid, checkpoint_command):
454 * linux-nat.c (get_signo): Update.
455 * linux-thread-db.c (inferior_has_bug): Update
456 * m32c-tdep.c (m32c_return_value)
457 (m32c_m16c_address_to_pointer): Update.
458 * m32r-tdep.c (m32r_frame_this_id): Update.
459 * m68hc11-tdep.c (m68hc11_get_register_info): Update.
460 * machoread.c (macho_resolve_oso_sym_with_minsym): Update.
461 * minsyms.c (lookup_minimal_symbol_internal): Rename to
462 lookup_minimal_symbol. Change return type.
463 (lookup_minimal_symbol): Remove.
464 (lookup_bound_minimal_symbol): Update.
465 (lookup_minimal_symbol_text): Change return type.
466 (lookup_minimal_symbol_solib_trampoline): Change return type.
467 * minsyms.h (lookup_minimal_symbol, lookup_minimal_symbol_text)
468 (lookup_minimal_symbol_solib_trampoline): Change return type.
469 * mips-linux-tdep.c (mips_linux_skip_resolver): Update.
470 * objc-lang.c (lookup_objc_class, lookup_child_selector)
471 (value_nsstring, find_imps): Update.
472 * obsd-tdep.c (obsd_skip_solib_resolver): Update.
473 * p-lang.c (pascal_main_name): Update.
474 * ppc-linux-tdep.c (ppc_linux_spe_context_lookup): Update.
475 * ppc-sysv-tdep.c (convert_code_addr_to_desc_addr): Update.
476 * proc-service.c (ps_pglobal_lookup): Update.
477 * ravenscar-thread.c (get_running_thread_msymbol): Change
479 (has_ravenscar_runtime, get_running_thread_id): Update.
480 * remote.c (remote_check_symbols): Update.
481 * sol-thread.c (ps_pglobal_lookup): Update.
482 * sol2-tdep.c (sol2_skip_solib_resolver): Update.
483 * solib-dsbt.c (lm_base): Update.
484 * solib-frv.c (lm_base, frv_relocate_section_addresses):
486 * solib-irix.c (locate_base): Update.
487 * solib-som.c (som_solib_create_inferior_hook)
488 (som_solib_desire_dynamic_linker_symbols, link_map_start):
490 * solib-spu.c (spu_enable_break): Update.
491 * solib-svr4.c (elf_locate_base, enable_break): Update.
492 * spu-tdep.c (spu_get_overlay_table, spu_catch_start)
493 (flush_ea_cache): Update.
494 * stabsread.c (define_symbol): Update.
495 * symfile.c (simple_read_overlay_table): Update.
496 * symtab.c (find_pc_sect_line): Update.
497 * tracepoint.c (scope_info): Update.
498 * tui-disasm.c (tui_get_begin_asm_address): Update.
499 * value.c (value_static_field): Update.
501 2014-02-26 Tom Tromey <tromey@redhat.com>
503 * minsyms.c (prim_record_minimal_symbol_full): Use
504 SET_MSYMBOL_VALUE_ADDRESS.
505 * objfiles.c (objfile_relocate1): Use SET_MSYMBOL_VALUE_ADDRESS.
506 * sh64-tdep.c (sh64_elf_make_msymbol_special): Use
507 SET_MSYMBOL_VALUE_ADDRESS.
508 * symtab.h (MSYMBOL_VALUE_ADDRESS): Expand to an rvalue.
509 (SET_MSYMBOL_VALUE_ADDRESS): New macro.
511 2014-02-26 Tom Tromey <tromey@redhat.com>
513 * symtab.h (struct minimal_symbol) <mginfo>: Rename from ginfo.
514 (MSYMBOL_VALUE, MSYMBOL_VALUE_ADDRESS, MSYMBOL_VALUE_BYTES)
515 (MSYMBOL_BLOCK_VALUE, MSYMBOL_VALUE_CHAIN, MSYMBOL_LANGUAGE)
516 (MSYMBOL_SECTION, MSYMBOL_OBJ_SECTION, MSYMBOL_NATURAL_NAME)
517 (MSYMBOL_LINKAGE_NAME, MSYMBOL_PRINT_NAME, MSYMBOL_DEMANGLED_NAME)
518 (MSYMBOL_SET_LANGUAGE, MSYMBOL_SEARCH_NAME)
519 (MSYMBOL_MATCHES_SEARCH_NAME, MSYMBOL_SET_NAMES): New macros.
520 * ada-lang.c (ada_main_name): Update.
521 (ada_lookup_simple_minsym): Update.
522 (ada_make_symbol_completion_list): Update.
523 (ada_add_standard_exceptions): Update.
524 * ada-tasks.c (read_atcb, ada_tasks_inferior_data_sniffer): Update.
525 * aix-thread.c (pdc_symbol_addrs, pd_enable): Update.
526 * amd64-windows-tdep.c (amd64_skip_main_prologue): Update.
527 * arm-tdep.c (skip_prologue_function): Update.
528 (arm_skip_stack_protector, arm_skip_stub): Update.
529 * arm-wince-tdep.c (arm_pe_skip_trampoline_code): Update.
530 (arm_wince_skip_main_prologue): Update.
531 * auxv.c (ld_so_xfer_auxv): Update.
532 * avr-tdep.c (avr_scan_prologue): Update.
533 * ax-gdb.c (gen_var_ref): Update.
534 * block.c (call_site_for_pc): Update.
535 * blockframe.c (get_pc_function_start): Update.
536 (find_pc_partial_function_gnu_ifunc): Update.
537 * breakpoint.c (create_overlay_event_breakpoint): Update.
538 (create_longjmp_master_breakpoint): Update.
539 (create_std_terminate_master_breakpoint): Update.
540 (create_exception_master_breakpoint): Update.
541 (resolve_sal_pc): Update.
542 * bsd-uthread.c (bsd_uthread_lookup_address): Update.
543 * btrace.c (ftrace_print_function_name, ftrace_function_switched):
545 * c-valprint.c (c_val_print): Update.
546 * coff-pe-read.c (add_pe_forwarded_sym): Update.
547 * coffread.c (coff_symfile_read): Update.
548 * common/agent.c (agent_look_up_symbols): Update.
549 * dbxread.c (find_stab_function_addr): Update.
550 (end_psymtab): Update.
551 * dwarf2loc.c (call_site_to_target_addr): Update.
552 (func_verify_no_selftailcall): Update.
553 (tailcall_dump): Update.
554 (call_site_find_chain_1): Update.
555 (dwarf_expr_reg_to_entry_parameter): Update.
556 * elfread.c (elf_gnu_ifunc_record_cache): Update.
557 (elf_gnu_ifunc_resolve_by_got): Update.
558 * f-valprint.c (info_common_command): Update.
559 * findvar.c (read_var_value): Update.
560 * frame.c (get_prev_frame_1): Update.
561 (inside_main_func): Update.
562 * frv-tdep.c (frv_skip_main_prologue): Update.
563 (frv_frame_this_id): Update.
564 * glibc-tdep.c (glibc_skip_solib_resolver): Update.
565 * gnu-v2-abi.c (gnuv2_value_rtti_type): Update.
566 * gnu-v3-abi.c (gnuv3_rtti_type): Update.
567 (gnuv3_skip_trampoline): Update.
568 * hppa-hpux-tdep.c (hppa32_hpux_in_solib_call_trampoline): Update.
569 (hppa64_hpux_in_solib_call_trampoline): Update.
570 (hppa_hpux_skip_trampoline_code): Update.
571 (hppa64_hpux_search_dummy_call_sequence): Update.
572 (hppa_hpux_find_import_stub_for_addr): Update.
573 (hppa_hpux_find_dummy_bpaddr): Update.
574 * hppa-tdep.c (hppa_symbol_address)
575 (hppa_lookup_stub_minimal_symbol): Update.
576 * i386-tdep.c (i386_skip_main_prologue): Update.
577 (i386_pe_skip_trampoline_code): Update.
578 * ia64-tdep.c (ia64_convert_from_func_ptr_addr): Update.
579 * infcall.c (get_function_name): Update.
580 * infcmd.c (until_next_command): Update.
581 * jit.c (jit_breakpoint_re_set_internal): Update.
582 (jit_inferior_init): Update.
583 * linespec.c (minsym_found): Update.
584 (add_minsym): Update.
585 * linux-fork.c (info_checkpoints_command): Update.
586 * linux-nat.c (get_signo): Update.
587 * linux-thread-db.c (inferior_has_bug): Update.
588 * m32c-tdep.c (m32c_return_value): Update.
589 (m32c_m16c_address_to_pointer): Update.
590 (m32c_m16c_pointer_to_address): Update.
591 * m32r-tdep.c (m32r_frame_this_id): Update.
592 * m68hc11-tdep.c (m68hc11_get_register_info): Update.
593 * machoread.c (macho_resolve_oso_sym_with_minsym): Update.
594 * maint.c (maintenance_translate_address): Update.
595 * minsyms.c (add_minsym_to_hash_table): Update.
596 (add_minsym_to_demangled_hash_table): Update.
597 (msymbol_objfile): Update.
598 (lookup_minimal_symbol): Update.
599 (iterate_over_minimal_symbols): Update.
600 (lookup_minimal_symbol_text): Update.
601 (lookup_minimal_symbol_by_pc_name): Update.
602 (lookup_minimal_symbol_solib_trampoline): Update.
603 (lookup_minimal_symbol_by_pc_section_1): Update.
604 (lookup_minimal_symbol_and_objfile): Update.
605 (prim_record_minimal_symbol_full): Update.
606 (compare_minimal_symbols): Update.
607 (compact_minimal_symbols): Update.
608 (build_minimal_symbol_hash_tables): Update.
609 (install_minimal_symbols): Update.
610 (terminate_minimal_symbol_table): Update.
611 (find_solib_trampoline_target): Update.
612 (minimal_symbol_upper_bound): Update.
613 * mips-linux-tdep.c (mips_linux_skip_resolver): Update.
614 * mips-tdep.c (mips_stub_frame_sniffer): Update.
615 (mips_skip_pic_trampoline_code): Update.
616 * msp430-tdep.c (msp430_skip_trampoline_code): Update.
617 * objc-lang.c (selectors_info): Update.
618 (classes_info): Update.
619 (find_methods): Update.
621 (find_objc_msgsend): Update.
622 * objfiles.c (objfile_relocate1): Update.
623 * objfiles.h (ALL_OBJFILE_MSYMBOLS): Update.
624 * obsd-tdep.c (obsd_skip_solib_resolver): Update.
625 * p-valprint.c (pascal_val_print): Update.
626 * parse.c (write_exp_msymbol): Update.
627 * ppc-linux-tdep.c (powerpc_linux_in_dynsym_resolve_code)
628 (ppc_linux_spe_context_lookup, ppc_elfv2_skip_entrypoint): Update.
629 * ppc-sysv-tdep.c (convert_code_addr_to_desc_addr): Update.
630 * printcmd.c (build_address_symbolic): Update.
632 (address_info): Update.
633 * proc-service.c (ps_pglobal_lookup): Update.
634 * psymtab.c (find_pc_sect_psymtab_closer): Update.
635 (find_pc_sect_psymtab): Update.
636 * python/py-framefilter.c (py_print_frame): Update.
637 * ravenscar-thread.c (get_running_thread_id): Update.
638 * record-btrace.c (btrace_call_history, btrace_get_bfun_name):
640 * remote.c (remote_check_symbols): Update.
641 * rs6000-tdep.c (rs6000_skip_main_prologue): Update.
642 (rs6000_skip_trampoline_code): Update.
643 * sh64-tdep.c (sh64_elf_make_msymbol_special): Update.
644 * sol2-tdep.c (sol2_skip_solib_resolver): Update.
645 * solib-dsbt.c (lm_base): Update.
646 * solib-frv.c (lm_base): Update.
648 * solib-irix.c (locate_base): Update.
649 * solib-som.c (som_solib_create_inferior_hook): Update.
650 (som_solib_desire_dynamic_linker_symbols): Update.
651 (link_map_start): Update.
652 * solib-spu.c (spu_enable_break): Update.
653 (ocl_enable_break): Update.
654 * solib-svr4.c (elf_locate_base): Update.
655 (enable_break): Update.
656 * spu-tdep.c (spu_get_overlay_table): Update.
657 (spu_catch_start): Update.
658 (flush_ea_cache): Update.
659 * stabsread.c (define_symbol): Update.
660 (scan_file_globals): Update.
661 * stack.c (find_frame_funname): Update.
662 (frame_info): Update.
663 * symfile.c (simple_read_overlay_table): Update.
664 (simple_overlay_update): Update.
665 * symmisc.c (dump_msymbols): Update.
666 * symtab.c (fixup_section): Update.
667 (find_pc_sect_line): Update.
668 (skip_prologue_sal): Update.
669 (search_symbols): Update.
670 (print_msymbol_info): Update.
671 (rbreak_command): Update.
672 (MCOMPLETION_LIST_ADD_SYMBOL): New macro.
673 (completion_list_objc_symbol): Update.
674 (default_make_symbol_completion_list_break_on): Update.
675 * tracepoint.c (scope_info): Update.
676 * tui/tui-disasm.c (tui_find_disassembly_address): Update.
677 (tui_get_begin_asm_address): Update.
678 * valops.c (find_function_in_inferior): Update.
679 * value.c (value_static_field): Update.
680 (value_fn_field): Update.
682 2014-02-26 Tom Tromey <tromey@redhat.com>
684 * blockframe.c (find_pc_partial_function_gnu_ifunc): Use
685 bound minimal symbols. Move code that knows about minsym
687 * minsyms.c (minimal_symbol_upper_bound): ... here. New
689 * minsyms.h (minimal_symbol_upper_bound): Declare.
690 * objc-lang.c (find_objc_msgsend): Use bound minimal symbols,
691 minimal_symbol_upper_bound.
693 2014-02-27 Joel Brobecker <brobecker@adacore.com>
695 * python/lib/gdb/printing.py (RegexpCollectionPrettyPrinter):
696 Use the type's name if its basic type does not have a tag.
698 2014-02-27 Joel Brobecker <brobecker@adacore.com>
700 * dwarf2read.c (read_subrange_type): Add comment.
702 2014-02-27 Joel Brobecker <brobecker@adacore.com>
704 * dwarf2read.c (update_enumeration_type_from_children): New
705 function, mostly extracted from process_structure_scope.
706 (read_enumeration_type): Call update_enumeration_type_from_children.
707 (process_enumeration_scope): Do not set THIS_TYPE's flag_unsigned
708 and flag_flag_enum fields.
710 2014-02-26 Pedro Alves <palves@redhat.com>
712 * bsd-uthread.c (bsd_uthread_xfer_partial): Delete function.
713 (bsd_uthread_target): Don't install bsd_uthread_xfer_partial as
714 to_xfer_partial method.
716 2014-02-26 Pedro Alves <palves@redhat.com>
718 * target.c (complete_target_initialization): Don't install
719 default_xfer_partial as to_xfer_partial hook.
721 (update_current_target): Don't INHERIT nor de_fault
722 deprecated_xfer_memory. Delete de_fault macro.
723 (default_xfer_partial, deprecated_debug_xfer_memory): Delete.
724 (setup_target_debug): Don't install a deprecated_xfer_memory hook.
725 * target.h (struct target_ops) <deprecated_xfer_memory>: Delete
728 2014-02-26 Pedro Alves <palves@redhat.com>
730 * go32-nat.c (my_write_child): New function.
731 (go32_xfer_memory): Rewrite as to_xfer_partial helper.
732 (go32_xfer_partial): New function.
733 (init_go32_ops): Don't install a deprecated_xfer_memory hook.
734 Instead install a to_xfer_partial hook.
736 2014-02-26 Pedro Alves <palves@redhat.com>
738 * nto-procfs.c (procfs_xfer_memory): Adjust interface as a
739 to_xfer_partial helper. Rewrite.
740 (procfs_xfer_partial): New function.
741 (init_procfs_ops): Don't install a deprecated_xfer_memory hook.
742 Install a to_xfer_partial hook.
744 2014-02-26 Pedro Alves <palves@redhat.com>
746 * remote-m32r-sdi.c (send_data): Constify 'buf' parameter.
747 (m32r_xfer_memory): Adjust as a to_xfer_partial helper.
748 (m32r_xfer_partial): New function.
749 (init_m32r_ops): Don't install a deprecated_xfer_memory hook.
750 Install a to_xfer_partial hook.
752 2014-02-26 Pedro Alves <palves@redhat.com>
754 * remote-mips.c (mips_xfer_memory): Adjust as to_xfer_partial
756 (mips_xfer_partial): New function.
757 (_initialize_remote_mips): Don't install a deprecated_xfer_memory
758 hook. Install a to_xfer_partial hook.
760 2014-02-26 Joel Brobecker <brobecker@adacore.com>
762 * gdbtypes.h (create_array_type_with_stride): Add declaration.
763 * gdbtypes.c (create_array_type_with_stride): New function,
764 renaming create_array_type, but with an added parameter
766 (create_array_type): Re-implement using
767 create_array_type_with_stride.
768 * dwarf2read.c (read_array_type): Add support for DW_AT_byte_stride
769 and DW_AT_bit_stride attributes.
771 2014-02-26 Pedro Alves <palves@redhat.com>
773 * breakpoint.c (bpstat_check_breakpoint_conditions): Handle
774 task-specific breakpoints.
776 2014-02-25 Pedro Alves <palves@redhat.com>
778 * ia64-linux-nat.c (ia64_linux_xfer_partial): Reimplement
779 handling of object == TARGET_OBJECT_UNWIND_TABLE.
781 2014-02-25 Stan Shebs <stan@codesourcery.com>
783 * defs.h: Annotate comments for Doxygen.
785 2014-02-25 Tom Tromey <tromey@redhat.com>
787 * target.h (target_ignore): Don't declare.
788 * target.c (target_ignore): Remove.
790 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
793 * auto-load.c (auto_load_objfile_script_1): Change filename to
796 2014-02-25 Joel Brobecker <brobecker@adacore.com>
798 * ia64-linux-nat.c (ia64_linux_xfer_partial): Add function
799 documentation. Adjust prototype to match the target_ops
800 to_xfer_partial method. Adjust implementation accordingly.
802 2014-02-25 Hui Zhu <hui@codesourcery.com>
804 * target.h (target_ops): Fix TARGET_DEFAULT_RETURN of
807 2014-02-25 Kevin Buettner <kevinb@redhat.com>
809 * rl78-tdep.c (RL78_BANK0_RP0_PTR_REGNUM, RL78_BANK0_RP1_PTR_REGNUM)
810 (RL78_BANK0_RP2_PTR_REGNUM, RL78_BANK0_RP3_PTR_REGNUM)
811 (RL78_BANK1_RP0_PTR_REGNUM, RL78_BANK1_RP1_PTR_REGNUM)
812 (RL78_BANK1_RP2_PTR_REGNUM, RL78_BANK1_RP3_PTR_REGNUM)
813 (RL78_BANK2_RP0_PTR_REGNUM, RL78_BANK2_RP1_PTR_REGNUM)
814 (RL78_BANK2_RP2_PTR_REGNUM, RL78_BANK2_RP3_PTR_REGNUM)
815 (RL78_BANK3_RP0_PTR_REGNUM, RL78_BANK3_RP1_PTR_REGNUM)
816 (RL78_BANK3_RP2_PTR_REGNUM, RL78_BANK3_RP3_PTR_REGNUM):
818 (rl78_register_type): Use a data pointer type for SP and
819 new pseudo registers mentioned above. Use a 16 bit integer
820 type for all other register pairs.
821 (rl78_register_name, rl78_g10_register_name): Update for
822 new pseudo registers.
823 (rl78_pseudo_register_read): Likewise.
824 (rl78_pseudo_register_write): Likewise.
825 (rl78_dwarf_reg_to_regnum): Return register numbers representing
826 to the newly added pseudo registers.
828 2014-02-24 Doug Evans <dje@google.com>
830 * value.c (record_latest_value): Fix comment.
831 * printcmd.c (print_command_1): Remove code to handle -1 return from
834 2014-02-24 Pedro Alves <palves@redhat.com>
836 * procfs.c (procfs_target): Don't install procfs_xfer_memory as
837 deprecated_xfer_memory hook.
838 (procfs_xfer_partial): Call procfs_xfer_memory instead
839 of the deprecated_xfer_memory target hook.
840 (procfs_xfer_memory): Adjust interface as a to_xfer_partial
843 2014-02-24 Yuanhui Zhang <asmwarrior@gmail.com>
845 * windows-nat.c (windows_xfer_shared_libraries): Return
846 TARGET_XFER_EOF if LEN is zero to fix an assert failure when
847 requested object is TARGET_OBJECT_LIBRARIES.
849 2014-02-24 Yao Qi <yao@codesourcery.com>
851 * target.h (enum target_xfer_status)
852 <TARGET_XFER_E_UNAVAILABLE>: Rename it to ...
853 <TARGET_XFER_UNAVAILABLE>: ... it with setting value 2
855 * corefile.c (memory_error_message): User updated.
856 * exec.c (section_table_read_available_memory): Likewise.
857 * record-btrace.c (record_btrace_xfer_partial): Likewise.
858 * target.c (target_xfer_status_to_string): Likewise.
859 (raw_memory_xfer_partial): Likewise.
860 (memory_xfer_partial_1, target_xfer_partial): Likewise.
861 * valops.c (read_value_memory): Likewise.
862 * exec.h: Update comments.
864 2014-02-24 Yao Qi <yao@codesourcery.com>
866 * target.c (target_xfer_status_to_string): Rename argument err
868 * target.h (target_xfer_status_to_string): Update declaration.
869 Replace target_xfer_error_to_string with
870 target_xfer_status_to_string in comment.
872 2014-02-24 Yao Qi <yao@codesourcery.com>
874 * mips-linux-nat.c (super_close): Update its type.
875 (mips_linux_close): Pass 'self' to super_close.
877 2014-02-24 Yao Qi <yao@codesourcery.com>
879 * target.h (TARGET_XFER_STATUS_ERROR_P): Remove.
880 * corefile.c (read_memory): Adjusted.
881 * target.c (target_write_with_progress): Adjusted.
883 2014-02-23 Yao Qi <yao@codesourcery.com>
887 2013-10-25 Yao Qi <yao@codesourcery.com>
889 * remote.c (remote_traceframe_info): Return early if
890 traceframe is not selected.
892 2013-07-19 Yao Qi <yao@codesourcery.com>
894 * target.c (update_current_target): Change the default action
895 of 'to_traceframe_info' from tcomplain to return_zero.
896 * target.h (struct target_ops) <to_traceframe_info>: Add more
899 2014-02-23 Yao Qi <yao@codesourcery.com>
901 * valops.c (read_value_memory): Rewrite it. Call
902 target_xfer_partial in a loop.
903 * exec.h (section_table_available_memory): Remove declaration.
905 * exec.c (section_table_available_memory): ... here. Make it
908 2014-02-23 Yao Qi <yao@codesourcery.com>
910 * exec.c (section_table_read_available_memory): New function.
911 * exec.h (section_table_read_available_memory): Declare.
912 * ctf.c (ctf_xfer_partial): Call
913 section_table_read_available_memory.
914 * tracefile-tfile.c (tfile_xfer_partial): Likewise.
916 2014-02-23 Yao Qi <yao@codesourcery.com>
918 * ctf.c (ctf_xfer_partial): Move code to ...
919 * exec.c (exec_read_partial_read_only): ... it. New function.
920 * tracefile-tfile.c (tfile_xfer_partial): Likewise.
921 * tracefile.c: Include "exec.h".
922 * exec.h (exec_read_partial_read_only): Declare.
924 2014-02-23 Yao Qi <yao@codesourcery.com>
926 * tracefile-tfile.c (tfile_has_all_memory): Remove.
927 (tfile_has_memory): Remove.
928 (init_tfile_ops): Don't set fields to_has_all_memory and
929 to_has_memory of tfile_ops.
930 * tracefile.c (tracefile_has_all_memory): New function.
931 (tracefile_has_memory): New function.
932 (init_tracefile_ops): Initialize fields to_has_all_memory and
933 to_has_memory of 'ops'.
935 2014-02-23 Yao Qi <yao@codesourcery.com>
937 * ctf.c (ctf_has_stack, ctf_has_registers): Remove.
938 (ctf_thread_alive, ctf_get_trace_status): Remove.
939 (init_ctf_ops): Don't set some fields of ctf_ops. Call
941 * tracefile-tfile.c (tfile_get_trace_status): Remove.
942 (tfile_has_stack, tfile_has_registers): Remove.
943 (tfile_thread_alive): Remove.
944 (init_tfile_ops): Don't set some fields of tfile_ops. Call
946 * tracefile.c (tracefile_has_stack): New function.
947 (tracefile_has_registers): New function.
948 (tracefile_thread_alive): New function.
949 (tracefile_get_trace_status): New function.
950 (init_tracefile_ops): New function.
951 * tracefile.h (init_tracefile_ops): Declare.
953 2014-02-23 Yao Qi <yao@codesourcery.com>
955 * tracepoint.c (TFILE_PID): Move it to tracefile-tfile.c.
956 (O_LARGEFILE): Likewise.
957 (tfile_ops): Likewise.
958 (TRACE_HEADER_SIZE): Likewise.
959 (trace_fd, trace_frames_offset, cur_offset): Likewise.
960 (cur_data_size): Likewise.
961 (tfile_read, tfile_open, tfile_interp_line): Likewise.
962 (tfile_close, tfile_files_info): Likewise.
963 (tfile_get_trace_status): Likewise.
964 (tfile_get_tracepoint_status): Likewise.
965 (tfile_get_traceframe_address): Likewise.
966 (tfile_trace_find, match_blocktype): Likewise.
967 (traceframe_walk_blocks, traceframe_find_block_type): Likewise.
968 (tfile_fetch_registers, tfile_xfer_partial): Likewise.
969 (tfile_get_trace_state_variable_value): Likewise.
970 (tfile_has_all_memory, tfile_has_memory): Likewise.
971 (tfile_has_stack, tfile_has_registers): Likewise.
972 (tfile_thread_alive, build_traceframe_info): Likewise.
973 (tfile_traceframe_info, init_tfile_ops): Likewise.
974 (_initialize_tracepoint): Don't call init_tfile_ops
975 and add_target_with_completer.
976 * tracefile-tfile.c: Include regcache.h, inferior.h, gdbthread.h,
977 exec.h, completer.h and filenames.h.
978 (_initialize_tracefile_tfile): New function.
980 2014-02-23 Yao Qi <yao@codesourcery.com>
982 * Makefile.in (REMOTE_OBS): Append tracefile.o and
984 (HFILES_NO_SRCDIR): Add tracefile.h.
985 * ctf.c: Include "tracefile.h".
986 * tracefile.h: New file.
987 * tracefile.c: New file
988 * tracefile-tfile.c: New file.
989 * tracepoint.c: Include "tracefile.h".
990 (free_uploaded_tps, free_uploaded_tsvs): Remove declarations.
991 (stop_reason_names): Add const.
992 (trace_file_writer_xfree): Move it to tracefile.c.
993 (trace_save, trace_save_command, trace_save_tfile): Likewise.
994 (trace_save_ctf): Likewise.
995 (struct tfile_trace_file_writer): Move it to tracefile-tfile.c.
996 (tfile_target_save, tfile_dtor, tfile_start): Likewise.
997 (tfile_write_header, tfile_write_regblock_type): Likewise.
998 (tfile_write_status, tfile_write_uploaded_tsv): Likewise.
999 (tfile_write_uploaded_tp, tfile_write_definition_end): Likewise.
1000 (tfile_write_raw_data, tfile_end): Likewise.
1001 (tfile_trace_file_writer_new): Likewise.
1002 (free_uploaded_tp): Make it extern.
1003 (free_uploaded_tsv): Make it extern.
1004 (_initialize_tracepoint): Move code to register command 'tsave'
1006 * tracepoint.h (stop_reason_names): Declare.
1007 (struct trace_frame_write_ops): Move it to tracefile.h.
1008 (struct trace_file_write_ops): Likewise.
1009 (struct trace_file_writer): Likewise.
1010 (free_uploaded_tsvs, free_uploaded_tps): Declare.
1012 2014-02-21 Jan Kratochvil <jan.kratochvil@redhat.com>
1015 * common/linux-osdata.c (linux_common_core_of_thread): Find the end of
1017 (get_cores_used_by_process): New parameter num_cores, use it.
1018 (linux_xfer_osdata_processes): Pass num_cores to it.
1019 * linux-tdep.c (linux_info_proc, linux_fill_prpsinfo): Find the end of
1022 2014-02-21 Andreas Arnez <arnez@vnet.linux.ibm.com>
1024 * target.c (memory_xfer_partial): Fix length arg in call to
1025 breakpoint_xfer_memory.
1027 2014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
1030 * i386-tdep.c (i386_stap_parse_special_token_triplet): Check if a
1031 number comes after the + or - signs. Adjust length of register
1032 name to be extracted.
1034 2014-02-20 Tom Tromey <tromey@redhat.com>
1036 * varobj.h (c_varobj_ops, cplus_varobj_ops, java_varobj_ops)
1037 (ada_varobj_ops): Mark "extern".
1039 2014-02-20 Tom Tromey <tromey@redhat.com>
1041 * dbxread.c (read_dbx_symtab): Remove last_o_file_start.
1043 2014-02-20 Doug Evans <xdje42@gmail.com>
1045 * guile/scm-gsmob.c (gdbscm_init_eqable_gsmob): New arg containing_scm.
1046 All callers updated.
1047 (gdbscm_fill_eqable_gsmob_ptr_slot): Delete arg containing_scm.
1048 All callers updated.
1049 * guile/guile-internal.h (gdbscm_init_eqable_gsmob): Update.
1050 (gdbscm_fill_eqable_gsmob_ptr_slot): Update.
1052 2014-02-20 lin zuojian <manjian2006@gmail.com>
1053 Joel Brobecker <brobecker@adacore.com>
1054 Doug Evans <xdje42@gmail.com>
1057 * dwarf2read.c (struct die_info): New member in_process.
1058 (reset_die_in_process): New function.
1059 (process_die): Set it at the start, reset when returning.
1060 (inherit_abstract_dies): Only call process_die if origin_child_die
1061 not already being processed.
1063 2014-02-20 Joel Brobecker <brobecker@adacore.com>
1065 * windows-nat.c (handle_unload_dll): Add function documentation.
1066 (do_initial_windows_stuff): Add comment explaining why we wait
1067 until after inferior initialization has finished before
1068 processing all DLLs.
1070 2014-02-20 Joel Brobecker <brobecker@adacore.com>
1072 * windows-nat.c (get_module_name): Delete.
1073 (windows_get_exec_module_filename): New function, mostly
1074 inspired from get_module_name.
1075 (windows_pid_to_exec_file): Replace call to get_module_name
1076 by call to windows_get_exec_module_filename.
1078 2014-02-20 Joel Brobecker <brobecker@adacore.com>
1080 * windows-nat.c (handle_load_dll): Rewrite this function's
1081 introductory comment. Remove code using get_module_name
1082 to get the DLL's name.
1084 2014-02-20 Joel Brobecker <brobecker@adacore.com>
1086 * windows-nat.c (get_windows_debug_event): Ignore
1087 LOAD_DLL_DEBUG_EVENT and UNLOAD_DLL_DEBUG_EVENT
1088 if windows_initialization_done == 0.
1089 (windows_add_all_dlls): Renames windows_ensure_ntdll_loaded.
1090 Adjust implementation to always load all DLLs.
1091 (do_initial_windows_stuff): Replace call to
1092 windows_ensure_ntdll_loaded by call to windows_add_all_dlls.
1094 2014-02-20 Joel Brobecker <brobecker@adacore.com>
1096 * windows-nat.c (_initialize_windows_nat): Deprecate the
1097 "dll-symbols" command. Turn the "add-shared-symbol-files"
1098 and "assf" aliases into commands, and deprecate them as well.
1099 * NEWS: Add entry explaining that "dll-symbols" and its two
1100 aliases are now deprecated.
1102 2014-02-20 Joel Brobecker <brobecker@adacore.com>
1104 * dec-thread.c (dec_thread_get_ada_task_ptid): Avoid unescaped
1105 new-line in debug string. Remove trailing spaces.
1107 2014-02-19 Stan Shebs <stan@codesourcery.com>
1109 * darwin-nat.c (darwin_xfer_partial): Fix return type.
1111 2014-02-19 Siva Chandra Reddy <sivachandra@google.com>
1113 * NEWS: Add entry for the new feature
1114 * python/py-value.c (valpy_binop): Call value_x_binop for struct
1117 2014-02-19 Stan Shebs <stan@codesourcery.com>
1119 * MAINTAINERS: List Yao Qi as nios2 maintainer.
1121 2014-02-19 Pedro Alves <palves@redhat.com>
1123 * common/ptid.h (struct ptid): Mention that process_stratum
1124 targets should prefer ptid.lwp.
1126 2014-02-19 Pedro Alves <palves@redhat.com>
1128 * remote.c (remote_thread_alive, write_ptid, read_ptid)
1129 (read_ptid, remote_newthread_step, remote_threads_extra_info)
1130 (remote_get_ada_task_ptid, append_resumption, remote_stop_ns)
1131 (threadalive_test, remote_pid_to_str): Use the ptid.lwp field to
1132 store remote thread ids rather than ptid.tid.
1133 (_initialize_remote): Adjust.
1135 2014-02-19 Tom Tromey <tromey@redhat.com>
1137 * target.c (target_get_unwinder): Rewrite.
1138 (target_get_tailcall_unwinder): Rewrite.
1139 * record-btrace.c (record_btrace_to_get_unwinder): New function.
1140 (record_btrace_to_get_tailcall_unwinder): New function.
1141 (init_record_btrace_ops): Update.
1142 * target.h (struct target_ops) <to_get_unwinder,
1143 to_get_tailcall_unwinder>: Now function pointers. Use
1144 TARGET_DEFAULT_RETURN.
1146 2014-02-19 Tom Tromey <tromey@redhat.com>
1148 * nto-procfs.c (procfs_remove_hw_breakpoint): Add 'self'
1150 (init_procfs_ops): Correctly set to_remove_hw_breakpoint.
1152 2014-02-19 Tom Tromey <tromey@redhat.com>
1154 * record-btrace.c (record_btrace_decr_pc_after_break): Delegate
1156 * target-delegates.c: Rebuild.
1157 * target.h (struct target_ops) <to_decr_pc_after_break>: Use
1158 TARGET_DEFAULT_FUNC.
1159 * target.c (default_target_decr_pc_after_break): Rename from
1160 forward_target_decr_pc_after_break. Simplify.
1161 (target_decr_pc_after_break): Rely on delegation.
1163 2014-02-19 Tom Tromey <tromey@redhat.com>
1165 * target.c (update_current_target): Do not INHERIT to_doc or
1166 to_magic. Do not de_fault to_open or to_close.
1168 2014-02-19 Tom Tromey <tromey@redhat.com>
1170 * gcore.h (objfile_find_memory_regions): Declare.
1171 * gcore.c (objfile_find_memory_regions): No longer static. Add
1173 (_initialize_gcore): Don't call exec_set_find_memory_regions.
1174 * exec.c: Include gcore.h.
1175 (exec_set_find_memory_regions): Remove.
1176 (exec_find_memory_regions): Remove.
1177 (exec_do_find_memory_regions): Remove.
1178 (init_exec_ops): Update.
1179 * defs.h (exec_set_find_memory_regions): Remove.
1181 2014-02-19 Tom Tromey <tromey@redhat.com>
1183 * target-delegates.c: Rebuild.
1184 * target.h (struct target_ops) <to_extra_thread_info,
1185 to_thread_name, to_pid_to_exec_file, to_get_section_table,
1186 to_memory_map, to_read_description, to_traceframe_info>: Use NULL,
1187 not 0, in TARGET_DEFAULT_RETURN.
1189 2014-02-19 Tom Tromey <tromey@redhat.com>
1191 * target.c (complete_target_initialization): Remove casts. Use
1192 return_zero_has_execution.
1193 (return_zero): Add "ignore" argument.
1194 (return_zero_has_execution): New function.
1195 (init_dummy_target): Remove casts. Use
1196 return_zero_has_execution.
1198 2014-02-19 Tom Tromey <tromey@redhat.com>
1200 * target.c (update_current_target): Update comments. Do not
1203 2014-02-19 Tom Tromey <tromey@redhat.com>
1205 * arm-linux-nat.c (arm_linux_read_description): Delegate when
1207 * corelow.c (core_read_description): Delegate when needed.
1208 * remote.c (remote_read_description): Delegate when needed.
1209 * target-delegates.c: Rebuild.
1210 * target.c (target_read_description): Rewrite.
1211 * target.h (struct target_ops) <to_read_description>: Update
1212 comment. Use TARGET_DEFAULT_RETURN.
1214 2014-02-19 Tom Tromey <tromey@redhat.com>
1216 * target-delegates.c: Rebuild.
1217 * target.c (update_current_target): Don't inherit or default
1219 (find_default_run_target): Check against delegate_can_run.
1220 * target.h (struct target_ops) <to_can_run>: Use
1221 TARGET_DEFAULT_RETURN.
1223 2014-02-19 Tom Tromey <tromey@redhat.com>
1225 * target-delegates.c: Rebuild.
1226 * target.c (target_disconnect): Unconditionally delegate.
1227 * target.h (struct target_ops) <to_disconnect>: Use
1228 TARGET_DEFAULT_NORETURN.
1230 2014-02-19 Tom Tromey <tromey@redhat.com>
1232 * record.c (record_stop): Unconditionally delegate.
1233 * target-delegates.c: Rebuild.
1234 * target.c (target_stop_recording): Unconditionally delegate.
1235 * target.h (struct target_ops) <to_stop_recording>: Use
1236 TARGET_DEFAULT_IGNORE.
1238 2014-02-19 Tom Tromey <tromey@redhat.com>
1240 * target-delegates.c: Rebuild.
1241 * target.c (target_enable_btrace): Unconditionally delegate.
1242 * target.h (struct target_ops) <to_enable_btrace>: Use
1243 TARGET_DEFAULT_NORETURN.
1245 2014-02-19 Tom Tromey <tromey@redhat.com>
1247 * target-delegates.c: Rebuild.
1248 * target.c (target_read_btrace): Unconditionally delegate.
1249 * target.h (struct target_ops) <to_read_btrace>: Use
1250 TARGET_DEFAULT_NORETURN.
1252 2014-02-19 Tom Tromey <tromey@redhat.com>
1254 * target-delegates.c: Rebuild.
1255 * target.c (target_teardown_btrace): Unconditionally delegate.
1256 * target.h (struct target_ops) <to_teardown_btrace>: Use
1257 TARGET_DEFAULT_NORETURN.
1259 2014-02-19 Tom Tromey <tromey@redhat.com>
1261 * target-delegates.c: Rebuild.
1262 * target.c (target_disable_btrace): Unconditionally delegate.
1263 * target.h (struct target_ops) <to_disable_btrace>: Use
1264 TARGET_DEFAULT_NORETURN.
1266 2014-02-19 Tom Tromey <tromey@redhat.com>
1268 * target-delegates.c: Rebuild.
1269 * target.c (default_search_memory): New function.
1270 (simple_search_memory): Update comment.
1271 (target_search_memory): Unconditionally delegate.
1272 * target.h (struct target_ops) <to_search_memory>: Use
1273 TARGET_DEFAULT_FUNC.
1275 2014-02-19 Tom Tromey <tromey@redhat.com>
1277 * auxv.c (default_auxv_parse): No longer static.
1278 (target_auxv_parse): Unconditionally delegate.
1279 * auxv.h (default_auxv_parse): Declare.
1280 * target-delegates.c: Rebuild.
1281 * target.c: Include auxv.h.
1282 * target.h (struct target_ops) <to_auxv_parse>: Use
1283 TARGET_DEFAULT_FUNC.
1285 2014-02-19 Tom Tromey <tromey@redhat.com>
1287 * target-delegates.c: Rebuild.
1288 * target.c (target_memory_map): Unconditionally delegate.
1289 * target.h (struct target_ops) <to_memory_map>: Use
1290 TARGET_DEFAULT_RETURN.
1292 2014-02-19 Tom Tromey <tromey@redhat.com>
1294 * target-delegates.c: Rebuild.
1295 * target.c (target_thread_alive): Unconditionally delegate.
1296 * target.h (struct target_ops) <to_thread_alive>: Use
1297 TARGET_DEFAULT_RETURN.
1299 2014-02-19 Tom Tromey <tromey@redhat.com>
1301 * target-delegates.c: Rebuild.
1302 * target.c (target_save_record): Unconditionally delegate.
1303 * target.h (struct target_ops) <to_save_record>: Use
1304 TARGET_DEFAULT_NORETURN.
1306 2014-02-19 Tom Tromey <tromey@redhat.com>
1308 * target-delegates.c: Rebuild.
1309 * target.c (target_delete_record): Unconditionally delegate.
1310 * target.h (struct target_ops) <to_delete_record>: Use
1311 TARGET_DEFAULT_NORETURN.
1313 2014-02-19 Tom Tromey <tromey@redhat.com>
1315 * target-delegates.c: Rebuild.
1316 * target.c (target_record_is_replaying): Unconditionally
1318 * target.h (struct target_ops) <to_record_is_replaying>: Use
1319 TARGET_DEFAULT_RETURN.
1321 2014-02-19 Tom Tromey <tromey@redhat.com>
1323 * target-delegates.c: Rebuild.
1324 * target.c (target_goto_record_begin): Unconditionally delegate.
1325 * target.h (struct target_ops) <to_goto_record_begin>: Use
1326 TARGET_DEFAULT_NORETURN.
1328 2014-02-19 Tom Tromey <tromey@redhat.com>
1330 * target-delegates.c: Rebuild.
1331 * target.c (target_goto_record_end): Unconditionally delegate.
1332 * target.h (struct target_ops) <to_goto_record_end>: Use
1333 TARGET_DEFAULT_NORETURN.
1335 2014-02-19 Tom Tromey <tromey@redhat.com>
1337 * target-delegates.c: Rebuild.
1338 * target.c (target_goto_record): Unconditionally delegate.
1339 * target.h (struct target_ops) <to_goto_record>: Use
1340 TARGET_DEFAULT_NORETURN.
1342 2014-02-19 Tom Tromey <tromey@redhat.com>
1344 * target-delegates.c: Rebuild.
1345 * target.c (target_insn_history): Unconditionally delegate.
1346 * target.h (struct target_ops) <to_insn_history>: Use
1347 TARGET_DEFAULT_NORETURN.
1349 2014-02-19 Tom Tromey <tromey@redhat.com>
1351 * target-delegates.c: Rebuild.
1352 * target.c (target_insn_history_from): Unconditionally delegate.
1353 * target.h (struct target_ops) <to_insn_history_from>: Use
1354 TARGET_DEFAULT_NORETURN.
1356 2014-02-19 Tom Tromey <tromey@redhat.com>
1358 * target-delegates.c: Rebuild.
1359 * target.c (target_insn_history_range): Unconditionally delegate.
1360 * target.h (struct target_ops) <to_insn_history_range>: Use
1361 TARGET_DEFAULT_NORETURN.
1363 2014-02-19 Tom Tromey <tromey@redhat.com>
1365 * target-delegates.c: Rebuild.
1366 * target.c (target_call_history): Unconditionally delegate.
1367 * target.h (struct target_ops) <to_call_history>: Use
1368 TARGET_DEFAULT_NORETURN.
1370 2014-02-19 Tom Tromey <tromey@redhat.com>
1372 * target-delegates.c: Rebuild.
1373 * target.c (target_call_history_from): Unconditionally delegate.
1374 * target.h (struct target_ops) <to_call_history_from>: Use
1375 TARGET_DEFAULT_NORETURN.
1377 2014-02-19 Tom Tromey <tromey@redhat.com>
1379 * target-delegates.c: Rebuild.
1380 * target.c (target_call_history_range): Unconditionally delegate.
1381 * target.h (struct target_ops) <to_call_history_range>: Use
1382 TARGET_DEFAULT_NORETURN.
1384 2014-02-19 Tom Tromey <tromey@redhat.com>
1386 * target-delegates.c: Rebuild.
1387 * target.c (target_verify_memory): Unconditionally delegate.
1388 * target.h (struct target_ops) <to_verify_memory>: Use
1389 TARGET_DEFAULT_NORETURN.
1391 2014-02-19 Tom Tromey <tromey@redhat.com>
1393 * target-delegates.c: Rebuild.
1394 * target.c (target_core_of_thread): Unconditionally delegate.
1395 * target.h (struct target_ops) <to_core_of_thread>: Use
1396 TARGET_DEFAULT_RETURN.
1398 2014-02-19 Tom Tromey <tromey@redhat.com>
1400 * target-delegates.c: Rebuild.
1401 * target.c (target_flash_done): Unconditionally delegate.
1402 * target.h (struct target_ops) <to_flash_done>: Use
1403 TARGET_DEFAULT_NORETURN.
1405 2014-02-19 Tom Tromey <tromey@redhat.com>
1407 * target-delegates.c: Rebuild.
1408 * target.c (target_flash_erase): Unconditionally delegate.
1409 * target.h (struct target_ops) <to_flash_erase>: Use
1410 TARGET_DEFAULT_NORETURN.
1412 2014-02-19 Tom Tromey <tromey@redhat.com>
1414 * target-delegates.c: Rebuild.
1415 * target.c (target_get_section_table): Unconditionally delegate.
1416 * target.h (struct target_ops) <to_get_section_table>: Use
1417 TARGET_DEFAULT_RETURN.
1419 2014-02-19 Tom Tromey <tromey@redhat.com>
1421 * target-delegates.c: Rebuild.
1422 * target.c (target_pid_to_str): Unconditionally delegate.
1423 (init_dummy_target): Don't initialize to_pid_to_str.
1424 (default_pid_to_str): Rename from dummy_pid_to_str.
1425 * target.h (struct target_ops) <to_pid_to_str>: Use
1426 TARGET_DEFAULT_FUNC.
1428 2014-02-19 Tom Tromey <tromey@redhat.com>
1430 * target-delegates.c: Rebuild.
1431 * target.c (target_find_new_threads): Unconditionally delegate.
1432 * target.h (struct target_ops) <to_find_new_threads>: Use
1433 TARGET_DEFAULT_RETURN.
1435 2014-02-19 Tom Tromey <tromey@redhat.com>
1437 * target-delegates.c: Rebuild.
1438 * target.c (target_program_signals): Unconditionally delegate.
1439 * target.h (struct target_ops) <to_program_signals>: Use
1440 TARGET_DEFAULT_IGNORE.
1442 2014-02-19 Tom Tromey <tromey@redhat.com>
1444 * target-delegates.c: Rebuild.
1445 * target.c (target_pass_signals): Unconditionally delegate.
1446 * target.h (struct target_ops) <to_pass_signals>: Use
1447 TARGET_DEFAULT_IGNORE.
1449 2014-02-19 Tom Tromey <tromey@redhat.com>
1451 * target-delegates.c: Rebuild.
1452 * target.c (default_mourn_inferior): New function.
1453 (target_mourn_inferior): Unconditionally delegate.
1454 * target.h (struct target_ops) <to_mourn_inferior>: Use
1455 TARGET_DEFAULT_FUNC.
1457 2014-02-19 Tom Tromey <tromey@redhat.com>
1459 * target-delegates.c: Rebuild.
1460 * target.c (default_follow_fork): New function.
1461 (target_follow_fork): Unconditionally delegate.
1462 * target.h (struct target_ops) <to_follow_fork>: Use
1463 TARGET_DEFAULT_FUNC.
1465 2014-02-19 Tom Tromey <tromey@redhat.com>
1467 * target-delegates.c: Rebuild.
1468 * target.c (target_kill): Unconditionally delegate.
1469 * target.h (struct target_ops) <to_kill>: Use
1470 TARGET_DEFAULT_NORETURN.
1472 2014-02-19 Tom Tromey <tromey@redhat.com>
1474 * target-delegates.c: Rebuild.
1475 * target.c (target_masked_watch_num_registers): Unconditionally
1477 * target.h (struct target_ops) <to_masked_watch_num_registers>:
1478 Use TARGET_DEFAULT_RETURN.
1480 2014-02-19 Tom Tromey <tromey@redhat.com>
1482 * target-delegates.c: Rebuild.
1483 * target.c (target_remove_mask_watchpoint): Unconditionally
1485 * target.h (struct target_ops) <to_remove_mask_watchpoint>: Use
1486 TARGET_DEFAULT_RETURN.
1488 2014-02-19 Tom Tromey <tromey@redhat.com>
1490 * target-delegates.c: Rebuild.
1491 * target.c (target_insert_mask_watchpoint): Unconditionally
1493 * target.h (struct target_ops) <to_insert_mask_watchpoint>: Use
1494 TARGET_DEFAULT_RETURN.
1496 2014-02-19 Tom Tromey <tromey@redhat.com>
1498 * target-delegates.c: Rebuild.
1499 * target.c (target_ranged_break_num_registers): Unconditionally
1501 * target.h (struct target_ops) <to_ranged_break_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_fetch_registers): Unconditionally delegate.
1508 * target.h (struct target_ops) <to_fetch_registers>: Use
1509 TARGET_DEFAULT_NORETURN.
1511 2014-02-19 Tom Tromey <tromey@redhat.com>
1513 * target-delegates.c: Rebuild.
1514 * target.c (update_current_target): Don't inherit or default
1516 * target.h (struct target_ops) <to_stop>: Use
1517 TARGET_DEFAULT_IGNORE.
1519 2014-02-19 Tom Tromey <tromey@redhat.com>
1521 * target-delegates.c: Rebuild.
1522 * target.c (update_current_target): Don't inherit or default
1523 to_can_run_breakpoint_commands.
1524 * target.h (struct target_ops) <to_can_run_breakpoint_commands>:
1525 Use TARGET_DEFAULT_RETURN.
1527 2014-02-19 Tom Tromey <tromey@redhat.com>
1529 * target-delegates.c: Rebuild.
1530 * target.c (update_current_target): Don't inherit or default
1531 to_supports_evaluation_of_breakpoint_conditions.
1532 * target.h (struct target_ops)
1533 <to_supports_evaluation_of_breakpoint_conditions>: Use
1534 TARGET_DEFAULT_RETURN.
1536 2014-02-19 Tom Tromey <tromey@redhat.com>
1538 * target-delegates.c: Rebuild.
1539 * target.c (update_current_target): Don't inherit or default
1540 to_augmented_libraries_svr4_read.
1541 * target.h (struct target_ops) <to_augmented_libraries_svr4_read>:
1542 Use TARGET_DEFAULT_RETURN.
1544 2014-02-19 Tom Tromey <tromey@redhat.com>
1546 * target-delegates.c: Rebuild.
1547 * target.c (update_current_target): Don't inherit or default
1549 * target.h (struct target_ops) <to_can_use_agent>: Use
1550 TARGET_DEFAULT_RETURN.
1552 2014-02-19 Tom Tromey <tromey@redhat.com>
1554 * target-delegates.c: Rebuild.
1555 * target.c (update_current_target): Don't inherit or default
1557 * target.h (struct target_ops) <to_use_agent>: Use
1558 TARGET_DEFAULT_NORETURN.
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
1565 (return_null): Remove.
1566 * target.h (struct target_ops) <to_traceframe_info>: Use
1567 TARGET_DEFAULT_RETURN.
1569 2014-02-19 Tom Tromey <tromey@redhat.com>
1571 * target-delegates.c: Rebuild.
1572 * target.c (update_current_target): Don't inherit or default
1573 to_static_tracepoint_markers_by_strid.
1574 * target.h (struct target_ops)
1575 <to_static_tracepoint_markers_by_strid>: Use
1576 TARGET_DEFAULT_NORETURN.
1578 2014-02-19 Tom Tromey <tromey@redhat.com>
1580 * target-delegates.c: Rebuild.
1581 * target.c (update_current_target): Don't inherit or default
1582 to_static_tracepoint_marker_at.
1583 * target.h (struct target_ops) <to_static_tracepoint_marker_at>:
1584 Use TARGET_DEFAULT_RETURN.
1586 2014-02-19 Tom Tromey <tromey@redhat.com>
1588 * target-delegates.c: Rebuild.
1589 * target.c (update_current_target): Don't inherit or default
1591 * target.h (struct target_ops) <to_set_permissions>: Use
1592 TARGET_DEFAULT_IGNORE.
1594 2014-02-19 Tom Tromey <tromey@redhat.com>
1596 * target-delegates.c: Rebuild.
1597 * target.c (update_current_target): Don't inherit or default
1599 * target.h (struct target_ops) <to_get_tib_address>: 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
1607 * target.h (struct target_ops) <to_set_trace_notes>: Use
1608 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 initialize
1614 to_set_trace_buffer_size.
1615 * target.h (struct target_ops) <to_set_trace_buffer_size>: 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
1622 to_set_circular_trace_buffer.
1623 * target.h (struct target_ops) <to_set_circular_trace_buffer>: Use
1624 TARGET_DEFAULT_IGNORE.
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
1630 to_set_disconnected_tracing.
1631 * target.h (struct target_ops) <to_set_disconnected_tracing>: Use
1632 TARGET_DEFAULT_IGNORE.
1634 2014-02-19 Tom Tromey <tromey@redhat.com>
1636 * target-delegates.c: Rebuild.
1637 * target.c (update_current_target): Don't inherit or default
1638 to_get_min_fast_tracepoint_insn_len.
1639 (return_minus_one): Remove.
1640 * target.h (struct target_ops)
1641 <to_get_min_fast_tracepoint_insn_len>: Use TARGET_DEFAULT_RETURN.
1643 2014-02-19 Tom Tromey <tromey@redhat.com>
1645 * target-delegates.c: Rebuild.
1646 * target.c (update_current_target): Don't inherit or default
1647 to_get_raw_trace_data.
1648 * target.h (struct target_ops) <to_get_raw_trace_data>: Use
1649 TARGET_DEFAULT_NORETURN.
1651 2014-02-19 Tom Tromey <tromey@redhat.com>
1653 * target-delegates.c: Rebuild.
1654 * target.c (update_current_target): Don't inherit or default
1655 to_upload_trace_state_variables.
1656 * target.h (struct target_ops) <to_upload_trace_state_variables>:
1657 Use TARGET_DEFAULT_RETURN.
1659 2014-02-19 Tom Tromey <tromey@redhat.com>
1661 * target-delegates.c: Rebuild.
1662 * target.c (update_current_target): Don't inherit or default
1663 to_upload_tracepoints.
1664 * target.h (struct target_ops) <to_upload_tracepoints>: Use
1665 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
1672 * target.h (struct target_ops) <to_save_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_get_trace_state_variable_value.
1680 * target.h (struct target_ops)
1681 <to_get_trace_state_variable_value>: 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
1688 * target.h (struct target_ops): Use TARGET_DEFAULT_RETURN.
1690 2014-02-19 Tom Tromey <tromey@redhat.com>
1692 * target-delegates.c: Rebuild.
1693 * target.c (update_current_target): Don't inherit or default
1695 * target.h (struct target_ops) <to_trace_stop>: Use
1696 TARGET_DEFAULT_NORETURN.
1698 2014-02-19 Tom Tromey <tromey@redhat.com>
1700 * target-delegates.c: Rebuild.
1701 * target.c (update_current_target): Don't inherit or default
1702 to_get_tracepoint_status.
1703 * target.h (struct target_ops) <to_get_tracepoint_status>: Use
1704 TARGET_DEFAULT_NORETURN.
1706 2014-02-19 Tom Tromey <tromey@redhat.com>
1708 * target-delegates.c: Rebuild.
1709 * target.c (update_current_target): Don't inherit or default
1710 to_get_trace_status.
1711 * target.h (struct target_ops) <to_get_trace_status>: Use
1712 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_start>: 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_trace_set_readonly_regions.
1727 * target.h (struct target_ops) <to_trace_set_readonly_regions>:
1728 Use 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_disable_tracepoint.
1735 * target.h (struct target_ops) <to_disable_tracepoint>: Use
1736 TARGET_DEFAULT_NORETURN.
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
1742 to_enable_tracepoint.
1743 * target.h (struct target_ops) <to_enable_tracepoint>: 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_download_trace_state_variable.
1751 * target.h (struct target_ops) <to_download_trace_state_variable>:
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_can_download_tracepoint.
1759 * target.h (struct target_ops) <to_can_download_tracepoint>: Use
1760 TARGET_DEFAULT_RETURN.
1762 2014-02-19 Tom Tromey <tromey@redhat.com>
1764 * target-delegates.c: Rebuild.
1765 * target.c (update_current_target): Don't inherit or default
1766 to_download_tracepoint.
1767 * target.h (struct target_ops) <to_download_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
1775 * target.h (struct target_ops) <to_trace_init>: Use
1776 TARGET_DEFAULT_RETURN.
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_supports_string_tracing.
1783 * target.h (struct target_ops) <to_supports_string_tracing>: 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_supports_enable_disable_tracepoint.
1791 * target.h (struct target_ops)
1792 <to_supports_enable_disable_tracepoint>: Use
1793 TARGET_DEFAULT_RETURN.
1795 2014-02-19 Tom Tromey <tromey@redhat.com>
1797 * target-delegates.c: Rebuild.
1798 * target.c (update_current_target): Don't inherit or default
1799 to_supports_multi_process.
1800 * target.h (struct target_ops) <to_supports_multi_process>: Use
1801 TARGET_DEFAULT_RETURN.
1803 2014-02-19 Tom Tromey <tromey@redhat.com>
1805 * target-delegates.c: Rebuild.
1806 * target.c (update_current_target): Don't inherit or default
1807 to_get_ada_task_ptid.
1808 * target.h (struct target_ops) <to_get_ada_task_ptid>: Use
1809 TARGET_DEFAULT_FUNC.
1811 2014-02-19 Tom Tromey <tromey@redhat.com>
1813 * target-delegates.c: Rebuild.
1814 * target.c (update_current_target): Don't inherit or default
1815 to_thread_architecture.
1816 * target.h (struct target_ops) <to_thread_architecture>: Use
1817 TARGET_DEFAULT_FUNC.
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_execution_direction.
1824 * target.h (struct target_ops) <to_execution_direction>: Use
1825 TARGET_DEFAULT_FUNC.
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_can_execute_reverse.
1832 * target.h (struct target_ops) <to_can_execute_reverse>: Use
1833 TARGET_DEFAULT_RETURN.
1834 (target_can_execute_reverse): Unconditionally delegate.
1836 2014-02-19 Tom Tromey <tromey@redhat.com>
1838 * target-delegates.c: Rebuild.
1839 * target.c (update_current_target): Don't inherit or default
1841 (dummy_goto_bookmark): Remove.
1842 (init_dummy_target): Don't inherit or default to_goto_bookmark.
1843 * target.h (struct target_ops) <to_goto_bookmark>: Use
1844 TARGET_DEFAULT_NORETURN.
1846 2014-02-19 Tom Tromey <tromey@redhat.com>
1848 * target-delegates.c: Rebuild.
1849 * target.c (update_current_target): Don't inherit or default
1851 (dummy_get_bookmark): Remove.
1852 (init_dummy_target): Don't inherit or default to_get_bookmark.
1853 * target.h (struct target_ops) <to_get_bookmark>: Use
1854 TARGET_DEFAULT_NORETURN
1856 2014-02-19 Tom Tromey <tromey@redhat.com>
1858 * target-delegates.c: Rebuild.
1859 * target.c (update_current_target): Don't inherit or default
1860 to_make_corefile_notes.
1861 (init_dummy_target): Don't initialize to_make_corefile_notes.
1862 * target.h (struct target_ops) <to_make_corefile_notes>: Use
1863 TARGET_DEFAULT_FUNC.
1865 2014-02-19 Tom Tromey <tromey@redhat.com>
1867 * target-delegates.c: Rebuild.
1868 * target.c (update_current_target): Don't inherit or default
1869 to_find_memory_regions.
1870 (init_dummy_target): Don't initialize to_find_memory_regions.
1871 * target.h (struct target_ops) <to_find_memory_regions>: Use
1872 TARGET_DEFAULT_FUNC.
1874 2014-02-19 Tom Tromey <tromey@redhat.com>
1876 * target-delegates.c: Rebuild.
1877 * target.c (update_current_target): Don't inherit or default
1879 * target.h (struct target_ops) <to_log_command>: Use
1880 TARGET_DEFAULT_IGNORE.
1881 (target_log_command): Unconditionally delegate.
1883 2014-02-19 Tom Tromey <tromey@redhat.com>
1885 * target-delegates.c: Rebuild.
1886 * target.c (update_current_target): Don't inherit or default
1887 to_pid_to_exec_file.
1888 * target.h (struct target_ops) <to_pid_to_exec_file>: Use
1889 TARGET_DEFAULT_RETURN.
1891 2014-02-19 Tom Tromey <tromey@redhat.com>
1893 * target-delegates.c: Rebuild.
1894 * target.c (update_current_target): Don't inherit or default
1896 (target_thread_name): Unconditionally delegate.
1897 * target.h (struct target_ops) <to_thread_name>: Use
1898 TARGET_DEFAULT_RETURN.
1900 2014-02-19 Tom Tromey <tromey@redhat.com>
1902 * target-delegates.c: Rebuild.
1903 * target.c (update_current_target): Don't inherit or default
1904 to_extra_thread_info.
1905 * target.h (struct target_ops) <to_extra_thread_info>: Use
1906 TARGET_DEFAULT_RETURN.
1908 2014-02-19 Tom Tromey <tromey@redhat.com>
1910 * target-delegates.c: Rebuild.
1911 * target.c (update_current_target): Don't inherit or default
1913 * target.h (struct target_ops) <to_has_exited>: Use
1914 TARGET_DEFAULT_RETURN..
1916 2014-02-19 Tom Tromey <tromey@redhat.com>
1918 * target-delegates.c: Rebuild.
1919 * target.c (update_current_target): Don't inherit or default
1920 to_set_syscall_catchpoint.
1921 (return_one): Remove.
1922 * target.h (struct target_ops) <to_set_syscall_catchpoint>: Use
1923 TARGET_DEFAULT_RETURN.
1925 2014-02-19 Tom Tromey <tromey@redhat.com>
1927 * target-delegates.c: Rebuild.
1928 * target.c (update_current_target): Don't inherit or default
1929 to_insert_exec_catchpoint.
1930 * target.h (struct target_ops) <to_insert_exec_catchpoint>: Use
1931 TARGET_DEFAULT_RETURN.
1933 2014-01-08 Tom Tromey <tromey@redhat.com>
1935 * target-delegates.c: Rebuild.
1936 * target.c (update_current_target): Don't inherit or default
1937 to_insert_exec_catchpoint.
1938 * target.h (struct target_ops) <to_insert_exec_catchpoint>: Use
1939 TARGET_DEFAULT_RETURN.
1941 2014-02-19 Tom Tromey <tromey@redhat.com>
1943 * target-delegates.c: Rebuild.
1944 * target.c (update_current_target): Don't inherit or default
1945 to_remove_vfork_catchpoint.
1946 * target.h (struct target_ops) <to_remove_vfork_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_vfork_catchpoint.
1954 * target.h (struct target_ops) <to_insert_vfork_catchpoint>: Use
1955 TARGET_DEFAULT_RETURN.
1957 2014-02-19 Tom Tromey <tromey@redhat.com>
1959 * target-delegates.c: Rebuild.
1960 * target.c (update_current_target): Don't inherit or default
1961 to_remove_fork_catchpoint.
1962 * target.h (struct target_ops) <to_remove_fork_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_insert_fork_catchpoint.
1970 * target.h (struct target_ops) <to_insert_fork_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_post_startup_inferior.
1978 * target.h (struct target_ops) <to_post_startup_inferior>: Use
1979 TARGET_DEFAULT_IGNORE.
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
1986 * target.h (struct target_ops) <to_load>: Use
1987 TARGET_DEFAULT_NORETURN.
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
1994 * target.h (struct target_ops) <to_terminal_info>: Use
1995 TARGET_DEFAULT_FUNC.
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_terminal_save_ours.
2002 * target.h (struct target_ops) <to_terminal_save_ours>: 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_terminal_ours>: Use
2011 TARGET_DEFAULT_IGNORE.
2013 2014-02-19 Tom Tromey <tromey@redhat.com>
2015 * target-delegates.c: Rebuild.
2016 * target.c (update_current_target): Don't inherit or default
2017 to_terminal_ours_for_output.
2018 * target.h (struct target_ops) <to_terminal_ours_for_output>: Use
2019 TARGET_DEFAULT_IGNORE.
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_inferior.
2026 * target.h (struct target_ops) <to_terminal_inferior>: 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_init>: 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_can_accel_watchpoint_condition.
2042 * target.h (struct target_ops)
2043 <to_can_accel_watchpoint_condition>: Use TARGET_DEFAULT_RETURN.
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_region_ok_for_hw_watchpoint.
2050 * target.h (struct target_ops) <to_region_ok_for_hw_watchpoint>:
2051 Use TARGET_DEFAULT_FUNC.
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
2057 to_watchpoint_addr_within_range.
2058 * target.h (struct target_ops) <to_watchpoint_addr_within_range>:
2059 Use TARGET_DEFAULT_FUNC.
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_remove_watchpoint.
2066 * target.h (struct target_ops) <to_remove_watchpoint>: Use
2067 TARGET_DEFAULT_NORETURN.
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_insert_watchpoint.
2074 * target.h (struct target_ops) <to_insert_watchpoint>: Use
2075 TARGET_DEFAULT_RETURN.
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_remove_hw_breakpoint.
2082 * target.h (struct target_ops) <to_remove_hw_breakpoint>: Use
2083 TARGET_DEFAULT_RETURN.
2085 2014-02-19 Tom Tromey <tromey@redhat.com>
2087 * target-delegates.c: Rebuild.
2088 * target.c (update_current_target): Don't inherit or default
2089 to_insert_hw_breakpoint.
2090 * target.h (struct target_ops) <to_insert_hw_breakpoint>: Use
2091 TARGET_DEFAULT_RETURN.
2093 2014-02-19 Tom Tromey <tromey@redhat.com>
2095 * target-delegates.c: Rebuild.
2096 * target.c (update_current_target): Don't inherit or default
2097 to_can_use_hw_breakpoint.
2098 * target.h (struct target_ops) <to_can_use_hw_breakpoint>: 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
2106 * target.h (struct target_ops) <to_files_info>: Use
2107 TARGET_DEFAULT_IGNORE.
2109 2014-02-19 Tom Tromey <tromey@redhat.com>
2111 * target-delegates.c: Rebuild.
2112 * target.c (update_current_target): Don't inherit or default
2114 * target.h (struct target_ops) <to_store>: Use
2115 TARGET_DEFAULT_NORETURN.
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
2122 * target.h (struct target_ops) <to_post_attach>: Use
2123 TARGET_DEFAULT_IGNORE.
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 (default_rcmd): New function.
2131 (do_monitor_command): Unconditionally delegate.
2132 * target.h (struct target_ops) <to_rmcd>: Use
2133 TARGET_DEFAULT_FUNC.
2135 2014-02-19 Tom Tromey <tromey@redhat.com>
2137 * target-delegates.c: Rebuild.
2138 * target.c (init_dummy_target): Don't initialize to_attach.
2139 (target_attach): Unconditionally delegate.
2140 * target.h (struct target_ops) <to_attach>: Use
2141 TARGET_DEFAULT_FUNC.
2143 2014-02-19 Tom Tromey <tromey@redhat.com>
2145 * target-delegates.c: Rebuild.
2146 * target.c (target_detach): Unconditionally delegate.
2147 (init_dummy_target): Don't initialize to_detach.
2148 * target.h (struct target_ops) <to_detach>: Use
2149 TARGET_DEFAULT_IGNORE.
2151 2014-02-19 Tom Tromey <tromey@redhat.com>
2153 * target.h (struct target_ops) <to_augmented_libraries_svr4_read>:
2155 (target_augmented_libraries_svr4_read): Add argument.
2156 * target.c (update_current_target): Update.
2157 * remote.c (remote_augmented_libraries_svr4_read): Add 'self'
2160 2014-02-19 Tom Tromey <tromey@redhat.com>
2162 * target.h (struct target_ops) <to_call_history_range>: Add
2164 * target.c (target_call_history_range): Add argument.
2165 * record-btrace.c (record_btrace_call_history_range): Add 'self'
2167 (record_btrace_call_history_from): Update.
2169 2014-02-19 Tom Tromey <tromey@redhat.com>
2171 * target.h (struct target_ops) <to_call_history_from>: Add
2173 * target.c (target_call_history_from): Add argument.
2174 * record-btrace.c (record_btrace_call_history_from): Add 'self'
2177 2014-02-19 Tom Tromey <tromey@redhat.com>
2179 * target.h (struct target_ops) <to_call_history>: Add argument.
2180 * target.c (target_call_history): Add argument.
2181 * record-btrace.c (record_btrace_call_history): Add 'self'
2184 2014-02-19 Tom Tromey <tromey@redhat.com>
2186 * target.h (struct target_ops) <to_insn_history_range>: Add
2188 * target.c (target_insn_history_range): Add argument.
2189 * record-btrace.c (record_btrace_insn_history_range): Add 'self'
2191 (record_btrace_insn_history_from): Update.
2193 2014-02-19 Tom Tromey <tromey@redhat.com>
2195 * target.h (struct target_ops) <to_insn_history_from>: Add
2197 * target.c (target_insn_history_from): Add argument.
2198 * record-btrace.c (record_btrace_insn_history_from): Add 'self'
2201 2014-02-19 Tom Tromey <tromey@redhat.com>
2203 * target.h (struct target_ops) <to_insn_history>: Add argument.
2204 * target.c (target_insn_history): Add argument.
2205 * record-btrace.c (record_btrace_insn_history): Add 'self'
2208 2014-02-19 Tom Tromey <tromey@redhat.com>
2210 * target.h (struct target_ops) <to_goto_record>: Add argument.
2211 * target.c (target_goto_record): Add argument.
2212 * record-full.c (record_full_goto): Add 'self' argument.
2213 * record-btrace.c (record_btrace_goto): Add 'self' argument.
2215 2014-02-19 Tom Tromey <tromey@redhat.com>
2217 * target.h (struct target_ops) <to_goto_record_end>: Add argument.
2218 * target.c (target_goto_record_end): Add argument.
2219 * record-full.c (record_full_goto_end): Add 'self' argument.
2220 * record-btrace.c (record_btrace_goto_end): Add 'self' argument.
2222 2014-02-19 Tom Tromey <tromey@redhat.com>
2224 * target.h (struct target_ops) <to_goto_record_begin>: Add
2226 * target.c (target_goto_record_begin): Add argument.
2227 * record-full.c (record_full_goto_begin): Add 'self' argument.
2228 * record-btrace.c (record_btrace_goto_begin): Add 'self'
2231 2014-02-19 Tom Tromey <tromey@redhat.com>
2233 * target.h (struct target_ops) <to_record_is_replaying>: Add
2235 * target.c (target_record_is_replaying): Add argument.
2236 * record-full.c (record_full_is_replaying): Add 'self' argument.
2237 * record-btrace.c (record_btrace_is_replaying): Add 'self'
2239 (record_btrace_xfer_partial, record_btrace_store_registers)
2240 (record_btrace_prepare_to_store, record_btrace_resume)
2241 (record_btrace_wait, record_btrace_decr_pc_after_break)
2242 (record_btrace_find_new_threads, record_btrace_thread_alive):
2245 2014-02-19 Tom Tromey <tromey@redhat.com>
2247 * target.h (struct target_ops) <to_delete_record>: Add argument.
2248 * target.c (target_delete_record): Add argument.
2249 * record-full.c (record_full_delete): Add 'self' argument.
2251 2014-02-19 Tom Tromey <tromey@redhat.com>
2253 * target.h (struct target_ops) <to_save_record>: Add argument.
2254 * target.c (target_save_record): Add argument.
2255 * record-full.c (record_full_save): Add 'self' argument.
2256 (record_full_save): Add 'self' argument.
2258 2014-02-19 Tom Tromey <tromey@redhat.com>
2260 * target.h (struct target_ops) <to_info_record>: Add argument.
2261 * target.c (target_info_record): Add argument.
2262 * record.c (info_record_command): Add argument.
2263 * record-full.c (record_full_info): Add 'self' argument.
2264 * record-btrace.c (record_btrace_info): Add 'self' argument.
2266 2014-02-19 Tom Tromey <tromey@redhat.com>
2268 * target.h (struct target_ops) <to_stop_recording>: Add argument.
2269 * target.c (target_stop_recording): Add argument.
2270 * record.c (record_stop): Add argument.
2271 * record-btrace.c (record_btrace_stop_recording): Add 'self'
2274 2014-02-19 Tom Tromey <tromey@redhat.com>
2276 * target.h (struct target_ops) <to_read_btrace>: Add argument.
2277 * target.c (struct target_ops) <to_read_btrace>: Add argument.
2278 * remote.c (struct target_ops) <to_read_btrace>: Add 'self'
2280 * amd64-linux-nat.c (amd64_linux_read_btrace): New function.
2281 (_initialize_amd64_linux_nat): Use it.
2282 * i386-linux-nat.c (i386_linux_read_btrace): New function.
2283 (_initialize_i386_linux_nat): Use it.
2285 2014-02-19 Tom Tromey <tromey@redhat.com>
2287 * target.h (struct target_ops) <to_teardown_btrace>: Add argument.
2288 * target.c (target_teardown_btrace): Add argument.
2289 * remote.c (remote_teardown_btrace): Add 'self' argument.
2290 * i386-linux-nat.c (i386_linux_teardown_btrace): Add 'self'
2292 * amd64-linux-nat.c (amd64_linux_teardown_btrace): Add 'self'
2295 2014-02-19 Tom Tromey <tromey@redhat.com>
2297 * target.h (struct target_ops) <to_disable_btrace>: Add argument.
2298 * target.c (target_disable_btrace): Add argument.
2299 * remote.c (remote_disable_btrace): Add 'self' argument.
2300 * i386-linux-nat.c (i386_linux_disable_btrace): Add 'self'
2302 * amd64-linux-nat.c (amd64_linux_disable_btrace): Add 'self'
2305 2014-02-19 Tom Tromey <tromey@redhat.com>
2307 * target.h (struct target_ops) <to_enable_btrace>: Add argument.
2308 * target.c (target_enable_btrace): Add argument.
2309 * remote.c (remote_enable_btrace): Add 'self' argument.
2310 * i386-linux-nat.c (i386_linux_enable_btrace): Add 'self'
2312 * amd64-linux-nat.c (amd64_linux_enable_btrace): Add 'self'
2315 2014-02-19 Tom Tromey <tromey@redhat.com>
2317 * target.h (struct target_ops) <to_can_use_agent>: Add argument.
2318 (target_can_use_agent): Add argument.
2319 * target.c (update_current_target): Update.
2320 * remote.c (remote_can_use_agent): Add 'self' argument.
2321 * inf-child.c (inf_child_can_use_agent): Add 'self' argument.
2323 2014-02-19 Tom Tromey <tromey@redhat.com>
2325 * target.h (struct target_ops) <to_use_agent>: Add argument.
2326 (target_use_agent): Add argument.
2327 * target.c (update_current_target): Update.
2328 * remote.c (remote_use_agent): Add 'self' argument.
2329 * inf-child.c (inf_child_use_agent): Add 'self' argument.
2331 2014-02-19 Tom Tromey <tromey@redhat.com>
2333 * tracepoint.c (tfile_traceframe_info): Add 'self' argument.
2334 * target.h (struct target_ops) <to_traceframe_info>: Add argument.
2335 (target_traceframe_info): Add argument.
2336 * target.c (update_current_target): Update.
2337 * remote.c (remote_traceframe_info): Add 'self' argument.
2338 * ctf.c (ctf_traceframe_info): Add 'self' argument.
2340 2014-02-19 Tom Tromey <tromey@redhat.com>
2342 * target.h (target_static_tracepoint_markers_by_strid): Add
2344 (struct target_ops) <to_static_tracepoint_markers_by_strid>: Add
2346 * target.c (update_current_target): Update.
2347 * remote.c (struct target_ops)
2348 <to_static_tracepoint_markers_by_strid>: Add 'self' argument.
2349 * linux-nat.c (struct target_ops)
2350 <to_static_tracepoint_markers_by_strid>: Add 'self' argument.
2352 2014-02-19 Tom Tromey <tromey@redhat.com>
2354 * target.h (struct target_ops) <to_static_tracepoint_marker_at>:
2356 (target_static_tracepoint_marker_at): Add argument.
2357 * target.c (update_current_target): Update.
2358 * remote.c (remote_static_tracepoint_marker_at): Add 'self'
2361 2014-02-19 Tom Tromey <tromey@redhat.com>
2363 * target.h (struct target_ops) <to_set_permissions>: Add argument.
2364 (target_set_permissions): Add argument.
2365 * target.c (update_current_target): Update.
2366 * remote.c (remote_set_permissions): Add 'self' argument.
2367 (remote_start_remote): Update.
2369 2014-02-19 Tom Tromey <tromey@redhat.com>
2371 * windows-nat.c (windows_get_tib_address): Add 'self' argument.
2372 * target.h (struct target_ops) <to_get_tib_address>: Add argument.
2373 (target_get_tib_address): Add argument.
2374 * target.c (update_current_target): Update.
2375 * remote.c (remote_get_tib_address): Add 'self' argument.
2377 2014-02-19 Tom Tromey <tromey@redhat.com>
2379 * target.h (struct target_ops) <to_set_trace_notes>: Add argument.
2380 (target_set_trace_notes): Add argument.
2381 * target.c (update_current_target): Update.
2382 * remote.c (remote_set_trace_notes): Add 'self' argument.
2384 2014-02-19 Tom Tromey <tromey@redhat.com>
2386 * target.h (struct target_ops) <to_set_trace_buffer_size>: Add
2388 (target_set_trace_buffer_size): Add argument.
2389 * target.c (update_current_target): Update.
2390 * remote.c (remote_set_trace_buffer_size): Add 'self' argument.
2392 2014-02-19 Tom Tromey <tromey@redhat.com>
2394 * target.h (struct target_ops) <to_set_circular_trace_buffer>: Add
2396 (target_set_circular_trace_buffer): Add argument.
2397 * target.c (update_current_target): Update.
2398 * remote.c (remote_set_circular_trace_buffer): Add 'self'
2401 2014-02-19 Tom Tromey <tromey@redhat.com>
2403 * target.h (struct target_ops) <to_set_disconnected_tracing>: Add
2405 (target_set_disconnected_tracing): Add argument.
2406 * target.c (update_current_target): Update.
2407 * remote.c (remote_set_disconnected_tracing): Add 'self' argument.
2409 2014-02-19 Tom Tromey <tromey@redhat.com>
2411 * target.h (struct target_ops)
2412 <to_get_min_fast_tracepoint_insn_len>: Add argument.
2413 (target_get_min_fast_tracepoint_insn_len): Add argument.
2414 * target.c (update_current_target): Update.
2415 * remote.c (remote_get_min_fast_tracepoint_insn_len): Add 'self'
2418 2014-02-19 Tom Tromey <tromey@redhat.com>
2420 * target.h (struct target_ops) <to_get_raw_trace_data>: Add
2422 (target_get_raw_trace_data): Add argument.
2423 * target.c (update_current_target): Update.
2424 * remote.c (remote_get_raw_trace_data): Add 'self' argument.
2426 2014-02-19 Tom Tromey <tromey@redhat.com>
2428 * target.h (struct target_ops) <to_upload_trace_state_variables>:
2430 (target_upload_trace_state_variables): Add argument.
2431 * target.c (update_current_target): Update.
2432 * remote.c (remote_upload_trace_state_variables): Add 'self'
2434 (remote_start_remote): Update.
2436 2014-02-19 Tom Tromey <tromey@redhat.com>
2438 * target.h (struct target_ops) <to_upload_tracepoints>: Add
2440 (target_upload_tracepoints): Add argument.
2441 * target.c (update_current_target): Update.
2442 * remote.c (remote_upload_tracepoints): Add 'self' argument.
2443 (remote_start_remote): Update.
2445 2014-02-19 Tom Tromey <tromey@redhat.com>
2447 * target.h (struct target_ops) <to_save_trace_data>: Add argument.
2448 (target_save_trace_data): Add argument.
2449 * target.c (update_current_target): Update.
2450 * remote.c (remote_save_trace_data): Add 'self' argument.
2452 2014-02-19 Tom Tromey <tromey@redhat.com>
2454 * tracepoint.c (tfile_get_trace_state_variable_value): Add 'self'
2456 * target.h (struct target_ops)
2457 <to_get_trace_state_variable_value>: Add argument.
2458 (target_get_trace_state_variable_value): Add argument.
2459 * target.c (update_current_target): Update.
2460 * remote.c (remote_get_trace_state_variable_value): Add 'self'
2462 * ctf.c (ctf_get_trace_state_variable_value): Add 'self' argument.
2464 2014-02-19 Tom Tromey <tromey@redhat.com>
2466 * tracepoint.c (tfile_trace_find): Add 'self' argument.
2467 * target.h (struct target_ops) <to_trace_find>: Add argument.
2468 (target_trace_find): Add argument.
2469 * target.c (update_current_target): Update.
2470 * remote.c (remote_trace_find): Add 'self' argument.
2471 * ctf.c (ctf_trace_find): Add 'self' argument.
2473 2014-02-19 Tom Tromey <tromey@redhat.com>
2475 * target.h (struct target_ops) <to_trace_stop>: Add argument.
2476 (target_trace_stop): Add argument.
2477 * target.c (update_current_target): Update.
2478 * remote.c (remote_trace_stop): Add 'self' argument.
2480 2014-02-19 Tom Tromey <tromey@redhat.com>
2482 * tracepoint.c (tfile_get_tracepoint_status): Add 'self' argument.
2483 * target.h (struct target_ops) <to_get_tracepoint_status>: Add
2485 (target_get_tracepoint_status): Add argument.
2486 * target.c (update_current_target): Update.
2487 * remote.c (remote_get_tracepoint_status): Add 'self' argument.
2489 2014-02-19 Tom Tromey <tromey@redhat.com>
2491 * tracepoint.c (tfile_get_trace_status): Add 'self' argument.
2492 * target.h (struct target_ops) <to_get_trace_status>: Add
2494 (target_get_trace_status): Add argument.
2495 * target.c (update_current_target): Update.
2496 * remote.c (remote_get_trace_status): Add 'self' argument.
2497 (remote_start_remote, remote_can_download_tracepoint): Update.
2498 * ctf.c (ctf_get_trace_status): Add 'self' argument.
2500 2014-02-19 Tom Tromey <tromey@redhat.com>
2502 * target.h (struct target_ops) <to_trace_start>: Add argument.
2503 (target_trace_start): Add argument.
2504 * target.c (update_current_target): Update.
2505 * remote.c (remote_trace_start): Add 'self' argument.
2507 2014-02-19 Tom Tromey <tromey@redhat.com>
2509 * target.h (struct target_ops) <to_trace_set_readonly_regions>:
2511 (target_trace_set_readonly_regions): Add argument.
2512 * target.c (update_current_target): Update.
2513 * remote.c (remote_trace_set_readonly_regions): Add 'self'
2516 2014-02-19 Tom Tromey <tromey@redhat.com>
2518 * target.h (struct target_ops) <to_disable_tracepoint>: Add
2520 (target_disable_tracepoint): Add argument.
2521 * target.c (update_current_target): Update.
2522 * remote.c (remote_disable_tracepoint): Add 'self' argument.
2524 2014-02-19 Tom Tromey <tromey@redhat.com>
2526 * target.h (struct target_ops) <to_enable_tracepoint>: Add
2528 (target_enable_tracepoint): Add argument.
2529 * target.c (update_current_target): Update.
2530 * remote.c (remote_enable_tracepoint): Add 'self' argument.
2532 2014-02-19 Tom Tromey <tromey@redhat.com>
2534 * target.h (struct target_ops) <to_download_trace_state_variable>:
2536 (target_download_trace_state_variable): Add argument.
2537 * target.c (update_current_target): Update.
2538 * remote.c (remote_download_trace_state_variable): Add 'self'
2541 2014-02-19 Tom Tromey <tromey@redhat.com>
2543 * target.h (struct target_ops) <to_can_download_tracepoint>: Add
2545 (target_can_download_tracepoint): Add argument.
2546 * target.c (update_current_target): Update.
2547 * remote.c (remote_can_download_tracepoint): Add 'self' argument.
2549 2014-02-19 Tom Tromey <tromey@redhat.com>
2551 * target.h (struct target_ops) <to_download_tracepoint>: Add
2553 (target_download_tracepoint): Add argument.
2554 * target.c (update_current_target): Update.
2555 * remote.c (remote_download_tracepoint): Add 'self' argument.
2557 2014-02-19 Tom Tromey <tromey@redhat.com>
2559 * target.h (struct target_ops) <to_trace_init>: Add argument.
2560 (target_trace_init): Add argument.
2561 * target.c (update_current_target): Update.
2562 * remote.c (remote_trace_init): Add 'self' argument.
2564 2014-02-19 Tom Tromey <tromey@redhat.com>
2566 * target.h (struct target_ops) <to_fileio_readlink>: Add argument.
2567 * target.c (target_fileio_readlink): Add argument.
2568 * remote.c (remote_hostio_readlink): Add 'self' argument.
2569 * inf-child.c (inf_child_fileio_readlink): Add 'self' argument.
2571 2014-02-19 Tom Tromey <tromey@redhat.com>
2573 * target.h (struct target_ops) <to_fileio_unlink>: Add argument.
2574 * target.c (target_fileio_unlink): Add argument.
2575 * remote.c (remote_hostio_unlink): Add 'self' argument.
2576 (remote_file_delete): Update.
2577 * inf-child.c (inf_child_fileio_unlink): Add 'self' argument.
2579 2014-02-19 Tom Tromey <tromey@redhat.com>
2581 * target.h (struct target_ops) <to_fileio_close>: Add argument.
2582 * target.c (target_fileio_close): Add argument.
2583 * remote.c (remote_hostio_close): Add 'self' argument.
2584 (remote_hostio_close_cleanup): Update.
2585 (remote_bfd_iovec_close, remote_file_put, remote_file_get):
2587 * inf-child.c (inf_child_fileio_close): Add 'self' argument.
2589 2014-02-19 Tom Tromey <tromey@redhat.com>
2591 * target.h (struct target_ops) <to_fileio_pread>: Add argument.
2592 * target.c (target_fileio_pread): Add argument.
2593 * remote.c (remote_hostio_pread): Add 'self' argument.
2594 (remote_bfd_iovec_pread, remote_file_get): Update.
2595 * inf-child.c (inf_child_fileio_pread): Add 'self' argument.
2597 2014-02-19 Tom Tromey <tromey@redhat.com>
2599 * target.h (struct target_ops) <to_fileio_pwrite>: Add argument.
2600 * target.c (target_fileio_pwrite): Add argument.
2601 * remote.c (remote_hostio_pwrite): Add 'self' argument.
2602 (remote_file_put): Update.
2603 * inf-child.c (inf_child_fileio_pwrite): Add 'self' argument.
2605 2014-02-19 Tom Tromey <tromey@redhat.com>
2607 * target.h (struct target_ops) <to_fileio_open>: Add argument.
2608 * target.c (target_fileio_open): Add argument.
2609 * remote.c (remote_hostio_open): Add 'self' argument.
2610 (remote_bfd_iovec_open): Add 'self' argument.
2611 (remote_file_put): Add 'self' argument.
2612 (remote_file_get): Add 'self' argument.
2613 * inf-child.c (inf_child_fileio_open): Add 'self' argument.
2615 2014-02-19 Tom Tromey <tromey@redhat.com>
2617 * target.h (struct target_ops) <to_can_run_breakpoint_commands>:
2619 (target_can_run_breakpoint_commands): Add argument.
2620 * target.c (update_current_target): Update.
2621 * remote.c (remote_can_run_breakpoint_commands): Add 'self'
2623 (remote_insert_breakpoint): Add 'self' argument.
2624 (remote_insert_hw_breakpoint): Add 'self' argument.
2625 (remote_can_run_breakpoint_commands): Add 'self' argument.
2627 2014-02-19 Tom Tromey <tromey@redhat.com>
2629 * target.h (struct target_ops)
2630 <to_supports_evaluation_of_breakpoint_conditions>: Add argument.
2631 (target_supports_evaluation_of_breakpoint_conditions): Add
2633 * target.c (update_current_target): Update.
2634 * remote.c (remote_supports_cond_breakpoints): Add 'self'
2636 (remote_insert_breakpoint): Add 'self' argument.
2637 (remote_insert_hw_breakpoint): Add 'self' argument.
2638 (remote_supports_cond_breakpoints): Add 'self' argument.
2640 2014-02-19 Tom Tromey <tromey@redhat.com>
2642 * target.h (struct target_ops) <to_supports_string_tracing>: Add
2644 (target_supports_string_tracing): Add argument.
2645 * target.c (update_current_target): Update.
2646 * remote.c (remote_supports_string_tracing): Add 'self' argument.
2648 2014-02-19 Tom Tromey <tromey@redhat.com>
2650 * target.h (struct target_ops)
2651 <to_supports_disable_randomization>: Add argument.
2652 * target.c (find_default_supports_disable_randomization): Add
2654 (target_supports_disable_randomization): Add argument.
2655 (find_default_supports_disable_randomization): Add 'self'
2657 * remote.c (extended_remote_supports_disable_randomization): Add
2659 (remote_supports_disable_randomization): Add 'self' argument.
2660 (extended_remote_create_inferior): Update.
2661 * linux-nat.c (linux_nat_supports_disable_randomization): Add
2664 2014-02-19 Tom Tromey <tromey@redhat.com>
2666 * target.h (struct target_ops)
2667 <to_supports_enable_disable_tracepoint>: Add argument.
2668 (target_supports_enable_disable_tracepoint): Add argument.
2669 * target.c (update_current_target): Update.
2670 * remote.c (remote_supports_enable_disable_tracepoint): Add 'self'
2673 2014-02-19 Tom Tromey <tromey@redhat.com>
2675 * target.h (struct target_ops) <to_supports_multi_process>: Add
2677 (target_supports_multi_process): Add argument.
2678 * target.c (update_current_target): Update.
2679 * remote.c (remote_supports_multi_process): Add 'self' argument.
2680 * linux-nat.c (linux_nat_supports_multi_process): Add 'self'
2682 * darwin-nat.c (darwin_supports_multi_process): Add 'self'
2685 2014-02-19 Tom Tromey <tromey@redhat.com>
2687 * target.h (struct target_ops) <to_execution_direction>: Add
2689 (target_execution_direction): Add argument.
2690 * target.c (default_execution_direction): Add 'self' argument.
2691 * record-full.c (record_full_execution_direction): Add 'self'
2694 2014-02-19 Tom Tromey <tromey@redhat.com>
2696 * target.h (struct target_ops) <to_can_execute_reverse>: Add
2698 (target_can_execute_reverse): Add argument.
2699 * remote.c (remote_can_execute_reverse): Add 'self' argument.
2700 * record-full.c (record_full_can_execute_reverse): Add 'self'
2702 * record-btrace.c (record_btrace_can_execute_reverse): Add 'self'
2705 2014-02-19 Tom Tromey <tromey@redhat.com>
2707 * windows-nat.c (windows_get_ada_task_ptid): Add 'self' argument.
2708 * target.h (struct target_ops) <to_get_ada_task_ptid>: Add
2710 (target_get_ada_task_ptid): Add argument.
2711 * target.c (update_current_target): Update.
2712 (default_get_ada_task_ptid): Add 'self' argument.
2713 * sol-thread.c (sol_get_ada_task_ptid): Add 'self' argument.
2714 * remote.c (remote_get_ada_task_ptid): Add 'self' argument.
2715 * ravenscar-thread.c (ravenscar_get_ada_task_ptid): Add 'self'
2717 * linux-thread-db.c (thread_db_get_ada_task_ptid): Add 'self'
2719 * inf-ttrace.c (inf_ttrace_get_ada_task_ptid): Add 'self'
2721 * dec-thread.c (dec_thread_get_ada_task_ptid): Add 'self'
2723 * darwin-nat.c (darwin_get_ada_task_ptid): Add 'self' argument.
2724 * aix-thread.c (aix_thread_get_ada_task_ptid): Add 'self'
2727 2014-02-19 Tom Tromey <tromey@redhat.com>
2729 * target.h (struct target_ops) <to_goto_bookmark>: Add argument.
2730 (target_goto_bookmark): Add argument.
2731 * target.c (dummy_goto_bookmark): Add 'self' argument.
2732 * record-full.c (record_full_goto_bookmark): Add 'self' argument.
2734 2014-02-19 Tom Tromey <tromey@redhat.com>
2736 * target.h (struct target_ops) <to_get_bookmark>: Add argument.
2737 (target_get_bookmark): Add argument.
2738 * target.c (dummy_get_bookmark): Add 'self' argument.
2739 * record-full.c (record_full_get_bookmark): Add 'self' argument.
2741 2014-02-19 Tom Tromey <tromey@redhat.com>
2743 * target.h (struct target_ops) <to_make_corefile_notes>: Add
2745 (target_make_corefile_notes): Add argument.
2746 * target.c (dummy_make_corefile_notes): Add 'self' argument.
2747 * procfs.c (procfs_make_note_section): Add 'self' argument.
2748 (procfs_make_note_section): Add 'self' argument.
2749 (procfs_make_note_section): Add 'self' argument.
2750 * linux-nat.c (linux_nat_make_corefile_notes): Add 'self'
2752 * fbsd-nat.h (fbsd_make_corefile_notes): Add 'self' argument.
2753 * fbsd-nat.c (fbsd_make_corefile_notes): Add 'self' argument.
2754 * exec.c (exec_make_note_section): Add 'self' argument.
2755 (exec_make_note_section): Add 'self' argument.
2757 2014-02-19 Tom Tromey <tromey@redhat.com>
2759 * target.h (struct target_ops) <to_find_memory_regions>: Add
2761 (target_find_memory_regions): Add argument.
2762 * target.c (dummy_find_memory_regions): Add 'self' argument.
2763 * procfs.c (proc_find_memory_regions): Add 'self' argument.
2764 * gnu-nat.c (gnu_find_memory_regions): Add 'self' argument.
2765 * fbsd-nat.h (fbsd_find_memory_regions): Add 'self' argument.
2766 * fbsd-nat.c (fbsd_find_memory_regions): Add 'self' argument.
2767 * exec. (exec_do_find_memory_regions): New global.
2768 (exec_set_find_memory_regions): Rewrite.
2769 (exec_find_memory_regions): New function.
2770 (init_exec_ops): Use exec_find_memory_regions.
2772 2014-02-19 Tom Tromey <tromey@redhat.com>
2774 * target.h (struct target_ops) <to_supports_non_stop>: Add
2776 * target.c (find_default_supports_non_stop): Add argument.
2777 (target_supports_non_stop): Add argument.
2778 (find_default_supports_non_stop): Add 'self' argument.
2779 * remote.c (remote_supports_non_stop): Add 'self' argument.
2780 * linux-nat.c (linux_nat_supports_non_stop): Add 'self' argument.
2782 2014-02-19 Tom Tromey <tromey@redhat.com>
2784 * target.h (struct target_ops) <to_log_command>: Add argument.
2785 (target_log_command): Add argument.
2786 * serial.h (serial_log_command): Add 'self' argument.
2787 * serial.c (serial_log_command): Add 'self' argument.
2789 2014-02-19 Tom Tromey <tromey@redhat.com>
2791 * windows-nat.c (windows_pid_to_exec_file): Add 'self' argument.
2792 * target.h (struct target_ops) <to_pid_to_exec_file>: Add
2794 (target_pid_to_exec_file): Add argument.
2795 * target.c (debug_to_pid_to_exec_file): Add argument.
2796 (update_current_target): Update.
2797 * nbsd-nat.h (nbsd_pid_to_exec_file): Add 'self' argument.
2798 * nbsd-nat.c (nbsd_pid_to_exec_file): Add 'self' argument.
2799 * linux-nat.c (linux_child_pid_to_exec_file): Add 'self' argument.
2800 (linux_handle_extended_wait): Update.
2801 * inf-child.c (inf_child_pid_to_exec_file): Add 'self' argument.
2802 * fbsd-nat.h (fbsd_pid_to_exec_file): Add 'self' argument.
2803 * fbsd-nat.c (fbsd_pid_to_exec_file): Add 'self' argument.
2804 * darwin-nat.c (darwin_pid_to_exec_file): Add 'self' argument.
2806 2014-02-19 Tom Tromey <tromey@redhat.com>
2808 * target.h (struct target_ops) <to_rcmd>: Add argument.
2809 (target_rcmd): Add argument.
2810 * target.c (debug_to_rcmd): Add argument.
2811 (update_current_target, do_monitor_command): Update.
2812 * remote.c (remote_rcmd): Add 'self' argument.
2813 * monitor.c (monitor_rcmd): Add 'self' argument.
2815 2014-02-19 Tom Tromey <tromey@redhat.com>
2817 * windows-nat.c (windows_stop): Add 'self' argument.
2818 * target.h (struct target_ops) <to_stop>: Add argument.
2819 * target.c (target_stop): Add argument.
2820 (debug_to_stop): Add argument.
2821 (update_current_target): Update.
2822 * remote.c (remote_stop): Add 'self' argument.
2823 * remote-sim.c (gdbsim_stop): Add 'self' argument.
2824 (gdbsim_cntrl_c): Update.
2825 * remote-m32r-sdi.c (m32r_stop): Add 'self' argument.
2826 * procfs.c (procfs_stop): Add 'self' argument.
2827 * nto-procfs.c (procfs_stop): Add 'self' argument.
2828 * monitor.c (monitor_stop): Add 'self' argument.
2829 (monitor_open): Update.
2830 * linux-nat.c (linux_nat_stop): Add argument.
2831 * inf-ptrace.c (inf_ptrace_stop): Add 'self' argument.
2832 * gnu-nat.c (gnu_stop): Add 'self' argument.
2833 * darwin-nat.c (darwin_stop): Add 'self' argument.
2835 2014-02-19 Tom Tromey <tromey@redhat.com>
2837 * target.h (struct target_ops) <to_thread_name>: Add argument.
2838 * target.c (target_thread_name): Add argument.
2839 (update_current_target): Update.
2840 * linux-nat.c (linux_nat_thread_name): Add 'self' argument.
2842 2014-02-19 Tom Tromey <tromey@redhat.com>
2844 * target.h (struct target_ops) <to_extra_thread_info>: Add
2846 (target_extra_thread_info): Add argument.
2847 * target.c (update_current_target): Update.
2848 * remote.c (remote_threads_extra_info): Add 'self' argument.
2849 * ravenscar-thread.c (ravenscar_extra_thread_info): Add 'self'
2851 * nto-tdep.h (nto_extra_thread_info): Add 'self' argument.
2852 * nto-tdep.c (nto_extra_thread_info): Add 'self' argument.
2853 * linux-thread-db.c (thread_db_extra_thread_info): Add 'self'
2855 * inf-ttrace.c (inf_ttrace_extra_thread_info): Add 'self'
2857 * bsd-uthread.c (bsd_uthread_extra_thread_info): Add 'self'
2859 * aix-thread.c (aix_thread_extra_thread_info): Add 'self'
2862 2014-02-19 Tom Tromey <tromey@redhat.com>
2864 * target.h (struct target_ops) <to_program_signals>: Add argument.
2865 * target.c (target_program_signals): Add argument.
2866 * remote.c (remote_program_signals): Add 'self' argument.
2868 2014-02-19 Tom Tromey <tromey@redhat.com>
2870 * target.h (struct target_ops) <to_pass_signals>: Add argument.
2871 * target.c (target_pass_signals): Add argument.
2872 * remote.c (remote_pass_signals): Add 'self' argument.
2873 (remote_start_remote): Update.
2874 * procfs.c (procfs_pass_signals): Add 'self' argument.
2875 * nto-procfs.c (procfs_pass_signals): Add 'self' argument.
2876 * linux-nat.c (linux_nat_pass_signals): Add 'self' argument.
2877 (linux_nat_create_inferior, linux_nat_attach): Update.
2879 2014-02-19 Tom Tromey <tromey@redhat.com>
2881 * windows-nat.c (windows_can_run): Add 'self' argument.
2882 * target.h (struct target_ops) <to_can_run>: Add argument.
2883 (target_can_run): Add argument.
2884 * target.c (debug_to_can_run): Add argument.
2885 (update_current_target): Update.
2886 * nto-procfs.c (procfs_can_run): Add 'self' argument.
2887 * inf-child.c (inf_child_can_run): Add 'self' argument.
2888 * go32-nat.c (go32_can_run): Add 'self' argument.
2890 2014-02-19 Tom Tromey <tromey@redhat.com>
2892 * target.h (struct target_ops) <to_has_exited>: Add argument.
2893 (target_has_exited): Add argument.
2894 * target.c (debug_to_has_exited): Add argument.
2895 (update_current_target): Update.
2897 2014-02-19 Tom Tromey <tromey@redhat.com>
2899 * target.h (struct target_ops) <to_set_syscall_catchpoint>: Add
2901 (target_set_syscall_catchpoint): Add argument.
2902 * linux-nat.c (linux_child_set_syscall_catchpoint): Add 'self'
2904 * target.c (update_current_target): Update.
2906 2014-02-19 Tom Tromey <tromey@redhat.com>
2908 * target.h (struct target_ops) <to_remove_exec_catchpoint>: Add
2910 (target_remove_exec_catchpoint): Add argument.
2911 * target.c (debug_to_remove_exec_catchpoint): Add argument.
2912 (update_current_target): Update.
2913 * linux-nat.c (linux_child_remove_exec_catchpoint): Add 'self'
2916 2014-02-19 Tom Tromey <tromey@redhat.com>
2918 * target.h (struct target_ops) <to_insert_exec_catchpoint>: Add
2920 (target_insert_exec_catchpoint): Add argument.
2921 * target.c (debug_to_insert_exec_catchpoint): Add argument.
2922 (update_current_target): Update.
2923 * linux-nat.c (linux_child_insert_exec_catchpoint): Add 'self'
2926 2014-02-19 Tom Tromey <tromey@redhat.com>
2928 * target.h (struct target_ops) <to_remove_vfork_catchpoint>: Add
2930 (target_remove_vfork_catchpoint): Add argument.
2931 * target.c (debug_to_remove_vfork_catchpoint): Add argument.
2932 (update_current_target): Update.
2933 * linux-nat.c (linux_child_remove_vfork_catchpoint): Add 'self'
2936 2014-02-19 Tom Tromey <tromey@redhat.com>
2938 * target.h (struct target_ops) <to_insert_vfork_catchpoint>: Add
2940 (target_insert_vfork_catchpoint): Add argument.
2941 * target.c (debug_to_insert_vfork_catchpoint): Add argument.
2942 (update_current_target): Update.
2943 * linux-nat.c (linux_child_insert_vfork_catchpoint): Add 'self'
2946 2014-02-19 Tom Tromey <tromey@redhat.com>
2948 * target.h (struct target_ops) <to_remove_fork_catchpoint>: Add
2950 (target_remove_fork_catchpoint): Add argument.
2951 * target.c (debug_to_remove_fork_catchpoint): Add argument.
2952 (update_current_target): Update.
2953 * linux-nat.c (linux_child_remove_fork_catchpoint): Add 'self'
2956 2014-02-19 Tom Tromey <tromey@redhat.com>
2958 * target.h (struct target_ops) <to_insert_fork_catchpoint>: Add
2960 (target_insert_fork_catchpoint): Add argument.
2961 * target.c (debug_to_insert_fork_catchpoint): Add argument.
2962 (update_current_target): Update.
2963 * linux-nat.c (linux_child_insert_fork_catchpoint): Add 'self'
2966 2014-02-19 Tom Tromey <tromey@redhat.com>
2968 * target.h (struct target_ops) <to_post_startup_inferior>: Add
2970 (target_post_startup_inferior): Add argument.
2971 * target.c (debug_to_post_startup_inferior): Add argument.
2972 (update_current_target): Update.
2973 * spu-linux-nat.c (spu_child_post_startup_inferior): Add 'self'
2975 * linux-nat.c (linux_child_post_startup_inferior): Add 'self'
2977 * inf-ptrace.c (inf_ptrace_post_startup_inferior): Add 'self'
2979 * inf-child.c (inf_child_post_startup_inferior): Add 'self'
2981 * i386-linux-nat.c (i386_linux_child_post_startup_inferior): Add
2983 (super_post_startup_inferior): Likewise.
2984 * amd64-linux-nat.c (amd64_linux_child_post_startup_inferior): Add
2986 (super_post_startup_inferior): Likewise.
2987 * aarch64-linux-nat.c (aarch64_linux_child_post_startup_inferior):
2988 Add 'self' argument.
2989 (super_post_startup_inferior): Likewise.
2991 2014-02-19 Tom Tromey <tromey@redhat.com>
2993 * target.h (struct target_ops) <to_load>: Add argument.
2994 * target.c (target_load): Add argument.
2995 (debug_to_load): Add argument.
2996 (update_current_target): Update.
2997 * remote.c (remote_load): Add 'self' argument.
2998 * remote-sim.c (gdbsim_load): Add 'self' argument.
2999 * remote-mips.c (mips_load): Add 'self' argument.
3000 * remote-m32r-sdi.c (m32r_load): Add 'self' argument.
3001 * monitor.c (monitor_load): Add 'self' argument.
3002 * m32r-rom.c (m32r_load_gen): Add 'self' argument.
3004 2014-02-19 Tom Tromey <tromey@redhat.com>
3006 * target.h (struct target_ops) <to_terminal_info>: Add argument.
3007 (target_terminal_info): Add argument.
3008 * target.c (debug_to_terminal_info): Add argument.
3009 (default_terminal_info): Likewise.
3010 * inflow.c (child_terminal_info): Add 'self' argument.
3011 * inferior.h (child_terminal_info): Add 'self' argument.
3012 * go32-nat.c (go32_terminal_info): Add 'self' argument.
3014 2014-02-19 Tom Tromey <tromey@redhat.com>
3016 * target.h (struct target_ops) <to_terminal_save_ours>: Add
3018 (target_terminal_save_ours): Add argument.
3019 * target.c (debug_to_terminal_save_ours): Add argument.
3020 (update_current_target): Update.
3021 * inflow.c (terminal_save_ours): Add 'self' argument.
3022 * inferior.h (terminal_save_ours): Add 'self' argument.
3024 2014-02-19 Tom Tromey <tromey@redhat.com>
3026 * target.h (struct target_ops) <to_terminal_ours>: Add argument.
3027 (target_terminal_ours): Add argument.
3028 * target.c (debug_to_terminal_ours): Add argument.
3029 (update_current_target): Update.
3030 * remote.c (remote_terminal_ours): Add 'self' argument.
3031 (remote_close): Update.
3032 * linux-nat.c (linux_nat_terminal_ours): Add 'self' argument.
3033 * inflow.c (terminal_ours): Add 'self' argument.
3034 * inferior.h (terminal_ours): Add 'self' argument.
3035 * go32-nat.c (go32_terminal_ours): Add 'self' argument.
3037 2014-02-19 Pedro Alves <palves@redhat.com>
3038 Tom Tromey <tromey@redhat.com>
3040 * target.h (struct target_ops) <to_terminal_ours_for_output>: Add
3042 (target_terminal_ours_for_output): Add argument.
3043 * target.c (debug_to_terminal_ours_for_output): Add argument.
3044 (update_current_target): Update.
3045 * inflow.c (terminal_ours_for_output): Add 'self' argument.
3046 * inferior.h (terminal_ours_for_output): Add 'self' argument.
3047 * go32-nat.c (go32_terminal_ours): Add 'self' argument.
3049 2014-02-19 Tom Tromey <tromey@redhat.com>
3051 * target.h (struct target_ops) <to_terminal_inferior>: Add
3053 * target.c (target_terminal_inferior): Add argument.
3054 (update_current_target): Update.
3055 * remote.c (remote_terminal_inferior): Add 'self' argument.
3056 * linux-nat.c (linux_nat_terminal_inferior): Add 'self' argument.
3057 * inflow.c (terminal_inferior): Add 'self' argument.
3058 * inferior.h (terminal_inferior): Add 'self' argument.
3059 * go32-nat.c (go32_terminal_inferior): Add 'self' argument.
3060 (go32_terminal_inferior): Add 'self' argument.
3062 2014-02-19 Tom Tromey <tromey@redhat.com>
3064 * target.h (struct target_ops) <to_terminal_init>: Add argument.
3065 (target_terminal_init): Add argument.
3066 * target.c (debug_to_terminal_init): Add argument.
3067 (update_current_target): Update.
3068 * inflow.c (terminal_init_inferior): Add 'self' argument.
3069 * inferior.h (terminal_init_inferior): Add 'self' argument.
3070 * go32-nat.c (go32_terminal_init): Add 'self' argument.
3071 * gnu-nat.c (gnu_terminal_init_inferior): Add 'self' argument.
3073 2014-02-19 Tom Tromey <tromey@redhat.com>
3075 * target.h (struct target_ops)
3076 <to_can_accel_watchpoint_condition>: Add argument.
3077 (target_can_accel_watchpoint_condition): Add argument.
3078 * target.c (debug_to_can_accel_watchpoint_condition): Add
3080 (update_current_target): Update.
3081 * ppc-linux-nat.c (ppc_linux_can_accel_watchpoint_condition): Add
3084 2014-02-19 Tom Tromey <tromey@redhat.com>
3086 * target.h (struct target_ops) <to_region_ok_for_hw_watchpoint>:
3088 (target_region_ok_for_hw_watchpoint): Add argument.
3089 * target.c (debug_to_region_ok_for_hw_watchpoint): Add argument.
3090 (default_region_ok_for_hw_watchpoint): Add argument.
3091 * spu-multiarch.c (spu_region_ok_for_hw_watchpoint): Add argument.
3092 * s390-linux-nat.c (s390_region_ok_for_hw_watchpoint): Add 'self'
3094 * remote.c (remote_region_ok_for_hw_watchpoint): Add 'self'
3096 * procfs.c (procfs_region_ok_for_hw_watchpoint): Add 'self'
3098 * ppc-linux-nat.c (ppc_linux_region_ok_for_hw_watchpoint): Add
3100 * mips-linux-nat.c (mips_linux_region_ok_for_hw_watchpoint): Add
3102 * inf-ttrace.c (inf_ttrace_region_ok_for_hw_watchpoint): Add
3104 * i386-nat.c (i386_region_ok_for_watchpoint): Add 'self' argument.
3105 * arm-linux-nat.c (arm_linux_region_ok_for_hw_watchpoint): Add
3107 * aarch64-linux-nat.c (aarch64_linux_region_ok_for_hw_watchpoint):
3108 Add 'self' argument.
3110 2014-02-19 Tom Tromey <tromey@redhat.com>
3112 * target.h (struct target_ops) <to_insert_watchpoint>: Add
3114 (target_insert_watchpoint): Add argument.
3115 * target.c (debug_to_insert_watchpoint): Add argument.
3116 (update_current_target): Update.
3117 * s390-linux-nat.c (s390_insert_watchpoint): Add 'self' argument.
3118 * remote.c (remote_insert_watchpoint): Add 'self' argument.
3119 * remote-mips.c (mips_insert_watchpoint): Add 'self' argument.
3120 * remote-m32r-sdi.c (m32r_insert_watchpoint): Add 'self' argument.
3121 * procfs.c (procfs_insert_watchpoint): Add 'self' argument.
3122 * ppc-linux-nat.c (ppc_linux_insert_watchpoint): Add 'self'
3124 * nto-procfs.c (procfs_insert_hw_watchpoint): Add 'self' argument.
3125 (procfs_insert_hw_watchpoint): Add 'self' argument.
3126 * mips-linux-nat.c (mips_linux_insert_watchpoint): Add 'self'
3128 * inf-ttrace.c (inf_ttrace_insert_watchpoint): Add 'self'
3130 * ia64-linux-nat.c (ia64_linux_insert_watchpoint): Add 'self'
3132 * i386-nat.c (i386_insert_watchpoint): Add 'self' argument.
3133 * arm-linux-nat.c (arm_linux_insert_watchpoint): Add 'self'
3135 * aarch64-linux-nat.c (aarch64_linux_insert_watchpoint): Add
3138 2014-02-19 Tom Tromey <tromey@redhat.com>
3140 * target.h (struct target_ops) <to_remove_watchpoint>: Add
3142 (target_remove_watchpoint): Add argument.
3143 * target.c (debug_to_remove_watchpoint): Add argument.
3144 (update_current_target): Update.
3145 * s390-linux-nat.c (s390_remove_watchpoint): Add 'self' argument.
3146 * remote.c (remote_remove_watchpoint): Add 'self' argument.
3147 * remote-mips.c (mips_remove_watchpoint): Add 'self' argument.
3148 * remote-m32r-sdi.c (m32r_remove_watchpoint): Add 'self' argument.
3149 * procfs.c (procfs_remove_watchpoint): Add 'self' argument.
3150 * ppc-linux-nat.c (ppc_linux_remove_watchpoint): Add 'self'
3152 * nto-procfs.c (procfs_remove_hw_watchpoint): Add 'self' argument.
3153 * mips-linux-nat.c (mips_linux_remove_watchpoint): Add 'self'
3155 * inf-ttrace.c (inf_ttrace_remove_watchpoint): Add 'self'
3157 * ia64-linux-nat.c (ia64_linux_remove_watchpoint): Add 'self'
3159 * i386-nat.c (i386_remove_watchpoint): Add 'self' argument.
3160 * arm-linux-nat.c (arm_linux_remove_watchpoint): Add 'self'
3162 * aarch64-linux-nat.c (aarch64_linux_remove_watchpoint): Add
3165 2014-02-19 Tom Tromey <tromey@redhat.com>
3167 * target.h (struct target_ops) <to_remove_hw_breakpoint>: Add
3169 (target_remove_hw_breakpoint): Add argument.
3170 * target.c (debug_to_remove_hw_breakpoint): Add argument.
3171 (update_current_target): Update.
3172 * remote.c (remote_remove_hw_breakpoint): Add 'self' argument.
3173 * ppc-linux-nat.c (ppc_linux_remove_hw_breakpoint): Add 'self'
3175 * i386-nat.c (i386_remove_hw_breakpoint): Add 'self' argument.
3176 * arm-linux-nat.c (arm_linux_remove_hw_breakpoint): Add 'self'
3178 * aarch64-linux-nat.c (aarch64_linux_remove_hw_breakpoint): Add
3181 2014-02-19 Tom Tromey <tromey@redhat.com>
3183 * target.h (struct target_ops) <to_insert_hw_breakpoint>: Add
3185 (target_insert_hw_breakpoint): Add argument.
3186 * target.c (debug_to_insert_hw_breakpoint): Add argument.
3187 (update_current_target): Update.
3188 * remote.c (remote_insert_hw_breakpoint): Add 'self' argument.
3189 * ppc-linux-nat.c (ppc_linux_insert_hw_breakpoint): Add 'self'
3191 * nto-procfs.c (procfs_insert_hw_breakpoint): Add 'self' argument.
3192 * i386-nat.c (i386_insert_hw_breakpoint): Add 'self' argument.
3193 * arm-linux-nat.c (arm_linux_insert_hw_breakpoint): Add 'self'
3195 * aarch64-linux-nat.c (aarch64_linux_insert_hw_breakpoint): Add
3198 2014-02-19 Tom Tromey <tromey@redhat.com>
3200 * target.h (struct target_ops) <to_can_use_hw_breakpoint>: Add
3202 (target_can_use_hardware_watchpoint): Add argument.
3203 * target.c (debug_to_can_use_hw_breakpoint): Add argument.
3204 (update_current_target): Update.
3205 * spu-linux-nat.c (spu_can_use_hw_breakpoint): Add 'self'
3207 * s390-linux-nat.c (s390_can_use_hw_breakpoint): Add 'self'
3209 * remote.c (remote_check_watch_resources): Add 'self' argument.
3210 * remote-mips.c (mips_can_use_watchpoint): Add 'self' argument.
3211 * remote-m32r-sdi.c (m32r_can_use_hw_watchpoint): Add 'self'
3213 * procfs.c (procfs_can_use_hw_breakpoint): Add 'self' argument.
3214 * ppc-linux-nat.c (ppc_linux_can_use_hw_breakpoint): Add 'self'
3216 * nto-procfs.c (procfs_can_use_hw_breakpoint): Add 'self'
3218 * mips-linux-nat.c (mips_linux_can_use_hw_breakpoint): Add 'self'
3220 * inf-ttrace.c (inf_ttrace_can_use_hw_breakpoint): Add 'self'
3222 * ia64-linux-nat.c (ia64_linux_can_use_hw_breakpoint): Add 'self'
3224 * ia64-hpux-nat.c (ia64_hpux_can_use_hw_breakpoint): Add 'self'
3226 * i386-nat.c (i386_can_use_hw_breakpoint): Add 'self' argument.
3227 * arm-linux-nat.c (arm_linux_can_use_hw_breakpoint): Add 'self'
3229 * aarch64-linux-nat.c (aarch64_linux_can_use_hw_breakpoint): Add
3232 2014-02-19 Tom Tromey <tromey@redhat.com>
3234 * target.h (struct target_ops) <to_post_attach>: Add argument.
3235 (target_post_attach): Add argument.
3236 * target.c (debug_to_post_attach): Add argument.
3237 (update_current_target): Update.
3238 * spu-linux-nat.c (spu_child_post_attach): Add 'self' argument.
3239 * nto-procfs.c (procfs_post_attach): Add 'self' argument.
3240 * linux-nat.c (linux_child_post_attach): Add 'self' argument.
3241 * inf-ptrace.c (inf_ptrace_post_attach): Add 'self' argument.
3242 * inf-child.c (inf_child_post_attach): Add 'self' argument.
3244 2014-02-19 Tom Tromey <tromey@redhat.com>
3246 * windows-nat.c (windows_close): Add 'self' argument.
3247 * tracepoint.c (tfile_close): Add 'self' argument.
3248 * target.h (struct target_ops) <to_close>: Add argument.
3249 * target.c (target_close): Add argument.
3250 (update_current_target): Update.
3251 * remote.c (remote_close): Add 'self' argument.
3252 * remote-sim.c (gdbsim_close): Add 'self' argument.
3253 * remote-mips.c (mips_close): Add 'self' argument.
3254 * remote-m32r-sdi.c (m32r_close): Add 'self' argument.
3255 * record-full.c (record_full_close): Add 'self' argument.
3256 * record-btrace.c (record_btrace_close): Add 'self' argument.
3257 * monitor.h (monitor_close): Add 'self' argument.
3258 * monitor.c (monitor_close): Add 'self' argument.
3259 * mips-linux-nat.c (mips_linux_close): Add 'self' argument.
3260 * linux-nat.c (linux_nat_close): Add argument.
3261 * go32-nat.c (go32_close): Add 'self' argument.
3262 * exec.c (exec_close_1): Add 'self' argument.
3263 * ctf.c (ctf_close): Add 'self' argument.
3264 * corelow.c (core_close): Add 'self' argument.
3265 (core_close_cleanup): Update.
3266 * bsd-uthread.c (bsd_uthread_close): Add 'self' argument.
3267 * bsd-kvm.c (bsd_kvm_close): Add 'self' argument.
3269 2014-02-19 Tom Tromey <tromey@redhat.com>
3271 * remote.c (remote_load): New function.
3272 (init_remote_ops): Use it.
3274 2014-02-19 Tom Tromey <tromey@redhat.com>
3276 * common/linux-btrace.c (linux_supports_btrace): Add "ops"
3278 * common/linux-btrace.h (linux_supports_btrace): Update.
3279 * remote.c (remote_supports_btrace): Add "self" argument.
3280 * target-delegates.c: Rebuild.
3281 * target.c (target_supports_btrace): Remove.
3282 * target.h (struct target_ops) <to_supports_btrace>: Add
3283 target_ops argument.
3284 (target_supports_btrace): New define.
3286 2014-02-19 Tom Tromey <tromey@redhat.com>
3288 * record-full.c (record_full_beneath_to_resume_ops)
3289 (record_full_beneath_to_resume, record_full_beneath_to_wait_ops)
3290 (record_full_beneath_to_wait)
3291 (record_full_beneath_to_store_registers_ops)
3292 (record_full_beneath_to_store_registers)
3293 (record_full_beneath_to_xfer_partial_ops)
3294 (record_full_beneath_to_xfer_partial)
3295 (record_full_beneath_to_insert_breakpoint_ops)
3296 (record_full_beneath_to_insert_breakpoint)
3297 (record_full_beneath_to_remove_breakpoint_ops)
3298 (record_full_beneath_to_remove_breakpoint)
3299 (record_full_beneath_to_stopped_by_watchpoint)
3300 (record_full_beneath_to_stopped_data_address)
3301 (record_full_beneath_to_async, tmp_to_resume_ops, tmp_to_resume)
3302 (tmp_to_wait_ops, tmp_to_wait, tmp_to_store_registers_ops)
3303 (tmp_to_store_registers, tmp_to_xfer_partial_ops)
3304 (tmp_to_xfer_partial, tmp_to_instmp_to_insert_breakpoint_ops)
3305 (tmp_to_insert_breakpoint, tmp_to_remove_breakpoint_ops)
3306 (tmp_to_remove_breakpoint, tmp_to_stopped_by_watchpoint)
3307 (tmp_to_stopped_data_address, tmp_to_async): Remove.
3308 (record_full_open_1, record_full_open): Update. Use RECORD_IS_USED.
3309 (record_full_resume, record_full_wait_1)
3310 (record_full_stopped_by_watchpoint, record_full_stopped_data_address)
3311 (record_full_store_registers, record_full_xfer_partial)
3312 (record_full_insert_breakpoint, record_full_remove_breakpoint)
3313 (record_full_async, record_full_core_xfer_partial): Use target
3315 * target-delegates.c: Rebuild.
3316 * target.c (current_xfer_partial): Remove.
3317 (update_current_target): Do not INHERIT or de_fault
3318 to_insert_breakpoint, to_remove_breakpoint,
3319 to_stopped_data_address, to_stopped_by_watchpoint, to_can_async_p,
3320 to_is_async_p, to_async. Do not set to_xfer_partial field.
3321 (default_xfer_partial): Simplify.
3322 (current_xfer_partial): Remove.
3323 (target_wait, target_resume): Simplify.
3324 (find_default_can_async_p, find_default_is_async_p): Update.
3325 (init_dummy_target): Don't set to_can_async_p, to_is_async_p,
3326 to_xfer_partial, to_stopped_by_watchpoint,
3327 to_stopped_data_address.
3328 (target_store_registers): Simplify.
3329 (forward_target_remove_breakpoint)
3330 (forward_target_insert_breakpoint): Remove.
3331 (target_remove_breakpoint, target_insert_breakpoint)
3332 (debug_to_insert_breakpoint, debug_to_remove_breakpoint): Update.
3333 * target.h (struct target_ops) <to_resume, to_wait,
3334 to_store_registers, to_insert_breakpoint, to_remove_breakpoint,
3335 to_stopped_by_watchpoint, to_stopped_data_address, to_can_async_p,
3336 to_is_async_p, to_async, to_xfer_partial>: Add TARGET_DEFAULT
3338 (forward_target_remove_breakpoint)
3339 (forward_target_insert_breakpoint): Remove.
3340 * record-btrace.c (record_btrace_remove_breakpoint): Delegate
3342 (record_btrace_insert_breakpoint): Delegate directly.
3344 2014-02-19 Tom Tromey <tromey@redhat.com>
3347 * target-delegates.c: New file.
3348 * target.c: Include target-delegates.c.
3349 (init_dummy_target): Call install_dummy_methods.
3350 (complete_target_initialization): Call install_delegators.
3351 * target.h (TARGET_DEFAULT_IGNORE, TARGET_DEFAULT_NORETURN)
3352 (TARGET_DEFAULT_RETURN, TARGET_DEFAULT_FUNC): New defines.
3353 * make-target-delegates: New file.
3355 2014-02-19 Tom Tromey <tromey@redhat.com>
3357 * record.c (find_record_target): Use find_target_at.
3358 * target.c (find_target_at): New function.
3359 * target.h (find_target_at): Declare.
3361 2014-02-19 Tom Tromey <tromey@redhat.com>
3363 * aarch64-linux-nat.c (aarch64_linux_stopped_by_watchpoint):
3365 * arm-linux-nat.c (arm_linux_stopped_by_watchpoint): Add
3367 * i386-nat.c (i386_stopped_by_watchpoint): Add 'ops' argument.
3368 * ia64-linux-nat.c (ia64_linux_stopped_by_watchpoint): Add
3370 * inf-ttrace.c (inf_ttrace_stopped_by_watchpoint): Add 'ops'
3372 * linux-nat.c (save_sigtrap): Update.
3373 (linux_nat_stopped_by_watchpoint, linux_nat_is_async_p)
3374 (linux_nat_can_async_p, linux_nat_async): Add 'ops' argument.
3375 (linux_nat_close): Update.
3376 * mips-linux-nat.c (mips_linux_stopped_by_watchpoint): Add 'ops'
3378 * ppc-linux-nat.c (ppc_linux_stopped_by_watchpoint): Add 'ops'
3380 * procfs.c (procfs_stopped_by_watchpoint): Add 'ops' argument.
3381 * record-full.c (record_full_beneath_to_stopped_by_watchpoint)
3382 (record_full_beneath_to_async, tmp_to_stopped_by_watchpoint)
3383 (tmp_to_async): Add 'ops' argument.
3384 (record_full_stopped_by_watchpoint, record_full_async)
3385 (record_full_can_async_p, record_full_is_async_p): Add 'ops'
3387 * remote-m32r-sdi.c (m32r_insert_breakpoint, m32r_remove_breakpoint)
3388 (m32r_stopped_by_watchpoint): Add 'ops' argument.
3389 * remote-mips.c (mips_stopped_by_watchpoint): Add 'ops' argument.
3390 * remote.c (remote_stopped_by_watchpoint_p, remote_can_async_p)
3391 (remote_is_async_p, remote_async): Add 'ops' argument.
3392 (remote_stopped_data_address): Update.
3393 * s390-nat.c (s390_stopped_by_watchpoint): Add 'ops' argument.
3394 * target.c (update_current_target)
3395 (find_default_can_async_p, find_default_is_async_p): Update.
3396 (init_dummy_target): Update.
3397 (debug_to_stopped_by_watchpoint): Add 'ops' argument.
3398 * target.h (struct target_ops) <to_stopped_by_watchpoint,
3399 to_can_async_p, to_is_async_p, to_async>: Add 'ops' argument.
3400 (target_can_async_p, target_is_async_p, target_async)
3401 (target_stopped_by_watchpoint): Update.
3403 2014-02-19 Yao Qi <yao@codesourcery.com>
3406 * gdbarch.sh: Remove startup_gdbarch.
3407 * gdbarch.c: Regenerated.
3408 * gdbarch.h: Likewise.
3410 2014-02-17 Kevin Buettner <kevinb@redhat.com>
3412 * rl78-tdep.c (rl78_g10_register_name): New function.
3413 (rl78_return_value): Add g10 support.
3414 (rl78_gdbarch_init): Register rl78_g10_register_name for the
3417 2014-02-17 Doug Evans <xdje42@gmail.com>
3419 * Makefile.in (SUBDIR_GUILE_OBS): Resort alphabetically.
3420 (SUBDIR_GUILE_SRCS): Ditto.
3421 (scm-gsmob.o): Ditto.
3423 2014-02-17 Yao Qi <yao@codesourcery.com>
3425 * gnu-nat.c (ILL_RPC): Declare defined function.
3427 2014-02-17 Yao Qi <yao@codesourcery.com>
3429 * gnu-nat.c (gnu_read_inferior): Change 'copy_count' type to
3430 mach_msg_type_number_t.
3431 (gnu_write_inferior): Likewise.
3433 2014-02-17 Yao Qi <yao@codesourcery.com>
3435 * gnu-nat.c (proc_get_exception_port): Use 'lu' insetad of 'd'
3437 (proc_steal_exc_port, make_proc, inf_set_pid): Likewise.
3438 (inf_validate_procs, inf_signal): Likewise.
3439 (S_exception_raise_request): Likewise.
3440 (do_mach_notify_dead_name): Likewise.
3441 (steal_exc_port): Likewise.
3442 (gnu_read_inferior): Change 'copy_count''s type to
3443 mach_msg_type_number_t.
3444 (gnu_write_inferior): Likewise. Use 'lx' instead of 'x' in
3447 2014-02-16 Thomas Schwinge <thomas@codesourcery.com>
3449 * gnu-nat.c (struct inf): Change pending_execs member to a 1-bit
3450 flag. Adjust all users; in particular...
3451 (gnu_wait): ..., don't decrement its value in here...
3452 (gnu_create_inferior): ..., and instead set the flag in here,
3453 around the startup_inferior call, and call that one with
3454 START_INFERIOR_TRAPS_EXPECTED.
3456 * gnu-nat.c (ill_rpc): Remove function; replaced with this...
3457 (ILL_RPC): ... new macro.
3458 (do_mach_notify_no_senders, do_mach_notify_port_deleted)
3459 (do_mach_notify_msg_accepted, do_mach_notify_port_destroyed)
3460 (do_mach_notify_send_once, S_proc_setmsgport_reply)
3461 (S_proc_getmsgport_reply, S_msg_sig_post_reply): Generate stub
3462 functions with ILL_RPC macro.
3463 (S_proc_pid2task_reply, S_proc_task2pid_reply)
3464 (S_proc_task2proc_reply, S_proc_proc2task_reply)
3465 (S_proc_pid2proc_reply, S_proc_getprocinfo_reply)
3466 (S_proc_getprocargs_reply, S_proc_getprocenv_reply)
3467 (S_proc_getloginid_reply, S_proc_getloginpids_reply)
3468 (S_proc_getlogin_reply, S_proc_getsid_reply)
3469 (S_proc_getsessionpgids_reply, S_proc_getsessionpids_reply)
3470 (S_proc_getsidport_reply, S_proc_getpgrp_reply)
3471 (S_proc_getpgrppids_reply, S_proc_get_tty_reply)
3472 (S_proc_getnports_reply, S_proc_is_important_reply)
3473 (S_proc_get_code_reply): New stub functions, generated with
3476 * reply_mig_hack.awk: In phase 5, keep going if we have not yet
3477 collected the type check structures.
3479 * reply_mig_hack.awk: Don't expect to see the auto keyword.
3481 2014-02-14 Doug Evans <dje@google.com>
3483 * target.c (target_write_partial): Fix result type.
3485 2014-02-14 Jose E. Marchesi <jose.marchesi@oracle.com>
3487 * sparc64-linux-nat.c (_initialize_sparc64_linux_nat): Register
3488 the proper offsets to access fpregset_t.
3490 2014-02-13 Sanimir Agovic <sanimir.agovic@intel.com>
3492 * cris-tdep.c (cris_supply_gregset): Remove zerobuf.
3493 (_initialize_cris_tdep): Remove cris_set_cmdlist, cris_show_cmdlist.
3494 * h8300-tdep.c (setmachinelist): Remove global.
3495 * hppa-tdep.c (hppa_sigtramp): Remove global.
3496 * mipsnbsd-tdep.c (sigtramp_retcode_mipsel, sigtramp_retcode_mipseb
3497 RETCODE_NWORDS, RETCODE_SIZE): Wrap code with #if 0.
3498 * ravenscar-thread.c (update_target_observer): Remove global.
3499 * rs6000-tdep.c (rs6000_gdbarch_init): Remove segment_regs.
3501 2014-02-12 Tom Tromey <tromey@redhat.com>
3503 * common/rsp-low.c: Update comments.
3504 * common/rsp-low.h: Update comments.
3506 2014-02-12 Tom Tromey <tromey@redhat.com>
3508 * common/rsp-low.c (convert_ascii_to_int): Remove.
3509 * common/rsp-low.h (convert_ascii_to_int): Don't declare.
3511 2014-02-12 Tom Tromey <tromey@redhat.com>
3513 * common/rsp-low.h (unhexify): Don't declare.
3514 * common/rsp-low.c (unhexify): Remove.
3516 2014-02-12 Tom Tromey <tromey@redhat.com>
3518 * common/rsp-low.h (convert_int_to_ascii): Don't declare.
3519 * common/rsp-low.c (convert_int_to_ascii): Remove.
3521 2014-02-12 Tom Tromey <tromey@redhat.com>
3523 * common/rsp-low.h (hexify): Don't declare.
3524 * common/rsp-low.c (hexify): Remove.
3526 2014-02-12 Tom Tromey <tromey@redhat.com>
3528 * common/rsp-low.c (hexify): Never take strlen of argument.
3530 2014-02-12 Tom Tromey <tromey@redhat.com>
3532 * common/rsp-low.c (bin2hex): Never take strlen of argument.
3533 * remote.c (extended_remote_run, remote_rcmd)
3534 (remote_download_trace_state_variable, remote_save_trace_data)
3535 (remote_set_trace_notes): Update.
3536 * tracepoint.c (encode_source_string, tfile_write_status)
3537 (tfile_write_uploaded_tsv): Update.
3539 2014-02-12 Tom Tromey <tromey@redhat.com>
3541 * tracepoint.c: Include rsp-low.h.
3542 * remote.h (hex2bin, bin2hex, unpack_varlen_hex): Don't declare.
3543 * remote.c: Include rsp-low.h.
3544 (hexchars, ishex, unpack_varlen_hex, pack_nibble, pack_hex_byte)
3545 (fromhex, hex2bin, tohex, bin2hex, remote_escape_output)
3546 (remote_unescape_input): Move to common/rsp-low.c.
3547 * common/rsp-low.h: New file.
3548 * common/rsp-low.c: New file.
3549 * Makefile.in (SFILES): Add common/rsp-low.c.
3550 (HFILES_NO_SRCDIR): Add common/rsp-low.h.
3551 (COMMON_OBS): Add rsp-low.o.
3552 (rsp-low.o): New target.
3554 2014-02-12 Tom Tromey <tromey@redhat.com>
3556 * utils.h: Include print-utils.h.
3557 (host_address_to_string, plongest, pulongest, phex, phex_nz)
3558 (int_string, core_addr_to_string, core_addr_to_string_nz)
3559 (hex_string, hex_string_custom): Don't declare.
3560 * utils.c (NUMCELLS, CELLSIZE, get_cell, decimal2str, pulongest)
3561 (plongest, thirty_two, phex, phex_nz, octal2str, hex_string)
3562 (hex_string_custom, int_string, core_addr_to_string)
3563 (core_addr_to_string_nz, host_address_to_string): Move to
3564 common/print-utils.c.
3565 * common/print-utils.h: New file.
3566 * common/print-utils.c: New file
3567 * Makefile.in (SFILES): Add common/print-utils.c.
3568 (HFILES_NO_SRCDIR): Add common/print-utils.h.
3569 (COMMON_OBS): Add print-utils.o.
3570 (print-utils.o): New target.
3572 2014-02-12 Tom Tromey <tromey@redhat.com>
3574 * nios2-tdep.c (nios2_stub_frame_base_address): Remove.
3576 2014-02-12 Mark Kettenis <kettenis@gnu.org>
3578 * sparc64obsd-tdep.c (sparc64obsd_init_abi): Call obsd_init_abi.
3580 2014-02-12 Mark Kettenis <kettenis@gnu.org>
3582 * inf-ptrace.c (inf_ptrace_xfer_partial): Return TARGET_XFER_EOF
3583 if a PT_IO ptrace request returns sucessfully but indicates that 0
3584 bytes were transferred.
3586 2014-02-12 Pedro Alves <palves@redhat.com>
3587 Kevin Buettner <kevinb@redhat.com>
3589 * gnu-v3-abi.c (build_gdb_vtable_type): Return a type marked with
3590 TYPE_INSTANCE_FLAG_CODE_SPACE.
3592 2014-02-12 Pedro Alves <palves@redhat.com>
3594 * h8300-tdep.c (pseudo_from_raw_register)
3595 (raw_from_pseudo_register): New functions.
3596 (h8300_pseudo_register_read, h8300_pseudo_register_write): Use
3599 2014-02-12 Pedro Alves <palves@redhat.com>
3601 * h8300-tdep.c (h8300_register_sim_regno): New function.
3602 (h8300_gdbarch_init): Install h8300_register_sim_regno as
3603 gdbarch_register_sim_regno hook.
3605 2014-02-12 Sanimir Agovic <sanimir.agovic@intel.com>
3607 * nios2-tdep.c (nios2_stub_frame_base): Remove global.
3609 2014-02-12 Sanimir Agovic <sanimir.agovic@intel.com>
3611 * tic6x-tdep.c (tic6x_gdbarch_init): Call frame_base_set_default.
3613 2014-02-12 Mark Kettenis <kettenis@gnu.org>
3615 * obsd-tdep.h (obsd_init_abi): New prototype.
3616 * obsd-tdep.c: Define enum with OpenBSD signal numbers.
3617 (obsd_gdb_signal_from_target, obsd_gdb_signal_to_target)
3618 (obsd_init_abi): New functions.
3619 * i386obsd-tdep.c: Include "obsd-tdep.h".
3620 (i386obsd_init_abi): Call obsd_init_abi.
3621 * amd64obsd-tdep.c: Include "obsd-tdep.h".
3622 (amd64obsd_init_abi): Call obsd_init_abi.
3623 * configure.tgt (i[34567]86-*-openbsd*, x86_64-*-openbsd*): Add
3624 obsd-tdep.c to gdb_target_obs.
3626 2014-02-11 Jose E. Marchesi <jose.marchesi@oracle.com>
3628 * sparc64-tdep.c (sparc64_store_arguments): Do not align complex
3629 double float arguments to 16-byte in the argument slots.
3631 2014-02-11 Doug Evans <xdje42@gmail.com>
3633 * configure.ac: Don't crash if pkg-config is not found and guile
3634 wasn't explicitly requested. Use AC_MSG_ERROR instead of AC_ERROR
3636 * configure: Regenerate.
3638 2014-02-11 Yao Qi <yao@codesourcery.com>
3640 * aix-thread.c (aix_thread_xfer_partial): Update comments.
3641 * auxv.c (procfs_xfer_auxv, memory_xfer_auxv): Likewise.
3642 * bsd-uthread.c (bsd_uthread_xfer_partial): Likewise.
3643 * gnu-nat.c (gnu_xfer_memory): Likewise.
3644 * inf-ptrace.c (inf_ptrace_xfer_partial): Likewise.
3645 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
3646 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
3647 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise.
3649 2014-02-11 Yao Qi <yao@codesourcery.com>
3651 * target.h (enum target_xfer_error): Rename to ...
3652 (enum target_xfer_status): ... it. New. All users updated.
3653 (enum target_xfer_status) <TARGET_XFER_OK>, <TARGET_XFER_EOF>:
3655 (TARGET_XFER_STATUS_ERROR_P): New macro.
3656 (target_xfer_error_to_string): Remove declaration.
3657 (target_xfer_status_to_string): Declare.
3658 (target_xfer_partial_ftype): Adjust it.
3659 (struct target_ops) <to_xfer_partial>: Return
3660 target_xfer_status. Add argument xfered_len. Update
3662 * target.c (target_xfer_error_to_string): Rename to ...
3663 (target_xfer_status_to_string): ... it. New. All callers
3665 (target_read_live_memory): Likewise. Call target_xfer_partial
3666 instead of target_read.
3667 (memory_xfer_live_readonly_partial): Return
3668 target_xfer_status. Add argument xfered_len.
3669 (raw_memory_xfer_partial): Likewise.
3670 (memory_xfer_partial_1): Likewise.
3671 (memory_xfer_partial): Likewise.
3672 (target_xfer_partial): Likewise. Check *XFERED_LEN is set
3673 properly. Update debug message.
3674 (default_xfer_partial, current_xfer_partial): Likewise.
3675 (target_write_partial): Likewise.
3676 (target_read_partial): Likewise. All callers updated.
3677 (read_whatever_is_readable): Likewise.
3678 (target_write_with_progress): Likewise.
3679 (target_read_alloc_1): Likewise.
3681 * aix-thread.c (aix_thread_xfer_partial): Likewise.
3682 * auxv.c (procfs_xfer_auxv): Likewise.
3683 (ld_so_xfer_auxv, memory_xfer_auxv): Likewise.
3684 * bfd-target.c (target_bfd_xfer_partial): Likewise.
3685 * bsd-kvm.c (bsd_kvm_xfer_partial): Likewise.
3686 * bsd-uthread.c (bsd_uthread_xfer_partia): Likewise.
3687 * corefile.c (read_memory): Adjust.
3688 * corelow.c (core_xfer_partial): Likewise.
3689 * ctf.c (ctf_xfer_partial): Likewise.
3690 * darwin-nat.c (darwin_read_dyld_info): Likewise. All callers
3692 (darwin_xfer_partial): Likewise.
3693 * exec.c (section_table_xfer_memory_partial): Likewise. All
3695 (exec_xfer_partial): Likewise.
3696 * exec.h (section_table_xfer_memory_partial): Update
3698 * gnu-nat.c (gnu_xfer_memory): Likewise. Assert 'res' is not
3700 (gnu_xfer_partial): Likewise.
3701 * ia64-hpux-nat.c (ia64_hpux_xfer_memory_no_bs): Likewise.
3702 (ia64_hpux_xfer_memory, ia64_hpux_xfer_uregs): Likewise.
3703 (ia64_hpux_xfer_solib_got): Likewise.
3704 * inf-ptrace.c (inf_ptrace_xfer_partial): Likewise. Change
3705 type of 'partial_len' to ULONGEST.
3706 * inf-ttrace.c (inf_ttrace_xfer_partial): Likewise.
3707 * linux-nat.c (linux_xfer_siginfo ): Likewise.
3708 (linux_nat_xfer_partial): Likewise.
3709 (linux_proc_xfer_partial, linux_xfer_partial): Likewise.
3710 (linux_proc_xfer_spu, linux_nat_xfer_osdata): Likewise.
3711 * monitor.c (monitor_xfer_memory): Likewise.
3712 (monitor_xfer_partial): Likewise.
3713 * procfs.c (procfs_xfer_partial): Likewise.
3714 * record-btrace.c (record_btrace_xfer_partial): Likewise.
3715 * record-full.c (record_full_xfer_partial): Likewise.
3716 (record_full_core_xfer_partial): Likewise.
3717 * remote-sim.c (gdbsim_xfer_memory): Likewise.
3718 (gdbsim_xfer_partial): Likewise.
3719 * remote.c (remote_write_bytes_aux): Likewise. All callers
3721 (remote_write_bytes, remote_read_bytes): Likewise. All
3723 (remote_flash_erase): Likewise. All callers updated.
3724 (remote_write_qxfer): Likewise. All callers updated.
3725 (remote_read_qxfer): Likewise. All callers updated.
3726 (remote_xfer_partial): Likewise.
3727 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
3728 (rs6000_xfer_shared_libraries): Likewise.
3729 * sol-thread.c (sol_thread_xfer_partial): Likewise.
3730 (sol_thread_xfer_partial): Likewise.
3731 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
3732 (sparc_xfer_partial): Likewise.
3733 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise. All callers
3735 (spu_xfer_partial): Likewise.
3736 * spu-multiarch.c (spu_xfer_partial): Likewise.
3737 * tracepoint.c (tfile_xfer_partial): Likewise.
3738 * windows-nat.c (windows_xfer_memory): Likewise.
3739 (windows_xfer_shared_libraries): Likewise.
3740 (windows_xfer_partial): Likewise.
3741 * valprint.c: Replace 'target_xfer_error' with
3742 'target_xfer_status' in comments.
3744 2014-02-11 Simon Marchi <simon.marchi@ericsson.com> (tiny patch)
3746 Checked in by Joel Brobecker <brobecker@adacore.com>.
3747 * mi/mi-main.c (mi_cmd_data_write_memory_bytes): Fix comment.
3749 2014-02-11 Joel Brobecker <brobecker@adacore.com>
3751 * symfile-debug.c (debug_qf_expand_symtabs_matching): Reformat
3752 function parameters.
3754 2014-02-10 Will Newton <will.newton@linaro.org>
3756 * elfread.c (elf_rel_plt_read): Look for a .got section if
3757 looking up .got.plt fails.
3758 (elf_gnu_ifunc_resolve_by_got): Call gdbarch_addr_bits_remove
3759 on address passed to elf_gnu_ifunc_record_cache.
3760 (elf_gnu_ifunc_resolve_addr): Likewise.
3761 (elf_gnu_ifunc_resolver_return_stop): Likewise.
3763 2014-02-10 Jose E. Marchesi <jose.marchesi@oracle.com>
3765 * sparc-tdep.c (sparc_in_function_epilogue_p): New function.
3766 (X_RETTURN): New macro.
3767 * sparc-tdep.h: sparc_in_function_epilogue_p prototype.
3769 * sparc64-tdep.c (sparc64_init_abi): Hook
3770 sparc_in_function_epilogue_p.
3772 2014-02-10 Gary Benson <gbenson@redhat.com>
3774 * symfile-debug.c (debug_qf_expand_symtabs_matching):
3775 Rename name_matcher to symbol_matcher.
3777 2014-02-10 Gary Benson <gbenson@redhat.com>
3779 * symfile-debug.c (debug_qf_expand_symtabs_matching):
3780 Use expand_symtabs_file_matcher_ftype and
3781 expand_symtabs_symbol_matcher_ftype.
3783 2014-02-10 Joel Brobecker <brobecker@adacore.com>
3785 * ada-lang.c (struct cache_entry, HASH_SIZE): Move definition up.
3786 (struct ada_symbol_cache): New.
3787 (ada_free_symbol_cache): Forward declare.
3788 (struct ada_pspace_data): New.
3789 (ada_pspace_data_handle): New static global.
3790 (get_ada_pspace_data, ada_pspace_data_cleanup)
3791 (ada_init_symbol_cache, ada_free_symbol_cache): New functions.
3792 (cache_space, cache): Delete, now folded inside struct
3794 (ada_get_symbol_cache): New function.
3795 (ada_clear_symbol_cache, find_entry, cache_symbol): Adjust
3797 (_initialize_ada_language): Remove initialization of cache_space.
3798 Move call to observer_attach_inferior_exit up, grouping it
3799 with the other observer registrations inside this function.
3800 Rename command to be more general. Add call to
3801 register_program_space_data_with_cleanup.
3803 2014-02-10 Joel Brobecker <brobecker@adacore.com>
3805 * ada-tasks.c (ada_tasks_new_objfile_observer): Renames
3806 ada_new_objfile_observer.
3807 (ada_tasks_normal_stop_observer): Renames ada_normal_stop_observer.
3808 (_initialize_tasks): Update uses of ada_new_objfile_observer
3809 and ada_tasks_normal_stop_observer.
3811 2014-02-10 Joel Brobecker <brobecker@adacore.com>
3813 * ada-lang.c (ada_evaluate_subexp): Set the type of the value
3814 returned by the 'Length attribute to integer.
3816 2014-02-10 Joel Brobecker <brobecker@adacore.com>
3818 * ada-lang.c (_initialize_ada_language): Initialize
3819 cache_space obstack.
3821 2014-02-10 Joel Brobecker <brobecker@adacore.com>
3823 * ada-lang.c (HASH_SIZE): New macro.
3824 (struct cache_entry): New type.
3825 (cache_space, cache): New static globals.
3826 (ada_clear_symbol_cache, find_entry): New functions.
3827 (lookup_cached_symbol, cache_symbol): Implement.
3828 (ada_new_objfile_observer, ada_free_objfile_observer): New.
3829 (_initialize_ada_language): Attach ada_new_objfile_observer
3830 and ada_free_objfile_observer.
3832 2014-02-10 Joel Brobecker <brobecker@adacore.com>
3834 * ada-lang.c (ada_add_block_symbols, add_defn_to_vec)
3835 (lookup_cached_symbol, ada_add_local_symbols): Add "const" to
3836 struct block * parameter.
3837 (ada_lookup_symbol_list_worker): Constify local variable "block".
3838 Remove cast which is no longer necessary.
3840 2014-02-10 Doug Evans <xdje42@gmail.com>
3842 Add Guile as an extension language.
3843 * NEWS: Mention Guile scripting.
3844 * Makefile.in (SUBDIR_GUILE_OBS): New variable.
3845 (SUBDIR_GUILE_SRCS, SUBDIR_GUILE_DEPS): New variables
3846 (SUBDIR_GUILE_LDFLAGS, SUBDIR_GUILE_CFLAGS): New variables.
3847 (INTERNAL_CPPFLAGS): Add GUILE_CPPFLAGS.
3848 (CLIBS): Add GUILE_LIBS.
3849 (install-guile): New rule.
3850 (guile.o): New rule.
3851 (scm-arch.o, scm-auto-load.o, scm-block.o): New rules.
3852 (scm-breakpoint.o, scm-disasm.o, scm-exception.o): New rules.
3853 (scm-frame.o, scm-iterator.o, scm-lazy-string.o): New rules.
3854 (scm-math.o, scm-objfile.o, scm-ports.o): New rules.
3855 (scm-pretty-print.o, scm-safe-call.o, scm-gsmob.o): New rules.
3856 (scm-string.o, scm-symbol.o, scm-symtab.o): New rules.
3857 (scm-type.o, scm-utils.o, scm-value.o): New rules.
3858 * configure.ac: New option --with-guile.
3859 * configure: Regenerate.
3860 * config.in: Regenerate.
3861 * auto-load.c: Remove #include "python/python.h". Add #include
3862 "gdb/section-scripts.h".
3863 (source_section_scripts): Handle Guile scripts.
3864 (_initialize_auto_load): Add name of Guile objfile script to
3865 scripts-directory help text.
3866 * breakpoint.c (condition_command): Tweak comment to include Scheme.
3867 * breakpoint.h (gdbscm_breakpoint_object): Add forward decl.
3868 (struct breakpoint): New member scm_bp_object.
3869 * defs.h (enum command_control_type): New value guile_control.
3870 * cli/cli-cmds.c: Remove #include "python/python.h". Add #include
3872 (show_user): Update comment.
3873 (_initialize_cli_cmds): Update help text for "show user". Update help
3874 text for max-user-call-depth.
3875 * cli/cli-script.c: Remove #include "python/python.h". Add #include
3877 (multi_line_command_p): Add guile_control.
3878 (print_command_lines): Handle guile_control.
3879 (execute_control_command, recurse_read_control_structure): Ditto.
3880 (process_next_line): Recognize "guile" commands.
3881 * disasm.c (gdb_disassemble_info): Make non-static.
3882 * disasm.h: #include "dis-asm.h".
3883 (struct gdbarch): Add forward decl.
3884 (gdb_disassemble_info): Declare.
3885 * extension.c: #include "guile/guile.h".
3886 (extension_languages): Add guile.
3887 (get_ext_lang_defn): Handle EXT_LANG_GDB.
3888 * extension.h (enum extension_language): New value EXT_LANG_GUILE.
3889 * gdbtypes.c (get_unsigned_type_max): New function.
3890 (get_signed_type_minmax): New function.
3891 * gdbtypes.h (get_unsigned_type_max): Declare.
3892 (get_signed_type_minmax): Declare.
3893 * guile/README: New file.
3894 * guile/guile-internal.h: New file.
3895 * guile/guile.c: New file.
3896 * guile/guile.h: New file.
3897 * guile/scm-arch.c: New file.
3898 * guile/scm-auto-load.c: New file.
3899 * guile/scm-block.c: New file.
3900 * guile/scm-breakpoint.c: New file.
3901 * guile/scm-disasm.c: New file.
3902 * guile/scm-exception.c: New file.
3903 * guile/scm-frame.c: New file.
3904 * guile/scm-gsmob.c: New file.
3905 * guile/scm-iterator.c: New file.
3906 * guile/scm-lazy-string.c: New file.
3907 * guile/scm-math.c: New file.
3908 * guile/scm-objfile.c: New file.
3909 * guile/scm-ports.c: New file.
3910 * guile/scm-pretty-print.c: New file.
3911 * guile/scm-safe-call.c: New file.
3912 * guile/scm-string.c: New file.
3913 * guile/scm-symbol.c: New file.
3914 * guile/scm-symtab.c: New file.
3915 * guile/scm-type.c: New file.
3916 * guile/scm-utils.c: New file.
3917 * guile/scm-value.c: New file.
3918 * guile/lib/gdb.scm: New file.
3919 * guile/lib/gdb/boot.scm: New file.
3920 * guile/lib/gdb/experimental.scm: New file.
3921 * guile/lib/gdb/init.scm: New file.
3922 * guile/lib/gdb/iterator.scm: New file.
3923 * guile/lib/gdb/printing.scm: New file.
3924 * guile/lib/gdb/types.scm: New file.
3925 * data-directory/Makefile.in (GUILE_SRCDIR): New variable.
3926 (VPATH): Add $(GUILE_SRCDIR).
3927 (GUILE_DIR): New variable.
3928 (GUILE_INSTALL_DIR, GUILE_FILES): New variables.
3929 (all): Add stamp-guile dependency.
3930 (stamp-guile): New rule.
3931 (clean-guile, install-guile, uninstall-guile): New rules.
3932 (install-only): Add install-guile dependency.
3933 (uninstall): Add uninstall-guile dependency.
3934 (clean): Add clean-guile dependency.
3936 2014-02-09 Doug Evans <xdje42@gmail.com>
3938 Revert this patch (which I approved, mea culpa).
3940 2014-02-08 Mark Kettenis <kettenis@gnu.org>
3942 * Makefile.in (all-lib): Remove.
3943 ($(LIBGNU) $(GNULIB_H)): Replace with gits of remove all-lib target.
3945 2014-02-09 Jan Kratochvil <jan.kratochvil@redhat.com>
3947 Fix Python stack corruption.
3948 * python/py-linetable.c (ltpy_get_pcs_for_line, ltpy_has_line): Use
3951 2014-02-08 Mark Kettenis <kettenis@gnu.org>
3953 * Makefile.in (all-lib): Remove.
3954 ($(LIBGNU) $(GNULIB_H)): Replace with gits of remove all-lib target.
3956 2014-02-07 Doug Evans <dje@google.com>
3958 * extension-priv.h (extension_language_script_ops): Add comment.
3959 (extension_language_ops): Add comment.
3960 (active_ext_lang_state): Fix typo in comment.
3962 2014-02-07 Pedro Alves <palves@redhat.com>
3964 PR breakpoints/16292
3965 * infrun.c (handle_signal_stop) <signal arrives while stepping
3966 over a breakpoint>: Switch back to the stepping thread.
3968 2014-02-07 Yao Qi <yao@codesourcery.com>
3970 * target.c (target_xfer_partial): Return zero if LEN is zero.
3972 2014-02-07 Yao Qi <yao@codesourcery.com>
3974 * auxv.c (procfs_xfer_auxv): Replace -1 with TARGET_XFER_E_IO.
3975 (ld_so_xfer_auxv): Likewise.
3976 * bfd-target.c (target_bfd_xfer_partial): Likewise.
3977 * bsd-kvm.c (bsd_kvm_xfer_partial): Likewise.
3978 * corelow.c (core_xfer_partial): Likewise.
3979 * ctf.c (ctf_xfer_partial): Likewise.
3980 * darwin-nat.c (darwin_read_dyld_info): Likewise.
3981 (darwin_xfer_partial): Likewise.
3982 * exec.c (exec_xfer_partial): Likewise.
3983 * gnu-nat.c (gnu_xfer_partial): Likewise.
3984 * ia64-hpux-nat.c (ia64_hpux_xfer_uregs): Likewise.
3985 * inf-ptrace.c (inf_ptrace_xfer_partial): Likewise.
3986 * inf-ttrace.c (inf_ttrace_xfer_partial): Likewise.
3987 * linux-nat.c (linux_xfer_siginfo): Likewise.
3988 (linux_proc_xfer_spu): Likewise.
3989 * procfs.c (procfs_xfer_partial): Likewise.
3990 * record-full.c (record_full_xfer_partial): Likewise.
3991 (record_full_core_xfer_partial): Likewise.
3992 * remote-sim.c (gdbsim_xfer_partial): Likewise.
3993 * remote.c (remote_write_qxfer): Likewise.
3994 (remote_write_qxfer, remote_read_qxfer): Likewise.
3995 (remote_xfer_partial): Likewise.
3996 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
3997 (rs6000_xfer_shared_libraries): Likewise.
3998 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
3999 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise.
4000 (spu_xfer_partial): Likewise.
4001 * target.c (memory_xfer_partial_1): Likewise.
4002 * tracepoint.c (tfile_xfer_partial): Likewise.
4003 * windows-nat.c (windows_xfer_shared_libraries): Likewise.
4004 (windows_xfer_partial): Likewise.
4006 2014-02-07 Yao Qi <yao@codesourcery.com>
4008 * gdbarch.sh (core_xfer_shared_libraries): Returns ULONGEST. Add
4010 (core_xfer_shared_libraries_aix): Likewise.
4011 * gdbarch.c, gdbarch.h: Regenerated.
4012 * i386-cygwin-tdep.c (windows_core_xfer_shared_libraries): Return
4013 ULONGEST. Change 'len_avail' type to ULONGEST.
4014 * rs6000-aix-tdep.c (rs6000_aix_ld_info_to_xml): Likewise.
4015 * rs6000-aix-tdep.h (rs6000_aix_ld_info_to_xml): Update
4017 (rs6000_aix_core_xfer_shared_libraries_aix): Return ULONGEST.
4019 2014-02-07 Yao Qi <yao@codesourcery.com>
4021 * corefile.c (memory_error): Get 'exception' from ERR and pass
4022 'exception' to throw_error.
4024 2014-02-06 Doug Evans <xdje42@gmail.com>
4026 * configure.ac (libpython checking): Remove all but python.o from
4027 CONFIG_OBS. Remove all but python.c from CONFIG_SRCS.
4028 * configure: Regenerate.
4030 * Makefile.in (SFILES): Add extension.c.
4031 (HFILES_NO_SRCDIR): Add extension.h, extension-priv.h
4032 (COMMON_OBS): Add extension.o.
4033 * extension.h: New file.
4034 * extension-priv.h: New file.
4035 * extension.c: New file.
4037 * python/python-internal.h: #include "extension.h".
4038 (gdbpy_auto_load_enabled): Declare.
4039 (gdbpy_apply_val_pretty_printer): Declare.
4040 (gdbpy_apply_frame_filter): Declare.
4041 (gdbpy_preserve_values): Declare.
4042 (gdbpy_breakpoint_cond_says_stop): Declare.
4043 (gdbpy_breakpoint_has_cond): Declare.
4044 (void source_python_script_for_objfile): Delete.
4045 * python/python.c: #include "extension-priv.h".
4046 Delete inclusion of "observer.h".
4047 (extension_language_python): Moved here and renamed from
4048 script_language_python in py-auto-load.c.
4049 Redefined to be of type extension_language_defn.
4050 (python_extension_script_ops): New global.
4051 (python_extension_ops): New global.
4052 (struct python_env): New member previous_active.
4053 (restore_python_env): Call restore_active_ext_lang.
4054 (ensure_python_env): Call set_active_ext_lang.
4055 (gdbpy_clear_quit_flag): Renamed from clear_quit_flag, made static.
4057 (gdbpy_set_quit_flag): Renamed from set_quit_flag, made static.
4059 (gdbpy_check_quit_flag): Renamed from check_quit_flag, made static.
4061 (gdbpy_eval_from_control_command): Renamed from
4062 eval_python_from_control_command, made static. New arg extlang.
4063 (gdbpy_source_script) Renamed from source_python_script, made static.
4065 (gdbpy_before_prompt_hook): Renamed from before_prompt_hook. Change
4066 result to int. New arg extlang.
4067 (gdbpy_source_objfile_script): Renamed from
4068 source_python_script_for_objfile, made static. New arg extlang.
4069 (gdbpy_start_type_printers): Renamed from start_type_printers, made
4070 static. New args extlang, extlang_printers. Change result type to
4072 (gdbpy_apply_type_printers): Renamed from apply_type_printers, made
4073 static. New arg extlang. Rename arg printers to extlang_printers
4074 and change type to ext_lang_type_printers *.
4075 (gdbpy_free_type_printers): Renamed from free_type_printers, made
4076 static. Replace argument arg with extlang, extlang_printers.
4077 (!HAVE_PYTHON, eval_python_from_control_command): Delete.
4078 (!HAVE_PYTHON, source_python_script): Delete.
4079 (!HAVE_PYTHON, gdbpy_should_stop): Delete.
4080 (!HAVE_PYTHON, gdbpy_breakpoint_has_py_cond): Delete.
4081 (!HAVE_PYTHON, start_type_printers): Delete.
4082 (!HAVE_PYTHON, apply_type_printers): Delete.
4083 (!HAVE_PYTHON, free_type_printers): Delete.
4084 (_initialize_python): Delete call to observer_attach_before_prompt.
4085 (finalize_python): Set/restore active extension language.
4086 (gdbpy_finish_initialization) Renamed from
4087 finish_python_initialization, made static. New arg extlang.
4088 (gdbpy_initialized): New function.
4089 * python/python.h: #include "extension.h". Delete #include
4090 "value.h", "mi/mi-cmds.h".
4091 (extension_language_python): Declare.
4092 (GDBPY_AUTO_FILE_NAME): Delete.
4093 (enum py_bt_status): Moved to extension.h and renamed to
4095 (enum frame_filter_flags): Moved to extension.h.
4096 (enum py_frame_args): Moved to extension.h and renamed to
4097 ext_lang_frame_args.
4098 (finish_python_initialization): Delete.
4099 (eval_python_from_control_command): Delete.
4100 (source_python_script): Delete.
4101 (apply_val_pretty_printer): Delete.
4102 (apply_frame_filter): Delete.
4103 (preserve_python_values): Delete.
4104 (gdbpy_script_language_defn): Delete.
4105 (gdbpy_should_stop, gdbpy_breakpoint_has_py_cond): Delete.
4106 (start_type_printers, apply_type_printers, free_type_printers): Delete.
4108 * auto-load.c: #include "extension.h".
4109 (GDB_AUTO_FILE_NAME): Delete.
4110 (auto_load_gdb_scripts_enabled): Make public. New arg extlang.
4111 (script_language_gdb): Delete, moved to extension.c and renamed to
4112 extension_language_gdb.
4113 (source_gdb_script_for_objfile): Delete.
4114 (auto_load_pspace_info): New member unsupported_script_warning_printed.
4115 (loaded_script): Change type of language member to
4116 struct extension_language_defn *.
4117 (init_loaded_scripts_info): Initialize
4118 unsupported_script_warning_printed.
4119 (maybe_add_script): Make static. Change type of language arg to
4120 struct extension_language_defn *.
4121 (clear_section_scripts): Reset unsupported_script_warning_printed.
4122 (auto_load_objfile_script_1): Rewrite to use extension language API.
4123 (auto_load_objfile_script): Make public. Remove support-compiled-in
4124 and auto-load-enabled checks, moved to auto_load_scripts_for_objfile.
4125 (source_section_scripts): Rewrite to use extension language API.
4126 (load_auto_scripts_for_objfile): Rewrite to use
4127 auto_load_scripts_for_objfile.
4128 (collect_matching_scripts_data): Change type of language member to
4129 struct extension_language_defn *.
4130 (auto_load_info_scripts): Change type of language arg to
4131 struct extension_language_defn *.
4132 (unsupported_script_warning_print): New function.
4133 (script_not_found_warning_print): Make static.
4134 (_initialize_auto_load): Rewrite construction of scripts-directory
4136 * auto-load.h (struct objfile): Add forward decl.
4137 (struct script_language): Delete.
4138 (struct auto_load_pspace_info): Add forward decl.
4139 (struct extension_language_defn): Add forward decl.
4140 (maybe_add_script): Delete.
4141 (auto_load_objfile_script): Declare.
4142 (script_not_found_warning_print): Delete.
4143 (auto_load_info_scripts): Update prototype.
4144 (auto_load_gdb_scripts_enabled): Declare.
4145 * python/py-auto-load.c (gdbpy_auto_load_enabled): Renamed from
4146 auto_load_python_scripts_enabled and made public.
4147 (script_language_python): Delete, moved to python.c.
4148 (gdbpy_script_language_defn): Delete.
4149 (info_auto_load_python_scripts): Update to use
4150 extension_language_python.
4152 * breakpoint.c (condition_command): Replace call to
4153 gdbpy_breakpoint_has_py_cond with call to get_breakpoint_cond_ext_lang.
4154 (bpstat_check_breakpoint_conditions): Replace call to gdbpy_should_stop
4155 with call to breakpoint_ext_lang_cond_says_stop.
4156 * python/py-breakpoint.c (gdbpy_breakpoint_cond_says_stop): Renamed
4157 from gdbpy_should_stop. Change result type to enum scr_bp_stop.
4158 New arg slang. Return SCR_BP_STOP_UNSET if py_bp_object is NULL.
4159 (gdbpy_breakpoint_has_cond): Renamed from gdbpy_breakpoint_has_py_cond.
4161 (local_setattro): Print name of extension language with existing
4164 * valprint.c (val_print, value_print): Update to call
4165 apply_ext_lang_val_pretty_printer.
4166 * cp-valprint.c (cp_print_value): Update call to
4167 apply_ext_lang_val_pretty_printer.
4168 * python/py-prettyprint.c: Remove #ifdef HAVE_PYTHON.
4169 (gdbpy_apply_val_pretty_printer): Renamed from
4170 apply_val_pretty_printer. New arg extlang.
4171 (!HAVE_PYTHON, apply_val_pretty_printer): Delete.
4173 * cli/cli-cmds.c (source_script_from_stream): Rewrite to use
4174 extension language API.
4175 * cli/cli-script.c (execute_control_command): Update to call
4176 eval_ext_lang_from_control_command.
4178 * mi/mi-cmd-stack.c (mi_cmd_stack_list_frames): Update to use
4179 enum ext_lang_bt_status values. Update call to
4180 apply_ext_lang_frame_filter.
4181 (mi_cmd_stack_list_locals): Ditto.
4182 (mi_cmd_stack_list_args): Ditto.
4183 (mi_cmd_stack_list_variables): Ditto.
4184 * mi/mi-main.c: Delete #include "python/python-internal.h".
4185 Add #include "extension.h".
4186 (mi_cmd_list_features): Replace reference to python internal variable
4187 gdb_python_initialized with call to ext_lang_initialized_p.
4189 * stack.c (backtrace_command_1): Update to use enum ext_lang_bt_status.
4190 Update to use enum ext_lang_frame_args. Update to call
4191 apply_ext_lang_frame_filter.
4192 * python/py-framefilter.c (extract_sym): Update to use enum
4194 (extract_value, py_print_type, py_print_value): Ditto.
4195 (py_print_single_arg, enumerate_args, enumerate_locals): Ditto.
4196 (py_mi_print_variables, py_print_locals, py_print_args): Ditto.
4197 (py_print_frame): Ditto.
4198 (gdbpy_apply_frame_filter): Renamed from apply_frame_filter.
4199 New arg extlang. Update to use enum ext_lang_bt_status.
4201 * top.c (gdb_init): Delete #ifdef HAVE_PYTHON call to
4202 finish_python_initialization. Replace with call to
4203 finish_ext_lang_initialization.
4205 * typeprint.c (do_free_global_table): Update to call
4206 free_ext_lang_type_printers.
4207 (create_global_typedef_table): Update to call
4208 start_ext_lang_type_printers.
4209 (find_global_typedef): Update to call apply_ext_lang_type_printers.
4210 * typeprint.h (struct ext_lang_type_printers): Add forward decl.
4211 (type_print_options): Change type of global_printers from "void *"
4212 to "struct ext_lang_type_printers *".
4214 * value.c (preserve_values): Update to call preserve_ext_lang_values.
4215 * python/py-value.c: Remove #ifdef HAVE_PYTHON.
4216 (gdbpy_preserve_values): Renamed from preserve_python_values.
4218 (!HAVE_PYTHON, preserve_python_values): Delete.
4220 * utils.c (quit_flag): Delete, moved to extension.c.
4221 (clear_quit_flag, set_quit_flag, check_quit_flag): Delete, moved to
4224 * eval.c: Delete #include "python/python.h".
4225 * main.c: Delete #include "python/python.h".
4227 * defs.h: Update comment.
4229 2014-02-06 Joel Brobecker <brobecker@adacore.com>
4233 2014-02-05 Mark Kettenis <kettenis@gnu.org>
4235 * c-exp.y (YYPRINT, c_print_token): Only define if YYBISON is
4238 2014-02-05 Yao Qi <yao@codesourcery.com>
4240 * remote.c (remote_pass_signals): Remove local 'buf' and use
4242 (remote_program_signals): Likewise.
4244 2014-02-05 Yao Qi <yao@codesourcery.com>
4246 * ctf.c: Include "inferior.h" and "gdbthread.h".
4247 (CTF_PID): A new macro.
4248 (ctf_open): Call inferior_appeared and add_thread_silent.
4249 (ctf_close): Call exit_inferior_silent and set inferior_ptid.
4250 (ctf_thread_alive): New function.
4251 (init_ctf_ops): Install ctf_thread_alive to to_thread_alive.
4253 2014-02-05 Yao Qi <yao@codesourcery.com>
4257 2013-05-24 Yao Qi <yao@codesourcery.com>
4259 * tracepoint.c (TFILE_PID): Remove.
4260 (tfile_open): Don't add thread and inferior.
4261 (tfile_close): Don't set 'inferior_ptid'. Don't call
4262 exit_inferior_silent.
4263 (tfile_thread_alive): Remove.
4264 (init_tfile_ops): Don't set field 'to_thread_alive' of
4267 2014-02-04 Christian Eggers <ceggers@gmx.de> (tiny change)
4269 * remote.c (remote_start_remote): Call remote_check_symbols even
4270 if only symbol-file (not file) has been given.
4272 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
4274 * gdbarch.sh (skip_entrypoint): New callback.
4275 * gdbarch.c, gdbarch.h: Regenerate.
4276 * symtab.c (skip_prologue_sal): Call gdbarch_skip_entrypoint.
4277 * infrun.c (fill_in_stop_func): Likewise.
4278 * ppc-linux-tdep.c: Include "elf/ppc64.h".
4279 (ppc_elfv2_elf_make_msymbol_special): New function.
4280 (ppc_elfv2_skip_entrypoint): Likewise.
4281 (ppc_linux_init_abi): Install them for ELFv2.
4283 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
4285 * ppc-sysv-tdep.c (ppc64_aggregate_candidate): New routine.
4286 (ppc64_elfv2_abi_homogeneous_aggregate): Likewise.
4287 (ppc64_sysv_abi_push_param): Handle ELFv2 homogeneous structs.
4288 (ppc64_sysv_abi_return_value): Likewise. Also, handle small
4289 structures returned in GPRs.
4291 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
4293 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_dummy_call): Use correct
4294 offset to the stack parameter list for the ELFv2 ABI.
4296 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
4298 * ppc-linux-tdep.c (ppc_linux_init_abi): Only call
4299 set_gdbarch_convert_from_func_ptr_addr and
4300 set_gdbarch_elf_make_msymbol_special for ELFv1.
4301 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_param): Only handle
4302 function descriptors on ELFv1.
4303 (ppc64_sysv_abi_push_dummy_call): Likewise. On ELFv2,
4304 set up r12 at function entry.
4306 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
4308 * ppc-tdep.h (enum powerpc_elf_abi): New data type.
4309 (struct gdbarch_tdep): New member elf_abi.
4311 * rs6000-tdep.c: Include "elf/ppc64.h".
4312 (rs6000_gdbarch_init): Detect ELF ABI version.
4314 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
4316 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_freg): Use correct order
4317 within a register pair holding a DFP 128-bit value on little-endian.
4318 (ppc64_sysv_abi_return_value_base): Likewise.
4319 * rs6000-tdep.c (dfp_pseudo_register_read): Likewise.
4320 (dfp_pseudo_register_write): Likewise.
4322 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
4324 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_freg): Use correct
4325 offset on little-endian when passing _Decimal32.
4326 (ppc64_sysv_abi_return_value_base): Likewise for return values.
4328 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
4330 * rs6000-tdep.c (efpr_pseudo_register_read): Use correct offset
4331 of the overlapped FP register within the VSX register on little-
4333 (efpr_pseudo_register_write): Likewise.
4335 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
4337 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_val): Use correct
4338 offset on little-endian when passing small structures.
4340 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
4342 * ppc-sysv-tdep.c (get_decimal_float_return_value): Update comment.
4343 (struct ppc64_sysv_argpos): New data structure.
4344 (ppc64_sysv_abi_push_float): Remove.
4345 (ppc64_sysv_abi_push_val): New function.
4346 (ppc64_sysv_abi_push_integer): Likewise.
4347 (ppc64_sysv_abi_push_freg): Likewise.
4348 (ppc64_sysv_abi_push_vreg): Likewise.
4349 (ppc64_sysv_abi_push_param): Likewise.
4350 (ppc64_sysv_abi_push_dummy_call): Refactor to use those new routines.
4351 (ppc64_sysv_abi_return_value_base): New function.
4352 (ppc64_sysv_abi_return_value): Refactor to use it.
4354 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
4356 * NEWS: Document new target powerpc64le-*-linux*.
4358 2014-02-04 Mark Kettenis <kettenis@gnu.org>
4360 * sparc64obsd-tdep.c (sparc64obsd_gregset): New variable.
4361 (sparc64obsd_supply_gregset): Handle registers sets used in ELF
4363 (sparc64obsd_init_abi): Adjust minimum size of the general purpose
4364 register set used in ELF core dumps. Add floating-point register set.
4366 2014-02-03 Kevin Buettner <kevinb@redhat.com>
4368 * mn10300-tdep.c (mn10300_dwarf2_reg_to_regnum): Rewrite
4369 dwarf2_to_gdb[] table using symbolic constants. Adjust
4370 penultimate entry from number representing the PC register
4371 to symbolic constant representing the MDR register. Add
4372 constant for the PC register to the end of the table.
4374 2014-02-03 Mark Kettenis <kettenis@gnu.org>
4376 * bsd-kvm.c: Include <sys/param.h>
4378 2014-02-03 Mark Kettenis <kettenis@gnu.org>
4380 * sparc64nbsd-nat.c (sparc64nbsd_supply_fpregset): Fix prototype.
4382 2014-01-31 Joel Brobecker <brobecker@adacore.com>
4384 * ada-lang.h (clear_ada_sym_cache): Delete.
4386 2014-01-30 Ulrich Weigand <uweigand@de.ibm.com>
4388 * auxv.c (fprint_target_auxv): Handle AT_HWCAP2.
4390 2014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
4392 * sparc64-linux-tdep.c (sparc64_linux_step_trap): Get PC from
4393 the sigreturn register save area only if the syscall is
4396 2014-01-29 Joel Brobecker <brobecker@adacore.com>
4398 * valops.c (value_slice): Minor reformatting.
4400 2014-01-28 Ulrich Weigand <uweigand@de.ibm.com>
4402 * ppc64-tdep.c (ppc64_standard_linkage7): Fix typo.
4404 2014-01-28 Joel Brobecker <brobecker@adacore.com>
4406 * ada-lang.c (maint_set_ada_cmdlist, maint_show_ada_cmdlist):
4408 (maint_set_ada_cmd, maint_show_ada_cmd): New functions.
4409 (ada_ignore_descriptive_types_p): New static global.
4410 (find_parallel_type_by_descriptive_type): Return immediately
4411 if ada_ignore_descriptive_types_p is set.
4412 (_initialize_ada_language): Register new commands "maintenance
4413 set ada", "maintenance show ada", "maintenance set ada
4414 ignore-descriptive-types" and "maintenance show ada
4415 ignore-descriptive-types".
4416 * NEWS: Add entry for new "maint ada set/show
4417 ignore-descriptive-types" commands.
4419 2014-01-27 Markus Metzger <markus.t.metzger@intel.com>
4421 * record-btrace.c (record_btrace_close): Call btrace_teardown
4424 2014-01-27 Joel Brobecker <brobecker@adacore.com>
4426 * ada-lang.c: Remove "#ifdef UI_OUT" condition for including
4429 2014-01-27 Joel Brobecker <brobecker@adacore.com>
4431 * ada-typeprint (type_is_full_subrange_of_target_type):
4433 (print_range): Add parameter bounds_prefered_p. If not set,
4434 try printing range types using the name of their base type.
4435 (print_range_type): Add parameter bounds_prefered_p.
4436 Use it in call to print_range.
4437 (print_array_type, ada_print_type): Update calls to print_range
4438 and print_range_type.
4440 2014-01-27 Joel Brobecker <brobecker@adacore.com>
4442 * ada-typeprint.c (print_array_type, print_choices, print_range)
4443 (print_range_bound, print_dynamic_range_bound, print_range_type):
4446 2014-01-27 Joel Brobecker <brobecker@adacore.com>
4448 * ada-typeprint.c (print_range): Add missing empty line
4449 after local declaration.
4451 2014-01-27 Joel Brobecker <brobecker@adacore.com>
4453 * ada-valprint.c (print_optional_low_bound): Get index_type's
4454 target type for as long as it is a TYPE_CODE_RANGE.
4456 2014-01-27 Joel Brobecker <brobecker@adacore.com>
4458 * procfs.c (procfs_make_note_section): Remove assertion and
4461 2014-01-24 Yao Qi <yao@codesourcery.com>
4463 * remote.c (remote_read_bytes): Change type of len to ULONGEST.
4464 * corelow.c (get_core_siginfo): Likewise.
4466 2014-01-24 Yao Qi <yao@codesourcery.com>
4468 * remote.c (remote_write_bytes_aux): Change type of 'len' to
4469 ULONGEST. Don't check 'len' is negative.
4470 (remote_write_bytes): Change type of 'len' to ULONGEST.
4472 2014-01-23 Tom Tromey <tromey@redhat.com>
4475 * python/lib/gdb/FrameDecorator.py: (FrameVars.fetch_frame_args):
4476 Handle exception from frame.block.
4477 (FrameVars.fetch_frame_locals): Likewise.
4479 2014-01-23 Tom Tromey <tromey@redhat.com>
4482 * python/py-framefilter.c (py_print_frame): Don't call Py_DECREF
4483 on a NULL pointer. Move "goto error" to correct place.
4485 2014-01-23 Tom Tromey <tromey@redhat.com>
4488 * python/py-framefilter.c (apply_frame_filter): Call
4489 ensure_python_env after computing gdbarch.
4491 2014-01-23 Yao Qi <yao@codesourcery.com>
4493 * target.c (raw_memory_xfer_partial): Change argument type
4494 from void * to gdb_byte *.
4495 (memory_xfer_partial_1, memory_xfer_partial): Likewise.
4497 2014-01-22 Doug Evans <dje@google.com>
4499 New gdbserver option --debug-format=timestamp.
4502 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
4504 * syscalls/s390x-linux.xml: New file.
4505 * syscalls/s390-linux.xml: New file.
4506 * s390-linux-tdep.c (XML_SYSCALL_FILENAME_S390): New macro.
4507 (XML_SYSCALL_FILENAME_S390X): Likewise.
4508 (op_svc): New enum value for SVC opcode.
4509 (s390_sigtramp_frame_sniffer): Replace literal by 'op_svc'.
4510 (s390_linux_get_syscall_number): New function.
4511 (s390_gdbarch_init): Register '*get_syscall_number' and the
4512 syscall xml file name.
4513 * data-directory/Makefile.in (SYSCALLS_FILES): Add
4514 "s390-linux.xml" and "s390x-linux.xml".
4515 * NEWS: Announce new feature.
4517 2014-01-22 Baruch Siach <baruch@tkos.co.il>
4519 * xtensa-tdep.h (xtensa_elf_greg_t): Change type to uint32_t.
4521 2014-01-22 Pedro Alves <palves@redhat.com>
4523 * xtensa-config.c: Include defs.h.
4525 2014-01-22 Joel Brobecker <brobecker@adacore.com>
4527 * common/common-utils.h: Add "ARI:" comment beside __func__
4530 2014-01-22 Joel Brobecker <brobecker@adacore.com>
4532 * common/common-utils.h (FUNCTION_NAME): Expand the macro's
4533 documentation a bit.
4535 2014-01-21 Roland McGrath <mcgrathr@google.com>
4537 * configure.ac: Call AM_PROG_INSTALL_STRIP.
4538 * configure: Regenerate.
4539 * aclocal.m4: Regenerate.
4540 * Makefile.in (install_sh, INSTALL_STRIP_PROGRAM, STRIP):
4541 New substituted variables.
4542 (install-strip): New target.
4543 (INSTALL_SCRIPT): New substituted variable.
4544 (FLAGS_TO_PASS): Add it.
4545 (install-only): Use $(INSTALL_SCRIPT) rather than
4546 $(INSTALL_PROGRAM) for gcore.
4548 2014-01-20 Tom Tromey <tromey@redhat.com>
4550 * cli/cli-decode.h (struct cmd_list_element): Move all bitfields
4553 2014-01-20 Tom Tromey <tromey@redhat.com>
4555 * cli/cli-decode.c (add_cmd, deprecate_cmd, add_alias_cmd)
4556 (add_setshow_cmd_full, delete_cmd, lookup_cmd_1)
4557 (deprecated_cmd_warning, complete_on_cmdlist): Update.
4558 * cli/cli-decode.h (CMD_DEPRECATED, DEPRECATED_WARN_USER)
4559 (MALLOCED_REPLACEMENT, DOC_ALLOCATED): Remove.
4560 (struct cmd_list_element) <flags>: Remove.
4561 <cmd_deprecated, deprecated_warn_user, malloced_replacement,
4562 doc_allocated>: New fields.
4563 <hook_in, allow_unknown, abbrev_flag, type, var_type>: Now
4565 * maint.c (maintenance_do_deprecate): Update.
4566 * top.c (execute_command): Update.
4568 2014-01-20 Baruch Siach <baruch@tkos.co.il>
4570 * xtensa-linux-nat.c: Include asm/ptrace.h.
4572 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
4574 * Makefile.in (SFILES): Add d-support.c.
4575 (COMMON_OBS): Add d-support.o.
4576 * d-lang.h (d_parse_symbol): Add comment, now defined in
4578 * d-lang.c (parse_call_convention)
4579 (parse_attributes, parse_function_types)
4580 (parse_function_args, parse_type, parse_identifier)
4581 (call_convention_p, d_parse_symbol): Move functions to ...
4582 * d-support.c: ... New file.
4584 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
4586 * d-lang.h (d_parse_symbol): Add declaration.
4587 * d-lang.c (extract_identifiers)
4588 (extract_type_info): Remove functions.
4589 (parse_call_convention, parse_attributes)
4590 (parse_function_types, parse_function_args)
4591 (parse_type, parse_identifier, call_convention_p)
4592 (d_parse_symbol): New functions.
4593 (d_demangle): Use d_parse_symbol to demangle D symbols.
4595 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
4597 * d-lang.h (struct builtin_d_type): New data type.
4598 (builtin_d_type): Add declaration.
4599 * d-lang.c (d_language_arch_info, build_d_types)
4600 (builtin_d_type): New functions.
4601 (enum d_primitive_types): New data type.
4602 (d_language_defn): Change c_language_arch_info to
4603 d_language_arch_info.
4604 (d_type_data): New static variable.
4605 (_initialize_d_language): Initialize d_type_data.
4607 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
4609 * d-lang.h (d_main_name): Add declaration.
4610 * d-lang.c (d_main_name): New function.
4611 * symtab.c (find_main_name): Add call to d_main_name.
4613 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
4615 * d-lang.c (d_language_defn): Change macro_expansion_c to
4618 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
4620 * MAINTAINERS: Add myself as a write-after-approval maintainer.
4622 2014-01-17 Sergio Durigan Junior <sergiodj@redhat.com>
4624 * breakpoint.c (insert_bp_location): Add "volatile" keyword to "struct
4625 gdb_exception" declaration.
4626 * remote.c (getpkt_or_notif_sane): Likewise.
4628 2014-01-17 Doug Evans <dje@google.com>
4630 * common/gdb_vecs.c (delim_string_to_char_ptr_vec_append): New
4631 function, contents of dirnames_to_char_ptr_vec_append moved here.
4632 (delim_string_to_char_ptr_vec): New function.
4633 (dirnames_to_char_ptr_vec_append): Rewrite.
4634 * common/gdb_vecs.h (delim_string_to_char_ptr_vec): Declare.
4636 2014-01-17 Doug Evans <dje@google.com>
4638 * common/common-utils.h (FUNCTION_NAME): Renamed from ASSERT_FUNCTION,
4640 * common/gdb_assert.h (ASSERT_FUNCTION): ... from here.
4641 #include "common-utils.h".
4642 (gdb_assert, gdb_assert_fail, gdb_assert_not_reached): Update.
4643 * common/vec.h (VEC_ASSERT_PASS): Update.
4644 * darwin-nat.h: Replace #include of gdb_assert.h with common-utils.h.
4645 (MACH_CHECK_ERROR): Update.
4647 2014-01-17 Simon Marchi <simon.marchi@ericsson.com>
4649 * gdbarch.sh (gdbarch_address_class_name_to_type_flags): Add
4651 * gdbarch.h: Regenerate.
4653 2014-01-16 Tom Tromey <tromey@redhat.com>
4655 * value.c (struct value) <regnum>: Move earlier.
4657 2014-01-16 Tom Tromey <tromey@redhat.com>
4659 * remote.c (extended_remote_create_inferior): Rename from
4660 extended_remote_create_inferior_1. Add "ops" argument. Remove
4663 2014-01-16 Pedro Alves <palves@redhat.com>
4665 * s390-linux-tdep.c (s390_frame_unwind_cache): Swallow
4666 NOT_AVAILABLE_ERROR errors while parsing the prologue or reading
4669 2014-01-16 Doug Evans <dje@google.com>
4671 * dwarf2read.c (open_and_init_dwp_file): Fix typo in comment.
4673 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4675 * btrace.h (btrace_thread_flag): New.
4676 (struct btrace_thread_info) <flags>: New.
4677 * record-btrace.c (record_btrace_resume_thread)
4678 (record_btrace_find_thread_to_move, btrace_step_no_history)
4679 (btrace_step_stopped, record_btrace_start_replaying)
4680 (record_btrace_step_thread, record_btrace_decr_pc_after_break)
4681 (record_btrace_find_resume_thread): New.
4682 (record_btrace_resume, record_btrace_wait): Extend.
4683 (record_btrace_can_execute_reverse): New.
4684 (record_btrace_open): Fail in non-stop mode.
4685 (record_btrace_set_replay): Split into this, ...
4686 (record_btrace_stop_replaying): ... this, ...
4687 (record_btrace_clear_histories): ... and this.
4688 (init_record_btrace_ops): Init to_can_execute_reverse.
4689 * NEWS: Announce it.
4691 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4693 * target.h (struct target_ops) <to_decr_pc_after_break>: New.
4694 (forward_target_decr_pc_after_break)
4695 (target_decr_pc_after_break): New.
4696 * target.c (forward_target_decr_pc_after_break)
4697 (target_decr_pc_after_break): New.
4698 * aix-thread.c (aix_thread_wait): Call target_decr_pc_after_break
4699 instead of gdbarch_decr_pc_after_break.
4700 * darwin-nat.c (cancel_breakpoint): Call target_decr_pc_after_break
4701 instead of gdbarch_decr_pc_after_break.
4702 * infrun.c (adjust_pc_after_break): Call target_decr_pc_after_break
4703 instead of gdbarch_decr_pc_after_break.
4704 * linux-nat.c (cancel_breakpoint): Call target_decr_pc_after_break
4705 instead of gdbarch_decr_pc_after_break.
4706 * linux-thread-db.c (check_event): Call target_decr_pc_after_break
4707 instead of gdbarch_decr_pc_after_break.
4708 * record-full.c (record_full_wait_1): Call target_decr_pc_after_break
4709 instead of gdbarch_decr_pc_after_break.
4711 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4713 * btrace.c: Include regcache.h.
4714 (btrace_add_pc): New.
4715 (btrace_enable): Call btrace_add_pc.
4716 (btrace_is_empty): New.
4717 * btrace.h (btrace_is_empty): New.
4718 * record-btrace.c (require_btrace, record_btrace_info): Call
4721 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4723 * common/linux-btrace.c (perf_event_read_bts, linux_read_btrace):
4724 Support delta reads.
4725 (linux_disable_btrace): Change return type.
4726 * common/linux-btrace.h (linux_read_btrace): Change parameters
4727 and return type to allow error reporting. Update users.
4728 (linux_disable_btrace): Change return type. Update users.
4729 * common/btrace-common.h (btrace_read_type) <BTRACE_READ_DELTA>:
4731 (btrace_error): New.
4732 (btrace_block) <begin>: Comment on BEGIN == 0.
4733 * btrace.c (btrace_compute_ftrace): Start from the end of
4735 (btrace_stitch_trace, btrace_clear_history): New.
4736 (btrace_fetch): Read delta trace, return if replaying.
4737 (btrace_clear): Move clear history code to btrace_clear_history.
4738 (parse_xml_btrace): Throw an error if parsing failed.
4739 * target.h (struct target_ops) <to_read_btrace>: Change parameters
4740 and return type to allow error reporting.
4741 (target_read_btrace): Change parameters and return type to allow
4743 * target.c (target_read_btrace): Update.
4744 * remote.c (remote_read_btrace): Support delta reads. Pass
4746 * NEWS: Announce it.
4748 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4750 * record.h (record_btrace_frame_unwind)
4751 (record_btrace_tailcall_frame_unwind): New declarations.
4752 * dwarf2-frame: Include record.h
4753 (dwarf2_frame_cfa): Throw an error for btrace frames.
4754 * record-btrace.c: Include hashtab.h.
4755 (btrace_get_bfun_name): New.
4756 (btrace_call_history): Call btrace_get_bfun_name.
4757 (struct btrace_frame_cache): New.
4759 (bfcache_hash, bfcache_eq, bfcache_new): New.
4760 (btrace_get_frame_function): New.
4761 (record_btrace_frame_unwind_stop_reason): Allow unwinding.
4762 (record_btrace_frame_this_id): Compute own id.
4763 (record_btrace_frame_prev_register): Provide PC, throw_error
4764 for all other registers.
4765 (record_btrace_frame_sniffer): Detect btrace frames.
4766 (record_btrace_tailcall_frame_sniffer): New.
4767 (record_btrace_frame_dealloc_cache): New.
4768 (record_btrace_frame_unwind): Add new functions.
4769 (record_btrace_tailcall_frame_unwind): New.
4770 (_initialize_record_btrace): Allocate cache.
4771 * btrace.c (btrace_clear): Call reinit_frame_cache.
4772 * NEWS: Announce it.
4774 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4776 * record-btrace.c (record_btrace_set_replay)
4777 (record_btrace_goto_begin, record_btrace_goto_end)
4778 (record_btrace_goto): New.
4779 (init_record_btrace_ops): Initialize them.
4780 * NEWS: Announce it.
4782 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4784 * record-btrace.c (record_btrace_find_new_threads)
4785 (record_btrace_thread_alive): New.
4786 (init_record_btrace_ops): Initialize to_find_new_threads and
4789 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4791 * record-btrace.c (record_btrace_resume): New.
4792 (record_btrace_wait): New.
4793 (init_record_btrace_ops): Initialize to_wait and to_resume.
4795 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4797 * record-btrace.c (record_btrace_xfer_partial)
4798 (record_btrace_insert_breakpoint, record_btrace_remove_breakpoint)
4799 (record_btrace_allow_memory_access): New.
4800 (init_record_btrace_ops): Initialize new methods.
4801 * target.c (raw_memory_xfer_partial): Bail out if target reports
4802 that this memory is not available.
4804 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4806 * target.h (target_ops) <to_insert_breakpoint>
4807 <to_remove_breakpoint>: Add target_ops parameter.
4808 (forward_target_insert_breakpoint): New.
4809 (forward_target_remove_breakpoint): New.
4810 (memory_remove_breakpoint, memory_insert_breakpoint):
4811 Add target_ops parameter.
4812 * target.c (target_insert_breakpoint): Split into this and ...
4813 (forward_target_insert_breakpoint): ... this.
4814 (target_remove_breakpoint): Split into this and ...
4815 (forward_target_remove_breakpoint): ... this.
4816 (debug_to_insert_breakpoint): Add target_ops parameter.
4817 Call forward_target_insert_breakpoint.
4818 (debug_to_remove_breakpoint): Add target_ops parameter.
4819 Call forward_target_remove_breakpoint.
4820 (update_current_target): Do not inherit or default to_insert_breakpoint
4821 and to_remove_breakpoint.
4822 * corelow.c (ignore): Add target_ops parameter.
4823 * exec.c (ignore): Add target_ops parameter.
4824 * mem-break.c (memory_insert_breakpoint, memory_remove_breakpoint):
4825 Add target_ops parameter.
4826 * monitor.c (monitor_insert_breakpoint, monitor_remove_breakpoint):
4827 Add target_ops parameter.
4828 * nto-procfs.c (procfs_insert_breakpoint, procfs_remove_breakpoint):
4829 Add target_ops parameter.
4830 * record-full.c (record_full_beneath_to_insert_breakpoint)
4831 (record_full_beneath_to_remove_breakpoint, tmp_to_insert_breakpoint)
4832 (tmp_to_remove_breakpoint, record_full_insert_breakpoint)
4833 (record_full_remove_breakpoint, record_full_core_insert_breakpoint)
4834 (record_full_core_remove_breakpoint): Add target_ops parameter.
4836 (record_full_beneath_to_insert_breakpoint_ops)
4837 (record_full_beneath_to_remove_breakpoint_ops)
4838 (tmp_to_insert_breakpoint_ops, tmp_to_remove_breakpoint_ops): New.
4839 (record_full_open): Initialize tmp_to_insert_breakpoint_ops,
4840 tmp_to_remove_breakpoint_ops,
4841 record_full_beneath_to_insert_breakpoint_ops, and
4842 record_full_beneath_to_remove_breakpoint_ops.
4843 * remote-m32r-sdi.c (m32r_insert_breakpoint)
4844 (m32r_remove_breakpoint): Add target_ops parameter.
4845 * remote-mips.c (mips_insert_breakpoint, mips_remove_breakpoint):
4846 Add target_ops parameter.
4847 * remote.c (remote_insert_breakpoint, remote_remove_breakpoint):
4848 Add target_ops parameter.
4850 2014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
4851 Markus Metzger <markus.t.metzger@intel.com>
4853 * record-btrace.c: Include frame-unwind.h.
4854 (record_btrace_frame_unwind_stop_reason)
4855 (record_btrace_frame_this_id, record_btrace_frame_prev_register)
4856 (record_btrace_frame_sniffer, record_btrace_frame_unwind):
4858 (init_record_btrace_ops): Install it.
4860 2014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
4862 * frame.c (get_frame_unwind_stop_reason): Unconditionally call
4865 2014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
4867 * dwarf2-frame.c (dwarf2_frame_cfa): Move UNWIND_UNAVAILABLE check
4870 2014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
4872 * frame-unwind.c: Include target.h.
4873 (frame_unwind_try_unwinder): New function with code from ...
4874 (frame_unwind_find_by_frame): ... here. New variable
4875 unwinder_from_target, call also target_get_unwinder)
4876 (target_get_tailcall_unwinder, and frame_unwind_try_unwinder for it.
4877 * target.c (target_get_unwinder, target_get_tailcall_unwinder): New.
4878 * target.h (struct target_ops): New fields to_get_unwinder and
4879 to_get_tailcall_unwinder.
4880 (target_get_unwinder, target_get_tailcall_unwinder): New declarations.
4882 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4884 * record-btrace.c (record_btrace_fetch_registers)
4885 (record_btrace_store_registers)
4886 (record_btrace_to_prepare_to_store): New.
4887 (init_record_btrace_ops): Add the above.
4889 2014-01-16 Tom Tromey <tromey@redhat.com>
4891 * windows-nat.c (windows_prepare_to_store): Add 'self' argument.
4892 * target.h (struct target_ops) <to_prepare_to_store>: Add
4894 (target_prepare_to_store): Add argument.
4895 * target.c (debug_to_prepare_to_store): Add argument.
4896 (update_current_target): Update.
4897 * remote.c (remote_prepare_to_store): Add 'self' argument.
4898 * remote-sim.c (gdbsim_prepare_to_store): Add 'self' argument.
4899 * remote-mips.c (mips_prepare_to_store): Add 'self' argument.
4900 * remote-m32r-sdi.c (m32r_prepare_to_store): Add 'self' argument.
4901 * record-full.c (record_full_core_prepare_to_store): Add 'self'
4903 * ravenscar-thread.c (ravenscar_prepare_to_store): Add argument.
4904 * nto-procfs.c (procfs_prepare_to_store): Add 'self' argument.
4905 * monitor.c (monitor_prepare_to_store): Add 'self' argument.
4906 * inf-child.c (inf_child_prepare_to_store): Add 'self' argument.
4907 * go32-nat.c (go32_prepare_to_store): Add 'self' argument.
4909 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4911 * btrace.h (replay) <replay>: New.
4912 (btrace_is_replaying): New.
4913 * btrace.c (btrace_clear): Free replay iterator.
4914 (btrace_is_replaying): New.
4915 * record-btrace.c (record_btrace_is_replaying): New.
4916 (record_btrace_info): Print insn number if replaying.
4917 (record_btrace_insn_history): Start at replay position.
4918 (record_btrace_call_history): Start at replay position.
4919 (init_record_btrace_ops): Init to_record_is_replaying.
4921 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4923 * record-btrace.c (record_btrace_insn_history_range): Include
4925 (record_btrace_insn_history_from): Adjust range.
4926 (record_btrace_call_history_range): Include
4928 (record_btrace_call_history_from): Adjust range.
4929 * NEWS: Announce changes.
4931 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4933 * record.h (enum record_print_flag)
4934 <record_print_indent_calls>: New.
4935 * record.c (get_call_history_modifiers): Recognize /c modifier.
4936 (_initialize_record): Document /c modifier.
4937 * record-btrace.c (btrace_call_history): Add btinfo parameter.
4938 Reorder fields. Optionally indent the function name. Update
4940 * NEWS: Announce changes.
4942 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4944 * common/linux-btrace.c (linux_enable_btrace): Enlarge buffer.
4946 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4948 * btrace.c (ftrace_new_function): Start counting at one.
4949 * record-btrace.c (record_btrace_info): Adjust number of calls
4951 * NEWS: Announce it.
4953 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4955 * record-btrace.c (btrace_call_history_insn_range): Print
4956 insn range as [begin, end].
4958 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4960 * btrace.h (struct btrace_func_link): New.
4961 (enum btrace_function_flag): New.
4962 (struct btrace_inst): Rename to ...
4963 (struct btrace_insn): ...this. Update all users.
4964 (struct btrace_func) <ibegin, iend>: Remove.
4965 (struct btrace_func_link): New.
4966 (struct btrace_func): Rename to ...
4967 (struct btrace_function): ...this. Update all users.
4968 (struct btrace_function) <segment, flow, up, insn, insn_offset)
4969 (number, level, flags>: New.
4970 (struct btrace_insn_iterator): Rename to ...
4971 (struct btrace_insn_history): ...this.
4973 (struct btrace_insn_iterator, btrace_call_iterator): New.
4974 (struct btrace_target_info) <btrace, itrace, ftrace>: Remove.
4975 (struct btrace_target_info) <begin, end, level>
4976 <insn_history, call_history>: New.
4977 (btrace_insn_get, btrace_insn_number, btrace_insn_begin)
4978 (btrace_insn_end, btrace_insn_prev, btrace_insn_next)
4979 (btrace_insn_cmp, btrace_find_insn_by_number, btrace_call_get)
4980 (btrace_call_number, btrace_call_begin, btrace_call_end)
4981 (btrace_call_prev, btrace_call_next, btrace_call_cmp)
4982 (btrace_find_function_by_number, btrace_set_insn_history)
4983 (btrace_set_call_history): New.
4984 * btrace.c (btrace_init_insn_iterator)
4985 (btrace_init_func_iterator, compute_itrace): Remove.
4986 (ftrace_print_function_name, ftrace_print_filename)
4987 (ftrace_skip_file): Change
4989 (ftrace_init_func): Remove.
4990 (ftrace_debug): Use new btrace_function fields.
4991 (ftrace_function_switched): Also consider gaining and
4992 losing symbol information).
4993 (ftrace_print_insn_addr, ftrace_new_call, ftrace_new_return)
4994 (ftrace_new_switch, ftrace_find_caller, ftrace_new_function)
4995 (ftrace_update_caller, ftrace_fixup_caller, ftrace_new_tailcall):
4997 (ftrace_new_function): Move. Remove debug print.
4998 (ftrace_update_lines, ftrace_update_insns): New.
4999 (ftrace_update_function): Check for call, ret, and jump.
5000 (compute_ftrace): Renamed to ...
5001 (btrace_compute_ftrace): ...this. Rewritten to compute call
5003 (btrace_fetch, btrace_clear): Updated.
5004 (btrace_insn_get, btrace_insn_number, btrace_insn_begin)
5005 (btrace_insn_end, btrace_insn_prev, btrace_insn_next)
5006 (btrace_insn_cmp, btrace_find_insn_by_number, btrace_call_get)
5007 (btrace_call_number, btrace_call_begin, btrace_call_end)
5008 (btrace_call_prev, btrace_call_next, btrace_call_cmp)
5009 (btrace_find_function_by_number, btrace_set_insn_history)
5010 (btrace_set_call_history): New.
5011 * record-btrace.c (require_btrace): Use new btrace thread
5013 (record_btrace_info, btrace_insn_history)
5014 (record_btrace_insn_history, record_btrace_insn_history_range):
5015 Use new btrace thread info fields and new iterator.
5016 (btrace_func_history_src_line): Rename to ...
5017 (btrace_call_history_src_line): ...this. Use new btrace
5019 (btrace_func_history): Rename to ...
5020 (btrace_call_history): ...this. Use new btrace thread info
5021 fields and new iterator.
5022 (record_btrace_call_history, record_btrace_call_history_range):
5023 Use new btrace thread info fields and new iterator.
5025 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5027 * frame.h (frame_id_build_unavailable_stack_special): New.
5028 * frame.c (frame_id_build_unavailable_stack_special): New.
5030 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5032 * amd64-tdep.c (amd64_classify_insn_at, amd64_insn_is_call)
5033 (amd64_insn_is_ret, amd64_insn_is_jump, amd64_jmp_p): New.
5034 (amd64_init_abi): Add insn_is_call, insn_is_ret, and insn_is_jump
5036 * i386-tdep.c (i386_insn_is_call, i386_insn_is_ret)
5037 (i386_insn_is_jump, i386_jmp_p): New.
5038 (i386_gdbarch_init): Add insn_is_call, insn_is_ret, and
5039 insn_is_jump to gdbarch.
5040 * gdbarch.sh (insn_is_call, insn_is_ret, insn_is_jump): New.
5041 * gdbarch.h: Regenerated.
5042 * gdbarch.c: Regenerated.
5043 * arch-utils.h (default_insn_is_call, default_insn_is_ret)
5044 (default_insn_is_jump): New.
5045 * arch-utils.c (default_insn_is_call, default_insn_is_ret)
5046 (default_insn_is_jump): New.
5048 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5050 * common/btrace-common.h (btrace_read_type) <btrace_read_all>:
5052 (btrace_read_type) <BTRACE_READ_ALL>: ... this. Update users.
5053 (btrace_read_type) <btrace_read_new>: Change to ...
5054 (btrace_read_type) <BTRACE_READ_NEW>: ... this. Update users.
5056 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5058 * common/linux-btrace.c (linux_read_btrace): Free trace from
5061 2014-01-15 Doug Evans <dje@google.com>
5063 * dwarf2read.c (open_and_init_dwp_file): Use pulongest to print
5066 2014-01-15 Tom Tromey <tromey@redhat.com>
5068 * dbxread.c (process_one_symbol): Use set_objfile_main_name.
5069 * dwarf2read.c (read_partial_die): Use set_objfile_main_name.
5070 * objfiles.c (get_objfile_bfd_data): Initialize language_of_main.
5071 (set_objfile_main_name): New function.
5072 * objfiles.h (struct objfile_per_bfd_storage) <name_of_main,
5073 language_of_main>: New fields.
5074 (set_objfile_main_name): Declare.
5075 * symtab.c (find_main_name): Loop over objfiles to find the main
5077 (set_main_name): Now static.
5078 (get_main_info): Add comment.
5079 * symtab.h (set_main_name): Don't declare.
5081 2014-01-15 Tom Tromey <tromey@redhat.com>
5083 * symtab.c (main_progspace_key): New global.
5084 (struct main_info): New.
5085 (name_of_main, language_of_main): Remove.
5086 (get_main_info, main_info_cleanup): New function.
5087 (set_main_name, main_name, main_language): Use get_main_info.
5088 (_initialize_symtab): Initialize main_progspace_key.
5090 2014-01-15 Tom Tromey <tromey@redhat.com>
5092 * dbxread.c (process_one_symbol): Update.
5093 * dwarf2read.c (read_partial_die): Update.
5094 * symfile.c (set_initial_language): Call main_language.
5095 * symtab.c (language_of_main): Now static.
5096 (set_main_name): Add 'lang' parameter.
5097 (find_main_name): Update.
5098 (main_language): New function.
5099 (symtab_observer_executable_changed): Update.
5100 * symtab.h (set_main_name): Update.
5101 (language_of_main): Remove.
5102 (main_language): Declare.
5104 2014-01-15 Tom Tromey <tromey@redhat.com>
5106 * symfile.c (init_entry_point_info): Use new "initialized" field.
5108 * objfiles.h (struct entry_point) <initialized>: New field.
5109 (struct objfile_per_bfd_storage) <ei>: New field, moved from...
5110 (struct objfile) <ei>: ...here. Remove.
5111 * objfiles.c (entry_point_address_query): Update.
5113 2014-01-15 Tom Tromey <tromey@redhat.com>
5115 * objfiles.c (entry_point_address_query): Relocate entry point
5117 (objfile_relocate1): Do not relocate entry point address.
5118 * objfiles.h (struct entry_info) <entry_point>: Update comment.
5119 <the_bfd_section_index>: New field.
5120 * symfile.c (init_entry_point_info): Find the entry point's
5123 2014-01-15 Tom Tromey <tromey@redhat.com>
5125 * solib-frv.c (enable_break): Use entry_point_address_query.
5127 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
5129 * NEWS: Add note on improved process record-replay on
5130 arm*-linux* targets.
5132 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
5134 * arm-tdep.c (enum arm_record_result): New enum.
5135 (arm_record_unsupported_insn): New function.
5136 (arm_record_coproc_data_proc): Removed.
5137 (thumb2_record_ld_st_multiple): New function.
5138 (thumb2_record_ld_st_dual_ex_tbb): New function.
5139 (thumb2_record_data_proc_sreg_mimm): New function.
5140 (thumb2_record_ps_dest_generic): New function.
5141 (thumb2_record_branch_misc_cntrl): New function.
5142 (thumb2_record_str_single_data): New function.
5143 (thumb2_record_ld_mem_hints): New function.
5144 (thumb2_record_ld_word): New function.
5145 (thumb2_record_lmul_lmla_div): New function.
5146 (thumb2_record_decode_insn_handler): New function.
5147 (decode_insn): Add thumb32 instruction handlers.
5149 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
5151 * arm-linux-tdep.c: Include "record-full.h" and "linux-record.h".
5152 (struct arm_linux_record_tdep): Declare.
5153 (arm_canonicalize_syscall): New function.
5154 (arm_all_but_pc_registers_record): New function.
5155 (arm_linux_syscall_record): New function.
5156 (arm_linux_init_abi): Add syscall recording constructs.
5157 * arm-tdep.c (thumb_record_ldm_stm_swi): Update thumb syscall
5158 decoding. (arm_record_coproc_data_proc): Update arm syscall
5160 * arm-tdep.h (struct gdbarch_tdep) <arm_swi_record>: Remove.
5161 <arm_syscall_record>: New field.
5162 * configure.tgt (arm*-*-linux*): Add linux-record.o to
5165 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
5167 * arm-tdep.c (thumb_record_misc): Update to use sp as base
5168 register for push instruction recording.
5170 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
5172 * arm-tdep.c (thumb_record_misc): Update to correct logical
5173 error while recording ldm, ldmia and pop instructions.
5175 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
5177 * arm-tdep.c (struct arm_mem_r) <addr>: Change type to uint32_t.
5179 2014-01-15 Pedro Alves <palves@redhat.com>
5181 * go32-nat.c (go32_open, go32_close, go32_attach, go32_detach)
5182 (go32_resume, go32_fetch_registers, store_register)
5183 (go32_store_registers, go32_prepare_to_store)
5184 (go32_xfer_memory, go32_files_info, go32_kill_inferior)
5185 (go32_create_inferior, go32_can_run, go32_terminal_init)
5186 (go32_terminal_inferior, go32_terminal_ours): Delete forward
5189 2014-01-15 Tom Tromey <tromey@redhat.com>
5191 * target.h (async_callback_ftype): New typedef.
5192 (struct target_ops) <to_async>: Use it.
5194 2014-01-15 Joel Brobecker <brobecker@adacore.com>
5196 * python/py-value.c (get_field_type): Remove unnecessary curly
5197 braces for single-statement if block.
5199 2014-01-15 Joel Brobecker <brobecker@adacore.com>
5201 * python/py-type.c (convert_field): Add missing empty line
5204 2014-01-14 Doug Evans <dje@google.com>
5206 * symfile.h (expand_symtabs_matching): Renamed from
5207 expand_partial_symbol_names. Update prototype.
5208 (map_symbol_filenames): Renamed from map_partial_symbol_filenames.
5209 * symfile.c (expand_symtabs_matching): Renamed from
5210 expand_partial_symbol_names. New args file_matcher, kind.
5211 Rename arg fun to symbol_matcher.
5212 (map_symbol_filenames): Renamed from map_partial_symbol_filenames.
5213 * ada-lang.c (ada_complete_symbol_matcher): Renamed from
5214 ada_expand_partial_symbol_name.
5215 (ada_make_symbol_completion_list): Update to call
5216 expand_symtabs_matching.
5217 (ada_add_global_exceptions): Call expand_symtabs_matching.
5218 * mi/mi-cmd-file.c (mi_cmd_file_list_exec_source_files): Update to
5219 call map_symbol_filenames.
5220 * symtab.c (sources_info): Update to call map_symbol_filenames.
5221 (search_symbols): Call expand_symtabs_matching.
5222 (symbol_completion_matcher): Renamed from expand_partial_symbol_name.
5223 (default_make_symbol_completion_list_break_on): Update to call
5224 expand_symtabs_matching.
5225 (make_source_files_completion_list): Update to call
5226 map_symbol_filenames.
5228 2014-01-14 Doug Evans <dje@google.com>
5230 * symfile.h (expand_symtabs_file_matcher_ftype): New typedef.
5231 (expand_symtabs_symbol_matcher_ftype): New typedef.
5232 (quick_symbol_functions.expand_symtabs_matching): Update to use.
5233 expand_symtabs_file_matcher_ftype, expand_symtabs_symbol_matcher_ftype.
5234 * symfile.c (expand_partial_symbol_names): Update to use
5235 expand_symtabs_symbol_matcher_ftype.
5236 * dwarf2read.c (dw2_expand_symtabs_matching): Update to use
5237 expand_symtabs_file_matcher_ftype, expand_symtabs_symbol_matcher_ftype.
5238 Arg name_matcher renamed to symbol_matcher.
5239 * psymtab.c (recursively_search_psymtabs): Update to use
5240 expand_symtabs_symbol_matcher_ftype. Arg name_matcher renamed to
5242 (expand_symtabs_matching_via_partial): Update to use
5243 expand_symtabs_file_matcher_ftype, expand_symtabs_symbol_matcher_ftype.
5244 Arg name_matcher renamed to symbol_matcher.
5246 2014-01-14 Doug Evans <dje@google.com>
5248 * psymtab.c (expand_partial_symbol_names): Delete, moved to symfile.c.
5249 (map_partial_symbol_filenames): Ditto.
5250 * psymtab.h (expand_partial_symbol_names): Delete, moved to symfile.h.
5251 (map_partial_symbol_filenames): Ditto.
5252 * symfile.c (expand_partial_symbol_names): Moved here from psymtab.c.
5253 (map_partial_symbol_filenames): Ditto.
5254 * symfile.h (expand_partial_symbol_names): Moved here from psymtab.h.
5255 (map_partial_symbol_filenames): Ditto.
5256 * symtab.c: Delete #include "psymtab.h".
5258 2014-01-14 Pedro Alves <palves@redhat.com>
5259 Tom Tromey <tromey@redhat.com>
5261 * infrun.c (use_displaced_stepping): Use find_record_target
5262 instead of RECORD_IS_USED.
5263 (adjust_pc_after_break): Use record_full_is_used instead of
5265 * record-btrace.c (record_btrace_open): Call record_preopen
5266 instead of checking RECORD_IS_USED.
5267 * record-full.c (record_full_shortname)
5268 (record_full_core_shortname): New globals.
5269 (record_full_is_used): New function.
5270 (find_full_open): Call record_preopen instead of checking
5272 (init_record_full_ops): Set the target's shortname to
5273 record_full_shortname.
5274 (init_record_full_core_ops): Set the target's shortname to
5275 record_full_core_shortname.
5276 * record-full.h (record_full_is_used): Declare.
5277 * record.c (find_record_target): Make extern.
5278 (record_preopen): New function.
5279 * record.h (RECORD_IS_USED): Delete macro.
5280 (find_record_target, record_preopen): Declare functions.
5282 2014-01-14 Yao Qi <yao@codesourcery.com>
5284 * gdbarch.sh (core_xfer_shared_libraries): Change its argument
5285 'len''s type to ULONGEST.
5286 (core_xfer_shared_libraries_aix): Likewise.
5287 * gdbarch.c, gdbarch.h: Regenerated.
5288 * i386-cygwin-tdep.c (windows_core_xfer_shared_libraries):
5289 Change type of 'len' to ULONGEST.
5290 * rs6000-aix-tdep.c (rs6000_aix_ld_info_to_xml): Likewise.
5291 (rs6000_aix_core_xfer_shared_libraries_aix): Likewise.
5293 2014-01-14 Yao Qi <yao@codesourcery.com>
5295 * common/linux-osdata.c (linux_xfer_osdata_processes): Change
5296 type of 'len' to ULONGEST.
5297 (linux_xfer_osdata_processgroups): Likewise.
5298 (linux_xfer_osdata_threads): Likewise.
5299 (linux_xfer_osdata_fds): Likewise.
5300 (linux_xfer_osdata_isockets): Likewise.
5301 (linux_xfer_osdata_shm): Likewise.
5302 (linux_xfer_osdata_sem): Likewise.
5303 (linux_xfer_osdata_msg): Likewise.
5304 (linux_common_xfer_osdata): Likewise.
5305 (struct osdata_type) <getter>: Likewise.
5306 * common/linux-osdata.h (linux_common_xfer_osdata): Update
5309 2014-01-14 Yao Qi <yao@codesourcery.com>
5311 * target.h (target_xfer_partial_ftype): Update.
5312 (struct target_ops) <to_xfer_partial>: Change 'len' type to
5314 * aix-thread.c (aix_thread_xfer_partial): Change type of
5315 argument 'len' to ULONGEST.
5316 * auxv.c (procfs_xfer_auxv): Likewise.
5317 (ld_so_xfer_auxv): Likewise.
5318 (memory_xfer_auxv): Likewise.
5319 * bfd-target.c (target_bfd_xfer_partial): Likewise.
5320 * bsd-kvm.c (bsd_kvm_xfer_partial): Likewise.
5321 * bsd-uthread.c (bsd_uthread_xfer_partial): Likewise.
5322 * corelow.c (core_xfer_partial): Likewise.
5323 * ctf.c (ctf_xfer_partial): Likewise.
5324 * darwin-nat.c (darwin_read_write_inferior): Likewise. Use
5326 (darwin_read_dyld_info): Likewise.
5327 (darwin_xfer_partial): Likewise.
5328 * exec.c (section_table_xfer_memory_partial): Likewise.
5329 (exec_xfer_partial): Likewise.
5330 * exec.h (section_table_xfer_memory_partial): Update
5332 * gnu-nat.c (gnu_xfer_memory): Likewise. Call pulongest
5333 instead of plongest.
5334 (gnu_xfer_partial): Likewise.
5335 * ia64-hpux-nat.c (ia64_hpux_xfer_memory): Likewise.
5336 (ia64_hpux_xfer_solib_got): Likewise.
5337 (ia64_hpux_xfer_partial): Likewise.
5338 * ia64-linux-nat.c (ia64_linux_xfer_partial):
5339 * inf-ptrace.c (inf_ptrace_xfer_partial):
5340 * inf-ttrace.c (inf_ttrace_xfer_partial):
5341 * linux-nat.c (linux_xfer_siginfo): Likewise.
5342 (linux_nat_xfer_partial): Likewise.
5343 (spu_enumerate_spu_ids, linux_proc_xfer_spu): Likewise.
5344 (linux_nat_xfer_osdata, linux_xfer_partial): Likewise.
5345 * monitor.c (monitor_xfer_memory): Likewise.
5346 (monitor_xfer_partial): Likewise.
5347 * procfs.c (procfs_xfer_partial): Likewise.
5348 * record-full.c (record_full_xfer_partial): Likewise.
5349 (record_full_core_xfer_partial): Likewise.
5350 * remote-sim.c (gdbsim_xfer_memory): Likewise. Call pulongest
5351 instead of plongest.
5352 (gdbsim_xfer_partial): Likewise.
5353 * remote.c (remote_xfer_partial): Likewise.
5354 * rs6000-aix-tdep.c (rs6000_aix_ld_info_to_xml): Likewise.
5355 * rs6000-aix-tdep.h (rs6000_aix_ld_info_to_xml): Update
5357 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
5358 (rs6000_xfer_shared_libraries): Likewise.
5359 * sol-thread.c (sol_thread_xfer_partial): Likewise.
5360 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
5361 (sparc_xfer_partial): Likewise.
5362 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise.
5363 (spu_xfer_partial): Likewise.
5364 * spu-multiarch.c (spu_xfer_partial): Likewise.
5365 * target.c (target_read_live_memory): Likewise.
5366 (memory_xfer_live_readonly_partial): Likewise.
5367 (memory_xfer_partial, memory_xfer_partial_1): Likewise.
5368 (target_xfer_partial, default_xfer_partial): Likewise.
5369 (current_xfer_partial): Likewise.
5370 * tracepoint.c (tfile_xfer_partial): Likewise.
5371 * windows-nat.c (windows_xfer_memory): Likewise. Call
5372 pulongest instead of plongest.
5373 (windows_xfer_partial): Likewise.
5374 (windows_xfer_shared_libraries): Likewise.
5376 2014-01-14 Yao Qi <yao@codesourcery.com>
5378 * rs6000-nat.c (rs6000_xfer_shared_libraries): Use
5379 target_xfer_partial_ftype.
5381 2014-01-13 Siva Chandra Reddy <sivachandra@google.com>
5385 * valops.c (value_struct_elt_bitpos): New function
5386 * py-type.c (convert_field): Set 'name' attribute of a gdb.Field
5387 object to 'None' if the field name is an empty string ("").
5388 * python/py-value.c (valpy_getitem): Use 'bitpos' and 'type'
5389 attribute to look for a field when 'name' is 'None'.
5390 (get_field_type): New function
5392 2014-01-13 Doug Evans <dje@google.com>
5395 * dwarf2read.c (dwarf2_get_dwz_file): Call gdb_bfd_record_inclusion.
5396 (try_open_dwop_file): Ditto.
5397 * gdb_bfd.c: #include "vec.h".
5398 (bfdp): New typedef.
5399 (struct gdb_bfd_data): New member included_bfds.
5400 (gdb_bfd_unref): Unref all included bfds.
5401 (gdb_bfd_record_inclusion): New function.
5402 * gdb_bfd.h (gdb_bfd_record_inclusion): Declare.
5404 2014-01-13 Tom Tromey <tromey@redhat.com>
5406 * gdbcore.h (deprecated_core_resize_section_table): Remove.
5408 2014-01-13 Tom Tromey <tromey@redhat.com>
5410 * defs.h (use_windows): Remove.
5411 * gdb.c (main): Update.
5412 * main.c (captured_main, gdb_main): Update.
5413 * main.h (struct captured_main_args) <use_windows>: Remove.
5414 * top.c (use_windows): Remove.
5416 2014-01-13 Tom Tromey <tromey@redhat.com>
5418 * defs.h (deprecated_flush_hook): Remove.
5420 2014-01-13 Jan Kratochvil <jan.kratochvil@redhat.com>
5423 * linux-thread-db.c (try_thread_db_load): Add parameter
5424 check_auto_load_safe. Move here the file_is_auto_load_safe call.
5425 (try_thread_db_load_from_pdir_1): Move it there from here.
5426 (try_thread_db_load_from_sdir): Update caller.
5427 (try_thread_db_load_from_dir): Move it there from here.
5429 2014-01-13 Patrick Palka <patrick@parcs.ath.cx>
5431 * regformats/regdat.sh: Always rewrite the register file.
5433 2014-01-13 Pedro Alves <palves@redhat.com>
5435 * Makefile.in (CHECK_HEADERS): New variable.
5436 (check-headers:): New rule.
5438 2014-01-13 Tom Tromey <tromey@redhat.com>
5440 * cli/cli-setshow.c (do_set_command): Update.
5441 * defs.h (deprecated_set_hook): Remove.
5442 * top.c (deprecated_set_hook): Remove.
5444 2014-01-13 Pedro Alves <palves@redhat.com>
5446 * tracepoint.c (tfile_fetch_registers): Don't infer the PC from
5447 the tracepoint if the PC is a pseudo-register.
5449 2014-01-13 Tom Tromey <tromey@redhat.com>
5451 * defs.h (XCALLOC): Remove.
5452 * bcache.c (bcache_xmalloc): Use XCNEW, not XCALLOC.
5453 (print_bcache_statistics): Use XCNEWVEC, not XCALLOC.
5454 * dwarf2loc.c (allocate_piece_closure): Likewise.
5455 * elfread.c (elf_symfile_segments): Likewise.
5456 (elf_symfile_segments): Likewise.
5457 * gdbtypes.c (copy_type_recursive): Likewise.
5458 * i386-tdep.c (i386_gdbarch_init): Use XCNEW, not XCALLOC.
5459 * jit.c (jit_frame_sniffer): Use XCNEWVEC, not XCALLOC.
5460 * minsyms.c (prim_record_minimal_symbol_full): Use XCNEW, not
5462 * mt-tdep.c (mt_gdbarch_init): Likewise.
5463 * opencl-lang.c (allocate_lval_closure): Use XCNEWVEC, not
5465 * psymtab.c (psymbol_compare): Use XCNEW, not XCALLOC.
5466 * regcache.c (regcache_xmalloc_1): Use XCNEWVEC, not XCALLOC.
5467 * registry.c (registry_alloc_data): Likewise.
5468 * rs6000-tdep.c (rs6000_gdbarch_init): Use XCNEW, not XCALLOC.
5469 * s390-linux-tdep.c (s390_gdbarch_init): Likewise.
5470 * serial.c (serial_fdopen_ops): Likewise.
5471 * solib-aix.c (solib_aix_get_section_offsets): Use XCNEWVEC, not
5473 * spu-tdep.c (spu_gdbarch_init): Use XCNEW, not XCALLOC.
5474 * symfile.c (default_symfile_segments): Use XCNEW and XCNEWVEC,
5477 2014-01-13 Tom Tromey <tromey@redhat.com>
5479 * defs.h (XMALLOC): Remove.
5480 * avr-tdep.c (avr_gdbarch_init): Use XNEW, not XMALLOC.
5481 * bfin-tdep.c (bfin_gdbarch_init): Likewise.
5482 * cli-out.c (struct ui_out *): Likewise.
5483 * cli/cli-dump.c (add_dump_command): Likewise.
5484 (add_dump_command): Likewise.
5485 * complaints.c (get_complaints): Likewise.
5486 (find_complaint): Likewise.
5487 * dwarf2-frame.c (execute_cfa_program): Likewise.
5488 * dwarf2read.c (abbrev_table_read_table): Likewise.
5489 * gdbarch.sh: Likewise.
5490 * gdbarch.c: Rebuild.
5491 * inf-ttrace.c (inf_ttrace_add_page): Likewise.
5492 * interps.c (interp_new): Likewise.
5493 * lm32-tdep.c (lm32_gdbarch_init): Likewise.
5494 * m32r-tdep.c (m32r_gdbarch_init): Likewise.
5495 * mi/mi-console.c (mi_console_file_new): Likewise.
5496 * mi/mi-interp.c (mi_interpreter_init): Likewise.
5497 * mi/mi-out.c (mi_out_new): Likewise.
5498 * mi/mi-parse.c (mi_parse): Likewise.
5499 * microblaze-tdep.c (microblaze_gdbarch_init): Likewise.
5500 * moxie-tdep.c (moxie_gdbarch_init): Likewise.
5501 * observer.c (xalloc_observer_list_node): Likewise.
5502 * regcache.c (regcache_xmalloc_1): Likewise.
5503 * reggroups.c (reggroup_new): Likewise.
5504 (_initialize_reggroup): Likewise.
5505 * registry.c (register_data_with_cleanup): Likewise.
5506 * remote.c (remote_notif_stop_alloc_reply): Likewise.
5507 * ser-base.c (serial_ttystate): Likewise.
5508 * ser-mingw.c (make_pipe_state): Likewise.
5509 * ser-pipe.c (pipe_open): Likewise.
5510 * serial.c (serial_open): Likewise.
5511 * sh64-tdep.c (sh64_gdbarch_init): Likewise.
5512 * tui/tui-data.c (tui_alloc_generic_win_info): Likewise.
5513 (tui_alloc_win_info): Likewise.
5514 (tui_add_content_elements): Likewise.
5515 * tui/tui-file.c (tui_file_new): Likewise.
5516 * tui/tui-out.c (tui_out_new): Likewise.
5517 * ui-file.c (mem_file_new): Likewise.
5518 * ui-out.c (push_level): Likewise.
5519 (make_cleanup_ui_out_end): Likewise.
5520 (append_header_to_list): Likewise.
5521 (ui_out_new): Likewise.
5522 * user-regs.c (user_reg_add_builtin): Likewise.
5524 2014-01-13 Tom Tromey <tromey@redhat.com>
5526 * defs.h (XZALLOC): Remove.
5527 * ada-lang.c (get_ada_inferior_data): Use XCNEW, not XZALLOC.
5528 * ada-tasks.c (get_ada_tasks_pspace_data): Likewise.
5529 (get_ada_tasks_inferior_data): Likewise.
5530 * auto-load.c (get_auto_load_pspace_data): Likewise.
5531 * auxv.c (get_auxv_inferior_data): Likewise.
5532 * bfd-target.c (target_bfd_reopen): Likewise.
5533 * breakpoint.c (get_catch_syscall_inferior_data): Likewise.
5534 (deprecated_insert_raw_breakpoint): Likewise.
5535 * bsd-uthread.c (bsd_uthread_pid_to_str): Likewise.
5536 * corelow.c (core_open): Likewise.
5537 * darwin-nat.c (darwin_check_new_threads): Likewise.
5538 (darwin_attach_pid): Likewise.
5539 * dummy-frame.c (dummy_frame_push): Likewise.
5540 * dwarf2-frame.c (dwarf2_frame_cache): Likewise.
5541 * dwarf2loc.c (allocate_piece_closure): Likewise.
5542 * elfread.c (elf_symfile_segments): Likewise.
5543 * eval.c (ptrmath_type_p): Likewise.
5544 * exceptions.c (EXCEPTIONS_SIGJMP_BUF): Likewise.
5545 * gdbtypes.c (alloc_type_arch): Likewise.
5546 (alloc_type_instance): Likewise.
5547 * hppa-tdep.c (hppa_gdbarch_init): Likewise.
5548 * inf-child.c (inf_child_can_use_agent): Likewise.
5549 * inflow.c (get_inflow_inferior_data): Likewise.
5550 * infrun.c (save_infcall_suspend_state): Likewise.
5551 * jit.c (jit_reader_load): Likewise.
5552 (get_jit_objfile_data): Likewise.
5553 (get_jit_program_space_data): Likewise.
5554 (jit_object_open_impl): Likewise.
5555 (jit_symtab_open_impl): Likewise.
5556 (jit_block_open_impl): Likewise.
5557 (jit_frame_sniffer): Likewise.
5558 * linux-fork.c (add_fork): Likewise.
5559 * maint.c (make_command_stats_cleanup): Likewise.
5560 * objfiles.c (get_objfile_pspace_data): Likewise.
5561 * opencl-lang.c (struct lval_closure): Likewise.
5562 * osdata.c (osdata_start_osdata): Likewise.
5563 * progspace.c (new_address_space): Likewise.
5564 (add_program_space): Likewise.
5565 * remote-sim.c (get_sim_inferior_data): Likewise.
5566 * sh-tdep.c (sh_gdbarch_init): Likewise.
5567 * skip.c (Ignore): Likewise.
5568 (skip_delete_command): Likewise.
5569 * solib-aix.c (get_solib_aix_inferior_data): Likewise.
5570 (library_list_start_library): Likewise.
5571 (solib_aix_current_sos): Likewise.
5572 * solib-darwin.c (get_darwin_info): Likewise.
5573 (darwin_current_sos): Likewise.
5574 * solib-dsbt.c (get_dsbt_info): Likewise.
5575 * solib-ia64-hpux.c (new_so_list): Likewise.
5576 (ia64_hpux_get_solib_linkage_addr): Likewise.
5577 * solib-spu.c (append_ocl_sos): Likewise.
5578 (spu_current_sos): Likewise.
5579 * solib-svr4.c (get_svr4_info): Likewise.
5580 (svr4_keep_data_in_core): Likewise.
5581 (library_list_start_library): Likewise.
5582 (svr4_default_sos): Likewise.
5583 (svr4_read_so_list): Likewise.
5584 * solib-target.c (library_list_start_library): Likewise.
5585 (solib_target_current_sos): Likewise.
5586 * sparc-tdep.c (sparc32_gdbarch_init): Likewise.
5587 * symfile-debug.c (install_symfile_debug_logging): Likewise.
5588 * symfile.c (default_symfile_segments): Likewise.
5589 * target-descriptions.c (tdesc_data_init): Likewise.
5590 (tdesc_create_reg): Likewise.
5591 (struct tdesc_type *): Likewise.
5592 (tdesc_create_vector): Likewise.
5593 (tdesc_set_struct_size): Likewise.
5594 (struct tdesc_type *): Likewise.
5595 (tdesc_free_feature): Likewise.
5596 (tdesc_create_feature): Likewise.
5597 * windows-nat.c (windows_add_thread): Likewise.
5598 (windows_make_so): Likewise.
5599 * xml-support.c (gdb_xml_body_text): Likewise.
5600 (gdb_xml_create_parser_and_cleanup): Likewise.
5601 (xml_process_xincludes): Likewise.
5602 * xml-syscall.c (allocate_syscalls_info): Likewise.
5603 (syscall_create_syscall_desc): Likewise.
5605 2014-01-12 Sergio Durigan Junior <sergiodj@redhat.com>
5607 * i386-tdep.c (i386_stap_parse_special_token_triplet): New
5608 function, with code from i386_stap_parse_special_token.
5609 (i386_stap_parse_special_token_three_arg_disp): Likewise.
5610 (i386_stap_parse_special_token): Move code to the two functions
5613 2014-01-09 Pedro Alves <palves@redhat.com>
5614 Hui Zhu <hui@codesourcery.com>
5617 * breakpoint.c (insert_bp_location): Rename hw_bp_err_string to
5618 bp_err_string. Don't mark the location shlib_disabled if the
5619 error thrown wasn't a generic or memory error. Catch errors
5620 thrown while inserting breakpoints in overlayed code. Output
5621 error message of software breakpoints.
5622 * remote.c (remote_insert_breakpoint): If this breakpoint has
5623 target-side commands but this stub doesn't support Z0 packets,
5624 throw NOT_SUPPORTED_ERROR error.
5625 * exceptions.h (enum errors) <NOT_SUPPORTED_ERROR>: New error.
5626 * target.h (target_insert_breakpoint): Extend comment.
5627 (target_insert_hw_breakpoint): Add comment.
5629 2014-01-08 Pedro Alves <palves@redhat.com>
5631 * remote.c (remote_add_thread): Add threads silently if starting
5633 (remote_notice_new_inferior): If in all-stop, and starting up,
5634 don't call notice_new_inferior.
5635 (get_current_thread): New function, factored out from ...
5636 (add_current_inferior_and_thread): ... this. Adjust.
5637 (remote_start_remote) <all-stop>: Fetch the thread list. If we
5638 found any thread, then select the remote's current thread as GDB's
5641 2014-01-08 Joel Brobecker <brobecker@adacore.com>
5643 * NEWS: Create a new section for the next release branch.
5644 Rename the section of the current branch, now that it has
5647 2014-01-08 Joel Brobecker <brobecker@adacore.com>
5649 GDB 7.7 branch created (79301218fa0f074c5656db0ec8972a5ddcf91fb5):
5650 * version.in: Bump version to 7.7.50.DATE-cvs.
5652 2014-01-08 Yao Qi <yao@codesourcery.com>
5654 * spu-linux-nat.c (spu_symbol_file_add_from_memory): Change
5655 type of 'id' to gdb_byte. Cast 'id' to 'const char *'.
5656 (spu_xfer_partial): Cast 'buf' to 'const char *'.
5658 2014-01-08 Yao Qi <yao@codesourcery.com>
5660 * spu-linux-nat.c (spu_symbol_file_add_from_memory): Pass
5661 return value of bfd_get_filename to symbol_file_add_from_bfd.
5663 2014-01-08 Pierre Muller <muller@sourceware.org>
5666 * coff-pe-read.c (struct read_pe_section_data): Add index field.
5667 (add_pe_exported_sym): Use SECTION_DATA->INDEX for call
5668 to prim_record_mininal_symbol_and_info.
5669 (add_pe_forwarded_sym): Use known section number of forwarded symbol
5670 in call to prim_record_minimal_symbol_and_info.
5671 (read_pe_exported_syms): Set index field of section_data.
5673 2014-01-07 Andrew Pinski <apinski@cavium.com>
5675 * features/aarch64-core.xml (cpsr): Change to be 64bit.
5676 * features/aarch64.c: Regenerate.
5678 2014-01-07 Andreas Schwab <schwab@linux-m68k.org>
5680 * target.c (return_null): Define.
5681 (update_current_target): Use it instead of return_zero for
5682 functions that return a pointer.
5684 2014-01-07 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
5686 * source.c (add_path): Fix check for duplicated paths in the previously
5689 2014-01-07 Honggyu Kim <hong.gyu.kim@lge.com>
5691 * ada-lang.c: Remove duplicated include statements.
5692 * alphabsd-nat.c: Ditto.
5693 * amd64-darwin-tdep.c: Ditto.
5694 * amd64fbsd-nat.c: Ditto.
5695 * auto-load.c: Ditto.
5697 * breakpoint.c: Ditto.
5699 * fork-child.c: Ditto.
5700 * gdb_usleep.c: Ditto.
5701 * i386-darwin-tdep.c: Ditto.
5702 * i386fbsd-nat.c: Ditto.
5704 * inferior.c: Ditto.
5706 * linux-nat.c: Ditto.
5707 * linux-tdep.c: Ditto.
5708 * m68kbsd-nat.c: Ditto.
5709 * m68klinux-nat.c: Ditto.
5710 * microblaze-tdep.c: Ditto.
5711 * mips-linux-tdep.c: Ditto.
5712 * mn10300-tdep.c: Ditto.
5713 * nto-tdep.c: Ditto.
5714 * opencl-lang.c: Ditto.
5716 * printcmd.c: Ditto.
5717 * regcache.c: Ditto.
5718 * remote-m32r-sdi.c: Ditto.
5722 * tilegx-linux-nat.c: Ditto.
5723 * tilegx-tdep.c: Ditto.
5724 * tracepoint.c: Ditto.
5726 * vaxbsd-nat.c: Ditto.
5727 * windows-nat.c: Ditto.
5728 * xtensa-tdep.c: Ditto.
5730 2014-01-07 Yao Qi <yao@codesourcery.com>
5732 * spu-linux-nat.c (_initialize_spu_nat): Declare.
5734 2014-01-07 Yao Qi <yao@codesourcery.com>
5735 Joel Brobecker <brobecker@adacore.com>
5737 * aix-thread.c (pdc_read_regs): Cast parameter to uintptr_t.
5738 (pdc_write_regs): Likewise.
5739 (fetch_regs_kernel_thread): Likewise.
5740 (store_regs_kernel_thread): Likewise.
5742 2014-01-07 Joel Brobecker <brobecker@adacore.com>
5744 * ada-varobj.c (ada_varobj_adjust_for_child_access): Convert
5745 tagged type objects to their actual type.
5747 2014-01-07 Joel Brobecker <brobecker@adacore.com>
5749 * ada-valprint.c (print_field_values): Add "language" parameter.
5750 Update calls to print_field_values and print_variant_part.
5751 Pass new parameter "language" in call to val_print instead
5752 of "current_language". Replace call to ada_val_print by call
5754 (print_variant_part): Add "language" parameter.
5755 (ada_val_print_struct_union): Update call to print_field_values.
5757 2014-01-07 Joel Brobecker <brobecker@adacore.com>
5759 * ada-valprint.c (ui_memcpy): Delete.
5760 (ada_print_floating): Update documentation. Add empty line
5761 between between function documentation and implementation.
5762 Delete variable "buffer". Use ui_file_xstrdup in place of
5763 ui_file_put. Minor adjustments following this change.
5765 2014-01-07 Joel Brobecker <brobecker@adacore.com>
5767 * ada-valprint.c (ada_val_print_string): New function,
5768 extracted from ada_val_print_array.
5769 (ada_val_print_array): Replace extracted code by call
5770 to ada_val_print_string followed by a return. Move
5771 "else" branch to the function's top block.
5773 2014-01-07 Joel Brobecker <brobecker@adacore.com>
5775 * ada-valprint.c (ada_val_print_array): Move implementation
5776 down. Rename parameter "offset" and "val" into "offset_aligned"
5777 and "original_value" respectively. Add parameter "offset".
5779 2014-01-07 Joel Brobecker <brobecker@adacore.com>
5781 * ada-valprint.c (ada_val_print_ref): Rewrite by mostly
5782 re-organizing the code. Change the "???" message printed
5783 when target type is a TYPE_CODE_UNDEF into
5784 "<ref to undefined type>".
5786 2014-01-07 Joel Brobecker <brobecker@adacore.com>
5788 * ada-valprint.c (print_record): Delete, implementation inlined...
5789 (ada_val_print_struct_union): ... here. Remove call to
5790 ada_check_typedef in inlined implementation.
5792 2014-01-07 Joel Brobecker <brobecker@adacore.com>
5794 * ada-valprint.c (ada_val_print_gnat_array): New function,
5795 extracted from ada_val_print_1;
5796 (ada_val_print_ptr, ada_val_print_num, ada_val_print_enum)
5797 (ada_val_print_flt, ada_val_print_struct_union)
5798 (ada_val_print_ref): Likewise.
5799 (ada_val_print_1): Delete variables i and elttype.
5800 Replace extracted-out code by call to corresponding
5803 2014-01-07 Joel Brobecker <brobecker@adacore.com>
5805 * ada-valprint.c (ada_val_print_1): Remove call to gdb_flush.
5807 2014-01-07 Joel Brobecker <brobecker@adacore.com>
5809 * ada-valprint.c (ada_val_print_1): Replace calls to
5810 ada_val_print_1 by calls to val_print.
5812 2014-01-07 Joel Brobecker <brobecker@adacore.com>
5814 * ada-valprint.c (ada_val_print_1): Add parameter "language".
5815 Update calls to self accordingly. Replace calls to c_val_print
5816 by calls to val_print.
5818 2014-01-07 Joel Brobecker <brobecker@adacore.com>
5820 * ada-valprint.c (print_record): Delete declaration.
5821 (adjust_type_signedness, ada_val_print_1): Likewise.
5822 (ada_val_print): Move function implementation down.
5823 (print_variant_part, print_field_values, print_record):
5824 Move function implementation up.
5826 2014-01-07 Joel Brobecker <brobecker@adacore.com>
5828 * python/py-type.c (typy_get_name): New function.
5829 (type_object_getset): Add entry for attribute "name".
5830 * NEWS: Add entry mentioning this new attribute.
5832 2014-01-07 Yao Qi <yao@codesourcery.com>
5834 * gnu-nat.c (set_exceptions_cmd): Remove an empty body 'if'
5837 2014-01-07 Yao Qi <yao@codesourcery.com>
5839 * gnu-nat.c (info_port_rights): Add qualifier const to
5842 2014-01-07 Yao Qi <yao@codesourcery.com>
5844 * gnu-nat.c (trace_me): Use 'void' for empty argument list.
5846 2014-01-07 Yao Qi <yao@codesourcery.com>
5848 * gnu-nat.c (make_inf) Update declaration.
5849 (make_inf): Make it static.
5850 (inf_set_traced): Likewise.
5851 (inf_port_to_thread, inf_task_died_status): Likewise.
5853 2014-01-07 Yao Qi <yao@codesourcery.com>
5855 * gnu-nat.c (inf_tid_to_proc): Remove declaration.
5857 2014-01-07 Yao Qi <yao@codesourcery.com>
5859 * gnu-nat.c (_initialize_gnu_nat): Declare.
5861 2014-01-07 Yao Qi <yao@codesourcery.com>
5863 * gdbarch.sh (byte_order, byte_order_for_code): Change type to
5865 (struct gdbarch_info) <byte_order>: Change type to
5867 <byte_order_for_code>: Likewise.
5868 * gdbarch.c, gdbarch.h: Regenerated.
5870 2014-01-06 Sasha Smundak <asmundak@google.com>
5872 * jit.c: (jit_reader_load_command): Fix JIT reader path creation.
5874 2014-01-06 Tom Tromey <tromey@redhat.com>
5876 * doublest.c (convert_doublest_to_floatformat): Use const, not
5878 * somread.c (som_symtab_read): Likewise.
5880 2014-01-07 Hui Zhu <hui@codesourcery.com>
5882 * gdb_bfd.c (gdb_bfd_stash_filename): Removed.
5883 (gdb_bfd_open): Removed gdb_bfd_stash_filename.
5884 (gdb_bfd_fopen): Ditto.
5885 (gdb_bfd_openr): Ditto.
5886 (gdb_bfd_openw): Ditto.
5887 (gdb_bfd_openr_iovec): Ditto.
5888 (gdb_bfd_fdopenr): Ditto.
5889 * gdb_bfd.h (gdb_bfd_stash_filename): Removed.
5890 * solib-aix.c (solib_aix_bfd_open): Alloc object_bfd->filename
5892 * solib-darwin.c (darwin_bfd_open): Alloc res->filename
5894 * symfile-mem.c (symbol_file_add_from_memory): Removed
5895 gdb_bfd_stash_filename.
5897 2014-01-03 Doug Evans <dje@google.com>
5899 * nat/linux-waitpid.c (linux_debug): Remove extraneous \n from
5902 2014-01-01 Joel Brobecker <brobecker@adacore.com>
5904 Update year range in copyright notice of all files.
5906 2014-01-01 Joel Brobecker <brobecker@adacore.com>
5908 * top.c (print_gdb_version): Set copyright year to 2014.
5910 2014-01-01 Joel Brobecker <brobecker@adacore.com>
5912 * config/djgpp/fnchange.lst: Add entry for gdb/ChangeLog-2013.
5914 For older changes see ChangeLog-2013.
5920 version-control: never