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