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