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