daily update
[deliverable/binutils-gdb.git] / gdb / ChangeLog
CommitLineData
c1a7b7c6
PA
12014-03-07 Pedro Alves <palves@redhat.com>
2
3 * go32-nat.c: Include inf-child.h.
4 (go32_ops): Delete global.
5 (go32_close, go32_detach, go32_prepare_to_store, go32_can_run):
6 Delete methods.
7 (go32_create_inferior): Push the passed in target pointer instead
8 of referencing go32_ops.
9 (init_go32_ops): Delete function. Moved parts to _initialize_go32_nat.
10 (go32_target): New function, based on init_go32_ops, but inherit
11 inf_child_target.
12 (_initialize_go32_nat): Use go32_target. Move parts of
13 init_go32_ops here.
14
d3c1a85f
JB
152014-03-06 Joel Brobecker <brobecker@adacore.com>
16
17 * sol-thread.c: #include "symtab.h", "minsym.h" and "objfiles.h".
18 (ps_pglobal_lookup): Use BMSYMBOL_VALUE_ADDRESS instead of
19 SYMBOL_VALUE_ADDRESS.
20 (info_cb): MSYMBOL_PRINT_NAME instead of SYMBOL_PRINT_NAME.
21
5fa1d40e
YQ
222014-03-06 Yao Qi <yao@codesourcery.com>
23
24 * breakpoint.c (get_tracepoint_by_number): Remove argument
25 optional_p. All callers updated. Adjust comments. Update
26 output message.
27 * breakpoint.h (get_tracepoint_by_number): Update declaration.
28
0c13193f
YQ
292014-03-06 Yao Qi <yao@codesourcery.com>
30
31 * reverse.c (goto_bookmark_command): Add local 'p'. Emit error
32 early if get_number returns zero. Use 'p' instead of 'args'.
33
2217da06
YQ
342014-03-06 Yao Qi <yao@codesourcery.com>
35
36 * cli/cli-utils.c (get_number_trailer): Add '\n' at the end of
37 message.
38
cc3da688
YQ
392014-03-06 Yao Qi <yao@codesourcery.com>
40
41 PR breakpoints/16508
42 * tracepoint.c (check_trace_running): New function.
43 (trace_find_command): Move code to check_trace_running and
44 call check_trace_running.
45 (trace_find_pc_command): Likewise.
46 (trace_find_tracepoint_command): Likewise.
47 (trace_find_line_command): Likewise.
48 (trace_find_range_command): Likewise.
49 * tracepoint.h (check_trace_running): Likewise.
50 * mi/mi-main.c (mi_cmd_trace_find): Call check_trace_running.
51
6a5f844b
YQ
522014-03-06 Yao Qi <yao@codesourcery.com>
53
54 * target.h (struct target_ops) <to_traceframe_info>: Use
55 TARGET_DEFAULT_NORETURN (tcomplain ()).
56 * target-delegates.c: Regenerated.
57
0f26cec1
PA
582014-03-05 Pedro Alves <palves@redhat.com>
59
60 PR gdb/16575
61 * dcache.c (dcache_poke_byte): Constify ptr parameter. Return
62 void. Update comment.
63 (dcache_xfer_memory): Delete.
64 (dcache_read_memory_partial): New, based on the read bits of
65 dcache_xfer_memory.
66 (dcache_update): Add status parameter. Use ULONGEST for len, and
67 adjust. Discard cache lines if the reason for the update was
68 error.
69 * dcache.h (dcache_xfer_memory): Delete declaration.
70 (dcache_read_memory_partial): New declaration.
71 (dcache_update): Update prototype.
72 * target.c (raw_memory_xfer_partial): Update the dcache here.
73 (memory_xfer_partial_1): Don't handle dcache writes here.
74
b2b255bd
MF
752014-03-05 Mike Frysinger <vapier@gentoo.org>
76
77 * remote-sim.c (gdbsim_load): Add const to prog.
78
5d9cf8a4
TT
792014-03-03 Tom Tromey <tromey@redhat.com>
80
81 * elfread.c (probe_key): Change to bfd_data.
82 (elf_get_probes, probe_key_free, _initialize_elfread): Probes are
83 now per-BFD, not per-objfile.
84 * stap-probe.c (stap_probe_destroy): Update comment.
85 (handle_stap_probe): Allocate on the per-BFD obstack.
86
729662a5
TT
872014-03-03 Tom Tromey <tromey@redhat.com>
88
89 * break-catch-throw.c (fetch_probe_arguments): Use bound probes.
90 * breakpoint.c (create_longjmp_master_breakpoint): Use
91 get_probe_address.
92 (add_location_to_breakpoint, bkpt_probe_insert_location)
93 (bkpt_probe_remove_location): Update.
94 * breakpoint.h (struct bp_location) <probe>: Now a bound_probe.
95 * elfread.c (elf_symfile_relocate_probe): Remove.
96 (elf_probe_fns): Update.
97 (insert_exception_resume_breakpoint): Change type of "probe"
98 parameter to bound_probe.
99 (check_exception_resume): Update.
100 * objfiles.c (objfile_relocate1): Don't relocate probes.
101 * probe.c (bound_probe_s): New typedef.
102 (parse_probes): Use get_probe_address. Set sal's objfile.
103 (find_probe_by_pc): Return a bound_probe.
104 (collect_probes): Return a VEC(bound_probe_s).
105 (compare_probes): Update.
106 (gen_ui_out_table_header_info): Change type of "probes"
107 parameter. Update.
108 (info_probes_for_ops): Update.
109 (get_probe_address): New function.
110 (probe_safe_evaluate_at_pc): Update.
111 * probe.h (struct probe_ops) <get_probe_address>: New field.
112 <set_semaphore, clear_semaphore>: Add objfile parameter.
113 (struct probe) <objfile>: Remove field.
114 <arch>: New field.
115 <address>: Update comment.
116 (struct bound_probe): New.
117 (find_probe_by_pc): Return a bound_probe.
118 (get_probe_address): Declare.
119 * solib-svr4.c (struct probe_and_action) <address>: New field.
120 (hash_probe_and_action, equal_probe_and_action): Update.
121 (register_solib_event_probe): Add address parameter.
122 (solib_event_probe_at): Update.
123 (svr4_create_probe_breakpoints): Add objfile parameter. Use
124 get_probe_address.
125 * stap-probe.c (struct stap_probe) <sem_addr>: Update comment.
126 (stap_get_probe_address): New function.
127 (stap_can_evaluate_probe_arguments, compute_probe_arg)
128 (compile_probe_arg): Update.
129 (stap_set_semaphore, stap_clear_semaphore): Compute semaphore's
130 address.
131 (handle_stap_probe): Don't relocate the probe.
132 (stap_relocate): Remove.
133 (stap_gen_info_probes_table_values): Update.
134 (stap_probe_ops): Remove stap_relocate.
135 * symfile-debug.c (debug_sym_relocate_probe): Remove.
136 (debug_sym_probe_fns): Update.
137 * symfile.h (struct sym_probe_fns) <sym_relocate_probe>: Remove.
138 * symtab.c (init_sal): Use memset.
139 * symtab.h (struct symtab_and_line) <objfile>: New field.
140 * tracepoint.c (start_tracing, stop_tracing): Update.
141
ff887920
TT
1422014-03-03 Tom Tromey <tromey@redhat.com>
143
144 * probe.h (parse_probes, find_probe_by_pc)
145 (find_probes_in_objfile): Fix comments.
146
f0407826
DE
1472014-03-02 Doug Evans <xdje42@gmail.com>
148
149 * infrun.c (handle_signal_stop): Replace test for
150 TARGET_WAITKIND_STOPPED with an assert.
151
35e6a711
DE
1522014-03-02 Doug Evans <xdje42@gmail.com>
153
154 * guile/scm-objfile.c (ofscm_mark_objfile_smob): Fix typo in comment.
155
667f9d0b
DE
1562014-03-02 Doug Evans <xdje42@gmail.com>
157
158 * guile/lib/gdb/printing.scm (append-pretty-printer!): Fix thinko.
159
dc92ace0
MK
1602014-03-01 Mark Kettenis <kettenis@gnu.org>
161
162 * obsd-nat.c: Include "gdb_wait.h" instead of <sys/wait.h>.
163
a900370f
MK
1642014-03-01 Mark Kettenis <kettenis@gnu.org>
165
166 * i386obsd-nat.c: Include "obsd-nat.h".
167 (_initialize_i386obsd_nat): Call obsd_add_target instead of
168 add_target.
169 * config/i386/obsd.mh (NATDEPFILES): Add obsd-nat.o.
170
b72a7981
MK
1712014-03-01 Mark Kettenis <kettenis@gnu.org>
172
173 * i386obsd-nat.c (i386obsd_supply_pcb): Cast 'sf' to 'gdb_byte *'.
174
96c70aba
MK
1752014-03-01 Mark Kettenis <kettenis@gnu.org>
176
177 * mips64obsd-nat.c: Include "obsd-nath".
178 (_initialize_mips64obsd_nat): Call obsd_add_target instead of
179 add_target
180 * config/mips/obsd64.mh (NATDEPFILES): Add obsd-nat.o.
181
874a80af
MK
1822014-03-01 Mark Kettenis <kettenis@gnu.org>
183
8fd408f1
MK
184 * amd64obsd-nat.c: Include "obsd-nat,h.
185 (_initialize_amd64obsd_nat): Call obsd_add_target instead of
186 add_target.
874a80af
MK
187 * config/i386/obsd64.mh (NATDEPFILES): Add obsd-nat.o.
188
9cf95373
SC
1892014-02-28 Siva Chandra Reddy <sivachandra@google.com>
190
191 * valops.c (find_oload_champ): Remove unneccesary argument METHOD.
192 (find_overload_match): Update call to find_oload_champ.
193 (find_oload_champ_namespace_loop): Likewise
194
863e4da4
MK
1952014-02-28 Mark Kettenis <kettenis@gnu.org>
196
025cac40
MK
197 * Makefile.in (ALLDEPFILES): Add sparc64obsd-nat.c.
198
1ed586ce
MK
199 * configure.host (sparc64-*-openbsd*): Set gdb_host to obsd64.
200 * config/sparc/obsd64.mh: New file.
201 * sparc64obsd-nat.c: New file.
202
863e4da4
MK
203 * obsd-nat.h: New file.
204 * obsd-nat.c: New file.
205 * Makefile.in (HFILES_NO_SRCDIR): Add obsd-nat.h.
206 (ALLDEPFILES): Add obsd-nat.c.
207
89de4da4
TT
2082014-02-28 Tom Tromey <tromey@redhat.com>
209
210 * cli-out.c (cli_ui_out_impl): Now const. Remove comment.
211 * cli-out.h (cli_ui_out_impl): Now const.
212 * mi/mi-out.c (mi_ui_out_impl): Now const. Remove comment.
213 * ui-out.c (struct ui_out) <impl>: Now const.
214 (default_ui_out_impl): Now const.
215 (ui_out_new): Make 'impl' parameter const.
216 * ui-out.h (ui_out_new): Update.
217
c725e7b6
MK
2182014-02-27 Mark Kettenis <kettenis@gnu.org>
219
220 * solib-svr4.c (svr4_read_so_list): Initialize first_l_name to 0.
221
670b46b3
MK
2222014-02-27 Mark Kettenis <kettenis@gnu.org>
223
224 * sparc-nat.c (sparc_xfer_wcookie): Always use process ID.
225
c91550fc
JK
2262014-02-27 Jan Kratochvil <jan.kratochvil@redhat.com>
227
228 Additional PR 8882 fix.
229 * solib-svr4.c (svr4_read_so_list): Change first to first_l_name.
230
2fa0369e
PA
2312014-02-27 Pedro Alves <palves@redhat.com>
232
233 * nat/linux-waitpid.c (my_waitpid): Only block signals if WNOHANG
234 isn't set.
235
d632a097
PA
2362014-02-27 Pedro Alves <palves@redhat.com>
237
238 PR 12702
239 * linux-nat.c (status_to_str): Moved to nat/linux-waitpid.c.
240 * nat/linux-waitpid.c: Include string.h.
241 (status_to_str): Moved here and made extern.
242 * nat/linux-waitpid.h (status_to_str): New declaration.
243
2ebd5a35
HZ
2442014-02-27 Hui Zhu <hui@codesourcery.com>
245
246 PR 12702
247 * infrun.c (ptid_match): Move ...
248 * common/ptid.c (ptid_match): ... here.
249 * inferior.h (ptid_match): Move ...
250 * common/ptid.h (ptid_match): ... here.
251
3cdd631f
MK
2522014-02-27 Mark Kettenis <kettenis@gnu.org>
253
254 * mips64obsd-tdep.c (mips64obsd_init_abi): Call obsd_init_abi.
255 * configure.tgt (mips64*-*-openbsd*): Add obsd-tdep.c to
256 gdb_target_obs.
257
bee30a64
MK
2582014-02-27 Mark Kettenis <kettenis@gnu.org>
259
260 * obsd-tdep.c (obsd_auxv_parse): New function.
261 (obsd_init_abi): Set auxv_parse.
27a48a92
MK
262
263 * gdbarch.sh (auxv_parse): New.
264 * gdbarch.h: Regenerated.
265 * gdbarch.c: Regenerated.
266 * auxv.c (target_auxv_parse): Call gdbarch_parse_auxv if provided.
267
7a5a839f
LC
2682014-02-26 Ludovic Courtès <ludo@gnu.org>
269
270 * guile/scm-value.c (gdbscm_history_append_x): New function.
271 (value_functions): Add it.
272
31aa7e4e
JB
2732014-02-27 Joel Brobecker <brobecker@adacore.com>
274
275 * dwarf2read.c (attr_value_as_address): New function.
276 (dwarf2_find_base_address, read_call_site_scope): Use
277 attr_value_as_address in place of DW_ADDR.
278 (dwarf2_get_pc_bounds): Use attr_value_as_address to get
279 the low and high addresses. Slight rework of the handling
280 of the high pc being a constant form, and limit it to
281 DWARF verson 4 or higher.
282 (dwarf2_record_block_ranges): Likewise.
283 (read_partial_die): Likewise.
284 (new_symbol_full): Use attr_value_as_address in place of DW_ADDR.
285
9b333ba3
TT
2862014-02-26 Tom Tromey <tromey@redhat.com>
287
288 * exec.c (exec_file_attach): Hold a reference to exec_bfd.
289
5f6cac40
TT
2902014-02-26 Tom Tromey <tromey@redhat.com>
291
292 * elfread.c (elf_read_minimal_symbols): Return early if
293 minimal symbols have already been read. Add "ei" parameter.
294 (elf_symfile_read): Call elf_read_minimal_symbols earlier.
295 * minsyms.c (prim_record_minimal_symbol_full): Update.
296 * objfiles.h (struct objstats) <n_minsyms>: Move...
297 (struct objfile_per_bfd_storage) <n_minsyms>: ... here.
298 * symmisc.c (print_objfile_statistics): Update.
299
2750ef27
TT
3002014-02-26 Tom Tromey <tromey@redhat.com>
301
302 * elfread.c (elf_read_minimal_symbols): New function, from
303 elf_symfile_read.
304 (elf_symfile_read): Call it.
305
34643a32
TT
3062014-02-26 Tom Tromey <tromey@redhat.com>
307
308 * minsyms.c (lookup_minimal_symbol, iterate_over_minimal_symbols)
309 (lookup_minimal_symbol_text, lookup_minimal_symbol_by_pc_name)
310 (lookup_minimal_symbol_solib_trampoline)
311 (lookup_minimal_symbol_by_pc_section_1)
312 (lookup_minimal_symbol_and_objfile): Update.
313 (prim_record_minimal_symbol_full): Use the per-BFD obstack.
314 Don't allocate a minimal symbol if minsyms have already been read.
315 (build_minimal_symbol_hash_tables): Update.
316 (install_minimal_symbols): Do nothing if minsyms already read.
317 Use the per-BFD obstack.
318 (terminate_minimal_symbol_table): Use the per-BFD obstack.
319 * objfiles.c (allocate_objfile): Call
320 terminate_minimal_symbol_table later.
321 (have_minimal_symbols): Update.
322 * objfiles.h (struct objfile_per_bfd_storage) <msymbols,
323 minimal_symbol_count, msymbol_hash, msymbol_demangled_hash>:
324 Move from struct objfile.
325 <minsyms_read>: New field.
326 (struct objfile) <msymbols, minimal_symbol_count,
327 msymbol_hash, msymbol_demangled_hash>: Move.
328 (ALL_OBJFILE_MSYMBOLS): Update.
329 * symfile.c (read_symbols): Set minsyms_read.
330 (reread_symbols): Update.
331 * symmisc.c (dump_objfile, dump_msymbols): Update.
332
2273f0ac
TT
3332014-02-26 Tom Tromey <tromey@redhat.com>
334
335 * minsyms.c (msymbols_sort): Remove.
336 * minsyms.h (msymbols_sort): Remove.
337 * objfiles.c (objfile_relocate1): Don't relocate minsyms.
338 * symtab.h (MSYMBOL_VALUE_ADDRESS): Use objfile offsets.
339 * elfread.c (elf_symtab_read): Don't add section offsets.
340 * xcoffread.c (record_minimal_symbol): Don't add section offset
341 to minimal symbol address.
342 * somread.c (text_offset, data_offset): Remove.
343 (som_symtab_read): Don't add section offsets to minimal symbol
344 addresses.
345 * coff-pe-read.c (add_pe_forwarded_sym, read_pe_exported_syms):
346 Don't add section offsets to minimal symbols.
347 * coffread.c (coff_symtab_read): Don't add section offsets
348 to minimal symbol addresses.
349 * machoread.c (macho_symtab_add_minsym): Don't add section offset
350 to minimal symbol addresses.
351 * mipsread.c (read_alphacoff_dynamic_symtab): Don't add
352 section offset to minimal symbol addresses.
353 * mdebugread.c (parse_partial_symbols): Don't add section
354 offset to minimal symbol addresses.
355 * dbxread.c (read_dbx_dynamic_symtab): Don't add section
356 offset to minimal symbol addresses.
357
77e371c0
TT
3582014-02-26 Tom Tromey <tromey@redhat.com>
359
360 * ada-lang.c (ada_main_name): Update.
361 (ada_add_standard_exceptions): Update.
362 * ada-tasks.c (ada_tasks_inferior_data_sniffer): Update.
363 * aix-thread.c (pdc_symbol_addrs, pd_enable): Update.
364 * arm-tdep.c (skip_prologue_function, arm_skip_stub): Update.
365 * auxv.c (ld_so_xfer_auxv): Update.
366 * avr-tdep.c (avr_scan_prologue): Update.
367 * ax-gdb.c (gen_var_ref): Update.
368 * blockframe.c (get_pc_function_start)
369 (find_pc_partial_function_gnu_ifunc): Update.
370 * breakpoint.c (create_overlay_event_breakpoint)
371 (create_longjmp_master_breakpoint)
372 (create_std_terminate_master_breakpoint)
373 (create_exception_master_breakpoint): Update.
374 * bsd-uthread.c (bsd_uthread_lookup_address): Update.
375 * c-valprint.c (c_val_print): Update.
376 * coff-pe-read.c (add_pe_forwarded_sym): Update.
377 * common/agent.c (agent_look_up_symbols): Update.
378 * dbxread.c (find_stab_function_addr, end_psymtab): Update.
379 * dwarf2loc.c (call_site_to_target_addr): Update.
380 * dwarf2read.c (dw2_find_pc_sect_symtab): Update.
381 * elfread.c (elf_gnu_ifunc_record_cache)
382 (elf_gnu_ifunc_resolve_by_got): Update.
383 * findvar.c (default_read_var_value): Update.
384 * frame.c (inside_main_func): Update.
385 * frv-tdep.c (frv_frame_this_id): Update.
386 * glibc-tdep.c (glibc_skip_solib_resolver): Update.
387 * gnu-v3-abi.c (gnuv3_get_typeid, gnuv3_skip_trampoline):
388 Update.
389 * hppa-hpux-tdep.c (hppa64_hpux_search_dummy_call_sequence)
390 (hppa_hpux_find_dummy_bpaddr): Update.
391 * hppa-tdep.c (hppa_symbol_address): Update.
392 * infcmd.c (until_next_command): Update.
393 * jit.c (jit_read_descriptor, jit_breakpoint_re_set_internal):
394 Update.
395 * linespec.c (minsym_found, add_minsym): Update.
396 * linux-nat.c (get_signo): Update.
397 * linux-thread-db.c (inferior_has_bug): Update.
398 * m32c-tdep.c (m32c_return_value)
399 (m32c_m16c_address_to_pointer): Update.
400 * m32r-tdep.c (m32r_frame_this_id): Update.
401 * m68hc11-tdep.c (m68hc11_get_register_info): Update.
402 * machoread.c (macho_resolve_oso_sym_with_minsym): Update.
403 * maint.c (maintenance_translate_address): Update.
404 * minsyms.c (lookup_minimal_symbol_by_pc_name): Update.
405 (frob_address): New function.
406 (lookup_minimal_symbol_by_pc_section_1): Use raw addresses,
407 frob_address. Rename parameter to "pc_in".
408 (compare_minimal_symbols, compact_minimal_symbols): Use raw
409 addresses.
410 (find_solib_trampoline_target, minimal_symbol_upper_bound):
411 Update.
412 * mips-linux-tdep.c (mips_linux_skip_resolver): Update.
413 * mips-tdep.c (mips_skip_pic_trampoline_code): Update.
414 * objc-lang.c (find_objc_msgsend): Update.
415 * objfiles.c (objfile_relocate1): Update.
416 * obsd-tdep.c (obsd_skip_solib_resolver): Update.
417 * p-valprint.c (pascal_val_print): Update.
418 * parse.c (write_exp_msymbol): Update.
419 * ppc-linux-tdep.c (ppc_linux_spe_context_lookup)
420 (ppc_elfv2_skip_entrypoint): Update.
421 * ppc-sysv-tdep.c (convert_code_addr_to_desc_addr): Update.
422 * printcmd.c (build_address_symbolic, msym_info)
423 (address_info): Update.
424 * proc-service.c (ps_pglobal_lookup): Update.
425 * psymtab.c (find_pc_sect_psymtab_closer)
426 (find_pc_sect_psymtab, find_pc_sect_symtab_from_partial):
427 Change msymbol parameter to bound_minimal_symbol.
428 * ravenscar-thread.c (get_running_thread_id): Update.
429 * remote.c (remote_check_symbols): Update.
430 * sh64-tdep.c (sh64_elf_make_msymbol_special): Use raw
431 address.
432 * sol2-tdep.c (sol2_skip_solib_resolver): Update.
433 * solib-dsbt.c (lm_base): Update.
434 * solib-frv.c (lm_base, main_got): Update.
435 * solib-irix.c (locate_base): Update.
436 * solib-som.c (som_solib_create_inferior_hook)
437 (link_map_start): Update.
438 * solib-spu.c (spu_enable_break, ocl_enable_break): Update.
439 * solib-svr4.c (elf_locate_base, enable_break): Update.
440 * spu-tdep.c (spu_get_overlay_table, spu_catch_start)
441 (flush_ea_cache): Update.
442 * stabsread.c (define_symbol, scan_file_globals): Update.
443 * stack.c (find_frame_funname): Update.
444 * symfile-debug.c (debug_qf_expand_symtabs_matching)
445 (debug_qf_find_pc_sect_symtab): Update.
446 * symfile.c (simple_read_overlay_table)
447 (simple_overlay_update): Update.
448 * symfile.h (struct quick_symbol_functions)
449 <find_pc_sect_symtab>: Change type of msymbol to
450 bound_minimal_symbol.
451 * symmisc.c (dump_msymbols): Update.
452 * symtab.c (find_pc_sect_symtab_via_partial)
453 (find_pc_sect_psymtab, find_pc_sect_line, skip_prologue_sal)
454 (search_symbols, print_msymbol_info): Update.
455 * symtab.h (MSYMBOL_VALUE_RAW_ADDRESS): New macro.
456 (MSYMBOL_VALUE_ADDRESS): Redefine.
457 (BMSYMBOL_VALUE_ADDRESS): New macro.
458 * tracepoint.c (scope_info): Update.
459 * tui/tui-disasm.c (tui_find_disassembly_address)
460 (tui_get_begin_asm_address): Update.
461 * valops.c (find_function_in_inferior): Update.
462 * value.c (value_static_field, value_fn_field): Update.
463
3b7344d5
TT
4642014-02-26 Tom Tromey <tromey@redhat.com>
465
466 * ada-lang.c (ada_update_initial_language): Update.
467 (ada_main_name, ada_has_this_exception_support): Update.
468 * ada-tasks.c (ada_tasks_inferior_data_sniffer): Update.
469 * aix-thread.c (pdc_symbol_addrs, pd_enable): Update.
470 * arm-tdep.c (arm_skip_stub): Update.
471 * auxv.c (ld_so_xfer_auxv): Update.
472 * avr-tdep.c (avr_scan_prologue): Update.
473 * ax-gdb.c (gen_var_ref): Update.
474 * breakpoint.c (struct breakpoint_objfile_data)
475 <overlay_msym, longjmp_msym, terminate_msym, exception_msym>: Change
476 type to bound_minimal_symbol.
477 (create_overlay_event_breakpoint)
478 (create_longjmp_master_breakpoint)
479 (create_std_terminate_master_breakpoint)
480 (create_exception_master_breakpoint): Update.
481 * bsd-uthread.c (bsd_uthread_lookup_address): Update.
482 * c-exp.y (classify_name): Update.
483 * coffread.c (coff_symfile_read): Update.
484 * common/agent.c (agent_look_up_symbols): Update.
485 * d-lang.c (d_main_name): Update.
486 * dbxread.c (find_stab_function_addr, end_psymtab): Update.
487 * dec-thread.c (enable_dec_thread): Update.
488 * dwarf2loc.c (call_site_to_target_addr): Update.
489 * elfread.c (elf_gnu_ifunc_resolve_by_got): Update.
490 * eval.c (evaluate_subexp_standard): Update.
491 * findvar.c (struct minsym_lookup_data) <result>: Change type
492 to bound_minimal_symbol.
493 <objfile>: Remove.
494 (minsym_lookup_iterator_cb, default_read_var_value): Update.
495 * frame.c (inside_main_func): Update.
496 * frv-tdep.c (frv_frame_this_id): Update.
497 * gcore.c (call_target_sbrk): Update.
498 * glibc-tdep.c (glibc_skip_solib_resolver): Update.
499 * gnu-v3-abi.c (gnuv3_get_typeid, gnuv3_skip_trampoline):
500 Update.
501 * go-lang.c (go_main_name): Update.
502 * hppa-hpux-tdep.c (hppa_hpux_skip_trampoline_code)
503 (hppa_hpux_find_import_stub_for_addr): Update.
504 * hppa-tdep.c (hppa_extract_17, hppa_lookup_stub_minimal_symbol):
505 Update. Change return type.
506 * hppa-tdep.h (hppa_lookup_stub_minimal_symbol): Change return
507 type.
508 * jit.c (jit_breakpoint_re_set_internal): Update.
509 * linux-fork.c (inferior_call_waitpid, checkpoint_command):
510 Update.
511 * linux-nat.c (get_signo): Update.
512 * linux-thread-db.c (inferior_has_bug): Update
513 * m32c-tdep.c (m32c_return_value)
514 (m32c_m16c_address_to_pointer): Update.
515 * m32r-tdep.c (m32r_frame_this_id): Update.
516 * m68hc11-tdep.c (m68hc11_get_register_info): Update.
517 * machoread.c (macho_resolve_oso_sym_with_minsym): Update.
518 * minsyms.c (lookup_minimal_symbol_internal): Rename to
519 lookup_minimal_symbol. Change return type.
520 (lookup_minimal_symbol): Remove.
521 (lookup_bound_minimal_symbol): Update.
522 (lookup_minimal_symbol_text): Change return type.
523 (lookup_minimal_symbol_solib_trampoline): Change return type.
524 * minsyms.h (lookup_minimal_symbol, lookup_minimal_symbol_text)
525 (lookup_minimal_symbol_solib_trampoline): Change return type.
526 * mips-linux-tdep.c (mips_linux_skip_resolver): Update.
527 * objc-lang.c (lookup_objc_class, lookup_child_selector)
528 (value_nsstring, find_imps): Update.
529 * obsd-tdep.c (obsd_skip_solib_resolver): Update.
530 * p-lang.c (pascal_main_name): Update.
531 * ppc-linux-tdep.c (ppc_linux_spe_context_lookup): Update.
532 * ppc-sysv-tdep.c (convert_code_addr_to_desc_addr): Update.
533 * proc-service.c (ps_pglobal_lookup): Update.
534 * ravenscar-thread.c (get_running_thread_msymbol): Change
535 return type.
536 (has_ravenscar_runtime, get_running_thread_id): Update.
537 * remote.c (remote_check_symbols): Update.
538 * sol-thread.c (ps_pglobal_lookup): Update.
539 * sol2-tdep.c (sol2_skip_solib_resolver): Update.
540 * solib-dsbt.c (lm_base): Update.
541 * solib-frv.c (lm_base, frv_relocate_section_addresses):
542 Update.
543 * solib-irix.c (locate_base): Update.
544 * solib-som.c (som_solib_create_inferior_hook)
545 (som_solib_desire_dynamic_linker_symbols, link_map_start):
546 Update.
547 * solib-spu.c (spu_enable_break): Update.
548 * solib-svr4.c (elf_locate_base, enable_break): Update.
549 * spu-tdep.c (spu_get_overlay_table, spu_catch_start)
550 (flush_ea_cache): Update.
551 * stabsread.c (define_symbol): Update.
552 * symfile.c (simple_read_overlay_table): Update.
553 * symtab.c (find_pc_sect_line): Update.
554 * tracepoint.c (scope_info): Update.
555 * tui-disasm.c (tui_get_begin_asm_address): Update.
556 * value.c (value_static_field): Update.
557
40c1a007
TT
5582014-02-26 Tom Tromey <tromey@redhat.com>
559
560 * minsyms.c (prim_record_minimal_symbol_full): Use
561 SET_MSYMBOL_VALUE_ADDRESS.
562 * objfiles.c (objfile_relocate1): Use SET_MSYMBOL_VALUE_ADDRESS.
563 * sh64-tdep.c (sh64_elf_make_msymbol_special): Use
564 SET_MSYMBOL_VALUE_ADDRESS.
565 * symtab.h (MSYMBOL_VALUE_ADDRESS): Expand to an rvalue.
566 (SET_MSYMBOL_VALUE_ADDRESS): New macro.
567
efd66ac6
TT
5682014-02-26 Tom Tromey <tromey@redhat.com>
569
570 * symtab.h (struct minimal_symbol) <mginfo>: Rename from ginfo.
571 (MSYMBOL_VALUE, MSYMBOL_VALUE_ADDRESS, MSYMBOL_VALUE_BYTES)
572 (MSYMBOL_BLOCK_VALUE, MSYMBOL_VALUE_CHAIN, MSYMBOL_LANGUAGE)
573 (MSYMBOL_SECTION, MSYMBOL_OBJ_SECTION, MSYMBOL_NATURAL_NAME)
574 (MSYMBOL_LINKAGE_NAME, MSYMBOL_PRINT_NAME, MSYMBOL_DEMANGLED_NAME)
575 (MSYMBOL_SET_LANGUAGE, MSYMBOL_SEARCH_NAME)
576 (MSYMBOL_MATCHES_SEARCH_NAME, MSYMBOL_SET_NAMES): New macros.
577 * ada-lang.c (ada_main_name): Update.
578 (ada_lookup_simple_minsym): Update.
579 (ada_make_symbol_completion_list): Update.
580 (ada_add_standard_exceptions): Update.
581 * ada-tasks.c (read_atcb, ada_tasks_inferior_data_sniffer): Update.
582 * aix-thread.c (pdc_symbol_addrs, pd_enable): Update.
583 * amd64-windows-tdep.c (amd64_skip_main_prologue): Update.
584 * arm-tdep.c (skip_prologue_function): Update.
585 (arm_skip_stack_protector, arm_skip_stub): Update.
586 * arm-wince-tdep.c (arm_pe_skip_trampoline_code): Update.
587 (arm_wince_skip_main_prologue): Update.
588 * auxv.c (ld_so_xfer_auxv): Update.
589 * avr-tdep.c (avr_scan_prologue): Update.
590 * ax-gdb.c (gen_var_ref): Update.
591 * block.c (call_site_for_pc): Update.
592 * blockframe.c (get_pc_function_start): Update.
593 (find_pc_partial_function_gnu_ifunc): Update.
594 * breakpoint.c (create_overlay_event_breakpoint): Update.
595 (create_longjmp_master_breakpoint): Update.
596 (create_std_terminate_master_breakpoint): Update.
597 (create_exception_master_breakpoint): Update.
598 (resolve_sal_pc): Update.
599 * bsd-uthread.c (bsd_uthread_lookup_address): Update.
600 * btrace.c (ftrace_print_function_name, ftrace_function_switched):
601 Update.
602 * c-valprint.c (c_val_print): Update.
603 * coff-pe-read.c (add_pe_forwarded_sym): Update.
604 * coffread.c (coff_symfile_read): Update.
605 * common/agent.c (agent_look_up_symbols): Update.
606 * dbxread.c (find_stab_function_addr): Update.
607 (end_psymtab): Update.
608 * dwarf2loc.c (call_site_to_target_addr): Update.
609 (func_verify_no_selftailcall): Update.
610 (tailcall_dump): Update.
611 (call_site_find_chain_1): Update.
612 (dwarf_expr_reg_to_entry_parameter): Update.
613 * elfread.c (elf_gnu_ifunc_record_cache): Update.
614 (elf_gnu_ifunc_resolve_by_got): Update.
615 * f-valprint.c (info_common_command): Update.
616 * findvar.c (read_var_value): Update.
617 * frame.c (get_prev_frame_1): Update.
618 (inside_main_func): Update.
619 * frv-tdep.c (frv_skip_main_prologue): Update.
620 (frv_frame_this_id): Update.
621 * glibc-tdep.c (glibc_skip_solib_resolver): Update.
622 * gnu-v2-abi.c (gnuv2_value_rtti_type): Update.
623 * gnu-v3-abi.c (gnuv3_rtti_type): Update.
624 (gnuv3_skip_trampoline): Update.
625 * hppa-hpux-tdep.c (hppa32_hpux_in_solib_call_trampoline): Update.
626 (hppa64_hpux_in_solib_call_trampoline): Update.
627 (hppa_hpux_skip_trampoline_code): Update.
628 (hppa64_hpux_search_dummy_call_sequence): Update.
629 (hppa_hpux_find_import_stub_for_addr): Update.
630 (hppa_hpux_find_dummy_bpaddr): Update.
631 * hppa-tdep.c (hppa_symbol_address)
632 (hppa_lookup_stub_minimal_symbol): Update.
633 * i386-tdep.c (i386_skip_main_prologue): Update.
634 (i386_pe_skip_trampoline_code): Update.
635 * ia64-tdep.c (ia64_convert_from_func_ptr_addr): Update.
636 * infcall.c (get_function_name): Update.
637 * infcmd.c (until_next_command): Update.
638 * jit.c (jit_breakpoint_re_set_internal): Update.
639 (jit_inferior_init): Update.
640 * linespec.c (minsym_found): Update.
641 (add_minsym): Update.
642 * linux-fork.c (info_checkpoints_command): Update.
643 * linux-nat.c (get_signo): Update.
644 * linux-thread-db.c (inferior_has_bug): Update.
645 * m32c-tdep.c (m32c_return_value): Update.
646 (m32c_m16c_address_to_pointer): Update.
647 (m32c_m16c_pointer_to_address): Update.
648 * m32r-tdep.c (m32r_frame_this_id): Update.
649 * m68hc11-tdep.c (m68hc11_get_register_info): Update.
650 * machoread.c (macho_resolve_oso_sym_with_minsym): Update.
651 * maint.c (maintenance_translate_address): Update.
652 * minsyms.c (add_minsym_to_hash_table): Update.
653 (add_minsym_to_demangled_hash_table): Update.
654 (msymbol_objfile): Update.
655 (lookup_minimal_symbol): Update.
656 (iterate_over_minimal_symbols): Update.
657 (lookup_minimal_symbol_text): Update.
658 (lookup_minimal_symbol_by_pc_name): Update.
659 (lookup_minimal_symbol_solib_trampoline): Update.
660 (lookup_minimal_symbol_by_pc_section_1): Update.
661 (lookup_minimal_symbol_and_objfile): Update.
662 (prim_record_minimal_symbol_full): Update.
663 (compare_minimal_symbols): Update.
664 (compact_minimal_symbols): Update.
665 (build_minimal_symbol_hash_tables): Update.
666 (install_minimal_symbols): Update.
667 (terminate_minimal_symbol_table): Update.
668 (find_solib_trampoline_target): Update.
669 (minimal_symbol_upper_bound): Update.
670 * mips-linux-tdep.c (mips_linux_skip_resolver): Update.
671 * mips-tdep.c (mips_stub_frame_sniffer): Update.
672 (mips_skip_pic_trampoline_code): Update.
673 * msp430-tdep.c (msp430_skip_trampoline_code): Update.
674 * objc-lang.c (selectors_info): Update.
675 (classes_info): Update.
676 (find_methods): Update.
677 (find_imps): Update.
678 (find_objc_msgsend): Update.
679 * objfiles.c (objfile_relocate1): Update.
680 * objfiles.h (ALL_OBJFILE_MSYMBOLS): Update.
681 * obsd-tdep.c (obsd_skip_solib_resolver): Update.
682 * p-valprint.c (pascal_val_print): Update.
683 * parse.c (write_exp_msymbol): Update.
684 * ppc-linux-tdep.c (powerpc_linux_in_dynsym_resolve_code)
685 (ppc_linux_spe_context_lookup, ppc_elfv2_skip_entrypoint): Update.
686 * ppc-sysv-tdep.c (convert_code_addr_to_desc_addr): Update.
687 * printcmd.c (build_address_symbolic): Update.
688 (sym_info): Update.
689 (address_info): Update.
690 * proc-service.c (ps_pglobal_lookup): Update.
691 * psymtab.c (find_pc_sect_psymtab_closer): Update.
692 (find_pc_sect_psymtab): Update.
693 * python/py-framefilter.c (py_print_frame): Update.
694 * ravenscar-thread.c (get_running_thread_id): Update.
695 * record-btrace.c (btrace_call_history, btrace_get_bfun_name):
696 Update.
697 * remote.c (remote_check_symbols): Update.
698 * rs6000-tdep.c (rs6000_skip_main_prologue): Update.
699 (rs6000_skip_trampoline_code): Update.
700 * sh64-tdep.c (sh64_elf_make_msymbol_special): Update.
701 * sol2-tdep.c (sol2_skip_solib_resolver): Update.
702 * solib-dsbt.c (lm_base): Update.
703 * solib-frv.c (lm_base): Update.
704 (main_got): Update.
705 * solib-irix.c (locate_base): Update.
706 * solib-som.c (som_solib_create_inferior_hook): Update.
707 (som_solib_desire_dynamic_linker_symbols): Update.
708 (link_map_start): Update.
709 * solib-spu.c (spu_enable_break): Update.
710 (ocl_enable_break): Update.
711 * solib-svr4.c (elf_locate_base): Update.
712 (enable_break): Update.
713 * spu-tdep.c (spu_get_overlay_table): Update.
714 (spu_catch_start): Update.
715 (flush_ea_cache): Update.
716 * stabsread.c (define_symbol): Update.
717 (scan_file_globals): Update.
718 * stack.c (find_frame_funname): Update.
719 (frame_info): Update.
720 * symfile.c (simple_read_overlay_table): Update.
721 (simple_overlay_update): Update.
722 * symmisc.c (dump_msymbols): Update.
723 * symtab.c (fixup_section): Update.
724 (find_pc_sect_line): Update.
725 (skip_prologue_sal): Update.
726 (search_symbols): Update.
727 (print_msymbol_info): Update.
728 (rbreak_command): Update.
729 (MCOMPLETION_LIST_ADD_SYMBOL): New macro.
730 (completion_list_objc_symbol): Update.
731 (default_make_symbol_completion_list_break_on): Update.
732 * tracepoint.c (scope_info): Update.
733 * tui/tui-disasm.c (tui_find_disassembly_address): Update.
734 (tui_get_begin_asm_address): Update.
735 * valops.c (find_function_in_inferior): Update.
736 * value.c (value_static_field): Update.
737 (value_fn_field): Update.
738
50e65b17
TT
7392014-02-26 Tom Tromey <tromey@redhat.com>
740
741 * blockframe.c (find_pc_partial_function_gnu_ifunc): Use
742 bound minimal symbols. Move code that knows about minsym
743 table layout...
744 * minsyms.c (minimal_symbol_upper_bound): ... here. New
745 function.
746 * minsyms.h (minimal_symbol_upper_bound): Declare.
747 * objc-lang.c (find_objc_msgsend): Use bound minimal symbols,
748 minimal_symbol_upper_bound.
749
1b588015
JB
7502014-02-27 Joel Brobecker <brobecker@adacore.com>
751
752 * python/lib/gdb/printing.py (RegexpCollectionPrettyPrinter):
753 Use the type's name if its basic type does not have a tag.
754
dbb9c2b1
JB
7552014-02-27 Joel Brobecker <brobecker@adacore.com>
756
757 * dwarf2read.c (read_subrange_type): Add comment.
758
55426c9d
JB
7592014-02-27 Joel Brobecker <brobecker@adacore.com>
760
761 * dwarf2read.c (update_enumeration_type_from_children): New
762 function, mostly extracted from process_structure_scope.
763 (read_enumeration_type): Call update_enumeration_type_from_children.
764 (process_enumeration_scope): Do not set THIS_TYPE's flag_unsigned
765 and flag_flag_enum fields.
766
f2fce0ca
PA
7672014-02-26 Pedro Alves <palves@redhat.com>
768
769 * bsd-uthread.c (bsd_uthread_xfer_partial): Delete function.
770 (bsd_uthread_target): Don't install bsd_uthread_xfer_partial as
771 to_xfer_partial method.
772
7a44e40e
PA
7732014-02-26 Pedro Alves <palves@redhat.com>
774
775 * target.c (complete_target_initialization): Don't install
776 default_xfer_partial as to_xfer_partial hook.
777 (nomemory): Delete.
778 (update_current_target): Don't INHERIT nor de_fault
779 deprecated_xfer_memory. Delete de_fault macro.
780 (default_xfer_partial, deprecated_debug_xfer_memory): Delete.
781 (setup_target_debug): Don't install a deprecated_xfer_memory hook.
782 * target.h (struct target_ops) <deprecated_xfer_memory>: Delete
783 field.
784
bd265cd0
PA
7852014-02-26 Pedro Alves <palves@redhat.com>
786
787 * go32-nat.c (my_write_child): New function.
788 (go32_xfer_memory): Rewrite as to_xfer_partial helper.
789 (go32_xfer_partial): New function.
790 (init_go32_ops): Don't install a deprecated_xfer_memory hook.
791 Instead install a to_xfer_partial hook.
792
9d46c4e5
PA
7932014-02-26 Pedro Alves <palves@redhat.com>
794
795 * nto-procfs.c (procfs_xfer_memory): Adjust interface as a
796 to_xfer_partial helper. Rewrite.
797 (procfs_xfer_partial): New function.
798 (init_procfs_ops): Don't install a deprecated_xfer_memory hook.
799 Install a to_xfer_partial hook.
800
a1583b1f
PA
8012014-02-26 Pedro Alves <palves@redhat.com>
802
803 * remote-m32r-sdi.c (send_data): Constify 'buf' parameter.
804 (m32r_xfer_memory): Adjust as a to_xfer_partial helper.
805 (m32r_xfer_partial): New function.
806 (init_m32r_ops): Don't install a deprecated_xfer_memory hook.
807 Install a to_xfer_partial hook.
808
6df1b29f
PA
8092014-02-26 Pedro Alves <palves@redhat.com>
810
811 * remote-mips.c (mips_xfer_memory): Adjust as to_xfer_partial
812 helper.
813 (mips_xfer_partial): New function.
814 (_initialize_remote_mips): Don't install a deprecated_xfer_memory
815 hook. Install a to_xfer_partial hook.
816
dc53a7ad
JB
8172014-02-26 Joel Brobecker <brobecker@adacore.com>
818
819 * gdbtypes.h (create_array_type_with_stride): Add declaration.
820 * gdbtypes.c (create_array_type_with_stride): New function,
821 renaming create_array_type, but with an added parameter
822 called "bit_stride".
823 (create_array_type): Re-implement using
824 create_array_type_with_stride.
825 * dwarf2read.c (read_array_type): Add support for DW_AT_byte_stride
826 and DW_AT_bit_stride attributes.
827
12ab52e9
PA
8282014-02-26 Pedro Alves <palves@redhat.com>
829
830 * breakpoint.c (bpstat_check_breakpoint_conditions): Handle
831 task-specific breakpoints.
832
d16461ae
PA
8332014-02-25 Pedro Alves <palves@redhat.com>
834
835 * ia64-linux-nat.c (ia64_linux_xfer_partial): Reimplement
836 handling of object == TARGET_OBJECT_UNWIND_TABLE.
837
a8b16220
SS
8382014-02-25 Stan Shebs <stan@codesourcery.com>
839
840 * defs.h: Annotate comments for Doxygen.
841
b9e795ee
TT
8422014-02-25 Tom Tromey <tromey@redhat.com>
843
844 * target.h (target_ignore): Don't declare.
845 * target.c (target_ignore): Remove.
846
849c862e
JK
8472014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
848
849 PR gdb/16626
850 * auto-load.c (auto_load_objfile_script_1): Change filename to
851 debugfile.
852
475109d8
JB
8532014-02-25 Joel Brobecker <brobecker@adacore.com>
854
855 * ia64-linux-nat.c (ia64_linux_xfer_partial): Add function
856 documentation. Adjust prototype to match the target_ops
857 to_xfer_partial method. Adjust implementation accordingly.
858
e186c3bd
HZ
8592014-02-25 Hui Zhu <hui@codesourcery.com>
860
861 * target.h (target_ops): Fix TARGET_DEFAULT_RETURN of
862 to_traceframe_info.
863
6d451942
KB
8642014-02-25 Kevin Buettner <kevinb@redhat.com>
865
041ab8b4 866 * rl78-tdep.c (RL78_BANK0_RP0_PTR_REGNUM, RL78_BANK0_RP1_PTR_REGNUM)
6d451942
KB
867 (RL78_BANK0_RP2_PTR_REGNUM, RL78_BANK0_RP3_PTR_REGNUM)
868 (RL78_BANK1_RP0_PTR_REGNUM, RL78_BANK1_RP1_PTR_REGNUM)
869 (RL78_BANK1_RP2_PTR_REGNUM, RL78_BANK1_RP3_PTR_REGNUM)
870 (RL78_BANK2_RP0_PTR_REGNUM, RL78_BANK2_RP1_PTR_REGNUM)
871 (RL78_BANK2_RP2_PTR_REGNUM, RL78_BANK2_RP3_PTR_REGNUM)
872 (RL78_BANK3_RP0_PTR_REGNUM, RL78_BANK3_RP1_PTR_REGNUM)
873 (RL78_BANK3_RP2_PTR_REGNUM, RL78_BANK3_RP3_PTR_REGNUM):
874 New constants.
875 (rl78_register_type): Use a data pointer type for SP and
876 new pseudo registers mentioned above. Use a 16 bit integer
877 type for all other register pairs.
878 (rl78_register_name, rl78_g10_register_name): Update for
879 new pseudo registers.
880 (rl78_pseudo_register_read): Likewise.
881 (rl78_pseudo_register_write): Likewise.
882 (rl78_dwarf_reg_to_regnum): Return register numbers representing
883 to the newly added pseudo registers.
884
eddf0bae
DE
8852014-02-24 Doug Evans <dje@google.com>
886
887 * value.c (record_latest_value): Fix comment.
888 * printcmd.c (print_command_1): Remove code to handle -1 return from
889 record_latest_value.
890
e96027e0
PA
8912014-02-24 Pedro Alves <palves@redhat.com>
892
893 * procfs.c (procfs_target): Don't install procfs_xfer_memory as
894 deprecated_xfer_memory hook.
895 (procfs_xfer_partial): Call procfs_xfer_memory instead
896 of the deprecated_xfer_memory target hook.
897 (procfs_xfer_memory): Adjust interface as a to_xfer_partial
898 helper.
899
0837c976
YZ
9002014-02-24 Yuanhui Zhang <asmwarrior@gmail.com>
901
902 * windows-nat.c (windows_xfer_shared_libraries): Return
903 TARGET_XFER_EOF if LEN is zero to fix an assert failure when
904 requested object is TARGET_OBJECT_LIBRARIES.
905
bc113b4e
YQ
9062014-02-24 Yao Qi <yao@codesourcery.com>
907
908 * target.h (enum target_xfer_status)
909 <TARGET_XFER_E_UNAVAILABLE>: Rename it to ...
910 <TARGET_XFER_UNAVAILABLE>: ... it with setting value 2
911 explicitly. New.
912 * corefile.c (memory_error_message): User updated.
913 * exec.c (section_table_read_available_memory): Likewise.
914 * record-btrace.c (record_btrace_xfer_partial): Likewise.
915 * target.c (target_xfer_status_to_string): Likewise.
916 (raw_memory_xfer_partial): Likewise.
917 (memory_xfer_partial_1, target_xfer_partial): Likewise.
918 * valops.c (read_value_memory): Likewise.
919 * exec.h: Update comments.
920
01cb8804
YQ
9212014-02-24 Yao Qi <yao@codesourcery.com>
922
923 * target.c (target_xfer_status_to_string): Rename argument err
924 to status.
925 * target.h (target_xfer_status_to_string): Update declaration.
926 Replace target_xfer_error_to_string with
927 target_xfer_status_to_string in comment.
928
93063aa6
YQ
9292014-02-24 Yao Qi <yao@codesourcery.com>
930
931 * mips-linux-nat.c (super_close): Update its type.
932 (mips_linux_close): Pass 'self' to super_close.
933
5c328c05
YQ
9342014-02-24 Yao Qi <yao@codesourcery.com>
935
936 * target.h (TARGET_XFER_STATUS_ERROR_P): Remove.
937 * corefile.c (read_memory): Adjusted.
938 * target.c (target_write_with_progress): Adjusted.
939
f73023dd
YQ
9402014-02-23 Yao Qi <yao@codesourcery.com>
941
942 Revert two patches:
943
944 2013-10-25 Yao Qi <yao@codesourcery.com>
945
946 * remote.c (remote_traceframe_info): Return early if
947 traceframe is not selected.
948
949 2013-07-19 Yao Qi <yao@codesourcery.com>
950
951 * target.c (update_current_target): Change the default action
952 of 'to_traceframe_info' from tcomplain to return_zero.
953 * target.h (struct target_ops) <to_traceframe_info>: Add more
954 comments.
955
5a2eb0ef
YQ
9562014-02-23 Yao Qi <yao@codesourcery.com>
957
958 * valops.c (read_value_memory): Rewrite it. Call
959 target_xfer_partial in a loop.
960 * exec.h (section_table_available_memory): Remove declaration.
961 Move comments to ...
962 * exec.c (section_table_available_memory): ... here. Make it
963 static.
964
1ee79381
YQ
9652014-02-23 Yao Qi <yao@codesourcery.com>
966
967 * exec.c (section_table_read_available_memory): New function.
968 * exec.h (section_table_read_available_memory): Declare.
969 * ctf.c (ctf_xfer_partial): Call
970 section_table_read_available_memory.
971 * tracefile-tfile.c (tfile_xfer_partial): Likewise.
972
1ca49d37
YQ
9732014-02-23 Yao Qi <yao@codesourcery.com>
974
975 * ctf.c (ctf_xfer_partial): Move code to ...
976 * exec.c (exec_read_partial_read_only): ... it. New function.
977 * tracefile-tfile.c (tfile_xfer_partial): Likewise.
978 * tracefile.c: Include "exec.h".
979 * exec.h (exec_read_partial_read_only): Declare.
980
a283690e
YQ
9812014-02-23 Yao Qi <yao@codesourcery.com>
982
983 * tracefile-tfile.c (tfile_has_all_memory): Remove.
984 (tfile_has_memory): Remove.
985 (init_tfile_ops): Don't set fields to_has_all_memory and
986 to_has_memory of tfile_ops.
987 * tracefile.c (tracefile_has_all_memory): New function.
988 (tracefile_has_memory): New function.
989 (init_tracefile_ops): Initialize fields to_has_all_memory and
990 to_has_memory of 'ops'.
991
12e03cd0
YQ
9922014-02-23 Yao Qi <yao@codesourcery.com>
993
994 * ctf.c (ctf_has_stack, ctf_has_registers): Remove.
995 (ctf_thread_alive, ctf_get_trace_status): Remove.
996 (init_ctf_ops): Don't set some fields of ctf_ops. Call
997 init_tracefile_ops.
998 * tracefile-tfile.c (tfile_get_trace_status): Remove.
999 (tfile_has_stack, tfile_has_registers): Remove.
1000 (tfile_thread_alive): Remove.
1001 (init_tfile_ops): Don't set some fields of tfile_ops. Call
1002 init_tracefile_ops.
1003 * tracefile.c (tracefile_has_stack): New function.
1004 (tracefile_has_registers): New function.
1005 (tracefile_thread_alive): New function.
1006 (tracefile_get_trace_status): New function.
1007 (init_tracefile_ops): New function.
1008 * tracefile.h (init_tracefile_ops): Declare.
1009
11395323
YQ
10102014-02-23 Yao Qi <yao@codesourcery.com>
1011
1012 * tracepoint.c (TFILE_PID): Move it to tracefile-tfile.c.
1013 (O_LARGEFILE): Likewise.
1014 (tfile_ops): Likewise.
1015 (TRACE_HEADER_SIZE): Likewise.
1016 (trace_fd, trace_frames_offset, cur_offset): Likewise.
1017 (cur_data_size): Likewise.
1018 (tfile_read, tfile_open, tfile_interp_line): Likewise.
1019 (tfile_close, tfile_files_info): Likewise.
1020 (tfile_get_trace_status): Likewise.
1021 (tfile_get_tracepoint_status): Likewise.
1022 (tfile_get_traceframe_address): Likewise.
1023 (tfile_trace_find, match_blocktype): Likewise.
1024 (traceframe_walk_blocks, traceframe_find_block_type): Likewise.
1025 (tfile_fetch_registers, tfile_xfer_partial): Likewise.
1026 (tfile_get_trace_state_variable_value): Likewise.
1027 (tfile_has_all_memory, tfile_has_memory): Likewise.
1028 (tfile_has_stack, tfile_has_registers): Likewise.
1029 (tfile_thread_alive, build_traceframe_info): Likewise.
1030 (tfile_traceframe_info, init_tfile_ops): Likewise.
1031 (_initialize_tracepoint): Don't call init_tfile_ops
1032 and add_target_with_completer.
1033 * tracefile-tfile.c: Include regcache.h, inferior.h, gdbthread.h,
1034 exec.h, completer.h and filenames.h.
1035 (_initialize_tracefile_tfile): New function.
1036
7951c4eb
YQ
10372014-02-23 Yao Qi <yao@codesourcery.com>
1038
1039 * Makefile.in (REMOTE_OBS): Append tracefile.o and
1040 tracefile-tfile.o.
1041 (HFILES_NO_SRCDIR): Add tracefile.h.
1042 * ctf.c: Include "tracefile.h".
1043 * tracefile.h: New file.
1044 * tracefile.c: New file
1045 * tracefile-tfile.c: New file.
1046 * tracepoint.c: Include "tracefile.h".
1047 (free_uploaded_tps, free_uploaded_tsvs): Remove declarations.
1048 (stop_reason_names): Add const.
1049 (trace_file_writer_xfree): Move it to tracefile.c.
1050 (trace_save, trace_save_command, trace_save_tfile): Likewise.
1051 (trace_save_ctf): Likewise.
1052 (struct tfile_trace_file_writer): Move it to tracefile-tfile.c.
1053 (tfile_target_save, tfile_dtor, tfile_start): Likewise.
1054 (tfile_write_header, tfile_write_regblock_type): Likewise.
1055 (tfile_write_status, tfile_write_uploaded_tsv): Likewise.
1056 (tfile_write_uploaded_tp, tfile_write_definition_end): Likewise.
1057 (tfile_write_raw_data, tfile_end): Likewise.
1058 (tfile_trace_file_writer_new): Likewise.
1059 (free_uploaded_tp): Make it extern.
1060 (free_uploaded_tsv): Make it extern.
1061 (_initialize_tracepoint): Move code to register command 'tsave'
1062 to tracefile.c.
1063 * tracepoint.h (stop_reason_names): Declare.
1064 (struct trace_frame_write_ops): Move it to tracefile.h.
1065 (struct trace_file_write_ops): Likewise.
1066 (struct trace_file_writer): Likewise.
1067 (free_uploaded_tsvs, free_uploaded_tps): Declare.
1068
184cd072
JK
10692014-02-21 Jan Kratochvil <jan.kratochvil@redhat.com>
1070
1071 PR gdb/16594
1072 * common/linux-osdata.c (linux_common_core_of_thread): Find the end of
1073 process name.
1074 (get_cores_used_by_process): New parameter num_cores, use it.
1075 (linux_xfer_osdata_processes): Pass num_cores to it.
1076 * linux-tdep.c (linux_info_proc, linux_fill_prpsinfo): Find the end of
1077 process name.
1078
c63528fc
AK
10792014-02-21 Andreas Arnez <arnez@vnet.linux.ibm.com>
1080
1081 * target.c (memory_xfer_partial): Fix length arg in call to
1082 breakpoint_xfer_memory.
1083
d7b30f67
SDJ
10842014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
1085
1086 PR tdep/16397
1087 * i386-tdep.c (i386_stap_parse_special_token_triplet): Check if a
1088 number comes after the + or - signs. Adjust length of register
1089 name to be extracted.
1090
8838afaf
TT
10912014-02-20 Tom Tromey <tromey@redhat.com>
1092
1093 * varobj.h (c_varobj_ops, cplus_varobj_ops, java_varobj_ops)
1094 (ada_varobj_ops): Mark "extern".
1095
05227d14
TT
10962014-02-20 Tom Tromey <tromey@redhat.com>
1097
1098 * dbxread.c (read_dbx_symtab): Remove last_o_file_start.
1099
1254eefc
DE
11002014-02-20 Doug Evans <xdje42@gmail.com>
1101
1102 * guile/scm-gsmob.c (gdbscm_init_eqable_gsmob): New arg containing_scm.
1103 All callers updated.
1104 (gdbscm_fill_eqable_gsmob_ptr_slot): Delete arg containing_scm.
1105 All callers updated.
1106 * guile/guile-internal.h (gdbscm_init_eqable_gsmob): Update.
1107 (gdbscm_fill_eqable_gsmob_ptr_slot): Update.
1108
adde2bff
DE
11092014-02-20 lin zuojian <manjian2006@gmail.com>
1110 Joel Brobecker <brobecker@adacore.com>
1111 Doug Evans <xdje42@gmail.com>
1112
1113 PR symtab/16581
1114 * dwarf2read.c (struct die_info): New member in_process.
1115 (reset_die_in_process): New function.
1116 (process_die): Set it at the start, reset when returning.
1117 (inherit_abstract_dies): Only call process_die if origin_child_die
1118 not already being processed.
1119
3be75f87
JB
11202014-02-20 Joel Brobecker <brobecker@adacore.com>
1121
1122 * windows-nat.c (handle_unload_dll): Add function documentation.
1123 (do_initial_windows_stuff): Add comment explaining why we wait
1124 until after inferior initialization has finished before
1125 processing all DLLs.
1126
47f7ffdb
JB
11272014-02-20 Joel Brobecker <brobecker@adacore.com>
1128
1129 * windows-nat.c (get_module_name): Delete.
1130 (windows_get_exec_module_filename): New function, mostly
1131 inspired from get_module_name.
1132 (windows_pid_to_exec_file): Replace call to get_module_name
1133 by call to windows_get_exec_module_filename.
1134
1cd9feab
JB
11352014-02-20 Joel Brobecker <brobecker@adacore.com>
1136
1137 * windows-nat.c (handle_load_dll): Rewrite this function's
1138 introductory comment. Remove code using get_module_name
1139 to get the DLL's name.
1140
ea39ad35
JB
11412014-02-20 Joel Brobecker <brobecker@adacore.com>
1142
1143 * windows-nat.c (get_windows_debug_event): Ignore
1144 LOAD_DLL_DEBUG_EVENT and UNLOAD_DLL_DEBUG_EVENT
1145 if windows_initialization_done == 0.
1146 (windows_add_all_dlls): Renames windows_ensure_ntdll_loaded.
1147 Adjust implementation to always load all DLLs.
1148 (do_initial_windows_stuff): Replace call to
1149 windows_ensure_ntdll_loaded by call to windows_add_all_dlls.
1150
95060284
JB
11512014-02-20 Joel Brobecker <brobecker@adacore.com>
1152
1153 * windows-nat.c (_initialize_windows_nat): Deprecate the
1154 "dll-symbols" command. Turn the "add-shared-symbol-files"
1155 and "assf" aliases into commands, and deprecate them as well.
1156 * NEWS: Add entry explaining that "dll-symbols" and its two
1157 aliases are now deprecated.
1158
8d4fdb12
JB
11592014-02-20 Joel Brobecker <brobecker@adacore.com>
1160
1161 * dec-thread.c (dec_thread_get_ada_task_ptid): Avoid unescaped
1162 new-line in debug string. Remove trailing spaces.
1163
1b281443
SS
11642014-02-19 Stan Shebs <stan@codesourcery.com>
1165
1166 * darwin-nat.c (darwin_xfer_partial): Fix return type.
1167
f7bd0f78
SC
11682014-02-19 Siva Chandra Reddy <sivachandra@google.com>
1169
1170 * NEWS: Add entry for the new feature
1171 * python/py-value.c (valpy_binop): Call value_x_binop for struct
1172 and class values.
1173
399ebc3d
SS
11742014-02-19 Stan Shebs <stan@codesourcery.com>
1175
1176 * MAINTAINERS: List Yao Qi as nios2 maintainer.
1177
c658158d
PA
11782014-02-19 Pedro Alves <palves@redhat.com>
1179
1180 * common/ptid.h (struct ptid): Mention that process_stratum
1181 targets should prefer ptid.lwp.
1182
ba348170
PA
11832014-02-19 Pedro Alves <palves@redhat.com>
1184
1185 * remote.c (remote_thread_alive, write_ptid, read_ptid)
1186 (read_ptid, remote_newthread_step, remote_threads_extra_info)
1187 (remote_get_ada_task_ptid, append_resumption, remote_stop_ns)
1188 (threadalive_test, remote_pid_to_str): Use the ptid.lwp field to
1189 store remote thread ids rather than ptid.tid.
1190 (_initialize_remote): Adjust.
1191
ac01945b
TT
11922014-02-19 Tom Tromey <tromey@redhat.com>
1193
1194 * target.c (target_get_unwinder): Rewrite.
1195 (target_get_tailcall_unwinder): Rewrite.
1196 * record-btrace.c (record_btrace_to_get_unwinder): New function.
1197 (record_btrace_to_get_tailcall_unwinder): New function.
1198 (init_record_btrace_ops): Update.
1199 * target.h (struct target_ops) <to_get_unwinder,
1200 to_get_tailcall_unwinder>: Now function pointers. Use
1201 TARGET_DEFAULT_RETURN.
1202
8476dc92
TT
12032014-02-19 Tom Tromey <tromey@redhat.com>
1204
1205 * nto-procfs.c (procfs_remove_hw_breakpoint): Add 'self'
1206 argument.
1207 (init_procfs_ops): Correctly set to_remove_hw_breakpoint.
1208
c0eca49f
TT
12092014-02-19 Tom Tromey <tromey@redhat.com>
1210
1211 * record-btrace.c (record_btrace_decr_pc_after_break): Delegate
1212 directly.
1213 * target-delegates.c: Rebuild.
1214 * target.h (struct target_ops) <to_decr_pc_after_break>: Use
1215 TARGET_DEFAULT_FUNC.
1216 * target.c (default_target_decr_pc_after_break): Rename from
1217 forward_target_decr_pc_after_break. Simplify.
1218 (target_decr_pc_after_break): Rely on delegation.
1219
596b6b39
TT
12202014-02-19 Tom Tromey <tromey@redhat.com>
1221
1222 * target.c (update_current_target): Do not INHERIT to_doc or
1223 to_magic. Do not de_fault to_open or to_close.
1224
b427c1bc
TT
12252014-02-19 Tom Tromey <tromey@redhat.com>
1226
1227 * gcore.h (objfile_find_memory_regions): Declare.
1228 * gcore.c (objfile_find_memory_regions): No longer static. Add
1229 "self" argument.
1230 (_initialize_gcore): Don't call exec_set_find_memory_regions.
1231 * exec.c: Include gcore.h.
1232 (exec_set_find_memory_regions): Remove.
1233 (exec_find_memory_regions): Remove.
1234 (exec_do_find_memory_regions): Remove.
1235 (init_exec_ops): Update.
1236 * defs.h (exec_set_find_memory_regions): Remove.
1237
9b144037
TT
12382014-02-19 Tom Tromey <tromey@redhat.com>
1239
1240 * target-delegates.c: Rebuild.
1241 * target.h (struct target_ops) <to_extra_thread_info,
1242 to_thread_name, to_pid_to_exec_file, to_get_section_table,
1243 to_memory_map, to_read_description, to_traceframe_info>: Use NULL,
1244 not 0, in TARGET_DEFAULT_RETURN.
1245
555bbdeb
TT
12462014-02-19 Tom Tromey <tromey@redhat.com>
1247
1248 * target.c (complete_target_initialization): Remove casts. Use
1249 return_zero_has_execution.
1250 (return_zero): Add "ignore" argument.
1251 (return_zero_has_execution): New function.
1252 (init_dummy_target): Remove casts. Use
1253 return_zero_has_execution.
1254
be4ddd36
TT
12552014-02-19 Tom Tromey <tromey@redhat.com>
1256
1257 * target.c (update_current_target): Update comments. Do not
1258 INHERIT to_stratum.
1259
2117c711
TT
12602014-02-19 Tom Tromey <tromey@redhat.com>
1261
1262 * arm-linux-nat.c (arm_linux_read_description): Delegate when
1263 needed.
1264 * corelow.c (core_read_description): Delegate when needed.
1265 * remote.c (remote_read_description): Delegate when needed.
1266 * target-delegates.c: Rebuild.
1267 * target.c (target_read_description): Rewrite.
1268 * target.h (struct target_ops) <to_read_description>: Update
1269 comment. Use TARGET_DEFAULT_RETURN.
1270
e88ef65c
TT
12712014-02-19 Tom Tromey <tromey@redhat.com>
1272
1273 * target-delegates.c: Rebuild.
1274 * target.c (update_current_target): Don't inherit or default
1275 to_can_run.
1276 (find_default_run_target): Check against delegate_can_run.
1277 * target.h (struct target_ops) <to_can_run>: Use
1278 TARGET_DEFAULT_RETURN.
1279
86a0854a
TT
12802014-02-19 Tom Tromey <tromey@redhat.com>
1281
1282 * target-delegates.c: Rebuild.
1283 * target.c (target_disconnect): Unconditionally delegate.
1284 * target.h (struct target_ops) <to_disconnect>: Use
1285 TARGET_DEFAULT_NORETURN.
1286
ee97f592
TT
12872014-02-19 Tom Tromey <tromey@redhat.com>
1288
1289 * record.c (record_stop): Unconditionally delegate.
1290 * target-delegates.c: Rebuild.
1291 * target.c (target_stop_recording): Unconditionally delegate.
1292 * target.h (struct target_ops) <to_stop_recording>: Use
1293 TARGET_DEFAULT_IGNORE.
1294
6dc7fcf4
TT
12952014-02-19 Tom Tromey <tromey@redhat.com>
1296
1297 * target-delegates.c: Rebuild.
1298 * target.c (target_enable_btrace): Unconditionally delegate.
1299 * target.h (struct target_ops) <to_enable_btrace>: Use
1300 TARGET_DEFAULT_NORETURN.
1301
eb5b20d4
TT
13022014-02-19 Tom Tromey <tromey@redhat.com>
1303
1304 * target-delegates.c: Rebuild.
1305 * target.c (target_read_btrace): Unconditionally delegate.
1306 * target.h (struct target_ops) <to_read_btrace>: Use
1307 TARGET_DEFAULT_NORETURN.
1308
9ace480d
TT
13092014-02-19 Tom Tromey <tromey@redhat.com>
1310
1311 * target-delegates.c: Rebuild.
1312 * target.c (target_teardown_btrace): Unconditionally delegate.
1313 * target.h (struct target_ops) <to_teardown_btrace>: Use
1314 TARGET_DEFAULT_NORETURN.
1315
8dc292d3
TT
13162014-02-19 Tom Tromey <tromey@redhat.com>
1317
1318 * target-delegates.c: Rebuild.
1319 * target.c (target_disable_btrace): Unconditionally delegate.
1320 * target.h (struct target_ops) <to_disable_btrace>: Use
1321 TARGET_DEFAULT_NORETURN.
1322
58a5184e
TT
13232014-02-19 Tom Tromey <tromey@redhat.com>
1324
1325 * target-delegates.c: Rebuild.
1326 * target.c (default_search_memory): New function.
1327 (simple_search_memory): Update comment.
1328 (target_search_memory): Unconditionally delegate.
1329 * target.h (struct target_ops) <to_search_memory>: Use
1330 TARGET_DEFAULT_FUNC.
1331
8de71aab
TT
13322014-02-19 Tom Tromey <tromey@redhat.com>
1333
1334 * auxv.c (default_auxv_parse): No longer static.
1335 (target_auxv_parse): Unconditionally delegate.
1336 * auxv.h (default_auxv_parse): Declare.
1337 * target-delegates.c: Rebuild.
1338 * target.c: Include auxv.h.
1339 * target.h (struct target_ops) <to_auxv_parse>: Use
1340 TARGET_DEFAULT_FUNC.
1341
6b2c5a57
TT
13422014-02-19 Tom Tromey <tromey@redhat.com>
1343
1344 * target-delegates.c: Rebuild.
1345 * target.c (target_memory_map): Unconditionally delegate.
1346 * target.h (struct target_ops) <to_memory_map>: Use
1347 TARGET_DEFAULT_RETURN.
1348
cbffc065
TT
13492014-02-19 Tom Tromey <tromey@redhat.com>
1350
1351 * target-delegates.c: Rebuild.
1352 * target.c (target_thread_alive): Unconditionally delegate.
1353 * target.h (struct target_ops) <to_thread_alive>: Use
1354 TARGET_DEFAULT_RETURN.
1355
f09e2107
TT
13562014-02-19 Tom Tromey <tromey@redhat.com>
1357
1358 * target-delegates.c: Rebuild.
1359 * target.c (target_save_record): Unconditionally delegate.
1360 * target.h (struct target_ops) <to_save_record>: Use
1361 TARGET_DEFAULT_NORETURN.
1362
07366925
TT
13632014-02-19 Tom Tromey <tromey@redhat.com>
1364
1365 * target-delegates.c: Rebuild.
1366 * target.c (target_delete_record): Unconditionally delegate.
1367 * target.h (struct target_ops) <to_delete_record>: Use
1368 TARGET_DEFAULT_NORETURN.
1369
dd2e9d25
TT
13702014-02-19 Tom Tromey <tromey@redhat.com>
1371
1372 * target-delegates.c: Rebuild.
1373 * target.c (target_record_is_replaying): Unconditionally
1374 delegate.
1375 * target.h (struct target_ops) <to_record_is_replaying>: Use
1376 TARGET_DEFAULT_RETURN.
1377
671e76cc
TT
13782014-02-19 Tom Tromey <tromey@redhat.com>
1379
1380 * target-delegates.c: Rebuild.
1381 * target.c (target_goto_record_begin): Unconditionally delegate.
1382 * target.h (struct target_ops) <to_goto_record_begin>: Use
1383 TARGET_DEFAULT_NORETURN.
1384
e9179bb3
TT
13852014-02-19 Tom Tromey <tromey@redhat.com>
1386
1387 * target-delegates.c: Rebuild.
1388 * target.c (target_goto_record_end): Unconditionally delegate.
1389 * target.h (struct target_ops) <to_goto_record_end>: Use
1390 TARGET_DEFAULT_NORETURN.
1391
05969c84
TT
13922014-02-19 Tom Tromey <tromey@redhat.com>
1393
1394 * target-delegates.c: Rebuild.
1395 * target.c (target_goto_record): Unconditionally delegate.
1396 * target.h (struct target_ops) <to_goto_record>: Use
1397 TARGET_DEFAULT_NORETURN.
1398
3679abfa
TT
13992014-02-19 Tom Tromey <tromey@redhat.com>
1400
1401 * target-delegates.c: Rebuild.
1402 * target.c (target_insn_history): Unconditionally delegate.
1403 * target.h (struct target_ops) <to_insn_history>: Use
1404 TARGET_DEFAULT_NORETURN.
1405
8444ab58
TT
14062014-02-19 Tom Tromey <tromey@redhat.com>
1407
1408 * target-delegates.c: Rebuild.
1409 * target.c (target_insn_history_from): Unconditionally delegate.
1410 * target.h (struct target_ops) <to_insn_history_from>: Use
1411 TARGET_DEFAULT_NORETURN.
1412
c29302cc
TT
14132014-02-19 Tom Tromey <tromey@redhat.com>
1414
1415 * target-delegates.c: Rebuild.
1416 * target.c (target_insn_history_range): Unconditionally delegate.
1417 * target.h (struct target_ops) <to_insn_history_range>: Use
1418 TARGET_DEFAULT_NORETURN.
1419
170049d4
TT
14202014-02-19 Tom Tromey <tromey@redhat.com>
1421
1422 * target-delegates.c: Rebuild.
1423 * target.c (target_call_history): Unconditionally delegate.
1424 * target.h (struct target_ops) <to_call_history>: Use
1425 TARGET_DEFAULT_NORETURN.
1426
16fc27d6
TT
14272014-02-19 Tom Tromey <tromey@redhat.com>
1428
1429 * target-delegates.c: Rebuild.
1430 * target.c (target_call_history_from): Unconditionally delegate.
1431 * target.h (struct target_ops) <to_call_history_from>: Use
1432 TARGET_DEFAULT_NORETURN.
1433
115d9817
TT
14342014-02-19 Tom Tromey <tromey@redhat.com>
1435
1436 * target-delegates.c: Rebuild.
1437 * target.c (target_call_history_range): Unconditionally delegate.
1438 * target.h (struct target_ops) <to_call_history_range>: Use
1439 TARGET_DEFAULT_NORETURN.
1440
eb276a6b
TT
14412014-02-19 Tom Tromey <tromey@redhat.com>
1442
1443 * target-delegates.c: Rebuild.
1444 * target.c (target_verify_memory): Unconditionally delegate.
1445 * target.h (struct target_ops) <to_verify_memory>: Use
1446 TARGET_DEFAULT_NORETURN.
1447
9e538d0d
TT
14482014-02-19 Tom Tromey <tromey@redhat.com>
1449
1450 * target-delegates.c: Rebuild.
1451 * target.c (target_core_of_thread): Unconditionally delegate.
1452 * target.h (struct target_ops) <to_core_of_thread>: Use
1453 TARGET_DEFAULT_RETURN.
1454
f6fb2925
TT
14552014-02-19 Tom Tromey <tromey@redhat.com>
1456
1457 * target-delegates.c: Rebuild.
1458 * target.c (target_flash_done): Unconditionally delegate.
1459 * target.h (struct target_ops) <to_flash_done>: Use
1460 TARGET_DEFAULT_NORETURN.
1461
e8a6c6ac
TT
14622014-02-19 Tom Tromey <tromey@redhat.com>
1463
1464 * target-delegates.c: Rebuild.
1465 * target.c (target_flash_erase): Unconditionally delegate.
1466 * target.h (struct target_ops) <to_flash_erase>: Use
1467 TARGET_DEFAULT_NORETURN.
1468
7e35c012
TT
14692014-02-19 Tom Tromey <tromey@redhat.com>
1470
1471 * target-delegates.c: Rebuild.
1472 * target.c (target_get_section_table): Unconditionally delegate.
1473 * target.h (struct target_ops) <to_get_section_table>: Use
1474 TARGET_DEFAULT_RETURN.
1475
770234d3
TT
14762014-02-19 Tom Tromey <tromey@redhat.com>
1477
1478 * target-delegates.c: Rebuild.
1479 * target.c (target_pid_to_str): Unconditionally delegate.
1480 (init_dummy_target): Don't initialize to_pid_to_str.
1481 (default_pid_to_str): Rename from dummy_pid_to_str.
1482 * target.h (struct target_ops) <to_pid_to_str>: Use
1483 TARGET_DEFAULT_FUNC.
1484
09b0dc2b
TT
14852014-02-19 Tom Tromey <tromey@redhat.com>
1486
1487 * target-delegates.c: Rebuild.
1488 * target.c (target_find_new_threads): Unconditionally delegate.
1489 * target.h (struct target_ops) <to_find_new_threads>: Use
1490 TARGET_DEFAULT_RETURN.
1491
7d4f8efa
TT
14922014-02-19 Tom Tromey <tromey@redhat.com>
1493
1494 * target-delegates.c: Rebuild.
1495 * target.c (target_program_signals): Unconditionally delegate.
1496 * target.h (struct target_ops) <to_program_signals>: Use
1497 TARGET_DEFAULT_IGNORE.
1498
035cad7f
TT
14992014-02-19 Tom Tromey <tromey@redhat.com>
1500
1501 * target-delegates.c: Rebuild.
1502 * target.c (target_pass_signals): Unconditionally delegate.
1503 * target.h (struct target_ops) <to_pass_signals>: Use
1504 TARGET_DEFAULT_IGNORE.
1505
8d657035
TT
15062014-02-19 Tom Tromey <tromey@redhat.com>
1507
1508 * target-delegates.c: Rebuild.
1509 * target.c (default_mourn_inferior): New function.
1510 (target_mourn_inferior): Unconditionally delegate.
1511 * target.h (struct target_ops) <to_mourn_inferior>: Use
1512 TARGET_DEFAULT_FUNC.
1513
098dba18
TT
15142014-02-19 Tom Tromey <tromey@redhat.com>
1515
1516 * target-delegates.c: Rebuild.
1517 * target.c (default_follow_fork): New function.
1518 (target_follow_fork): Unconditionally delegate.
1519 * target.h (struct target_ops) <to_follow_fork>: Use
1520 TARGET_DEFAULT_FUNC.
1521
423a4807
TT
15222014-02-19 Tom Tromey <tromey@redhat.com>
1523
1524 * target-delegates.c: Rebuild.
1525 * target.c (target_kill): Unconditionally delegate.
1526 * target.h (struct target_ops) <to_kill>: Use
1527 TARGET_DEFAULT_NORETURN.
1528
6c7e5e5c
TT
15292014-02-19 Tom Tromey <tromey@redhat.com>
1530
1531 * target-delegates.c: Rebuild.
1532 * target.c (target_masked_watch_num_registers): Unconditionally
1533 delegate.
1534 * target.h (struct target_ops) <to_masked_watch_num_registers>:
1535 Use TARGET_DEFAULT_RETURN.
1536
8b1c364c
TT
15372014-02-19 Tom Tromey <tromey@redhat.com>
1538
1539 * target-delegates.c: Rebuild.
1540 * target.c (target_remove_mask_watchpoint): Unconditionally
1541 delegate.
1542 * target.h (struct target_ops) <to_remove_mask_watchpoint>: Use
1543 TARGET_DEFAULT_RETURN.
1544
cd4ae029
TT
15452014-02-19 Tom Tromey <tromey@redhat.com>
1546
1547 * target-delegates.c: Rebuild.
1548 * target.c (target_insert_mask_watchpoint): Unconditionally
1549 delegate.
1550 * target.h (struct target_ops) <to_insert_mask_watchpoint>: Use
1551 TARGET_DEFAULT_RETURN.
1552
a134316b
TT
15532014-02-19 Tom Tromey <tromey@redhat.com>
1554
1555 * target-delegates.c: Rebuild.
1556 * target.c (target_ranged_break_num_registers): Unconditionally
1557 delegate.
1558 * target.h (struct target_ops) <to_ranged_break_num_registers>:
1559 Use TARGET_DEFAULT_RETURN.
1560
ad5989bd
TT
15612014-02-19 Tom Tromey <tromey@redhat.com>
1562
1563 * target-delegates.c: Rebuild.
1564 * target.c (target_fetch_registers): Unconditionally delegate.
1565 * target.h (struct target_ops) <to_fetch_registers>: Use
1566 TARGET_DEFAULT_NORETURN.
1567
46ee7e8d
TT
15682014-02-19 Tom Tromey <tromey@redhat.com>
1569
1570 * target-delegates.c: Rebuild.
1571 * target.c (update_current_target): Don't inherit or default
1572 to_stop.
1573 * target.h (struct target_ops) <to_stop>: Use
1574 TARGET_DEFAULT_IGNORE.
1575
843f59ed
TT
15762014-02-19 Tom Tromey <tromey@redhat.com>
1577
1578 * target-delegates.c: Rebuild.
1579 * target.c (update_current_target): Don't inherit or default
1580 to_can_run_breakpoint_commands.
1581 * target.h (struct target_ops) <to_can_run_breakpoint_commands>:
1582 Use TARGET_DEFAULT_RETURN.
1583
ccfde2a0
TT
15842014-02-19 Tom Tromey <tromey@redhat.com>
1585
1586 * target-delegates.c: Rebuild.
1587 * target.c (update_current_target): Don't inherit or default
1588 to_supports_evaluation_of_breakpoint_conditions.
1589 * target.h (struct target_ops)
1590 <to_supports_evaluation_of_breakpoint_conditions>: Use
1591 TARGET_DEFAULT_RETURN.
1592
0de91722
TT
15932014-02-19 Tom Tromey <tromey@redhat.com>
1594
1595 * target-delegates.c: Rebuild.
1596 * target.c (update_current_target): Don't inherit or default
1597 to_augmented_libraries_svr4_read.
1598 * target.h (struct target_ops) <to_augmented_libraries_svr4_read>:
1599 Use TARGET_DEFAULT_RETURN.
1600
9a7d8b48
TT
16012014-02-19 Tom Tromey <tromey@redhat.com>
1602
1603 * target-delegates.c: Rebuild.
1604 * target.c (update_current_target): Don't inherit or default
1605 to_can_use_agent.
1606 * target.h (struct target_ops) <to_can_use_agent>: Use
1607 TARGET_DEFAULT_RETURN.
1608
d9db5b21
TT
16092014-02-19 Tom Tromey <tromey@redhat.com>
1610
1611 * target-delegates.c: Rebuild.
1612 * target.c (update_current_target): Don't inherit or default
1613 to_use_agent.
1614 * target.h (struct target_ops) <to_use_agent>: Use
1615 TARGET_DEFAULT_NORETURN.
1616
92155eeb
TT
16172014-02-19 Tom Tromey <tromey@redhat.com>
1618
1619 * target-delegates.c: Rebuild.
1620 * target.c (update_current_target): Don't inherit or default
1621 to_traceframe_info.
1622 (return_null): Remove.
1623 * target.h (struct target_ops) <to_traceframe_info>: Use
1624 TARGET_DEFAULT_RETURN.
1625
d6522a22
TT
16262014-02-19 Tom Tromey <tromey@redhat.com>
1627
1628 * target-delegates.c: Rebuild.
1629 * target.c (update_current_target): Don't inherit or default
1630 to_static_tracepoint_markers_by_strid.
1631 * target.h (struct target_ops)
1632 <to_static_tracepoint_markers_by_strid>: Use
1633 TARGET_DEFAULT_NORETURN.
1634
4c3e4425
TT
16352014-02-19 Tom Tromey <tromey@redhat.com>
1636
1637 * target-delegates.c: Rebuild.
1638 * target.c (update_current_target): Don't inherit or default
1639 to_static_tracepoint_marker_at.
1640 * target.h (struct target_ops) <to_static_tracepoint_marker_at>:
1641 Use TARGET_DEFAULT_RETURN.
1642
dcd6917f
TT
16432014-02-19 Tom Tromey <tromey@redhat.com>
1644
1645 * target-delegates.c: Rebuild.
1646 * target.c (update_current_target): Don't inherit or default
1647 to_set_permissions.
1648 * target.h (struct target_ops) <to_set_permissions>: Use
1649 TARGET_DEFAULT_IGNORE.
1650
22bcceee
TT
16512014-02-19 Tom Tromey <tromey@redhat.com>
1652
1653 * target-delegates.c: Rebuild.
1654 * target.c (update_current_target): Don't inherit or default
1655 to_get_tib_address.
1656 * target.h (struct target_ops) <to_get_tib_address>: Use
1657 TARGET_DEFAULT_NORETURN.
1658
8586ccaa
TT
16592014-02-19 Tom Tromey <tromey@redhat.com>
1660
1661 * target-delegates.c: Rebuild.
1662 * target.c (update_current_target): Don't inherit or default
1663 to_set_trace_notes.
1664 * target.h (struct target_ops) <to_set_trace_notes>: Use
1665 TARGET_DEFAULT_RETURN.
1666
91df8d1d
TT
16672014-02-19 Tom Tromey <tromey@redhat.com>
1668
1669 * target-delegates.c: Rebuild.
1670 * target.c (update_current_target): Don't initialize
1671 to_set_trace_buffer_size.
1672 * target.h (struct target_ops) <to_set_trace_buffer_size>: Use
1673 TARGET_DEFAULT_IGNORE.
1674
8d526939
TT
16752014-02-19 Tom Tromey <tromey@redhat.com>
1676
1677 * target-delegates.c: Rebuild.
1678 * target.c (update_current_target): Don't inherit or default
1679 to_set_circular_trace_buffer.
1680 * target.h (struct target_ops) <to_set_circular_trace_buffer>: Use
1681 TARGET_DEFAULT_IGNORE.
1682
0bcfeddf
TT
16832014-02-19 Tom Tromey <tromey@redhat.com>
1684
1685 * target-delegates.c: Rebuild.
1686 * target.c (update_current_target): Don't inherit or default
1687 to_set_disconnected_tracing.
1688 * target.h (struct target_ops) <to_set_disconnected_tracing>: Use
1689 TARGET_DEFAULT_IGNORE.
1690
9249843f
TT
16912014-02-19 Tom Tromey <tromey@redhat.com>
1692
1693 * target-delegates.c: Rebuild.
1694 * target.c (update_current_target): Don't inherit or default
1695 to_get_min_fast_tracepoint_insn_len.
1696 (return_minus_one): Remove.
1697 * target.h (struct target_ops)
1698 <to_get_min_fast_tracepoint_insn_len>: Use TARGET_DEFAULT_RETURN.
1699
ace92e7d
TT
17002014-02-19 Tom Tromey <tromey@redhat.com>
1701
1702 * target-delegates.c: Rebuild.
1703 * target.c (update_current_target): Don't inherit or default
1704 to_get_raw_trace_data.
1705 * target.h (struct target_ops) <to_get_raw_trace_data>: Use
1706 TARGET_DEFAULT_NORETURN.
1707
08120467
TT
17082014-02-19 Tom Tromey <tromey@redhat.com>
1709
1710 * target-delegates.c: Rebuild.
1711 * target.c (update_current_target): Don't inherit or default
1712 to_upload_trace_state_variables.
1713 * target.h (struct target_ops) <to_upload_trace_state_variables>:
1714 Use TARGET_DEFAULT_RETURN.
1715
1e949b00
TT
17162014-02-19 Tom Tromey <tromey@redhat.com>
1717
1718 * target-delegates.c: Rebuild.
1719 * target.c (update_current_target): Don't inherit or default
1720 to_upload_tracepoints.
1721 * target.h (struct target_ops) <to_upload_tracepoints>: Use
1722 TARGET_DEFAULT_RETURN.
1723
a2e6c147
TT
17242014-02-19 Tom Tromey <tromey@redhat.com>
1725
1726 * target-delegates.c: Rebuild.
1727 * target.c (update_current_target): Don't inherit or default
1728 to_save_trace_data.
1729 * target.h (struct target_ops) <to_save_trace_data>: Use
1730 TARGET_DEFAULT_NORETURN.
1731
959bcd0b
TT
17322014-02-19 Tom Tromey <tromey@redhat.com>
1733
1734 * target-delegates.c: Rebuild.
1735 * target.c (update_current_target): Don't inherit or default
1736 to_get_trace_state_variable_value.
1737 * target.h (struct target_ops)
1738 <to_get_trace_state_variable_value>: Use TARGET_DEFAULT_RETURN.
1739
afc94e66
TT
17402014-02-19 Tom Tromey <tromey@redhat.com>
1741
1742 * target-delegates.c: Rebuild.
1743 * target.c (update_current_target): Don't inherit or default
1744 to_trace_find.
1745 * target.h (struct target_ops): Use TARGET_DEFAULT_RETURN.
1746
e51c07ea
TT
17472014-02-19 Tom Tromey <tromey@redhat.com>
1748
1749 * target-delegates.c: Rebuild.
1750 * target.c (update_current_target): Don't inherit or default
1751 to_trace_stop.
1752 * target.h (struct target_ops) <to_trace_stop>: Use
1753 TARGET_DEFAULT_NORETURN.
1754
6fea14cd
TT
17552014-02-19 Tom Tromey <tromey@redhat.com>
1756
1757 * target-delegates.c: Rebuild.
1758 * target.c (update_current_target): Don't inherit or default
1759 to_get_tracepoint_status.
1760 * target.h (struct target_ops) <to_get_tracepoint_status>: Use
1761 TARGET_DEFAULT_NORETURN.
1762
4072d4ff
TT
17632014-02-19 Tom Tromey <tromey@redhat.com>
1764
1765 * target-delegates.c: Rebuild.
1766 * target.c (update_current_target): Don't inherit or default
1767 to_get_trace_status.
1768 * target.h (struct target_ops) <to_get_trace_status>: Use
1769 TARGET_DEFAULT_RETURN.
1770
25da2e80
TT
17712014-02-19 Tom Tromey <tromey@redhat.com>
1772
1773 * target-delegates.c: Rebuild.
1774 * target.c (update_current_target): Don't inherit or default
1775 to_trace_start.
1776 * target.h (struct target_ops) <to_trace_start>: Use
1777 TARGET_DEFAULT_NORETURN.
1778
86dd181d
TT
17792014-02-19 Tom Tromey <tromey@redhat.com>
1780
1781 * target-delegates.c: Rebuild.
1782 * target.c (update_current_target): Don't inherit or default
1783 to_trace_set_readonly_regions.
1784 * target.h (struct target_ops) <to_trace_set_readonly_regions>:
1785 Use TARGET_DEFAULT_NORETURN.
1786
05c41993
TT
17872014-02-19 Tom Tromey <tromey@redhat.com>
1788
1789 * target-delegates.c: Rebuild.
1790 * target.c (update_current_target): Don't inherit or default
1791 to_disable_tracepoint.
1792 * target.h (struct target_ops) <to_disable_tracepoint>: Use
1793 TARGET_DEFAULT_NORETURN.
1794
151f70f1
TT
17952014-02-19 Tom Tromey <tromey@redhat.com>
1796
1797 * target-delegates.c: Rebuild.
1798 * target.c (update_current_target): Don't inherit or default
1799 to_enable_tracepoint.
1800 * target.h (struct target_ops) <to_enable_tracepoint>: Use
1801 TARGET_DEFAULT_NORETURN.
1802
94eb98b9
TT
18032014-02-19 Tom Tromey <tromey@redhat.com>
1804
1805 * target-delegates.c: Rebuild.
1806 * target.c (update_current_target): Don't inherit or default
1807 to_download_trace_state_variable.
1808 * target.h (struct target_ops) <to_download_trace_state_variable>:
1809 Use TARGET_DEFAULT_NORETURN.
1810
719acc4a
TT
18112014-02-19 Tom Tromey <tromey@redhat.com>
1812
1813 * target-delegates.c: Rebuild.
1814 * target.c (update_current_target): Don't inherit or default
1815 to_can_download_tracepoint.
1816 * target.h (struct target_ops) <to_can_download_tracepoint>: Use
1817 TARGET_DEFAULT_RETURN.
1818
9a980a22
TT
18192014-02-19 Tom Tromey <tromey@redhat.com>
1820
1821 * target-delegates.c: Rebuild.
1822 * target.c (update_current_target): Don't inherit or default
1823 to_download_tracepoint.
1824 * target.h (struct target_ops) <to_download_tracepoint>: Use
1825 TARGET_DEFAULT_NORETURN.
1826
5536135b
TT
18272014-02-19 Tom Tromey <tromey@redhat.com>
1828
1829 * target-delegates.c: Rebuild.
1830 * target.c (update_current_target): Don't inherit or default
1831 to_trace_init.
1832 * target.h (struct target_ops) <to_trace_init>: Use
1833 TARGET_DEFAULT_RETURN.
1834
9409d39e
TT
18352014-02-19 Tom Tromey <tromey@redhat.com>
1836
1837 * target-delegates.c: Rebuild.
1838 * target.c (update_current_target): Don't inherit or default
1839 to_supports_string_tracing.
1840 * target.h (struct target_ops) <to_supports_string_tracing>: Use
1841 TARGET_DEFAULT_RETURN.
1842
aab1b22d
TT
18432014-02-19 Tom Tromey <tromey@redhat.com>
1844
1845 * target-delegates.c: Rebuild.
1846 * target.c (update_current_target): Don't inherit or default
1847 to_supports_enable_disable_tracepoint.
1848 * target.h (struct target_ops)
1849 <to_supports_enable_disable_tracepoint>: Use
1850 TARGET_DEFAULT_RETURN.
1851
a7304748
TT
18522014-02-19 Tom Tromey <tromey@redhat.com>
1853
1854 * target-delegates.c: Rebuild.
1855 * target.c (update_current_target): Don't inherit or default
1856 to_supports_multi_process.
1857 * target.h (struct target_ops) <to_supports_multi_process>: Use
1858 TARGET_DEFAULT_RETURN.
1859
4229b31d
TT
18602014-02-19 Tom Tromey <tromey@redhat.com>
1861
1862 * target-delegates.c: Rebuild.
1863 * target.c (update_current_target): Don't inherit or default
1864 to_get_ada_task_ptid.
1865 * target.h (struct target_ops) <to_get_ada_task_ptid>: Use
1866 TARGET_DEFAULT_FUNC.
1867
43eba180
TT
18682014-02-19 Tom Tromey <tromey@redhat.com>
1869
1870 * target-delegates.c: Rebuild.
1871 * target.c (update_current_target): Don't inherit or default
1872 to_thread_architecture.
1873 * target.h (struct target_ops) <to_thread_architecture>: Use
1874 TARGET_DEFAULT_FUNC.
1875
fe31bf5b
TT
18762014-02-19 Tom Tromey <tromey@redhat.com>
1877
1878 * target-delegates.c: Rebuild.
1879 * target.c (update_current_target): Don't inherit or default
1880 to_execution_direction.
1881 * target.h (struct target_ops) <to_execution_direction>: Use
1882 TARGET_DEFAULT_FUNC.
1883
53e1cfc7
TT
18842014-02-19 Tom Tromey <tromey@redhat.com>
1885
1886 * target-delegates.c: Rebuild.
1887 * target.c (update_current_target): Don't inherit or default
1888 to_can_execute_reverse.
1889 * target.h (struct target_ops) <to_can_execute_reverse>: Use
1890 TARGET_DEFAULT_RETURN.
1891 (target_can_execute_reverse): Unconditionally delegate.
1892
9bb9d61d
TT
18932014-02-19 Tom Tromey <tromey@redhat.com>
1894
1895 * target-delegates.c: Rebuild.
1896 * target.c (update_current_target): Don't inherit or default
1897 to_goto_bookmark.
1898 (dummy_goto_bookmark): Remove.
1899 (init_dummy_target): Don't inherit or default to_goto_bookmark.
1900 * target.h (struct target_ops) <to_goto_bookmark>: Use
1901 TARGET_DEFAULT_NORETURN.
1902
3dbafbbb
TT
19032014-02-19 Tom Tromey <tromey@redhat.com>
1904
1905 * target-delegates.c: Rebuild.
1906 * target.c (update_current_target): Don't inherit or default
1907 to_get_bookmark.
1908 (dummy_get_bookmark): Remove.
1909 (init_dummy_target): Don't inherit or default to_get_bookmark.
1910 * target.h (struct target_ops) <to_get_bookmark>: Use
1911 TARGET_DEFAULT_NORETURN
1912
16f796b1
TT
19132014-02-19 Tom Tromey <tromey@redhat.com>
1914
1915 * target-delegates.c: Rebuild.
1916 * target.c (update_current_target): Don't inherit or default
1917 to_make_corefile_notes.
1918 (init_dummy_target): Don't initialize to_make_corefile_notes.
1919 * target.h (struct target_ops) <to_make_corefile_notes>: Use
1920 TARGET_DEFAULT_FUNC.
1921
0b5a2719
TT
19222014-02-19 Tom Tromey <tromey@redhat.com>
1923
1924 * target-delegates.c: Rebuild.
1925 * target.c (update_current_target): Don't inherit or default
1926 to_find_memory_regions.
1927 (init_dummy_target): Don't initialize to_find_memory_regions.
1928 * target.h (struct target_ops) <to_find_memory_regions>: Use
1929 TARGET_DEFAULT_FUNC.
1930
d9cb0195
TT
19312014-02-19 Tom Tromey <tromey@redhat.com>
1932
1933 * target-delegates.c: Rebuild.
1934 * target.c (update_current_target): Don't inherit or default
1935 to_log_command.
1936 * target.h (struct target_ops) <to_log_command>: Use
1937 TARGET_DEFAULT_IGNORE.
1938 (target_log_command): Unconditionally delegate.
1939
830ca330
TT
19402014-02-19 Tom Tromey <tromey@redhat.com>
1941
1942 * target-delegates.c: Rebuild.
1943 * target.c (update_current_target): Don't inherit or default
1944 to_pid_to_exec_file.
1945 * target.h (struct target_ops) <to_pid_to_exec_file>: Use
1946 TARGET_DEFAULT_RETURN.
1947
825828fc
TT
19482014-02-19 Tom Tromey <tromey@redhat.com>
1949
1950 * target-delegates.c: Rebuild.
1951 * target.c (update_current_target): Don't inherit or default
1952 to_thread_name.
1953 (target_thread_name): Unconditionally delegate.
1954 * target.h (struct target_ops) <to_thread_name>: Use
1955 TARGET_DEFAULT_RETURN.
1956
4a7e6dda
TT
19572014-02-19 Tom Tromey <tromey@redhat.com>
1958
1959 * target-delegates.c: Rebuild.
1960 * target.c (update_current_target): Don't inherit or default
1961 to_extra_thread_info.
1962 * target.h (struct target_ops) <to_extra_thread_info>: Use
1963 TARGET_DEFAULT_RETURN.
1964
0db88c1d
TT
19652014-02-19 Tom Tromey <tromey@redhat.com>
1966
1967 * target-delegates.c: Rebuild.
1968 * target.c (update_current_target): Don't inherit or default
1969 to_has_exited.
1970 * target.h (struct target_ops) <to_has_exited>: Use
1971 TARGET_DEFAULT_RETURN..
1972
6a9fa051
TT
19732014-02-19 Tom Tromey <tromey@redhat.com>
1974
1975 * target-delegates.c: Rebuild.
1976 * target.c (update_current_target): Don't inherit or default
1977 to_set_syscall_catchpoint.
1978 (return_one): Remove.
1979 * target.h (struct target_ops) <to_set_syscall_catchpoint>: Use
1980 TARGET_DEFAULT_RETURN.
1981
62f64d7a
TT
19822014-02-19 Tom Tromey <tromey@redhat.com>
1983
1984 * target-delegates.c: Rebuild.
1985 * target.c (update_current_target): Don't inherit or default
1986 to_insert_exec_catchpoint.
1987 * target.h (struct target_ops) <to_insert_exec_catchpoint>: Use
1988 TARGET_DEFAULT_RETURN.
1989
cda0f38c
TT
19902014-01-08 Tom Tromey <tromey@redhat.com>
1991
1992 * target-delegates.c: Rebuild.
1993 * target.c (update_current_target): Don't inherit or default
1994 to_insert_exec_catchpoint.
1995 * target.h (struct target_ops) <to_insert_exec_catchpoint>: Use
1996 TARGET_DEFAULT_RETURN.
1997
95c3375e
TT
19982014-02-19 Tom Tromey <tromey@redhat.com>
1999
2000 * target-delegates.c: Rebuild.
2001 * target.c (update_current_target): Don't inherit or default
2002 to_remove_vfork_catchpoint.
2003 * target.h (struct target_ops) <to_remove_vfork_catchpoint>: Use
2004 TARGET_DEFAULT_RETURN.
2005
7e18a8dc
TT
20062014-02-19 Tom Tromey <tromey@redhat.com>
2007
2008 * target-delegates.c: Rebuild.
2009 * target.c (update_current_target): Don't inherit or default
2010 to_insert_vfork_catchpoint.
2011 * target.h (struct target_ops) <to_insert_vfork_catchpoint>: Use
2012 TARGET_DEFAULT_RETURN.
2013
e1a21fb7
TT
20142014-02-19 Tom Tromey <tromey@redhat.com>
2015
2016 * target-delegates.c: Rebuild.
2017 * target.c (update_current_target): Don't inherit or default
2018 to_remove_fork_catchpoint.
2019 * target.h (struct target_ops) <to_remove_fork_catchpoint>: Use
2020 TARGET_DEFAULT_RETURN.
2021
5958ebeb
TT
20222014-02-19 Tom Tromey <tromey@redhat.com>
2023
2024 * target-delegates.c: Rebuild.
2025 * target.c (update_current_target): Don't inherit or default
2026 to_insert_fork_catchpoint.
2027 * target.h (struct target_ops) <to_insert_fork_catchpoint>: Use
2028 TARGET_DEFAULT_RETURN.
2029
340ba4bf
TT
20302014-02-19 Tom Tromey <tromey@redhat.com>
2031
2032 * target-delegates.c: Rebuild.
2033 * target.c (update_current_target): Don't inherit or default
2034 to_post_startup_inferior.
2035 * target.h (struct target_ops) <to_post_startup_inferior>: Use
2036 TARGET_DEFAULT_IGNORE.
2037
7634da87
TT
20382014-02-19 Tom Tromey <tromey@redhat.com>
2039
2040 * target-delegates.c: Rebuild.
2041 * target.c (update_current_target): Don't inherit or default
2042 to_load.
2043 * target.h (struct target_ops) <to_load>: Use
2044 TARGET_DEFAULT_NORETURN.
2045
e19e919f
TT
20462014-02-19 Tom Tromey <tromey@redhat.com>
2047
2048 * target-delegates.c: Rebuild.
2049 * target.c (update_current_target): Don't inherit or default
2050 to_terminal_info.
2051 * target.h (struct target_ops) <to_terminal_info>: Use
2052 TARGET_DEFAULT_FUNC.
2053
c6ea8f79
TT
20542014-02-19 Tom Tromey <tromey@redhat.com>
2055
2056 * target-delegates.c: Rebuild.
2057 * target.c (update_current_target): Don't inherit or default
2058 to_terminal_save_ours.
2059 * target.h (struct target_ops) <to_terminal_save_ours>: Use
2060 TARGET_DEFAULT_IGNORE.
2061
e4a733f1
TT
20622014-02-19 Tom Tromey <tromey@redhat.com>
2063
2064 * target-delegates.c: Rebuild.
2065 * target.c (update_current_target): Don't inherit or default
2066 to_terminal_ours.
2067 * target.h (struct target_ops) <to_terminal_ours>: Use
2068 TARGET_DEFAULT_IGNORE.
2069
74fcbef9
TT
20702014-02-19 Tom Tromey <tromey@redhat.com>
2071
2072 * target-delegates.c: Rebuild.
2073 * target.c (update_current_target): Don't inherit or default
2074 to_terminal_ours_for_output.
2075 * target.h (struct target_ops) <to_terminal_ours_for_output>: Use
2076 TARGET_DEFAULT_IGNORE.
2077
ddeaacc9
TT
20782014-02-19 Tom Tromey <tromey@redhat.com>
2079
2080 * target-delegates.c: Rebuild.
2081 * target.c (update_current_target): Don't inherit or default
2082 to_terminal_inferior.
2083 * target.h (struct target_ops) <to_terminal_inferior>: Use
2084 TARGET_DEFAULT_IGNORE.
2085
0343661d
TT
20862014-02-19 Tom Tromey <tromey@redhat.com>
2087
2088 * target-delegates.c: Rebuild.
2089 * target.c (update_current_target): Don't inherit or default
2090 to_terminal_init.
2091 * target.h (struct target_ops) <to_terminal_init>: Use
2092 TARGET_DEFAULT_IGNORE.
2093
77cdffe9
TT
20942014-02-19 Tom Tromey <tromey@redhat.com>
2095
2096 * target-delegates.c: Rebuild.
2097 * target.c (update_current_target): Don't inherit or default
2098 to_can_accel_watchpoint_condition.
2099 * target.h (struct target_ops)
2100 <to_can_accel_watchpoint_condition>: Use TARGET_DEFAULT_RETURN.
2101
d03655e4
TT
21022014-02-19 Tom Tromey <tromey@redhat.com>
2103
2104 * target-delegates.c: Rebuild.
2105 * target.c (update_current_target): Don't inherit or default
2106 to_region_ok_for_hw_watchpoint.
2107 * target.h (struct target_ops) <to_region_ok_for_hw_watchpoint>:
2108 Use TARGET_DEFAULT_FUNC.
2109
65f160a9
TT
21102014-02-19 Tom Tromey <tromey@redhat.com>
2111
2112 * target-delegates.c: Rebuild.
2113 * target.c (update_current_target): Don't inherit or default
2114 to_watchpoint_addr_within_range.
2115 * target.h (struct target_ops) <to_watchpoint_addr_within_range>:
2116 Use TARGET_DEFAULT_FUNC.
2117
61dd109f
TT
21182014-02-19 Tom Tromey <tromey@redhat.com>
2119
2120 * target-delegates.c: Rebuild.
2121 * target.c (update_current_target): Don't inherit or default
2122 to_remove_watchpoint.
2123 * target.h (struct target_ops) <to_remove_watchpoint>: Use
2124 TARGET_DEFAULT_NORETURN.
2125
016facd4
TT
21262014-02-19 Tom Tromey <tromey@redhat.com>
2127
2128 * target-delegates.c: Rebuild.
2129 * target.c (update_current_target): Don't inherit or default
2130 to_insert_watchpoint.
2131 * target.h (struct target_ops) <to_insert_watchpoint>: Use
2132 TARGET_DEFAULT_RETURN.
2133
418dabac
TT
21342014-02-19 Tom Tromey <tromey@redhat.com>
2135
2136 * target-delegates.c: Rebuild.
2137 * target.c (update_current_target): Don't inherit or default
2138 to_remove_hw_breakpoint.
2139 * target.h (struct target_ops) <to_remove_hw_breakpoint>: Use
2140 TARGET_DEFAULT_RETURN.
2141
61b371f9
TT
21422014-02-19 Tom Tromey <tromey@redhat.com>
2143
2144 * target-delegates.c: Rebuild.
2145 * target.c (update_current_target): Don't inherit or default
2146 to_insert_hw_breakpoint.
2147 * target.h (struct target_ops) <to_insert_hw_breakpoint>: Use
2148 TARGET_DEFAULT_RETURN.
2149
52b51d06
TT
21502014-02-19 Tom Tromey <tromey@redhat.com>
2151
2152 * target-delegates.c: Rebuild.
2153 * target.c (update_current_target): Don't inherit or default
2154 to_can_use_hw_breakpoint.
2155 * target.h (struct target_ops) <to_can_use_hw_breakpoint>: Use
2156 TARGET_DEFAULT_RETURN.
2157
f86e59b2
TT
21582014-02-19 Tom Tromey <tromey@redhat.com>
2159
2160 * target-delegates.c: Rebuild.
2161 * target.c (update_current_target): Don't inherit or default
2162 to_files_info.
2163 * target.h (struct target_ops) <to_files_info>: Use
2164 TARGET_DEFAULT_IGNORE.
2165
6c628163
TT
21662014-02-19 Tom Tromey <tromey@redhat.com>
2167
2168 * target-delegates.c: Rebuild.
2169 * target.c (update_current_target): Don't inherit or default
2170 to_store.
2171 * target.h (struct target_ops) <to_store>: Use
2172 TARGET_DEFAULT_NORETURN.
2173
bebd3233
TT
21742014-02-19 Tom Tromey <tromey@redhat.com>
2175
2176 * target-delegates.c: Rebuild.
2177 * target.c (update_current_target): Don't inherit or default
2178 to_post_attach.
2179 * target.h (struct target_ops) <to_post_attach>: Use
2180 TARGET_DEFAULT_IGNORE.
2181
a53f3625
TT
21822014-02-19 Tom Tromey <tromey@redhat.com>
2183
2184 * target-delegates.c: Rebuild.
2185 * target.c (update_current_target): Don't inherit or default
2186 to_rcmd.
2187 (default_rcmd): New function.
2188 (do_monitor_command): Unconditionally delegate.
2189 * target.h (struct target_ops) <to_rmcd>: Use
2190 TARGET_DEFAULT_FUNC.
2191
e9a29200
TT
21922014-02-19 Tom Tromey <tromey@redhat.com>
2193
2194 * target-delegates.c: Rebuild.
2195 * target.c (init_dummy_target): Don't initialize to_attach.
2196 (target_attach): Unconditionally delegate.
2197 * target.h (struct target_ops) <to_attach>: Use
2198 TARGET_DEFAULT_FUNC.
2199
09da0d0a
TT
22002014-02-19 Tom Tromey <tromey@redhat.com>
2201
2202 * target-delegates.c: Rebuild.
2203 * target.c (target_detach): Unconditionally delegate.
2204 (init_dummy_target): Don't initialize to_detach.
2205 * target.h (struct target_ops) <to_detach>: Use
2206 TARGET_DEFAULT_IGNORE.
2207
5436ff03
TT
22082014-02-19 Tom Tromey <tromey@redhat.com>
2209
2210 * target.h (struct target_ops) <to_augmented_libraries_svr4_read>:
2211 Add argument.
2212 (target_augmented_libraries_svr4_read): Add argument.
2213 * target.c (update_current_target): Update.
2214 * remote.c (remote_augmented_libraries_svr4_read): Add 'self'
2215 argument.
2216
f0d960ea
TT
22172014-02-19 Tom Tromey <tromey@redhat.com>
2218
2219 * target.h (struct target_ops) <to_call_history_range>: Add
2220 argument.
2221 * target.c (target_call_history_range): Add argument.
2222 * record-btrace.c (record_btrace_call_history_range): Add 'self'
2223 argument.
2224 (record_btrace_call_history_from): Update.
2225
ec0aea04
TT
22262014-02-19 Tom Tromey <tromey@redhat.com>
2227
2228 * target.h (struct target_ops) <to_call_history_from>: Add
2229 argument.
2230 * target.c (target_call_history_from): Add argument.
2231 * record-btrace.c (record_btrace_call_history_from): Add 'self'
2232 argument.
2233
5df2fcba
TT
22342014-02-19 Tom Tromey <tromey@redhat.com>
2235
2236 * target.h (struct target_ops) <to_call_history>: Add argument.
2237 * target.c (target_call_history): Add argument.
2238 * record-btrace.c (record_btrace_call_history): Add 'self'
2239 argument.
2240
4e99c6b7
TT
22412014-02-19 Tom Tromey <tromey@redhat.com>
2242
2243 * target.h (struct target_ops) <to_insn_history_range>: Add
2244 argument.
2245 * target.c (target_insn_history_range): Add argument.
2246 * record-btrace.c (record_btrace_insn_history_range): Add 'self'
2247 argument.
2248 (record_btrace_insn_history_from): Update.
2249
9abc3ff3
TT
22502014-02-19 Tom Tromey <tromey@redhat.com>
2251
2252 * target.h (struct target_ops) <to_insn_history_from>: Add
2253 argument.
2254 * target.c (target_insn_history_from): Add argument.
2255 * record-btrace.c (record_btrace_insn_history_from): Add 'self'
2256 argument.
2257
7a6c5609
TT
22582014-02-19 Tom Tromey <tromey@redhat.com>
2259
2260 * target.h (struct target_ops) <to_insn_history>: Add argument.
2261 * target.c (target_insn_history): Add argument.
2262 * record-btrace.c (record_btrace_insn_history): Add 'self'
2263 argument.
2264
606183ac
TT
22652014-02-19 Tom Tromey <tromey@redhat.com>
2266
2267 * target.h (struct target_ops) <to_goto_record>: Add argument.
2268 * target.c (target_goto_record): Add argument.
2269 * record-full.c (record_full_goto): Add 'self' argument.
2270 * record-btrace.c (record_btrace_goto): Add 'self' argument.
2271
307a1b91
TT
22722014-02-19 Tom Tromey <tromey@redhat.com>
2273
2274 * target.h (struct target_ops) <to_goto_record_end>: Add argument.
2275 * target.c (target_goto_record_end): Add argument.
2276 * record-full.c (record_full_goto_end): Add 'self' argument.
2277 * record-btrace.c (record_btrace_goto_end): Add 'self' argument.
2278
08475817
TT
22792014-02-19 Tom Tromey <tromey@redhat.com>
2280
2281 * target.h (struct target_ops) <to_goto_record_begin>: Add
2282 argument.
2283 * target.c (target_goto_record_begin): Add argument.
2284 * record-full.c (record_full_goto_begin): Add 'self' argument.
2285 * record-btrace.c (record_btrace_goto_begin): Add 'self'
2286 argument.
2287
1c63c994
TT
22882014-02-19 Tom Tromey <tromey@redhat.com>
2289
2290 * target.h (struct target_ops) <to_record_is_replaying>: Add
2291 argument.
2292 * target.c (target_record_is_replaying): Add argument.
2293 * record-full.c (record_full_is_replaying): Add 'self' argument.
2294 * record-btrace.c (record_btrace_is_replaying): Add 'self'
2295 argument.
2296 (record_btrace_xfer_partial, record_btrace_store_registers)
2297 (record_btrace_prepare_to_store, record_btrace_resume)
2298 (record_btrace_wait, record_btrace_decr_pc_after_break)
2299 (record_btrace_find_new_threads, record_btrace_thread_alive):
2300 Update.
2301
d1b55219
TT
23022014-02-19 Tom Tromey <tromey@redhat.com>
2303
2304 * target.h (struct target_ops) <to_delete_record>: Add argument.
2305 * target.c (target_delete_record): Add argument.
2306 * record-full.c (record_full_delete): Add 'self' argument.
2307
1390f529
TT
23082014-02-19 Tom Tromey <tromey@redhat.com>
2309
2310 * target.h (struct target_ops) <to_save_record>: Add argument.
2311 * target.c (target_save_record): Add argument.
2312 * record-full.c (record_full_save): Add 'self' argument.
2313 (record_full_save): Add 'self' argument.
2314
630d6a4a
TT
23152014-02-19 Tom Tromey <tromey@redhat.com>
2316
2317 * target.h (struct target_ops) <to_info_record>: Add argument.
2318 * target.c (target_info_record): Add argument.
2319 * record.c (info_record_command): Add argument.
2320 * record-full.c (record_full_info): Add 'self' argument.
2321 * record-btrace.c (record_btrace_info): Add 'self' argument.
2322
c6cd7c02
TT
23232014-02-19 Tom Tromey <tromey@redhat.com>
2324
2325 * target.h (struct target_ops) <to_stop_recording>: Add argument.
2326 * target.c (target_stop_recording): Add argument.
2327 * record.c (record_stop): Add argument.
2328 * record-btrace.c (record_btrace_stop_recording): Add 'self'
2329 argument.
2330
39c49f83
TT
23312014-02-19 Tom Tromey <tromey@redhat.com>
2332
2333 * target.h (struct target_ops) <to_read_btrace>: Add argument.
2334 * target.c (struct target_ops) <to_read_btrace>: Add argument.
2335 * remote.c (struct target_ops) <to_read_btrace>: Add 'self'
2336 argument.
2337 * amd64-linux-nat.c (amd64_linux_read_btrace): New function.
2338 (_initialize_amd64_linux_nat): Use it.
2339 * i386-linux-nat.c (i386_linux_read_btrace): New function.
2340 (_initialize_i386_linux_nat): Use it.
2341
1777056d
TT
23422014-02-19 Tom Tromey <tromey@redhat.com>
2343
2344 * target.h (struct target_ops) <to_teardown_btrace>: Add argument.
2345 * target.c (target_teardown_btrace): Add argument.
2346 * remote.c (remote_teardown_btrace): Add 'self' argument.
2347 * i386-linux-nat.c (i386_linux_teardown_btrace): Add 'self'
2348 argument.
2349 * amd64-linux-nat.c (amd64_linux_teardown_btrace): Add 'self'
2350 argument.
2351
25e95349
TT
23522014-02-19 Tom Tromey <tromey@redhat.com>
2353
2354 * target.h (struct target_ops) <to_disable_btrace>: Add argument.
2355 * target.c (target_disable_btrace): Add argument.
2356 * remote.c (remote_disable_btrace): Add 'self' argument.
2357 * i386-linux-nat.c (i386_linux_disable_btrace): Add 'self'
2358 argument.
2359 * amd64-linux-nat.c (amd64_linux_disable_btrace): Add 'self'
2360 argument.
2361
e3c49f88
TT
23622014-02-19 Tom Tromey <tromey@redhat.com>
2363
2364 * target.h (struct target_ops) <to_enable_btrace>: Add argument.
2365 * target.c (target_enable_btrace): Add argument.
2366 * remote.c (remote_enable_btrace): Add 'self' argument.
2367 * i386-linux-nat.c (i386_linux_enable_btrace): Add 'self'
2368 argument.
2369 * amd64-linux-nat.c (amd64_linux_enable_btrace): Add 'self'
2370 argument.
2371
fe38f897
TT
23722014-02-19 Tom Tromey <tromey@redhat.com>
2373
2374 * target.h (struct target_ops) <to_can_use_agent>: Add argument.
2375 (target_can_use_agent): Add argument.
2376 * target.c (update_current_target): Update.
2377 * remote.c (remote_can_use_agent): Add 'self' argument.
2378 * inf-child.c (inf_child_can_use_agent): Add 'self' argument.
2379
2c152180
TT
23802014-02-19 Tom Tromey <tromey@redhat.com>
2381
2382 * target.h (struct target_ops) <to_use_agent>: Add argument.
2383 (target_use_agent): Add argument.
2384 * target.c (update_current_target): Update.
2385 * remote.c (remote_use_agent): Add 'self' argument.
2386 * inf-child.c (inf_child_use_agent): Add 'self' argument.
2387
a893e81f
TT
23882014-02-19 Tom Tromey <tromey@redhat.com>
2389
2390 * tracepoint.c (tfile_traceframe_info): Add 'self' argument.
2391 * target.h (struct target_ops) <to_traceframe_info>: Add argument.
2392 (target_traceframe_info): Add argument.
2393 * target.c (update_current_target): Update.
2394 * remote.c (remote_traceframe_info): Add 'self' argument.
2395 * ctf.c (ctf_traceframe_info): Add 'self' argument.
2396
c686c57f
TT
23972014-02-19 Tom Tromey <tromey@redhat.com>
2398
2399 * target.h (target_static_tracepoint_markers_by_strid): Add
2400 argument.
2401 (struct target_ops) <to_static_tracepoint_markers_by_strid>: Add
2402 'self' argument.
2403 * target.c (update_current_target): Update.
2404 * remote.c (struct target_ops)
2405 <to_static_tracepoint_markers_by_strid>: Add 'self' argument.
2406 * linux-nat.c (struct target_ops)
2407 <to_static_tracepoint_markers_by_strid>: Add 'self' argument.
2408
61fc905d
TT
24092014-02-19 Tom Tromey <tromey@redhat.com>
2410
2411 * target.h (struct target_ops) <to_static_tracepoint_marker_at>:
2412 Add argument.
2413 (target_static_tracepoint_marker_at): Add argument.
2414 * target.c (update_current_target): Update.
2415 * remote.c (remote_static_tracepoint_marker_at): Add 'self'
2416 argument.
2417
c378d69d
TT
24182014-02-19 Tom Tromey <tromey@redhat.com>
2419
2420 * target.h (struct target_ops) <to_set_permissions>: Add argument.
2421 (target_set_permissions): Add argument.
2422 * target.c (update_current_target): Update.
2423 * remote.c (remote_set_permissions): Add 'self' argument.
2424 (remote_start_remote): Update.
2425
bd7ae0f5
TT
24262014-02-19 Tom Tromey <tromey@redhat.com>
2427
2428 * windows-nat.c (windows_get_tib_address): Add 'self' argument.
2429 * target.h (struct target_ops) <to_get_tib_address>: Add argument.
2430 (target_get_tib_address): Add argument.
2431 * target.c (update_current_target): Update.
2432 * remote.c (remote_get_tib_address): Add 'self' argument.
2433
d9e68a2c
TT
24342014-02-19 Tom Tromey <tromey@redhat.com>
2435
2436 * target.h (struct target_ops) <to_set_trace_notes>: Add argument.
2437 (target_set_trace_notes): Add argument.
2438 * target.c (update_current_target): Update.
2439 * remote.c (remote_set_trace_notes): Add 'self' argument.
2440
4da384be
TT
24412014-02-19 Tom Tromey <tromey@redhat.com>
2442
2443 * target.h (struct target_ops) <to_set_trace_buffer_size>: Add
2444 argument.
2445 (target_set_trace_buffer_size): Add argument.
2446 * target.c (update_current_target): Update.
2447 * remote.c (remote_set_trace_buffer_size): Add 'self' argument.
2448
736d5b1f
TT
24492014-02-19 Tom Tromey <tromey@redhat.com>
2450
2451 * target.h (struct target_ops) <to_set_circular_trace_buffer>: Add
2452 argument.
2453 (target_set_circular_trace_buffer): Add argument.
2454 * target.c (update_current_target): Update.
2455 * remote.c (remote_set_circular_trace_buffer): Add 'self'
2456 argument.
2457
37b25738
TT
24582014-02-19 Tom Tromey <tromey@redhat.com>
2459
2460 * target.h (struct target_ops) <to_set_disconnected_tracing>: Add
2461 argument.
2462 (target_set_disconnected_tracing): Add argument.
2463 * target.c (update_current_target): Update.
2464 * remote.c (remote_set_disconnected_tracing): Add 'self' argument.
2465
0e67620a
TT
24662014-02-19 Tom Tromey <tromey@redhat.com>
2467
2468 * target.h (struct target_ops)
2469 <to_get_min_fast_tracepoint_insn_len>: Add argument.
2470 (target_get_min_fast_tracepoint_insn_len): Add argument.
2471 * target.c (update_current_target): Update.
2472 * remote.c (remote_get_min_fast_tracepoint_insn_len): Add 'self'
2473 argument.
2474
88ee6f45
TT
24752014-02-19 Tom Tromey <tromey@redhat.com>
2476
2477 * target.h (struct target_ops) <to_get_raw_trace_data>: Add
2478 argument.
2479 (target_get_raw_trace_data): Add argument.
2480 * target.c (update_current_target): Update.
2481 * remote.c (remote_get_raw_trace_data): Add 'self' argument.
2482
181e3713
TT
24832014-02-19 Tom Tromey <tromey@redhat.com>
2484
2485 * target.h (struct target_ops) <to_upload_trace_state_variables>:
2486 Add argument.
2487 (target_upload_trace_state_variables): Add argument.
2488 * target.c (update_current_target): Update.
2489 * remote.c (remote_upload_trace_state_variables): Add 'self'
2490 argument.
2491 (remote_start_remote): Update.
2492
ab6617cc
TT
24932014-02-19 Tom Tromey <tromey@redhat.com>
2494
2495 * target.h (struct target_ops) <to_upload_tracepoints>: Add
2496 argument.
2497 (target_upload_tracepoints): Add argument.
2498 * target.c (update_current_target): Update.
2499 * remote.c (remote_upload_tracepoints): Add 'self' argument.
2500 (remote_start_remote): Update.
2501
dc3decaf
TT
25022014-02-19 Tom Tromey <tromey@redhat.com>
2503
2504 * target.h (struct target_ops) <to_save_trace_data>: Add argument.
2505 (target_save_trace_data): Add argument.
2506 * target.c (update_current_target): Update.
2507 * remote.c (remote_save_trace_data): Add 'self' argument.
2508
4011015b
TT
25092014-02-19 Tom Tromey <tromey@redhat.com>
2510
2511 * tracepoint.c (tfile_get_trace_state_variable_value): Add 'self'
2512 argument.
2513 * target.h (struct target_ops)
2514 <to_get_trace_state_variable_value>: Add argument.
2515 (target_get_trace_state_variable_value): Add argument.
2516 * target.c (update_current_target): Update.
2517 * remote.c (remote_get_trace_state_variable_value): Add 'self'
2518 argument.
2519 * ctf.c (ctf_get_trace_state_variable_value): Add 'self' argument.
2520
bd4c6793
TT
25212014-02-19 Tom Tromey <tromey@redhat.com>
2522
2523 * tracepoint.c (tfile_trace_find): Add 'self' argument.
2524 * target.h (struct target_ops) <to_trace_find>: Add argument.
2525 (target_trace_find): Add argument.
2526 * target.c (update_current_target): Update.
2527 * remote.c (remote_trace_find): Add 'self' argument.
2528 * ctf.c (ctf_trace_find): Add 'self' argument.
2529
74499f1b
TT
25302014-02-19 Tom Tromey <tromey@redhat.com>
2531
2532 * target.h (struct target_ops) <to_trace_stop>: Add argument.
2533 (target_trace_stop): Add argument.
2534 * target.c (update_current_target): Update.
2535 * remote.c (remote_trace_stop): Add 'self' argument.
2536
db90e85c
TT
25372014-02-19 Tom Tromey <tromey@redhat.com>
2538
2539 * tracepoint.c (tfile_get_tracepoint_status): Add 'self' argument.
2540 * target.h (struct target_ops) <to_get_tracepoint_status>: Add
2541 argument.
2542 (target_get_tracepoint_status): Add argument.
2543 * target.c (update_current_target): Update.
2544 * remote.c (remote_get_tracepoint_status): Add 'self' argument.
2545
8bd200f1
TT
25462014-02-19 Tom Tromey <tromey@redhat.com>
2547
2548 * tracepoint.c (tfile_get_trace_status): Add 'self' argument.
2549 * target.h (struct target_ops) <to_get_trace_status>: Add
2550 argument.
2551 (target_get_trace_status): Add argument.
2552 * target.c (update_current_target): Update.
2553 * remote.c (remote_get_trace_status): Add 'self' argument.
2554 (remote_start_remote, remote_can_download_tracepoint): Update.
2555 * ctf.c (ctf_get_trace_status): Add 'self' argument.
2556
e2d1aae3
TT
25572014-02-19 Tom Tromey <tromey@redhat.com>
2558
2559 * target.h (struct target_ops) <to_trace_start>: Add argument.
2560 (target_trace_start): Add argument.
2561 * target.c (update_current_target): Update.
2562 * remote.c (remote_trace_start): Add 'self' argument.
2563
583f9a86
TT
25642014-02-19 Tom Tromey <tromey@redhat.com>
2565
2566 * target.h (struct target_ops) <to_trace_set_readonly_regions>:
2567 Add argument.
2568 (target_trace_set_readonly_regions): Add argument.
2569 * target.c (update_current_target): Update.
2570 * remote.c (remote_trace_set_readonly_regions): Add 'self'
2571 argument.
2572
780b049c
TT
25732014-02-19 Tom Tromey <tromey@redhat.com>
2574
2575 * target.h (struct target_ops) <to_disable_tracepoint>: Add
2576 argument.
2577 (target_disable_tracepoint): Add argument.
2578 * target.c (update_current_target): Update.
2579 * remote.c (remote_disable_tracepoint): Add 'self' argument.
2580
46670d57
TT
25812014-02-19 Tom Tromey <tromey@redhat.com>
2582
2583 * target.h (struct target_ops) <to_enable_tracepoint>: Add
2584 argument.
2585 (target_enable_tracepoint): Add argument.
2586 * target.c (update_current_target): Update.
2587 * remote.c (remote_enable_tracepoint): Add 'self' argument.
2588
559d2b81
TT
25892014-02-19 Tom Tromey <tromey@redhat.com>
2590
2591 * target.h (struct target_ops) <to_download_trace_state_variable>:
2592 Add argument.
2593 (target_download_trace_state_variable): Add argument.
2594 * target.c (update_current_target): Update.
2595 * remote.c (remote_download_trace_state_variable): Add 'self'
2596 argument.
2597
a52a8357
TT
25982014-02-19 Tom Tromey <tromey@redhat.com>
2599
2600 * target.h (struct target_ops) <to_can_download_tracepoint>: Add
2601 argument.
2602 (target_can_download_tracepoint): Add argument.
2603 * target.c (update_current_target): Update.
2604 * remote.c (remote_can_download_tracepoint): Add 'self' argument.
2605
548f7808
TT
26062014-02-19 Tom Tromey <tromey@redhat.com>
2607
2608 * target.h (struct target_ops) <to_download_tracepoint>: Add
2609 argument.
2610 (target_download_tracepoint): Add argument.
2611 * target.c (update_current_target): Update.
2612 * remote.c (remote_download_tracepoint): Add 'self' argument.
2613
ecae04e1
TT
26142014-02-19 Tom Tromey <tromey@redhat.com>
2615
2616 * target.h (struct target_ops) <to_trace_init>: Add argument.
2617 (target_trace_init): Add argument.
2618 * target.c (update_current_target): Update.
2619 * remote.c (remote_trace_init): Add 'self' argument.
2620
fab5aa7c
TT
26212014-02-19 Tom Tromey <tromey@redhat.com>
2622
2623 * target.h (struct target_ops) <to_fileio_readlink>: Add argument.
2624 * target.c (target_fileio_readlink): Add argument.
2625 * remote.c (remote_hostio_readlink): Add 'self' argument.
2626 * inf-child.c (inf_child_fileio_readlink): Add 'self' argument.
2627
dbbca37d
TT
26282014-02-19 Tom Tromey <tromey@redhat.com>
2629
2630 * target.h (struct target_ops) <to_fileio_unlink>: Add argument.
2631 * target.c (target_fileio_unlink): Add argument.
2632 * remote.c (remote_hostio_unlink): Add 'self' argument.
2633 (remote_file_delete): Update.
2634 * inf-child.c (inf_child_fileio_unlink): Add 'self' argument.
2635
df39ea25
TT
26362014-02-19 Tom Tromey <tromey@redhat.com>
2637
2638 * target.h (struct target_ops) <to_fileio_close>: Add argument.
2639 * target.c (target_fileio_close): Add argument.
2640 * remote.c (remote_hostio_close): Add 'self' argument.
2641 (remote_hostio_close_cleanup): Update.
2642 (remote_bfd_iovec_close, remote_file_put, remote_file_get):
2643 Update.
2644 * inf-child.c (inf_child_fileio_close): Add 'self' argument.
2645
a3be983c
TT
26462014-02-19 Tom Tromey <tromey@redhat.com>
2647
2648 * target.h (struct target_ops) <to_fileio_pread>: Add argument.
2649 * target.c (target_fileio_pread): Add argument.
2650 * remote.c (remote_hostio_pread): Add 'self' argument.
2651 (remote_bfd_iovec_pread, remote_file_get): Update.
2652 * inf-child.c (inf_child_fileio_pread): Add 'self' argument.
2653
0d866f62
TT
26542014-02-19 Tom Tromey <tromey@redhat.com>
2655
2656 * target.h (struct target_ops) <to_fileio_pwrite>: Add argument.
2657 * target.c (target_fileio_pwrite): Add argument.
2658 * remote.c (remote_hostio_pwrite): Add 'self' argument.
2659 (remote_file_put): Update.
2660 * inf-child.c (inf_child_fileio_pwrite): Add 'self' argument.
2661
cd897586
TT
26622014-02-19 Tom Tromey <tromey@redhat.com>
2663
2664 * target.h (struct target_ops) <to_fileio_open>: Add argument.
2665 * target.c (target_fileio_open): Add argument.
2666 * remote.c (remote_hostio_open): Add 'self' argument.
2667 (remote_bfd_iovec_open): Add 'self' argument.
2668 (remote_file_put): Add 'self' argument.
2669 (remote_file_get): Add 'self' argument.
2670 * inf-child.c (inf_child_fileio_open): Add 'self' argument.
2671
78eff0ec
TT
26722014-02-19 Tom Tromey <tromey@redhat.com>
2673
2674 * target.h (struct target_ops) <to_can_run_breakpoint_commands>:
2675 Add argument.
2676 (target_can_run_breakpoint_commands): Add argument.
2677 * target.c (update_current_target): Update.
2678 * remote.c (remote_can_run_breakpoint_commands): Add 'self'
2679 argument.
2680 (remote_insert_breakpoint): Add 'self' argument.
2681 (remote_insert_hw_breakpoint): Add 'self' argument.
2682 (remote_can_run_breakpoint_commands): Add 'self' argument.
2683
efcc2da7
TT
26842014-02-19 Tom Tromey <tromey@redhat.com>
2685
2686 * target.h (struct target_ops)
2687 <to_supports_evaluation_of_breakpoint_conditions>: Add argument.
2688 (target_supports_evaluation_of_breakpoint_conditions): Add
2689 argument.
2690 * target.c (update_current_target): Update.
2691 * remote.c (remote_supports_cond_breakpoints): Add 'self'
2692 argument.
2693 (remote_insert_breakpoint): Add 'self' argument.
2694 (remote_insert_hw_breakpoint): Add 'self' argument.
2695 (remote_supports_cond_breakpoints): Add 'self' argument.
2696
6de37a3a
TT
26972014-02-19 Tom Tromey <tromey@redhat.com>
2698
2699 * target.h (struct target_ops) <to_supports_string_tracing>: Add
2700 argument.
2701 (target_supports_string_tracing): Add argument.
2702 * target.c (update_current_target): Update.
2703 * remote.c (remote_supports_string_tracing): Add 'self' argument.
2704
2bfc0540
TT
27052014-02-19 Tom Tromey <tromey@redhat.com>
2706
2707 * target.h (struct target_ops)
2708 <to_supports_disable_randomization>: Add argument.
2709 * target.c (find_default_supports_disable_randomization): Add
2710 argument.
2711 (target_supports_disable_randomization): Add argument.
2712 (find_default_supports_disable_randomization): Add 'self'
2713 argument.
2714 * remote.c (extended_remote_supports_disable_randomization): Add
2715 'self' argument.
2716 (remote_supports_disable_randomization): Add 'self' argument.
2717 (extended_remote_create_inferior): Update.
2718 * linux-nat.c (linux_nat_supports_disable_randomization): Add
2719 'self' argument.
2720
7d178d6a
TT
27212014-02-19 Tom Tromey <tromey@redhat.com>
2722
2723 * target.h (struct target_ops)
2724 <to_supports_enable_disable_tracepoint>: Add argument.
2725 (target_supports_enable_disable_tracepoint): Add argument.
2726 * target.c (update_current_target): Update.
2727 * remote.c (remote_supports_enable_disable_tracepoint): Add 'self'
2728 argument.
2729
86ce2668
TT
27302014-02-19 Tom Tromey <tromey@redhat.com>
2731
2732 * target.h (struct target_ops) <to_supports_multi_process>: Add
2733 argument.
2734 (target_supports_multi_process): Add argument.
2735 * target.c (update_current_target): Update.
2736 * remote.c (remote_supports_multi_process): Add 'self' argument.
2737 * linux-nat.c (linux_nat_supports_multi_process): Add 'self'
2738 argument.
2739 * darwin-nat.c (darwin_supports_multi_process): Add 'self'
2740 argument.
2741
4c612759
TT
27422014-02-19 Tom Tromey <tromey@redhat.com>
2743
2744 * target.h (struct target_ops) <to_execution_direction>: Add
2745 argument.
2746 (target_execution_direction): Add argument.
2747 * target.c (default_execution_direction): Add 'self' argument.
2748 * record-full.c (record_full_execution_direction): Add 'self'
2749 argument.
2750
19db3e69
TT
27512014-02-19 Tom Tromey <tromey@redhat.com>
2752
2753 * target.h (struct target_ops) <to_can_execute_reverse>: Add
2754 argument.
2755 (target_can_execute_reverse): Add argument.
2756 * remote.c (remote_can_execute_reverse): Add 'self' argument.
2757 * record-full.c (record_full_can_execute_reverse): Add 'self'
2758 argument.
2759 * record-btrace.c (record_btrace_can_execute_reverse): Add 'self'
2760 argument.
2761
1e6b91a4
TT
27622014-02-19 Tom Tromey <tromey@redhat.com>
2763
2764 * windows-nat.c (windows_get_ada_task_ptid): Add 'self' argument.
2765 * target.h (struct target_ops) <to_get_ada_task_ptid>: Add
2766 argument.
2767 (target_get_ada_task_ptid): Add argument.
2768 * target.c (update_current_target): Update.
2769 (default_get_ada_task_ptid): Add 'self' argument.
2770 * sol-thread.c (sol_get_ada_task_ptid): Add 'self' argument.
2771 * remote.c (remote_get_ada_task_ptid): Add 'self' argument.
2772 * ravenscar-thread.c (ravenscar_get_ada_task_ptid): Add 'self'
2773 argument.
2774 * linux-thread-db.c (thread_db_get_ada_task_ptid): Add 'self'
2775 argument.
2776 * inf-ttrace.c (inf_ttrace_get_ada_task_ptid): Add 'self'
2777 argument.
2778 * dec-thread.c (dec_thread_get_ada_task_ptid): Add 'self'
2779 argument.
2780 * darwin-nat.c (darwin_get_ada_task_ptid): Add 'self' argument.
2781 * aix-thread.c (aix_thread_get_ada_task_ptid): Add 'self'
2782 argument.
2783
3c80fb48
TT
27842014-02-19 Tom Tromey <tromey@redhat.com>
2785
2786 * target.h (struct target_ops) <to_goto_bookmark>: Add argument.
2787 (target_goto_bookmark): Add argument.
2788 * target.c (dummy_goto_bookmark): Add 'self' argument.
2789 * record-full.c (record_full_goto_bookmark): Add 'self' argument.
2790
dd0e2830
TT
27912014-02-19 Tom Tromey <tromey@redhat.com>
2792
2793 * target.h (struct target_ops) <to_get_bookmark>: Add argument.
2794 (target_get_bookmark): Add argument.
2795 * target.c (dummy_get_bookmark): Add 'self' argument.
2796 * record-full.c (record_full_get_bookmark): Add 'self' argument.
2797
fc6691b2
TT
27982014-02-19 Tom Tromey <tromey@redhat.com>
2799
2800 * target.h (struct target_ops) <to_make_corefile_notes>: Add
2801 argument.
2802 (target_make_corefile_notes): Add argument.
2803 * target.c (dummy_make_corefile_notes): Add 'self' argument.
2804 * procfs.c (procfs_make_note_section): Add 'self' argument.
2805 (procfs_make_note_section): Add 'self' argument.
2806 (procfs_make_note_section): Add 'self' argument.
2807 * linux-nat.c (linux_nat_make_corefile_notes): Add 'self'
2808 argument.
2809 * fbsd-nat.h (fbsd_make_corefile_notes): Add 'self' argument.
2810 * fbsd-nat.c (fbsd_make_corefile_notes): Add 'self' argument.
2811 * exec.c (exec_make_note_section): Add 'self' argument.
2812 (exec_make_note_section): Add 'self' argument.
2813
2e73927c
TT
28142014-02-19 Tom Tromey <tromey@redhat.com>
2815
2816 * target.h (struct target_ops) <to_find_memory_regions>: Add
2817 argument.
2818 (target_find_memory_regions): Add argument.
2819 * target.c (dummy_find_memory_regions): Add 'self' argument.
2820 * procfs.c (proc_find_memory_regions): Add 'self' argument.
2821 * gnu-nat.c (gnu_find_memory_regions): Add 'self' argument.
2822 * fbsd-nat.h (fbsd_find_memory_regions): Add 'self' argument.
2823 * fbsd-nat.c (fbsd_find_memory_regions): Add 'self' argument.
2824 * exec. (exec_do_find_memory_regions): New global.
2825 (exec_set_find_memory_regions): Rewrite.
2826 (exec_find_memory_regions): New function.
2827 (init_exec_ops): Use exec_find_memory_regions.
2828
2a9a2795
TT
28292014-02-19 Tom Tromey <tromey@redhat.com>
2830
2831 * target.h (struct target_ops) <to_supports_non_stop>: Add
2832 argument.
2833 * target.c (find_default_supports_non_stop): Add argument.
2834 (target_supports_non_stop): Add argument.
2835 (find_default_supports_non_stop): Add 'self' argument.
2836 * remote.c (remote_supports_non_stop): Add 'self' argument.
2837 * linux-nat.c (linux_nat_supports_non_stop): Add 'self' argument.
2838
4ab76ea3
TT
28392014-02-19 Tom Tromey <tromey@redhat.com>
2840
2841 * target.h (struct target_ops) <to_log_command>: Add argument.
2842 (target_log_command): Add argument.
2843 * serial.h (serial_log_command): Add 'self' argument.
2844 * serial.c (serial_log_command): Add 'self' argument.
2845
8dd27370
TT
28462014-02-19 Tom Tromey <tromey@redhat.com>
2847
2848 * windows-nat.c (windows_pid_to_exec_file): Add 'self' argument.
2849 * target.h (struct target_ops) <to_pid_to_exec_file>: Add
2850 argument.
2851 (target_pid_to_exec_file): Add argument.
2852 * target.c (debug_to_pid_to_exec_file): Add argument.
2853 (update_current_target): Update.
2854 * nbsd-nat.h (nbsd_pid_to_exec_file): Add 'self' argument.
2855 * nbsd-nat.c (nbsd_pid_to_exec_file): Add 'self' argument.
2856 * linux-nat.c (linux_child_pid_to_exec_file): Add 'self' argument.
2857 (linux_handle_extended_wait): Update.
2858 * inf-child.c (inf_child_pid_to_exec_file): Add 'self' argument.
2859 * fbsd-nat.h (fbsd_pid_to_exec_file): Add 'self' argument.
2860 * fbsd-nat.c (fbsd_pid_to_exec_file): Add 'self' argument.
2861 * darwin-nat.c (darwin_pid_to_exec_file): Add 'self' argument.
2862
1aac633b
TT
28632014-02-19 Tom Tromey <tromey@redhat.com>
2864
2865 * target.h (struct target_ops) <to_rcmd>: Add argument.
2866 (target_rcmd): Add argument.
2867 * target.c (debug_to_rcmd): Add argument.
2868 (update_current_target, do_monitor_command): Update.
2869 * remote.c (remote_rcmd): Add 'self' argument.
2870 * monitor.c (monitor_rcmd): Add 'self' argument.
2871
1eab8a48
TT
28722014-02-19 Tom Tromey <tromey@redhat.com>
2873
2874 * windows-nat.c (windows_stop): Add 'self' argument.
2875 * target.h (struct target_ops) <to_stop>: Add argument.
2876 * target.c (target_stop): Add argument.
2877 (debug_to_stop): Add argument.
2878 (update_current_target): Update.
2879 * remote.c (remote_stop): Add 'self' argument.
2880 * remote-sim.c (gdbsim_stop): Add 'self' argument.
2881 (gdbsim_cntrl_c): Update.
2882 * remote-m32r-sdi.c (m32r_stop): Add 'self' argument.
2883 * procfs.c (procfs_stop): Add 'self' argument.
2884 * nto-procfs.c (procfs_stop): Add 'self' argument.
2885 * monitor.c (monitor_stop): Add 'self' argument.
2886 (monitor_open): Update.
2887 * linux-nat.c (linux_nat_stop): Add argument.
2888 * inf-ptrace.c (inf_ptrace_stop): Add 'self' argument.
2889 * gnu-nat.c (gnu_stop): Add 'self' argument.
2890 * darwin-nat.c (darwin_stop): Add 'self' argument.
2891
503a628d
TT
28922014-02-19 Tom Tromey <tromey@redhat.com>
2893
2894 * target.h (struct target_ops) <to_thread_name>: Add argument.
2895 * target.c (target_thread_name): Add argument.
2896 (update_current_target): Update.
2897 * linux-nat.c (linux_nat_thread_name): Add 'self' argument.
2898
c15906d8
TT
28992014-02-19 Tom Tromey <tromey@redhat.com>
2900
2901 * target.h (struct target_ops) <to_extra_thread_info>: Add
2902 argument.
2903 (target_extra_thread_info): Add argument.
2904 * target.c (update_current_target): Update.
2905 * remote.c (remote_threads_extra_info): Add 'self' argument.
2906 * ravenscar-thread.c (ravenscar_extra_thread_info): Add 'self'
2907 argument.
2908 * nto-tdep.h (nto_extra_thread_info): Add 'self' argument.
2909 * nto-tdep.c (nto_extra_thread_info): Add 'self' argument.
2910 * linux-thread-db.c (thread_db_extra_thread_info): Add 'self'
2911 argument.
2912 * inf-ttrace.c (inf_ttrace_extra_thread_info): Add 'self'
2913 argument.
2914 * bsd-uthread.c (bsd_uthread_extra_thread_info): Add 'self'
2915 argument.
2916 * aix-thread.c (aix_thread_extra_thread_info): Add 'self'
2917 argument.
2918
daf5e9b6
TT
29192014-02-19 Tom Tromey <tromey@redhat.com>
2920
2921 * target.h (struct target_ops) <to_program_signals>: Add argument.
2922 * target.c (target_program_signals): Add argument.
2923 * remote.c (remote_program_signals): Add 'self' argument.
2924
94bedb42
TT
29252014-02-19 Tom Tromey <tromey@redhat.com>
2926
2927 * target.h (struct target_ops) <to_pass_signals>: Add argument.
2928 * target.c (target_pass_signals): Add argument.
2929 * remote.c (remote_pass_signals): Add 'self' argument.
2930 (remote_start_remote): Update.
2931 * procfs.c (procfs_pass_signals): Add 'self' argument.
2932 * nto-procfs.c (procfs_pass_signals): Add 'self' argument.
2933 * linux-nat.c (linux_nat_pass_signals): Add 'self' argument.
2934 (linux_nat_create_inferior, linux_nat_attach): Update.
2935
da82bd6b
TT
29362014-02-19 Tom Tromey <tromey@redhat.com>
2937
2938 * windows-nat.c (windows_can_run): Add 'self' argument.
2939 * target.h (struct target_ops) <to_can_run>: Add argument.
2940 (target_can_run): Add argument.
2941 * target.c (debug_to_can_run): Add argument.
2942 (update_current_target): Update.
2943 * nto-procfs.c (procfs_can_run): Add 'self' argument.
2944 * inf-child.c (inf_child_can_run): Add 'self' argument.
2945 * go32-nat.c (go32_can_run): Add 'self' argument.
2946
d796e1d6
TT
29472014-02-19 Tom Tromey <tromey@redhat.com>
2948
2949 * target.h (struct target_ops) <to_has_exited>: Add argument.
2950 (target_has_exited): Add argument.
2951 * target.c (debug_to_has_exited): Add argument.
2952 (update_current_target): Update.
2953
ff214e67
TT
29542014-02-19 Tom Tromey <tromey@redhat.com>
2955
2956 * target.h (struct target_ops) <to_set_syscall_catchpoint>: Add
2957 argument.
2958 (target_set_syscall_catchpoint): Add argument.
2959 * linux-nat.c (linux_child_set_syscall_catchpoint): Add 'self'
2960 argument.
2961 * target.c (update_current_target): Update.
2962
758e29d2
TT
29632014-02-19 Tom Tromey <tromey@redhat.com>
2964
2965 * target.h (struct target_ops) <to_remove_exec_catchpoint>: Add
2966 argument.
2967 (target_remove_exec_catchpoint): Add argument.
2968 * target.c (debug_to_remove_exec_catchpoint): Add argument.
2969 (update_current_target): Update.
2970 * linux-nat.c (linux_child_remove_exec_catchpoint): Add 'self'
2971 argument.
2972
ba025e51
TT
29732014-02-19 Tom Tromey <tromey@redhat.com>
2974
2975 * target.h (struct target_ops) <to_insert_exec_catchpoint>: Add
2976 argument.
2977 (target_insert_exec_catchpoint): Add argument.
2978 * target.c (debug_to_insert_exec_catchpoint): Add argument.
2979 (update_current_target): Update.
2980 * linux-nat.c (linux_child_insert_exec_catchpoint): Add 'self'
2981 argument.
2982
e98cf0cd
TT
29832014-02-19 Tom Tromey <tromey@redhat.com>
2984
2985 * target.h (struct target_ops) <to_remove_vfork_catchpoint>: Add
2986 argument.
2987 (target_remove_vfork_catchpoint): Add argument.
2988 * target.c (debug_to_remove_vfork_catchpoint): Add argument.
2989 (update_current_target): Update.
2990 * linux-nat.c (linux_child_remove_vfork_catchpoint): Add 'self'
2991 argument.
2992
3ecc7da0
TT
29932014-02-19 Tom Tromey <tromey@redhat.com>
2994
2995 * target.h (struct target_ops) <to_insert_vfork_catchpoint>: Add
2996 argument.
2997 (target_insert_vfork_catchpoint): Add argument.
2998 * target.c (debug_to_insert_vfork_catchpoint): Add argument.
2999 (update_current_target): Update.
3000 * linux-nat.c (linux_child_insert_vfork_catchpoint): Add 'self'
3001 argument.
3002
973fc227
TT
30032014-02-19 Tom Tromey <tromey@redhat.com>
3004
3005 * target.h (struct target_ops) <to_remove_fork_catchpoint>: Add
3006 argument.
3007 (target_remove_fork_catchpoint): Add argument.
3008 * target.c (debug_to_remove_fork_catchpoint): Add argument.
3009 (update_current_target): Update.
3010 * linux-nat.c (linux_child_remove_fork_catchpoint): Add 'self'
3011 argument.
3012
a863b201
TT
30132014-02-19 Tom Tromey <tromey@redhat.com>
3014
3015 * target.h (struct target_ops) <to_insert_fork_catchpoint>: Add
3016 argument.
3017 (target_insert_fork_catchpoint): Add argument.
3018 * target.c (debug_to_insert_fork_catchpoint): Add argument.
3019 (update_current_target): Update.
3020 * linux-nat.c (linux_child_insert_fork_catchpoint): Add 'self'
3021 argument.
3022
2e97a79e
TT
30232014-02-19 Tom Tromey <tromey@redhat.com>
3024
3025 * target.h (struct target_ops) <to_post_startup_inferior>: Add
3026 argument.
3027 (target_post_startup_inferior): Add argument.
3028 * target.c (debug_to_post_startup_inferior): Add argument.
3029 (update_current_target): Update.
3030 * spu-linux-nat.c (spu_child_post_startup_inferior): Add 'self'
3031 argument.
3032 * linux-nat.c (linux_child_post_startup_inferior): Add 'self'
3033 argument.
3034 * inf-ptrace.c (inf_ptrace_post_startup_inferior): Add 'self'
3035 argument.
3036 * inf-child.c (inf_child_post_startup_inferior): Add 'self'
3037 argument.
3038 * i386-linux-nat.c (i386_linux_child_post_startup_inferior): Add
3039 'self' argument.
3040 (super_post_startup_inferior): Likewise.
3041 * amd64-linux-nat.c (amd64_linux_child_post_startup_inferior): Add
3042 'self' argument.
3043 (super_post_startup_inferior): Likewise.
3044 * aarch64-linux-nat.c (aarch64_linux_child_post_startup_inferior):
3045 Add 'self' argument.
3046 (super_post_startup_inferior): Likewise.
3047
71a9f134
TT
30482014-02-19 Tom Tromey <tromey@redhat.com>
3049
3050 * target.h (struct target_ops) <to_load>: Add argument.
3051 * target.c (target_load): Add argument.
3052 (debug_to_load): Add argument.
3053 (update_current_target): Update.
3054 * remote.c (remote_load): Add 'self' argument.
3055 * remote-sim.c (gdbsim_load): Add 'self' argument.
3056 * remote-mips.c (mips_load): Add 'self' argument.
3057 * remote-m32r-sdi.c (m32r_load): Add 'self' argument.
3058 * monitor.c (monitor_load): Add 'self' argument.
3059 * m32r-rom.c (m32r_load_gen): Add 'self' argument.
3060
0a4f40a2
TT
30612014-02-19 Tom Tromey <tromey@redhat.com>
3062
3063 * target.h (struct target_ops) <to_terminal_info>: Add argument.
3064 (target_terminal_info): Add argument.
3065 * target.c (debug_to_terminal_info): Add argument.
3066 (default_terminal_info): Likewise.
3067 * inflow.c (child_terminal_info): Add 'self' argument.
3068 * inferior.h (child_terminal_info): Add 'self' argument.
3069 * go32-nat.c (go32_terminal_info): Add 'self' argument.
3070
ae3bd431
TT
30712014-02-19 Tom Tromey <tromey@redhat.com>
3072
3073 * target.h (struct target_ops) <to_terminal_save_ours>: Add
3074 argument.
3075 (target_terminal_save_ours): Add argument.
3076 * target.c (debug_to_terminal_save_ours): Add argument.
3077 (update_current_target): Update.
3078 * inflow.c (terminal_save_ours): Add 'self' argument.
3079 * inferior.h (terminal_save_ours): Add 'self' argument.
3080
e3594fd1
TT
30812014-02-19 Tom Tromey <tromey@redhat.com>
3082
3083 * target.h (struct target_ops) <to_terminal_ours>: Add argument.
3084 (target_terminal_ours): Add argument.
3085 * target.c (debug_to_terminal_ours): Add argument.
3086 (update_current_target): Update.
3087 * remote.c (remote_terminal_ours): Add 'self' argument.
3088 (remote_close): Update.
3089 * linux-nat.c (linux_nat_terminal_ours): Add 'self' argument.
3090 * inflow.c (terminal_ours): Add 'self' argument.
3091 * inferior.h (terminal_ours): Add 'self' argument.
3092 * go32-nat.c (go32_terminal_ours): Add 'self' argument.
3093
2e1e1a19
TT
30942014-02-19 Pedro Alves <palves@redhat.com>
3095 Tom Tromey <tromey@redhat.com>
3096
3097 * target.h (struct target_ops) <to_terminal_ours_for_output>: Add
3098 argument.
3099 (target_terminal_ours_for_output): Add argument.
3100 * target.c (debug_to_terminal_ours_for_output): Add argument.
3101 (update_current_target): Update.
3102 * inflow.c (terminal_ours_for_output): Add 'self' argument.
3103 * inferior.h (terminal_ours_for_output): Add 'self' argument.
3104 * go32-nat.c (go32_terminal_ours): Add 'self' argument.
3105
d2f640d4
TT
31062014-02-19 Tom Tromey <tromey@redhat.com>
3107
3108 * target.h (struct target_ops) <to_terminal_inferior>: Add
3109 argument.
3110 * target.c (target_terminal_inferior): Add argument.
3111 (update_current_target): Update.
3112 * remote.c (remote_terminal_inferior): Add 'self' argument.
3113 * linux-nat.c (linux_nat_terminal_inferior): Add 'self' argument.
3114 * inflow.c (terminal_inferior): Add 'self' argument.
3115 * inferior.h (terminal_inferior): Add 'self' argument.
3116 * go32-nat.c (go32_terminal_inferior): Add 'self' argument.
3117 (go32_terminal_inferior): Add 'self' argument.
3118
c42bf286
TT
31192014-02-19 Tom Tromey <tromey@redhat.com>
3120
3121 * target.h (struct target_ops) <to_terminal_init>: Add argument.
3122 (target_terminal_init): Add argument.
3123 * target.c (debug_to_terminal_init): Add argument.
3124 (update_current_target): Update.
3125 * inflow.c (terminal_init_inferior): Add 'self' argument.
3126 * inferior.h (terminal_init_inferior): Add 'self' argument.
3127 * go32-nat.c (go32_terminal_init): Add 'self' argument.
3128 * gnu-nat.c (gnu_terminal_init_inferior): Add 'self' argument.
3129
c3a5ff89
TT
31302014-02-19 Tom Tromey <tromey@redhat.com>
3131
3132 * target.h (struct target_ops)
3133 <to_can_accel_watchpoint_condition>: Add argument.
3134 (target_can_accel_watchpoint_condition): Add argument.
3135 * target.c (debug_to_can_accel_watchpoint_condition): Add
3136 argument.
3137 (update_current_target): Update.
3138 * ppc-linux-nat.c (ppc_linux_can_accel_watchpoint_condition): Add
3139 'self' argument.
3140
31568a15
TT
31412014-02-19 Tom Tromey <tromey@redhat.com>
3142
3143 * target.h (struct target_ops) <to_region_ok_for_hw_watchpoint>:
3144 Add argument.
3145 (target_region_ok_for_hw_watchpoint): Add argument.
3146 * target.c (debug_to_region_ok_for_hw_watchpoint): Add argument.
3147 (default_region_ok_for_hw_watchpoint): Add argument.
3148 * spu-multiarch.c (spu_region_ok_for_hw_watchpoint): Add argument.
3149 * s390-linux-nat.c (s390_region_ok_for_hw_watchpoint): Add 'self'
3150 argument.
3151 * remote.c (remote_region_ok_for_hw_watchpoint): Add 'self'
3152 argument.
3153 * procfs.c (procfs_region_ok_for_hw_watchpoint): Add 'self'
3154 argument.
3155 * ppc-linux-nat.c (ppc_linux_region_ok_for_hw_watchpoint): Add
3156 'self' argument.
3157 * mips-linux-nat.c (mips_linux_region_ok_for_hw_watchpoint): Add
3158 'self' argument.
3159 * inf-ttrace.c (inf_ttrace_region_ok_for_hw_watchpoint): Add
3160 'self' argument.
3161 * i386-nat.c (i386_region_ok_for_watchpoint): Add 'self' argument.
3162 * arm-linux-nat.c (arm_linux_region_ok_for_hw_watchpoint): Add
3163 'self' argument.
3164 * aarch64-linux-nat.c (aarch64_linux_region_ok_for_hw_watchpoint):
3165 Add 'self' argument.
3166
7bb99c53
TT
31672014-02-19 Tom Tromey <tromey@redhat.com>
3168
3169 * target.h (struct target_ops) <to_insert_watchpoint>: Add
3170 argument.
3171 (target_insert_watchpoint): Add argument.
3172 * target.c (debug_to_insert_watchpoint): Add argument.
3173 (update_current_target): Update.
3174 * s390-linux-nat.c (s390_insert_watchpoint): Add 'self' argument.
3175 * remote.c (remote_insert_watchpoint): Add 'self' argument.
3176 * remote-mips.c (mips_insert_watchpoint): Add 'self' argument.
3177 * remote-m32r-sdi.c (m32r_insert_watchpoint): Add 'self' argument.
3178 * procfs.c (procfs_insert_watchpoint): Add 'self' argument.
3179 * ppc-linux-nat.c (ppc_linux_insert_watchpoint): Add 'self'
3180 argument.
3181 * nto-procfs.c (procfs_insert_hw_watchpoint): Add 'self' argument.
3182 (procfs_insert_hw_watchpoint): Add 'self' argument.
3183 * mips-linux-nat.c (mips_linux_insert_watchpoint): Add 'self'
3184 argument.
3185 * inf-ttrace.c (inf_ttrace_insert_watchpoint): Add 'self'
3186 argument.
3187 * ia64-linux-nat.c (ia64_linux_insert_watchpoint): Add 'self'
3188 argument.
3189 * i386-nat.c (i386_insert_watchpoint): Add 'self' argument.
3190 * arm-linux-nat.c (arm_linux_insert_watchpoint): Add 'self'
3191 argument.
3192 * aarch64-linux-nat.c (aarch64_linux_insert_watchpoint): Add
3193 'self' argument.
3194
11b5219a
TT
31952014-02-19 Tom Tromey <tromey@redhat.com>
3196
3197 * target.h (struct target_ops) <to_remove_watchpoint>: Add
3198 argument.
3199 (target_remove_watchpoint): Add argument.
3200 * target.c (debug_to_remove_watchpoint): Add argument.
3201 (update_current_target): Update.
3202 * s390-linux-nat.c (s390_remove_watchpoint): Add 'self' argument.
3203 * remote.c (remote_remove_watchpoint): Add 'self' argument.
3204 * remote-mips.c (mips_remove_watchpoint): Add 'self' argument.
3205 * remote-m32r-sdi.c (m32r_remove_watchpoint): Add 'self' argument.
3206 * procfs.c (procfs_remove_watchpoint): Add 'self' argument.
3207 * ppc-linux-nat.c (ppc_linux_remove_watchpoint): Add 'self'
3208 argument.
3209 * nto-procfs.c (procfs_remove_hw_watchpoint): Add 'self' argument.
3210 * mips-linux-nat.c (mips_linux_remove_watchpoint): Add 'self'
3211 argument.
3212 * inf-ttrace.c (inf_ttrace_remove_watchpoint): Add 'self'
3213 argument.
3214 * ia64-linux-nat.c (ia64_linux_remove_watchpoint): Add 'self'
3215 argument.
3216 * i386-nat.c (i386_remove_watchpoint): Add 'self' argument.
3217 * arm-linux-nat.c (arm_linux_remove_watchpoint): Add 'self'
3218 argument.
3219 * aarch64-linux-nat.c (aarch64_linux_remove_watchpoint): Add
3220 'self' argument.
3221
a64dc96c
TT
32222014-02-19 Tom Tromey <tromey@redhat.com>
3223
3224 * target.h (struct target_ops) <to_remove_hw_breakpoint>: Add
3225 argument.
3226 (target_remove_hw_breakpoint): Add argument.
3227 * target.c (debug_to_remove_hw_breakpoint): Add argument.
3228 (update_current_target): Update.
3229 * remote.c (remote_remove_hw_breakpoint): Add 'self' argument.
3230 * ppc-linux-nat.c (ppc_linux_remove_hw_breakpoint): Add 'self'
3231 argument.
3232 * i386-nat.c (i386_remove_hw_breakpoint): Add 'self' argument.
3233 * arm-linux-nat.c (arm_linux_remove_hw_breakpoint): Add 'self'
3234 argument.
3235 * aarch64-linux-nat.c (aarch64_linux_remove_hw_breakpoint): Add
3236 'self' argument.
3237
23a26771
TT
32382014-02-19 Tom Tromey <tromey@redhat.com>
3239
3240 * target.h (struct target_ops) <to_insert_hw_breakpoint>: Add
3241 argument.
3242 (target_insert_hw_breakpoint): Add argument.
3243 * target.c (debug_to_insert_hw_breakpoint): Add argument.
3244 (update_current_target): Update.
3245 * remote.c (remote_insert_hw_breakpoint): Add 'self' argument.
3246 * ppc-linux-nat.c (ppc_linux_insert_hw_breakpoint): Add 'self'
3247 argument.
3248 * nto-procfs.c (procfs_insert_hw_breakpoint): Add 'self' argument.
3249 * i386-nat.c (i386_insert_hw_breakpoint): Add 'self' argument.
3250 * arm-linux-nat.c (arm_linux_insert_hw_breakpoint): Add 'self'
3251 argument.
3252 * aarch64-linux-nat.c (aarch64_linux_insert_hw_breakpoint): Add
3253 'self' argument.
3254
5461485a
TT
32552014-02-19 Tom Tromey <tromey@redhat.com>
3256
3257 * target.h (struct target_ops) <to_can_use_hw_breakpoint>: Add
3258 argument.
3259 (target_can_use_hardware_watchpoint): Add argument.
3260 * target.c (debug_to_can_use_hw_breakpoint): Add argument.
3261 (update_current_target): Update.
3262 * spu-linux-nat.c (spu_can_use_hw_breakpoint): Add 'self'
3263 argument.
3264 * s390-linux-nat.c (s390_can_use_hw_breakpoint): Add 'self'
3265 argument.
3266 * remote.c (remote_check_watch_resources): Add 'self' argument.
3267 * remote-mips.c (mips_can_use_watchpoint): Add 'self' argument.
3268 * remote-m32r-sdi.c (m32r_can_use_hw_watchpoint): Add 'self'
3269 argument.
3270 * procfs.c (procfs_can_use_hw_breakpoint): Add 'self' argument.
3271 * ppc-linux-nat.c (ppc_linux_can_use_hw_breakpoint): Add 'self'
3272 argument.
3273 * nto-procfs.c (procfs_can_use_hw_breakpoint): Add 'self'
3274 argument.
3275 * mips-linux-nat.c (mips_linux_can_use_hw_breakpoint): Add 'self'
3276 argument.
3277 * inf-ttrace.c (inf_ttrace_can_use_hw_breakpoint): Add 'self'
3278 argument.
3279 * ia64-linux-nat.c (ia64_linux_can_use_hw_breakpoint): Add 'self'
3280 argument.
3281 * ia64-hpux-nat.c (ia64_hpux_can_use_hw_breakpoint): Add 'self'
3282 argument.
3283 * i386-nat.c (i386_can_use_hw_breakpoint): Add 'self' argument.
3284 * arm-linux-nat.c (arm_linux_can_use_hw_breakpoint): Add 'self'
3285 argument.
3286 * aarch64-linux-nat.c (aarch64_linux_can_use_hw_breakpoint): Add
3287 'self' argument.
3288
f045800c
TT
32892014-02-19 Tom Tromey <tromey@redhat.com>
3290
3291 * target.h (struct target_ops) <to_post_attach>: Add argument.
3292 (target_post_attach): Add argument.
3293 * target.c (debug_to_post_attach): Add argument.
3294 (update_current_target): Update.
3295 * spu-linux-nat.c (spu_child_post_attach): Add 'self' argument.
3296 * nto-procfs.c (procfs_post_attach): Add 'self' argument.
3297 * linux-nat.c (linux_child_post_attach): Add 'self' argument.
3298 * inf-ptrace.c (inf_ptrace_post_attach): Add 'self' argument.
3299 * inf-child.c (inf_child_post_attach): Add 'self' argument.
3300
de90e03d
TT
33012014-02-19 Tom Tromey <tromey@redhat.com>
3302
3303 * windows-nat.c (windows_close): Add 'self' argument.
3304 * tracepoint.c (tfile_close): Add 'self' argument.
3305 * target.h (struct target_ops) <to_close>: Add argument.
3306 * target.c (target_close): Add argument.
3307 (update_current_target): Update.
3308 * remote.c (remote_close): Add 'self' argument.
3309 * remote-sim.c (gdbsim_close): Add 'self' argument.
3310 * remote-mips.c (mips_close): Add 'self' argument.
3311 * remote-m32r-sdi.c (m32r_close): Add 'self' argument.
3312 * record-full.c (record_full_close): Add 'self' argument.
3313 * record-btrace.c (record_btrace_close): Add 'self' argument.
3314 * monitor.h (monitor_close): Add 'self' argument.
3315 * monitor.c (monitor_close): Add 'self' argument.
3316 * mips-linux-nat.c (mips_linux_close): Add 'self' argument.
3317 * linux-nat.c (linux_nat_close): Add argument.
3318 * go32-nat.c (go32_close): Add 'self' argument.
3319 * exec.c (exec_close_1): Add 'self' argument.
3320 * ctf.c (ctf_close): Add 'self' argument.
3321 * corelow.c (core_close): Add 'self' argument.
3322 (core_close_cleanup): Update.
3323 * bsd-uthread.c (bsd_uthread_close): Add 'self' argument.
3324 * bsd-kvm.c (bsd_kvm_close): Add 'self' argument.
3325
9dd130a0
TT
33262014-02-19 Tom Tromey <tromey@redhat.com>
3327
3328 * remote.c (remote_load): New function.
3329 (init_remote_ops): Use it.
3330
46917d26
TT
33312014-02-19 Tom Tromey <tromey@redhat.com>
3332
3333 * common/linux-btrace.c (linux_supports_btrace): Add "ops"
3334 argument.
3335 * common/linux-btrace.h (linux_supports_btrace): Update.
3336 * remote.c (remote_supports_btrace): Add "self" argument.
3337 * target-delegates.c: Rebuild.
3338 * target.c (target_supports_btrace): Remove.
3339 * target.h (struct target_ops) <to_supports_btrace>: Add
3340 target_ops argument.
3341 (target_supports_btrace): New define.
3342
6b84065d
TT
33432014-02-19 Tom Tromey <tromey@redhat.com>
3344
3345 * record-full.c (record_full_beneath_to_resume_ops)
3346 (record_full_beneath_to_resume, record_full_beneath_to_wait_ops)
3347 (record_full_beneath_to_wait)
3348 (record_full_beneath_to_store_registers_ops)
3349 (record_full_beneath_to_store_registers)
3350 (record_full_beneath_to_xfer_partial_ops)
3351 (record_full_beneath_to_xfer_partial)
3352 (record_full_beneath_to_insert_breakpoint_ops)
3353 (record_full_beneath_to_insert_breakpoint)
3354 (record_full_beneath_to_remove_breakpoint_ops)
3355 (record_full_beneath_to_remove_breakpoint)
3356 (record_full_beneath_to_stopped_by_watchpoint)
3357 (record_full_beneath_to_stopped_data_address)
3358 (record_full_beneath_to_async, tmp_to_resume_ops, tmp_to_resume)
3359 (tmp_to_wait_ops, tmp_to_wait, tmp_to_store_registers_ops)
3360 (tmp_to_store_registers, tmp_to_xfer_partial_ops)
3361 (tmp_to_xfer_partial, tmp_to_instmp_to_insert_breakpoint_ops)
3362 (tmp_to_insert_breakpoint, tmp_to_remove_breakpoint_ops)
3363 (tmp_to_remove_breakpoint, tmp_to_stopped_by_watchpoint)
3364 (tmp_to_stopped_data_address, tmp_to_async): Remove.
3365 (record_full_open_1, record_full_open): Update. Use RECORD_IS_USED.
3366 (record_full_resume, record_full_wait_1)
3367 (record_full_stopped_by_watchpoint, record_full_stopped_data_address)
3368 (record_full_store_registers, record_full_xfer_partial)
3369 (record_full_insert_breakpoint, record_full_remove_breakpoint)
3370 (record_full_async, record_full_core_xfer_partial): Use target
3371 delegation.
3372 * target-delegates.c: Rebuild.
3373 * target.c (current_xfer_partial): Remove.
3374 (update_current_target): Do not INHERIT or de_fault
3375 to_insert_breakpoint, to_remove_breakpoint,
3376 to_stopped_data_address, to_stopped_by_watchpoint, to_can_async_p,
3377 to_is_async_p, to_async. Do not set to_xfer_partial field.
3378 (default_xfer_partial): Simplify.
3379 (current_xfer_partial): Remove.
3380 (target_wait, target_resume): Simplify.
3381 (find_default_can_async_p, find_default_is_async_p): Update.
3382 (init_dummy_target): Don't set to_can_async_p, to_is_async_p,
3383 to_xfer_partial, to_stopped_by_watchpoint,
3384 to_stopped_data_address.
3385 (target_store_registers): Simplify.
3386 (forward_target_remove_breakpoint)
3387 (forward_target_insert_breakpoint): Remove.
3388 (target_remove_breakpoint, target_insert_breakpoint)
3389 (debug_to_insert_breakpoint, debug_to_remove_breakpoint): Update.
3390 * target.h (struct target_ops) <to_resume, to_wait,
3391 to_store_registers, to_insert_breakpoint, to_remove_breakpoint,
3392 to_stopped_by_watchpoint, to_stopped_data_address, to_can_async_p,
3393 to_is_async_p, to_async, to_xfer_partial>: Add TARGET_DEFAULT
3394 markup.
3395 (forward_target_remove_breakpoint)
3396 (forward_target_insert_breakpoint): Remove.
3397 * record-btrace.c (record_btrace_remove_breakpoint): Delegate
3398 directly.
3399 (record_btrace_insert_breakpoint): Delegate directly.
3400
1101cb7b
TT
34012014-02-19 Tom Tromey <tromey@redhat.com>
3402
3403 PR build/7701:
3404 * target-delegates.c: New file.
3405 * target.c: Include target-delegates.c.
3406 (init_dummy_target): Call install_dummy_methods.
3407 (complete_target_initialization): Call install_delegators.
3408 * target.h (TARGET_DEFAULT_IGNORE, TARGET_DEFAULT_NORETURN)
3409 (TARGET_DEFAULT_RETURN, TARGET_DEFAULT_FUNC): New defines.
3410 * make-target-delegates: New file.
3411
8b06beed
TT
34122014-02-19 Tom Tromey <tromey@redhat.com>
3413
3414 * record.c (find_record_target): Use find_target_at.
3415 * target.c (find_target_at): New function.
3416 * target.h (find_target_at): Declare.
3417
6a109b6b
TT
34182014-02-19 Tom Tromey <tromey@redhat.com>
3419
3420 * aarch64-linux-nat.c (aarch64_linux_stopped_by_watchpoint):
3421 Add 'ops' argument.
3422 * arm-linux-nat.c (arm_linux_stopped_by_watchpoint): Add
3423 'ops' argument.
3424 * i386-nat.c (i386_stopped_by_watchpoint): Add 'ops' argument.
3425 * ia64-linux-nat.c (ia64_linux_stopped_by_watchpoint): Add
3426 'ops' argument.
3427 * inf-ttrace.c (inf_ttrace_stopped_by_watchpoint): Add 'ops'
3428 argument.
3429 * linux-nat.c (save_sigtrap): Update.
3430 (linux_nat_stopped_by_watchpoint, linux_nat_is_async_p)
3431 (linux_nat_can_async_p, linux_nat_async): Add 'ops' argument.
3432 (linux_nat_close): Update.
3433 * mips-linux-nat.c (mips_linux_stopped_by_watchpoint): Add 'ops'
3434 argument.
3435 * ppc-linux-nat.c (ppc_linux_stopped_by_watchpoint): Add 'ops'
3436 argument.
3437 * procfs.c (procfs_stopped_by_watchpoint): Add 'ops' argument.
3438 * record-full.c (record_full_beneath_to_stopped_by_watchpoint)
3439 (record_full_beneath_to_async, tmp_to_stopped_by_watchpoint)
3440 (tmp_to_async): Add 'ops' argument.
3441 (record_full_stopped_by_watchpoint, record_full_async)
3442 (record_full_can_async_p, record_full_is_async_p): Add 'ops'
3443 argument.
3444 * remote-m32r-sdi.c (m32r_insert_breakpoint, m32r_remove_breakpoint)
3445 (m32r_stopped_by_watchpoint): Add 'ops' argument.
3446 * remote-mips.c (mips_stopped_by_watchpoint): Add 'ops' argument.
3447 * remote.c (remote_stopped_by_watchpoint_p, remote_can_async_p)
3448 (remote_is_async_p, remote_async): Add 'ops' argument.
3449 (remote_stopped_data_address): Update.
3450 * s390-nat.c (s390_stopped_by_watchpoint): Add 'ops' argument.
3451 * target.c (update_current_target)
3452 (find_default_can_async_p, find_default_is_async_p): Update.
3453 (init_dummy_target): Update.
3454 (debug_to_stopped_by_watchpoint): Add 'ops' argument.
3455 * target.h (struct target_ops) <to_stopped_by_watchpoint,
3456 to_can_async_p, to_is_async_p, to_async>: Add 'ops' argument.
3457 (target_can_async_p, target_is_async_p, target_async)
3458 (target_stopped_by_watchpoint): Update.
3459
e095146b
YQ
34602014-02-19 Yao Qi <yao@codesourcery.com>
3461
3462 PR gdb/16220
3463 * gdbarch.sh: Remove startup_gdbarch.
3464 * gdbarch.c: Regenerated.
3465 * gdbarch.h: Likewise.
3466
bc3c6b36
KB
34672014-02-17 Kevin Buettner <kevinb@redhat.com>
3468
3469 * rl78-tdep.c (rl78_g10_register_name): New function.
3470 (rl78_return_value): Add g10 support.
3471 (rl78_gdbarch_init): Register rl78_g10_register_name for the
3472 g10.
3473
98dc0167 34742014-02-17 Doug Evans <xdje42@gmail.com>
f01c1940
DE
3475
3476 * Makefile.in (SUBDIR_GUILE_OBS): Resort alphabetically.
3477 (SUBDIR_GUILE_SRCS): Ditto.
3478 (scm-gsmob.o): Ditto.
3479
842c05cd
YQ
34802014-02-17 Yao Qi <yao@codesourcery.com>
3481
3482 * gnu-nat.c (ILL_RPC): Declare defined function.
3483
25c0bd04
YQ
34842014-02-17 Yao Qi <yao@codesourcery.com>
3485
3486 * gnu-nat.c (gnu_read_inferior): Change 'copy_count' type to
3487 mach_msg_type_number_t.
3488 (gnu_write_inferior): Likewise.
3489
a9a758e3
YQ
34902014-02-17 Yao Qi <yao@codesourcery.com>
3491
3492 * gnu-nat.c (proc_get_exception_port): Use 'lu' insetad of 'd'
3493 in format string.
3494 (proc_steal_exc_port, make_proc, inf_set_pid): Likewise.
3495 (inf_validate_procs, inf_signal): Likewise.
3496 (S_exception_raise_request): Likewise.
3497 (do_mach_notify_dead_name): Likewise.
3498 (steal_exc_port): Likewise.
3499 (gnu_read_inferior): Change 'copy_count''s type to
3500 mach_msg_type_number_t.
3501 (gnu_write_inferior): Likewise. Use 'lx' instead of 'x' in
3502 format string.
3503
bae8023e
TS
35042014-02-16 Thomas Schwinge <thomas@codesourcery.com>
3505
c82f56d9
TS
3506 * gnu-nat.c (struct inf): Change pending_execs member to a 1-bit
3507 flag. Adjust all users; in particular...
3508 (gnu_wait): ..., don't decrement its value in here...
3509 (gnu_create_inferior): ..., and instead set the flag in here,
3510 around the startup_inferior call, and call that one with
3511 START_INFERIOR_TRAPS_EXPECTED.
3512
3398af6a
TS
3513 * gnu-nat.c (ill_rpc): Remove function; replaced with this...
3514 (ILL_RPC): ... new macro.
3515 (do_mach_notify_no_senders, do_mach_notify_port_deleted)
3516 (do_mach_notify_msg_accepted, do_mach_notify_port_destroyed)
3517 (do_mach_notify_send_once, S_proc_setmsgport_reply)
3518 (S_proc_getmsgport_reply, S_msg_sig_post_reply): Generate stub
3519 functions with ILL_RPC macro.
3520 (S_proc_pid2task_reply, S_proc_task2pid_reply)
3521 (S_proc_task2proc_reply, S_proc_proc2task_reply)
3522 (S_proc_pid2proc_reply, S_proc_getprocinfo_reply)
3523 (S_proc_getprocargs_reply, S_proc_getprocenv_reply)
3524 (S_proc_getloginid_reply, S_proc_getloginpids_reply)
3525 (S_proc_getlogin_reply, S_proc_getsid_reply)
3526 (S_proc_getsessionpgids_reply, S_proc_getsessionpids_reply)
3527 (S_proc_getsidport_reply, S_proc_getpgrp_reply)
3528 (S_proc_getpgrppids_reply, S_proc_get_tty_reply)
3529 (S_proc_getnports_reply, S_proc_is_important_reply)
3530 (S_proc_get_code_reply): New stub functions, generated with
3531 ILL_RPC macro.
3532
d47642c9
TS
3533 * reply_mig_hack.awk: In phase 5, keep going if we have not yet
3534 collected the type check structures.
3535
bae8023e
TS
3536 * reply_mig_hack.awk: Don't expect to see the auto keyword.
3537
8a55ffb0
DE
35382014-02-14 Doug Evans <dje@google.com>
3539
3540 * target.c (target_write_partial): Fix result type.
3541
c2853f3d
JM
35422014-02-14 Jose E. Marchesi <jose.marchesi@oracle.com>
3543
3544 * sparc64-linux-nat.c (_initialize_sparc64_linux_nat): Register
3545 the proper offsets to access fpregset_t.
3546
ac61d2db
SA
35472014-02-13 Sanimir Agovic <sanimir.agovic@intel.com>
3548
3549 * cris-tdep.c (cris_supply_gregset): Remove zerobuf.
3550 (_initialize_cris_tdep): Remove cris_set_cmdlist, cris_show_cmdlist.
3551 * h8300-tdep.c (setmachinelist): Remove global.
3552 * hppa-tdep.c (hppa_sigtramp): Remove global.
3553 * mipsnbsd-tdep.c (sigtramp_retcode_mipsel, sigtramp_retcode_mipseb
3554 RETCODE_NWORDS, RETCODE_SIZE): Wrap code with #if 0.
3555 * ravenscar-thread.c (update_target_observer): Remove global.
3556 * rs6000-tdep.c (rs6000_gdbarch_init): Remove segment_regs.
3557
9d2d0b8b
TT
35582014-02-12 Tom Tromey <tromey@redhat.com>
3559
3560 * common/rsp-low.c: Update comments.
3561 * common/rsp-low.h: Update comments.
3562
a7191e8b
TT
35632014-02-12 Tom Tromey <tromey@redhat.com>
3564
3565 * common/rsp-low.c (convert_ascii_to_int): Remove.
3566 * common/rsp-low.h (convert_ascii_to_int): Don't declare.
3567
ff0e980e
TT
35682014-02-12 Tom Tromey <tromey@redhat.com>
3569
3570 * common/rsp-low.h (unhexify): Don't declare.
3571 * common/rsp-low.c (unhexify): Remove.
3572
e9371aff
TT
35732014-02-12 Tom Tromey <tromey@redhat.com>
3574
3575 * common/rsp-low.h (convert_int_to_ascii): Don't declare.
3576 * common/rsp-low.c (convert_int_to_ascii): Remove.
3577
971dc0b8
TT
35782014-02-12 Tom Tromey <tromey@redhat.com>
3579
3580 * common/rsp-low.h (hexify): Don't declare.
3581 * common/rsp-low.c (hexify): Remove.
3582
0a822afb
TT
35832014-02-12 Tom Tromey <tromey@redhat.com>
3584
3585 * common/rsp-low.c (hexify): Never take strlen of argument.
3586
9f1b45b0
TT
35872014-02-12 Tom Tromey <tromey@redhat.com>
3588
3589 * common/rsp-low.c (bin2hex): Never take strlen of argument.
3590 * remote.c (extended_remote_run, remote_rcmd)
3591 (remote_download_trace_state_variable, remote_save_trace_data)
3592 (remote_set_trace_notes): Update.
3593 * tracepoint.c (encode_source_string, tfile_write_status)
3594 (tfile_write_uploaded_tsv): Update.
3595
9c3d6531
TT
35962014-02-12 Tom Tromey <tromey@redhat.com>
3597
3598 * tracepoint.c: Include rsp-low.h.
3599 * remote.h (hex2bin, bin2hex, unpack_varlen_hex): Don't declare.
3600 * remote.c: Include rsp-low.h.
3601 (hexchars, ishex, unpack_varlen_hex, pack_nibble, pack_hex_byte)
3602 (fromhex, hex2bin, tohex, bin2hex, remote_escape_output)
3603 (remote_unescape_input): Move to common/rsp-low.c.
3604 * common/rsp-low.h: New file.
3605 * common/rsp-low.c: New file.
3606 * Makefile.in (SFILES): Add common/rsp-low.c.
3607 (HFILES_NO_SRCDIR): Add common/rsp-low.h.
3608 (COMMON_OBS): Add rsp-low.o.
3609 (rsp-low.o): New target.
3610
01fd3ea5
TT
36112014-02-12 Tom Tromey <tromey@redhat.com>
3612
3613 * utils.h: Include print-utils.h.
3614 (host_address_to_string, plongest, pulongest, phex, phex_nz)
3615 (int_string, core_addr_to_string, core_addr_to_string_nz)
3616 (hex_string, hex_string_custom): Don't declare.
3617 * utils.c (NUMCELLS, CELLSIZE, get_cell, decimal2str, pulongest)
3618 (plongest, thirty_two, phex, phex_nz, octal2str, hex_string)
3619 (hex_string_custom, int_string, core_addr_to_string)
3620 (core_addr_to_string_nz, host_address_to_string): Move to
3621 common/print-utils.c.
3622 * common/print-utils.h: New file.
3623 * common/print-utils.c: New file
3624 * Makefile.in (SFILES): Add common/print-utils.c.
3625 (HFILES_NO_SRCDIR): Add common/print-utils.h.
3626 (COMMON_OBS): Add print-utils.o.
3627 (print-utils.o): New target.
3628
9fb50108
TT
36292014-02-12 Tom Tromey <tromey@redhat.com>
3630
3631 * nios2-tdep.c (nios2_stub_frame_base_address): Remove.
3632
0548b5db
MK
36332014-02-12 Mark Kettenis <kettenis@gnu.org>
3634
3635 * sparc64obsd-tdep.c (sparc64obsd_init_abi): Call obsd_init_abi.
3636
493443a4
MK
36372014-02-12 Mark Kettenis <kettenis@gnu.org>
3638
3639 * inf-ptrace.c (inf_ptrace_xfer_partial): Return TARGET_XFER_EOF
3640 if a PT_IO ptrace request returns sucessfully but indicates that 0
3641 bytes were transferred.
3642
706d0883
PA
36432014-02-12 Pedro Alves <palves@redhat.com>
3644 Kevin Buettner <kevinb@redhat.com>
3645
3646 * gnu-v3-abi.c (build_gdb_vtable_type): Return a type marked with
3647 TYPE_INSTANCE_FLAG_CODE_SPACE.
3648
5caa2f0b
PA
36492014-02-12 Pedro Alves <palves@redhat.com>
3650
3651 * h8300-tdep.c (pseudo_from_raw_register)
3652 (raw_from_pseudo_register): New functions.
3653 (h8300_pseudo_register_read, h8300_pseudo_register_write): Use
3654 them.
3655
76fd5f74
PA
36562014-02-12 Pedro Alves <palves@redhat.com>
3657
3658 * h8300-tdep.c (h8300_register_sim_regno): New function.
3659 (h8300_gdbarch_init): Install h8300_register_sim_regno as
3660 gdbarch_register_sim_regno hook.
3661
8f008406
SA
36622014-02-12 Sanimir Agovic <sanimir.agovic@intel.com>
3663
3664 * nios2-tdep.c (nios2_stub_frame_base): Remove global.
3665
195abc10
SA
36662014-02-12 Sanimir Agovic <sanimir.agovic@intel.com>
3667
3668 * tic6x-tdep.c (tic6x_gdbarch_init): Call frame_base_set_default.
3669
93ffa5b9
MK
36702014-02-12 Mark Kettenis <kettenis@gnu.org>
3671
3672 * obsd-tdep.h (obsd_init_abi): New prototype.
3673 * obsd-tdep.c: Define enum with OpenBSD signal numbers.
3674 (obsd_gdb_signal_from_target, obsd_gdb_signal_to_target)
3675 (obsd_init_abi): New functions.
3676 * i386obsd-tdep.c: Include "obsd-tdep.h".
3677 (i386obsd_init_abi): Call obsd_init_abi.
3678 * amd64obsd-tdep.c: Include "obsd-tdep.h".
3679 (amd64obsd_init_abi): Call obsd_init_abi.
3680 * configure.tgt (i[34567]86-*-openbsd*, x86_64-*-openbsd*): Add
3681 obsd-tdep.c to gdb_target_obs.
3682
49caec94
JM
36832014-02-11 Jose E. Marchesi <jose.marchesi@oracle.com>
3684
3685 * sparc64-tdep.c (sparc64_store_arguments): Do not align complex
3686 double float arguments to 16-byte in the argument slots.
3687
e1402065
DE
36882014-02-11 Doug Evans <xdje42@gmail.com>
3689
3690 * configure.ac: Don't crash if pkg-config is not found and guile
3691 wasn't explicitly requested. Use AC_MSG_ERROR instead of AC_ERROR
3692 in guile checks.
3693 * configure: Regenerate.
3694
edcc890f
YQ
36952014-02-11 Yao Qi <yao@codesourcery.com>
3696
3697 * aix-thread.c (aix_thread_xfer_partial): Update comments.
3698 * auxv.c (procfs_xfer_auxv, memory_xfer_auxv): Likewise.
3699 * bsd-uthread.c (bsd_uthread_xfer_partial): Likewise.
3700 * gnu-nat.c (gnu_xfer_memory): Likewise.
3701 * inf-ptrace.c (inf_ptrace_xfer_partial): Likewise.
3702 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
3703 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
3704 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise.
3705
9b409511
YQ
37062014-02-11 Yao Qi <yao@codesourcery.com>
3707
3708 * target.h (enum target_xfer_error): Rename to ...
3709 (enum target_xfer_status): ... it. New. All users updated.
3710 (enum target_xfer_status) <TARGET_XFER_OK>, <TARGET_XFER_EOF>:
3711 New.
3712 (TARGET_XFER_STATUS_ERROR_P): New macro.
3713 (target_xfer_error_to_string): Remove declaration.
3714 (target_xfer_status_to_string): Declare.
3715 (target_xfer_partial_ftype): Adjust it.
3716 (struct target_ops) <to_xfer_partial>: Return
3717 target_xfer_status. Add argument xfered_len. Update
3718 comments.
3719 * target.c (target_xfer_error_to_string): Rename to ...
3720 (target_xfer_status_to_string): ... it. New. All callers
3721 updated.
3722 (target_read_live_memory): Likewise. Call target_xfer_partial
3723 instead of target_read.
3724 (memory_xfer_live_readonly_partial): Return
3725 target_xfer_status. Add argument xfered_len.
3726 (raw_memory_xfer_partial): Likewise.
3727 (memory_xfer_partial_1): Likewise.
3728 (memory_xfer_partial): Likewise.
3729 (target_xfer_partial): Likewise. Check *XFERED_LEN is set
3730 properly. Update debug message.
3731 (default_xfer_partial, current_xfer_partial): Likewise.
3732 (target_write_partial): Likewise.
3733 (target_read_partial): Likewise. All callers updated.
3734 (read_whatever_is_readable): Likewise.
3735 (target_write_with_progress): Likewise.
3736 (target_read_alloc_1): Likewise.
3737
3738 * aix-thread.c (aix_thread_xfer_partial): Likewise.
3739 * auxv.c (procfs_xfer_auxv): Likewise.
3740 (ld_so_xfer_auxv, memory_xfer_auxv): Likewise.
3741 * bfd-target.c (target_bfd_xfer_partial): Likewise.
3742 * bsd-kvm.c (bsd_kvm_xfer_partial): Likewise.
3743 * bsd-uthread.c (bsd_uthread_xfer_partia): Likewise.
3744 * corefile.c (read_memory): Adjust.
3745 * corelow.c (core_xfer_partial): Likewise.
3746 * ctf.c (ctf_xfer_partial): Likewise.
3747 * darwin-nat.c (darwin_read_dyld_info): Likewise. All callers
3748 updated.
3749 (darwin_xfer_partial): Likewise.
3750 * exec.c (section_table_xfer_memory_partial): Likewise. All
3751 callers updated.
3752 (exec_xfer_partial): Likewise.
3753 * exec.h (section_table_xfer_memory_partial): Update
3754 declaration.
3755 * gnu-nat.c (gnu_xfer_memory): Likewise. Assert 'res' is not
3756 negative.
3757 (gnu_xfer_partial): Likewise.
3758 * ia64-hpux-nat.c (ia64_hpux_xfer_memory_no_bs): Likewise.
3759 (ia64_hpux_xfer_memory, ia64_hpux_xfer_uregs): Likewise.
3760 (ia64_hpux_xfer_solib_got): Likewise.
3761 * inf-ptrace.c (inf_ptrace_xfer_partial): Likewise. Change
3762 type of 'partial_len' to ULONGEST.
3763 * inf-ttrace.c (inf_ttrace_xfer_partial): Likewise.
3764 * linux-nat.c (linux_xfer_siginfo ): Likewise.
3765 (linux_nat_xfer_partial): Likewise.
3766 (linux_proc_xfer_partial, linux_xfer_partial): Likewise.
3767 (linux_proc_xfer_spu, linux_nat_xfer_osdata): Likewise.
3768 * monitor.c (monitor_xfer_memory): Likewise.
3769 (monitor_xfer_partial): Likewise.
3770 * procfs.c (procfs_xfer_partial): Likewise.
3771 * record-btrace.c (record_btrace_xfer_partial): Likewise.
3772 * record-full.c (record_full_xfer_partial): Likewise.
3773 (record_full_core_xfer_partial): Likewise.
3774 * remote-sim.c (gdbsim_xfer_memory): Likewise.
3775 (gdbsim_xfer_partial): Likewise.
3776 * remote.c (remote_write_bytes_aux): Likewise. All callers
3777 updated.
3778 (remote_write_bytes, remote_read_bytes): Likewise. All
3779 callers updated.
3780 (remote_flash_erase): Likewise. All callers updated.
3781 (remote_write_qxfer): Likewise. All callers updated.
3782 (remote_read_qxfer): Likewise. All callers updated.
3783 (remote_xfer_partial): Likewise.
3784 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
3785 (rs6000_xfer_shared_libraries): Likewise.
3786 * sol-thread.c (sol_thread_xfer_partial): Likewise.
3787 (sol_thread_xfer_partial): Likewise.
3788 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
3789 (sparc_xfer_partial): Likewise.
3790 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise. All callers
3791 updated.
3792 (spu_xfer_partial): Likewise.
3793 * spu-multiarch.c (spu_xfer_partial): Likewise.
3794 * tracepoint.c (tfile_xfer_partial): Likewise.
3795 * windows-nat.c (windows_xfer_memory): Likewise.
3796 (windows_xfer_shared_libraries): Likewise.
3797 (windows_xfer_partial): Likewise.
3798 * valprint.c: Replace 'target_xfer_error' with
3799 'target_xfer_status' in comments.
3800
a8e63083
JB
38012014-02-11 Simon Marchi <simon.marchi@ericsson.com> (tiny patch)
3802
3803 Checked in by Joel Brobecker <brobecker@adacore.com>.
3804 * mi/mi-main.c (mi_cmd_data_write_memory_bytes): Fix comment.
3805
e86b67d3
JB
38062014-02-11 Joel Brobecker <brobecker@adacore.com>
3807
3808 * symfile-debug.c (debug_qf_expand_symtabs_matching): Reformat
3809 function parameters.
3810
4b7d1f7f
WN
38112014-02-10 Will Newton <will.newton@linaro.org>
3812
3813 * elfread.c (elf_rel_plt_read): Look for a .got section if
3814 looking up .got.plt fails.
3815 (elf_gnu_ifunc_resolve_by_got): Call gdbarch_addr_bits_remove
3816 on address passed to elf_gnu_ifunc_record_cache.
3817 (elf_gnu_ifunc_resolve_addr): Likewise.
3818 (elf_gnu_ifunc_resolver_return_stop): Likewise.
3819
961842b2
JM
38202014-02-10 Jose E. Marchesi <jose.marchesi@oracle.com>
3821
3822 * sparc-tdep.c (sparc_in_function_epilogue_p): New function.
3823 (X_RETTURN): New macro.
3824 * sparc-tdep.h: sparc_in_function_epilogue_p prototype.
3825
3826 * sparc64-tdep.c (sparc64_init_abi): Hook
3827 sparc_in_function_epilogue_p.
3828
3f03e7b1
GB
38292014-02-10 Gary Benson <gbenson@redhat.com>
3830
3831 * symfile-debug.c (debug_qf_expand_symtabs_matching):
3832 Rename name_matcher to symbol_matcher.
3833
96f861ef
GB
38342014-02-10 Gary Benson <gbenson@redhat.com>
3835
3836 * symfile-debug.c (debug_qf_expand_symtabs_matching):
3837 Use expand_symtabs_file_matcher_ftype and
3838 expand_symtabs_symbol_matcher_ftype.
3839
ee01b665
JB
38402014-02-10 Joel Brobecker <brobecker@adacore.com>
3841
3842 * ada-lang.c (struct cache_entry, HASH_SIZE): Move definition up.
3843 (struct ada_symbol_cache): New.
3844 (ada_free_symbol_cache): Forward declare.
3845 (struct ada_pspace_data): New.
3846 (ada_pspace_data_handle): New static global.
3847 (get_ada_pspace_data, ada_pspace_data_cleanup)
3848 (ada_init_symbol_cache, ada_free_symbol_cache): New functions.
3849 (cache_space, cache): Delete, now folded inside struct
3850 ada_pspace_data.
3851 (ada_get_symbol_cache): New function.
3852 (ada_clear_symbol_cache, find_entry, cache_symbol): Adjust
3853 implementation.
3854 (_initialize_ada_language): Remove initialization of cache_space.
3855 Move call to observer_attach_inferior_exit up, grouping it
3856 with the other observer registrations inside this function.
3857 Rename command to be more general. Add call to
3858 register_program_space_data_with_cleanup.
3859
143adbbf
JB
38602014-02-10 Joel Brobecker <brobecker@adacore.com>
3861
3862 * ada-tasks.c (ada_tasks_new_objfile_observer): Renames
3863 ada_new_objfile_observer.
3864 (ada_tasks_normal_stop_observer): Renames ada_normal_stop_observer.
3865 (_initialize_tasks): Update uses of ada_new_objfile_observer
3866 and ada_tasks_normal_stop_observer.
3867
aa4fb036
JB
38682014-02-10 Joel Brobecker <brobecker@adacore.com>
3869
3870 * ada-lang.c (ada_evaluate_subexp): Set the type of the value
3871 returned by the 'Length attribute to integer.
3872
9dee8cc6
JB
38732014-02-10 Joel Brobecker <brobecker@adacore.com>
3874
3875 * ada-lang.c (_initialize_ada_language): Initialize
3876 cache_space obstack.
3877
3d9434b5
JB
38782014-02-10 Joel Brobecker <brobecker@adacore.com>
3879
3880 * ada-lang.c (HASH_SIZE): New macro.
3881 (struct cache_entry): New type.
3882 (cache_space, cache): New static globals.
3883 (ada_clear_symbol_cache, find_entry): New functions.
3884 (lookup_cached_symbol, cache_symbol): Implement.
3885 (ada_new_objfile_observer, ada_free_objfile_observer): New.
3886 (_initialize_ada_language): Attach ada_new_objfile_observer
3887 and ada_free_objfile_observer.
3888
f0c5f9b2
JB
38892014-02-10 Joel Brobecker <brobecker@adacore.com>
3890
3891 * ada-lang.c (ada_add_block_symbols, add_defn_to_vec)
3892 (lookup_cached_symbol, ada_add_local_symbols): Add "const" to
3893 struct block * parameter.
3894 (ada_lookup_symbol_list_worker): Constify local variable "block".
3895 Remove cast which is no longer necessary.
3896
ed3ef339
DE
38972014-02-10 Doug Evans <xdje42@gmail.com>
3898
3899 Add Guile as an extension language.
3900 * NEWS: Mention Guile scripting.
3901 * Makefile.in (SUBDIR_GUILE_OBS): New variable.
3902 (SUBDIR_GUILE_SRCS, SUBDIR_GUILE_DEPS): New variables
3903 (SUBDIR_GUILE_LDFLAGS, SUBDIR_GUILE_CFLAGS): New variables.
3904 (INTERNAL_CPPFLAGS): Add GUILE_CPPFLAGS.
3905 (CLIBS): Add GUILE_LIBS.
3906 (install-guile): New rule.
3907 (guile.o): New rule.
3908 (scm-arch.o, scm-auto-load.o, scm-block.o): New rules.
3909 (scm-breakpoint.o, scm-disasm.o, scm-exception.o): New rules.
3910 (scm-frame.o, scm-iterator.o, scm-lazy-string.o): New rules.
3911 (scm-math.o, scm-objfile.o, scm-ports.o): New rules.
3912 (scm-pretty-print.o, scm-safe-call.o, scm-gsmob.o): New rules.
3913 (scm-string.o, scm-symbol.o, scm-symtab.o): New rules.
3914 (scm-type.o, scm-utils.o, scm-value.o): New rules.
3915 * configure.ac: New option --with-guile.
3916 * configure: Regenerate.
3917 * config.in: Regenerate.
3918 * auto-load.c: Remove #include "python/python.h". Add #include
3919 "gdb/section-scripts.h".
3920 (source_section_scripts): Handle Guile scripts.
3921 (_initialize_auto_load): Add name of Guile objfile script to
3922 scripts-directory help text.
3923 * breakpoint.c (condition_command): Tweak comment to include Scheme.
3924 * breakpoint.h (gdbscm_breakpoint_object): Add forward decl.
3925 (struct breakpoint): New member scm_bp_object.
3926 * defs.h (enum command_control_type): New value guile_control.
3927 * cli/cli-cmds.c: Remove #include "python/python.h". Add #include
3928 "extension.h".
3929 (show_user): Update comment.
3930 (_initialize_cli_cmds): Update help text for "show user". Update help
3931 text for max-user-call-depth.
3932 * cli/cli-script.c: Remove #include "python/python.h". Add #include
3933 "extension.h".
3934 (multi_line_command_p): Add guile_control.
3935 (print_command_lines): Handle guile_control.
3936 (execute_control_command, recurse_read_control_structure): Ditto.
3937 (process_next_line): Recognize "guile" commands.
3938 * disasm.c (gdb_disassemble_info): Make non-static.
3939 * disasm.h: #include "dis-asm.h".
3940 (struct gdbarch): Add forward decl.
3941 (gdb_disassemble_info): Declare.
3942 * extension.c: #include "guile/guile.h".
3943 (extension_languages): Add guile.
3944 (get_ext_lang_defn): Handle EXT_LANG_GDB.
3945 * extension.h (enum extension_language): New value EXT_LANG_GUILE.
3946 * gdbtypes.c (get_unsigned_type_max): New function.
3947 (get_signed_type_minmax): New function.
3948 * gdbtypes.h (get_unsigned_type_max): Declare.
3949 (get_signed_type_minmax): Declare.
3950 * guile/README: New file.
3951 * guile/guile-internal.h: New file.
3952 * guile/guile.c: New file.
3953 * guile/guile.h: New file.
3954 * guile/scm-arch.c: New file.
3955 * guile/scm-auto-load.c: New file.
3956 * guile/scm-block.c: New file.
3957 * guile/scm-breakpoint.c: New file.
3958 * guile/scm-disasm.c: New file.
3959 * guile/scm-exception.c: New file.
3960 * guile/scm-frame.c: New file.
3961 * guile/scm-gsmob.c: New file.
3962 * guile/scm-iterator.c: New file.
3963 * guile/scm-lazy-string.c: New file.
3964 * guile/scm-math.c: New file.
3965 * guile/scm-objfile.c: New file.
3966 * guile/scm-ports.c: New file.
3967 * guile/scm-pretty-print.c: New file.
3968 * guile/scm-safe-call.c: New file.
3969 * guile/scm-string.c: New file.
3970 * guile/scm-symbol.c: New file.
3971 * guile/scm-symtab.c: New file.
3972 * guile/scm-type.c: New file.
3973 * guile/scm-utils.c: New file.
3974 * guile/scm-value.c: New file.
3975 * guile/lib/gdb.scm: New file.
3976 * guile/lib/gdb/boot.scm: New file.
3977 * guile/lib/gdb/experimental.scm: New file.
3978 * guile/lib/gdb/init.scm: New file.
3979 * guile/lib/gdb/iterator.scm: New file.
3980 * guile/lib/gdb/printing.scm: New file.
3981 * guile/lib/gdb/types.scm: New file.
3982 * data-directory/Makefile.in (GUILE_SRCDIR): New variable.
3983 (VPATH): Add $(GUILE_SRCDIR).
3984 (GUILE_DIR): New variable.
3985 (GUILE_INSTALL_DIR, GUILE_FILES): New variables.
3986 (all): Add stamp-guile dependency.
3987 (stamp-guile): New rule.
3988 (clean-guile, install-guile, uninstall-guile): New rules.
3989 (install-only): Add install-guile dependency.
3990 (uninstall): Add uninstall-guile dependency.
3991 (clean): Add clean-guile dependency.
3992
ac020ec5
DE
39932014-02-09 Doug Evans <xdje42@gmail.com>
3994
3995 Revert this patch (which I approved, mea culpa).
3996
3997 2014-02-08 Mark Kettenis <kettenis@gnu.org>
3998
3999 * Makefile.in (all-lib): Remove.
4000 ($(LIBGNU) $(GNULIB_H)): Replace with gits of remove all-lib target.
4001
2a081c59
JK
40022014-02-09 Jan Kratochvil <jan.kratochvil@redhat.com>
4003
4004 Fix Python stack corruption.
4005 * python/py-linetable.c (ltpy_get_pcs_for_line, ltpy_has_line): Use
4006 gdb_py_longest.
4007
0a6bd22d
MK
40082014-02-08 Mark Kettenis <kettenis@gnu.org>
4009
4010 * Makefile.in (all-lib): Remove.
4011 ($(LIBGNU) $(GNULIB_H)): Replace with gits of remove all-lib target.
4012
1a860409
DE
40132014-02-07 Doug Evans <dje@google.com>
4014
4015 * extension-priv.h (extension_language_script_ops): Add comment.
4016 (extension_language_ops): Add comment.
caf5a491 4017 (active_ext_lang_state): Fix typo in comment.
1a860409 4018
d137e6dc
PA
40192014-02-07 Pedro Alves <palves@redhat.com>
4020
0dcb32c3 4021 PR breakpoints/16292
d137e6dc
PA
4022 * infrun.c (handle_signal_stop) <signal arrives while stepping
4023 over a breakpoint>: Switch back to the stepping thread.
4024
ce6d0892
YQ
40252014-02-07 Yao Qi <yao@codesourcery.com>
4026
4027 * target.c (target_xfer_partial): Return zero if LEN is zero.
4028
2ed4b548
YQ
40292014-02-07 Yao Qi <yao@codesourcery.com>
4030
4031 * auxv.c (procfs_xfer_auxv): Replace -1 with TARGET_XFER_E_IO.
4032 (ld_so_xfer_auxv): Likewise.
4033 * bfd-target.c (target_bfd_xfer_partial): Likewise.
4034 * bsd-kvm.c (bsd_kvm_xfer_partial): Likewise.
4035 * corelow.c (core_xfer_partial): Likewise.
4036 * ctf.c (ctf_xfer_partial): Likewise.
4037 * darwin-nat.c (darwin_read_dyld_info): Likewise.
4038 (darwin_xfer_partial): Likewise.
4039 * exec.c (exec_xfer_partial): Likewise.
4040 * gnu-nat.c (gnu_xfer_partial): Likewise.
4041 * ia64-hpux-nat.c (ia64_hpux_xfer_uregs): Likewise.
4042 * inf-ptrace.c (inf_ptrace_xfer_partial): Likewise.
4043 * inf-ttrace.c (inf_ttrace_xfer_partial): Likewise.
4044 * linux-nat.c (linux_xfer_siginfo): Likewise.
4045 (linux_proc_xfer_spu): Likewise.
4046 * procfs.c (procfs_xfer_partial): Likewise.
4047 * record-full.c (record_full_xfer_partial): Likewise.
4048 (record_full_core_xfer_partial): Likewise.
4049 * remote-sim.c (gdbsim_xfer_partial): Likewise.
4050 * remote.c (remote_write_qxfer): Likewise.
4051 (remote_write_qxfer, remote_read_qxfer): Likewise.
4052 (remote_xfer_partial): Likewise.
4053 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
4054 (rs6000_xfer_shared_libraries): Likewise.
4055 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
4056 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise.
4057 (spu_xfer_partial): Likewise.
4058 * target.c (memory_xfer_partial_1): Likewise.
4059 * tracepoint.c (tfile_xfer_partial): Likewise.
4060 * windows-nat.c (windows_xfer_shared_libraries): Likewise.
4061 (windows_xfer_partial): Likewise.
4062
c09f20e4
YQ
40632014-02-07 Yao Qi <yao@codesourcery.com>
4064
4065 * gdbarch.sh (core_xfer_shared_libraries): Returns ULONGEST. Add
4066 comments.
4067 (core_xfer_shared_libraries_aix): Likewise.
4068 * gdbarch.c, gdbarch.h: Regenerated.
4069 * i386-cygwin-tdep.c (windows_core_xfer_shared_libraries): Return
4070 ULONGEST. Change 'len_avail' type to ULONGEST.
4071 * rs6000-aix-tdep.c (rs6000_aix_ld_info_to_xml): Likewise.
4072 * rs6000-aix-tdep.h (rs6000_aix_ld_info_to_xml): Update
4073 declaration.
4074 (rs6000_aix_core_xfer_shared_libraries_aix): Return ULONGEST.
4075
8635b3bf
YQ
40762014-02-07 Yao Qi <yao@codesourcery.com>
4077
4078 * corefile.c (memory_error): Get 'exception' from ERR and pass
4079 'exception' to throw_error.
4080
6dddc817
DE
40812014-02-06 Doug Evans <xdje42@gmail.com>
4082
4083 * configure.ac (libpython checking): Remove all but python.o from
4084 CONFIG_OBS. Remove all but python.c from CONFIG_SRCS.
4085 * configure: Regenerate.
4086
4087 * Makefile.in (SFILES): Add extension.c.
4088 (HFILES_NO_SRCDIR): Add extension.h, extension-priv.h
4089 (COMMON_OBS): Add extension.o.
4090 * extension.h: New file.
4091 * extension-priv.h: New file.
4092 * extension.c: New file.
4093
4094 * python/python-internal.h: #include "extension.h".
4095 (gdbpy_auto_load_enabled): Declare.
4096 (gdbpy_apply_val_pretty_printer): Declare.
4097 (gdbpy_apply_frame_filter): Declare.
4098 (gdbpy_preserve_values): Declare.
4099 (gdbpy_breakpoint_cond_says_stop): Declare.
4100 (gdbpy_breakpoint_has_cond): Declare.
4101 (void source_python_script_for_objfile): Delete.
4102 * python/python.c: #include "extension-priv.h".
4103 Delete inclusion of "observer.h".
4104 (extension_language_python): Moved here and renamed from
4105 script_language_python in py-auto-load.c.
4106 Redefined to be of type extension_language_defn.
4107 (python_extension_script_ops): New global.
4108 (python_extension_ops): New global.
4109 (struct python_env): New member previous_active.
4110 (restore_python_env): Call restore_active_ext_lang.
4111 (ensure_python_env): Call set_active_ext_lang.
4112 (gdbpy_clear_quit_flag): Renamed from clear_quit_flag, made static.
4113 New arg extlang.
4114 (gdbpy_set_quit_flag): Renamed from set_quit_flag, made static.
4115 New arg extlang.
4116 (gdbpy_check_quit_flag): Renamed from check_quit_flag, made static.
4117 New arg extlang.
4118 (gdbpy_eval_from_control_command): Renamed from
4119 eval_python_from_control_command, made static. New arg extlang.
4120 (gdbpy_source_script) Renamed from source_python_script, made static.
4121 New arg extlang.
4122 (gdbpy_before_prompt_hook): Renamed from before_prompt_hook. Change
4123 result to int. New arg extlang.
4124 (gdbpy_source_objfile_script): Renamed from
4125 source_python_script_for_objfile, made static. New arg extlang.
4126 (gdbpy_start_type_printers): Renamed from start_type_printers, made
4127 static. New args extlang, extlang_printers. Change result type to
4128 "void".
4129 (gdbpy_apply_type_printers): Renamed from apply_type_printers, made
4130 static. New arg extlang. Rename arg printers to extlang_printers
4131 and change type to ext_lang_type_printers *.
4132 (gdbpy_free_type_printers): Renamed from free_type_printers, made
4133 static. Replace argument arg with extlang, extlang_printers.
4134 (!HAVE_PYTHON, eval_python_from_control_command): Delete.
4135 (!HAVE_PYTHON, source_python_script): Delete.
4136 (!HAVE_PYTHON, gdbpy_should_stop): Delete.
4137 (!HAVE_PYTHON, gdbpy_breakpoint_has_py_cond): Delete.
4138 (!HAVE_PYTHON, start_type_printers): Delete.
4139 (!HAVE_PYTHON, apply_type_printers): Delete.
4140 (!HAVE_PYTHON, free_type_printers): Delete.
4141 (_initialize_python): Delete call to observer_attach_before_prompt.
4142 (finalize_python): Set/restore active extension language.
4143 (gdbpy_finish_initialization) Renamed from
4144 finish_python_initialization, made static. New arg extlang.
4145 (gdbpy_initialized): New function.
4146 * python/python.h: #include "extension.h". Delete #include
4147 "value.h", "mi/mi-cmds.h".
4148 (extension_language_python): Declare.
4149 (GDBPY_AUTO_FILE_NAME): Delete.
4150 (enum py_bt_status): Moved to extension.h and renamed to
4151 ext_lang_bt_status.
4152 (enum frame_filter_flags): Moved to extension.h.
4153 (enum py_frame_args): Moved to extension.h and renamed to
4154 ext_lang_frame_args.
4155 (finish_python_initialization): Delete.
4156 (eval_python_from_control_command): Delete.
4157 (source_python_script): Delete.
4158 (apply_val_pretty_printer): Delete.
4159 (apply_frame_filter): Delete.
4160 (preserve_python_values): Delete.
4161 (gdbpy_script_language_defn): Delete.
4162 (gdbpy_should_stop, gdbpy_breakpoint_has_py_cond): Delete.
4163 (start_type_printers, apply_type_printers, free_type_printers): Delete.
4164
4165 * auto-load.c: #include "extension.h".
4166 (GDB_AUTO_FILE_NAME): Delete.
4167 (auto_load_gdb_scripts_enabled): Make public. New arg extlang.
4168 (script_language_gdb): Delete, moved to extension.c and renamed to
4169 extension_language_gdb.
4170 (source_gdb_script_for_objfile): Delete.
4171 (auto_load_pspace_info): New member unsupported_script_warning_printed.
4172 (loaded_script): Change type of language member to
4173 struct extension_language_defn *.
4174 (init_loaded_scripts_info): Initialize
4175 unsupported_script_warning_printed.
4176 (maybe_add_script): Make static. Change type of language arg to
4177 struct extension_language_defn *.
4178 (clear_section_scripts): Reset unsupported_script_warning_printed.
4179 (auto_load_objfile_script_1): Rewrite to use extension language API.
4180 (auto_load_objfile_script): Make public. Remove support-compiled-in
4181 and auto-load-enabled checks, moved to auto_load_scripts_for_objfile.
4182 (source_section_scripts): Rewrite to use extension language API.
4183 (load_auto_scripts_for_objfile): Rewrite to use
4184 auto_load_scripts_for_objfile.
4185 (collect_matching_scripts_data): Change type of language member to
4186 struct extension_language_defn *.
4187 (auto_load_info_scripts): Change type of language arg to
4188 struct extension_language_defn *.
4189 (unsupported_script_warning_print): New function.
4190 (script_not_found_warning_print): Make static.
4191 (_initialize_auto_load): Rewrite construction of scripts-directory
4192 help.
4193 * auto-load.h (struct objfile): Add forward decl.
4194 (struct script_language): Delete.
4195 (struct auto_load_pspace_info): Add forward decl.
4196 (struct extension_language_defn): Add forward decl.
4197 (maybe_add_script): Delete.
4198 (auto_load_objfile_script): Declare.
4199 (script_not_found_warning_print): Delete.
4200 (auto_load_info_scripts): Update prototype.
4201 (auto_load_gdb_scripts_enabled): Declare.
4202 * python/py-auto-load.c (gdbpy_auto_load_enabled): Renamed from
4203 auto_load_python_scripts_enabled and made public.
4204 (script_language_python): Delete, moved to python.c.
4205 (gdbpy_script_language_defn): Delete.
4206 (info_auto_load_python_scripts): Update to use
4207 extension_language_python.
4208
4209 * breakpoint.c (condition_command): Replace call to
4210 gdbpy_breakpoint_has_py_cond with call to get_breakpoint_cond_ext_lang.
4211 (bpstat_check_breakpoint_conditions): Replace call to gdbpy_should_stop
4212 with call to breakpoint_ext_lang_cond_says_stop.
4213 * python/py-breakpoint.c (gdbpy_breakpoint_cond_says_stop): Renamed
4214 from gdbpy_should_stop. Change result type to enum scr_bp_stop.
4215 New arg slang. Return SCR_BP_STOP_UNSET if py_bp_object is NULL.
4216 (gdbpy_breakpoint_has_cond): Renamed from gdbpy_breakpoint_has_py_cond.
4217 New arg slang.
4218 (local_setattro): Print name of extension language with existing
4219 stop condition.
4220
4221 * valprint.c (val_print, value_print): Update to call
4222 apply_ext_lang_val_pretty_printer.
4223 * cp-valprint.c (cp_print_value): Update call to
4224 apply_ext_lang_val_pretty_printer.
4225 * python/py-prettyprint.c: Remove #ifdef HAVE_PYTHON.
4226 (gdbpy_apply_val_pretty_printer): Renamed from
4227 apply_val_pretty_printer. New arg extlang.
4228 (!HAVE_PYTHON, apply_val_pretty_printer): Delete.
4229
4230 * cli/cli-cmds.c (source_script_from_stream): Rewrite to use
4231 extension language API.
4232 * cli/cli-script.c (execute_control_command): Update to call
4233 eval_ext_lang_from_control_command.
4234
4235 * mi/mi-cmd-stack.c (mi_cmd_stack_list_frames): Update to use
4236 enum ext_lang_bt_status values. Update call to
4237 apply_ext_lang_frame_filter.
4238 (mi_cmd_stack_list_locals): Ditto.
4239 (mi_cmd_stack_list_args): Ditto.
4240 (mi_cmd_stack_list_variables): Ditto.
4241 * mi/mi-main.c: Delete #include "python/python-internal.h".
4242 Add #include "extension.h".
4243 (mi_cmd_list_features): Replace reference to python internal variable
4244 gdb_python_initialized with call to ext_lang_initialized_p.
4245
4246 * stack.c (backtrace_command_1): Update to use enum ext_lang_bt_status.
4247 Update to use enum ext_lang_frame_args. Update to call
4248 apply_ext_lang_frame_filter.
4249 * python/py-framefilter.c (extract_sym): Update to use enum
4250 ext_lang_bt_status.
4251 (extract_value, py_print_type, py_print_value): Ditto.
4252 (py_print_single_arg, enumerate_args, enumerate_locals): Ditto.
4253 (py_mi_print_variables, py_print_locals, py_print_args): Ditto.
4254 (py_print_frame): Ditto.
4255 (gdbpy_apply_frame_filter): Renamed from apply_frame_filter.
4256 New arg extlang. Update to use enum ext_lang_bt_status.
4257
4258 * top.c (gdb_init): Delete #ifdef HAVE_PYTHON call to
4259 finish_python_initialization. Replace with call to
4260 finish_ext_lang_initialization.
4261
4262 * typeprint.c (do_free_global_table): Update to call
4263 free_ext_lang_type_printers.
4264 (create_global_typedef_table): Update to call
4265 start_ext_lang_type_printers.
4266 (find_global_typedef): Update to call apply_ext_lang_type_printers.
4267 * typeprint.h (struct ext_lang_type_printers): Add forward decl.
4268 (type_print_options): Change type of global_printers from "void *"
4269 to "struct ext_lang_type_printers *".
4270
4271 * value.c (preserve_values): Update to call preserve_ext_lang_values.
4272 * python/py-value.c: Remove #ifdef HAVE_PYTHON.
4273 (gdbpy_preserve_values): Renamed from preserve_python_values.
4274 New arg extlang.
4275 (!HAVE_PYTHON, preserve_python_values): Delete.
4276
4277 * utils.c (quit_flag): Delete, moved to extension.c.
4278 (clear_quit_flag, set_quit_flag, check_quit_flag): Delete, moved to
4279 extension.c.
4280
4281 * eval.c: Delete #include "python/python.h".
4282 * main.c: Delete #include "python/python.h".
4283
4284 * defs.h: Update comment.
4285
6af79985
JB
42862014-02-06 Joel Brobecker <brobecker@adacore.com>
4287
4288 GDB 7.7 released.
4289
12c5175d
MK
42902014-02-05 Mark Kettenis <kettenis@gnu.org>
4291
4292 * c-exp.y (YYPRINT, c_print_token): Only define if YYBISON is
4293 defined.
4294
8dc5b319
YQ
42952014-02-05 Yao Qi <yao@codesourcery.com>
4296
4297 * remote.c (remote_pass_signals): Remove local 'buf' and use
4298 rs->buf.
4299 (remote_program_signals): Likewise.
4300
de7b2893
YQ
43012014-02-05 Yao Qi <yao@codesourcery.com>
4302
4303 * ctf.c: Include "inferior.h" and "gdbthread.h".
4304 (CTF_PID): A new macro.
4305 (ctf_open): Call inferior_appeared and add_thread_silent.
4306 (ctf_close): Call exit_inferior_silent and set inferior_ptid.
4307 (ctf_thread_alive): New function.
4308 (init_ctf_ops): Install ctf_thread_alive to to_thread_alive.
4309
66d032ac
YQ
43102014-02-05 Yao Qi <yao@codesourcery.com>
4311
4312 Revert this patch:
4313
4314 2013-05-24 Yao Qi <yao@codesourcery.com>
4315
4316 * tracepoint.c (TFILE_PID): Remove.
4317 (tfile_open): Don't add thread and inferior.
4318 (tfile_close): Don't set 'inferior_ptid'. Don't call
4319 exit_inferior_silent.
4320 (tfile_thread_alive): Remove.
4321 (init_tfile_ops): Don't set field 'to_thread_alive' of
4322 tfile_ops.
4323
f4ccffad
CE
43242014-02-04 Christian Eggers <ceggers@gmx.de> (tiny change)
4325
4326 * remote.c (remote_start_remote): Call remote_check_symbols even
4327 if only symbol-file (not file) has been given.
4328
591a12a1
UW
43292014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
4330
4331 * gdbarch.sh (skip_entrypoint): New callback.
4332 * gdbarch.c, gdbarch.h: Regenerate.
4333 * symtab.c (skip_prologue_sal): Call gdbarch_skip_entrypoint.
4334 * infrun.c (fill_in_stop_func): Likewise.
4335 * ppc-linux-tdep.c: Include "elf/ppc64.h".
4336 (ppc_elfv2_elf_make_msymbol_special): New function.
4337 (ppc_elfv2_skip_entrypoint): Likewise.
4338 (ppc_linux_init_abi): Install them for ELFv2.
4339
cc0e89c5
UW
43402014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
4341
4342 * ppc-sysv-tdep.c (ppc64_aggregate_candidate): New routine.
4343 (ppc64_elfv2_abi_homogeneous_aggregate): Likewise.
4344 (ppc64_sysv_abi_push_param): Handle ELFv2 homogeneous structs.
4345 (ppc64_sysv_abi_return_value): Likewise. Also, handle small
4346 structures returned in GPRs.
4347
52f548e4
UW
43482014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
4349
4350 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_dummy_call): Use correct
4351 offset to the stack parameter list for the ELFv2 ABI.
4352
d4094b6a
UW
43532014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
4354
4355 * ppc-linux-tdep.c (ppc_linux_init_abi): Only call
4356 set_gdbarch_convert_from_func_ptr_addr and
4357 set_gdbarch_elf_make_msymbol_special for ELFv1.
4358 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_param): Only handle
4359 function descriptors on ELFv1.
4360 (ppc64_sysv_abi_push_dummy_call): Likewise. On ELFv2,
4361 set up r12 at function entry.
4362
cd453cd0
UW
43632014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
4364
4365 * ppc-tdep.h (enum powerpc_elf_abi): New data type.
4366 (struct gdbarch_tdep): New member elf_abi.
4367
4368 * rs6000-tdep.c: Include "elf/ppc64.h".
4369 (rs6000_gdbarch_init): Detect ELF ABI version.
4370
0ff3e01f
UW
43712014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
4372
4373 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_freg): Use correct order
4374 within a register pair holding a DFP 128-bit value on little-endian.
4375 (ppc64_sysv_abi_return_value_base): Likewise.
4376 * rs6000-tdep.c (dfp_pseudo_register_read): Likewise.
4377 (dfp_pseudo_register_write): Likewise.
4378
5b757e5d
UW
43792014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
4380
4381 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_freg): Use correct
4382 offset on little-endian when passing _Decimal32.
4383 (ppc64_sysv_abi_return_value_base): Likewise for return values.
4384
084ee545
UW
43852014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
4386
4387 * rs6000-tdep.c (efpr_pseudo_register_read): Use correct offset
4388 of the overlapped FP register within the VSX register on little-
4389 endian platforms.
4390 (efpr_pseudo_register_write): Likewise.
4391
d63167af
UW
43922014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
4393
4394 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_val): Use correct
4395 offset on little-endian when passing small structures.
4396
e765b44c
UW
43972014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
4398
4399 * ppc-sysv-tdep.c (get_decimal_float_return_value): Update comment.
4400 (struct ppc64_sysv_argpos): New data structure.
4401 (ppc64_sysv_abi_push_float): Remove.
4402 (ppc64_sysv_abi_push_val): New function.
4403 (ppc64_sysv_abi_push_integer): Likewise.
4404 (ppc64_sysv_abi_push_freg): Likewise.
4405 (ppc64_sysv_abi_push_vreg): Likewise.
4406 (ppc64_sysv_abi_push_param): Likewise.
4407 (ppc64_sysv_abi_push_dummy_call): Refactor to use those new routines.
4408 (ppc64_sysv_abi_return_value_base): New function.
4409 (ppc64_sysv_abi_return_value): Refactor to use it.
4410
36c24d95
UW
44112014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
4412
4413 * NEWS: Document new target powerpc64le-*-linux*.
4414
26fd9228
MK
44152014-02-04 Mark Kettenis <kettenis@gnu.org>
4416
4417 * sparc64obsd-tdep.c (sparc64obsd_gregset): New variable.
4418 (sparc64obsd_supply_gregset): Handle registers sets used in ELF
4419 core dumps.
4420 (sparc64obsd_init_abi): Adjust minimum size of the general purpose
4421 register set used in ELF core dumps. Add floating-point register set.
4422
c5bb7362
KB
44232014-02-03 Kevin Buettner <kevinb@redhat.com>
4424
4425 * mn10300-tdep.c (mn10300_dwarf2_reg_to_regnum): Rewrite
4426 dwarf2_to_gdb[] table using symbolic constants. Adjust
4427 penultimate entry from number representing the PC register
4428 to symbolic constant representing the MDR register. Add
4429 constant for the PC register to the end of the table.
4430
af09351e
MK
44312014-02-03 Mark Kettenis <kettenis@gnu.org>
4432
4433 * bsd-kvm.c: Include <sys/param.h>
4434
8507e05d
MK
44352014-02-03 Mark Kettenis <kettenis@gnu.org>
4436
4437 * sparc64nbsd-nat.c (sparc64nbsd_supply_fpregset): Fix prototype.
4438
ae56bfb8
JB
44392014-01-31 Joel Brobecker <brobecker@adacore.com>
4440
4441 * ada-lang.h (clear_ada_sym_cache): Delete.
4442
718ee4dc
UW
44432014-01-30 Ulrich Weigand  <uweigand@de.ibm.com>
4444
4445 * auxv.c (fprint_target_auxv): Handle AT_HWCAP2.
4446
401e27fd
JM
44472014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
4448
4449 * sparc64-linux-tdep.c (sparc64_linux_step_trap): Get PC from
4450 the sigreturn register save area only if the syscall is
4451 sigreturn.
4452
a7c88acd
JB
44532014-01-29 Joel Brobecker <brobecker@adacore.com>
4454
4455 * valops.c (value_slice): Minor reformatting.
4456
fa0079ea
UW
44572014-01-28 Ulrich Weigand  <uweigand@de.ibm.com>
4458
4459 * ppc64-tdep.c (ppc64_standard_linkage7): Fix typo.
4460
c6044dd1
JB
44612014-01-28 Joel Brobecker <brobecker@adacore.com>
4462
4463 * ada-lang.c (maint_set_ada_cmdlist, maint_show_ada_cmdlist):
4464 New static globals.
4465 (maint_set_ada_cmd, maint_show_ada_cmd): New functions.
4466 (ada_ignore_descriptive_types_p): New static global.
4467 (find_parallel_type_by_descriptive_type): Return immediately
4468 if ada_ignore_descriptive_types_p is set.
4469 (_initialize_ada_language): Register new commands "maintenance
4470 set ada", "maintenance show ada", "maintenance set ada
4471 ignore-descriptive-types" and "maintenance show ada
4472 ignore-descriptive-types".
4473 * NEWS: Add entry for new "maint ada set/show
4474 ignore-descriptive-types" commands.
4475
568e808b
MM
44762014-01-27 Markus Metzger <markus.t.metzger@intel.com>
4477
4478 * record-btrace.c (record_btrace_close): Call btrace_teardown
4479 for all threads.
4480
467d141b
JB
44812014-01-27 Joel Brobecker <brobecker@adacore.com>
4482
4483 * ada-lang.c: Remove "#ifdef UI_OUT" condition for including
4484 "ui-out.h".
4485
fb151210
JB
44862014-01-27 Joel Brobecker <brobecker@adacore.com>
4487
4488 * ada-typeprint (type_is_full_subrange_of_target_type):
4489 New function.
4490 (print_range): Add parameter bounds_prefered_p. If not set,
4491 try printing range types using the name of their base type.
4492 (print_range_type): Add parameter bounds_prefered_p.
4493 Use it in call to print_range.
4494 (print_array_type, ada_print_type): Update calls to print_range
4495 and print_range_type.
4496
aba02109
JB
44972014-01-27 Joel Brobecker <brobecker@adacore.com>
4498
4499 * ada-typeprint.c (print_array_type, print_choices, print_range)
4500 (print_range_bound, print_dynamic_range_bound, print_range_type):
4501 Remove declaration.
4502
e62e21fd
JB
45032014-01-27 Joel Brobecker <brobecker@adacore.com>
4504
4505 * ada-typeprint.c (print_range): Add missing empty line
4506 after local declaration.
4507
859cf5d1
JB
45082014-01-27 Joel Brobecker <brobecker@adacore.com>
4509
4510 * ada-valprint.c (print_optional_low_bound): Get index_type's
4511 target type for as long as it is a TYPE_CODE_RANGE.
4512
25790f6f
JB
45132014-01-27 Joel Brobecker <brobecker@adacore.com>
4514
4515 * procfs.c (procfs_make_note_section): Remove assertion and
4516 associated comment.
4517
6b6aa828
YQ
45182014-01-24 Yao Qi <yao@codesourcery.com>
4519
4520 * remote.c (remote_read_bytes): Change type of len to ULONGEST.
4521 * corelow.c (get_core_siginfo): Likewise.
4522
5d6df423
YQ
45232014-01-24 Yao Qi <yao@codesourcery.com>
4524
4525 * remote.c (remote_write_bytes_aux): Change type of 'len' to
4526 ULONGEST. Don't check 'len' is negative.
4527 (remote_write_bytes): Change type of 'len' to ULONGEST.
4528
83b645b8
TT
45292014-01-23 Tom Tromey <tromey@redhat.com>
4530
4531 PR python/16485:
4532 * python/lib/gdb/FrameDecorator.py: (FrameVars.fetch_frame_args):
4533 Handle exception from frame.block.
4534 (FrameVars.fetch_frame_locals): Likewise.
4535
0740f8d8
TT
45362014-01-23 Tom Tromey <tromey@redhat.com>
4537
4538 PR python/16487:
4539 * python/py-framefilter.c (py_print_frame): Don't call Py_DECREF
4540 on a NULL pointer. Move "goto error" to correct place.
4541
21909fa1
TT
45422014-01-23 Tom Tromey <tromey@redhat.com>
4543
4544 PR python/16491:
4545 * python/py-framefilter.c (apply_frame_filter): Call
4546 ensure_python_env after computing gdbarch.
4547
17fde6d0
YQ
45482014-01-23 Yao Qi <yao@codesourcery.com>
4549
4550 * target.c (raw_memory_xfer_partial): Change argument type
4551 from void * to gdb_byte *.
4552 (memory_xfer_partial_1, memory_xfer_partial): Likewise.
4553
87ce2a04
DE
45542014-01-22 Doug Evans <dje@google.com>
4555
4556 New gdbserver option --debug-format=timestamp.
4557 * NEWS: Mention it.
4558
237b092b
AA
45592014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
4560
4561 * syscalls/s390x-linux.xml: New file.
4562 * syscalls/s390-linux.xml: New file.
4563 * s390-linux-tdep.c (XML_SYSCALL_FILENAME_S390): New macro.
4564 (XML_SYSCALL_FILENAME_S390X): Likewise.
4565 (op_svc): New enum value for SVC opcode.
4566 (s390_sigtramp_frame_sniffer): Replace literal by 'op_svc'.
4567 (s390_linux_get_syscall_number): New function.
4568 (s390_gdbarch_init): Register '*get_syscall_number' and the
4569 syscall xml file name.
4570 * data-directory/Makefile.in (SYSCALLS_FILES): Add
4571 "s390-linux.xml" and "s390x-linux.xml".
4572 * NEWS: Announce new feature.
4573
54bff650
BS
45742014-01-22 Baruch Siach <baruch@tkos.co.il>
4575
4576 * xtensa-tdep.h (xtensa_elf_greg_t): Change type to uint32_t.
4577
14e361d7
PA
45782014-01-22 Pedro Alves <palves@redhat.com>
4579
4580 * xtensa-config.c: Include defs.h.
4581
46bbb3ed
JB
45822014-01-22 Joel Brobecker <brobecker@adacore.com>
4583
4584 * common/common-utils.h: Add "ARI:" comment beside __func__
4585 reference.
4586
3a80edfc
JB
45872014-01-22 Joel Brobecker <brobecker@adacore.com>
4588
4589 * common/common-utils.h (FUNCTION_NAME): Expand the macro's
4590 documentation a bit.
4591
4869db5e
RM
45922014-01-21 Roland McGrath <mcgrathr@google.com>
4593
4594 * configure.ac: Call AM_PROG_INSTALL_STRIP.
4595 * configure: Regenerate.
4596 * aclocal.m4: Regenerate.
4597 * Makefile.in (install_sh, INSTALL_STRIP_PROGRAM, STRIP):
4598 New substituted variables.
4599 (install-strip): New target.
4600 (INSTALL_SCRIPT): New substituted variable.
4601 (FLAGS_TO_PASS): Add it.
4602 (install-only): Use $(INSTALL_SCRIPT) rather than
4603 $(INSTALL_PROGRAM) for gcore.
4604
9ea4267d
TT
46052014-01-20 Tom Tromey <tromey@redhat.com>
4606
4607 * cli/cli-decode.h (struct cmd_list_element): Move all bitfields
4608 together.
4609
1f2bdf09
TT
46102014-01-20 Tom Tromey <tromey@redhat.com>
4611
4612 * cli/cli-decode.c (add_cmd, deprecate_cmd, add_alias_cmd)
4613 (add_setshow_cmd_full, delete_cmd, lookup_cmd_1)
4614 (deprecated_cmd_warning, complete_on_cmdlist): Update.
4615 * cli/cli-decode.h (CMD_DEPRECATED, DEPRECATED_WARN_USER)
4616 (MALLOCED_REPLACEMENT, DOC_ALLOCATED): Remove.
4617 (struct cmd_list_element) <flags>: Remove.
4618 <cmd_deprecated, deprecated_warn_user, malloced_replacement,
4619 doc_allocated>: New fields.
4620 <hook_in, allow_unknown, abbrev_flag, type, var_type>: Now
4621 bitfields.
4622 * maint.c (maintenance_do_deprecate): Update.
4623 * top.c (execute_command): Update.
4624
e671835b
BS
46252014-01-20 Baruch Siach <baruch@tkos.co.il>
4626
4627 * xtensa-linux-nat.c: Include asm/ptrace.h.
4628
50367cd2
IB
46292014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
4630
4631 * Makefile.in (SFILES): Add d-support.c.
4632 (COMMON_OBS): Add d-support.o.
4633 * d-lang.h (d_parse_symbol): Add comment, now defined in
4634 d-support.c.
4635 * d-lang.c (parse_call_convention)
4636 (parse_attributes, parse_function_types)
4637 (parse_function_args, parse_type, parse_identifier)
4638 (call_convention_p, d_parse_symbol): Move functions to ...
4639 * d-support.c: ... New file.
4640
ec9f644a
IB
46412014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
4642
4643 * d-lang.h (d_parse_symbol): Add declaration.
4644 * d-lang.c (extract_identifiers)
4645 (extract_type_info): Remove functions.
4646 (parse_call_convention, parse_attributes)
4647 (parse_function_types, parse_function_args)
4648 (parse_type, parse_identifier, call_convention_p)
4649 (d_parse_symbol): New functions.
4650 (d_demangle): Use d_parse_symbol to demangle D symbols.
4651
94b1b47e
IB
46522014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
4653
4654 * d-lang.h (struct builtin_d_type): New data type.
4655 (builtin_d_type): Add declaration.
4656 * d-lang.c (d_language_arch_info, build_d_types)
4657 (builtin_d_type): New functions.
4658 (enum d_primitive_types): New data type.
4659 (d_language_defn): Change c_language_arch_info to
4660 d_language_arch_info.
4661 (d_type_data): New static variable.
4662 (_initialize_d_language): Initialize d_type_data.
4663
63778547
IB
46642014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
4665
4666 * d-lang.h (d_main_name): Add declaration.
4667 * d-lang.c (d_main_name): New function.
4668 * symtab.c (find_main_name): Add call to d_main_name.
4669
3271ba66
IB
46702014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
4671
4672 * d-lang.c (d_language_defn): Change macro_expansion_c to
4673 macro_expansion_no.
4674
d36b3012
IB
46752014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
4676
4677 * MAINTAINERS: Add myself as a write-after-approval maintainer.
4678
c90a6fb7
SDJ
46792014-01-17 Sergio Durigan Junior <sergiodj@redhat.com>
4680
4681 * breakpoint.c (insert_bp_location): Add "volatile" keyword to "struct
4682 gdb_exception" declaration.
4683 * remote.c (getpkt_or_notif_sane): Likewise.
4684
749234e5
DE
46852014-01-17 Doug Evans <dje@google.com>
4686
4687 * common/gdb_vecs.c (delim_string_to_char_ptr_vec_append): New
4688 function, contents of dirnames_to_char_ptr_vec_append moved here.
4689 (delim_string_to_char_ptr_vec): New function.
4690 (dirnames_to_char_ptr_vec_append): Rewrite.
4691 * common/gdb_vecs.h (delim_string_to_char_ptr_vec): Declare.
4692
df049a58
DE
46932014-01-17 Doug Evans <dje@google.com>
4694
4695 * common/common-utils.h (FUNCTION_NAME): Renamed from ASSERT_FUNCTION,
4696 and moved here ...
4697 * common/gdb_assert.h (ASSERT_FUNCTION): ... from here.
4698 #include "common-utils.h".
4699 (gdb_assert, gdb_assert_fail, gdb_assert_not_reached): Update.
4700 * common/vec.h (VEC_ASSERT_PASS): Update.
4701 * darwin-nat.h: Replace #include of gdb_assert.h with common-utils.h.
4702 (MACH_CHECK_ERROR): Update.
4703
69f97648
SM
47042014-01-17 Simon Marchi <simon.marchi@ericsson.com>
4705
4706 * gdbarch.sh (gdbarch_address_class_name_to_type_flags): Add
4707 comments.
4708 * gdbarch.h: Regenerate.
4709
98b1cfdc
TT
47102014-01-16 Tom Tromey <tromey@redhat.com>
4711
4712 * value.c (struct value) <regnum>: Move earlier.
4713
77a19445
TT
47142014-01-16 Tom Tromey <tromey@redhat.com>
4715
4716 * remote.c (extended_remote_create_inferior): Rename from
4717 extended_remote_create_inferior_1. Add "ops" argument. Remove
4718 old implementation.
4719
62261490
PA
47202014-01-16 Pedro Alves <palves@redhat.com>
4721
4722 * s390-linux-tdep.c (s390_frame_unwind_cache): Swallow
4723 NOT_AVAILABLE_ERROR errors while parsing the prologue or reading
4724 the backchain.
4725
4d65956b
DE
47262014-01-16 Doug Evans <dje@google.com>
4727
4728 * dwarf2read.c (open_and_init_dwp_file): Fix typo in comment.
4729
52834460
MM
47302014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4731
4732 * btrace.h (btrace_thread_flag): New.
4733 (struct btrace_thread_info) <flags>: New.
4734 * record-btrace.c (record_btrace_resume_thread)
4735 (record_btrace_find_thread_to_move, btrace_step_no_history)
4736 (btrace_step_stopped, record_btrace_start_replaying)
4737 (record_btrace_step_thread, record_btrace_decr_pc_after_break)
4738 (record_btrace_find_resume_thread): New.
4739 (record_btrace_resume, record_btrace_wait): Extend.
4740 (record_btrace_can_execute_reverse): New.
4741 (record_btrace_open): Fail in non-stop mode.
4742 (record_btrace_set_replay): Split into this, ...
4743 (record_btrace_stop_replaying): ... this, ...
4744 (record_btrace_clear_histories): ... and this.
4745 (init_record_btrace_ops): Init to_can_execute_reverse.
4746 * NEWS: Announce it.
4747
118e6252
MM
47482014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4749
4750 * target.h (struct target_ops) <to_decr_pc_after_break>: New.
4751 (forward_target_decr_pc_after_break)
4752 (target_decr_pc_after_break): New.
4753 * target.c (forward_target_decr_pc_after_break)
4754 (target_decr_pc_after_break): New.
4755 * aix-thread.c (aix_thread_wait): Call target_decr_pc_after_break
4756 instead of gdbarch_decr_pc_after_break.
4757 * darwin-nat.c (cancel_breakpoint): Call target_decr_pc_after_break
4758 instead of gdbarch_decr_pc_after_break.
4759 * infrun.c (adjust_pc_after_break): Call target_decr_pc_after_break
4760 instead of gdbarch_decr_pc_after_break.
4761 * linux-nat.c (cancel_breakpoint): Call target_decr_pc_after_break
4762 instead of gdbarch_decr_pc_after_break.
4763 * linux-thread-db.c (check_event): Call target_decr_pc_after_break
4764 instead of gdbarch_decr_pc_after_break.
4765 * record-full.c (record_full_wait_1): Call target_decr_pc_after_break
4766 instead of gdbarch_decr_pc_after_break.
4767
6e07b1d2
MM
47682014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4769
4770 * btrace.c: Include regcache.h.
4771 (btrace_add_pc): New.
4772 (btrace_enable): Call btrace_add_pc.
4773 (btrace_is_empty): New.
4774 * btrace.h (btrace_is_empty): New.
4775 * record-btrace.c (require_btrace, record_btrace_info): Call
4776 btrace_is_empty.
4777
969c39fb
MM
47782014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4779
4780 * common/linux-btrace.c (perf_event_read_bts, linux_read_btrace):
4781 Support delta reads.
4782 (linux_disable_btrace): Change return type.
4783 * common/linux-btrace.h (linux_read_btrace): Change parameters
4784 and return type to allow error reporting. Update users.
4785 (linux_disable_btrace): Change return type. Update users.
4786 * common/btrace-common.h (btrace_read_type) <BTRACE_READ_DELTA>:
4787 New.
4788 (btrace_error): New.
4789 (btrace_block) <begin>: Comment on BEGIN == 0.
4790 * btrace.c (btrace_compute_ftrace): Start from the end of
4791 the current trace.
4792 (btrace_stitch_trace, btrace_clear_history): New.
4793 (btrace_fetch): Read delta trace, return if replaying.
4794 (btrace_clear): Move clear history code to btrace_clear_history.
4795 (parse_xml_btrace): Throw an error if parsing failed.
4796 * target.h (struct target_ops) <to_read_btrace>: Change parameters
4797 and return type to allow error reporting.
4798 (target_read_btrace): Change parameters and return type to allow
4799 error reporting.
4800 * target.c (target_read_btrace): Update.
4801 * remote.c (remote_read_btrace): Support delta reads. Pass
4802 errors on.
4803 * NEWS: Announce it.
4804
0b722aec
MM
48052014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4806
4807 * record.h (record_btrace_frame_unwind)
4808 (record_btrace_tailcall_frame_unwind): New declarations.
4809 * dwarf2-frame: Include record.h
4810 (dwarf2_frame_cfa): Throw an error for btrace frames.
4811 * record-btrace.c: Include hashtab.h.
4812 (btrace_get_bfun_name): New.
4813 (btrace_call_history): Call btrace_get_bfun_name.
4814 (struct btrace_frame_cache): New.
4815 (bfcache): New.
4816 (bfcache_hash, bfcache_eq, bfcache_new): New.
4817 (btrace_get_frame_function): New.
4818 (record_btrace_frame_unwind_stop_reason): Allow unwinding.
4819 (record_btrace_frame_this_id): Compute own id.
4820 (record_btrace_frame_prev_register): Provide PC, throw_error
4821 for all other registers.
4822 (record_btrace_frame_sniffer): Detect btrace frames.
4823 (record_btrace_tailcall_frame_sniffer): New.
4824 (record_btrace_frame_dealloc_cache): New.
4825 (record_btrace_frame_unwind): Add new functions.
4826 (record_btrace_tailcall_frame_unwind): New.
4827 (_initialize_record_btrace): Allocate cache.
4828 * btrace.c (btrace_clear): Call reinit_frame_cache.
4829 * NEWS: Announce it.
4830
066ce621
MM
48312014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4832
4833 * record-btrace.c (record_btrace_set_replay)
4834 (record_btrace_goto_begin, record_btrace_goto_end)
4835 (record_btrace_goto): New.
4836 (init_record_btrace_ops): Initialize them.
4837 * NEWS: Announce it.
4838
e2887aa3
MM
48392014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4840
4841 * record-btrace.c (record_btrace_find_new_threads)
4842 (record_btrace_thread_alive): New.
4843 (init_record_btrace_ops): Initialize to_find_new_threads and
4844 to_thread_alive.
4845
b2f4cfde
MM
48462014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4847
4848 * record-btrace.c (record_btrace_resume): New.
4849 (record_btrace_wait): New.
4850 (init_record_btrace_ops): Initialize to_wait and to_resume.
4851
633785ff
MM
48522014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4853
4854 * record-btrace.c (record_btrace_xfer_partial)
4855 (record_btrace_insert_breakpoint, record_btrace_remove_breakpoint)
4856 (record_btrace_allow_memory_access): New.
4857 (init_record_btrace_ops): Initialize new methods.
4858 * target.c (raw_memory_xfer_partial): Bail out if target reports
4859 that this memory is not available.
4860
3db08215
MM
48612014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4862
4863 * target.h (target_ops) <to_insert_breakpoint>
4864 <to_remove_breakpoint>: Add target_ops parameter.
4865 (forward_target_insert_breakpoint): New.
4866 (forward_target_remove_breakpoint): New.
4867 (memory_remove_breakpoint, memory_insert_breakpoint):
4868 Add target_ops parameter.
4869 * target.c (target_insert_breakpoint): Split into this and ...
4870 (forward_target_insert_breakpoint): ... this.
4871 (target_remove_breakpoint): Split into this and ...
4872 (forward_target_remove_breakpoint): ... this.
4873 (debug_to_insert_breakpoint): Add target_ops parameter.
4874 Call forward_target_insert_breakpoint.
4875 (debug_to_remove_breakpoint): Add target_ops parameter.
4876 Call forward_target_remove_breakpoint.
4877 (update_current_target): Do not inherit or default to_insert_breakpoint
4878 and to_remove_breakpoint.
4879 * corelow.c (ignore): Add target_ops parameter.
4880 * exec.c (ignore): Add target_ops parameter.
4881 * mem-break.c (memory_insert_breakpoint, memory_remove_breakpoint):
4882 Add target_ops parameter.
4883 * monitor.c (monitor_insert_breakpoint, monitor_remove_breakpoint):
4884 Add target_ops parameter.
4885 * nto-procfs.c (procfs_insert_breakpoint, procfs_remove_breakpoint):
4886 Add target_ops parameter.
4887 * record-full.c (record_full_beneath_to_insert_breakpoint)
4888 (record_full_beneath_to_remove_breakpoint, tmp_to_insert_breakpoint)
4889 (tmp_to_remove_breakpoint, record_full_insert_breakpoint)
4890 (record_full_remove_breakpoint, record_full_core_insert_breakpoint)
4891 (record_full_core_remove_breakpoint): Add target_ops parameter.
4892 Update users.
4893 (record_full_beneath_to_insert_breakpoint_ops)
4894 (record_full_beneath_to_remove_breakpoint_ops)
4895 (tmp_to_insert_breakpoint_ops, tmp_to_remove_breakpoint_ops): New.
4896 (record_full_open): Initialize tmp_to_insert_breakpoint_ops,
4897 tmp_to_remove_breakpoint_ops,
4898 record_full_beneath_to_insert_breakpoint_ops, and
4899 record_full_beneath_to_remove_breakpoint_ops.
4900 * remote-m32r-sdi.c (m32r_insert_breakpoint)
4901 (m32r_remove_breakpoint): Add target_ops parameter.
4902 * remote-mips.c (mips_insert_breakpoint, mips_remove_breakpoint):
4903 Add target_ops parameter.
4904 * remote.c (remote_insert_breakpoint, remote_remove_breakpoint):
4905 Add target_ops parameter.
4906
cecac1ab
MM
49072014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
4908 Markus Metzger <markus.t.metzger@intel.com>
4909
4910 * record-btrace.c: Include frame-unwind.h.
4911 (record_btrace_frame_unwind_stop_reason)
4912 (record_btrace_frame_this_id, record_btrace_frame_prev_register)
4913 (record_btrace_frame_sniffer, record_btrace_frame_unwind):
4914 New.
4915 (init_record_btrace_ops): Install it.
4916
824344ca
MM
49172014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
4918
4919 * frame.c (get_frame_unwind_stop_reason): Unconditionally call
4920 get_prev_frame_1.
4921
32261e52
MM
49222014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
4923
4924 * dwarf2-frame.c (dwarf2_frame_cfa): Move UNWIND_UNAVAILABLE check
4925 earlier.
4926
ea001bdc
MM
49272014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
4928
4929 * frame-unwind.c: Include target.h.
4930 (frame_unwind_try_unwinder): New function with code from ...
4931 (frame_unwind_find_by_frame): ... here. New variable
4932 unwinder_from_target, call also target_get_unwinder)
4933 (target_get_tailcall_unwinder, and frame_unwind_try_unwinder for it.
4934 * target.c (target_get_unwinder, target_get_tailcall_unwinder): New.
4935 * target.h (struct target_ops): New fields to_get_unwinder and
4936 to_get_tailcall_unwinder.
4937 (target_get_unwinder, target_get_tailcall_unwinder): New declarations.
4938
1f3ef581
MM
49392014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4940
4941 * record-btrace.c (record_btrace_fetch_registers)
4942 (record_btrace_store_registers)
4943 (record_btrace_to_prepare_to_store): New.
4944 (init_record_btrace_ops): Add the above.
4945
f32dbf8c
MM
49462014-01-16 Tom Tromey <tromey@redhat.com>
4947
4948 * windows-nat.c (windows_prepare_to_store): Add 'self' argument.
4949 * target.h (struct target_ops) <to_prepare_to_store>: Add
4950 argument.
4951 (target_prepare_to_store): Add argument.
4952 * target.c (debug_to_prepare_to_store): Add argument.
4953 (update_current_target): Update.
4954 * remote.c (remote_prepare_to_store): Add 'self' argument.
4955 * remote-sim.c (gdbsim_prepare_to_store): Add 'self' argument.
4956 * remote-mips.c (mips_prepare_to_store): Add 'self' argument.
4957 * remote-m32r-sdi.c (m32r_prepare_to_store): Add 'self' argument.
4958 * record-full.c (record_full_core_prepare_to_store): Add 'self'
4959 argument.
4960 * ravenscar-thread.c (ravenscar_prepare_to_store): Add argument.
4961 * nto-procfs.c (procfs_prepare_to_store): Add 'self' argument.
4962 * monitor.c (monitor_prepare_to_store): Add 'self' argument.
4963 * inf-child.c (inf_child_prepare_to_store): Add 'self' argument.
4964 * go32-nat.c (go32_prepare_to_store): Add 'self' argument.
4965
07bbe694
MM
49662014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4967
4968 * btrace.h (replay) <replay>: New.
4969 (btrace_is_replaying): New.
4970 * btrace.c (btrace_clear): Free replay iterator.
4971 (btrace_is_replaying): New.
4972 * record-btrace.c (record_btrace_is_replaying): New.
4973 (record_btrace_info): Print insn number if replaying.
4974 (record_btrace_insn_history): Start at replay position.
4975 (record_btrace_call_history): Start at replay position.
4976 (init_record_btrace_ops): Init to_record_is_replaying.
4977
0688d04e
MM
49782014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4979
4980 * record-btrace.c (record_btrace_insn_history_range): Include
4981 end.
4982 (record_btrace_insn_history_from): Adjust range.
4983 (record_btrace_call_history_range): Include
4984 end.
4985 (record_btrace_call_history_from): Adjust range.
4986 * NEWS: Announce changes.
4987
8710b709
MM
49882014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4989
4990 * record.h (enum record_print_flag)
4991 <record_print_indent_calls>: New.
4992 * record.c (get_call_history_modifiers): Recognize /c modifier.
4993 (_initialize_record): Document /c modifier.
4994 * record-btrace.c (btrace_call_history): Add btinfo parameter.
4995 Reorder fields. Optionally indent the function name. Update
4996 all users.
4997 * NEWS: Announce changes.
4998
d0fa7535
MM
49992014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5000
5001 * common/linux-btrace.c (linux_enable_btrace): Enlarge buffer.
5002
5de9129b
MM
50032014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5004
5005 * btrace.c (ftrace_new_function): Start counting at one.
5006 * record-btrace.c (record_btrace_info): Adjust number of calls
5007 and insns.
5008 * NEWS: Announce it.
5009
7acbe133
MM
50102014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5011
5012 * record-btrace.c (btrace_call_history_insn_range): Print
5013 insn range as [begin, end].
5014
23a7fe75
MM
50152014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5016
5017 * btrace.h (struct btrace_func_link): New.
5018 (enum btrace_function_flag): New.
5019 (struct btrace_inst): Rename to ...
5020 (struct btrace_insn): ...this. Update all users.
5021 (struct btrace_func) <ibegin, iend>: Remove.
5022 (struct btrace_func_link): New.
5023 (struct btrace_func): Rename to ...
5024 (struct btrace_function): ...this. Update all users.
5025 (struct btrace_function) <segment, flow, up, insn, insn_offset)
5026 (number, level, flags>: New.
5027 (struct btrace_insn_iterator): Rename to ...
5028 (struct btrace_insn_history): ...this.
5029 Update all users.
5030 (struct btrace_insn_iterator, btrace_call_iterator): New.
5031 (struct btrace_target_info) <btrace, itrace, ftrace>: Remove.
5032 (struct btrace_target_info) <begin, end, level>
5033 <insn_history, call_history>: New.
5034 (btrace_insn_get, btrace_insn_number, btrace_insn_begin)
5035 (btrace_insn_end, btrace_insn_prev, btrace_insn_next)
5036 (btrace_insn_cmp, btrace_find_insn_by_number, btrace_call_get)
5037 (btrace_call_number, btrace_call_begin, btrace_call_end)
5038 (btrace_call_prev, btrace_call_next, btrace_call_cmp)
5039 (btrace_find_function_by_number, btrace_set_insn_history)
5040 (btrace_set_call_history): New.
5041 * btrace.c (btrace_init_insn_iterator)
5042 (btrace_init_func_iterator, compute_itrace): Remove.
5043 (ftrace_print_function_name, ftrace_print_filename)
5044 (ftrace_skip_file): Change
5045 parameter to const.
5046 (ftrace_init_func): Remove.
5047 (ftrace_debug): Use new btrace_function fields.
5048 (ftrace_function_switched): Also consider gaining and
5049 losing symbol information).
5050 (ftrace_print_insn_addr, ftrace_new_call, ftrace_new_return)
5051 (ftrace_new_switch, ftrace_find_caller, ftrace_new_function)
5052 (ftrace_update_caller, ftrace_fixup_caller, ftrace_new_tailcall):
5053 New.
5054 (ftrace_new_function): Move. Remove debug print.
5055 (ftrace_update_lines, ftrace_update_insns): New.
5056 (ftrace_update_function): Check for call, ret, and jump.
5057 (compute_ftrace): Renamed to ...
5058 (btrace_compute_ftrace): ...this. Rewritten to compute call
5059 stack.
5060 (btrace_fetch, btrace_clear): Updated.
5061 (btrace_insn_get, btrace_insn_number, btrace_insn_begin)
5062 (btrace_insn_end, btrace_insn_prev, btrace_insn_next)
5063 (btrace_insn_cmp, btrace_find_insn_by_number, btrace_call_get)
5064 (btrace_call_number, btrace_call_begin, btrace_call_end)
5065 (btrace_call_prev, btrace_call_next, btrace_call_cmp)
5066 (btrace_find_function_by_number, btrace_set_insn_history)
5067 (btrace_set_call_history): New.
5068 * record-btrace.c (require_btrace): Use new btrace thread
5069 info fields.
5070 (record_btrace_info, btrace_insn_history)
5071 (record_btrace_insn_history, record_btrace_insn_history_range):
5072 Use new btrace thread info fields and new iterator.
5073 (btrace_func_history_src_line): Rename to ...
5074 (btrace_call_history_src_line): ...this. Use new btrace
5075 thread info fields.
5076 (btrace_func_history): Rename to ...
5077 (btrace_call_history): ...this. Use new btrace thread info
5078 fields and new iterator.
5079 (record_btrace_call_history, record_btrace_call_history_range):
5080 Use new btrace thread info fields and new iterator.
5081
8372a7cb
MM
50822014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5083
5084 * frame.h (frame_id_build_unavailable_stack_special): New.
5085 * frame.c (frame_id_build_unavailable_stack_special): New.
5086
c2170eef
MM
50872014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5088
5089 * amd64-tdep.c (amd64_classify_insn_at, amd64_insn_is_call)
5090 (amd64_insn_is_ret, amd64_insn_is_jump, amd64_jmp_p): New.
5091 (amd64_init_abi): Add insn_is_call, insn_is_ret, and insn_is_jump
5092 to gdbarch.
5093 * i386-tdep.c (i386_insn_is_call, i386_insn_is_ret)
5094 (i386_insn_is_jump, i386_jmp_p): New.
5095 (i386_gdbarch_init): Add insn_is_call, insn_is_ret, and
5096 insn_is_jump to gdbarch.
5097 * gdbarch.sh (insn_is_call, insn_is_ret, insn_is_jump): New.
5098 * gdbarch.h: Regenerated.
5099 * gdbarch.c: Regenerated.
5100 * arch-utils.h (default_insn_is_call, default_insn_is_ret)
5101 (default_insn_is_jump): New.
5102 * arch-utils.c (default_insn_is_call, default_insn_is_ret)
5103 (default_insn_is_jump): New.
5104
864089d2
MM
51052014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5106
5107 * common/btrace-common.h (btrace_read_type) <btrace_read_all>:
5108 Change to ...
5109 (btrace_read_type) <BTRACE_READ_ALL>: ... this. Update users.
5110 (btrace_read_type) <btrace_read_new>: Change to ...
5111 (btrace_read_type) <BTRACE_READ_NEW>: ... this. Update users.
5112
ed9edfb5
MM
51132014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5114
5115 * common/linux-btrace.c (linux_read_btrace): Free trace from
5116 previous iteration.
5117
fbcbc3fd
DE
51182014-01-15 Doug Evans <dje@google.com>
5119
5120 * dwarf2read.c (open_and_init_dwp_file): Use pulongest to print
5121 uint32_t.
5122
3d548a53
TT
51232014-01-15 Tom Tromey <tromey@redhat.com>
5124
5125 * dbxread.c (process_one_symbol): Use set_objfile_main_name.
5126 * dwarf2read.c (read_partial_die): Use set_objfile_main_name.
5127 * objfiles.c (get_objfile_bfd_data): Initialize language_of_main.
5128 (set_objfile_main_name): New function.
5129 * objfiles.h (struct objfile_per_bfd_storage) <name_of_main,
5130 language_of_main>: New fields.
5131 (set_objfile_main_name): Declare.
5132 * symtab.c (find_main_name): Loop over objfiles to find the main
5133 name and language.
5134 (set_main_name): Now static.
5135 (get_main_info): Add comment.
5136 * symtab.h (set_main_name): Don't declare.
5137
32ac0d11
TT
51382014-01-15 Tom Tromey <tromey@redhat.com>
5139
5140 * symtab.c (main_progspace_key): New global.
5141 (struct main_info): New.
5142 (name_of_main, language_of_main): Remove.
5143 (get_main_info, main_info_cleanup): New function.
5144 (set_main_name, main_name, main_language): Use get_main_info.
5145 (_initialize_symtab): Initialize main_progspace_key.
5146
9e6c82ad
TT
51472014-01-15 Tom Tromey <tromey@redhat.com>
5148
5149 * dbxread.c (process_one_symbol): Update.
5150 * dwarf2read.c (read_partial_die): Update.
5151 * symfile.c (set_initial_language): Call main_language.
5152 * symtab.c (language_of_main): Now static.
5153 (set_main_name): Add 'lang' parameter.
5154 (find_main_name): Update.
5155 (main_language): New function.
5156 (symtab_observer_executable_changed): Update.
5157 * symtab.h (set_main_name): Update.
5158 (language_of_main): Remove.
5159 (main_language): Declare.
5160
6ef55de7
TT
51612014-01-15 Tom Tromey <tromey@redhat.com>
5162
5163 * symfile.c (init_entry_point_info): Use new "initialized" field.
5164 Update.
5165 * objfiles.h (struct entry_point) <initialized>: New field.
5166 (struct objfile_per_bfd_storage) <ei>: New field, moved from...
5167 (struct objfile) <ei>: ...here. Remove.
5168 * objfiles.c (entry_point_address_query): Update.
5169
53eddfa6
TT
51702014-01-15 Tom Tromey <tromey@redhat.com>
5171
5172 * objfiles.c (entry_point_address_query): Relocate entry point
5173 address.
5174 (objfile_relocate1): Do not relocate entry point address.
5175 * objfiles.h (struct entry_info) <entry_point>: Update comment.
5176 <the_bfd_section_index>: New field.
5177 * symfile.c (init_entry_point_info): Find the entry point's
5178 section.
5179
d56e56aa
TT
51802014-01-15 Tom Tromey <tromey@redhat.com>
5181
5182 * solib-frv.c (enable_break): Use entry_point_address_query.
5183
33a97bbe
OJ
51842014-01-15 Omair Javaid <omair.javaid@linaro.org>
5185
5186 * NEWS: Add note on improved process record-replay on
5187 arm*-linux* targets.
5188
c6ec2b30
OJ
51892014-01-15 Omair Javaid <omair.javaid@linaro.org>
5190
5191 * arm-tdep.c (enum arm_record_result): New enum.
5192 (arm_record_unsupported_insn): New function.
5193 (arm_record_coproc_data_proc): Removed.
5194 (thumb2_record_ld_st_multiple): New function.
5195 (thumb2_record_ld_st_dual_ex_tbb): New function.
5196 (thumb2_record_data_proc_sreg_mimm): New function.
5197 (thumb2_record_ps_dest_generic): New function.
5198 (thumb2_record_branch_misc_cntrl): New function.
5199 (thumb2_record_str_single_data): New function.
5200 (thumb2_record_ld_mem_hints): New function.
5201 (thumb2_record_ld_word): New function.
5202 (thumb2_record_lmul_lmla_div): New function.
5203 (thumb2_record_decode_insn_handler): New function.
5204 (decode_insn): Add thumb32 instruction handlers.
5205
97dfe206
OJ
52062014-01-15 Omair Javaid <omair.javaid@linaro.org>
5207
5208 * arm-linux-tdep.c: Include "record-full.h" and "linux-record.h".
5209 (struct arm_linux_record_tdep): Declare.
5210 (arm_canonicalize_syscall): New function.
5211 (arm_all_but_pc_registers_record): New function.
5212 (arm_linux_syscall_record): New function.
5213 (arm_linux_init_abi): Add syscall recording constructs.
5214 * arm-tdep.c (thumb_record_ldm_stm_swi): Update thumb syscall
5215 decoding. (arm_record_coproc_data_proc): Update arm syscall
5216 decoding.
5217 * arm-tdep.h (struct gdbarch_tdep) <arm_swi_record>: Remove.
5218 <arm_syscall_record>: New field.
5219 * configure.tgt (arm*-*-linux*): Add linux-record.o to
5220 gdb_target_obs.
5221
9904a494
OJ
52222014-01-15 Omair Javaid <omair.javaid@linaro.org>
5223
5224 * arm-tdep.c (thumb_record_misc): Update to use sp as base
5225 register for push instruction recording.
5226
f969241e
OJ
52272014-01-15 Omair Javaid <omair.javaid@linaro.org>
5228
5229 * arm-tdep.c (thumb_record_misc): Update to correct logical
5230 error while recording ldm, ldmia and pop instructions.
5231
bfbbec00
OJ
52322014-01-15 Omair Javaid <omair.javaid@linaro.org>
5233
5234 * arm-tdep.c (struct arm_mem_r) <addr>: Change type to uint32_t.
5235
e40adcc9
PA
52362014-01-15 Pedro Alves <palves@redhat.com>
5237
5238 * go32-nat.c (go32_open, go32_close, go32_attach, go32_detach)
5239 (go32_resume, go32_fetch_registers, store_register)
5240 (go32_store_registers, go32_prepare_to_store)
5241 (go32_xfer_memory, go32_files_info, go32_kill_inferior)
5242 (go32_create_inferior, go32_can_run, go32_terminal_init)
5243 (go32_terminal_inferior, go32_terminal_ours): Delete forward
5244 declarations.
5245
b0a16e66
TT
52462014-01-15 Tom Tromey <tromey@redhat.com>
5247
5248 * target.h (async_callback_ftype): New typedef.
5249 (struct target_ops) <to_async>: Use it.
5250
bf7105a4
JB
52512014-01-15 Joel Brobecker <brobecker@adacore.com>
5252
5253 * python/py-value.c (get_field_type): Remove unnecessary curly
5254 braces for single-statement if block.
5255
a8f35c2e
JB
52562014-01-15 Joel Brobecker <brobecker@adacore.com>
5257
5258 * python/py-type.c (convert_field): Add missing empty line
5259 after declarations.
5260
bb4142cf
DE
52612014-01-14 Doug Evans <dje@google.com>
5262
5263 * symfile.h (expand_symtabs_matching): Renamed from
5264 expand_partial_symbol_names. Update prototype.
5265 (map_symbol_filenames): Renamed from map_partial_symbol_filenames.
5266 * symfile.c (expand_symtabs_matching): Renamed from
5267 expand_partial_symbol_names. New args file_matcher, kind.
5268 Rename arg fun to symbol_matcher.
5269 (map_symbol_filenames): Renamed from map_partial_symbol_filenames.
5270 * ada-lang.c (ada_complete_symbol_matcher): Renamed from
5271 ada_expand_partial_symbol_name.
5272 (ada_make_symbol_completion_list): Update to call
5273 expand_symtabs_matching.
5274 (ada_add_global_exceptions): Call expand_symtabs_matching.
5275 * mi/mi-cmd-file.c (mi_cmd_file_list_exec_source_files): Update to
5276 call map_symbol_filenames.
5277 * symtab.c (sources_info): Update to call map_symbol_filenames.
5278 (search_symbols): Call expand_symtabs_matching.
5279 (symbol_completion_matcher): Renamed from expand_partial_symbol_name.
5280 (default_make_symbol_completion_list_break_on): Update to call
5281 expand_symtabs_matching.
5282 (make_source_files_completion_list): Update to call
5283 map_symbol_filenames.
5284
206f2a57
DE
52852014-01-14 Doug Evans <dje@google.com>
5286
5287 * symfile.h (expand_symtabs_file_matcher_ftype): New typedef.
5288 (expand_symtabs_symbol_matcher_ftype): New typedef.
5289 (quick_symbol_functions.expand_symtabs_matching): Update to use.
5290 expand_symtabs_file_matcher_ftype, expand_symtabs_symbol_matcher_ftype.
5291 * symfile.c (expand_partial_symbol_names): Update to use
5292 expand_symtabs_symbol_matcher_ftype.
5293 * dwarf2read.c (dw2_expand_symtabs_matching): Update to use
5294 expand_symtabs_file_matcher_ftype, expand_symtabs_symbol_matcher_ftype.
5295 Arg name_matcher renamed to symbol_matcher.
5296 * psymtab.c (recursively_search_psymtabs): Update to use
5297 expand_symtabs_symbol_matcher_ftype. Arg name_matcher renamed to
5298 sym_matcher.
5299 (expand_symtabs_matching_via_partial): Update to use
5300 expand_symtabs_file_matcher_ftype, expand_symtabs_symbol_matcher_ftype.
5301 Arg name_matcher renamed to symbol_matcher.
5302
540c2971
DE
53032014-01-14 Doug Evans <dje@google.com>
5304
5305 * psymtab.c (expand_partial_symbol_names): Delete, moved to symfile.c.
5306 (map_partial_symbol_filenames): Ditto.
5307 * psymtab.h (expand_partial_symbol_names): Delete, moved to symfile.h.
5308 (map_partial_symbol_filenames): Ditto.
5309 * symfile.c (expand_partial_symbol_names): Moved here from psymtab.c.
5310 (map_partial_symbol_filenames): Ditto.
5311 * symfile.h (expand_partial_symbol_names): Moved here from psymtab.h.
5312 (map_partial_symbol_filenames): Ditto.
5313 * symtab.c: Delete #include "psymtab.h".
5314
8213266a
PA
53152014-01-14 Pedro Alves <palves@redhat.com>
5316 Tom Tromey <tromey@redhat.com>
5317
5318 * infrun.c (use_displaced_stepping): Use find_record_target
5319 instead of RECORD_IS_USED.
5320 (adjust_pc_after_break): Use record_full_is_used instead of
5321 RECORD_IS_USED.
5322 * record-btrace.c (record_btrace_open): Call record_preopen
5323 instead of checking RECORD_IS_USED.
5324 * record-full.c (record_full_shortname)
5325 (record_full_core_shortname): New globals.
5326 (record_full_is_used): New function.
5327 (find_full_open): Call record_preopen instead of checking
5328 RECORD_IS_USED.
5329 (init_record_full_ops): Set the target's shortname to
5330 record_full_shortname.
5331 (init_record_full_core_ops): Set the target's shortname to
5332 record_full_core_shortname.
5333 * record-full.h (record_full_is_used): Declare.
5334 * record.c (find_record_target): Make extern.
5335 (record_preopen): New function.
5336 * record.h (RECORD_IS_USED): Delete macro.
5337 (find_record_target, record_preopen): Declare functions.
5338
7ec1862d
YQ
53392014-01-14 Yao Qi <yao@codesourcery.com>
5340
5341 * gdbarch.sh (core_xfer_shared_libraries): Change its argument
5342 'len''s type to ULONGEST.
5343 (core_xfer_shared_libraries_aix): Likewise.
5344 * gdbarch.c, gdbarch.h: Regenerated.
5345 * i386-cygwin-tdep.c (windows_core_xfer_shared_libraries):
5346 Change type of 'len' to ULONGEST.
5347 * rs6000-aix-tdep.c (rs6000_aix_ld_info_to_xml): Likewise.
5348 (rs6000_aix_core_xfer_shared_libraries_aix): Likewise.
5349
dea80a27
YQ
53502014-01-14 Yao Qi <yao@codesourcery.com>
5351
5352 * common/linux-osdata.c (linux_xfer_osdata_processes): Change
5353 type of 'len' to ULONGEST.
5354 (linux_xfer_osdata_processgroups): Likewise.
5355 (linux_xfer_osdata_threads): Likewise.
5356 (linux_xfer_osdata_fds): Likewise.
5357 (linux_xfer_osdata_isockets): Likewise.
5358 (linux_xfer_osdata_shm): Likewise.
5359 (linux_xfer_osdata_sem): Likewise.
5360 (linux_xfer_osdata_msg): Likewise.
5361 (linux_common_xfer_osdata): Likewise.
5362 (struct osdata_type) <getter>: Likewise.
5363 * common/linux-osdata.h (linux_common_xfer_osdata): Update
5364 the declaration.
5365
b55e14c7
YQ
53662014-01-14 Yao Qi <yao@codesourcery.com>
5367
5368 * target.h (target_xfer_partial_ftype): Update.
5369 (struct target_ops) <to_xfer_partial>: Change 'len' type to
5370 ULONGEST.
5371 * aix-thread.c (aix_thread_xfer_partial): Change type of
5372 argument 'len' to ULONGEST.
5373 * auxv.c (procfs_xfer_auxv): Likewise.
5374 (ld_so_xfer_auxv): Likewise.
5375 (memory_xfer_auxv): Likewise.
5376 * bfd-target.c (target_bfd_xfer_partial): Likewise.
5377 * bsd-kvm.c (bsd_kvm_xfer_partial): Likewise.
5378 * bsd-uthread.c (bsd_uthread_xfer_partial): Likewise.
5379 * corelow.c (core_xfer_partial): Likewise.
5380 * ctf.c (ctf_xfer_partial): Likewise.
5381 * darwin-nat.c (darwin_read_write_inferior): Likewise. Use
5382 '%u'.
5383 (darwin_read_dyld_info): Likewise.
5384 (darwin_xfer_partial): Likewise.
5385 * exec.c (section_table_xfer_memory_partial): Likewise.
5386 (exec_xfer_partial): Likewise.
5387 * exec.h (section_table_xfer_memory_partial): Update
5388 declaration.
5389 * gnu-nat.c (gnu_xfer_memory): Likewise. Call pulongest
5390 instead of plongest.
5391 (gnu_xfer_partial): Likewise.
5392 * ia64-hpux-nat.c (ia64_hpux_xfer_memory): Likewise.
5393 (ia64_hpux_xfer_solib_got): Likewise.
5394 (ia64_hpux_xfer_partial): Likewise.
5395 * ia64-linux-nat.c (ia64_linux_xfer_partial):
5396 * inf-ptrace.c (inf_ptrace_xfer_partial):
5397 * inf-ttrace.c (inf_ttrace_xfer_partial):
5398 * linux-nat.c (linux_xfer_siginfo): Likewise.
5399 (linux_nat_xfer_partial): Likewise.
5400 (spu_enumerate_spu_ids, linux_proc_xfer_spu): Likewise.
5401 (linux_nat_xfer_osdata, linux_xfer_partial): Likewise.
5402 * monitor.c (monitor_xfer_memory): Likewise.
5403 (monitor_xfer_partial): Likewise.
5404 * procfs.c (procfs_xfer_partial): Likewise.
5405 * record-full.c (record_full_xfer_partial): Likewise.
5406 (record_full_core_xfer_partial): Likewise.
5407 * remote-sim.c (gdbsim_xfer_memory): Likewise. Call pulongest
5408 instead of plongest.
5409 (gdbsim_xfer_partial): Likewise.
5410 * remote.c (remote_xfer_partial): Likewise.
5411 * rs6000-aix-tdep.c (rs6000_aix_ld_info_to_xml): Likewise.
5412 * rs6000-aix-tdep.h (rs6000_aix_ld_info_to_xml): Update
5413 declaration.
5414 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
5415 (rs6000_xfer_shared_libraries): Likewise.
5416 * sol-thread.c (sol_thread_xfer_partial): Likewise.
5417 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
5418 (sparc_xfer_partial): Likewise.
5419 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise.
5420 (spu_xfer_partial): Likewise.
5421 * spu-multiarch.c (spu_xfer_partial): Likewise.
5422 * target.c (target_read_live_memory): Likewise.
5423 (memory_xfer_live_readonly_partial): Likewise.
5424 (memory_xfer_partial, memory_xfer_partial_1): Likewise.
5425 (target_xfer_partial, default_xfer_partial): Likewise.
5426 (current_xfer_partial): Likewise.
5427 * tracepoint.c (tfile_xfer_partial): Likewise.
5428 * windows-nat.c (windows_xfer_memory): Likewise. Call
5429 pulongest instead of plongest.
5430 (windows_xfer_partial): Likewise.
5431 (windows_xfer_shared_libraries): Likewise.
5432
05804640
YQ
54332014-01-14 Yao Qi <yao@codesourcery.com>
5434
5435 * rs6000-nat.c (rs6000_xfer_shared_libraries): Use
5436 target_xfer_partial_ftype.
5437
b5b08fb4
SC
54382014-01-13 Siva Chandra Reddy <sivachandra@google.com>
5439
5440 PR python/15464
5441 PR python/16113
5442 * valops.c (value_struct_elt_bitpos): New function
5443 * py-type.c (convert_field): Set 'name' attribute of a gdb.Field
5444 object to 'None' if the field name is an empty string ("").
5445 * python/py-value.c (valpy_getitem): Use 'bitpos' and 'type'
5446 attribute to look for a field when 'name' is 'None'.
5447 (get_field_type): New function
5448
13aaf454
DE
54492014-01-13 Doug Evans <dje@google.com>
5450
5451 PR symtab/16426
5452 * dwarf2read.c (dwarf2_get_dwz_file): Call gdb_bfd_record_inclusion.
5453 (try_open_dwop_file): Ditto.
5454 * gdb_bfd.c: #include "vec.h".
5455 (bfdp): New typedef.
5456 (struct gdb_bfd_data): New member included_bfds.
5457 (gdb_bfd_unref): Unref all included bfds.
5458 (gdb_bfd_record_inclusion): New function.
5459 * gdb_bfd.h (gdb_bfd_record_inclusion): Declare.
5460
c2cec97c
TT
54612014-01-13 Tom Tromey <tromey@redhat.com>
5462
5463 * gdbcore.h (deprecated_core_resize_section_table): Remove.
5464
78e5999d
TT
54652014-01-13 Tom Tromey <tromey@redhat.com>
5466
5467 * defs.h (use_windows): Remove.
5468 * gdb.c (main): Update.
5469 * main.c (captured_main, gdb_main): Update.
5470 * main.h (struct captured_main_args) <use_windows>: Remove.
5471 * top.c (use_windows): Remove.
5472
f2052bbe
TT
54732014-01-13 Tom Tromey <tromey@redhat.com>
5474
5475 * defs.h (deprecated_flush_hook): Remove.
5476
fde4f8ed
JK
54772014-01-13 Jan Kratochvil <jan.kratochvil@redhat.com>
5478
5479 PR threads/16216
5480 * linux-thread-db.c (try_thread_db_load): Add parameter
5481 check_auto_load_safe. Move here the file_is_auto_load_safe call.
5482 (try_thread_db_load_from_pdir_1): Move it there from here.
5483 (try_thread_db_load_from_sdir): Update caller.
5484 (try_thread_db_load_from_dir): Move it there from here.
5485
bdf61915
PP
54862014-01-13 Patrick Palka <patrick@parcs.ath.cx>
5487
5488 * regformats/regdat.sh: Always rewrite the register file.
5489
f71e1a8d
PA
54902014-01-13 Pedro Alves <palves@redhat.com>
5491
5492 * Makefile.in (CHECK_HEADERS): New variable.
5493 (check-headers:): New rule.
5494
42c85435
TT
54952014-01-13 Tom Tromey <tromey@redhat.com>
5496
5497 * cli/cli-setshow.c (do_set_command): Update.
5498 * defs.h (deprecated_set_hook): Remove.
5499 * top.c (deprecated_set_hook): Remove.
5500
f8de5129
PA
55012014-01-13 Pedro Alves <palves@redhat.com>
5502
5503 * tracepoint.c (tfile_fetch_registers): Don't infer the PC from
5504 the tracepoint if the PC is a pseudo-register.
5505
fc270c35
TT
55062014-01-13 Tom Tromey <tromey@redhat.com>
5507
5508 * defs.h (XCALLOC): Remove.
5509 * bcache.c (bcache_xmalloc): Use XCNEW, not XCALLOC.
5510 (print_bcache_statistics): Use XCNEWVEC, not XCALLOC.
5511 * dwarf2loc.c (allocate_piece_closure): Likewise.
5512 * elfread.c (elf_symfile_segments): Likewise.
5513 (elf_symfile_segments): Likewise.
5514 * gdbtypes.c (copy_type_recursive): Likewise.
5515 * i386-tdep.c (i386_gdbarch_init): Use XCNEW, not XCALLOC.
5516 * jit.c (jit_frame_sniffer): Use XCNEWVEC, not XCALLOC.
5517 * minsyms.c (prim_record_minimal_symbol_full): Use XCNEW, not
5518 XCALLOC.
5519 * mt-tdep.c (mt_gdbarch_init): Likewise.
5520 * opencl-lang.c (allocate_lval_closure): Use XCNEWVEC, not
5521 XCALLOC.
5522 * psymtab.c (psymbol_compare): Use XCNEW, not XCALLOC.
5523 * regcache.c (regcache_xmalloc_1): Use XCNEWVEC, not XCALLOC.
5524 * registry.c (registry_alloc_data): Likewise.
5525 * rs6000-tdep.c (rs6000_gdbarch_init): Use XCNEW, not XCALLOC.
5526 * s390-linux-tdep.c (s390_gdbarch_init): Likewise.
5527 * serial.c (serial_fdopen_ops): Likewise.
5528 * solib-aix.c (solib_aix_get_section_offsets): Use XCNEWVEC, not
5529 XCALLOC.
5530 * spu-tdep.c (spu_gdbarch_init): Use XCNEW, not XCALLOC.
5531 * symfile.c (default_symfile_segments): Use XCNEW and XCNEWVEC,
5532 not XCALLOC.
5533
70ba0933
TT
55342014-01-13 Tom Tromey <tromey@redhat.com>
5535
5536 * defs.h (XMALLOC): Remove.
5537 * avr-tdep.c (avr_gdbarch_init): Use XNEW, not XMALLOC.
5538 * bfin-tdep.c (bfin_gdbarch_init): Likewise.
5539 * cli-out.c (struct ui_out *): Likewise.
5540 * cli/cli-dump.c (add_dump_command): Likewise.
5541 (add_dump_command): Likewise.
5542 * complaints.c (get_complaints): Likewise.
5543 (find_complaint): Likewise.
5544 * dwarf2-frame.c (execute_cfa_program): Likewise.
5545 * dwarf2read.c (abbrev_table_read_table): Likewise.
5546 * gdbarch.sh: Likewise.
5547 * gdbarch.c: Rebuild.
5548 * inf-ttrace.c (inf_ttrace_add_page): Likewise.
5549 * interps.c (interp_new): Likewise.
5550 * lm32-tdep.c (lm32_gdbarch_init): Likewise.
5551 * m32r-tdep.c (m32r_gdbarch_init): Likewise.
5552 * mi/mi-console.c (mi_console_file_new): Likewise.
5553 * mi/mi-interp.c (mi_interpreter_init): Likewise.
5554 * mi/mi-out.c (mi_out_new): Likewise.
5555 * mi/mi-parse.c (mi_parse): Likewise.
5556 * microblaze-tdep.c (microblaze_gdbarch_init): Likewise.
5557 * moxie-tdep.c (moxie_gdbarch_init): Likewise.
5558 * observer.c (xalloc_observer_list_node): Likewise.
5559 * regcache.c (regcache_xmalloc_1): Likewise.
5560 * reggroups.c (reggroup_new): Likewise.
5561 (_initialize_reggroup): Likewise.
5562 * registry.c (register_data_with_cleanup): Likewise.
5563 * remote.c (remote_notif_stop_alloc_reply): Likewise.
5564 * ser-base.c (serial_ttystate): Likewise.
5565 * ser-mingw.c (make_pipe_state): Likewise.
5566 * ser-pipe.c (pipe_open): Likewise.
5567 * serial.c (serial_open): Likewise.
5568 * sh64-tdep.c (sh64_gdbarch_init): Likewise.
5569 * tui/tui-data.c (tui_alloc_generic_win_info): Likewise.
5570 (tui_alloc_win_info): Likewise.
5571 (tui_add_content_elements): Likewise.
5572 * tui/tui-file.c (tui_file_new): Likewise.
5573 * tui/tui-out.c (tui_out_new): Likewise.
5574 * ui-file.c (mem_file_new): Likewise.
5575 * ui-out.c (push_level): Likewise.
5576 (make_cleanup_ui_out_end): Likewise.
5577 (append_header_to_list): Likewise.
5578 (ui_out_new): Likewise.
5579 * user-regs.c (user_reg_add_builtin): Likewise.
5580
41bf6aca
TT
55812014-01-13 Tom Tromey <tromey@redhat.com>
5582
5583 * defs.h (XZALLOC): Remove.
5584 * ada-lang.c (get_ada_inferior_data): Use XCNEW, not XZALLOC.
5585 * ada-tasks.c (get_ada_tasks_pspace_data): Likewise.
5586 (get_ada_tasks_inferior_data): Likewise.
5587 * auto-load.c (get_auto_load_pspace_data): Likewise.
5588 * auxv.c (get_auxv_inferior_data): Likewise.
5589 * bfd-target.c (target_bfd_reopen): Likewise.
5590 * breakpoint.c (get_catch_syscall_inferior_data): Likewise.
5591 (deprecated_insert_raw_breakpoint): Likewise.
5592 * bsd-uthread.c (bsd_uthread_pid_to_str): Likewise.
5593 * corelow.c (core_open): Likewise.
5594 * darwin-nat.c (darwin_check_new_threads): Likewise.
5595 (darwin_attach_pid): Likewise.
5596 * dummy-frame.c (dummy_frame_push): Likewise.
5597 * dwarf2-frame.c (dwarf2_frame_cache): Likewise.
5598 * dwarf2loc.c (allocate_piece_closure): Likewise.
5599 * elfread.c (elf_symfile_segments): Likewise.
5600 * eval.c (ptrmath_type_p): Likewise.
5601 * exceptions.c (EXCEPTIONS_SIGJMP_BUF): Likewise.
5602 * gdbtypes.c (alloc_type_arch): Likewise.
5603 (alloc_type_instance): Likewise.
5604 * hppa-tdep.c (hppa_gdbarch_init): Likewise.
5605 * inf-child.c (inf_child_can_use_agent): Likewise.
5606 * inflow.c (get_inflow_inferior_data): Likewise.
5607 * infrun.c (save_infcall_suspend_state): Likewise.
5608 * jit.c (jit_reader_load): Likewise.
5609 (get_jit_objfile_data): Likewise.
5610 (get_jit_program_space_data): Likewise.
5611 (jit_object_open_impl): Likewise.
5612 (jit_symtab_open_impl): Likewise.
5613 (jit_block_open_impl): Likewise.
5614 (jit_frame_sniffer): Likewise.
5615 * linux-fork.c (add_fork): Likewise.
5616 * maint.c (make_command_stats_cleanup): Likewise.
5617 * objfiles.c (get_objfile_pspace_data): Likewise.
5618 * opencl-lang.c (struct lval_closure): Likewise.
5619 * osdata.c (osdata_start_osdata): Likewise.
5620 * progspace.c (new_address_space): Likewise.
5621 (add_program_space): Likewise.
5622 * remote-sim.c (get_sim_inferior_data): Likewise.
5623 * sh-tdep.c (sh_gdbarch_init): Likewise.
5624 * skip.c (Ignore): Likewise.
5625 (skip_delete_command): Likewise.
5626 * solib-aix.c (get_solib_aix_inferior_data): Likewise.
5627 (library_list_start_library): Likewise.
5628 (solib_aix_current_sos): Likewise.
5629 * solib-darwin.c (get_darwin_info): Likewise.
5630 (darwin_current_sos): Likewise.
5631 * solib-dsbt.c (get_dsbt_info): Likewise.
5632 * solib-ia64-hpux.c (new_so_list): Likewise.
5633 (ia64_hpux_get_solib_linkage_addr): Likewise.
5634 * solib-spu.c (append_ocl_sos): Likewise.
5635 (spu_current_sos): Likewise.
5636 * solib-svr4.c (get_svr4_info): Likewise.
5637 (svr4_keep_data_in_core): Likewise.
5638 (library_list_start_library): Likewise.
5639 (svr4_default_sos): Likewise.
5640 (svr4_read_so_list): Likewise.
5641 * solib-target.c (library_list_start_library): Likewise.
5642 (solib_target_current_sos): Likewise.
5643 * sparc-tdep.c (sparc32_gdbarch_init): Likewise.
5644 * symfile-debug.c (install_symfile_debug_logging): Likewise.
5645 * symfile.c (default_symfile_segments): Likewise.
5646 * target-descriptions.c (tdesc_data_init): Likewise.
5647 (tdesc_create_reg): Likewise.
5648 (struct tdesc_type *): Likewise.
5649 (tdesc_create_vector): Likewise.
5650 (tdesc_set_struct_size): Likewise.
5651 (struct tdesc_type *): Likewise.
5652 (tdesc_free_feature): Likewise.
5653 (tdesc_create_feature): Likewise.
5654 * windows-nat.c (windows_add_thread): Likewise.
5655 (windows_make_so): Likewise.
5656 * xml-support.c (gdb_xml_body_text): Likewise.
5657 (gdb_xml_create_parser_and_cleanup): Likewise.
5658 (xml_process_xincludes): Likewise.
5659 * xml-syscall.c (allocate_syscalls_info): Likewise.
5660 (syscall_create_syscall_desc): Likewise.
5661
5acfdbae
SDJ
56622014-01-12 Sergio Durigan Junior <sergiodj@redhat.com>
5663
5664 * i386-tdep.c (i386_stap_parse_special_token_triplet): New
5665 function, with code from i386_stap_parse_special_token.
5666 (i386_stap_parse_special_token_three_arg_disp): Likewise.
5667 (i386_stap_parse_special_token): Move code to the two functions
5668 above; simplify it.
5669
0000e5cc
PA
56702014-01-09 Pedro Alves <palves@redhat.com>
5671 Hui Zhu <hui@codesourcery.com>
5672
5673 PR gdb/16101
5674 * breakpoint.c (insert_bp_location): Rename hw_bp_err_string to
5675 bp_err_string. Don't mark the location shlib_disabled if the
5676 error thrown wasn't a generic or memory error. Catch errors
5677 thrown while inserting breakpoints in overlayed code. Output
5678 error message of software breakpoints.
5679 * remote.c (remote_insert_breakpoint): If this breakpoint has
5680 target-side commands but this stub doesn't support Z0 packets,
5681 throw NOT_SUPPORTED_ERROR error.
5682 * exceptions.h (enum errors) <NOT_SUPPORTED_ERROR>: New error.
5683 * target.h (target_insert_breakpoint): Extend comment.
5684 (target_insert_hw_breakpoint): Add comment.
5685
b7ea362b
PA
56862014-01-08 Pedro Alves <palves@redhat.com>
5687
5688 * remote.c (remote_add_thread): Add threads silently if starting
5689 up.
5690 (remote_notice_new_inferior): If in all-stop, and starting up,
5691 don't call notice_new_inferior.
5692 (get_current_thread): New function, factored out from ...
5693 (add_current_inferior_and_thread): ... this. Adjust.
5694 (remote_start_remote) <all-stop>: Fetch the thread list. If we
5695 found any thread, then select the remote's current thread as GDB's
5696 current thread too.
5697
b7bba001
JB
56982014-01-08 Joel Brobecker <brobecker@adacore.com>
5699
5700 * NEWS: Create a new section for the next release branch.
5701 Rename the section of the current branch, now that it has
5702 been cut.
5703
16dfbded
JB
57042014-01-08 Joel Brobecker <brobecker@adacore.com>
5705
5706 GDB 7.7 branch created (79301218fa0f074c5656db0ec8972a5ddcf91fb5):
5707 * version.in: Bump version to 7.7.50.DATE-cvs.
5708
22c90ac1
YQ
57092014-01-08 Yao Qi <yao@codesourcery.com>
5710
5711 * spu-linux-nat.c (spu_symbol_file_add_from_memory): Change
5712 type of 'id' to gdb_byte. Cast 'id' to 'const char *'.
5713 (spu_xfer_partial): Cast 'buf' to 'const char *'.
5714
d64ad97c
YQ
57152014-01-08 Yao Qi <yao@codesourcery.com>
5716
5717 * spu-linux-nat.c (spu_symbol_file_add_from_memory): Pass
5718 return value of bfd_get_filename to symbol_file_add_from_bfd.
5719
f93ba80c
PM
57202014-01-08 Pierre Muller <muller@sourceware.org>
5721
5722 Fix PR16201.
5723 * coff-pe-read.c (struct read_pe_section_data): Add index field.
5724 (add_pe_exported_sym): Use SECTION_DATA->INDEX for call
5725 to prim_record_mininal_symbol_and_info.
5726 (add_pe_forwarded_sym): Use known section number of forwarded symbol
5727 in call to prim_record_minimal_symbol_and_info.
5728 (read_pe_exported_syms): Set index field of section_data.
5729
a4d9ba85
AP
57302014-01-07 Andrew Pinski <apinski@cavium.com>
5731
5732 * features/aarch64-core.xml (cpsr): Change to be 64bit.
5733 * features/aarch64.c: Regenerate.
5734
1b67eb02
AS
57352014-01-07 Andreas Schwab <schwab@linux-m68k.org>
5736
5737 * target.c (return_null): Define.
5738 (update_current_target): Use it instead of return_zero for
5739 functions that return a pointer.
5740
5e3f4fab
EBM
57412014-01-07 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
5742
5743 * source.c (add_path): Fix check for duplicated paths in the previously
5744 included paths.
5745
e2616788
HK
57462014-01-07 Honggyu Kim <hong.gyu.kim@lge.com>
5747
5748 * ada-lang.c: Remove duplicated include statements.
5749 * alphabsd-nat.c: Ditto.
5750 * amd64-darwin-tdep.c: Ditto.
5751 * amd64fbsd-nat.c: Ditto.
5752 * auto-load.c: Ditto.
5753 * ax-gdb.c: Ditto.
5754 * breakpoint.c: Ditto.
5755 * dbxread.c: Ditto.
5756 * fork-child.c: Ditto.
5757 * gdb_usleep.c: Ditto.
5758 * i386-darwin-tdep.c: Ditto.
5759 * i386fbsd-nat.c: Ditto.
5760 * infcmd.c: Ditto.
5761 * inferior.c: Ditto.
5762 * jv-lang.c: Ditto.
5763 * linux-nat.c: Ditto.
5764 * linux-tdep.c: Ditto.
5765 * m68kbsd-nat.c: Ditto.
5766 * m68klinux-nat.c: Ditto.
5767 * microblaze-tdep.c: Ditto.
5768 * mips-linux-tdep.c: Ditto.
5769 * mn10300-tdep.c: Ditto.
5770 * nto-tdep.c: Ditto.
5771 * opencl-lang.c: Ditto.
5772 * osdata.c: Ditto.
5773 * printcmd.c: Ditto.
5774 * regcache.c: Ditto.
5775 * remote-m32r-sdi.c: Ditto.
5776 * remote.c: Ditto.
5777 * symfile.c: Ditto.
5778 * symtab.c: Ditto.
5779 * tilegx-linux-nat.c: Ditto.
5780 * tilegx-tdep.c: Ditto.
5781 * tracepoint.c: Ditto.
5782 * valops.c: Ditto.
5783 * vaxbsd-nat.c: Ditto.
5784 * windows-nat.c: Ditto.
5785 * xtensa-tdep.c: Ditto.
5786
bd1f7788
YQ
57872014-01-07 Yao Qi <yao@codesourcery.com>
5788
5789 * spu-linux-nat.c (_initialize_spu_nat): Declare.
5790
79301218
JB
57912014-01-07 Yao Qi <yao@codesourcery.com>
5792 Joel Brobecker <brobecker@adacore.com>
5793
5794 * aix-thread.c (pdc_read_regs): Cast parameter to uintptr_t.
5795 (pdc_write_regs): Likewise.
5796 (fetch_regs_kernel_thread): Likewise.
5797 (store_regs_kernel_thread): Likewise.
5798
57992014-01-07 Joel Brobecker <brobecker@adacore.com>
5800
5801 * ada-varobj.c (ada_varobj_adjust_for_child_access): Convert
5802 tagged type objects to their actual type.
5803
8e355c5d
JB
58042014-01-07 Joel Brobecker <brobecker@adacore.com>
5805
5806 * ada-valprint.c (print_field_values): Add "language" parameter.
5807 Update calls to print_field_values and print_variant_part.
5808 Pass new parameter "language" in call to val_print instead
5809 of "current_language". Replace call to ada_val_print by call
5810 to val_print.
5811 (print_variant_part): Add "language" parameter.
5812 (ada_val_print_struct_union): Update call to print_field_values.
5813
4fbf5aa5
JB
58142014-01-07 Joel Brobecker <brobecker@adacore.com>
5815
5816 * ada-valprint.c (ui_memcpy): Delete.
5817 (ada_print_floating): Update documentation. Add empty line
5818 between between function documentation and implementation.
5819 Delete variable "buffer". Use ui_file_xstrdup in place of
5820 ui_file_put. Minor adjustments following this change.
5821
71855601
JB
58222014-01-07 Joel Brobecker <brobecker@adacore.com>
5823
5824 * ada-valprint.c (ada_val_print_string): New function,
5825 extracted from ada_val_print_array.
5826 (ada_val_print_array): Replace extracted code by call
5827 to ada_val_print_string followed by a return. Move
5828 "else" branch to the function's top block.
5829
4eb27a30
JB
58302014-01-07 Joel Brobecker <brobecker@adacore.com>
5831
5832 * ada-valprint.c (ada_val_print_array): Move implementation
5833 down. Rename parameter "offset" and "val" into "offset_aligned"
5834 and "original_value" respectively. Add parameter "offset".
5835
34b27950
JB
58362014-01-07 Joel Brobecker <brobecker@adacore.com>
5837
5838 * ada-valprint.c (ada_val_print_ref): Rewrite by mostly
5839 re-organizing the code. Change the "???" message printed
5840 when target type is a TYPE_CODE_UNDEF into
5841 "<ref to undefined type>".
5842
079e4591
JB
58432014-01-07 Joel Brobecker <brobecker@adacore.com>
5844
5845 * ada-valprint.c (print_record): Delete, implementation inlined...
5846 (ada_val_print_struct_union): ... here. Remove call to
5847 ada_check_typedef in inlined implementation.
5848
8004dfd1
JB
58492014-01-07 Joel Brobecker <brobecker@adacore.com>
5850
5851 * ada-valprint.c (ada_val_print_gnat_array): New function,
5852 extracted from ada_val_print_1;
5853 (ada_val_print_ptr, ada_val_print_num, ada_val_print_enum)
5854 (ada_val_print_flt, ada_val_print_struct_union)
5855 (ada_val_print_ref): Likewise.
5856 (ada_val_print_1): Delete variables i and elttype.
5857 Replace extracted-out code by call to corresponding
5858 new functions.
5859
760a2db0
JB
58602014-01-07 Joel Brobecker <brobecker@adacore.com>
5861
5862 * ada-valprint.c (ada_val_print_1): Remove call to gdb_flush.
5863
3a92c861
JB
58642014-01-07 Joel Brobecker <brobecker@adacore.com>
5865
5866 * ada-valprint.c (ada_val_print_1): Replace calls to
5867 ada_val_print_1 by calls to val_print.
5868
cd1630f9
JB
58692014-01-07 Joel Brobecker <brobecker@adacore.com>
5870
5871 * ada-valprint.c (ada_val_print_1): Add parameter "language".
5872 Update calls to self accordingly. Replace calls to c_val_print
5873 by calls to val_print.
5874
bdf779a0
JB
58752014-01-07 Joel Brobecker <brobecker@adacore.com>
5876
5877 * ada-valprint.c (print_record): Delete declaration.
5878 (adjust_type_signedness, ada_val_print_1): Likewise.
5879 (ada_val_print): Move function implementation down.
5880 (print_variant_part, print_field_values, print_record):
5881 Move function implementation up.
5882
c0d48811
JB
58832014-01-07 Joel Brobecker <brobecker@adacore.com>
5884
5885 * python/py-type.c (typy_get_name): New function.
5886 (type_object_getset): Add entry for attribute "name".
5887 * NEWS: Add entry mentioning this new attribute.
5888
c26e9cbb
YQ
58892014-01-07 Yao Qi <yao@codesourcery.com>
5890
5891 * gnu-nat.c (set_exceptions_cmd): Remove an empty body 'if'
5892 statement.
5893
0cc6f43d
YQ
58942014-01-07 Yao Qi <yao@codesourcery.com>
5895
5896 * gnu-nat.c (info_port_rights): Add qualifier const to
5897 argument args.
5898
eec03155
YQ
58992014-01-07 Yao Qi <yao@codesourcery.com>
5900
5901 * gnu-nat.c (trace_me): Use 'void' for empty argument list.
5902
f04a82ef
YQ
59032014-01-07 Yao Qi <yao@codesourcery.com>
5904
5905 * gnu-nat.c (make_inf) Update declaration.
5906 (make_inf): Make it static.
5907 (inf_set_traced): Likewise.
5908 (inf_port_to_thread, inf_task_died_status): Likewise.
5909
d57dda0a
YQ
59102014-01-07 Yao Qi <yao@codesourcery.com>
5911
5912 * gnu-nat.c (inf_tid_to_proc): Remove declaration.
5913
3aa8c969
YQ
59142014-01-07 Yao Qi <yao@codesourcery.com>
5915
5916 * gnu-nat.c (_initialize_gnu_nat): Declare.
5917
94123b4f
YQ
59182014-01-07 Yao Qi <yao@codesourcery.com>
5919
5920 * gdbarch.sh (byte_order, byte_order_for_code): Change type to
5921 'enum bfd_endian'.
5922 (struct gdbarch_info) <byte_order>: Change type to
5923 'enum bfd_endian'.
5924 <byte_order_for_code>: Likewise.
5925 * gdbarch.c, gdbarch.h: Regenerated.
5926
dc81d70a
TT
59272014-01-06 Sasha Smundak <asmundak@google.com>
5928
5929 * jit.c: (jit_reader_load_command): Fix JIT reader path creation.
5930
cc2f3c35
TT
59312014-01-06 Tom Tromey <tromey@redhat.com>
5932
5933 * doublest.c (convert_doublest_to_floatformat): Use const, not
5934 CONST.
5935 * somread.c (som_symtab_read): Likewise.
5936
adcf2eed
HZ
59372014-01-07 Hui Zhu <hui@codesourcery.com>
5938
5939 * gdb_bfd.c (gdb_bfd_stash_filename): Removed.
5940 (gdb_bfd_open): Removed gdb_bfd_stash_filename.
5941 (gdb_bfd_fopen): Ditto.
5942 (gdb_bfd_openr): Ditto.
5943 (gdb_bfd_openw): Ditto.
5944 (gdb_bfd_openr_iovec): Ditto.
5945 (gdb_bfd_fdopenr): Ditto.
5946 * gdb_bfd.h (gdb_bfd_stash_filename): Removed.
5947 * solib-aix.c (solib_aix_bfd_open): Alloc object_bfd->filename
5948 with xstrdup.
5949 * solib-darwin.c (darwin_bfd_open): Alloc res->filename
5950 with xstrdup.
5951 * symfile-mem.c (symbol_file_add_from_memory): Removed
5952 gdb_bfd_stash_filename.
5953
50722198
DE
59542014-01-03 Doug Evans <dje@google.com>
5955
5956 * nat/linux-waitpid.c (linux_debug): Remove extraneous \n from
5957 output.
5958
2fa4b862
JB
59592014-01-01 Joel Brobecker <brobecker@adacore.com>
5960
5961 Update year range in copyright notice of all files.
5962
28498c42
JB
59632014-01-01 Joel Brobecker <brobecker@adacore.com>
5964
5965 * top.c (print_gdb_version): Set copyright year to 2014.
5966
7b6e1046
JB
59672014-01-01 Joel Brobecker <brobecker@adacore.com>
5968
5969 * config/djgpp/fnchange.lst: Add entry for gdb/ChangeLog-2013.
5970
df96af55 5971For older changes see ChangeLog-2013.
c906108c
SS
5972\f
5973Local Variables:
5974mode: change-log
5975left-margin: 8
5976fill-column: 74
5977version-control: never
57da7796 5978coding: utf-8
c906108c 5979End:
This page took 1.911191 seconds and 4 git commands to generate.