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