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