1 2014-03-24 Tristan Gingold <gingold@adacore.com>
3 * darwin-nat.c (exc_server): Remove unused prototype.
4 (darwin_dump_message): Correctly display data on x86_64.
5 (darwin_encode_reply): Fix style.
6 Add comments and fix indentation.
8 2014-03-24 Pierre Langlois <pierre.langlois@embecosm.com>
10 * MAINTAINERS (Write After Approval): Add "Pierre Langlois".
12 2014-03-22 Doug Evans <xdje42@gmail.com>
14 * infcmd.c: Whitespace fixes.
15 (interrupt_command): Merge two function comments into one.
17 2014-03-22 Doug Evans <xdje42@gmail.com>
19 * infcmd.c (interrupt_command): Renamed from interrupt_target_command.
22 2014-03-22 Yao Qi <yao@codesourcery.com>
24 * remote.c (target_read_live_memory): Remove.
25 (memory_xfer_live_readonly_partial): Rename it to
26 remote_xfer_live_readonly_partial. Remove argument 'object'.
27 All callers updated. Call remote_read_bytes_1
28 instead of target_read_live_memory.
29 * tracepoint.c (set_traceframe_number): Remove.
30 (make_cleanup_restore_traceframe_number): Likewise .
31 * tracepoint.h (set_traceframe_number): Remove declaration.
32 (make_cleanup_restore_traceframe_number): Likewise.
34 2014-03-22 Yao Qi <yao@codesourcery.com>
36 * remote.c (remote_read_bytes): Move code on reading from the
38 (remote_read_bytes_1): ... here. New function.
40 2014-03-22 Yao Qi <yao@codesourcery.com>
42 * ctf.c (ctf_xfer_partial): Check the return value of
43 exec_read_partial_read_only, if it is not TARGET_XFER_OK,
44 return TARGET_XFER_UNAVAILABLE.
45 * tracefile-tfile.c (tfile_xfer_partial): Likewise.
46 * target.c (target_read_live_memory): Move it to remote.c.
47 (memory_xfer_live_readonly_partial): Likewise.
48 (memory_xfer_partial_1): Move some code to remote_read_bytes.
49 * remote.c (target_read_live_memory): Moved from target.c.
50 (memory_xfer_live_readonly_partial): Likewise.
51 (remote_read_bytes): Factored out from
52 memory_xfer_partial_1.
54 2014-03-21 Daniel Gutson <daniel.gutson@tallertechnologies.com>
56 * extension.c (eval_ext_lang_from_control_command): Avoid dereferencing
59 2014-03-21 Pedro Alves <palves@redhat.com>
61 * infrun.c (normal_stop): Extend comment.
63 2014-03-21 Hui Zhu <hui@codesourcery.com>
64 Pedro Alves <palves@redhat.com>
66 * darwin-nat.c (darwin_pid_to_exec_file): Change xmalloc to
68 * fbsd-nat.c (fbsd_pid_to_exec_file): Ditto.
69 * linux-nat.c (linux_child_pid_to_exec_file): Ditto.
70 * nbsd-nat.c (nbsd_pid_to_exec_file): Ditto.
72 2014-03-20 Maciej W. Rozycki <macro@codesourcery.com>
74 * mi/mi-interp.c (mi_memory_changed): Avoid using the ISO C99
75 `z' formatted output modifier.
77 2014-03-20 Tom Tromey <tromey@redhat.com>
78 Sergio Durigan Junior <sergiodj@redhat.com>
80 * probe.c (parse_probes): Turn assert into an ordinary error.
81 * break-catch-throw.c (re_set_exception_catchpoint): Ignore
82 exceptions when parsing probes. Rearrange the code for clarity.
84 2014-03-20 Tom Tromey <tromey@redhat.com>
87 * top.c (execute_command): Only dispatch events if the command
90 2014-03-20 Tom Tromey <tromey@redhat.com>
93 * infcall.c: Include event-top.h.
94 (run_inferior_call): Call async_disable_stdin if needed.
96 2014-03-20 Pedro Alves <palves@redhat.com>
98 * infrun.c (prepare_to_proceed): Delete.
99 (thread_still_needs_step_over): New function.
100 (find_thread_needs_step_over): New function.
101 (proceed): If the current thread needs a step-over, set its
102 steping_over_breakpoint flag. Adjust to use
103 find_thread_needs_step_over instead of prepare_to_proceed.
104 (process_event_stop_test): For BPSTAT_WHAT_STOP_NOISY and
105 BPSTAT_WHAT_STOP_SILENT, assume the thread stopped for a
107 (switch_back_to_stepped_thread): Step over breakpoints of all
108 threads not the stepping thread, before switching back to the
111 2014-03-20 Pedro Alves <palves@redhat.com>
113 * breakpoint.c (single_step_breakpoint_inserted_here_p): Make
115 * breakpoint.h (single_step_breakpoint_inserted_here_p): Declare.
116 * infrun.c (saved_singlestep_ptid)
117 (stepping_past_singlestep_breakpoint): Delete.
118 (resume): Remove stepping_past_singlestep_breakpoint handling.
119 (proceed): Store the prev_pc of the stepping thread too.
120 (init_wait_for_inferior): Adjust. Clear singlestep_ptid and
122 (enum infwait_states): Delete infwait_thread_hop_state.
123 (struct execution_control_state) <hit_singlestep_breakpoint>: New
125 (handle_inferior_event): Adjust.
126 (handle_signal_stop): Delete stepping_past_singlestep_breakpoint
127 handling and the thread-hop code. Before removing single-step
128 breakpoints, check whether the thread hit a single-step breakpoint
129 of another thread. If it did, the trap is not a random signal.
130 (switch_back_to_stepped_thread): If the event thread hit a
131 single-step breakpoint, unblock it before switching to the
132 stepping thread. Handle the case of the stepped thread having
134 (keep_going): Handle the case of the current thread moving past a
135 single-step breakpoint.
137 2014-03-20 Pedro Alves <palves@redhat.com>
140 * breakpoint.c (should_be_inserted): Don't insert breakpoints that
141 are being stepped over.
142 (breakpoint_address_match): Make extern.
143 * breakpoint.h (breakpoint_address_match): New declaration.
144 * inferior.h (stepping_past_instruction_at): New declaration.
145 * infrun.c (struct step_over_info): New type.
146 (step_over_info): New global.
147 (set_step_over_info, clear_step_over_info)
148 (stepping_past_instruction_at): New functions.
149 (handle_inferior_event): Clear the step-over info when
150 trap_expected is cleared.
151 (resume): Remove now stale comment.
152 (clear_proceed_status): Clear step-over info.
153 (proceed): Adjust step-over handling to set or clear the step-over
154 info instead of removing all breakpoints.
155 (handle_signal_stop): When setting up a thread-hop, don't remove
157 (stop_stepping): Clear step-over info.
158 (keep_going): Adjust step-over handling to set or clear step-over
159 info and then always inserting breakpoints, instead of removing
160 all breakpoints when stepping over one.
162 2014-03-20 Pedro Alves <palves@redhat.com>
164 * infrun.c (previous_inferior_ptid): Adjust comment.
165 (deferred_step_ptid): Delete.
166 (infrun_thread_ptid_changed, prepare_to_proceed)
167 (init_wait_for_inferior): Adjust.
168 (handle_signal_stop): Delete deferred_step_ptid handling.
170 2014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
173 * defs.h (sync_quit_force_run): New declaration.
174 (QUIT): Check also SYNC_QUIT_FORCE_RUN.
175 * event-top.c (async_sigterm_handler): New declaration.
176 (async_sigterm_token): New variable.
177 (async_init_signals): Create also async_sigterm_token.
178 (async_sigterm_handler): New function.
179 (sync_quit_force_run): New variable.
180 (handle_sigterm): Replace quit_force call by other calls.
181 * utils.c (quit): Call quit_force if SYNC_QUIT_FORCE_RUN.
183 2014-03-18 Maciej W. Rozycki <macro@codesourcery.com>
185 * rs6000-tdep.c (rs6000_frame_cache): Correct little-endian GPR
186 offset into SPE pseudo registers.
188 2014-03-18 Pedro Alves <palves@redhat.com>
191 * inferior.h (print_stop_event): Declare.
192 * infrun.c (print_stop_event): New, factored out from ...
193 (normal_stop): ... this.
194 * mi/mi-interp.c (mi_on_normal_stop): Use print_stop_event instead
195 of bpstat_print/print_stack_frame.
197 2014-03-17 Tom Tromey <tromey@redhat.com>
199 * ui-out.c (clear_table, ui_out_new): Clear uiout->table.id.
201 2014-03-17 Pierre-Marie de Rodat <derodat@adacore.com>
203 * ada-lang.c (decode_constrained_packed_array): Perform a
204 minimal coercion for reference with coerce_ref instead of
207 2014-03-17 Tristan Gingold <gingold@adacore.com>
209 * solib-darwin.c (DYLD_VERSION_MAX): Increase value.
210 (darwin_solib_create_inferior_hook): Emit a warning if version
213 2014-03-16 Ulrich Weigand <uweigand@de.ibm.com>
215 * python/py-value.c (get_field_flag): Cast flag_name argument to
216 PyObject_GetAttrString to support Python 2.4.
218 2014-03-14 Jan Kratochvil <jan.kratochvil@redhat.com>
220 * MAINTAINERS (The Official FSF-appointed GDB Maintainers)
221 (Global Maintainers): Remove Jan Kratochvil.
223 2014-03-14 Pedro Alves <palves@redhat.com>
225 * inferior.h (terminal_ours_for_output): Rename to ...
226 (child_terminal_ours_for_output): ... this.
227 (terminal_save_ours): Rename to ...
228 (child_terminal_save_ours): ... this.
229 (terminal_ours): Rename to ...
230 (child_terminal_ours): ... this.
231 (terminal_inferior): Rename to ...
232 (child_terminal_inferior): ... this.
233 (terminal_init_inferior): Rename to ...
234 (child_terminal_init_inferior): ... this.
235 (terminal_init_inferior_with_pgrp): Rename to ...
236 (child_terminal_init_inferior_with_pgrp): ... this.
237 * inflow.c (terminal_init_inferior_with_pgrp): Rename to ...
238 (child_terminal_init_with_pgrp): ... this.
239 (terminal_save_ours): Rename to ...
240 (child_terminal_save_ours): ... this.
241 (terminal_init_inferior): Rename to ...
242 (child_terminal_init): ... this. Adjust.
243 (terminal_inferior): Rename to ...
244 (child_terminal_inferior): ... this.
245 (terminal_ours_for_output): Rename to ...
246 (child_terminal_ours_for_output): ... this. Adjust.
247 (terminal_ours): Rename to ...
248 (child_terminal_ours): ... this.
249 (terminal_ours_1): Rename to ...
250 (child_terminal_ours_1): ... this. Adjust.
251 * linux-nat.c (linux_nat_terminal_inferior): Adjust.
252 * windows-nat.c (do_initial_windows_stuff): Adjust.
253 * gnu-nat.c (gnu_terminal_init_inferior): Rename to ...
254 (gnu_terminal_init): ... this. Adjust.
255 (gnu_target): Adjust.
256 * inf-child.c (inf_child_target): Adjust.
258 2014-03-13 Doug Evans <xdje42@gmail.com>
261 * guile/scm-type.c (tyscm_copy_type_recursive): Move type to its
264 2014-03-13 Doug Evans <xdje42@gmail.com>
266 * value.c (record_latest_value): Call release_value_or_incref
267 instead of release_value.
269 2014-03-13 Pedro Alves <palves@redhat.com>
271 * procfs.c (procfs_target): Don't override to_shortname,
272 to_longname or to_doc.
274 2014-03-13 Pedro Alves <palves@redhat.com>
276 * inf-child.c (inf_child_open, inf_child_target): Don't mention
277 Unix in user visible strings.
279 2014-03-12 Stan Shebs <stan@codesourcery.com>
281 * gdbtypes.h: Annotate comments for Doxygen, add a page
282 block comment with some general info.
284 2014-03-12 Pedro Alves <palves@redhat.com>
286 * infcmd.c (prepare_execution_command): New function, factored out
287 from several execution commands.
288 (run_command_1, continue_command, step_1, jump_command)
289 (signal_command, until_command, advance_command, finish_command)
290 (attach_command): Use prepare_execution_command.
292 2014-03-12 Omair Javaid <omair.javaid@linaro.org>
294 * arm-linux-nat.c (arm_linux_get_hwbp_cap): Updated.
297 (struct arm_linux_thread_points): Removed.
298 (struct arm_linux_process_info): New.
299 (DEF_VEC_P (arm_linux_thread_points_p)): Removed.
300 (VEC(arm_linux_thread_points_p) *arm_threads): Removed.
301 (arm_linux_find_breakpoints_by_tid): Removed.
302 (struct arch_lwp_info): New.
303 (arm_linux_find_process_pid): New functions.
304 (arm_linux_add_process): New functions.
305 (arm_linux_process_info_get): New functions.
306 (arm_linux_forget_process): New function.
307 (arm_linux_get_debug_reg_state): New function.
308 (struct update_registers_data): New.
309 (update_registers_callback): New function.
310 (arm_linux_insert_hw_breakpoint1): Updated.
311 (arm_linux_remove_hw_breakpoint1): Updated.
312 (arm_linux_insert_hw_breakpoint): Updated.
313 (arm_linux_remove_hw_breakpoint): Updated.
314 (arm_linux_insert_watchpoint): Updated.
315 (arm_linux_remove_watchpoint): Updated.
316 (arm_linux_new_thread): Updated.
317 (arm_linux_prepare_to_resume): New function.
318 (arm_linux_new_fork): New function.
319 (_initialize_arm_linux_nat): Updated.
321 2014-03-12 Pedro Alves <palves@redhat.com>
323 * Makefile.in (TARGET_FLAGS_TO_PASS): Add TESTS.
325 2014-03-12 Tom Tromey <tromey@redhat.com>
327 * inf-child.c (return_zero): New function.
328 (inf_child_target): Set to_can_async_p, to_supports_non_stop.
329 * aix-thread.c (aix_thread_inferior_created): New function.
330 (aix_thread_attach): Remove.
331 (init_aix_thread_ops): Don't set to_attach.
332 (_initialize_aix_thread): Register inferior_created observer.
333 * corelow.c (init_core_ops): Don't set to_attach or
335 * exec.c (init_exec_ops): Don't set to_attach or
337 * infcmd.c (run_command_1): Use find_run_target. Make direct
339 (attach_command): Use find_attach_target. Make direct target
341 * record-btrace.c (init_record_btrace_ops): Don't set
343 * record-full.c (record_full_can_async_p, record_full_is_async_p):
345 (init_record_full_ops, init_record_full_core_ops): Update. Don't
346 set to_create_inferior.
347 * target.c (complete_target_initialization): Add assertion.
348 (target_create_inferior): Remove.
349 (find_default_attach, find_default_create_inferior): Remove.
350 (find_attach_target, find_run_target): New functions.
351 (find_default_is_async_p, find_default_can_async_p)
352 (target_supports_non_stop, target_attach): Remove.
353 (init_dummy_target): Don't set to_create_inferior or
354 to_supports_non_stop.
355 * target.h (struct target_ops) <to_attach>: Add comment. Remove
357 <to_create_inferior>: Add comment.
358 <to_can_async_p, to_is_async_p, to_supports_non_stop>: Use
359 TARGET_DEFAULT_RETURN.
360 <to_can_async_p, to_supports_non_stop, to_can_run>: Add comments.
361 (find_attach_target, find_run_target): Declare.
362 (target_create_inferior): Remove.
363 (target_has_execution_1): Update comment.
364 (target_supports_non_stop): Remove.
365 * target-delegates.c: Rebuild.
367 2014-03-12 Pedro Alves <palves@redhat.com>
369 * inf-child.h: Update comment to not mention Unix.
371 2014-03-12 Pedro Alves <palves@redhat.com>
373 * inf-child.c: Update top comment to not mention Unix. Add
374 generic comment describing how this target is meant to be used.
375 (inf_child_post_attach, inf_child_post_startup_inferior)
376 (inf_child_follow_fork, inf_child_pid_to_exec_file): Don't mention
379 2014-03-12 Pedro Alves <palves@redhat.com>
381 * nto-procfs.c: Include inf-child.h.
382 (procfs_ops): Delete global.
383 (procfs_can_run): Delete method.
384 (procfs_detach, procfs_mourn_inferior): Unpush the passed in
385 target pointer instead of referencing procfs_ops.
386 (procfs_prepare_to_store): Delete.
387 (init_procfs_ops): Delete function.
388 (procfs_target): New function, based on init_procfs_ops, but
389 inherit inf_child_target.
390 (_initialize_procfs): Use procfs_target.
392 2014-03-12 Pedro Alves <palves@redhat.com>
394 * windows-nat.c: Include inf-child.h.
395 (windows_ops): Delete global.
396 (windows_open, windows_prepare_to_store, windows_can_run): Delete
398 (init_windows_ops): Delete function.
399 (windows_target): New function, based on init_windows_ops, but
400 inherit inf_child_target.
401 (_initialize_windows_nat): Use windows_target. Install x86
402 specific target methods here.
404 2014-03-10 Doug Evans <xdje42@gmail.com>
406 * guile/guile.c (call_initialize_gdb_module): New function.
407 (initialize_guile): Replace call to scm_init_guile with call to
410 2014-03-10 Joel Brobecker <brobecker@adacore.com>
412 * ada-lang.c (ada_evaluate_subexp): Add missing space before '('
413 in call to TYPE_CODE macro.
415 2014-03-10 Jerome Guitton <guitton@adacore.com>
417 * ada-lang.c (ada_evaluate_subexp) <UNOP_IND, STRUCTOP_STRUCT>:
418 Resolve tagged types to full view.
420 2014-03-10 Hui Zhu <hui@codesourcery.com>
422 * target.h (target_insert_breakpoint): Remove "hardware" from its
425 2014-03-07 Doug Evans <dje@google.com>
427 * dwarf2read.c (read_str_index): Rename local dwo_name to objf_name.
429 2014-03-07 Doug Evans <dje@google.com>
431 * dwarf2read.c (read_cutu_die_from_dwo): Fix function comment.
432 Remove unused local comp_dir_attr. Assert exactly one of
433 stub_comp_unit_die, stub_comp_dir is non-NULL.
435 2014-03-07 Joel Brobecker <brobecker@adacore.com>
437 * target.h (complete_target_initialization, add_target):
440 2014-03-07 Pedro Alves <palves@redhat.com>
442 * go32-nat.c: Include inf-child.h.
443 (go32_ops): Delete global.
444 (go32_close, go32_detach, go32_prepare_to_store, go32_can_run):
446 (go32_create_inferior): Push the passed in target pointer instead
447 of referencing go32_ops.
448 (init_go32_ops): Delete function. Moved parts to _initialize_go32_nat.
449 (go32_target): New function, based on init_go32_ops, but inherit
451 (_initialize_go32_nat): Use go32_target. Move parts of
454 2014-03-06 Joel Brobecker <brobecker@adacore.com>
456 * sol-thread.c: #include "symtab.h", "minsym.h" and "objfiles.h".
457 (ps_pglobal_lookup): Use BMSYMBOL_VALUE_ADDRESS instead of
458 SYMBOL_VALUE_ADDRESS.
459 (info_cb): MSYMBOL_PRINT_NAME instead of SYMBOL_PRINT_NAME.
461 2014-03-06 Yao Qi <yao@codesourcery.com>
463 * breakpoint.c (get_tracepoint_by_number): Remove argument
464 optional_p. All callers updated. Adjust comments. Update
466 * breakpoint.h (get_tracepoint_by_number): Update declaration.
468 2014-03-06 Yao Qi <yao@codesourcery.com>
470 * reverse.c (goto_bookmark_command): Add local 'p'. Emit error
471 early if get_number returns zero. Use 'p' instead of 'args'.
473 2014-03-06 Yao Qi <yao@codesourcery.com>
475 * cli/cli-utils.c (get_number_trailer): Add '\n' at the end of
478 2014-03-06 Yao Qi <yao@codesourcery.com>
481 * tracepoint.c (check_trace_running): New function.
482 (trace_find_command): Move code to check_trace_running and
483 call check_trace_running.
484 (trace_find_pc_command): Likewise.
485 (trace_find_tracepoint_command): Likewise.
486 (trace_find_line_command): Likewise.
487 (trace_find_range_command): Likewise.
488 * tracepoint.h (check_trace_running): Likewise.
489 * mi/mi-main.c (mi_cmd_trace_find): Call check_trace_running.
491 2014-03-06 Yao Qi <yao@codesourcery.com>
493 * target.h (struct target_ops) <to_traceframe_info>: Use
494 TARGET_DEFAULT_NORETURN (tcomplain ()).
495 * target-delegates.c: Regenerated.
497 2014-03-05 Pedro Alves <palves@redhat.com>
500 * dcache.c (dcache_poke_byte): Constify ptr parameter. Return
501 void. Update comment.
502 (dcache_xfer_memory): Delete.
503 (dcache_read_memory_partial): New, based on the read bits of
505 (dcache_update): Add status parameter. Use ULONGEST for len, and
506 adjust. Discard cache lines if the reason for the update was
508 * dcache.h (dcache_xfer_memory): Delete declaration.
509 (dcache_read_memory_partial): New declaration.
510 (dcache_update): Update prototype.
511 * target.c (raw_memory_xfer_partial): Update the dcache here.
512 (memory_xfer_partial_1): Don't handle dcache writes here.
514 2014-03-05 Mike Frysinger <vapier@gentoo.org>
516 * remote-sim.c (gdbsim_load): Add const to prog.
518 2014-03-03 Tom Tromey <tromey@redhat.com>
520 * elfread.c (probe_key): Change to bfd_data.
521 (elf_get_probes, probe_key_free, _initialize_elfread): Probes are
522 now per-BFD, not per-objfile.
523 * stap-probe.c (stap_probe_destroy): Update comment.
524 (handle_stap_probe): Allocate on the per-BFD obstack.
526 2014-03-03 Tom Tromey <tromey@redhat.com>
528 * break-catch-throw.c (fetch_probe_arguments): Use bound probes.
529 * breakpoint.c (create_longjmp_master_breakpoint): Use
531 (add_location_to_breakpoint, bkpt_probe_insert_location)
532 (bkpt_probe_remove_location): Update.
533 * breakpoint.h (struct bp_location) <probe>: Now a bound_probe.
534 * elfread.c (elf_symfile_relocate_probe): Remove.
535 (elf_probe_fns): Update.
536 (insert_exception_resume_breakpoint): Change type of "probe"
537 parameter to bound_probe.
538 (check_exception_resume): Update.
539 * objfiles.c (objfile_relocate1): Don't relocate probes.
540 * probe.c (bound_probe_s): New typedef.
541 (parse_probes): Use get_probe_address. Set sal's objfile.
542 (find_probe_by_pc): Return a bound_probe.
543 (collect_probes): Return a VEC(bound_probe_s).
544 (compare_probes): Update.
545 (gen_ui_out_table_header_info): Change type of "probes"
547 (info_probes_for_ops): Update.
548 (get_probe_address): New function.
549 (probe_safe_evaluate_at_pc): Update.
550 * probe.h (struct probe_ops) <get_probe_address>: New field.
551 <set_semaphore, clear_semaphore>: Add objfile parameter.
552 (struct probe) <objfile>: Remove field.
554 <address>: Update comment.
555 (struct bound_probe): New.
556 (find_probe_by_pc): Return a bound_probe.
557 (get_probe_address): Declare.
558 * solib-svr4.c (struct probe_and_action) <address>: New field.
559 (hash_probe_and_action, equal_probe_and_action): Update.
560 (register_solib_event_probe): Add address parameter.
561 (solib_event_probe_at): Update.
562 (svr4_create_probe_breakpoints): Add objfile parameter. Use
564 * stap-probe.c (struct stap_probe) <sem_addr>: Update comment.
565 (stap_get_probe_address): New function.
566 (stap_can_evaluate_probe_arguments, compute_probe_arg)
567 (compile_probe_arg): Update.
568 (stap_set_semaphore, stap_clear_semaphore): Compute semaphore's
570 (handle_stap_probe): Don't relocate the probe.
571 (stap_relocate): Remove.
572 (stap_gen_info_probes_table_values): Update.
573 (stap_probe_ops): Remove stap_relocate.
574 * symfile-debug.c (debug_sym_relocate_probe): Remove.
575 (debug_sym_probe_fns): Update.
576 * symfile.h (struct sym_probe_fns) <sym_relocate_probe>: Remove.
577 * symtab.c (init_sal): Use memset.
578 * symtab.h (struct symtab_and_line) <objfile>: New field.
579 * tracepoint.c (start_tracing, stop_tracing): Update.
581 2014-03-03 Tom Tromey <tromey@redhat.com>
583 * probe.h (parse_probes, find_probe_by_pc)
584 (find_probes_in_objfile): Fix comments.
586 2014-03-02 Doug Evans <xdje42@gmail.com>
588 * infrun.c (handle_signal_stop): Replace test for
589 TARGET_WAITKIND_STOPPED with an assert.
591 2014-03-02 Doug Evans <xdje42@gmail.com>
593 * guile/scm-objfile.c (ofscm_mark_objfile_smob): Fix typo in comment.
595 2014-03-02 Doug Evans <xdje42@gmail.com>
597 * guile/lib/gdb/printing.scm (append-pretty-printer!): Fix thinko.
599 2014-03-01 Mark Kettenis <kettenis@gnu.org>
601 * obsd-nat.c: Include "gdb_wait.h" instead of <sys/wait.h>.
603 2014-03-01 Mark Kettenis <kettenis@gnu.org>
605 * i386obsd-nat.c: Include "obsd-nat.h".
606 (_initialize_i386obsd_nat): Call obsd_add_target instead of
608 * config/i386/obsd.mh (NATDEPFILES): Add obsd-nat.o.
610 2014-03-01 Mark Kettenis <kettenis@gnu.org>
612 * i386obsd-nat.c (i386obsd_supply_pcb): Cast 'sf' to 'gdb_byte *'.
614 2014-03-01 Mark Kettenis <kettenis@gnu.org>
616 * mips64obsd-nat.c: Include "obsd-nath".
617 (_initialize_mips64obsd_nat): Call obsd_add_target instead of
619 * config/mips/obsd64.mh (NATDEPFILES): Add obsd-nat.o.
621 2014-03-01 Mark Kettenis <kettenis@gnu.org>
623 * amd64obsd-nat.c: Include "obsd-nat,h.
624 (_initialize_amd64obsd_nat): Call obsd_add_target instead of
626 * config/i386/obsd64.mh (NATDEPFILES): Add obsd-nat.o.
628 2014-02-28 Siva Chandra Reddy <sivachandra@google.com>
630 * valops.c (find_oload_champ): Remove unneccesary argument METHOD.
631 (find_overload_match): Update call to find_oload_champ.
632 (find_oload_champ_namespace_loop): Likewise
634 2014-02-28 Mark Kettenis <kettenis@gnu.org>
636 * Makefile.in (ALLDEPFILES): Add sparc64obsd-nat.c.
638 * configure.host (sparc64-*-openbsd*): Set gdb_host to obsd64.
639 * config/sparc/obsd64.mh: New file.
640 * sparc64obsd-nat.c: New file.
642 * obsd-nat.h: New file.
643 * obsd-nat.c: New file.
644 * Makefile.in (HFILES_NO_SRCDIR): Add obsd-nat.h.
645 (ALLDEPFILES): Add obsd-nat.c.
647 2014-02-28 Tom Tromey <tromey@redhat.com>
649 * cli-out.c (cli_ui_out_impl): Now const. Remove comment.
650 * cli-out.h (cli_ui_out_impl): Now const.
651 * mi/mi-out.c (mi_ui_out_impl): Now const. Remove comment.
652 * ui-out.c (struct ui_out) <impl>: Now const.
653 (default_ui_out_impl): Now const.
654 (ui_out_new): Make 'impl' parameter const.
655 * ui-out.h (ui_out_new): Update.
657 2014-02-27 Mark Kettenis <kettenis@gnu.org>
659 * solib-svr4.c (svr4_read_so_list): Initialize first_l_name to 0.
661 2014-02-27 Mark Kettenis <kettenis@gnu.org>
663 * sparc-nat.c (sparc_xfer_wcookie): Always use process ID.
665 2014-02-27 Jan Kratochvil <jan.kratochvil@redhat.com>
667 Additional PR 8882 fix.
668 * solib-svr4.c (svr4_read_so_list): Change first to first_l_name.
670 2014-02-27 Pedro Alves <palves@redhat.com>
672 * nat/linux-waitpid.c (my_waitpid): Only block signals if WNOHANG
675 2014-02-27 Pedro Alves <palves@redhat.com>
678 * linux-nat.c (status_to_str): Moved to nat/linux-waitpid.c.
679 * nat/linux-waitpid.c: Include string.h.
680 (status_to_str): Moved here and made extern.
681 * nat/linux-waitpid.h (status_to_str): New declaration.
683 2014-02-27 Hui Zhu <hui@codesourcery.com>
686 * infrun.c (ptid_match): Move ...
687 * common/ptid.c (ptid_match): ... here.
688 * inferior.h (ptid_match): Move ...
689 * common/ptid.h (ptid_match): ... here.
691 2014-02-27 Mark Kettenis <kettenis@gnu.org>
693 * mips64obsd-tdep.c (mips64obsd_init_abi): Call obsd_init_abi.
694 * configure.tgt (mips64*-*-openbsd*): Add obsd-tdep.c to
697 2014-02-27 Mark Kettenis <kettenis@gnu.org>
699 * obsd-tdep.c (obsd_auxv_parse): New function.
700 (obsd_init_abi): Set auxv_parse.
702 * gdbarch.sh (auxv_parse): New.
703 * gdbarch.h: Regenerated.
704 * gdbarch.c: Regenerated.
705 * auxv.c (target_auxv_parse): Call gdbarch_parse_auxv if provided.
707 2014-02-26 Ludovic Courtès <ludo@gnu.org>
709 * guile/scm-value.c (gdbscm_history_append_x): New function.
710 (value_functions): Add it.
712 2014-02-27 Joel Brobecker <brobecker@adacore.com>
714 * dwarf2read.c (attr_value_as_address): New function.
715 (dwarf2_find_base_address, read_call_site_scope): Use
716 attr_value_as_address in place of DW_ADDR.
717 (dwarf2_get_pc_bounds): Use attr_value_as_address to get
718 the low and high addresses. Slight rework of the handling
719 of the high pc being a constant form, and limit it to
720 DWARF verson 4 or higher.
721 (dwarf2_record_block_ranges): Likewise.
722 (read_partial_die): Likewise.
723 (new_symbol_full): Use attr_value_as_address in place of DW_ADDR.
725 2014-02-26 Tom Tromey <tromey@redhat.com>
727 * exec.c (exec_file_attach): Hold a reference to exec_bfd.
729 2014-02-26 Tom Tromey <tromey@redhat.com>
731 * elfread.c (elf_read_minimal_symbols): Return early if
732 minimal symbols have already been read. Add "ei" parameter.
733 (elf_symfile_read): Call elf_read_minimal_symbols earlier.
734 * minsyms.c (prim_record_minimal_symbol_full): Update.
735 * objfiles.h (struct objstats) <n_minsyms>: Move...
736 (struct objfile_per_bfd_storage) <n_minsyms>: ... here.
737 * symmisc.c (print_objfile_statistics): Update.
739 2014-02-26 Tom Tromey <tromey@redhat.com>
741 * elfread.c (elf_read_minimal_symbols): New function, from
743 (elf_symfile_read): Call it.
745 2014-02-26 Tom Tromey <tromey@redhat.com>
747 * minsyms.c (lookup_minimal_symbol, iterate_over_minimal_symbols)
748 (lookup_minimal_symbol_text, lookup_minimal_symbol_by_pc_name)
749 (lookup_minimal_symbol_solib_trampoline)
750 (lookup_minimal_symbol_by_pc_section_1)
751 (lookup_minimal_symbol_and_objfile): Update.
752 (prim_record_minimal_symbol_full): Use the per-BFD obstack.
753 Don't allocate a minimal symbol if minsyms have already been read.
754 (build_minimal_symbol_hash_tables): Update.
755 (install_minimal_symbols): Do nothing if minsyms already read.
756 Use the per-BFD obstack.
757 (terminate_minimal_symbol_table): Use the per-BFD obstack.
758 * objfiles.c (allocate_objfile): Call
759 terminate_minimal_symbol_table later.
760 (have_minimal_symbols): Update.
761 * objfiles.h (struct objfile_per_bfd_storage) <msymbols,
762 minimal_symbol_count, msymbol_hash, msymbol_demangled_hash>:
763 Move from struct objfile.
764 <minsyms_read>: New field.
765 (struct objfile) <msymbols, minimal_symbol_count,
766 msymbol_hash, msymbol_demangled_hash>: Move.
767 (ALL_OBJFILE_MSYMBOLS): Update.
768 * symfile.c (read_symbols): Set minsyms_read.
769 (reread_symbols): Update.
770 * symmisc.c (dump_objfile, dump_msymbols): Update.
772 2014-02-26 Tom Tromey <tromey@redhat.com>
774 * minsyms.c (msymbols_sort): Remove.
775 * minsyms.h (msymbols_sort): Remove.
776 * objfiles.c (objfile_relocate1): Don't relocate minsyms.
777 * symtab.h (MSYMBOL_VALUE_ADDRESS): Use objfile offsets.
778 * elfread.c (elf_symtab_read): Don't add section offsets.
779 * xcoffread.c (record_minimal_symbol): Don't add section offset
780 to minimal symbol address.
781 * somread.c (text_offset, data_offset): Remove.
782 (som_symtab_read): Don't add section offsets to minimal symbol
784 * coff-pe-read.c (add_pe_forwarded_sym, read_pe_exported_syms):
785 Don't add section offsets to minimal symbols.
786 * coffread.c (coff_symtab_read): Don't add section offsets
787 to minimal symbol addresses.
788 * machoread.c (macho_symtab_add_minsym): Don't add section offset
789 to minimal symbol addresses.
790 * mipsread.c (read_alphacoff_dynamic_symtab): Don't add
791 section offset to minimal symbol addresses.
792 * mdebugread.c (parse_partial_symbols): Don't add section
793 offset to minimal symbol addresses.
794 * dbxread.c (read_dbx_dynamic_symtab): Don't add section
795 offset to minimal symbol addresses.
797 2014-02-26 Tom Tromey <tromey@redhat.com>
799 * ada-lang.c (ada_main_name): Update.
800 (ada_add_standard_exceptions): Update.
801 * ada-tasks.c (ada_tasks_inferior_data_sniffer): Update.
802 * aix-thread.c (pdc_symbol_addrs, pd_enable): Update.
803 * arm-tdep.c (skip_prologue_function, arm_skip_stub): Update.
804 * auxv.c (ld_so_xfer_auxv): Update.
805 * avr-tdep.c (avr_scan_prologue): Update.
806 * ax-gdb.c (gen_var_ref): Update.
807 * blockframe.c (get_pc_function_start)
808 (find_pc_partial_function_gnu_ifunc): Update.
809 * breakpoint.c (create_overlay_event_breakpoint)
810 (create_longjmp_master_breakpoint)
811 (create_std_terminate_master_breakpoint)
812 (create_exception_master_breakpoint): Update.
813 * bsd-uthread.c (bsd_uthread_lookup_address): Update.
814 * c-valprint.c (c_val_print): Update.
815 * coff-pe-read.c (add_pe_forwarded_sym): Update.
816 * common/agent.c (agent_look_up_symbols): Update.
817 * dbxread.c (find_stab_function_addr, end_psymtab): Update.
818 * dwarf2loc.c (call_site_to_target_addr): Update.
819 * dwarf2read.c (dw2_find_pc_sect_symtab): Update.
820 * elfread.c (elf_gnu_ifunc_record_cache)
821 (elf_gnu_ifunc_resolve_by_got): Update.
822 * findvar.c (default_read_var_value): Update.
823 * frame.c (inside_main_func): Update.
824 * frv-tdep.c (frv_frame_this_id): Update.
825 * glibc-tdep.c (glibc_skip_solib_resolver): Update.
826 * gnu-v3-abi.c (gnuv3_get_typeid, gnuv3_skip_trampoline):
828 * hppa-hpux-tdep.c (hppa64_hpux_search_dummy_call_sequence)
829 (hppa_hpux_find_dummy_bpaddr): Update.
830 * hppa-tdep.c (hppa_symbol_address): Update.
831 * infcmd.c (until_next_command): Update.
832 * jit.c (jit_read_descriptor, jit_breakpoint_re_set_internal):
834 * linespec.c (minsym_found, add_minsym): Update.
835 * linux-nat.c (get_signo): Update.
836 * linux-thread-db.c (inferior_has_bug): Update.
837 * m32c-tdep.c (m32c_return_value)
838 (m32c_m16c_address_to_pointer): Update.
839 * m32r-tdep.c (m32r_frame_this_id): Update.
840 * m68hc11-tdep.c (m68hc11_get_register_info): Update.
841 * machoread.c (macho_resolve_oso_sym_with_minsym): Update.
842 * maint.c (maintenance_translate_address): Update.
843 * minsyms.c (lookup_minimal_symbol_by_pc_name): Update.
844 (frob_address): New function.
845 (lookup_minimal_symbol_by_pc_section_1): Use raw addresses,
846 frob_address. Rename parameter to "pc_in".
847 (compare_minimal_symbols, compact_minimal_symbols): Use raw
849 (find_solib_trampoline_target, minimal_symbol_upper_bound):
851 * mips-linux-tdep.c (mips_linux_skip_resolver): Update.
852 * mips-tdep.c (mips_skip_pic_trampoline_code): Update.
853 * objc-lang.c (find_objc_msgsend): Update.
854 * objfiles.c (objfile_relocate1): Update.
855 * obsd-tdep.c (obsd_skip_solib_resolver): Update.
856 * p-valprint.c (pascal_val_print): Update.
857 * parse.c (write_exp_msymbol): Update.
858 * ppc-linux-tdep.c (ppc_linux_spe_context_lookup)
859 (ppc_elfv2_skip_entrypoint): Update.
860 * ppc-sysv-tdep.c (convert_code_addr_to_desc_addr): Update.
861 * printcmd.c (build_address_symbolic, msym_info)
862 (address_info): Update.
863 * proc-service.c (ps_pglobal_lookup): Update.
864 * psymtab.c (find_pc_sect_psymtab_closer)
865 (find_pc_sect_psymtab, find_pc_sect_symtab_from_partial):
866 Change msymbol parameter to bound_minimal_symbol.
867 * ravenscar-thread.c (get_running_thread_id): Update.
868 * remote.c (remote_check_symbols): Update.
869 * sh64-tdep.c (sh64_elf_make_msymbol_special): Use raw
871 * sol2-tdep.c (sol2_skip_solib_resolver): Update.
872 * solib-dsbt.c (lm_base): Update.
873 * solib-frv.c (lm_base, main_got): Update.
874 * solib-irix.c (locate_base): Update.
875 * solib-som.c (som_solib_create_inferior_hook)
876 (link_map_start): Update.
877 * solib-spu.c (spu_enable_break, ocl_enable_break): Update.
878 * solib-svr4.c (elf_locate_base, enable_break): Update.
879 * spu-tdep.c (spu_get_overlay_table, spu_catch_start)
880 (flush_ea_cache): Update.
881 * stabsread.c (define_symbol, scan_file_globals): Update.
882 * stack.c (find_frame_funname): Update.
883 * symfile-debug.c (debug_qf_expand_symtabs_matching)
884 (debug_qf_find_pc_sect_symtab): Update.
885 * symfile.c (simple_read_overlay_table)
886 (simple_overlay_update): Update.
887 * symfile.h (struct quick_symbol_functions)
888 <find_pc_sect_symtab>: Change type of msymbol to
889 bound_minimal_symbol.
890 * symmisc.c (dump_msymbols): Update.
891 * symtab.c (find_pc_sect_symtab_via_partial)
892 (find_pc_sect_psymtab, find_pc_sect_line, skip_prologue_sal)
893 (search_symbols, print_msymbol_info): Update.
894 * symtab.h (MSYMBOL_VALUE_RAW_ADDRESS): New macro.
895 (MSYMBOL_VALUE_ADDRESS): Redefine.
896 (BMSYMBOL_VALUE_ADDRESS): New macro.
897 * tracepoint.c (scope_info): Update.
898 * tui/tui-disasm.c (tui_find_disassembly_address)
899 (tui_get_begin_asm_address): Update.
900 * valops.c (find_function_in_inferior): Update.
901 * value.c (value_static_field, value_fn_field): Update.
903 2014-02-26 Tom Tromey <tromey@redhat.com>
905 * ada-lang.c (ada_update_initial_language): Update.
906 (ada_main_name, ada_has_this_exception_support): Update.
907 * ada-tasks.c (ada_tasks_inferior_data_sniffer): Update.
908 * aix-thread.c (pdc_symbol_addrs, pd_enable): Update.
909 * arm-tdep.c (arm_skip_stub): Update.
910 * auxv.c (ld_so_xfer_auxv): Update.
911 * avr-tdep.c (avr_scan_prologue): Update.
912 * ax-gdb.c (gen_var_ref): Update.
913 * breakpoint.c (struct breakpoint_objfile_data)
914 <overlay_msym, longjmp_msym, terminate_msym, exception_msym>: Change
915 type to bound_minimal_symbol.
916 (create_overlay_event_breakpoint)
917 (create_longjmp_master_breakpoint)
918 (create_std_terminate_master_breakpoint)
919 (create_exception_master_breakpoint): Update.
920 * bsd-uthread.c (bsd_uthread_lookup_address): Update.
921 * c-exp.y (classify_name): Update.
922 * coffread.c (coff_symfile_read): Update.
923 * common/agent.c (agent_look_up_symbols): Update.
924 * d-lang.c (d_main_name): Update.
925 * dbxread.c (find_stab_function_addr, end_psymtab): Update.
926 * dec-thread.c (enable_dec_thread): Update.
927 * dwarf2loc.c (call_site_to_target_addr): Update.
928 * elfread.c (elf_gnu_ifunc_resolve_by_got): Update.
929 * eval.c (evaluate_subexp_standard): Update.
930 * findvar.c (struct minsym_lookup_data) <result>: Change type
931 to bound_minimal_symbol.
933 (minsym_lookup_iterator_cb, default_read_var_value): Update.
934 * frame.c (inside_main_func): Update.
935 * frv-tdep.c (frv_frame_this_id): Update.
936 * gcore.c (call_target_sbrk): Update.
937 * glibc-tdep.c (glibc_skip_solib_resolver): Update.
938 * gnu-v3-abi.c (gnuv3_get_typeid, gnuv3_skip_trampoline):
940 * go-lang.c (go_main_name): Update.
941 * hppa-hpux-tdep.c (hppa_hpux_skip_trampoline_code)
942 (hppa_hpux_find_import_stub_for_addr): Update.
943 * hppa-tdep.c (hppa_extract_17, hppa_lookup_stub_minimal_symbol):
944 Update. Change return type.
945 * hppa-tdep.h (hppa_lookup_stub_minimal_symbol): Change return
947 * jit.c (jit_breakpoint_re_set_internal): Update.
948 * linux-fork.c (inferior_call_waitpid, checkpoint_command):
950 * linux-nat.c (get_signo): Update.
951 * linux-thread-db.c (inferior_has_bug): Update
952 * m32c-tdep.c (m32c_return_value)
953 (m32c_m16c_address_to_pointer): Update.
954 * m32r-tdep.c (m32r_frame_this_id): Update.
955 * m68hc11-tdep.c (m68hc11_get_register_info): Update.
956 * machoread.c (macho_resolve_oso_sym_with_minsym): Update.
957 * minsyms.c (lookup_minimal_symbol_internal): Rename to
958 lookup_minimal_symbol. Change return type.
959 (lookup_minimal_symbol): Remove.
960 (lookup_bound_minimal_symbol): Update.
961 (lookup_minimal_symbol_text): Change return type.
962 (lookup_minimal_symbol_solib_trampoline): Change return type.
963 * minsyms.h (lookup_minimal_symbol, lookup_minimal_symbol_text)
964 (lookup_minimal_symbol_solib_trampoline): Change return type.
965 * mips-linux-tdep.c (mips_linux_skip_resolver): Update.
966 * objc-lang.c (lookup_objc_class, lookup_child_selector)
967 (value_nsstring, find_imps): Update.
968 * obsd-tdep.c (obsd_skip_solib_resolver): Update.
969 * p-lang.c (pascal_main_name): Update.
970 * ppc-linux-tdep.c (ppc_linux_spe_context_lookup): Update.
971 * ppc-sysv-tdep.c (convert_code_addr_to_desc_addr): Update.
972 * proc-service.c (ps_pglobal_lookup): Update.
973 * ravenscar-thread.c (get_running_thread_msymbol): Change
975 (has_ravenscar_runtime, get_running_thread_id): Update.
976 * remote.c (remote_check_symbols): Update.
977 * sol-thread.c (ps_pglobal_lookup): Update.
978 * sol2-tdep.c (sol2_skip_solib_resolver): Update.
979 * solib-dsbt.c (lm_base): Update.
980 * solib-frv.c (lm_base, frv_relocate_section_addresses):
982 * solib-irix.c (locate_base): Update.
983 * solib-som.c (som_solib_create_inferior_hook)
984 (som_solib_desire_dynamic_linker_symbols, link_map_start):
986 * solib-spu.c (spu_enable_break): Update.
987 * solib-svr4.c (elf_locate_base, enable_break): Update.
988 * spu-tdep.c (spu_get_overlay_table, spu_catch_start)
989 (flush_ea_cache): Update.
990 * stabsread.c (define_symbol): Update.
991 * symfile.c (simple_read_overlay_table): Update.
992 * symtab.c (find_pc_sect_line): Update.
993 * tracepoint.c (scope_info): Update.
994 * tui-disasm.c (tui_get_begin_asm_address): Update.
995 * value.c (value_static_field): Update.
997 2014-02-26 Tom Tromey <tromey@redhat.com>
999 * minsyms.c (prim_record_minimal_symbol_full): Use
1000 SET_MSYMBOL_VALUE_ADDRESS.
1001 * objfiles.c (objfile_relocate1): Use SET_MSYMBOL_VALUE_ADDRESS.
1002 * sh64-tdep.c (sh64_elf_make_msymbol_special): Use
1003 SET_MSYMBOL_VALUE_ADDRESS.
1004 * symtab.h (MSYMBOL_VALUE_ADDRESS): Expand to an rvalue.
1005 (SET_MSYMBOL_VALUE_ADDRESS): New macro.
1007 2014-02-26 Tom Tromey <tromey@redhat.com>
1009 * symtab.h (struct minimal_symbol) <mginfo>: Rename from ginfo.
1010 (MSYMBOL_VALUE, MSYMBOL_VALUE_ADDRESS, MSYMBOL_VALUE_BYTES)
1011 (MSYMBOL_BLOCK_VALUE, MSYMBOL_VALUE_CHAIN, MSYMBOL_LANGUAGE)
1012 (MSYMBOL_SECTION, MSYMBOL_OBJ_SECTION, MSYMBOL_NATURAL_NAME)
1013 (MSYMBOL_LINKAGE_NAME, MSYMBOL_PRINT_NAME, MSYMBOL_DEMANGLED_NAME)
1014 (MSYMBOL_SET_LANGUAGE, MSYMBOL_SEARCH_NAME)
1015 (MSYMBOL_MATCHES_SEARCH_NAME, MSYMBOL_SET_NAMES): New macros.
1016 * ada-lang.c (ada_main_name): Update.
1017 (ada_lookup_simple_minsym): Update.
1018 (ada_make_symbol_completion_list): Update.
1019 (ada_add_standard_exceptions): Update.
1020 * ada-tasks.c (read_atcb, ada_tasks_inferior_data_sniffer): Update.
1021 * aix-thread.c (pdc_symbol_addrs, pd_enable): Update.
1022 * amd64-windows-tdep.c (amd64_skip_main_prologue): Update.
1023 * arm-tdep.c (skip_prologue_function): Update.
1024 (arm_skip_stack_protector, arm_skip_stub): Update.
1025 * arm-wince-tdep.c (arm_pe_skip_trampoline_code): Update.
1026 (arm_wince_skip_main_prologue): Update.
1027 * auxv.c (ld_so_xfer_auxv): Update.
1028 * avr-tdep.c (avr_scan_prologue): Update.
1029 * ax-gdb.c (gen_var_ref): Update.
1030 * block.c (call_site_for_pc): Update.
1031 * blockframe.c (get_pc_function_start): Update.
1032 (find_pc_partial_function_gnu_ifunc): Update.
1033 * breakpoint.c (create_overlay_event_breakpoint): Update.
1034 (create_longjmp_master_breakpoint): Update.
1035 (create_std_terminate_master_breakpoint): Update.
1036 (create_exception_master_breakpoint): Update.
1037 (resolve_sal_pc): Update.
1038 * bsd-uthread.c (bsd_uthread_lookup_address): Update.
1039 * btrace.c (ftrace_print_function_name, ftrace_function_switched):
1041 * c-valprint.c (c_val_print): Update.
1042 * coff-pe-read.c (add_pe_forwarded_sym): Update.
1043 * coffread.c (coff_symfile_read): Update.
1044 * common/agent.c (agent_look_up_symbols): Update.
1045 * dbxread.c (find_stab_function_addr): Update.
1046 (end_psymtab): Update.
1047 * dwarf2loc.c (call_site_to_target_addr): Update.
1048 (func_verify_no_selftailcall): Update.
1049 (tailcall_dump): Update.
1050 (call_site_find_chain_1): Update.
1051 (dwarf_expr_reg_to_entry_parameter): Update.
1052 * elfread.c (elf_gnu_ifunc_record_cache): Update.
1053 (elf_gnu_ifunc_resolve_by_got): Update.
1054 * f-valprint.c (info_common_command): Update.
1055 * findvar.c (read_var_value): Update.
1056 * frame.c (get_prev_frame_1): Update.
1057 (inside_main_func): Update.
1058 * frv-tdep.c (frv_skip_main_prologue): Update.
1059 (frv_frame_this_id): Update.
1060 * glibc-tdep.c (glibc_skip_solib_resolver): Update.
1061 * gnu-v2-abi.c (gnuv2_value_rtti_type): Update.
1062 * gnu-v3-abi.c (gnuv3_rtti_type): Update.
1063 (gnuv3_skip_trampoline): Update.
1064 * hppa-hpux-tdep.c (hppa32_hpux_in_solib_call_trampoline): Update.
1065 (hppa64_hpux_in_solib_call_trampoline): Update.
1066 (hppa_hpux_skip_trampoline_code): Update.
1067 (hppa64_hpux_search_dummy_call_sequence): Update.
1068 (hppa_hpux_find_import_stub_for_addr): Update.
1069 (hppa_hpux_find_dummy_bpaddr): Update.
1070 * hppa-tdep.c (hppa_symbol_address)
1071 (hppa_lookup_stub_minimal_symbol): Update.
1072 * i386-tdep.c (i386_skip_main_prologue): Update.
1073 (i386_pe_skip_trampoline_code): Update.
1074 * ia64-tdep.c (ia64_convert_from_func_ptr_addr): Update.
1075 * infcall.c (get_function_name): Update.
1076 * infcmd.c (until_next_command): Update.
1077 * jit.c (jit_breakpoint_re_set_internal): Update.
1078 (jit_inferior_init): Update.
1079 * linespec.c (minsym_found): Update.
1080 (add_minsym): Update.
1081 * linux-fork.c (info_checkpoints_command): Update.
1082 * linux-nat.c (get_signo): Update.
1083 * linux-thread-db.c (inferior_has_bug): Update.
1084 * m32c-tdep.c (m32c_return_value): Update.
1085 (m32c_m16c_address_to_pointer): Update.
1086 (m32c_m16c_pointer_to_address): Update.
1087 * m32r-tdep.c (m32r_frame_this_id): Update.
1088 * m68hc11-tdep.c (m68hc11_get_register_info): Update.
1089 * machoread.c (macho_resolve_oso_sym_with_minsym): Update.
1090 * maint.c (maintenance_translate_address): Update.
1091 * minsyms.c (add_minsym_to_hash_table): Update.
1092 (add_minsym_to_demangled_hash_table): Update.
1093 (msymbol_objfile): Update.
1094 (lookup_minimal_symbol): Update.
1095 (iterate_over_minimal_symbols): Update.
1096 (lookup_minimal_symbol_text): Update.
1097 (lookup_minimal_symbol_by_pc_name): Update.
1098 (lookup_minimal_symbol_solib_trampoline): Update.
1099 (lookup_minimal_symbol_by_pc_section_1): Update.
1100 (lookup_minimal_symbol_and_objfile): Update.
1101 (prim_record_minimal_symbol_full): Update.
1102 (compare_minimal_symbols): Update.
1103 (compact_minimal_symbols): Update.
1104 (build_minimal_symbol_hash_tables): Update.
1105 (install_minimal_symbols): Update.
1106 (terminate_minimal_symbol_table): Update.
1107 (find_solib_trampoline_target): Update.
1108 (minimal_symbol_upper_bound): Update.
1109 * mips-linux-tdep.c (mips_linux_skip_resolver): Update.
1110 * mips-tdep.c (mips_stub_frame_sniffer): Update.
1111 (mips_skip_pic_trampoline_code): Update.
1112 * msp430-tdep.c (msp430_skip_trampoline_code): Update.
1113 * objc-lang.c (selectors_info): Update.
1114 (classes_info): Update.
1115 (find_methods): Update.
1116 (find_imps): Update.
1117 (find_objc_msgsend): Update.
1118 * objfiles.c (objfile_relocate1): Update.
1119 * objfiles.h (ALL_OBJFILE_MSYMBOLS): Update.
1120 * obsd-tdep.c (obsd_skip_solib_resolver): Update.
1121 * p-valprint.c (pascal_val_print): Update.
1122 * parse.c (write_exp_msymbol): Update.
1123 * ppc-linux-tdep.c (powerpc_linux_in_dynsym_resolve_code)
1124 (ppc_linux_spe_context_lookup, ppc_elfv2_skip_entrypoint): Update.
1125 * ppc-sysv-tdep.c (convert_code_addr_to_desc_addr): Update.
1126 * printcmd.c (build_address_symbolic): Update.
1128 (address_info): Update.
1129 * proc-service.c (ps_pglobal_lookup): Update.
1130 * psymtab.c (find_pc_sect_psymtab_closer): Update.
1131 (find_pc_sect_psymtab): Update.
1132 * python/py-framefilter.c (py_print_frame): Update.
1133 * ravenscar-thread.c (get_running_thread_id): Update.
1134 * record-btrace.c (btrace_call_history, btrace_get_bfun_name):
1136 * remote.c (remote_check_symbols): Update.
1137 * rs6000-tdep.c (rs6000_skip_main_prologue): Update.
1138 (rs6000_skip_trampoline_code): Update.
1139 * sh64-tdep.c (sh64_elf_make_msymbol_special): Update.
1140 * sol2-tdep.c (sol2_skip_solib_resolver): Update.
1141 * solib-dsbt.c (lm_base): Update.
1142 * solib-frv.c (lm_base): Update.
1144 * solib-irix.c (locate_base): Update.
1145 * solib-som.c (som_solib_create_inferior_hook): Update.
1146 (som_solib_desire_dynamic_linker_symbols): Update.
1147 (link_map_start): Update.
1148 * solib-spu.c (spu_enable_break): Update.
1149 (ocl_enable_break): Update.
1150 * solib-svr4.c (elf_locate_base): Update.
1151 (enable_break): Update.
1152 * spu-tdep.c (spu_get_overlay_table): Update.
1153 (spu_catch_start): Update.
1154 (flush_ea_cache): Update.
1155 * stabsread.c (define_symbol): Update.
1156 (scan_file_globals): Update.
1157 * stack.c (find_frame_funname): Update.
1158 (frame_info): Update.
1159 * symfile.c (simple_read_overlay_table): Update.
1160 (simple_overlay_update): Update.
1161 * symmisc.c (dump_msymbols): Update.
1162 * symtab.c (fixup_section): Update.
1163 (find_pc_sect_line): Update.
1164 (skip_prologue_sal): Update.
1165 (search_symbols): Update.
1166 (print_msymbol_info): Update.
1167 (rbreak_command): Update.
1168 (MCOMPLETION_LIST_ADD_SYMBOL): New macro.
1169 (completion_list_objc_symbol): Update.
1170 (default_make_symbol_completion_list_break_on): Update.
1171 * tracepoint.c (scope_info): Update.
1172 * tui/tui-disasm.c (tui_find_disassembly_address): Update.
1173 (tui_get_begin_asm_address): Update.
1174 * valops.c (find_function_in_inferior): Update.
1175 * value.c (value_static_field): Update.
1176 (value_fn_field): Update.
1178 2014-02-26 Tom Tromey <tromey@redhat.com>
1180 * blockframe.c (find_pc_partial_function_gnu_ifunc): Use
1181 bound minimal symbols. Move code that knows about minsym
1183 * minsyms.c (minimal_symbol_upper_bound): ... here. New
1185 * minsyms.h (minimal_symbol_upper_bound): Declare.
1186 * objc-lang.c (find_objc_msgsend): Use bound minimal symbols,
1187 minimal_symbol_upper_bound.
1189 2014-02-27 Joel Brobecker <brobecker@adacore.com>
1191 * python/lib/gdb/printing.py (RegexpCollectionPrettyPrinter):
1192 Use the type's name if its basic type does not have a tag.
1194 2014-02-27 Joel Brobecker <brobecker@adacore.com>
1196 * dwarf2read.c (read_subrange_type): Add comment.
1198 2014-02-27 Joel Brobecker <brobecker@adacore.com>
1200 * dwarf2read.c (update_enumeration_type_from_children): New
1201 function, mostly extracted from process_structure_scope.
1202 (read_enumeration_type): Call update_enumeration_type_from_children.
1203 (process_enumeration_scope): Do not set THIS_TYPE's flag_unsigned
1204 and flag_flag_enum fields.
1206 2014-02-26 Pedro Alves <palves@redhat.com>
1208 * bsd-uthread.c (bsd_uthread_xfer_partial): Delete function.
1209 (bsd_uthread_target): Don't install bsd_uthread_xfer_partial as
1210 to_xfer_partial method.
1212 2014-02-26 Pedro Alves <palves@redhat.com>
1214 * target.c (complete_target_initialization): Don't install
1215 default_xfer_partial as to_xfer_partial hook.
1217 (update_current_target): Don't INHERIT nor de_fault
1218 deprecated_xfer_memory. Delete de_fault macro.
1219 (default_xfer_partial, deprecated_debug_xfer_memory): Delete.
1220 (setup_target_debug): Don't install a deprecated_xfer_memory hook.
1221 * target.h (struct target_ops) <deprecated_xfer_memory>: Delete
1224 2014-02-26 Pedro Alves <palves@redhat.com>
1226 * go32-nat.c (my_write_child): New function.
1227 (go32_xfer_memory): Rewrite as to_xfer_partial helper.
1228 (go32_xfer_partial): New function.
1229 (init_go32_ops): Don't install a deprecated_xfer_memory hook.
1230 Instead install a to_xfer_partial hook.
1232 2014-02-26 Pedro Alves <palves@redhat.com>
1234 * nto-procfs.c (procfs_xfer_memory): Adjust interface as a
1235 to_xfer_partial helper. Rewrite.
1236 (procfs_xfer_partial): New function.
1237 (init_procfs_ops): Don't install a deprecated_xfer_memory hook.
1238 Install a to_xfer_partial hook.
1240 2014-02-26 Pedro Alves <palves@redhat.com>
1242 * remote-m32r-sdi.c (send_data): Constify 'buf' parameter.
1243 (m32r_xfer_memory): Adjust as a to_xfer_partial helper.
1244 (m32r_xfer_partial): New function.
1245 (init_m32r_ops): Don't install a deprecated_xfer_memory hook.
1246 Install a to_xfer_partial hook.
1248 2014-02-26 Pedro Alves <palves@redhat.com>
1250 * remote-mips.c (mips_xfer_memory): Adjust as to_xfer_partial
1252 (mips_xfer_partial): New function.
1253 (_initialize_remote_mips): Don't install a deprecated_xfer_memory
1254 hook. Install a to_xfer_partial hook.
1256 2014-02-26 Joel Brobecker <brobecker@adacore.com>
1258 * gdbtypes.h (create_array_type_with_stride): Add declaration.
1259 * gdbtypes.c (create_array_type_with_stride): New function,
1260 renaming create_array_type, but with an added parameter
1261 called "bit_stride".
1262 (create_array_type): Re-implement using
1263 create_array_type_with_stride.
1264 * dwarf2read.c (read_array_type): Add support for DW_AT_byte_stride
1265 and DW_AT_bit_stride attributes.
1267 2014-02-26 Pedro Alves <palves@redhat.com>
1269 * breakpoint.c (bpstat_check_breakpoint_conditions): Handle
1270 task-specific breakpoints.
1272 2014-02-25 Pedro Alves <palves@redhat.com>
1274 * ia64-linux-nat.c (ia64_linux_xfer_partial): Reimplement
1275 handling of object == TARGET_OBJECT_UNWIND_TABLE.
1277 2014-02-25 Stan Shebs <stan@codesourcery.com>
1279 * defs.h: Annotate comments for Doxygen.
1281 2014-02-25 Tom Tromey <tromey@redhat.com>
1283 * target.h (target_ignore): Don't declare.
1284 * target.c (target_ignore): Remove.
1286 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
1289 * auto-load.c (auto_load_objfile_script_1): Change filename to
1292 2014-02-25 Joel Brobecker <brobecker@adacore.com>
1294 * ia64-linux-nat.c (ia64_linux_xfer_partial): Add function
1295 documentation. Adjust prototype to match the target_ops
1296 to_xfer_partial method. Adjust implementation accordingly.
1298 2014-02-25 Hui Zhu <hui@codesourcery.com>
1300 * target.h (target_ops): Fix TARGET_DEFAULT_RETURN of
1303 2014-02-25 Kevin Buettner <kevinb@redhat.com>
1305 * rl78-tdep.c (RL78_BANK0_RP0_PTR_REGNUM, RL78_BANK0_RP1_PTR_REGNUM)
1306 (RL78_BANK0_RP2_PTR_REGNUM, RL78_BANK0_RP3_PTR_REGNUM)
1307 (RL78_BANK1_RP0_PTR_REGNUM, RL78_BANK1_RP1_PTR_REGNUM)
1308 (RL78_BANK1_RP2_PTR_REGNUM, RL78_BANK1_RP3_PTR_REGNUM)
1309 (RL78_BANK2_RP0_PTR_REGNUM, RL78_BANK2_RP1_PTR_REGNUM)
1310 (RL78_BANK2_RP2_PTR_REGNUM, RL78_BANK2_RP3_PTR_REGNUM)
1311 (RL78_BANK3_RP0_PTR_REGNUM, RL78_BANK3_RP1_PTR_REGNUM)
1312 (RL78_BANK3_RP2_PTR_REGNUM, RL78_BANK3_RP3_PTR_REGNUM):
1314 (rl78_register_type): Use a data pointer type for SP and
1315 new pseudo registers mentioned above. Use a 16 bit integer
1316 type for all other register pairs.
1317 (rl78_register_name, rl78_g10_register_name): Update for
1318 new pseudo registers.
1319 (rl78_pseudo_register_read): Likewise.
1320 (rl78_pseudo_register_write): Likewise.
1321 (rl78_dwarf_reg_to_regnum): Return register numbers representing
1322 to the newly added pseudo registers.
1324 2014-02-24 Doug Evans <dje@google.com>
1326 * value.c (record_latest_value): Fix comment.
1327 * printcmd.c (print_command_1): Remove code to handle -1 return from
1328 record_latest_value.
1330 2014-02-24 Pedro Alves <palves@redhat.com>
1332 * procfs.c (procfs_target): Don't install procfs_xfer_memory as
1333 deprecated_xfer_memory hook.
1334 (procfs_xfer_partial): Call procfs_xfer_memory instead
1335 of the deprecated_xfer_memory target hook.
1336 (procfs_xfer_memory): Adjust interface as a to_xfer_partial
1339 2014-02-24 Yuanhui Zhang <asmwarrior@gmail.com>
1341 * windows-nat.c (windows_xfer_shared_libraries): Return
1342 TARGET_XFER_EOF if LEN is zero to fix an assert failure when
1343 requested object is TARGET_OBJECT_LIBRARIES.
1345 2014-02-24 Yao Qi <yao@codesourcery.com>
1347 * target.h (enum target_xfer_status)
1348 <TARGET_XFER_E_UNAVAILABLE>: Rename it to ...
1349 <TARGET_XFER_UNAVAILABLE>: ... it with setting value 2
1351 * corefile.c (memory_error_message): User updated.
1352 * exec.c (section_table_read_available_memory): Likewise.
1353 * record-btrace.c (record_btrace_xfer_partial): Likewise.
1354 * target.c (target_xfer_status_to_string): Likewise.
1355 (raw_memory_xfer_partial): Likewise.
1356 (memory_xfer_partial_1, target_xfer_partial): Likewise.
1357 * valops.c (read_value_memory): Likewise.
1358 * exec.h: Update comments.
1360 2014-02-24 Yao Qi <yao@codesourcery.com>
1362 * target.c (target_xfer_status_to_string): Rename argument err
1364 * target.h (target_xfer_status_to_string): Update declaration.
1365 Replace target_xfer_error_to_string with
1366 target_xfer_status_to_string in comment.
1368 2014-02-24 Yao Qi <yao@codesourcery.com>
1370 * mips-linux-nat.c (super_close): Update its type.
1371 (mips_linux_close): Pass 'self' to super_close.
1373 2014-02-24 Yao Qi <yao@codesourcery.com>
1375 * target.h (TARGET_XFER_STATUS_ERROR_P): Remove.
1376 * corefile.c (read_memory): Adjusted.
1377 * target.c (target_write_with_progress): Adjusted.
1379 2014-02-23 Yao Qi <yao@codesourcery.com>
1383 2013-10-25 Yao Qi <yao@codesourcery.com>
1385 * remote.c (remote_traceframe_info): Return early if
1386 traceframe is not selected.
1388 2013-07-19 Yao Qi <yao@codesourcery.com>
1390 * target.c (update_current_target): Change the default action
1391 of 'to_traceframe_info' from tcomplain to return_zero.
1392 * target.h (struct target_ops) <to_traceframe_info>: Add more
1395 2014-02-23 Yao Qi <yao@codesourcery.com>
1397 * valops.c (read_value_memory): Rewrite it. Call
1398 target_xfer_partial in a loop.
1399 * exec.h (section_table_available_memory): Remove declaration.
1400 Move comments to ...
1401 * exec.c (section_table_available_memory): ... here. Make it
1404 2014-02-23 Yao Qi <yao@codesourcery.com>
1406 * exec.c (section_table_read_available_memory): New function.
1407 * exec.h (section_table_read_available_memory): Declare.
1408 * ctf.c (ctf_xfer_partial): Call
1409 section_table_read_available_memory.
1410 * tracefile-tfile.c (tfile_xfer_partial): Likewise.
1412 2014-02-23 Yao Qi <yao@codesourcery.com>
1414 * ctf.c (ctf_xfer_partial): Move code to ...
1415 * exec.c (exec_read_partial_read_only): ... it. New function.
1416 * tracefile-tfile.c (tfile_xfer_partial): Likewise.
1417 * tracefile.c: Include "exec.h".
1418 * exec.h (exec_read_partial_read_only): Declare.
1420 2014-02-23 Yao Qi <yao@codesourcery.com>
1422 * tracefile-tfile.c (tfile_has_all_memory): Remove.
1423 (tfile_has_memory): Remove.
1424 (init_tfile_ops): Don't set fields to_has_all_memory and
1425 to_has_memory of tfile_ops.
1426 * tracefile.c (tracefile_has_all_memory): New function.
1427 (tracefile_has_memory): New function.
1428 (init_tracefile_ops): Initialize fields to_has_all_memory and
1429 to_has_memory of 'ops'.
1431 2014-02-23 Yao Qi <yao@codesourcery.com>
1433 * ctf.c (ctf_has_stack, ctf_has_registers): Remove.
1434 (ctf_thread_alive, ctf_get_trace_status): Remove.
1435 (init_ctf_ops): Don't set some fields of ctf_ops. Call
1437 * tracefile-tfile.c (tfile_get_trace_status): Remove.
1438 (tfile_has_stack, tfile_has_registers): Remove.
1439 (tfile_thread_alive): Remove.
1440 (init_tfile_ops): Don't set some fields of tfile_ops. Call
1442 * tracefile.c (tracefile_has_stack): New function.
1443 (tracefile_has_registers): New function.
1444 (tracefile_thread_alive): New function.
1445 (tracefile_get_trace_status): New function.
1446 (init_tracefile_ops): New function.
1447 * tracefile.h (init_tracefile_ops): Declare.
1449 2014-02-23 Yao Qi <yao@codesourcery.com>
1451 * tracepoint.c (TFILE_PID): Move it to tracefile-tfile.c.
1452 (O_LARGEFILE): Likewise.
1453 (tfile_ops): Likewise.
1454 (TRACE_HEADER_SIZE): Likewise.
1455 (trace_fd, trace_frames_offset, cur_offset): Likewise.
1456 (cur_data_size): Likewise.
1457 (tfile_read, tfile_open, tfile_interp_line): Likewise.
1458 (tfile_close, tfile_files_info): Likewise.
1459 (tfile_get_trace_status): Likewise.
1460 (tfile_get_tracepoint_status): Likewise.
1461 (tfile_get_traceframe_address): Likewise.
1462 (tfile_trace_find, match_blocktype): Likewise.
1463 (traceframe_walk_blocks, traceframe_find_block_type): Likewise.
1464 (tfile_fetch_registers, tfile_xfer_partial): Likewise.
1465 (tfile_get_trace_state_variable_value): Likewise.
1466 (tfile_has_all_memory, tfile_has_memory): Likewise.
1467 (tfile_has_stack, tfile_has_registers): Likewise.
1468 (tfile_thread_alive, build_traceframe_info): Likewise.
1469 (tfile_traceframe_info, init_tfile_ops): Likewise.
1470 (_initialize_tracepoint): Don't call init_tfile_ops
1471 and add_target_with_completer.
1472 * tracefile-tfile.c: Include regcache.h, inferior.h, gdbthread.h,
1473 exec.h, completer.h and filenames.h.
1474 (_initialize_tracefile_tfile): New function.
1476 2014-02-23 Yao Qi <yao@codesourcery.com>
1478 * Makefile.in (REMOTE_OBS): Append tracefile.o and
1480 (HFILES_NO_SRCDIR): Add tracefile.h.
1481 * ctf.c: Include "tracefile.h".
1482 * tracefile.h: New file.
1483 * tracefile.c: New file
1484 * tracefile-tfile.c: New file.
1485 * tracepoint.c: Include "tracefile.h".
1486 (free_uploaded_tps, free_uploaded_tsvs): Remove declarations.
1487 (stop_reason_names): Add const.
1488 (trace_file_writer_xfree): Move it to tracefile.c.
1489 (trace_save, trace_save_command, trace_save_tfile): Likewise.
1490 (trace_save_ctf): Likewise.
1491 (struct tfile_trace_file_writer): Move it to tracefile-tfile.c.
1492 (tfile_target_save, tfile_dtor, tfile_start): Likewise.
1493 (tfile_write_header, tfile_write_regblock_type): Likewise.
1494 (tfile_write_status, tfile_write_uploaded_tsv): Likewise.
1495 (tfile_write_uploaded_tp, tfile_write_definition_end): Likewise.
1496 (tfile_write_raw_data, tfile_end): Likewise.
1497 (tfile_trace_file_writer_new): Likewise.
1498 (free_uploaded_tp): Make it extern.
1499 (free_uploaded_tsv): Make it extern.
1500 (_initialize_tracepoint): Move code to register command 'tsave'
1502 * tracepoint.h (stop_reason_names): Declare.
1503 (struct trace_frame_write_ops): Move it to tracefile.h.
1504 (struct trace_file_write_ops): Likewise.
1505 (struct trace_file_writer): Likewise.
1506 (free_uploaded_tsvs, free_uploaded_tps): Declare.
1508 2014-02-21 Jan Kratochvil <jan.kratochvil@redhat.com>
1511 * common/linux-osdata.c (linux_common_core_of_thread): Find the end of
1513 (get_cores_used_by_process): New parameter num_cores, use it.
1514 (linux_xfer_osdata_processes): Pass num_cores to it.
1515 * linux-tdep.c (linux_info_proc, linux_fill_prpsinfo): Find the end of
1518 2014-02-21 Andreas Arnez <arnez@vnet.linux.ibm.com>
1520 * target.c (memory_xfer_partial): Fix length arg in call to
1521 breakpoint_xfer_memory.
1523 2014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
1526 * i386-tdep.c (i386_stap_parse_special_token_triplet): Check if a
1527 number comes after the + or - signs. Adjust length of register
1528 name to be extracted.
1530 2014-02-20 Tom Tromey <tromey@redhat.com>
1532 * varobj.h (c_varobj_ops, cplus_varobj_ops, java_varobj_ops)
1533 (ada_varobj_ops): Mark "extern".
1535 2014-02-20 Tom Tromey <tromey@redhat.com>
1537 * dbxread.c (read_dbx_symtab): Remove last_o_file_start.
1539 2014-02-20 Doug Evans <xdje42@gmail.com>
1541 * guile/scm-gsmob.c (gdbscm_init_eqable_gsmob): New arg containing_scm.
1542 All callers updated.
1543 (gdbscm_fill_eqable_gsmob_ptr_slot): Delete arg containing_scm.
1544 All callers updated.
1545 * guile/guile-internal.h (gdbscm_init_eqable_gsmob): Update.
1546 (gdbscm_fill_eqable_gsmob_ptr_slot): Update.
1548 2014-02-20 lin zuojian <manjian2006@gmail.com>
1549 Joel Brobecker <brobecker@adacore.com>
1550 Doug Evans <xdje42@gmail.com>
1553 * dwarf2read.c (struct die_info): New member in_process.
1554 (reset_die_in_process): New function.
1555 (process_die): Set it at the start, reset when returning.
1556 (inherit_abstract_dies): Only call process_die if origin_child_die
1557 not already being processed.
1559 2014-02-20 Joel Brobecker <brobecker@adacore.com>
1561 * windows-nat.c (handle_unload_dll): Add function documentation.
1562 (do_initial_windows_stuff): Add comment explaining why we wait
1563 until after inferior initialization has finished before
1564 processing all DLLs.
1566 2014-02-20 Joel Brobecker <brobecker@adacore.com>
1568 * windows-nat.c (get_module_name): Delete.
1569 (windows_get_exec_module_filename): New function, mostly
1570 inspired from get_module_name.
1571 (windows_pid_to_exec_file): Replace call to get_module_name
1572 by call to windows_get_exec_module_filename.
1574 2014-02-20 Joel Brobecker <brobecker@adacore.com>
1576 * windows-nat.c (handle_load_dll): Rewrite this function's
1577 introductory comment. Remove code using get_module_name
1578 to get the DLL's name.
1580 2014-02-20 Joel Brobecker <brobecker@adacore.com>
1582 * windows-nat.c (get_windows_debug_event): Ignore
1583 LOAD_DLL_DEBUG_EVENT and UNLOAD_DLL_DEBUG_EVENT
1584 if windows_initialization_done == 0.
1585 (windows_add_all_dlls): Renames windows_ensure_ntdll_loaded.
1586 Adjust implementation to always load all DLLs.
1587 (do_initial_windows_stuff): Replace call to
1588 windows_ensure_ntdll_loaded by call to windows_add_all_dlls.
1590 2014-02-20 Joel Brobecker <brobecker@adacore.com>
1592 * windows-nat.c (_initialize_windows_nat): Deprecate the
1593 "dll-symbols" command. Turn the "add-shared-symbol-files"
1594 and "assf" aliases into commands, and deprecate them as well.
1595 * NEWS: Add entry explaining that "dll-symbols" and its two
1596 aliases are now deprecated.
1598 2014-02-20 Joel Brobecker <brobecker@adacore.com>
1600 * dec-thread.c (dec_thread_get_ada_task_ptid): Avoid unescaped
1601 new-line in debug string. Remove trailing spaces.
1603 2014-02-19 Stan Shebs <stan@codesourcery.com>
1605 * darwin-nat.c (darwin_xfer_partial): Fix return type.
1607 2014-02-19 Siva Chandra Reddy <sivachandra@google.com>
1609 * NEWS: Add entry for the new feature
1610 * python/py-value.c (valpy_binop): Call value_x_binop for struct
1613 2014-02-19 Stan Shebs <stan@codesourcery.com>
1615 * MAINTAINERS: List Yao Qi as nios2 maintainer.
1617 2014-02-19 Pedro Alves <palves@redhat.com>
1619 * common/ptid.h (struct ptid): Mention that process_stratum
1620 targets should prefer ptid.lwp.
1622 2014-02-19 Pedro Alves <palves@redhat.com>
1624 * remote.c (remote_thread_alive, write_ptid, read_ptid)
1625 (read_ptid, remote_newthread_step, remote_threads_extra_info)
1626 (remote_get_ada_task_ptid, append_resumption, remote_stop_ns)
1627 (threadalive_test, remote_pid_to_str): Use the ptid.lwp field to
1628 store remote thread ids rather than ptid.tid.
1629 (_initialize_remote): Adjust.
1631 2014-02-19 Tom Tromey <tromey@redhat.com>
1633 * target.c (target_get_unwinder): Rewrite.
1634 (target_get_tailcall_unwinder): Rewrite.
1635 * record-btrace.c (record_btrace_to_get_unwinder): New function.
1636 (record_btrace_to_get_tailcall_unwinder): New function.
1637 (init_record_btrace_ops): Update.
1638 * target.h (struct target_ops) <to_get_unwinder,
1639 to_get_tailcall_unwinder>: Now function pointers. Use
1640 TARGET_DEFAULT_RETURN.
1642 2014-02-19 Tom Tromey <tromey@redhat.com>
1644 * nto-procfs.c (procfs_remove_hw_breakpoint): Add 'self'
1646 (init_procfs_ops): Correctly set to_remove_hw_breakpoint.
1648 2014-02-19 Tom Tromey <tromey@redhat.com>
1650 * record-btrace.c (record_btrace_decr_pc_after_break): Delegate
1652 * target-delegates.c: Rebuild.
1653 * target.h (struct target_ops) <to_decr_pc_after_break>: Use
1654 TARGET_DEFAULT_FUNC.
1655 * target.c (default_target_decr_pc_after_break): Rename from
1656 forward_target_decr_pc_after_break. Simplify.
1657 (target_decr_pc_after_break): Rely on delegation.
1659 2014-02-19 Tom Tromey <tromey@redhat.com>
1661 * target.c (update_current_target): Do not INHERIT to_doc or
1662 to_magic. Do not de_fault to_open or to_close.
1664 2014-02-19 Tom Tromey <tromey@redhat.com>
1666 * gcore.h (objfile_find_memory_regions): Declare.
1667 * gcore.c (objfile_find_memory_regions): No longer static. Add
1669 (_initialize_gcore): Don't call exec_set_find_memory_regions.
1670 * exec.c: Include gcore.h.
1671 (exec_set_find_memory_regions): Remove.
1672 (exec_find_memory_regions): Remove.
1673 (exec_do_find_memory_regions): Remove.
1674 (init_exec_ops): Update.
1675 * defs.h (exec_set_find_memory_regions): Remove.
1677 2014-02-19 Tom Tromey <tromey@redhat.com>
1679 * target-delegates.c: Rebuild.
1680 * target.h (struct target_ops) <to_extra_thread_info,
1681 to_thread_name, to_pid_to_exec_file, to_get_section_table,
1682 to_memory_map, to_read_description, to_traceframe_info>: Use NULL,
1683 not 0, in TARGET_DEFAULT_RETURN.
1685 2014-02-19 Tom Tromey <tromey@redhat.com>
1687 * target.c (complete_target_initialization): Remove casts. Use
1688 return_zero_has_execution.
1689 (return_zero): Add "ignore" argument.
1690 (return_zero_has_execution): New function.
1691 (init_dummy_target): Remove casts. Use
1692 return_zero_has_execution.
1694 2014-02-19 Tom Tromey <tromey@redhat.com>
1696 * target.c (update_current_target): Update comments. Do not
1699 2014-02-19 Tom Tromey <tromey@redhat.com>
1701 * arm-linux-nat.c (arm_linux_read_description): Delegate when
1703 * corelow.c (core_read_description): Delegate when needed.
1704 * remote.c (remote_read_description): Delegate when needed.
1705 * target-delegates.c: Rebuild.
1706 * target.c (target_read_description): Rewrite.
1707 * target.h (struct target_ops) <to_read_description>: Update
1708 comment. Use TARGET_DEFAULT_RETURN.
1710 2014-02-19 Tom Tromey <tromey@redhat.com>
1712 * target-delegates.c: Rebuild.
1713 * target.c (update_current_target): Don't inherit or default
1715 (find_default_run_target): Check against delegate_can_run.
1716 * target.h (struct target_ops) <to_can_run>: Use
1717 TARGET_DEFAULT_RETURN.
1719 2014-02-19 Tom Tromey <tromey@redhat.com>
1721 * target-delegates.c: Rebuild.
1722 * target.c (target_disconnect): Unconditionally delegate.
1723 * target.h (struct target_ops) <to_disconnect>: Use
1724 TARGET_DEFAULT_NORETURN.
1726 2014-02-19 Tom Tromey <tromey@redhat.com>
1728 * record.c (record_stop): Unconditionally delegate.
1729 * target-delegates.c: Rebuild.
1730 * target.c (target_stop_recording): Unconditionally delegate.
1731 * target.h (struct target_ops) <to_stop_recording>: Use
1732 TARGET_DEFAULT_IGNORE.
1734 2014-02-19 Tom Tromey <tromey@redhat.com>
1736 * target-delegates.c: Rebuild.
1737 * target.c (target_enable_btrace): Unconditionally delegate.
1738 * target.h (struct target_ops) <to_enable_btrace>: Use
1739 TARGET_DEFAULT_NORETURN.
1741 2014-02-19 Tom Tromey <tromey@redhat.com>
1743 * target-delegates.c: Rebuild.
1744 * target.c (target_read_btrace): Unconditionally delegate.
1745 * target.h (struct target_ops) <to_read_btrace>: Use
1746 TARGET_DEFAULT_NORETURN.
1748 2014-02-19 Tom Tromey <tromey@redhat.com>
1750 * target-delegates.c: Rebuild.
1751 * target.c (target_teardown_btrace): Unconditionally delegate.
1752 * target.h (struct target_ops) <to_teardown_btrace>: Use
1753 TARGET_DEFAULT_NORETURN.
1755 2014-02-19 Tom Tromey <tromey@redhat.com>
1757 * target-delegates.c: Rebuild.
1758 * target.c (target_disable_btrace): Unconditionally delegate.
1759 * target.h (struct target_ops) <to_disable_btrace>: Use
1760 TARGET_DEFAULT_NORETURN.
1762 2014-02-19 Tom Tromey <tromey@redhat.com>
1764 * target-delegates.c: Rebuild.
1765 * target.c (default_search_memory): New function.
1766 (simple_search_memory): Update comment.
1767 (target_search_memory): Unconditionally delegate.
1768 * target.h (struct target_ops) <to_search_memory>: Use
1769 TARGET_DEFAULT_FUNC.
1771 2014-02-19 Tom Tromey <tromey@redhat.com>
1773 * auxv.c (default_auxv_parse): No longer static.
1774 (target_auxv_parse): Unconditionally delegate.
1775 * auxv.h (default_auxv_parse): Declare.
1776 * target-delegates.c: Rebuild.
1777 * target.c: Include auxv.h.
1778 * target.h (struct target_ops) <to_auxv_parse>: Use
1779 TARGET_DEFAULT_FUNC.
1781 2014-02-19 Tom Tromey <tromey@redhat.com>
1783 * target-delegates.c: Rebuild.
1784 * target.c (target_memory_map): Unconditionally delegate.
1785 * target.h (struct target_ops) <to_memory_map>: Use
1786 TARGET_DEFAULT_RETURN.
1788 2014-02-19 Tom Tromey <tromey@redhat.com>
1790 * target-delegates.c: Rebuild.
1791 * target.c (target_thread_alive): Unconditionally delegate.
1792 * target.h (struct target_ops) <to_thread_alive>: Use
1793 TARGET_DEFAULT_RETURN.
1795 2014-02-19 Tom Tromey <tromey@redhat.com>
1797 * target-delegates.c: Rebuild.
1798 * target.c (target_save_record): Unconditionally delegate.
1799 * target.h (struct target_ops) <to_save_record>: Use
1800 TARGET_DEFAULT_NORETURN.
1802 2014-02-19 Tom Tromey <tromey@redhat.com>
1804 * target-delegates.c: Rebuild.
1805 * target.c (target_delete_record): Unconditionally delegate.
1806 * target.h (struct target_ops) <to_delete_record>: Use
1807 TARGET_DEFAULT_NORETURN.
1809 2014-02-19 Tom Tromey <tromey@redhat.com>
1811 * target-delegates.c: Rebuild.
1812 * target.c (target_record_is_replaying): Unconditionally
1814 * target.h (struct target_ops) <to_record_is_replaying>: Use
1815 TARGET_DEFAULT_RETURN.
1817 2014-02-19 Tom Tromey <tromey@redhat.com>
1819 * target-delegates.c: Rebuild.
1820 * target.c (target_goto_record_begin): Unconditionally delegate.
1821 * target.h (struct target_ops) <to_goto_record_begin>: 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_end): Unconditionally delegate.
1828 * target.h (struct target_ops) <to_goto_record_end>: Use
1829 TARGET_DEFAULT_NORETURN.
1831 2014-02-19 Tom Tromey <tromey@redhat.com>
1833 * target-delegates.c: Rebuild.
1834 * target.c (target_goto_record): Unconditionally delegate.
1835 * target.h (struct target_ops) <to_goto_record>: 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): Unconditionally delegate.
1842 * target.h (struct target_ops) <to_insn_history>: 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_from): Unconditionally delegate.
1849 * target.h (struct target_ops) <to_insn_history_from>: Use
1850 TARGET_DEFAULT_NORETURN.
1852 2014-02-19 Tom Tromey <tromey@redhat.com>
1854 * target-delegates.c: Rebuild.
1855 * target.c (target_insn_history_range): Unconditionally delegate.
1856 * target.h (struct target_ops) <to_insn_history_range>: 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): Unconditionally delegate.
1863 * target.h (struct target_ops) <to_call_history>: 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_from): Unconditionally delegate.
1870 * target.h (struct target_ops) <to_call_history_from>: Use
1871 TARGET_DEFAULT_NORETURN.
1873 2014-02-19 Tom Tromey <tromey@redhat.com>
1875 * target-delegates.c: Rebuild.
1876 * target.c (target_call_history_range): Unconditionally delegate.
1877 * target.h (struct target_ops) <to_call_history_range>: Use
1878 TARGET_DEFAULT_NORETURN.
1880 2014-02-19 Tom Tromey <tromey@redhat.com>
1882 * target-delegates.c: Rebuild.
1883 * target.c (target_verify_memory): Unconditionally delegate.
1884 * target.h (struct target_ops) <to_verify_memory>: Use
1885 TARGET_DEFAULT_NORETURN.
1887 2014-02-19 Tom Tromey <tromey@redhat.com>
1889 * target-delegates.c: Rebuild.
1890 * target.c (target_core_of_thread): Unconditionally delegate.
1891 * target.h (struct target_ops) <to_core_of_thread>: Use
1892 TARGET_DEFAULT_RETURN.
1894 2014-02-19 Tom Tromey <tromey@redhat.com>
1896 * target-delegates.c: Rebuild.
1897 * target.c (target_flash_done): Unconditionally delegate.
1898 * target.h (struct target_ops) <to_flash_done>: Use
1899 TARGET_DEFAULT_NORETURN.
1901 2014-02-19 Tom Tromey <tromey@redhat.com>
1903 * target-delegates.c: Rebuild.
1904 * target.c (target_flash_erase): Unconditionally delegate.
1905 * target.h (struct target_ops) <to_flash_erase>: Use
1906 TARGET_DEFAULT_NORETURN.
1908 2014-02-19 Tom Tromey <tromey@redhat.com>
1910 * target-delegates.c: Rebuild.
1911 * target.c (target_get_section_table): Unconditionally delegate.
1912 * target.h (struct target_ops) <to_get_section_table>: Use
1913 TARGET_DEFAULT_RETURN.
1915 2014-02-19 Tom Tromey <tromey@redhat.com>
1917 * target-delegates.c: Rebuild.
1918 * target.c (target_pid_to_str): Unconditionally delegate.
1919 (init_dummy_target): Don't initialize to_pid_to_str.
1920 (default_pid_to_str): Rename from dummy_pid_to_str.
1921 * target.h (struct target_ops) <to_pid_to_str>: Use
1922 TARGET_DEFAULT_FUNC.
1924 2014-02-19 Tom Tromey <tromey@redhat.com>
1926 * target-delegates.c: Rebuild.
1927 * target.c (target_find_new_threads): Unconditionally delegate.
1928 * target.h (struct target_ops) <to_find_new_threads>: Use
1929 TARGET_DEFAULT_RETURN.
1931 2014-02-19 Tom Tromey <tromey@redhat.com>
1933 * target-delegates.c: Rebuild.
1934 * target.c (target_program_signals): Unconditionally delegate.
1935 * target.h (struct target_ops) <to_program_signals>: Use
1936 TARGET_DEFAULT_IGNORE.
1938 2014-02-19 Tom Tromey <tromey@redhat.com>
1940 * target-delegates.c: Rebuild.
1941 * target.c (target_pass_signals): Unconditionally delegate.
1942 * target.h (struct target_ops) <to_pass_signals>: Use
1943 TARGET_DEFAULT_IGNORE.
1945 2014-02-19 Tom Tromey <tromey@redhat.com>
1947 * target-delegates.c: Rebuild.
1948 * target.c (default_mourn_inferior): New function.
1949 (target_mourn_inferior): Unconditionally delegate.
1950 * target.h (struct target_ops) <to_mourn_inferior>: Use
1951 TARGET_DEFAULT_FUNC.
1953 2014-02-19 Tom Tromey <tromey@redhat.com>
1955 * target-delegates.c: Rebuild.
1956 * target.c (default_follow_fork): New function.
1957 (target_follow_fork): Unconditionally delegate.
1958 * target.h (struct target_ops) <to_follow_fork>: Use
1959 TARGET_DEFAULT_FUNC.
1961 2014-02-19 Tom Tromey <tromey@redhat.com>
1963 * target-delegates.c: Rebuild.
1964 * target.c (target_kill): Unconditionally delegate.
1965 * target.h (struct target_ops) <to_kill>: Use
1966 TARGET_DEFAULT_NORETURN.
1968 2014-02-19 Tom Tromey <tromey@redhat.com>
1970 * target-delegates.c: Rebuild.
1971 * target.c (target_masked_watch_num_registers): Unconditionally
1973 * target.h (struct target_ops) <to_masked_watch_num_registers>:
1974 Use TARGET_DEFAULT_RETURN.
1976 2014-02-19 Tom Tromey <tromey@redhat.com>
1978 * target-delegates.c: Rebuild.
1979 * target.c (target_remove_mask_watchpoint): Unconditionally
1981 * target.h (struct target_ops) <to_remove_mask_watchpoint>: Use
1982 TARGET_DEFAULT_RETURN.
1984 2014-02-19 Tom Tromey <tromey@redhat.com>
1986 * target-delegates.c: Rebuild.
1987 * target.c (target_insert_mask_watchpoint): Unconditionally
1989 * target.h (struct target_ops) <to_insert_mask_watchpoint>: Use
1990 TARGET_DEFAULT_RETURN.
1992 2014-02-19 Tom Tromey <tromey@redhat.com>
1994 * target-delegates.c: Rebuild.
1995 * target.c (target_ranged_break_num_registers): Unconditionally
1997 * target.h (struct target_ops) <to_ranged_break_num_registers>:
1998 Use TARGET_DEFAULT_RETURN.
2000 2014-02-19 Tom Tromey <tromey@redhat.com>
2002 * target-delegates.c: Rebuild.
2003 * target.c (target_fetch_registers): Unconditionally delegate.
2004 * target.h (struct target_ops) <to_fetch_registers>: Use
2005 TARGET_DEFAULT_NORETURN.
2007 2014-02-19 Tom Tromey <tromey@redhat.com>
2009 * target-delegates.c: Rebuild.
2010 * target.c (update_current_target): Don't inherit or default
2012 * target.h (struct target_ops) <to_stop>: Use
2013 TARGET_DEFAULT_IGNORE.
2015 2014-02-19 Tom Tromey <tromey@redhat.com>
2017 * target-delegates.c: Rebuild.
2018 * target.c (update_current_target): Don't inherit or default
2019 to_can_run_breakpoint_commands.
2020 * target.h (struct target_ops) <to_can_run_breakpoint_commands>:
2021 Use TARGET_DEFAULT_RETURN.
2023 2014-02-19 Tom Tromey <tromey@redhat.com>
2025 * target-delegates.c: Rebuild.
2026 * target.c (update_current_target): Don't inherit or default
2027 to_supports_evaluation_of_breakpoint_conditions.
2028 * target.h (struct target_ops)
2029 <to_supports_evaluation_of_breakpoint_conditions>: Use
2030 TARGET_DEFAULT_RETURN.
2032 2014-02-19 Tom Tromey <tromey@redhat.com>
2034 * target-delegates.c: Rebuild.
2035 * target.c (update_current_target): Don't inherit or default
2036 to_augmented_libraries_svr4_read.
2037 * target.h (struct target_ops) <to_augmented_libraries_svr4_read>:
2038 Use TARGET_DEFAULT_RETURN.
2040 2014-02-19 Tom Tromey <tromey@redhat.com>
2042 * target-delegates.c: Rebuild.
2043 * target.c (update_current_target): Don't inherit or default
2045 * target.h (struct target_ops) <to_can_use_agent>: Use
2046 TARGET_DEFAULT_RETURN.
2048 2014-02-19 Tom Tromey <tromey@redhat.com>
2050 * target-delegates.c: Rebuild.
2051 * target.c (update_current_target): Don't inherit or default
2053 * target.h (struct target_ops) <to_use_agent>: Use
2054 TARGET_DEFAULT_NORETURN.
2056 2014-02-19 Tom Tromey <tromey@redhat.com>
2058 * target-delegates.c: Rebuild.
2059 * target.c (update_current_target): Don't inherit or default
2061 (return_null): Remove.
2062 * target.h (struct target_ops) <to_traceframe_info>: Use
2063 TARGET_DEFAULT_RETURN.
2065 2014-02-19 Tom Tromey <tromey@redhat.com>
2067 * target-delegates.c: Rebuild.
2068 * target.c (update_current_target): Don't inherit or default
2069 to_static_tracepoint_markers_by_strid.
2070 * target.h (struct target_ops)
2071 <to_static_tracepoint_markers_by_strid>: Use
2072 TARGET_DEFAULT_NORETURN.
2074 2014-02-19 Tom Tromey <tromey@redhat.com>
2076 * target-delegates.c: Rebuild.
2077 * target.c (update_current_target): Don't inherit or default
2078 to_static_tracepoint_marker_at.
2079 * target.h (struct target_ops) <to_static_tracepoint_marker_at>:
2080 Use TARGET_DEFAULT_RETURN.
2082 2014-02-19 Tom Tromey <tromey@redhat.com>
2084 * target-delegates.c: Rebuild.
2085 * target.c (update_current_target): Don't inherit or default
2087 * target.h (struct target_ops) <to_set_permissions>: Use
2088 TARGET_DEFAULT_IGNORE.
2090 2014-02-19 Tom Tromey <tromey@redhat.com>
2092 * target-delegates.c: Rebuild.
2093 * target.c (update_current_target): Don't inherit or default
2095 * target.h (struct target_ops) <to_get_tib_address>: Use
2096 TARGET_DEFAULT_NORETURN.
2098 2014-02-19 Tom Tromey <tromey@redhat.com>
2100 * target-delegates.c: Rebuild.
2101 * target.c (update_current_target): Don't inherit or default
2103 * target.h (struct target_ops) <to_set_trace_notes>: Use
2104 TARGET_DEFAULT_RETURN.
2106 2014-02-19 Tom Tromey <tromey@redhat.com>
2108 * target-delegates.c: Rebuild.
2109 * target.c (update_current_target): Don't initialize
2110 to_set_trace_buffer_size.
2111 * target.h (struct target_ops) <to_set_trace_buffer_size>: Use
2112 TARGET_DEFAULT_IGNORE.
2114 2014-02-19 Tom Tromey <tromey@redhat.com>
2116 * target-delegates.c: Rebuild.
2117 * target.c (update_current_target): Don't inherit or default
2118 to_set_circular_trace_buffer.
2119 * target.h (struct target_ops) <to_set_circular_trace_buffer>: Use
2120 TARGET_DEFAULT_IGNORE.
2122 2014-02-19 Tom Tromey <tromey@redhat.com>
2124 * target-delegates.c: Rebuild.
2125 * target.c (update_current_target): Don't inherit or default
2126 to_set_disconnected_tracing.
2127 * target.h (struct target_ops) <to_set_disconnected_tracing>: Use
2128 TARGET_DEFAULT_IGNORE.
2130 2014-02-19 Tom Tromey <tromey@redhat.com>
2132 * target-delegates.c: Rebuild.
2133 * target.c (update_current_target): Don't inherit or default
2134 to_get_min_fast_tracepoint_insn_len.
2135 (return_minus_one): Remove.
2136 * target.h (struct target_ops)
2137 <to_get_min_fast_tracepoint_insn_len>: Use TARGET_DEFAULT_RETURN.
2139 2014-02-19 Tom Tromey <tromey@redhat.com>
2141 * target-delegates.c: Rebuild.
2142 * target.c (update_current_target): Don't inherit or default
2143 to_get_raw_trace_data.
2144 * target.h (struct target_ops) <to_get_raw_trace_data>: Use
2145 TARGET_DEFAULT_NORETURN.
2147 2014-02-19 Tom Tromey <tromey@redhat.com>
2149 * target-delegates.c: Rebuild.
2150 * target.c (update_current_target): Don't inherit or default
2151 to_upload_trace_state_variables.
2152 * target.h (struct target_ops) <to_upload_trace_state_variables>:
2153 Use TARGET_DEFAULT_RETURN.
2155 2014-02-19 Tom Tromey <tromey@redhat.com>
2157 * target-delegates.c: Rebuild.
2158 * target.c (update_current_target): Don't inherit or default
2159 to_upload_tracepoints.
2160 * target.h (struct target_ops) <to_upload_tracepoints>: Use
2161 TARGET_DEFAULT_RETURN.
2163 2014-02-19 Tom Tromey <tromey@redhat.com>
2165 * target-delegates.c: Rebuild.
2166 * target.c (update_current_target): Don't inherit or default
2168 * target.h (struct target_ops) <to_save_trace_data>: Use
2169 TARGET_DEFAULT_NORETURN.
2171 2014-02-19 Tom Tromey <tromey@redhat.com>
2173 * target-delegates.c: Rebuild.
2174 * target.c (update_current_target): Don't inherit or default
2175 to_get_trace_state_variable_value.
2176 * target.h (struct target_ops)
2177 <to_get_trace_state_variable_value>: 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): Use TARGET_DEFAULT_RETURN.
2186 2014-02-19 Tom Tromey <tromey@redhat.com>
2188 * target-delegates.c: Rebuild.
2189 * target.c (update_current_target): Don't inherit or default
2191 * target.h (struct target_ops) <to_trace_stop>: Use
2192 TARGET_DEFAULT_NORETURN.
2194 2014-02-19 Tom Tromey <tromey@redhat.com>
2196 * target-delegates.c: Rebuild.
2197 * target.c (update_current_target): Don't inherit or default
2198 to_get_tracepoint_status.
2199 * target.h (struct target_ops) <to_get_tracepoint_status>: Use
2200 TARGET_DEFAULT_NORETURN.
2202 2014-02-19 Tom Tromey <tromey@redhat.com>
2204 * target-delegates.c: Rebuild.
2205 * target.c (update_current_target): Don't inherit or default
2206 to_get_trace_status.
2207 * target.h (struct target_ops) <to_get_trace_status>: Use
2208 TARGET_DEFAULT_RETURN.
2210 2014-02-19 Tom Tromey <tromey@redhat.com>
2212 * target-delegates.c: Rebuild.
2213 * target.c (update_current_target): Don't inherit or default
2215 * target.h (struct target_ops) <to_trace_start>: Use
2216 TARGET_DEFAULT_NORETURN.
2218 2014-02-19 Tom Tromey <tromey@redhat.com>
2220 * target-delegates.c: Rebuild.
2221 * target.c (update_current_target): Don't inherit or default
2222 to_trace_set_readonly_regions.
2223 * target.h (struct target_ops) <to_trace_set_readonly_regions>:
2224 Use TARGET_DEFAULT_NORETURN.
2226 2014-02-19 Tom Tromey <tromey@redhat.com>
2228 * target-delegates.c: Rebuild.
2229 * target.c (update_current_target): Don't inherit or default
2230 to_disable_tracepoint.
2231 * target.h (struct target_ops) <to_disable_tracepoint>: Use
2232 TARGET_DEFAULT_NORETURN.
2234 2014-02-19 Tom Tromey <tromey@redhat.com>
2236 * target-delegates.c: Rebuild.
2237 * target.c (update_current_target): Don't inherit or default
2238 to_enable_tracepoint.
2239 * target.h (struct target_ops) <to_enable_tracepoint>: Use
2240 TARGET_DEFAULT_NORETURN.
2242 2014-02-19 Tom Tromey <tromey@redhat.com>
2244 * target-delegates.c: Rebuild.
2245 * target.c (update_current_target): Don't inherit or default
2246 to_download_trace_state_variable.
2247 * target.h (struct target_ops) <to_download_trace_state_variable>:
2248 Use TARGET_DEFAULT_NORETURN.
2250 2014-02-19 Tom Tromey <tromey@redhat.com>
2252 * target-delegates.c: Rebuild.
2253 * target.c (update_current_target): Don't inherit or default
2254 to_can_download_tracepoint.
2255 * target.h (struct target_ops) <to_can_download_tracepoint>: Use
2256 TARGET_DEFAULT_RETURN.
2258 2014-02-19 Tom Tromey <tromey@redhat.com>
2260 * target-delegates.c: Rebuild.
2261 * target.c (update_current_target): Don't inherit or default
2262 to_download_tracepoint.
2263 * target.h (struct target_ops) <to_download_tracepoint>: Use
2264 TARGET_DEFAULT_NORETURN.
2266 2014-02-19 Tom Tromey <tromey@redhat.com>
2268 * target-delegates.c: Rebuild.
2269 * target.c (update_current_target): Don't inherit or default
2271 * target.h (struct target_ops) <to_trace_init>: Use
2272 TARGET_DEFAULT_RETURN.
2274 2014-02-19 Tom Tromey <tromey@redhat.com>
2276 * target-delegates.c: Rebuild.
2277 * target.c (update_current_target): Don't inherit or default
2278 to_supports_string_tracing.
2279 * target.h (struct target_ops) <to_supports_string_tracing>: Use
2280 TARGET_DEFAULT_RETURN.
2282 2014-02-19 Tom Tromey <tromey@redhat.com>
2284 * target-delegates.c: Rebuild.
2285 * target.c (update_current_target): Don't inherit or default
2286 to_supports_enable_disable_tracepoint.
2287 * target.h (struct target_ops)
2288 <to_supports_enable_disable_tracepoint>: Use
2289 TARGET_DEFAULT_RETURN.
2291 2014-02-19 Tom Tromey <tromey@redhat.com>
2293 * target-delegates.c: Rebuild.
2294 * target.c (update_current_target): Don't inherit or default
2295 to_supports_multi_process.
2296 * target.h (struct target_ops) <to_supports_multi_process>: Use
2297 TARGET_DEFAULT_RETURN.
2299 2014-02-19 Tom Tromey <tromey@redhat.com>
2301 * target-delegates.c: Rebuild.
2302 * target.c (update_current_target): Don't inherit or default
2303 to_get_ada_task_ptid.
2304 * target.h (struct target_ops) <to_get_ada_task_ptid>: Use
2305 TARGET_DEFAULT_FUNC.
2307 2014-02-19 Tom Tromey <tromey@redhat.com>
2309 * target-delegates.c: Rebuild.
2310 * target.c (update_current_target): Don't inherit or default
2311 to_thread_architecture.
2312 * target.h (struct target_ops) <to_thread_architecture>: Use
2313 TARGET_DEFAULT_FUNC.
2315 2014-02-19 Tom Tromey <tromey@redhat.com>
2317 * target-delegates.c: Rebuild.
2318 * target.c (update_current_target): Don't inherit or default
2319 to_execution_direction.
2320 * target.h (struct target_ops) <to_execution_direction>: Use
2321 TARGET_DEFAULT_FUNC.
2323 2014-02-19 Tom Tromey <tromey@redhat.com>
2325 * target-delegates.c: Rebuild.
2326 * target.c (update_current_target): Don't inherit or default
2327 to_can_execute_reverse.
2328 * target.h (struct target_ops) <to_can_execute_reverse>: Use
2329 TARGET_DEFAULT_RETURN.
2330 (target_can_execute_reverse): Unconditionally delegate.
2332 2014-02-19 Tom Tromey <tromey@redhat.com>
2334 * target-delegates.c: Rebuild.
2335 * target.c (update_current_target): Don't inherit or default
2337 (dummy_goto_bookmark): Remove.
2338 (init_dummy_target): Don't inherit or default to_goto_bookmark.
2339 * target.h (struct target_ops) <to_goto_bookmark>: Use
2340 TARGET_DEFAULT_NORETURN.
2342 2014-02-19 Tom Tromey <tromey@redhat.com>
2344 * target-delegates.c: Rebuild.
2345 * target.c (update_current_target): Don't inherit or default
2347 (dummy_get_bookmark): Remove.
2348 (init_dummy_target): Don't inherit or default to_get_bookmark.
2349 * target.h (struct target_ops) <to_get_bookmark>: Use
2350 TARGET_DEFAULT_NORETURN
2352 2014-02-19 Tom Tromey <tromey@redhat.com>
2354 * target-delegates.c: Rebuild.
2355 * target.c (update_current_target): Don't inherit or default
2356 to_make_corefile_notes.
2357 (init_dummy_target): Don't initialize to_make_corefile_notes.
2358 * target.h (struct target_ops) <to_make_corefile_notes>: Use
2359 TARGET_DEFAULT_FUNC.
2361 2014-02-19 Tom Tromey <tromey@redhat.com>
2363 * target-delegates.c: Rebuild.
2364 * target.c (update_current_target): Don't inherit or default
2365 to_find_memory_regions.
2366 (init_dummy_target): Don't initialize to_find_memory_regions.
2367 * target.h (struct target_ops) <to_find_memory_regions>: Use
2368 TARGET_DEFAULT_FUNC.
2370 2014-02-19 Tom Tromey <tromey@redhat.com>
2372 * target-delegates.c: Rebuild.
2373 * target.c (update_current_target): Don't inherit or default
2375 * target.h (struct target_ops) <to_log_command>: Use
2376 TARGET_DEFAULT_IGNORE.
2377 (target_log_command): Unconditionally delegate.
2379 2014-02-19 Tom Tromey <tromey@redhat.com>
2381 * target-delegates.c: Rebuild.
2382 * target.c (update_current_target): Don't inherit or default
2383 to_pid_to_exec_file.
2384 * target.h (struct target_ops) <to_pid_to_exec_file>: Use
2385 TARGET_DEFAULT_RETURN.
2387 2014-02-19 Tom Tromey <tromey@redhat.com>
2389 * target-delegates.c: Rebuild.
2390 * target.c (update_current_target): Don't inherit or default
2392 (target_thread_name): Unconditionally delegate.
2393 * target.h (struct target_ops) <to_thread_name>: Use
2394 TARGET_DEFAULT_RETURN.
2396 2014-02-19 Tom Tromey <tromey@redhat.com>
2398 * target-delegates.c: Rebuild.
2399 * target.c (update_current_target): Don't inherit or default
2400 to_extra_thread_info.
2401 * target.h (struct target_ops) <to_extra_thread_info>: Use
2402 TARGET_DEFAULT_RETURN.
2404 2014-02-19 Tom Tromey <tromey@redhat.com>
2406 * target-delegates.c: Rebuild.
2407 * target.c (update_current_target): Don't inherit or default
2409 * target.h (struct target_ops) <to_has_exited>: Use
2410 TARGET_DEFAULT_RETURN..
2412 2014-02-19 Tom Tromey <tromey@redhat.com>
2414 * target-delegates.c: Rebuild.
2415 * target.c (update_current_target): Don't inherit or default
2416 to_set_syscall_catchpoint.
2417 (return_one): Remove.
2418 * target.h (struct target_ops) <to_set_syscall_catchpoint>: Use
2419 TARGET_DEFAULT_RETURN.
2421 2014-02-19 Tom Tromey <tromey@redhat.com>
2423 * target-delegates.c: Rebuild.
2424 * target.c (update_current_target): Don't inherit or default
2425 to_insert_exec_catchpoint.
2426 * target.h (struct target_ops) <to_insert_exec_catchpoint>: Use
2427 TARGET_DEFAULT_RETURN.
2429 2014-01-08 Tom Tromey <tromey@redhat.com>
2431 * target-delegates.c: Rebuild.
2432 * target.c (update_current_target): Don't inherit or default
2433 to_insert_exec_catchpoint.
2434 * target.h (struct target_ops) <to_insert_exec_catchpoint>: Use
2435 TARGET_DEFAULT_RETURN.
2437 2014-02-19 Tom Tromey <tromey@redhat.com>
2439 * target-delegates.c: Rebuild.
2440 * target.c (update_current_target): Don't inherit or default
2441 to_remove_vfork_catchpoint.
2442 * target.h (struct target_ops) <to_remove_vfork_catchpoint>: Use
2443 TARGET_DEFAULT_RETURN.
2445 2014-02-19 Tom Tromey <tromey@redhat.com>
2447 * target-delegates.c: Rebuild.
2448 * target.c (update_current_target): Don't inherit or default
2449 to_insert_vfork_catchpoint.
2450 * target.h (struct target_ops) <to_insert_vfork_catchpoint>: Use
2451 TARGET_DEFAULT_RETURN.
2453 2014-02-19 Tom Tromey <tromey@redhat.com>
2455 * target-delegates.c: Rebuild.
2456 * target.c (update_current_target): Don't inherit or default
2457 to_remove_fork_catchpoint.
2458 * target.h (struct target_ops) <to_remove_fork_catchpoint>: Use
2459 TARGET_DEFAULT_RETURN.
2461 2014-02-19 Tom Tromey <tromey@redhat.com>
2463 * target-delegates.c: Rebuild.
2464 * target.c (update_current_target): Don't inherit or default
2465 to_insert_fork_catchpoint.
2466 * target.h (struct target_ops) <to_insert_fork_catchpoint>: Use
2467 TARGET_DEFAULT_RETURN.
2469 2014-02-19 Tom Tromey <tromey@redhat.com>
2471 * target-delegates.c: Rebuild.
2472 * target.c (update_current_target): Don't inherit or default
2473 to_post_startup_inferior.
2474 * target.h (struct target_ops) <to_post_startup_inferior>: Use
2475 TARGET_DEFAULT_IGNORE.
2477 2014-02-19 Tom Tromey <tromey@redhat.com>
2479 * target-delegates.c: Rebuild.
2480 * target.c (update_current_target): Don't inherit or default
2482 * target.h (struct target_ops) <to_load>: Use
2483 TARGET_DEFAULT_NORETURN.
2485 2014-02-19 Tom Tromey <tromey@redhat.com>
2487 * target-delegates.c: Rebuild.
2488 * target.c (update_current_target): Don't inherit or default
2490 * target.h (struct target_ops) <to_terminal_info>: Use
2491 TARGET_DEFAULT_FUNC.
2493 2014-02-19 Tom Tromey <tromey@redhat.com>
2495 * target-delegates.c: Rebuild.
2496 * target.c (update_current_target): Don't inherit or default
2497 to_terminal_save_ours.
2498 * target.h (struct target_ops) <to_terminal_save_ours>: Use
2499 TARGET_DEFAULT_IGNORE.
2501 2014-02-19 Tom Tromey <tromey@redhat.com>
2503 * target-delegates.c: Rebuild.
2504 * target.c (update_current_target): Don't inherit or default
2506 * target.h (struct target_ops) <to_terminal_ours>: Use
2507 TARGET_DEFAULT_IGNORE.
2509 2014-02-19 Tom Tromey <tromey@redhat.com>
2511 * target-delegates.c: Rebuild.
2512 * target.c (update_current_target): Don't inherit or default
2513 to_terminal_ours_for_output.
2514 * target.h (struct target_ops) <to_terminal_ours_for_output>: Use
2515 TARGET_DEFAULT_IGNORE.
2517 2014-02-19 Tom Tromey <tromey@redhat.com>
2519 * target-delegates.c: Rebuild.
2520 * target.c (update_current_target): Don't inherit or default
2521 to_terminal_inferior.
2522 * target.h (struct target_ops) <to_terminal_inferior>: Use
2523 TARGET_DEFAULT_IGNORE.
2525 2014-02-19 Tom Tromey <tromey@redhat.com>
2527 * target-delegates.c: Rebuild.
2528 * target.c (update_current_target): Don't inherit or default
2530 * target.h (struct target_ops) <to_terminal_init>: Use
2531 TARGET_DEFAULT_IGNORE.
2533 2014-02-19 Tom Tromey <tromey@redhat.com>
2535 * target-delegates.c: Rebuild.
2536 * target.c (update_current_target): Don't inherit or default
2537 to_can_accel_watchpoint_condition.
2538 * target.h (struct target_ops)
2539 <to_can_accel_watchpoint_condition>: Use TARGET_DEFAULT_RETURN.
2541 2014-02-19 Tom Tromey <tromey@redhat.com>
2543 * target-delegates.c: Rebuild.
2544 * target.c (update_current_target): Don't inherit or default
2545 to_region_ok_for_hw_watchpoint.
2546 * target.h (struct target_ops) <to_region_ok_for_hw_watchpoint>:
2547 Use TARGET_DEFAULT_FUNC.
2549 2014-02-19 Tom Tromey <tromey@redhat.com>
2551 * target-delegates.c: Rebuild.
2552 * target.c (update_current_target): Don't inherit or default
2553 to_watchpoint_addr_within_range.
2554 * target.h (struct target_ops) <to_watchpoint_addr_within_range>:
2555 Use TARGET_DEFAULT_FUNC.
2557 2014-02-19 Tom Tromey <tromey@redhat.com>
2559 * target-delegates.c: Rebuild.
2560 * target.c (update_current_target): Don't inherit or default
2561 to_remove_watchpoint.
2562 * target.h (struct target_ops) <to_remove_watchpoint>: Use
2563 TARGET_DEFAULT_NORETURN.
2565 2014-02-19 Tom Tromey <tromey@redhat.com>
2567 * target-delegates.c: Rebuild.
2568 * target.c (update_current_target): Don't inherit or default
2569 to_insert_watchpoint.
2570 * target.h (struct target_ops) <to_insert_watchpoint>: Use
2571 TARGET_DEFAULT_RETURN.
2573 2014-02-19 Tom Tromey <tromey@redhat.com>
2575 * target-delegates.c: Rebuild.
2576 * target.c (update_current_target): Don't inherit or default
2577 to_remove_hw_breakpoint.
2578 * target.h (struct target_ops) <to_remove_hw_breakpoint>: Use
2579 TARGET_DEFAULT_RETURN.
2581 2014-02-19 Tom Tromey <tromey@redhat.com>
2583 * target-delegates.c: Rebuild.
2584 * target.c (update_current_target): Don't inherit or default
2585 to_insert_hw_breakpoint.
2586 * target.h (struct target_ops) <to_insert_hw_breakpoint>: Use
2587 TARGET_DEFAULT_RETURN.
2589 2014-02-19 Tom Tromey <tromey@redhat.com>
2591 * target-delegates.c: Rebuild.
2592 * target.c (update_current_target): Don't inherit or default
2593 to_can_use_hw_breakpoint.
2594 * target.h (struct target_ops) <to_can_use_hw_breakpoint>: Use
2595 TARGET_DEFAULT_RETURN.
2597 2014-02-19 Tom Tromey <tromey@redhat.com>
2599 * target-delegates.c: Rebuild.
2600 * target.c (update_current_target): Don't inherit or default
2602 * target.h (struct target_ops) <to_files_info>: Use
2603 TARGET_DEFAULT_IGNORE.
2605 2014-02-19 Tom Tromey <tromey@redhat.com>
2607 * target-delegates.c: Rebuild.
2608 * target.c (update_current_target): Don't inherit or default
2610 * target.h (struct target_ops) <to_store>: Use
2611 TARGET_DEFAULT_NORETURN.
2613 2014-02-19 Tom Tromey <tromey@redhat.com>
2615 * target-delegates.c: Rebuild.
2616 * target.c (update_current_target): Don't inherit or default
2618 * target.h (struct target_ops) <to_post_attach>: Use
2619 TARGET_DEFAULT_IGNORE.
2621 2014-02-19 Tom Tromey <tromey@redhat.com>
2623 * target-delegates.c: Rebuild.
2624 * target.c (update_current_target): Don't inherit or default
2626 (default_rcmd): New function.
2627 (do_monitor_command): Unconditionally delegate.
2628 * target.h (struct target_ops) <to_rmcd>: Use
2629 TARGET_DEFAULT_FUNC.
2631 2014-02-19 Tom Tromey <tromey@redhat.com>
2633 * target-delegates.c: Rebuild.
2634 * target.c (init_dummy_target): Don't initialize to_attach.
2635 (target_attach): Unconditionally delegate.
2636 * target.h (struct target_ops) <to_attach>: Use
2637 TARGET_DEFAULT_FUNC.
2639 2014-02-19 Tom Tromey <tromey@redhat.com>
2641 * target-delegates.c: Rebuild.
2642 * target.c (target_detach): Unconditionally delegate.
2643 (init_dummy_target): Don't initialize to_detach.
2644 * target.h (struct target_ops) <to_detach>: Use
2645 TARGET_DEFAULT_IGNORE.
2647 2014-02-19 Tom Tromey <tromey@redhat.com>
2649 * target.h (struct target_ops) <to_augmented_libraries_svr4_read>:
2651 (target_augmented_libraries_svr4_read): Add argument.
2652 * target.c (update_current_target): Update.
2653 * remote.c (remote_augmented_libraries_svr4_read): Add 'self'
2656 2014-02-19 Tom Tromey <tromey@redhat.com>
2658 * target.h (struct target_ops) <to_call_history_range>: Add
2660 * target.c (target_call_history_range): Add argument.
2661 * record-btrace.c (record_btrace_call_history_range): Add 'self'
2663 (record_btrace_call_history_from): Update.
2665 2014-02-19 Tom Tromey <tromey@redhat.com>
2667 * target.h (struct target_ops) <to_call_history_from>: Add
2669 * target.c (target_call_history_from): Add argument.
2670 * record-btrace.c (record_btrace_call_history_from): Add 'self'
2673 2014-02-19 Tom Tromey <tromey@redhat.com>
2675 * target.h (struct target_ops) <to_call_history>: Add argument.
2676 * target.c (target_call_history): Add argument.
2677 * record-btrace.c (record_btrace_call_history): Add 'self'
2680 2014-02-19 Tom Tromey <tromey@redhat.com>
2682 * target.h (struct target_ops) <to_insn_history_range>: Add
2684 * target.c (target_insn_history_range): Add argument.
2685 * record-btrace.c (record_btrace_insn_history_range): Add 'self'
2687 (record_btrace_insn_history_from): Update.
2689 2014-02-19 Tom Tromey <tromey@redhat.com>
2691 * target.h (struct target_ops) <to_insn_history_from>: Add
2693 * target.c (target_insn_history_from): Add argument.
2694 * record-btrace.c (record_btrace_insn_history_from): Add 'self'
2697 2014-02-19 Tom Tromey <tromey@redhat.com>
2699 * target.h (struct target_ops) <to_insn_history>: Add argument.
2700 * target.c (target_insn_history): Add argument.
2701 * record-btrace.c (record_btrace_insn_history): Add 'self'
2704 2014-02-19 Tom Tromey <tromey@redhat.com>
2706 * target.h (struct target_ops) <to_goto_record>: Add argument.
2707 * target.c (target_goto_record): Add argument.
2708 * record-full.c (record_full_goto): Add 'self' argument.
2709 * record-btrace.c (record_btrace_goto): Add 'self' argument.
2711 2014-02-19 Tom Tromey <tromey@redhat.com>
2713 * target.h (struct target_ops) <to_goto_record_end>: Add argument.
2714 * target.c (target_goto_record_end): Add argument.
2715 * record-full.c (record_full_goto_end): Add 'self' argument.
2716 * record-btrace.c (record_btrace_goto_end): Add 'self' argument.
2718 2014-02-19 Tom Tromey <tromey@redhat.com>
2720 * target.h (struct target_ops) <to_goto_record_begin>: Add
2722 * target.c (target_goto_record_begin): Add argument.
2723 * record-full.c (record_full_goto_begin): Add 'self' argument.
2724 * record-btrace.c (record_btrace_goto_begin): Add 'self'
2727 2014-02-19 Tom Tromey <tromey@redhat.com>
2729 * target.h (struct target_ops) <to_record_is_replaying>: Add
2731 * target.c (target_record_is_replaying): Add argument.
2732 * record-full.c (record_full_is_replaying): Add 'self' argument.
2733 * record-btrace.c (record_btrace_is_replaying): Add 'self'
2735 (record_btrace_xfer_partial, record_btrace_store_registers)
2736 (record_btrace_prepare_to_store, record_btrace_resume)
2737 (record_btrace_wait, record_btrace_decr_pc_after_break)
2738 (record_btrace_find_new_threads, record_btrace_thread_alive):
2741 2014-02-19 Tom Tromey <tromey@redhat.com>
2743 * target.h (struct target_ops) <to_delete_record>: Add argument.
2744 * target.c (target_delete_record): Add argument.
2745 * record-full.c (record_full_delete): Add 'self' argument.
2747 2014-02-19 Tom Tromey <tromey@redhat.com>
2749 * target.h (struct target_ops) <to_save_record>: Add argument.
2750 * target.c (target_save_record): Add argument.
2751 * record-full.c (record_full_save): Add 'self' argument.
2752 (record_full_save): Add 'self' argument.
2754 2014-02-19 Tom Tromey <tromey@redhat.com>
2756 * target.h (struct target_ops) <to_info_record>: Add argument.
2757 * target.c (target_info_record): Add argument.
2758 * record.c (info_record_command): Add argument.
2759 * record-full.c (record_full_info): Add 'self' argument.
2760 * record-btrace.c (record_btrace_info): Add 'self' argument.
2762 2014-02-19 Tom Tromey <tromey@redhat.com>
2764 * target.h (struct target_ops) <to_stop_recording>: Add argument.
2765 * target.c (target_stop_recording): Add argument.
2766 * record.c (record_stop): Add argument.
2767 * record-btrace.c (record_btrace_stop_recording): Add 'self'
2770 2014-02-19 Tom Tromey <tromey@redhat.com>
2772 * target.h (struct target_ops) <to_read_btrace>: Add argument.
2773 * target.c (struct target_ops) <to_read_btrace>: Add argument.
2774 * remote.c (struct target_ops) <to_read_btrace>: Add 'self'
2776 * amd64-linux-nat.c (amd64_linux_read_btrace): New function.
2777 (_initialize_amd64_linux_nat): Use it.
2778 * i386-linux-nat.c (i386_linux_read_btrace): New function.
2779 (_initialize_i386_linux_nat): Use it.
2781 2014-02-19 Tom Tromey <tromey@redhat.com>
2783 * target.h (struct target_ops) <to_teardown_btrace>: Add argument.
2784 * target.c (target_teardown_btrace): Add argument.
2785 * remote.c (remote_teardown_btrace): Add 'self' argument.
2786 * i386-linux-nat.c (i386_linux_teardown_btrace): Add 'self'
2788 * amd64-linux-nat.c (amd64_linux_teardown_btrace): Add 'self'
2791 2014-02-19 Tom Tromey <tromey@redhat.com>
2793 * target.h (struct target_ops) <to_disable_btrace>: Add argument.
2794 * target.c (target_disable_btrace): Add argument.
2795 * remote.c (remote_disable_btrace): Add 'self' argument.
2796 * i386-linux-nat.c (i386_linux_disable_btrace): Add 'self'
2798 * amd64-linux-nat.c (amd64_linux_disable_btrace): Add 'self'
2801 2014-02-19 Tom Tromey <tromey@redhat.com>
2803 * target.h (struct target_ops) <to_enable_btrace>: Add argument.
2804 * target.c (target_enable_btrace): Add argument.
2805 * remote.c (remote_enable_btrace): Add 'self' argument.
2806 * i386-linux-nat.c (i386_linux_enable_btrace): Add 'self'
2808 * amd64-linux-nat.c (amd64_linux_enable_btrace): Add 'self'
2811 2014-02-19 Tom Tromey <tromey@redhat.com>
2813 * target.h (struct target_ops) <to_can_use_agent>: Add argument.
2814 (target_can_use_agent): Add argument.
2815 * target.c (update_current_target): Update.
2816 * remote.c (remote_can_use_agent): Add 'self' argument.
2817 * inf-child.c (inf_child_can_use_agent): Add 'self' argument.
2819 2014-02-19 Tom Tromey <tromey@redhat.com>
2821 * target.h (struct target_ops) <to_use_agent>: Add argument.
2822 (target_use_agent): Add argument.
2823 * target.c (update_current_target): Update.
2824 * remote.c (remote_use_agent): Add 'self' argument.
2825 * inf-child.c (inf_child_use_agent): Add 'self' argument.
2827 2014-02-19 Tom Tromey <tromey@redhat.com>
2829 * tracepoint.c (tfile_traceframe_info): Add 'self' argument.
2830 * target.h (struct target_ops) <to_traceframe_info>: Add argument.
2831 (target_traceframe_info): Add argument.
2832 * target.c (update_current_target): Update.
2833 * remote.c (remote_traceframe_info): Add 'self' argument.
2834 * ctf.c (ctf_traceframe_info): Add 'self' argument.
2836 2014-02-19 Tom Tromey <tromey@redhat.com>
2838 * target.h (target_static_tracepoint_markers_by_strid): Add
2840 (struct target_ops) <to_static_tracepoint_markers_by_strid>: Add
2842 * target.c (update_current_target): Update.
2843 * remote.c (struct target_ops)
2844 <to_static_tracepoint_markers_by_strid>: Add 'self' argument.
2845 * linux-nat.c (struct target_ops)
2846 <to_static_tracepoint_markers_by_strid>: Add 'self' argument.
2848 2014-02-19 Tom Tromey <tromey@redhat.com>
2850 * target.h (struct target_ops) <to_static_tracepoint_marker_at>:
2852 (target_static_tracepoint_marker_at): Add argument.
2853 * target.c (update_current_target): Update.
2854 * remote.c (remote_static_tracepoint_marker_at): Add 'self'
2857 2014-02-19 Tom Tromey <tromey@redhat.com>
2859 * target.h (struct target_ops) <to_set_permissions>: Add argument.
2860 (target_set_permissions): Add argument.
2861 * target.c (update_current_target): Update.
2862 * remote.c (remote_set_permissions): Add 'self' argument.
2863 (remote_start_remote): Update.
2865 2014-02-19 Tom Tromey <tromey@redhat.com>
2867 * windows-nat.c (windows_get_tib_address): Add 'self' argument.
2868 * target.h (struct target_ops) <to_get_tib_address>: Add argument.
2869 (target_get_tib_address): Add argument.
2870 * target.c (update_current_target): Update.
2871 * remote.c (remote_get_tib_address): Add 'self' argument.
2873 2014-02-19 Tom Tromey <tromey@redhat.com>
2875 * target.h (struct target_ops) <to_set_trace_notes>: Add argument.
2876 (target_set_trace_notes): Add argument.
2877 * target.c (update_current_target): Update.
2878 * remote.c (remote_set_trace_notes): Add 'self' argument.
2880 2014-02-19 Tom Tromey <tromey@redhat.com>
2882 * target.h (struct target_ops) <to_set_trace_buffer_size>: Add
2884 (target_set_trace_buffer_size): Add argument.
2885 * target.c (update_current_target): Update.
2886 * remote.c (remote_set_trace_buffer_size): Add 'self' argument.
2888 2014-02-19 Tom Tromey <tromey@redhat.com>
2890 * target.h (struct target_ops) <to_set_circular_trace_buffer>: Add
2892 (target_set_circular_trace_buffer): Add argument.
2893 * target.c (update_current_target): Update.
2894 * remote.c (remote_set_circular_trace_buffer): Add 'self'
2897 2014-02-19 Tom Tromey <tromey@redhat.com>
2899 * target.h (struct target_ops) <to_set_disconnected_tracing>: Add
2901 (target_set_disconnected_tracing): Add argument.
2902 * target.c (update_current_target): Update.
2903 * remote.c (remote_set_disconnected_tracing): Add 'self' argument.
2905 2014-02-19 Tom Tromey <tromey@redhat.com>
2907 * target.h (struct target_ops)
2908 <to_get_min_fast_tracepoint_insn_len>: Add argument.
2909 (target_get_min_fast_tracepoint_insn_len): Add argument.
2910 * target.c (update_current_target): Update.
2911 * remote.c (remote_get_min_fast_tracepoint_insn_len): Add 'self'
2914 2014-02-19 Tom Tromey <tromey@redhat.com>
2916 * target.h (struct target_ops) <to_get_raw_trace_data>: Add
2918 (target_get_raw_trace_data): Add argument.
2919 * target.c (update_current_target): Update.
2920 * remote.c (remote_get_raw_trace_data): Add 'self' argument.
2922 2014-02-19 Tom Tromey <tromey@redhat.com>
2924 * target.h (struct target_ops) <to_upload_trace_state_variables>:
2926 (target_upload_trace_state_variables): Add argument.
2927 * target.c (update_current_target): Update.
2928 * remote.c (remote_upload_trace_state_variables): Add 'self'
2930 (remote_start_remote): Update.
2932 2014-02-19 Tom Tromey <tromey@redhat.com>
2934 * target.h (struct target_ops) <to_upload_tracepoints>: Add
2936 (target_upload_tracepoints): Add argument.
2937 * target.c (update_current_target): Update.
2938 * remote.c (remote_upload_tracepoints): Add 'self' argument.
2939 (remote_start_remote): Update.
2941 2014-02-19 Tom Tromey <tromey@redhat.com>
2943 * target.h (struct target_ops) <to_save_trace_data>: Add argument.
2944 (target_save_trace_data): Add argument.
2945 * target.c (update_current_target): Update.
2946 * remote.c (remote_save_trace_data): Add 'self' argument.
2948 2014-02-19 Tom Tromey <tromey@redhat.com>
2950 * tracepoint.c (tfile_get_trace_state_variable_value): Add 'self'
2952 * target.h (struct target_ops)
2953 <to_get_trace_state_variable_value>: Add argument.
2954 (target_get_trace_state_variable_value): Add argument.
2955 * target.c (update_current_target): Update.
2956 * remote.c (remote_get_trace_state_variable_value): Add 'self'
2958 * ctf.c (ctf_get_trace_state_variable_value): Add 'self' argument.
2960 2014-02-19 Tom Tromey <tromey@redhat.com>
2962 * tracepoint.c (tfile_trace_find): Add 'self' argument.
2963 * target.h (struct target_ops) <to_trace_find>: Add argument.
2964 (target_trace_find): Add argument.
2965 * target.c (update_current_target): Update.
2966 * remote.c (remote_trace_find): Add 'self' argument.
2967 * ctf.c (ctf_trace_find): Add 'self' argument.
2969 2014-02-19 Tom Tromey <tromey@redhat.com>
2971 * target.h (struct target_ops) <to_trace_stop>: Add argument.
2972 (target_trace_stop): Add argument.
2973 * target.c (update_current_target): Update.
2974 * remote.c (remote_trace_stop): Add 'self' argument.
2976 2014-02-19 Tom Tromey <tromey@redhat.com>
2978 * tracepoint.c (tfile_get_tracepoint_status): Add 'self' argument.
2979 * target.h (struct target_ops) <to_get_tracepoint_status>: Add
2981 (target_get_tracepoint_status): Add argument.
2982 * target.c (update_current_target): Update.
2983 * remote.c (remote_get_tracepoint_status): Add 'self' argument.
2985 2014-02-19 Tom Tromey <tromey@redhat.com>
2987 * tracepoint.c (tfile_get_trace_status): Add 'self' argument.
2988 * target.h (struct target_ops) <to_get_trace_status>: Add
2990 (target_get_trace_status): Add argument.
2991 * target.c (update_current_target): Update.
2992 * remote.c (remote_get_trace_status): Add 'self' argument.
2993 (remote_start_remote, remote_can_download_tracepoint): Update.
2994 * ctf.c (ctf_get_trace_status): Add 'self' argument.
2996 2014-02-19 Tom Tromey <tromey@redhat.com>
2998 * target.h (struct target_ops) <to_trace_start>: Add argument.
2999 (target_trace_start): Add argument.
3000 * target.c (update_current_target): Update.
3001 * remote.c (remote_trace_start): Add 'self' argument.
3003 2014-02-19 Tom Tromey <tromey@redhat.com>
3005 * target.h (struct target_ops) <to_trace_set_readonly_regions>:
3007 (target_trace_set_readonly_regions): Add argument.
3008 * target.c (update_current_target): Update.
3009 * remote.c (remote_trace_set_readonly_regions): Add 'self'
3012 2014-02-19 Tom Tromey <tromey@redhat.com>
3014 * target.h (struct target_ops) <to_disable_tracepoint>: Add
3016 (target_disable_tracepoint): Add argument.
3017 * target.c (update_current_target): Update.
3018 * remote.c (remote_disable_tracepoint): Add 'self' argument.
3020 2014-02-19 Tom Tromey <tromey@redhat.com>
3022 * target.h (struct target_ops) <to_enable_tracepoint>: Add
3024 (target_enable_tracepoint): Add argument.
3025 * target.c (update_current_target): Update.
3026 * remote.c (remote_enable_tracepoint): Add 'self' argument.
3028 2014-02-19 Tom Tromey <tromey@redhat.com>
3030 * target.h (struct target_ops) <to_download_trace_state_variable>:
3032 (target_download_trace_state_variable): Add argument.
3033 * target.c (update_current_target): Update.
3034 * remote.c (remote_download_trace_state_variable): Add 'self'
3037 2014-02-19 Tom Tromey <tromey@redhat.com>
3039 * target.h (struct target_ops) <to_can_download_tracepoint>: Add
3041 (target_can_download_tracepoint): Add argument.
3042 * target.c (update_current_target): Update.
3043 * remote.c (remote_can_download_tracepoint): Add 'self' argument.
3045 2014-02-19 Tom Tromey <tromey@redhat.com>
3047 * target.h (struct target_ops) <to_download_tracepoint>: Add
3049 (target_download_tracepoint): Add argument.
3050 * target.c (update_current_target): Update.
3051 * remote.c (remote_download_tracepoint): Add 'self' argument.
3053 2014-02-19 Tom Tromey <tromey@redhat.com>
3055 * target.h (struct target_ops) <to_trace_init>: Add argument.
3056 (target_trace_init): Add argument.
3057 * target.c (update_current_target): Update.
3058 * remote.c (remote_trace_init): Add 'self' argument.
3060 2014-02-19 Tom Tromey <tromey@redhat.com>
3062 * target.h (struct target_ops) <to_fileio_readlink>: Add argument.
3063 * target.c (target_fileio_readlink): Add argument.
3064 * remote.c (remote_hostio_readlink): Add 'self' argument.
3065 * inf-child.c (inf_child_fileio_readlink): Add 'self' argument.
3067 2014-02-19 Tom Tromey <tromey@redhat.com>
3069 * target.h (struct target_ops) <to_fileio_unlink>: Add argument.
3070 * target.c (target_fileio_unlink): Add argument.
3071 * remote.c (remote_hostio_unlink): Add 'self' argument.
3072 (remote_file_delete): Update.
3073 * inf-child.c (inf_child_fileio_unlink): Add 'self' argument.
3075 2014-02-19 Tom Tromey <tromey@redhat.com>
3077 * target.h (struct target_ops) <to_fileio_close>: Add argument.
3078 * target.c (target_fileio_close): Add argument.
3079 * remote.c (remote_hostio_close): Add 'self' argument.
3080 (remote_hostio_close_cleanup): Update.
3081 (remote_bfd_iovec_close, remote_file_put, remote_file_get):
3083 * inf-child.c (inf_child_fileio_close): Add 'self' argument.
3085 2014-02-19 Tom Tromey <tromey@redhat.com>
3087 * target.h (struct target_ops) <to_fileio_pread>: Add argument.
3088 * target.c (target_fileio_pread): Add argument.
3089 * remote.c (remote_hostio_pread): Add 'self' argument.
3090 (remote_bfd_iovec_pread, remote_file_get): Update.
3091 * inf-child.c (inf_child_fileio_pread): Add 'self' argument.
3093 2014-02-19 Tom Tromey <tromey@redhat.com>
3095 * target.h (struct target_ops) <to_fileio_pwrite>: Add argument.
3096 * target.c (target_fileio_pwrite): Add argument.
3097 * remote.c (remote_hostio_pwrite): Add 'self' argument.
3098 (remote_file_put): Update.
3099 * inf-child.c (inf_child_fileio_pwrite): Add 'self' argument.
3101 2014-02-19 Tom Tromey <tromey@redhat.com>
3103 * target.h (struct target_ops) <to_fileio_open>: Add argument.
3104 * target.c (target_fileio_open): Add argument.
3105 * remote.c (remote_hostio_open): Add 'self' argument.
3106 (remote_bfd_iovec_open): Add 'self' argument.
3107 (remote_file_put): Add 'self' argument.
3108 (remote_file_get): Add 'self' argument.
3109 * inf-child.c (inf_child_fileio_open): Add 'self' argument.
3111 2014-02-19 Tom Tromey <tromey@redhat.com>
3113 * target.h (struct target_ops) <to_can_run_breakpoint_commands>:
3115 (target_can_run_breakpoint_commands): Add argument.
3116 * target.c (update_current_target): Update.
3117 * remote.c (remote_can_run_breakpoint_commands): Add 'self'
3119 (remote_insert_breakpoint): Add 'self' argument.
3120 (remote_insert_hw_breakpoint): Add 'self' argument.
3121 (remote_can_run_breakpoint_commands): Add 'self' argument.
3123 2014-02-19 Tom Tromey <tromey@redhat.com>
3125 * target.h (struct target_ops)
3126 <to_supports_evaluation_of_breakpoint_conditions>: Add argument.
3127 (target_supports_evaluation_of_breakpoint_conditions): Add
3129 * target.c (update_current_target): Update.
3130 * remote.c (remote_supports_cond_breakpoints): Add 'self'
3132 (remote_insert_breakpoint): Add 'self' argument.
3133 (remote_insert_hw_breakpoint): Add 'self' argument.
3134 (remote_supports_cond_breakpoints): Add 'self' argument.
3136 2014-02-19 Tom Tromey <tromey@redhat.com>
3138 * target.h (struct target_ops) <to_supports_string_tracing>: Add
3140 (target_supports_string_tracing): Add argument.
3141 * target.c (update_current_target): Update.
3142 * remote.c (remote_supports_string_tracing): Add 'self' argument.
3144 2014-02-19 Tom Tromey <tromey@redhat.com>
3146 * target.h (struct target_ops)
3147 <to_supports_disable_randomization>: Add argument.
3148 * target.c (find_default_supports_disable_randomization): Add
3150 (target_supports_disable_randomization): Add argument.
3151 (find_default_supports_disable_randomization): Add 'self'
3153 * remote.c (extended_remote_supports_disable_randomization): Add
3155 (remote_supports_disable_randomization): Add 'self' argument.
3156 (extended_remote_create_inferior): Update.
3157 * linux-nat.c (linux_nat_supports_disable_randomization): Add
3160 2014-02-19 Tom Tromey <tromey@redhat.com>
3162 * target.h (struct target_ops)
3163 <to_supports_enable_disable_tracepoint>: Add argument.
3164 (target_supports_enable_disable_tracepoint): Add argument.
3165 * target.c (update_current_target): Update.
3166 * remote.c (remote_supports_enable_disable_tracepoint): Add 'self'
3169 2014-02-19 Tom Tromey <tromey@redhat.com>
3171 * target.h (struct target_ops) <to_supports_multi_process>: Add
3173 (target_supports_multi_process): Add argument.
3174 * target.c (update_current_target): Update.
3175 * remote.c (remote_supports_multi_process): Add 'self' argument.
3176 * linux-nat.c (linux_nat_supports_multi_process): Add 'self'
3178 * darwin-nat.c (darwin_supports_multi_process): Add 'self'
3181 2014-02-19 Tom Tromey <tromey@redhat.com>
3183 * target.h (struct target_ops) <to_execution_direction>: Add
3185 (target_execution_direction): Add argument.
3186 * target.c (default_execution_direction): Add 'self' argument.
3187 * record-full.c (record_full_execution_direction): Add 'self'
3190 2014-02-19 Tom Tromey <tromey@redhat.com>
3192 * target.h (struct target_ops) <to_can_execute_reverse>: Add
3194 (target_can_execute_reverse): Add argument.
3195 * remote.c (remote_can_execute_reverse): Add 'self' argument.
3196 * record-full.c (record_full_can_execute_reverse): Add 'self'
3198 * record-btrace.c (record_btrace_can_execute_reverse): Add 'self'
3201 2014-02-19 Tom Tromey <tromey@redhat.com>
3203 * windows-nat.c (windows_get_ada_task_ptid): Add 'self' argument.
3204 * target.h (struct target_ops) <to_get_ada_task_ptid>: Add
3206 (target_get_ada_task_ptid): Add argument.
3207 * target.c (update_current_target): Update.
3208 (default_get_ada_task_ptid): Add 'self' argument.
3209 * sol-thread.c (sol_get_ada_task_ptid): Add 'self' argument.
3210 * remote.c (remote_get_ada_task_ptid): Add 'self' argument.
3211 * ravenscar-thread.c (ravenscar_get_ada_task_ptid): Add 'self'
3213 * linux-thread-db.c (thread_db_get_ada_task_ptid): Add 'self'
3215 * inf-ttrace.c (inf_ttrace_get_ada_task_ptid): Add 'self'
3217 * dec-thread.c (dec_thread_get_ada_task_ptid): Add 'self'
3219 * darwin-nat.c (darwin_get_ada_task_ptid): Add 'self' argument.
3220 * aix-thread.c (aix_thread_get_ada_task_ptid): Add 'self'
3223 2014-02-19 Tom Tromey <tromey@redhat.com>
3225 * target.h (struct target_ops) <to_goto_bookmark>: Add argument.
3226 (target_goto_bookmark): Add argument.
3227 * target.c (dummy_goto_bookmark): Add 'self' argument.
3228 * record-full.c (record_full_goto_bookmark): Add 'self' argument.
3230 2014-02-19 Tom Tromey <tromey@redhat.com>
3232 * target.h (struct target_ops) <to_get_bookmark>: Add argument.
3233 (target_get_bookmark): Add argument.
3234 * target.c (dummy_get_bookmark): Add 'self' argument.
3235 * record-full.c (record_full_get_bookmark): Add 'self' argument.
3237 2014-02-19 Tom Tromey <tromey@redhat.com>
3239 * target.h (struct target_ops) <to_make_corefile_notes>: Add
3241 (target_make_corefile_notes): Add argument.
3242 * target.c (dummy_make_corefile_notes): Add 'self' argument.
3243 * procfs.c (procfs_make_note_section): Add 'self' argument.
3244 (procfs_make_note_section): Add 'self' argument.
3245 (procfs_make_note_section): Add 'self' argument.
3246 * linux-nat.c (linux_nat_make_corefile_notes): Add 'self'
3248 * fbsd-nat.h (fbsd_make_corefile_notes): Add 'self' argument.
3249 * fbsd-nat.c (fbsd_make_corefile_notes): Add 'self' argument.
3250 * exec.c (exec_make_note_section): Add 'self' argument.
3251 (exec_make_note_section): Add 'self' argument.
3253 2014-02-19 Tom Tromey <tromey@redhat.com>
3255 * target.h (struct target_ops) <to_find_memory_regions>: Add
3257 (target_find_memory_regions): Add argument.
3258 * target.c (dummy_find_memory_regions): Add 'self' argument.
3259 * procfs.c (proc_find_memory_regions): Add 'self' argument.
3260 * gnu-nat.c (gnu_find_memory_regions): Add 'self' argument.
3261 * fbsd-nat.h (fbsd_find_memory_regions): Add 'self' argument.
3262 * fbsd-nat.c (fbsd_find_memory_regions): Add 'self' argument.
3263 * exec. (exec_do_find_memory_regions): New global.
3264 (exec_set_find_memory_regions): Rewrite.
3265 (exec_find_memory_regions): New function.
3266 (init_exec_ops): Use exec_find_memory_regions.
3268 2014-02-19 Tom Tromey <tromey@redhat.com>
3270 * target.h (struct target_ops) <to_supports_non_stop>: Add
3272 * target.c (find_default_supports_non_stop): Add argument.
3273 (target_supports_non_stop): Add argument.
3274 (find_default_supports_non_stop): Add 'self' argument.
3275 * remote.c (remote_supports_non_stop): Add 'self' argument.
3276 * linux-nat.c (linux_nat_supports_non_stop): Add 'self' argument.
3278 2014-02-19 Tom Tromey <tromey@redhat.com>
3280 * target.h (struct target_ops) <to_log_command>: Add argument.
3281 (target_log_command): Add argument.
3282 * serial.h (serial_log_command): Add 'self' argument.
3283 * serial.c (serial_log_command): Add 'self' argument.
3285 2014-02-19 Tom Tromey <tromey@redhat.com>
3287 * windows-nat.c (windows_pid_to_exec_file): Add 'self' argument.
3288 * target.h (struct target_ops) <to_pid_to_exec_file>: Add
3290 (target_pid_to_exec_file): Add argument.
3291 * target.c (debug_to_pid_to_exec_file): Add argument.
3292 (update_current_target): Update.
3293 * nbsd-nat.h (nbsd_pid_to_exec_file): Add 'self' argument.
3294 * nbsd-nat.c (nbsd_pid_to_exec_file): Add 'self' argument.
3295 * linux-nat.c (linux_child_pid_to_exec_file): Add 'self' argument.
3296 (linux_handle_extended_wait): Update.
3297 * inf-child.c (inf_child_pid_to_exec_file): Add 'self' argument.
3298 * fbsd-nat.h (fbsd_pid_to_exec_file): Add 'self' argument.
3299 * fbsd-nat.c (fbsd_pid_to_exec_file): Add 'self' argument.
3300 * darwin-nat.c (darwin_pid_to_exec_file): Add 'self' argument.
3302 2014-02-19 Tom Tromey <tromey@redhat.com>
3304 * target.h (struct target_ops) <to_rcmd>: Add argument.
3305 (target_rcmd): Add argument.
3306 * target.c (debug_to_rcmd): Add argument.
3307 (update_current_target, do_monitor_command): Update.
3308 * remote.c (remote_rcmd): Add 'self' argument.
3309 * monitor.c (monitor_rcmd): Add 'self' argument.
3311 2014-02-19 Tom Tromey <tromey@redhat.com>
3313 * windows-nat.c (windows_stop): Add 'self' argument.
3314 * target.h (struct target_ops) <to_stop>: Add argument.
3315 * target.c (target_stop): Add argument.
3316 (debug_to_stop): Add argument.
3317 (update_current_target): Update.
3318 * remote.c (remote_stop): Add 'self' argument.
3319 * remote-sim.c (gdbsim_stop): Add 'self' argument.
3320 (gdbsim_cntrl_c): Update.
3321 * remote-m32r-sdi.c (m32r_stop): Add 'self' argument.
3322 * procfs.c (procfs_stop): Add 'self' argument.
3323 * nto-procfs.c (procfs_stop): Add 'self' argument.
3324 * monitor.c (monitor_stop): Add 'self' argument.
3325 (monitor_open): Update.
3326 * linux-nat.c (linux_nat_stop): Add argument.
3327 * inf-ptrace.c (inf_ptrace_stop): Add 'self' argument.
3328 * gnu-nat.c (gnu_stop): Add 'self' argument.
3329 * darwin-nat.c (darwin_stop): Add 'self' argument.
3331 2014-02-19 Tom Tromey <tromey@redhat.com>
3333 * target.h (struct target_ops) <to_thread_name>: Add argument.
3334 * target.c (target_thread_name): Add argument.
3335 (update_current_target): Update.
3336 * linux-nat.c (linux_nat_thread_name): Add 'self' argument.
3338 2014-02-19 Tom Tromey <tromey@redhat.com>
3340 * target.h (struct target_ops) <to_extra_thread_info>: Add
3342 (target_extra_thread_info): Add argument.
3343 * target.c (update_current_target): Update.
3344 * remote.c (remote_threads_extra_info): Add 'self' argument.
3345 * ravenscar-thread.c (ravenscar_extra_thread_info): Add 'self'
3347 * nto-tdep.h (nto_extra_thread_info): Add 'self' argument.
3348 * nto-tdep.c (nto_extra_thread_info): Add 'self' argument.
3349 * linux-thread-db.c (thread_db_extra_thread_info): Add 'self'
3351 * inf-ttrace.c (inf_ttrace_extra_thread_info): Add 'self'
3353 * bsd-uthread.c (bsd_uthread_extra_thread_info): Add 'self'
3355 * aix-thread.c (aix_thread_extra_thread_info): Add 'self'
3358 2014-02-19 Tom Tromey <tromey@redhat.com>
3360 * target.h (struct target_ops) <to_program_signals>: Add argument.
3361 * target.c (target_program_signals): Add argument.
3362 * remote.c (remote_program_signals): Add 'self' argument.
3364 2014-02-19 Tom Tromey <tromey@redhat.com>
3366 * target.h (struct target_ops) <to_pass_signals>: Add argument.
3367 * target.c (target_pass_signals): Add argument.
3368 * remote.c (remote_pass_signals): Add 'self' argument.
3369 (remote_start_remote): Update.
3370 * procfs.c (procfs_pass_signals): Add 'self' argument.
3371 * nto-procfs.c (procfs_pass_signals): Add 'self' argument.
3372 * linux-nat.c (linux_nat_pass_signals): Add 'self' argument.
3373 (linux_nat_create_inferior, linux_nat_attach): Update.
3375 2014-02-19 Tom Tromey <tromey@redhat.com>
3377 * windows-nat.c (windows_can_run): Add 'self' argument.
3378 * target.h (struct target_ops) <to_can_run>: Add argument.
3379 (target_can_run): Add argument.
3380 * target.c (debug_to_can_run): Add argument.
3381 (update_current_target): Update.
3382 * nto-procfs.c (procfs_can_run): Add 'self' argument.
3383 * inf-child.c (inf_child_can_run): Add 'self' argument.
3384 * go32-nat.c (go32_can_run): Add 'self' argument.
3386 2014-02-19 Tom Tromey <tromey@redhat.com>
3388 * target.h (struct target_ops) <to_has_exited>: Add argument.
3389 (target_has_exited): Add argument.
3390 * target.c (debug_to_has_exited): Add argument.
3391 (update_current_target): Update.
3393 2014-02-19 Tom Tromey <tromey@redhat.com>
3395 * target.h (struct target_ops) <to_set_syscall_catchpoint>: Add
3397 (target_set_syscall_catchpoint): Add argument.
3398 * linux-nat.c (linux_child_set_syscall_catchpoint): Add 'self'
3400 * target.c (update_current_target): Update.
3402 2014-02-19 Tom Tromey <tromey@redhat.com>
3404 * target.h (struct target_ops) <to_remove_exec_catchpoint>: Add
3406 (target_remove_exec_catchpoint): Add argument.
3407 * target.c (debug_to_remove_exec_catchpoint): Add argument.
3408 (update_current_target): Update.
3409 * linux-nat.c (linux_child_remove_exec_catchpoint): Add 'self'
3412 2014-02-19 Tom Tromey <tromey@redhat.com>
3414 * target.h (struct target_ops) <to_insert_exec_catchpoint>: Add
3416 (target_insert_exec_catchpoint): Add argument.
3417 * target.c (debug_to_insert_exec_catchpoint): Add argument.
3418 (update_current_target): Update.
3419 * linux-nat.c (linux_child_insert_exec_catchpoint): Add 'self'
3422 2014-02-19 Tom Tromey <tromey@redhat.com>
3424 * target.h (struct target_ops) <to_remove_vfork_catchpoint>: Add
3426 (target_remove_vfork_catchpoint): Add argument.
3427 * target.c (debug_to_remove_vfork_catchpoint): Add argument.
3428 (update_current_target): Update.
3429 * linux-nat.c (linux_child_remove_vfork_catchpoint): Add 'self'
3432 2014-02-19 Tom Tromey <tromey@redhat.com>
3434 * target.h (struct target_ops) <to_insert_vfork_catchpoint>: Add
3436 (target_insert_vfork_catchpoint): Add argument.
3437 * target.c (debug_to_insert_vfork_catchpoint): Add argument.
3438 (update_current_target): Update.
3439 * linux-nat.c (linux_child_insert_vfork_catchpoint): Add 'self'
3442 2014-02-19 Tom Tromey <tromey@redhat.com>
3444 * target.h (struct target_ops) <to_remove_fork_catchpoint>: Add
3446 (target_remove_fork_catchpoint): Add argument.
3447 * target.c (debug_to_remove_fork_catchpoint): Add argument.
3448 (update_current_target): Update.
3449 * linux-nat.c (linux_child_remove_fork_catchpoint): Add 'self'
3452 2014-02-19 Tom Tromey <tromey@redhat.com>
3454 * target.h (struct target_ops) <to_insert_fork_catchpoint>: Add
3456 (target_insert_fork_catchpoint): Add argument.
3457 * target.c (debug_to_insert_fork_catchpoint): Add argument.
3458 (update_current_target): Update.
3459 * linux-nat.c (linux_child_insert_fork_catchpoint): Add 'self'
3462 2014-02-19 Tom Tromey <tromey@redhat.com>
3464 * target.h (struct target_ops) <to_post_startup_inferior>: Add
3466 (target_post_startup_inferior): Add argument.
3467 * target.c (debug_to_post_startup_inferior): Add argument.
3468 (update_current_target): Update.
3469 * spu-linux-nat.c (spu_child_post_startup_inferior): Add 'self'
3471 * linux-nat.c (linux_child_post_startup_inferior): Add 'self'
3473 * inf-ptrace.c (inf_ptrace_post_startup_inferior): Add 'self'
3475 * inf-child.c (inf_child_post_startup_inferior): Add 'self'
3477 * i386-linux-nat.c (i386_linux_child_post_startup_inferior): Add
3479 (super_post_startup_inferior): Likewise.
3480 * amd64-linux-nat.c (amd64_linux_child_post_startup_inferior): Add
3482 (super_post_startup_inferior): Likewise.
3483 * aarch64-linux-nat.c (aarch64_linux_child_post_startup_inferior):
3484 Add 'self' argument.
3485 (super_post_startup_inferior): Likewise.
3487 2014-02-19 Tom Tromey <tromey@redhat.com>
3489 * target.h (struct target_ops) <to_load>: Add argument.
3490 * target.c (target_load): Add argument.
3491 (debug_to_load): Add argument.
3492 (update_current_target): Update.
3493 * remote.c (remote_load): Add 'self' argument.
3494 * remote-sim.c (gdbsim_load): Add 'self' argument.
3495 * remote-mips.c (mips_load): Add 'self' argument.
3496 * remote-m32r-sdi.c (m32r_load): Add 'self' argument.
3497 * monitor.c (monitor_load): Add 'self' argument.
3498 * m32r-rom.c (m32r_load_gen): Add 'self' argument.
3500 2014-02-19 Tom Tromey <tromey@redhat.com>
3502 * target.h (struct target_ops) <to_terminal_info>: Add argument.
3503 (target_terminal_info): Add argument.
3504 * target.c (debug_to_terminal_info): Add argument.
3505 (default_terminal_info): Likewise.
3506 * inflow.c (child_terminal_info): Add 'self' argument.
3507 * inferior.h (child_terminal_info): Add 'self' argument.
3508 * go32-nat.c (go32_terminal_info): Add 'self' argument.
3510 2014-02-19 Tom Tromey <tromey@redhat.com>
3512 * target.h (struct target_ops) <to_terminal_save_ours>: Add
3514 (target_terminal_save_ours): Add argument.
3515 * target.c (debug_to_terminal_save_ours): Add argument.
3516 (update_current_target): Update.
3517 * inflow.c (terminal_save_ours): Add 'self' argument.
3518 * inferior.h (terminal_save_ours): Add 'self' argument.
3520 2014-02-19 Tom Tromey <tromey@redhat.com>
3522 * target.h (struct target_ops) <to_terminal_ours>: Add argument.
3523 (target_terminal_ours): Add argument.
3524 * target.c (debug_to_terminal_ours): Add argument.
3525 (update_current_target): Update.
3526 * remote.c (remote_terminal_ours): Add 'self' argument.
3527 (remote_close): Update.
3528 * linux-nat.c (linux_nat_terminal_ours): Add 'self' argument.
3529 * inflow.c (terminal_ours): Add 'self' argument.
3530 * inferior.h (terminal_ours): Add 'self' argument.
3531 * go32-nat.c (go32_terminal_ours): Add 'self' argument.
3533 2014-02-19 Pedro Alves <palves@redhat.com>
3534 Tom Tromey <tromey@redhat.com>
3536 * target.h (struct target_ops) <to_terminal_ours_for_output>: Add
3538 (target_terminal_ours_for_output): Add argument.
3539 * target.c (debug_to_terminal_ours_for_output): Add argument.
3540 (update_current_target): Update.
3541 * inflow.c (terminal_ours_for_output): Add 'self' argument.
3542 * inferior.h (terminal_ours_for_output): Add 'self' argument.
3543 * go32-nat.c (go32_terminal_ours): Add 'self' argument.
3545 2014-02-19 Tom Tromey <tromey@redhat.com>
3547 * target.h (struct target_ops) <to_terminal_inferior>: Add
3549 * target.c (target_terminal_inferior): Add argument.
3550 (update_current_target): Update.
3551 * remote.c (remote_terminal_inferior): Add 'self' argument.
3552 * linux-nat.c (linux_nat_terminal_inferior): Add 'self' argument.
3553 * inflow.c (terminal_inferior): Add 'self' argument.
3554 * inferior.h (terminal_inferior): Add 'self' argument.
3555 * go32-nat.c (go32_terminal_inferior): Add 'self' argument.
3556 (go32_terminal_inferior): Add 'self' argument.
3558 2014-02-19 Tom Tromey <tromey@redhat.com>
3560 * target.h (struct target_ops) <to_terminal_init>: Add argument.
3561 (target_terminal_init): Add argument.
3562 * target.c (debug_to_terminal_init): Add argument.
3563 (update_current_target): Update.
3564 * inflow.c (terminal_init_inferior): Add 'self' argument.
3565 * inferior.h (terminal_init_inferior): Add 'self' argument.
3566 * go32-nat.c (go32_terminal_init): Add 'self' argument.
3567 * gnu-nat.c (gnu_terminal_init_inferior): Add 'self' argument.
3569 2014-02-19 Tom Tromey <tromey@redhat.com>
3571 * target.h (struct target_ops)
3572 <to_can_accel_watchpoint_condition>: Add argument.
3573 (target_can_accel_watchpoint_condition): Add argument.
3574 * target.c (debug_to_can_accel_watchpoint_condition): Add
3576 (update_current_target): Update.
3577 * ppc-linux-nat.c (ppc_linux_can_accel_watchpoint_condition): Add
3580 2014-02-19 Tom Tromey <tromey@redhat.com>
3582 * target.h (struct target_ops) <to_region_ok_for_hw_watchpoint>:
3584 (target_region_ok_for_hw_watchpoint): Add argument.
3585 * target.c (debug_to_region_ok_for_hw_watchpoint): Add argument.
3586 (default_region_ok_for_hw_watchpoint): Add argument.
3587 * spu-multiarch.c (spu_region_ok_for_hw_watchpoint): Add argument.
3588 * s390-linux-nat.c (s390_region_ok_for_hw_watchpoint): Add 'self'
3590 * remote.c (remote_region_ok_for_hw_watchpoint): Add 'self'
3592 * procfs.c (procfs_region_ok_for_hw_watchpoint): Add 'self'
3594 * ppc-linux-nat.c (ppc_linux_region_ok_for_hw_watchpoint): Add
3596 * mips-linux-nat.c (mips_linux_region_ok_for_hw_watchpoint): Add
3598 * inf-ttrace.c (inf_ttrace_region_ok_for_hw_watchpoint): Add
3600 * i386-nat.c (i386_region_ok_for_watchpoint): Add 'self' argument.
3601 * arm-linux-nat.c (arm_linux_region_ok_for_hw_watchpoint): Add
3603 * aarch64-linux-nat.c (aarch64_linux_region_ok_for_hw_watchpoint):
3604 Add 'self' argument.
3606 2014-02-19 Tom Tromey <tromey@redhat.com>
3608 * target.h (struct target_ops) <to_insert_watchpoint>: Add
3610 (target_insert_watchpoint): Add argument.
3611 * target.c (debug_to_insert_watchpoint): Add argument.
3612 (update_current_target): Update.
3613 * s390-linux-nat.c (s390_insert_watchpoint): Add 'self' argument.
3614 * remote.c (remote_insert_watchpoint): Add 'self' argument.
3615 * remote-mips.c (mips_insert_watchpoint): Add 'self' argument.
3616 * remote-m32r-sdi.c (m32r_insert_watchpoint): Add 'self' argument.
3617 * procfs.c (procfs_insert_watchpoint): Add 'self' argument.
3618 * ppc-linux-nat.c (ppc_linux_insert_watchpoint): Add 'self'
3620 * nto-procfs.c (procfs_insert_hw_watchpoint): Add 'self' argument.
3621 (procfs_insert_hw_watchpoint): Add 'self' argument.
3622 * mips-linux-nat.c (mips_linux_insert_watchpoint): Add 'self'
3624 * inf-ttrace.c (inf_ttrace_insert_watchpoint): Add 'self'
3626 * ia64-linux-nat.c (ia64_linux_insert_watchpoint): Add 'self'
3628 * i386-nat.c (i386_insert_watchpoint): Add 'self' argument.
3629 * arm-linux-nat.c (arm_linux_insert_watchpoint): Add 'self'
3631 * aarch64-linux-nat.c (aarch64_linux_insert_watchpoint): Add
3634 2014-02-19 Tom Tromey <tromey@redhat.com>
3636 * target.h (struct target_ops) <to_remove_watchpoint>: Add
3638 (target_remove_watchpoint): Add argument.
3639 * target.c (debug_to_remove_watchpoint): Add argument.
3640 (update_current_target): Update.
3641 * s390-linux-nat.c (s390_remove_watchpoint): Add 'self' argument.
3642 * remote.c (remote_remove_watchpoint): Add 'self' argument.
3643 * remote-mips.c (mips_remove_watchpoint): Add 'self' argument.
3644 * remote-m32r-sdi.c (m32r_remove_watchpoint): Add 'self' argument.
3645 * procfs.c (procfs_remove_watchpoint): Add 'self' argument.
3646 * ppc-linux-nat.c (ppc_linux_remove_watchpoint): Add 'self'
3648 * nto-procfs.c (procfs_remove_hw_watchpoint): Add 'self' argument.
3649 * mips-linux-nat.c (mips_linux_remove_watchpoint): Add 'self'
3651 * inf-ttrace.c (inf_ttrace_remove_watchpoint): Add 'self'
3653 * ia64-linux-nat.c (ia64_linux_remove_watchpoint): Add 'self'
3655 * i386-nat.c (i386_remove_watchpoint): Add 'self' argument.
3656 * arm-linux-nat.c (arm_linux_remove_watchpoint): Add 'self'
3658 * aarch64-linux-nat.c (aarch64_linux_remove_watchpoint): Add
3661 2014-02-19 Tom Tromey <tromey@redhat.com>
3663 * target.h (struct target_ops) <to_remove_hw_breakpoint>: Add
3665 (target_remove_hw_breakpoint): Add argument.
3666 * target.c (debug_to_remove_hw_breakpoint): Add argument.
3667 (update_current_target): Update.
3668 * remote.c (remote_remove_hw_breakpoint): Add 'self' argument.
3669 * ppc-linux-nat.c (ppc_linux_remove_hw_breakpoint): Add 'self'
3671 * i386-nat.c (i386_remove_hw_breakpoint): Add 'self' argument.
3672 * arm-linux-nat.c (arm_linux_remove_hw_breakpoint): Add 'self'
3674 * aarch64-linux-nat.c (aarch64_linux_remove_hw_breakpoint): Add
3677 2014-02-19 Tom Tromey <tromey@redhat.com>
3679 * target.h (struct target_ops) <to_insert_hw_breakpoint>: Add
3681 (target_insert_hw_breakpoint): Add argument.
3682 * target.c (debug_to_insert_hw_breakpoint): Add argument.
3683 (update_current_target): Update.
3684 * remote.c (remote_insert_hw_breakpoint): Add 'self' argument.
3685 * ppc-linux-nat.c (ppc_linux_insert_hw_breakpoint): Add 'self'
3687 * nto-procfs.c (procfs_insert_hw_breakpoint): Add 'self' argument.
3688 * i386-nat.c (i386_insert_hw_breakpoint): Add 'self' argument.
3689 * arm-linux-nat.c (arm_linux_insert_hw_breakpoint): Add 'self'
3691 * aarch64-linux-nat.c (aarch64_linux_insert_hw_breakpoint): Add
3694 2014-02-19 Tom Tromey <tromey@redhat.com>
3696 * target.h (struct target_ops) <to_can_use_hw_breakpoint>: Add
3698 (target_can_use_hardware_watchpoint): Add argument.
3699 * target.c (debug_to_can_use_hw_breakpoint): Add argument.
3700 (update_current_target): Update.
3701 * spu-linux-nat.c (spu_can_use_hw_breakpoint): Add 'self'
3703 * s390-linux-nat.c (s390_can_use_hw_breakpoint): Add 'self'
3705 * remote.c (remote_check_watch_resources): Add 'self' argument.
3706 * remote-mips.c (mips_can_use_watchpoint): Add 'self' argument.
3707 * remote-m32r-sdi.c (m32r_can_use_hw_watchpoint): Add 'self'
3709 * procfs.c (procfs_can_use_hw_breakpoint): Add 'self' argument.
3710 * ppc-linux-nat.c (ppc_linux_can_use_hw_breakpoint): Add 'self'
3712 * nto-procfs.c (procfs_can_use_hw_breakpoint): Add 'self'
3714 * mips-linux-nat.c (mips_linux_can_use_hw_breakpoint): Add 'self'
3716 * inf-ttrace.c (inf_ttrace_can_use_hw_breakpoint): Add 'self'
3718 * ia64-linux-nat.c (ia64_linux_can_use_hw_breakpoint): Add 'self'
3720 * ia64-hpux-nat.c (ia64_hpux_can_use_hw_breakpoint): Add 'self'
3722 * i386-nat.c (i386_can_use_hw_breakpoint): Add 'self' argument.
3723 * arm-linux-nat.c (arm_linux_can_use_hw_breakpoint): Add 'self'
3725 * aarch64-linux-nat.c (aarch64_linux_can_use_hw_breakpoint): Add
3728 2014-02-19 Tom Tromey <tromey@redhat.com>
3730 * target.h (struct target_ops) <to_post_attach>: Add argument.
3731 (target_post_attach): Add argument.
3732 * target.c (debug_to_post_attach): Add argument.
3733 (update_current_target): Update.
3734 * spu-linux-nat.c (spu_child_post_attach): Add 'self' argument.
3735 * nto-procfs.c (procfs_post_attach): Add 'self' argument.
3736 * linux-nat.c (linux_child_post_attach): Add 'self' argument.
3737 * inf-ptrace.c (inf_ptrace_post_attach): Add 'self' argument.
3738 * inf-child.c (inf_child_post_attach): Add 'self' argument.
3740 2014-02-19 Tom Tromey <tromey@redhat.com>
3742 * windows-nat.c (windows_close): Add 'self' argument.
3743 * tracepoint.c (tfile_close): Add 'self' argument.
3744 * target.h (struct target_ops) <to_close>: Add argument.
3745 * target.c (target_close): Add argument.
3746 (update_current_target): Update.
3747 * remote.c (remote_close): Add 'self' argument.
3748 * remote-sim.c (gdbsim_close): Add 'self' argument.
3749 * remote-mips.c (mips_close): Add 'self' argument.
3750 * remote-m32r-sdi.c (m32r_close): Add 'self' argument.
3751 * record-full.c (record_full_close): Add 'self' argument.
3752 * record-btrace.c (record_btrace_close): Add 'self' argument.
3753 * monitor.h (monitor_close): Add 'self' argument.
3754 * monitor.c (monitor_close): Add 'self' argument.
3755 * mips-linux-nat.c (mips_linux_close): Add 'self' argument.
3756 * linux-nat.c (linux_nat_close): Add argument.
3757 * go32-nat.c (go32_close): Add 'self' argument.
3758 * exec.c (exec_close_1): Add 'self' argument.
3759 * ctf.c (ctf_close): Add 'self' argument.
3760 * corelow.c (core_close): Add 'self' argument.
3761 (core_close_cleanup): Update.
3762 * bsd-uthread.c (bsd_uthread_close): Add 'self' argument.
3763 * bsd-kvm.c (bsd_kvm_close): Add 'self' argument.
3765 2014-02-19 Tom Tromey <tromey@redhat.com>
3767 * remote.c (remote_load): New function.
3768 (init_remote_ops): Use it.
3770 2014-02-19 Tom Tromey <tromey@redhat.com>
3772 * common/linux-btrace.c (linux_supports_btrace): Add "ops"
3774 * common/linux-btrace.h (linux_supports_btrace): Update.
3775 * remote.c (remote_supports_btrace): Add "self" argument.
3776 * target-delegates.c: Rebuild.
3777 * target.c (target_supports_btrace): Remove.
3778 * target.h (struct target_ops) <to_supports_btrace>: Add
3779 target_ops argument.
3780 (target_supports_btrace): New define.
3782 2014-02-19 Tom Tromey <tromey@redhat.com>
3784 * record-full.c (record_full_beneath_to_resume_ops)
3785 (record_full_beneath_to_resume, record_full_beneath_to_wait_ops)
3786 (record_full_beneath_to_wait)
3787 (record_full_beneath_to_store_registers_ops)
3788 (record_full_beneath_to_store_registers)
3789 (record_full_beneath_to_xfer_partial_ops)
3790 (record_full_beneath_to_xfer_partial)
3791 (record_full_beneath_to_insert_breakpoint_ops)
3792 (record_full_beneath_to_insert_breakpoint)
3793 (record_full_beneath_to_remove_breakpoint_ops)
3794 (record_full_beneath_to_remove_breakpoint)
3795 (record_full_beneath_to_stopped_by_watchpoint)
3796 (record_full_beneath_to_stopped_data_address)
3797 (record_full_beneath_to_async, tmp_to_resume_ops, tmp_to_resume)
3798 (tmp_to_wait_ops, tmp_to_wait, tmp_to_store_registers_ops)
3799 (tmp_to_store_registers, tmp_to_xfer_partial_ops)
3800 (tmp_to_xfer_partial, tmp_to_instmp_to_insert_breakpoint_ops)
3801 (tmp_to_insert_breakpoint, tmp_to_remove_breakpoint_ops)
3802 (tmp_to_remove_breakpoint, tmp_to_stopped_by_watchpoint)
3803 (tmp_to_stopped_data_address, tmp_to_async): Remove.
3804 (record_full_open_1, record_full_open): Update. Use RECORD_IS_USED.
3805 (record_full_resume, record_full_wait_1)
3806 (record_full_stopped_by_watchpoint, record_full_stopped_data_address)
3807 (record_full_store_registers, record_full_xfer_partial)
3808 (record_full_insert_breakpoint, record_full_remove_breakpoint)
3809 (record_full_async, record_full_core_xfer_partial): Use target
3811 * target-delegates.c: Rebuild.
3812 * target.c (current_xfer_partial): Remove.
3813 (update_current_target): Do not INHERIT or de_fault
3814 to_insert_breakpoint, to_remove_breakpoint,
3815 to_stopped_data_address, to_stopped_by_watchpoint, to_can_async_p,
3816 to_is_async_p, to_async. Do not set to_xfer_partial field.
3817 (default_xfer_partial): Simplify.
3818 (current_xfer_partial): Remove.
3819 (target_wait, target_resume): Simplify.
3820 (find_default_can_async_p, find_default_is_async_p): Update.
3821 (init_dummy_target): Don't set to_can_async_p, to_is_async_p,
3822 to_xfer_partial, to_stopped_by_watchpoint,
3823 to_stopped_data_address.
3824 (target_store_registers): Simplify.
3825 (forward_target_remove_breakpoint)
3826 (forward_target_insert_breakpoint): Remove.
3827 (target_remove_breakpoint, target_insert_breakpoint)
3828 (debug_to_insert_breakpoint, debug_to_remove_breakpoint): Update.
3829 * target.h (struct target_ops) <to_resume, to_wait,
3830 to_store_registers, to_insert_breakpoint, to_remove_breakpoint,
3831 to_stopped_by_watchpoint, to_stopped_data_address, to_can_async_p,
3832 to_is_async_p, to_async, to_xfer_partial>: Add TARGET_DEFAULT
3834 (forward_target_remove_breakpoint)
3835 (forward_target_insert_breakpoint): Remove.
3836 * record-btrace.c (record_btrace_remove_breakpoint): Delegate
3838 (record_btrace_insert_breakpoint): Delegate directly.
3840 2014-02-19 Tom Tromey <tromey@redhat.com>
3843 * target-delegates.c: New file.
3844 * target.c: Include target-delegates.c.
3845 (init_dummy_target): Call install_dummy_methods.
3846 (complete_target_initialization): Call install_delegators.
3847 * target.h (TARGET_DEFAULT_IGNORE, TARGET_DEFAULT_NORETURN)
3848 (TARGET_DEFAULT_RETURN, TARGET_DEFAULT_FUNC): New defines.
3849 * make-target-delegates: New file.
3851 2014-02-19 Tom Tromey <tromey@redhat.com>
3853 * record.c (find_record_target): Use find_target_at.
3854 * target.c (find_target_at): New function.
3855 * target.h (find_target_at): Declare.
3857 2014-02-19 Tom Tromey <tromey@redhat.com>
3859 * aarch64-linux-nat.c (aarch64_linux_stopped_by_watchpoint):
3861 * arm-linux-nat.c (arm_linux_stopped_by_watchpoint): Add
3863 * i386-nat.c (i386_stopped_by_watchpoint): Add 'ops' argument.
3864 * ia64-linux-nat.c (ia64_linux_stopped_by_watchpoint): Add
3866 * inf-ttrace.c (inf_ttrace_stopped_by_watchpoint): Add 'ops'
3868 * linux-nat.c (save_sigtrap): Update.
3869 (linux_nat_stopped_by_watchpoint, linux_nat_is_async_p)
3870 (linux_nat_can_async_p, linux_nat_async): Add 'ops' argument.
3871 (linux_nat_close): Update.
3872 * mips-linux-nat.c (mips_linux_stopped_by_watchpoint): Add 'ops'
3874 * ppc-linux-nat.c (ppc_linux_stopped_by_watchpoint): Add 'ops'
3876 * procfs.c (procfs_stopped_by_watchpoint): Add 'ops' argument.
3877 * record-full.c (record_full_beneath_to_stopped_by_watchpoint)
3878 (record_full_beneath_to_async, tmp_to_stopped_by_watchpoint)
3879 (tmp_to_async): Add 'ops' argument.
3880 (record_full_stopped_by_watchpoint, record_full_async)
3881 (record_full_can_async_p, record_full_is_async_p): Add 'ops'
3883 * remote-m32r-sdi.c (m32r_insert_breakpoint, m32r_remove_breakpoint)
3884 (m32r_stopped_by_watchpoint): Add 'ops' argument.
3885 * remote-mips.c (mips_stopped_by_watchpoint): Add 'ops' argument.
3886 * remote.c (remote_stopped_by_watchpoint_p, remote_can_async_p)
3887 (remote_is_async_p, remote_async): Add 'ops' argument.
3888 (remote_stopped_data_address): Update.
3889 * s390-nat.c (s390_stopped_by_watchpoint): Add 'ops' argument.
3890 * target.c (update_current_target)
3891 (find_default_can_async_p, find_default_is_async_p): Update.
3892 (init_dummy_target): Update.
3893 (debug_to_stopped_by_watchpoint): Add 'ops' argument.
3894 * target.h (struct target_ops) <to_stopped_by_watchpoint,
3895 to_can_async_p, to_is_async_p, to_async>: Add 'ops' argument.
3896 (target_can_async_p, target_is_async_p, target_async)
3897 (target_stopped_by_watchpoint): Update.
3899 2014-02-19 Yao Qi <yao@codesourcery.com>
3902 * gdbarch.sh: Remove startup_gdbarch.
3903 * gdbarch.c: Regenerated.
3904 * gdbarch.h: Likewise.
3906 2014-02-17 Kevin Buettner <kevinb@redhat.com>
3908 * rl78-tdep.c (rl78_g10_register_name): New function.
3909 (rl78_return_value): Add g10 support.
3910 (rl78_gdbarch_init): Register rl78_g10_register_name for the
3913 2014-02-17 Doug Evans <xdje42@gmail.com>
3915 * Makefile.in (SUBDIR_GUILE_OBS): Resort alphabetically.
3916 (SUBDIR_GUILE_SRCS): Ditto.
3917 (scm-gsmob.o): Ditto.
3919 2014-02-17 Yao Qi <yao@codesourcery.com>
3921 * gnu-nat.c (ILL_RPC): Declare defined function.
3923 2014-02-17 Yao Qi <yao@codesourcery.com>
3925 * gnu-nat.c (gnu_read_inferior): Change 'copy_count' type to
3926 mach_msg_type_number_t.
3927 (gnu_write_inferior): Likewise.
3929 2014-02-17 Yao Qi <yao@codesourcery.com>
3931 * gnu-nat.c (proc_get_exception_port): Use 'lu' insetad of 'd'
3933 (proc_steal_exc_port, make_proc, inf_set_pid): Likewise.
3934 (inf_validate_procs, inf_signal): Likewise.
3935 (S_exception_raise_request): Likewise.
3936 (do_mach_notify_dead_name): Likewise.
3937 (steal_exc_port): Likewise.
3938 (gnu_read_inferior): Change 'copy_count''s type to
3939 mach_msg_type_number_t.
3940 (gnu_write_inferior): Likewise. Use 'lx' instead of 'x' in
3943 2014-02-16 Thomas Schwinge <thomas@codesourcery.com>
3945 * gnu-nat.c (struct inf): Change pending_execs member to a 1-bit
3946 flag. Adjust all users; in particular...
3947 (gnu_wait): ..., don't decrement its value in here...
3948 (gnu_create_inferior): ..., and instead set the flag in here,
3949 around the startup_inferior call, and call that one with
3950 START_INFERIOR_TRAPS_EXPECTED.
3952 * gnu-nat.c (ill_rpc): Remove function; replaced with this...
3953 (ILL_RPC): ... new macro.
3954 (do_mach_notify_no_senders, do_mach_notify_port_deleted)
3955 (do_mach_notify_msg_accepted, do_mach_notify_port_destroyed)
3956 (do_mach_notify_send_once, S_proc_setmsgport_reply)
3957 (S_proc_getmsgport_reply, S_msg_sig_post_reply): Generate stub
3958 functions with ILL_RPC macro.
3959 (S_proc_pid2task_reply, S_proc_task2pid_reply)
3960 (S_proc_task2proc_reply, S_proc_proc2task_reply)
3961 (S_proc_pid2proc_reply, S_proc_getprocinfo_reply)
3962 (S_proc_getprocargs_reply, S_proc_getprocenv_reply)
3963 (S_proc_getloginid_reply, S_proc_getloginpids_reply)
3964 (S_proc_getlogin_reply, S_proc_getsid_reply)
3965 (S_proc_getsessionpgids_reply, S_proc_getsessionpids_reply)
3966 (S_proc_getsidport_reply, S_proc_getpgrp_reply)
3967 (S_proc_getpgrppids_reply, S_proc_get_tty_reply)
3968 (S_proc_getnports_reply, S_proc_is_important_reply)
3969 (S_proc_get_code_reply): New stub functions, generated with
3972 * reply_mig_hack.awk: In phase 5, keep going if we have not yet
3973 collected the type check structures.
3975 * reply_mig_hack.awk: Don't expect to see the auto keyword.
3977 2014-02-14 Doug Evans <dje@google.com>
3979 * target.c (target_write_partial): Fix result type.
3981 2014-02-14 Jose E. Marchesi <jose.marchesi@oracle.com>
3983 * sparc64-linux-nat.c (_initialize_sparc64_linux_nat): Register
3984 the proper offsets to access fpregset_t.
3986 2014-02-13 Sanimir Agovic <sanimir.agovic@intel.com>
3988 * cris-tdep.c (cris_supply_gregset): Remove zerobuf.
3989 (_initialize_cris_tdep): Remove cris_set_cmdlist, cris_show_cmdlist.
3990 * h8300-tdep.c (setmachinelist): Remove global.
3991 * hppa-tdep.c (hppa_sigtramp): Remove global.
3992 * mipsnbsd-tdep.c (sigtramp_retcode_mipsel, sigtramp_retcode_mipseb
3993 RETCODE_NWORDS, RETCODE_SIZE): Wrap code with #if 0.
3994 * ravenscar-thread.c (update_target_observer): Remove global.
3995 * rs6000-tdep.c (rs6000_gdbarch_init): Remove segment_regs.
3997 2014-02-12 Tom Tromey <tromey@redhat.com>
3999 * common/rsp-low.c: Update comments.
4000 * common/rsp-low.h: Update comments.
4002 2014-02-12 Tom Tromey <tromey@redhat.com>
4004 * common/rsp-low.c (convert_ascii_to_int): Remove.
4005 * common/rsp-low.h (convert_ascii_to_int): Don't declare.
4007 2014-02-12 Tom Tromey <tromey@redhat.com>
4009 * common/rsp-low.h (unhexify): Don't declare.
4010 * common/rsp-low.c (unhexify): Remove.
4012 2014-02-12 Tom Tromey <tromey@redhat.com>
4014 * common/rsp-low.h (convert_int_to_ascii): Don't declare.
4015 * common/rsp-low.c (convert_int_to_ascii): Remove.
4017 2014-02-12 Tom Tromey <tromey@redhat.com>
4019 * common/rsp-low.h (hexify): Don't declare.
4020 * common/rsp-low.c (hexify): Remove.
4022 2014-02-12 Tom Tromey <tromey@redhat.com>
4024 * common/rsp-low.c (hexify): Never take strlen of argument.
4026 2014-02-12 Tom Tromey <tromey@redhat.com>
4028 * common/rsp-low.c (bin2hex): Never take strlen of argument.
4029 * remote.c (extended_remote_run, remote_rcmd)
4030 (remote_download_trace_state_variable, remote_save_trace_data)
4031 (remote_set_trace_notes): Update.
4032 * tracepoint.c (encode_source_string, tfile_write_status)
4033 (tfile_write_uploaded_tsv): Update.
4035 2014-02-12 Tom Tromey <tromey@redhat.com>
4037 * tracepoint.c: Include rsp-low.h.
4038 * remote.h (hex2bin, bin2hex, unpack_varlen_hex): Don't declare.
4039 * remote.c: Include rsp-low.h.
4040 (hexchars, ishex, unpack_varlen_hex, pack_nibble, pack_hex_byte)
4041 (fromhex, hex2bin, tohex, bin2hex, remote_escape_output)
4042 (remote_unescape_input): Move to common/rsp-low.c.
4043 * common/rsp-low.h: New file.
4044 * common/rsp-low.c: New file.
4045 * Makefile.in (SFILES): Add common/rsp-low.c.
4046 (HFILES_NO_SRCDIR): Add common/rsp-low.h.
4047 (COMMON_OBS): Add rsp-low.o.
4048 (rsp-low.o): New target.
4050 2014-02-12 Tom Tromey <tromey@redhat.com>
4052 * utils.h: Include print-utils.h.
4053 (host_address_to_string, plongest, pulongest, phex, phex_nz)
4054 (int_string, core_addr_to_string, core_addr_to_string_nz)
4055 (hex_string, hex_string_custom): Don't declare.
4056 * utils.c (NUMCELLS, CELLSIZE, get_cell, decimal2str, pulongest)
4057 (plongest, thirty_two, phex, phex_nz, octal2str, hex_string)
4058 (hex_string_custom, int_string, core_addr_to_string)
4059 (core_addr_to_string_nz, host_address_to_string): Move to
4060 common/print-utils.c.
4061 * common/print-utils.h: New file.
4062 * common/print-utils.c: New file
4063 * Makefile.in (SFILES): Add common/print-utils.c.
4064 (HFILES_NO_SRCDIR): Add common/print-utils.h.
4065 (COMMON_OBS): Add print-utils.o.
4066 (print-utils.o): New target.
4068 2014-02-12 Tom Tromey <tromey@redhat.com>
4070 * nios2-tdep.c (nios2_stub_frame_base_address): Remove.
4072 2014-02-12 Mark Kettenis <kettenis@gnu.org>
4074 * sparc64obsd-tdep.c (sparc64obsd_init_abi): Call obsd_init_abi.
4076 2014-02-12 Mark Kettenis <kettenis@gnu.org>
4078 * inf-ptrace.c (inf_ptrace_xfer_partial): Return TARGET_XFER_EOF
4079 if a PT_IO ptrace request returns sucessfully but indicates that 0
4080 bytes were transferred.
4082 2014-02-12 Pedro Alves <palves@redhat.com>
4083 Kevin Buettner <kevinb@redhat.com>
4085 * gnu-v3-abi.c (build_gdb_vtable_type): Return a type marked with
4086 TYPE_INSTANCE_FLAG_CODE_SPACE.
4088 2014-02-12 Pedro Alves <palves@redhat.com>
4090 * h8300-tdep.c (pseudo_from_raw_register)
4091 (raw_from_pseudo_register): New functions.
4092 (h8300_pseudo_register_read, h8300_pseudo_register_write): Use
4095 2014-02-12 Pedro Alves <palves@redhat.com>
4097 * h8300-tdep.c (h8300_register_sim_regno): New function.
4098 (h8300_gdbarch_init): Install h8300_register_sim_regno as
4099 gdbarch_register_sim_regno hook.
4101 2014-02-12 Sanimir Agovic <sanimir.agovic@intel.com>
4103 * nios2-tdep.c (nios2_stub_frame_base): Remove global.
4105 2014-02-12 Sanimir Agovic <sanimir.agovic@intel.com>
4107 * tic6x-tdep.c (tic6x_gdbarch_init): Call frame_base_set_default.
4109 2014-02-12 Mark Kettenis <kettenis@gnu.org>
4111 * obsd-tdep.h (obsd_init_abi): New prototype.
4112 * obsd-tdep.c: Define enum with OpenBSD signal numbers.
4113 (obsd_gdb_signal_from_target, obsd_gdb_signal_to_target)
4114 (obsd_init_abi): New functions.
4115 * i386obsd-tdep.c: Include "obsd-tdep.h".
4116 (i386obsd_init_abi): Call obsd_init_abi.
4117 * amd64obsd-tdep.c: Include "obsd-tdep.h".
4118 (amd64obsd_init_abi): Call obsd_init_abi.
4119 * configure.tgt (i[34567]86-*-openbsd*, x86_64-*-openbsd*): Add
4120 obsd-tdep.c to gdb_target_obs.
4122 2014-02-11 Jose E. Marchesi <jose.marchesi@oracle.com>
4124 * sparc64-tdep.c (sparc64_store_arguments): Do not align complex
4125 double float arguments to 16-byte in the argument slots.
4127 2014-02-11 Doug Evans <xdje42@gmail.com>
4129 * configure.ac: Don't crash if pkg-config is not found and guile
4130 wasn't explicitly requested. Use AC_MSG_ERROR instead of AC_ERROR
4132 * configure: Regenerate.
4134 2014-02-11 Yao Qi <yao@codesourcery.com>
4136 * aix-thread.c (aix_thread_xfer_partial): Update comments.
4137 * auxv.c (procfs_xfer_auxv, memory_xfer_auxv): Likewise.
4138 * bsd-uthread.c (bsd_uthread_xfer_partial): Likewise.
4139 * gnu-nat.c (gnu_xfer_memory): Likewise.
4140 * inf-ptrace.c (inf_ptrace_xfer_partial): Likewise.
4141 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
4142 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
4143 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise.
4145 2014-02-11 Yao Qi <yao@codesourcery.com>
4147 * target.h (enum target_xfer_error): Rename to ...
4148 (enum target_xfer_status): ... it. New. All users updated.
4149 (enum target_xfer_status) <TARGET_XFER_OK>, <TARGET_XFER_EOF>:
4151 (TARGET_XFER_STATUS_ERROR_P): New macro.
4152 (target_xfer_error_to_string): Remove declaration.
4153 (target_xfer_status_to_string): Declare.
4154 (target_xfer_partial_ftype): Adjust it.
4155 (struct target_ops) <to_xfer_partial>: Return
4156 target_xfer_status. Add argument xfered_len. Update
4158 * target.c (target_xfer_error_to_string): Rename to ...
4159 (target_xfer_status_to_string): ... it. New. All callers
4161 (target_read_live_memory): Likewise. Call target_xfer_partial
4162 instead of target_read.
4163 (memory_xfer_live_readonly_partial): Return
4164 target_xfer_status. Add argument xfered_len.
4165 (raw_memory_xfer_partial): Likewise.
4166 (memory_xfer_partial_1): Likewise.
4167 (memory_xfer_partial): Likewise.
4168 (target_xfer_partial): Likewise. Check *XFERED_LEN is set
4169 properly. Update debug message.
4170 (default_xfer_partial, current_xfer_partial): Likewise.
4171 (target_write_partial): Likewise.
4172 (target_read_partial): Likewise. All callers updated.
4173 (read_whatever_is_readable): Likewise.
4174 (target_write_with_progress): Likewise.
4175 (target_read_alloc_1): Likewise.
4177 * aix-thread.c (aix_thread_xfer_partial): Likewise.
4178 * auxv.c (procfs_xfer_auxv): Likewise.
4179 (ld_so_xfer_auxv, memory_xfer_auxv): Likewise.
4180 * bfd-target.c (target_bfd_xfer_partial): Likewise.
4181 * bsd-kvm.c (bsd_kvm_xfer_partial): Likewise.
4182 * bsd-uthread.c (bsd_uthread_xfer_partia): Likewise.
4183 * corefile.c (read_memory): Adjust.
4184 * corelow.c (core_xfer_partial): Likewise.
4185 * ctf.c (ctf_xfer_partial): Likewise.
4186 * darwin-nat.c (darwin_read_dyld_info): Likewise. All callers
4188 (darwin_xfer_partial): Likewise.
4189 * exec.c (section_table_xfer_memory_partial): Likewise. All
4191 (exec_xfer_partial): Likewise.
4192 * exec.h (section_table_xfer_memory_partial): Update
4194 * gnu-nat.c (gnu_xfer_memory): Likewise. Assert 'res' is not
4196 (gnu_xfer_partial): Likewise.
4197 * ia64-hpux-nat.c (ia64_hpux_xfer_memory_no_bs): Likewise.
4198 (ia64_hpux_xfer_memory, ia64_hpux_xfer_uregs): Likewise.
4199 (ia64_hpux_xfer_solib_got): Likewise.
4200 * inf-ptrace.c (inf_ptrace_xfer_partial): Likewise. Change
4201 type of 'partial_len' to ULONGEST.
4202 * inf-ttrace.c (inf_ttrace_xfer_partial): Likewise.
4203 * linux-nat.c (linux_xfer_siginfo ): Likewise.
4204 (linux_nat_xfer_partial): Likewise.
4205 (linux_proc_xfer_partial, linux_xfer_partial): Likewise.
4206 (linux_proc_xfer_spu, linux_nat_xfer_osdata): Likewise.
4207 * monitor.c (monitor_xfer_memory): Likewise.
4208 (monitor_xfer_partial): Likewise.
4209 * procfs.c (procfs_xfer_partial): Likewise.
4210 * record-btrace.c (record_btrace_xfer_partial): Likewise.
4211 * record-full.c (record_full_xfer_partial): Likewise.
4212 (record_full_core_xfer_partial): Likewise.
4213 * remote-sim.c (gdbsim_xfer_memory): Likewise.
4214 (gdbsim_xfer_partial): Likewise.
4215 * remote.c (remote_write_bytes_aux): Likewise. All callers
4217 (remote_write_bytes, remote_read_bytes): Likewise. All
4219 (remote_flash_erase): Likewise. All callers updated.
4220 (remote_write_qxfer): Likewise. All callers updated.
4221 (remote_read_qxfer): Likewise. All callers updated.
4222 (remote_xfer_partial): Likewise.
4223 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
4224 (rs6000_xfer_shared_libraries): Likewise.
4225 * sol-thread.c (sol_thread_xfer_partial): Likewise.
4226 (sol_thread_xfer_partial): Likewise.
4227 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
4228 (sparc_xfer_partial): Likewise.
4229 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise. All callers
4231 (spu_xfer_partial): Likewise.
4232 * spu-multiarch.c (spu_xfer_partial): Likewise.
4233 * tracepoint.c (tfile_xfer_partial): Likewise.
4234 * windows-nat.c (windows_xfer_memory): Likewise.
4235 (windows_xfer_shared_libraries): Likewise.
4236 (windows_xfer_partial): Likewise.
4237 * valprint.c: Replace 'target_xfer_error' with
4238 'target_xfer_status' in comments.
4240 2014-02-11 Simon Marchi <simon.marchi@ericsson.com> (tiny patch)
4242 Checked in by Joel Brobecker <brobecker@adacore.com>.
4243 * mi/mi-main.c (mi_cmd_data_write_memory_bytes): Fix comment.
4245 2014-02-11 Joel Brobecker <brobecker@adacore.com>
4247 * symfile-debug.c (debug_qf_expand_symtabs_matching): Reformat
4248 function parameters.
4250 2014-02-10 Will Newton <will.newton@linaro.org>
4252 * elfread.c (elf_rel_plt_read): Look for a .got section if
4253 looking up .got.plt fails.
4254 (elf_gnu_ifunc_resolve_by_got): Call gdbarch_addr_bits_remove
4255 on address passed to elf_gnu_ifunc_record_cache.
4256 (elf_gnu_ifunc_resolve_addr): Likewise.
4257 (elf_gnu_ifunc_resolver_return_stop): Likewise.
4259 2014-02-10 Jose E. Marchesi <jose.marchesi@oracle.com>
4261 * sparc-tdep.c (sparc_in_function_epilogue_p): New function.
4262 (X_RETTURN): New macro.
4263 * sparc-tdep.h: sparc_in_function_epilogue_p prototype.
4265 * sparc64-tdep.c (sparc64_init_abi): Hook
4266 sparc_in_function_epilogue_p.
4268 2014-02-10 Gary Benson <gbenson@redhat.com>
4270 * symfile-debug.c (debug_qf_expand_symtabs_matching):
4271 Rename name_matcher to symbol_matcher.
4273 2014-02-10 Gary Benson <gbenson@redhat.com>
4275 * symfile-debug.c (debug_qf_expand_symtabs_matching):
4276 Use expand_symtabs_file_matcher_ftype and
4277 expand_symtabs_symbol_matcher_ftype.
4279 2014-02-10 Joel Brobecker <brobecker@adacore.com>
4281 * ada-lang.c (struct cache_entry, HASH_SIZE): Move definition up.
4282 (struct ada_symbol_cache): New.
4283 (ada_free_symbol_cache): Forward declare.
4284 (struct ada_pspace_data): New.
4285 (ada_pspace_data_handle): New static global.
4286 (get_ada_pspace_data, ada_pspace_data_cleanup)
4287 (ada_init_symbol_cache, ada_free_symbol_cache): New functions.
4288 (cache_space, cache): Delete, now folded inside struct
4290 (ada_get_symbol_cache): New function.
4291 (ada_clear_symbol_cache, find_entry, cache_symbol): Adjust
4293 (_initialize_ada_language): Remove initialization of cache_space.
4294 Move call to observer_attach_inferior_exit up, grouping it
4295 with the other observer registrations inside this function.
4296 Rename command to be more general. Add call to
4297 register_program_space_data_with_cleanup.
4299 2014-02-10 Joel Brobecker <brobecker@adacore.com>
4301 * ada-tasks.c (ada_tasks_new_objfile_observer): Renames
4302 ada_new_objfile_observer.
4303 (ada_tasks_normal_stop_observer): Renames ada_normal_stop_observer.
4304 (_initialize_tasks): Update uses of ada_new_objfile_observer
4305 and ada_tasks_normal_stop_observer.
4307 2014-02-10 Joel Brobecker <brobecker@adacore.com>
4309 * ada-lang.c (ada_evaluate_subexp): Set the type of the value
4310 returned by the 'Length attribute to integer.
4312 2014-02-10 Joel Brobecker <brobecker@adacore.com>
4314 * ada-lang.c (_initialize_ada_language): Initialize
4315 cache_space obstack.
4317 2014-02-10 Joel Brobecker <brobecker@adacore.com>
4319 * ada-lang.c (HASH_SIZE): New macro.
4320 (struct cache_entry): New type.
4321 (cache_space, cache): New static globals.
4322 (ada_clear_symbol_cache, find_entry): New functions.
4323 (lookup_cached_symbol, cache_symbol): Implement.
4324 (ada_new_objfile_observer, ada_free_objfile_observer): New.
4325 (_initialize_ada_language): Attach ada_new_objfile_observer
4326 and ada_free_objfile_observer.
4328 2014-02-10 Joel Brobecker <brobecker@adacore.com>
4330 * ada-lang.c (ada_add_block_symbols, add_defn_to_vec)
4331 (lookup_cached_symbol, ada_add_local_symbols): Add "const" to
4332 struct block * parameter.
4333 (ada_lookup_symbol_list_worker): Constify local variable "block".
4334 Remove cast which is no longer necessary.
4336 2014-02-10 Doug Evans <xdje42@gmail.com>
4338 Add Guile as an extension language.
4339 * NEWS: Mention Guile scripting.
4340 * Makefile.in (SUBDIR_GUILE_OBS): New variable.
4341 (SUBDIR_GUILE_SRCS, SUBDIR_GUILE_DEPS): New variables
4342 (SUBDIR_GUILE_LDFLAGS, SUBDIR_GUILE_CFLAGS): New variables.
4343 (INTERNAL_CPPFLAGS): Add GUILE_CPPFLAGS.
4344 (CLIBS): Add GUILE_LIBS.
4345 (install-guile): New rule.
4346 (guile.o): New rule.
4347 (scm-arch.o, scm-auto-load.o, scm-block.o): New rules.
4348 (scm-breakpoint.o, scm-disasm.o, scm-exception.o): New rules.
4349 (scm-frame.o, scm-iterator.o, scm-lazy-string.o): New rules.
4350 (scm-math.o, scm-objfile.o, scm-ports.o): New rules.
4351 (scm-pretty-print.o, scm-safe-call.o, scm-gsmob.o): New rules.
4352 (scm-string.o, scm-symbol.o, scm-symtab.o): New rules.
4353 (scm-type.o, scm-utils.o, scm-value.o): New rules.
4354 * configure.ac: New option --with-guile.
4355 * configure: Regenerate.
4356 * config.in: Regenerate.
4357 * auto-load.c: Remove #include "python/python.h". Add #include
4358 "gdb/section-scripts.h".
4359 (source_section_scripts): Handle Guile scripts.
4360 (_initialize_auto_load): Add name of Guile objfile script to
4361 scripts-directory help text.
4362 * breakpoint.c (condition_command): Tweak comment to include Scheme.
4363 * breakpoint.h (gdbscm_breakpoint_object): Add forward decl.
4364 (struct breakpoint): New member scm_bp_object.
4365 * defs.h (enum command_control_type): New value guile_control.
4366 * cli/cli-cmds.c: Remove #include "python/python.h". Add #include
4368 (show_user): Update comment.
4369 (_initialize_cli_cmds): Update help text for "show user". Update help
4370 text for max-user-call-depth.
4371 * cli/cli-script.c: Remove #include "python/python.h". Add #include
4373 (multi_line_command_p): Add guile_control.
4374 (print_command_lines): Handle guile_control.
4375 (execute_control_command, recurse_read_control_structure): Ditto.
4376 (process_next_line): Recognize "guile" commands.
4377 * disasm.c (gdb_disassemble_info): Make non-static.
4378 * disasm.h: #include "dis-asm.h".
4379 (struct gdbarch): Add forward decl.
4380 (gdb_disassemble_info): Declare.
4381 * extension.c: #include "guile/guile.h".
4382 (extension_languages): Add guile.
4383 (get_ext_lang_defn): Handle EXT_LANG_GDB.
4384 * extension.h (enum extension_language): New value EXT_LANG_GUILE.
4385 * gdbtypes.c (get_unsigned_type_max): New function.
4386 (get_signed_type_minmax): New function.
4387 * gdbtypes.h (get_unsigned_type_max): Declare.
4388 (get_signed_type_minmax): Declare.
4389 * guile/README: New file.
4390 * guile/guile-internal.h: New file.
4391 * guile/guile.c: New file.
4392 * guile/guile.h: New file.
4393 * guile/scm-arch.c: New file.
4394 * guile/scm-auto-load.c: New file.
4395 * guile/scm-block.c: New file.
4396 * guile/scm-breakpoint.c: New file.
4397 * guile/scm-disasm.c: New file.
4398 * guile/scm-exception.c: New file.
4399 * guile/scm-frame.c: New file.
4400 * guile/scm-gsmob.c: New file.
4401 * guile/scm-iterator.c: New file.
4402 * guile/scm-lazy-string.c: New file.
4403 * guile/scm-math.c: New file.
4404 * guile/scm-objfile.c: New file.
4405 * guile/scm-ports.c: New file.
4406 * guile/scm-pretty-print.c: New file.
4407 * guile/scm-safe-call.c: New file.
4408 * guile/scm-string.c: New file.
4409 * guile/scm-symbol.c: New file.
4410 * guile/scm-symtab.c: New file.
4411 * guile/scm-type.c: New file.
4412 * guile/scm-utils.c: New file.
4413 * guile/scm-value.c: New file.
4414 * guile/lib/gdb.scm: New file.
4415 * guile/lib/gdb/boot.scm: New file.
4416 * guile/lib/gdb/experimental.scm: New file.
4417 * guile/lib/gdb/init.scm: New file.
4418 * guile/lib/gdb/iterator.scm: New file.
4419 * guile/lib/gdb/printing.scm: New file.
4420 * guile/lib/gdb/types.scm: New file.
4421 * data-directory/Makefile.in (GUILE_SRCDIR): New variable.
4422 (VPATH): Add $(GUILE_SRCDIR).
4423 (GUILE_DIR): New variable.
4424 (GUILE_INSTALL_DIR, GUILE_FILES): New variables.
4425 (all): Add stamp-guile dependency.
4426 (stamp-guile): New rule.
4427 (clean-guile, install-guile, uninstall-guile): New rules.
4428 (install-only): Add install-guile dependency.
4429 (uninstall): Add uninstall-guile dependency.
4430 (clean): Add clean-guile dependency.
4432 2014-02-09 Doug Evans <xdje42@gmail.com>
4434 Revert this patch (which I approved, mea culpa).
4436 2014-02-08 Mark Kettenis <kettenis@gnu.org>
4438 * Makefile.in (all-lib): Remove.
4439 ($(LIBGNU) $(GNULIB_H)): Replace with gits of remove all-lib target.
4441 2014-02-09 Jan Kratochvil <jan.kratochvil@redhat.com>
4443 Fix Python stack corruption.
4444 * python/py-linetable.c (ltpy_get_pcs_for_line, ltpy_has_line): Use
4447 2014-02-08 Mark Kettenis <kettenis@gnu.org>
4449 * Makefile.in (all-lib): Remove.
4450 ($(LIBGNU) $(GNULIB_H)): Replace with gits of remove all-lib target.
4452 2014-02-07 Doug Evans <dje@google.com>
4454 * extension-priv.h (extension_language_script_ops): Add comment.
4455 (extension_language_ops): Add comment.
4456 (active_ext_lang_state): Fix typo in comment.
4458 2014-02-07 Pedro Alves <palves@redhat.com>
4460 PR breakpoints/16292
4461 * infrun.c (handle_signal_stop) <signal arrives while stepping
4462 over a breakpoint>: Switch back to the stepping thread.
4464 2014-02-07 Yao Qi <yao@codesourcery.com>
4466 * target.c (target_xfer_partial): Return zero if LEN is zero.
4468 2014-02-07 Yao Qi <yao@codesourcery.com>
4470 * auxv.c (procfs_xfer_auxv): Replace -1 with TARGET_XFER_E_IO.
4471 (ld_so_xfer_auxv): Likewise.
4472 * bfd-target.c (target_bfd_xfer_partial): Likewise.
4473 * bsd-kvm.c (bsd_kvm_xfer_partial): Likewise.
4474 * corelow.c (core_xfer_partial): Likewise.
4475 * ctf.c (ctf_xfer_partial): Likewise.
4476 * darwin-nat.c (darwin_read_dyld_info): Likewise.
4477 (darwin_xfer_partial): Likewise.
4478 * exec.c (exec_xfer_partial): Likewise.
4479 * gnu-nat.c (gnu_xfer_partial): Likewise.
4480 * ia64-hpux-nat.c (ia64_hpux_xfer_uregs): Likewise.
4481 * inf-ptrace.c (inf_ptrace_xfer_partial): Likewise.
4482 * inf-ttrace.c (inf_ttrace_xfer_partial): Likewise.
4483 * linux-nat.c (linux_xfer_siginfo): Likewise.
4484 (linux_proc_xfer_spu): Likewise.
4485 * procfs.c (procfs_xfer_partial): Likewise.
4486 * record-full.c (record_full_xfer_partial): Likewise.
4487 (record_full_core_xfer_partial): Likewise.
4488 * remote-sim.c (gdbsim_xfer_partial): Likewise.
4489 * remote.c (remote_write_qxfer): Likewise.
4490 (remote_write_qxfer, remote_read_qxfer): Likewise.
4491 (remote_xfer_partial): Likewise.
4492 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
4493 (rs6000_xfer_shared_libraries): Likewise.
4494 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
4495 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise.
4496 (spu_xfer_partial): Likewise.
4497 * target.c (memory_xfer_partial_1): Likewise.
4498 * tracepoint.c (tfile_xfer_partial): Likewise.
4499 * windows-nat.c (windows_xfer_shared_libraries): Likewise.
4500 (windows_xfer_partial): Likewise.
4502 2014-02-07 Yao Qi <yao@codesourcery.com>
4504 * gdbarch.sh (core_xfer_shared_libraries): Returns ULONGEST. Add
4506 (core_xfer_shared_libraries_aix): Likewise.
4507 * gdbarch.c, gdbarch.h: Regenerated.
4508 * i386-cygwin-tdep.c (windows_core_xfer_shared_libraries): Return
4509 ULONGEST. Change 'len_avail' type to ULONGEST.
4510 * rs6000-aix-tdep.c (rs6000_aix_ld_info_to_xml): Likewise.
4511 * rs6000-aix-tdep.h (rs6000_aix_ld_info_to_xml): Update
4513 (rs6000_aix_core_xfer_shared_libraries_aix): Return ULONGEST.
4515 2014-02-07 Yao Qi <yao@codesourcery.com>
4517 * corefile.c (memory_error): Get 'exception' from ERR and pass
4518 'exception' to throw_error.
4520 2014-02-06 Doug Evans <xdje42@gmail.com>
4522 * configure.ac (libpython checking): Remove all but python.o from
4523 CONFIG_OBS. Remove all but python.c from CONFIG_SRCS.
4524 * configure: Regenerate.
4526 * Makefile.in (SFILES): Add extension.c.
4527 (HFILES_NO_SRCDIR): Add extension.h, extension-priv.h
4528 (COMMON_OBS): Add extension.o.
4529 * extension.h: New file.
4530 * extension-priv.h: New file.
4531 * extension.c: New file.
4533 * python/python-internal.h: #include "extension.h".
4534 (gdbpy_auto_load_enabled): Declare.
4535 (gdbpy_apply_val_pretty_printer): Declare.
4536 (gdbpy_apply_frame_filter): Declare.
4537 (gdbpy_preserve_values): Declare.
4538 (gdbpy_breakpoint_cond_says_stop): Declare.
4539 (gdbpy_breakpoint_has_cond): Declare.
4540 (void source_python_script_for_objfile): Delete.
4541 * python/python.c: #include "extension-priv.h".
4542 Delete inclusion of "observer.h".
4543 (extension_language_python): Moved here and renamed from
4544 script_language_python in py-auto-load.c.
4545 Redefined to be of type extension_language_defn.
4546 (python_extension_script_ops): New global.
4547 (python_extension_ops): New global.
4548 (struct python_env): New member previous_active.
4549 (restore_python_env): Call restore_active_ext_lang.
4550 (ensure_python_env): Call set_active_ext_lang.
4551 (gdbpy_clear_quit_flag): Renamed from clear_quit_flag, made static.
4553 (gdbpy_set_quit_flag): Renamed from set_quit_flag, made static.
4555 (gdbpy_check_quit_flag): Renamed from check_quit_flag, made static.
4557 (gdbpy_eval_from_control_command): Renamed from
4558 eval_python_from_control_command, made static. New arg extlang.
4559 (gdbpy_source_script) Renamed from source_python_script, made static.
4561 (gdbpy_before_prompt_hook): Renamed from before_prompt_hook. Change
4562 result to int. New arg extlang.
4563 (gdbpy_source_objfile_script): Renamed from
4564 source_python_script_for_objfile, made static. New arg extlang.
4565 (gdbpy_start_type_printers): Renamed from start_type_printers, made
4566 static. New args extlang, extlang_printers. Change result type to
4568 (gdbpy_apply_type_printers): Renamed from apply_type_printers, made
4569 static. New arg extlang. Rename arg printers to extlang_printers
4570 and change type to ext_lang_type_printers *.
4571 (gdbpy_free_type_printers): Renamed from free_type_printers, made
4572 static. Replace argument arg with extlang, extlang_printers.
4573 (!HAVE_PYTHON, eval_python_from_control_command): Delete.
4574 (!HAVE_PYTHON, source_python_script): Delete.
4575 (!HAVE_PYTHON, gdbpy_should_stop): Delete.
4576 (!HAVE_PYTHON, gdbpy_breakpoint_has_py_cond): Delete.
4577 (!HAVE_PYTHON, start_type_printers): Delete.
4578 (!HAVE_PYTHON, apply_type_printers): Delete.
4579 (!HAVE_PYTHON, free_type_printers): Delete.
4580 (_initialize_python): Delete call to observer_attach_before_prompt.
4581 (finalize_python): Set/restore active extension language.
4582 (gdbpy_finish_initialization) Renamed from
4583 finish_python_initialization, made static. New arg extlang.
4584 (gdbpy_initialized): New function.
4585 * python/python.h: #include "extension.h". Delete #include
4586 "value.h", "mi/mi-cmds.h".
4587 (extension_language_python): Declare.
4588 (GDBPY_AUTO_FILE_NAME): Delete.
4589 (enum py_bt_status): Moved to extension.h and renamed to
4591 (enum frame_filter_flags): Moved to extension.h.
4592 (enum py_frame_args): Moved to extension.h and renamed to
4593 ext_lang_frame_args.
4594 (finish_python_initialization): Delete.
4595 (eval_python_from_control_command): Delete.
4596 (source_python_script): Delete.
4597 (apply_val_pretty_printer): Delete.
4598 (apply_frame_filter): Delete.
4599 (preserve_python_values): Delete.
4600 (gdbpy_script_language_defn): Delete.
4601 (gdbpy_should_stop, gdbpy_breakpoint_has_py_cond): Delete.
4602 (start_type_printers, apply_type_printers, free_type_printers): Delete.
4604 * auto-load.c: #include "extension.h".
4605 (GDB_AUTO_FILE_NAME): Delete.
4606 (auto_load_gdb_scripts_enabled): Make public. New arg extlang.
4607 (script_language_gdb): Delete, moved to extension.c and renamed to
4608 extension_language_gdb.
4609 (source_gdb_script_for_objfile): Delete.
4610 (auto_load_pspace_info): New member unsupported_script_warning_printed.
4611 (loaded_script): Change type of language member to
4612 struct extension_language_defn *.
4613 (init_loaded_scripts_info): Initialize
4614 unsupported_script_warning_printed.
4615 (maybe_add_script): Make static. Change type of language arg to
4616 struct extension_language_defn *.
4617 (clear_section_scripts): Reset unsupported_script_warning_printed.
4618 (auto_load_objfile_script_1): Rewrite to use extension language API.
4619 (auto_load_objfile_script): Make public. Remove support-compiled-in
4620 and auto-load-enabled checks, moved to auto_load_scripts_for_objfile.
4621 (source_section_scripts): Rewrite to use extension language API.
4622 (load_auto_scripts_for_objfile): Rewrite to use
4623 auto_load_scripts_for_objfile.
4624 (collect_matching_scripts_data): Change type of language member to
4625 struct extension_language_defn *.
4626 (auto_load_info_scripts): Change type of language arg to
4627 struct extension_language_defn *.
4628 (unsupported_script_warning_print): New function.
4629 (script_not_found_warning_print): Make static.
4630 (_initialize_auto_load): Rewrite construction of scripts-directory
4632 * auto-load.h (struct objfile): Add forward decl.
4633 (struct script_language): Delete.
4634 (struct auto_load_pspace_info): Add forward decl.
4635 (struct extension_language_defn): Add forward decl.
4636 (maybe_add_script): Delete.
4637 (auto_load_objfile_script): Declare.
4638 (script_not_found_warning_print): Delete.
4639 (auto_load_info_scripts): Update prototype.
4640 (auto_load_gdb_scripts_enabled): Declare.
4641 * python/py-auto-load.c (gdbpy_auto_load_enabled): Renamed from
4642 auto_load_python_scripts_enabled and made public.
4643 (script_language_python): Delete, moved to python.c.
4644 (gdbpy_script_language_defn): Delete.
4645 (info_auto_load_python_scripts): Update to use
4646 extension_language_python.
4648 * breakpoint.c (condition_command): Replace call to
4649 gdbpy_breakpoint_has_py_cond with call to get_breakpoint_cond_ext_lang.
4650 (bpstat_check_breakpoint_conditions): Replace call to gdbpy_should_stop
4651 with call to breakpoint_ext_lang_cond_says_stop.
4652 * python/py-breakpoint.c (gdbpy_breakpoint_cond_says_stop): Renamed
4653 from gdbpy_should_stop. Change result type to enum scr_bp_stop.
4654 New arg slang. Return SCR_BP_STOP_UNSET if py_bp_object is NULL.
4655 (gdbpy_breakpoint_has_cond): Renamed from gdbpy_breakpoint_has_py_cond.
4657 (local_setattro): Print name of extension language with existing
4660 * valprint.c (val_print, value_print): Update to call
4661 apply_ext_lang_val_pretty_printer.
4662 * cp-valprint.c (cp_print_value): Update call to
4663 apply_ext_lang_val_pretty_printer.
4664 * python/py-prettyprint.c: Remove #ifdef HAVE_PYTHON.
4665 (gdbpy_apply_val_pretty_printer): Renamed from
4666 apply_val_pretty_printer. New arg extlang.
4667 (!HAVE_PYTHON, apply_val_pretty_printer): Delete.
4669 * cli/cli-cmds.c (source_script_from_stream): Rewrite to use
4670 extension language API.
4671 * cli/cli-script.c (execute_control_command): Update to call
4672 eval_ext_lang_from_control_command.
4674 * mi/mi-cmd-stack.c (mi_cmd_stack_list_frames): Update to use
4675 enum ext_lang_bt_status values. Update call to
4676 apply_ext_lang_frame_filter.
4677 (mi_cmd_stack_list_locals): Ditto.
4678 (mi_cmd_stack_list_args): Ditto.
4679 (mi_cmd_stack_list_variables): Ditto.
4680 * mi/mi-main.c: Delete #include "python/python-internal.h".
4681 Add #include "extension.h".
4682 (mi_cmd_list_features): Replace reference to python internal variable
4683 gdb_python_initialized with call to ext_lang_initialized_p.
4685 * stack.c (backtrace_command_1): Update to use enum ext_lang_bt_status.
4686 Update to use enum ext_lang_frame_args. Update to call
4687 apply_ext_lang_frame_filter.
4688 * python/py-framefilter.c (extract_sym): Update to use enum
4690 (extract_value, py_print_type, py_print_value): Ditto.
4691 (py_print_single_arg, enumerate_args, enumerate_locals): Ditto.
4692 (py_mi_print_variables, py_print_locals, py_print_args): Ditto.
4693 (py_print_frame): Ditto.
4694 (gdbpy_apply_frame_filter): Renamed from apply_frame_filter.
4695 New arg extlang. Update to use enum ext_lang_bt_status.
4697 * top.c (gdb_init): Delete #ifdef HAVE_PYTHON call to
4698 finish_python_initialization. Replace with call to
4699 finish_ext_lang_initialization.
4701 * typeprint.c (do_free_global_table): Update to call
4702 free_ext_lang_type_printers.
4703 (create_global_typedef_table): Update to call
4704 start_ext_lang_type_printers.
4705 (find_global_typedef): Update to call apply_ext_lang_type_printers.
4706 * typeprint.h (struct ext_lang_type_printers): Add forward decl.
4707 (type_print_options): Change type of global_printers from "void *"
4708 to "struct ext_lang_type_printers *".
4710 * value.c (preserve_values): Update to call preserve_ext_lang_values.
4711 * python/py-value.c: Remove #ifdef HAVE_PYTHON.
4712 (gdbpy_preserve_values): Renamed from preserve_python_values.
4714 (!HAVE_PYTHON, preserve_python_values): Delete.
4716 * utils.c (quit_flag): Delete, moved to extension.c.
4717 (clear_quit_flag, set_quit_flag, check_quit_flag): Delete, moved to
4720 * eval.c: Delete #include "python/python.h".
4721 * main.c: Delete #include "python/python.h".
4723 * defs.h: Update comment.
4725 2014-02-06 Joel Brobecker <brobecker@adacore.com>
4729 2014-02-05 Mark Kettenis <kettenis@gnu.org>
4731 * c-exp.y (YYPRINT, c_print_token): Only define if YYBISON is
4734 2014-02-05 Yao Qi <yao@codesourcery.com>
4736 * remote.c (remote_pass_signals): Remove local 'buf' and use
4738 (remote_program_signals): Likewise.
4740 2014-02-05 Yao Qi <yao@codesourcery.com>
4742 * ctf.c: Include "inferior.h" and "gdbthread.h".
4743 (CTF_PID): A new macro.
4744 (ctf_open): Call inferior_appeared and add_thread_silent.
4745 (ctf_close): Call exit_inferior_silent and set inferior_ptid.
4746 (ctf_thread_alive): New function.
4747 (init_ctf_ops): Install ctf_thread_alive to to_thread_alive.
4749 2014-02-05 Yao Qi <yao@codesourcery.com>
4753 2013-05-24 Yao Qi <yao@codesourcery.com>
4755 * tracepoint.c (TFILE_PID): Remove.
4756 (tfile_open): Don't add thread and inferior.
4757 (tfile_close): Don't set 'inferior_ptid'. Don't call
4758 exit_inferior_silent.
4759 (tfile_thread_alive): Remove.
4760 (init_tfile_ops): Don't set field 'to_thread_alive' of
4763 2014-02-04 Christian Eggers <ceggers@gmx.de> (tiny change)
4765 * remote.c (remote_start_remote): Call remote_check_symbols even
4766 if only symbol-file (not file) has been given.
4768 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
4770 * gdbarch.sh (skip_entrypoint): New callback.
4771 * gdbarch.c, gdbarch.h: Regenerate.
4772 * symtab.c (skip_prologue_sal): Call gdbarch_skip_entrypoint.
4773 * infrun.c (fill_in_stop_func): Likewise.
4774 * ppc-linux-tdep.c: Include "elf/ppc64.h".
4775 (ppc_elfv2_elf_make_msymbol_special): New function.
4776 (ppc_elfv2_skip_entrypoint): Likewise.
4777 (ppc_linux_init_abi): Install them for ELFv2.
4779 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
4781 * ppc-sysv-tdep.c (ppc64_aggregate_candidate): New routine.
4782 (ppc64_elfv2_abi_homogeneous_aggregate): Likewise.
4783 (ppc64_sysv_abi_push_param): Handle ELFv2 homogeneous structs.
4784 (ppc64_sysv_abi_return_value): Likewise. Also, handle small
4785 structures returned in GPRs.
4787 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
4789 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_dummy_call): Use correct
4790 offset to the stack parameter list for the ELFv2 ABI.
4792 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
4794 * ppc-linux-tdep.c (ppc_linux_init_abi): Only call
4795 set_gdbarch_convert_from_func_ptr_addr and
4796 set_gdbarch_elf_make_msymbol_special for ELFv1.
4797 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_param): Only handle
4798 function descriptors on ELFv1.
4799 (ppc64_sysv_abi_push_dummy_call): Likewise. On ELFv2,
4800 set up r12 at function entry.
4802 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
4804 * ppc-tdep.h (enum powerpc_elf_abi): New data type.
4805 (struct gdbarch_tdep): New member elf_abi.
4807 * rs6000-tdep.c: Include "elf/ppc64.h".
4808 (rs6000_gdbarch_init): Detect ELF ABI version.
4810 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
4812 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_freg): Use correct order
4813 within a register pair holding a DFP 128-bit value on little-endian.
4814 (ppc64_sysv_abi_return_value_base): Likewise.
4815 * rs6000-tdep.c (dfp_pseudo_register_read): Likewise.
4816 (dfp_pseudo_register_write): Likewise.
4818 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
4820 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_freg): Use correct
4821 offset on little-endian when passing _Decimal32.
4822 (ppc64_sysv_abi_return_value_base): Likewise for return values.
4824 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
4826 * rs6000-tdep.c (efpr_pseudo_register_read): Use correct offset
4827 of the overlapped FP register within the VSX register on little-
4829 (efpr_pseudo_register_write): Likewise.
4831 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
4833 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_val): Use correct
4834 offset on little-endian when passing small structures.
4836 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
4838 * ppc-sysv-tdep.c (get_decimal_float_return_value): Update comment.
4839 (struct ppc64_sysv_argpos): New data structure.
4840 (ppc64_sysv_abi_push_float): Remove.
4841 (ppc64_sysv_abi_push_val): New function.
4842 (ppc64_sysv_abi_push_integer): Likewise.
4843 (ppc64_sysv_abi_push_freg): Likewise.
4844 (ppc64_sysv_abi_push_vreg): Likewise.
4845 (ppc64_sysv_abi_push_param): Likewise.
4846 (ppc64_sysv_abi_push_dummy_call): Refactor to use those new routines.
4847 (ppc64_sysv_abi_return_value_base): New function.
4848 (ppc64_sysv_abi_return_value): Refactor to use it.
4850 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
4852 * NEWS: Document new target powerpc64le-*-linux*.
4854 2014-02-04 Mark Kettenis <kettenis@gnu.org>
4856 * sparc64obsd-tdep.c (sparc64obsd_gregset): New variable.
4857 (sparc64obsd_supply_gregset): Handle registers sets used in ELF
4859 (sparc64obsd_init_abi): Adjust minimum size of the general purpose
4860 register set used in ELF core dumps. Add floating-point register set.
4862 2014-02-03 Kevin Buettner <kevinb@redhat.com>
4864 * mn10300-tdep.c (mn10300_dwarf2_reg_to_regnum): Rewrite
4865 dwarf2_to_gdb[] table using symbolic constants. Adjust
4866 penultimate entry from number representing the PC register
4867 to symbolic constant representing the MDR register. Add
4868 constant for the PC register to the end of the table.
4870 2014-02-03 Mark Kettenis <kettenis@gnu.org>
4872 * bsd-kvm.c: Include <sys/param.h>
4874 2014-02-03 Mark Kettenis <kettenis@gnu.org>
4876 * sparc64nbsd-nat.c (sparc64nbsd_supply_fpregset): Fix prototype.
4878 2014-01-31 Joel Brobecker <brobecker@adacore.com>
4880 * ada-lang.h (clear_ada_sym_cache): Delete.
4882 2014-01-30 Ulrich Weigand <uweigand@de.ibm.com>
4884 * auxv.c (fprint_target_auxv): Handle AT_HWCAP2.
4886 2014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
4888 * sparc64-linux-tdep.c (sparc64_linux_step_trap): Get PC from
4889 the sigreturn register save area only if the syscall is
4892 2014-01-29 Joel Brobecker <brobecker@adacore.com>
4894 * valops.c (value_slice): Minor reformatting.
4896 2014-01-28 Ulrich Weigand <uweigand@de.ibm.com>
4898 * ppc64-tdep.c (ppc64_standard_linkage7): Fix typo.
4900 2014-01-28 Joel Brobecker <brobecker@adacore.com>
4902 * ada-lang.c (maint_set_ada_cmdlist, maint_show_ada_cmdlist):
4904 (maint_set_ada_cmd, maint_show_ada_cmd): New functions.
4905 (ada_ignore_descriptive_types_p): New static global.
4906 (find_parallel_type_by_descriptive_type): Return immediately
4907 if ada_ignore_descriptive_types_p is set.
4908 (_initialize_ada_language): Register new commands "maintenance
4909 set ada", "maintenance show ada", "maintenance set ada
4910 ignore-descriptive-types" and "maintenance show ada
4911 ignore-descriptive-types".
4912 * NEWS: Add entry for new "maint ada set/show
4913 ignore-descriptive-types" commands.
4915 2014-01-27 Markus Metzger <markus.t.metzger@intel.com>
4917 * record-btrace.c (record_btrace_close): Call btrace_teardown
4920 2014-01-27 Joel Brobecker <brobecker@adacore.com>
4922 * ada-lang.c: Remove "#ifdef UI_OUT" condition for including
4925 2014-01-27 Joel Brobecker <brobecker@adacore.com>
4927 * ada-typeprint (type_is_full_subrange_of_target_type):
4929 (print_range): Add parameter bounds_prefered_p. If not set,
4930 try printing range types using the name of their base type.
4931 (print_range_type): Add parameter bounds_prefered_p.
4932 Use it in call to print_range.
4933 (print_array_type, ada_print_type): Update calls to print_range
4934 and print_range_type.
4936 2014-01-27 Joel Brobecker <brobecker@adacore.com>
4938 * ada-typeprint.c (print_array_type, print_choices, print_range)
4939 (print_range_bound, print_dynamic_range_bound, print_range_type):
4942 2014-01-27 Joel Brobecker <brobecker@adacore.com>
4944 * ada-typeprint.c (print_range): Add missing empty line
4945 after local declaration.
4947 2014-01-27 Joel Brobecker <brobecker@adacore.com>
4949 * ada-valprint.c (print_optional_low_bound): Get index_type's
4950 target type for as long as it is a TYPE_CODE_RANGE.
4952 2014-01-27 Joel Brobecker <brobecker@adacore.com>
4954 * procfs.c (procfs_make_note_section): Remove assertion and
4957 2014-01-24 Yao Qi <yao@codesourcery.com>
4959 * remote.c (remote_read_bytes): Change type of len to ULONGEST.
4960 * corelow.c (get_core_siginfo): Likewise.
4962 2014-01-24 Yao Qi <yao@codesourcery.com>
4964 * remote.c (remote_write_bytes_aux): Change type of 'len' to
4965 ULONGEST. Don't check 'len' is negative.
4966 (remote_write_bytes): Change type of 'len' to ULONGEST.
4968 2014-01-23 Tom Tromey <tromey@redhat.com>
4971 * python/lib/gdb/FrameDecorator.py: (FrameVars.fetch_frame_args):
4972 Handle exception from frame.block.
4973 (FrameVars.fetch_frame_locals): Likewise.
4975 2014-01-23 Tom Tromey <tromey@redhat.com>
4978 * python/py-framefilter.c (py_print_frame): Don't call Py_DECREF
4979 on a NULL pointer. Move "goto error" to correct place.
4981 2014-01-23 Tom Tromey <tromey@redhat.com>
4984 * python/py-framefilter.c (apply_frame_filter): Call
4985 ensure_python_env after computing gdbarch.
4987 2014-01-23 Yao Qi <yao@codesourcery.com>
4989 * target.c (raw_memory_xfer_partial): Change argument type
4990 from void * to gdb_byte *.
4991 (memory_xfer_partial_1, memory_xfer_partial): Likewise.
4993 2014-01-22 Doug Evans <dje@google.com>
4995 New gdbserver option --debug-format=timestamp.
4998 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
5000 * syscalls/s390x-linux.xml: New file.
5001 * syscalls/s390-linux.xml: New file.
5002 * s390-linux-tdep.c (XML_SYSCALL_FILENAME_S390): New macro.
5003 (XML_SYSCALL_FILENAME_S390X): Likewise.
5004 (op_svc): New enum value for SVC opcode.
5005 (s390_sigtramp_frame_sniffer): Replace literal by 'op_svc'.
5006 (s390_linux_get_syscall_number): New function.
5007 (s390_gdbarch_init): Register '*get_syscall_number' and the
5008 syscall xml file name.
5009 * data-directory/Makefile.in (SYSCALLS_FILES): Add
5010 "s390-linux.xml" and "s390x-linux.xml".
5011 * NEWS: Announce new feature.
5013 2014-01-22 Baruch Siach <baruch@tkos.co.il>
5015 * xtensa-tdep.h (xtensa_elf_greg_t): Change type to uint32_t.
5017 2014-01-22 Pedro Alves <palves@redhat.com>
5019 * xtensa-config.c: Include defs.h.
5021 2014-01-22 Joel Brobecker <brobecker@adacore.com>
5023 * common/common-utils.h: Add "ARI:" comment beside __func__
5026 2014-01-22 Joel Brobecker <brobecker@adacore.com>
5028 * common/common-utils.h (FUNCTION_NAME): Expand the macro's
5029 documentation a bit.
5031 2014-01-21 Roland McGrath <mcgrathr@google.com>
5033 * configure.ac: Call AM_PROG_INSTALL_STRIP.
5034 * configure: Regenerate.
5035 * aclocal.m4: Regenerate.
5036 * Makefile.in (install_sh, INSTALL_STRIP_PROGRAM, STRIP):
5037 New substituted variables.
5038 (install-strip): New target.
5039 (INSTALL_SCRIPT): New substituted variable.
5040 (FLAGS_TO_PASS): Add it.
5041 (install-only): Use $(INSTALL_SCRIPT) rather than
5042 $(INSTALL_PROGRAM) for gcore.
5044 2014-01-20 Tom Tromey <tromey@redhat.com>
5046 * cli/cli-decode.h (struct cmd_list_element): Move all bitfields
5049 2014-01-20 Tom Tromey <tromey@redhat.com>
5051 * cli/cli-decode.c (add_cmd, deprecate_cmd, add_alias_cmd)
5052 (add_setshow_cmd_full, delete_cmd, lookup_cmd_1)
5053 (deprecated_cmd_warning, complete_on_cmdlist): Update.
5054 * cli/cli-decode.h (CMD_DEPRECATED, DEPRECATED_WARN_USER)
5055 (MALLOCED_REPLACEMENT, DOC_ALLOCATED): Remove.
5056 (struct cmd_list_element) <flags>: Remove.
5057 <cmd_deprecated, deprecated_warn_user, malloced_replacement,
5058 doc_allocated>: New fields.
5059 <hook_in, allow_unknown, abbrev_flag, type, var_type>: Now
5061 * maint.c (maintenance_do_deprecate): Update.
5062 * top.c (execute_command): Update.
5064 2014-01-20 Baruch Siach <baruch@tkos.co.il>
5066 * xtensa-linux-nat.c: Include asm/ptrace.h.
5068 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
5070 * Makefile.in (SFILES): Add d-support.c.
5071 (COMMON_OBS): Add d-support.o.
5072 * d-lang.h (d_parse_symbol): Add comment, now defined in
5074 * d-lang.c (parse_call_convention)
5075 (parse_attributes, parse_function_types)
5076 (parse_function_args, parse_type, parse_identifier)
5077 (call_convention_p, d_parse_symbol): Move functions to ...
5078 * d-support.c: ... New file.
5080 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
5082 * d-lang.h (d_parse_symbol): Add declaration.
5083 * d-lang.c (extract_identifiers)
5084 (extract_type_info): Remove functions.
5085 (parse_call_convention, parse_attributes)
5086 (parse_function_types, parse_function_args)
5087 (parse_type, parse_identifier, call_convention_p)
5088 (d_parse_symbol): New functions.
5089 (d_demangle): Use d_parse_symbol to demangle D symbols.
5091 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
5093 * d-lang.h (struct builtin_d_type): New data type.
5094 (builtin_d_type): Add declaration.
5095 * d-lang.c (d_language_arch_info, build_d_types)
5096 (builtin_d_type): New functions.
5097 (enum d_primitive_types): New data type.
5098 (d_language_defn): Change c_language_arch_info to
5099 d_language_arch_info.
5100 (d_type_data): New static variable.
5101 (_initialize_d_language): Initialize d_type_data.
5103 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
5105 * d-lang.h (d_main_name): Add declaration.
5106 * d-lang.c (d_main_name): New function.
5107 * symtab.c (find_main_name): Add call to d_main_name.
5109 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
5111 * d-lang.c (d_language_defn): Change macro_expansion_c to
5114 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
5116 * MAINTAINERS: Add myself as a write-after-approval maintainer.
5118 2014-01-17 Sergio Durigan Junior <sergiodj@redhat.com>
5120 * breakpoint.c (insert_bp_location): Add "volatile" keyword to "struct
5121 gdb_exception" declaration.
5122 * remote.c (getpkt_or_notif_sane): Likewise.
5124 2014-01-17 Doug Evans <dje@google.com>
5126 * common/gdb_vecs.c (delim_string_to_char_ptr_vec_append): New
5127 function, contents of dirnames_to_char_ptr_vec_append moved here.
5128 (delim_string_to_char_ptr_vec): New function.
5129 (dirnames_to_char_ptr_vec_append): Rewrite.
5130 * common/gdb_vecs.h (delim_string_to_char_ptr_vec): Declare.
5132 2014-01-17 Doug Evans <dje@google.com>
5134 * common/common-utils.h (FUNCTION_NAME): Renamed from ASSERT_FUNCTION,
5136 * common/gdb_assert.h (ASSERT_FUNCTION): ... from here.
5137 #include "common-utils.h".
5138 (gdb_assert, gdb_assert_fail, gdb_assert_not_reached): Update.
5139 * common/vec.h (VEC_ASSERT_PASS): Update.
5140 * darwin-nat.h: Replace #include of gdb_assert.h with common-utils.h.
5141 (MACH_CHECK_ERROR): Update.
5143 2014-01-17 Simon Marchi <simon.marchi@ericsson.com>
5145 * gdbarch.sh (gdbarch_address_class_name_to_type_flags): Add
5147 * gdbarch.h: Regenerate.
5149 2014-01-16 Tom Tromey <tromey@redhat.com>
5151 * value.c (struct value) <regnum>: Move earlier.
5153 2014-01-16 Tom Tromey <tromey@redhat.com>
5155 * remote.c (extended_remote_create_inferior): Rename from
5156 extended_remote_create_inferior_1. Add "ops" argument. Remove
5159 2014-01-16 Pedro Alves <palves@redhat.com>
5161 * s390-linux-tdep.c (s390_frame_unwind_cache): Swallow
5162 NOT_AVAILABLE_ERROR errors while parsing the prologue or reading
5165 2014-01-16 Doug Evans <dje@google.com>
5167 * dwarf2read.c (open_and_init_dwp_file): Fix typo in comment.
5169 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5171 * btrace.h (btrace_thread_flag): New.
5172 (struct btrace_thread_info) <flags>: New.
5173 * record-btrace.c (record_btrace_resume_thread)
5174 (record_btrace_find_thread_to_move, btrace_step_no_history)
5175 (btrace_step_stopped, record_btrace_start_replaying)
5176 (record_btrace_step_thread, record_btrace_decr_pc_after_break)
5177 (record_btrace_find_resume_thread): New.
5178 (record_btrace_resume, record_btrace_wait): Extend.
5179 (record_btrace_can_execute_reverse): New.
5180 (record_btrace_open): Fail in non-stop mode.
5181 (record_btrace_set_replay): Split into this, ...
5182 (record_btrace_stop_replaying): ... this, ...
5183 (record_btrace_clear_histories): ... and this.
5184 (init_record_btrace_ops): Init to_can_execute_reverse.
5185 * NEWS: Announce it.
5187 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5189 * target.h (struct target_ops) <to_decr_pc_after_break>: New.
5190 (forward_target_decr_pc_after_break)
5191 (target_decr_pc_after_break): New.
5192 * target.c (forward_target_decr_pc_after_break)
5193 (target_decr_pc_after_break): New.
5194 * aix-thread.c (aix_thread_wait): Call target_decr_pc_after_break
5195 instead of gdbarch_decr_pc_after_break.
5196 * darwin-nat.c (cancel_breakpoint): Call target_decr_pc_after_break
5197 instead of gdbarch_decr_pc_after_break.
5198 * infrun.c (adjust_pc_after_break): Call target_decr_pc_after_break
5199 instead of gdbarch_decr_pc_after_break.
5200 * linux-nat.c (cancel_breakpoint): Call target_decr_pc_after_break
5201 instead of gdbarch_decr_pc_after_break.
5202 * linux-thread-db.c (check_event): Call target_decr_pc_after_break
5203 instead of gdbarch_decr_pc_after_break.
5204 * record-full.c (record_full_wait_1): Call target_decr_pc_after_break
5205 instead of gdbarch_decr_pc_after_break.
5207 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5209 * btrace.c: Include regcache.h.
5210 (btrace_add_pc): New.
5211 (btrace_enable): Call btrace_add_pc.
5212 (btrace_is_empty): New.
5213 * btrace.h (btrace_is_empty): New.
5214 * record-btrace.c (require_btrace, record_btrace_info): Call
5217 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5219 * common/linux-btrace.c (perf_event_read_bts, linux_read_btrace):
5220 Support delta reads.
5221 (linux_disable_btrace): Change return type.
5222 * common/linux-btrace.h (linux_read_btrace): Change parameters
5223 and return type to allow error reporting. Update users.
5224 (linux_disable_btrace): Change return type. Update users.
5225 * common/btrace-common.h (btrace_read_type) <BTRACE_READ_DELTA>:
5227 (btrace_error): New.
5228 (btrace_block) <begin>: Comment on BEGIN == 0.
5229 * btrace.c (btrace_compute_ftrace): Start from the end of
5231 (btrace_stitch_trace, btrace_clear_history): New.
5232 (btrace_fetch): Read delta trace, return if replaying.
5233 (btrace_clear): Move clear history code to btrace_clear_history.
5234 (parse_xml_btrace): Throw an error if parsing failed.
5235 * target.h (struct target_ops) <to_read_btrace>: Change parameters
5236 and return type to allow error reporting.
5237 (target_read_btrace): Change parameters and return type to allow
5239 * target.c (target_read_btrace): Update.
5240 * remote.c (remote_read_btrace): Support delta reads. Pass
5242 * NEWS: Announce it.
5244 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5246 * record.h (record_btrace_frame_unwind)
5247 (record_btrace_tailcall_frame_unwind): New declarations.
5248 * dwarf2-frame: Include record.h
5249 (dwarf2_frame_cfa): Throw an error for btrace frames.
5250 * record-btrace.c: Include hashtab.h.
5251 (btrace_get_bfun_name): New.
5252 (btrace_call_history): Call btrace_get_bfun_name.
5253 (struct btrace_frame_cache): New.
5255 (bfcache_hash, bfcache_eq, bfcache_new): New.
5256 (btrace_get_frame_function): New.
5257 (record_btrace_frame_unwind_stop_reason): Allow unwinding.
5258 (record_btrace_frame_this_id): Compute own id.
5259 (record_btrace_frame_prev_register): Provide PC, throw_error
5260 for all other registers.
5261 (record_btrace_frame_sniffer): Detect btrace frames.
5262 (record_btrace_tailcall_frame_sniffer): New.
5263 (record_btrace_frame_dealloc_cache): New.
5264 (record_btrace_frame_unwind): Add new functions.
5265 (record_btrace_tailcall_frame_unwind): New.
5266 (_initialize_record_btrace): Allocate cache.
5267 * btrace.c (btrace_clear): Call reinit_frame_cache.
5268 * NEWS: Announce it.
5270 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5272 * record-btrace.c (record_btrace_set_replay)
5273 (record_btrace_goto_begin, record_btrace_goto_end)
5274 (record_btrace_goto): New.
5275 (init_record_btrace_ops): Initialize them.
5276 * NEWS: Announce it.
5278 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5280 * record-btrace.c (record_btrace_find_new_threads)
5281 (record_btrace_thread_alive): New.
5282 (init_record_btrace_ops): Initialize to_find_new_threads and
5285 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5287 * record-btrace.c (record_btrace_resume): New.
5288 (record_btrace_wait): New.
5289 (init_record_btrace_ops): Initialize to_wait and to_resume.
5291 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5293 * record-btrace.c (record_btrace_xfer_partial)
5294 (record_btrace_insert_breakpoint, record_btrace_remove_breakpoint)
5295 (record_btrace_allow_memory_access): New.
5296 (init_record_btrace_ops): Initialize new methods.
5297 * target.c (raw_memory_xfer_partial): Bail out if target reports
5298 that this memory is not available.
5300 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5302 * target.h (target_ops) <to_insert_breakpoint>
5303 <to_remove_breakpoint>: Add target_ops parameter.
5304 (forward_target_insert_breakpoint): New.
5305 (forward_target_remove_breakpoint): New.
5306 (memory_remove_breakpoint, memory_insert_breakpoint):
5307 Add target_ops parameter.
5308 * target.c (target_insert_breakpoint): Split into this and ...
5309 (forward_target_insert_breakpoint): ... this.
5310 (target_remove_breakpoint): Split into this and ...
5311 (forward_target_remove_breakpoint): ... this.
5312 (debug_to_insert_breakpoint): Add target_ops parameter.
5313 Call forward_target_insert_breakpoint.
5314 (debug_to_remove_breakpoint): Add target_ops parameter.
5315 Call forward_target_remove_breakpoint.
5316 (update_current_target): Do not inherit or default to_insert_breakpoint
5317 and to_remove_breakpoint.
5318 * corelow.c (ignore): Add target_ops parameter.
5319 * exec.c (ignore): Add target_ops parameter.
5320 * mem-break.c (memory_insert_breakpoint, memory_remove_breakpoint):
5321 Add target_ops parameter.
5322 * monitor.c (monitor_insert_breakpoint, monitor_remove_breakpoint):
5323 Add target_ops parameter.
5324 * nto-procfs.c (procfs_insert_breakpoint, procfs_remove_breakpoint):
5325 Add target_ops parameter.
5326 * record-full.c (record_full_beneath_to_insert_breakpoint)
5327 (record_full_beneath_to_remove_breakpoint, tmp_to_insert_breakpoint)
5328 (tmp_to_remove_breakpoint, record_full_insert_breakpoint)
5329 (record_full_remove_breakpoint, record_full_core_insert_breakpoint)
5330 (record_full_core_remove_breakpoint): Add target_ops parameter.
5332 (record_full_beneath_to_insert_breakpoint_ops)
5333 (record_full_beneath_to_remove_breakpoint_ops)
5334 (tmp_to_insert_breakpoint_ops, tmp_to_remove_breakpoint_ops): New.
5335 (record_full_open): Initialize tmp_to_insert_breakpoint_ops,
5336 tmp_to_remove_breakpoint_ops,
5337 record_full_beneath_to_insert_breakpoint_ops, and
5338 record_full_beneath_to_remove_breakpoint_ops.
5339 * remote-m32r-sdi.c (m32r_insert_breakpoint)
5340 (m32r_remove_breakpoint): Add target_ops parameter.
5341 * remote-mips.c (mips_insert_breakpoint, mips_remove_breakpoint):
5342 Add target_ops parameter.
5343 * remote.c (remote_insert_breakpoint, remote_remove_breakpoint):
5344 Add target_ops parameter.
5346 2014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
5347 Markus Metzger <markus.t.metzger@intel.com>
5349 * record-btrace.c: Include frame-unwind.h.
5350 (record_btrace_frame_unwind_stop_reason)
5351 (record_btrace_frame_this_id, record_btrace_frame_prev_register)
5352 (record_btrace_frame_sniffer, record_btrace_frame_unwind):
5354 (init_record_btrace_ops): Install it.
5356 2014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
5358 * frame.c (get_frame_unwind_stop_reason): Unconditionally call
5361 2014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
5363 * dwarf2-frame.c (dwarf2_frame_cfa): Move UNWIND_UNAVAILABLE check
5366 2014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
5368 * frame-unwind.c: Include target.h.
5369 (frame_unwind_try_unwinder): New function with code from ...
5370 (frame_unwind_find_by_frame): ... here. New variable
5371 unwinder_from_target, call also target_get_unwinder)
5372 (target_get_tailcall_unwinder, and frame_unwind_try_unwinder for it.
5373 * target.c (target_get_unwinder, target_get_tailcall_unwinder): New.
5374 * target.h (struct target_ops): New fields to_get_unwinder and
5375 to_get_tailcall_unwinder.
5376 (target_get_unwinder, target_get_tailcall_unwinder): New declarations.
5378 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5380 * record-btrace.c (record_btrace_fetch_registers)
5381 (record_btrace_store_registers)
5382 (record_btrace_to_prepare_to_store): New.
5383 (init_record_btrace_ops): Add the above.
5385 2014-01-16 Tom Tromey <tromey@redhat.com>
5387 * windows-nat.c (windows_prepare_to_store): Add 'self' argument.
5388 * target.h (struct target_ops) <to_prepare_to_store>: Add
5390 (target_prepare_to_store): Add argument.
5391 * target.c (debug_to_prepare_to_store): Add argument.
5392 (update_current_target): Update.
5393 * remote.c (remote_prepare_to_store): Add 'self' argument.
5394 * remote-sim.c (gdbsim_prepare_to_store): Add 'self' argument.
5395 * remote-mips.c (mips_prepare_to_store): Add 'self' argument.
5396 * remote-m32r-sdi.c (m32r_prepare_to_store): Add 'self' argument.
5397 * record-full.c (record_full_core_prepare_to_store): Add 'self'
5399 * ravenscar-thread.c (ravenscar_prepare_to_store): Add argument.
5400 * nto-procfs.c (procfs_prepare_to_store): Add 'self' argument.
5401 * monitor.c (monitor_prepare_to_store): Add 'self' argument.
5402 * inf-child.c (inf_child_prepare_to_store): Add 'self' argument.
5403 * go32-nat.c (go32_prepare_to_store): Add 'self' argument.
5405 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5407 * btrace.h (replay) <replay>: New.
5408 (btrace_is_replaying): New.
5409 * btrace.c (btrace_clear): Free replay iterator.
5410 (btrace_is_replaying): New.
5411 * record-btrace.c (record_btrace_is_replaying): New.
5412 (record_btrace_info): Print insn number if replaying.
5413 (record_btrace_insn_history): Start at replay position.
5414 (record_btrace_call_history): Start at replay position.
5415 (init_record_btrace_ops): Init to_record_is_replaying.
5417 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5419 * record-btrace.c (record_btrace_insn_history_range): Include
5421 (record_btrace_insn_history_from): Adjust range.
5422 (record_btrace_call_history_range): Include
5424 (record_btrace_call_history_from): Adjust range.
5425 * NEWS: Announce changes.
5427 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5429 * record.h (enum record_print_flag)
5430 <record_print_indent_calls>: New.
5431 * record.c (get_call_history_modifiers): Recognize /c modifier.
5432 (_initialize_record): Document /c modifier.
5433 * record-btrace.c (btrace_call_history): Add btinfo parameter.
5434 Reorder fields. Optionally indent the function name. Update
5436 * NEWS: Announce changes.
5438 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5440 * common/linux-btrace.c (linux_enable_btrace): Enlarge buffer.
5442 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5444 * btrace.c (ftrace_new_function): Start counting at one.
5445 * record-btrace.c (record_btrace_info): Adjust number of calls
5447 * NEWS: Announce it.
5449 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5451 * record-btrace.c (btrace_call_history_insn_range): Print
5452 insn range as [begin, end].
5454 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5456 * btrace.h (struct btrace_func_link): New.
5457 (enum btrace_function_flag): New.
5458 (struct btrace_inst): Rename to ...
5459 (struct btrace_insn): ...this. Update all users.
5460 (struct btrace_func) <ibegin, iend>: Remove.
5461 (struct btrace_func_link): New.
5462 (struct btrace_func): Rename to ...
5463 (struct btrace_function): ...this. Update all users.
5464 (struct btrace_function) <segment, flow, up, insn, insn_offset)
5465 (number, level, flags>: New.
5466 (struct btrace_insn_iterator): Rename to ...
5467 (struct btrace_insn_history): ...this.
5469 (struct btrace_insn_iterator, btrace_call_iterator): New.
5470 (struct btrace_target_info) <btrace, itrace, ftrace>: Remove.
5471 (struct btrace_target_info) <begin, end, level>
5472 <insn_history, call_history>: New.
5473 (btrace_insn_get, btrace_insn_number, btrace_insn_begin)
5474 (btrace_insn_end, btrace_insn_prev, btrace_insn_next)
5475 (btrace_insn_cmp, btrace_find_insn_by_number, btrace_call_get)
5476 (btrace_call_number, btrace_call_begin, btrace_call_end)
5477 (btrace_call_prev, btrace_call_next, btrace_call_cmp)
5478 (btrace_find_function_by_number, btrace_set_insn_history)
5479 (btrace_set_call_history): New.
5480 * btrace.c (btrace_init_insn_iterator)
5481 (btrace_init_func_iterator, compute_itrace): Remove.
5482 (ftrace_print_function_name, ftrace_print_filename)
5483 (ftrace_skip_file): Change
5485 (ftrace_init_func): Remove.
5486 (ftrace_debug): Use new btrace_function fields.
5487 (ftrace_function_switched): Also consider gaining and
5488 losing symbol information).
5489 (ftrace_print_insn_addr, ftrace_new_call, ftrace_new_return)
5490 (ftrace_new_switch, ftrace_find_caller, ftrace_new_function)
5491 (ftrace_update_caller, ftrace_fixup_caller, ftrace_new_tailcall):
5493 (ftrace_new_function): Move. Remove debug print.
5494 (ftrace_update_lines, ftrace_update_insns): New.
5495 (ftrace_update_function): Check for call, ret, and jump.
5496 (compute_ftrace): Renamed to ...
5497 (btrace_compute_ftrace): ...this. Rewritten to compute call
5499 (btrace_fetch, btrace_clear): Updated.
5500 (btrace_insn_get, btrace_insn_number, btrace_insn_begin)
5501 (btrace_insn_end, btrace_insn_prev, btrace_insn_next)
5502 (btrace_insn_cmp, btrace_find_insn_by_number, btrace_call_get)
5503 (btrace_call_number, btrace_call_begin, btrace_call_end)
5504 (btrace_call_prev, btrace_call_next, btrace_call_cmp)
5505 (btrace_find_function_by_number, btrace_set_insn_history)
5506 (btrace_set_call_history): New.
5507 * record-btrace.c (require_btrace): Use new btrace thread
5509 (record_btrace_info, btrace_insn_history)
5510 (record_btrace_insn_history, record_btrace_insn_history_range):
5511 Use new btrace thread info fields and new iterator.
5512 (btrace_func_history_src_line): Rename to ...
5513 (btrace_call_history_src_line): ...this. Use new btrace
5515 (btrace_func_history): Rename to ...
5516 (btrace_call_history): ...this. Use new btrace thread info
5517 fields and new iterator.
5518 (record_btrace_call_history, record_btrace_call_history_range):
5519 Use new btrace thread info fields and new iterator.
5521 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5523 * frame.h (frame_id_build_unavailable_stack_special): New.
5524 * frame.c (frame_id_build_unavailable_stack_special): New.
5526 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5528 * amd64-tdep.c (amd64_classify_insn_at, amd64_insn_is_call)
5529 (amd64_insn_is_ret, amd64_insn_is_jump, amd64_jmp_p): New.
5530 (amd64_init_abi): Add insn_is_call, insn_is_ret, and insn_is_jump
5532 * i386-tdep.c (i386_insn_is_call, i386_insn_is_ret)
5533 (i386_insn_is_jump, i386_jmp_p): New.
5534 (i386_gdbarch_init): Add insn_is_call, insn_is_ret, and
5535 insn_is_jump to gdbarch.
5536 * gdbarch.sh (insn_is_call, insn_is_ret, insn_is_jump): New.
5537 * gdbarch.h: Regenerated.
5538 * gdbarch.c: Regenerated.
5539 * arch-utils.h (default_insn_is_call, default_insn_is_ret)
5540 (default_insn_is_jump): New.
5541 * arch-utils.c (default_insn_is_call, default_insn_is_ret)
5542 (default_insn_is_jump): New.
5544 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5546 * common/btrace-common.h (btrace_read_type) <btrace_read_all>:
5548 (btrace_read_type) <BTRACE_READ_ALL>: ... this. Update users.
5549 (btrace_read_type) <btrace_read_new>: Change to ...
5550 (btrace_read_type) <BTRACE_READ_NEW>: ... this. Update users.
5552 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5554 * common/linux-btrace.c (linux_read_btrace): Free trace from
5557 2014-01-15 Doug Evans <dje@google.com>
5559 * dwarf2read.c (open_and_init_dwp_file): Use pulongest to print
5562 2014-01-15 Tom Tromey <tromey@redhat.com>
5564 * dbxread.c (process_one_symbol): Use set_objfile_main_name.
5565 * dwarf2read.c (read_partial_die): Use set_objfile_main_name.
5566 * objfiles.c (get_objfile_bfd_data): Initialize language_of_main.
5567 (set_objfile_main_name): New function.
5568 * objfiles.h (struct objfile_per_bfd_storage) <name_of_main,
5569 language_of_main>: New fields.
5570 (set_objfile_main_name): Declare.
5571 * symtab.c (find_main_name): Loop over objfiles to find the main
5573 (set_main_name): Now static.
5574 (get_main_info): Add comment.
5575 * symtab.h (set_main_name): Don't declare.
5577 2014-01-15 Tom Tromey <tromey@redhat.com>
5579 * symtab.c (main_progspace_key): New global.
5580 (struct main_info): New.
5581 (name_of_main, language_of_main): Remove.
5582 (get_main_info, main_info_cleanup): New function.
5583 (set_main_name, main_name, main_language): Use get_main_info.
5584 (_initialize_symtab): Initialize main_progspace_key.
5586 2014-01-15 Tom Tromey <tromey@redhat.com>
5588 * dbxread.c (process_one_symbol): Update.
5589 * dwarf2read.c (read_partial_die): Update.
5590 * symfile.c (set_initial_language): Call main_language.
5591 * symtab.c (language_of_main): Now static.
5592 (set_main_name): Add 'lang' parameter.
5593 (find_main_name): Update.
5594 (main_language): New function.
5595 (symtab_observer_executable_changed): Update.
5596 * symtab.h (set_main_name): Update.
5597 (language_of_main): Remove.
5598 (main_language): Declare.
5600 2014-01-15 Tom Tromey <tromey@redhat.com>
5602 * symfile.c (init_entry_point_info): Use new "initialized" field.
5604 * objfiles.h (struct entry_point) <initialized>: New field.
5605 (struct objfile_per_bfd_storage) <ei>: New field, moved from...
5606 (struct objfile) <ei>: ...here. Remove.
5607 * objfiles.c (entry_point_address_query): Update.
5609 2014-01-15 Tom Tromey <tromey@redhat.com>
5611 * objfiles.c (entry_point_address_query): Relocate entry point
5613 (objfile_relocate1): Do not relocate entry point address.
5614 * objfiles.h (struct entry_info) <entry_point>: Update comment.
5615 <the_bfd_section_index>: New field.
5616 * symfile.c (init_entry_point_info): Find the entry point's
5619 2014-01-15 Tom Tromey <tromey@redhat.com>
5621 * solib-frv.c (enable_break): Use entry_point_address_query.
5623 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
5625 * NEWS: Add note on improved process record-replay on
5626 arm*-linux* targets.
5628 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
5630 * arm-tdep.c (enum arm_record_result): New enum.
5631 (arm_record_unsupported_insn): New function.
5632 (arm_record_coproc_data_proc): Removed.
5633 (thumb2_record_ld_st_multiple): New function.
5634 (thumb2_record_ld_st_dual_ex_tbb): New function.
5635 (thumb2_record_data_proc_sreg_mimm): New function.
5636 (thumb2_record_ps_dest_generic): New function.
5637 (thumb2_record_branch_misc_cntrl): New function.
5638 (thumb2_record_str_single_data): New function.
5639 (thumb2_record_ld_mem_hints): New function.
5640 (thumb2_record_ld_word): New function.
5641 (thumb2_record_lmul_lmla_div): New function.
5642 (thumb2_record_decode_insn_handler): New function.
5643 (decode_insn): Add thumb32 instruction handlers.
5645 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
5647 * arm-linux-tdep.c: Include "record-full.h" and "linux-record.h".
5648 (struct arm_linux_record_tdep): Declare.
5649 (arm_canonicalize_syscall): New function.
5650 (arm_all_but_pc_registers_record): New function.
5651 (arm_linux_syscall_record): New function.
5652 (arm_linux_init_abi): Add syscall recording constructs.
5653 * arm-tdep.c (thumb_record_ldm_stm_swi): Update thumb syscall
5654 decoding. (arm_record_coproc_data_proc): Update arm syscall
5656 * arm-tdep.h (struct gdbarch_tdep) <arm_swi_record>: Remove.
5657 <arm_syscall_record>: New field.
5658 * configure.tgt (arm*-*-linux*): Add linux-record.o to
5661 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
5663 * arm-tdep.c (thumb_record_misc): Update to use sp as base
5664 register for push instruction recording.
5666 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
5668 * arm-tdep.c (thumb_record_misc): Update to correct logical
5669 error while recording ldm, ldmia and pop instructions.
5671 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
5673 * arm-tdep.c (struct arm_mem_r) <addr>: Change type to uint32_t.
5675 2014-01-15 Pedro Alves <palves@redhat.com>
5677 * go32-nat.c (go32_open, go32_close, go32_attach, go32_detach)
5678 (go32_resume, go32_fetch_registers, store_register)
5679 (go32_store_registers, go32_prepare_to_store)
5680 (go32_xfer_memory, go32_files_info, go32_kill_inferior)
5681 (go32_create_inferior, go32_can_run, go32_terminal_init)
5682 (go32_terminal_inferior, go32_terminal_ours): Delete forward
5685 2014-01-15 Tom Tromey <tromey@redhat.com>
5687 * target.h (async_callback_ftype): New typedef.
5688 (struct target_ops) <to_async>: Use it.
5690 2014-01-15 Joel Brobecker <brobecker@adacore.com>
5692 * python/py-value.c (get_field_type): Remove unnecessary curly
5693 braces for single-statement if block.
5695 2014-01-15 Joel Brobecker <brobecker@adacore.com>
5697 * python/py-type.c (convert_field): Add missing empty line
5700 2014-01-14 Doug Evans <dje@google.com>
5702 * symfile.h (expand_symtabs_matching): Renamed from
5703 expand_partial_symbol_names. Update prototype.
5704 (map_symbol_filenames): Renamed from map_partial_symbol_filenames.
5705 * symfile.c (expand_symtabs_matching): Renamed from
5706 expand_partial_symbol_names. New args file_matcher, kind.
5707 Rename arg fun to symbol_matcher.
5708 (map_symbol_filenames): Renamed from map_partial_symbol_filenames.
5709 * ada-lang.c (ada_complete_symbol_matcher): Renamed from
5710 ada_expand_partial_symbol_name.
5711 (ada_make_symbol_completion_list): Update to call
5712 expand_symtabs_matching.
5713 (ada_add_global_exceptions): Call expand_symtabs_matching.
5714 * mi/mi-cmd-file.c (mi_cmd_file_list_exec_source_files): Update to
5715 call map_symbol_filenames.
5716 * symtab.c (sources_info): Update to call map_symbol_filenames.
5717 (search_symbols): Call expand_symtabs_matching.
5718 (symbol_completion_matcher): Renamed from expand_partial_symbol_name.
5719 (default_make_symbol_completion_list_break_on): Update to call
5720 expand_symtabs_matching.
5721 (make_source_files_completion_list): Update to call
5722 map_symbol_filenames.
5724 2014-01-14 Doug Evans <dje@google.com>
5726 * symfile.h (expand_symtabs_file_matcher_ftype): New typedef.
5727 (expand_symtabs_symbol_matcher_ftype): New typedef.
5728 (quick_symbol_functions.expand_symtabs_matching): Update to use.
5729 expand_symtabs_file_matcher_ftype, expand_symtabs_symbol_matcher_ftype.
5730 * symfile.c (expand_partial_symbol_names): Update to use
5731 expand_symtabs_symbol_matcher_ftype.
5732 * dwarf2read.c (dw2_expand_symtabs_matching): Update to use
5733 expand_symtabs_file_matcher_ftype, expand_symtabs_symbol_matcher_ftype.
5734 Arg name_matcher renamed to symbol_matcher.
5735 * psymtab.c (recursively_search_psymtabs): Update to use
5736 expand_symtabs_symbol_matcher_ftype. Arg name_matcher renamed to
5738 (expand_symtabs_matching_via_partial): Update to use
5739 expand_symtabs_file_matcher_ftype, expand_symtabs_symbol_matcher_ftype.
5740 Arg name_matcher renamed to symbol_matcher.
5742 2014-01-14 Doug Evans <dje@google.com>
5744 * psymtab.c (expand_partial_symbol_names): Delete, moved to symfile.c.
5745 (map_partial_symbol_filenames): Ditto.
5746 * psymtab.h (expand_partial_symbol_names): Delete, moved to symfile.h.
5747 (map_partial_symbol_filenames): Ditto.
5748 * symfile.c (expand_partial_symbol_names): Moved here from psymtab.c.
5749 (map_partial_symbol_filenames): Ditto.
5750 * symfile.h (expand_partial_symbol_names): Moved here from psymtab.h.
5751 (map_partial_symbol_filenames): Ditto.
5752 * symtab.c: Delete #include "psymtab.h".
5754 2014-01-14 Pedro Alves <palves@redhat.com>
5755 Tom Tromey <tromey@redhat.com>
5757 * infrun.c (use_displaced_stepping): Use find_record_target
5758 instead of RECORD_IS_USED.
5759 (adjust_pc_after_break): Use record_full_is_used instead of
5761 * record-btrace.c (record_btrace_open): Call record_preopen
5762 instead of checking RECORD_IS_USED.
5763 * record-full.c (record_full_shortname)
5764 (record_full_core_shortname): New globals.
5765 (record_full_is_used): New function.
5766 (find_full_open): Call record_preopen instead of checking
5768 (init_record_full_ops): Set the target's shortname to
5769 record_full_shortname.
5770 (init_record_full_core_ops): Set the target's shortname to
5771 record_full_core_shortname.
5772 * record-full.h (record_full_is_used): Declare.
5773 * record.c (find_record_target): Make extern.
5774 (record_preopen): New function.
5775 * record.h (RECORD_IS_USED): Delete macro.
5776 (find_record_target, record_preopen): Declare functions.
5778 2014-01-14 Yao Qi <yao@codesourcery.com>
5780 * gdbarch.sh (core_xfer_shared_libraries): Change its argument
5781 'len''s type to ULONGEST.
5782 (core_xfer_shared_libraries_aix): Likewise.
5783 * gdbarch.c, gdbarch.h: Regenerated.
5784 * i386-cygwin-tdep.c (windows_core_xfer_shared_libraries):
5785 Change type of 'len' to ULONGEST.
5786 * rs6000-aix-tdep.c (rs6000_aix_ld_info_to_xml): Likewise.
5787 (rs6000_aix_core_xfer_shared_libraries_aix): Likewise.
5789 2014-01-14 Yao Qi <yao@codesourcery.com>
5791 * common/linux-osdata.c (linux_xfer_osdata_processes): Change
5792 type of 'len' to ULONGEST.
5793 (linux_xfer_osdata_processgroups): Likewise.
5794 (linux_xfer_osdata_threads): Likewise.
5795 (linux_xfer_osdata_fds): Likewise.
5796 (linux_xfer_osdata_isockets): Likewise.
5797 (linux_xfer_osdata_shm): Likewise.
5798 (linux_xfer_osdata_sem): Likewise.
5799 (linux_xfer_osdata_msg): Likewise.
5800 (linux_common_xfer_osdata): Likewise.
5801 (struct osdata_type) <getter>: Likewise.
5802 * common/linux-osdata.h (linux_common_xfer_osdata): Update
5805 2014-01-14 Yao Qi <yao@codesourcery.com>
5807 * target.h (target_xfer_partial_ftype): Update.
5808 (struct target_ops) <to_xfer_partial>: Change 'len' type to
5810 * aix-thread.c (aix_thread_xfer_partial): Change type of
5811 argument 'len' to ULONGEST.
5812 * auxv.c (procfs_xfer_auxv): Likewise.
5813 (ld_so_xfer_auxv): Likewise.
5814 (memory_xfer_auxv): Likewise.
5815 * bfd-target.c (target_bfd_xfer_partial): Likewise.
5816 * bsd-kvm.c (bsd_kvm_xfer_partial): Likewise.
5817 * bsd-uthread.c (bsd_uthread_xfer_partial): Likewise.
5818 * corelow.c (core_xfer_partial): Likewise.
5819 * ctf.c (ctf_xfer_partial): Likewise.
5820 * darwin-nat.c (darwin_read_write_inferior): Likewise. Use
5822 (darwin_read_dyld_info): Likewise.
5823 (darwin_xfer_partial): Likewise.
5824 * exec.c (section_table_xfer_memory_partial): Likewise.
5825 (exec_xfer_partial): Likewise.
5826 * exec.h (section_table_xfer_memory_partial): Update
5828 * gnu-nat.c (gnu_xfer_memory): Likewise. Call pulongest
5829 instead of plongest.
5830 (gnu_xfer_partial): Likewise.
5831 * ia64-hpux-nat.c (ia64_hpux_xfer_memory): Likewise.
5832 (ia64_hpux_xfer_solib_got): Likewise.
5833 (ia64_hpux_xfer_partial): Likewise.
5834 * ia64-linux-nat.c (ia64_linux_xfer_partial):
5835 * inf-ptrace.c (inf_ptrace_xfer_partial):
5836 * inf-ttrace.c (inf_ttrace_xfer_partial):
5837 * linux-nat.c (linux_xfer_siginfo): Likewise.
5838 (linux_nat_xfer_partial): Likewise.
5839 (spu_enumerate_spu_ids, linux_proc_xfer_spu): Likewise.
5840 (linux_nat_xfer_osdata, linux_xfer_partial): Likewise.
5841 * monitor.c (monitor_xfer_memory): Likewise.
5842 (monitor_xfer_partial): Likewise.
5843 * procfs.c (procfs_xfer_partial): Likewise.
5844 * record-full.c (record_full_xfer_partial): Likewise.
5845 (record_full_core_xfer_partial): Likewise.
5846 * remote-sim.c (gdbsim_xfer_memory): Likewise. Call pulongest
5847 instead of plongest.
5848 (gdbsim_xfer_partial): Likewise.
5849 * remote.c (remote_xfer_partial): Likewise.
5850 * rs6000-aix-tdep.c (rs6000_aix_ld_info_to_xml): Likewise.
5851 * rs6000-aix-tdep.h (rs6000_aix_ld_info_to_xml): Update
5853 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
5854 (rs6000_xfer_shared_libraries): Likewise.
5855 * sol-thread.c (sol_thread_xfer_partial): Likewise.
5856 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
5857 (sparc_xfer_partial): Likewise.
5858 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise.
5859 (spu_xfer_partial): Likewise.
5860 * spu-multiarch.c (spu_xfer_partial): Likewise.
5861 * target.c (target_read_live_memory): Likewise.
5862 (memory_xfer_live_readonly_partial): Likewise.
5863 (memory_xfer_partial, memory_xfer_partial_1): Likewise.
5864 (target_xfer_partial, default_xfer_partial): Likewise.
5865 (current_xfer_partial): Likewise.
5866 * tracepoint.c (tfile_xfer_partial): Likewise.
5867 * windows-nat.c (windows_xfer_memory): Likewise. Call
5868 pulongest instead of plongest.
5869 (windows_xfer_partial): Likewise.
5870 (windows_xfer_shared_libraries): Likewise.
5872 2014-01-14 Yao Qi <yao@codesourcery.com>
5874 * rs6000-nat.c (rs6000_xfer_shared_libraries): Use
5875 target_xfer_partial_ftype.
5877 2014-01-13 Siva Chandra Reddy <sivachandra@google.com>
5881 * valops.c (value_struct_elt_bitpos): New function
5882 * py-type.c (convert_field): Set 'name' attribute of a gdb.Field
5883 object to 'None' if the field name is an empty string ("").
5884 * python/py-value.c (valpy_getitem): Use 'bitpos' and 'type'
5885 attribute to look for a field when 'name' is 'None'.
5886 (get_field_type): New function
5888 2014-01-13 Doug Evans <dje@google.com>
5891 * dwarf2read.c (dwarf2_get_dwz_file): Call gdb_bfd_record_inclusion.
5892 (try_open_dwop_file): Ditto.
5893 * gdb_bfd.c: #include "vec.h".
5894 (bfdp): New typedef.
5895 (struct gdb_bfd_data): New member included_bfds.
5896 (gdb_bfd_unref): Unref all included bfds.
5897 (gdb_bfd_record_inclusion): New function.
5898 * gdb_bfd.h (gdb_bfd_record_inclusion): Declare.
5900 2014-01-13 Tom Tromey <tromey@redhat.com>
5902 * gdbcore.h (deprecated_core_resize_section_table): Remove.
5904 2014-01-13 Tom Tromey <tromey@redhat.com>
5906 * defs.h (use_windows): Remove.
5907 * gdb.c (main): Update.
5908 * main.c (captured_main, gdb_main): Update.
5909 * main.h (struct captured_main_args) <use_windows>: Remove.
5910 * top.c (use_windows): Remove.
5912 2014-01-13 Tom Tromey <tromey@redhat.com>
5914 * defs.h (deprecated_flush_hook): Remove.
5916 2014-01-13 Jan Kratochvil <jan.kratochvil@redhat.com>
5919 * linux-thread-db.c (try_thread_db_load): Add parameter
5920 check_auto_load_safe. Move here the file_is_auto_load_safe call.
5921 (try_thread_db_load_from_pdir_1): Move it there from here.
5922 (try_thread_db_load_from_sdir): Update caller.
5923 (try_thread_db_load_from_dir): Move it there from here.
5925 2014-01-13 Patrick Palka <patrick@parcs.ath.cx>
5927 * regformats/regdat.sh: Always rewrite the register file.
5929 2014-01-13 Pedro Alves <palves@redhat.com>
5931 * Makefile.in (CHECK_HEADERS): New variable.
5932 (check-headers:): New rule.
5934 2014-01-13 Tom Tromey <tromey@redhat.com>
5936 * cli/cli-setshow.c (do_set_command): Update.
5937 * defs.h (deprecated_set_hook): Remove.
5938 * top.c (deprecated_set_hook): Remove.
5940 2014-01-13 Pedro Alves <palves@redhat.com>
5942 * tracepoint.c (tfile_fetch_registers): Don't infer the PC from
5943 the tracepoint if the PC is a pseudo-register.
5945 2014-01-13 Tom Tromey <tromey@redhat.com>
5947 * defs.h (XCALLOC): Remove.
5948 * bcache.c (bcache_xmalloc): Use XCNEW, not XCALLOC.
5949 (print_bcache_statistics): Use XCNEWVEC, not XCALLOC.
5950 * dwarf2loc.c (allocate_piece_closure): Likewise.
5951 * elfread.c (elf_symfile_segments): Likewise.
5952 (elf_symfile_segments): Likewise.
5953 * gdbtypes.c (copy_type_recursive): Likewise.
5954 * i386-tdep.c (i386_gdbarch_init): Use XCNEW, not XCALLOC.
5955 * jit.c (jit_frame_sniffer): Use XCNEWVEC, not XCALLOC.
5956 * minsyms.c (prim_record_minimal_symbol_full): Use XCNEW, not
5958 * mt-tdep.c (mt_gdbarch_init): Likewise.
5959 * opencl-lang.c (allocate_lval_closure): Use XCNEWVEC, not
5961 * psymtab.c (psymbol_compare): Use XCNEW, not XCALLOC.
5962 * regcache.c (regcache_xmalloc_1): Use XCNEWVEC, not XCALLOC.
5963 * registry.c (registry_alloc_data): Likewise.
5964 * rs6000-tdep.c (rs6000_gdbarch_init): Use XCNEW, not XCALLOC.
5965 * s390-linux-tdep.c (s390_gdbarch_init): Likewise.
5966 * serial.c (serial_fdopen_ops): Likewise.
5967 * solib-aix.c (solib_aix_get_section_offsets): Use XCNEWVEC, not
5969 * spu-tdep.c (spu_gdbarch_init): Use XCNEW, not XCALLOC.
5970 * symfile.c (default_symfile_segments): Use XCNEW and XCNEWVEC,
5973 2014-01-13 Tom Tromey <tromey@redhat.com>
5975 * defs.h (XMALLOC): Remove.
5976 * avr-tdep.c (avr_gdbarch_init): Use XNEW, not XMALLOC.
5977 * bfin-tdep.c (bfin_gdbarch_init): Likewise.
5978 * cli-out.c (struct ui_out *): Likewise.
5979 * cli/cli-dump.c (add_dump_command): Likewise.
5980 (add_dump_command): Likewise.
5981 * complaints.c (get_complaints): Likewise.
5982 (find_complaint): Likewise.
5983 * dwarf2-frame.c (execute_cfa_program): Likewise.
5984 * dwarf2read.c (abbrev_table_read_table): Likewise.
5985 * gdbarch.sh: Likewise.
5986 * gdbarch.c: Rebuild.
5987 * inf-ttrace.c (inf_ttrace_add_page): Likewise.
5988 * interps.c (interp_new): Likewise.
5989 * lm32-tdep.c (lm32_gdbarch_init): Likewise.
5990 * m32r-tdep.c (m32r_gdbarch_init): Likewise.
5991 * mi/mi-console.c (mi_console_file_new): Likewise.
5992 * mi/mi-interp.c (mi_interpreter_init): Likewise.
5993 * mi/mi-out.c (mi_out_new): Likewise.
5994 * mi/mi-parse.c (mi_parse): Likewise.
5995 * microblaze-tdep.c (microblaze_gdbarch_init): Likewise.
5996 * moxie-tdep.c (moxie_gdbarch_init): Likewise.
5997 * observer.c (xalloc_observer_list_node): Likewise.
5998 * regcache.c (regcache_xmalloc_1): Likewise.
5999 * reggroups.c (reggroup_new): Likewise.
6000 (_initialize_reggroup): Likewise.
6001 * registry.c (register_data_with_cleanup): Likewise.
6002 * remote.c (remote_notif_stop_alloc_reply): Likewise.
6003 * ser-base.c (serial_ttystate): Likewise.
6004 * ser-mingw.c (make_pipe_state): Likewise.
6005 * ser-pipe.c (pipe_open): Likewise.
6006 * serial.c (serial_open): Likewise.
6007 * sh64-tdep.c (sh64_gdbarch_init): Likewise.
6008 * tui/tui-data.c (tui_alloc_generic_win_info): Likewise.
6009 (tui_alloc_win_info): Likewise.
6010 (tui_add_content_elements): Likewise.
6011 * tui/tui-file.c (tui_file_new): Likewise.
6012 * tui/tui-out.c (tui_out_new): Likewise.
6013 * ui-file.c (mem_file_new): Likewise.
6014 * ui-out.c (push_level): Likewise.
6015 (make_cleanup_ui_out_end): Likewise.
6016 (append_header_to_list): Likewise.
6017 (ui_out_new): Likewise.
6018 * user-regs.c (user_reg_add_builtin): Likewise.
6020 2014-01-13 Tom Tromey <tromey@redhat.com>
6022 * defs.h (XZALLOC): Remove.
6023 * ada-lang.c (get_ada_inferior_data): Use XCNEW, not XZALLOC.
6024 * ada-tasks.c (get_ada_tasks_pspace_data): Likewise.
6025 (get_ada_tasks_inferior_data): Likewise.
6026 * auto-load.c (get_auto_load_pspace_data): Likewise.
6027 * auxv.c (get_auxv_inferior_data): Likewise.
6028 * bfd-target.c (target_bfd_reopen): Likewise.
6029 * breakpoint.c (get_catch_syscall_inferior_data): Likewise.
6030 (deprecated_insert_raw_breakpoint): Likewise.
6031 * bsd-uthread.c (bsd_uthread_pid_to_str): Likewise.
6032 * corelow.c (core_open): Likewise.
6033 * darwin-nat.c (darwin_check_new_threads): Likewise.
6034 (darwin_attach_pid): Likewise.
6035 * dummy-frame.c (dummy_frame_push): Likewise.
6036 * dwarf2-frame.c (dwarf2_frame_cache): Likewise.
6037 * dwarf2loc.c (allocate_piece_closure): Likewise.
6038 * elfread.c (elf_symfile_segments): Likewise.
6039 * eval.c (ptrmath_type_p): Likewise.
6040 * exceptions.c (EXCEPTIONS_SIGJMP_BUF): Likewise.
6041 * gdbtypes.c (alloc_type_arch): Likewise.
6042 (alloc_type_instance): Likewise.
6043 * hppa-tdep.c (hppa_gdbarch_init): Likewise.
6044 * inf-child.c (inf_child_can_use_agent): Likewise.
6045 * inflow.c (get_inflow_inferior_data): Likewise.
6046 * infrun.c (save_infcall_suspend_state): Likewise.
6047 * jit.c (jit_reader_load): Likewise.
6048 (get_jit_objfile_data): Likewise.
6049 (get_jit_program_space_data): Likewise.
6050 (jit_object_open_impl): Likewise.
6051 (jit_symtab_open_impl): Likewise.
6052 (jit_block_open_impl): Likewise.
6053 (jit_frame_sniffer): Likewise.
6054 * linux-fork.c (add_fork): Likewise.
6055 * maint.c (make_command_stats_cleanup): Likewise.
6056 * objfiles.c (get_objfile_pspace_data): Likewise.
6057 * opencl-lang.c (struct lval_closure): Likewise.
6058 * osdata.c (osdata_start_osdata): Likewise.
6059 * progspace.c (new_address_space): Likewise.
6060 (add_program_space): Likewise.
6061 * remote-sim.c (get_sim_inferior_data): Likewise.
6062 * sh-tdep.c (sh_gdbarch_init): Likewise.
6063 * skip.c (Ignore): Likewise.
6064 (skip_delete_command): Likewise.
6065 * solib-aix.c (get_solib_aix_inferior_data): Likewise.
6066 (library_list_start_library): Likewise.
6067 (solib_aix_current_sos): Likewise.
6068 * solib-darwin.c (get_darwin_info): Likewise.
6069 (darwin_current_sos): Likewise.
6070 * solib-dsbt.c (get_dsbt_info): Likewise.
6071 * solib-ia64-hpux.c (new_so_list): Likewise.
6072 (ia64_hpux_get_solib_linkage_addr): Likewise.
6073 * solib-spu.c (append_ocl_sos): Likewise.
6074 (spu_current_sos): Likewise.
6075 * solib-svr4.c (get_svr4_info): Likewise.
6076 (svr4_keep_data_in_core): Likewise.
6077 (library_list_start_library): Likewise.
6078 (svr4_default_sos): Likewise.
6079 (svr4_read_so_list): Likewise.
6080 * solib-target.c (library_list_start_library): Likewise.
6081 (solib_target_current_sos): Likewise.
6082 * sparc-tdep.c (sparc32_gdbarch_init): Likewise.
6083 * symfile-debug.c (install_symfile_debug_logging): Likewise.
6084 * symfile.c (default_symfile_segments): Likewise.
6085 * target-descriptions.c (tdesc_data_init): Likewise.
6086 (tdesc_create_reg): Likewise.
6087 (struct tdesc_type *): Likewise.
6088 (tdesc_create_vector): Likewise.
6089 (tdesc_set_struct_size): Likewise.
6090 (struct tdesc_type *): Likewise.
6091 (tdesc_free_feature): Likewise.
6092 (tdesc_create_feature): Likewise.
6093 * windows-nat.c (windows_add_thread): Likewise.
6094 (windows_make_so): Likewise.
6095 * xml-support.c (gdb_xml_body_text): Likewise.
6096 (gdb_xml_create_parser_and_cleanup): Likewise.
6097 (xml_process_xincludes): Likewise.
6098 * xml-syscall.c (allocate_syscalls_info): Likewise.
6099 (syscall_create_syscall_desc): Likewise.
6101 2014-01-12 Sergio Durigan Junior <sergiodj@redhat.com>
6103 * i386-tdep.c (i386_stap_parse_special_token_triplet): New
6104 function, with code from i386_stap_parse_special_token.
6105 (i386_stap_parse_special_token_three_arg_disp): Likewise.
6106 (i386_stap_parse_special_token): Move code to the two functions
6109 2014-01-09 Pedro Alves <palves@redhat.com>
6110 Hui Zhu <hui@codesourcery.com>
6113 * breakpoint.c (insert_bp_location): Rename hw_bp_err_string to
6114 bp_err_string. Don't mark the location shlib_disabled if the
6115 error thrown wasn't a generic or memory error. Catch errors
6116 thrown while inserting breakpoints in overlayed code. Output
6117 error message of software breakpoints.
6118 * remote.c (remote_insert_breakpoint): If this breakpoint has
6119 target-side commands but this stub doesn't support Z0 packets,
6120 throw NOT_SUPPORTED_ERROR error.
6121 * exceptions.h (enum errors) <NOT_SUPPORTED_ERROR>: New error.
6122 * target.h (target_insert_breakpoint): Extend comment.
6123 (target_insert_hw_breakpoint): Add comment.
6125 2014-01-08 Pedro Alves <palves@redhat.com>
6127 * remote.c (remote_add_thread): Add threads silently if starting
6129 (remote_notice_new_inferior): If in all-stop, and starting up,
6130 don't call notice_new_inferior.
6131 (get_current_thread): New function, factored out from ...
6132 (add_current_inferior_and_thread): ... this. Adjust.
6133 (remote_start_remote) <all-stop>: Fetch the thread list. If we
6134 found any thread, then select the remote's current thread as GDB's
6137 2014-01-08 Joel Brobecker <brobecker@adacore.com>
6139 * NEWS: Create a new section for the next release branch.
6140 Rename the section of the current branch, now that it has
6143 2014-01-08 Joel Brobecker <brobecker@adacore.com>
6145 GDB 7.7 branch created (79301218fa0f074c5656db0ec8972a5ddcf91fb5):
6146 * version.in: Bump version to 7.7.50.DATE-cvs.
6148 2014-01-08 Yao Qi <yao@codesourcery.com>
6150 * spu-linux-nat.c (spu_symbol_file_add_from_memory): Change
6151 type of 'id' to gdb_byte. Cast 'id' to 'const char *'.
6152 (spu_xfer_partial): Cast 'buf' to 'const char *'.
6154 2014-01-08 Yao Qi <yao@codesourcery.com>
6156 * spu-linux-nat.c (spu_symbol_file_add_from_memory): Pass
6157 return value of bfd_get_filename to symbol_file_add_from_bfd.
6159 2014-01-08 Pierre Muller <muller@sourceware.org>
6162 * coff-pe-read.c (struct read_pe_section_data): Add index field.
6163 (add_pe_exported_sym): Use SECTION_DATA->INDEX for call
6164 to prim_record_mininal_symbol_and_info.
6165 (add_pe_forwarded_sym): Use known section number of forwarded symbol
6166 in call to prim_record_minimal_symbol_and_info.
6167 (read_pe_exported_syms): Set index field of section_data.
6169 2014-01-07 Andrew Pinski <apinski@cavium.com>
6171 * features/aarch64-core.xml (cpsr): Change to be 64bit.
6172 * features/aarch64.c: Regenerate.
6174 2014-01-07 Andreas Schwab <schwab@linux-m68k.org>
6176 * target.c (return_null): Define.
6177 (update_current_target): Use it instead of return_zero for
6178 functions that return a pointer.
6180 2014-01-07 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
6182 * source.c (add_path): Fix check for duplicated paths in the previously
6185 2014-01-07 Honggyu Kim <hong.gyu.kim@lge.com>
6187 * ada-lang.c: Remove duplicated include statements.
6188 * alphabsd-nat.c: Ditto.
6189 * amd64-darwin-tdep.c: Ditto.
6190 * amd64fbsd-nat.c: Ditto.
6191 * auto-load.c: Ditto.
6193 * breakpoint.c: Ditto.
6195 * fork-child.c: Ditto.
6196 * gdb_usleep.c: Ditto.
6197 * i386-darwin-tdep.c: Ditto.
6198 * i386fbsd-nat.c: Ditto.
6200 * inferior.c: Ditto.
6202 * linux-nat.c: Ditto.
6203 * linux-tdep.c: Ditto.
6204 * m68kbsd-nat.c: Ditto.
6205 * m68klinux-nat.c: Ditto.
6206 * microblaze-tdep.c: Ditto.
6207 * mips-linux-tdep.c: Ditto.
6208 * mn10300-tdep.c: Ditto.
6209 * nto-tdep.c: Ditto.
6210 * opencl-lang.c: Ditto.
6212 * printcmd.c: Ditto.
6213 * regcache.c: Ditto.
6214 * remote-m32r-sdi.c: Ditto.
6218 * tilegx-linux-nat.c: Ditto.
6219 * tilegx-tdep.c: Ditto.
6220 * tracepoint.c: Ditto.
6222 * vaxbsd-nat.c: Ditto.
6223 * windows-nat.c: Ditto.
6224 * xtensa-tdep.c: Ditto.
6226 2014-01-07 Yao Qi <yao@codesourcery.com>
6228 * spu-linux-nat.c (_initialize_spu_nat): Declare.
6230 2014-01-07 Yao Qi <yao@codesourcery.com>
6231 Joel Brobecker <brobecker@adacore.com>
6233 * aix-thread.c (pdc_read_regs): Cast parameter to uintptr_t.
6234 (pdc_write_regs): Likewise.
6235 (fetch_regs_kernel_thread): Likewise.
6236 (store_regs_kernel_thread): Likewise.
6238 2014-01-07 Joel Brobecker <brobecker@adacore.com>
6240 * ada-varobj.c (ada_varobj_adjust_for_child_access): Convert
6241 tagged type objects to their actual type.
6243 2014-01-07 Joel Brobecker <brobecker@adacore.com>
6245 * ada-valprint.c (print_field_values): Add "language" parameter.
6246 Update calls to print_field_values and print_variant_part.
6247 Pass new parameter "language" in call to val_print instead
6248 of "current_language". Replace call to ada_val_print by call
6250 (print_variant_part): Add "language" parameter.
6251 (ada_val_print_struct_union): Update call to print_field_values.
6253 2014-01-07 Joel Brobecker <brobecker@adacore.com>
6255 * ada-valprint.c (ui_memcpy): Delete.
6256 (ada_print_floating): Update documentation. Add empty line
6257 between between function documentation and implementation.
6258 Delete variable "buffer". Use ui_file_xstrdup in place of
6259 ui_file_put. Minor adjustments following this change.
6261 2014-01-07 Joel Brobecker <brobecker@adacore.com>
6263 * ada-valprint.c (ada_val_print_string): New function,
6264 extracted from ada_val_print_array.
6265 (ada_val_print_array): Replace extracted code by call
6266 to ada_val_print_string followed by a return. Move
6267 "else" branch to the function's top block.
6269 2014-01-07 Joel Brobecker <brobecker@adacore.com>
6271 * ada-valprint.c (ada_val_print_array): Move implementation
6272 down. Rename parameter "offset" and "val" into "offset_aligned"
6273 and "original_value" respectively. Add parameter "offset".
6275 2014-01-07 Joel Brobecker <brobecker@adacore.com>
6277 * ada-valprint.c (ada_val_print_ref): Rewrite by mostly
6278 re-organizing the code. Change the "???" message printed
6279 when target type is a TYPE_CODE_UNDEF into
6280 "<ref to undefined type>".
6282 2014-01-07 Joel Brobecker <brobecker@adacore.com>
6284 * ada-valprint.c (print_record): Delete, implementation inlined...
6285 (ada_val_print_struct_union): ... here. Remove call to
6286 ada_check_typedef in inlined implementation.
6288 2014-01-07 Joel Brobecker <brobecker@adacore.com>
6290 * ada-valprint.c (ada_val_print_gnat_array): New function,
6291 extracted from ada_val_print_1;
6292 (ada_val_print_ptr, ada_val_print_num, ada_val_print_enum)
6293 (ada_val_print_flt, ada_val_print_struct_union)
6294 (ada_val_print_ref): Likewise.
6295 (ada_val_print_1): Delete variables i and elttype.
6296 Replace extracted-out code by call to corresponding
6299 2014-01-07 Joel Brobecker <brobecker@adacore.com>
6301 * ada-valprint.c (ada_val_print_1): Remove call to gdb_flush.
6303 2014-01-07 Joel Brobecker <brobecker@adacore.com>
6305 * ada-valprint.c (ada_val_print_1): Replace calls to
6306 ada_val_print_1 by calls to val_print.
6308 2014-01-07 Joel Brobecker <brobecker@adacore.com>
6310 * ada-valprint.c (ada_val_print_1): Add parameter "language".
6311 Update calls to self accordingly. Replace calls to c_val_print
6312 by calls to val_print.
6314 2014-01-07 Joel Brobecker <brobecker@adacore.com>
6316 * ada-valprint.c (print_record): Delete declaration.
6317 (adjust_type_signedness, ada_val_print_1): Likewise.
6318 (ada_val_print): Move function implementation down.
6319 (print_variant_part, print_field_values, print_record):
6320 Move function implementation up.
6322 2014-01-07 Joel Brobecker <brobecker@adacore.com>
6324 * python/py-type.c (typy_get_name): New function.
6325 (type_object_getset): Add entry for attribute "name".
6326 * NEWS: Add entry mentioning this new attribute.
6328 2014-01-07 Yao Qi <yao@codesourcery.com>
6330 * gnu-nat.c (set_exceptions_cmd): Remove an empty body 'if'
6333 2014-01-07 Yao Qi <yao@codesourcery.com>
6335 * gnu-nat.c (info_port_rights): Add qualifier const to
6338 2014-01-07 Yao Qi <yao@codesourcery.com>
6340 * gnu-nat.c (trace_me): Use 'void' for empty argument list.
6342 2014-01-07 Yao Qi <yao@codesourcery.com>
6344 * gnu-nat.c (make_inf) Update declaration.
6345 (make_inf): Make it static.
6346 (inf_set_traced): Likewise.
6347 (inf_port_to_thread, inf_task_died_status): Likewise.
6349 2014-01-07 Yao Qi <yao@codesourcery.com>
6351 * gnu-nat.c (inf_tid_to_proc): Remove declaration.
6353 2014-01-07 Yao Qi <yao@codesourcery.com>
6355 * gnu-nat.c (_initialize_gnu_nat): Declare.
6357 2014-01-07 Yao Qi <yao@codesourcery.com>
6359 * gdbarch.sh (byte_order, byte_order_for_code): Change type to
6361 (struct gdbarch_info) <byte_order>: Change type to
6363 <byte_order_for_code>: Likewise.
6364 * gdbarch.c, gdbarch.h: Regenerated.
6366 2014-01-06 Sasha Smundak <asmundak@google.com>
6368 * jit.c: (jit_reader_load_command): Fix JIT reader path creation.
6370 2014-01-06 Tom Tromey <tromey@redhat.com>
6372 * doublest.c (convert_doublest_to_floatformat): Use const, not
6374 * somread.c (som_symtab_read): Likewise.
6376 2014-01-07 Hui Zhu <hui@codesourcery.com>
6378 * gdb_bfd.c (gdb_bfd_stash_filename): Removed.
6379 (gdb_bfd_open): Removed gdb_bfd_stash_filename.
6380 (gdb_bfd_fopen): Ditto.
6381 (gdb_bfd_openr): Ditto.
6382 (gdb_bfd_openw): Ditto.
6383 (gdb_bfd_openr_iovec): Ditto.
6384 (gdb_bfd_fdopenr): Ditto.
6385 * gdb_bfd.h (gdb_bfd_stash_filename): Removed.
6386 * solib-aix.c (solib_aix_bfd_open): Alloc object_bfd->filename
6388 * solib-darwin.c (darwin_bfd_open): Alloc res->filename
6390 * symfile-mem.c (symbol_file_add_from_memory): Removed
6391 gdb_bfd_stash_filename.
6393 2014-01-03 Doug Evans <dje@google.com>
6395 * nat/linux-waitpid.c (linux_debug): Remove extraneous \n from
6398 2014-01-01 Joel Brobecker <brobecker@adacore.com>
6400 Update year range in copyright notice of all files.
6402 2014-01-01 Joel Brobecker <brobecker@adacore.com>
6404 * top.c (print_gdb_version): Set copyright year to 2014.
6406 2014-01-01 Joel Brobecker <brobecker@adacore.com>
6408 * config/djgpp/fnchange.lst: Add entry for gdb/ChangeLog-2013.
6410 For older changes see ChangeLog-2013.
6416 version-control: never