1 2014-03-03 Tom Tromey <tromey@redhat.com>
3 * elfread.c (probe_key): Change to bfd_data.
4 (elf_get_probes, probe_key_free, _initialize_elfread): Probes are
5 now per-BFD, not per-objfile.
6 * stap-probe.c (stap_probe_destroy): Update comment.
7 (handle_stap_probe): Allocate on the per-BFD obstack.
9 2014-03-03 Tom Tromey <tromey@redhat.com>
11 * break-catch-throw.c (fetch_probe_arguments): Use bound probes.
12 * breakpoint.c (create_longjmp_master_breakpoint): Use
14 (add_location_to_breakpoint, bkpt_probe_insert_location)
15 (bkpt_probe_remove_location): Update.
16 * breakpoint.h (struct bp_location) <probe>: Now a bound_probe.
17 * elfread.c (elf_symfile_relocate_probe): Remove.
18 (elf_probe_fns): Update.
19 (insert_exception_resume_breakpoint): Change type of "probe"
20 parameter to bound_probe.
21 (check_exception_resume): Update.
22 * objfiles.c (objfile_relocate1): Don't relocate probes.
23 * probe.c (bound_probe_s): New typedef.
24 (parse_probes): Use get_probe_address. Set sal's objfile.
25 (find_probe_by_pc): Return a bound_probe.
26 (collect_probes): Return a VEC(bound_probe_s).
27 (compare_probes): Update.
28 (gen_ui_out_table_header_info): Change type of "probes"
30 (info_probes_for_ops): Update.
31 (get_probe_address): New function.
32 (probe_safe_evaluate_at_pc): Update.
33 * probe.h (struct probe_ops) <get_probe_address>: New field.
34 <set_semaphore, clear_semaphore>: Add objfile parameter.
35 (struct probe) <objfile>: Remove field.
37 <address>: Update comment.
38 (struct bound_probe): New.
39 (find_probe_by_pc): Return a bound_probe.
40 (get_probe_address): Declare.
41 * solib-svr4.c (struct probe_and_action) <address>: New field.
42 (hash_probe_and_action, equal_probe_and_action): Update.
43 (register_solib_event_probe): Add address parameter.
44 (solib_event_probe_at): Update.
45 (svr4_create_probe_breakpoints): Add objfile parameter. Use
47 * stap-probe.c (struct stap_probe) <sem_addr>: Update comment.
48 (stap_get_probe_address): New function.
49 (stap_can_evaluate_probe_arguments, compute_probe_arg)
50 (compile_probe_arg): Update.
51 (stap_set_semaphore, stap_clear_semaphore): Compute semaphore's
53 (handle_stap_probe): Don't relocate the probe.
54 (stap_relocate): Remove.
55 (stap_gen_info_probes_table_values): Update.
56 (stap_probe_ops): Remove stap_relocate.
57 * symfile-debug.c (debug_sym_relocate_probe): Remove.
58 (debug_sym_probe_fns): Update.
59 * symfile.h (struct sym_probe_fns) <sym_relocate_probe>: Remove.
60 * symtab.c (init_sal): Use memset.
61 * symtab.h (struct symtab_and_line) <objfile>: New field.
62 * tracepoint.c (start_tracing, stop_tracing): Update.
64 2014-03-03 Tom Tromey <tromey@redhat.com>
66 * probe.h (parse_probes, find_probe_by_pc)
67 (find_probes_in_objfile): Fix comments.
69 2014-03-02 Doug Evans <xdje42@gmail.com>
71 * infrun.c (handle_signal_stop): Replace test for
72 TARGET_WAITKIND_STOPPED with an assert.
74 2014-03-02 Doug Evans <xdje42@gmail.com>
76 * guile/scm-objfile.c (ofscm_mark_objfile_smob): Fix typo in comment.
78 2014-03-02 Doug Evans <xdje42@gmail.com>
80 * guile/lib/gdb/printing.scm (append-pretty-printer!): Fix thinko.
82 2014-03-01 Mark Kettenis <kettenis@gnu.org>
84 * obsd-nat.c: Include "gdb_wait.h" instead of <sys/wait.h>.
86 2014-03-01 Mark Kettenis <kettenis@gnu.org>
88 * i386obsd-nat.c: Include "obsd-nat.h".
89 (_initialize_i386obsd_nat): Call obsd_add_target instead of
91 * config/i386/obsd.mh (NATDEPFILES): Add obsd-nat.o.
93 2014-03-01 Mark Kettenis <kettenis@gnu.org>
95 * i386obsd-nat.c (i386obsd_supply_pcb): Cast 'sf' to 'gdb_byte *'.
97 2014-03-01 Mark Kettenis <kettenis@gnu.org>
99 * mips64obsd-nat.c: Include "obsd-nath".
100 (_initialize_mips64obsd_nat): Call obsd_add_target instead of
102 * config/mips/obsd64.mh (NATDEPFILES): Add obsd-nat.o.
104 2014-03-01 Mark Kettenis <kettenis@gnu.org>
106 * amd64obsd-nat.c: Include "obsd-nat,h.
107 (_initialize_amd64obsd_nat): Call obsd_add_target instead of
109 * config/i386/obsd64.mh (NATDEPFILES): Add obsd-nat.o.
111 2014-02-28 Siva Chandra Reddy <sivachandra@google.com>
113 * valops.c (find_oload_champ): Remove unneccesary argument METHOD.
114 (find_overload_match): Update call to find_oload_champ.
115 (find_oload_champ_namespace_loop): Likewise
117 2014-02-28 Mark Kettenis <kettenis@gnu.org>
119 * Makefile.in (ALLDEPFILES): Add sparc64obsd-nat.c.
121 * configure.host (sparc64-*-openbsd*): Set gdb_host to obsd64.
122 * config/sparc/obsd64.mh: New file.
123 * sparc64obsd-nat.c: New file.
125 * obsd-nat.h: New file.
126 * obsd-nat.c: New file.
127 * Makefile.in (HFILES_NO_SRCDIR): Add obsd-nat.h.
128 (ALLDEPFILES): Add obsd-nat.c.
130 2014-02-28 Tom Tromey <tromey@redhat.com>
132 * cli-out.c (cli_ui_out_impl): Now const. Remove comment.
133 * cli-out.h (cli_ui_out_impl): Now const.
134 * mi/mi-out.c (mi_ui_out_impl): Now const. Remove comment.
135 * ui-out.c (struct ui_out) <impl>: Now const.
136 (default_ui_out_impl): Now const.
137 (ui_out_new): Make 'impl' parameter const.
138 * ui-out.h (ui_out_new): Update.
140 2014-02-27 Mark Kettenis <kettenis@gnu.org>
142 * solib-svr4.c (svr4_read_so_list): Initialize first_l_name to 0.
144 2014-02-27 Mark Kettenis <kettenis@gnu.org>
146 * sparc-nat.c (sparc_xfer_wcookie): Always use process ID.
148 2014-02-27 Jan Kratochvil <jan.kratochvil@redhat.com>
150 Additional PR 8882 fix.
151 * solib-svr4.c (svr4_read_so_list): Change first to first_l_name.
153 2014-02-27 Pedro Alves <palves@redhat.com>
155 * nat/linux-waitpid.c (my_waitpid): Only block signals if WNOHANG
158 2014-02-27 Pedro Alves <palves@redhat.com>
161 * linux-nat.c (status_to_str): Moved to nat/linux-waitpid.c.
162 * nat/linux-waitpid.c: Include string.h.
163 (status_to_str): Moved here and made extern.
164 * nat/linux-waitpid.h (status_to_str): New declaration.
166 2014-02-27 Hui Zhu <hui@codesourcery.com>
169 * infrun.c (ptid_match): Move ...
170 * common/ptid.c (ptid_match): ... here.
171 * inferior.h (ptid_match): Move ...
172 * common/ptid.h (ptid_match): ... here.
174 2014-02-27 Mark Kettenis <kettenis@gnu.org>
176 * mips64obsd-tdep.c (mips64obsd_init_abi): Call obsd_init_abi.
177 * configure.tgt (mips64*-*-openbsd*): Add obsd-tdep.c to
180 2014-02-27 Mark Kettenis <kettenis@gnu.org>
182 * obsd-tdep.c (obsd_auxv_parse): New function.
183 (obsd_init_abi): Set auxv_parse.
185 * gdbarch.sh (auxv_parse): New.
186 * gdbarch.h: Regenerated.
187 * gdbarch.c: Regenerated.
188 * auxv.c (target_auxv_parse): Call gdbarch_parse_auxv if provided.
190 2014-02-26 Ludovic Courtès <ludo@gnu.org>
192 * guile/scm-value.c (gdbscm_history_append_x): New function.
193 (value_functions): Add it.
195 2014-02-27 Joel Brobecker <brobecker@adacore.com>
197 * dwarf2read.c (attr_value_as_address): New function.
198 (dwarf2_find_base_address, read_call_site_scope): Use
199 attr_value_as_address in place of DW_ADDR.
200 (dwarf2_get_pc_bounds): Use attr_value_as_address to get
201 the low and high addresses. Slight rework of the handling
202 of the high pc being a constant form, and limit it to
203 DWARF verson 4 or higher.
204 (dwarf2_record_block_ranges): Likewise.
205 (read_partial_die): Likewise.
206 (new_symbol_full): Use attr_value_as_address in place of DW_ADDR.
208 2014-02-26 Tom Tromey <tromey@redhat.com>
210 * exec.c (exec_file_attach): Hold a reference to exec_bfd.
212 2014-02-26 Tom Tromey <tromey@redhat.com>
214 * elfread.c (elf_read_minimal_symbols): Return early if
215 minimal symbols have already been read. Add "ei" parameter.
216 (elf_symfile_read): Call elf_read_minimal_symbols earlier.
217 * minsyms.c (prim_record_minimal_symbol_full): Update.
218 * objfiles.h (struct objstats) <n_minsyms>: Move...
219 (struct objfile_per_bfd_storage) <n_minsyms>: ... here.
220 * symmisc.c (print_objfile_statistics): Update.
222 2014-02-26 Tom Tromey <tromey@redhat.com>
224 * elfread.c (elf_read_minimal_symbols): New function, from
226 (elf_symfile_read): Call it.
228 2014-02-26 Tom Tromey <tromey@redhat.com>
230 * minsyms.c (lookup_minimal_symbol, iterate_over_minimal_symbols)
231 (lookup_minimal_symbol_text, lookup_minimal_symbol_by_pc_name)
232 (lookup_minimal_symbol_solib_trampoline)
233 (lookup_minimal_symbol_by_pc_section_1)
234 (lookup_minimal_symbol_and_objfile): Update.
235 (prim_record_minimal_symbol_full): Use the per-BFD obstack.
236 Don't allocate a minimal symbol if minsyms have already been read.
237 (build_minimal_symbol_hash_tables): Update.
238 (install_minimal_symbols): Do nothing if minsyms already read.
239 Use the per-BFD obstack.
240 (terminate_minimal_symbol_table): Use the per-BFD obstack.
241 * objfiles.c (allocate_objfile): Call
242 terminate_minimal_symbol_table later.
243 (have_minimal_symbols): Update.
244 * objfiles.h (struct objfile_per_bfd_storage) <msymbols,
245 minimal_symbol_count, msymbol_hash, msymbol_demangled_hash>:
246 Move from struct objfile.
247 <minsyms_read>: New field.
248 (struct objfile) <msymbols, minimal_symbol_count,
249 msymbol_hash, msymbol_demangled_hash>: Move.
250 (ALL_OBJFILE_MSYMBOLS): Update.
251 * symfile.c (read_symbols): Set minsyms_read.
252 (reread_symbols): Update.
253 * symmisc.c (dump_objfile, dump_msymbols): Update.
255 2014-02-26 Tom Tromey <tromey@redhat.com>
257 * minsyms.c (msymbols_sort): Remove.
258 * minsyms.h (msymbols_sort): Remove.
259 * objfiles.c (objfile_relocate1): Don't relocate minsyms.
260 * symtab.h (MSYMBOL_VALUE_ADDRESS): Use objfile offsets.
261 * elfread.c (elf_symtab_read): Don't add section offsets.
262 * xcoffread.c (record_minimal_symbol): Don't add section offset
263 to minimal symbol address.
264 * somread.c (text_offset, data_offset): Remove.
265 (som_symtab_read): Don't add section offsets to minimal symbol
267 * coff-pe-read.c (add_pe_forwarded_sym, read_pe_exported_syms):
268 Don't add section offsets to minimal symbols.
269 * coffread.c (coff_symtab_read): Don't add section offsets
270 to minimal symbol addresses.
271 * machoread.c (macho_symtab_add_minsym): Don't add section offset
272 to minimal symbol addresses.
273 * mipsread.c (read_alphacoff_dynamic_symtab): Don't add
274 section offset to minimal symbol addresses.
275 * mdebugread.c (parse_partial_symbols): Don't add section
276 offset to minimal symbol addresses.
277 * dbxread.c (read_dbx_dynamic_symtab): Don't add section
278 offset to minimal symbol addresses.
280 2014-02-26 Tom Tromey <tromey@redhat.com>
282 * ada-lang.c (ada_main_name): Update.
283 (ada_add_standard_exceptions): Update.
284 * ada-tasks.c (ada_tasks_inferior_data_sniffer): Update.
285 * aix-thread.c (pdc_symbol_addrs, pd_enable): Update.
286 * arm-tdep.c (skip_prologue_function, arm_skip_stub): Update.
287 * auxv.c (ld_so_xfer_auxv): Update.
288 * avr-tdep.c (avr_scan_prologue): Update.
289 * ax-gdb.c (gen_var_ref): Update.
290 * blockframe.c (get_pc_function_start)
291 (find_pc_partial_function_gnu_ifunc): Update.
292 * breakpoint.c (create_overlay_event_breakpoint)
293 (create_longjmp_master_breakpoint)
294 (create_std_terminate_master_breakpoint)
295 (create_exception_master_breakpoint): Update.
296 * bsd-uthread.c (bsd_uthread_lookup_address): Update.
297 * c-valprint.c (c_val_print): Update.
298 * coff-pe-read.c (add_pe_forwarded_sym): Update.
299 * common/agent.c (agent_look_up_symbols): Update.
300 * dbxread.c (find_stab_function_addr, end_psymtab): Update.
301 * dwarf2loc.c (call_site_to_target_addr): Update.
302 * dwarf2read.c (dw2_find_pc_sect_symtab): Update.
303 * elfread.c (elf_gnu_ifunc_record_cache)
304 (elf_gnu_ifunc_resolve_by_got): Update.
305 * findvar.c (default_read_var_value): Update.
306 * frame.c (inside_main_func): Update.
307 * frv-tdep.c (frv_frame_this_id): Update.
308 * glibc-tdep.c (glibc_skip_solib_resolver): Update.
309 * gnu-v3-abi.c (gnuv3_get_typeid, gnuv3_skip_trampoline):
311 * hppa-hpux-tdep.c (hppa64_hpux_search_dummy_call_sequence)
312 (hppa_hpux_find_dummy_bpaddr): Update.
313 * hppa-tdep.c (hppa_symbol_address): Update.
314 * infcmd.c (until_next_command): Update.
315 * jit.c (jit_read_descriptor, jit_breakpoint_re_set_internal):
317 * linespec.c (minsym_found, add_minsym): Update.
318 * linux-nat.c (get_signo): Update.
319 * linux-thread-db.c (inferior_has_bug): Update.
320 * m32c-tdep.c (m32c_return_value)
321 (m32c_m16c_address_to_pointer): Update.
322 * m32r-tdep.c (m32r_frame_this_id): Update.
323 * m68hc11-tdep.c (m68hc11_get_register_info): Update.
324 * machoread.c (macho_resolve_oso_sym_with_minsym): Update.
325 * maint.c (maintenance_translate_address): Update.
326 * minsyms.c (lookup_minimal_symbol_by_pc_name): Update.
327 (frob_address): New function.
328 (lookup_minimal_symbol_by_pc_section_1): Use raw addresses,
329 frob_address. Rename parameter to "pc_in".
330 (compare_minimal_symbols, compact_minimal_symbols): Use raw
332 (find_solib_trampoline_target, minimal_symbol_upper_bound):
334 * mips-linux-tdep.c (mips_linux_skip_resolver): Update.
335 * mips-tdep.c (mips_skip_pic_trampoline_code): Update.
336 * objc-lang.c (find_objc_msgsend): Update.
337 * objfiles.c (objfile_relocate1): Update.
338 * obsd-tdep.c (obsd_skip_solib_resolver): Update.
339 * p-valprint.c (pascal_val_print): Update.
340 * parse.c (write_exp_msymbol): Update.
341 * ppc-linux-tdep.c (ppc_linux_spe_context_lookup)
342 (ppc_elfv2_skip_entrypoint): Update.
343 * ppc-sysv-tdep.c (convert_code_addr_to_desc_addr): Update.
344 * printcmd.c (build_address_symbolic, msym_info)
345 (address_info): Update.
346 * proc-service.c (ps_pglobal_lookup): Update.
347 * psymtab.c (find_pc_sect_psymtab_closer)
348 (find_pc_sect_psymtab, find_pc_sect_symtab_from_partial):
349 Change msymbol parameter to bound_minimal_symbol.
350 * ravenscar-thread.c (get_running_thread_id): Update.
351 * remote.c (remote_check_symbols): Update.
352 * sh64-tdep.c (sh64_elf_make_msymbol_special): Use raw
354 * sol2-tdep.c (sol2_skip_solib_resolver): Update.
355 * solib-dsbt.c (lm_base): Update.
356 * solib-frv.c (lm_base, main_got): Update.
357 * solib-irix.c (locate_base): Update.
358 * solib-som.c (som_solib_create_inferior_hook)
359 (link_map_start): Update.
360 * solib-spu.c (spu_enable_break, ocl_enable_break): Update.
361 * solib-svr4.c (elf_locate_base, enable_break): Update.
362 * spu-tdep.c (spu_get_overlay_table, spu_catch_start)
363 (flush_ea_cache): Update.
364 * stabsread.c (define_symbol, scan_file_globals): Update.
365 * stack.c (find_frame_funname): Update.
366 * symfile-debug.c (debug_qf_expand_symtabs_matching)
367 (debug_qf_find_pc_sect_symtab): Update.
368 * symfile.c (simple_read_overlay_table)
369 (simple_overlay_update): Update.
370 * symfile.h (struct quick_symbol_functions)
371 <find_pc_sect_symtab>: Change type of msymbol to
372 bound_minimal_symbol.
373 * symmisc.c (dump_msymbols): Update.
374 * symtab.c (find_pc_sect_symtab_via_partial)
375 (find_pc_sect_psymtab, find_pc_sect_line, skip_prologue_sal)
376 (search_symbols, print_msymbol_info): Update.
377 * symtab.h (MSYMBOL_VALUE_RAW_ADDRESS): New macro.
378 (MSYMBOL_VALUE_ADDRESS): Redefine.
379 (BMSYMBOL_VALUE_ADDRESS): New macro.
380 * tracepoint.c (scope_info): Update.
381 * tui/tui-disasm.c (tui_find_disassembly_address)
382 (tui_get_begin_asm_address): Update.
383 * valops.c (find_function_in_inferior): Update.
384 * value.c (value_static_field, value_fn_field): Update.
386 2014-02-26 Tom Tromey <tromey@redhat.com>
388 * ada-lang.c (ada_update_initial_language): Update.
389 (ada_main_name, ada_has_this_exception_support): Update.
390 * ada-tasks.c (ada_tasks_inferior_data_sniffer): Update.
391 * aix-thread.c (pdc_symbol_addrs, pd_enable): Update.
392 * arm-tdep.c (arm_skip_stub): Update.
393 * auxv.c (ld_so_xfer_auxv): Update.
394 * avr-tdep.c (avr_scan_prologue): Update.
395 * ax-gdb.c (gen_var_ref): Update.
396 * breakpoint.c (struct breakpoint_objfile_data)
397 <overlay_msym, longjmp_msym, terminate_msym, exception_msym>: Change
398 type to bound_minimal_symbol.
399 (create_overlay_event_breakpoint)
400 (create_longjmp_master_breakpoint)
401 (create_std_terminate_master_breakpoint)
402 (create_exception_master_breakpoint): Update.
403 * bsd-uthread.c (bsd_uthread_lookup_address): Update.
404 * c-exp.y (classify_name): Update.
405 * coffread.c (coff_symfile_read): Update.
406 * common/agent.c (agent_look_up_symbols): Update.
407 * d-lang.c (d_main_name): Update.
408 * dbxread.c (find_stab_function_addr, end_psymtab): Update.
409 * dec-thread.c (enable_dec_thread): Update.
410 * dwarf2loc.c (call_site_to_target_addr): Update.
411 * elfread.c (elf_gnu_ifunc_resolve_by_got): Update.
412 * eval.c (evaluate_subexp_standard): Update.
413 * findvar.c (struct minsym_lookup_data) <result>: Change type
414 to bound_minimal_symbol.
416 (minsym_lookup_iterator_cb, default_read_var_value): Update.
417 * frame.c (inside_main_func): Update.
418 * frv-tdep.c (frv_frame_this_id): Update.
419 * gcore.c (call_target_sbrk): Update.
420 * glibc-tdep.c (glibc_skip_solib_resolver): Update.
421 * gnu-v3-abi.c (gnuv3_get_typeid, gnuv3_skip_trampoline):
423 * go-lang.c (go_main_name): Update.
424 * hppa-hpux-tdep.c (hppa_hpux_skip_trampoline_code)
425 (hppa_hpux_find_import_stub_for_addr): Update.
426 * hppa-tdep.c (hppa_extract_17, hppa_lookup_stub_minimal_symbol):
427 Update. Change return type.
428 * hppa-tdep.h (hppa_lookup_stub_minimal_symbol): Change return
430 * jit.c (jit_breakpoint_re_set_internal): Update.
431 * linux-fork.c (inferior_call_waitpid, checkpoint_command):
433 * linux-nat.c (get_signo): Update.
434 * linux-thread-db.c (inferior_has_bug): Update
435 * m32c-tdep.c (m32c_return_value)
436 (m32c_m16c_address_to_pointer): Update.
437 * m32r-tdep.c (m32r_frame_this_id): Update.
438 * m68hc11-tdep.c (m68hc11_get_register_info): Update.
439 * machoread.c (macho_resolve_oso_sym_with_minsym): Update.
440 * minsyms.c (lookup_minimal_symbol_internal): Rename to
441 lookup_minimal_symbol. Change return type.
442 (lookup_minimal_symbol): Remove.
443 (lookup_bound_minimal_symbol): Update.
444 (lookup_minimal_symbol_text): Change return type.
445 (lookup_minimal_symbol_solib_trampoline): Change return type.
446 * minsyms.h (lookup_minimal_symbol, lookup_minimal_symbol_text)
447 (lookup_minimal_symbol_solib_trampoline): Change return type.
448 * mips-linux-tdep.c (mips_linux_skip_resolver): Update.
449 * objc-lang.c (lookup_objc_class, lookup_child_selector)
450 (value_nsstring, find_imps): Update.
451 * obsd-tdep.c (obsd_skip_solib_resolver): Update.
452 * p-lang.c (pascal_main_name): Update.
453 * ppc-linux-tdep.c (ppc_linux_spe_context_lookup): Update.
454 * ppc-sysv-tdep.c (convert_code_addr_to_desc_addr): Update.
455 * proc-service.c (ps_pglobal_lookup): Update.
456 * ravenscar-thread.c (get_running_thread_msymbol): Change
458 (has_ravenscar_runtime, get_running_thread_id): Update.
459 * remote.c (remote_check_symbols): Update.
460 * sol-thread.c (ps_pglobal_lookup): Update.
461 * sol2-tdep.c (sol2_skip_solib_resolver): Update.
462 * solib-dsbt.c (lm_base): Update.
463 * solib-frv.c (lm_base, frv_relocate_section_addresses):
465 * solib-irix.c (locate_base): Update.
466 * solib-som.c (som_solib_create_inferior_hook)
467 (som_solib_desire_dynamic_linker_symbols, link_map_start):
469 * solib-spu.c (spu_enable_break): Update.
470 * solib-svr4.c (elf_locate_base, enable_break): Update.
471 * spu-tdep.c (spu_get_overlay_table, spu_catch_start)
472 (flush_ea_cache): Update.
473 * stabsread.c (define_symbol): Update.
474 * symfile.c (simple_read_overlay_table): Update.
475 * symtab.c (find_pc_sect_line): Update.
476 * tracepoint.c (scope_info): Update.
477 * tui-disasm.c (tui_get_begin_asm_address): Update.
478 * value.c (value_static_field): Update.
480 2014-02-26 Tom Tromey <tromey@redhat.com>
482 * minsyms.c (prim_record_minimal_symbol_full): Use
483 SET_MSYMBOL_VALUE_ADDRESS.
484 * objfiles.c (objfile_relocate1): Use SET_MSYMBOL_VALUE_ADDRESS.
485 * sh64-tdep.c (sh64_elf_make_msymbol_special): Use
486 SET_MSYMBOL_VALUE_ADDRESS.
487 * symtab.h (MSYMBOL_VALUE_ADDRESS): Expand to an rvalue.
488 (SET_MSYMBOL_VALUE_ADDRESS): New macro.
490 2014-02-26 Tom Tromey <tromey@redhat.com>
492 * symtab.h (struct minimal_symbol) <mginfo>: Rename from ginfo.
493 (MSYMBOL_VALUE, MSYMBOL_VALUE_ADDRESS, MSYMBOL_VALUE_BYTES)
494 (MSYMBOL_BLOCK_VALUE, MSYMBOL_VALUE_CHAIN, MSYMBOL_LANGUAGE)
495 (MSYMBOL_SECTION, MSYMBOL_OBJ_SECTION, MSYMBOL_NATURAL_NAME)
496 (MSYMBOL_LINKAGE_NAME, MSYMBOL_PRINT_NAME, MSYMBOL_DEMANGLED_NAME)
497 (MSYMBOL_SET_LANGUAGE, MSYMBOL_SEARCH_NAME)
498 (MSYMBOL_MATCHES_SEARCH_NAME, MSYMBOL_SET_NAMES): New macros.
499 * ada-lang.c (ada_main_name): Update.
500 (ada_lookup_simple_minsym): Update.
501 (ada_make_symbol_completion_list): Update.
502 (ada_add_standard_exceptions): Update.
503 * ada-tasks.c (read_atcb, ada_tasks_inferior_data_sniffer): Update.
504 * aix-thread.c (pdc_symbol_addrs, pd_enable): Update.
505 * amd64-windows-tdep.c (amd64_skip_main_prologue): Update.
506 * arm-tdep.c (skip_prologue_function): Update.
507 (arm_skip_stack_protector, arm_skip_stub): Update.
508 * arm-wince-tdep.c (arm_pe_skip_trampoline_code): Update.
509 (arm_wince_skip_main_prologue): Update.
510 * auxv.c (ld_so_xfer_auxv): Update.
511 * avr-tdep.c (avr_scan_prologue): Update.
512 * ax-gdb.c (gen_var_ref): Update.
513 * block.c (call_site_for_pc): Update.
514 * blockframe.c (get_pc_function_start): Update.
515 (find_pc_partial_function_gnu_ifunc): Update.
516 * breakpoint.c (create_overlay_event_breakpoint): Update.
517 (create_longjmp_master_breakpoint): Update.
518 (create_std_terminate_master_breakpoint): Update.
519 (create_exception_master_breakpoint): Update.
520 (resolve_sal_pc): Update.
521 * bsd-uthread.c (bsd_uthread_lookup_address): Update.
522 * btrace.c (ftrace_print_function_name, ftrace_function_switched):
524 * c-valprint.c (c_val_print): Update.
525 * coff-pe-read.c (add_pe_forwarded_sym): Update.
526 * coffread.c (coff_symfile_read): Update.
527 * common/agent.c (agent_look_up_symbols): Update.
528 * dbxread.c (find_stab_function_addr): Update.
529 (end_psymtab): Update.
530 * dwarf2loc.c (call_site_to_target_addr): Update.
531 (func_verify_no_selftailcall): Update.
532 (tailcall_dump): Update.
533 (call_site_find_chain_1): Update.
534 (dwarf_expr_reg_to_entry_parameter): Update.
535 * elfread.c (elf_gnu_ifunc_record_cache): Update.
536 (elf_gnu_ifunc_resolve_by_got): Update.
537 * f-valprint.c (info_common_command): Update.
538 * findvar.c (read_var_value): Update.
539 * frame.c (get_prev_frame_1): Update.
540 (inside_main_func): Update.
541 * frv-tdep.c (frv_skip_main_prologue): Update.
542 (frv_frame_this_id): Update.
543 * glibc-tdep.c (glibc_skip_solib_resolver): Update.
544 * gnu-v2-abi.c (gnuv2_value_rtti_type): Update.
545 * gnu-v3-abi.c (gnuv3_rtti_type): Update.
546 (gnuv3_skip_trampoline): Update.
547 * hppa-hpux-tdep.c (hppa32_hpux_in_solib_call_trampoline): Update.
548 (hppa64_hpux_in_solib_call_trampoline): Update.
549 (hppa_hpux_skip_trampoline_code): Update.
550 (hppa64_hpux_search_dummy_call_sequence): Update.
551 (hppa_hpux_find_import_stub_for_addr): Update.
552 (hppa_hpux_find_dummy_bpaddr): Update.
553 * hppa-tdep.c (hppa_symbol_address)
554 (hppa_lookup_stub_minimal_symbol): Update.
555 * i386-tdep.c (i386_skip_main_prologue): Update.
556 (i386_pe_skip_trampoline_code): Update.
557 * ia64-tdep.c (ia64_convert_from_func_ptr_addr): Update.
558 * infcall.c (get_function_name): Update.
559 * infcmd.c (until_next_command): Update.
560 * jit.c (jit_breakpoint_re_set_internal): Update.
561 (jit_inferior_init): Update.
562 * linespec.c (minsym_found): Update.
563 (add_minsym): Update.
564 * linux-fork.c (info_checkpoints_command): Update.
565 * linux-nat.c (get_signo): Update.
566 * linux-thread-db.c (inferior_has_bug): Update.
567 * m32c-tdep.c (m32c_return_value): Update.
568 (m32c_m16c_address_to_pointer): Update.
569 (m32c_m16c_pointer_to_address): Update.
570 * m32r-tdep.c (m32r_frame_this_id): Update.
571 * m68hc11-tdep.c (m68hc11_get_register_info): Update.
572 * machoread.c (macho_resolve_oso_sym_with_minsym): Update.
573 * maint.c (maintenance_translate_address): Update.
574 * minsyms.c (add_minsym_to_hash_table): Update.
575 (add_minsym_to_demangled_hash_table): Update.
576 (msymbol_objfile): Update.
577 (lookup_minimal_symbol): Update.
578 (iterate_over_minimal_symbols): Update.
579 (lookup_minimal_symbol_text): Update.
580 (lookup_minimal_symbol_by_pc_name): Update.
581 (lookup_minimal_symbol_solib_trampoline): Update.
582 (lookup_minimal_symbol_by_pc_section_1): Update.
583 (lookup_minimal_symbol_and_objfile): Update.
584 (prim_record_minimal_symbol_full): Update.
585 (compare_minimal_symbols): Update.
586 (compact_minimal_symbols): Update.
587 (build_minimal_symbol_hash_tables): Update.
588 (install_minimal_symbols): Update.
589 (terminate_minimal_symbol_table): Update.
590 (find_solib_trampoline_target): Update.
591 (minimal_symbol_upper_bound): Update.
592 * mips-linux-tdep.c (mips_linux_skip_resolver): Update.
593 * mips-tdep.c (mips_stub_frame_sniffer): Update.
594 (mips_skip_pic_trampoline_code): Update.
595 * msp430-tdep.c (msp430_skip_trampoline_code): Update.
596 * objc-lang.c (selectors_info): Update.
597 (classes_info): Update.
598 (find_methods): Update.
600 (find_objc_msgsend): Update.
601 * objfiles.c (objfile_relocate1): Update.
602 * objfiles.h (ALL_OBJFILE_MSYMBOLS): Update.
603 * obsd-tdep.c (obsd_skip_solib_resolver): Update.
604 * p-valprint.c (pascal_val_print): Update.
605 * parse.c (write_exp_msymbol): Update.
606 * ppc-linux-tdep.c (powerpc_linux_in_dynsym_resolve_code)
607 (ppc_linux_spe_context_lookup, ppc_elfv2_skip_entrypoint): Update.
608 * ppc-sysv-tdep.c (convert_code_addr_to_desc_addr): Update.
609 * printcmd.c (build_address_symbolic): Update.
611 (address_info): Update.
612 * proc-service.c (ps_pglobal_lookup): Update.
613 * psymtab.c (find_pc_sect_psymtab_closer): Update.
614 (find_pc_sect_psymtab): Update.
615 * python/py-framefilter.c (py_print_frame): Update.
616 * ravenscar-thread.c (get_running_thread_id): Update.
617 * record-btrace.c (btrace_call_history, btrace_get_bfun_name):
619 * remote.c (remote_check_symbols): Update.
620 * rs6000-tdep.c (rs6000_skip_main_prologue): Update.
621 (rs6000_skip_trampoline_code): Update.
622 * sh64-tdep.c (sh64_elf_make_msymbol_special): Update.
623 * sol2-tdep.c (sol2_skip_solib_resolver): Update.
624 * solib-dsbt.c (lm_base): Update.
625 * solib-frv.c (lm_base): Update.
627 * solib-irix.c (locate_base): Update.
628 * solib-som.c (som_solib_create_inferior_hook): Update.
629 (som_solib_desire_dynamic_linker_symbols): Update.
630 (link_map_start): Update.
631 * solib-spu.c (spu_enable_break): Update.
632 (ocl_enable_break): Update.
633 * solib-svr4.c (elf_locate_base): Update.
634 (enable_break): Update.
635 * spu-tdep.c (spu_get_overlay_table): Update.
636 (spu_catch_start): Update.
637 (flush_ea_cache): Update.
638 * stabsread.c (define_symbol): Update.
639 (scan_file_globals): Update.
640 * stack.c (find_frame_funname): Update.
641 (frame_info): Update.
642 * symfile.c (simple_read_overlay_table): Update.
643 (simple_overlay_update): Update.
644 * symmisc.c (dump_msymbols): Update.
645 * symtab.c (fixup_section): Update.
646 (find_pc_sect_line): Update.
647 (skip_prologue_sal): Update.
648 (search_symbols): Update.
649 (print_msymbol_info): Update.
650 (rbreak_command): Update.
651 (MCOMPLETION_LIST_ADD_SYMBOL): New macro.
652 (completion_list_objc_symbol): Update.
653 (default_make_symbol_completion_list_break_on): Update.
654 * tracepoint.c (scope_info): Update.
655 * tui/tui-disasm.c (tui_find_disassembly_address): Update.
656 (tui_get_begin_asm_address): Update.
657 * valops.c (find_function_in_inferior): Update.
658 * value.c (value_static_field): Update.
659 (value_fn_field): Update.
661 2014-02-26 Tom Tromey <tromey@redhat.com>
663 * blockframe.c (find_pc_partial_function_gnu_ifunc): Use
664 bound minimal symbols. Move code that knows about minsym
666 * minsyms.c (minimal_symbol_upper_bound): ... here. New
668 * minsyms.h (minimal_symbol_upper_bound): Declare.
669 * objc-lang.c (find_objc_msgsend): Use bound minimal symbols,
670 minimal_symbol_upper_bound.
672 2014-02-27 Joel Brobecker <brobecker@adacore.com>
674 * python/lib/gdb/printing.py (RegexpCollectionPrettyPrinter):
675 Use the type's name if its basic type does not have a tag.
677 2014-02-27 Joel Brobecker <brobecker@adacore.com>
679 * dwarf2read.c (read_subrange_type): Add comment.
681 2014-02-27 Joel Brobecker <brobecker@adacore.com>
683 * dwarf2read.c (update_enumeration_type_from_children): New
684 function, mostly extracted from process_structure_scope.
685 (read_enumeration_type): Call update_enumeration_type_from_children.
686 (process_enumeration_scope): Do not set THIS_TYPE's flag_unsigned
687 and flag_flag_enum fields.
689 2014-02-26 Pedro Alves <palves@redhat.com>
691 * bsd-uthread.c (bsd_uthread_xfer_partial): Delete function.
692 (bsd_uthread_target): Don't install bsd_uthread_xfer_partial as
693 to_xfer_partial method.
695 2014-02-26 Pedro Alves <palves@redhat.com>
697 * target.c (complete_target_initialization): Don't install
698 default_xfer_partial as to_xfer_partial hook.
700 (update_current_target): Don't INHERIT nor de_fault
701 deprecated_xfer_memory. Delete de_fault macro.
702 (default_xfer_partial, deprecated_debug_xfer_memory): Delete.
703 (setup_target_debug): Don't install a deprecated_xfer_memory hook.
704 * target.h (struct target_ops) <deprecated_xfer_memory>: Delete
707 2014-02-26 Pedro Alves <palves@redhat.com>
709 * go32-nat.c (my_write_child): New function.
710 (go32_xfer_memory): Rewrite as to_xfer_partial helper.
711 (go32_xfer_partial): New function.
712 (init_go32_ops): Don't install a deprecated_xfer_memory hook.
713 Instead install a to_xfer_partial hook.
715 2014-02-26 Pedro Alves <palves@redhat.com>
717 * nto-procfs.c (procfs_xfer_memory): Adjust interface as a
718 to_xfer_partial helper. Rewrite.
719 (procfs_xfer_partial): New function.
720 (init_procfs_ops): Don't install a deprecated_xfer_memory hook.
721 Install a to_xfer_partial hook.
723 2014-02-26 Pedro Alves <palves@redhat.com>
725 * remote-m32r-sdi.c (send_data): Constify 'buf' parameter.
726 (m32r_xfer_memory): Adjust as a to_xfer_partial helper.
727 (m32r_xfer_partial): New function.
728 (init_m32r_ops): Don't install a deprecated_xfer_memory hook.
729 Install a to_xfer_partial hook.
731 2014-02-26 Pedro Alves <palves@redhat.com>
733 * remote-mips.c (mips_xfer_memory): Adjust as to_xfer_partial
735 (mips_xfer_partial): New function.
736 (_initialize_remote_mips): Don't install a deprecated_xfer_memory
737 hook. Install a to_xfer_partial hook.
739 2014-02-26 Joel Brobecker <brobecker@adacore.com>
741 * gdbtypes.h (create_array_type_with_stride): Add declaration.
742 * gdbtypes.c (create_array_type_with_stride): New function,
743 renaming create_array_type, but with an added parameter
745 (create_array_type): Re-implement using
746 create_array_type_with_stride.
747 * dwarf2read.c (read_array_type): Add support for DW_AT_byte_stride
748 and DW_AT_bit_stride attributes.
750 2014-02-26 Pedro Alves <palves@redhat.com>
752 * breakpoint.c (bpstat_check_breakpoint_conditions): Handle
753 task-specific breakpoints.
755 2014-02-25 Pedro Alves <palves@redhat.com>
757 * ia64-linux-nat.c (ia64_linux_xfer_partial): Reimplement
758 handling of object == TARGET_OBJECT_UNWIND_TABLE.
760 2014-02-25 Stan Shebs <stan@codesourcery.com>
762 * defs.h: Annotate comments for Doxygen.
764 2014-02-25 Tom Tromey <tromey@redhat.com>
766 * target.h (target_ignore): Don't declare.
767 * target.c (target_ignore): Remove.
769 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
772 * auto-load.c (auto_load_objfile_script_1): Change filename to
775 2014-02-25 Joel Brobecker <brobecker@adacore.com>
777 * ia64-linux-nat.c (ia64_linux_xfer_partial): Add function
778 documentation. Adjust prototype to match the target_ops
779 to_xfer_partial method. Adjust implementation accordingly.
781 2014-02-25 Hui Zhu <hui@codesourcery.com>
783 * target.h (target_ops): Fix TARGET_DEFAULT_RETURN of
786 2014-02-25 Kevin Buettner <kevinb@redhat.com>
788 * rl78-tdep.c (RL78_BANK0_RP0_PTR_REGNUM, RL78_BANK0_RP1_PTR_REGNUM)
789 (RL78_BANK0_RP2_PTR_REGNUM, RL78_BANK0_RP3_PTR_REGNUM)
790 (RL78_BANK1_RP0_PTR_REGNUM, RL78_BANK1_RP1_PTR_REGNUM)
791 (RL78_BANK1_RP2_PTR_REGNUM, RL78_BANK1_RP3_PTR_REGNUM)
792 (RL78_BANK2_RP0_PTR_REGNUM, RL78_BANK2_RP1_PTR_REGNUM)
793 (RL78_BANK2_RP2_PTR_REGNUM, RL78_BANK2_RP3_PTR_REGNUM)
794 (RL78_BANK3_RP0_PTR_REGNUM, RL78_BANK3_RP1_PTR_REGNUM)
795 (RL78_BANK3_RP2_PTR_REGNUM, RL78_BANK3_RP3_PTR_REGNUM):
797 (rl78_register_type): Use a data pointer type for SP and
798 new pseudo registers mentioned above. Use a 16 bit integer
799 type for all other register pairs.
800 (rl78_register_name, rl78_g10_register_name): Update for
801 new pseudo registers.
802 (rl78_pseudo_register_read): Likewise.
803 (rl78_pseudo_register_write): Likewise.
804 (rl78_dwarf_reg_to_regnum): Return register numbers representing
805 to the newly added pseudo registers.
807 2014-02-24 Doug Evans <dje@google.com>
809 * value.c (record_latest_value): Fix comment.
810 * printcmd.c (print_command_1): Remove code to handle -1 return from
813 2014-02-24 Pedro Alves <palves@redhat.com>
815 * procfs.c (procfs_target): Don't install procfs_xfer_memory as
816 deprecated_xfer_memory hook.
817 (procfs_xfer_partial): Call procfs_xfer_memory instead
818 of the deprecated_xfer_memory target hook.
819 (procfs_xfer_memory): Adjust interface as a to_xfer_partial
822 2014-02-24 Yuanhui Zhang <asmwarrior@gmail.com>
824 * windows-nat.c (windows_xfer_shared_libraries): Return
825 TARGET_XFER_EOF if LEN is zero to fix an assert failure when
826 requested object is TARGET_OBJECT_LIBRARIES.
828 2014-02-24 Yao Qi <yao@codesourcery.com>
830 * target.h (enum target_xfer_status)
831 <TARGET_XFER_E_UNAVAILABLE>: Rename it to ...
832 <TARGET_XFER_UNAVAILABLE>: ... it with setting value 2
834 * corefile.c (memory_error_message): User updated.
835 * exec.c (section_table_read_available_memory): Likewise.
836 * record-btrace.c (record_btrace_xfer_partial): Likewise.
837 * target.c (target_xfer_status_to_string): Likewise.
838 (raw_memory_xfer_partial): Likewise.
839 (memory_xfer_partial_1, target_xfer_partial): Likewise.
840 * valops.c (read_value_memory): Likewise.
841 * exec.h: Update comments.
843 2014-02-24 Yao Qi <yao@codesourcery.com>
845 * target.c (target_xfer_status_to_string): Rename argument err
847 * target.h (target_xfer_status_to_string): Update declaration.
848 Replace target_xfer_error_to_string with
849 target_xfer_status_to_string in comment.
851 2014-02-24 Yao Qi <yao@codesourcery.com>
853 * mips-linux-nat.c (super_close): Update its type.
854 (mips_linux_close): Pass 'self' to super_close.
856 2014-02-24 Yao Qi <yao@codesourcery.com>
858 * target.h (TARGET_XFER_STATUS_ERROR_P): Remove.
859 * corefile.c (read_memory): Adjusted.
860 * target.c (target_write_with_progress): Adjusted.
862 2014-02-23 Yao Qi <yao@codesourcery.com>
866 2013-10-25 Yao Qi <yao@codesourcery.com>
868 * remote.c (remote_traceframe_info): Return early if
869 traceframe is not selected.
871 2013-07-19 Yao Qi <yao@codesourcery.com>
873 * target.c (update_current_target): Change the default action
874 of 'to_traceframe_info' from tcomplain to return_zero.
875 * target.h (struct target_ops) <to_traceframe_info>: Add more
878 2014-02-23 Yao Qi <yao@codesourcery.com>
880 * valops.c (read_value_memory): Rewrite it. Call
881 target_xfer_partial in a loop.
882 * exec.h (section_table_available_memory): Remove declaration.
884 * exec.c (section_table_available_memory): ... here. Make it
887 2014-02-23 Yao Qi <yao@codesourcery.com>
889 * exec.c (section_table_read_available_memory): New function.
890 * exec.h (section_table_read_available_memory): Declare.
891 * ctf.c (ctf_xfer_partial): Call
892 section_table_read_available_memory.
893 * tracefile-tfile.c (tfile_xfer_partial): Likewise.
895 2014-02-23 Yao Qi <yao@codesourcery.com>
897 * ctf.c (ctf_xfer_partial): Move code to ...
898 * exec.c (exec_read_partial_read_only): ... it. New function.
899 * tracefile-tfile.c (tfile_xfer_partial): Likewise.
900 * tracefile.c: Include "exec.h".
901 * exec.h (exec_read_partial_read_only): Declare.
903 2014-02-23 Yao Qi <yao@codesourcery.com>
905 * tracefile-tfile.c (tfile_has_all_memory): Remove.
906 (tfile_has_memory): Remove.
907 (init_tfile_ops): Don't set fields to_has_all_memory and
908 to_has_memory of tfile_ops.
909 * tracefile.c (tracefile_has_all_memory): New function.
910 (tracefile_has_memory): New function.
911 (init_tracefile_ops): Initialize fields to_has_all_memory and
912 to_has_memory of 'ops'.
914 2014-02-23 Yao Qi <yao@codesourcery.com>
916 * ctf.c (ctf_has_stack, ctf_has_registers): Remove.
917 (ctf_thread_alive, ctf_get_trace_status): Remove.
918 (init_ctf_ops): Don't set some fields of ctf_ops. Call
920 * tracefile-tfile.c (tfile_get_trace_status): Remove.
921 (tfile_has_stack, tfile_has_registers): Remove.
922 (tfile_thread_alive): Remove.
923 (init_tfile_ops): Don't set some fields of tfile_ops. Call
925 * tracefile.c (tracefile_has_stack): New function.
926 (tracefile_has_registers): New function.
927 (tracefile_thread_alive): New function.
928 (tracefile_get_trace_status): New function.
929 (init_tracefile_ops): New function.
930 * tracefile.h (init_tracefile_ops): Declare.
932 2014-02-23 Yao Qi <yao@codesourcery.com>
934 * tracepoint.c (TFILE_PID): Move it to tracefile-tfile.c.
935 (O_LARGEFILE): Likewise.
936 (tfile_ops): Likewise.
937 (TRACE_HEADER_SIZE): Likewise.
938 (trace_fd, trace_frames_offset, cur_offset): Likewise.
939 (cur_data_size): Likewise.
940 (tfile_read, tfile_open, tfile_interp_line): Likewise.
941 (tfile_close, tfile_files_info): Likewise.
942 (tfile_get_trace_status): Likewise.
943 (tfile_get_tracepoint_status): Likewise.
944 (tfile_get_traceframe_address): Likewise.
945 (tfile_trace_find, match_blocktype): Likewise.
946 (traceframe_walk_blocks, traceframe_find_block_type): Likewise.
947 (tfile_fetch_registers, tfile_xfer_partial): Likewise.
948 (tfile_get_trace_state_variable_value): Likewise.
949 (tfile_has_all_memory, tfile_has_memory): Likewise.
950 (tfile_has_stack, tfile_has_registers): Likewise.
951 (tfile_thread_alive, build_traceframe_info): Likewise.
952 (tfile_traceframe_info, init_tfile_ops): Likewise.
953 (_initialize_tracepoint): Don't call init_tfile_ops
954 and add_target_with_completer.
955 * tracefile-tfile.c: Include regcache.h, inferior.h, gdbthread.h,
956 exec.h, completer.h and filenames.h.
957 (_initialize_tracefile_tfile): New function.
959 2014-02-23 Yao Qi <yao@codesourcery.com>
961 * Makefile.in (REMOTE_OBS): Append tracefile.o and
963 (HFILES_NO_SRCDIR): Add tracefile.h.
964 * ctf.c: Include "tracefile.h".
965 * tracefile.h: New file.
966 * tracefile.c: New file
967 * tracefile-tfile.c: New file.
968 * tracepoint.c: Include "tracefile.h".
969 (free_uploaded_tps, free_uploaded_tsvs): Remove declarations.
970 (stop_reason_names): Add const.
971 (trace_file_writer_xfree): Move it to tracefile.c.
972 (trace_save, trace_save_command, trace_save_tfile): Likewise.
973 (trace_save_ctf): Likewise.
974 (struct tfile_trace_file_writer): Move it to tracefile-tfile.c.
975 (tfile_target_save, tfile_dtor, tfile_start): Likewise.
976 (tfile_write_header, tfile_write_regblock_type): Likewise.
977 (tfile_write_status, tfile_write_uploaded_tsv): Likewise.
978 (tfile_write_uploaded_tp, tfile_write_definition_end): Likewise.
979 (tfile_write_raw_data, tfile_end): Likewise.
980 (tfile_trace_file_writer_new): Likewise.
981 (free_uploaded_tp): Make it extern.
982 (free_uploaded_tsv): Make it extern.
983 (_initialize_tracepoint): Move code to register command 'tsave'
985 * tracepoint.h (stop_reason_names): Declare.
986 (struct trace_frame_write_ops): Move it to tracefile.h.
987 (struct trace_file_write_ops): Likewise.
988 (struct trace_file_writer): Likewise.
989 (free_uploaded_tsvs, free_uploaded_tps): Declare.
991 2014-02-21 Jan Kratochvil <jan.kratochvil@redhat.com>
994 * common/linux-osdata.c (linux_common_core_of_thread): Find the end of
996 (get_cores_used_by_process): New parameter num_cores, use it.
997 (linux_xfer_osdata_processes): Pass num_cores to it.
998 * linux-tdep.c (linux_info_proc, linux_fill_prpsinfo): Find the end of
1001 2014-02-21 Andreas Arnez <arnez@vnet.linux.ibm.com>
1003 * target.c (memory_xfer_partial): Fix length arg in call to
1004 breakpoint_xfer_memory.
1006 2014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
1009 * i386-tdep.c (i386_stap_parse_special_token_triplet): Check if a
1010 number comes after the + or - signs. Adjust length of register
1011 name to be extracted.
1013 2014-02-20 Tom Tromey <tromey@redhat.com>
1015 * varobj.h (c_varobj_ops, cplus_varobj_ops, java_varobj_ops)
1016 (ada_varobj_ops): Mark "extern".
1018 2014-02-20 Tom Tromey <tromey@redhat.com>
1020 * dbxread.c (read_dbx_symtab): Remove last_o_file_start.
1022 2014-02-20 Doug Evans <xdje42@gmail.com>
1024 * guile/scm-gsmob.c (gdbscm_init_eqable_gsmob): New arg containing_scm.
1025 All callers updated.
1026 (gdbscm_fill_eqable_gsmob_ptr_slot): Delete arg containing_scm.
1027 All callers updated.
1028 * guile/guile-internal.h (gdbscm_init_eqable_gsmob): Update.
1029 (gdbscm_fill_eqable_gsmob_ptr_slot): Update.
1031 2014-02-20 lin zuojian <manjian2006@gmail.com>
1032 Joel Brobecker <brobecker@adacore.com>
1033 Doug Evans <xdje42@gmail.com>
1036 * dwarf2read.c (struct die_info): New member in_process.
1037 (reset_die_in_process): New function.
1038 (process_die): Set it at the start, reset when returning.
1039 (inherit_abstract_dies): Only call process_die if origin_child_die
1040 not already being processed.
1042 2014-02-20 Joel Brobecker <brobecker@adacore.com>
1044 * windows-nat.c (handle_unload_dll): Add function documentation.
1045 (do_initial_windows_stuff): Add comment explaining why we wait
1046 until after inferior initialization has finished before
1047 processing all DLLs.
1049 2014-02-20 Joel Brobecker <brobecker@adacore.com>
1051 * windows-nat.c (get_module_name): Delete.
1052 (windows_get_exec_module_filename): New function, mostly
1053 inspired from get_module_name.
1054 (windows_pid_to_exec_file): Replace call to get_module_name
1055 by call to windows_get_exec_module_filename.
1057 2014-02-20 Joel Brobecker <brobecker@adacore.com>
1059 * windows-nat.c (handle_load_dll): Rewrite this function's
1060 introductory comment. Remove code using get_module_name
1061 to get the DLL's name.
1063 2014-02-20 Joel Brobecker <brobecker@adacore.com>
1065 * windows-nat.c (get_windows_debug_event): Ignore
1066 LOAD_DLL_DEBUG_EVENT and UNLOAD_DLL_DEBUG_EVENT
1067 if windows_initialization_done == 0.
1068 (windows_add_all_dlls): Renames windows_ensure_ntdll_loaded.
1069 Adjust implementation to always load all DLLs.
1070 (do_initial_windows_stuff): Replace call to
1071 windows_ensure_ntdll_loaded by call to windows_add_all_dlls.
1073 2014-02-20 Joel Brobecker <brobecker@adacore.com>
1075 * windows-nat.c (_initialize_windows_nat): Deprecate the
1076 "dll-symbols" command. Turn the "add-shared-symbol-files"
1077 and "assf" aliases into commands, and deprecate them as well.
1078 * NEWS: Add entry explaining that "dll-symbols" and its two
1079 aliases are now deprecated.
1081 2014-02-20 Joel Brobecker <brobecker@adacore.com>
1083 * dec-thread.c (dec_thread_get_ada_task_ptid): Avoid unescaped
1084 new-line in debug string. Remove trailing spaces.
1086 2014-02-19 Stan Shebs <stan@codesourcery.com>
1088 * darwin-nat.c (darwin_xfer_partial): Fix return type.
1090 2014-02-19 Siva Chandra Reddy <sivachandra@google.com>
1092 * NEWS: Add entry for the new feature
1093 * python/py-value.c (valpy_binop): Call value_x_binop for struct
1096 2014-02-19 Stan Shebs <stan@codesourcery.com>
1098 * MAINTAINERS: List Yao Qi as nios2 maintainer.
1100 2014-02-19 Pedro Alves <palves@redhat.com>
1102 * common/ptid.h (struct ptid): Mention that process_stratum
1103 targets should prefer ptid.lwp.
1105 2014-02-19 Pedro Alves <palves@redhat.com>
1107 * remote.c (remote_thread_alive, write_ptid, read_ptid)
1108 (read_ptid, remote_newthread_step, remote_threads_extra_info)
1109 (remote_get_ada_task_ptid, append_resumption, remote_stop_ns)
1110 (threadalive_test, remote_pid_to_str): Use the ptid.lwp field to
1111 store remote thread ids rather than ptid.tid.
1112 (_initialize_remote): Adjust.
1114 2014-02-19 Tom Tromey <tromey@redhat.com>
1116 * target.c (target_get_unwinder): Rewrite.
1117 (target_get_tailcall_unwinder): Rewrite.
1118 * record-btrace.c (record_btrace_to_get_unwinder): New function.
1119 (record_btrace_to_get_tailcall_unwinder): New function.
1120 (init_record_btrace_ops): Update.
1121 * target.h (struct target_ops) <to_get_unwinder,
1122 to_get_tailcall_unwinder>: Now function pointers. Use
1123 TARGET_DEFAULT_RETURN.
1125 2014-02-19 Tom Tromey <tromey@redhat.com>
1127 * nto-procfs.c (procfs_remove_hw_breakpoint): Add 'self'
1129 (init_procfs_ops): Correctly set to_remove_hw_breakpoint.
1131 2014-02-19 Tom Tromey <tromey@redhat.com>
1133 * record-btrace.c (record_btrace_decr_pc_after_break): Delegate
1135 * target-delegates.c: Rebuild.
1136 * target.h (struct target_ops) <to_decr_pc_after_break>: Use
1137 TARGET_DEFAULT_FUNC.
1138 * target.c (default_target_decr_pc_after_break): Rename from
1139 forward_target_decr_pc_after_break. Simplify.
1140 (target_decr_pc_after_break): Rely on delegation.
1142 2014-02-19 Tom Tromey <tromey@redhat.com>
1144 * target.c (update_current_target): Do not INHERIT to_doc or
1145 to_magic. Do not de_fault to_open or to_close.
1147 2014-02-19 Tom Tromey <tromey@redhat.com>
1149 * gcore.h (objfile_find_memory_regions): Declare.
1150 * gcore.c (objfile_find_memory_regions): No longer static. Add
1152 (_initialize_gcore): Don't call exec_set_find_memory_regions.
1153 * exec.c: Include gcore.h.
1154 (exec_set_find_memory_regions): Remove.
1155 (exec_find_memory_regions): Remove.
1156 (exec_do_find_memory_regions): Remove.
1157 (init_exec_ops): Update.
1158 * defs.h (exec_set_find_memory_regions): Remove.
1160 2014-02-19 Tom Tromey <tromey@redhat.com>
1162 * target-delegates.c: Rebuild.
1163 * target.h (struct target_ops) <to_extra_thread_info,
1164 to_thread_name, to_pid_to_exec_file, to_get_section_table,
1165 to_memory_map, to_read_description, to_traceframe_info>: Use NULL,
1166 not 0, in TARGET_DEFAULT_RETURN.
1168 2014-02-19 Tom Tromey <tromey@redhat.com>
1170 * target.c (complete_target_initialization): Remove casts. Use
1171 return_zero_has_execution.
1172 (return_zero): Add "ignore" argument.
1173 (return_zero_has_execution): New function.
1174 (init_dummy_target): Remove casts. Use
1175 return_zero_has_execution.
1177 2014-02-19 Tom Tromey <tromey@redhat.com>
1179 * target.c (update_current_target): Update comments. Do not
1182 2014-02-19 Tom Tromey <tromey@redhat.com>
1184 * arm-linux-nat.c (arm_linux_read_description): Delegate when
1186 * corelow.c (core_read_description): Delegate when needed.
1187 * remote.c (remote_read_description): Delegate when needed.
1188 * target-delegates.c: Rebuild.
1189 * target.c (target_read_description): Rewrite.
1190 * target.h (struct target_ops) <to_read_description>: Update
1191 comment. Use TARGET_DEFAULT_RETURN.
1193 2014-02-19 Tom Tromey <tromey@redhat.com>
1195 * target-delegates.c: Rebuild.
1196 * target.c (update_current_target): Don't inherit or default
1198 (find_default_run_target): Check against delegate_can_run.
1199 * target.h (struct target_ops) <to_can_run>: Use
1200 TARGET_DEFAULT_RETURN.
1202 2014-02-19 Tom Tromey <tromey@redhat.com>
1204 * target-delegates.c: Rebuild.
1205 * target.c (target_disconnect): Unconditionally delegate.
1206 * target.h (struct target_ops) <to_disconnect>: Use
1207 TARGET_DEFAULT_NORETURN.
1209 2014-02-19 Tom Tromey <tromey@redhat.com>
1211 * record.c (record_stop): Unconditionally delegate.
1212 * target-delegates.c: Rebuild.
1213 * target.c (target_stop_recording): Unconditionally delegate.
1214 * target.h (struct target_ops) <to_stop_recording>: Use
1215 TARGET_DEFAULT_IGNORE.
1217 2014-02-19 Tom Tromey <tromey@redhat.com>
1219 * target-delegates.c: Rebuild.
1220 * target.c (target_enable_btrace): Unconditionally delegate.
1221 * target.h (struct target_ops) <to_enable_btrace>: Use
1222 TARGET_DEFAULT_NORETURN.
1224 2014-02-19 Tom Tromey <tromey@redhat.com>
1226 * target-delegates.c: Rebuild.
1227 * target.c (target_read_btrace): Unconditionally delegate.
1228 * target.h (struct target_ops) <to_read_btrace>: Use
1229 TARGET_DEFAULT_NORETURN.
1231 2014-02-19 Tom Tromey <tromey@redhat.com>
1233 * target-delegates.c: Rebuild.
1234 * target.c (target_teardown_btrace): Unconditionally delegate.
1235 * target.h (struct target_ops) <to_teardown_btrace>: Use
1236 TARGET_DEFAULT_NORETURN.
1238 2014-02-19 Tom Tromey <tromey@redhat.com>
1240 * target-delegates.c: Rebuild.
1241 * target.c (target_disable_btrace): Unconditionally delegate.
1242 * target.h (struct target_ops) <to_disable_btrace>: Use
1243 TARGET_DEFAULT_NORETURN.
1245 2014-02-19 Tom Tromey <tromey@redhat.com>
1247 * target-delegates.c: Rebuild.
1248 * target.c (default_search_memory): New function.
1249 (simple_search_memory): Update comment.
1250 (target_search_memory): Unconditionally delegate.
1251 * target.h (struct target_ops) <to_search_memory>: Use
1252 TARGET_DEFAULT_FUNC.
1254 2014-02-19 Tom Tromey <tromey@redhat.com>
1256 * auxv.c (default_auxv_parse): No longer static.
1257 (target_auxv_parse): Unconditionally delegate.
1258 * auxv.h (default_auxv_parse): Declare.
1259 * target-delegates.c: Rebuild.
1260 * target.c: Include auxv.h.
1261 * target.h (struct target_ops) <to_auxv_parse>: Use
1262 TARGET_DEFAULT_FUNC.
1264 2014-02-19 Tom Tromey <tromey@redhat.com>
1266 * target-delegates.c: Rebuild.
1267 * target.c (target_memory_map): Unconditionally delegate.
1268 * target.h (struct target_ops) <to_memory_map>: Use
1269 TARGET_DEFAULT_RETURN.
1271 2014-02-19 Tom Tromey <tromey@redhat.com>
1273 * target-delegates.c: Rebuild.
1274 * target.c (target_thread_alive): Unconditionally delegate.
1275 * target.h (struct target_ops) <to_thread_alive>: Use
1276 TARGET_DEFAULT_RETURN.
1278 2014-02-19 Tom Tromey <tromey@redhat.com>
1280 * target-delegates.c: Rebuild.
1281 * target.c (target_save_record): Unconditionally delegate.
1282 * target.h (struct target_ops) <to_save_record>: Use
1283 TARGET_DEFAULT_NORETURN.
1285 2014-02-19 Tom Tromey <tromey@redhat.com>
1287 * target-delegates.c: Rebuild.
1288 * target.c (target_delete_record): Unconditionally delegate.
1289 * target.h (struct target_ops) <to_delete_record>: Use
1290 TARGET_DEFAULT_NORETURN.
1292 2014-02-19 Tom Tromey <tromey@redhat.com>
1294 * target-delegates.c: Rebuild.
1295 * target.c (target_record_is_replaying): Unconditionally
1297 * target.h (struct target_ops) <to_record_is_replaying>: Use
1298 TARGET_DEFAULT_RETURN.
1300 2014-02-19 Tom Tromey <tromey@redhat.com>
1302 * target-delegates.c: Rebuild.
1303 * target.c (target_goto_record_begin): Unconditionally delegate.
1304 * target.h (struct target_ops) <to_goto_record_begin>: Use
1305 TARGET_DEFAULT_NORETURN.
1307 2014-02-19 Tom Tromey <tromey@redhat.com>
1309 * target-delegates.c: Rebuild.
1310 * target.c (target_goto_record_end): Unconditionally delegate.
1311 * target.h (struct target_ops) <to_goto_record_end>: Use
1312 TARGET_DEFAULT_NORETURN.
1314 2014-02-19 Tom Tromey <tromey@redhat.com>
1316 * target-delegates.c: Rebuild.
1317 * target.c (target_goto_record): Unconditionally delegate.
1318 * target.h (struct target_ops) <to_goto_record>: Use
1319 TARGET_DEFAULT_NORETURN.
1321 2014-02-19 Tom Tromey <tromey@redhat.com>
1323 * target-delegates.c: Rebuild.
1324 * target.c (target_insn_history): Unconditionally delegate.
1325 * target.h (struct target_ops) <to_insn_history>: Use
1326 TARGET_DEFAULT_NORETURN.
1328 2014-02-19 Tom Tromey <tromey@redhat.com>
1330 * target-delegates.c: Rebuild.
1331 * target.c (target_insn_history_from): Unconditionally delegate.
1332 * target.h (struct target_ops) <to_insn_history_from>: Use
1333 TARGET_DEFAULT_NORETURN.
1335 2014-02-19 Tom Tromey <tromey@redhat.com>
1337 * target-delegates.c: Rebuild.
1338 * target.c (target_insn_history_range): Unconditionally delegate.
1339 * target.h (struct target_ops) <to_insn_history_range>: Use
1340 TARGET_DEFAULT_NORETURN.
1342 2014-02-19 Tom Tromey <tromey@redhat.com>
1344 * target-delegates.c: Rebuild.
1345 * target.c (target_call_history): Unconditionally delegate.
1346 * target.h (struct target_ops) <to_call_history>: Use
1347 TARGET_DEFAULT_NORETURN.
1349 2014-02-19 Tom Tromey <tromey@redhat.com>
1351 * target-delegates.c: Rebuild.
1352 * target.c (target_call_history_from): Unconditionally delegate.
1353 * target.h (struct target_ops) <to_call_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_call_history_range): Unconditionally delegate.
1360 * target.h (struct target_ops) <to_call_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_verify_memory): Unconditionally delegate.
1367 * target.h (struct target_ops) <to_verify_memory>: Use
1368 TARGET_DEFAULT_NORETURN.
1370 2014-02-19 Tom Tromey <tromey@redhat.com>
1372 * target-delegates.c: Rebuild.
1373 * target.c (target_core_of_thread): Unconditionally delegate.
1374 * target.h (struct target_ops) <to_core_of_thread>: Use
1375 TARGET_DEFAULT_RETURN.
1377 2014-02-19 Tom Tromey <tromey@redhat.com>
1379 * target-delegates.c: Rebuild.
1380 * target.c (target_flash_done): Unconditionally delegate.
1381 * target.h (struct target_ops) <to_flash_done>: Use
1382 TARGET_DEFAULT_NORETURN.
1384 2014-02-19 Tom Tromey <tromey@redhat.com>
1386 * target-delegates.c: Rebuild.
1387 * target.c (target_flash_erase): Unconditionally delegate.
1388 * target.h (struct target_ops) <to_flash_erase>: Use
1389 TARGET_DEFAULT_NORETURN.
1391 2014-02-19 Tom Tromey <tromey@redhat.com>
1393 * target-delegates.c: Rebuild.
1394 * target.c (target_get_section_table): Unconditionally delegate.
1395 * target.h (struct target_ops) <to_get_section_table>: Use
1396 TARGET_DEFAULT_RETURN.
1398 2014-02-19 Tom Tromey <tromey@redhat.com>
1400 * target-delegates.c: Rebuild.
1401 * target.c (target_pid_to_str): Unconditionally delegate.
1402 (init_dummy_target): Don't initialize to_pid_to_str.
1403 (default_pid_to_str): Rename from dummy_pid_to_str.
1404 * target.h (struct target_ops) <to_pid_to_str>: Use
1405 TARGET_DEFAULT_FUNC.
1407 2014-02-19 Tom Tromey <tromey@redhat.com>
1409 * target-delegates.c: Rebuild.
1410 * target.c (target_find_new_threads): Unconditionally delegate.
1411 * target.h (struct target_ops) <to_find_new_threads>: Use
1412 TARGET_DEFAULT_RETURN.
1414 2014-02-19 Tom Tromey <tromey@redhat.com>
1416 * target-delegates.c: Rebuild.
1417 * target.c (target_program_signals): Unconditionally delegate.
1418 * target.h (struct target_ops) <to_program_signals>: Use
1419 TARGET_DEFAULT_IGNORE.
1421 2014-02-19 Tom Tromey <tromey@redhat.com>
1423 * target-delegates.c: Rebuild.
1424 * target.c (target_pass_signals): Unconditionally delegate.
1425 * target.h (struct target_ops) <to_pass_signals>: Use
1426 TARGET_DEFAULT_IGNORE.
1428 2014-02-19 Tom Tromey <tromey@redhat.com>
1430 * target-delegates.c: Rebuild.
1431 * target.c (default_mourn_inferior): New function.
1432 (target_mourn_inferior): Unconditionally delegate.
1433 * target.h (struct target_ops) <to_mourn_inferior>: Use
1434 TARGET_DEFAULT_FUNC.
1436 2014-02-19 Tom Tromey <tromey@redhat.com>
1438 * target-delegates.c: Rebuild.
1439 * target.c (default_follow_fork): New function.
1440 (target_follow_fork): Unconditionally delegate.
1441 * target.h (struct target_ops) <to_follow_fork>: Use
1442 TARGET_DEFAULT_FUNC.
1444 2014-02-19 Tom Tromey <tromey@redhat.com>
1446 * target-delegates.c: Rebuild.
1447 * target.c (target_kill): Unconditionally delegate.
1448 * target.h (struct target_ops) <to_kill>: Use
1449 TARGET_DEFAULT_NORETURN.
1451 2014-02-19 Tom Tromey <tromey@redhat.com>
1453 * target-delegates.c: Rebuild.
1454 * target.c (target_masked_watch_num_registers): Unconditionally
1456 * target.h (struct target_ops) <to_masked_watch_num_registers>:
1457 Use TARGET_DEFAULT_RETURN.
1459 2014-02-19 Tom Tromey <tromey@redhat.com>
1461 * target-delegates.c: Rebuild.
1462 * target.c (target_remove_mask_watchpoint): Unconditionally
1464 * target.h (struct target_ops) <to_remove_mask_watchpoint>: Use
1465 TARGET_DEFAULT_RETURN.
1467 2014-02-19 Tom Tromey <tromey@redhat.com>
1469 * target-delegates.c: Rebuild.
1470 * target.c (target_insert_mask_watchpoint): Unconditionally
1472 * target.h (struct target_ops) <to_insert_mask_watchpoint>: Use
1473 TARGET_DEFAULT_RETURN.
1475 2014-02-19 Tom Tromey <tromey@redhat.com>
1477 * target-delegates.c: Rebuild.
1478 * target.c (target_ranged_break_num_registers): Unconditionally
1480 * target.h (struct target_ops) <to_ranged_break_num_registers>:
1481 Use TARGET_DEFAULT_RETURN.
1483 2014-02-19 Tom Tromey <tromey@redhat.com>
1485 * target-delegates.c: Rebuild.
1486 * target.c (target_fetch_registers): Unconditionally delegate.
1487 * target.h (struct target_ops) <to_fetch_registers>: Use
1488 TARGET_DEFAULT_NORETURN.
1490 2014-02-19 Tom Tromey <tromey@redhat.com>
1492 * target-delegates.c: Rebuild.
1493 * target.c (update_current_target): Don't inherit or default
1495 * target.h (struct target_ops) <to_stop>: Use
1496 TARGET_DEFAULT_IGNORE.
1498 2014-02-19 Tom Tromey <tromey@redhat.com>
1500 * target-delegates.c: Rebuild.
1501 * target.c (update_current_target): Don't inherit or default
1502 to_can_run_breakpoint_commands.
1503 * target.h (struct target_ops) <to_can_run_breakpoint_commands>:
1504 Use TARGET_DEFAULT_RETURN.
1506 2014-02-19 Tom Tromey <tromey@redhat.com>
1508 * target-delegates.c: Rebuild.
1509 * target.c (update_current_target): Don't inherit or default
1510 to_supports_evaluation_of_breakpoint_conditions.
1511 * target.h (struct target_ops)
1512 <to_supports_evaluation_of_breakpoint_conditions>: Use
1513 TARGET_DEFAULT_RETURN.
1515 2014-02-19 Tom Tromey <tromey@redhat.com>
1517 * target-delegates.c: Rebuild.
1518 * target.c (update_current_target): Don't inherit or default
1519 to_augmented_libraries_svr4_read.
1520 * target.h (struct target_ops) <to_augmented_libraries_svr4_read>:
1521 Use TARGET_DEFAULT_RETURN.
1523 2014-02-19 Tom Tromey <tromey@redhat.com>
1525 * target-delegates.c: Rebuild.
1526 * target.c (update_current_target): Don't inherit or default
1528 * target.h (struct target_ops) <to_can_use_agent>: Use
1529 TARGET_DEFAULT_RETURN.
1531 2014-02-19 Tom Tromey <tromey@redhat.com>
1533 * target-delegates.c: Rebuild.
1534 * target.c (update_current_target): Don't inherit or default
1536 * target.h (struct target_ops) <to_use_agent>: Use
1537 TARGET_DEFAULT_NORETURN.
1539 2014-02-19 Tom Tromey <tromey@redhat.com>
1541 * target-delegates.c: Rebuild.
1542 * target.c (update_current_target): Don't inherit or default
1544 (return_null): Remove.
1545 * target.h (struct target_ops) <to_traceframe_info>: Use
1546 TARGET_DEFAULT_RETURN.
1548 2014-02-19 Tom Tromey <tromey@redhat.com>
1550 * target-delegates.c: Rebuild.
1551 * target.c (update_current_target): Don't inherit or default
1552 to_static_tracepoint_markers_by_strid.
1553 * target.h (struct target_ops)
1554 <to_static_tracepoint_markers_by_strid>: Use
1555 TARGET_DEFAULT_NORETURN.
1557 2014-02-19 Tom Tromey <tromey@redhat.com>
1559 * target-delegates.c: Rebuild.
1560 * target.c (update_current_target): Don't inherit or default
1561 to_static_tracepoint_marker_at.
1562 * target.h (struct target_ops) <to_static_tracepoint_marker_at>:
1563 Use TARGET_DEFAULT_RETURN.
1565 2014-02-19 Tom Tromey <tromey@redhat.com>
1567 * target-delegates.c: Rebuild.
1568 * target.c (update_current_target): Don't inherit or default
1570 * target.h (struct target_ops) <to_set_permissions>: Use
1571 TARGET_DEFAULT_IGNORE.
1573 2014-02-19 Tom Tromey <tromey@redhat.com>
1575 * target-delegates.c: Rebuild.
1576 * target.c (update_current_target): Don't inherit or default
1578 * target.h (struct target_ops) <to_get_tib_address>: Use
1579 TARGET_DEFAULT_NORETURN.
1581 2014-02-19 Tom Tromey <tromey@redhat.com>
1583 * target-delegates.c: Rebuild.
1584 * target.c (update_current_target): Don't inherit or default
1586 * target.h (struct target_ops) <to_set_trace_notes>: Use
1587 TARGET_DEFAULT_RETURN.
1589 2014-02-19 Tom Tromey <tromey@redhat.com>
1591 * target-delegates.c: Rebuild.
1592 * target.c (update_current_target): Don't initialize
1593 to_set_trace_buffer_size.
1594 * target.h (struct target_ops) <to_set_trace_buffer_size>: Use
1595 TARGET_DEFAULT_IGNORE.
1597 2014-02-19 Tom Tromey <tromey@redhat.com>
1599 * target-delegates.c: Rebuild.
1600 * target.c (update_current_target): Don't inherit or default
1601 to_set_circular_trace_buffer.
1602 * target.h (struct target_ops) <to_set_circular_trace_buffer>: Use
1603 TARGET_DEFAULT_IGNORE.
1605 2014-02-19 Tom Tromey <tromey@redhat.com>
1607 * target-delegates.c: Rebuild.
1608 * target.c (update_current_target): Don't inherit or default
1609 to_set_disconnected_tracing.
1610 * target.h (struct target_ops) <to_set_disconnected_tracing>: Use
1611 TARGET_DEFAULT_IGNORE.
1613 2014-02-19 Tom Tromey <tromey@redhat.com>
1615 * target-delegates.c: Rebuild.
1616 * target.c (update_current_target): Don't inherit or default
1617 to_get_min_fast_tracepoint_insn_len.
1618 (return_minus_one): Remove.
1619 * target.h (struct target_ops)
1620 <to_get_min_fast_tracepoint_insn_len>: Use TARGET_DEFAULT_RETURN.
1622 2014-02-19 Tom Tromey <tromey@redhat.com>
1624 * target-delegates.c: Rebuild.
1625 * target.c (update_current_target): Don't inherit or default
1626 to_get_raw_trace_data.
1627 * target.h (struct target_ops) <to_get_raw_trace_data>: Use
1628 TARGET_DEFAULT_NORETURN.
1630 2014-02-19 Tom Tromey <tromey@redhat.com>
1632 * target-delegates.c: Rebuild.
1633 * target.c (update_current_target): Don't inherit or default
1634 to_upload_trace_state_variables.
1635 * target.h (struct target_ops) <to_upload_trace_state_variables>:
1636 Use TARGET_DEFAULT_RETURN.
1638 2014-02-19 Tom Tromey <tromey@redhat.com>
1640 * target-delegates.c: Rebuild.
1641 * target.c (update_current_target): Don't inherit or default
1642 to_upload_tracepoints.
1643 * target.h (struct target_ops) <to_upload_tracepoints>: Use
1644 TARGET_DEFAULT_RETURN.
1646 2014-02-19 Tom Tromey <tromey@redhat.com>
1648 * target-delegates.c: Rebuild.
1649 * target.c (update_current_target): Don't inherit or default
1651 * target.h (struct target_ops) <to_save_trace_data>: Use
1652 TARGET_DEFAULT_NORETURN.
1654 2014-02-19 Tom Tromey <tromey@redhat.com>
1656 * target-delegates.c: Rebuild.
1657 * target.c (update_current_target): Don't inherit or default
1658 to_get_trace_state_variable_value.
1659 * target.h (struct target_ops)
1660 <to_get_trace_state_variable_value>: Use TARGET_DEFAULT_RETURN.
1662 2014-02-19 Tom Tromey <tromey@redhat.com>
1664 * target-delegates.c: Rebuild.
1665 * target.c (update_current_target): Don't inherit or default
1667 * target.h (struct target_ops): Use TARGET_DEFAULT_RETURN.
1669 2014-02-19 Tom Tromey <tromey@redhat.com>
1671 * target-delegates.c: Rebuild.
1672 * target.c (update_current_target): Don't inherit or default
1674 * target.h (struct target_ops) <to_trace_stop>: Use
1675 TARGET_DEFAULT_NORETURN.
1677 2014-02-19 Tom Tromey <tromey@redhat.com>
1679 * target-delegates.c: Rebuild.
1680 * target.c (update_current_target): Don't inherit or default
1681 to_get_tracepoint_status.
1682 * target.h (struct target_ops) <to_get_tracepoint_status>: Use
1683 TARGET_DEFAULT_NORETURN.
1685 2014-02-19 Tom Tromey <tromey@redhat.com>
1687 * target-delegates.c: Rebuild.
1688 * target.c (update_current_target): Don't inherit or default
1689 to_get_trace_status.
1690 * target.h (struct target_ops) <to_get_trace_status>: Use
1691 TARGET_DEFAULT_RETURN.
1693 2014-02-19 Tom Tromey <tromey@redhat.com>
1695 * target-delegates.c: Rebuild.
1696 * target.c (update_current_target): Don't inherit or default
1698 * target.h (struct target_ops) <to_trace_start>: Use
1699 TARGET_DEFAULT_NORETURN.
1701 2014-02-19 Tom Tromey <tromey@redhat.com>
1703 * target-delegates.c: Rebuild.
1704 * target.c (update_current_target): Don't inherit or default
1705 to_trace_set_readonly_regions.
1706 * target.h (struct target_ops) <to_trace_set_readonly_regions>:
1707 Use TARGET_DEFAULT_NORETURN.
1709 2014-02-19 Tom Tromey <tromey@redhat.com>
1711 * target-delegates.c: Rebuild.
1712 * target.c (update_current_target): Don't inherit or default
1713 to_disable_tracepoint.
1714 * target.h (struct target_ops) <to_disable_tracepoint>: Use
1715 TARGET_DEFAULT_NORETURN.
1717 2014-02-19 Tom Tromey <tromey@redhat.com>
1719 * target-delegates.c: Rebuild.
1720 * target.c (update_current_target): Don't inherit or default
1721 to_enable_tracepoint.
1722 * target.h (struct target_ops) <to_enable_tracepoint>: Use
1723 TARGET_DEFAULT_NORETURN.
1725 2014-02-19 Tom Tromey <tromey@redhat.com>
1727 * target-delegates.c: Rebuild.
1728 * target.c (update_current_target): Don't inherit or default
1729 to_download_trace_state_variable.
1730 * target.h (struct target_ops) <to_download_trace_state_variable>:
1731 Use TARGET_DEFAULT_NORETURN.
1733 2014-02-19 Tom Tromey <tromey@redhat.com>
1735 * target-delegates.c: Rebuild.
1736 * target.c (update_current_target): Don't inherit or default
1737 to_can_download_tracepoint.
1738 * target.h (struct target_ops) <to_can_download_tracepoint>: Use
1739 TARGET_DEFAULT_RETURN.
1741 2014-02-19 Tom Tromey <tromey@redhat.com>
1743 * target-delegates.c: Rebuild.
1744 * target.c (update_current_target): Don't inherit or default
1745 to_download_tracepoint.
1746 * target.h (struct target_ops) <to_download_tracepoint>: Use
1747 TARGET_DEFAULT_NORETURN.
1749 2014-02-19 Tom Tromey <tromey@redhat.com>
1751 * target-delegates.c: Rebuild.
1752 * target.c (update_current_target): Don't inherit or default
1754 * target.h (struct target_ops) <to_trace_init>: Use
1755 TARGET_DEFAULT_RETURN.
1757 2014-02-19 Tom Tromey <tromey@redhat.com>
1759 * target-delegates.c: Rebuild.
1760 * target.c (update_current_target): Don't inherit or default
1761 to_supports_string_tracing.
1762 * target.h (struct target_ops) <to_supports_string_tracing>: Use
1763 TARGET_DEFAULT_RETURN.
1765 2014-02-19 Tom Tromey <tromey@redhat.com>
1767 * target-delegates.c: Rebuild.
1768 * target.c (update_current_target): Don't inherit or default
1769 to_supports_enable_disable_tracepoint.
1770 * target.h (struct target_ops)
1771 <to_supports_enable_disable_tracepoint>: Use
1772 TARGET_DEFAULT_RETURN.
1774 2014-02-19 Tom Tromey <tromey@redhat.com>
1776 * target-delegates.c: Rebuild.
1777 * target.c (update_current_target): Don't inherit or default
1778 to_supports_multi_process.
1779 * target.h (struct target_ops) <to_supports_multi_process>: Use
1780 TARGET_DEFAULT_RETURN.
1782 2014-02-19 Tom Tromey <tromey@redhat.com>
1784 * target-delegates.c: Rebuild.
1785 * target.c (update_current_target): Don't inherit or default
1786 to_get_ada_task_ptid.
1787 * target.h (struct target_ops) <to_get_ada_task_ptid>: Use
1788 TARGET_DEFAULT_FUNC.
1790 2014-02-19 Tom Tromey <tromey@redhat.com>
1792 * target-delegates.c: Rebuild.
1793 * target.c (update_current_target): Don't inherit or default
1794 to_thread_architecture.
1795 * target.h (struct target_ops) <to_thread_architecture>: Use
1796 TARGET_DEFAULT_FUNC.
1798 2014-02-19 Tom Tromey <tromey@redhat.com>
1800 * target-delegates.c: Rebuild.
1801 * target.c (update_current_target): Don't inherit or default
1802 to_execution_direction.
1803 * target.h (struct target_ops) <to_execution_direction>: Use
1804 TARGET_DEFAULT_FUNC.
1806 2014-02-19 Tom Tromey <tromey@redhat.com>
1808 * target-delegates.c: Rebuild.
1809 * target.c (update_current_target): Don't inherit or default
1810 to_can_execute_reverse.
1811 * target.h (struct target_ops) <to_can_execute_reverse>: Use
1812 TARGET_DEFAULT_RETURN.
1813 (target_can_execute_reverse): Unconditionally delegate.
1815 2014-02-19 Tom Tromey <tromey@redhat.com>
1817 * target-delegates.c: Rebuild.
1818 * target.c (update_current_target): Don't inherit or default
1820 (dummy_goto_bookmark): Remove.
1821 (init_dummy_target): Don't inherit or default to_goto_bookmark.
1822 * target.h (struct target_ops) <to_goto_bookmark>: Use
1823 TARGET_DEFAULT_NORETURN.
1825 2014-02-19 Tom Tromey <tromey@redhat.com>
1827 * target-delegates.c: Rebuild.
1828 * target.c (update_current_target): Don't inherit or default
1830 (dummy_get_bookmark): Remove.
1831 (init_dummy_target): Don't inherit or default to_get_bookmark.
1832 * target.h (struct target_ops) <to_get_bookmark>: Use
1833 TARGET_DEFAULT_NORETURN
1835 2014-02-19 Tom Tromey <tromey@redhat.com>
1837 * target-delegates.c: Rebuild.
1838 * target.c (update_current_target): Don't inherit or default
1839 to_make_corefile_notes.
1840 (init_dummy_target): Don't initialize to_make_corefile_notes.
1841 * target.h (struct target_ops) <to_make_corefile_notes>: Use
1842 TARGET_DEFAULT_FUNC.
1844 2014-02-19 Tom Tromey <tromey@redhat.com>
1846 * target-delegates.c: Rebuild.
1847 * target.c (update_current_target): Don't inherit or default
1848 to_find_memory_regions.
1849 (init_dummy_target): Don't initialize to_find_memory_regions.
1850 * target.h (struct target_ops) <to_find_memory_regions>: Use
1851 TARGET_DEFAULT_FUNC.
1853 2014-02-19 Tom Tromey <tromey@redhat.com>
1855 * target-delegates.c: Rebuild.
1856 * target.c (update_current_target): Don't inherit or default
1858 * target.h (struct target_ops) <to_log_command>: Use
1859 TARGET_DEFAULT_IGNORE.
1860 (target_log_command): Unconditionally delegate.
1862 2014-02-19 Tom Tromey <tromey@redhat.com>
1864 * target-delegates.c: Rebuild.
1865 * target.c (update_current_target): Don't inherit or default
1866 to_pid_to_exec_file.
1867 * target.h (struct target_ops) <to_pid_to_exec_file>: Use
1868 TARGET_DEFAULT_RETURN.
1870 2014-02-19 Tom Tromey <tromey@redhat.com>
1872 * target-delegates.c: Rebuild.
1873 * target.c (update_current_target): Don't inherit or default
1875 (target_thread_name): Unconditionally delegate.
1876 * target.h (struct target_ops) <to_thread_name>: Use
1877 TARGET_DEFAULT_RETURN.
1879 2014-02-19 Tom Tromey <tromey@redhat.com>
1881 * target-delegates.c: Rebuild.
1882 * target.c (update_current_target): Don't inherit or default
1883 to_extra_thread_info.
1884 * target.h (struct target_ops) <to_extra_thread_info>: Use
1885 TARGET_DEFAULT_RETURN.
1887 2014-02-19 Tom Tromey <tromey@redhat.com>
1889 * target-delegates.c: Rebuild.
1890 * target.c (update_current_target): Don't inherit or default
1892 * target.h (struct target_ops) <to_has_exited>: Use
1893 TARGET_DEFAULT_RETURN..
1895 2014-02-19 Tom Tromey <tromey@redhat.com>
1897 * target-delegates.c: Rebuild.
1898 * target.c (update_current_target): Don't inherit or default
1899 to_set_syscall_catchpoint.
1900 (return_one): Remove.
1901 * target.h (struct target_ops) <to_set_syscall_catchpoint>: Use
1902 TARGET_DEFAULT_RETURN.
1904 2014-02-19 Tom Tromey <tromey@redhat.com>
1906 * target-delegates.c: Rebuild.
1907 * target.c (update_current_target): Don't inherit or default
1908 to_insert_exec_catchpoint.
1909 * target.h (struct target_ops) <to_insert_exec_catchpoint>: Use
1910 TARGET_DEFAULT_RETURN.
1912 2014-01-08 Tom Tromey <tromey@redhat.com>
1914 * target-delegates.c: Rebuild.
1915 * target.c (update_current_target): Don't inherit or default
1916 to_insert_exec_catchpoint.
1917 * target.h (struct target_ops) <to_insert_exec_catchpoint>: Use
1918 TARGET_DEFAULT_RETURN.
1920 2014-02-19 Tom Tromey <tromey@redhat.com>
1922 * target-delegates.c: Rebuild.
1923 * target.c (update_current_target): Don't inherit or default
1924 to_remove_vfork_catchpoint.
1925 * target.h (struct target_ops) <to_remove_vfork_catchpoint>: Use
1926 TARGET_DEFAULT_RETURN.
1928 2014-02-19 Tom Tromey <tromey@redhat.com>
1930 * target-delegates.c: Rebuild.
1931 * target.c (update_current_target): Don't inherit or default
1932 to_insert_vfork_catchpoint.
1933 * target.h (struct target_ops) <to_insert_vfork_catchpoint>: Use
1934 TARGET_DEFAULT_RETURN.
1936 2014-02-19 Tom Tromey <tromey@redhat.com>
1938 * target-delegates.c: Rebuild.
1939 * target.c (update_current_target): Don't inherit or default
1940 to_remove_fork_catchpoint.
1941 * target.h (struct target_ops) <to_remove_fork_catchpoint>: Use
1942 TARGET_DEFAULT_RETURN.
1944 2014-02-19 Tom Tromey <tromey@redhat.com>
1946 * target-delegates.c: Rebuild.
1947 * target.c (update_current_target): Don't inherit or default
1948 to_insert_fork_catchpoint.
1949 * target.h (struct target_ops) <to_insert_fork_catchpoint>: Use
1950 TARGET_DEFAULT_RETURN.
1952 2014-02-19 Tom Tromey <tromey@redhat.com>
1954 * target-delegates.c: Rebuild.
1955 * target.c (update_current_target): Don't inherit or default
1956 to_post_startup_inferior.
1957 * target.h (struct target_ops) <to_post_startup_inferior>: Use
1958 TARGET_DEFAULT_IGNORE.
1960 2014-02-19 Tom Tromey <tromey@redhat.com>
1962 * target-delegates.c: Rebuild.
1963 * target.c (update_current_target): Don't inherit or default
1965 * target.h (struct target_ops) <to_load>: Use
1966 TARGET_DEFAULT_NORETURN.
1968 2014-02-19 Tom Tromey <tromey@redhat.com>
1970 * target-delegates.c: Rebuild.
1971 * target.c (update_current_target): Don't inherit or default
1973 * target.h (struct target_ops) <to_terminal_info>: Use
1974 TARGET_DEFAULT_FUNC.
1976 2014-02-19 Tom Tromey <tromey@redhat.com>
1978 * target-delegates.c: Rebuild.
1979 * target.c (update_current_target): Don't inherit or default
1980 to_terminal_save_ours.
1981 * target.h (struct target_ops) <to_terminal_save_ours>: Use
1982 TARGET_DEFAULT_IGNORE.
1984 2014-02-19 Tom Tromey <tromey@redhat.com>
1986 * target-delegates.c: Rebuild.
1987 * target.c (update_current_target): Don't inherit or default
1989 * target.h (struct target_ops) <to_terminal_ours>: Use
1990 TARGET_DEFAULT_IGNORE.
1992 2014-02-19 Tom Tromey <tromey@redhat.com>
1994 * target-delegates.c: Rebuild.
1995 * target.c (update_current_target): Don't inherit or default
1996 to_terminal_ours_for_output.
1997 * target.h (struct target_ops) <to_terminal_ours_for_output>: Use
1998 TARGET_DEFAULT_IGNORE.
2000 2014-02-19 Tom Tromey <tromey@redhat.com>
2002 * target-delegates.c: Rebuild.
2003 * target.c (update_current_target): Don't inherit or default
2004 to_terminal_inferior.
2005 * target.h (struct target_ops) <to_terminal_inferior>: Use
2006 TARGET_DEFAULT_IGNORE.
2008 2014-02-19 Tom Tromey <tromey@redhat.com>
2010 * target-delegates.c: Rebuild.
2011 * target.c (update_current_target): Don't inherit or default
2013 * target.h (struct target_ops) <to_terminal_init>: Use
2014 TARGET_DEFAULT_IGNORE.
2016 2014-02-19 Tom Tromey <tromey@redhat.com>
2018 * target-delegates.c: Rebuild.
2019 * target.c (update_current_target): Don't inherit or default
2020 to_can_accel_watchpoint_condition.
2021 * target.h (struct target_ops)
2022 <to_can_accel_watchpoint_condition>: Use TARGET_DEFAULT_RETURN.
2024 2014-02-19 Tom Tromey <tromey@redhat.com>
2026 * target-delegates.c: Rebuild.
2027 * target.c (update_current_target): Don't inherit or default
2028 to_region_ok_for_hw_watchpoint.
2029 * target.h (struct target_ops) <to_region_ok_for_hw_watchpoint>:
2030 Use TARGET_DEFAULT_FUNC.
2032 2014-02-19 Tom Tromey <tromey@redhat.com>
2034 * target-delegates.c: Rebuild.
2035 * target.c (update_current_target): Don't inherit or default
2036 to_watchpoint_addr_within_range.
2037 * target.h (struct target_ops) <to_watchpoint_addr_within_range>:
2038 Use TARGET_DEFAULT_FUNC.
2040 2014-02-19 Tom Tromey <tromey@redhat.com>
2042 * target-delegates.c: Rebuild.
2043 * target.c (update_current_target): Don't inherit or default
2044 to_remove_watchpoint.
2045 * target.h (struct target_ops) <to_remove_watchpoint>: Use
2046 TARGET_DEFAULT_NORETURN.
2048 2014-02-19 Tom Tromey <tromey@redhat.com>
2050 * target-delegates.c: Rebuild.
2051 * target.c (update_current_target): Don't inherit or default
2052 to_insert_watchpoint.
2053 * target.h (struct target_ops) <to_insert_watchpoint>: Use
2054 TARGET_DEFAULT_RETURN.
2056 2014-02-19 Tom Tromey <tromey@redhat.com>
2058 * target-delegates.c: Rebuild.
2059 * target.c (update_current_target): Don't inherit or default
2060 to_remove_hw_breakpoint.
2061 * target.h (struct target_ops) <to_remove_hw_breakpoint>: Use
2062 TARGET_DEFAULT_RETURN.
2064 2014-02-19 Tom Tromey <tromey@redhat.com>
2066 * target-delegates.c: Rebuild.
2067 * target.c (update_current_target): Don't inherit or default
2068 to_insert_hw_breakpoint.
2069 * target.h (struct target_ops) <to_insert_hw_breakpoint>: Use
2070 TARGET_DEFAULT_RETURN.
2072 2014-02-19 Tom Tromey <tromey@redhat.com>
2074 * target-delegates.c: Rebuild.
2075 * target.c (update_current_target): Don't inherit or default
2076 to_can_use_hw_breakpoint.
2077 * target.h (struct target_ops) <to_can_use_hw_breakpoint>: Use
2078 TARGET_DEFAULT_RETURN.
2080 2014-02-19 Tom Tromey <tromey@redhat.com>
2082 * target-delegates.c: Rebuild.
2083 * target.c (update_current_target): Don't inherit or default
2085 * target.h (struct target_ops) <to_files_info>: Use
2086 TARGET_DEFAULT_IGNORE.
2088 2014-02-19 Tom Tromey <tromey@redhat.com>
2090 * target-delegates.c: Rebuild.
2091 * target.c (update_current_target): Don't inherit or default
2093 * target.h (struct target_ops) <to_store>: Use
2094 TARGET_DEFAULT_NORETURN.
2096 2014-02-19 Tom Tromey <tromey@redhat.com>
2098 * target-delegates.c: Rebuild.
2099 * target.c (update_current_target): Don't inherit or default
2101 * target.h (struct target_ops) <to_post_attach>: Use
2102 TARGET_DEFAULT_IGNORE.
2104 2014-02-19 Tom Tromey <tromey@redhat.com>
2106 * target-delegates.c: Rebuild.
2107 * target.c (update_current_target): Don't inherit or default
2109 (default_rcmd): New function.
2110 (do_monitor_command): Unconditionally delegate.
2111 * target.h (struct target_ops) <to_rmcd>: Use
2112 TARGET_DEFAULT_FUNC.
2114 2014-02-19 Tom Tromey <tromey@redhat.com>
2116 * target-delegates.c: Rebuild.
2117 * target.c (init_dummy_target): Don't initialize to_attach.
2118 (target_attach): Unconditionally delegate.
2119 * target.h (struct target_ops) <to_attach>: Use
2120 TARGET_DEFAULT_FUNC.
2122 2014-02-19 Tom Tromey <tromey@redhat.com>
2124 * target-delegates.c: Rebuild.
2125 * target.c (target_detach): Unconditionally delegate.
2126 (init_dummy_target): Don't initialize to_detach.
2127 * target.h (struct target_ops) <to_detach>: Use
2128 TARGET_DEFAULT_IGNORE.
2130 2014-02-19 Tom Tromey <tromey@redhat.com>
2132 * target.h (struct target_ops) <to_augmented_libraries_svr4_read>:
2134 (target_augmented_libraries_svr4_read): Add argument.
2135 * target.c (update_current_target): Update.
2136 * remote.c (remote_augmented_libraries_svr4_read): Add 'self'
2139 2014-02-19 Tom Tromey <tromey@redhat.com>
2141 * target.h (struct target_ops) <to_call_history_range>: Add
2143 * target.c (target_call_history_range): Add argument.
2144 * record-btrace.c (record_btrace_call_history_range): Add 'self'
2146 (record_btrace_call_history_from): Update.
2148 2014-02-19 Tom Tromey <tromey@redhat.com>
2150 * target.h (struct target_ops) <to_call_history_from>: Add
2152 * target.c (target_call_history_from): Add argument.
2153 * record-btrace.c (record_btrace_call_history_from): Add 'self'
2156 2014-02-19 Tom Tromey <tromey@redhat.com>
2158 * target.h (struct target_ops) <to_call_history>: Add argument.
2159 * target.c (target_call_history): Add argument.
2160 * record-btrace.c (record_btrace_call_history): Add 'self'
2163 2014-02-19 Tom Tromey <tromey@redhat.com>
2165 * target.h (struct target_ops) <to_insn_history_range>: Add
2167 * target.c (target_insn_history_range): Add argument.
2168 * record-btrace.c (record_btrace_insn_history_range): Add 'self'
2170 (record_btrace_insn_history_from): Update.
2172 2014-02-19 Tom Tromey <tromey@redhat.com>
2174 * target.h (struct target_ops) <to_insn_history_from>: Add
2176 * target.c (target_insn_history_from): Add argument.
2177 * record-btrace.c (record_btrace_insn_history_from): Add 'self'
2180 2014-02-19 Tom Tromey <tromey@redhat.com>
2182 * target.h (struct target_ops) <to_insn_history>: Add argument.
2183 * target.c (target_insn_history): Add argument.
2184 * record-btrace.c (record_btrace_insn_history): Add 'self'
2187 2014-02-19 Tom Tromey <tromey@redhat.com>
2189 * target.h (struct target_ops) <to_goto_record>: Add argument.
2190 * target.c (target_goto_record): Add argument.
2191 * record-full.c (record_full_goto): Add 'self' argument.
2192 * record-btrace.c (record_btrace_goto): Add 'self' argument.
2194 2014-02-19 Tom Tromey <tromey@redhat.com>
2196 * target.h (struct target_ops) <to_goto_record_end>: Add argument.
2197 * target.c (target_goto_record_end): Add argument.
2198 * record-full.c (record_full_goto_end): Add 'self' argument.
2199 * record-btrace.c (record_btrace_goto_end): Add 'self' argument.
2201 2014-02-19 Tom Tromey <tromey@redhat.com>
2203 * target.h (struct target_ops) <to_goto_record_begin>: Add
2205 * target.c (target_goto_record_begin): Add argument.
2206 * record-full.c (record_full_goto_begin): Add 'self' argument.
2207 * record-btrace.c (record_btrace_goto_begin): Add 'self'
2210 2014-02-19 Tom Tromey <tromey@redhat.com>
2212 * target.h (struct target_ops) <to_record_is_replaying>: Add
2214 * target.c (target_record_is_replaying): Add argument.
2215 * record-full.c (record_full_is_replaying): Add 'self' argument.
2216 * record-btrace.c (record_btrace_is_replaying): Add 'self'
2218 (record_btrace_xfer_partial, record_btrace_store_registers)
2219 (record_btrace_prepare_to_store, record_btrace_resume)
2220 (record_btrace_wait, record_btrace_decr_pc_after_break)
2221 (record_btrace_find_new_threads, record_btrace_thread_alive):
2224 2014-02-19 Tom Tromey <tromey@redhat.com>
2226 * target.h (struct target_ops) <to_delete_record>: Add argument.
2227 * target.c (target_delete_record): Add argument.
2228 * record-full.c (record_full_delete): Add 'self' argument.
2230 2014-02-19 Tom Tromey <tromey@redhat.com>
2232 * target.h (struct target_ops) <to_save_record>: Add argument.
2233 * target.c (target_save_record): Add argument.
2234 * record-full.c (record_full_save): Add 'self' argument.
2235 (record_full_save): Add 'self' argument.
2237 2014-02-19 Tom Tromey <tromey@redhat.com>
2239 * target.h (struct target_ops) <to_info_record>: Add argument.
2240 * target.c (target_info_record): Add argument.
2241 * record.c (info_record_command): Add argument.
2242 * record-full.c (record_full_info): Add 'self' argument.
2243 * record-btrace.c (record_btrace_info): Add 'self' argument.
2245 2014-02-19 Tom Tromey <tromey@redhat.com>
2247 * target.h (struct target_ops) <to_stop_recording>: Add argument.
2248 * target.c (target_stop_recording): Add argument.
2249 * record.c (record_stop): Add argument.
2250 * record-btrace.c (record_btrace_stop_recording): Add 'self'
2253 2014-02-19 Tom Tromey <tromey@redhat.com>
2255 * target.h (struct target_ops) <to_read_btrace>: Add argument.
2256 * target.c (struct target_ops) <to_read_btrace>: Add argument.
2257 * remote.c (struct target_ops) <to_read_btrace>: Add 'self'
2259 * amd64-linux-nat.c (amd64_linux_read_btrace): New function.
2260 (_initialize_amd64_linux_nat): Use it.
2261 * i386-linux-nat.c (i386_linux_read_btrace): New function.
2262 (_initialize_i386_linux_nat): Use it.
2264 2014-02-19 Tom Tromey <tromey@redhat.com>
2266 * target.h (struct target_ops) <to_teardown_btrace>: Add argument.
2267 * target.c (target_teardown_btrace): Add argument.
2268 * remote.c (remote_teardown_btrace): Add 'self' argument.
2269 * i386-linux-nat.c (i386_linux_teardown_btrace): Add 'self'
2271 * amd64-linux-nat.c (amd64_linux_teardown_btrace): Add 'self'
2274 2014-02-19 Tom Tromey <tromey@redhat.com>
2276 * target.h (struct target_ops) <to_disable_btrace>: Add argument.
2277 * target.c (target_disable_btrace): Add argument.
2278 * remote.c (remote_disable_btrace): Add 'self' argument.
2279 * i386-linux-nat.c (i386_linux_disable_btrace): Add 'self'
2281 * amd64-linux-nat.c (amd64_linux_disable_btrace): Add 'self'
2284 2014-02-19 Tom Tromey <tromey@redhat.com>
2286 * target.h (struct target_ops) <to_enable_btrace>: Add argument.
2287 * target.c (target_enable_btrace): Add argument.
2288 * remote.c (remote_enable_btrace): Add 'self' argument.
2289 * i386-linux-nat.c (i386_linux_enable_btrace): Add 'self'
2291 * amd64-linux-nat.c (amd64_linux_enable_btrace): Add 'self'
2294 2014-02-19 Tom Tromey <tromey@redhat.com>
2296 * target.h (struct target_ops) <to_can_use_agent>: Add argument.
2297 (target_can_use_agent): Add argument.
2298 * target.c (update_current_target): Update.
2299 * remote.c (remote_can_use_agent): Add 'self' argument.
2300 * inf-child.c (inf_child_can_use_agent): Add 'self' argument.
2302 2014-02-19 Tom Tromey <tromey@redhat.com>
2304 * target.h (struct target_ops) <to_use_agent>: Add argument.
2305 (target_use_agent): Add argument.
2306 * target.c (update_current_target): Update.
2307 * remote.c (remote_use_agent): Add 'self' argument.
2308 * inf-child.c (inf_child_use_agent): Add 'self' argument.
2310 2014-02-19 Tom Tromey <tromey@redhat.com>
2312 * tracepoint.c (tfile_traceframe_info): Add 'self' argument.
2313 * target.h (struct target_ops) <to_traceframe_info>: Add argument.
2314 (target_traceframe_info): Add argument.
2315 * target.c (update_current_target): Update.
2316 * remote.c (remote_traceframe_info): Add 'self' argument.
2317 * ctf.c (ctf_traceframe_info): Add 'self' argument.
2319 2014-02-19 Tom Tromey <tromey@redhat.com>
2321 * target.h (target_static_tracepoint_markers_by_strid): Add
2323 (struct target_ops) <to_static_tracepoint_markers_by_strid>: Add
2325 * target.c (update_current_target): Update.
2326 * remote.c (struct target_ops)
2327 <to_static_tracepoint_markers_by_strid>: Add 'self' argument.
2328 * linux-nat.c (struct target_ops)
2329 <to_static_tracepoint_markers_by_strid>: Add 'self' argument.
2331 2014-02-19 Tom Tromey <tromey@redhat.com>
2333 * target.h (struct target_ops) <to_static_tracepoint_marker_at>:
2335 (target_static_tracepoint_marker_at): Add argument.
2336 * target.c (update_current_target): Update.
2337 * remote.c (remote_static_tracepoint_marker_at): Add 'self'
2340 2014-02-19 Tom Tromey <tromey@redhat.com>
2342 * target.h (struct target_ops) <to_set_permissions>: Add argument.
2343 (target_set_permissions): Add argument.
2344 * target.c (update_current_target): Update.
2345 * remote.c (remote_set_permissions): Add 'self' argument.
2346 (remote_start_remote): Update.
2348 2014-02-19 Tom Tromey <tromey@redhat.com>
2350 * windows-nat.c (windows_get_tib_address): Add 'self' argument.
2351 * target.h (struct target_ops) <to_get_tib_address>: Add argument.
2352 (target_get_tib_address): Add argument.
2353 * target.c (update_current_target): Update.
2354 * remote.c (remote_get_tib_address): Add 'self' argument.
2356 2014-02-19 Tom Tromey <tromey@redhat.com>
2358 * target.h (struct target_ops) <to_set_trace_notes>: Add argument.
2359 (target_set_trace_notes): Add argument.
2360 * target.c (update_current_target): Update.
2361 * remote.c (remote_set_trace_notes): Add 'self' argument.
2363 2014-02-19 Tom Tromey <tromey@redhat.com>
2365 * target.h (struct target_ops) <to_set_trace_buffer_size>: Add
2367 (target_set_trace_buffer_size): Add argument.
2368 * target.c (update_current_target): Update.
2369 * remote.c (remote_set_trace_buffer_size): Add 'self' argument.
2371 2014-02-19 Tom Tromey <tromey@redhat.com>
2373 * target.h (struct target_ops) <to_set_circular_trace_buffer>: Add
2375 (target_set_circular_trace_buffer): Add argument.
2376 * target.c (update_current_target): Update.
2377 * remote.c (remote_set_circular_trace_buffer): Add 'self'
2380 2014-02-19 Tom Tromey <tromey@redhat.com>
2382 * target.h (struct target_ops) <to_set_disconnected_tracing>: Add
2384 (target_set_disconnected_tracing): Add argument.
2385 * target.c (update_current_target): Update.
2386 * remote.c (remote_set_disconnected_tracing): Add 'self' argument.
2388 2014-02-19 Tom Tromey <tromey@redhat.com>
2390 * target.h (struct target_ops)
2391 <to_get_min_fast_tracepoint_insn_len>: Add argument.
2392 (target_get_min_fast_tracepoint_insn_len): Add argument.
2393 * target.c (update_current_target): Update.
2394 * remote.c (remote_get_min_fast_tracepoint_insn_len): Add 'self'
2397 2014-02-19 Tom Tromey <tromey@redhat.com>
2399 * target.h (struct target_ops) <to_get_raw_trace_data>: Add
2401 (target_get_raw_trace_data): Add argument.
2402 * target.c (update_current_target): Update.
2403 * remote.c (remote_get_raw_trace_data): Add 'self' argument.
2405 2014-02-19 Tom Tromey <tromey@redhat.com>
2407 * target.h (struct target_ops) <to_upload_trace_state_variables>:
2409 (target_upload_trace_state_variables): Add argument.
2410 * target.c (update_current_target): Update.
2411 * remote.c (remote_upload_trace_state_variables): Add 'self'
2413 (remote_start_remote): Update.
2415 2014-02-19 Tom Tromey <tromey@redhat.com>
2417 * target.h (struct target_ops) <to_upload_tracepoints>: Add
2419 (target_upload_tracepoints): Add argument.
2420 * target.c (update_current_target): Update.
2421 * remote.c (remote_upload_tracepoints): Add 'self' argument.
2422 (remote_start_remote): Update.
2424 2014-02-19 Tom Tromey <tromey@redhat.com>
2426 * target.h (struct target_ops) <to_save_trace_data>: Add argument.
2427 (target_save_trace_data): Add argument.
2428 * target.c (update_current_target): Update.
2429 * remote.c (remote_save_trace_data): Add 'self' argument.
2431 2014-02-19 Tom Tromey <tromey@redhat.com>
2433 * tracepoint.c (tfile_get_trace_state_variable_value): Add 'self'
2435 * target.h (struct target_ops)
2436 <to_get_trace_state_variable_value>: Add argument.
2437 (target_get_trace_state_variable_value): Add argument.
2438 * target.c (update_current_target): Update.
2439 * remote.c (remote_get_trace_state_variable_value): Add 'self'
2441 * ctf.c (ctf_get_trace_state_variable_value): Add 'self' argument.
2443 2014-02-19 Tom Tromey <tromey@redhat.com>
2445 * tracepoint.c (tfile_trace_find): Add 'self' argument.
2446 * target.h (struct target_ops) <to_trace_find>: Add argument.
2447 (target_trace_find): Add argument.
2448 * target.c (update_current_target): Update.
2449 * remote.c (remote_trace_find): Add 'self' argument.
2450 * ctf.c (ctf_trace_find): Add 'self' argument.
2452 2014-02-19 Tom Tromey <tromey@redhat.com>
2454 * target.h (struct target_ops) <to_trace_stop>: Add argument.
2455 (target_trace_stop): Add argument.
2456 * target.c (update_current_target): Update.
2457 * remote.c (remote_trace_stop): Add 'self' argument.
2459 2014-02-19 Tom Tromey <tromey@redhat.com>
2461 * tracepoint.c (tfile_get_tracepoint_status): Add 'self' argument.
2462 * target.h (struct target_ops) <to_get_tracepoint_status>: Add
2464 (target_get_tracepoint_status): Add argument.
2465 * target.c (update_current_target): Update.
2466 * remote.c (remote_get_tracepoint_status): Add 'self' argument.
2468 2014-02-19 Tom Tromey <tromey@redhat.com>
2470 * tracepoint.c (tfile_get_trace_status): Add 'self' argument.
2471 * target.h (struct target_ops) <to_get_trace_status>: Add
2473 (target_get_trace_status): Add argument.
2474 * target.c (update_current_target): Update.
2475 * remote.c (remote_get_trace_status): Add 'self' argument.
2476 (remote_start_remote, remote_can_download_tracepoint): Update.
2477 * ctf.c (ctf_get_trace_status): Add 'self' argument.
2479 2014-02-19 Tom Tromey <tromey@redhat.com>
2481 * target.h (struct target_ops) <to_trace_start>: Add argument.
2482 (target_trace_start): Add argument.
2483 * target.c (update_current_target): Update.
2484 * remote.c (remote_trace_start): Add 'self' argument.
2486 2014-02-19 Tom Tromey <tromey@redhat.com>
2488 * target.h (struct target_ops) <to_trace_set_readonly_regions>:
2490 (target_trace_set_readonly_regions): Add argument.
2491 * target.c (update_current_target): Update.
2492 * remote.c (remote_trace_set_readonly_regions): Add 'self'
2495 2014-02-19 Tom Tromey <tromey@redhat.com>
2497 * target.h (struct target_ops) <to_disable_tracepoint>: Add
2499 (target_disable_tracepoint): Add argument.
2500 * target.c (update_current_target): Update.
2501 * remote.c (remote_disable_tracepoint): Add 'self' argument.
2503 2014-02-19 Tom Tromey <tromey@redhat.com>
2505 * target.h (struct target_ops) <to_enable_tracepoint>: Add
2507 (target_enable_tracepoint): Add argument.
2508 * target.c (update_current_target): Update.
2509 * remote.c (remote_enable_tracepoint): Add 'self' argument.
2511 2014-02-19 Tom Tromey <tromey@redhat.com>
2513 * target.h (struct target_ops) <to_download_trace_state_variable>:
2515 (target_download_trace_state_variable): Add argument.
2516 * target.c (update_current_target): Update.
2517 * remote.c (remote_download_trace_state_variable): Add 'self'
2520 2014-02-19 Tom Tromey <tromey@redhat.com>
2522 * target.h (struct target_ops) <to_can_download_tracepoint>: Add
2524 (target_can_download_tracepoint): Add argument.
2525 * target.c (update_current_target): Update.
2526 * remote.c (remote_can_download_tracepoint): Add 'self' argument.
2528 2014-02-19 Tom Tromey <tromey@redhat.com>
2530 * target.h (struct target_ops) <to_download_tracepoint>: Add
2532 (target_download_tracepoint): Add argument.
2533 * target.c (update_current_target): Update.
2534 * remote.c (remote_download_tracepoint): Add 'self' argument.
2536 2014-02-19 Tom Tromey <tromey@redhat.com>
2538 * target.h (struct target_ops) <to_trace_init>: Add argument.
2539 (target_trace_init): Add argument.
2540 * target.c (update_current_target): Update.
2541 * remote.c (remote_trace_init): Add 'self' argument.
2543 2014-02-19 Tom Tromey <tromey@redhat.com>
2545 * target.h (struct target_ops) <to_fileio_readlink>: Add argument.
2546 * target.c (target_fileio_readlink): Add argument.
2547 * remote.c (remote_hostio_readlink): Add 'self' argument.
2548 * inf-child.c (inf_child_fileio_readlink): Add 'self' argument.
2550 2014-02-19 Tom Tromey <tromey@redhat.com>
2552 * target.h (struct target_ops) <to_fileio_unlink>: Add argument.
2553 * target.c (target_fileio_unlink): Add argument.
2554 * remote.c (remote_hostio_unlink): Add 'self' argument.
2555 (remote_file_delete): Update.
2556 * inf-child.c (inf_child_fileio_unlink): Add 'self' argument.
2558 2014-02-19 Tom Tromey <tromey@redhat.com>
2560 * target.h (struct target_ops) <to_fileio_close>: Add argument.
2561 * target.c (target_fileio_close): Add argument.
2562 * remote.c (remote_hostio_close): Add 'self' argument.
2563 (remote_hostio_close_cleanup): Update.
2564 (remote_bfd_iovec_close, remote_file_put, remote_file_get):
2566 * inf-child.c (inf_child_fileio_close): Add 'self' argument.
2568 2014-02-19 Tom Tromey <tromey@redhat.com>
2570 * target.h (struct target_ops) <to_fileio_pread>: Add argument.
2571 * target.c (target_fileio_pread): Add argument.
2572 * remote.c (remote_hostio_pread): Add 'self' argument.
2573 (remote_bfd_iovec_pread, remote_file_get): Update.
2574 * inf-child.c (inf_child_fileio_pread): Add 'self' argument.
2576 2014-02-19 Tom Tromey <tromey@redhat.com>
2578 * target.h (struct target_ops) <to_fileio_pwrite>: Add argument.
2579 * target.c (target_fileio_pwrite): Add argument.
2580 * remote.c (remote_hostio_pwrite): Add 'self' argument.
2581 (remote_file_put): Update.
2582 * inf-child.c (inf_child_fileio_pwrite): Add 'self' argument.
2584 2014-02-19 Tom Tromey <tromey@redhat.com>
2586 * target.h (struct target_ops) <to_fileio_open>: Add argument.
2587 * target.c (target_fileio_open): Add argument.
2588 * remote.c (remote_hostio_open): Add 'self' argument.
2589 (remote_bfd_iovec_open): Add 'self' argument.
2590 (remote_file_put): Add 'self' argument.
2591 (remote_file_get): Add 'self' argument.
2592 * inf-child.c (inf_child_fileio_open): Add 'self' argument.
2594 2014-02-19 Tom Tromey <tromey@redhat.com>
2596 * target.h (struct target_ops) <to_can_run_breakpoint_commands>:
2598 (target_can_run_breakpoint_commands): Add argument.
2599 * target.c (update_current_target): Update.
2600 * remote.c (remote_can_run_breakpoint_commands): Add 'self'
2602 (remote_insert_breakpoint): Add 'self' argument.
2603 (remote_insert_hw_breakpoint): Add 'self' argument.
2604 (remote_can_run_breakpoint_commands): Add 'self' argument.
2606 2014-02-19 Tom Tromey <tromey@redhat.com>
2608 * target.h (struct target_ops)
2609 <to_supports_evaluation_of_breakpoint_conditions>: Add argument.
2610 (target_supports_evaluation_of_breakpoint_conditions): Add
2612 * target.c (update_current_target): Update.
2613 * remote.c (remote_supports_cond_breakpoints): Add 'self'
2615 (remote_insert_breakpoint): Add 'self' argument.
2616 (remote_insert_hw_breakpoint): Add 'self' argument.
2617 (remote_supports_cond_breakpoints): Add 'self' argument.
2619 2014-02-19 Tom Tromey <tromey@redhat.com>
2621 * target.h (struct target_ops) <to_supports_string_tracing>: Add
2623 (target_supports_string_tracing): Add argument.
2624 * target.c (update_current_target): Update.
2625 * remote.c (remote_supports_string_tracing): Add 'self' argument.
2627 2014-02-19 Tom Tromey <tromey@redhat.com>
2629 * target.h (struct target_ops)
2630 <to_supports_disable_randomization>: Add argument.
2631 * target.c (find_default_supports_disable_randomization): Add
2633 (target_supports_disable_randomization): Add argument.
2634 (find_default_supports_disable_randomization): Add 'self'
2636 * remote.c (extended_remote_supports_disable_randomization): Add
2638 (remote_supports_disable_randomization): Add 'self' argument.
2639 (extended_remote_create_inferior): Update.
2640 * linux-nat.c (linux_nat_supports_disable_randomization): Add
2643 2014-02-19 Tom Tromey <tromey@redhat.com>
2645 * target.h (struct target_ops)
2646 <to_supports_enable_disable_tracepoint>: Add argument.
2647 (target_supports_enable_disable_tracepoint): Add argument.
2648 * target.c (update_current_target): Update.
2649 * remote.c (remote_supports_enable_disable_tracepoint): Add 'self'
2652 2014-02-19 Tom Tromey <tromey@redhat.com>
2654 * target.h (struct target_ops) <to_supports_multi_process>: Add
2656 (target_supports_multi_process): Add argument.
2657 * target.c (update_current_target): Update.
2658 * remote.c (remote_supports_multi_process): Add 'self' argument.
2659 * linux-nat.c (linux_nat_supports_multi_process): Add 'self'
2661 * darwin-nat.c (darwin_supports_multi_process): Add 'self'
2664 2014-02-19 Tom Tromey <tromey@redhat.com>
2666 * target.h (struct target_ops) <to_execution_direction>: Add
2668 (target_execution_direction): Add argument.
2669 * target.c (default_execution_direction): Add 'self' argument.
2670 * record-full.c (record_full_execution_direction): Add 'self'
2673 2014-02-19 Tom Tromey <tromey@redhat.com>
2675 * target.h (struct target_ops) <to_can_execute_reverse>: Add
2677 (target_can_execute_reverse): Add argument.
2678 * remote.c (remote_can_execute_reverse): Add 'self' argument.
2679 * record-full.c (record_full_can_execute_reverse): Add 'self'
2681 * record-btrace.c (record_btrace_can_execute_reverse): Add 'self'
2684 2014-02-19 Tom Tromey <tromey@redhat.com>
2686 * windows-nat.c (windows_get_ada_task_ptid): Add 'self' argument.
2687 * target.h (struct target_ops) <to_get_ada_task_ptid>: Add
2689 (target_get_ada_task_ptid): Add argument.
2690 * target.c (update_current_target): Update.
2691 (default_get_ada_task_ptid): Add 'self' argument.
2692 * sol-thread.c (sol_get_ada_task_ptid): Add 'self' argument.
2693 * remote.c (remote_get_ada_task_ptid): Add 'self' argument.
2694 * ravenscar-thread.c (ravenscar_get_ada_task_ptid): Add 'self'
2696 * linux-thread-db.c (thread_db_get_ada_task_ptid): Add 'self'
2698 * inf-ttrace.c (inf_ttrace_get_ada_task_ptid): Add 'self'
2700 * dec-thread.c (dec_thread_get_ada_task_ptid): Add 'self'
2702 * darwin-nat.c (darwin_get_ada_task_ptid): Add 'self' argument.
2703 * aix-thread.c (aix_thread_get_ada_task_ptid): Add 'self'
2706 2014-02-19 Tom Tromey <tromey@redhat.com>
2708 * target.h (struct target_ops) <to_goto_bookmark>: Add argument.
2709 (target_goto_bookmark): Add argument.
2710 * target.c (dummy_goto_bookmark): Add 'self' argument.
2711 * record-full.c (record_full_goto_bookmark): Add 'self' argument.
2713 2014-02-19 Tom Tromey <tromey@redhat.com>
2715 * target.h (struct target_ops) <to_get_bookmark>: Add argument.
2716 (target_get_bookmark): Add argument.
2717 * target.c (dummy_get_bookmark): Add 'self' argument.
2718 * record-full.c (record_full_get_bookmark): Add 'self' argument.
2720 2014-02-19 Tom Tromey <tromey@redhat.com>
2722 * target.h (struct target_ops) <to_make_corefile_notes>: Add
2724 (target_make_corefile_notes): Add argument.
2725 * target.c (dummy_make_corefile_notes): Add 'self' argument.
2726 * procfs.c (procfs_make_note_section): Add 'self' argument.
2727 (procfs_make_note_section): Add 'self' argument.
2728 (procfs_make_note_section): Add 'self' argument.
2729 * linux-nat.c (linux_nat_make_corefile_notes): Add 'self'
2731 * fbsd-nat.h (fbsd_make_corefile_notes): Add 'self' argument.
2732 * fbsd-nat.c (fbsd_make_corefile_notes): Add 'self' argument.
2733 * exec.c (exec_make_note_section): Add 'self' argument.
2734 (exec_make_note_section): Add 'self' argument.
2736 2014-02-19 Tom Tromey <tromey@redhat.com>
2738 * target.h (struct target_ops) <to_find_memory_regions>: Add
2740 (target_find_memory_regions): Add argument.
2741 * target.c (dummy_find_memory_regions): Add 'self' argument.
2742 * procfs.c (proc_find_memory_regions): Add 'self' argument.
2743 * gnu-nat.c (gnu_find_memory_regions): Add 'self' argument.
2744 * fbsd-nat.h (fbsd_find_memory_regions): Add 'self' argument.
2745 * fbsd-nat.c (fbsd_find_memory_regions): Add 'self' argument.
2746 * exec. (exec_do_find_memory_regions): New global.
2747 (exec_set_find_memory_regions): Rewrite.
2748 (exec_find_memory_regions): New function.
2749 (init_exec_ops): Use exec_find_memory_regions.
2751 2014-02-19 Tom Tromey <tromey@redhat.com>
2753 * target.h (struct target_ops) <to_supports_non_stop>: Add
2755 * target.c (find_default_supports_non_stop): Add argument.
2756 (target_supports_non_stop): Add argument.
2757 (find_default_supports_non_stop): Add 'self' argument.
2758 * remote.c (remote_supports_non_stop): Add 'self' argument.
2759 * linux-nat.c (linux_nat_supports_non_stop): Add 'self' argument.
2761 2014-02-19 Tom Tromey <tromey@redhat.com>
2763 * target.h (struct target_ops) <to_log_command>: Add argument.
2764 (target_log_command): Add argument.
2765 * serial.h (serial_log_command): Add 'self' argument.
2766 * serial.c (serial_log_command): Add 'self' argument.
2768 2014-02-19 Tom Tromey <tromey@redhat.com>
2770 * windows-nat.c (windows_pid_to_exec_file): Add 'self' argument.
2771 * target.h (struct target_ops) <to_pid_to_exec_file>: Add
2773 (target_pid_to_exec_file): Add argument.
2774 * target.c (debug_to_pid_to_exec_file): Add argument.
2775 (update_current_target): Update.
2776 * nbsd-nat.h (nbsd_pid_to_exec_file): Add 'self' argument.
2777 * nbsd-nat.c (nbsd_pid_to_exec_file): Add 'self' argument.
2778 * linux-nat.c (linux_child_pid_to_exec_file): Add 'self' argument.
2779 (linux_handle_extended_wait): Update.
2780 * inf-child.c (inf_child_pid_to_exec_file): Add 'self' argument.
2781 * fbsd-nat.h (fbsd_pid_to_exec_file): Add 'self' argument.
2782 * fbsd-nat.c (fbsd_pid_to_exec_file): Add 'self' argument.
2783 * darwin-nat.c (darwin_pid_to_exec_file): Add 'self' argument.
2785 2014-02-19 Tom Tromey <tromey@redhat.com>
2787 * target.h (struct target_ops) <to_rcmd>: Add argument.
2788 (target_rcmd): Add argument.
2789 * target.c (debug_to_rcmd): Add argument.
2790 (update_current_target, do_monitor_command): Update.
2791 * remote.c (remote_rcmd): Add 'self' argument.
2792 * monitor.c (monitor_rcmd): Add 'self' argument.
2794 2014-02-19 Tom Tromey <tromey@redhat.com>
2796 * windows-nat.c (windows_stop): Add 'self' argument.
2797 * target.h (struct target_ops) <to_stop>: Add argument.
2798 * target.c (target_stop): Add argument.
2799 (debug_to_stop): Add argument.
2800 (update_current_target): Update.
2801 * remote.c (remote_stop): Add 'self' argument.
2802 * remote-sim.c (gdbsim_stop): Add 'self' argument.
2803 (gdbsim_cntrl_c): Update.
2804 * remote-m32r-sdi.c (m32r_stop): Add 'self' argument.
2805 * procfs.c (procfs_stop): Add 'self' argument.
2806 * nto-procfs.c (procfs_stop): Add 'self' argument.
2807 * monitor.c (monitor_stop): Add 'self' argument.
2808 (monitor_open): Update.
2809 * linux-nat.c (linux_nat_stop): Add argument.
2810 * inf-ptrace.c (inf_ptrace_stop): Add 'self' argument.
2811 * gnu-nat.c (gnu_stop): Add 'self' argument.
2812 * darwin-nat.c (darwin_stop): Add 'self' argument.
2814 2014-02-19 Tom Tromey <tromey@redhat.com>
2816 * target.h (struct target_ops) <to_thread_name>: Add argument.
2817 * target.c (target_thread_name): Add argument.
2818 (update_current_target): Update.
2819 * linux-nat.c (linux_nat_thread_name): Add 'self' argument.
2821 2014-02-19 Tom Tromey <tromey@redhat.com>
2823 * target.h (struct target_ops) <to_extra_thread_info>: Add
2825 (target_extra_thread_info): Add argument.
2826 * target.c (update_current_target): Update.
2827 * remote.c (remote_threads_extra_info): Add 'self' argument.
2828 * ravenscar-thread.c (ravenscar_extra_thread_info): Add 'self'
2830 * nto-tdep.h (nto_extra_thread_info): Add 'self' argument.
2831 * nto-tdep.c (nto_extra_thread_info): Add 'self' argument.
2832 * linux-thread-db.c (thread_db_extra_thread_info): Add 'self'
2834 * inf-ttrace.c (inf_ttrace_extra_thread_info): Add 'self'
2836 * bsd-uthread.c (bsd_uthread_extra_thread_info): Add 'self'
2838 * aix-thread.c (aix_thread_extra_thread_info): Add 'self'
2841 2014-02-19 Tom Tromey <tromey@redhat.com>
2843 * target.h (struct target_ops) <to_program_signals>: Add argument.
2844 * target.c (target_program_signals): Add argument.
2845 * remote.c (remote_program_signals): Add 'self' argument.
2847 2014-02-19 Tom Tromey <tromey@redhat.com>
2849 * target.h (struct target_ops) <to_pass_signals>: Add argument.
2850 * target.c (target_pass_signals): Add argument.
2851 * remote.c (remote_pass_signals): Add 'self' argument.
2852 (remote_start_remote): Update.
2853 * procfs.c (procfs_pass_signals): Add 'self' argument.
2854 * nto-procfs.c (procfs_pass_signals): Add 'self' argument.
2855 * linux-nat.c (linux_nat_pass_signals): Add 'self' argument.
2856 (linux_nat_create_inferior, linux_nat_attach): Update.
2858 2014-02-19 Tom Tromey <tromey@redhat.com>
2860 * windows-nat.c (windows_can_run): Add 'self' argument.
2861 * target.h (struct target_ops) <to_can_run>: Add argument.
2862 (target_can_run): Add argument.
2863 * target.c (debug_to_can_run): Add argument.
2864 (update_current_target): Update.
2865 * nto-procfs.c (procfs_can_run): Add 'self' argument.
2866 * inf-child.c (inf_child_can_run): Add 'self' argument.
2867 * go32-nat.c (go32_can_run): Add 'self' argument.
2869 2014-02-19 Tom Tromey <tromey@redhat.com>
2871 * target.h (struct target_ops) <to_has_exited>: Add argument.
2872 (target_has_exited): Add argument.
2873 * target.c (debug_to_has_exited): Add argument.
2874 (update_current_target): Update.
2876 2014-02-19 Tom Tromey <tromey@redhat.com>
2878 * target.h (struct target_ops) <to_set_syscall_catchpoint>: Add
2880 (target_set_syscall_catchpoint): Add argument.
2881 * linux-nat.c (linux_child_set_syscall_catchpoint): Add 'self'
2883 * target.c (update_current_target): Update.
2885 2014-02-19 Tom Tromey <tromey@redhat.com>
2887 * target.h (struct target_ops) <to_remove_exec_catchpoint>: Add
2889 (target_remove_exec_catchpoint): Add argument.
2890 * target.c (debug_to_remove_exec_catchpoint): Add argument.
2891 (update_current_target): Update.
2892 * linux-nat.c (linux_child_remove_exec_catchpoint): Add 'self'
2895 2014-02-19 Tom Tromey <tromey@redhat.com>
2897 * target.h (struct target_ops) <to_insert_exec_catchpoint>: Add
2899 (target_insert_exec_catchpoint): Add argument.
2900 * target.c (debug_to_insert_exec_catchpoint): Add argument.
2901 (update_current_target): Update.
2902 * linux-nat.c (linux_child_insert_exec_catchpoint): Add 'self'
2905 2014-02-19 Tom Tromey <tromey@redhat.com>
2907 * target.h (struct target_ops) <to_remove_vfork_catchpoint>: Add
2909 (target_remove_vfork_catchpoint): Add argument.
2910 * target.c (debug_to_remove_vfork_catchpoint): Add argument.
2911 (update_current_target): Update.
2912 * linux-nat.c (linux_child_remove_vfork_catchpoint): Add 'self'
2915 2014-02-19 Tom Tromey <tromey@redhat.com>
2917 * target.h (struct target_ops) <to_insert_vfork_catchpoint>: Add
2919 (target_insert_vfork_catchpoint): Add argument.
2920 * target.c (debug_to_insert_vfork_catchpoint): Add argument.
2921 (update_current_target): Update.
2922 * linux-nat.c (linux_child_insert_vfork_catchpoint): Add 'self'
2925 2014-02-19 Tom Tromey <tromey@redhat.com>
2927 * target.h (struct target_ops) <to_remove_fork_catchpoint>: Add
2929 (target_remove_fork_catchpoint): Add argument.
2930 * target.c (debug_to_remove_fork_catchpoint): Add argument.
2931 (update_current_target): Update.
2932 * linux-nat.c (linux_child_remove_fork_catchpoint): Add 'self'
2935 2014-02-19 Tom Tromey <tromey@redhat.com>
2937 * target.h (struct target_ops) <to_insert_fork_catchpoint>: Add
2939 (target_insert_fork_catchpoint): Add argument.
2940 * target.c (debug_to_insert_fork_catchpoint): Add argument.
2941 (update_current_target): Update.
2942 * linux-nat.c (linux_child_insert_fork_catchpoint): Add 'self'
2945 2014-02-19 Tom Tromey <tromey@redhat.com>
2947 * target.h (struct target_ops) <to_post_startup_inferior>: Add
2949 (target_post_startup_inferior): Add argument.
2950 * target.c (debug_to_post_startup_inferior): Add argument.
2951 (update_current_target): Update.
2952 * spu-linux-nat.c (spu_child_post_startup_inferior): Add 'self'
2954 * linux-nat.c (linux_child_post_startup_inferior): Add 'self'
2956 * inf-ptrace.c (inf_ptrace_post_startup_inferior): Add 'self'
2958 * inf-child.c (inf_child_post_startup_inferior): Add 'self'
2960 * i386-linux-nat.c (i386_linux_child_post_startup_inferior): Add
2962 (super_post_startup_inferior): Likewise.
2963 * amd64-linux-nat.c (amd64_linux_child_post_startup_inferior): Add
2965 (super_post_startup_inferior): Likewise.
2966 * aarch64-linux-nat.c (aarch64_linux_child_post_startup_inferior):
2967 Add 'self' argument.
2968 (super_post_startup_inferior): Likewise.
2970 2014-02-19 Tom Tromey <tromey@redhat.com>
2972 * target.h (struct target_ops) <to_load>: Add argument.
2973 * target.c (target_load): Add argument.
2974 (debug_to_load): Add argument.
2975 (update_current_target): Update.
2976 * remote.c (remote_load): Add 'self' argument.
2977 * remote-sim.c (gdbsim_load): Add 'self' argument.
2978 * remote-mips.c (mips_load): Add 'self' argument.
2979 * remote-m32r-sdi.c (m32r_load): Add 'self' argument.
2980 * monitor.c (monitor_load): Add 'self' argument.
2981 * m32r-rom.c (m32r_load_gen): Add 'self' argument.
2983 2014-02-19 Tom Tromey <tromey@redhat.com>
2985 * target.h (struct target_ops) <to_terminal_info>: Add argument.
2986 (target_terminal_info): Add argument.
2987 * target.c (debug_to_terminal_info): Add argument.
2988 (default_terminal_info): Likewise.
2989 * inflow.c (child_terminal_info): Add 'self' argument.
2990 * inferior.h (child_terminal_info): Add 'self' argument.
2991 * go32-nat.c (go32_terminal_info): Add 'self' argument.
2993 2014-02-19 Tom Tromey <tromey@redhat.com>
2995 * target.h (struct target_ops) <to_terminal_save_ours>: Add
2997 (target_terminal_save_ours): Add argument.
2998 * target.c (debug_to_terminal_save_ours): Add argument.
2999 (update_current_target): Update.
3000 * inflow.c (terminal_save_ours): Add 'self' argument.
3001 * inferior.h (terminal_save_ours): Add 'self' argument.
3003 2014-02-19 Tom Tromey <tromey@redhat.com>
3005 * target.h (struct target_ops) <to_terminal_ours>: Add argument.
3006 (target_terminal_ours): Add argument.
3007 * target.c (debug_to_terminal_ours): Add argument.
3008 (update_current_target): Update.
3009 * remote.c (remote_terminal_ours): Add 'self' argument.
3010 (remote_close): Update.
3011 * linux-nat.c (linux_nat_terminal_ours): Add 'self' argument.
3012 * inflow.c (terminal_ours): Add 'self' argument.
3013 * inferior.h (terminal_ours): Add 'self' argument.
3014 * go32-nat.c (go32_terminal_ours): Add 'self' argument.
3016 2014-02-19 Pedro Alves <palves@redhat.com>
3017 Tom Tromey <tromey@redhat.com>
3019 * target.h (struct target_ops) <to_terminal_ours_for_output>: Add
3021 (target_terminal_ours_for_output): Add argument.
3022 * target.c (debug_to_terminal_ours_for_output): Add argument.
3023 (update_current_target): Update.
3024 * inflow.c (terminal_ours_for_output): Add 'self' argument.
3025 * inferior.h (terminal_ours_for_output): Add 'self' argument.
3026 * go32-nat.c (go32_terminal_ours): Add 'self' argument.
3028 2014-02-19 Tom Tromey <tromey@redhat.com>
3030 * target.h (struct target_ops) <to_terminal_inferior>: Add
3032 * target.c (target_terminal_inferior): Add argument.
3033 (update_current_target): Update.
3034 * remote.c (remote_terminal_inferior): Add 'self' argument.
3035 * linux-nat.c (linux_nat_terminal_inferior): Add 'self' argument.
3036 * inflow.c (terminal_inferior): Add 'self' argument.
3037 * inferior.h (terminal_inferior): Add 'self' argument.
3038 * go32-nat.c (go32_terminal_inferior): Add 'self' argument.
3039 (go32_terminal_inferior): Add 'self' argument.
3041 2014-02-19 Tom Tromey <tromey@redhat.com>
3043 * target.h (struct target_ops) <to_terminal_init>: Add argument.
3044 (target_terminal_init): Add argument.
3045 * target.c (debug_to_terminal_init): Add argument.
3046 (update_current_target): Update.
3047 * inflow.c (terminal_init_inferior): Add 'self' argument.
3048 * inferior.h (terminal_init_inferior): Add 'self' argument.
3049 * go32-nat.c (go32_terminal_init): Add 'self' argument.
3050 * gnu-nat.c (gnu_terminal_init_inferior): Add 'self' argument.
3052 2014-02-19 Tom Tromey <tromey@redhat.com>
3054 * target.h (struct target_ops)
3055 <to_can_accel_watchpoint_condition>: Add argument.
3056 (target_can_accel_watchpoint_condition): Add argument.
3057 * target.c (debug_to_can_accel_watchpoint_condition): Add
3059 (update_current_target): Update.
3060 * ppc-linux-nat.c (ppc_linux_can_accel_watchpoint_condition): Add
3063 2014-02-19 Tom Tromey <tromey@redhat.com>
3065 * target.h (struct target_ops) <to_region_ok_for_hw_watchpoint>:
3067 (target_region_ok_for_hw_watchpoint): Add argument.
3068 * target.c (debug_to_region_ok_for_hw_watchpoint): Add argument.
3069 (default_region_ok_for_hw_watchpoint): Add argument.
3070 * spu-multiarch.c (spu_region_ok_for_hw_watchpoint): Add argument.
3071 * s390-linux-nat.c (s390_region_ok_for_hw_watchpoint): Add 'self'
3073 * remote.c (remote_region_ok_for_hw_watchpoint): Add 'self'
3075 * procfs.c (procfs_region_ok_for_hw_watchpoint): Add 'self'
3077 * ppc-linux-nat.c (ppc_linux_region_ok_for_hw_watchpoint): Add
3079 * mips-linux-nat.c (mips_linux_region_ok_for_hw_watchpoint): Add
3081 * inf-ttrace.c (inf_ttrace_region_ok_for_hw_watchpoint): Add
3083 * i386-nat.c (i386_region_ok_for_watchpoint): Add 'self' argument.
3084 * arm-linux-nat.c (arm_linux_region_ok_for_hw_watchpoint): Add
3086 * aarch64-linux-nat.c (aarch64_linux_region_ok_for_hw_watchpoint):
3087 Add 'self' argument.
3089 2014-02-19 Tom Tromey <tromey@redhat.com>
3091 * target.h (struct target_ops) <to_insert_watchpoint>: Add
3093 (target_insert_watchpoint): Add argument.
3094 * target.c (debug_to_insert_watchpoint): Add argument.
3095 (update_current_target): Update.
3096 * s390-linux-nat.c (s390_insert_watchpoint): Add 'self' argument.
3097 * remote.c (remote_insert_watchpoint): Add 'self' argument.
3098 * remote-mips.c (mips_insert_watchpoint): Add 'self' argument.
3099 * remote-m32r-sdi.c (m32r_insert_watchpoint): Add 'self' argument.
3100 * procfs.c (procfs_insert_watchpoint): Add 'self' argument.
3101 * ppc-linux-nat.c (ppc_linux_insert_watchpoint): Add 'self'
3103 * nto-procfs.c (procfs_insert_hw_watchpoint): Add 'self' argument.
3104 (procfs_insert_hw_watchpoint): Add 'self' argument.
3105 * mips-linux-nat.c (mips_linux_insert_watchpoint): Add 'self'
3107 * inf-ttrace.c (inf_ttrace_insert_watchpoint): Add 'self'
3109 * ia64-linux-nat.c (ia64_linux_insert_watchpoint): Add 'self'
3111 * i386-nat.c (i386_insert_watchpoint): Add 'self' argument.
3112 * arm-linux-nat.c (arm_linux_insert_watchpoint): Add 'self'
3114 * aarch64-linux-nat.c (aarch64_linux_insert_watchpoint): Add
3117 2014-02-19 Tom Tromey <tromey@redhat.com>
3119 * target.h (struct target_ops) <to_remove_watchpoint>: Add
3121 (target_remove_watchpoint): Add argument.
3122 * target.c (debug_to_remove_watchpoint): Add argument.
3123 (update_current_target): Update.
3124 * s390-linux-nat.c (s390_remove_watchpoint): Add 'self' argument.
3125 * remote.c (remote_remove_watchpoint): Add 'self' argument.
3126 * remote-mips.c (mips_remove_watchpoint): Add 'self' argument.
3127 * remote-m32r-sdi.c (m32r_remove_watchpoint): Add 'self' argument.
3128 * procfs.c (procfs_remove_watchpoint): Add 'self' argument.
3129 * ppc-linux-nat.c (ppc_linux_remove_watchpoint): Add 'self'
3131 * nto-procfs.c (procfs_remove_hw_watchpoint): Add 'self' argument.
3132 * mips-linux-nat.c (mips_linux_remove_watchpoint): Add 'self'
3134 * inf-ttrace.c (inf_ttrace_remove_watchpoint): Add 'self'
3136 * ia64-linux-nat.c (ia64_linux_remove_watchpoint): Add 'self'
3138 * i386-nat.c (i386_remove_watchpoint): Add 'self' argument.
3139 * arm-linux-nat.c (arm_linux_remove_watchpoint): Add 'self'
3141 * aarch64-linux-nat.c (aarch64_linux_remove_watchpoint): Add
3144 2014-02-19 Tom Tromey <tromey@redhat.com>
3146 * target.h (struct target_ops) <to_remove_hw_breakpoint>: Add
3148 (target_remove_hw_breakpoint): Add argument.
3149 * target.c (debug_to_remove_hw_breakpoint): Add argument.
3150 (update_current_target): Update.
3151 * remote.c (remote_remove_hw_breakpoint): Add 'self' argument.
3152 * ppc-linux-nat.c (ppc_linux_remove_hw_breakpoint): Add 'self'
3154 * i386-nat.c (i386_remove_hw_breakpoint): Add 'self' argument.
3155 * arm-linux-nat.c (arm_linux_remove_hw_breakpoint): Add 'self'
3157 * aarch64-linux-nat.c (aarch64_linux_remove_hw_breakpoint): Add
3160 2014-02-19 Tom Tromey <tromey@redhat.com>
3162 * target.h (struct target_ops) <to_insert_hw_breakpoint>: Add
3164 (target_insert_hw_breakpoint): Add argument.
3165 * target.c (debug_to_insert_hw_breakpoint): Add argument.
3166 (update_current_target): Update.
3167 * remote.c (remote_insert_hw_breakpoint): Add 'self' argument.
3168 * ppc-linux-nat.c (ppc_linux_insert_hw_breakpoint): Add 'self'
3170 * nto-procfs.c (procfs_insert_hw_breakpoint): Add 'self' argument.
3171 * i386-nat.c (i386_insert_hw_breakpoint): Add 'self' argument.
3172 * arm-linux-nat.c (arm_linux_insert_hw_breakpoint): Add 'self'
3174 * aarch64-linux-nat.c (aarch64_linux_insert_hw_breakpoint): Add
3177 2014-02-19 Tom Tromey <tromey@redhat.com>
3179 * target.h (struct target_ops) <to_can_use_hw_breakpoint>: Add
3181 (target_can_use_hardware_watchpoint): Add argument.
3182 * target.c (debug_to_can_use_hw_breakpoint): Add argument.
3183 (update_current_target): Update.
3184 * spu-linux-nat.c (spu_can_use_hw_breakpoint): Add 'self'
3186 * s390-linux-nat.c (s390_can_use_hw_breakpoint): Add 'self'
3188 * remote.c (remote_check_watch_resources): Add 'self' argument.
3189 * remote-mips.c (mips_can_use_watchpoint): Add 'self' argument.
3190 * remote-m32r-sdi.c (m32r_can_use_hw_watchpoint): Add 'self'
3192 * procfs.c (procfs_can_use_hw_breakpoint): Add 'self' argument.
3193 * ppc-linux-nat.c (ppc_linux_can_use_hw_breakpoint): Add 'self'
3195 * nto-procfs.c (procfs_can_use_hw_breakpoint): Add 'self'
3197 * mips-linux-nat.c (mips_linux_can_use_hw_breakpoint): Add 'self'
3199 * inf-ttrace.c (inf_ttrace_can_use_hw_breakpoint): Add 'self'
3201 * ia64-linux-nat.c (ia64_linux_can_use_hw_breakpoint): Add 'self'
3203 * ia64-hpux-nat.c (ia64_hpux_can_use_hw_breakpoint): Add 'self'
3205 * i386-nat.c (i386_can_use_hw_breakpoint): Add 'self' argument.
3206 * arm-linux-nat.c (arm_linux_can_use_hw_breakpoint): Add 'self'
3208 * aarch64-linux-nat.c (aarch64_linux_can_use_hw_breakpoint): Add
3211 2014-02-19 Tom Tromey <tromey@redhat.com>
3213 * target.h (struct target_ops) <to_post_attach>: Add argument.
3214 (target_post_attach): Add argument.
3215 * target.c (debug_to_post_attach): Add argument.
3216 (update_current_target): Update.
3217 * spu-linux-nat.c (spu_child_post_attach): Add 'self' argument.
3218 * nto-procfs.c (procfs_post_attach): Add 'self' argument.
3219 * linux-nat.c (linux_child_post_attach): Add 'self' argument.
3220 * inf-ptrace.c (inf_ptrace_post_attach): Add 'self' argument.
3221 * inf-child.c (inf_child_post_attach): Add 'self' argument.
3223 2014-02-19 Tom Tromey <tromey@redhat.com>
3225 * windows-nat.c (windows_close): Add 'self' argument.
3226 * tracepoint.c (tfile_close): Add 'self' argument.
3227 * target.h (struct target_ops) <to_close>: Add argument.
3228 * target.c (target_close): Add argument.
3229 (update_current_target): Update.
3230 * remote.c (remote_close): Add 'self' argument.
3231 * remote-sim.c (gdbsim_close): Add 'self' argument.
3232 * remote-mips.c (mips_close): Add 'self' argument.
3233 * remote-m32r-sdi.c (m32r_close): Add 'self' argument.
3234 * record-full.c (record_full_close): Add 'self' argument.
3235 * record-btrace.c (record_btrace_close): Add 'self' argument.
3236 * monitor.h (monitor_close): Add 'self' argument.
3237 * monitor.c (monitor_close): Add 'self' argument.
3238 * mips-linux-nat.c (mips_linux_close): Add 'self' argument.
3239 * linux-nat.c (linux_nat_close): Add argument.
3240 * go32-nat.c (go32_close): Add 'self' argument.
3241 * exec.c (exec_close_1): Add 'self' argument.
3242 * ctf.c (ctf_close): Add 'self' argument.
3243 * corelow.c (core_close): Add 'self' argument.
3244 (core_close_cleanup): Update.
3245 * bsd-uthread.c (bsd_uthread_close): Add 'self' argument.
3246 * bsd-kvm.c (bsd_kvm_close): Add 'self' argument.
3248 2014-02-19 Tom Tromey <tromey@redhat.com>
3250 * remote.c (remote_load): New function.
3251 (init_remote_ops): Use it.
3253 2014-02-19 Tom Tromey <tromey@redhat.com>
3255 * common/linux-btrace.c (linux_supports_btrace): Add "ops"
3257 * common/linux-btrace.h (linux_supports_btrace): Update.
3258 * remote.c (remote_supports_btrace): Add "self" argument.
3259 * target-delegates.c: Rebuild.
3260 * target.c (target_supports_btrace): Remove.
3261 * target.h (struct target_ops) <to_supports_btrace>: Add
3262 target_ops argument.
3263 (target_supports_btrace): New define.
3265 2014-02-19 Tom Tromey <tromey@redhat.com>
3267 * record-full.c (record_full_beneath_to_resume_ops)
3268 (record_full_beneath_to_resume, record_full_beneath_to_wait_ops)
3269 (record_full_beneath_to_wait)
3270 (record_full_beneath_to_store_registers_ops)
3271 (record_full_beneath_to_store_registers)
3272 (record_full_beneath_to_xfer_partial_ops)
3273 (record_full_beneath_to_xfer_partial)
3274 (record_full_beneath_to_insert_breakpoint_ops)
3275 (record_full_beneath_to_insert_breakpoint)
3276 (record_full_beneath_to_remove_breakpoint_ops)
3277 (record_full_beneath_to_remove_breakpoint)
3278 (record_full_beneath_to_stopped_by_watchpoint)
3279 (record_full_beneath_to_stopped_data_address)
3280 (record_full_beneath_to_async, tmp_to_resume_ops, tmp_to_resume)
3281 (tmp_to_wait_ops, tmp_to_wait, tmp_to_store_registers_ops)
3282 (tmp_to_store_registers, tmp_to_xfer_partial_ops)
3283 (tmp_to_xfer_partial, tmp_to_instmp_to_insert_breakpoint_ops)
3284 (tmp_to_insert_breakpoint, tmp_to_remove_breakpoint_ops)
3285 (tmp_to_remove_breakpoint, tmp_to_stopped_by_watchpoint)
3286 (tmp_to_stopped_data_address, tmp_to_async): Remove.
3287 (record_full_open_1, record_full_open): Update. Use RECORD_IS_USED.
3288 (record_full_resume, record_full_wait_1)
3289 (record_full_stopped_by_watchpoint, record_full_stopped_data_address)
3290 (record_full_store_registers, record_full_xfer_partial)
3291 (record_full_insert_breakpoint, record_full_remove_breakpoint)
3292 (record_full_async, record_full_core_xfer_partial): Use target
3294 * target-delegates.c: Rebuild.
3295 * target.c (current_xfer_partial): Remove.
3296 (update_current_target): Do not INHERIT or de_fault
3297 to_insert_breakpoint, to_remove_breakpoint,
3298 to_stopped_data_address, to_stopped_by_watchpoint, to_can_async_p,
3299 to_is_async_p, to_async. Do not set to_xfer_partial field.
3300 (default_xfer_partial): Simplify.
3301 (current_xfer_partial): Remove.
3302 (target_wait, target_resume): Simplify.
3303 (find_default_can_async_p, find_default_is_async_p): Update.
3304 (init_dummy_target): Don't set to_can_async_p, to_is_async_p,
3305 to_xfer_partial, to_stopped_by_watchpoint,
3306 to_stopped_data_address.
3307 (target_store_registers): Simplify.
3308 (forward_target_remove_breakpoint)
3309 (forward_target_insert_breakpoint): Remove.
3310 (target_remove_breakpoint, target_insert_breakpoint)
3311 (debug_to_insert_breakpoint, debug_to_remove_breakpoint): Update.
3312 * target.h (struct target_ops) <to_resume, to_wait,
3313 to_store_registers, to_insert_breakpoint, to_remove_breakpoint,
3314 to_stopped_by_watchpoint, to_stopped_data_address, to_can_async_p,
3315 to_is_async_p, to_async, to_xfer_partial>: Add TARGET_DEFAULT
3317 (forward_target_remove_breakpoint)
3318 (forward_target_insert_breakpoint): Remove.
3319 * record-btrace.c (record_btrace_remove_breakpoint): Delegate
3321 (record_btrace_insert_breakpoint): Delegate directly.
3323 2014-02-19 Tom Tromey <tromey@redhat.com>
3326 * target-delegates.c: New file.
3327 * target.c: Include target-delegates.c.
3328 (init_dummy_target): Call install_dummy_methods.
3329 (complete_target_initialization): Call install_delegators.
3330 * target.h (TARGET_DEFAULT_IGNORE, TARGET_DEFAULT_NORETURN)
3331 (TARGET_DEFAULT_RETURN, TARGET_DEFAULT_FUNC): New defines.
3332 * make-target-delegates: New file.
3334 2014-02-19 Tom Tromey <tromey@redhat.com>
3336 * record.c (find_record_target): Use find_target_at.
3337 * target.c (find_target_at): New function.
3338 * target.h (find_target_at): Declare.
3340 2014-02-19 Tom Tromey <tromey@redhat.com>
3342 * aarch64-linux-nat.c (aarch64_linux_stopped_by_watchpoint):
3344 * arm-linux-nat.c (arm_linux_stopped_by_watchpoint): Add
3346 * i386-nat.c (i386_stopped_by_watchpoint): Add 'ops' argument.
3347 * ia64-linux-nat.c (ia64_linux_stopped_by_watchpoint): Add
3349 * inf-ttrace.c (inf_ttrace_stopped_by_watchpoint): Add 'ops'
3351 * linux-nat.c (save_sigtrap): Update.
3352 (linux_nat_stopped_by_watchpoint, linux_nat_is_async_p)
3353 (linux_nat_can_async_p, linux_nat_async): Add 'ops' argument.
3354 (linux_nat_close): Update.
3355 * mips-linux-nat.c (mips_linux_stopped_by_watchpoint): Add 'ops'
3357 * ppc-linux-nat.c (ppc_linux_stopped_by_watchpoint): Add 'ops'
3359 * procfs.c (procfs_stopped_by_watchpoint): Add 'ops' argument.
3360 * record-full.c (record_full_beneath_to_stopped_by_watchpoint)
3361 (record_full_beneath_to_async, tmp_to_stopped_by_watchpoint)
3362 (tmp_to_async): Add 'ops' argument.
3363 (record_full_stopped_by_watchpoint, record_full_async)
3364 (record_full_can_async_p, record_full_is_async_p): Add 'ops'
3366 * remote-m32r-sdi.c (m32r_insert_breakpoint, m32r_remove_breakpoint)
3367 (m32r_stopped_by_watchpoint): Add 'ops' argument.
3368 * remote-mips.c (mips_stopped_by_watchpoint): Add 'ops' argument.
3369 * remote.c (remote_stopped_by_watchpoint_p, remote_can_async_p)
3370 (remote_is_async_p, remote_async): Add 'ops' argument.
3371 (remote_stopped_data_address): Update.
3372 * s390-nat.c (s390_stopped_by_watchpoint): Add 'ops' argument.
3373 * target.c (update_current_target)
3374 (find_default_can_async_p, find_default_is_async_p): Update.
3375 (init_dummy_target): Update.
3376 (debug_to_stopped_by_watchpoint): Add 'ops' argument.
3377 * target.h (struct target_ops) <to_stopped_by_watchpoint,
3378 to_can_async_p, to_is_async_p, to_async>: Add 'ops' argument.
3379 (target_can_async_p, target_is_async_p, target_async)
3380 (target_stopped_by_watchpoint): Update.
3382 2014-02-19 Yao Qi <yao@codesourcery.com>
3385 * gdbarch.sh: Remove startup_gdbarch.
3386 * gdbarch.c: Regenerated.
3387 * gdbarch.h: Likewise.
3389 2014-02-17 Kevin Buettner <kevinb@redhat.com>
3391 * rl78-tdep.c (rl78_g10_register_name): New function.
3392 (rl78_return_value): Add g10 support.
3393 (rl78_gdbarch_init): Register rl78_g10_register_name for the
3396 2014-02-17 Doug Evans <xdje42@gmail.com>
3398 * Makefile.in (SUBDIR_GUILE_OBS): Resort alphabetically.
3399 (SUBDIR_GUILE_SRCS): Ditto.
3400 (scm-gsmob.o): Ditto.
3402 2014-02-17 Yao Qi <yao@codesourcery.com>
3404 * gnu-nat.c (ILL_RPC): Declare defined function.
3406 2014-02-17 Yao Qi <yao@codesourcery.com>
3408 * gnu-nat.c (gnu_read_inferior): Change 'copy_count' type to
3409 mach_msg_type_number_t.
3410 (gnu_write_inferior): Likewise.
3412 2014-02-17 Yao Qi <yao@codesourcery.com>
3414 * gnu-nat.c (proc_get_exception_port): Use 'lu' insetad of 'd'
3416 (proc_steal_exc_port, make_proc, inf_set_pid): Likewise.
3417 (inf_validate_procs, inf_signal): Likewise.
3418 (S_exception_raise_request): Likewise.
3419 (do_mach_notify_dead_name): Likewise.
3420 (steal_exc_port): Likewise.
3421 (gnu_read_inferior): Change 'copy_count''s type to
3422 mach_msg_type_number_t.
3423 (gnu_write_inferior): Likewise. Use 'lx' instead of 'x' in
3426 2014-02-16 Thomas Schwinge <thomas@codesourcery.com>
3428 * gnu-nat.c (struct inf): Change pending_execs member to a 1-bit
3429 flag. Adjust all users; in particular...
3430 (gnu_wait): ..., don't decrement its value in here...
3431 (gnu_create_inferior): ..., and instead set the flag in here,
3432 around the startup_inferior call, and call that one with
3433 START_INFERIOR_TRAPS_EXPECTED.
3435 * gnu-nat.c (ill_rpc): Remove function; replaced with this...
3436 (ILL_RPC): ... new macro.
3437 (do_mach_notify_no_senders, do_mach_notify_port_deleted)
3438 (do_mach_notify_msg_accepted, do_mach_notify_port_destroyed)
3439 (do_mach_notify_send_once, S_proc_setmsgport_reply)
3440 (S_proc_getmsgport_reply, S_msg_sig_post_reply): Generate stub
3441 functions with ILL_RPC macro.
3442 (S_proc_pid2task_reply, S_proc_task2pid_reply)
3443 (S_proc_task2proc_reply, S_proc_proc2task_reply)
3444 (S_proc_pid2proc_reply, S_proc_getprocinfo_reply)
3445 (S_proc_getprocargs_reply, S_proc_getprocenv_reply)
3446 (S_proc_getloginid_reply, S_proc_getloginpids_reply)
3447 (S_proc_getlogin_reply, S_proc_getsid_reply)
3448 (S_proc_getsessionpgids_reply, S_proc_getsessionpids_reply)
3449 (S_proc_getsidport_reply, S_proc_getpgrp_reply)
3450 (S_proc_getpgrppids_reply, S_proc_get_tty_reply)
3451 (S_proc_getnports_reply, S_proc_is_important_reply)
3452 (S_proc_get_code_reply): New stub functions, generated with
3455 * reply_mig_hack.awk: In phase 5, keep going if we have not yet
3456 collected the type check structures.
3458 * reply_mig_hack.awk: Don't expect to see the auto keyword.
3460 2014-02-14 Doug Evans <dje@google.com>
3462 * target.c (target_write_partial): Fix result type.
3464 2014-02-14 Jose E. Marchesi <jose.marchesi@oracle.com>
3466 * sparc64-linux-nat.c (_initialize_sparc64_linux_nat): Register
3467 the proper offsets to access fpregset_t.
3469 2014-02-13 Sanimir Agovic <sanimir.agovic@intel.com>
3471 * cris-tdep.c (cris_supply_gregset): Remove zerobuf.
3472 (_initialize_cris_tdep): Remove cris_set_cmdlist, cris_show_cmdlist.
3473 * h8300-tdep.c (setmachinelist): Remove global.
3474 * hppa-tdep.c (hppa_sigtramp): Remove global.
3475 * mipsnbsd-tdep.c (sigtramp_retcode_mipsel, sigtramp_retcode_mipseb
3476 RETCODE_NWORDS, RETCODE_SIZE): Wrap code with #if 0.
3477 * ravenscar-thread.c (update_target_observer): Remove global.
3478 * rs6000-tdep.c (rs6000_gdbarch_init): Remove segment_regs.
3480 2014-02-12 Tom Tromey <tromey@redhat.com>
3482 * common/rsp-low.c: Update comments.
3483 * common/rsp-low.h: Update comments.
3485 2014-02-12 Tom Tromey <tromey@redhat.com>
3487 * common/rsp-low.c (convert_ascii_to_int): Remove.
3488 * common/rsp-low.h (convert_ascii_to_int): Don't declare.
3490 2014-02-12 Tom Tromey <tromey@redhat.com>
3492 * common/rsp-low.h (unhexify): Don't declare.
3493 * common/rsp-low.c (unhexify): Remove.
3495 2014-02-12 Tom Tromey <tromey@redhat.com>
3497 * common/rsp-low.h (convert_int_to_ascii): Don't declare.
3498 * common/rsp-low.c (convert_int_to_ascii): Remove.
3500 2014-02-12 Tom Tromey <tromey@redhat.com>
3502 * common/rsp-low.h (hexify): Don't declare.
3503 * common/rsp-low.c (hexify): Remove.
3505 2014-02-12 Tom Tromey <tromey@redhat.com>
3507 * common/rsp-low.c (hexify): Never take strlen of argument.
3509 2014-02-12 Tom Tromey <tromey@redhat.com>
3511 * common/rsp-low.c (bin2hex): Never take strlen of argument.
3512 * remote.c (extended_remote_run, remote_rcmd)
3513 (remote_download_trace_state_variable, remote_save_trace_data)
3514 (remote_set_trace_notes): Update.
3515 * tracepoint.c (encode_source_string, tfile_write_status)
3516 (tfile_write_uploaded_tsv): Update.
3518 2014-02-12 Tom Tromey <tromey@redhat.com>
3520 * tracepoint.c: Include rsp-low.h.
3521 * remote.h (hex2bin, bin2hex, unpack_varlen_hex): Don't declare.
3522 * remote.c: Include rsp-low.h.
3523 (hexchars, ishex, unpack_varlen_hex, pack_nibble, pack_hex_byte)
3524 (fromhex, hex2bin, tohex, bin2hex, remote_escape_output)
3525 (remote_unescape_input): Move to common/rsp-low.c.
3526 * common/rsp-low.h: New file.
3527 * common/rsp-low.c: New file.
3528 * Makefile.in (SFILES): Add common/rsp-low.c.
3529 (HFILES_NO_SRCDIR): Add common/rsp-low.h.
3530 (COMMON_OBS): Add rsp-low.o.
3531 (rsp-low.o): New target.
3533 2014-02-12 Tom Tromey <tromey@redhat.com>
3535 * utils.h: Include print-utils.h.
3536 (host_address_to_string, plongest, pulongest, phex, phex_nz)
3537 (int_string, core_addr_to_string, core_addr_to_string_nz)
3538 (hex_string, hex_string_custom): Don't declare.
3539 * utils.c (NUMCELLS, CELLSIZE, get_cell, decimal2str, pulongest)
3540 (plongest, thirty_two, phex, phex_nz, octal2str, hex_string)
3541 (hex_string_custom, int_string, core_addr_to_string)
3542 (core_addr_to_string_nz, host_address_to_string): Move to
3543 common/print-utils.c.
3544 * common/print-utils.h: New file.
3545 * common/print-utils.c: New file
3546 * Makefile.in (SFILES): Add common/print-utils.c.
3547 (HFILES_NO_SRCDIR): Add common/print-utils.h.
3548 (COMMON_OBS): Add print-utils.o.
3549 (print-utils.o): New target.
3551 2014-02-12 Tom Tromey <tromey@redhat.com>
3553 * nios2-tdep.c (nios2_stub_frame_base_address): Remove.
3555 2014-02-12 Mark Kettenis <kettenis@gnu.org>
3557 * sparc64obsd-tdep.c (sparc64obsd_init_abi): Call obsd_init_abi.
3559 2014-02-12 Mark Kettenis <kettenis@gnu.org>
3561 * inf-ptrace.c (inf_ptrace_xfer_partial): Return TARGET_XFER_EOF
3562 if a PT_IO ptrace request returns sucessfully but indicates that 0
3563 bytes were transferred.
3565 2014-02-12 Pedro Alves <palves@redhat.com>
3566 Kevin Buettner <kevinb@redhat.com>
3568 * gnu-v3-abi.c (build_gdb_vtable_type): Return a type marked with
3569 TYPE_INSTANCE_FLAG_CODE_SPACE.
3571 2014-02-12 Pedro Alves <palves@redhat.com>
3573 * h8300-tdep.c (pseudo_from_raw_register)
3574 (raw_from_pseudo_register): New functions.
3575 (h8300_pseudo_register_read, h8300_pseudo_register_write): Use
3578 2014-02-12 Pedro Alves <palves@redhat.com>
3580 * h8300-tdep.c (h8300_register_sim_regno): New function.
3581 (h8300_gdbarch_init): Install h8300_register_sim_regno as
3582 gdbarch_register_sim_regno hook.
3584 2014-02-12 Sanimir Agovic <sanimir.agovic@intel.com>
3586 * nios2-tdep.c (nios2_stub_frame_base): Remove global.
3588 2014-02-12 Sanimir Agovic <sanimir.agovic@intel.com>
3590 * tic6x-tdep.c (tic6x_gdbarch_init): Call frame_base_set_default.
3592 2014-02-12 Mark Kettenis <kettenis@gnu.org>
3594 * obsd-tdep.h (obsd_init_abi): New prototype.
3595 * obsd-tdep.c: Define enum with OpenBSD signal numbers.
3596 (obsd_gdb_signal_from_target, obsd_gdb_signal_to_target)
3597 (obsd_init_abi): New functions.
3598 * i386obsd-tdep.c: Include "obsd-tdep.h".
3599 (i386obsd_init_abi): Call obsd_init_abi.
3600 * amd64obsd-tdep.c: Include "obsd-tdep.h".
3601 (amd64obsd_init_abi): Call obsd_init_abi.
3602 * configure.tgt (i[34567]86-*-openbsd*, x86_64-*-openbsd*): Add
3603 obsd-tdep.c to gdb_target_obs.
3605 2014-02-11 Jose E. Marchesi <jose.marchesi@oracle.com>
3607 * sparc64-tdep.c (sparc64_store_arguments): Do not align complex
3608 double float arguments to 16-byte in the argument slots.
3610 2014-02-11 Doug Evans <xdje42@gmail.com>
3612 * configure.ac: Don't crash if pkg-config is not found and guile
3613 wasn't explicitly requested. Use AC_MSG_ERROR instead of AC_ERROR
3615 * configure: Regenerate.
3617 2014-02-11 Yao Qi <yao@codesourcery.com>
3619 * aix-thread.c (aix_thread_xfer_partial): Update comments.
3620 * auxv.c (procfs_xfer_auxv, memory_xfer_auxv): Likewise.
3621 * bsd-uthread.c (bsd_uthread_xfer_partial): Likewise.
3622 * gnu-nat.c (gnu_xfer_memory): Likewise.
3623 * inf-ptrace.c (inf_ptrace_xfer_partial): Likewise.
3624 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
3625 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
3626 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise.
3628 2014-02-11 Yao Qi <yao@codesourcery.com>
3630 * target.h (enum target_xfer_error): Rename to ...
3631 (enum target_xfer_status): ... it. New. All users updated.
3632 (enum target_xfer_status) <TARGET_XFER_OK>, <TARGET_XFER_EOF>:
3634 (TARGET_XFER_STATUS_ERROR_P): New macro.
3635 (target_xfer_error_to_string): Remove declaration.
3636 (target_xfer_status_to_string): Declare.
3637 (target_xfer_partial_ftype): Adjust it.
3638 (struct target_ops) <to_xfer_partial>: Return
3639 target_xfer_status. Add argument xfered_len. Update
3641 * target.c (target_xfer_error_to_string): Rename to ...
3642 (target_xfer_status_to_string): ... it. New. All callers
3644 (target_read_live_memory): Likewise. Call target_xfer_partial
3645 instead of target_read.
3646 (memory_xfer_live_readonly_partial): Return
3647 target_xfer_status. Add argument xfered_len.
3648 (raw_memory_xfer_partial): Likewise.
3649 (memory_xfer_partial_1): Likewise.
3650 (memory_xfer_partial): Likewise.
3651 (target_xfer_partial): Likewise. Check *XFERED_LEN is set
3652 properly. Update debug message.
3653 (default_xfer_partial, current_xfer_partial): Likewise.
3654 (target_write_partial): Likewise.
3655 (target_read_partial): Likewise. All callers updated.
3656 (read_whatever_is_readable): Likewise.
3657 (target_write_with_progress): Likewise.
3658 (target_read_alloc_1): Likewise.
3660 * aix-thread.c (aix_thread_xfer_partial): Likewise.
3661 * auxv.c (procfs_xfer_auxv): Likewise.
3662 (ld_so_xfer_auxv, memory_xfer_auxv): Likewise.
3663 * bfd-target.c (target_bfd_xfer_partial): Likewise.
3664 * bsd-kvm.c (bsd_kvm_xfer_partial): Likewise.
3665 * bsd-uthread.c (bsd_uthread_xfer_partia): Likewise.
3666 * corefile.c (read_memory): Adjust.
3667 * corelow.c (core_xfer_partial): Likewise.
3668 * ctf.c (ctf_xfer_partial): Likewise.
3669 * darwin-nat.c (darwin_read_dyld_info): Likewise. All callers
3671 (darwin_xfer_partial): Likewise.
3672 * exec.c (section_table_xfer_memory_partial): Likewise. All
3674 (exec_xfer_partial): Likewise.
3675 * exec.h (section_table_xfer_memory_partial): Update
3677 * gnu-nat.c (gnu_xfer_memory): Likewise. Assert 'res' is not
3679 (gnu_xfer_partial): Likewise.
3680 * ia64-hpux-nat.c (ia64_hpux_xfer_memory_no_bs): Likewise.
3681 (ia64_hpux_xfer_memory, ia64_hpux_xfer_uregs): Likewise.
3682 (ia64_hpux_xfer_solib_got): Likewise.
3683 * inf-ptrace.c (inf_ptrace_xfer_partial): Likewise. Change
3684 type of 'partial_len' to ULONGEST.
3685 * inf-ttrace.c (inf_ttrace_xfer_partial): Likewise.
3686 * linux-nat.c (linux_xfer_siginfo ): Likewise.
3687 (linux_nat_xfer_partial): Likewise.
3688 (linux_proc_xfer_partial, linux_xfer_partial): Likewise.
3689 (linux_proc_xfer_spu, linux_nat_xfer_osdata): Likewise.
3690 * monitor.c (monitor_xfer_memory): Likewise.
3691 (monitor_xfer_partial): Likewise.
3692 * procfs.c (procfs_xfer_partial): Likewise.
3693 * record-btrace.c (record_btrace_xfer_partial): Likewise.
3694 * record-full.c (record_full_xfer_partial): Likewise.
3695 (record_full_core_xfer_partial): Likewise.
3696 * remote-sim.c (gdbsim_xfer_memory): Likewise.
3697 (gdbsim_xfer_partial): Likewise.
3698 * remote.c (remote_write_bytes_aux): Likewise. All callers
3700 (remote_write_bytes, remote_read_bytes): Likewise. All
3702 (remote_flash_erase): Likewise. All callers updated.
3703 (remote_write_qxfer): Likewise. All callers updated.
3704 (remote_read_qxfer): Likewise. All callers updated.
3705 (remote_xfer_partial): Likewise.
3706 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
3707 (rs6000_xfer_shared_libraries): Likewise.
3708 * sol-thread.c (sol_thread_xfer_partial): Likewise.
3709 (sol_thread_xfer_partial): Likewise.
3710 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
3711 (sparc_xfer_partial): Likewise.
3712 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise. All callers
3714 (spu_xfer_partial): Likewise.
3715 * spu-multiarch.c (spu_xfer_partial): Likewise.
3716 * tracepoint.c (tfile_xfer_partial): Likewise.
3717 * windows-nat.c (windows_xfer_memory): Likewise.
3718 (windows_xfer_shared_libraries): Likewise.
3719 (windows_xfer_partial): Likewise.
3720 * valprint.c: Replace 'target_xfer_error' with
3721 'target_xfer_status' in comments.
3723 2014-02-11 Simon Marchi <simon.marchi@ericsson.com> (tiny patch)
3725 Checked in by Joel Brobecker <brobecker@adacore.com>.
3726 * mi/mi-main.c (mi_cmd_data_write_memory_bytes): Fix comment.
3728 2014-02-11 Joel Brobecker <brobecker@adacore.com>
3730 * symfile-debug.c (debug_qf_expand_symtabs_matching): Reformat
3731 function parameters.
3733 2014-02-10 Will Newton <will.newton@linaro.org>
3735 * elfread.c (elf_rel_plt_read): Look for a .got section if
3736 looking up .got.plt fails.
3737 (elf_gnu_ifunc_resolve_by_got): Call gdbarch_addr_bits_remove
3738 on address passed to elf_gnu_ifunc_record_cache.
3739 (elf_gnu_ifunc_resolve_addr): Likewise.
3740 (elf_gnu_ifunc_resolver_return_stop): Likewise.
3742 2014-02-10 Jose E. Marchesi <jose.marchesi@oracle.com>
3744 * sparc-tdep.c (sparc_in_function_epilogue_p): New function.
3745 (X_RETTURN): New macro.
3746 * sparc-tdep.h: sparc_in_function_epilogue_p prototype.
3748 * sparc64-tdep.c (sparc64_init_abi): Hook
3749 sparc_in_function_epilogue_p.
3751 2014-02-10 Gary Benson <gbenson@redhat.com>
3753 * symfile-debug.c (debug_qf_expand_symtabs_matching):
3754 Rename name_matcher to symbol_matcher.
3756 2014-02-10 Gary Benson <gbenson@redhat.com>
3758 * symfile-debug.c (debug_qf_expand_symtabs_matching):
3759 Use expand_symtabs_file_matcher_ftype and
3760 expand_symtabs_symbol_matcher_ftype.
3762 2014-02-10 Joel Brobecker <brobecker@adacore.com>
3764 * ada-lang.c (struct cache_entry, HASH_SIZE): Move definition up.
3765 (struct ada_symbol_cache): New.
3766 (ada_free_symbol_cache): Forward declare.
3767 (struct ada_pspace_data): New.
3768 (ada_pspace_data_handle): New static global.
3769 (get_ada_pspace_data, ada_pspace_data_cleanup)
3770 (ada_init_symbol_cache, ada_free_symbol_cache): New functions.
3771 (cache_space, cache): Delete, now folded inside struct
3773 (ada_get_symbol_cache): New function.
3774 (ada_clear_symbol_cache, find_entry, cache_symbol): Adjust
3776 (_initialize_ada_language): Remove initialization of cache_space.
3777 Move call to observer_attach_inferior_exit up, grouping it
3778 with the other observer registrations inside this function.
3779 Rename command to be more general. Add call to
3780 register_program_space_data_with_cleanup.
3782 2014-02-10 Joel Brobecker <brobecker@adacore.com>
3784 * ada-tasks.c (ada_tasks_new_objfile_observer): Renames
3785 ada_new_objfile_observer.
3786 (ada_tasks_normal_stop_observer): Renames ada_normal_stop_observer.
3787 (_initialize_tasks): Update uses of ada_new_objfile_observer
3788 and ada_tasks_normal_stop_observer.
3790 2014-02-10 Joel Brobecker <brobecker@adacore.com>
3792 * ada-lang.c (ada_evaluate_subexp): Set the type of the value
3793 returned by the 'Length attribute to integer.
3795 2014-02-10 Joel Brobecker <brobecker@adacore.com>
3797 * ada-lang.c (_initialize_ada_language): Initialize
3798 cache_space obstack.
3800 2014-02-10 Joel Brobecker <brobecker@adacore.com>
3802 * ada-lang.c (HASH_SIZE): New macro.
3803 (struct cache_entry): New type.
3804 (cache_space, cache): New static globals.
3805 (ada_clear_symbol_cache, find_entry): New functions.
3806 (lookup_cached_symbol, cache_symbol): Implement.
3807 (ada_new_objfile_observer, ada_free_objfile_observer): New.
3808 (_initialize_ada_language): Attach ada_new_objfile_observer
3809 and ada_free_objfile_observer.
3811 2014-02-10 Joel Brobecker <brobecker@adacore.com>
3813 * ada-lang.c (ada_add_block_symbols, add_defn_to_vec)
3814 (lookup_cached_symbol, ada_add_local_symbols): Add "const" to
3815 struct block * parameter.
3816 (ada_lookup_symbol_list_worker): Constify local variable "block".
3817 Remove cast which is no longer necessary.
3819 2014-02-10 Doug Evans <xdje42@gmail.com>
3821 Add Guile as an extension language.
3822 * NEWS: Mention Guile scripting.
3823 * Makefile.in (SUBDIR_GUILE_OBS): New variable.
3824 (SUBDIR_GUILE_SRCS, SUBDIR_GUILE_DEPS): New variables
3825 (SUBDIR_GUILE_LDFLAGS, SUBDIR_GUILE_CFLAGS): New variables.
3826 (INTERNAL_CPPFLAGS): Add GUILE_CPPFLAGS.
3827 (CLIBS): Add GUILE_LIBS.
3828 (install-guile): New rule.
3829 (guile.o): New rule.
3830 (scm-arch.o, scm-auto-load.o, scm-block.o): New rules.
3831 (scm-breakpoint.o, scm-disasm.o, scm-exception.o): New rules.
3832 (scm-frame.o, scm-iterator.o, scm-lazy-string.o): New rules.
3833 (scm-math.o, scm-objfile.o, scm-ports.o): New rules.
3834 (scm-pretty-print.o, scm-safe-call.o, scm-gsmob.o): New rules.
3835 (scm-string.o, scm-symbol.o, scm-symtab.o): New rules.
3836 (scm-type.o, scm-utils.o, scm-value.o): New rules.
3837 * configure.ac: New option --with-guile.
3838 * configure: Regenerate.
3839 * config.in: Regenerate.
3840 * auto-load.c: Remove #include "python/python.h". Add #include
3841 "gdb/section-scripts.h".
3842 (source_section_scripts): Handle Guile scripts.
3843 (_initialize_auto_load): Add name of Guile objfile script to
3844 scripts-directory help text.
3845 * breakpoint.c (condition_command): Tweak comment to include Scheme.
3846 * breakpoint.h (gdbscm_breakpoint_object): Add forward decl.
3847 (struct breakpoint): New member scm_bp_object.
3848 * defs.h (enum command_control_type): New value guile_control.
3849 * cli/cli-cmds.c: Remove #include "python/python.h". Add #include
3851 (show_user): Update comment.
3852 (_initialize_cli_cmds): Update help text for "show user". Update help
3853 text for max-user-call-depth.
3854 * cli/cli-script.c: Remove #include "python/python.h". Add #include
3856 (multi_line_command_p): Add guile_control.
3857 (print_command_lines): Handle guile_control.
3858 (execute_control_command, recurse_read_control_structure): Ditto.
3859 (process_next_line): Recognize "guile" commands.
3860 * disasm.c (gdb_disassemble_info): Make non-static.
3861 * disasm.h: #include "dis-asm.h".
3862 (struct gdbarch): Add forward decl.
3863 (gdb_disassemble_info): Declare.
3864 * extension.c: #include "guile/guile.h".
3865 (extension_languages): Add guile.
3866 (get_ext_lang_defn): Handle EXT_LANG_GDB.
3867 * extension.h (enum extension_language): New value EXT_LANG_GUILE.
3868 * gdbtypes.c (get_unsigned_type_max): New function.
3869 (get_signed_type_minmax): New function.
3870 * gdbtypes.h (get_unsigned_type_max): Declare.
3871 (get_signed_type_minmax): Declare.
3872 * guile/README: New file.
3873 * guile/guile-internal.h: New file.
3874 * guile/guile.c: New file.
3875 * guile/guile.h: New file.
3876 * guile/scm-arch.c: New file.
3877 * guile/scm-auto-load.c: New file.
3878 * guile/scm-block.c: New file.
3879 * guile/scm-breakpoint.c: New file.
3880 * guile/scm-disasm.c: New file.
3881 * guile/scm-exception.c: New file.
3882 * guile/scm-frame.c: New file.
3883 * guile/scm-gsmob.c: New file.
3884 * guile/scm-iterator.c: New file.
3885 * guile/scm-lazy-string.c: New file.
3886 * guile/scm-math.c: New file.
3887 * guile/scm-objfile.c: New file.
3888 * guile/scm-ports.c: New file.
3889 * guile/scm-pretty-print.c: New file.
3890 * guile/scm-safe-call.c: New file.
3891 * guile/scm-string.c: New file.
3892 * guile/scm-symbol.c: New file.
3893 * guile/scm-symtab.c: New file.
3894 * guile/scm-type.c: New file.
3895 * guile/scm-utils.c: New file.
3896 * guile/scm-value.c: New file.
3897 * guile/lib/gdb.scm: New file.
3898 * guile/lib/gdb/boot.scm: New file.
3899 * guile/lib/gdb/experimental.scm: New file.
3900 * guile/lib/gdb/init.scm: New file.
3901 * guile/lib/gdb/iterator.scm: New file.
3902 * guile/lib/gdb/printing.scm: New file.
3903 * guile/lib/gdb/types.scm: New file.
3904 * data-directory/Makefile.in (GUILE_SRCDIR): New variable.
3905 (VPATH): Add $(GUILE_SRCDIR).
3906 (GUILE_DIR): New variable.
3907 (GUILE_INSTALL_DIR, GUILE_FILES): New variables.
3908 (all): Add stamp-guile dependency.
3909 (stamp-guile): New rule.
3910 (clean-guile, install-guile, uninstall-guile): New rules.
3911 (install-only): Add install-guile dependency.
3912 (uninstall): Add uninstall-guile dependency.
3913 (clean): Add clean-guile dependency.
3915 2014-02-09 Doug Evans <xdje42@gmail.com>
3917 Revert this patch (which I approved, mea culpa).
3919 2014-02-08 Mark Kettenis <kettenis@gnu.org>
3921 * Makefile.in (all-lib): Remove.
3922 ($(LIBGNU) $(GNULIB_H)): Replace with gits of remove all-lib target.
3924 2014-02-09 Jan Kratochvil <jan.kratochvil@redhat.com>
3926 Fix Python stack corruption.
3927 * python/py-linetable.c (ltpy_get_pcs_for_line, ltpy_has_line): Use
3930 2014-02-08 Mark Kettenis <kettenis@gnu.org>
3932 * Makefile.in (all-lib): Remove.
3933 ($(LIBGNU) $(GNULIB_H)): Replace with gits of remove all-lib target.
3935 2014-02-07 Doug Evans <dje@google.com>
3937 * extension-priv.h (extension_language_script_ops): Add comment.
3938 (extension_language_ops): Add comment.
3939 (active_ext_lang_state): Fix typo in comment.
3941 2014-02-07 Pedro Alves <palves@redhat.com>
3943 PR breakpoints/16292
3944 * infrun.c (handle_signal_stop) <signal arrives while stepping
3945 over a breakpoint>: Switch back to the stepping thread.
3947 2014-02-07 Yao Qi <yao@codesourcery.com>
3949 * target.c (target_xfer_partial): Return zero if LEN is zero.
3951 2014-02-07 Yao Qi <yao@codesourcery.com>
3953 * auxv.c (procfs_xfer_auxv): Replace -1 with TARGET_XFER_E_IO.
3954 (ld_so_xfer_auxv): Likewise.
3955 * bfd-target.c (target_bfd_xfer_partial): Likewise.
3956 * bsd-kvm.c (bsd_kvm_xfer_partial): Likewise.
3957 * corelow.c (core_xfer_partial): Likewise.
3958 * ctf.c (ctf_xfer_partial): Likewise.
3959 * darwin-nat.c (darwin_read_dyld_info): Likewise.
3960 (darwin_xfer_partial): Likewise.
3961 * exec.c (exec_xfer_partial): Likewise.
3962 * gnu-nat.c (gnu_xfer_partial): Likewise.
3963 * ia64-hpux-nat.c (ia64_hpux_xfer_uregs): Likewise.
3964 * inf-ptrace.c (inf_ptrace_xfer_partial): Likewise.
3965 * inf-ttrace.c (inf_ttrace_xfer_partial): Likewise.
3966 * linux-nat.c (linux_xfer_siginfo): Likewise.
3967 (linux_proc_xfer_spu): Likewise.
3968 * procfs.c (procfs_xfer_partial): Likewise.
3969 * record-full.c (record_full_xfer_partial): Likewise.
3970 (record_full_core_xfer_partial): Likewise.
3971 * remote-sim.c (gdbsim_xfer_partial): Likewise.
3972 * remote.c (remote_write_qxfer): Likewise.
3973 (remote_write_qxfer, remote_read_qxfer): Likewise.
3974 (remote_xfer_partial): Likewise.
3975 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
3976 (rs6000_xfer_shared_libraries): Likewise.
3977 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
3978 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise.
3979 (spu_xfer_partial): Likewise.
3980 * target.c (memory_xfer_partial_1): Likewise.
3981 * tracepoint.c (tfile_xfer_partial): Likewise.
3982 * windows-nat.c (windows_xfer_shared_libraries): Likewise.
3983 (windows_xfer_partial): Likewise.
3985 2014-02-07 Yao Qi <yao@codesourcery.com>
3987 * gdbarch.sh (core_xfer_shared_libraries): Returns ULONGEST. Add
3989 (core_xfer_shared_libraries_aix): Likewise.
3990 * gdbarch.c, gdbarch.h: Regenerated.
3991 * i386-cygwin-tdep.c (windows_core_xfer_shared_libraries): Return
3992 ULONGEST. Change 'len_avail' type to ULONGEST.
3993 * rs6000-aix-tdep.c (rs6000_aix_ld_info_to_xml): Likewise.
3994 * rs6000-aix-tdep.h (rs6000_aix_ld_info_to_xml): Update
3996 (rs6000_aix_core_xfer_shared_libraries_aix): Return ULONGEST.
3998 2014-02-07 Yao Qi <yao@codesourcery.com>
4000 * corefile.c (memory_error): Get 'exception' from ERR and pass
4001 'exception' to throw_error.
4003 2014-02-06 Doug Evans <xdje42@gmail.com>
4005 * configure.ac (libpython checking): Remove all but python.o from
4006 CONFIG_OBS. Remove all but python.c from CONFIG_SRCS.
4007 * configure: Regenerate.
4009 * Makefile.in (SFILES): Add extension.c.
4010 (HFILES_NO_SRCDIR): Add extension.h, extension-priv.h
4011 (COMMON_OBS): Add extension.o.
4012 * extension.h: New file.
4013 * extension-priv.h: New file.
4014 * extension.c: New file.
4016 * python/python-internal.h: #include "extension.h".
4017 (gdbpy_auto_load_enabled): Declare.
4018 (gdbpy_apply_val_pretty_printer): Declare.
4019 (gdbpy_apply_frame_filter): Declare.
4020 (gdbpy_preserve_values): Declare.
4021 (gdbpy_breakpoint_cond_says_stop): Declare.
4022 (gdbpy_breakpoint_has_cond): Declare.
4023 (void source_python_script_for_objfile): Delete.
4024 * python/python.c: #include "extension-priv.h".
4025 Delete inclusion of "observer.h".
4026 (extension_language_python): Moved here and renamed from
4027 script_language_python in py-auto-load.c.
4028 Redefined to be of type extension_language_defn.
4029 (python_extension_script_ops): New global.
4030 (python_extension_ops): New global.
4031 (struct python_env): New member previous_active.
4032 (restore_python_env): Call restore_active_ext_lang.
4033 (ensure_python_env): Call set_active_ext_lang.
4034 (gdbpy_clear_quit_flag): Renamed from clear_quit_flag, made static.
4036 (gdbpy_set_quit_flag): Renamed from set_quit_flag, made static.
4038 (gdbpy_check_quit_flag): Renamed from check_quit_flag, made static.
4040 (gdbpy_eval_from_control_command): Renamed from
4041 eval_python_from_control_command, made static. New arg extlang.
4042 (gdbpy_source_script) Renamed from source_python_script, made static.
4044 (gdbpy_before_prompt_hook): Renamed from before_prompt_hook. Change
4045 result to int. New arg extlang.
4046 (gdbpy_source_objfile_script): Renamed from
4047 source_python_script_for_objfile, made static. New arg extlang.
4048 (gdbpy_start_type_printers): Renamed from start_type_printers, made
4049 static. New args extlang, extlang_printers. Change result type to
4051 (gdbpy_apply_type_printers): Renamed from apply_type_printers, made
4052 static. New arg extlang. Rename arg printers to extlang_printers
4053 and change type to ext_lang_type_printers *.
4054 (gdbpy_free_type_printers): Renamed from free_type_printers, made
4055 static. Replace argument arg with extlang, extlang_printers.
4056 (!HAVE_PYTHON, eval_python_from_control_command): Delete.
4057 (!HAVE_PYTHON, source_python_script): Delete.
4058 (!HAVE_PYTHON, gdbpy_should_stop): Delete.
4059 (!HAVE_PYTHON, gdbpy_breakpoint_has_py_cond): Delete.
4060 (!HAVE_PYTHON, start_type_printers): Delete.
4061 (!HAVE_PYTHON, apply_type_printers): Delete.
4062 (!HAVE_PYTHON, free_type_printers): Delete.
4063 (_initialize_python): Delete call to observer_attach_before_prompt.
4064 (finalize_python): Set/restore active extension language.
4065 (gdbpy_finish_initialization) Renamed from
4066 finish_python_initialization, made static. New arg extlang.
4067 (gdbpy_initialized): New function.
4068 * python/python.h: #include "extension.h". Delete #include
4069 "value.h", "mi/mi-cmds.h".
4070 (extension_language_python): Declare.
4071 (GDBPY_AUTO_FILE_NAME): Delete.
4072 (enum py_bt_status): Moved to extension.h and renamed to
4074 (enum frame_filter_flags): Moved to extension.h.
4075 (enum py_frame_args): Moved to extension.h and renamed to
4076 ext_lang_frame_args.
4077 (finish_python_initialization): Delete.
4078 (eval_python_from_control_command): Delete.
4079 (source_python_script): Delete.
4080 (apply_val_pretty_printer): Delete.
4081 (apply_frame_filter): Delete.
4082 (preserve_python_values): Delete.
4083 (gdbpy_script_language_defn): Delete.
4084 (gdbpy_should_stop, gdbpy_breakpoint_has_py_cond): Delete.
4085 (start_type_printers, apply_type_printers, free_type_printers): Delete.
4087 * auto-load.c: #include "extension.h".
4088 (GDB_AUTO_FILE_NAME): Delete.
4089 (auto_load_gdb_scripts_enabled): Make public. New arg extlang.
4090 (script_language_gdb): Delete, moved to extension.c and renamed to
4091 extension_language_gdb.
4092 (source_gdb_script_for_objfile): Delete.
4093 (auto_load_pspace_info): New member unsupported_script_warning_printed.
4094 (loaded_script): Change type of language member to
4095 struct extension_language_defn *.
4096 (init_loaded_scripts_info): Initialize
4097 unsupported_script_warning_printed.
4098 (maybe_add_script): Make static. Change type of language arg to
4099 struct extension_language_defn *.
4100 (clear_section_scripts): Reset unsupported_script_warning_printed.
4101 (auto_load_objfile_script_1): Rewrite to use extension language API.
4102 (auto_load_objfile_script): Make public. Remove support-compiled-in
4103 and auto-load-enabled checks, moved to auto_load_scripts_for_objfile.
4104 (source_section_scripts): Rewrite to use extension language API.
4105 (load_auto_scripts_for_objfile): Rewrite to use
4106 auto_load_scripts_for_objfile.
4107 (collect_matching_scripts_data): Change type of language member to
4108 struct extension_language_defn *.
4109 (auto_load_info_scripts): Change type of language arg to
4110 struct extension_language_defn *.
4111 (unsupported_script_warning_print): New function.
4112 (script_not_found_warning_print): Make static.
4113 (_initialize_auto_load): Rewrite construction of scripts-directory
4115 * auto-load.h (struct objfile): Add forward decl.
4116 (struct script_language): Delete.
4117 (struct auto_load_pspace_info): Add forward decl.
4118 (struct extension_language_defn): Add forward decl.
4119 (maybe_add_script): Delete.
4120 (auto_load_objfile_script): Declare.
4121 (script_not_found_warning_print): Delete.
4122 (auto_load_info_scripts): Update prototype.
4123 (auto_load_gdb_scripts_enabled): Declare.
4124 * python/py-auto-load.c (gdbpy_auto_load_enabled): Renamed from
4125 auto_load_python_scripts_enabled and made public.
4126 (script_language_python): Delete, moved to python.c.
4127 (gdbpy_script_language_defn): Delete.
4128 (info_auto_load_python_scripts): Update to use
4129 extension_language_python.
4131 * breakpoint.c (condition_command): Replace call to
4132 gdbpy_breakpoint_has_py_cond with call to get_breakpoint_cond_ext_lang.
4133 (bpstat_check_breakpoint_conditions): Replace call to gdbpy_should_stop
4134 with call to breakpoint_ext_lang_cond_says_stop.
4135 * python/py-breakpoint.c (gdbpy_breakpoint_cond_says_stop): Renamed
4136 from gdbpy_should_stop. Change result type to enum scr_bp_stop.
4137 New arg slang. Return SCR_BP_STOP_UNSET if py_bp_object is NULL.
4138 (gdbpy_breakpoint_has_cond): Renamed from gdbpy_breakpoint_has_py_cond.
4140 (local_setattro): Print name of extension language with existing
4143 * valprint.c (val_print, value_print): Update to call
4144 apply_ext_lang_val_pretty_printer.
4145 * cp-valprint.c (cp_print_value): Update call to
4146 apply_ext_lang_val_pretty_printer.
4147 * python/py-prettyprint.c: Remove #ifdef HAVE_PYTHON.
4148 (gdbpy_apply_val_pretty_printer): Renamed from
4149 apply_val_pretty_printer. New arg extlang.
4150 (!HAVE_PYTHON, apply_val_pretty_printer): Delete.
4152 * cli/cli-cmds.c (source_script_from_stream): Rewrite to use
4153 extension language API.
4154 * cli/cli-script.c (execute_control_command): Update to call
4155 eval_ext_lang_from_control_command.
4157 * mi/mi-cmd-stack.c (mi_cmd_stack_list_frames): Update to use
4158 enum ext_lang_bt_status values. Update call to
4159 apply_ext_lang_frame_filter.
4160 (mi_cmd_stack_list_locals): Ditto.
4161 (mi_cmd_stack_list_args): Ditto.
4162 (mi_cmd_stack_list_variables): Ditto.
4163 * mi/mi-main.c: Delete #include "python/python-internal.h".
4164 Add #include "extension.h".
4165 (mi_cmd_list_features): Replace reference to python internal variable
4166 gdb_python_initialized with call to ext_lang_initialized_p.
4168 * stack.c (backtrace_command_1): Update to use enum ext_lang_bt_status.
4169 Update to use enum ext_lang_frame_args. Update to call
4170 apply_ext_lang_frame_filter.
4171 * python/py-framefilter.c (extract_sym): Update to use enum
4173 (extract_value, py_print_type, py_print_value): Ditto.
4174 (py_print_single_arg, enumerate_args, enumerate_locals): Ditto.
4175 (py_mi_print_variables, py_print_locals, py_print_args): Ditto.
4176 (py_print_frame): Ditto.
4177 (gdbpy_apply_frame_filter): Renamed from apply_frame_filter.
4178 New arg extlang. Update to use enum ext_lang_bt_status.
4180 * top.c (gdb_init): Delete #ifdef HAVE_PYTHON call to
4181 finish_python_initialization. Replace with call to
4182 finish_ext_lang_initialization.
4184 * typeprint.c (do_free_global_table): Update to call
4185 free_ext_lang_type_printers.
4186 (create_global_typedef_table): Update to call
4187 start_ext_lang_type_printers.
4188 (find_global_typedef): Update to call apply_ext_lang_type_printers.
4189 * typeprint.h (struct ext_lang_type_printers): Add forward decl.
4190 (type_print_options): Change type of global_printers from "void *"
4191 to "struct ext_lang_type_printers *".
4193 * value.c (preserve_values): Update to call preserve_ext_lang_values.
4194 * python/py-value.c: Remove #ifdef HAVE_PYTHON.
4195 (gdbpy_preserve_values): Renamed from preserve_python_values.
4197 (!HAVE_PYTHON, preserve_python_values): Delete.
4199 * utils.c (quit_flag): Delete, moved to extension.c.
4200 (clear_quit_flag, set_quit_flag, check_quit_flag): Delete, moved to
4203 * eval.c: Delete #include "python/python.h".
4204 * main.c: Delete #include "python/python.h".
4206 * defs.h: Update comment.
4208 2014-02-06 Joel Brobecker <brobecker@adacore.com>
4212 2014-02-05 Mark Kettenis <kettenis@gnu.org>
4214 * c-exp.y (YYPRINT, c_print_token): Only define if YYBISON is
4217 2014-02-05 Yao Qi <yao@codesourcery.com>
4219 * remote.c (remote_pass_signals): Remove local 'buf' and use
4221 (remote_program_signals): Likewise.
4223 2014-02-05 Yao Qi <yao@codesourcery.com>
4225 * ctf.c: Include "inferior.h" and "gdbthread.h".
4226 (CTF_PID): A new macro.
4227 (ctf_open): Call inferior_appeared and add_thread_silent.
4228 (ctf_close): Call exit_inferior_silent and set inferior_ptid.
4229 (ctf_thread_alive): New function.
4230 (init_ctf_ops): Install ctf_thread_alive to to_thread_alive.
4232 2014-02-05 Yao Qi <yao@codesourcery.com>
4236 2013-05-24 Yao Qi <yao@codesourcery.com>
4238 * tracepoint.c (TFILE_PID): Remove.
4239 (tfile_open): Don't add thread and inferior.
4240 (tfile_close): Don't set 'inferior_ptid'. Don't call
4241 exit_inferior_silent.
4242 (tfile_thread_alive): Remove.
4243 (init_tfile_ops): Don't set field 'to_thread_alive' of
4246 2014-02-04 Christian Eggers <ceggers@gmx.de> (tiny change)
4248 * remote.c (remote_start_remote): Call remote_check_symbols even
4249 if only symbol-file (not file) has been given.
4251 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
4253 * gdbarch.sh (skip_entrypoint): New callback.
4254 * gdbarch.c, gdbarch.h: Regenerate.
4255 * symtab.c (skip_prologue_sal): Call gdbarch_skip_entrypoint.
4256 * infrun.c (fill_in_stop_func): Likewise.
4257 * ppc-linux-tdep.c: Include "elf/ppc64.h".
4258 (ppc_elfv2_elf_make_msymbol_special): New function.
4259 (ppc_elfv2_skip_entrypoint): Likewise.
4260 (ppc_linux_init_abi): Install them for ELFv2.
4262 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
4264 * ppc-sysv-tdep.c (ppc64_aggregate_candidate): New routine.
4265 (ppc64_elfv2_abi_homogeneous_aggregate): Likewise.
4266 (ppc64_sysv_abi_push_param): Handle ELFv2 homogeneous structs.
4267 (ppc64_sysv_abi_return_value): Likewise. Also, handle small
4268 structures returned in GPRs.
4270 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
4272 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_dummy_call): Use correct
4273 offset to the stack parameter list for the ELFv2 ABI.
4275 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
4277 * ppc-linux-tdep.c (ppc_linux_init_abi): Only call
4278 set_gdbarch_convert_from_func_ptr_addr and
4279 set_gdbarch_elf_make_msymbol_special for ELFv1.
4280 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_param): Only handle
4281 function descriptors on ELFv1.
4282 (ppc64_sysv_abi_push_dummy_call): Likewise. On ELFv2,
4283 set up r12 at function entry.
4285 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
4287 * ppc-tdep.h (enum powerpc_elf_abi): New data type.
4288 (struct gdbarch_tdep): New member elf_abi.
4290 * rs6000-tdep.c: Include "elf/ppc64.h".
4291 (rs6000_gdbarch_init): Detect ELF ABI version.
4293 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
4295 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_freg): Use correct order
4296 within a register pair holding a DFP 128-bit value on little-endian.
4297 (ppc64_sysv_abi_return_value_base): Likewise.
4298 * rs6000-tdep.c (dfp_pseudo_register_read): Likewise.
4299 (dfp_pseudo_register_write): Likewise.
4301 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
4303 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_freg): Use correct
4304 offset on little-endian when passing _Decimal32.
4305 (ppc64_sysv_abi_return_value_base): Likewise for return values.
4307 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
4309 * rs6000-tdep.c (efpr_pseudo_register_read): Use correct offset
4310 of the overlapped FP register within the VSX register on little-
4312 (efpr_pseudo_register_write): Likewise.
4314 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
4316 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_val): Use correct
4317 offset on little-endian when passing small structures.
4319 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
4321 * ppc-sysv-tdep.c (get_decimal_float_return_value): Update comment.
4322 (struct ppc64_sysv_argpos): New data structure.
4323 (ppc64_sysv_abi_push_float): Remove.
4324 (ppc64_sysv_abi_push_val): New function.
4325 (ppc64_sysv_abi_push_integer): Likewise.
4326 (ppc64_sysv_abi_push_freg): Likewise.
4327 (ppc64_sysv_abi_push_vreg): Likewise.
4328 (ppc64_sysv_abi_push_param): Likewise.
4329 (ppc64_sysv_abi_push_dummy_call): Refactor to use those new routines.
4330 (ppc64_sysv_abi_return_value_base): New function.
4331 (ppc64_sysv_abi_return_value): Refactor to use it.
4333 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
4335 * NEWS: Document new target powerpc64le-*-linux*.
4337 2014-02-04 Mark Kettenis <kettenis@gnu.org>
4339 * sparc64obsd-tdep.c (sparc64obsd_gregset): New variable.
4340 (sparc64obsd_supply_gregset): Handle registers sets used in ELF
4342 (sparc64obsd_init_abi): Adjust minimum size of the general purpose
4343 register set used in ELF core dumps. Add floating-point register set.
4345 2014-02-03 Kevin Buettner <kevinb@redhat.com>
4347 * mn10300-tdep.c (mn10300_dwarf2_reg_to_regnum): Rewrite
4348 dwarf2_to_gdb[] table using symbolic constants. Adjust
4349 penultimate entry from number representing the PC register
4350 to symbolic constant representing the MDR register. Add
4351 constant for the PC register to the end of the table.
4353 2014-02-03 Mark Kettenis <kettenis@gnu.org>
4355 * bsd-kvm.c: Include <sys/param.h>
4357 2014-02-03 Mark Kettenis <kettenis@gnu.org>
4359 * sparc64nbsd-nat.c (sparc64nbsd_supply_fpregset): Fix prototype.
4361 2014-01-31 Joel Brobecker <brobecker@adacore.com>
4363 * ada-lang.h (clear_ada_sym_cache): Delete.
4365 2014-01-30 Ulrich Weigand <uweigand@de.ibm.com>
4367 * auxv.c (fprint_target_auxv): Handle AT_HWCAP2.
4369 2014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
4371 * sparc64-linux-tdep.c (sparc64_linux_step_trap): Get PC from
4372 the sigreturn register save area only if the syscall is
4375 2014-01-29 Joel Brobecker <brobecker@adacore.com>
4377 * valops.c (value_slice): Minor reformatting.
4379 2014-01-28 Ulrich Weigand <uweigand@de.ibm.com>
4381 * ppc64-tdep.c (ppc64_standard_linkage7): Fix typo.
4383 2014-01-28 Joel Brobecker <brobecker@adacore.com>
4385 * ada-lang.c (maint_set_ada_cmdlist, maint_show_ada_cmdlist):
4387 (maint_set_ada_cmd, maint_show_ada_cmd): New functions.
4388 (ada_ignore_descriptive_types_p): New static global.
4389 (find_parallel_type_by_descriptive_type): Return immediately
4390 if ada_ignore_descriptive_types_p is set.
4391 (_initialize_ada_language): Register new commands "maintenance
4392 set ada", "maintenance show ada", "maintenance set ada
4393 ignore-descriptive-types" and "maintenance show ada
4394 ignore-descriptive-types".
4395 * NEWS: Add entry for new "maint ada set/show
4396 ignore-descriptive-types" commands.
4398 2014-01-27 Markus Metzger <markus.t.metzger@intel.com>
4400 * record-btrace.c (record_btrace_close): Call btrace_teardown
4403 2014-01-27 Joel Brobecker <brobecker@adacore.com>
4405 * ada-lang.c: Remove "#ifdef UI_OUT" condition for including
4408 2014-01-27 Joel Brobecker <brobecker@adacore.com>
4410 * ada-typeprint (type_is_full_subrange_of_target_type):
4412 (print_range): Add parameter bounds_prefered_p. If not set,
4413 try printing range types using the name of their base type.
4414 (print_range_type): Add parameter bounds_prefered_p.
4415 Use it in call to print_range.
4416 (print_array_type, ada_print_type): Update calls to print_range
4417 and print_range_type.
4419 2014-01-27 Joel Brobecker <brobecker@adacore.com>
4421 * ada-typeprint.c (print_array_type, print_choices, print_range)
4422 (print_range_bound, print_dynamic_range_bound, print_range_type):
4425 2014-01-27 Joel Brobecker <brobecker@adacore.com>
4427 * ada-typeprint.c (print_range): Add missing empty line
4428 after local declaration.
4430 2014-01-27 Joel Brobecker <brobecker@adacore.com>
4432 * ada-valprint.c (print_optional_low_bound): Get index_type's
4433 target type for as long as it is a TYPE_CODE_RANGE.
4435 2014-01-27 Joel Brobecker <brobecker@adacore.com>
4437 * procfs.c (procfs_make_note_section): Remove assertion and
4440 2014-01-24 Yao Qi <yao@codesourcery.com>
4442 * remote.c (remote_read_bytes): Change type of len to ULONGEST.
4443 * corelow.c (get_core_siginfo): Likewise.
4445 2014-01-24 Yao Qi <yao@codesourcery.com>
4447 * remote.c (remote_write_bytes_aux): Change type of 'len' to
4448 ULONGEST. Don't check 'len' is negative.
4449 (remote_write_bytes): Change type of 'len' to ULONGEST.
4451 2014-01-23 Tom Tromey <tromey@redhat.com>
4454 * python/lib/gdb/FrameDecorator.py: (FrameVars.fetch_frame_args):
4455 Handle exception from frame.block.
4456 (FrameVars.fetch_frame_locals): Likewise.
4458 2014-01-23 Tom Tromey <tromey@redhat.com>
4461 * python/py-framefilter.c (py_print_frame): Don't call Py_DECREF
4462 on a NULL pointer. Move "goto error" to correct place.
4464 2014-01-23 Tom Tromey <tromey@redhat.com>
4467 * python/py-framefilter.c (apply_frame_filter): Call
4468 ensure_python_env after computing gdbarch.
4470 2014-01-23 Yao Qi <yao@codesourcery.com>
4472 * target.c (raw_memory_xfer_partial): Change argument type
4473 from void * to gdb_byte *.
4474 (memory_xfer_partial_1, memory_xfer_partial): Likewise.
4476 2014-01-22 Doug Evans <dje@google.com>
4478 New gdbserver option --debug-format=timestamp.
4481 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
4483 * syscalls/s390x-linux.xml: New file.
4484 * syscalls/s390-linux.xml: New file.
4485 * s390-linux-tdep.c (XML_SYSCALL_FILENAME_S390): New macro.
4486 (XML_SYSCALL_FILENAME_S390X): Likewise.
4487 (op_svc): New enum value for SVC opcode.
4488 (s390_sigtramp_frame_sniffer): Replace literal by 'op_svc'.
4489 (s390_linux_get_syscall_number): New function.
4490 (s390_gdbarch_init): Register '*get_syscall_number' and the
4491 syscall xml file name.
4492 * data-directory/Makefile.in (SYSCALLS_FILES): Add
4493 "s390-linux.xml" and "s390x-linux.xml".
4494 * NEWS: Announce new feature.
4496 2014-01-22 Baruch Siach <baruch@tkos.co.il>
4498 * xtensa-tdep.h (xtensa_elf_greg_t): Change type to uint32_t.
4500 2014-01-22 Pedro Alves <palves@redhat.com>
4502 * xtensa-config.c: Include defs.h.
4504 2014-01-22 Joel Brobecker <brobecker@adacore.com>
4506 * common/common-utils.h: Add "ARI:" comment beside __func__
4509 2014-01-22 Joel Brobecker <brobecker@adacore.com>
4511 * common/common-utils.h (FUNCTION_NAME): Expand the macro's
4512 documentation a bit.
4514 2014-01-21 Roland McGrath <mcgrathr@google.com>
4516 * configure.ac: Call AM_PROG_INSTALL_STRIP.
4517 * configure: Regenerate.
4518 * aclocal.m4: Regenerate.
4519 * Makefile.in (install_sh, INSTALL_STRIP_PROGRAM, STRIP):
4520 New substituted variables.
4521 (install-strip): New target.
4522 (INSTALL_SCRIPT): New substituted variable.
4523 (FLAGS_TO_PASS): Add it.
4524 (install-only): Use $(INSTALL_SCRIPT) rather than
4525 $(INSTALL_PROGRAM) for gcore.
4527 2014-01-20 Tom Tromey <tromey@redhat.com>
4529 * cli/cli-decode.h (struct cmd_list_element): Move all bitfields
4532 2014-01-20 Tom Tromey <tromey@redhat.com>
4534 * cli/cli-decode.c (add_cmd, deprecate_cmd, add_alias_cmd)
4535 (add_setshow_cmd_full, delete_cmd, lookup_cmd_1)
4536 (deprecated_cmd_warning, complete_on_cmdlist): Update.
4537 * cli/cli-decode.h (CMD_DEPRECATED, DEPRECATED_WARN_USER)
4538 (MALLOCED_REPLACEMENT, DOC_ALLOCATED): Remove.
4539 (struct cmd_list_element) <flags>: Remove.
4540 <cmd_deprecated, deprecated_warn_user, malloced_replacement,
4541 doc_allocated>: New fields.
4542 <hook_in, allow_unknown, abbrev_flag, type, var_type>: Now
4544 * maint.c (maintenance_do_deprecate): Update.
4545 * top.c (execute_command): Update.
4547 2014-01-20 Baruch Siach <baruch@tkos.co.il>
4549 * xtensa-linux-nat.c: Include asm/ptrace.h.
4551 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
4553 * Makefile.in (SFILES): Add d-support.c.
4554 (COMMON_OBS): Add d-support.o.
4555 * d-lang.h (d_parse_symbol): Add comment, now defined in
4557 * d-lang.c (parse_call_convention)
4558 (parse_attributes, parse_function_types)
4559 (parse_function_args, parse_type, parse_identifier)
4560 (call_convention_p, d_parse_symbol): Move functions to ...
4561 * d-support.c: ... New file.
4563 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
4565 * d-lang.h (d_parse_symbol): Add declaration.
4566 * d-lang.c (extract_identifiers)
4567 (extract_type_info): Remove functions.
4568 (parse_call_convention, parse_attributes)
4569 (parse_function_types, parse_function_args)
4570 (parse_type, parse_identifier, call_convention_p)
4571 (d_parse_symbol): New functions.
4572 (d_demangle): Use d_parse_symbol to demangle D symbols.
4574 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
4576 * d-lang.h (struct builtin_d_type): New data type.
4577 (builtin_d_type): Add declaration.
4578 * d-lang.c (d_language_arch_info, build_d_types)
4579 (builtin_d_type): New functions.
4580 (enum d_primitive_types): New data type.
4581 (d_language_defn): Change c_language_arch_info to
4582 d_language_arch_info.
4583 (d_type_data): New static variable.
4584 (_initialize_d_language): Initialize d_type_data.
4586 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
4588 * d-lang.h (d_main_name): Add declaration.
4589 * d-lang.c (d_main_name): New function.
4590 * symtab.c (find_main_name): Add call to d_main_name.
4592 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
4594 * d-lang.c (d_language_defn): Change macro_expansion_c to
4597 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
4599 * MAINTAINERS: Add myself as a write-after-approval maintainer.
4601 2014-01-17 Sergio Durigan Junior <sergiodj@redhat.com>
4603 * breakpoint.c (insert_bp_location): Add "volatile" keyword to "struct
4604 gdb_exception" declaration.
4605 * remote.c (getpkt_or_notif_sane): Likewise.
4607 2014-01-17 Doug Evans <dje@google.com>
4609 * common/gdb_vecs.c (delim_string_to_char_ptr_vec_append): New
4610 function, contents of dirnames_to_char_ptr_vec_append moved here.
4611 (delim_string_to_char_ptr_vec): New function.
4612 (dirnames_to_char_ptr_vec_append): Rewrite.
4613 * common/gdb_vecs.h (delim_string_to_char_ptr_vec): Declare.
4615 2014-01-17 Doug Evans <dje@google.com>
4617 * common/common-utils.h (FUNCTION_NAME): Renamed from ASSERT_FUNCTION,
4619 * common/gdb_assert.h (ASSERT_FUNCTION): ... from here.
4620 #include "common-utils.h".
4621 (gdb_assert, gdb_assert_fail, gdb_assert_not_reached): Update.
4622 * common/vec.h (VEC_ASSERT_PASS): Update.
4623 * darwin-nat.h: Replace #include of gdb_assert.h with common-utils.h.
4624 (MACH_CHECK_ERROR): Update.
4626 2014-01-17 Simon Marchi <simon.marchi@ericsson.com>
4628 * gdbarch.sh (gdbarch_address_class_name_to_type_flags): Add
4630 * gdbarch.h: Regenerate.
4632 2014-01-16 Tom Tromey <tromey@redhat.com>
4634 * value.c (struct value) <regnum>: Move earlier.
4636 2014-01-16 Tom Tromey <tromey@redhat.com>
4638 * remote.c (extended_remote_create_inferior): Rename from
4639 extended_remote_create_inferior_1. Add "ops" argument. Remove
4642 2014-01-16 Pedro Alves <palves@redhat.com>
4644 * s390-linux-tdep.c (s390_frame_unwind_cache): Swallow
4645 NOT_AVAILABLE_ERROR errors while parsing the prologue or reading
4648 2014-01-16 Doug Evans <dje@google.com>
4650 * dwarf2read.c (open_and_init_dwp_file): Fix typo in comment.
4652 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4654 * btrace.h (btrace_thread_flag): New.
4655 (struct btrace_thread_info) <flags>: New.
4656 * record-btrace.c (record_btrace_resume_thread)
4657 (record_btrace_find_thread_to_move, btrace_step_no_history)
4658 (btrace_step_stopped, record_btrace_start_replaying)
4659 (record_btrace_step_thread, record_btrace_decr_pc_after_break)
4660 (record_btrace_find_resume_thread): New.
4661 (record_btrace_resume, record_btrace_wait): Extend.
4662 (record_btrace_can_execute_reverse): New.
4663 (record_btrace_open): Fail in non-stop mode.
4664 (record_btrace_set_replay): Split into this, ...
4665 (record_btrace_stop_replaying): ... this, ...
4666 (record_btrace_clear_histories): ... and this.
4667 (init_record_btrace_ops): Init to_can_execute_reverse.
4668 * NEWS: Announce it.
4670 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4672 * target.h (struct target_ops) <to_decr_pc_after_break>: New.
4673 (forward_target_decr_pc_after_break)
4674 (target_decr_pc_after_break): New.
4675 * target.c (forward_target_decr_pc_after_break)
4676 (target_decr_pc_after_break): New.
4677 * aix-thread.c (aix_thread_wait): Call target_decr_pc_after_break
4678 instead of gdbarch_decr_pc_after_break.
4679 * darwin-nat.c (cancel_breakpoint): Call target_decr_pc_after_break
4680 instead of gdbarch_decr_pc_after_break.
4681 * infrun.c (adjust_pc_after_break): Call target_decr_pc_after_break
4682 instead of gdbarch_decr_pc_after_break.
4683 * linux-nat.c (cancel_breakpoint): Call target_decr_pc_after_break
4684 instead of gdbarch_decr_pc_after_break.
4685 * linux-thread-db.c (check_event): Call target_decr_pc_after_break
4686 instead of gdbarch_decr_pc_after_break.
4687 * record-full.c (record_full_wait_1): Call target_decr_pc_after_break
4688 instead of gdbarch_decr_pc_after_break.
4690 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4692 * btrace.c: Include regcache.h.
4693 (btrace_add_pc): New.
4694 (btrace_enable): Call btrace_add_pc.
4695 (btrace_is_empty): New.
4696 * btrace.h (btrace_is_empty): New.
4697 * record-btrace.c (require_btrace, record_btrace_info): Call
4700 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4702 * common/linux-btrace.c (perf_event_read_bts, linux_read_btrace):
4703 Support delta reads.
4704 (linux_disable_btrace): Change return type.
4705 * common/linux-btrace.h (linux_read_btrace): Change parameters
4706 and return type to allow error reporting. Update users.
4707 (linux_disable_btrace): Change return type. Update users.
4708 * common/btrace-common.h (btrace_read_type) <BTRACE_READ_DELTA>:
4710 (btrace_error): New.
4711 (btrace_block) <begin>: Comment on BEGIN == 0.
4712 * btrace.c (btrace_compute_ftrace): Start from the end of
4714 (btrace_stitch_trace, btrace_clear_history): New.
4715 (btrace_fetch): Read delta trace, return if replaying.
4716 (btrace_clear): Move clear history code to btrace_clear_history.
4717 (parse_xml_btrace): Throw an error if parsing failed.
4718 * target.h (struct target_ops) <to_read_btrace>: Change parameters
4719 and return type to allow error reporting.
4720 (target_read_btrace): Change parameters and return type to allow
4722 * target.c (target_read_btrace): Update.
4723 * remote.c (remote_read_btrace): Support delta reads. Pass
4725 * NEWS: Announce it.
4727 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4729 * record.h (record_btrace_frame_unwind)
4730 (record_btrace_tailcall_frame_unwind): New declarations.
4731 * dwarf2-frame: Include record.h
4732 (dwarf2_frame_cfa): Throw an error for btrace frames.
4733 * record-btrace.c: Include hashtab.h.
4734 (btrace_get_bfun_name): New.
4735 (btrace_call_history): Call btrace_get_bfun_name.
4736 (struct btrace_frame_cache): New.
4738 (bfcache_hash, bfcache_eq, bfcache_new): New.
4739 (btrace_get_frame_function): New.
4740 (record_btrace_frame_unwind_stop_reason): Allow unwinding.
4741 (record_btrace_frame_this_id): Compute own id.
4742 (record_btrace_frame_prev_register): Provide PC, throw_error
4743 for all other registers.
4744 (record_btrace_frame_sniffer): Detect btrace frames.
4745 (record_btrace_tailcall_frame_sniffer): New.
4746 (record_btrace_frame_dealloc_cache): New.
4747 (record_btrace_frame_unwind): Add new functions.
4748 (record_btrace_tailcall_frame_unwind): New.
4749 (_initialize_record_btrace): Allocate cache.
4750 * btrace.c (btrace_clear): Call reinit_frame_cache.
4751 * NEWS: Announce it.
4753 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4755 * record-btrace.c (record_btrace_set_replay)
4756 (record_btrace_goto_begin, record_btrace_goto_end)
4757 (record_btrace_goto): New.
4758 (init_record_btrace_ops): Initialize them.
4759 * NEWS: Announce it.
4761 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4763 * record-btrace.c (record_btrace_find_new_threads)
4764 (record_btrace_thread_alive): New.
4765 (init_record_btrace_ops): Initialize to_find_new_threads and
4768 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4770 * record-btrace.c (record_btrace_resume): New.
4771 (record_btrace_wait): New.
4772 (init_record_btrace_ops): Initialize to_wait and to_resume.
4774 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4776 * record-btrace.c (record_btrace_xfer_partial)
4777 (record_btrace_insert_breakpoint, record_btrace_remove_breakpoint)
4778 (record_btrace_allow_memory_access): New.
4779 (init_record_btrace_ops): Initialize new methods.
4780 * target.c (raw_memory_xfer_partial): Bail out if target reports
4781 that this memory is not available.
4783 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4785 * target.h (target_ops) <to_insert_breakpoint>
4786 <to_remove_breakpoint>: Add target_ops parameter.
4787 (forward_target_insert_breakpoint): New.
4788 (forward_target_remove_breakpoint): New.
4789 (memory_remove_breakpoint, memory_insert_breakpoint):
4790 Add target_ops parameter.
4791 * target.c (target_insert_breakpoint): Split into this and ...
4792 (forward_target_insert_breakpoint): ... this.
4793 (target_remove_breakpoint): Split into this and ...
4794 (forward_target_remove_breakpoint): ... this.
4795 (debug_to_insert_breakpoint): Add target_ops parameter.
4796 Call forward_target_insert_breakpoint.
4797 (debug_to_remove_breakpoint): Add target_ops parameter.
4798 Call forward_target_remove_breakpoint.
4799 (update_current_target): Do not inherit or default to_insert_breakpoint
4800 and to_remove_breakpoint.
4801 * corelow.c (ignore): Add target_ops parameter.
4802 * exec.c (ignore): Add target_ops parameter.
4803 * mem-break.c (memory_insert_breakpoint, memory_remove_breakpoint):
4804 Add target_ops parameter.
4805 * monitor.c (monitor_insert_breakpoint, monitor_remove_breakpoint):
4806 Add target_ops parameter.
4807 * nto-procfs.c (procfs_insert_breakpoint, procfs_remove_breakpoint):
4808 Add target_ops parameter.
4809 * record-full.c (record_full_beneath_to_insert_breakpoint)
4810 (record_full_beneath_to_remove_breakpoint, tmp_to_insert_breakpoint)
4811 (tmp_to_remove_breakpoint, record_full_insert_breakpoint)
4812 (record_full_remove_breakpoint, record_full_core_insert_breakpoint)
4813 (record_full_core_remove_breakpoint): Add target_ops parameter.
4815 (record_full_beneath_to_insert_breakpoint_ops)
4816 (record_full_beneath_to_remove_breakpoint_ops)
4817 (tmp_to_insert_breakpoint_ops, tmp_to_remove_breakpoint_ops): New.
4818 (record_full_open): Initialize tmp_to_insert_breakpoint_ops,
4819 tmp_to_remove_breakpoint_ops,
4820 record_full_beneath_to_insert_breakpoint_ops, and
4821 record_full_beneath_to_remove_breakpoint_ops.
4822 * remote-m32r-sdi.c (m32r_insert_breakpoint)
4823 (m32r_remove_breakpoint): Add target_ops parameter.
4824 * remote-mips.c (mips_insert_breakpoint, mips_remove_breakpoint):
4825 Add target_ops parameter.
4826 * remote.c (remote_insert_breakpoint, remote_remove_breakpoint):
4827 Add target_ops parameter.
4829 2014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
4830 Markus Metzger <markus.t.metzger@intel.com>
4832 * record-btrace.c: Include frame-unwind.h.
4833 (record_btrace_frame_unwind_stop_reason)
4834 (record_btrace_frame_this_id, record_btrace_frame_prev_register)
4835 (record_btrace_frame_sniffer, record_btrace_frame_unwind):
4837 (init_record_btrace_ops): Install it.
4839 2014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
4841 * frame.c (get_frame_unwind_stop_reason): Unconditionally call
4844 2014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
4846 * dwarf2-frame.c (dwarf2_frame_cfa): Move UNWIND_UNAVAILABLE check
4849 2014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
4851 * frame-unwind.c: Include target.h.
4852 (frame_unwind_try_unwinder): New function with code from ...
4853 (frame_unwind_find_by_frame): ... here. New variable
4854 unwinder_from_target, call also target_get_unwinder)
4855 (target_get_tailcall_unwinder, and frame_unwind_try_unwinder for it.
4856 * target.c (target_get_unwinder, target_get_tailcall_unwinder): New.
4857 * target.h (struct target_ops): New fields to_get_unwinder and
4858 to_get_tailcall_unwinder.
4859 (target_get_unwinder, target_get_tailcall_unwinder): New declarations.
4861 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4863 * record-btrace.c (record_btrace_fetch_registers)
4864 (record_btrace_store_registers)
4865 (record_btrace_to_prepare_to_store): New.
4866 (init_record_btrace_ops): Add the above.
4868 2014-01-16 Tom Tromey <tromey@redhat.com>
4870 * windows-nat.c (windows_prepare_to_store): Add 'self' argument.
4871 * target.h (struct target_ops) <to_prepare_to_store>: Add
4873 (target_prepare_to_store): Add argument.
4874 * target.c (debug_to_prepare_to_store): Add argument.
4875 (update_current_target): Update.
4876 * remote.c (remote_prepare_to_store): Add 'self' argument.
4877 * remote-sim.c (gdbsim_prepare_to_store): Add 'self' argument.
4878 * remote-mips.c (mips_prepare_to_store): Add 'self' argument.
4879 * remote-m32r-sdi.c (m32r_prepare_to_store): Add 'self' argument.
4880 * record-full.c (record_full_core_prepare_to_store): Add 'self'
4882 * ravenscar-thread.c (ravenscar_prepare_to_store): Add argument.
4883 * nto-procfs.c (procfs_prepare_to_store): Add 'self' argument.
4884 * monitor.c (monitor_prepare_to_store): Add 'self' argument.
4885 * inf-child.c (inf_child_prepare_to_store): Add 'self' argument.
4886 * go32-nat.c (go32_prepare_to_store): Add 'self' argument.
4888 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4890 * btrace.h (replay) <replay>: New.
4891 (btrace_is_replaying): New.
4892 * btrace.c (btrace_clear): Free replay iterator.
4893 (btrace_is_replaying): New.
4894 * record-btrace.c (record_btrace_is_replaying): New.
4895 (record_btrace_info): Print insn number if replaying.
4896 (record_btrace_insn_history): Start at replay position.
4897 (record_btrace_call_history): Start at replay position.
4898 (init_record_btrace_ops): Init to_record_is_replaying.
4900 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4902 * record-btrace.c (record_btrace_insn_history_range): Include
4904 (record_btrace_insn_history_from): Adjust range.
4905 (record_btrace_call_history_range): Include
4907 (record_btrace_call_history_from): Adjust range.
4908 * NEWS: Announce changes.
4910 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4912 * record.h (enum record_print_flag)
4913 <record_print_indent_calls>: New.
4914 * record.c (get_call_history_modifiers): Recognize /c modifier.
4915 (_initialize_record): Document /c modifier.
4916 * record-btrace.c (btrace_call_history): Add btinfo parameter.
4917 Reorder fields. Optionally indent the function name. Update
4919 * NEWS: Announce changes.
4921 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4923 * common/linux-btrace.c (linux_enable_btrace): Enlarge buffer.
4925 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4927 * btrace.c (ftrace_new_function): Start counting at one.
4928 * record-btrace.c (record_btrace_info): Adjust number of calls
4930 * NEWS: Announce it.
4932 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4934 * record-btrace.c (btrace_call_history_insn_range): Print
4935 insn range as [begin, end].
4937 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4939 * btrace.h (struct btrace_func_link): New.
4940 (enum btrace_function_flag): New.
4941 (struct btrace_inst): Rename to ...
4942 (struct btrace_insn): ...this. Update all users.
4943 (struct btrace_func) <ibegin, iend>: Remove.
4944 (struct btrace_func_link): New.
4945 (struct btrace_func): Rename to ...
4946 (struct btrace_function): ...this. Update all users.
4947 (struct btrace_function) <segment, flow, up, insn, insn_offset)
4948 (number, level, flags>: New.
4949 (struct btrace_insn_iterator): Rename to ...
4950 (struct btrace_insn_history): ...this.
4952 (struct btrace_insn_iterator, btrace_call_iterator): New.
4953 (struct btrace_target_info) <btrace, itrace, ftrace>: Remove.
4954 (struct btrace_target_info) <begin, end, level>
4955 <insn_history, call_history>: New.
4956 (btrace_insn_get, btrace_insn_number, btrace_insn_begin)
4957 (btrace_insn_end, btrace_insn_prev, btrace_insn_next)
4958 (btrace_insn_cmp, btrace_find_insn_by_number, btrace_call_get)
4959 (btrace_call_number, btrace_call_begin, btrace_call_end)
4960 (btrace_call_prev, btrace_call_next, btrace_call_cmp)
4961 (btrace_find_function_by_number, btrace_set_insn_history)
4962 (btrace_set_call_history): New.
4963 * btrace.c (btrace_init_insn_iterator)
4964 (btrace_init_func_iterator, compute_itrace): Remove.
4965 (ftrace_print_function_name, ftrace_print_filename)
4966 (ftrace_skip_file): Change
4968 (ftrace_init_func): Remove.
4969 (ftrace_debug): Use new btrace_function fields.
4970 (ftrace_function_switched): Also consider gaining and
4971 losing symbol information).
4972 (ftrace_print_insn_addr, ftrace_new_call, ftrace_new_return)
4973 (ftrace_new_switch, ftrace_find_caller, ftrace_new_function)
4974 (ftrace_update_caller, ftrace_fixup_caller, ftrace_new_tailcall):
4976 (ftrace_new_function): Move. Remove debug print.
4977 (ftrace_update_lines, ftrace_update_insns): New.
4978 (ftrace_update_function): Check for call, ret, and jump.
4979 (compute_ftrace): Renamed to ...
4980 (btrace_compute_ftrace): ...this. Rewritten to compute call
4982 (btrace_fetch, btrace_clear): Updated.
4983 (btrace_insn_get, btrace_insn_number, btrace_insn_begin)
4984 (btrace_insn_end, btrace_insn_prev, btrace_insn_next)
4985 (btrace_insn_cmp, btrace_find_insn_by_number, btrace_call_get)
4986 (btrace_call_number, btrace_call_begin, btrace_call_end)
4987 (btrace_call_prev, btrace_call_next, btrace_call_cmp)
4988 (btrace_find_function_by_number, btrace_set_insn_history)
4989 (btrace_set_call_history): New.
4990 * record-btrace.c (require_btrace): Use new btrace thread
4992 (record_btrace_info, btrace_insn_history)
4993 (record_btrace_insn_history, record_btrace_insn_history_range):
4994 Use new btrace thread info fields and new iterator.
4995 (btrace_func_history_src_line): Rename to ...
4996 (btrace_call_history_src_line): ...this. Use new btrace
4998 (btrace_func_history): Rename to ...
4999 (btrace_call_history): ...this. Use new btrace thread info
5000 fields and new iterator.
5001 (record_btrace_call_history, record_btrace_call_history_range):
5002 Use new btrace thread info fields and new iterator.
5004 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5006 * frame.h (frame_id_build_unavailable_stack_special): New.
5007 * frame.c (frame_id_build_unavailable_stack_special): New.
5009 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5011 * amd64-tdep.c (amd64_classify_insn_at, amd64_insn_is_call)
5012 (amd64_insn_is_ret, amd64_insn_is_jump, amd64_jmp_p): New.
5013 (amd64_init_abi): Add insn_is_call, insn_is_ret, and insn_is_jump
5015 * i386-tdep.c (i386_insn_is_call, i386_insn_is_ret)
5016 (i386_insn_is_jump, i386_jmp_p): New.
5017 (i386_gdbarch_init): Add insn_is_call, insn_is_ret, and
5018 insn_is_jump to gdbarch.
5019 * gdbarch.sh (insn_is_call, insn_is_ret, insn_is_jump): New.
5020 * gdbarch.h: Regenerated.
5021 * gdbarch.c: Regenerated.
5022 * arch-utils.h (default_insn_is_call, default_insn_is_ret)
5023 (default_insn_is_jump): New.
5024 * arch-utils.c (default_insn_is_call, default_insn_is_ret)
5025 (default_insn_is_jump): New.
5027 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5029 * common/btrace-common.h (btrace_read_type) <btrace_read_all>:
5031 (btrace_read_type) <BTRACE_READ_ALL>: ... this. Update users.
5032 (btrace_read_type) <btrace_read_new>: Change to ...
5033 (btrace_read_type) <BTRACE_READ_NEW>: ... this. Update users.
5035 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5037 * common/linux-btrace.c (linux_read_btrace): Free trace from
5040 2014-01-15 Doug Evans <dje@google.com>
5042 * dwarf2read.c (open_and_init_dwp_file): Use pulongest to print
5045 2014-01-15 Tom Tromey <tromey@redhat.com>
5047 * dbxread.c (process_one_symbol): Use set_objfile_main_name.
5048 * dwarf2read.c (read_partial_die): Use set_objfile_main_name.
5049 * objfiles.c (get_objfile_bfd_data): Initialize language_of_main.
5050 (set_objfile_main_name): New function.
5051 * objfiles.h (struct objfile_per_bfd_storage) <name_of_main,
5052 language_of_main>: New fields.
5053 (set_objfile_main_name): Declare.
5054 * symtab.c (find_main_name): Loop over objfiles to find the main
5056 (set_main_name): Now static.
5057 (get_main_info): Add comment.
5058 * symtab.h (set_main_name): Don't declare.
5060 2014-01-15 Tom Tromey <tromey@redhat.com>
5062 * symtab.c (main_progspace_key): New global.
5063 (struct main_info): New.
5064 (name_of_main, language_of_main): Remove.
5065 (get_main_info, main_info_cleanup): New function.
5066 (set_main_name, main_name, main_language): Use get_main_info.
5067 (_initialize_symtab): Initialize main_progspace_key.
5069 2014-01-15 Tom Tromey <tromey@redhat.com>
5071 * dbxread.c (process_one_symbol): Update.
5072 * dwarf2read.c (read_partial_die): Update.
5073 * symfile.c (set_initial_language): Call main_language.
5074 * symtab.c (language_of_main): Now static.
5075 (set_main_name): Add 'lang' parameter.
5076 (find_main_name): Update.
5077 (main_language): New function.
5078 (symtab_observer_executable_changed): Update.
5079 * symtab.h (set_main_name): Update.
5080 (language_of_main): Remove.
5081 (main_language): Declare.
5083 2014-01-15 Tom Tromey <tromey@redhat.com>
5085 * symfile.c (init_entry_point_info): Use new "initialized" field.
5087 * objfiles.h (struct entry_point) <initialized>: New field.
5088 (struct objfile_per_bfd_storage) <ei>: New field, moved from...
5089 (struct objfile) <ei>: ...here. Remove.
5090 * objfiles.c (entry_point_address_query): Update.
5092 2014-01-15 Tom Tromey <tromey@redhat.com>
5094 * objfiles.c (entry_point_address_query): Relocate entry point
5096 (objfile_relocate1): Do not relocate entry point address.
5097 * objfiles.h (struct entry_info) <entry_point>: Update comment.
5098 <the_bfd_section_index>: New field.
5099 * symfile.c (init_entry_point_info): Find the entry point's
5102 2014-01-15 Tom Tromey <tromey@redhat.com>
5104 * solib-frv.c (enable_break): Use entry_point_address_query.
5106 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
5108 * NEWS: Add note on improved process record-replay on
5109 arm*-linux* targets.
5111 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
5113 * arm-tdep.c (enum arm_record_result): New enum.
5114 (arm_record_unsupported_insn): New function.
5115 (arm_record_coproc_data_proc): Removed.
5116 (thumb2_record_ld_st_multiple): New function.
5117 (thumb2_record_ld_st_dual_ex_tbb): New function.
5118 (thumb2_record_data_proc_sreg_mimm): New function.
5119 (thumb2_record_ps_dest_generic): New function.
5120 (thumb2_record_branch_misc_cntrl): New function.
5121 (thumb2_record_str_single_data): New function.
5122 (thumb2_record_ld_mem_hints): New function.
5123 (thumb2_record_ld_word): New function.
5124 (thumb2_record_lmul_lmla_div): New function.
5125 (thumb2_record_decode_insn_handler): New function.
5126 (decode_insn): Add thumb32 instruction handlers.
5128 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
5130 * arm-linux-tdep.c: Include "record-full.h" and "linux-record.h".
5131 (struct arm_linux_record_tdep): Declare.
5132 (arm_canonicalize_syscall): New function.
5133 (arm_all_but_pc_registers_record): New function.
5134 (arm_linux_syscall_record): New function.
5135 (arm_linux_init_abi): Add syscall recording constructs.
5136 * arm-tdep.c (thumb_record_ldm_stm_swi): Update thumb syscall
5137 decoding. (arm_record_coproc_data_proc): Update arm syscall
5139 * arm-tdep.h (struct gdbarch_tdep) <arm_swi_record>: Remove.
5140 <arm_syscall_record>: New field.
5141 * configure.tgt (arm*-*-linux*): Add linux-record.o to
5144 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
5146 * arm-tdep.c (thumb_record_misc): Update to use sp as base
5147 register for push instruction recording.
5149 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
5151 * arm-tdep.c (thumb_record_misc): Update to correct logical
5152 error while recording ldm, ldmia and pop instructions.
5154 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
5156 * arm-tdep.c (struct arm_mem_r) <addr>: Change type to uint32_t.
5158 2014-01-15 Pedro Alves <palves@redhat.com>
5160 * go32-nat.c (go32_open, go32_close, go32_attach, go32_detach)
5161 (go32_resume, go32_fetch_registers, store_register)
5162 (go32_store_registers, go32_prepare_to_store)
5163 (go32_xfer_memory, go32_files_info, go32_kill_inferior)
5164 (go32_create_inferior, go32_can_run, go32_terminal_init)
5165 (go32_terminal_inferior, go32_terminal_ours): Delete forward
5168 2014-01-15 Tom Tromey <tromey@redhat.com>
5170 * target.h (async_callback_ftype): New typedef.
5171 (struct target_ops) <to_async>: Use it.
5173 2014-01-15 Joel Brobecker <brobecker@adacore.com>
5175 * python/py-value.c (get_field_type): Remove unnecessary curly
5176 braces for single-statement if block.
5178 2014-01-15 Joel Brobecker <brobecker@adacore.com>
5180 * python/py-type.c (convert_field): Add missing empty line
5183 2014-01-14 Doug Evans <dje@google.com>
5185 * symfile.h (expand_symtabs_matching): Renamed from
5186 expand_partial_symbol_names. Update prototype.
5187 (map_symbol_filenames): Renamed from map_partial_symbol_filenames.
5188 * symfile.c (expand_symtabs_matching): Renamed from
5189 expand_partial_symbol_names. New args file_matcher, kind.
5190 Rename arg fun to symbol_matcher.
5191 (map_symbol_filenames): Renamed from map_partial_symbol_filenames.
5192 * ada-lang.c (ada_complete_symbol_matcher): Renamed from
5193 ada_expand_partial_symbol_name.
5194 (ada_make_symbol_completion_list): Update to call
5195 expand_symtabs_matching.
5196 (ada_add_global_exceptions): Call expand_symtabs_matching.
5197 * mi/mi-cmd-file.c (mi_cmd_file_list_exec_source_files): Update to
5198 call map_symbol_filenames.
5199 * symtab.c (sources_info): Update to call map_symbol_filenames.
5200 (search_symbols): Call expand_symtabs_matching.
5201 (symbol_completion_matcher): Renamed from expand_partial_symbol_name.
5202 (default_make_symbol_completion_list_break_on): Update to call
5203 expand_symtabs_matching.
5204 (make_source_files_completion_list): Update to call
5205 map_symbol_filenames.
5207 2014-01-14 Doug Evans <dje@google.com>
5209 * symfile.h (expand_symtabs_file_matcher_ftype): New typedef.
5210 (expand_symtabs_symbol_matcher_ftype): New typedef.
5211 (quick_symbol_functions.expand_symtabs_matching): Update to use.
5212 expand_symtabs_file_matcher_ftype, expand_symtabs_symbol_matcher_ftype.
5213 * symfile.c (expand_partial_symbol_names): Update to use
5214 expand_symtabs_symbol_matcher_ftype.
5215 * dwarf2read.c (dw2_expand_symtabs_matching): Update to use
5216 expand_symtabs_file_matcher_ftype, expand_symtabs_symbol_matcher_ftype.
5217 Arg name_matcher renamed to symbol_matcher.
5218 * psymtab.c (recursively_search_psymtabs): Update to use
5219 expand_symtabs_symbol_matcher_ftype. Arg name_matcher renamed to
5221 (expand_symtabs_matching_via_partial): Update to use
5222 expand_symtabs_file_matcher_ftype, expand_symtabs_symbol_matcher_ftype.
5223 Arg name_matcher renamed to symbol_matcher.
5225 2014-01-14 Doug Evans <dje@google.com>
5227 * psymtab.c (expand_partial_symbol_names): Delete, moved to symfile.c.
5228 (map_partial_symbol_filenames): Ditto.
5229 * psymtab.h (expand_partial_symbol_names): Delete, moved to symfile.h.
5230 (map_partial_symbol_filenames): Ditto.
5231 * symfile.c (expand_partial_symbol_names): Moved here from psymtab.c.
5232 (map_partial_symbol_filenames): Ditto.
5233 * symfile.h (expand_partial_symbol_names): Moved here from psymtab.h.
5234 (map_partial_symbol_filenames): Ditto.
5235 * symtab.c: Delete #include "psymtab.h".
5237 2014-01-14 Pedro Alves <palves@redhat.com>
5238 Tom Tromey <tromey@redhat.com>
5240 * infrun.c (use_displaced_stepping): Use find_record_target
5241 instead of RECORD_IS_USED.
5242 (adjust_pc_after_break): Use record_full_is_used instead of
5244 * record-btrace.c (record_btrace_open): Call record_preopen
5245 instead of checking RECORD_IS_USED.
5246 * record-full.c (record_full_shortname)
5247 (record_full_core_shortname): New globals.
5248 (record_full_is_used): New function.
5249 (find_full_open): Call record_preopen instead of checking
5251 (init_record_full_ops): Set the target's shortname to
5252 record_full_shortname.
5253 (init_record_full_core_ops): Set the target's shortname to
5254 record_full_core_shortname.
5255 * record-full.h (record_full_is_used): Declare.
5256 * record.c (find_record_target): Make extern.
5257 (record_preopen): New function.
5258 * record.h (RECORD_IS_USED): Delete macro.
5259 (find_record_target, record_preopen): Declare functions.
5261 2014-01-14 Yao Qi <yao@codesourcery.com>
5263 * gdbarch.sh (core_xfer_shared_libraries): Change its argument
5264 'len''s type to ULONGEST.
5265 (core_xfer_shared_libraries_aix): Likewise.
5266 * gdbarch.c, gdbarch.h: Regenerated.
5267 * i386-cygwin-tdep.c (windows_core_xfer_shared_libraries):
5268 Change type of 'len' to ULONGEST.
5269 * rs6000-aix-tdep.c (rs6000_aix_ld_info_to_xml): Likewise.
5270 (rs6000_aix_core_xfer_shared_libraries_aix): Likewise.
5272 2014-01-14 Yao Qi <yao@codesourcery.com>
5274 * common/linux-osdata.c (linux_xfer_osdata_processes): Change
5275 type of 'len' to ULONGEST.
5276 (linux_xfer_osdata_processgroups): Likewise.
5277 (linux_xfer_osdata_threads): Likewise.
5278 (linux_xfer_osdata_fds): Likewise.
5279 (linux_xfer_osdata_isockets): Likewise.
5280 (linux_xfer_osdata_shm): Likewise.
5281 (linux_xfer_osdata_sem): Likewise.
5282 (linux_xfer_osdata_msg): Likewise.
5283 (linux_common_xfer_osdata): Likewise.
5284 (struct osdata_type) <getter>: Likewise.
5285 * common/linux-osdata.h (linux_common_xfer_osdata): Update
5288 2014-01-14 Yao Qi <yao@codesourcery.com>
5290 * target.h (target_xfer_partial_ftype): Update.
5291 (struct target_ops) <to_xfer_partial>: Change 'len' type to
5293 * aix-thread.c (aix_thread_xfer_partial): Change type of
5294 argument 'len' to ULONGEST.
5295 * auxv.c (procfs_xfer_auxv): Likewise.
5296 (ld_so_xfer_auxv): Likewise.
5297 (memory_xfer_auxv): Likewise.
5298 * bfd-target.c (target_bfd_xfer_partial): Likewise.
5299 * bsd-kvm.c (bsd_kvm_xfer_partial): Likewise.
5300 * bsd-uthread.c (bsd_uthread_xfer_partial): Likewise.
5301 * corelow.c (core_xfer_partial): Likewise.
5302 * ctf.c (ctf_xfer_partial): Likewise.
5303 * darwin-nat.c (darwin_read_write_inferior): Likewise. Use
5305 (darwin_read_dyld_info): Likewise.
5306 (darwin_xfer_partial): Likewise.
5307 * exec.c (section_table_xfer_memory_partial): Likewise.
5308 (exec_xfer_partial): Likewise.
5309 * exec.h (section_table_xfer_memory_partial): Update
5311 * gnu-nat.c (gnu_xfer_memory): Likewise. Call pulongest
5312 instead of plongest.
5313 (gnu_xfer_partial): Likewise.
5314 * ia64-hpux-nat.c (ia64_hpux_xfer_memory): Likewise.
5315 (ia64_hpux_xfer_solib_got): Likewise.
5316 (ia64_hpux_xfer_partial): Likewise.
5317 * ia64-linux-nat.c (ia64_linux_xfer_partial):
5318 * inf-ptrace.c (inf_ptrace_xfer_partial):
5319 * inf-ttrace.c (inf_ttrace_xfer_partial):
5320 * linux-nat.c (linux_xfer_siginfo): Likewise.
5321 (linux_nat_xfer_partial): Likewise.
5322 (spu_enumerate_spu_ids, linux_proc_xfer_spu): Likewise.
5323 (linux_nat_xfer_osdata, linux_xfer_partial): Likewise.
5324 * monitor.c (monitor_xfer_memory): Likewise.
5325 (monitor_xfer_partial): Likewise.
5326 * procfs.c (procfs_xfer_partial): Likewise.
5327 * record-full.c (record_full_xfer_partial): Likewise.
5328 (record_full_core_xfer_partial): Likewise.
5329 * remote-sim.c (gdbsim_xfer_memory): Likewise. Call pulongest
5330 instead of plongest.
5331 (gdbsim_xfer_partial): Likewise.
5332 * remote.c (remote_xfer_partial): Likewise.
5333 * rs6000-aix-tdep.c (rs6000_aix_ld_info_to_xml): Likewise.
5334 * rs6000-aix-tdep.h (rs6000_aix_ld_info_to_xml): Update
5336 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
5337 (rs6000_xfer_shared_libraries): Likewise.
5338 * sol-thread.c (sol_thread_xfer_partial): Likewise.
5339 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
5340 (sparc_xfer_partial): Likewise.
5341 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise.
5342 (spu_xfer_partial): Likewise.
5343 * spu-multiarch.c (spu_xfer_partial): Likewise.
5344 * target.c (target_read_live_memory): Likewise.
5345 (memory_xfer_live_readonly_partial): Likewise.
5346 (memory_xfer_partial, memory_xfer_partial_1): Likewise.
5347 (target_xfer_partial, default_xfer_partial): Likewise.
5348 (current_xfer_partial): Likewise.
5349 * tracepoint.c (tfile_xfer_partial): Likewise.
5350 * windows-nat.c (windows_xfer_memory): Likewise. Call
5351 pulongest instead of plongest.
5352 (windows_xfer_partial): Likewise.
5353 (windows_xfer_shared_libraries): Likewise.
5355 2014-01-14 Yao Qi <yao@codesourcery.com>
5357 * rs6000-nat.c (rs6000_xfer_shared_libraries): Use
5358 target_xfer_partial_ftype.
5360 2014-01-13 Siva Chandra Reddy <sivachandra@google.com>
5364 * valops.c (value_struct_elt_bitpos): New function
5365 * py-type.c (convert_field): Set 'name' attribute of a gdb.Field
5366 object to 'None' if the field name is an empty string ("").
5367 * python/py-value.c (valpy_getitem): Use 'bitpos' and 'type'
5368 attribute to look for a field when 'name' is 'None'.
5369 (get_field_type): New function
5371 2014-01-13 Doug Evans <dje@google.com>
5374 * dwarf2read.c (dwarf2_get_dwz_file): Call gdb_bfd_record_inclusion.
5375 (try_open_dwop_file): Ditto.
5376 * gdb_bfd.c: #include "vec.h".
5377 (bfdp): New typedef.
5378 (struct gdb_bfd_data): New member included_bfds.
5379 (gdb_bfd_unref): Unref all included bfds.
5380 (gdb_bfd_record_inclusion): New function.
5381 * gdb_bfd.h (gdb_bfd_record_inclusion): Declare.
5383 2014-01-13 Tom Tromey <tromey@redhat.com>
5385 * gdbcore.h (deprecated_core_resize_section_table): Remove.
5387 2014-01-13 Tom Tromey <tromey@redhat.com>
5389 * defs.h (use_windows): Remove.
5390 * gdb.c (main): Update.
5391 * main.c (captured_main, gdb_main): Update.
5392 * main.h (struct captured_main_args) <use_windows>: Remove.
5393 * top.c (use_windows): Remove.
5395 2014-01-13 Tom Tromey <tromey@redhat.com>
5397 * defs.h (deprecated_flush_hook): Remove.
5399 2014-01-13 Jan Kratochvil <jan.kratochvil@redhat.com>
5402 * linux-thread-db.c (try_thread_db_load): Add parameter
5403 check_auto_load_safe. Move here the file_is_auto_load_safe call.
5404 (try_thread_db_load_from_pdir_1): Move it there from here.
5405 (try_thread_db_load_from_sdir): Update caller.
5406 (try_thread_db_load_from_dir): Move it there from here.
5408 2014-01-13 Patrick Palka <patrick@parcs.ath.cx>
5410 * regformats/regdat.sh: Always rewrite the register file.
5412 2014-01-13 Pedro Alves <palves@redhat.com>
5414 * Makefile.in (CHECK_HEADERS): New variable.
5415 (check-headers:): New rule.
5417 2014-01-13 Tom Tromey <tromey@redhat.com>
5419 * cli/cli-setshow.c (do_set_command): Update.
5420 * defs.h (deprecated_set_hook): Remove.
5421 * top.c (deprecated_set_hook): Remove.
5423 2014-01-13 Pedro Alves <palves@redhat.com>
5425 * tracepoint.c (tfile_fetch_registers): Don't infer the PC from
5426 the tracepoint if the PC is a pseudo-register.
5428 2014-01-13 Tom Tromey <tromey@redhat.com>
5430 * defs.h (XCALLOC): Remove.
5431 * bcache.c (bcache_xmalloc): Use XCNEW, not XCALLOC.
5432 (print_bcache_statistics): Use XCNEWVEC, not XCALLOC.
5433 * dwarf2loc.c (allocate_piece_closure): Likewise.
5434 * elfread.c (elf_symfile_segments): Likewise.
5435 (elf_symfile_segments): Likewise.
5436 * gdbtypes.c (copy_type_recursive): Likewise.
5437 * i386-tdep.c (i386_gdbarch_init): Use XCNEW, not XCALLOC.
5438 * jit.c (jit_frame_sniffer): Use XCNEWVEC, not XCALLOC.
5439 * minsyms.c (prim_record_minimal_symbol_full): Use XCNEW, not
5441 * mt-tdep.c (mt_gdbarch_init): Likewise.
5442 * opencl-lang.c (allocate_lval_closure): Use XCNEWVEC, not
5444 * psymtab.c (psymbol_compare): Use XCNEW, not XCALLOC.
5445 * regcache.c (regcache_xmalloc_1): Use XCNEWVEC, not XCALLOC.
5446 * registry.c (registry_alloc_data): Likewise.
5447 * rs6000-tdep.c (rs6000_gdbarch_init): Use XCNEW, not XCALLOC.
5448 * s390-linux-tdep.c (s390_gdbarch_init): Likewise.
5449 * serial.c (serial_fdopen_ops): Likewise.
5450 * solib-aix.c (solib_aix_get_section_offsets): Use XCNEWVEC, not
5452 * spu-tdep.c (spu_gdbarch_init): Use XCNEW, not XCALLOC.
5453 * symfile.c (default_symfile_segments): Use XCNEW and XCNEWVEC,
5456 2014-01-13 Tom Tromey <tromey@redhat.com>
5458 * defs.h (XMALLOC): Remove.
5459 * avr-tdep.c (avr_gdbarch_init): Use XNEW, not XMALLOC.
5460 * bfin-tdep.c (bfin_gdbarch_init): Likewise.
5461 * cli-out.c (struct ui_out *): Likewise.
5462 * cli/cli-dump.c (add_dump_command): Likewise.
5463 (add_dump_command): Likewise.
5464 * complaints.c (get_complaints): Likewise.
5465 (find_complaint): Likewise.
5466 * dwarf2-frame.c (execute_cfa_program): Likewise.
5467 * dwarf2read.c (abbrev_table_read_table): Likewise.
5468 * gdbarch.sh: Likewise.
5469 * gdbarch.c: Rebuild.
5470 * inf-ttrace.c (inf_ttrace_add_page): Likewise.
5471 * interps.c (interp_new): Likewise.
5472 * lm32-tdep.c (lm32_gdbarch_init): Likewise.
5473 * m32r-tdep.c (m32r_gdbarch_init): Likewise.
5474 * mi/mi-console.c (mi_console_file_new): Likewise.
5475 * mi/mi-interp.c (mi_interpreter_init): Likewise.
5476 * mi/mi-out.c (mi_out_new): Likewise.
5477 * mi/mi-parse.c (mi_parse): Likewise.
5478 * microblaze-tdep.c (microblaze_gdbarch_init): Likewise.
5479 * moxie-tdep.c (moxie_gdbarch_init): Likewise.
5480 * observer.c (xalloc_observer_list_node): Likewise.
5481 * regcache.c (regcache_xmalloc_1): Likewise.
5482 * reggroups.c (reggroup_new): Likewise.
5483 (_initialize_reggroup): Likewise.
5484 * registry.c (register_data_with_cleanup): Likewise.
5485 * remote.c (remote_notif_stop_alloc_reply): Likewise.
5486 * ser-base.c (serial_ttystate): Likewise.
5487 * ser-mingw.c (make_pipe_state): Likewise.
5488 * ser-pipe.c (pipe_open): Likewise.
5489 * serial.c (serial_open): Likewise.
5490 * sh64-tdep.c (sh64_gdbarch_init): Likewise.
5491 * tui/tui-data.c (tui_alloc_generic_win_info): Likewise.
5492 (tui_alloc_win_info): Likewise.
5493 (tui_add_content_elements): Likewise.
5494 * tui/tui-file.c (tui_file_new): Likewise.
5495 * tui/tui-out.c (tui_out_new): Likewise.
5496 * ui-file.c (mem_file_new): Likewise.
5497 * ui-out.c (push_level): Likewise.
5498 (make_cleanup_ui_out_end): Likewise.
5499 (append_header_to_list): Likewise.
5500 (ui_out_new): Likewise.
5501 * user-regs.c (user_reg_add_builtin): Likewise.
5503 2014-01-13 Tom Tromey <tromey@redhat.com>
5505 * defs.h (XZALLOC): Remove.
5506 * ada-lang.c (get_ada_inferior_data): Use XCNEW, not XZALLOC.
5507 * ada-tasks.c (get_ada_tasks_pspace_data): Likewise.
5508 (get_ada_tasks_inferior_data): Likewise.
5509 * auto-load.c (get_auto_load_pspace_data): Likewise.
5510 * auxv.c (get_auxv_inferior_data): Likewise.
5511 * bfd-target.c (target_bfd_reopen): Likewise.
5512 * breakpoint.c (get_catch_syscall_inferior_data): Likewise.
5513 (deprecated_insert_raw_breakpoint): Likewise.
5514 * bsd-uthread.c (bsd_uthread_pid_to_str): Likewise.
5515 * corelow.c (core_open): Likewise.
5516 * darwin-nat.c (darwin_check_new_threads): Likewise.
5517 (darwin_attach_pid): Likewise.
5518 * dummy-frame.c (dummy_frame_push): Likewise.
5519 * dwarf2-frame.c (dwarf2_frame_cache): Likewise.
5520 * dwarf2loc.c (allocate_piece_closure): Likewise.
5521 * elfread.c (elf_symfile_segments): Likewise.
5522 * eval.c (ptrmath_type_p): Likewise.
5523 * exceptions.c (EXCEPTIONS_SIGJMP_BUF): Likewise.
5524 * gdbtypes.c (alloc_type_arch): Likewise.
5525 (alloc_type_instance): Likewise.
5526 * hppa-tdep.c (hppa_gdbarch_init): Likewise.
5527 * inf-child.c (inf_child_can_use_agent): Likewise.
5528 * inflow.c (get_inflow_inferior_data): Likewise.
5529 * infrun.c (save_infcall_suspend_state): Likewise.
5530 * jit.c (jit_reader_load): Likewise.
5531 (get_jit_objfile_data): Likewise.
5532 (get_jit_program_space_data): Likewise.
5533 (jit_object_open_impl): Likewise.
5534 (jit_symtab_open_impl): Likewise.
5535 (jit_block_open_impl): Likewise.
5536 (jit_frame_sniffer): Likewise.
5537 * linux-fork.c (add_fork): Likewise.
5538 * maint.c (make_command_stats_cleanup): Likewise.
5539 * objfiles.c (get_objfile_pspace_data): Likewise.
5540 * opencl-lang.c (struct lval_closure): Likewise.
5541 * osdata.c (osdata_start_osdata): Likewise.
5542 * progspace.c (new_address_space): Likewise.
5543 (add_program_space): Likewise.
5544 * remote-sim.c (get_sim_inferior_data): Likewise.
5545 * sh-tdep.c (sh_gdbarch_init): Likewise.
5546 * skip.c (Ignore): Likewise.
5547 (skip_delete_command): Likewise.
5548 * solib-aix.c (get_solib_aix_inferior_data): Likewise.
5549 (library_list_start_library): Likewise.
5550 (solib_aix_current_sos): Likewise.
5551 * solib-darwin.c (get_darwin_info): Likewise.
5552 (darwin_current_sos): Likewise.
5553 * solib-dsbt.c (get_dsbt_info): Likewise.
5554 * solib-ia64-hpux.c (new_so_list): Likewise.
5555 (ia64_hpux_get_solib_linkage_addr): Likewise.
5556 * solib-spu.c (append_ocl_sos): Likewise.
5557 (spu_current_sos): Likewise.
5558 * solib-svr4.c (get_svr4_info): Likewise.
5559 (svr4_keep_data_in_core): Likewise.
5560 (library_list_start_library): Likewise.
5561 (svr4_default_sos): Likewise.
5562 (svr4_read_so_list): Likewise.
5563 * solib-target.c (library_list_start_library): Likewise.
5564 (solib_target_current_sos): Likewise.
5565 * sparc-tdep.c (sparc32_gdbarch_init): Likewise.
5566 * symfile-debug.c (install_symfile_debug_logging): Likewise.
5567 * symfile.c (default_symfile_segments): Likewise.
5568 * target-descriptions.c (tdesc_data_init): Likewise.
5569 (tdesc_create_reg): Likewise.
5570 (struct tdesc_type *): Likewise.
5571 (tdesc_create_vector): Likewise.
5572 (tdesc_set_struct_size): Likewise.
5573 (struct tdesc_type *): Likewise.
5574 (tdesc_free_feature): Likewise.
5575 (tdesc_create_feature): Likewise.
5576 * windows-nat.c (windows_add_thread): Likewise.
5577 (windows_make_so): Likewise.
5578 * xml-support.c (gdb_xml_body_text): Likewise.
5579 (gdb_xml_create_parser_and_cleanup): Likewise.
5580 (xml_process_xincludes): Likewise.
5581 * xml-syscall.c (allocate_syscalls_info): Likewise.
5582 (syscall_create_syscall_desc): Likewise.
5584 2014-01-12 Sergio Durigan Junior <sergiodj@redhat.com>
5586 * i386-tdep.c (i386_stap_parse_special_token_triplet): New
5587 function, with code from i386_stap_parse_special_token.
5588 (i386_stap_parse_special_token_three_arg_disp): Likewise.
5589 (i386_stap_parse_special_token): Move code to the two functions
5592 2014-01-09 Pedro Alves <palves@redhat.com>
5593 Hui Zhu <hui@codesourcery.com>
5596 * breakpoint.c (insert_bp_location): Rename hw_bp_err_string to
5597 bp_err_string. Don't mark the location shlib_disabled if the
5598 error thrown wasn't a generic or memory error. Catch errors
5599 thrown while inserting breakpoints in overlayed code. Output
5600 error message of software breakpoints.
5601 * remote.c (remote_insert_breakpoint): If this breakpoint has
5602 target-side commands but this stub doesn't support Z0 packets,
5603 throw NOT_SUPPORTED_ERROR error.
5604 * exceptions.h (enum errors) <NOT_SUPPORTED_ERROR>: New error.
5605 * target.h (target_insert_breakpoint): Extend comment.
5606 (target_insert_hw_breakpoint): Add comment.
5608 2014-01-08 Pedro Alves <palves@redhat.com>
5610 * remote.c (remote_add_thread): Add threads silently if starting
5612 (remote_notice_new_inferior): If in all-stop, and starting up,
5613 don't call notice_new_inferior.
5614 (get_current_thread): New function, factored out from ...
5615 (add_current_inferior_and_thread): ... this. Adjust.
5616 (remote_start_remote) <all-stop>: Fetch the thread list. If we
5617 found any thread, then select the remote's current thread as GDB's
5620 2014-01-08 Joel Brobecker <brobecker@adacore.com>
5622 * NEWS: Create a new section for the next release branch.
5623 Rename the section of the current branch, now that it has
5626 2014-01-08 Joel Brobecker <brobecker@adacore.com>
5628 GDB 7.7 branch created (79301218fa0f074c5656db0ec8972a5ddcf91fb5):
5629 * version.in: Bump version to 7.7.50.DATE-cvs.
5631 2014-01-08 Yao Qi <yao@codesourcery.com>
5633 * spu-linux-nat.c (spu_symbol_file_add_from_memory): Change
5634 type of 'id' to gdb_byte. Cast 'id' to 'const char *'.
5635 (spu_xfer_partial): Cast 'buf' to 'const char *'.
5637 2014-01-08 Yao Qi <yao@codesourcery.com>
5639 * spu-linux-nat.c (spu_symbol_file_add_from_memory): Pass
5640 return value of bfd_get_filename to symbol_file_add_from_bfd.
5642 2014-01-08 Pierre Muller <muller@sourceware.org>
5645 * coff-pe-read.c (struct read_pe_section_data): Add index field.
5646 (add_pe_exported_sym): Use SECTION_DATA->INDEX for call
5647 to prim_record_mininal_symbol_and_info.
5648 (add_pe_forwarded_sym): Use known section number of forwarded symbol
5649 in call to prim_record_minimal_symbol_and_info.
5650 (read_pe_exported_syms): Set index field of section_data.
5652 2014-01-07 Andrew Pinski <apinski@cavium.com>
5654 * features/aarch64-core.xml (cpsr): Change to be 64bit.
5655 * features/aarch64.c: Regenerate.
5657 2014-01-07 Andreas Schwab <schwab@linux-m68k.org>
5659 * target.c (return_null): Define.
5660 (update_current_target): Use it instead of return_zero for
5661 functions that return a pointer.
5663 2014-01-07 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
5665 * source.c (add_path): Fix check for duplicated paths in the previously
5668 2014-01-07 Honggyu Kim <hong.gyu.kim@lge.com>
5670 * ada-lang.c: Remove duplicated include statements.
5671 * alphabsd-nat.c: Ditto.
5672 * amd64-darwin-tdep.c: Ditto.
5673 * amd64fbsd-nat.c: Ditto.
5674 * auto-load.c: Ditto.
5676 * breakpoint.c: Ditto.
5678 * fork-child.c: Ditto.
5679 * gdb_usleep.c: Ditto.
5680 * i386-darwin-tdep.c: Ditto.
5681 * i386fbsd-nat.c: Ditto.
5683 * inferior.c: Ditto.
5685 * linux-nat.c: Ditto.
5686 * linux-tdep.c: Ditto.
5687 * m68kbsd-nat.c: Ditto.
5688 * m68klinux-nat.c: Ditto.
5689 * microblaze-tdep.c: Ditto.
5690 * mips-linux-tdep.c: Ditto.
5691 * mn10300-tdep.c: Ditto.
5692 * nto-tdep.c: Ditto.
5693 * opencl-lang.c: Ditto.
5695 * printcmd.c: Ditto.
5696 * regcache.c: Ditto.
5697 * remote-m32r-sdi.c: Ditto.
5701 * tilegx-linux-nat.c: Ditto.
5702 * tilegx-tdep.c: Ditto.
5703 * tracepoint.c: Ditto.
5705 * vaxbsd-nat.c: Ditto.
5706 * windows-nat.c: Ditto.
5707 * xtensa-tdep.c: Ditto.
5709 2014-01-07 Yao Qi <yao@codesourcery.com>
5711 * spu-linux-nat.c (_initialize_spu_nat): Declare.
5713 2014-01-07 Yao Qi <yao@codesourcery.com>
5714 Joel Brobecker <brobecker@adacore.com>
5716 * aix-thread.c (pdc_read_regs): Cast parameter to uintptr_t.
5717 (pdc_write_regs): Likewise.
5718 (fetch_regs_kernel_thread): Likewise.
5719 (store_regs_kernel_thread): Likewise.
5721 2014-01-07 Joel Brobecker <brobecker@adacore.com>
5723 * ada-varobj.c (ada_varobj_adjust_for_child_access): Convert
5724 tagged type objects to their actual type.
5726 2014-01-07 Joel Brobecker <brobecker@adacore.com>
5728 * ada-valprint.c (print_field_values): Add "language" parameter.
5729 Update calls to print_field_values and print_variant_part.
5730 Pass new parameter "language" in call to val_print instead
5731 of "current_language". Replace call to ada_val_print by call
5733 (print_variant_part): Add "language" parameter.
5734 (ada_val_print_struct_union): Update call to print_field_values.
5736 2014-01-07 Joel Brobecker <brobecker@adacore.com>
5738 * ada-valprint.c (ui_memcpy): Delete.
5739 (ada_print_floating): Update documentation. Add empty line
5740 between between function documentation and implementation.
5741 Delete variable "buffer". Use ui_file_xstrdup in place of
5742 ui_file_put. Minor adjustments following this change.
5744 2014-01-07 Joel Brobecker <brobecker@adacore.com>
5746 * ada-valprint.c (ada_val_print_string): New function,
5747 extracted from ada_val_print_array.
5748 (ada_val_print_array): Replace extracted code by call
5749 to ada_val_print_string followed by a return. Move
5750 "else" branch to the function's top block.
5752 2014-01-07 Joel Brobecker <brobecker@adacore.com>
5754 * ada-valprint.c (ada_val_print_array): Move implementation
5755 down. Rename parameter "offset" and "val" into "offset_aligned"
5756 and "original_value" respectively. Add parameter "offset".
5758 2014-01-07 Joel Brobecker <brobecker@adacore.com>
5760 * ada-valprint.c (ada_val_print_ref): Rewrite by mostly
5761 re-organizing the code. Change the "???" message printed
5762 when target type is a TYPE_CODE_UNDEF into
5763 "<ref to undefined type>".
5765 2014-01-07 Joel Brobecker <brobecker@adacore.com>
5767 * ada-valprint.c (print_record): Delete, implementation inlined...
5768 (ada_val_print_struct_union): ... here. Remove call to
5769 ada_check_typedef in inlined implementation.
5771 2014-01-07 Joel Brobecker <brobecker@adacore.com>
5773 * ada-valprint.c (ada_val_print_gnat_array): New function,
5774 extracted from ada_val_print_1;
5775 (ada_val_print_ptr, ada_val_print_num, ada_val_print_enum)
5776 (ada_val_print_flt, ada_val_print_struct_union)
5777 (ada_val_print_ref): Likewise.
5778 (ada_val_print_1): Delete variables i and elttype.
5779 Replace extracted-out code by call to corresponding
5782 2014-01-07 Joel Brobecker <brobecker@adacore.com>
5784 * ada-valprint.c (ada_val_print_1): Remove call to gdb_flush.
5786 2014-01-07 Joel Brobecker <brobecker@adacore.com>
5788 * ada-valprint.c (ada_val_print_1): Replace calls to
5789 ada_val_print_1 by calls to val_print.
5791 2014-01-07 Joel Brobecker <brobecker@adacore.com>
5793 * ada-valprint.c (ada_val_print_1): Add parameter "language".
5794 Update calls to self accordingly. Replace calls to c_val_print
5795 by calls to val_print.
5797 2014-01-07 Joel Brobecker <brobecker@adacore.com>
5799 * ada-valprint.c (print_record): Delete declaration.
5800 (adjust_type_signedness, ada_val_print_1): Likewise.
5801 (ada_val_print): Move function implementation down.
5802 (print_variant_part, print_field_values, print_record):
5803 Move function implementation up.
5805 2014-01-07 Joel Brobecker <brobecker@adacore.com>
5807 * python/py-type.c (typy_get_name): New function.
5808 (type_object_getset): Add entry for attribute "name".
5809 * NEWS: Add entry mentioning this new attribute.
5811 2014-01-07 Yao Qi <yao@codesourcery.com>
5813 * gnu-nat.c (set_exceptions_cmd): Remove an empty body 'if'
5816 2014-01-07 Yao Qi <yao@codesourcery.com>
5818 * gnu-nat.c (info_port_rights): Add qualifier const to
5821 2014-01-07 Yao Qi <yao@codesourcery.com>
5823 * gnu-nat.c (trace_me): Use 'void' for empty argument list.
5825 2014-01-07 Yao Qi <yao@codesourcery.com>
5827 * gnu-nat.c (make_inf) Update declaration.
5828 (make_inf): Make it static.
5829 (inf_set_traced): Likewise.
5830 (inf_port_to_thread, inf_task_died_status): Likewise.
5832 2014-01-07 Yao Qi <yao@codesourcery.com>
5834 * gnu-nat.c (inf_tid_to_proc): Remove declaration.
5836 2014-01-07 Yao Qi <yao@codesourcery.com>
5838 * gnu-nat.c (_initialize_gnu_nat): Declare.
5840 2014-01-07 Yao Qi <yao@codesourcery.com>
5842 * gdbarch.sh (byte_order, byte_order_for_code): Change type to
5844 (struct gdbarch_info) <byte_order>: Change type to
5846 <byte_order_for_code>: Likewise.
5847 * gdbarch.c, gdbarch.h: Regenerated.
5849 2014-01-06 Sasha Smundak <asmundak@google.com>
5851 * jit.c: (jit_reader_load_command): Fix JIT reader path creation.
5853 2014-01-06 Tom Tromey <tromey@redhat.com>
5855 * doublest.c (convert_doublest_to_floatformat): Use const, not
5857 * somread.c (som_symtab_read): Likewise.
5859 2014-01-07 Hui Zhu <hui@codesourcery.com>
5861 * gdb_bfd.c (gdb_bfd_stash_filename): Removed.
5862 (gdb_bfd_open): Removed gdb_bfd_stash_filename.
5863 (gdb_bfd_fopen): Ditto.
5864 (gdb_bfd_openr): Ditto.
5865 (gdb_bfd_openw): Ditto.
5866 (gdb_bfd_openr_iovec): Ditto.
5867 (gdb_bfd_fdopenr): Ditto.
5868 * gdb_bfd.h (gdb_bfd_stash_filename): Removed.
5869 * solib-aix.c (solib_aix_bfd_open): Alloc object_bfd->filename
5871 * solib-darwin.c (darwin_bfd_open): Alloc res->filename
5873 * symfile-mem.c (symbol_file_add_from_memory): Removed
5874 gdb_bfd_stash_filename.
5876 2014-01-03 Doug Evans <dje@google.com>
5878 * nat/linux-waitpid.c (linux_debug): Remove extraneous \n from
5881 2014-01-01 Joel Brobecker <brobecker@adacore.com>
5883 Update year range in copyright notice of all files.
5885 2014-01-01 Joel Brobecker <brobecker@adacore.com>
5887 * top.c (print_gdb_version): Set copyright year to 2014.
5889 2014-01-01 Joel Brobecker <brobecker@adacore.com>
5891 * config/djgpp/fnchange.lst: Add entry for gdb/ChangeLog-2013.
5893 For older changes see ChangeLog-2013.
5899 version-control: never