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