1 2014-03-21 Pierre Langlois <pierre.langlois@embecosm.com>
3 * MAINTAINERS (Write After Approval): Add "Pierre Langlois".
5 2014-03-22 Doug Evans <xdje42@gmail.com>
7 * infcmd.c: Whitespace fixes.
8 (interrupt_command): Merge two function comments into one.
10 2014-03-22 Doug Evans <xdje42@gmail.com>
12 * infcmd.c (interrupt_command): Renamed from interrupt_target_command.
15 2014-03-22 Yao Qi <yao@codesourcery.com>
17 * remote.c (target_read_live_memory): Remove.
18 (memory_xfer_live_readonly_partial): Rename it to
19 remote_xfer_live_readonly_partial. Remove argument 'object'.
20 All callers updated. Call remote_read_bytes_1
21 instead of target_read_live_memory.
22 * tracepoint.c (set_traceframe_number): Remove.
23 (make_cleanup_restore_traceframe_number): Likewise .
24 * tracepoint.h (set_traceframe_number): Remove declaration.
25 (make_cleanup_restore_traceframe_number): Likewise.
27 2014-03-22 Yao Qi <yao@codesourcery.com>
29 * remote.c (remote_read_bytes): Move code on reading from the
31 (remote_read_bytes_1): ... here. New function.
33 2014-03-22 Yao Qi <yao@codesourcery.com>
35 * ctf.c (ctf_xfer_partial): Check the return value of
36 exec_read_partial_read_only, if it is not TARGET_XFER_OK,
37 return TARGET_XFER_UNAVAILABLE.
38 * tracefile-tfile.c (tfile_xfer_partial): Likewise.
39 * target.c (target_read_live_memory): Move it to remote.c.
40 (memory_xfer_live_readonly_partial): Likewise.
41 (memory_xfer_partial_1): Move some code to remote_read_bytes.
42 * remote.c (target_read_live_memory): Moved from target.c.
43 (memory_xfer_live_readonly_partial): Likewise.
44 (remote_read_bytes): Factored out from
45 memory_xfer_partial_1.
47 2014-03-21 Daniel Gutson <daniel.gutson@tallertechnologies.com>
49 * extension.c (eval_ext_lang_from_control_command): Avoid dereferencing
52 2014-03-21 Pedro Alves <palves@redhat.com>
54 * infrun.c (normal_stop): Extend comment.
56 2014-03-21 Hui Zhu <hui@codesourcery.com>
57 Pedro Alves <palves@redhat.com>
59 * darwin-nat.c (darwin_pid_to_exec_file): Change xmalloc to
61 * fbsd-nat.c (fbsd_pid_to_exec_file): Ditto.
62 * linux-nat.c (linux_child_pid_to_exec_file): Ditto.
63 * nbsd-nat.c (nbsd_pid_to_exec_file): Ditto.
65 2014-03-20 Maciej W. Rozycki <macro@codesourcery.com>
67 * mi/mi-interp.c (mi_memory_changed): Avoid using the ISO C99
68 `z' formatted output modifier.
70 2014-03-20 Tom Tromey <tromey@redhat.com>
71 Sergio Durigan Junior <sergiodj@redhat.com>
73 * probe.c (parse_probes): Turn assert into an ordinary error.
74 * break-catch-throw.c (re_set_exception_catchpoint): Ignore
75 exceptions when parsing probes. Rearrange the code for clarity.
77 2014-03-20 Tom Tromey <tromey@redhat.com>
80 * top.c (execute_command): Only dispatch events if the command
83 2014-03-20 Tom Tromey <tromey@redhat.com>
86 * infcall.c: Include event-top.h.
87 (run_inferior_call): Call async_disable_stdin if needed.
89 2014-03-20 Pedro Alves <palves@redhat.com>
91 * infrun.c (prepare_to_proceed): Delete.
92 (thread_still_needs_step_over): New function.
93 (find_thread_needs_step_over): New function.
94 (proceed): If the current thread needs a step-over, set its
95 steping_over_breakpoint flag. Adjust to use
96 find_thread_needs_step_over instead of prepare_to_proceed.
97 (process_event_stop_test): For BPSTAT_WHAT_STOP_NOISY and
98 BPSTAT_WHAT_STOP_SILENT, assume the thread stopped for a
100 (switch_back_to_stepped_thread): Step over breakpoints of all
101 threads not the stepping thread, before switching back to the
104 2014-03-20 Pedro Alves <palves@redhat.com>
106 * breakpoint.c (single_step_breakpoint_inserted_here_p): Make
108 * breakpoint.h (single_step_breakpoint_inserted_here_p): Declare.
109 * infrun.c (saved_singlestep_ptid)
110 (stepping_past_singlestep_breakpoint): Delete.
111 (resume): Remove stepping_past_singlestep_breakpoint handling.
112 (proceed): Store the prev_pc of the stepping thread too.
113 (init_wait_for_inferior): Adjust. Clear singlestep_ptid and
115 (enum infwait_states): Delete infwait_thread_hop_state.
116 (struct execution_control_state) <hit_singlestep_breakpoint>: New
118 (handle_inferior_event): Adjust.
119 (handle_signal_stop): Delete stepping_past_singlestep_breakpoint
120 handling and the thread-hop code. Before removing single-step
121 breakpoints, check whether the thread hit a single-step breakpoint
122 of another thread. If it did, the trap is not a random signal.
123 (switch_back_to_stepped_thread): If the event thread hit a
124 single-step breakpoint, unblock it before switching to the
125 stepping thread. Handle the case of the stepped thread having
127 (keep_going): Handle the case of the current thread moving past a
128 single-step breakpoint.
130 2014-03-20 Pedro Alves <palves@redhat.com>
133 * breakpoint.c (should_be_inserted): Don't insert breakpoints that
134 are being stepped over.
135 (breakpoint_address_match): Make extern.
136 * breakpoint.h (breakpoint_address_match): New declaration.
137 * inferior.h (stepping_past_instruction_at): New declaration.
138 * infrun.c (struct step_over_info): New type.
139 (step_over_info): New global.
140 (set_step_over_info, clear_step_over_info)
141 (stepping_past_instruction_at): New functions.
142 (handle_inferior_event): Clear the step-over info when
143 trap_expected is cleared.
144 (resume): Remove now stale comment.
145 (clear_proceed_status): Clear step-over info.
146 (proceed): Adjust step-over handling to set or clear the step-over
147 info instead of removing all breakpoints.
148 (handle_signal_stop): When setting up a thread-hop, don't remove
150 (stop_stepping): Clear step-over info.
151 (keep_going): Adjust step-over handling to set or clear step-over
152 info and then always inserting breakpoints, instead of removing
153 all breakpoints when stepping over one.
155 2014-03-20 Pedro Alves <palves@redhat.com>
157 * infrun.c (previous_inferior_ptid): Adjust comment.
158 (deferred_step_ptid): Delete.
159 (infrun_thread_ptid_changed, prepare_to_proceed)
160 (init_wait_for_inferior): Adjust.
161 (handle_signal_stop): Delete deferred_step_ptid handling.
163 2014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
166 * defs.h (sync_quit_force_run): New declaration.
167 (QUIT): Check also SYNC_QUIT_FORCE_RUN.
168 * event-top.c (async_sigterm_handler): New declaration.
169 (async_sigterm_token): New variable.
170 (async_init_signals): Create also async_sigterm_token.
171 (async_sigterm_handler): New function.
172 (sync_quit_force_run): New variable.
173 (handle_sigterm): Replace quit_force call by other calls.
174 * utils.c (quit): Call quit_force if SYNC_QUIT_FORCE_RUN.
176 2014-03-18 Maciej W. Rozycki <macro@codesourcery.com>
178 * rs6000-tdep.c (rs6000_frame_cache): Correct little-endian GPR
179 offset into SPE pseudo registers.
181 2014-03-18 Pedro Alves <palves@redhat.com>
184 * inferior.h (print_stop_event): Declare.
185 * infrun.c (print_stop_event): New, factored out from ...
186 (normal_stop): ... this.
187 * mi/mi-interp.c (mi_on_normal_stop): Use print_stop_event instead
188 of bpstat_print/print_stack_frame.
190 2014-03-17 Tom Tromey <tromey@redhat.com>
192 * ui-out.c (clear_table, ui_out_new): Clear uiout->table.id.
194 2014-03-17 Pierre-Marie de Rodat <derodat@adacore.com>
196 * ada-lang.c (decode_constrained_packed_array): Perform a
197 minimal coercion for reference with coerce_ref instead of
200 2014-03-17 Tristan Gingold <gingold@adacore.com>
202 * solib-darwin.c (DYLD_VERSION_MAX): Increase value.
203 (darwin_solib_create_inferior_hook): Emit a warning if version
206 2014-03-16 Ulrich Weigand <uweigand@de.ibm.com>
208 * python/py-value.c (get_field_flag): Cast flag_name argument to
209 PyObject_GetAttrString to support Python 2.4.
211 2014-03-14 Jan Kratochvil <jan.kratochvil@redhat.com>
213 * MAINTAINERS (The Official FSF-appointed GDB Maintainers)
214 (Global Maintainers): Remove Jan Kratochvil.
216 2014-03-14 Pedro Alves <palves@redhat.com>
218 * inferior.h (terminal_ours_for_output): Rename to ...
219 (child_terminal_ours_for_output): ... this.
220 (terminal_save_ours): Rename to ...
221 (child_terminal_save_ours): ... this.
222 (terminal_ours): Rename to ...
223 (child_terminal_ours): ... this.
224 (terminal_inferior): Rename to ...
225 (child_terminal_inferior): ... this.
226 (terminal_init_inferior): Rename to ...
227 (child_terminal_init_inferior): ... this.
228 (terminal_init_inferior_with_pgrp): Rename to ...
229 (child_terminal_init_inferior_with_pgrp): ... this.
230 * inflow.c (terminal_init_inferior_with_pgrp): Rename to ...
231 (child_terminal_init_with_pgrp): ... this.
232 (terminal_save_ours): Rename to ...
233 (child_terminal_save_ours): ... this.
234 (terminal_init_inferior): Rename to ...
235 (child_terminal_init): ... this. Adjust.
236 (terminal_inferior): Rename to ...
237 (child_terminal_inferior): ... this.
238 (terminal_ours_for_output): Rename to ...
239 (child_terminal_ours_for_output): ... this. Adjust.
240 (terminal_ours): Rename to ...
241 (child_terminal_ours): ... this.
242 (terminal_ours_1): Rename to ...
243 (child_terminal_ours_1): ... this. Adjust.
244 * linux-nat.c (linux_nat_terminal_inferior): Adjust.
245 * windows-nat.c (do_initial_windows_stuff): Adjust.
246 * gnu-nat.c (gnu_terminal_init_inferior): Rename to ...
247 (gnu_terminal_init): ... this. Adjust.
248 (gnu_target): Adjust.
249 * inf-child.c (inf_child_target): Adjust.
251 2014-03-13 Doug Evans <xdje42@gmail.com>
254 * guile/scm-type.c (tyscm_copy_type_recursive): Move type to its
257 2014-03-13 Doug Evans <xdje42@gmail.com>
259 * value.c (record_latest_value): Call release_value_or_incref
260 instead of release_value.
262 2014-03-13 Pedro Alves <palves@redhat.com>
264 * procfs.c (procfs_target): Don't override to_shortname,
265 to_longname or to_doc.
267 2014-03-13 Pedro Alves <palves@redhat.com>
269 * inf-child.c (inf_child_open, inf_child_target): Don't mention
270 Unix in user visible strings.
272 2014-03-12 Stan Shebs <stan@codesourcery.com>
274 * gdbtypes.h: Annotate comments for Doxygen, add a page
275 block comment with some general info.
277 2014-03-12 Pedro Alves <palves@redhat.com>
279 * infcmd.c (prepare_execution_command): New function, factored out
280 from several execution commands.
281 (run_command_1, continue_command, step_1, jump_command)
282 (signal_command, until_command, advance_command, finish_command)
283 (attach_command): Use prepare_execution_command.
285 2014-03-12 Omair Javaid <omair.javaid@linaro.org>
287 * arm-linux-nat.c (arm_linux_get_hwbp_cap): Updated.
290 (struct arm_linux_thread_points): Removed.
291 (struct arm_linux_process_info): New.
292 (DEF_VEC_P (arm_linux_thread_points_p)): Removed.
293 (VEC(arm_linux_thread_points_p) *arm_threads): Removed.
294 (arm_linux_find_breakpoints_by_tid): Removed.
295 (struct arch_lwp_info): New.
296 (arm_linux_find_process_pid): New functions.
297 (arm_linux_add_process): New functions.
298 (arm_linux_process_info_get): New functions.
299 (arm_linux_forget_process): New function.
300 (arm_linux_get_debug_reg_state): New function.
301 (struct update_registers_data): New.
302 (update_registers_callback): New function.
303 (arm_linux_insert_hw_breakpoint1): Updated.
304 (arm_linux_remove_hw_breakpoint1): Updated.
305 (arm_linux_insert_hw_breakpoint): Updated.
306 (arm_linux_remove_hw_breakpoint): Updated.
307 (arm_linux_insert_watchpoint): Updated.
308 (arm_linux_remove_watchpoint): Updated.
309 (arm_linux_new_thread): Updated.
310 (arm_linux_prepare_to_resume): New function.
311 (arm_linux_new_fork): New function.
312 (_initialize_arm_linux_nat): Updated.
314 2014-03-12 Pedro Alves <palves@redhat.com>
316 * Makefile.in (TARGET_FLAGS_TO_PASS): Add TESTS.
318 2014-03-12 Tom Tromey <tromey@redhat.com>
320 * inf-child.c (return_zero): New function.
321 (inf_child_target): Set to_can_async_p, to_supports_non_stop.
322 * aix-thread.c (aix_thread_inferior_created): New function.
323 (aix_thread_attach): Remove.
324 (init_aix_thread_ops): Don't set to_attach.
325 (_initialize_aix_thread): Register inferior_created observer.
326 * corelow.c (init_core_ops): Don't set to_attach or
328 * exec.c (init_exec_ops): Don't set to_attach or
330 * infcmd.c (run_command_1): Use find_run_target. Make direct
332 (attach_command): Use find_attach_target. Make direct target
334 * record-btrace.c (init_record_btrace_ops): Don't set
336 * record-full.c (record_full_can_async_p, record_full_is_async_p):
338 (init_record_full_ops, init_record_full_core_ops): Update. Don't
339 set to_create_inferior.
340 * target.c (complete_target_initialization): Add assertion.
341 (target_create_inferior): Remove.
342 (find_default_attach, find_default_create_inferior): Remove.
343 (find_attach_target, find_run_target): New functions.
344 (find_default_is_async_p, find_default_can_async_p)
345 (target_supports_non_stop, target_attach): Remove.
346 (init_dummy_target): Don't set to_create_inferior or
347 to_supports_non_stop.
348 * target.h (struct target_ops) <to_attach>: Add comment. Remove
350 <to_create_inferior>: Add comment.
351 <to_can_async_p, to_is_async_p, to_supports_non_stop>: Use
352 TARGET_DEFAULT_RETURN.
353 <to_can_async_p, to_supports_non_stop, to_can_run>: Add comments.
354 (find_attach_target, find_run_target): Declare.
355 (target_create_inferior): Remove.
356 (target_has_execution_1): Update comment.
357 (target_supports_non_stop): Remove.
358 * target-delegates.c: Rebuild.
360 2014-03-12 Pedro Alves <palves@redhat.com>
362 * inf-child.h: Update comment to not mention Unix.
364 2014-03-12 Pedro Alves <palves@redhat.com>
366 * inf-child.c: Update top comment to not mention Unix. Add
367 generic comment describing how this target is meant to be used.
368 (inf_child_post_attach, inf_child_post_startup_inferior)
369 (inf_child_follow_fork, inf_child_pid_to_exec_file): Don't mention
372 2014-03-12 Pedro Alves <palves@redhat.com>
374 * nto-procfs.c: Include inf-child.h.
375 (procfs_ops): Delete global.
376 (procfs_can_run): Delete method.
377 (procfs_detach, procfs_mourn_inferior): Unpush the passed in
378 target pointer instead of referencing procfs_ops.
379 (procfs_prepare_to_store): Delete.
380 (init_procfs_ops): Delete function.
381 (procfs_target): New function, based on init_procfs_ops, but
382 inherit inf_child_target.
383 (_initialize_procfs): Use procfs_target.
385 2014-03-12 Pedro Alves <palves@redhat.com>
387 * windows-nat.c: Include inf-child.h.
388 (windows_ops): Delete global.
389 (windows_open, windows_prepare_to_store, windows_can_run): Delete
391 (init_windows_ops): Delete function.
392 (windows_target): New function, based on init_windows_ops, but
393 inherit inf_child_target.
394 (_initialize_windows_nat): Use windows_target. Install x86
395 specific target methods here.
397 2014-03-10 Doug Evans <xdje42@gmail.com>
399 * guile/guile.c (call_initialize_gdb_module): New function.
400 (initialize_guile): Replace call to scm_init_guile with call to
403 2014-03-10 Joel Brobecker <brobecker@adacore.com>
405 * ada-lang.c (ada_evaluate_subexp): Add missing space before '('
406 in call to TYPE_CODE macro.
408 2014-03-10 Jerome Guitton <guitton@adacore.com>
410 * ada-lang.c (ada_evaluate_subexp) <UNOP_IND, STRUCTOP_STRUCT>:
411 Resolve tagged types to full view.
413 2014-03-10 Hui Zhu <hui@codesourcery.com>
415 * target.h (target_insert_breakpoint): Remove "hardware" from its
418 2014-03-07 Doug Evans <dje@google.com>
420 * dwarf2read.c (read_str_index): Rename local dwo_name to objf_name.
422 2014-03-07 Doug Evans <dje@google.com>
424 * dwarf2read.c (read_cutu_die_from_dwo): Fix function comment.
425 Remove unused local comp_dir_attr. Assert exactly one of
426 stub_comp_unit_die, stub_comp_dir is non-NULL.
428 2014-03-07 Joel Brobecker <brobecker@adacore.com>
430 * target.h (complete_target_initialization, add_target):
433 2014-03-07 Pedro Alves <palves@redhat.com>
435 * go32-nat.c: Include inf-child.h.
436 (go32_ops): Delete global.
437 (go32_close, go32_detach, go32_prepare_to_store, go32_can_run):
439 (go32_create_inferior): Push the passed in target pointer instead
440 of referencing go32_ops.
441 (init_go32_ops): Delete function. Moved parts to _initialize_go32_nat.
442 (go32_target): New function, based on init_go32_ops, but inherit
444 (_initialize_go32_nat): Use go32_target. Move parts of
447 2014-03-06 Joel Brobecker <brobecker@adacore.com>
449 * sol-thread.c: #include "symtab.h", "minsym.h" and "objfiles.h".
450 (ps_pglobal_lookup): Use BMSYMBOL_VALUE_ADDRESS instead of
451 SYMBOL_VALUE_ADDRESS.
452 (info_cb): MSYMBOL_PRINT_NAME instead of SYMBOL_PRINT_NAME.
454 2014-03-06 Yao Qi <yao@codesourcery.com>
456 * breakpoint.c (get_tracepoint_by_number): Remove argument
457 optional_p. All callers updated. Adjust comments. Update
459 * breakpoint.h (get_tracepoint_by_number): Update declaration.
461 2014-03-06 Yao Qi <yao@codesourcery.com>
463 * reverse.c (goto_bookmark_command): Add local 'p'. Emit error
464 early if get_number returns zero. Use 'p' instead of 'args'.
466 2014-03-06 Yao Qi <yao@codesourcery.com>
468 * cli/cli-utils.c (get_number_trailer): Add '\n' at the end of
471 2014-03-06 Yao Qi <yao@codesourcery.com>
474 * tracepoint.c (check_trace_running): New function.
475 (trace_find_command): Move code to check_trace_running and
476 call check_trace_running.
477 (trace_find_pc_command): Likewise.
478 (trace_find_tracepoint_command): Likewise.
479 (trace_find_line_command): Likewise.
480 (trace_find_range_command): Likewise.
481 * tracepoint.h (check_trace_running): Likewise.
482 * mi/mi-main.c (mi_cmd_trace_find): Call check_trace_running.
484 2014-03-06 Yao Qi <yao@codesourcery.com>
486 * target.h (struct target_ops) <to_traceframe_info>: Use
487 TARGET_DEFAULT_NORETURN (tcomplain ()).
488 * target-delegates.c: Regenerated.
490 2014-03-05 Pedro Alves <palves@redhat.com>
493 * dcache.c (dcache_poke_byte): Constify ptr parameter. Return
494 void. Update comment.
495 (dcache_xfer_memory): Delete.
496 (dcache_read_memory_partial): New, based on the read bits of
498 (dcache_update): Add status parameter. Use ULONGEST for len, and
499 adjust. Discard cache lines if the reason for the update was
501 * dcache.h (dcache_xfer_memory): Delete declaration.
502 (dcache_read_memory_partial): New declaration.
503 (dcache_update): Update prototype.
504 * target.c (raw_memory_xfer_partial): Update the dcache here.
505 (memory_xfer_partial_1): Don't handle dcache writes here.
507 2014-03-05 Mike Frysinger <vapier@gentoo.org>
509 * remote-sim.c (gdbsim_load): Add const to prog.
511 2014-03-03 Tom Tromey <tromey@redhat.com>
513 * elfread.c (probe_key): Change to bfd_data.
514 (elf_get_probes, probe_key_free, _initialize_elfread): Probes are
515 now per-BFD, not per-objfile.
516 * stap-probe.c (stap_probe_destroy): Update comment.
517 (handle_stap_probe): Allocate on the per-BFD obstack.
519 2014-03-03 Tom Tromey <tromey@redhat.com>
521 * break-catch-throw.c (fetch_probe_arguments): Use bound probes.
522 * breakpoint.c (create_longjmp_master_breakpoint): Use
524 (add_location_to_breakpoint, bkpt_probe_insert_location)
525 (bkpt_probe_remove_location): Update.
526 * breakpoint.h (struct bp_location) <probe>: Now a bound_probe.
527 * elfread.c (elf_symfile_relocate_probe): Remove.
528 (elf_probe_fns): Update.
529 (insert_exception_resume_breakpoint): Change type of "probe"
530 parameter to bound_probe.
531 (check_exception_resume): Update.
532 * objfiles.c (objfile_relocate1): Don't relocate probes.
533 * probe.c (bound_probe_s): New typedef.
534 (parse_probes): Use get_probe_address. Set sal's objfile.
535 (find_probe_by_pc): Return a bound_probe.
536 (collect_probes): Return a VEC(bound_probe_s).
537 (compare_probes): Update.
538 (gen_ui_out_table_header_info): Change type of "probes"
540 (info_probes_for_ops): Update.
541 (get_probe_address): New function.
542 (probe_safe_evaluate_at_pc): Update.
543 * probe.h (struct probe_ops) <get_probe_address>: New field.
544 <set_semaphore, clear_semaphore>: Add objfile parameter.
545 (struct probe) <objfile>: Remove field.
547 <address>: Update comment.
548 (struct bound_probe): New.
549 (find_probe_by_pc): Return a bound_probe.
550 (get_probe_address): Declare.
551 * solib-svr4.c (struct probe_and_action) <address>: New field.
552 (hash_probe_and_action, equal_probe_and_action): Update.
553 (register_solib_event_probe): Add address parameter.
554 (solib_event_probe_at): Update.
555 (svr4_create_probe_breakpoints): Add objfile parameter. Use
557 * stap-probe.c (struct stap_probe) <sem_addr>: Update comment.
558 (stap_get_probe_address): New function.
559 (stap_can_evaluate_probe_arguments, compute_probe_arg)
560 (compile_probe_arg): Update.
561 (stap_set_semaphore, stap_clear_semaphore): Compute semaphore's
563 (handle_stap_probe): Don't relocate the probe.
564 (stap_relocate): Remove.
565 (stap_gen_info_probes_table_values): Update.
566 (stap_probe_ops): Remove stap_relocate.
567 * symfile-debug.c (debug_sym_relocate_probe): Remove.
568 (debug_sym_probe_fns): Update.
569 * symfile.h (struct sym_probe_fns) <sym_relocate_probe>: Remove.
570 * symtab.c (init_sal): Use memset.
571 * symtab.h (struct symtab_and_line) <objfile>: New field.
572 * tracepoint.c (start_tracing, stop_tracing): Update.
574 2014-03-03 Tom Tromey <tromey@redhat.com>
576 * probe.h (parse_probes, find_probe_by_pc)
577 (find_probes_in_objfile): Fix comments.
579 2014-03-02 Doug Evans <xdje42@gmail.com>
581 * infrun.c (handle_signal_stop): Replace test for
582 TARGET_WAITKIND_STOPPED with an assert.
584 2014-03-02 Doug Evans <xdje42@gmail.com>
586 * guile/scm-objfile.c (ofscm_mark_objfile_smob): Fix typo in comment.
588 2014-03-02 Doug Evans <xdje42@gmail.com>
590 * guile/lib/gdb/printing.scm (append-pretty-printer!): Fix thinko.
592 2014-03-01 Mark Kettenis <kettenis@gnu.org>
594 * obsd-nat.c: Include "gdb_wait.h" instead of <sys/wait.h>.
596 2014-03-01 Mark Kettenis <kettenis@gnu.org>
598 * i386obsd-nat.c: Include "obsd-nat.h".
599 (_initialize_i386obsd_nat): Call obsd_add_target instead of
601 * config/i386/obsd.mh (NATDEPFILES): Add obsd-nat.o.
603 2014-03-01 Mark Kettenis <kettenis@gnu.org>
605 * i386obsd-nat.c (i386obsd_supply_pcb): Cast 'sf' to 'gdb_byte *'.
607 2014-03-01 Mark Kettenis <kettenis@gnu.org>
609 * mips64obsd-nat.c: Include "obsd-nath".
610 (_initialize_mips64obsd_nat): Call obsd_add_target instead of
612 * config/mips/obsd64.mh (NATDEPFILES): Add obsd-nat.o.
614 2014-03-01 Mark Kettenis <kettenis@gnu.org>
616 * amd64obsd-nat.c: Include "obsd-nat,h.
617 (_initialize_amd64obsd_nat): Call obsd_add_target instead of
619 * config/i386/obsd64.mh (NATDEPFILES): Add obsd-nat.o.
621 2014-02-28 Siva Chandra Reddy <sivachandra@google.com>
623 * valops.c (find_oload_champ): Remove unneccesary argument METHOD.
624 (find_overload_match): Update call to find_oload_champ.
625 (find_oload_champ_namespace_loop): Likewise
627 2014-02-28 Mark Kettenis <kettenis@gnu.org>
629 * Makefile.in (ALLDEPFILES): Add sparc64obsd-nat.c.
631 * configure.host (sparc64-*-openbsd*): Set gdb_host to obsd64.
632 * config/sparc/obsd64.mh: New file.
633 * sparc64obsd-nat.c: New file.
635 * obsd-nat.h: New file.
636 * obsd-nat.c: New file.
637 * Makefile.in (HFILES_NO_SRCDIR): Add obsd-nat.h.
638 (ALLDEPFILES): Add obsd-nat.c.
640 2014-02-28 Tom Tromey <tromey@redhat.com>
642 * cli-out.c (cli_ui_out_impl): Now const. Remove comment.
643 * cli-out.h (cli_ui_out_impl): Now const.
644 * mi/mi-out.c (mi_ui_out_impl): Now const. Remove comment.
645 * ui-out.c (struct ui_out) <impl>: Now const.
646 (default_ui_out_impl): Now const.
647 (ui_out_new): Make 'impl' parameter const.
648 * ui-out.h (ui_out_new): Update.
650 2014-02-27 Mark Kettenis <kettenis@gnu.org>
652 * solib-svr4.c (svr4_read_so_list): Initialize first_l_name to 0.
654 2014-02-27 Mark Kettenis <kettenis@gnu.org>
656 * sparc-nat.c (sparc_xfer_wcookie): Always use process ID.
658 2014-02-27 Jan Kratochvil <jan.kratochvil@redhat.com>
660 Additional PR 8882 fix.
661 * solib-svr4.c (svr4_read_so_list): Change first to first_l_name.
663 2014-02-27 Pedro Alves <palves@redhat.com>
665 * nat/linux-waitpid.c (my_waitpid): Only block signals if WNOHANG
668 2014-02-27 Pedro Alves <palves@redhat.com>
671 * linux-nat.c (status_to_str): Moved to nat/linux-waitpid.c.
672 * nat/linux-waitpid.c: Include string.h.
673 (status_to_str): Moved here and made extern.
674 * nat/linux-waitpid.h (status_to_str): New declaration.
676 2014-02-27 Hui Zhu <hui@codesourcery.com>
679 * infrun.c (ptid_match): Move ...
680 * common/ptid.c (ptid_match): ... here.
681 * inferior.h (ptid_match): Move ...
682 * common/ptid.h (ptid_match): ... here.
684 2014-02-27 Mark Kettenis <kettenis@gnu.org>
686 * mips64obsd-tdep.c (mips64obsd_init_abi): Call obsd_init_abi.
687 * configure.tgt (mips64*-*-openbsd*): Add obsd-tdep.c to
690 2014-02-27 Mark Kettenis <kettenis@gnu.org>
692 * obsd-tdep.c (obsd_auxv_parse): New function.
693 (obsd_init_abi): Set auxv_parse.
695 * gdbarch.sh (auxv_parse): New.
696 * gdbarch.h: Regenerated.
697 * gdbarch.c: Regenerated.
698 * auxv.c (target_auxv_parse): Call gdbarch_parse_auxv if provided.
700 2014-02-26 Ludovic Courtès <ludo@gnu.org>
702 * guile/scm-value.c (gdbscm_history_append_x): New function.
703 (value_functions): Add it.
705 2014-02-27 Joel Brobecker <brobecker@adacore.com>
707 * dwarf2read.c (attr_value_as_address): New function.
708 (dwarf2_find_base_address, read_call_site_scope): Use
709 attr_value_as_address in place of DW_ADDR.
710 (dwarf2_get_pc_bounds): Use attr_value_as_address to get
711 the low and high addresses. Slight rework of the handling
712 of the high pc being a constant form, and limit it to
713 DWARF verson 4 or higher.
714 (dwarf2_record_block_ranges): Likewise.
715 (read_partial_die): Likewise.
716 (new_symbol_full): Use attr_value_as_address in place of DW_ADDR.
718 2014-02-26 Tom Tromey <tromey@redhat.com>
720 * exec.c (exec_file_attach): Hold a reference to exec_bfd.
722 2014-02-26 Tom Tromey <tromey@redhat.com>
724 * elfread.c (elf_read_minimal_symbols): Return early if
725 minimal symbols have already been read. Add "ei" parameter.
726 (elf_symfile_read): Call elf_read_minimal_symbols earlier.
727 * minsyms.c (prim_record_minimal_symbol_full): Update.
728 * objfiles.h (struct objstats) <n_minsyms>: Move...
729 (struct objfile_per_bfd_storage) <n_minsyms>: ... here.
730 * symmisc.c (print_objfile_statistics): Update.
732 2014-02-26 Tom Tromey <tromey@redhat.com>
734 * elfread.c (elf_read_minimal_symbols): New function, from
736 (elf_symfile_read): Call it.
738 2014-02-26 Tom Tromey <tromey@redhat.com>
740 * minsyms.c (lookup_minimal_symbol, iterate_over_minimal_symbols)
741 (lookup_minimal_symbol_text, lookup_minimal_symbol_by_pc_name)
742 (lookup_minimal_symbol_solib_trampoline)
743 (lookup_minimal_symbol_by_pc_section_1)
744 (lookup_minimal_symbol_and_objfile): Update.
745 (prim_record_minimal_symbol_full): Use the per-BFD obstack.
746 Don't allocate a minimal symbol if minsyms have already been read.
747 (build_minimal_symbol_hash_tables): Update.
748 (install_minimal_symbols): Do nothing if minsyms already read.
749 Use the per-BFD obstack.
750 (terminate_minimal_symbol_table): Use the per-BFD obstack.
751 * objfiles.c (allocate_objfile): Call
752 terminate_minimal_symbol_table later.
753 (have_minimal_symbols): Update.
754 * objfiles.h (struct objfile_per_bfd_storage) <msymbols,
755 minimal_symbol_count, msymbol_hash, msymbol_demangled_hash>:
756 Move from struct objfile.
757 <minsyms_read>: New field.
758 (struct objfile) <msymbols, minimal_symbol_count,
759 msymbol_hash, msymbol_demangled_hash>: Move.
760 (ALL_OBJFILE_MSYMBOLS): Update.
761 * symfile.c (read_symbols): Set minsyms_read.
762 (reread_symbols): Update.
763 * symmisc.c (dump_objfile, dump_msymbols): Update.
765 2014-02-26 Tom Tromey <tromey@redhat.com>
767 * minsyms.c (msymbols_sort): Remove.
768 * minsyms.h (msymbols_sort): Remove.
769 * objfiles.c (objfile_relocate1): Don't relocate minsyms.
770 * symtab.h (MSYMBOL_VALUE_ADDRESS): Use objfile offsets.
771 * elfread.c (elf_symtab_read): Don't add section offsets.
772 * xcoffread.c (record_minimal_symbol): Don't add section offset
773 to minimal symbol address.
774 * somread.c (text_offset, data_offset): Remove.
775 (som_symtab_read): Don't add section offsets to minimal symbol
777 * coff-pe-read.c (add_pe_forwarded_sym, read_pe_exported_syms):
778 Don't add section offsets to minimal symbols.
779 * coffread.c (coff_symtab_read): Don't add section offsets
780 to minimal symbol addresses.
781 * machoread.c (macho_symtab_add_minsym): Don't add section offset
782 to minimal symbol addresses.
783 * mipsread.c (read_alphacoff_dynamic_symtab): Don't add
784 section offset to minimal symbol addresses.
785 * mdebugread.c (parse_partial_symbols): Don't add section
786 offset to minimal symbol addresses.
787 * dbxread.c (read_dbx_dynamic_symtab): Don't add section
788 offset to minimal symbol addresses.
790 2014-02-26 Tom Tromey <tromey@redhat.com>
792 * ada-lang.c (ada_main_name): Update.
793 (ada_add_standard_exceptions): Update.
794 * ada-tasks.c (ada_tasks_inferior_data_sniffer): Update.
795 * aix-thread.c (pdc_symbol_addrs, pd_enable): Update.
796 * arm-tdep.c (skip_prologue_function, arm_skip_stub): Update.
797 * auxv.c (ld_so_xfer_auxv): Update.
798 * avr-tdep.c (avr_scan_prologue): Update.
799 * ax-gdb.c (gen_var_ref): Update.
800 * blockframe.c (get_pc_function_start)
801 (find_pc_partial_function_gnu_ifunc): Update.
802 * breakpoint.c (create_overlay_event_breakpoint)
803 (create_longjmp_master_breakpoint)
804 (create_std_terminate_master_breakpoint)
805 (create_exception_master_breakpoint): Update.
806 * bsd-uthread.c (bsd_uthread_lookup_address): Update.
807 * c-valprint.c (c_val_print): Update.
808 * coff-pe-read.c (add_pe_forwarded_sym): Update.
809 * common/agent.c (agent_look_up_symbols): Update.
810 * dbxread.c (find_stab_function_addr, end_psymtab): Update.
811 * dwarf2loc.c (call_site_to_target_addr): Update.
812 * dwarf2read.c (dw2_find_pc_sect_symtab): Update.
813 * elfread.c (elf_gnu_ifunc_record_cache)
814 (elf_gnu_ifunc_resolve_by_got): Update.
815 * findvar.c (default_read_var_value): Update.
816 * frame.c (inside_main_func): Update.
817 * frv-tdep.c (frv_frame_this_id): Update.
818 * glibc-tdep.c (glibc_skip_solib_resolver): Update.
819 * gnu-v3-abi.c (gnuv3_get_typeid, gnuv3_skip_trampoline):
821 * hppa-hpux-tdep.c (hppa64_hpux_search_dummy_call_sequence)
822 (hppa_hpux_find_dummy_bpaddr): Update.
823 * hppa-tdep.c (hppa_symbol_address): Update.
824 * infcmd.c (until_next_command): Update.
825 * jit.c (jit_read_descriptor, jit_breakpoint_re_set_internal):
827 * linespec.c (minsym_found, add_minsym): Update.
828 * linux-nat.c (get_signo): Update.
829 * linux-thread-db.c (inferior_has_bug): Update.
830 * m32c-tdep.c (m32c_return_value)
831 (m32c_m16c_address_to_pointer): Update.
832 * m32r-tdep.c (m32r_frame_this_id): Update.
833 * m68hc11-tdep.c (m68hc11_get_register_info): Update.
834 * machoread.c (macho_resolve_oso_sym_with_minsym): Update.
835 * maint.c (maintenance_translate_address): Update.
836 * minsyms.c (lookup_minimal_symbol_by_pc_name): Update.
837 (frob_address): New function.
838 (lookup_minimal_symbol_by_pc_section_1): Use raw addresses,
839 frob_address. Rename parameter to "pc_in".
840 (compare_minimal_symbols, compact_minimal_symbols): Use raw
842 (find_solib_trampoline_target, minimal_symbol_upper_bound):
844 * mips-linux-tdep.c (mips_linux_skip_resolver): Update.
845 * mips-tdep.c (mips_skip_pic_trampoline_code): Update.
846 * objc-lang.c (find_objc_msgsend): Update.
847 * objfiles.c (objfile_relocate1): Update.
848 * obsd-tdep.c (obsd_skip_solib_resolver): Update.
849 * p-valprint.c (pascal_val_print): Update.
850 * parse.c (write_exp_msymbol): Update.
851 * ppc-linux-tdep.c (ppc_linux_spe_context_lookup)
852 (ppc_elfv2_skip_entrypoint): Update.
853 * ppc-sysv-tdep.c (convert_code_addr_to_desc_addr): Update.
854 * printcmd.c (build_address_symbolic, msym_info)
855 (address_info): Update.
856 * proc-service.c (ps_pglobal_lookup): Update.
857 * psymtab.c (find_pc_sect_psymtab_closer)
858 (find_pc_sect_psymtab, find_pc_sect_symtab_from_partial):
859 Change msymbol parameter to bound_minimal_symbol.
860 * ravenscar-thread.c (get_running_thread_id): Update.
861 * remote.c (remote_check_symbols): Update.
862 * sh64-tdep.c (sh64_elf_make_msymbol_special): Use raw
864 * sol2-tdep.c (sol2_skip_solib_resolver): Update.
865 * solib-dsbt.c (lm_base): Update.
866 * solib-frv.c (lm_base, main_got): Update.
867 * solib-irix.c (locate_base): Update.
868 * solib-som.c (som_solib_create_inferior_hook)
869 (link_map_start): Update.
870 * solib-spu.c (spu_enable_break, ocl_enable_break): Update.
871 * solib-svr4.c (elf_locate_base, enable_break): Update.
872 * spu-tdep.c (spu_get_overlay_table, spu_catch_start)
873 (flush_ea_cache): Update.
874 * stabsread.c (define_symbol, scan_file_globals): Update.
875 * stack.c (find_frame_funname): Update.
876 * symfile-debug.c (debug_qf_expand_symtabs_matching)
877 (debug_qf_find_pc_sect_symtab): Update.
878 * symfile.c (simple_read_overlay_table)
879 (simple_overlay_update): Update.
880 * symfile.h (struct quick_symbol_functions)
881 <find_pc_sect_symtab>: Change type of msymbol to
882 bound_minimal_symbol.
883 * symmisc.c (dump_msymbols): Update.
884 * symtab.c (find_pc_sect_symtab_via_partial)
885 (find_pc_sect_psymtab, find_pc_sect_line, skip_prologue_sal)
886 (search_symbols, print_msymbol_info): Update.
887 * symtab.h (MSYMBOL_VALUE_RAW_ADDRESS): New macro.
888 (MSYMBOL_VALUE_ADDRESS): Redefine.
889 (BMSYMBOL_VALUE_ADDRESS): New macro.
890 * tracepoint.c (scope_info): Update.
891 * tui/tui-disasm.c (tui_find_disassembly_address)
892 (tui_get_begin_asm_address): Update.
893 * valops.c (find_function_in_inferior): Update.
894 * value.c (value_static_field, value_fn_field): Update.
896 2014-02-26 Tom Tromey <tromey@redhat.com>
898 * ada-lang.c (ada_update_initial_language): Update.
899 (ada_main_name, ada_has_this_exception_support): Update.
900 * ada-tasks.c (ada_tasks_inferior_data_sniffer): Update.
901 * aix-thread.c (pdc_symbol_addrs, pd_enable): Update.
902 * arm-tdep.c (arm_skip_stub): Update.
903 * auxv.c (ld_so_xfer_auxv): Update.
904 * avr-tdep.c (avr_scan_prologue): Update.
905 * ax-gdb.c (gen_var_ref): Update.
906 * breakpoint.c (struct breakpoint_objfile_data)
907 <overlay_msym, longjmp_msym, terminate_msym, exception_msym>: Change
908 type to bound_minimal_symbol.
909 (create_overlay_event_breakpoint)
910 (create_longjmp_master_breakpoint)
911 (create_std_terminate_master_breakpoint)
912 (create_exception_master_breakpoint): Update.
913 * bsd-uthread.c (bsd_uthread_lookup_address): Update.
914 * c-exp.y (classify_name): Update.
915 * coffread.c (coff_symfile_read): Update.
916 * common/agent.c (agent_look_up_symbols): Update.
917 * d-lang.c (d_main_name): Update.
918 * dbxread.c (find_stab_function_addr, end_psymtab): Update.
919 * dec-thread.c (enable_dec_thread): Update.
920 * dwarf2loc.c (call_site_to_target_addr): Update.
921 * elfread.c (elf_gnu_ifunc_resolve_by_got): Update.
922 * eval.c (evaluate_subexp_standard): Update.
923 * findvar.c (struct minsym_lookup_data) <result>: Change type
924 to bound_minimal_symbol.
926 (minsym_lookup_iterator_cb, default_read_var_value): Update.
927 * frame.c (inside_main_func): Update.
928 * frv-tdep.c (frv_frame_this_id): Update.
929 * gcore.c (call_target_sbrk): Update.
930 * glibc-tdep.c (glibc_skip_solib_resolver): Update.
931 * gnu-v3-abi.c (gnuv3_get_typeid, gnuv3_skip_trampoline):
933 * go-lang.c (go_main_name): Update.
934 * hppa-hpux-tdep.c (hppa_hpux_skip_trampoline_code)
935 (hppa_hpux_find_import_stub_for_addr): Update.
936 * hppa-tdep.c (hppa_extract_17, hppa_lookup_stub_minimal_symbol):
937 Update. Change return type.
938 * hppa-tdep.h (hppa_lookup_stub_minimal_symbol): Change return
940 * jit.c (jit_breakpoint_re_set_internal): Update.
941 * linux-fork.c (inferior_call_waitpid, checkpoint_command):
943 * linux-nat.c (get_signo): Update.
944 * linux-thread-db.c (inferior_has_bug): Update
945 * m32c-tdep.c (m32c_return_value)
946 (m32c_m16c_address_to_pointer): Update.
947 * m32r-tdep.c (m32r_frame_this_id): Update.
948 * m68hc11-tdep.c (m68hc11_get_register_info): Update.
949 * machoread.c (macho_resolve_oso_sym_with_minsym): Update.
950 * minsyms.c (lookup_minimal_symbol_internal): Rename to
951 lookup_minimal_symbol. Change return type.
952 (lookup_minimal_symbol): Remove.
953 (lookup_bound_minimal_symbol): Update.
954 (lookup_minimal_symbol_text): Change return type.
955 (lookup_minimal_symbol_solib_trampoline): Change return type.
956 * minsyms.h (lookup_minimal_symbol, lookup_minimal_symbol_text)
957 (lookup_minimal_symbol_solib_trampoline): Change return type.
958 * mips-linux-tdep.c (mips_linux_skip_resolver): Update.
959 * objc-lang.c (lookup_objc_class, lookup_child_selector)
960 (value_nsstring, find_imps): Update.
961 * obsd-tdep.c (obsd_skip_solib_resolver): Update.
962 * p-lang.c (pascal_main_name): Update.
963 * ppc-linux-tdep.c (ppc_linux_spe_context_lookup): Update.
964 * ppc-sysv-tdep.c (convert_code_addr_to_desc_addr): Update.
965 * proc-service.c (ps_pglobal_lookup): Update.
966 * ravenscar-thread.c (get_running_thread_msymbol): Change
968 (has_ravenscar_runtime, get_running_thread_id): Update.
969 * remote.c (remote_check_symbols): Update.
970 * sol-thread.c (ps_pglobal_lookup): Update.
971 * sol2-tdep.c (sol2_skip_solib_resolver): Update.
972 * solib-dsbt.c (lm_base): Update.
973 * solib-frv.c (lm_base, frv_relocate_section_addresses):
975 * solib-irix.c (locate_base): Update.
976 * solib-som.c (som_solib_create_inferior_hook)
977 (som_solib_desire_dynamic_linker_symbols, link_map_start):
979 * solib-spu.c (spu_enable_break): Update.
980 * solib-svr4.c (elf_locate_base, enable_break): Update.
981 * spu-tdep.c (spu_get_overlay_table, spu_catch_start)
982 (flush_ea_cache): Update.
983 * stabsread.c (define_symbol): Update.
984 * symfile.c (simple_read_overlay_table): Update.
985 * symtab.c (find_pc_sect_line): Update.
986 * tracepoint.c (scope_info): Update.
987 * tui-disasm.c (tui_get_begin_asm_address): Update.
988 * value.c (value_static_field): Update.
990 2014-02-26 Tom Tromey <tromey@redhat.com>
992 * minsyms.c (prim_record_minimal_symbol_full): Use
993 SET_MSYMBOL_VALUE_ADDRESS.
994 * objfiles.c (objfile_relocate1): Use SET_MSYMBOL_VALUE_ADDRESS.
995 * sh64-tdep.c (sh64_elf_make_msymbol_special): Use
996 SET_MSYMBOL_VALUE_ADDRESS.
997 * symtab.h (MSYMBOL_VALUE_ADDRESS): Expand to an rvalue.
998 (SET_MSYMBOL_VALUE_ADDRESS): New macro.
1000 2014-02-26 Tom Tromey <tromey@redhat.com>
1002 * symtab.h (struct minimal_symbol) <mginfo>: Rename from ginfo.
1003 (MSYMBOL_VALUE, MSYMBOL_VALUE_ADDRESS, MSYMBOL_VALUE_BYTES)
1004 (MSYMBOL_BLOCK_VALUE, MSYMBOL_VALUE_CHAIN, MSYMBOL_LANGUAGE)
1005 (MSYMBOL_SECTION, MSYMBOL_OBJ_SECTION, MSYMBOL_NATURAL_NAME)
1006 (MSYMBOL_LINKAGE_NAME, MSYMBOL_PRINT_NAME, MSYMBOL_DEMANGLED_NAME)
1007 (MSYMBOL_SET_LANGUAGE, MSYMBOL_SEARCH_NAME)
1008 (MSYMBOL_MATCHES_SEARCH_NAME, MSYMBOL_SET_NAMES): New macros.
1009 * ada-lang.c (ada_main_name): Update.
1010 (ada_lookup_simple_minsym): Update.
1011 (ada_make_symbol_completion_list): Update.
1012 (ada_add_standard_exceptions): Update.
1013 * ada-tasks.c (read_atcb, ada_tasks_inferior_data_sniffer): Update.
1014 * aix-thread.c (pdc_symbol_addrs, pd_enable): Update.
1015 * amd64-windows-tdep.c (amd64_skip_main_prologue): Update.
1016 * arm-tdep.c (skip_prologue_function): Update.
1017 (arm_skip_stack_protector, arm_skip_stub): Update.
1018 * arm-wince-tdep.c (arm_pe_skip_trampoline_code): Update.
1019 (arm_wince_skip_main_prologue): Update.
1020 * auxv.c (ld_so_xfer_auxv): Update.
1021 * avr-tdep.c (avr_scan_prologue): Update.
1022 * ax-gdb.c (gen_var_ref): Update.
1023 * block.c (call_site_for_pc): Update.
1024 * blockframe.c (get_pc_function_start): Update.
1025 (find_pc_partial_function_gnu_ifunc): Update.
1026 * breakpoint.c (create_overlay_event_breakpoint): Update.
1027 (create_longjmp_master_breakpoint): Update.
1028 (create_std_terminate_master_breakpoint): Update.
1029 (create_exception_master_breakpoint): Update.
1030 (resolve_sal_pc): Update.
1031 * bsd-uthread.c (bsd_uthread_lookup_address): Update.
1032 * btrace.c (ftrace_print_function_name, ftrace_function_switched):
1034 * c-valprint.c (c_val_print): Update.
1035 * coff-pe-read.c (add_pe_forwarded_sym): Update.
1036 * coffread.c (coff_symfile_read): Update.
1037 * common/agent.c (agent_look_up_symbols): Update.
1038 * dbxread.c (find_stab_function_addr): Update.
1039 (end_psymtab): Update.
1040 * dwarf2loc.c (call_site_to_target_addr): Update.
1041 (func_verify_no_selftailcall): Update.
1042 (tailcall_dump): Update.
1043 (call_site_find_chain_1): Update.
1044 (dwarf_expr_reg_to_entry_parameter): Update.
1045 * elfread.c (elf_gnu_ifunc_record_cache): Update.
1046 (elf_gnu_ifunc_resolve_by_got): Update.
1047 * f-valprint.c (info_common_command): Update.
1048 * findvar.c (read_var_value): Update.
1049 * frame.c (get_prev_frame_1): Update.
1050 (inside_main_func): Update.
1051 * frv-tdep.c (frv_skip_main_prologue): Update.
1052 (frv_frame_this_id): Update.
1053 * glibc-tdep.c (glibc_skip_solib_resolver): Update.
1054 * gnu-v2-abi.c (gnuv2_value_rtti_type): Update.
1055 * gnu-v3-abi.c (gnuv3_rtti_type): Update.
1056 (gnuv3_skip_trampoline): Update.
1057 * hppa-hpux-tdep.c (hppa32_hpux_in_solib_call_trampoline): Update.
1058 (hppa64_hpux_in_solib_call_trampoline): Update.
1059 (hppa_hpux_skip_trampoline_code): Update.
1060 (hppa64_hpux_search_dummy_call_sequence): Update.
1061 (hppa_hpux_find_import_stub_for_addr): Update.
1062 (hppa_hpux_find_dummy_bpaddr): Update.
1063 * hppa-tdep.c (hppa_symbol_address)
1064 (hppa_lookup_stub_minimal_symbol): Update.
1065 * i386-tdep.c (i386_skip_main_prologue): Update.
1066 (i386_pe_skip_trampoline_code): Update.
1067 * ia64-tdep.c (ia64_convert_from_func_ptr_addr): Update.
1068 * infcall.c (get_function_name): Update.
1069 * infcmd.c (until_next_command): Update.
1070 * jit.c (jit_breakpoint_re_set_internal): Update.
1071 (jit_inferior_init): Update.
1072 * linespec.c (minsym_found): Update.
1073 (add_minsym): Update.
1074 * linux-fork.c (info_checkpoints_command): Update.
1075 * linux-nat.c (get_signo): Update.
1076 * linux-thread-db.c (inferior_has_bug): Update.
1077 * m32c-tdep.c (m32c_return_value): Update.
1078 (m32c_m16c_address_to_pointer): Update.
1079 (m32c_m16c_pointer_to_address): Update.
1080 * m32r-tdep.c (m32r_frame_this_id): Update.
1081 * m68hc11-tdep.c (m68hc11_get_register_info): Update.
1082 * machoread.c (macho_resolve_oso_sym_with_minsym): Update.
1083 * maint.c (maintenance_translate_address): Update.
1084 * minsyms.c (add_minsym_to_hash_table): Update.
1085 (add_minsym_to_demangled_hash_table): Update.
1086 (msymbol_objfile): Update.
1087 (lookup_minimal_symbol): Update.
1088 (iterate_over_minimal_symbols): Update.
1089 (lookup_minimal_symbol_text): Update.
1090 (lookup_minimal_symbol_by_pc_name): Update.
1091 (lookup_minimal_symbol_solib_trampoline): Update.
1092 (lookup_minimal_symbol_by_pc_section_1): Update.
1093 (lookup_minimal_symbol_and_objfile): Update.
1094 (prim_record_minimal_symbol_full): Update.
1095 (compare_minimal_symbols): Update.
1096 (compact_minimal_symbols): Update.
1097 (build_minimal_symbol_hash_tables): Update.
1098 (install_minimal_symbols): Update.
1099 (terminate_minimal_symbol_table): Update.
1100 (find_solib_trampoline_target): Update.
1101 (minimal_symbol_upper_bound): Update.
1102 * mips-linux-tdep.c (mips_linux_skip_resolver): Update.
1103 * mips-tdep.c (mips_stub_frame_sniffer): Update.
1104 (mips_skip_pic_trampoline_code): Update.
1105 * msp430-tdep.c (msp430_skip_trampoline_code): Update.
1106 * objc-lang.c (selectors_info): Update.
1107 (classes_info): Update.
1108 (find_methods): Update.
1109 (find_imps): Update.
1110 (find_objc_msgsend): Update.
1111 * objfiles.c (objfile_relocate1): Update.
1112 * objfiles.h (ALL_OBJFILE_MSYMBOLS): Update.
1113 * obsd-tdep.c (obsd_skip_solib_resolver): Update.
1114 * p-valprint.c (pascal_val_print): Update.
1115 * parse.c (write_exp_msymbol): Update.
1116 * ppc-linux-tdep.c (powerpc_linux_in_dynsym_resolve_code)
1117 (ppc_linux_spe_context_lookup, ppc_elfv2_skip_entrypoint): Update.
1118 * ppc-sysv-tdep.c (convert_code_addr_to_desc_addr): Update.
1119 * printcmd.c (build_address_symbolic): Update.
1121 (address_info): Update.
1122 * proc-service.c (ps_pglobal_lookup): Update.
1123 * psymtab.c (find_pc_sect_psymtab_closer): Update.
1124 (find_pc_sect_psymtab): Update.
1125 * python/py-framefilter.c (py_print_frame): Update.
1126 * ravenscar-thread.c (get_running_thread_id): Update.
1127 * record-btrace.c (btrace_call_history, btrace_get_bfun_name):
1129 * remote.c (remote_check_symbols): Update.
1130 * rs6000-tdep.c (rs6000_skip_main_prologue): Update.
1131 (rs6000_skip_trampoline_code): Update.
1132 * sh64-tdep.c (sh64_elf_make_msymbol_special): Update.
1133 * sol2-tdep.c (sol2_skip_solib_resolver): Update.
1134 * solib-dsbt.c (lm_base): Update.
1135 * solib-frv.c (lm_base): Update.
1137 * solib-irix.c (locate_base): Update.
1138 * solib-som.c (som_solib_create_inferior_hook): Update.
1139 (som_solib_desire_dynamic_linker_symbols): Update.
1140 (link_map_start): Update.
1141 * solib-spu.c (spu_enable_break): Update.
1142 (ocl_enable_break): Update.
1143 * solib-svr4.c (elf_locate_base): Update.
1144 (enable_break): Update.
1145 * spu-tdep.c (spu_get_overlay_table): Update.
1146 (spu_catch_start): Update.
1147 (flush_ea_cache): Update.
1148 * stabsread.c (define_symbol): Update.
1149 (scan_file_globals): Update.
1150 * stack.c (find_frame_funname): Update.
1151 (frame_info): Update.
1152 * symfile.c (simple_read_overlay_table): Update.
1153 (simple_overlay_update): Update.
1154 * symmisc.c (dump_msymbols): Update.
1155 * symtab.c (fixup_section): Update.
1156 (find_pc_sect_line): Update.
1157 (skip_prologue_sal): Update.
1158 (search_symbols): Update.
1159 (print_msymbol_info): Update.
1160 (rbreak_command): Update.
1161 (MCOMPLETION_LIST_ADD_SYMBOL): New macro.
1162 (completion_list_objc_symbol): Update.
1163 (default_make_symbol_completion_list_break_on): Update.
1164 * tracepoint.c (scope_info): Update.
1165 * tui/tui-disasm.c (tui_find_disassembly_address): Update.
1166 (tui_get_begin_asm_address): Update.
1167 * valops.c (find_function_in_inferior): Update.
1168 * value.c (value_static_field): Update.
1169 (value_fn_field): Update.
1171 2014-02-26 Tom Tromey <tromey@redhat.com>
1173 * blockframe.c (find_pc_partial_function_gnu_ifunc): Use
1174 bound minimal symbols. Move code that knows about minsym
1176 * minsyms.c (minimal_symbol_upper_bound): ... here. New
1178 * minsyms.h (minimal_symbol_upper_bound): Declare.
1179 * objc-lang.c (find_objc_msgsend): Use bound minimal symbols,
1180 minimal_symbol_upper_bound.
1182 2014-02-27 Joel Brobecker <brobecker@adacore.com>
1184 * python/lib/gdb/printing.py (RegexpCollectionPrettyPrinter):
1185 Use the type's name if its basic type does not have a tag.
1187 2014-02-27 Joel Brobecker <brobecker@adacore.com>
1189 * dwarf2read.c (read_subrange_type): Add comment.
1191 2014-02-27 Joel Brobecker <brobecker@adacore.com>
1193 * dwarf2read.c (update_enumeration_type_from_children): New
1194 function, mostly extracted from process_structure_scope.
1195 (read_enumeration_type): Call update_enumeration_type_from_children.
1196 (process_enumeration_scope): Do not set THIS_TYPE's flag_unsigned
1197 and flag_flag_enum fields.
1199 2014-02-26 Pedro Alves <palves@redhat.com>
1201 * bsd-uthread.c (bsd_uthread_xfer_partial): Delete function.
1202 (bsd_uthread_target): Don't install bsd_uthread_xfer_partial as
1203 to_xfer_partial method.
1205 2014-02-26 Pedro Alves <palves@redhat.com>
1207 * target.c (complete_target_initialization): Don't install
1208 default_xfer_partial as to_xfer_partial hook.
1210 (update_current_target): Don't INHERIT nor de_fault
1211 deprecated_xfer_memory. Delete de_fault macro.
1212 (default_xfer_partial, deprecated_debug_xfer_memory): Delete.
1213 (setup_target_debug): Don't install a deprecated_xfer_memory hook.
1214 * target.h (struct target_ops) <deprecated_xfer_memory>: Delete
1217 2014-02-26 Pedro Alves <palves@redhat.com>
1219 * go32-nat.c (my_write_child): New function.
1220 (go32_xfer_memory): Rewrite as to_xfer_partial helper.
1221 (go32_xfer_partial): New function.
1222 (init_go32_ops): Don't install a deprecated_xfer_memory hook.
1223 Instead install a to_xfer_partial hook.
1225 2014-02-26 Pedro Alves <palves@redhat.com>
1227 * nto-procfs.c (procfs_xfer_memory): Adjust interface as a
1228 to_xfer_partial helper. Rewrite.
1229 (procfs_xfer_partial): New function.
1230 (init_procfs_ops): Don't install a deprecated_xfer_memory hook.
1231 Install a to_xfer_partial hook.
1233 2014-02-26 Pedro Alves <palves@redhat.com>
1235 * remote-m32r-sdi.c (send_data): Constify 'buf' parameter.
1236 (m32r_xfer_memory): Adjust as a to_xfer_partial helper.
1237 (m32r_xfer_partial): New function.
1238 (init_m32r_ops): Don't install a deprecated_xfer_memory hook.
1239 Install a to_xfer_partial hook.
1241 2014-02-26 Pedro Alves <palves@redhat.com>
1243 * remote-mips.c (mips_xfer_memory): Adjust as to_xfer_partial
1245 (mips_xfer_partial): New function.
1246 (_initialize_remote_mips): Don't install a deprecated_xfer_memory
1247 hook. Install a to_xfer_partial hook.
1249 2014-02-26 Joel Brobecker <brobecker@adacore.com>
1251 * gdbtypes.h (create_array_type_with_stride): Add declaration.
1252 * gdbtypes.c (create_array_type_with_stride): New function,
1253 renaming create_array_type, but with an added parameter
1254 called "bit_stride".
1255 (create_array_type): Re-implement using
1256 create_array_type_with_stride.
1257 * dwarf2read.c (read_array_type): Add support for DW_AT_byte_stride
1258 and DW_AT_bit_stride attributes.
1260 2014-02-26 Pedro Alves <palves@redhat.com>
1262 * breakpoint.c (bpstat_check_breakpoint_conditions): Handle
1263 task-specific breakpoints.
1265 2014-02-25 Pedro Alves <palves@redhat.com>
1267 * ia64-linux-nat.c (ia64_linux_xfer_partial): Reimplement
1268 handling of object == TARGET_OBJECT_UNWIND_TABLE.
1270 2014-02-25 Stan Shebs <stan@codesourcery.com>
1272 * defs.h: Annotate comments for Doxygen.
1274 2014-02-25 Tom Tromey <tromey@redhat.com>
1276 * target.h (target_ignore): Don't declare.
1277 * target.c (target_ignore): Remove.
1279 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
1282 * auto-load.c (auto_load_objfile_script_1): Change filename to
1285 2014-02-25 Joel Brobecker <brobecker@adacore.com>
1287 * ia64-linux-nat.c (ia64_linux_xfer_partial): Add function
1288 documentation. Adjust prototype to match the target_ops
1289 to_xfer_partial method. Adjust implementation accordingly.
1291 2014-02-25 Hui Zhu <hui@codesourcery.com>
1293 * target.h (target_ops): Fix TARGET_DEFAULT_RETURN of
1296 2014-02-25 Kevin Buettner <kevinb@redhat.com>
1298 * rl78-tdep.c (RL78_BANK0_RP0_PTR_REGNUM, RL78_BANK0_RP1_PTR_REGNUM)
1299 (RL78_BANK0_RP2_PTR_REGNUM, RL78_BANK0_RP3_PTR_REGNUM)
1300 (RL78_BANK1_RP0_PTR_REGNUM, RL78_BANK1_RP1_PTR_REGNUM)
1301 (RL78_BANK1_RP2_PTR_REGNUM, RL78_BANK1_RP3_PTR_REGNUM)
1302 (RL78_BANK2_RP0_PTR_REGNUM, RL78_BANK2_RP1_PTR_REGNUM)
1303 (RL78_BANK2_RP2_PTR_REGNUM, RL78_BANK2_RP3_PTR_REGNUM)
1304 (RL78_BANK3_RP0_PTR_REGNUM, RL78_BANK3_RP1_PTR_REGNUM)
1305 (RL78_BANK3_RP2_PTR_REGNUM, RL78_BANK3_RP3_PTR_REGNUM):
1307 (rl78_register_type): Use a data pointer type for SP and
1308 new pseudo registers mentioned above. Use a 16 bit integer
1309 type for all other register pairs.
1310 (rl78_register_name, rl78_g10_register_name): Update for
1311 new pseudo registers.
1312 (rl78_pseudo_register_read): Likewise.
1313 (rl78_pseudo_register_write): Likewise.
1314 (rl78_dwarf_reg_to_regnum): Return register numbers representing
1315 to the newly added pseudo registers.
1317 2014-02-24 Doug Evans <dje@google.com>
1319 * value.c (record_latest_value): Fix comment.
1320 * printcmd.c (print_command_1): Remove code to handle -1 return from
1321 record_latest_value.
1323 2014-02-24 Pedro Alves <palves@redhat.com>
1325 * procfs.c (procfs_target): Don't install procfs_xfer_memory as
1326 deprecated_xfer_memory hook.
1327 (procfs_xfer_partial): Call procfs_xfer_memory instead
1328 of the deprecated_xfer_memory target hook.
1329 (procfs_xfer_memory): Adjust interface as a to_xfer_partial
1332 2014-02-24 Yuanhui Zhang <asmwarrior@gmail.com>
1334 * windows-nat.c (windows_xfer_shared_libraries): Return
1335 TARGET_XFER_EOF if LEN is zero to fix an assert failure when
1336 requested object is TARGET_OBJECT_LIBRARIES.
1338 2014-02-24 Yao Qi <yao@codesourcery.com>
1340 * target.h (enum target_xfer_status)
1341 <TARGET_XFER_E_UNAVAILABLE>: Rename it to ...
1342 <TARGET_XFER_UNAVAILABLE>: ... it with setting value 2
1344 * corefile.c (memory_error_message): User updated.
1345 * exec.c (section_table_read_available_memory): Likewise.
1346 * record-btrace.c (record_btrace_xfer_partial): Likewise.
1347 * target.c (target_xfer_status_to_string): Likewise.
1348 (raw_memory_xfer_partial): Likewise.
1349 (memory_xfer_partial_1, target_xfer_partial): Likewise.
1350 * valops.c (read_value_memory): Likewise.
1351 * exec.h: Update comments.
1353 2014-02-24 Yao Qi <yao@codesourcery.com>
1355 * target.c (target_xfer_status_to_string): Rename argument err
1357 * target.h (target_xfer_status_to_string): Update declaration.
1358 Replace target_xfer_error_to_string with
1359 target_xfer_status_to_string in comment.
1361 2014-02-24 Yao Qi <yao@codesourcery.com>
1363 * mips-linux-nat.c (super_close): Update its type.
1364 (mips_linux_close): Pass 'self' to super_close.
1366 2014-02-24 Yao Qi <yao@codesourcery.com>
1368 * target.h (TARGET_XFER_STATUS_ERROR_P): Remove.
1369 * corefile.c (read_memory): Adjusted.
1370 * target.c (target_write_with_progress): Adjusted.
1372 2014-02-23 Yao Qi <yao@codesourcery.com>
1376 2013-10-25 Yao Qi <yao@codesourcery.com>
1378 * remote.c (remote_traceframe_info): Return early if
1379 traceframe is not selected.
1381 2013-07-19 Yao Qi <yao@codesourcery.com>
1383 * target.c (update_current_target): Change the default action
1384 of 'to_traceframe_info' from tcomplain to return_zero.
1385 * target.h (struct target_ops) <to_traceframe_info>: Add more
1388 2014-02-23 Yao Qi <yao@codesourcery.com>
1390 * valops.c (read_value_memory): Rewrite it. Call
1391 target_xfer_partial in a loop.
1392 * exec.h (section_table_available_memory): Remove declaration.
1393 Move comments to ...
1394 * exec.c (section_table_available_memory): ... here. Make it
1397 2014-02-23 Yao Qi <yao@codesourcery.com>
1399 * exec.c (section_table_read_available_memory): New function.
1400 * exec.h (section_table_read_available_memory): Declare.
1401 * ctf.c (ctf_xfer_partial): Call
1402 section_table_read_available_memory.
1403 * tracefile-tfile.c (tfile_xfer_partial): Likewise.
1405 2014-02-23 Yao Qi <yao@codesourcery.com>
1407 * ctf.c (ctf_xfer_partial): Move code to ...
1408 * exec.c (exec_read_partial_read_only): ... it. New function.
1409 * tracefile-tfile.c (tfile_xfer_partial): Likewise.
1410 * tracefile.c: Include "exec.h".
1411 * exec.h (exec_read_partial_read_only): Declare.
1413 2014-02-23 Yao Qi <yao@codesourcery.com>
1415 * tracefile-tfile.c (tfile_has_all_memory): Remove.
1416 (tfile_has_memory): Remove.
1417 (init_tfile_ops): Don't set fields to_has_all_memory and
1418 to_has_memory of tfile_ops.
1419 * tracefile.c (tracefile_has_all_memory): New function.
1420 (tracefile_has_memory): New function.
1421 (init_tracefile_ops): Initialize fields to_has_all_memory and
1422 to_has_memory of 'ops'.
1424 2014-02-23 Yao Qi <yao@codesourcery.com>
1426 * ctf.c (ctf_has_stack, ctf_has_registers): Remove.
1427 (ctf_thread_alive, ctf_get_trace_status): Remove.
1428 (init_ctf_ops): Don't set some fields of ctf_ops. Call
1430 * tracefile-tfile.c (tfile_get_trace_status): Remove.
1431 (tfile_has_stack, tfile_has_registers): Remove.
1432 (tfile_thread_alive): Remove.
1433 (init_tfile_ops): Don't set some fields of tfile_ops. Call
1435 * tracefile.c (tracefile_has_stack): New function.
1436 (tracefile_has_registers): New function.
1437 (tracefile_thread_alive): New function.
1438 (tracefile_get_trace_status): New function.
1439 (init_tracefile_ops): New function.
1440 * tracefile.h (init_tracefile_ops): Declare.
1442 2014-02-23 Yao Qi <yao@codesourcery.com>
1444 * tracepoint.c (TFILE_PID): Move it to tracefile-tfile.c.
1445 (O_LARGEFILE): Likewise.
1446 (tfile_ops): Likewise.
1447 (TRACE_HEADER_SIZE): Likewise.
1448 (trace_fd, trace_frames_offset, cur_offset): Likewise.
1449 (cur_data_size): Likewise.
1450 (tfile_read, tfile_open, tfile_interp_line): Likewise.
1451 (tfile_close, tfile_files_info): Likewise.
1452 (tfile_get_trace_status): Likewise.
1453 (tfile_get_tracepoint_status): Likewise.
1454 (tfile_get_traceframe_address): Likewise.
1455 (tfile_trace_find, match_blocktype): Likewise.
1456 (traceframe_walk_blocks, traceframe_find_block_type): Likewise.
1457 (tfile_fetch_registers, tfile_xfer_partial): Likewise.
1458 (tfile_get_trace_state_variable_value): Likewise.
1459 (tfile_has_all_memory, tfile_has_memory): Likewise.
1460 (tfile_has_stack, tfile_has_registers): Likewise.
1461 (tfile_thread_alive, build_traceframe_info): Likewise.
1462 (tfile_traceframe_info, init_tfile_ops): Likewise.
1463 (_initialize_tracepoint): Don't call init_tfile_ops
1464 and add_target_with_completer.
1465 * tracefile-tfile.c: Include regcache.h, inferior.h, gdbthread.h,
1466 exec.h, completer.h and filenames.h.
1467 (_initialize_tracefile_tfile): New function.
1469 2014-02-23 Yao Qi <yao@codesourcery.com>
1471 * Makefile.in (REMOTE_OBS): Append tracefile.o and
1473 (HFILES_NO_SRCDIR): Add tracefile.h.
1474 * ctf.c: Include "tracefile.h".
1475 * tracefile.h: New file.
1476 * tracefile.c: New file
1477 * tracefile-tfile.c: New file.
1478 * tracepoint.c: Include "tracefile.h".
1479 (free_uploaded_tps, free_uploaded_tsvs): Remove declarations.
1480 (stop_reason_names): Add const.
1481 (trace_file_writer_xfree): Move it to tracefile.c.
1482 (trace_save, trace_save_command, trace_save_tfile): Likewise.
1483 (trace_save_ctf): Likewise.
1484 (struct tfile_trace_file_writer): Move it to tracefile-tfile.c.
1485 (tfile_target_save, tfile_dtor, tfile_start): Likewise.
1486 (tfile_write_header, tfile_write_regblock_type): Likewise.
1487 (tfile_write_status, tfile_write_uploaded_tsv): Likewise.
1488 (tfile_write_uploaded_tp, tfile_write_definition_end): Likewise.
1489 (tfile_write_raw_data, tfile_end): Likewise.
1490 (tfile_trace_file_writer_new): Likewise.
1491 (free_uploaded_tp): Make it extern.
1492 (free_uploaded_tsv): Make it extern.
1493 (_initialize_tracepoint): Move code to register command 'tsave'
1495 * tracepoint.h (stop_reason_names): Declare.
1496 (struct trace_frame_write_ops): Move it to tracefile.h.
1497 (struct trace_file_write_ops): Likewise.
1498 (struct trace_file_writer): Likewise.
1499 (free_uploaded_tsvs, free_uploaded_tps): Declare.
1501 2014-02-21 Jan Kratochvil <jan.kratochvil@redhat.com>
1504 * common/linux-osdata.c (linux_common_core_of_thread): Find the end of
1506 (get_cores_used_by_process): New parameter num_cores, use it.
1507 (linux_xfer_osdata_processes): Pass num_cores to it.
1508 * linux-tdep.c (linux_info_proc, linux_fill_prpsinfo): Find the end of
1511 2014-02-21 Andreas Arnez <arnez@vnet.linux.ibm.com>
1513 * target.c (memory_xfer_partial): Fix length arg in call to
1514 breakpoint_xfer_memory.
1516 2014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
1519 * i386-tdep.c (i386_stap_parse_special_token_triplet): Check if a
1520 number comes after the + or - signs. Adjust length of register
1521 name to be extracted.
1523 2014-02-20 Tom Tromey <tromey@redhat.com>
1525 * varobj.h (c_varobj_ops, cplus_varobj_ops, java_varobj_ops)
1526 (ada_varobj_ops): Mark "extern".
1528 2014-02-20 Tom Tromey <tromey@redhat.com>
1530 * dbxread.c (read_dbx_symtab): Remove last_o_file_start.
1532 2014-02-20 Doug Evans <xdje42@gmail.com>
1534 * guile/scm-gsmob.c (gdbscm_init_eqable_gsmob): New arg containing_scm.
1535 All callers updated.
1536 (gdbscm_fill_eqable_gsmob_ptr_slot): Delete arg containing_scm.
1537 All callers updated.
1538 * guile/guile-internal.h (gdbscm_init_eqable_gsmob): Update.
1539 (gdbscm_fill_eqable_gsmob_ptr_slot): Update.
1541 2014-02-20 lin zuojian <manjian2006@gmail.com>
1542 Joel Brobecker <brobecker@adacore.com>
1543 Doug Evans <xdje42@gmail.com>
1546 * dwarf2read.c (struct die_info): New member in_process.
1547 (reset_die_in_process): New function.
1548 (process_die): Set it at the start, reset when returning.
1549 (inherit_abstract_dies): Only call process_die if origin_child_die
1550 not already being processed.
1552 2014-02-20 Joel Brobecker <brobecker@adacore.com>
1554 * windows-nat.c (handle_unload_dll): Add function documentation.
1555 (do_initial_windows_stuff): Add comment explaining why we wait
1556 until after inferior initialization has finished before
1557 processing all DLLs.
1559 2014-02-20 Joel Brobecker <brobecker@adacore.com>
1561 * windows-nat.c (get_module_name): Delete.
1562 (windows_get_exec_module_filename): New function, mostly
1563 inspired from get_module_name.
1564 (windows_pid_to_exec_file): Replace call to get_module_name
1565 by call to windows_get_exec_module_filename.
1567 2014-02-20 Joel Brobecker <brobecker@adacore.com>
1569 * windows-nat.c (handle_load_dll): Rewrite this function's
1570 introductory comment. Remove code using get_module_name
1571 to get the DLL's name.
1573 2014-02-20 Joel Brobecker <brobecker@adacore.com>
1575 * windows-nat.c (get_windows_debug_event): Ignore
1576 LOAD_DLL_DEBUG_EVENT and UNLOAD_DLL_DEBUG_EVENT
1577 if windows_initialization_done == 0.
1578 (windows_add_all_dlls): Renames windows_ensure_ntdll_loaded.
1579 Adjust implementation to always load all DLLs.
1580 (do_initial_windows_stuff): Replace call to
1581 windows_ensure_ntdll_loaded by call to windows_add_all_dlls.
1583 2014-02-20 Joel Brobecker <brobecker@adacore.com>
1585 * windows-nat.c (_initialize_windows_nat): Deprecate the
1586 "dll-symbols" command. Turn the "add-shared-symbol-files"
1587 and "assf" aliases into commands, and deprecate them as well.
1588 * NEWS: Add entry explaining that "dll-symbols" and its two
1589 aliases are now deprecated.
1591 2014-02-20 Joel Brobecker <brobecker@adacore.com>
1593 * dec-thread.c (dec_thread_get_ada_task_ptid): Avoid unescaped
1594 new-line in debug string. Remove trailing spaces.
1596 2014-02-19 Stan Shebs <stan@codesourcery.com>
1598 * darwin-nat.c (darwin_xfer_partial): Fix return type.
1600 2014-02-19 Siva Chandra Reddy <sivachandra@google.com>
1602 * NEWS: Add entry for the new feature
1603 * python/py-value.c (valpy_binop): Call value_x_binop for struct
1606 2014-02-19 Stan Shebs <stan@codesourcery.com>
1608 * MAINTAINERS: List Yao Qi as nios2 maintainer.
1610 2014-02-19 Pedro Alves <palves@redhat.com>
1612 * common/ptid.h (struct ptid): Mention that process_stratum
1613 targets should prefer ptid.lwp.
1615 2014-02-19 Pedro Alves <palves@redhat.com>
1617 * remote.c (remote_thread_alive, write_ptid, read_ptid)
1618 (read_ptid, remote_newthread_step, remote_threads_extra_info)
1619 (remote_get_ada_task_ptid, append_resumption, remote_stop_ns)
1620 (threadalive_test, remote_pid_to_str): Use the ptid.lwp field to
1621 store remote thread ids rather than ptid.tid.
1622 (_initialize_remote): Adjust.
1624 2014-02-19 Tom Tromey <tromey@redhat.com>
1626 * target.c (target_get_unwinder): Rewrite.
1627 (target_get_tailcall_unwinder): Rewrite.
1628 * record-btrace.c (record_btrace_to_get_unwinder): New function.
1629 (record_btrace_to_get_tailcall_unwinder): New function.
1630 (init_record_btrace_ops): Update.
1631 * target.h (struct target_ops) <to_get_unwinder,
1632 to_get_tailcall_unwinder>: Now function pointers. Use
1633 TARGET_DEFAULT_RETURN.
1635 2014-02-19 Tom Tromey <tromey@redhat.com>
1637 * nto-procfs.c (procfs_remove_hw_breakpoint): Add 'self'
1639 (init_procfs_ops): Correctly set to_remove_hw_breakpoint.
1641 2014-02-19 Tom Tromey <tromey@redhat.com>
1643 * record-btrace.c (record_btrace_decr_pc_after_break): Delegate
1645 * target-delegates.c: Rebuild.
1646 * target.h (struct target_ops) <to_decr_pc_after_break>: Use
1647 TARGET_DEFAULT_FUNC.
1648 * target.c (default_target_decr_pc_after_break): Rename from
1649 forward_target_decr_pc_after_break. Simplify.
1650 (target_decr_pc_after_break): Rely on delegation.
1652 2014-02-19 Tom Tromey <tromey@redhat.com>
1654 * target.c (update_current_target): Do not INHERIT to_doc or
1655 to_magic. Do not de_fault to_open or to_close.
1657 2014-02-19 Tom Tromey <tromey@redhat.com>
1659 * gcore.h (objfile_find_memory_regions): Declare.
1660 * gcore.c (objfile_find_memory_regions): No longer static. Add
1662 (_initialize_gcore): Don't call exec_set_find_memory_regions.
1663 * exec.c: Include gcore.h.
1664 (exec_set_find_memory_regions): Remove.
1665 (exec_find_memory_regions): Remove.
1666 (exec_do_find_memory_regions): Remove.
1667 (init_exec_ops): Update.
1668 * defs.h (exec_set_find_memory_regions): Remove.
1670 2014-02-19 Tom Tromey <tromey@redhat.com>
1672 * target-delegates.c: Rebuild.
1673 * target.h (struct target_ops) <to_extra_thread_info,
1674 to_thread_name, to_pid_to_exec_file, to_get_section_table,
1675 to_memory_map, to_read_description, to_traceframe_info>: Use NULL,
1676 not 0, in TARGET_DEFAULT_RETURN.
1678 2014-02-19 Tom Tromey <tromey@redhat.com>
1680 * target.c (complete_target_initialization): Remove casts. Use
1681 return_zero_has_execution.
1682 (return_zero): Add "ignore" argument.
1683 (return_zero_has_execution): New function.
1684 (init_dummy_target): Remove casts. Use
1685 return_zero_has_execution.
1687 2014-02-19 Tom Tromey <tromey@redhat.com>
1689 * target.c (update_current_target): Update comments. Do not
1692 2014-02-19 Tom Tromey <tromey@redhat.com>
1694 * arm-linux-nat.c (arm_linux_read_description): Delegate when
1696 * corelow.c (core_read_description): Delegate when needed.
1697 * remote.c (remote_read_description): Delegate when needed.
1698 * target-delegates.c: Rebuild.
1699 * target.c (target_read_description): Rewrite.
1700 * target.h (struct target_ops) <to_read_description>: Update
1701 comment. Use TARGET_DEFAULT_RETURN.
1703 2014-02-19 Tom Tromey <tromey@redhat.com>
1705 * target-delegates.c: Rebuild.
1706 * target.c (update_current_target): Don't inherit or default
1708 (find_default_run_target): Check against delegate_can_run.
1709 * target.h (struct target_ops) <to_can_run>: Use
1710 TARGET_DEFAULT_RETURN.
1712 2014-02-19 Tom Tromey <tromey@redhat.com>
1714 * target-delegates.c: Rebuild.
1715 * target.c (target_disconnect): Unconditionally delegate.
1716 * target.h (struct target_ops) <to_disconnect>: Use
1717 TARGET_DEFAULT_NORETURN.
1719 2014-02-19 Tom Tromey <tromey@redhat.com>
1721 * record.c (record_stop): Unconditionally delegate.
1722 * target-delegates.c: Rebuild.
1723 * target.c (target_stop_recording): Unconditionally delegate.
1724 * target.h (struct target_ops) <to_stop_recording>: Use
1725 TARGET_DEFAULT_IGNORE.
1727 2014-02-19 Tom Tromey <tromey@redhat.com>
1729 * target-delegates.c: Rebuild.
1730 * target.c (target_enable_btrace): Unconditionally delegate.
1731 * target.h (struct target_ops) <to_enable_btrace>: Use
1732 TARGET_DEFAULT_NORETURN.
1734 2014-02-19 Tom Tromey <tromey@redhat.com>
1736 * target-delegates.c: Rebuild.
1737 * target.c (target_read_btrace): Unconditionally delegate.
1738 * target.h (struct target_ops) <to_read_btrace>: Use
1739 TARGET_DEFAULT_NORETURN.
1741 2014-02-19 Tom Tromey <tromey@redhat.com>
1743 * target-delegates.c: Rebuild.
1744 * target.c (target_teardown_btrace): Unconditionally delegate.
1745 * target.h (struct target_ops) <to_teardown_btrace>: Use
1746 TARGET_DEFAULT_NORETURN.
1748 2014-02-19 Tom Tromey <tromey@redhat.com>
1750 * target-delegates.c: Rebuild.
1751 * target.c (target_disable_btrace): Unconditionally delegate.
1752 * target.h (struct target_ops) <to_disable_btrace>: Use
1753 TARGET_DEFAULT_NORETURN.
1755 2014-02-19 Tom Tromey <tromey@redhat.com>
1757 * target-delegates.c: Rebuild.
1758 * target.c (default_search_memory): New function.
1759 (simple_search_memory): Update comment.
1760 (target_search_memory): Unconditionally delegate.
1761 * target.h (struct target_ops) <to_search_memory>: Use
1762 TARGET_DEFAULT_FUNC.
1764 2014-02-19 Tom Tromey <tromey@redhat.com>
1766 * auxv.c (default_auxv_parse): No longer static.
1767 (target_auxv_parse): Unconditionally delegate.
1768 * auxv.h (default_auxv_parse): Declare.
1769 * target-delegates.c: Rebuild.
1770 * target.c: Include auxv.h.
1771 * target.h (struct target_ops) <to_auxv_parse>: Use
1772 TARGET_DEFAULT_FUNC.
1774 2014-02-19 Tom Tromey <tromey@redhat.com>
1776 * target-delegates.c: Rebuild.
1777 * target.c (target_memory_map): Unconditionally delegate.
1778 * target.h (struct target_ops) <to_memory_map>: Use
1779 TARGET_DEFAULT_RETURN.
1781 2014-02-19 Tom Tromey <tromey@redhat.com>
1783 * target-delegates.c: Rebuild.
1784 * target.c (target_thread_alive): Unconditionally delegate.
1785 * target.h (struct target_ops) <to_thread_alive>: Use
1786 TARGET_DEFAULT_RETURN.
1788 2014-02-19 Tom Tromey <tromey@redhat.com>
1790 * target-delegates.c: Rebuild.
1791 * target.c (target_save_record): Unconditionally delegate.
1792 * target.h (struct target_ops) <to_save_record>: Use
1793 TARGET_DEFAULT_NORETURN.
1795 2014-02-19 Tom Tromey <tromey@redhat.com>
1797 * target-delegates.c: Rebuild.
1798 * target.c (target_delete_record): Unconditionally delegate.
1799 * target.h (struct target_ops) <to_delete_record>: Use
1800 TARGET_DEFAULT_NORETURN.
1802 2014-02-19 Tom Tromey <tromey@redhat.com>
1804 * target-delegates.c: Rebuild.
1805 * target.c (target_record_is_replaying): Unconditionally
1807 * target.h (struct target_ops) <to_record_is_replaying>: Use
1808 TARGET_DEFAULT_RETURN.
1810 2014-02-19 Tom Tromey <tromey@redhat.com>
1812 * target-delegates.c: Rebuild.
1813 * target.c (target_goto_record_begin): Unconditionally delegate.
1814 * target.h (struct target_ops) <to_goto_record_begin>: Use
1815 TARGET_DEFAULT_NORETURN.
1817 2014-02-19 Tom Tromey <tromey@redhat.com>
1819 * target-delegates.c: Rebuild.
1820 * target.c (target_goto_record_end): Unconditionally delegate.
1821 * target.h (struct target_ops) <to_goto_record_end>: Use
1822 TARGET_DEFAULT_NORETURN.
1824 2014-02-19 Tom Tromey <tromey@redhat.com>
1826 * target-delegates.c: Rebuild.
1827 * target.c (target_goto_record): Unconditionally delegate.
1828 * target.h (struct target_ops) <to_goto_record>: Use
1829 TARGET_DEFAULT_NORETURN.
1831 2014-02-19 Tom Tromey <tromey@redhat.com>
1833 * target-delegates.c: Rebuild.
1834 * target.c (target_insn_history): Unconditionally delegate.
1835 * target.h (struct target_ops) <to_insn_history>: Use
1836 TARGET_DEFAULT_NORETURN.
1838 2014-02-19 Tom Tromey <tromey@redhat.com>
1840 * target-delegates.c: Rebuild.
1841 * target.c (target_insn_history_from): Unconditionally delegate.
1842 * target.h (struct target_ops) <to_insn_history_from>: Use
1843 TARGET_DEFAULT_NORETURN.
1845 2014-02-19 Tom Tromey <tromey@redhat.com>
1847 * target-delegates.c: Rebuild.
1848 * target.c (target_insn_history_range): Unconditionally delegate.
1849 * target.h (struct target_ops) <to_insn_history_range>: Use
1850 TARGET_DEFAULT_NORETURN.
1852 2014-02-19 Tom Tromey <tromey@redhat.com>
1854 * target-delegates.c: Rebuild.
1855 * target.c (target_call_history): Unconditionally delegate.
1856 * target.h (struct target_ops) <to_call_history>: Use
1857 TARGET_DEFAULT_NORETURN.
1859 2014-02-19 Tom Tromey <tromey@redhat.com>
1861 * target-delegates.c: Rebuild.
1862 * target.c (target_call_history_from): Unconditionally delegate.
1863 * target.h (struct target_ops) <to_call_history_from>: Use
1864 TARGET_DEFAULT_NORETURN.
1866 2014-02-19 Tom Tromey <tromey@redhat.com>
1868 * target-delegates.c: Rebuild.
1869 * target.c (target_call_history_range): Unconditionally delegate.
1870 * target.h (struct target_ops) <to_call_history_range>: Use
1871 TARGET_DEFAULT_NORETURN.
1873 2014-02-19 Tom Tromey <tromey@redhat.com>
1875 * target-delegates.c: Rebuild.
1876 * target.c (target_verify_memory): Unconditionally delegate.
1877 * target.h (struct target_ops) <to_verify_memory>: Use
1878 TARGET_DEFAULT_NORETURN.
1880 2014-02-19 Tom Tromey <tromey@redhat.com>
1882 * target-delegates.c: Rebuild.
1883 * target.c (target_core_of_thread): Unconditionally delegate.
1884 * target.h (struct target_ops) <to_core_of_thread>: Use
1885 TARGET_DEFAULT_RETURN.
1887 2014-02-19 Tom Tromey <tromey@redhat.com>
1889 * target-delegates.c: Rebuild.
1890 * target.c (target_flash_done): Unconditionally delegate.
1891 * target.h (struct target_ops) <to_flash_done>: Use
1892 TARGET_DEFAULT_NORETURN.
1894 2014-02-19 Tom Tromey <tromey@redhat.com>
1896 * target-delegates.c: Rebuild.
1897 * target.c (target_flash_erase): Unconditionally delegate.
1898 * target.h (struct target_ops) <to_flash_erase>: Use
1899 TARGET_DEFAULT_NORETURN.
1901 2014-02-19 Tom Tromey <tromey@redhat.com>
1903 * target-delegates.c: Rebuild.
1904 * target.c (target_get_section_table): Unconditionally delegate.
1905 * target.h (struct target_ops) <to_get_section_table>: Use
1906 TARGET_DEFAULT_RETURN.
1908 2014-02-19 Tom Tromey <tromey@redhat.com>
1910 * target-delegates.c: Rebuild.
1911 * target.c (target_pid_to_str): Unconditionally delegate.
1912 (init_dummy_target): Don't initialize to_pid_to_str.
1913 (default_pid_to_str): Rename from dummy_pid_to_str.
1914 * target.h (struct target_ops) <to_pid_to_str>: Use
1915 TARGET_DEFAULT_FUNC.
1917 2014-02-19 Tom Tromey <tromey@redhat.com>
1919 * target-delegates.c: Rebuild.
1920 * target.c (target_find_new_threads): Unconditionally delegate.
1921 * target.h (struct target_ops) <to_find_new_threads>: Use
1922 TARGET_DEFAULT_RETURN.
1924 2014-02-19 Tom Tromey <tromey@redhat.com>
1926 * target-delegates.c: Rebuild.
1927 * target.c (target_program_signals): Unconditionally delegate.
1928 * target.h (struct target_ops) <to_program_signals>: Use
1929 TARGET_DEFAULT_IGNORE.
1931 2014-02-19 Tom Tromey <tromey@redhat.com>
1933 * target-delegates.c: Rebuild.
1934 * target.c (target_pass_signals): Unconditionally delegate.
1935 * target.h (struct target_ops) <to_pass_signals>: Use
1936 TARGET_DEFAULT_IGNORE.
1938 2014-02-19 Tom Tromey <tromey@redhat.com>
1940 * target-delegates.c: Rebuild.
1941 * target.c (default_mourn_inferior): New function.
1942 (target_mourn_inferior): Unconditionally delegate.
1943 * target.h (struct target_ops) <to_mourn_inferior>: Use
1944 TARGET_DEFAULT_FUNC.
1946 2014-02-19 Tom Tromey <tromey@redhat.com>
1948 * target-delegates.c: Rebuild.
1949 * target.c (default_follow_fork): New function.
1950 (target_follow_fork): Unconditionally delegate.
1951 * target.h (struct target_ops) <to_follow_fork>: Use
1952 TARGET_DEFAULT_FUNC.
1954 2014-02-19 Tom Tromey <tromey@redhat.com>
1956 * target-delegates.c: Rebuild.
1957 * target.c (target_kill): Unconditionally delegate.
1958 * target.h (struct target_ops) <to_kill>: Use
1959 TARGET_DEFAULT_NORETURN.
1961 2014-02-19 Tom Tromey <tromey@redhat.com>
1963 * target-delegates.c: Rebuild.
1964 * target.c (target_masked_watch_num_registers): Unconditionally
1966 * target.h (struct target_ops) <to_masked_watch_num_registers>:
1967 Use TARGET_DEFAULT_RETURN.
1969 2014-02-19 Tom Tromey <tromey@redhat.com>
1971 * target-delegates.c: Rebuild.
1972 * target.c (target_remove_mask_watchpoint): Unconditionally
1974 * target.h (struct target_ops) <to_remove_mask_watchpoint>: Use
1975 TARGET_DEFAULT_RETURN.
1977 2014-02-19 Tom Tromey <tromey@redhat.com>
1979 * target-delegates.c: Rebuild.
1980 * target.c (target_insert_mask_watchpoint): Unconditionally
1982 * target.h (struct target_ops) <to_insert_mask_watchpoint>: Use
1983 TARGET_DEFAULT_RETURN.
1985 2014-02-19 Tom Tromey <tromey@redhat.com>
1987 * target-delegates.c: Rebuild.
1988 * target.c (target_ranged_break_num_registers): Unconditionally
1990 * target.h (struct target_ops) <to_ranged_break_num_registers>:
1991 Use TARGET_DEFAULT_RETURN.
1993 2014-02-19 Tom Tromey <tromey@redhat.com>
1995 * target-delegates.c: Rebuild.
1996 * target.c (target_fetch_registers): Unconditionally delegate.
1997 * target.h (struct target_ops) <to_fetch_registers>: Use
1998 TARGET_DEFAULT_NORETURN.
2000 2014-02-19 Tom Tromey <tromey@redhat.com>
2002 * target-delegates.c: Rebuild.
2003 * target.c (update_current_target): Don't inherit or default
2005 * target.h (struct target_ops) <to_stop>: Use
2006 TARGET_DEFAULT_IGNORE.
2008 2014-02-19 Tom Tromey <tromey@redhat.com>
2010 * target-delegates.c: Rebuild.
2011 * target.c (update_current_target): Don't inherit or default
2012 to_can_run_breakpoint_commands.
2013 * target.h (struct target_ops) <to_can_run_breakpoint_commands>:
2014 Use TARGET_DEFAULT_RETURN.
2016 2014-02-19 Tom Tromey <tromey@redhat.com>
2018 * target-delegates.c: Rebuild.
2019 * target.c (update_current_target): Don't inherit or default
2020 to_supports_evaluation_of_breakpoint_conditions.
2021 * target.h (struct target_ops)
2022 <to_supports_evaluation_of_breakpoint_conditions>: Use
2023 TARGET_DEFAULT_RETURN.
2025 2014-02-19 Tom Tromey <tromey@redhat.com>
2027 * target-delegates.c: Rebuild.
2028 * target.c (update_current_target): Don't inherit or default
2029 to_augmented_libraries_svr4_read.
2030 * target.h (struct target_ops) <to_augmented_libraries_svr4_read>:
2031 Use TARGET_DEFAULT_RETURN.
2033 2014-02-19 Tom Tromey <tromey@redhat.com>
2035 * target-delegates.c: Rebuild.
2036 * target.c (update_current_target): Don't inherit or default
2038 * target.h (struct target_ops) <to_can_use_agent>: Use
2039 TARGET_DEFAULT_RETURN.
2041 2014-02-19 Tom Tromey <tromey@redhat.com>
2043 * target-delegates.c: Rebuild.
2044 * target.c (update_current_target): Don't inherit or default
2046 * target.h (struct target_ops) <to_use_agent>: Use
2047 TARGET_DEFAULT_NORETURN.
2049 2014-02-19 Tom Tromey <tromey@redhat.com>
2051 * target-delegates.c: Rebuild.
2052 * target.c (update_current_target): Don't inherit or default
2054 (return_null): Remove.
2055 * target.h (struct target_ops) <to_traceframe_info>: Use
2056 TARGET_DEFAULT_RETURN.
2058 2014-02-19 Tom Tromey <tromey@redhat.com>
2060 * target-delegates.c: Rebuild.
2061 * target.c (update_current_target): Don't inherit or default
2062 to_static_tracepoint_markers_by_strid.
2063 * target.h (struct target_ops)
2064 <to_static_tracepoint_markers_by_strid>: Use
2065 TARGET_DEFAULT_NORETURN.
2067 2014-02-19 Tom Tromey <tromey@redhat.com>
2069 * target-delegates.c: Rebuild.
2070 * target.c (update_current_target): Don't inherit or default
2071 to_static_tracepoint_marker_at.
2072 * target.h (struct target_ops) <to_static_tracepoint_marker_at>:
2073 Use TARGET_DEFAULT_RETURN.
2075 2014-02-19 Tom Tromey <tromey@redhat.com>
2077 * target-delegates.c: Rebuild.
2078 * target.c (update_current_target): Don't inherit or default
2080 * target.h (struct target_ops) <to_set_permissions>: Use
2081 TARGET_DEFAULT_IGNORE.
2083 2014-02-19 Tom Tromey <tromey@redhat.com>
2085 * target-delegates.c: Rebuild.
2086 * target.c (update_current_target): Don't inherit or default
2088 * target.h (struct target_ops) <to_get_tib_address>: Use
2089 TARGET_DEFAULT_NORETURN.
2091 2014-02-19 Tom Tromey <tromey@redhat.com>
2093 * target-delegates.c: Rebuild.
2094 * target.c (update_current_target): Don't inherit or default
2096 * target.h (struct target_ops) <to_set_trace_notes>: Use
2097 TARGET_DEFAULT_RETURN.
2099 2014-02-19 Tom Tromey <tromey@redhat.com>
2101 * target-delegates.c: Rebuild.
2102 * target.c (update_current_target): Don't initialize
2103 to_set_trace_buffer_size.
2104 * target.h (struct target_ops) <to_set_trace_buffer_size>: Use
2105 TARGET_DEFAULT_IGNORE.
2107 2014-02-19 Tom Tromey <tromey@redhat.com>
2109 * target-delegates.c: Rebuild.
2110 * target.c (update_current_target): Don't inherit or default
2111 to_set_circular_trace_buffer.
2112 * target.h (struct target_ops) <to_set_circular_trace_buffer>: Use
2113 TARGET_DEFAULT_IGNORE.
2115 2014-02-19 Tom Tromey <tromey@redhat.com>
2117 * target-delegates.c: Rebuild.
2118 * target.c (update_current_target): Don't inherit or default
2119 to_set_disconnected_tracing.
2120 * target.h (struct target_ops) <to_set_disconnected_tracing>: Use
2121 TARGET_DEFAULT_IGNORE.
2123 2014-02-19 Tom Tromey <tromey@redhat.com>
2125 * target-delegates.c: Rebuild.
2126 * target.c (update_current_target): Don't inherit or default
2127 to_get_min_fast_tracepoint_insn_len.
2128 (return_minus_one): Remove.
2129 * target.h (struct target_ops)
2130 <to_get_min_fast_tracepoint_insn_len>: Use TARGET_DEFAULT_RETURN.
2132 2014-02-19 Tom Tromey <tromey@redhat.com>
2134 * target-delegates.c: Rebuild.
2135 * target.c (update_current_target): Don't inherit or default
2136 to_get_raw_trace_data.
2137 * target.h (struct target_ops) <to_get_raw_trace_data>: Use
2138 TARGET_DEFAULT_NORETURN.
2140 2014-02-19 Tom Tromey <tromey@redhat.com>
2142 * target-delegates.c: Rebuild.
2143 * target.c (update_current_target): Don't inherit or default
2144 to_upload_trace_state_variables.
2145 * target.h (struct target_ops) <to_upload_trace_state_variables>:
2146 Use TARGET_DEFAULT_RETURN.
2148 2014-02-19 Tom Tromey <tromey@redhat.com>
2150 * target-delegates.c: Rebuild.
2151 * target.c (update_current_target): Don't inherit or default
2152 to_upload_tracepoints.
2153 * target.h (struct target_ops) <to_upload_tracepoints>: Use
2154 TARGET_DEFAULT_RETURN.
2156 2014-02-19 Tom Tromey <tromey@redhat.com>
2158 * target-delegates.c: Rebuild.
2159 * target.c (update_current_target): Don't inherit or default
2161 * target.h (struct target_ops) <to_save_trace_data>: Use
2162 TARGET_DEFAULT_NORETURN.
2164 2014-02-19 Tom Tromey <tromey@redhat.com>
2166 * target-delegates.c: Rebuild.
2167 * target.c (update_current_target): Don't inherit or default
2168 to_get_trace_state_variable_value.
2169 * target.h (struct target_ops)
2170 <to_get_trace_state_variable_value>: Use TARGET_DEFAULT_RETURN.
2172 2014-02-19 Tom Tromey <tromey@redhat.com>
2174 * target-delegates.c: Rebuild.
2175 * target.c (update_current_target): Don't inherit or default
2177 * target.h (struct target_ops): Use TARGET_DEFAULT_RETURN.
2179 2014-02-19 Tom Tromey <tromey@redhat.com>
2181 * target-delegates.c: Rebuild.
2182 * target.c (update_current_target): Don't inherit or default
2184 * target.h (struct target_ops) <to_trace_stop>: Use
2185 TARGET_DEFAULT_NORETURN.
2187 2014-02-19 Tom Tromey <tromey@redhat.com>
2189 * target-delegates.c: Rebuild.
2190 * target.c (update_current_target): Don't inherit or default
2191 to_get_tracepoint_status.
2192 * target.h (struct target_ops) <to_get_tracepoint_status>: Use
2193 TARGET_DEFAULT_NORETURN.
2195 2014-02-19 Tom Tromey <tromey@redhat.com>
2197 * target-delegates.c: Rebuild.
2198 * target.c (update_current_target): Don't inherit or default
2199 to_get_trace_status.
2200 * target.h (struct target_ops) <to_get_trace_status>: Use
2201 TARGET_DEFAULT_RETURN.
2203 2014-02-19 Tom Tromey <tromey@redhat.com>
2205 * target-delegates.c: Rebuild.
2206 * target.c (update_current_target): Don't inherit or default
2208 * target.h (struct target_ops) <to_trace_start>: Use
2209 TARGET_DEFAULT_NORETURN.
2211 2014-02-19 Tom Tromey <tromey@redhat.com>
2213 * target-delegates.c: Rebuild.
2214 * target.c (update_current_target): Don't inherit or default
2215 to_trace_set_readonly_regions.
2216 * target.h (struct target_ops) <to_trace_set_readonly_regions>:
2217 Use TARGET_DEFAULT_NORETURN.
2219 2014-02-19 Tom Tromey <tromey@redhat.com>
2221 * target-delegates.c: Rebuild.
2222 * target.c (update_current_target): Don't inherit or default
2223 to_disable_tracepoint.
2224 * target.h (struct target_ops) <to_disable_tracepoint>: Use
2225 TARGET_DEFAULT_NORETURN.
2227 2014-02-19 Tom Tromey <tromey@redhat.com>
2229 * target-delegates.c: Rebuild.
2230 * target.c (update_current_target): Don't inherit or default
2231 to_enable_tracepoint.
2232 * target.h (struct target_ops) <to_enable_tracepoint>: Use
2233 TARGET_DEFAULT_NORETURN.
2235 2014-02-19 Tom Tromey <tromey@redhat.com>
2237 * target-delegates.c: Rebuild.
2238 * target.c (update_current_target): Don't inherit or default
2239 to_download_trace_state_variable.
2240 * target.h (struct target_ops) <to_download_trace_state_variable>:
2241 Use TARGET_DEFAULT_NORETURN.
2243 2014-02-19 Tom Tromey <tromey@redhat.com>
2245 * target-delegates.c: Rebuild.
2246 * target.c (update_current_target): Don't inherit or default
2247 to_can_download_tracepoint.
2248 * target.h (struct target_ops) <to_can_download_tracepoint>: Use
2249 TARGET_DEFAULT_RETURN.
2251 2014-02-19 Tom Tromey <tromey@redhat.com>
2253 * target-delegates.c: Rebuild.
2254 * target.c (update_current_target): Don't inherit or default
2255 to_download_tracepoint.
2256 * target.h (struct target_ops) <to_download_tracepoint>: Use
2257 TARGET_DEFAULT_NORETURN.
2259 2014-02-19 Tom Tromey <tromey@redhat.com>
2261 * target-delegates.c: Rebuild.
2262 * target.c (update_current_target): Don't inherit or default
2264 * target.h (struct target_ops) <to_trace_init>: Use
2265 TARGET_DEFAULT_RETURN.
2267 2014-02-19 Tom Tromey <tromey@redhat.com>
2269 * target-delegates.c: Rebuild.
2270 * target.c (update_current_target): Don't inherit or default
2271 to_supports_string_tracing.
2272 * target.h (struct target_ops) <to_supports_string_tracing>: Use
2273 TARGET_DEFAULT_RETURN.
2275 2014-02-19 Tom Tromey <tromey@redhat.com>
2277 * target-delegates.c: Rebuild.
2278 * target.c (update_current_target): Don't inherit or default
2279 to_supports_enable_disable_tracepoint.
2280 * target.h (struct target_ops)
2281 <to_supports_enable_disable_tracepoint>: Use
2282 TARGET_DEFAULT_RETURN.
2284 2014-02-19 Tom Tromey <tromey@redhat.com>
2286 * target-delegates.c: Rebuild.
2287 * target.c (update_current_target): Don't inherit or default
2288 to_supports_multi_process.
2289 * target.h (struct target_ops) <to_supports_multi_process>: Use
2290 TARGET_DEFAULT_RETURN.
2292 2014-02-19 Tom Tromey <tromey@redhat.com>
2294 * target-delegates.c: Rebuild.
2295 * target.c (update_current_target): Don't inherit or default
2296 to_get_ada_task_ptid.
2297 * target.h (struct target_ops) <to_get_ada_task_ptid>: Use
2298 TARGET_DEFAULT_FUNC.
2300 2014-02-19 Tom Tromey <tromey@redhat.com>
2302 * target-delegates.c: Rebuild.
2303 * target.c (update_current_target): Don't inherit or default
2304 to_thread_architecture.
2305 * target.h (struct target_ops) <to_thread_architecture>: Use
2306 TARGET_DEFAULT_FUNC.
2308 2014-02-19 Tom Tromey <tromey@redhat.com>
2310 * target-delegates.c: Rebuild.
2311 * target.c (update_current_target): Don't inherit or default
2312 to_execution_direction.
2313 * target.h (struct target_ops) <to_execution_direction>: Use
2314 TARGET_DEFAULT_FUNC.
2316 2014-02-19 Tom Tromey <tromey@redhat.com>
2318 * target-delegates.c: Rebuild.
2319 * target.c (update_current_target): Don't inherit or default
2320 to_can_execute_reverse.
2321 * target.h (struct target_ops) <to_can_execute_reverse>: Use
2322 TARGET_DEFAULT_RETURN.
2323 (target_can_execute_reverse): Unconditionally delegate.
2325 2014-02-19 Tom Tromey <tromey@redhat.com>
2327 * target-delegates.c: Rebuild.
2328 * target.c (update_current_target): Don't inherit or default
2330 (dummy_goto_bookmark): Remove.
2331 (init_dummy_target): Don't inherit or default to_goto_bookmark.
2332 * target.h (struct target_ops) <to_goto_bookmark>: Use
2333 TARGET_DEFAULT_NORETURN.
2335 2014-02-19 Tom Tromey <tromey@redhat.com>
2337 * target-delegates.c: Rebuild.
2338 * target.c (update_current_target): Don't inherit or default
2340 (dummy_get_bookmark): Remove.
2341 (init_dummy_target): Don't inherit or default to_get_bookmark.
2342 * target.h (struct target_ops) <to_get_bookmark>: Use
2343 TARGET_DEFAULT_NORETURN
2345 2014-02-19 Tom Tromey <tromey@redhat.com>
2347 * target-delegates.c: Rebuild.
2348 * target.c (update_current_target): Don't inherit or default
2349 to_make_corefile_notes.
2350 (init_dummy_target): Don't initialize to_make_corefile_notes.
2351 * target.h (struct target_ops) <to_make_corefile_notes>: Use
2352 TARGET_DEFAULT_FUNC.
2354 2014-02-19 Tom Tromey <tromey@redhat.com>
2356 * target-delegates.c: Rebuild.
2357 * target.c (update_current_target): Don't inherit or default
2358 to_find_memory_regions.
2359 (init_dummy_target): Don't initialize to_find_memory_regions.
2360 * target.h (struct target_ops) <to_find_memory_regions>: Use
2361 TARGET_DEFAULT_FUNC.
2363 2014-02-19 Tom Tromey <tromey@redhat.com>
2365 * target-delegates.c: Rebuild.
2366 * target.c (update_current_target): Don't inherit or default
2368 * target.h (struct target_ops) <to_log_command>: Use
2369 TARGET_DEFAULT_IGNORE.
2370 (target_log_command): Unconditionally delegate.
2372 2014-02-19 Tom Tromey <tromey@redhat.com>
2374 * target-delegates.c: Rebuild.
2375 * target.c (update_current_target): Don't inherit or default
2376 to_pid_to_exec_file.
2377 * target.h (struct target_ops) <to_pid_to_exec_file>: Use
2378 TARGET_DEFAULT_RETURN.
2380 2014-02-19 Tom Tromey <tromey@redhat.com>
2382 * target-delegates.c: Rebuild.
2383 * target.c (update_current_target): Don't inherit or default
2385 (target_thread_name): Unconditionally delegate.
2386 * target.h (struct target_ops) <to_thread_name>: Use
2387 TARGET_DEFAULT_RETURN.
2389 2014-02-19 Tom Tromey <tromey@redhat.com>
2391 * target-delegates.c: Rebuild.
2392 * target.c (update_current_target): Don't inherit or default
2393 to_extra_thread_info.
2394 * target.h (struct target_ops) <to_extra_thread_info>: Use
2395 TARGET_DEFAULT_RETURN.
2397 2014-02-19 Tom Tromey <tromey@redhat.com>
2399 * target-delegates.c: Rebuild.
2400 * target.c (update_current_target): Don't inherit or default
2402 * target.h (struct target_ops) <to_has_exited>: Use
2403 TARGET_DEFAULT_RETURN..
2405 2014-02-19 Tom Tromey <tromey@redhat.com>
2407 * target-delegates.c: Rebuild.
2408 * target.c (update_current_target): Don't inherit or default
2409 to_set_syscall_catchpoint.
2410 (return_one): Remove.
2411 * target.h (struct target_ops) <to_set_syscall_catchpoint>: Use
2412 TARGET_DEFAULT_RETURN.
2414 2014-02-19 Tom Tromey <tromey@redhat.com>
2416 * target-delegates.c: Rebuild.
2417 * target.c (update_current_target): Don't inherit or default
2418 to_insert_exec_catchpoint.
2419 * target.h (struct target_ops) <to_insert_exec_catchpoint>: Use
2420 TARGET_DEFAULT_RETURN.
2422 2014-01-08 Tom Tromey <tromey@redhat.com>
2424 * target-delegates.c: Rebuild.
2425 * target.c (update_current_target): Don't inherit or default
2426 to_insert_exec_catchpoint.
2427 * target.h (struct target_ops) <to_insert_exec_catchpoint>: Use
2428 TARGET_DEFAULT_RETURN.
2430 2014-02-19 Tom Tromey <tromey@redhat.com>
2432 * target-delegates.c: Rebuild.
2433 * target.c (update_current_target): Don't inherit or default
2434 to_remove_vfork_catchpoint.
2435 * target.h (struct target_ops) <to_remove_vfork_catchpoint>: Use
2436 TARGET_DEFAULT_RETURN.
2438 2014-02-19 Tom Tromey <tromey@redhat.com>
2440 * target-delegates.c: Rebuild.
2441 * target.c (update_current_target): Don't inherit or default
2442 to_insert_vfork_catchpoint.
2443 * target.h (struct target_ops) <to_insert_vfork_catchpoint>: Use
2444 TARGET_DEFAULT_RETURN.
2446 2014-02-19 Tom Tromey <tromey@redhat.com>
2448 * target-delegates.c: Rebuild.
2449 * target.c (update_current_target): Don't inherit or default
2450 to_remove_fork_catchpoint.
2451 * target.h (struct target_ops) <to_remove_fork_catchpoint>: Use
2452 TARGET_DEFAULT_RETURN.
2454 2014-02-19 Tom Tromey <tromey@redhat.com>
2456 * target-delegates.c: Rebuild.
2457 * target.c (update_current_target): Don't inherit or default
2458 to_insert_fork_catchpoint.
2459 * target.h (struct target_ops) <to_insert_fork_catchpoint>: Use
2460 TARGET_DEFAULT_RETURN.
2462 2014-02-19 Tom Tromey <tromey@redhat.com>
2464 * target-delegates.c: Rebuild.
2465 * target.c (update_current_target): Don't inherit or default
2466 to_post_startup_inferior.
2467 * target.h (struct target_ops) <to_post_startup_inferior>: Use
2468 TARGET_DEFAULT_IGNORE.
2470 2014-02-19 Tom Tromey <tromey@redhat.com>
2472 * target-delegates.c: Rebuild.
2473 * target.c (update_current_target): Don't inherit or default
2475 * target.h (struct target_ops) <to_load>: Use
2476 TARGET_DEFAULT_NORETURN.
2478 2014-02-19 Tom Tromey <tromey@redhat.com>
2480 * target-delegates.c: Rebuild.
2481 * target.c (update_current_target): Don't inherit or default
2483 * target.h (struct target_ops) <to_terminal_info>: Use
2484 TARGET_DEFAULT_FUNC.
2486 2014-02-19 Tom Tromey <tromey@redhat.com>
2488 * target-delegates.c: Rebuild.
2489 * target.c (update_current_target): Don't inherit or default
2490 to_terminal_save_ours.
2491 * target.h (struct target_ops) <to_terminal_save_ours>: Use
2492 TARGET_DEFAULT_IGNORE.
2494 2014-02-19 Tom Tromey <tromey@redhat.com>
2496 * target-delegates.c: Rebuild.
2497 * target.c (update_current_target): Don't inherit or default
2499 * target.h (struct target_ops) <to_terminal_ours>: Use
2500 TARGET_DEFAULT_IGNORE.
2502 2014-02-19 Tom Tromey <tromey@redhat.com>
2504 * target-delegates.c: Rebuild.
2505 * target.c (update_current_target): Don't inherit or default
2506 to_terminal_ours_for_output.
2507 * target.h (struct target_ops) <to_terminal_ours_for_output>: Use
2508 TARGET_DEFAULT_IGNORE.
2510 2014-02-19 Tom Tromey <tromey@redhat.com>
2512 * target-delegates.c: Rebuild.
2513 * target.c (update_current_target): Don't inherit or default
2514 to_terminal_inferior.
2515 * target.h (struct target_ops) <to_terminal_inferior>: Use
2516 TARGET_DEFAULT_IGNORE.
2518 2014-02-19 Tom Tromey <tromey@redhat.com>
2520 * target-delegates.c: Rebuild.
2521 * target.c (update_current_target): Don't inherit or default
2523 * target.h (struct target_ops) <to_terminal_init>: Use
2524 TARGET_DEFAULT_IGNORE.
2526 2014-02-19 Tom Tromey <tromey@redhat.com>
2528 * target-delegates.c: Rebuild.
2529 * target.c (update_current_target): Don't inherit or default
2530 to_can_accel_watchpoint_condition.
2531 * target.h (struct target_ops)
2532 <to_can_accel_watchpoint_condition>: Use TARGET_DEFAULT_RETURN.
2534 2014-02-19 Tom Tromey <tromey@redhat.com>
2536 * target-delegates.c: Rebuild.
2537 * target.c (update_current_target): Don't inherit or default
2538 to_region_ok_for_hw_watchpoint.
2539 * target.h (struct target_ops) <to_region_ok_for_hw_watchpoint>:
2540 Use TARGET_DEFAULT_FUNC.
2542 2014-02-19 Tom Tromey <tromey@redhat.com>
2544 * target-delegates.c: Rebuild.
2545 * target.c (update_current_target): Don't inherit or default
2546 to_watchpoint_addr_within_range.
2547 * target.h (struct target_ops) <to_watchpoint_addr_within_range>:
2548 Use TARGET_DEFAULT_FUNC.
2550 2014-02-19 Tom Tromey <tromey@redhat.com>
2552 * target-delegates.c: Rebuild.
2553 * target.c (update_current_target): Don't inherit or default
2554 to_remove_watchpoint.
2555 * target.h (struct target_ops) <to_remove_watchpoint>: Use
2556 TARGET_DEFAULT_NORETURN.
2558 2014-02-19 Tom Tromey <tromey@redhat.com>
2560 * target-delegates.c: Rebuild.
2561 * target.c (update_current_target): Don't inherit or default
2562 to_insert_watchpoint.
2563 * target.h (struct target_ops) <to_insert_watchpoint>: Use
2564 TARGET_DEFAULT_RETURN.
2566 2014-02-19 Tom Tromey <tromey@redhat.com>
2568 * target-delegates.c: Rebuild.
2569 * target.c (update_current_target): Don't inherit or default
2570 to_remove_hw_breakpoint.
2571 * target.h (struct target_ops) <to_remove_hw_breakpoint>: Use
2572 TARGET_DEFAULT_RETURN.
2574 2014-02-19 Tom Tromey <tromey@redhat.com>
2576 * target-delegates.c: Rebuild.
2577 * target.c (update_current_target): Don't inherit or default
2578 to_insert_hw_breakpoint.
2579 * target.h (struct target_ops) <to_insert_hw_breakpoint>: Use
2580 TARGET_DEFAULT_RETURN.
2582 2014-02-19 Tom Tromey <tromey@redhat.com>
2584 * target-delegates.c: Rebuild.
2585 * target.c (update_current_target): Don't inherit or default
2586 to_can_use_hw_breakpoint.
2587 * target.h (struct target_ops) <to_can_use_hw_breakpoint>: Use
2588 TARGET_DEFAULT_RETURN.
2590 2014-02-19 Tom Tromey <tromey@redhat.com>
2592 * target-delegates.c: Rebuild.
2593 * target.c (update_current_target): Don't inherit or default
2595 * target.h (struct target_ops) <to_files_info>: Use
2596 TARGET_DEFAULT_IGNORE.
2598 2014-02-19 Tom Tromey <tromey@redhat.com>
2600 * target-delegates.c: Rebuild.
2601 * target.c (update_current_target): Don't inherit or default
2603 * target.h (struct target_ops) <to_store>: Use
2604 TARGET_DEFAULT_NORETURN.
2606 2014-02-19 Tom Tromey <tromey@redhat.com>
2608 * target-delegates.c: Rebuild.
2609 * target.c (update_current_target): Don't inherit or default
2611 * target.h (struct target_ops) <to_post_attach>: Use
2612 TARGET_DEFAULT_IGNORE.
2614 2014-02-19 Tom Tromey <tromey@redhat.com>
2616 * target-delegates.c: Rebuild.
2617 * target.c (update_current_target): Don't inherit or default
2619 (default_rcmd): New function.
2620 (do_monitor_command): Unconditionally delegate.
2621 * target.h (struct target_ops) <to_rmcd>: Use
2622 TARGET_DEFAULT_FUNC.
2624 2014-02-19 Tom Tromey <tromey@redhat.com>
2626 * target-delegates.c: Rebuild.
2627 * target.c (init_dummy_target): Don't initialize to_attach.
2628 (target_attach): Unconditionally delegate.
2629 * target.h (struct target_ops) <to_attach>: Use
2630 TARGET_DEFAULT_FUNC.
2632 2014-02-19 Tom Tromey <tromey@redhat.com>
2634 * target-delegates.c: Rebuild.
2635 * target.c (target_detach): Unconditionally delegate.
2636 (init_dummy_target): Don't initialize to_detach.
2637 * target.h (struct target_ops) <to_detach>: Use
2638 TARGET_DEFAULT_IGNORE.
2640 2014-02-19 Tom Tromey <tromey@redhat.com>
2642 * target.h (struct target_ops) <to_augmented_libraries_svr4_read>:
2644 (target_augmented_libraries_svr4_read): Add argument.
2645 * target.c (update_current_target): Update.
2646 * remote.c (remote_augmented_libraries_svr4_read): Add 'self'
2649 2014-02-19 Tom Tromey <tromey@redhat.com>
2651 * target.h (struct target_ops) <to_call_history_range>: Add
2653 * target.c (target_call_history_range): Add argument.
2654 * record-btrace.c (record_btrace_call_history_range): Add 'self'
2656 (record_btrace_call_history_from): Update.
2658 2014-02-19 Tom Tromey <tromey@redhat.com>
2660 * target.h (struct target_ops) <to_call_history_from>: Add
2662 * target.c (target_call_history_from): Add argument.
2663 * record-btrace.c (record_btrace_call_history_from): Add 'self'
2666 2014-02-19 Tom Tromey <tromey@redhat.com>
2668 * target.h (struct target_ops) <to_call_history>: Add argument.
2669 * target.c (target_call_history): Add argument.
2670 * record-btrace.c (record_btrace_call_history): Add 'self'
2673 2014-02-19 Tom Tromey <tromey@redhat.com>
2675 * target.h (struct target_ops) <to_insn_history_range>: Add
2677 * target.c (target_insn_history_range): Add argument.
2678 * record-btrace.c (record_btrace_insn_history_range): Add 'self'
2680 (record_btrace_insn_history_from): Update.
2682 2014-02-19 Tom Tromey <tromey@redhat.com>
2684 * target.h (struct target_ops) <to_insn_history_from>: Add
2686 * target.c (target_insn_history_from): Add argument.
2687 * record-btrace.c (record_btrace_insn_history_from): Add 'self'
2690 2014-02-19 Tom Tromey <tromey@redhat.com>
2692 * target.h (struct target_ops) <to_insn_history>: Add argument.
2693 * target.c (target_insn_history): Add argument.
2694 * record-btrace.c (record_btrace_insn_history): Add 'self'
2697 2014-02-19 Tom Tromey <tromey@redhat.com>
2699 * target.h (struct target_ops) <to_goto_record>: Add argument.
2700 * target.c (target_goto_record): Add argument.
2701 * record-full.c (record_full_goto): Add 'self' argument.
2702 * record-btrace.c (record_btrace_goto): Add 'self' argument.
2704 2014-02-19 Tom Tromey <tromey@redhat.com>
2706 * target.h (struct target_ops) <to_goto_record_end>: Add argument.
2707 * target.c (target_goto_record_end): Add argument.
2708 * record-full.c (record_full_goto_end): Add 'self' argument.
2709 * record-btrace.c (record_btrace_goto_end): Add 'self' argument.
2711 2014-02-19 Tom Tromey <tromey@redhat.com>
2713 * target.h (struct target_ops) <to_goto_record_begin>: Add
2715 * target.c (target_goto_record_begin): Add argument.
2716 * record-full.c (record_full_goto_begin): Add 'self' argument.
2717 * record-btrace.c (record_btrace_goto_begin): Add 'self'
2720 2014-02-19 Tom Tromey <tromey@redhat.com>
2722 * target.h (struct target_ops) <to_record_is_replaying>: Add
2724 * target.c (target_record_is_replaying): Add argument.
2725 * record-full.c (record_full_is_replaying): Add 'self' argument.
2726 * record-btrace.c (record_btrace_is_replaying): Add 'self'
2728 (record_btrace_xfer_partial, record_btrace_store_registers)
2729 (record_btrace_prepare_to_store, record_btrace_resume)
2730 (record_btrace_wait, record_btrace_decr_pc_after_break)
2731 (record_btrace_find_new_threads, record_btrace_thread_alive):
2734 2014-02-19 Tom Tromey <tromey@redhat.com>
2736 * target.h (struct target_ops) <to_delete_record>: Add argument.
2737 * target.c (target_delete_record): Add argument.
2738 * record-full.c (record_full_delete): Add 'self' argument.
2740 2014-02-19 Tom Tromey <tromey@redhat.com>
2742 * target.h (struct target_ops) <to_save_record>: Add argument.
2743 * target.c (target_save_record): Add argument.
2744 * record-full.c (record_full_save): Add 'self' argument.
2745 (record_full_save): Add 'self' argument.
2747 2014-02-19 Tom Tromey <tromey@redhat.com>
2749 * target.h (struct target_ops) <to_info_record>: Add argument.
2750 * target.c (target_info_record): Add argument.
2751 * record.c (info_record_command): Add argument.
2752 * record-full.c (record_full_info): Add 'self' argument.
2753 * record-btrace.c (record_btrace_info): Add 'self' argument.
2755 2014-02-19 Tom Tromey <tromey@redhat.com>
2757 * target.h (struct target_ops) <to_stop_recording>: Add argument.
2758 * target.c (target_stop_recording): Add argument.
2759 * record.c (record_stop): Add argument.
2760 * record-btrace.c (record_btrace_stop_recording): Add 'self'
2763 2014-02-19 Tom Tromey <tromey@redhat.com>
2765 * target.h (struct target_ops) <to_read_btrace>: Add argument.
2766 * target.c (struct target_ops) <to_read_btrace>: Add argument.
2767 * remote.c (struct target_ops) <to_read_btrace>: Add 'self'
2769 * amd64-linux-nat.c (amd64_linux_read_btrace): New function.
2770 (_initialize_amd64_linux_nat): Use it.
2771 * i386-linux-nat.c (i386_linux_read_btrace): New function.
2772 (_initialize_i386_linux_nat): Use it.
2774 2014-02-19 Tom Tromey <tromey@redhat.com>
2776 * target.h (struct target_ops) <to_teardown_btrace>: Add argument.
2777 * target.c (target_teardown_btrace): Add argument.
2778 * remote.c (remote_teardown_btrace): Add 'self' argument.
2779 * i386-linux-nat.c (i386_linux_teardown_btrace): Add 'self'
2781 * amd64-linux-nat.c (amd64_linux_teardown_btrace): Add 'self'
2784 2014-02-19 Tom Tromey <tromey@redhat.com>
2786 * target.h (struct target_ops) <to_disable_btrace>: Add argument.
2787 * target.c (target_disable_btrace): Add argument.
2788 * remote.c (remote_disable_btrace): Add 'self' argument.
2789 * i386-linux-nat.c (i386_linux_disable_btrace): Add 'self'
2791 * amd64-linux-nat.c (amd64_linux_disable_btrace): Add 'self'
2794 2014-02-19 Tom Tromey <tromey@redhat.com>
2796 * target.h (struct target_ops) <to_enable_btrace>: Add argument.
2797 * target.c (target_enable_btrace): Add argument.
2798 * remote.c (remote_enable_btrace): Add 'self' argument.
2799 * i386-linux-nat.c (i386_linux_enable_btrace): Add 'self'
2801 * amd64-linux-nat.c (amd64_linux_enable_btrace): Add 'self'
2804 2014-02-19 Tom Tromey <tromey@redhat.com>
2806 * target.h (struct target_ops) <to_can_use_agent>: Add argument.
2807 (target_can_use_agent): Add argument.
2808 * target.c (update_current_target): Update.
2809 * remote.c (remote_can_use_agent): Add 'self' argument.
2810 * inf-child.c (inf_child_can_use_agent): Add 'self' argument.
2812 2014-02-19 Tom Tromey <tromey@redhat.com>
2814 * target.h (struct target_ops) <to_use_agent>: Add argument.
2815 (target_use_agent): Add argument.
2816 * target.c (update_current_target): Update.
2817 * remote.c (remote_use_agent): Add 'self' argument.
2818 * inf-child.c (inf_child_use_agent): Add 'self' argument.
2820 2014-02-19 Tom Tromey <tromey@redhat.com>
2822 * tracepoint.c (tfile_traceframe_info): Add 'self' argument.
2823 * target.h (struct target_ops) <to_traceframe_info>: Add argument.
2824 (target_traceframe_info): Add argument.
2825 * target.c (update_current_target): Update.
2826 * remote.c (remote_traceframe_info): Add 'self' argument.
2827 * ctf.c (ctf_traceframe_info): Add 'self' argument.
2829 2014-02-19 Tom Tromey <tromey@redhat.com>
2831 * target.h (target_static_tracepoint_markers_by_strid): Add
2833 (struct target_ops) <to_static_tracepoint_markers_by_strid>: Add
2835 * target.c (update_current_target): Update.
2836 * remote.c (struct target_ops)
2837 <to_static_tracepoint_markers_by_strid>: Add 'self' argument.
2838 * linux-nat.c (struct target_ops)
2839 <to_static_tracepoint_markers_by_strid>: Add 'self' argument.
2841 2014-02-19 Tom Tromey <tromey@redhat.com>
2843 * target.h (struct target_ops) <to_static_tracepoint_marker_at>:
2845 (target_static_tracepoint_marker_at): Add argument.
2846 * target.c (update_current_target): Update.
2847 * remote.c (remote_static_tracepoint_marker_at): Add 'self'
2850 2014-02-19 Tom Tromey <tromey@redhat.com>
2852 * target.h (struct target_ops) <to_set_permissions>: Add argument.
2853 (target_set_permissions): Add argument.
2854 * target.c (update_current_target): Update.
2855 * remote.c (remote_set_permissions): Add 'self' argument.
2856 (remote_start_remote): Update.
2858 2014-02-19 Tom Tromey <tromey@redhat.com>
2860 * windows-nat.c (windows_get_tib_address): Add 'self' argument.
2861 * target.h (struct target_ops) <to_get_tib_address>: Add argument.
2862 (target_get_tib_address): Add argument.
2863 * target.c (update_current_target): Update.
2864 * remote.c (remote_get_tib_address): Add 'self' argument.
2866 2014-02-19 Tom Tromey <tromey@redhat.com>
2868 * target.h (struct target_ops) <to_set_trace_notes>: Add argument.
2869 (target_set_trace_notes): Add argument.
2870 * target.c (update_current_target): Update.
2871 * remote.c (remote_set_trace_notes): Add 'self' argument.
2873 2014-02-19 Tom Tromey <tromey@redhat.com>
2875 * target.h (struct target_ops) <to_set_trace_buffer_size>: Add
2877 (target_set_trace_buffer_size): Add argument.
2878 * target.c (update_current_target): Update.
2879 * remote.c (remote_set_trace_buffer_size): Add 'self' argument.
2881 2014-02-19 Tom Tromey <tromey@redhat.com>
2883 * target.h (struct target_ops) <to_set_circular_trace_buffer>: Add
2885 (target_set_circular_trace_buffer): Add argument.
2886 * target.c (update_current_target): Update.
2887 * remote.c (remote_set_circular_trace_buffer): Add 'self'
2890 2014-02-19 Tom Tromey <tromey@redhat.com>
2892 * target.h (struct target_ops) <to_set_disconnected_tracing>: Add
2894 (target_set_disconnected_tracing): Add argument.
2895 * target.c (update_current_target): Update.
2896 * remote.c (remote_set_disconnected_tracing): Add 'self' argument.
2898 2014-02-19 Tom Tromey <tromey@redhat.com>
2900 * target.h (struct target_ops)
2901 <to_get_min_fast_tracepoint_insn_len>: Add argument.
2902 (target_get_min_fast_tracepoint_insn_len): Add argument.
2903 * target.c (update_current_target): Update.
2904 * remote.c (remote_get_min_fast_tracepoint_insn_len): Add 'self'
2907 2014-02-19 Tom Tromey <tromey@redhat.com>
2909 * target.h (struct target_ops) <to_get_raw_trace_data>: Add
2911 (target_get_raw_trace_data): Add argument.
2912 * target.c (update_current_target): Update.
2913 * remote.c (remote_get_raw_trace_data): Add 'self' argument.
2915 2014-02-19 Tom Tromey <tromey@redhat.com>
2917 * target.h (struct target_ops) <to_upload_trace_state_variables>:
2919 (target_upload_trace_state_variables): Add argument.
2920 * target.c (update_current_target): Update.
2921 * remote.c (remote_upload_trace_state_variables): Add 'self'
2923 (remote_start_remote): Update.
2925 2014-02-19 Tom Tromey <tromey@redhat.com>
2927 * target.h (struct target_ops) <to_upload_tracepoints>: Add
2929 (target_upload_tracepoints): Add argument.
2930 * target.c (update_current_target): Update.
2931 * remote.c (remote_upload_tracepoints): Add 'self' argument.
2932 (remote_start_remote): Update.
2934 2014-02-19 Tom Tromey <tromey@redhat.com>
2936 * target.h (struct target_ops) <to_save_trace_data>: Add argument.
2937 (target_save_trace_data): Add argument.
2938 * target.c (update_current_target): Update.
2939 * remote.c (remote_save_trace_data): Add 'self' argument.
2941 2014-02-19 Tom Tromey <tromey@redhat.com>
2943 * tracepoint.c (tfile_get_trace_state_variable_value): Add 'self'
2945 * target.h (struct target_ops)
2946 <to_get_trace_state_variable_value>: Add argument.
2947 (target_get_trace_state_variable_value): Add argument.
2948 * target.c (update_current_target): Update.
2949 * remote.c (remote_get_trace_state_variable_value): Add 'self'
2951 * ctf.c (ctf_get_trace_state_variable_value): Add 'self' argument.
2953 2014-02-19 Tom Tromey <tromey@redhat.com>
2955 * tracepoint.c (tfile_trace_find): Add 'self' argument.
2956 * target.h (struct target_ops) <to_trace_find>: Add argument.
2957 (target_trace_find): Add argument.
2958 * target.c (update_current_target): Update.
2959 * remote.c (remote_trace_find): Add 'self' argument.
2960 * ctf.c (ctf_trace_find): Add 'self' argument.
2962 2014-02-19 Tom Tromey <tromey@redhat.com>
2964 * target.h (struct target_ops) <to_trace_stop>: Add argument.
2965 (target_trace_stop): Add argument.
2966 * target.c (update_current_target): Update.
2967 * remote.c (remote_trace_stop): Add 'self' argument.
2969 2014-02-19 Tom Tromey <tromey@redhat.com>
2971 * tracepoint.c (tfile_get_tracepoint_status): Add 'self' argument.
2972 * target.h (struct target_ops) <to_get_tracepoint_status>: Add
2974 (target_get_tracepoint_status): Add argument.
2975 * target.c (update_current_target): Update.
2976 * remote.c (remote_get_tracepoint_status): Add 'self' argument.
2978 2014-02-19 Tom Tromey <tromey@redhat.com>
2980 * tracepoint.c (tfile_get_trace_status): Add 'self' argument.
2981 * target.h (struct target_ops) <to_get_trace_status>: Add
2983 (target_get_trace_status): Add argument.
2984 * target.c (update_current_target): Update.
2985 * remote.c (remote_get_trace_status): Add 'self' argument.
2986 (remote_start_remote, remote_can_download_tracepoint): Update.
2987 * ctf.c (ctf_get_trace_status): Add 'self' argument.
2989 2014-02-19 Tom Tromey <tromey@redhat.com>
2991 * target.h (struct target_ops) <to_trace_start>: Add argument.
2992 (target_trace_start): Add argument.
2993 * target.c (update_current_target): Update.
2994 * remote.c (remote_trace_start): Add 'self' argument.
2996 2014-02-19 Tom Tromey <tromey@redhat.com>
2998 * target.h (struct target_ops) <to_trace_set_readonly_regions>:
3000 (target_trace_set_readonly_regions): Add argument.
3001 * target.c (update_current_target): Update.
3002 * remote.c (remote_trace_set_readonly_regions): Add 'self'
3005 2014-02-19 Tom Tromey <tromey@redhat.com>
3007 * target.h (struct target_ops) <to_disable_tracepoint>: Add
3009 (target_disable_tracepoint): Add argument.
3010 * target.c (update_current_target): Update.
3011 * remote.c (remote_disable_tracepoint): Add 'self' argument.
3013 2014-02-19 Tom Tromey <tromey@redhat.com>
3015 * target.h (struct target_ops) <to_enable_tracepoint>: Add
3017 (target_enable_tracepoint): Add argument.
3018 * target.c (update_current_target): Update.
3019 * remote.c (remote_enable_tracepoint): Add 'self' argument.
3021 2014-02-19 Tom Tromey <tromey@redhat.com>
3023 * target.h (struct target_ops) <to_download_trace_state_variable>:
3025 (target_download_trace_state_variable): Add argument.
3026 * target.c (update_current_target): Update.
3027 * remote.c (remote_download_trace_state_variable): Add 'self'
3030 2014-02-19 Tom Tromey <tromey@redhat.com>
3032 * target.h (struct target_ops) <to_can_download_tracepoint>: Add
3034 (target_can_download_tracepoint): Add argument.
3035 * target.c (update_current_target): Update.
3036 * remote.c (remote_can_download_tracepoint): Add 'self' argument.
3038 2014-02-19 Tom Tromey <tromey@redhat.com>
3040 * target.h (struct target_ops) <to_download_tracepoint>: Add
3042 (target_download_tracepoint): Add argument.
3043 * target.c (update_current_target): Update.
3044 * remote.c (remote_download_tracepoint): Add 'self' argument.
3046 2014-02-19 Tom Tromey <tromey@redhat.com>
3048 * target.h (struct target_ops) <to_trace_init>: Add argument.
3049 (target_trace_init): Add argument.
3050 * target.c (update_current_target): Update.
3051 * remote.c (remote_trace_init): Add 'self' argument.
3053 2014-02-19 Tom Tromey <tromey@redhat.com>
3055 * target.h (struct target_ops) <to_fileio_readlink>: Add argument.
3056 * target.c (target_fileio_readlink): Add argument.
3057 * remote.c (remote_hostio_readlink): Add 'self' argument.
3058 * inf-child.c (inf_child_fileio_readlink): Add 'self' argument.
3060 2014-02-19 Tom Tromey <tromey@redhat.com>
3062 * target.h (struct target_ops) <to_fileio_unlink>: Add argument.
3063 * target.c (target_fileio_unlink): Add argument.
3064 * remote.c (remote_hostio_unlink): Add 'self' argument.
3065 (remote_file_delete): Update.
3066 * inf-child.c (inf_child_fileio_unlink): Add 'self' argument.
3068 2014-02-19 Tom Tromey <tromey@redhat.com>
3070 * target.h (struct target_ops) <to_fileio_close>: Add argument.
3071 * target.c (target_fileio_close): Add argument.
3072 * remote.c (remote_hostio_close): Add 'self' argument.
3073 (remote_hostio_close_cleanup): Update.
3074 (remote_bfd_iovec_close, remote_file_put, remote_file_get):
3076 * inf-child.c (inf_child_fileio_close): Add 'self' argument.
3078 2014-02-19 Tom Tromey <tromey@redhat.com>
3080 * target.h (struct target_ops) <to_fileio_pread>: Add argument.
3081 * target.c (target_fileio_pread): Add argument.
3082 * remote.c (remote_hostio_pread): Add 'self' argument.
3083 (remote_bfd_iovec_pread, remote_file_get): Update.
3084 * inf-child.c (inf_child_fileio_pread): Add 'self' argument.
3086 2014-02-19 Tom Tromey <tromey@redhat.com>
3088 * target.h (struct target_ops) <to_fileio_pwrite>: Add argument.
3089 * target.c (target_fileio_pwrite): Add argument.
3090 * remote.c (remote_hostio_pwrite): Add 'self' argument.
3091 (remote_file_put): Update.
3092 * inf-child.c (inf_child_fileio_pwrite): Add 'self' argument.
3094 2014-02-19 Tom Tromey <tromey@redhat.com>
3096 * target.h (struct target_ops) <to_fileio_open>: Add argument.
3097 * target.c (target_fileio_open): Add argument.
3098 * remote.c (remote_hostio_open): Add 'self' argument.
3099 (remote_bfd_iovec_open): Add 'self' argument.
3100 (remote_file_put): Add 'self' argument.
3101 (remote_file_get): Add 'self' argument.
3102 * inf-child.c (inf_child_fileio_open): Add 'self' argument.
3104 2014-02-19 Tom Tromey <tromey@redhat.com>
3106 * target.h (struct target_ops) <to_can_run_breakpoint_commands>:
3108 (target_can_run_breakpoint_commands): Add argument.
3109 * target.c (update_current_target): Update.
3110 * remote.c (remote_can_run_breakpoint_commands): Add 'self'
3112 (remote_insert_breakpoint): Add 'self' argument.
3113 (remote_insert_hw_breakpoint): Add 'self' argument.
3114 (remote_can_run_breakpoint_commands): Add 'self' argument.
3116 2014-02-19 Tom Tromey <tromey@redhat.com>
3118 * target.h (struct target_ops)
3119 <to_supports_evaluation_of_breakpoint_conditions>: Add argument.
3120 (target_supports_evaluation_of_breakpoint_conditions): Add
3122 * target.c (update_current_target): Update.
3123 * remote.c (remote_supports_cond_breakpoints): Add 'self'
3125 (remote_insert_breakpoint): Add 'self' argument.
3126 (remote_insert_hw_breakpoint): Add 'self' argument.
3127 (remote_supports_cond_breakpoints): Add 'self' argument.
3129 2014-02-19 Tom Tromey <tromey@redhat.com>
3131 * target.h (struct target_ops) <to_supports_string_tracing>: Add
3133 (target_supports_string_tracing): Add argument.
3134 * target.c (update_current_target): Update.
3135 * remote.c (remote_supports_string_tracing): Add 'self' argument.
3137 2014-02-19 Tom Tromey <tromey@redhat.com>
3139 * target.h (struct target_ops)
3140 <to_supports_disable_randomization>: Add argument.
3141 * target.c (find_default_supports_disable_randomization): Add
3143 (target_supports_disable_randomization): Add argument.
3144 (find_default_supports_disable_randomization): Add 'self'
3146 * remote.c (extended_remote_supports_disable_randomization): Add
3148 (remote_supports_disable_randomization): Add 'self' argument.
3149 (extended_remote_create_inferior): Update.
3150 * linux-nat.c (linux_nat_supports_disable_randomization): Add
3153 2014-02-19 Tom Tromey <tromey@redhat.com>
3155 * target.h (struct target_ops)
3156 <to_supports_enable_disable_tracepoint>: Add argument.
3157 (target_supports_enable_disable_tracepoint): Add argument.
3158 * target.c (update_current_target): Update.
3159 * remote.c (remote_supports_enable_disable_tracepoint): Add 'self'
3162 2014-02-19 Tom Tromey <tromey@redhat.com>
3164 * target.h (struct target_ops) <to_supports_multi_process>: Add
3166 (target_supports_multi_process): Add argument.
3167 * target.c (update_current_target): Update.
3168 * remote.c (remote_supports_multi_process): Add 'self' argument.
3169 * linux-nat.c (linux_nat_supports_multi_process): Add 'self'
3171 * darwin-nat.c (darwin_supports_multi_process): Add 'self'
3174 2014-02-19 Tom Tromey <tromey@redhat.com>
3176 * target.h (struct target_ops) <to_execution_direction>: Add
3178 (target_execution_direction): Add argument.
3179 * target.c (default_execution_direction): Add 'self' argument.
3180 * record-full.c (record_full_execution_direction): Add 'self'
3183 2014-02-19 Tom Tromey <tromey@redhat.com>
3185 * target.h (struct target_ops) <to_can_execute_reverse>: Add
3187 (target_can_execute_reverse): Add argument.
3188 * remote.c (remote_can_execute_reverse): Add 'self' argument.
3189 * record-full.c (record_full_can_execute_reverse): Add 'self'
3191 * record-btrace.c (record_btrace_can_execute_reverse): Add 'self'
3194 2014-02-19 Tom Tromey <tromey@redhat.com>
3196 * windows-nat.c (windows_get_ada_task_ptid): Add 'self' argument.
3197 * target.h (struct target_ops) <to_get_ada_task_ptid>: Add
3199 (target_get_ada_task_ptid): Add argument.
3200 * target.c (update_current_target): Update.
3201 (default_get_ada_task_ptid): Add 'self' argument.
3202 * sol-thread.c (sol_get_ada_task_ptid): Add 'self' argument.
3203 * remote.c (remote_get_ada_task_ptid): Add 'self' argument.
3204 * ravenscar-thread.c (ravenscar_get_ada_task_ptid): Add 'self'
3206 * linux-thread-db.c (thread_db_get_ada_task_ptid): Add 'self'
3208 * inf-ttrace.c (inf_ttrace_get_ada_task_ptid): Add 'self'
3210 * dec-thread.c (dec_thread_get_ada_task_ptid): Add 'self'
3212 * darwin-nat.c (darwin_get_ada_task_ptid): Add 'self' argument.
3213 * aix-thread.c (aix_thread_get_ada_task_ptid): Add 'self'
3216 2014-02-19 Tom Tromey <tromey@redhat.com>
3218 * target.h (struct target_ops) <to_goto_bookmark>: Add argument.
3219 (target_goto_bookmark): Add argument.
3220 * target.c (dummy_goto_bookmark): Add 'self' argument.
3221 * record-full.c (record_full_goto_bookmark): Add 'self' argument.
3223 2014-02-19 Tom Tromey <tromey@redhat.com>
3225 * target.h (struct target_ops) <to_get_bookmark>: Add argument.
3226 (target_get_bookmark): Add argument.
3227 * target.c (dummy_get_bookmark): Add 'self' argument.
3228 * record-full.c (record_full_get_bookmark): Add 'self' argument.
3230 2014-02-19 Tom Tromey <tromey@redhat.com>
3232 * target.h (struct target_ops) <to_make_corefile_notes>: Add
3234 (target_make_corefile_notes): Add argument.
3235 * target.c (dummy_make_corefile_notes): Add 'self' argument.
3236 * procfs.c (procfs_make_note_section): Add 'self' argument.
3237 (procfs_make_note_section): Add 'self' argument.
3238 (procfs_make_note_section): Add 'self' argument.
3239 * linux-nat.c (linux_nat_make_corefile_notes): Add 'self'
3241 * fbsd-nat.h (fbsd_make_corefile_notes): Add 'self' argument.
3242 * fbsd-nat.c (fbsd_make_corefile_notes): Add 'self' argument.
3243 * exec.c (exec_make_note_section): Add 'self' argument.
3244 (exec_make_note_section): Add 'self' argument.
3246 2014-02-19 Tom Tromey <tromey@redhat.com>
3248 * target.h (struct target_ops) <to_find_memory_regions>: Add
3250 (target_find_memory_regions): Add argument.
3251 * target.c (dummy_find_memory_regions): Add 'self' argument.
3252 * procfs.c (proc_find_memory_regions): Add 'self' argument.
3253 * gnu-nat.c (gnu_find_memory_regions): Add 'self' argument.
3254 * fbsd-nat.h (fbsd_find_memory_regions): Add 'self' argument.
3255 * fbsd-nat.c (fbsd_find_memory_regions): Add 'self' argument.
3256 * exec. (exec_do_find_memory_regions): New global.
3257 (exec_set_find_memory_regions): Rewrite.
3258 (exec_find_memory_regions): New function.
3259 (init_exec_ops): Use exec_find_memory_regions.
3261 2014-02-19 Tom Tromey <tromey@redhat.com>
3263 * target.h (struct target_ops) <to_supports_non_stop>: Add
3265 * target.c (find_default_supports_non_stop): Add argument.
3266 (target_supports_non_stop): Add argument.
3267 (find_default_supports_non_stop): Add 'self' argument.
3268 * remote.c (remote_supports_non_stop): Add 'self' argument.
3269 * linux-nat.c (linux_nat_supports_non_stop): Add 'self' argument.
3271 2014-02-19 Tom Tromey <tromey@redhat.com>
3273 * target.h (struct target_ops) <to_log_command>: Add argument.
3274 (target_log_command): Add argument.
3275 * serial.h (serial_log_command): Add 'self' argument.
3276 * serial.c (serial_log_command): Add 'self' argument.
3278 2014-02-19 Tom Tromey <tromey@redhat.com>
3280 * windows-nat.c (windows_pid_to_exec_file): Add 'self' argument.
3281 * target.h (struct target_ops) <to_pid_to_exec_file>: Add
3283 (target_pid_to_exec_file): Add argument.
3284 * target.c (debug_to_pid_to_exec_file): Add argument.
3285 (update_current_target): Update.
3286 * nbsd-nat.h (nbsd_pid_to_exec_file): Add 'self' argument.
3287 * nbsd-nat.c (nbsd_pid_to_exec_file): Add 'self' argument.
3288 * linux-nat.c (linux_child_pid_to_exec_file): Add 'self' argument.
3289 (linux_handle_extended_wait): Update.
3290 * inf-child.c (inf_child_pid_to_exec_file): Add 'self' argument.
3291 * fbsd-nat.h (fbsd_pid_to_exec_file): Add 'self' argument.
3292 * fbsd-nat.c (fbsd_pid_to_exec_file): Add 'self' argument.
3293 * darwin-nat.c (darwin_pid_to_exec_file): Add 'self' argument.
3295 2014-02-19 Tom Tromey <tromey@redhat.com>
3297 * target.h (struct target_ops) <to_rcmd>: Add argument.
3298 (target_rcmd): Add argument.
3299 * target.c (debug_to_rcmd): Add argument.
3300 (update_current_target, do_monitor_command): Update.
3301 * remote.c (remote_rcmd): Add 'self' argument.
3302 * monitor.c (monitor_rcmd): Add 'self' argument.
3304 2014-02-19 Tom Tromey <tromey@redhat.com>
3306 * windows-nat.c (windows_stop): Add 'self' argument.
3307 * target.h (struct target_ops) <to_stop>: Add argument.
3308 * target.c (target_stop): Add argument.
3309 (debug_to_stop): Add argument.
3310 (update_current_target): Update.
3311 * remote.c (remote_stop): Add 'self' argument.
3312 * remote-sim.c (gdbsim_stop): Add 'self' argument.
3313 (gdbsim_cntrl_c): Update.
3314 * remote-m32r-sdi.c (m32r_stop): Add 'self' argument.
3315 * procfs.c (procfs_stop): Add 'self' argument.
3316 * nto-procfs.c (procfs_stop): Add 'self' argument.
3317 * monitor.c (monitor_stop): Add 'self' argument.
3318 (monitor_open): Update.
3319 * linux-nat.c (linux_nat_stop): Add argument.
3320 * inf-ptrace.c (inf_ptrace_stop): Add 'self' argument.
3321 * gnu-nat.c (gnu_stop): Add 'self' argument.
3322 * darwin-nat.c (darwin_stop): Add 'self' argument.
3324 2014-02-19 Tom Tromey <tromey@redhat.com>
3326 * target.h (struct target_ops) <to_thread_name>: Add argument.
3327 * target.c (target_thread_name): Add argument.
3328 (update_current_target): Update.
3329 * linux-nat.c (linux_nat_thread_name): Add 'self' argument.
3331 2014-02-19 Tom Tromey <tromey@redhat.com>
3333 * target.h (struct target_ops) <to_extra_thread_info>: Add
3335 (target_extra_thread_info): Add argument.
3336 * target.c (update_current_target): Update.
3337 * remote.c (remote_threads_extra_info): Add 'self' argument.
3338 * ravenscar-thread.c (ravenscar_extra_thread_info): Add 'self'
3340 * nto-tdep.h (nto_extra_thread_info): Add 'self' argument.
3341 * nto-tdep.c (nto_extra_thread_info): Add 'self' argument.
3342 * linux-thread-db.c (thread_db_extra_thread_info): Add 'self'
3344 * inf-ttrace.c (inf_ttrace_extra_thread_info): Add 'self'
3346 * bsd-uthread.c (bsd_uthread_extra_thread_info): Add 'self'
3348 * aix-thread.c (aix_thread_extra_thread_info): Add 'self'
3351 2014-02-19 Tom Tromey <tromey@redhat.com>
3353 * target.h (struct target_ops) <to_program_signals>: Add argument.
3354 * target.c (target_program_signals): Add argument.
3355 * remote.c (remote_program_signals): Add 'self' argument.
3357 2014-02-19 Tom Tromey <tromey@redhat.com>
3359 * target.h (struct target_ops) <to_pass_signals>: Add argument.
3360 * target.c (target_pass_signals): Add argument.
3361 * remote.c (remote_pass_signals): Add 'self' argument.
3362 (remote_start_remote): Update.
3363 * procfs.c (procfs_pass_signals): Add 'self' argument.
3364 * nto-procfs.c (procfs_pass_signals): Add 'self' argument.
3365 * linux-nat.c (linux_nat_pass_signals): Add 'self' argument.
3366 (linux_nat_create_inferior, linux_nat_attach): Update.
3368 2014-02-19 Tom Tromey <tromey@redhat.com>
3370 * windows-nat.c (windows_can_run): Add 'self' argument.
3371 * target.h (struct target_ops) <to_can_run>: Add argument.
3372 (target_can_run): Add argument.
3373 * target.c (debug_to_can_run): Add argument.
3374 (update_current_target): Update.
3375 * nto-procfs.c (procfs_can_run): Add 'self' argument.
3376 * inf-child.c (inf_child_can_run): Add 'self' argument.
3377 * go32-nat.c (go32_can_run): Add 'self' argument.
3379 2014-02-19 Tom Tromey <tromey@redhat.com>
3381 * target.h (struct target_ops) <to_has_exited>: Add argument.
3382 (target_has_exited): Add argument.
3383 * target.c (debug_to_has_exited): Add argument.
3384 (update_current_target): Update.
3386 2014-02-19 Tom Tromey <tromey@redhat.com>
3388 * target.h (struct target_ops) <to_set_syscall_catchpoint>: Add
3390 (target_set_syscall_catchpoint): Add argument.
3391 * linux-nat.c (linux_child_set_syscall_catchpoint): Add 'self'
3393 * target.c (update_current_target): Update.
3395 2014-02-19 Tom Tromey <tromey@redhat.com>
3397 * target.h (struct target_ops) <to_remove_exec_catchpoint>: Add
3399 (target_remove_exec_catchpoint): Add argument.
3400 * target.c (debug_to_remove_exec_catchpoint): Add argument.
3401 (update_current_target): Update.
3402 * linux-nat.c (linux_child_remove_exec_catchpoint): Add 'self'
3405 2014-02-19 Tom Tromey <tromey@redhat.com>
3407 * target.h (struct target_ops) <to_insert_exec_catchpoint>: Add
3409 (target_insert_exec_catchpoint): Add argument.
3410 * target.c (debug_to_insert_exec_catchpoint): Add argument.
3411 (update_current_target): Update.
3412 * linux-nat.c (linux_child_insert_exec_catchpoint): Add 'self'
3415 2014-02-19 Tom Tromey <tromey@redhat.com>
3417 * target.h (struct target_ops) <to_remove_vfork_catchpoint>: Add
3419 (target_remove_vfork_catchpoint): Add argument.
3420 * target.c (debug_to_remove_vfork_catchpoint): Add argument.
3421 (update_current_target): Update.
3422 * linux-nat.c (linux_child_remove_vfork_catchpoint): Add 'self'
3425 2014-02-19 Tom Tromey <tromey@redhat.com>
3427 * target.h (struct target_ops) <to_insert_vfork_catchpoint>: Add
3429 (target_insert_vfork_catchpoint): Add argument.
3430 * target.c (debug_to_insert_vfork_catchpoint): Add argument.
3431 (update_current_target): Update.
3432 * linux-nat.c (linux_child_insert_vfork_catchpoint): Add 'self'
3435 2014-02-19 Tom Tromey <tromey@redhat.com>
3437 * target.h (struct target_ops) <to_remove_fork_catchpoint>: Add
3439 (target_remove_fork_catchpoint): Add argument.
3440 * target.c (debug_to_remove_fork_catchpoint): Add argument.
3441 (update_current_target): Update.
3442 * linux-nat.c (linux_child_remove_fork_catchpoint): Add 'self'
3445 2014-02-19 Tom Tromey <tromey@redhat.com>
3447 * target.h (struct target_ops) <to_insert_fork_catchpoint>: Add
3449 (target_insert_fork_catchpoint): Add argument.
3450 * target.c (debug_to_insert_fork_catchpoint): Add argument.
3451 (update_current_target): Update.
3452 * linux-nat.c (linux_child_insert_fork_catchpoint): Add 'self'
3455 2014-02-19 Tom Tromey <tromey@redhat.com>
3457 * target.h (struct target_ops) <to_post_startup_inferior>: Add
3459 (target_post_startup_inferior): Add argument.
3460 * target.c (debug_to_post_startup_inferior): Add argument.
3461 (update_current_target): Update.
3462 * spu-linux-nat.c (spu_child_post_startup_inferior): Add 'self'
3464 * linux-nat.c (linux_child_post_startup_inferior): Add 'self'
3466 * inf-ptrace.c (inf_ptrace_post_startup_inferior): Add 'self'
3468 * inf-child.c (inf_child_post_startup_inferior): Add 'self'
3470 * i386-linux-nat.c (i386_linux_child_post_startup_inferior): Add
3472 (super_post_startup_inferior): Likewise.
3473 * amd64-linux-nat.c (amd64_linux_child_post_startup_inferior): Add
3475 (super_post_startup_inferior): Likewise.
3476 * aarch64-linux-nat.c (aarch64_linux_child_post_startup_inferior):
3477 Add 'self' argument.
3478 (super_post_startup_inferior): Likewise.
3480 2014-02-19 Tom Tromey <tromey@redhat.com>
3482 * target.h (struct target_ops) <to_load>: Add argument.
3483 * target.c (target_load): Add argument.
3484 (debug_to_load): Add argument.
3485 (update_current_target): Update.
3486 * remote.c (remote_load): Add 'self' argument.
3487 * remote-sim.c (gdbsim_load): Add 'self' argument.
3488 * remote-mips.c (mips_load): Add 'self' argument.
3489 * remote-m32r-sdi.c (m32r_load): Add 'self' argument.
3490 * monitor.c (monitor_load): Add 'self' argument.
3491 * m32r-rom.c (m32r_load_gen): Add 'self' argument.
3493 2014-02-19 Tom Tromey <tromey@redhat.com>
3495 * target.h (struct target_ops) <to_terminal_info>: Add argument.
3496 (target_terminal_info): Add argument.
3497 * target.c (debug_to_terminal_info): Add argument.
3498 (default_terminal_info): Likewise.
3499 * inflow.c (child_terminal_info): Add 'self' argument.
3500 * inferior.h (child_terminal_info): Add 'self' argument.
3501 * go32-nat.c (go32_terminal_info): Add 'self' argument.
3503 2014-02-19 Tom Tromey <tromey@redhat.com>
3505 * target.h (struct target_ops) <to_terminal_save_ours>: Add
3507 (target_terminal_save_ours): Add argument.
3508 * target.c (debug_to_terminal_save_ours): Add argument.
3509 (update_current_target): Update.
3510 * inflow.c (terminal_save_ours): Add 'self' argument.
3511 * inferior.h (terminal_save_ours): Add 'self' argument.
3513 2014-02-19 Tom Tromey <tromey@redhat.com>
3515 * target.h (struct target_ops) <to_terminal_ours>: Add argument.
3516 (target_terminal_ours): Add argument.
3517 * target.c (debug_to_terminal_ours): Add argument.
3518 (update_current_target): Update.
3519 * remote.c (remote_terminal_ours): Add 'self' argument.
3520 (remote_close): Update.
3521 * linux-nat.c (linux_nat_terminal_ours): Add 'self' argument.
3522 * inflow.c (terminal_ours): Add 'self' argument.
3523 * inferior.h (terminal_ours): Add 'self' argument.
3524 * go32-nat.c (go32_terminal_ours): Add 'self' argument.
3526 2014-02-19 Pedro Alves <palves@redhat.com>
3527 Tom Tromey <tromey@redhat.com>
3529 * target.h (struct target_ops) <to_terminal_ours_for_output>: Add
3531 (target_terminal_ours_for_output): Add argument.
3532 * target.c (debug_to_terminal_ours_for_output): Add argument.
3533 (update_current_target): Update.
3534 * inflow.c (terminal_ours_for_output): Add 'self' argument.
3535 * inferior.h (terminal_ours_for_output): Add 'self' argument.
3536 * go32-nat.c (go32_terminal_ours): Add 'self' argument.
3538 2014-02-19 Tom Tromey <tromey@redhat.com>
3540 * target.h (struct target_ops) <to_terminal_inferior>: Add
3542 * target.c (target_terminal_inferior): Add argument.
3543 (update_current_target): Update.
3544 * remote.c (remote_terminal_inferior): Add 'self' argument.
3545 * linux-nat.c (linux_nat_terminal_inferior): Add 'self' argument.
3546 * inflow.c (terminal_inferior): Add 'self' argument.
3547 * inferior.h (terminal_inferior): Add 'self' argument.
3548 * go32-nat.c (go32_terminal_inferior): Add 'self' argument.
3549 (go32_terminal_inferior): Add 'self' argument.
3551 2014-02-19 Tom Tromey <tromey@redhat.com>
3553 * target.h (struct target_ops) <to_terminal_init>: Add argument.
3554 (target_terminal_init): Add argument.
3555 * target.c (debug_to_terminal_init): Add argument.
3556 (update_current_target): Update.
3557 * inflow.c (terminal_init_inferior): Add 'self' argument.
3558 * inferior.h (terminal_init_inferior): Add 'self' argument.
3559 * go32-nat.c (go32_terminal_init): Add 'self' argument.
3560 * gnu-nat.c (gnu_terminal_init_inferior): Add 'self' argument.
3562 2014-02-19 Tom Tromey <tromey@redhat.com>
3564 * target.h (struct target_ops)
3565 <to_can_accel_watchpoint_condition>: Add argument.
3566 (target_can_accel_watchpoint_condition): Add argument.
3567 * target.c (debug_to_can_accel_watchpoint_condition): Add
3569 (update_current_target): Update.
3570 * ppc-linux-nat.c (ppc_linux_can_accel_watchpoint_condition): Add
3573 2014-02-19 Tom Tromey <tromey@redhat.com>
3575 * target.h (struct target_ops) <to_region_ok_for_hw_watchpoint>:
3577 (target_region_ok_for_hw_watchpoint): Add argument.
3578 * target.c (debug_to_region_ok_for_hw_watchpoint): Add argument.
3579 (default_region_ok_for_hw_watchpoint): Add argument.
3580 * spu-multiarch.c (spu_region_ok_for_hw_watchpoint): Add argument.
3581 * s390-linux-nat.c (s390_region_ok_for_hw_watchpoint): Add 'self'
3583 * remote.c (remote_region_ok_for_hw_watchpoint): Add 'self'
3585 * procfs.c (procfs_region_ok_for_hw_watchpoint): Add 'self'
3587 * ppc-linux-nat.c (ppc_linux_region_ok_for_hw_watchpoint): Add
3589 * mips-linux-nat.c (mips_linux_region_ok_for_hw_watchpoint): Add
3591 * inf-ttrace.c (inf_ttrace_region_ok_for_hw_watchpoint): Add
3593 * i386-nat.c (i386_region_ok_for_watchpoint): Add 'self' argument.
3594 * arm-linux-nat.c (arm_linux_region_ok_for_hw_watchpoint): Add
3596 * aarch64-linux-nat.c (aarch64_linux_region_ok_for_hw_watchpoint):
3597 Add 'self' argument.
3599 2014-02-19 Tom Tromey <tromey@redhat.com>
3601 * target.h (struct target_ops) <to_insert_watchpoint>: Add
3603 (target_insert_watchpoint): Add argument.
3604 * target.c (debug_to_insert_watchpoint): Add argument.
3605 (update_current_target): Update.
3606 * s390-linux-nat.c (s390_insert_watchpoint): Add 'self' argument.
3607 * remote.c (remote_insert_watchpoint): Add 'self' argument.
3608 * remote-mips.c (mips_insert_watchpoint): Add 'self' argument.
3609 * remote-m32r-sdi.c (m32r_insert_watchpoint): Add 'self' argument.
3610 * procfs.c (procfs_insert_watchpoint): Add 'self' argument.
3611 * ppc-linux-nat.c (ppc_linux_insert_watchpoint): Add 'self'
3613 * nto-procfs.c (procfs_insert_hw_watchpoint): Add 'self' argument.
3614 (procfs_insert_hw_watchpoint): Add 'self' argument.
3615 * mips-linux-nat.c (mips_linux_insert_watchpoint): Add 'self'
3617 * inf-ttrace.c (inf_ttrace_insert_watchpoint): Add 'self'
3619 * ia64-linux-nat.c (ia64_linux_insert_watchpoint): Add 'self'
3621 * i386-nat.c (i386_insert_watchpoint): Add 'self' argument.
3622 * arm-linux-nat.c (arm_linux_insert_watchpoint): Add 'self'
3624 * aarch64-linux-nat.c (aarch64_linux_insert_watchpoint): Add
3627 2014-02-19 Tom Tromey <tromey@redhat.com>
3629 * target.h (struct target_ops) <to_remove_watchpoint>: Add
3631 (target_remove_watchpoint): Add argument.
3632 * target.c (debug_to_remove_watchpoint): Add argument.
3633 (update_current_target): Update.
3634 * s390-linux-nat.c (s390_remove_watchpoint): Add 'self' argument.
3635 * remote.c (remote_remove_watchpoint): Add 'self' argument.
3636 * remote-mips.c (mips_remove_watchpoint): Add 'self' argument.
3637 * remote-m32r-sdi.c (m32r_remove_watchpoint): Add 'self' argument.
3638 * procfs.c (procfs_remove_watchpoint): Add 'self' argument.
3639 * ppc-linux-nat.c (ppc_linux_remove_watchpoint): Add 'self'
3641 * nto-procfs.c (procfs_remove_hw_watchpoint): Add 'self' argument.
3642 * mips-linux-nat.c (mips_linux_remove_watchpoint): Add 'self'
3644 * inf-ttrace.c (inf_ttrace_remove_watchpoint): Add 'self'
3646 * ia64-linux-nat.c (ia64_linux_remove_watchpoint): Add 'self'
3648 * i386-nat.c (i386_remove_watchpoint): Add 'self' argument.
3649 * arm-linux-nat.c (arm_linux_remove_watchpoint): Add 'self'
3651 * aarch64-linux-nat.c (aarch64_linux_remove_watchpoint): Add
3654 2014-02-19 Tom Tromey <tromey@redhat.com>
3656 * target.h (struct target_ops) <to_remove_hw_breakpoint>: Add
3658 (target_remove_hw_breakpoint): Add argument.
3659 * target.c (debug_to_remove_hw_breakpoint): Add argument.
3660 (update_current_target): Update.
3661 * remote.c (remote_remove_hw_breakpoint): Add 'self' argument.
3662 * ppc-linux-nat.c (ppc_linux_remove_hw_breakpoint): Add 'self'
3664 * i386-nat.c (i386_remove_hw_breakpoint): Add 'self' argument.
3665 * arm-linux-nat.c (arm_linux_remove_hw_breakpoint): Add 'self'
3667 * aarch64-linux-nat.c (aarch64_linux_remove_hw_breakpoint): Add
3670 2014-02-19 Tom Tromey <tromey@redhat.com>
3672 * target.h (struct target_ops) <to_insert_hw_breakpoint>: Add
3674 (target_insert_hw_breakpoint): Add argument.
3675 * target.c (debug_to_insert_hw_breakpoint): Add argument.
3676 (update_current_target): Update.
3677 * remote.c (remote_insert_hw_breakpoint): Add 'self' argument.
3678 * ppc-linux-nat.c (ppc_linux_insert_hw_breakpoint): Add 'self'
3680 * nto-procfs.c (procfs_insert_hw_breakpoint): Add 'self' argument.
3681 * i386-nat.c (i386_insert_hw_breakpoint): Add 'self' argument.
3682 * arm-linux-nat.c (arm_linux_insert_hw_breakpoint): Add 'self'
3684 * aarch64-linux-nat.c (aarch64_linux_insert_hw_breakpoint): Add
3687 2014-02-19 Tom Tromey <tromey@redhat.com>
3689 * target.h (struct target_ops) <to_can_use_hw_breakpoint>: Add
3691 (target_can_use_hardware_watchpoint): Add argument.
3692 * target.c (debug_to_can_use_hw_breakpoint): Add argument.
3693 (update_current_target): Update.
3694 * spu-linux-nat.c (spu_can_use_hw_breakpoint): Add 'self'
3696 * s390-linux-nat.c (s390_can_use_hw_breakpoint): Add 'self'
3698 * remote.c (remote_check_watch_resources): Add 'self' argument.
3699 * remote-mips.c (mips_can_use_watchpoint): Add 'self' argument.
3700 * remote-m32r-sdi.c (m32r_can_use_hw_watchpoint): Add 'self'
3702 * procfs.c (procfs_can_use_hw_breakpoint): Add 'self' argument.
3703 * ppc-linux-nat.c (ppc_linux_can_use_hw_breakpoint): Add 'self'
3705 * nto-procfs.c (procfs_can_use_hw_breakpoint): Add 'self'
3707 * mips-linux-nat.c (mips_linux_can_use_hw_breakpoint): Add 'self'
3709 * inf-ttrace.c (inf_ttrace_can_use_hw_breakpoint): Add 'self'
3711 * ia64-linux-nat.c (ia64_linux_can_use_hw_breakpoint): Add 'self'
3713 * ia64-hpux-nat.c (ia64_hpux_can_use_hw_breakpoint): Add 'self'
3715 * i386-nat.c (i386_can_use_hw_breakpoint): Add 'self' argument.
3716 * arm-linux-nat.c (arm_linux_can_use_hw_breakpoint): Add 'self'
3718 * aarch64-linux-nat.c (aarch64_linux_can_use_hw_breakpoint): Add
3721 2014-02-19 Tom Tromey <tromey@redhat.com>
3723 * target.h (struct target_ops) <to_post_attach>: Add argument.
3724 (target_post_attach): Add argument.
3725 * target.c (debug_to_post_attach): Add argument.
3726 (update_current_target): Update.
3727 * spu-linux-nat.c (spu_child_post_attach): Add 'self' argument.
3728 * nto-procfs.c (procfs_post_attach): Add 'self' argument.
3729 * linux-nat.c (linux_child_post_attach): Add 'self' argument.
3730 * inf-ptrace.c (inf_ptrace_post_attach): Add 'self' argument.
3731 * inf-child.c (inf_child_post_attach): Add 'self' argument.
3733 2014-02-19 Tom Tromey <tromey@redhat.com>
3735 * windows-nat.c (windows_close): Add 'self' argument.
3736 * tracepoint.c (tfile_close): Add 'self' argument.
3737 * target.h (struct target_ops) <to_close>: Add argument.
3738 * target.c (target_close): Add argument.
3739 (update_current_target): Update.
3740 * remote.c (remote_close): Add 'self' argument.
3741 * remote-sim.c (gdbsim_close): Add 'self' argument.
3742 * remote-mips.c (mips_close): Add 'self' argument.
3743 * remote-m32r-sdi.c (m32r_close): Add 'self' argument.
3744 * record-full.c (record_full_close): Add 'self' argument.
3745 * record-btrace.c (record_btrace_close): Add 'self' argument.
3746 * monitor.h (monitor_close): Add 'self' argument.
3747 * monitor.c (monitor_close): Add 'self' argument.
3748 * mips-linux-nat.c (mips_linux_close): Add 'self' argument.
3749 * linux-nat.c (linux_nat_close): Add argument.
3750 * go32-nat.c (go32_close): Add 'self' argument.
3751 * exec.c (exec_close_1): Add 'self' argument.
3752 * ctf.c (ctf_close): Add 'self' argument.
3753 * corelow.c (core_close): Add 'self' argument.
3754 (core_close_cleanup): Update.
3755 * bsd-uthread.c (bsd_uthread_close): Add 'self' argument.
3756 * bsd-kvm.c (bsd_kvm_close): Add 'self' argument.
3758 2014-02-19 Tom Tromey <tromey@redhat.com>
3760 * remote.c (remote_load): New function.
3761 (init_remote_ops): Use it.
3763 2014-02-19 Tom Tromey <tromey@redhat.com>
3765 * common/linux-btrace.c (linux_supports_btrace): Add "ops"
3767 * common/linux-btrace.h (linux_supports_btrace): Update.
3768 * remote.c (remote_supports_btrace): Add "self" argument.
3769 * target-delegates.c: Rebuild.
3770 * target.c (target_supports_btrace): Remove.
3771 * target.h (struct target_ops) <to_supports_btrace>: Add
3772 target_ops argument.
3773 (target_supports_btrace): New define.
3775 2014-02-19 Tom Tromey <tromey@redhat.com>
3777 * record-full.c (record_full_beneath_to_resume_ops)
3778 (record_full_beneath_to_resume, record_full_beneath_to_wait_ops)
3779 (record_full_beneath_to_wait)
3780 (record_full_beneath_to_store_registers_ops)
3781 (record_full_beneath_to_store_registers)
3782 (record_full_beneath_to_xfer_partial_ops)
3783 (record_full_beneath_to_xfer_partial)
3784 (record_full_beneath_to_insert_breakpoint_ops)
3785 (record_full_beneath_to_insert_breakpoint)
3786 (record_full_beneath_to_remove_breakpoint_ops)
3787 (record_full_beneath_to_remove_breakpoint)
3788 (record_full_beneath_to_stopped_by_watchpoint)
3789 (record_full_beneath_to_stopped_data_address)
3790 (record_full_beneath_to_async, tmp_to_resume_ops, tmp_to_resume)
3791 (tmp_to_wait_ops, tmp_to_wait, tmp_to_store_registers_ops)
3792 (tmp_to_store_registers, tmp_to_xfer_partial_ops)
3793 (tmp_to_xfer_partial, tmp_to_instmp_to_insert_breakpoint_ops)
3794 (tmp_to_insert_breakpoint, tmp_to_remove_breakpoint_ops)
3795 (tmp_to_remove_breakpoint, tmp_to_stopped_by_watchpoint)
3796 (tmp_to_stopped_data_address, tmp_to_async): Remove.
3797 (record_full_open_1, record_full_open): Update. Use RECORD_IS_USED.
3798 (record_full_resume, record_full_wait_1)
3799 (record_full_stopped_by_watchpoint, record_full_stopped_data_address)
3800 (record_full_store_registers, record_full_xfer_partial)
3801 (record_full_insert_breakpoint, record_full_remove_breakpoint)
3802 (record_full_async, record_full_core_xfer_partial): Use target
3804 * target-delegates.c: Rebuild.
3805 * target.c (current_xfer_partial): Remove.
3806 (update_current_target): Do not INHERIT or de_fault
3807 to_insert_breakpoint, to_remove_breakpoint,
3808 to_stopped_data_address, to_stopped_by_watchpoint, to_can_async_p,
3809 to_is_async_p, to_async. Do not set to_xfer_partial field.
3810 (default_xfer_partial): Simplify.
3811 (current_xfer_partial): Remove.
3812 (target_wait, target_resume): Simplify.
3813 (find_default_can_async_p, find_default_is_async_p): Update.
3814 (init_dummy_target): Don't set to_can_async_p, to_is_async_p,
3815 to_xfer_partial, to_stopped_by_watchpoint,
3816 to_stopped_data_address.
3817 (target_store_registers): Simplify.
3818 (forward_target_remove_breakpoint)
3819 (forward_target_insert_breakpoint): Remove.
3820 (target_remove_breakpoint, target_insert_breakpoint)
3821 (debug_to_insert_breakpoint, debug_to_remove_breakpoint): Update.
3822 * target.h (struct target_ops) <to_resume, to_wait,
3823 to_store_registers, to_insert_breakpoint, to_remove_breakpoint,
3824 to_stopped_by_watchpoint, to_stopped_data_address, to_can_async_p,
3825 to_is_async_p, to_async, to_xfer_partial>: Add TARGET_DEFAULT
3827 (forward_target_remove_breakpoint)
3828 (forward_target_insert_breakpoint): Remove.
3829 * record-btrace.c (record_btrace_remove_breakpoint): Delegate
3831 (record_btrace_insert_breakpoint): Delegate directly.
3833 2014-02-19 Tom Tromey <tromey@redhat.com>
3836 * target-delegates.c: New file.
3837 * target.c: Include target-delegates.c.
3838 (init_dummy_target): Call install_dummy_methods.
3839 (complete_target_initialization): Call install_delegators.
3840 * target.h (TARGET_DEFAULT_IGNORE, TARGET_DEFAULT_NORETURN)
3841 (TARGET_DEFAULT_RETURN, TARGET_DEFAULT_FUNC): New defines.
3842 * make-target-delegates: New file.
3844 2014-02-19 Tom Tromey <tromey@redhat.com>
3846 * record.c (find_record_target): Use find_target_at.
3847 * target.c (find_target_at): New function.
3848 * target.h (find_target_at): Declare.
3850 2014-02-19 Tom Tromey <tromey@redhat.com>
3852 * aarch64-linux-nat.c (aarch64_linux_stopped_by_watchpoint):
3854 * arm-linux-nat.c (arm_linux_stopped_by_watchpoint): Add
3856 * i386-nat.c (i386_stopped_by_watchpoint): Add 'ops' argument.
3857 * ia64-linux-nat.c (ia64_linux_stopped_by_watchpoint): Add
3859 * inf-ttrace.c (inf_ttrace_stopped_by_watchpoint): Add 'ops'
3861 * linux-nat.c (save_sigtrap): Update.
3862 (linux_nat_stopped_by_watchpoint, linux_nat_is_async_p)
3863 (linux_nat_can_async_p, linux_nat_async): Add 'ops' argument.
3864 (linux_nat_close): Update.
3865 * mips-linux-nat.c (mips_linux_stopped_by_watchpoint): Add 'ops'
3867 * ppc-linux-nat.c (ppc_linux_stopped_by_watchpoint): Add 'ops'
3869 * procfs.c (procfs_stopped_by_watchpoint): Add 'ops' argument.
3870 * record-full.c (record_full_beneath_to_stopped_by_watchpoint)
3871 (record_full_beneath_to_async, tmp_to_stopped_by_watchpoint)
3872 (tmp_to_async): Add 'ops' argument.
3873 (record_full_stopped_by_watchpoint, record_full_async)
3874 (record_full_can_async_p, record_full_is_async_p): Add 'ops'
3876 * remote-m32r-sdi.c (m32r_insert_breakpoint, m32r_remove_breakpoint)
3877 (m32r_stopped_by_watchpoint): Add 'ops' argument.
3878 * remote-mips.c (mips_stopped_by_watchpoint): Add 'ops' argument.
3879 * remote.c (remote_stopped_by_watchpoint_p, remote_can_async_p)
3880 (remote_is_async_p, remote_async): Add 'ops' argument.
3881 (remote_stopped_data_address): Update.
3882 * s390-nat.c (s390_stopped_by_watchpoint): Add 'ops' argument.
3883 * target.c (update_current_target)
3884 (find_default_can_async_p, find_default_is_async_p): Update.
3885 (init_dummy_target): Update.
3886 (debug_to_stopped_by_watchpoint): Add 'ops' argument.
3887 * target.h (struct target_ops) <to_stopped_by_watchpoint,
3888 to_can_async_p, to_is_async_p, to_async>: Add 'ops' argument.
3889 (target_can_async_p, target_is_async_p, target_async)
3890 (target_stopped_by_watchpoint): Update.
3892 2014-02-19 Yao Qi <yao@codesourcery.com>
3895 * gdbarch.sh: Remove startup_gdbarch.
3896 * gdbarch.c: Regenerated.
3897 * gdbarch.h: Likewise.
3899 2014-02-17 Kevin Buettner <kevinb@redhat.com>
3901 * rl78-tdep.c (rl78_g10_register_name): New function.
3902 (rl78_return_value): Add g10 support.
3903 (rl78_gdbarch_init): Register rl78_g10_register_name for the
3906 2014-02-17 Doug Evans <xdje42@gmail.com>
3908 * Makefile.in (SUBDIR_GUILE_OBS): Resort alphabetically.
3909 (SUBDIR_GUILE_SRCS): Ditto.
3910 (scm-gsmob.o): Ditto.
3912 2014-02-17 Yao Qi <yao@codesourcery.com>
3914 * gnu-nat.c (ILL_RPC): Declare defined function.
3916 2014-02-17 Yao Qi <yao@codesourcery.com>
3918 * gnu-nat.c (gnu_read_inferior): Change 'copy_count' type to
3919 mach_msg_type_number_t.
3920 (gnu_write_inferior): Likewise.
3922 2014-02-17 Yao Qi <yao@codesourcery.com>
3924 * gnu-nat.c (proc_get_exception_port): Use 'lu' insetad of 'd'
3926 (proc_steal_exc_port, make_proc, inf_set_pid): Likewise.
3927 (inf_validate_procs, inf_signal): Likewise.
3928 (S_exception_raise_request): Likewise.
3929 (do_mach_notify_dead_name): Likewise.
3930 (steal_exc_port): Likewise.
3931 (gnu_read_inferior): Change 'copy_count''s type to
3932 mach_msg_type_number_t.
3933 (gnu_write_inferior): Likewise. Use 'lx' instead of 'x' in
3936 2014-02-16 Thomas Schwinge <thomas@codesourcery.com>
3938 * gnu-nat.c (struct inf): Change pending_execs member to a 1-bit
3939 flag. Adjust all users; in particular...
3940 (gnu_wait): ..., don't decrement its value in here...
3941 (gnu_create_inferior): ..., and instead set the flag in here,
3942 around the startup_inferior call, and call that one with
3943 START_INFERIOR_TRAPS_EXPECTED.
3945 * gnu-nat.c (ill_rpc): Remove function; replaced with this...
3946 (ILL_RPC): ... new macro.
3947 (do_mach_notify_no_senders, do_mach_notify_port_deleted)
3948 (do_mach_notify_msg_accepted, do_mach_notify_port_destroyed)
3949 (do_mach_notify_send_once, S_proc_setmsgport_reply)
3950 (S_proc_getmsgport_reply, S_msg_sig_post_reply): Generate stub
3951 functions with ILL_RPC macro.
3952 (S_proc_pid2task_reply, S_proc_task2pid_reply)
3953 (S_proc_task2proc_reply, S_proc_proc2task_reply)
3954 (S_proc_pid2proc_reply, S_proc_getprocinfo_reply)
3955 (S_proc_getprocargs_reply, S_proc_getprocenv_reply)
3956 (S_proc_getloginid_reply, S_proc_getloginpids_reply)
3957 (S_proc_getlogin_reply, S_proc_getsid_reply)
3958 (S_proc_getsessionpgids_reply, S_proc_getsessionpids_reply)
3959 (S_proc_getsidport_reply, S_proc_getpgrp_reply)
3960 (S_proc_getpgrppids_reply, S_proc_get_tty_reply)
3961 (S_proc_getnports_reply, S_proc_is_important_reply)
3962 (S_proc_get_code_reply): New stub functions, generated with
3965 * reply_mig_hack.awk: In phase 5, keep going if we have not yet
3966 collected the type check structures.
3968 * reply_mig_hack.awk: Don't expect to see the auto keyword.
3970 2014-02-14 Doug Evans <dje@google.com>
3972 * target.c (target_write_partial): Fix result type.
3974 2014-02-14 Jose E. Marchesi <jose.marchesi@oracle.com>
3976 * sparc64-linux-nat.c (_initialize_sparc64_linux_nat): Register
3977 the proper offsets to access fpregset_t.
3979 2014-02-13 Sanimir Agovic <sanimir.agovic@intel.com>
3981 * cris-tdep.c (cris_supply_gregset): Remove zerobuf.
3982 (_initialize_cris_tdep): Remove cris_set_cmdlist, cris_show_cmdlist.
3983 * h8300-tdep.c (setmachinelist): Remove global.
3984 * hppa-tdep.c (hppa_sigtramp): Remove global.
3985 * mipsnbsd-tdep.c (sigtramp_retcode_mipsel, sigtramp_retcode_mipseb
3986 RETCODE_NWORDS, RETCODE_SIZE): Wrap code with #if 0.
3987 * ravenscar-thread.c (update_target_observer): Remove global.
3988 * rs6000-tdep.c (rs6000_gdbarch_init): Remove segment_regs.
3990 2014-02-12 Tom Tromey <tromey@redhat.com>
3992 * common/rsp-low.c: Update comments.
3993 * common/rsp-low.h: Update comments.
3995 2014-02-12 Tom Tromey <tromey@redhat.com>
3997 * common/rsp-low.c (convert_ascii_to_int): Remove.
3998 * common/rsp-low.h (convert_ascii_to_int): Don't declare.
4000 2014-02-12 Tom Tromey <tromey@redhat.com>
4002 * common/rsp-low.h (unhexify): Don't declare.
4003 * common/rsp-low.c (unhexify): Remove.
4005 2014-02-12 Tom Tromey <tromey@redhat.com>
4007 * common/rsp-low.h (convert_int_to_ascii): Don't declare.
4008 * common/rsp-low.c (convert_int_to_ascii): Remove.
4010 2014-02-12 Tom Tromey <tromey@redhat.com>
4012 * common/rsp-low.h (hexify): Don't declare.
4013 * common/rsp-low.c (hexify): Remove.
4015 2014-02-12 Tom Tromey <tromey@redhat.com>
4017 * common/rsp-low.c (hexify): Never take strlen of argument.
4019 2014-02-12 Tom Tromey <tromey@redhat.com>
4021 * common/rsp-low.c (bin2hex): Never take strlen of argument.
4022 * remote.c (extended_remote_run, remote_rcmd)
4023 (remote_download_trace_state_variable, remote_save_trace_data)
4024 (remote_set_trace_notes): Update.
4025 * tracepoint.c (encode_source_string, tfile_write_status)
4026 (tfile_write_uploaded_tsv): Update.
4028 2014-02-12 Tom Tromey <tromey@redhat.com>
4030 * tracepoint.c: Include rsp-low.h.
4031 * remote.h (hex2bin, bin2hex, unpack_varlen_hex): Don't declare.
4032 * remote.c: Include rsp-low.h.
4033 (hexchars, ishex, unpack_varlen_hex, pack_nibble, pack_hex_byte)
4034 (fromhex, hex2bin, tohex, bin2hex, remote_escape_output)
4035 (remote_unescape_input): Move to common/rsp-low.c.
4036 * common/rsp-low.h: New file.
4037 * common/rsp-low.c: New file.
4038 * Makefile.in (SFILES): Add common/rsp-low.c.
4039 (HFILES_NO_SRCDIR): Add common/rsp-low.h.
4040 (COMMON_OBS): Add rsp-low.o.
4041 (rsp-low.o): New target.
4043 2014-02-12 Tom Tromey <tromey@redhat.com>
4045 * utils.h: Include print-utils.h.
4046 (host_address_to_string, plongest, pulongest, phex, phex_nz)
4047 (int_string, core_addr_to_string, core_addr_to_string_nz)
4048 (hex_string, hex_string_custom): Don't declare.
4049 * utils.c (NUMCELLS, CELLSIZE, get_cell, decimal2str, pulongest)
4050 (plongest, thirty_two, phex, phex_nz, octal2str, hex_string)
4051 (hex_string_custom, int_string, core_addr_to_string)
4052 (core_addr_to_string_nz, host_address_to_string): Move to
4053 common/print-utils.c.
4054 * common/print-utils.h: New file.
4055 * common/print-utils.c: New file
4056 * Makefile.in (SFILES): Add common/print-utils.c.
4057 (HFILES_NO_SRCDIR): Add common/print-utils.h.
4058 (COMMON_OBS): Add print-utils.o.
4059 (print-utils.o): New target.
4061 2014-02-12 Tom Tromey <tromey@redhat.com>
4063 * nios2-tdep.c (nios2_stub_frame_base_address): Remove.
4065 2014-02-12 Mark Kettenis <kettenis@gnu.org>
4067 * sparc64obsd-tdep.c (sparc64obsd_init_abi): Call obsd_init_abi.
4069 2014-02-12 Mark Kettenis <kettenis@gnu.org>
4071 * inf-ptrace.c (inf_ptrace_xfer_partial): Return TARGET_XFER_EOF
4072 if a PT_IO ptrace request returns sucessfully but indicates that 0
4073 bytes were transferred.
4075 2014-02-12 Pedro Alves <palves@redhat.com>
4076 Kevin Buettner <kevinb@redhat.com>
4078 * gnu-v3-abi.c (build_gdb_vtable_type): Return a type marked with
4079 TYPE_INSTANCE_FLAG_CODE_SPACE.
4081 2014-02-12 Pedro Alves <palves@redhat.com>
4083 * h8300-tdep.c (pseudo_from_raw_register)
4084 (raw_from_pseudo_register): New functions.
4085 (h8300_pseudo_register_read, h8300_pseudo_register_write): Use
4088 2014-02-12 Pedro Alves <palves@redhat.com>
4090 * h8300-tdep.c (h8300_register_sim_regno): New function.
4091 (h8300_gdbarch_init): Install h8300_register_sim_regno as
4092 gdbarch_register_sim_regno hook.
4094 2014-02-12 Sanimir Agovic <sanimir.agovic@intel.com>
4096 * nios2-tdep.c (nios2_stub_frame_base): Remove global.
4098 2014-02-12 Sanimir Agovic <sanimir.agovic@intel.com>
4100 * tic6x-tdep.c (tic6x_gdbarch_init): Call frame_base_set_default.
4102 2014-02-12 Mark Kettenis <kettenis@gnu.org>
4104 * obsd-tdep.h (obsd_init_abi): New prototype.
4105 * obsd-tdep.c: Define enum with OpenBSD signal numbers.
4106 (obsd_gdb_signal_from_target, obsd_gdb_signal_to_target)
4107 (obsd_init_abi): New functions.
4108 * i386obsd-tdep.c: Include "obsd-tdep.h".
4109 (i386obsd_init_abi): Call obsd_init_abi.
4110 * amd64obsd-tdep.c: Include "obsd-tdep.h".
4111 (amd64obsd_init_abi): Call obsd_init_abi.
4112 * configure.tgt (i[34567]86-*-openbsd*, x86_64-*-openbsd*): Add
4113 obsd-tdep.c to gdb_target_obs.
4115 2014-02-11 Jose E. Marchesi <jose.marchesi@oracle.com>
4117 * sparc64-tdep.c (sparc64_store_arguments): Do not align complex
4118 double float arguments to 16-byte in the argument slots.
4120 2014-02-11 Doug Evans <xdje42@gmail.com>
4122 * configure.ac: Don't crash if pkg-config is not found and guile
4123 wasn't explicitly requested. Use AC_MSG_ERROR instead of AC_ERROR
4125 * configure: Regenerate.
4127 2014-02-11 Yao Qi <yao@codesourcery.com>
4129 * aix-thread.c (aix_thread_xfer_partial): Update comments.
4130 * auxv.c (procfs_xfer_auxv, memory_xfer_auxv): Likewise.
4131 * bsd-uthread.c (bsd_uthread_xfer_partial): Likewise.
4132 * gnu-nat.c (gnu_xfer_memory): Likewise.
4133 * inf-ptrace.c (inf_ptrace_xfer_partial): Likewise.
4134 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
4135 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
4136 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise.
4138 2014-02-11 Yao Qi <yao@codesourcery.com>
4140 * target.h (enum target_xfer_error): Rename to ...
4141 (enum target_xfer_status): ... it. New. All users updated.
4142 (enum target_xfer_status) <TARGET_XFER_OK>, <TARGET_XFER_EOF>:
4144 (TARGET_XFER_STATUS_ERROR_P): New macro.
4145 (target_xfer_error_to_string): Remove declaration.
4146 (target_xfer_status_to_string): Declare.
4147 (target_xfer_partial_ftype): Adjust it.
4148 (struct target_ops) <to_xfer_partial>: Return
4149 target_xfer_status. Add argument xfered_len. Update
4151 * target.c (target_xfer_error_to_string): Rename to ...
4152 (target_xfer_status_to_string): ... it. New. All callers
4154 (target_read_live_memory): Likewise. Call target_xfer_partial
4155 instead of target_read.
4156 (memory_xfer_live_readonly_partial): Return
4157 target_xfer_status. Add argument xfered_len.
4158 (raw_memory_xfer_partial): Likewise.
4159 (memory_xfer_partial_1): Likewise.
4160 (memory_xfer_partial): Likewise.
4161 (target_xfer_partial): Likewise. Check *XFERED_LEN is set
4162 properly. Update debug message.
4163 (default_xfer_partial, current_xfer_partial): Likewise.
4164 (target_write_partial): Likewise.
4165 (target_read_partial): Likewise. All callers updated.
4166 (read_whatever_is_readable): Likewise.
4167 (target_write_with_progress): Likewise.
4168 (target_read_alloc_1): Likewise.
4170 * aix-thread.c (aix_thread_xfer_partial): Likewise.
4171 * auxv.c (procfs_xfer_auxv): Likewise.
4172 (ld_so_xfer_auxv, memory_xfer_auxv): Likewise.
4173 * bfd-target.c (target_bfd_xfer_partial): Likewise.
4174 * bsd-kvm.c (bsd_kvm_xfer_partial): Likewise.
4175 * bsd-uthread.c (bsd_uthread_xfer_partia): Likewise.
4176 * corefile.c (read_memory): Adjust.
4177 * corelow.c (core_xfer_partial): Likewise.
4178 * ctf.c (ctf_xfer_partial): Likewise.
4179 * darwin-nat.c (darwin_read_dyld_info): Likewise. All callers
4181 (darwin_xfer_partial): Likewise.
4182 * exec.c (section_table_xfer_memory_partial): Likewise. All
4184 (exec_xfer_partial): Likewise.
4185 * exec.h (section_table_xfer_memory_partial): Update
4187 * gnu-nat.c (gnu_xfer_memory): Likewise. Assert 'res' is not
4189 (gnu_xfer_partial): Likewise.
4190 * ia64-hpux-nat.c (ia64_hpux_xfer_memory_no_bs): Likewise.
4191 (ia64_hpux_xfer_memory, ia64_hpux_xfer_uregs): Likewise.
4192 (ia64_hpux_xfer_solib_got): Likewise.
4193 * inf-ptrace.c (inf_ptrace_xfer_partial): Likewise. Change
4194 type of 'partial_len' to ULONGEST.
4195 * inf-ttrace.c (inf_ttrace_xfer_partial): Likewise.
4196 * linux-nat.c (linux_xfer_siginfo ): Likewise.
4197 (linux_nat_xfer_partial): Likewise.
4198 (linux_proc_xfer_partial, linux_xfer_partial): Likewise.
4199 (linux_proc_xfer_spu, linux_nat_xfer_osdata): Likewise.
4200 * monitor.c (monitor_xfer_memory): Likewise.
4201 (monitor_xfer_partial): Likewise.
4202 * procfs.c (procfs_xfer_partial): Likewise.
4203 * record-btrace.c (record_btrace_xfer_partial): Likewise.
4204 * record-full.c (record_full_xfer_partial): Likewise.
4205 (record_full_core_xfer_partial): Likewise.
4206 * remote-sim.c (gdbsim_xfer_memory): Likewise.
4207 (gdbsim_xfer_partial): Likewise.
4208 * remote.c (remote_write_bytes_aux): Likewise. All callers
4210 (remote_write_bytes, remote_read_bytes): Likewise. All
4212 (remote_flash_erase): Likewise. All callers updated.
4213 (remote_write_qxfer): Likewise. All callers updated.
4214 (remote_read_qxfer): Likewise. All callers updated.
4215 (remote_xfer_partial): Likewise.
4216 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
4217 (rs6000_xfer_shared_libraries): Likewise.
4218 * sol-thread.c (sol_thread_xfer_partial): Likewise.
4219 (sol_thread_xfer_partial): Likewise.
4220 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
4221 (sparc_xfer_partial): Likewise.
4222 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise. All callers
4224 (spu_xfer_partial): Likewise.
4225 * spu-multiarch.c (spu_xfer_partial): Likewise.
4226 * tracepoint.c (tfile_xfer_partial): Likewise.
4227 * windows-nat.c (windows_xfer_memory): Likewise.
4228 (windows_xfer_shared_libraries): Likewise.
4229 (windows_xfer_partial): Likewise.
4230 * valprint.c: Replace 'target_xfer_error' with
4231 'target_xfer_status' in comments.
4233 2014-02-11 Simon Marchi <simon.marchi@ericsson.com> (tiny patch)
4235 Checked in by Joel Brobecker <brobecker@adacore.com>.
4236 * mi/mi-main.c (mi_cmd_data_write_memory_bytes): Fix comment.
4238 2014-02-11 Joel Brobecker <brobecker@adacore.com>
4240 * symfile-debug.c (debug_qf_expand_symtabs_matching): Reformat
4241 function parameters.
4243 2014-02-10 Will Newton <will.newton@linaro.org>
4245 * elfread.c (elf_rel_plt_read): Look for a .got section if
4246 looking up .got.plt fails.
4247 (elf_gnu_ifunc_resolve_by_got): Call gdbarch_addr_bits_remove
4248 on address passed to elf_gnu_ifunc_record_cache.
4249 (elf_gnu_ifunc_resolve_addr): Likewise.
4250 (elf_gnu_ifunc_resolver_return_stop): Likewise.
4252 2014-02-10 Jose E. Marchesi <jose.marchesi@oracle.com>
4254 * sparc-tdep.c (sparc_in_function_epilogue_p): New function.
4255 (X_RETTURN): New macro.
4256 * sparc-tdep.h: sparc_in_function_epilogue_p prototype.
4258 * sparc64-tdep.c (sparc64_init_abi): Hook
4259 sparc_in_function_epilogue_p.
4261 2014-02-10 Gary Benson <gbenson@redhat.com>
4263 * symfile-debug.c (debug_qf_expand_symtabs_matching):
4264 Rename name_matcher to symbol_matcher.
4266 2014-02-10 Gary Benson <gbenson@redhat.com>
4268 * symfile-debug.c (debug_qf_expand_symtabs_matching):
4269 Use expand_symtabs_file_matcher_ftype and
4270 expand_symtabs_symbol_matcher_ftype.
4272 2014-02-10 Joel Brobecker <brobecker@adacore.com>
4274 * ada-lang.c (struct cache_entry, HASH_SIZE): Move definition up.
4275 (struct ada_symbol_cache): New.
4276 (ada_free_symbol_cache): Forward declare.
4277 (struct ada_pspace_data): New.
4278 (ada_pspace_data_handle): New static global.
4279 (get_ada_pspace_data, ada_pspace_data_cleanup)
4280 (ada_init_symbol_cache, ada_free_symbol_cache): New functions.
4281 (cache_space, cache): Delete, now folded inside struct
4283 (ada_get_symbol_cache): New function.
4284 (ada_clear_symbol_cache, find_entry, cache_symbol): Adjust
4286 (_initialize_ada_language): Remove initialization of cache_space.
4287 Move call to observer_attach_inferior_exit up, grouping it
4288 with the other observer registrations inside this function.
4289 Rename command to be more general. Add call to
4290 register_program_space_data_with_cleanup.
4292 2014-02-10 Joel Brobecker <brobecker@adacore.com>
4294 * ada-tasks.c (ada_tasks_new_objfile_observer): Renames
4295 ada_new_objfile_observer.
4296 (ada_tasks_normal_stop_observer): Renames ada_normal_stop_observer.
4297 (_initialize_tasks): Update uses of ada_new_objfile_observer
4298 and ada_tasks_normal_stop_observer.
4300 2014-02-10 Joel Brobecker <brobecker@adacore.com>
4302 * ada-lang.c (ada_evaluate_subexp): Set the type of the value
4303 returned by the 'Length attribute to integer.
4305 2014-02-10 Joel Brobecker <brobecker@adacore.com>
4307 * ada-lang.c (_initialize_ada_language): Initialize
4308 cache_space obstack.
4310 2014-02-10 Joel Brobecker <brobecker@adacore.com>
4312 * ada-lang.c (HASH_SIZE): New macro.
4313 (struct cache_entry): New type.
4314 (cache_space, cache): New static globals.
4315 (ada_clear_symbol_cache, find_entry): New functions.
4316 (lookup_cached_symbol, cache_symbol): Implement.
4317 (ada_new_objfile_observer, ada_free_objfile_observer): New.
4318 (_initialize_ada_language): Attach ada_new_objfile_observer
4319 and ada_free_objfile_observer.
4321 2014-02-10 Joel Brobecker <brobecker@adacore.com>
4323 * ada-lang.c (ada_add_block_symbols, add_defn_to_vec)
4324 (lookup_cached_symbol, ada_add_local_symbols): Add "const" to
4325 struct block * parameter.
4326 (ada_lookup_symbol_list_worker): Constify local variable "block".
4327 Remove cast which is no longer necessary.
4329 2014-02-10 Doug Evans <xdje42@gmail.com>
4331 Add Guile as an extension language.
4332 * NEWS: Mention Guile scripting.
4333 * Makefile.in (SUBDIR_GUILE_OBS): New variable.
4334 (SUBDIR_GUILE_SRCS, SUBDIR_GUILE_DEPS): New variables
4335 (SUBDIR_GUILE_LDFLAGS, SUBDIR_GUILE_CFLAGS): New variables.
4336 (INTERNAL_CPPFLAGS): Add GUILE_CPPFLAGS.
4337 (CLIBS): Add GUILE_LIBS.
4338 (install-guile): New rule.
4339 (guile.o): New rule.
4340 (scm-arch.o, scm-auto-load.o, scm-block.o): New rules.
4341 (scm-breakpoint.o, scm-disasm.o, scm-exception.o): New rules.
4342 (scm-frame.o, scm-iterator.o, scm-lazy-string.o): New rules.
4343 (scm-math.o, scm-objfile.o, scm-ports.o): New rules.
4344 (scm-pretty-print.o, scm-safe-call.o, scm-gsmob.o): New rules.
4345 (scm-string.o, scm-symbol.o, scm-symtab.o): New rules.
4346 (scm-type.o, scm-utils.o, scm-value.o): New rules.
4347 * configure.ac: New option --with-guile.
4348 * configure: Regenerate.
4349 * config.in: Regenerate.
4350 * auto-load.c: Remove #include "python/python.h". Add #include
4351 "gdb/section-scripts.h".
4352 (source_section_scripts): Handle Guile scripts.
4353 (_initialize_auto_load): Add name of Guile objfile script to
4354 scripts-directory help text.
4355 * breakpoint.c (condition_command): Tweak comment to include Scheme.
4356 * breakpoint.h (gdbscm_breakpoint_object): Add forward decl.
4357 (struct breakpoint): New member scm_bp_object.
4358 * defs.h (enum command_control_type): New value guile_control.
4359 * cli/cli-cmds.c: Remove #include "python/python.h". Add #include
4361 (show_user): Update comment.
4362 (_initialize_cli_cmds): Update help text for "show user". Update help
4363 text for max-user-call-depth.
4364 * cli/cli-script.c: Remove #include "python/python.h". Add #include
4366 (multi_line_command_p): Add guile_control.
4367 (print_command_lines): Handle guile_control.
4368 (execute_control_command, recurse_read_control_structure): Ditto.
4369 (process_next_line): Recognize "guile" commands.
4370 * disasm.c (gdb_disassemble_info): Make non-static.
4371 * disasm.h: #include "dis-asm.h".
4372 (struct gdbarch): Add forward decl.
4373 (gdb_disassemble_info): Declare.
4374 * extension.c: #include "guile/guile.h".
4375 (extension_languages): Add guile.
4376 (get_ext_lang_defn): Handle EXT_LANG_GDB.
4377 * extension.h (enum extension_language): New value EXT_LANG_GUILE.
4378 * gdbtypes.c (get_unsigned_type_max): New function.
4379 (get_signed_type_minmax): New function.
4380 * gdbtypes.h (get_unsigned_type_max): Declare.
4381 (get_signed_type_minmax): Declare.
4382 * guile/README: New file.
4383 * guile/guile-internal.h: New file.
4384 * guile/guile.c: New file.
4385 * guile/guile.h: New file.
4386 * guile/scm-arch.c: New file.
4387 * guile/scm-auto-load.c: New file.
4388 * guile/scm-block.c: New file.
4389 * guile/scm-breakpoint.c: New file.
4390 * guile/scm-disasm.c: New file.
4391 * guile/scm-exception.c: New file.
4392 * guile/scm-frame.c: New file.
4393 * guile/scm-gsmob.c: New file.
4394 * guile/scm-iterator.c: New file.
4395 * guile/scm-lazy-string.c: New file.
4396 * guile/scm-math.c: New file.
4397 * guile/scm-objfile.c: New file.
4398 * guile/scm-ports.c: New file.
4399 * guile/scm-pretty-print.c: New file.
4400 * guile/scm-safe-call.c: New file.
4401 * guile/scm-string.c: New file.
4402 * guile/scm-symbol.c: New file.
4403 * guile/scm-symtab.c: New file.
4404 * guile/scm-type.c: New file.
4405 * guile/scm-utils.c: New file.
4406 * guile/scm-value.c: New file.
4407 * guile/lib/gdb.scm: New file.
4408 * guile/lib/gdb/boot.scm: New file.
4409 * guile/lib/gdb/experimental.scm: New file.
4410 * guile/lib/gdb/init.scm: New file.
4411 * guile/lib/gdb/iterator.scm: New file.
4412 * guile/lib/gdb/printing.scm: New file.
4413 * guile/lib/gdb/types.scm: New file.
4414 * data-directory/Makefile.in (GUILE_SRCDIR): New variable.
4415 (VPATH): Add $(GUILE_SRCDIR).
4416 (GUILE_DIR): New variable.
4417 (GUILE_INSTALL_DIR, GUILE_FILES): New variables.
4418 (all): Add stamp-guile dependency.
4419 (stamp-guile): New rule.
4420 (clean-guile, install-guile, uninstall-guile): New rules.
4421 (install-only): Add install-guile dependency.
4422 (uninstall): Add uninstall-guile dependency.
4423 (clean): Add clean-guile dependency.
4425 2014-02-09 Doug Evans <xdje42@gmail.com>
4427 Revert this patch (which I approved, mea culpa).
4429 2014-02-08 Mark Kettenis <kettenis@gnu.org>
4431 * Makefile.in (all-lib): Remove.
4432 ($(LIBGNU) $(GNULIB_H)): Replace with gits of remove all-lib target.
4434 2014-02-09 Jan Kratochvil <jan.kratochvil@redhat.com>
4436 Fix Python stack corruption.
4437 * python/py-linetable.c (ltpy_get_pcs_for_line, ltpy_has_line): Use
4440 2014-02-08 Mark Kettenis <kettenis@gnu.org>
4442 * Makefile.in (all-lib): Remove.
4443 ($(LIBGNU) $(GNULIB_H)): Replace with gits of remove all-lib target.
4445 2014-02-07 Doug Evans <dje@google.com>
4447 * extension-priv.h (extension_language_script_ops): Add comment.
4448 (extension_language_ops): Add comment.
4449 (active_ext_lang_state): Fix typo in comment.
4451 2014-02-07 Pedro Alves <palves@redhat.com>
4453 PR breakpoints/16292
4454 * infrun.c (handle_signal_stop) <signal arrives while stepping
4455 over a breakpoint>: Switch back to the stepping thread.
4457 2014-02-07 Yao Qi <yao@codesourcery.com>
4459 * target.c (target_xfer_partial): Return zero if LEN is zero.
4461 2014-02-07 Yao Qi <yao@codesourcery.com>
4463 * auxv.c (procfs_xfer_auxv): Replace -1 with TARGET_XFER_E_IO.
4464 (ld_so_xfer_auxv): Likewise.
4465 * bfd-target.c (target_bfd_xfer_partial): Likewise.
4466 * bsd-kvm.c (bsd_kvm_xfer_partial): Likewise.
4467 * corelow.c (core_xfer_partial): Likewise.
4468 * ctf.c (ctf_xfer_partial): Likewise.
4469 * darwin-nat.c (darwin_read_dyld_info): Likewise.
4470 (darwin_xfer_partial): Likewise.
4471 * exec.c (exec_xfer_partial): Likewise.
4472 * gnu-nat.c (gnu_xfer_partial): Likewise.
4473 * ia64-hpux-nat.c (ia64_hpux_xfer_uregs): Likewise.
4474 * inf-ptrace.c (inf_ptrace_xfer_partial): Likewise.
4475 * inf-ttrace.c (inf_ttrace_xfer_partial): Likewise.
4476 * linux-nat.c (linux_xfer_siginfo): Likewise.
4477 (linux_proc_xfer_spu): Likewise.
4478 * procfs.c (procfs_xfer_partial): Likewise.
4479 * record-full.c (record_full_xfer_partial): Likewise.
4480 (record_full_core_xfer_partial): Likewise.
4481 * remote-sim.c (gdbsim_xfer_partial): Likewise.
4482 * remote.c (remote_write_qxfer): Likewise.
4483 (remote_write_qxfer, remote_read_qxfer): Likewise.
4484 (remote_xfer_partial): Likewise.
4485 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
4486 (rs6000_xfer_shared_libraries): Likewise.
4487 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
4488 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise.
4489 (spu_xfer_partial): Likewise.
4490 * target.c (memory_xfer_partial_1): Likewise.
4491 * tracepoint.c (tfile_xfer_partial): Likewise.
4492 * windows-nat.c (windows_xfer_shared_libraries): Likewise.
4493 (windows_xfer_partial): Likewise.
4495 2014-02-07 Yao Qi <yao@codesourcery.com>
4497 * gdbarch.sh (core_xfer_shared_libraries): Returns ULONGEST. Add
4499 (core_xfer_shared_libraries_aix): Likewise.
4500 * gdbarch.c, gdbarch.h: Regenerated.
4501 * i386-cygwin-tdep.c (windows_core_xfer_shared_libraries): Return
4502 ULONGEST. Change 'len_avail' type to ULONGEST.
4503 * rs6000-aix-tdep.c (rs6000_aix_ld_info_to_xml): Likewise.
4504 * rs6000-aix-tdep.h (rs6000_aix_ld_info_to_xml): Update
4506 (rs6000_aix_core_xfer_shared_libraries_aix): Return ULONGEST.
4508 2014-02-07 Yao Qi <yao@codesourcery.com>
4510 * corefile.c (memory_error): Get 'exception' from ERR and pass
4511 'exception' to throw_error.
4513 2014-02-06 Doug Evans <xdje42@gmail.com>
4515 * configure.ac (libpython checking): Remove all but python.o from
4516 CONFIG_OBS. Remove all but python.c from CONFIG_SRCS.
4517 * configure: Regenerate.
4519 * Makefile.in (SFILES): Add extension.c.
4520 (HFILES_NO_SRCDIR): Add extension.h, extension-priv.h
4521 (COMMON_OBS): Add extension.o.
4522 * extension.h: New file.
4523 * extension-priv.h: New file.
4524 * extension.c: New file.
4526 * python/python-internal.h: #include "extension.h".
4527 (gdbpy_auto_load_enabled): Declare.
4528 (gdbpy_apply_val_pretty_printer): Declare.
4529 (gdbpy_apply_frame_filter): Declare.
4530 (gdbpy_preserve_values): Declare.
4531 (gdbpy_breakpoint_cond_says_stop): Declare.
4532 (gdbpy_breakpoint_has_cond): Declare.
4533 (void source_python_script_for_objfile): Delete.
4534 * python/python.c: #include "extension-priv.h".
4535 Delete inclusion of "observer.h".
4536 (extension_language_python): Moved here and renamed from
4537 script_language_python in py-auto-load.c.
4538 Redefined to be of type extension_language_defn.
4539 (python_extension_script_ops): New global.
4540 (python_extension_ops): New global.
4541 (struct python_env): New member previous_active.
4542 (restore_python_env): Call restore_active_ext_lang.
4543 (ensure_python_env): Call set_active_ext_lang.
4544 (gdbpy_clear_quit_flag): Renamed from clear_quit_flag, made static.
4546 (gdbpy_set_quit_flag): Renamed from set_quit_flag, made static.
4548 (gdbpy_check_quit_flag): Renamed from check_quit_flag, made static.
4550 (gdbpy_eval_from_control_command): Renamed from
4551 eval_python_from_control_command, made static. New arg extlang.
4552 (gdbpy_source_script) Renamed from source_python_script, made static.
4554 (gdbpy_before_prompt_hook): Renamed from before_prompt_hook. Change
4555 result to int. New arg extlang.
4556 (gdbpy_source_objfile_script): Renamed from
4557 source_python_script_for_objfile, made static. New arg extlang.
4558 (gdbpy_start_type_printers): Renamed from start_type_printers, made
4559 static. New args extlang, extlang_printers. Change result type to
4561 (gdbpy_apply_type_printers): Renamed from apply_type_printers, made
4562 static. New arg extlang. Rename arg printers to extlang_printers
4563 and change type to ext_lang_type_printers *.
4564 (gdbpy_free_type_printers): Renamed from free_type_printers, made
4565 static. Replace argument arg with extlang, extlang_printers.
4566 (!HAVE_PYTHON, eval_python_from_control_command): Delete.
4567 (!HAVE_PYTHON, source_python_script): Delete.
4568 (!HAVE_PYTHON, gdbpy_should_stop): Delete.
4569 (!HAVE_PYTHON, gdbpy_breakpoint_has_py_cond): Delete.
4570 (!HAVE_PYTHON, start_type_printers): Delete.
4571 (!HAVE_PYTHON, apply_type_printers): Delete.
4572 (!HAVE_PYTHON, free_type_printers): Delete.
4573 (_initialize_python): Delete call to observer_attach_before_prompt.
4574 (finalize_python): Set/restore active extension language.
4575 (gdbpy_finish_initialization) Renamed from
4576 finish_python_initialization, made static. New arg extlang.
4577 (gdbpy_initialized): New function.
4578 * python/python.h: #include "extension.h". Delete #include
4579 "value.h", "mi/mi-cmds.h".
4580 (extension_language_python): Declare.
4581 (GDBPY_AUTO_FILE_NAME): Delete.
4582 (enum py_bt_status): Moved to extension.h and renamed to
4584 (enum frame_filter_flags): Moved to extension.h.
4585 (enum py_frame_args): Moved to extension.h and renamed to
4586 ext_lang_frame_args.
4587 (finish_python_initialization): Delete.
4588 (eval_python_from_control_command): Delete.
4589 (source_python_script): Delete.
4590 (apply_val_pretty_printer): Delete.
4591 (apply_frame_filter): Delete.
4592 (preserve_python_values): Delete.
4593 (gdbpy_script_language_defn): Delete.
4594 (gdbpy_should_stop, gdbpy_breakpoint_has_py_cond): Delete.
4595 (start_type_printers, apply_type_printers, free_type_printers): Delete.
4597 * auto-load.c: #include "extension.h".
4598 (GDB_AUTO_FILE_NAME): Delete.
4599 (auto_load_gdb_scripts_enabled): Make public. New arg extlang.
4600 (script_language_gdb): Delete, moved to extension.c and renamed to
4601 extension_language_gdb.
4602 (source_gdb_script_for_objfile): Delete.
4603 (auto_load_pspace_info): New member unsupported_script_warning_printed.
4604 (loaded_script): Change type of language member to
4605 struct extension_language_defn *.
4606 (init_loaded_scripts_info): Initialize
4607 unsupported_script_warning_printed.
4608 (maybe_add_script): Make static. Change type of language arg to
4609 struct extension_language_defn *.
4610 (clear_section_scripts): Reset unsupported_script_warning_printed.
4611 (auto_load_objfile_script_1): Rewrite to use extension language API.
4612 (auto_load_objfile_script): Make public. Remove support-compiled-in
4613 and auto-load-enabled checks, moved to auto_load_scripts_for_objfile.
4614 (source_section_scripts): Rewrite to use extension language API.
4615 (load_auto_scripts_for_objfile): Rewrite to use
4616 auto_load_scripts_for_objfile.
4617 (collect_matching_scripts_data): Change type of language member to
4618 struct extension_language_defn *.
4619 (auto_load_info_scripts): Change type of language arg to
4620 struct extension_language_defn *.
4621 (unsupported_script_warning_print): New function.
4622 (script_not_found_warning_print): Make static.
4623 (_initialize_auto_load): Rewrite construction of scripts-directory
4625 * auto-load.h (struct objfile): Add forward decl.
4626 (struct script_language): Delete.
4627 (struct auto_load_pspace_info): Add forward decl.
4628 (struct extension_language_defn): Add forward decl.
4629 (maybe_add_script): Delete.
4630 (auto_load_objfile_script): Declare.
4631 (script_not_found_warning_print): Delete.
4632 (auto_load_info_scripts): Update prototype.
4633 (auto_load_gdb_scripts_enabled): Declare.
4634 * python/py-auto-load.c (gdbpy_auto_load_enabled): Renamed from
4635 auto_load_python_scripts_enabled and made public.
4636 (script_language_python): Delete, moved to python.c.
4637 (gdbpy_script_language_defn): Delete.
4638 (info_auto_load_python_scripts): Update to use
4639 extension_language_python.
4641 * breakpoint.c (condition_command): Replace call to
4642 gdbpy_breakpoint_has_py_cond with call to get_breakpoint_cond_ext_lang.
4643 (bpstat_check_breakpoint_conditions): Replace call to gdbpy_should_stop
4644 with call to breakpoint_ext_lang_cond_says_stop.
4645 * python/py-breakpoint.c (gdbpy_breakpoint_cond_says_stop): Renamed
4646 from gdbpy_should_stop. Change result type to enum scr_bp_stop.
4647 New arg slang. Return SCR_BP_STOP_UNSET if py_bp_object is NULL.
4648 (gdbpy_breakpoint_has_cond): Renamed from gdbpy_breakpoint_has_py_cond.
4650 (local_setattro): Print name of extension language with existing
4653 * valprint.c (val_print, value_print): Update to call
4654 apply_ext_lang_val_pretty_printer.
4655 * cp-valprint.c (cp_print_value): Update call to
4656 apply_ext_lang_val_pretty_printer.
4657 * python/py-prettyprint.c: Remove #ifdef HAVE_PYTHON.
4658 (gdbpy_apply_val_pretty_printer): Renamed from
4659 apply_val_pretty_printer. New arg extlang.
4660 (!HAVE_PYTHON, apply_val_pretty_printer): Delete.
4662 * cli/cli-cmds.c (source_script_from_stream): Rewrite to use
4663 extension language API.
4664 * cli/cli-script.c (execute_control_command): Update to call
4665 eval_ext_lang_from_control_command.
4667 * mi/mi-cmd-stack.c (mi_cmd_stack_list_frames): Update to use
4668 enum ext_lang_bt_status values. Update call to
4669 apply_ext_lang_frame_filter.
4670 (mi_cmd_stack_list_locals): Ditto.
4671 (mi_cmd_stack_list_args): Ditto.
4672 (mi_cmd_stack_list_variables): Ditto.
4673 * mi/mi-main.c: Delete #include "python/python-internal.h".
4674 Add #include "extension.h".
4675 (mi_cmd_list_features): Replace reference to python internal variable
4676 gdb_python_initialized with call to ext_lang_initialized_p.
4678 * stack.c (backtrace_command_1): Update to use enum ext_lang_bt_status.
4679 Update to use enum ext_lang_frame_args. Update to call
4680 apply_ext_lang_frame_filter.
4681 * python/py-framefilter.c (extract_sym): Update to use enum
4683 (extract_value, py_print_type, py_print_value): Ditto.
4684 (py_print_single_arg, enumerate_args, enumerate_locals): Ditto.
4685 (py_mi_print_variables, py_print_locals, py_print_args): Ditto.
4686 (py_print_frame): Ditto.
4687 (gdbpy_apply_frame_filter): Renamed from apply_frame_filter.
4688 New arg extlang. Update to use enum ext_lang_bt_status.
4690 * top.c (gdb_init): Delete #ifdef HAVE_PYTHON call to
4691 finish_python_initialization. Replace with call to
4692 finish_ext_lang_initialization.
4694 * typeprint.c (do_free_global_table): Update to call
4695 free_ext_lang_type_printers.
4696 (create_global_typedef_table): Update to call
4697 start_ext_lang_type_printers.
4698 (find_global_typedef): Update to call apply_ext_lang_type_printers.
4699 * typeprint.h (struct ext_lang_type_printers): Add forward decl.
4700 (type_print_options): Change type of global_printers from "void *"
4701 to "struct ext_lang_type_printers *".
4703 * value.c (preserve_values): Update to call preserve_ext_lang_values.
4704 * python/py-value.c: Remove #ifdef HAVE_PYTHON.
4705 (gdbpy_preserve_values): Renamed from preserve_python_values.
4707 (!HAVE_PYTHON, preserve_python_values): Delete.
4709 * utils.c (quit_flag): Delete, moved to extension.c.
4710 (clear_quit_flag, set_quit_flag, check_quit_flag): Delete, moved to
4713 * eval.c: Delete #include "python/python.h".
4714 * main.c: Delete #include "python/python.h".
4716 * defs.h: Update comment.
4718 2014-02-06 Joel Brobecker <brobecker@adacore.com>
4722 2014-02-05 Mark Kettenis <kettenis@gnu.org>
4724 * c-exp.y (YYPRINT, c_print_token): Only define if YYBISON is
4727 2014-02-05 Yao Qi <yao@codesourcery.com>
4729 * remote.c (remote_pass_signals): Remove local 'buf' and use
4731 (remote_program_signals): Likewise.
4733 2014-02-05 Yao Qi <yao@codesourcery.com>
4735 * ctf.c: Include "inferior.h" and "gdbthread.h".
4736 (CTF_PID): A new macro.
4737 (ctf_open): Call inferior_appeared and add_thread_silent.
4738 (ctf_close): Call exit_inferior_silent and set inferior_ptid.
4739 (ctf_thread_alive): New function.
4740 (init_ctf_ops): Install ctf_thread_alive to to_thread_alive.
4742 2014-02-05 Yao Qi <yao@codesourcery.com>
4746 2013-05-24 Yao Qi <yao@codesourcery.com>
4748 * tracepoint.c (TFILE_PID): Remove.
4749 (tfile_open): Don't add thread and inferior.
4750 (tfile_close): Don't set 'inferior_ptid'. Don't call
4751 exit_inferior_silent.
4752 (tfile_thread_alive): Remove.
4753 (init_tfile_ops): Don't set field 'to_thread_alive' of
4756 2014-02-04 Christian Eggers <ceggers@gmx.de> (tiny change)
4758 * remote.c (remote_start_remote): Call remote_check_symbols even
4759 if only symbol-file (not file) has been given.
4761 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
4763 * gdbarch.sh (skip_entrypoint): New callback.
4764 * gdbarch.c, gdbarch.h: Regenerate.
4765 * symtab.c (skip_prologue_sal): Call gdbarch_skip_entrypoint.
4766 * infrun.c (fill_in_stop_func): Likewise.
4767 * ppc-linux-tdep.c: Include "elf/ppc64.h".
4768 (ppc_elfv2_elf_make_msymbol_special): New function.
4769 (ppc_elfv2_skip_entrypoint): Likewise.
4770 (ppc_linux_init_abi): Install them for ELFv2.
4772 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
4774 * ppc-sysv-tdep.c (ppc64_aggregate_candidate): New routine.
4775 (ppc64_elfv2_abi_homogeneous_aggregate): Likewise.
4776 (ppc64_sysv_abi_push_param): Handle ELFv2 homogeneous structs.
4777 (ppc64_sysv_abi_return_value): Likewise. Also, handle small
4778 structures returned in GPRs.
4780 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
4782 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_dummy_call): Use correct
4783 offset to the stack parameter list for the ELFv2 ABI.
4785 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
4787 * ppc-linux-tdep.c (ppc_linux_init_abi): Only call
4788 set_gdbarch_convert_from_func_ptr_addr and
4789 set_gdbarch_elf_make_msymbol_special for ELFv1.
4790 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_param): Only handle
4791 function descriptors on ELFv1.
4792 (ppc64_sysv_abi_push_dummy_call): Likewise. On ELFv2,
4793 set up r12 at function entry.
4795 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
4797 * ppc-tdep.h (enum powerpc_elf_abi): New data type.
4798 (struct gdbarch_tdep): New member elf_abi.
4800 * rs6000-tdep.c: Include "elf/ppc64.h".
4801 (rs6000_gdbarch_init): Detect ELF ABI version.
4803 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
4805 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_freg): Use correct order
4806 within a register pair holding a DFP 128-bit value on little-endian.
4807 (ppc64_sysv_abi_return_value_base): Likewise.
4808 * rs6000-tdep.c (dfp_pseudo_register_read): Likewise.
4809 (dfp_pseudo_register_write): Likewise.
4811 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
4813 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_freg): Use correct
4814 offset on little-endian when passing _Decimal32.
4815 (ppc64_sysv_abi_return_value_base): Likewise for return values.
4817 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
4819 * rs6000-tdep.c (efpr_pseudo_register_read): Use correct offset
4820 of the overlapped FP register within the VSX register on little-
4822 (efpr_pseudo_register_write): Likewise.
4824 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
4826 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_val): Use correct
4827 offset on little-endian when passing small structures.
4829 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
4831 * ppc-sysv-tdep.c (get_decimal_float_return_value): Update comment.
4832 (struct ppc64_sysv_argpos): New data structure.
4833 (ppc64_sysv_abi_push_float): Remove.
4834 (ppc64_sysv_abi_push_val): New function.
4835 (ppc64_sysv_abi_push_integer): Likewise.
4836 (ppc64_sysv_abi_push_freg): Likewise.
4837 (ppc64_sysv_abi_push_vreg): Likewise.
4838 (ppc64_sysv_abi_push_param): Likewise.
4839 (ppc64_sysv_abi_push_dummy_call): Refactor to use those new routines.
4840 (ppc64_sysv_abi_return_value_base): New function.
4841 (ppc64_sysv_abi_return_value): Refactor to use it.
4843 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
4845 * NEWS: Document new target powerpc64le-*-linux*.
4847 2014-02-04 Mark Kettenis <kettenis@gnu.org>
4849 * sparc64obsd-tdep.c (sparc64obsd_gregset): New variable.
4850 (sparc64obsd_supply_gregset): Handle registers sets used in ELF
4852 (sparc64obsd_init_abi): Adjust minimum size of the general purpose
4853 register set used in ELF core dumps. Add floating-point register set.
4855 2014-02-03 Kevin Buettner <kevinb@redhat.com>
4857 * mn10300-tdep.c (mn10300_dwarf2_reg_to_regnum): Rewrite
4858 dwarf2_to_gdb[] table using symbolic constants. Adjust
4859 penultimate entry from number representing the PC register
4860 to symbolic constant representing the MDR register. Add
4861 constant for the PC register to the end of the table.
4863 2014-02-03 Mark Kettenis <kettenis@gnu.org>
4865 * bsd-kvm.c: Include <sys/param.h>
4867 2014-02-03 Mark Kettenis <kettenis@gnu.org>
4869 * sparc64nbsd-nat.c (sparc64nbsd_supply_fpregset): Fix prototype.
4871 2014-01-31 Joel Brobecker <brobecker@adacore.com>
4873 * ada-lang.h (clear_ada_sym_cache): Delete.
4875 2014-01-30 Ulrich Weigand <uweigand@de.ibm.com>
4877 * auxv.c (fprint_target_auxv): Handle AT_HWCAP2.
4879 2014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
4881 * sparc64-linux-tdep.c (sparc64_linux_step_trap): Get PC from
4882 the sigreturn register save area only if the syscall is
4885 2014-01-29 Joel Brobecker <brobecker@adacore.com>
4887 * valops.c (value_slice): Minor reformatting.
4889 2014-01-28 Ulrich Weigand <uweigand@de.ibm.com>
4891 * ppc64-tdep.c (ppc64_standard_linkage7): Fix typo.
4893 2014-01-28 Joel Brobecker <brobecker@adacore.com>
4895 * ada-lang.c (maint_set_ada_cmdlist, maint_show_ada_cmdlist):
4897 (maint_set_ada_cmd, maint_show_ada_cmd): New functions.
4898 (ada_ignore_descriptive_types_p): New static global.
4899 (find_parallel_type_by_descriptive_type): Return immediately
4900 if ada_ignore_descriptive_types_p is set.
4901 (_initialize_ada_language): Register new commands "maintenance
4902 set ada", "maintenance show ada", "maintenance set ada
4903 ignore-descriptive-types" and "maintenance show ada
4904 ignore-descriptive-types".
4905 * NEWS: Add entry for new "maint ada set/show
4906 ignore-descriptive-types" commands.
4908 2014-01-27 Markus Metzger <markus.t.metzger@intel.com>
4910 * record-btrace.c (record_btrace_close): Call btrace_teardown
4913 2014-01-27 Joel Brobecker <brobecker@adacore.com>
4915 * ada-lang.c: Remove "#ifdef UI_OUT" condition for including
4918 2014-01-27 Joel Brobecker <brobecker@adacore.com>
4920 * ada-typeprint (type_is_full_subrange_of_target_type):
4922 (print_range): Add parameter bounds_prefered_p. If not set,
4923 try printing range types using the name of their base type.
4924 (print_range_type): Add parameter bounds_prefered_p.
4925 Use it in call to print_range.
4926 (print_array_type, ada_print_type): Update calls to print_range
4927 and print_range_type.
4929 2014-01-27 Joel Brobecker <brobecker@adacore.com>
4931 * ada-typeprint.c (print_array_type, print_choices, print_range)
4932 (print_range_bound, print_dynamic_range_bound, print_range_type):
4935 2014-01-27 Joel Brobecker <brobecker@adacore.com>
4937 * ada-typeprint.c (print_range): Add missing empty line
4938 after local declaration.
4940 2014-01-27 Joel Brobecker <brobecker@adacore.com>
4942 * ada-valprint.c (print_optional_low_bound): Get index_type's
4943 target type for as long as it is a TYPE_CODE_RANGE.
4945 2014-01-27 Joel Brobecker <brobecker@adacore.com>
4947 * procfs.c (procfs_make_note_section): Remove assertion and
4950 2014-01-24 Yao Qi <yao@codesourcery.com>
4952 * remote.c (remote_read_bytes): Change type of len to ULONGEST.
4953 * corelow.c (get_core_siginfo): Likewise.
4955 2014-01-24 Yao Qi <yao@codesourcery.com>
4957 * remote.c (remote_write_bytes_aux): Change type of 'len' to
4958 ULONGEST. Don't check 'len' is negative.
4959 (remote_write_bytes): Change type of 'len' to ULONGEST.
4961 2014-01-23 Tom Tromey <tromey@redhat.com>
4964 * python/lib/gdb/FrameDecorator.py: (FrameVars.fetch_frame_args):
4965 Handle exception from frame.block.
4966 (FrameVars.fetch_frame_locals): Likewise.
4968 2014-01-23 Tom Tromey <tromey@redhat.com>
4971 * python/py-framefilter.c (py_print_frame): Don't call Py_DECREF
4972 on a NULL pointer. Move "goto error" to correct place.
4974 2014-01-23 Tom Tromey <tromey@redhat.com>
4977 * python/py-framefilter.c (apply_frame_filter): Call
4978 ensure_python_env after computing gdbarch.
4980 2014-01-23 Yao Qi <yao@codesourcery.com>
4982 * target.c (raw_memory_xfer_partial): Change argument type
4983 from void * to gdb_byte *.
4984 (memory_xfer_partial_1, memory_xfer_partial): Likewise.
4986 2014-01-22 Doug Evans <dje@google.com>
4988 New gdbserver option --debug-format=timestamp.
4991 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
4993 * syscalls/s390x-linux.xml: New file.
4994 * syscalls/s390-linux.xml: New file.
4995 * s390-linux-tdep.c (XML_SYSCALL_FILENAME_S390): New macro.
4996 (XML_SYSCALL_FILENAME_S390X): Likewise.
4997 (op_svc): New enum value for SVC opcode.
4998 (s390_sigtramp_frame_sniffer): Replace literal by 'op_svc'.
4999 (s390_linux_get_syscall_number): New function.
5000 (s390_gdbarch_init): Register '*get_syscall_number' and the
5001 syscall xml file name.
5002 * data-directory/Makefile.in (SYSCALLS_FILES): Add
5003 "s390-linux.xml" and "s390x-linux.xml".
5004 * NEWS: Announce new feature.
5006 2014-01-22 Baruch Siach <baruch@tkos.co.il>
5008 * xtensa-tdep.h (xtensa_elf_greg_t): Change type to uint32_t.
5010 2014-01-22 Pedro Alves <palves@redhat.com>
5012 * xtensa-config.c: Include defs.h.
5014 2014-01-22 Joel Brobecker <brobecker@adacore.com>
5016 * common/common-utils.h: Add "ARI:" comment beside __func__
5019 2014-01-22 Joel Brobecker <brobecker@adacore.com>
5021 * common/common-utils.h (FUNCTION_NAME): Expand the macro's
5022 documentation a bit.
5024 2014-01-21 Roland McGrath <mcgrathr@google.com>
5026 * configure.ac: Call AM_PROG_INSTALL_STRIP.
5027 * configure: Regenerate.
5028 * aclocal.m4: Regenerate.
5029 * Makefile.in (install_sh, INSTALL_STRIP_PROGRAM, STRIP):
5030 New substituted variables.
5031 (install-strip): New target.
5032 (INSTALL_SCRIPT): New substituted variable.
5033 (FLAGS_TO_PASS): Add it.
5034 (install-only): Use $(INSTALL_SCRIPT) rather than
5035 $(INSTALL_PROGRAM) for gcore.
5037 2014-01-20 Tom Tromey <tromey@redhat.com>
5039 * cli/cli-decode.h (struct cmd_list_element): Move all bitfields
5042 2014-01-20 Tom Tromey <tromey@redhat.com>
5044 * cli/cli-decode.c (add_cmd, deprecate_cmd, add_alias_cmd)
5045 (add_setshow_cmd_full, delete_cmd, lookup_cmd_1)
5046 (deprecated_cmd_warning, complete_on_cmdlist): Update.
5047 * cli/cli-decode.h (CMD_DEPRECATED, DEPRECATED_WARN_USER)
5048 (MALLOCED_REPLACEMENT, DOC_ALLOCATED): Remove.
5049 (struct cmd_list_element) <flags>: Remove.
5050 <cmd_deprecated, deprecated_warn_user, malloced_replacement,
5051 doc_allocated>: New fields.
5052 <hook_in, allow_unknown, abbrev_flag, type, var_type>: Now
5054 * maint.c (maintenance_do_deprecate): Update.
5055 * top.c (execute_command): Update.
5057 2014-01-20 Baruch Siach <baruch@tkos.co.il>
5059 * xtensa-linux-nat.c: Include asm/ptrace.h.
5061 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
5063 * Makefile.in (SFILES): Add d-support.c.
5064 (COMMON_OBS): Add d-support.o.
5065 * d-lang.h (d_parse_symbol): Add comment, now defined in
5067 * d-lang.c (parse_call_convention)
5068 (parse_attributes, parse_function_types)
5069 (parse_function_args, parse_type, parse_identifier)
5070 (call_convention_p, d_parse_symbol): Move functions to ...
5071 * d-support.c: ... New file.
5073 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
5075 * d-lang.h (d_parse_symbol): Add declaration.
5076 * d-lang.c (extract_identifiers)
5077 (extract_type_info): Remove functions.
5078 (parse_call_convention, parse_attributes)
5079 (parse_function_types, parse_function_args)
5080 (parse_type, parse_identifier, call_convention_p)
5081 (d_parse_symbol): New functions.
5082 (d_demangle): Use d_parse_symbol to demangle D symbols.
5084 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
5086 * d-lang.h (struct builtin_d_type): New data type.
5087 (builtin_d_type): Add declaration.
5088 * d-lang.c (d_language_arch_info, build_d_types)
5089 (builtin_d_type): New functions.
5090 (enum d_primitive_types): New data type.
5091 (d_language_defn): Change c_language_arch_info to
5092 d_language_arch_info.
5093 (d_type_data): New static variable.
5094 (_initialize_d_language): Initialize d_type_data.
5096 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
5098 * d-lang.h (d_main_name): Add declaration.
5099 * d-lang.c (d_main_name): New function.
5100 * symtab.c (find_main_name): Add call to d_main_name.
5102 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
5104 * d-lang.c (d_language_defn): Change macro_expansion_c to
5107 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
5109 * MAINTAINERS: Add myself as a write-after-approval maintainer.
5111 2014-01-17 Sergio Durigan Junior <sergiodj@redhat.com>
5113 * breakpoint.c (insert_bp_location): Add "volatile" keyword to "struct
5114 gdb_exception" declaration.
5115 * remote.c (getpkt_or_notif_sane): Likewise.
5117 2014-01-17 Doug Evans <dje@google.com>
5119 * common/gdb_vecs.c (delim_string_to_char_ptr_vec_append): New
5120 function, contents of dirnames_to_char_ptr_vec_append moved here.
5121 (delim_string_to_char_ptr_vec): New function.
5122 (dirnames_to_char_ptr_vec_append): Rewrite.
5123 * common/gdb_vecs.h (delim_string_to_char_ptr_vec): Declare.
5125 2014-01-17 Doug Evans <dje@google.com>
5127 * common/common-utils.h (FUNCTION_NAME): Renamed from ASSERT_FUNCTION,
5129 * common/gdb_assert.h (ASSERT_FUNCTION): ... from here.
5130 #include "common-utils.h".
5131 (gdb_assert, gdb_assert_fail, gdb_assert_not_reached): Update.
5132 * common/vec.h (VEC_ASSERT_PASS): Update.
5133 * darwin-nat.h: Replace #include of gdb_assert.h with common-utils.h.
5134 (MACH_CHECK_ERROR): Update.
5136 2014-01-17 Simon Marchi <simon.marchi@ericsson.com>
5138 * gdbarch.sh (gdbarch_address_class_name_to_type_flags): Add
5140 * gdbarch.h: Regenerate.
5142 2014-01-16 Tom Tromey <tromey@redhat.com>
5144 * value.c (struct value) <regnum>: Move earlier.
5146 2014-01-16 Tom Tromey <tromey@redhat.com>
5148 * remote.c (extended_remote_create_inferior): Rename from
5149 extended_remote_create_inferior_1. Add "ops" argument. Remove
5152 2014-01-16 Pedro Alves <palves@redhat.com>
5154 * s390-linux-tdep.c (s390_frame_unwind_cache): Swallow
5155 NOT_AVAILABLE_ERROR errors while parsing the prologue or reading
5158 2014-01-16 Doug Evans <dje@google.com>
5160 * dwarf2read.c (open_and_init_dwp_file): Fix typo in comment.
5162 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5164 * btrace.h (btrace_thread_flag): New.
5165 (struct btrace_thread_info) <flags>: New.
5166 * record-btrace.c (record_btrace_resume_thread)
5167 (record_btrace_find_thread_to_move, btrace_step_no_history)
5168 (btrace_step_stopped, record_btrace_start_replaying)
5169 (record_btrace_step_thread, record_btrace_decr_pc_after_break)
5170 (record_btrace_find_resume_thread): New.
5171 (record_btrace_resume, record_btrace_wait): Extend.
5172 (record_btrace_can_execute_reverse): New.
5173 (record_btrace_open): Fail in non-stop mode.
5174 (record_btrace_set_replay): Split into this, ...
5175 (record_btrace_stop_replaying): ... this, ...
5176 (record_btrace_clear_histories): ... and this.
5177 (init_record_btrace_ops): Init to_can_execute_reverse.
5178 * NEWS: Announce it.
5180 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5182 * target.h (struct target_ops) <to_decr_pc_after_break>: New.
5183 (forward_target_decr_pc_after_break)
5184 (target_decr_pc_after_break): New.
5185 * target.c (forward_target_decr_pc_after_break)
5186 (target_decr_pc_after_break): New.
5187 * aix-thread.c (aix_thread_wait): Call target_decr_pc_after_break
5188 instead of gdbarch_decr_pc_after_break.
5189 * darwin-nat.c (cancel_breakpoint): Call target_decr_pc_after_break
5190 instead of gdbarch_decr_pc_after_break.
5191 * infrun.c (adjust_pc_after_break): Call target_decr_pc_after_break
5192 instead of gdbarch_decr_pc_after_break.
5193 * linux-nat.c (cancel_breakpoint): Call target_decr_pc_after_break
5194 instead of gdbarch_decr_pc_after_break.
5195 * linux-thread-db.c (check_event): Call target_decr_pc_after_break
5196 instead of gdbarch_decr_pc_after_break.
5197 * record-full.c (record_full_wait_1): Call target_decr_pc_after_break
5198 instead of gdbarch_decr_pc_after_break.
5200 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5202 * btrace.c: Include regcache.h.
5203 (btrace_add_pc): New.
5204 (btrace_enable): Call btrace_add_pc.
5205 (btrace_is_empty): New.
5206 * btrace.h (btrace_is_empty): New.
5207 * record-btrace.c (require_btrace, record_btrace_info): Call
5210 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5212 * common/linux-btrace.c (perf_event_read_bts, linux_read_btrace):
5213 Support delta reads.
5214 (linux_disable_btrace): Change return type.
5215 * common/linux-btrace.h (linux_read_btrace): Change parameters
5216 and return type to allow error reporting. Update users.
5217 (linux_disable_btrace): Change return type. Update users.
5218 * common/btrace-common.h (btrace_read_type) <BTRACE_READ_DELTA>:
5220 (btrace_error): New.
5221 (btrace_block) <begin>: Comment on BEGIN == 0.
5222 * btrace.c (btrace_compute_ftrace): Start from the end of
5224 (btrace_stitch_trace, btrace_clear_history): New.
5225 (btrace_fetch): Read delta trace, return if replaying.
5226 (btrace_clear): Move clear history code to btrace_clear_history.
5227 (parse_xml_btrace): Throw an error if parsing failed.
5228 * target.h (struct target_ops) <to_read_btrace>: Change parameters
5229 and return type to allow error reporting.
5230 (target_read_btrace): Change parameters and return type to allow
5232 * target.c (target_read_btrace): Update.
5233 * remote.c (remote_read_btrace): Support delta reads. Pass
5235 * NEWS: Announce it.
5237 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5239 * record.h (record_btrace_frame_unwind)
5240 (record_btrace_tailcall_frame_unwind): New declarations.
5241 * dwarf2-frame: Include record.h
5242 (dwarf2_frame_cfa): Throw an error for btrace frames.
5243 * record-btrace.c: Include hashtab.h.
5244 (btrace_get_bfun_name): New.
5245 (btrace_call_history): Call btrace_get_bfun_name.
5246 (struct btrace_frame_cache): New.
5248 (bfcache_hash, bfcache_eq, bfcache_new): New.
5249 (btrace_get_frame_function): New.
5250 (record_btrace_frame_unwind_stop_reason): Allow unwinding.
5251 (record_btrace_frame_this_id): Compute own id.
5252 (record_btrace_frame_prev_register): Provide PC, throw_error
5253 for all other registers.
5254 (record_btrace_frame_sniffer): Detect btrace frames.
5255 (record_btrace_tailcall_frame_sniffer): New.
5256 (record_btrace_frame_dealloc_cache): New.
5257 (record_btrace_frame_unwind): Add new functions.
5258 (record_btrace_tailcall_frame_unwind): New.
5259 (_initialize_record_btrace): Allocate cache.
5260 * btrace.c (btrace_clear): Call reinit_frame_cache.
5261 * NEWS: Announce it.
5263 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5265 * record-btrace.c (record_btrace_set_replay)
5266 (record_btrace_goto_begin, record_btrace_goto_end)
5267 (record_btrace_goto): New.
5268 (init_record_btrace_ops): Initialize them.
5269 * NEWS: Announce it.
5271 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5273 * record-btrace.c (record_btrace_find_new_threads)
5274 (record_btrace_thread_alive): New.
5275 (init_record_btrace_ops): Initialize to_find_new_threads and
5278 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5280 * record-btrace.c (record_btrace_resume): New.
5281 (record_btrace_wait): New.
5282 (init_record_btrace_ops): Initialize to_wait and to_resume.
5284 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5286 * record-btrace.c (record_btrace_xfer_partial)
5287 (record_btrace_insert_breakpoint, record_btrace_remove_breakpoint)
5288 (record_btrace_allow_memory_access): New.
5289 (init_record_btrace_ops): Initialize new methods.
5290 * target.c (raw_memory_xfer_partial): Bail out if target reports
5291 that this memory is not available.
5293 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5295 * target.h (target_ops) <to_insert_breakpoint>
5296 <to_remove_breakpoint>: Add target_ops parameter.
5297 (forward_target_insert_breakpoint): New.
5298 (forward_target_remove_breakpoint): New.
5299 (memory_remove_breakpoint, memory_insert_breakpoint):
5300 Add target_ops parameter.
5301 * target.c (target_insert_breakpoint): Split into this and ...
5302 (forward_target_insert_breakpoint): ... this.
5303 (target_remove_breakpoint): Split into this and ...
5304 (forward_target_remove_breakpoint): ... this.
5305 (debug_to_insert_breakpoint): Add target_ops parameter.
5306 Call forward_target_insert_breakpoint.
5307 (debug_to_remove_breakpoint): Add target_ops parameter.
5308 Call forward_target_remove_breakpoint.
5309 (update_current_target): Do not inherit or default to_insert_breakpoint
5310 and to_remove_breakpoint.
5311 * corelow.c (ignore): Add target_ops parameter.
5312 * exec.c (ignore): Add target_ops parameter.
5313 * mem-break.c (memory_insert_breakpoint, memory_remove_breakpoint):
5314 Add target_ops parameter.
5315 * monitor.c (monitor_insert_breakpoint, monitor_remove_breakpoint):
5316 Add target_ops parameter.
5317 * nto-procfs.c (procfs_insert_breakpoint, procfs_remove_breakpoint):
5318 Add target_ops parameter.
5319 * record-full.c (record_full_beneath_to_insert_breakpoint)
5320 (record_full_beneath_to_remove_breakpoint, tmp_to_insert_breakpoint)
5321 (tmp_to_remove_breakpoint, record_full_insert_breakpoint)
5322 (record_full_remove_breakpoint, record_full_core_insert_breakpoint)
5323 (record_full_core_remove_breakpoint): Add target_ops parameter.
5325 (record_full_beneath_to_insert_breakpoint_ops)
5326 (record_full_beneath_to_remove_breakpoint_ops)
5327 (tmp_to_insert_breakpoint_ops, tmp_to_remove_breakpoint_ops): New.
5328 (record_full_open): Initialize tmp_to_insert_breakpoint_ops,
5329 tmp_to_remove_breakpoint_ops,
5330 record_full_beneath_to_insert_breakpoint_ops, and
5331 record_full_beneath_to_remove_breakpoint_ops.
5332 * remote-m32r-sdi.c (m32r_insert_breakpoint)
5333 (m32r_remove_breakpoint): Add target_ops parameter.
5334 * remote-mips.c (mips_insert_breakpoint, mips_remove_breakpoint):
5335 Add target_ops parameter.
5336 * remote.c (remote_insert_breakpoint, remote_remove_breakpoint):
5337 Add target_ops parameter.
5339 2014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
5340 Markus Metzger <markus.t.metzger@intel.com>
5342 * record-btrace.c: Include frame-unwind.h.
5343 (record_btrace_frame_unwind_stop_reason)
5344 (record_btrace_frame_this_id, record_btrace_frame_prev_register)
5345 (record_btrace_frame_sniffer, record_btrace_frame_unwind):
5347 (init_record_btrace_ops): Install it.
5349 2014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
5351 * frame.c (get_frame_unwind_stop_reason): Unconditionally call
5354 2014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
5356 * dwarf2-frame.c (dwarf2_frame_cfa): Move UNWIND_UNAVAILABLE check
5359 2014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
5361 * frame-unwind.c: Include target.h.
5362 (frame_unwind_try_unwinder): New function with code from ...
5363 (frame_unwind_find_by_frame): ... here. New variable
5364 unwinder_from_target, call also target_get_unwinder)
5365 (target_get_tailcall_unwinder, and frame_unwind_try_unwinder for it.
5366 * target.c (target_get_unwinder, target_get_tailcall_unwinder): New.
5367 * target.h (struct target_ops): New fields to_get_unwinder and
5368 to_get_tailcall_unwinder.
5369 (target_get_unwinder, target_get_tailcall_unwinder): New declarations.
5371 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5373 * record-btrace.c (record_btrace_fetch_registers)
5374 (record_btrace_store_registers)
5375 (record_btrace_to_prepare_to_store): New.
5376 (init_record_btrace_ops): Add the above.
5378 2014-01-16 Tom Tromey <tromey@redhat.com>
5380 * windows-nat.c (windows_prepare_to_store): Add 'self' argument.
5381 * target.h (struct target_ops) <to_prepare_to_store>: Add
5383 (target_prepare_to_store): Add argument.
5384 * target.c (debug_to_prepare_to_store): Add argument.
5385 (update_current_target): Update.
5386 * remote.c (remote_prepare_to_store): Add 'self' argument.
5387 * remote-sim.c (gdbsim_prepare_to_store): Add 'self' argument.
5388 * remote-mips.c (mips_prepare_to_store): Add 'self' argument.
5389 * remote-m32r-sdi.c (m32r_prepare_to_store): Add 'self' argument.
5390 * record-full.c (record_full_core_prepare_to_store): Add 'self'
5392 * ravenscar-thread.c (ravenscar_prepare_to_store): Add argument.
5393 * nto-procfs.c (procfs_prepare_to_store): Add 'self' argument.
5394 * monitor.c (monitor_prepare_to_store): Add 'self' argument.
5395 * inf-child.c (inf_child_prepare_to_store): Add 'self' argument.
5396 * go32-nat.c (go32_prepare_to_store): Add 'self' argument.
5398 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5400 * btrace.h (replay) <replay>: New.
5401 (btrace_is_replaying): New.
5402 * btrace.c (btrace_clear): Free replay iterator.
5403 (btrace_is_replaying): New.
5404 * record-btrace.c (record_btrace_is_replaying): New.
5405 (record_btrace_info): Print insn number if replaying.
5406 (record_btrace_insn_history): Start at replay position.
5407 (record_btrace_call_history): Start at replay position.
5408 (init_record_btrace_ops): Init to_record_is_replaying.
5410 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5412 * record-btrace.c (record_btrace_insn_history_range): Include
5414 (record_btrace_insn_history_from): Adjust range.
5415 (record_btrace_call_history_range): Include
5417 (record_btrace_call_history_from): Adjust range.
5418 * NEWS: Announce changes.
5420 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5422 * record.h (enum record_print_flag)
5423 <record_print_indent_calls>: New.
5424 * record.c (get_call_history_modifiers): Recognize /c modifier.
5425 (_initialize_record): Document /c modifier.
5426 * record-btrace.c (btrace_call_history): Add btinfo parameter.
5427 Reorder fields. Optionally indent the function name. Update
5429 * NEWS: Announce changes.
5431 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5433 * common/linux-btrace.c (linux_enable_btrace): Enlarge buffer.
5435 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5437 * btrace.c (ftrace_new_function): Start counting at one.
5438 * record-btrace.c (record_btrace_info): Adjust number of calls
5440 * NEWS: Announce it.
5442 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5444 * record-btrace.c (btrace_call_history_insn_range): Print
5445 insn range as [begin, end].
5447 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5449 * btrace.h (struct btrace_func_link): New.
5450 (enum btrace_function_flag): New.
5451 (struct btrace_inst): Rename to ...
5452 (struct btrace_insn): ...this. Update all users.
5453 (struct btrace_func) <ibegin, iend>: Remove.
5454 (struct btrace_func_link): New.
5455 (struct btrace_func): Rename to ...
5456 (struct btrace_function): ...this. Update all users.
5457 (struct btrace_function) <segment, flow, up, insn, insn_offset)
5458 (number, level, flags>: New.
5459 (struct btrace_insn_iterator): Rename to ...
5460 (struct btrace_insn_history): ...this.
5462 (struct btrace_insn_iterator, btrace_call_iterator): New.
5463 (struct btrace_target_info) <btrace, itrace, ftrace>: Remove.
5464 (struct btrace_target_info) <begin, end, level>
5465 <insn_history, call_history>: New.
5466 (btrace_insn_get, btrace_insn_number, btrace_insn_begin)
5467 (btrace_insn_end, btrace_insn_prev, btrace_insn_next)
5468 (btrace_insn_cmp, btrace_find_insn_by_number, btrace_call_get)
5469 (btrace_call_number, btrace_call_begin, btrace_call_end)
5470 (btrace_call_prev, btrace_call_next, btrace_call_cmp)
5471 (btrace_find_function_by_number, btrace_set_insn_history)
5472 (btrace_set_call_history): New.
5473 * btrace.c (btrace_init_insn_iterator)
5474 (btrace_init_func_iterator, compute_itrace): Remove.
5475 (ftrace_print_function_name, ftrace_print_filename)
5476 (ftrace_skip_file): Change
5478 (ftrace_init_func): Remove.
5479 (ftrace_debug): Use new btrace_function fields.
5480 (ftrace_function_switched): Also consider gaining and
5481 losing symbol information).
5482 (ftrace_print_insn_addr, ftrace_new_call, ftrace_new_return)
5483 (ftrace_new_switch, ftrace_find_caller, ftrace_new_function)
5484 (ftrace_update_caller, ftrace_fixup_caller, ftrace_new_tailcall):
5486 (ftrace_new_function): Move. Remove debug print.
5487 (ftrace_update_lines, ftrace_update_insns): New.
5488 (ftrace_update_function): Check for call, ret, and jump.
5489 (compute_ftrace): Renamed to ...
5490 (btrace_compute_ftrace): ...this. Rewritten to compute call
5492 (btrace_fetch, btrace_clear): Updated.
5493 (btrace_insn_get, btrace_insn_number, btrace_insn_begin)
5494 (btrace_insn_end, btrace_insn_prev, btrace_insn_next)
5495 (btrace_insn_cmp, btrace_find_insn_by_number, btrace_call_get)
5496 (btrace_call_number, btrace_call_begin, btrace_call_end)
5497 (btrace_call_prev, btrace_call_next, btrace_call_cmp)
5498 (btrace_find_function_by_number, btrace_set_insn_history)
5499 (btrace_set_call_history): New.
5500 * record-btrace.c (require_btrace): Use new btrace thread
5502 (record_btrace_info, btrace_insn_history)
5503 (record_btrace_insn_history, record_btrace_insn_history_range):
5504 Use new btrace thread info fields and new iterator.
5505 (btrace_func_history_src_line): Rename to ...
5506 (btrace_call_history_src_line): ...this. Use new btrace
5508 (btrace_func_history): Rename to ...
5509 (btrace_call_history): ...this. Use new btrace thread info
5510 fields and new iterator.
5511 (record_btrace_call_history, record_btrace_call_history_range):
5512 Use new btrace thread info fields and new iterator.
5514 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5516 * frame.h (frame_id_build_unavailable_stack_special): New.
5517 * frame.c (frame_id_build_unavailable_stack_special): New.
5519 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5521 * amd64-tdep.c (amd64_classify_insn_at, amd64_insn_is_call)
5522 (amd64_insn_is_ret, amd64_insn_is_jump, amd64_jmp_p): New.
5523 (amd64_init_abi): Add insn_is_call, insn_is_ret, and insn_is_jump
5525 * i386-tdep.c (i386_insn_is_call, i386_insn_is_ret)
5526 (i386_insn_is_jump, i386_jmp_p): New.
5527 (i386_gdbarch_init): Add insn_is_call, insn_is_ret, and
5528 insn_is_jump to gdbarch.
5529 * gdbarch.sh (insn_is_call, insn_is_ret, insn_is_jump): New.
5530 * gdbarch.h: Regenerated.
5531 * gdbarch.c: Regenerated.
5532 * arch-utils.h (default_insn_is_call, default_insn_is_ret)
5533 (default_insn_is_jump): New.
5534 * arch-utils.c (default_insn_is_call, default_insn_is_ret)
5535 (default_insn_is_jump): New.
5537 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5539 * common/btrace-common.h (btrace_read_type) <btrace_read_all>:
5541 (btrace_read_type) <BTRACE_READ_ALL>: ... this. Update users.
5542 (btrace_read_type) <btrace_read_new>: Change to ...
5543 (btrace_read_type) <BTRACE_READ_NEW>: ... this. Update users.
5545 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5547 * common/linux-btrace.c (linux_read_btrace): Free trace from
5550 2014-01-15 Doug Evans <dje@google.com>
5552 * dwarf2read.c (open_and_init_dwp_file): Use pulongest to print
5555 2014-01-15 Tom Tromey <tromey@redhat.com>
5557 * dbxread.c (process_one_symbol): Use set_objfile_main_name.
5558 * dwarf2read.c (read_partial_die): Use set_objfile_main_name.
5559 * objfiles.c (get_objfile_bfd_data): Initialize language_of_main.
5560 (set_objfile_main_name): New function.
5561 * objfiles.h (struct objfile_per_bfd_storage) <name_of_main,
5562 language_of_main>: New fields.
5563 (set_objfile_main_name): Declare.
5564 * symtab.c (find_main_name): Loop over objfiles to find the main
5566 (set_main_name): Now static.
5567 (get_main_info): Add comment.
5568 * symtab.h (set_main_name): Don't declare.
5570 2014-01-15 Tom Tromey <tromey@redhat.com>
5572 * symtab.c (main_progspace_key): New global.
5573 (struct main_info): New.
5574 (name_of_main, language_of_main): Remove.
5575 (get_main_info, main_info_cleanup): New function.
5576 (set_main_name, main_name, main_language): Use get_main_info.
5577 (_initialize_symtab): Initialize main_progspace_key.
5579 2014-01-15 Tom Tromey <tromey@redhat.com>
5581 * dbxread.c (process_one_symbol): Update.
5582 * dwarf2read.c (read_partial_die): Update.
5583 * symfile.c (set_initial_language): Call main_language.
5584 * symtab.c (language_of_main): Now static.
5585 (set_main_name): Add 'lang' parameter.
5586 (find_main_name): Update.
5587 (main_language): New function.
5588 (symtab_observer_executable_changed): Update.
5589 * symtab.h (set_main_name): Update.
5590 (language_of_main): Remove.
5591 (main_language): Declare.
5593 2014-01-15 Tom Tromey <tromey@redhat.com>
5595 * symfile.c (init_entry_point_info): Use new "initialized" field.
5597 * objfiles.h (struct entry_point) <initialized>: New field.
5598 (struct objfile_per_bfd_storage) <ei>: New field, moved from...
5599 (struct objfile) <ei>: ...here. Remove.
5600 * objfiles.c (entry_point_address_query): Update.
5602 2014-01-15 Tom Tromey <tromey@redhat.com>
5604 * objfiles.c (entry_point_address_query): Relocate entry point
5606 (objfile_relocate1): Do not relocate entry point address.
5607 * objfiles.h (struct entry_info) <entry_point>: Update comment.
5608 <the_bfd_section_index>: New field.
5609 * symfile.c (init_entry_point_info): Find the entry point's
5612 2014-01-15 Tom Tromey <tromey@redhat.com>
5614 * solib-frv.c (enable_break): Use entry_point_address_query.
5616 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
5618 * NEWS: Add note on improved process record-replay on
5619 arm*-linux* targets.
5621 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
5623 * arm-tdep.c (enum arm_record_result): New enum.
5624 (arm_record_unsupported_insn): New function.
5625 (arm_record_coproc_data_proc): Removed.
5626 (thumb2_record_ld_st_multiple): New function.
5627 (thumb2_record_ld_st_dual_ex_tbb): New function.
5628 (thumb2_record_data_proc_sreg_mimm): New function.
5629 (thumb2_record_ps_dest_generic): New function.
5630 (thumb2_record_branch_misc_cntrl): New function.
5631 (thumb2_record_str_single_data): New function.
5632 (thumb2_record_ld_mem_hints): New function.
5633 (thumb2_record_ld_word): New function.
5634 (thumb2_record_lmul_lmla_div): New function.
5635 (thumb2_record_decode_insn_handler): New function.
5636 (decode_insn): Add thumb32 instruction handlers.
5638 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
5640 * arm-linux-tdep.c: Include "record-full.h" and "linux-record.h".
5641 (struct arm_linux_record_tdep): Declare.
5642 (arm_canonicalize_syscall): New function.
5643 (arm_all_but_pc_registers_record): New function.
5644 (arm_linux_syscall_record): New function.
5645 (arm_linux_init_abi): Add syscall recording constructs.
5646 * arm-tdep.c (thumb_record_ldm_stm_swi): Update thumb syscall
5647 decoding. (arm_record_coproc_data_proc): Update arm syscall
5649 * arm-tdep.h (struct gdbarch_tdep) <arm_swi_record>: Remove.
5650 <arm_syscall_record>: New field.
5651 * configure.tgt (arm*-*-linux*): Add linux-record.o to
5654 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
5656 * arm-tdep.c (thumb_record_misc): Update to use sp as base
5657 register for push instruction recording.
5659 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
5661 * arm-tdep.c (thumb_record_misc): Update to correct logical
5662 error while recording ldm, ldmia and pop instructions.
5664 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
5666 * arm-tdep.c (struct arm_mem_r) <addr>: Change type to uint32_t.
5668 2014-01-15 Pedro Alves <palves@redhat.com>
5670 * go32-nat.c (go32_open, go32_close, go32_attach, go32_detach)
5671 (go32_resume, go32_fetch_registers, store_register)
5672 (go32_store_registers, go32_prepare_to_store)
5673 (go32_xfer_memory, go32_files_info, go32_kill_inferior)
5674 (go32_create_inferior, go32_can_run, go32_terminal_init)
5675 (go32_terminal_inferior, go32_terminal_ours): Delete forward
5678 2014-01-15 Tom Tromey <tromey@redhat.com>
5680 * target.h (async_callback_ftype): New typedef.
5681 (struct target_ops) <to_async>: Use it.
5683 2014-01-15 Joel Brobecker <brobecker@adacore.com>
5685 * python/py-value.c (get_field_type): Remove unnecessary curly
5686 braces for single-statement if block.
5688 2014-01-15 Joel Brobecker <brobecker@adacore.com>
5690 * python/py-type.c (convert_field): Add missing empty line
5693 2014-01-14 Doug Evans <dje@google.com>
5695 * symfile.h (expand_symtabs_matching): Renamed from
5696 expand_partial_symbol_names. Update prototype.
5697 (map_symbol_filenames): Renamed from map_partial_symbol_filenames.
5698 * symfile.c (expand_symtabs_matching): Renamed from
5699 expand_partial_symbol_names. New args file_matcher, kind.
5700 Rename arg fun to symbol_matcher.
5701 (map_symbol_filenames): Renamed from map_partial_symbol_filenames.
5702 * ada-lang.c (ada_complete_symbol_matcher): Renamed from
5703 ada_expand_partial_symbol_name.
5704 (ada_make_symbol_completion_list): Update to call
5705 expand_symtabs_matching.
5706 (ada_add_global_exceptions): Call expand_symtabs_matching.
5707 * mi/mi-cmd-file.c (mi_cmd_file_list_exec_source_files): Update to
5708 call map_symbol_filenames.
5709 * symtab.c (sources_info): Update to call map_symbol_filenames.
5710 (search_symbols): Call expand_symtabs_matching.
5711 (symbol_completion_matcher): Renamed from expand_partial_symbol_name.
5712 (default_make_symbol_completion_list_break_on): Update to call
5713 expand_symtabs_matching.
5714 (make_source_files_completion_list): Update to call
5715 map_symbol_filenames.
5717 2014-01-14 Doug Evans <dje@google.com>
5719 * symfile.h (expand_symtabs_file_matcher_ftype): New typedef.
5720 (expand_symtabs_symbol_matcher_ftype): New typedef.
5721 (quick_symbol_functions.expand_symtabs_matching): Update to use.
5722 expand_symtabs_file_matcher_ftype, expand_symtabs_symbol_matcher_ftype.
5723 * symfile.c (expand_partial_symbol_names): Update to use
5724 expand_symtabs_symbol_matcher_ftype.
5725 * dwarf2read.c (dw2_expand_symtabs_matching): Update to use
5726 expand_symtabs_file_matcher_ftype, expand_symtabs_symbol_matcher_ftype.
5727 Arg name_matcher renamed to symbol_matcher.
5728 * psymtab.c (recursively_search_psymtabs): Update to use
5729 expand_symtabs_symbol_matcher_ftype. Arg name_matcher renamed to
5731 (expand_symtabs_matching_via_partial): Update to use
5732 expand_symtabs_file_matcher_ftype, expand_symtabs_symbol_matcher_ftype.
5733 Arg name_matcher renamed to symbol_matcher.
5735 2014-01-14 Doug Evans <dje@google.com>
5737 * psymtab.c (expand_partial_symbol_names): Delete, moved to symfile.c.
5738 (map_partial_symbol_filenames): Ditto.
5739 * psymtab.h (expand_partial_symbol_names): Delete, moved to symfile.h.
5740 (map_partial_symbol_filenames): Ditto.
5741 * symfile.c (expand_partial_symbol_names): Moved here from psymtab.c.
5742 (map_partial_symbol_filenames): Ditto.
5743 * symfile.h (expand_partial_symbol_names): Moved here from psymtab.h.
5744 (map_partial_symbol_filenames): Ditto.
5745 * symtab.c: Delete #include "psymtab.h".
5747 2014-01-14 Pedro Alves <palves@redhat.com>
5748 Tom Tromey <tromey@redhat.com>
5750 * infrun.c (use_displaced_stepping): Use find_record_target
5751 instead of RECORD_IS_USED.
5752 (adjust_pc_after_break): Use record_full_is_used instead of
5754 * record-btrace.c (record_btrace_open): Call record_preopen
5755 instead of checking RECORD_IS_USED.
5756 * record-full.c (record_full_shortname)
5757 (record_full_core_shortname): New globals.
5758 (record_full_is_used): New function.
5759 (find_full_open): Call record_preopen instead of checking
5761 (init_record_full_ops): Set the target's shortname to
5762 record_full_shortname.
5763 (init_record_full_core_ops): Set the target's shortname to
5764 record_full_core_shortname.
5765 * record-full.h (record_full_is_used): Declare.
5766 * record.c (find_record_target): Make extern.
5767 (record_preopen): New function.
5768 * record.h (RECORD_IS_USED): Delete macro.
5769 (find_record_target, record_preopen): Declare functions.
5771 2014-01-14 Yao Qi <yao@codesourcery.com>
5773 * gdbarch.sh (core_xfer_shared_libraries): Change its argument
5774 'len''s type to ULONGEST.
5775 (core_xfer_shared_libraries_aix): Likewise.
5776 * gdbarch.c, gdbarch.h: Regenerated.
5777 * i386-cygwin-tdep.c (windows_core_xfer_shared_libraries):
5778 Change type of 'len' to ULONGEST.
5779 * rs6000-aix-tdep.c (rs6000_aix_ld_info_to_xml): Likewise.
5780 (rs6000_aix_core_xfer_shared_libraries_aix): Likewise.
5782 2014-01-14 Yao Qi <yao@codesourcery.com>
5784 * common/linux-osdata.c (linux_xfer_osdata_processes): Change
5785 type of 'len' to ULONGEST.
5786 (linux_xfer_osdata_processgroups): Likewise.
5787 (linux_xfer_osdata_threads): Likewise.
5788 (linux_xfer_osdata_fds): Likewise.
5789 (linux_xfer_osdata_isockets): Likewise.
5790 (linux_xfer_osdata_shm): Likewise.
5791 (linux_xfer_osdata_sem): Likewise.
5792 (linux_xfer_osdata_msg): Likewise.
5793 (linux_common_xfer_osdata): Likewise.
5794 (struct osdata_type) <getter>: Likewise.
5795 * common/linux-osdata.h (linux_common_xfer_osdata): Update
5798 2014-01-14 Yao Qi <yao@codesourcery.com>
5800 * target.h (target_xfer_partial_ftype): Update.
5801 (struct target_ops) <to_xfer_partial>: Change 'len' type to
5803 * aix-thread.c (aix_thread_xfer_partial): Change type of
5804 argument 'len' to ULONGEST.
5805 * auxv.c (procfs_xfer_auxv): Likewise.
5806 (ld_so_xfer_auxv): Likewise.
5807 (memory_xfer_auxv): Likewise.
5808 * bfd-target.c (target_bfd_xfer_partial): Likewise.
5809 * bsd-kvm.c (bsd_kvm_xfer_partial): Likewise.
5810 * bsd-uthread.c (bsd_uthread_xfer_partial): Likewise.
5811 * corelow.c (core_xfer_partial): Likewise.
5812 * ctf.c (ctf_xfer_partial): Likewise.
5813 * darwin-nat.c (darwin_read_write_inferior): Likewise. Use
5815 (darwin_read_dyld_info): Likewise.
5816 (darwin_xfer_partial): Likewise.
5817 * exec.c (section_table_xfer_memory_partial): Likewise.
5818 (exec_xfer_partial): Likewise.
5819 * exec.h (section_table_xfer_memory_partial): Update
5821 * gnu-nat.c (gnu_xfer_memory): Likewise. Call pulongest
5822 instead of plongest.
5823 (gnu_xfer_partial): Likewise.
5824 * ia64-hpux-nat.c (ia64_hpux_xfer_memory): Likewise.
5825 (ia64_hpux_xfer_solib_got): Likewise.
5826 (ia64_hpux_xfer_partial): Likewise.
5827 * ia64-linux-nat.c (ia64_linux_xfer_partial):
5828 * inf-ptrace.c (inf_ptrace_xfer_partial):
5829 * inf-ttrace.c (inf_ttrace_xfer_partial):
5830 * linux-nat.c (linux_xfer_siginfo): Likewise.
5831 (linux_nat_xfer_partial): Likewise.
5832 (spu_enumerate_spu_ids, linux_proc_xfer_spu): Likewise.
5833 (linux_nat_xfer_osdata, linux_xfer_partial): Likewise.
5834 * monitor.c (monitor_xfer_memory): Likewise.
5835 (monitor_xfer_partial): Likewise.
5836 * procfs.c (procfs_xfer_partial): Likewise.
5837 * record-full.c (record_full_xfer_partial): Likewise.
5838 (record_full_core_xfer_partial): Likewise.
5839 * remote-sim.c (gdbsim_xfer_memory): Likewise. Call pulongest
5840 instead of plongest.
5841 (gdbsim_xfer_partial): Likewise.
5842 * remote.c (remote_xfer_partial): Likewise.
5843 * rs6000-aix-tdep.c (rs6000_aix_ld_info_to_xml): Likewise.
5844 * rs6000-aix-tdep.h (rs6000_aix_ld_info_to_xml): Update
5846 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
5847 (rs6000_xfer_shared_libraries): Likewise.
5848 * sol-thread.c (sol_thread_xfer_partial): Likewise.
5849 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
5850 (sparc_xfer_partial): Likewise.
5851 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise.
5852 (spu_xfer_partial): Likewise.
5853 * spu-multiarch.c (spu_xfer_partial): Likewise.
5854 * target.c (target_read_live_memory): Likewise.
5855 (memory_xfer_live_readonly_partial): Likewise.
5856 (memory_xfer_partial, memory_xfer_partial_1): Likewise.
5857 (target_xfer_partial, default_xfer_partial): Likewise.
5858 (current_xfer_partial): Likewise.
5859 * tracepoint.c (tfile_xfer_partial): Likewise.
5860 * windows-nat.c (windows_xfer_memory): Likewise. Call
5861 pulongest instead of plongest.
5862 (windows_xfer_partial): Likewise.
5863 (windows_xfer_shared_libraries): Likewise.
5865 2014-01-14 Yao Qi <yao@codesourcery.com>
5867 * rs6000-nat.c (rs6000_xfer_shared_libraries): Use
5868 target_xfer_partial_ftype.
5870 2014-01-13 Siva Chandra Reddy <sivachandra@google.com>
5874 * valops.c (value_struct_elt_bitpos): New function
5875 * py-type.c (convert_field): Set 'name' attribute of a gdb.Field
5876 object to 'None' if the field name is an empty string ("").
5877 * python/py-value.c (valpy_getitem): Use 'bitpos' and 'type'
5878 attribute to look for a field when 'name' is 'None'.
5879 (get_field_type): New function
5881 2014-01-13 Doug Evans <dje@google.com>
5884 * dwarf2read.c (dwarf2_get_dwz_file): Call gdb_bfd_record_inclusion.
5885 (try_open_dwop_file): Ditto.
5886 * gdb_bfd.c: #include "vec.h".
5887 (bfdp): New typedef.
5888 (struct gdb_bfd_data): New member included_bfds.
5889 (gdb_bfd_unref): Unref all included bfds.
5890 (gdb_bfd_record_inclusion): New function.
5891 * gdb_bfd.h (gdb_bfd_record_inclusion): Declare.
5893 2014-01-13 Tom Tromey <tromey@redhat.com>
5895 * gdbcore.h (deprecated_core_resize_section_table): Remove.
5897 2014-01-13 Tom Tromey <tromey@redhat.com>
5899 * defs.h (use_windows): Remove.
5900 * gdb.c (main): Update.
5901 * main.c (captured_main, gdb_main): Update.
5902 * main.h (struct captured_main_args) <use_windows>: Remove.
5903 * top.c (use_windows): Remove.
5905 2014-01-13 Tom Tromey <tromey@redhat.com>
5907 * defs.h (deprecated_flush_hook): Remove.
5909 2014-01-13 Jan Kratochvil <jan.kratochvil@redhat.com>
5912 * linux-thread-db.c (try_thread_db_load): Add parameter
5913 check_auto_load_safe. Move here the file_is_auto_load_safe call.
5914 (try_thread_db_load_from_pdir_1): Move it there from here.
5915 (try_thread_db_load_from_sdir): Update caller.
5916 (try_thread_db_load_from_dir): Move it there from here.
5918 2014-01-13 Patrick Palka <patrick@parcs.ath.cx>
5920 * regformats/regdat.sh: Always rewrite the register file.
5922 2014-01-13 Pedro Alves <palves@redhat.com>
5924 * Makefile.in (CHECK_HEADERS): New variable.
5925 (check-headers:): New rule.
5927 2014-01-13 Tom Tromey <tromey@redhat.com>
5929 * cli/cli-setshow.c (do_set_command): Update.
5930 * defs.h (deprecated_set_hook): Remove.
5931 * top.c (deprecated_set_hook): Remove.
5933 2014-01-13 Pedro Alves <palves@redhat.com>
5935 * tracepoint.c (tfile_fetch_registers): Don't infer the PC from
5936 the tracepoint if the PC is a pseudo-register.
5938 2014-01-13 Tom Tromey <tromey@redhat.com>
5940 * defs.h (XCALLOC): Remove.
5941 * bcache.c (bcache_xmalloc): Use XCNEW, not XCALLOC.
5942 (print_bcache_statistics): Use XCNEWVEC, not XCALLOC.
5943 * dwarf2loc.c (allocate_piece_closure): Likewise.
5944 * elfread.c (elf_symfile_segments): Likewise.
5945 (elf_symfile_segments): Likewise.
5946 * gdbtypes.c (copy_type_recursive): Likewise.
5947 * i386-tdep.c (i386_gdbarch_init): Use XCNEW, not XCALLOC.
5948 * jit.c (jit_frame_sniffer): Use XCNEWVEC, not XCALLOC.
5949 * minsyms.c (prim_record_minimal_symbol_full): Use XCNEW, not
5951 * mt-tdep.c (mt_gdbarch_init): Likewise.
5952 * opencl-lang.c (allocate_lval_closure): Use XCNEWVEC, not
5954 * psymtab.c (psymbol_compare): Use XCNEW, not XCALLOC.
5955 * regcache.c (regcache_xmalloc_1): Use XCNEWVEC, not XCALLOC.
5956 * registry.c (registry_alloc_data): Likewise.
5957 * rs6000-tdep.c (rs6000_gdbarch_init): Use XCNEW, not XCALLOC.
5958 * s390-linux-tdep.c (s390_gdbarch_init): Likewise.
5959 * serial.c (serial_fdopen_ops): Likewise.
5960 * solib-aix.c (solib_aix_get_section_offsets): Use XCNEWVEC, not
5962 * spu-tdep.c (spu_gdbarch_init): Use XCNEW, not XCALLOC.
5963 * symfile.c (default_symfile_segments): Use XCNEW and XCNEWVEC,
5966 2014-01-13 Tom Tromey <tromey@redhat.com>
5968 * defs.h (XMALLOC): Remove.
5969 * avr-tdep.c (avr_gdbarch_init): Use XNEW, not XMALLOC.
5970 * bfin-tdep.c (bfin_gdbarch_init): Likewise.
5971 * cli-out.c (struct ui_out *): Likewise.
5972 * cli/cli-dump.c (add_dump_command): Likewise.
5973 (add_dump_command): Likewise.
5974 * complaints.c (get_complaints): Likewise.
5975 (find_complaint): Likewise.
5976 * dwarf2-frame.c (execute_cfa_program): Likewise.
5977 * dwarf2read.c (abbrev_table_read_table): Likewise.
5978 * gdbarch.sh: Likewise.
5979 * gdbarch.c: Rebuild.
5980 * inf-ttrace.c (inf_ttrace_add_page): Likewise.
5981 * interps.c (interp_new): Likewise.
5982 * lm32-tdep.c (lm32_gdbarch_init): Likewise.
5983 * m32r-tdep.c (m32r_gdbarch_init): Likewise.
5984 * mi/mi-console.c (mi_console_file_new): Likewise.
5985 * mi/mi-interp.c (mi_interpreter_init): Likewise.
5986 * mi/mi-out.c (mi_out_new): Likewise.
5987 * mi/mi-parse.c (mi_parse): Likewise.
5988 * microblaze-tdep.c (microblaze_gdbarch_init): Likewise.
5989 * moxie-tdep.c (moxie_gdbarch_init): Likewise.
5990 * observer.c (xalloc_observer_list_node): Likewise.
5991 * regcache.c (regcache_xmalloc_1): Likewise.
5992 * reggroups.c (reggroup_new): Likewise.
5993 (_initialize_reggroup): Likewise.
5994 * registry.c (register_data_with_cleanup): Likewise.
5995 * remote.c (remote_notif_stop_alloc_reply): Likewise.
5996 * ser-base.c (serial_ttystate): Likewise.
5997 * ser-mingw.c (make_pipe_state): Likewise.
5998 * ser-pipe.c (pipe_open): Likewise.
5999 * serial.c (serial_open): Likewise.
6000 * sh64-tdep.c (sh64_gdbarch_init): Likewise.
6001 * tui/tui-data.c (tui_alloc_generic_win_info): Likewise.
6002 (tui_alloc_win_info): Likewise.
6003 (tui_add_content_elements): Likewise.
6004 * tui/tui-file.c (tui_file_new): Likewise.
6005 * tui/tui-out.c (tui_out_new): Likewise.
6006 * ui-file.c (mem_file_new): Likewise.
6007 * ui-out.c (push_level): Likewise.
6008 (make_cleanup_ui_out_end): Likewise.
6009 (append_header_to_list): Likewise.
6010 (ui_out_new): Likewise.
6011 * user-regs.c (user_reg_add_builtin): Likewise.
6013 2014-01-13 Tom Tromey <tromey@redhat.com>
6015 * defs.h (XZALLOC): Remove.
6016 * ada-lang.c (get_ada_inferior_data): Use XCNEW, not XZALLOC.
6017 * ada-tasks.c (get_ada_tasks_pspace_data): Likewise.
6018 (get_ada_tasks_inferior_data): Likewise.
6019 * auto-load.c (get_auto_load_pspace_data): Likewise.
6020 * auxv.c (get_auxv_inferior_data): Likewise.
6021 * bfd-target.c (target_bfd_reopen): Likewise.
6022 * breakpoint.c (get_catch_syscall_inferior_data): Likewise.
6023 (deprecated_insert_raw_breakpoint): Likewise.
6024 * bsd-uthread.c (bsd_uthread_pid_to_str): Likewise.
6025 * corelow.c (core_open): Likewise.
6026 * darwin-nat.c (darwin_check_new_threads): Likewise.
6027 (darwin_attach_pid): Likewise.
6028 * dummy-frame.c (dummy_frame_push): Likewise.
6029 * dwarf2-frame.c (dwarf2_frame_cache): Likewise.
6030 * dwarf2loc.c (allocate_piece_closure): Likewise.
6031 * elfread.c (elf_symfile_segments): Likewise.
6032 * eval.c (ptrmath_type_p): Likewise.
6033 * exceptions.c (EXCEPTIONS_SIGJMP_BUF): Likewise.
6034 * gdbtypes.c (alloc_type_arch): Likewise.
6035 (alloc_type_instance): Likewise.
6036 * hppa-tdep.c (hppa_gdbarch_init): Likewise.
6037 * inf-child.c (inf_child_can_use_agent): Likewise.
6038 * inflow.c (get_inflow_inferior_data): Likewise.
6039 * infrun.c (save_infcall_suspend_state): Likewise.
6040 * jit.c (jit_reader_load): Likewise.
6041 (get_jit_objfile_data): Likewise.
6042 (get_jit_program_space_data): Likewise.
6043 (jit_object_open_impl): Likewise.
6044 (jit_symtab_open_impl): Likewise.
6045 (jit_block_open_impl): Likewise.
6046 (jit_frame_sniffer): Likewise.
6047 * linux-fork.c (add_fork): Likewise.
6048 * maint.c (make_command_stats_cleanup): Likewise.
6049 * objfiles.c (get_objfile_pspace_data): Likewise.
6050 * opencl-lang.c (struct lval_closure): Likewise.
6051 * osdata.c (osdata_start_osdata): Likewise.
6052 * progspace.c (new_address_space): Likewise.
6053 (add_program_space): Likewise.
6054 * remote-sim.c (get_sim_inferior_data): Likewise.
6055 * sh-tdep.c (sh_gdbarch_init): Likewise.
6056 * skip.c (Ignore): Likewise.
6057 (skip_delete_command): Likewise.
6058 * solib-aix.c (get_solib_aix_inferior_data): Likewise.
6059 (library_list_start_library): Likewise.
6060 (solib_aix_current_sos): Likewise.
6061 * solib-darwin.c (get_darwin_info): Likewise.
6062 (darwin_current_sos): Likewise.
6063 * solib-dsbt.c (get_dsbt_info): Likewise.
6064 * solib-ia64-hpux.c (new_so_list): Likewise.
6065 (ia64_hpux_get_solib_linkage_addr): Likewise.
6066 * solib-spu.c (append_ocl_sos): Likewise.
6067 (spu_current_sos): Likewise.
6068 * solib-svr4.c (get_svr4_info): Likewise.
6069 (svr4_keep_data_in_core): Likewise.
6070 (library_list_start_library): Likewise.
6071 (svr4_default_sos): Likewise.
6072 (svr4_read_so_list): Likewise.
6073 * solib-target.c (library_list_start_library): Likewise.
6074 (solib_target_current_sos): Likewise.
6075 * sparc-tdep.c (sparc32_gdbarch_init): Likewise.
6076 * symfile-debug.c (install_symfile_debug_logging): Likewise.
6077 * symfile.c (default_symfile_segments): Likewise.
6078 * target-descriptions.c (tdesc_data_init): Likewise.
6079 (tdesc_create_reg): Likewise.
6080 (struct tdesc_type *): Likewise.
6081 (tdesc_create_vector): Likewise.
6082 (tdesc_set_struct_size): Likewise.
6083 (struct tdesc_type *): Likewise.
6084 (tdesc_free_feature): Likewise.
6085 (tdesc_create_feature): Likewise.
6086 * windows-nat.c (windows_add_thread): Likewise.
6087 (windows_make_so): Likewise.
6088 * xml-support.c (gdb_xml_body_text): Likewise.
6089 (gdb_xml_create_parser_and_cleanup): Likewise.
6090 (xml_process_xincludes): Likewise.
6091 * xml-syscall.c (allocate_syscalls_info): Likewise.
6092 (syscall_create_syscall_desc): Likewise.
6094 2014-01-12 Sergio Durigan Junior <sergiodj@redhat.com>
6096 * i386-tdep.c (i386_stap_parse_special_token_triplet): New
6097 function, with code from i386_stap_parse_special_token.
6098 (i386_stap_parse_special_token_three_arg_disp): Likewise.
6099 (i386_stap_parse_special_token): Move code to the two functions
6102 2014-01-09 Pedro Alves <palves@redhat.com>
6103 Hui Zhu <hui@codesourcery.com>
6106 * breakpoint.c (insert_bp_location): Rename hw_bp_err_string to
6107 bp_err_string. Don't mark the location shlib_disabled if the
6108 error thrown wasn't a generic or memory error. Catch errors
6109 thrown while inserting breakpoints in overlayed code. Output
6110 error message of software breakpoints.
6111 * remote.c (remote_insert_breakpoint): If this breakpoint has
6112 target-side commands but this stub doesn't support Z0 packets,
6113 throw NOT_SUPPORTED_ERROR error.
6114 * exceptions.h (enum errors) <NOT_SUPPORTED_ERROR>: New error.
6115 * target.h (target_insert_breakpoint): Extend comment.
6116 (target_insert_hw_breakpoint): Add comment.
6118 2014-01-08 Pedro Alves <palves@redhat.com>
6120 * remote.c (remote_add_thread): Add threads silently if starting
6122 (remote_notice_new_inferior): If in all-stop, and starting up,
6123 don't call notice_new_inferior.
6124 (get_current_thread): New function, factored out from ...
6125 (add_current_inferior_and_thread): ... this. Adjust.
6126 (remote_start_remote) <all-stop>: Fetch the thread list. If we
6127 found any thread, then select the remote's current thread as GDB's
6130 2014-01-08 Joel Brobecker <brobecker@adacore.com>
6132 * NEWS: Create a new section for the next release branch.
6133 Rename the section of the current branch, now that it has
6136 2014-01-08 Joel Brobecker <brobecker@adacore.com>
6138 GDB 7.7 branch created (79301218fa0f074c5656db0ec8972a5ddcf91fb5):
6139 * version.in: Bump version to 7.7.50.DATE-cvs.
6141 2014-01-08 Yao Qi <yao@codesourcery.com>
6143 * spu-linux-nat.c (spu_symbol_file_add_from_memory): Change
6144 type of 'id' to gdb_byte. Cast 'id' to 'const char *'.
6145 (spu_xfer_partial): Cast 'buf' to 'const char *'.
6147 2014-01-08 Yao Qi <yao@codesourcery.com>
6149 * spu-linux-nat.c (spu_symbol_file_add_from_memory): Pass
6150 return value of bfd_get_filename to symbol_file_add_from_bfd.
6152 2014-01-08 Pierre Muller <muller@sourceware.org>
6155 * coff-pe-read.c (struct read_pe_section_data): Add index field.
6156 (add_pe_exported_sym): Use SECTION_DATA->INDEX for call
6157 to prim_record_mininal_symbol_and_info.
6158 (add_pe_forwarded_sym): Use known section number of forwarded symbol
6159 in call to prim_record_minimal_symbol_and_info.
6160 (read_pe_exported_syms): Set index field of section_data.
6162 2014-01-07 Andrew Pinski <apinski@cavium.com>
6164 * features/aarch64-core.xml (cpsr): Change to be 64bit.
6165 * features/aarch64.c: Regenerate.
6167 2014-01-07 Andreas Schwab <schwab@linux-m68k.org>
6169 * target.c (return_null): Define.
6170 (update_current_target): Use it instead of return_zero for
6171 functions that return a pointer.
6173 2014-01-07 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
6175 * source.c (add_path): Fix check for duplicated paths in the previously
6178 2014-01-07 Honggyu Kim <hong.gyu.kim@lge.com>
6180 * ada-lang.c: Remove duplicated include statements.
6181 * alphabsd-nat.c: Ditto.
6182 * amd64-darwin-tdep.c: Ditto.
6183 * amd64fbsd-nat.c: Ditto.
6184 * auto-load.c: Ditto.
6186 * breakpoint.c: Ditto.
6188 * fork-child.c: Ditto.
6189 * gdb_usleep.c: Ditto.
6190 * i386-darwin-tdep.c: Ditto.
6191 * i386fbsd-nat.c: Ditto.
6193 * inferior.c: Ditto.
6195 * linux-nat.c: Ditto.
6196 * linux-tdep.c: Ditto.
6197 * m68kbsd-nat.c: Ditto.
6198 * m68klinux-nat.c: Ditto.
6199 * microblaze-tdep.c: Ditto.
6200 * mips-linux-tdep.c: Ditto.
6201 * mn10300-tdep.c: Ditto.
6202 * nto-tdep.c: Ditto.
6203 * opencl-lang.c: Ditto.
6205 * printcmd.c: Ditto.
6206 * regcache.c: Ditto.
6207 * remote-m32r-sdi.c: Ditto.
6211 * tilegx-linux-nat.c: Ditto.
6212 * tilegx-tdep.c: Ditto.
6213 * tracepoint.c: Ditto.
6215 * vaxbsd-nat.c: Ditto.
6216 * windows-nat.c: Ditto.
6217 * xtensa-tdep.c: Ditto.
6219 2014-01-07 Yao Qi <yao@codesourcery.com>
6221 * spu-linux-nat.c (_initialize_spu_nat): Declare.
6223 2014-01-07 Yao Qi <yao@codesourcery.com>
6224 Joel Brobecker <brobecker@adacore.com>
6226 * aix-thread.c (pdc_read_regs): Cast parameter to uintptr_t.
6227 (pdc_write_regs): Likewise.
6228 (fetch_regs_kernel_thread): Likewise.
6229 (store_regs_kernel_thread): Likewise.
6231 2014-01-07 Joel Brobecker <brobecker@adacore.com>
6233 * ada-varobj.c (ada_varobj_adjust_for_child_access): Convert
6234 tagged type objects to their actual type.
6236 2014-01-07 Joel Brobecker <brobecker@adacore.com>
6238 * ada-valprint.c (print_field_values): Add "language" parameter.
6239 Update calls to print_field_values and print_variant_part.
6240 Pass new parameter "language" in call to val_print instead
6241 of "current_language". Replace call to ada_val_print by call
6243 (print_variant_part): Add "language" parameter.
6244 (ada_val_print_struct_union): Update call to print_field_values.
6246 2014-01-07 Joel Brobecker <brobecker@adacore.com>
6248 * ada-valprint.c (ui_memcpy): Delete.
6249 (ada_print_floating): Update documentation. Add empty line
6250 between between function documentation and implementation.
6251 Delete variable "buffer". Use ui_file_xstrdup in place of
6252 ui_file_put. Minor adjustments following this change.
6254 2014-01-07 Joel Brobecker <brobecker@adacore.com>
6256 * ada-valprint.c (ada_val_print_string): New function,
6257 extracted from ada_val_print_array.
6258 (ada_val_print_array): Replace extracted code by call
6259 to ada_val_print_string followed by a return. Move
6260 "else" branch to the function's top block.
6262 2014-01-07 Joel Brobecker <brobecker@adacore.com>
6264 * ada-valprint.c (ada_val_print_array): Move implementation
6265 down. Rename parameter "offset" and "val" into "offset_aligned"
6266 and "original_value" respectively. Add parameter "offset".
6268 2014-01-07 Joel Brobecker <brobecker@adacore.com>
6270 * ada-valprint.c (ada_val_print_ref): Rewrite by mostly
6271 re-organizing the code. Change the "???" message printed
6272 when target type is a TYPE_CODE_UNDEF into
6273 "<ref to undefined type>".
6275 2014-01-07 Joel Brobecker <brobecker@adacore.com>
6277 * ada-valprint.c (print_record): Delete, implementation inlined...
6278 (ada_val_print_struct_union): ... here. Remove call to
6279 ada_check_typedef in inlined implementation.
6281 2014-01-07 Joel Brobecker <brobecker@adacore.com>
6283 * ada-valprint.c (ada_val_print_gnat_array): New function,
6284 extracted from ada_val_print_1;
6285 (ada_val_print_ptr, ada_val_print_num, ada_val_print_enum)
6286 (ada_val_print_flt, ada_val_print_struct_union)
6287 (ada_val_print_ref): Likewise.
6288 (ada_val_print_1): Delete variables i and elttype.
6289 Replace extracted-out code by call to corresponding
6292 2014-01-07 Joel Brobecker <brobecker@adacore.com>
6294 * ada-valprint.c (ada_val_print_1): Remove call to gdb_flush.
6296 2014-01-07 Joel Brobecker <brobecker@adacore.com>
6298 * ada-valprint.c (ada_val_print_1): Replace calls to
6299 ada_val_print_1 by calls to val_print.
6301 2014-01-07 Joel Brobecker <brobecker@adacore.com>
6303 * ada-valprint.c (ada_val_print_1): Add parameter "language".
6304 Update calls to self accordingly. Replace calls to c_val_print
6305 by calls to val_print.
6307 2014-01-07 Joel Brobecker <brobecker@adacore.com>
6309 * ada-valprint.c (print_record): Delete declaration.
6310 (adjust_type_signedness, ada_val_print_1): Likewise.
6311 (ada_val_print): Move function implementation down.
6312 (print_variant_part, print_field_values, print_record):
6313 Move function implementation up.
6315 2014-01-07 Joel Brobecker <brobecker@adacore.com>
6317 * python/py-type.c (typy_get_name): New function.
6318 (type_object_getset): Add entry for attribute "name".
6319 * NEWS: Add entry mentioning this new attribute.
6321 2014-01-07 Yao Qi <yao@codesourcery.com>
6323 * gnu-nat.c (set_exceptions_cmd): Remove an empty body 'if'
6326 2014-01-07 Yao Qi <yao@codesourcery.com>
6328 * gnu-nat.c (info_port_rights): Add qualifier const to
6331 2014-01-07 Yao Qi <yao@codesourcery.com>
6333 * gnu-nat.c (trace_me): Use 'void' for empty argument list.
6335 2014-01-07 Yao Qi <yao@codesourcery.com>
6337 * gnu-nat.c (make_inf) Update declaration.
6338 (make_inf): Make it static.
6339 (inf_set_traced): Likewise.
6340 (inf_port_to_thread, inf_task_died_status): Likewise.
6342 2014-01-07 Yao Qi <yao@codesourcery.com>
6344 * gnu-nat.c (inf_tid_to_proc): Remove declaration.
6346 2014-01-07 Yao Qi <yao@codesourcery.com>
6348 * gnu-nat.c (_initialize_gnu_nat): Declare.
6350 2014-01-07 Yao Qi <yao@codesourcery.com>
6352 * gdbarch.sh (byte_order, byte_order_for_code): Change type to
6354 (struct gdbarch_info) <byte_order>: Change type to
6356 <byte_order_for_code>: Likewise.
6357 * gdbarch.c, gdbarch.h: Regenerated.
6359 2014-01-06 Sasha Smundak <asmundak@google.com>
6361 * jit.c: (jit_reader_load_command): Fix JIT reader path creation.
6363 2014-01-06 Tom Tromey <tromey@redhat.com>
6365 * doublest.c (convert_doublest_to_floatformat): Use const, not
6367 * somread.c (som_symtab_read): Likewise.
6369 2014-01-07 Hui Zhu <hui@codesourcery.com>
6371 * gdb_bfd.c (gdb_bfd_stash_filename): Removed.
6372 (gdb_bfd_open): Removed gdb_bfd_stash_filename.
6373 (gdb_bfd_fopen): Ditto.
6374 (gdb_bfd_openr): Ditto.
6375 (gdb_bfd_openw): Ditto.
6376 (gdb_bfd_openr_iovec): Ditto.
6377 (gdb_bfd_fdopenr): Ditto.
6378 * gdb_bfd.h (gdb_bfd_stash_filename): Removed.
6379 * solib-aix.c (solib_aix_bfd_open): Alloc object_bfd->filename
6381 * solib-darwin.c (darwin_bfd_open): Alloc res->filename
6383 * symfile-mem.c (symbol_file_add_from_memory): Removed
6384 gdb_bfd_stash_filename.
6386 2014-01-03 Doug Evans <dje@google.com>
6388 * nat/linux-waitpid.c (linux_debug): Remove extraneous \n from
6391 2014-01-01 Joel Brobecker <brobecker@adacore.com>
6393 Update year range in copyright notice of all files.
6395 2014-01-01 Joel Brobecker <brobecker@adacore.com>
6397 * top.c (print_gdb_version): Set copyright year to 2014.
6399 2014-01-01 Joel Brobecker <brobecker@adacore.com>
6401 * config/djgpp/fnchange.lst: Add entry for gdb/ChangeLog-2013.
6403 For older changes see ChangeLog-2013.
6409 version-control: never