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