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