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