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