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