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