1 2014-03-22 Doug Evans <xdje42@gmail.com>
3 * infcmd.c (interrupt_command): Renamed from interrupt_target_command.
6 2014-03-22 Yao Qi <yao@codesourcery.com>
8 * remote.c (target_read_live_memory): Remove.
9 (memory_xfer_live_readonly_partial): Rename it to
10 remote_xfer_live_readonly_partial. Remove argument 'object'.
11 All callers updated. Call remote_read_bytes_1
12 instead of target_read_live_memory.
13 * tracepoint.c (set_traceframe_number): Remove.
14 (make_cleanup_restore_traceframe_number): Likewise .
15 * tracepoint.h (set_traceframe_number): Remove declaration.
16 (make_cleanup_restore_traceframe_number): Likewise.
18 2014-03-22 Yao Qi <yao@codesourcery.com>
20 * remote.c (remote_read_bytes): Move code on reading from the
22 (remote_read_bytes_1): ... here. New function.
24 2014-03-22 Yao Qi <yao@codesourcery.com>
26 * ctf.c (ctf_xfer_partial): Check the return value of
27 exec_read_partial_read_only, if it is not TARGET_XFER_OK,
28 return TARGET_XFER_UNAVAILABLE.
29 * tracefile-tfile.c (tfile_xfer_partial): Likewise.
30 * target.c (target_read_live_memory): Move it to remote.c.
31 (memory_xfer_live_readonly_partial): Likewise.
32 (memory_xfer_partial_1): Move some code to remote_read_bytes.
33 * remote.c (target_read_live_memory): Moved from target.c.
34 (memory_xfer_live_readonly_partial): Likewise.
35 (remote_read_bytes): Factored out from
36 memory_xfer_partial_1.
38 2014-03-21 Daniel Gutson <daniel.gutson@tallertechnologies.com>
40 * extension.c (eval_ext_lang_from_control_command): Avoid dereferencing
43 2014-03-21 Pedro Alves <palves@redhat.com>
45 * infrun.c (normal_stop): Extend comment.
47 2014-03-21 Hui Zhu <hui@codesourcery.com>
48 Pedro Alves <palves@redhat.com>
50 * darwin-nat.c (darwin_pid_to_exec_file): Change xmalloc to
52 * fbsd-nat.c (fbsd_pid_to_exec_file): Ditto.
53 * linux-nat.c (linux_child_pid_to_exec_file): Ditto.
54 * nbsd-nat.c (nbsd_pid_to_exec_file): Ditto.
56 2014-03-20 Maciej W. Rozycki <macro@codesourcery.com>
58 * mi/mi-interp.c (mi_memory_changed): Avoid using the ISO C99
59 `z' formatted output modifier.
61 2014-03-20 Tom Tromey <tromey@redhat.com>
62 Sergio Durigan Junior <sergiodj@redhat.com>
64 * probe.c (parse_probes): Turn assert into an ordinary error.
65 * break-catch-throw.c (re_set_exception_catchpoint): Ignore
66 exceptions when parsing probes. Rearrange the code for clarity.
68 2014-03-20 Tom Tromey <tromey@redhat.com>
71 * top.c (execute_command): Only dispatch events if the command
74 2014-03-20 Tom Tromey <tromey@redhat.com>
77 * infcall.c: Include event-top.h.
78 (run_inferior_call): Call async_disable_stdin if needed.
80 2014-03-20 Pedro Alves <palves@redhat.com>
82 * infrun.c (prepare_to_proceed): Delete.
83 (thread_still_needs_step_over): New function.
84 (find_thread_needs_step_over): New function.
85 (proceed): If the current thread needs a step-over, set its
86 steping_over_breakpoint flag. Adjust to use
87 find_thread_needs_step_over instead of prepare_to_proceed.
88 (process_event_stop_test): For BPSTAT_WHAT_STOP_NOISY and
89 BPSTAT_WHAT_STOP_SILENT, assume the thread stopped for a
91 (switch_back_to_stepped_thread): Step over breakpoints of all
92 threads not the stepping thread, before switching back to the
95 2014-03-20 Pedro Alves <palves@redhat.com>
97 * breakpoint.c (single_step_breakpoint_inserted_here_p): Make
99 * breakpoint.h (single_step_breakpoint_inserted_here_p): Declare.
100 * infrun.c (saved_singlestep_ptid)
101 (stepping_past_singlestep_breakpoint): Delete.
102 (resume): Remove stepping_past_singlestep_breakpoint handling.
103 (proceed): Store the prev_pc of the stepping thread too.
104 (init_wait_for_inferior): Adjust. Clear singlestep_ptid and
106 (enum infwait_states): Delete infwait_thread_hop_state.
107 (struct execution_control_state) <hit_singlestep_breakpoint>: New
109 (handle_inferior_event): Adjust.
110 (handle_signal_stop): Delete stepping_past_singlestep_breakpoint
111 handling and the thread-hop code. Before removing single-step
112 breakpoints, check whether the thread hit a single-step breakpoint
113 of another thread. If it did, the trap is not a random signal.
114 (switch_back_to_stepped_thread): If the event thread hit a
115 single-step breakpoint, unblock it before switching to the
116 stepping thread. Handle the case of the stepped thread having
118 (keep_going): Handle the case of the current thread moving past a
119 single-step breakpoint.
121 2014-03-20 Pedro Alves <palves@redhat.com>
124 * breakpoint.c (should_be_inserted): Don't insert breakpoints that
125 are being stepped over.
126 (breakpoint_address_match): Make extern.
127 * breakpoint.h (breakpoint_address_match): New declaration.
128 * inferior.h (stepping_past_instruction_at): New declaration.
129 * infrun.c (struct step_over_info): New type.
130 (step_over_info): New global.
131 (set_step_over_info, clear_step_over_info)
132 (stepping_past_instruction_at): New functions.
133 (handle_inferior_event): Clear the step-over info when
134 trap_expected is cleared.
135 (resume): Remove now stale comment.
136 (clear_proceed_status): Clear step-over info.
137 (proceed): Adjust step-over handling to set or clear the step-over
138 info instead of removing all breakpoints.
139 (handle_signal_stop): When setting up a thread-hop, don't remove
141 (stop_stepping): Clear step-over info.
142 (keep_going): Adjust step-over handling to set or clear step-over
143 info and then always inserting breakpoints, instead of removing
144 all breakpoints when stepping over one.
146 2014-03-20 Pedro Alves <palves@redhat.com>
148 * infrun.c (previous_inferior_ptid): Adjust comment.
149 (deferred_step_ptid): Delete.
150 (infrun_thread_ptid_changed, prepare_to_proceed)
151 (init_wait_for_inferior): Adjust.
152 (handle_signal_stop): Delete deferred_step_ptid handling.
154 2014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
157 * defs.h (sync_quit_force_run): New declaration.
158 (QUIT): Check also SYNC_QUIT_FORCE_RUN.
159 * event-top.c (async_sigterm_handler): New declaration.
160 (async_sigterm_token): New variable.
161 (async_init_signals): Create also async_sigterm_token.
162 (async_sigterm_handler): New function.
163 (sync_quit_force_run): New variable.
164 (handle_sigterm): Replace quit_force call by other calls.
165 * utils.c (quit): Call quit_force if SYNC_QUIT_FORCE_RUN.
167 2014-03-18 Maciej W. Rozycki <macro@codesourcery.com>
169 * rs6000-tdep.c (rs6000_frame_cache): Correct little-endian GPR
170 offset into SPE pseudo registers.
172 2014-03-18 Pedro Alves <palves@redhat.com>
175 * inferior.h (print_stop_event): Declare.
176 * infrun.c (print_stop_event): New, factored out from ...
177 (normal_stop): ... this.
178 * mi/mi-interp.c (mi_on_normal_stop): Use print_stop_event instead
179 of bpstat_print/print_stack_frame.
181 2014-03-17 Tom Tromey <tromey@redhat.com>
183 * ui-out.c (clear_table, ui_out_new): Clear uiout->table.id.
185 2014-03-17 Pierre-Marie de Rodat <derodat@adacore.com>
187 * ada-lang.c (decode_constrained_packed_array): Perform a
188 minimal coercion for reference with coerce_ref instead of
191 2014-03-17 Tristan Gingold <gingold@adacore.com>
193 * solib-darwin.c (DYLD_VERSION_MAX): Increase value.
194 (darwin_solib_create_inferior_hook): Emit a warning if version
197 2014-03-16 Ulrich Weigand <uweigand@de.ibm.com>
199 * python/py-value.c (get_field_flag): Cast flag_name argument to
200 PyObject_GetAttrString to support Python 2.4.
202 2014-03-14 Jan Kratochvil <jan.kratochvil@redhat.com>
204 * MAINTAINERS (The Official FSF-appointed GDB Maintainers)
205 (Global Maintainers): Remove Jan Kratochvil.
207 2014-03-14 Pedro Alves <palves@redhat.com>
209 * inferior.h (terminal_ours_for_output): Rename to ...
210 (child_terminal_ours_for_output): ... this.
211 (terminal_save_ours): Rename to ...
212 (child_terminal_save_ours): ... this.
213 (terminal_ours): Rename to ...
214 (child_terminal_ours): ... this.
215 (terminal_inferior): Rename to ...
216 (child_terminal_inferior): ... this.
217 (terminal_init_inferior): Rename to ...
218 (child_terminal_init_inferior): ... this.
219 (terminal_init_inferior_with_pgrp): Rename to ...
220 (child_terminal_init_inferior_with_pgrp): ... this.
221 * inflow.c (terminal_init_inferior_with_pgrp): Rename to ...
222 (child_terminal_init_with_pgrp): ... this.
223 (terminal_save_ours): Rename to ...
224 (child_terminal_save_ours): ... this.
225 (terminal_init_inferior): Rename to ...
226 (child_terminal_init): ... this. Adjust.
227 (terminal_inferior): Rename to ...
228 (child_terminal_inferior): ... this.
229 (terminal_ours_for_output): Rename to ...
230 (child_terminal_ours_for_output): ... this. Adjust.
231 (terminal_ours): Rename to ...
232 (child_terminal_ours): ... this.
233 (terminal_ours_1): Rename to ...
234 (child_terminal_ours_1): ... this. Adjust.
235 * linux-nat.c (linux_nat_terminal_inferior): Adjust.
236 * windows-nat.c (do_initial_windows_stuff): Adjust.
237 * gnu-nat.c (gnu_terminal_init_inferior): Rename to ...
238 (gnu_terminal_init): ... this. Adjust.
239 (gnu_target): Adjust.
240 * inf-child.c (inf_child_target): Adjust.
242 2014-03-13 Doug Evans <xdje42@gmail.com>
245 * guile/scm-type.c (tyscm_copy_type_recursive): Move type to its
248 2014-03-13 Doug Evans <xdje42@gmail.com>
250 * value.c (record_latest_value): Call release_value_or_incref
251 instead of release_value.
253 2014-03-13 Pedro Alves <palves@redhat.com>
255 * procfs.c (procfs_target): Don't override to_shortname,
256 to_longname or to_doc.
258 2014-03-13 Pedro Alves <palves@redhat.com>
260 * inf-child.c (inf_child_open, inf_child_target): Don't mention
261 Unix in user visible strings.
263 2014-03-12 Stan Shebs <stan@codesourcery.com>
265 * gdbtypes.h: Annotate comments for Doxygen, add a page
266 block comment with some general info.
268 2014-03-12 Pedro Alves <palves@redhat.com>
270 * infcmd.c (prepare_execution_command): New function, factored out
271 from several execution commands.
272 (run_command_1, continue_command, step_1, jump_command)
273 (signal_command, until_command, advance_command, finish_command)
274 (attach_command): Use prepare_execution_command.
276 2014-03-12 Omair Javaid <omair.javaid@linaro.org>
278 * arm-linux-nat.c (arm_linux_get_hwbp_cap): Updated.
281 (struct arm_linux_thread_points): Removed.
282 (struct arm_linux_process_info): New.
283 (DEF_VEC_P (arm_linux_thread_points_p)): Removed.
284 (VEC(arm_linux_thread_points_p) *arm_threads): Removed.
285 (arm_linux_find_breakpoints_by_tid): Removed.
286 (struct arch_lwp_info): New.
287 (arm_linux_find_process_pid): New functions.
288 (arm_linux_add_process): New functions.
289 (arm_linux_process_info_get): New functions.
290 (arm_linux_forget_process): New function.
291 (arm_linux_get_debug_reg_state): New function.
292 (struct update_registers_data): New.
293 (update_registers_callback): New function.
294 (arm_linux_insert_hw_breakpoint1): Updated.
295 (arm_linux_remove_hw_breakpoint1): Updated.
296 (arm_linux_insert_hw_breakpoint): Updated.
297 (arm_linux_remove_hw_breakpoint): Updated.
298 (arm_linux_insert_watchpoint): Updated.
299 (arm_linux_remove_watchpoint): Updated.
300 (arm_linux_new_thread): Updated.
301 (arm_linux_prepare_to_resume): New function.
302 (arm_linux_new_fork): New function.
303 (_initialize_arm_linux_nat): Updated.
305 2014-03-12 Pedro Alves <palves@redhat.com>
307 * Makefile.in (TARGET_FLAGS_TO_PASS): Add TESTS.
309 2014-03-12 Tom Tromey <tromey@redhat.com>
311 * inf-child.c (return_zero): New function.
312 (inf_child_target): Set to_can_async_p, to_supports_non_stop.
313 * aix-thread.c (aix_thread_inferior_created): New function.
314 (aix_thread_attach): Remove.
315 (init_aix_thread_ops): Don't set to_attach.
316 (_initialize_aix_thread): Register inferior_created observer.
317 * corelow.c (init_core_ops): Don't set to_attach or
319 * exec.c (init_exec_ops): Don't set to_attach or
321 * infcmd.c (run_command_1): Use find_run_target. Make direct
323 (attach_command): Use find_attach_target. Make direct target
325 * record-btrace.c (init_record_btrace_ops): Don't set
327 * record-full.c (record_full_can_async_p, record_full_is_async_p):
329 (init_record_full_ops, init_record_full_core_ops): Update. Don't
330 set to_create_inferior.
331 * target.c (complete_target_initialization): Add assertion.
332 (target_create_inferior): Remove.
333 (find_default_attach, find_default_create_inferior): Remove.
334 (find_attach_target, find_run_target): New functions.
335 (find_default_is_async_p, find_default_can_async_p)
336 (target_supports_non_stop, target_attach): Remove.
337 (init_dummy_target): Don't set to_create_inferior or
338 to_supports_non_stop.
339 * target.h (struct target_ops) <to_attach>: Add comment. Remove
341 <to_create_inferior>: Add comment.
342 <to_can_async_p, to_is_async_p, to_supports_non_stop>: Use
343 TARGET_DEFAULT_RETURN.
344 <to_can_async_p, to_supports_non_stop, to_can_run>: Add comments.
345 (find_attach_target, find_run_target): Declare.
346 (target_create_inferior): Remove.
347 (target_has_execution_1): Update comment.
348 (target_supports_non_stop): Remove.
349 * target-delegates.c: Rebuild.
351 2014-03-12 Pedro Alves <palves@redhat.com>
353 * inf-child.h: Update comment to not mention Unix.
355 2014-03-12 Pedro Alves <palves@redhat.com>
357 * inf-child.c: Update top comment to not mention Unix. Add
358 generic comment describing how this target is meant to be used.
359 (inf_child_post_attach, inf_child_post_startup_inferior)
360 (inf_child_follow_fork, inf_child_pid_to_exec_file): Don't mention
363 2014-03-12 Pedro Alves <palves@redhat.com>
365 * nto-procfs.c: Include inf-child.h.
366 (procfs_ops): Delete global.
367 (procfs_can_run): Delete method.
368 (procfs_detach, procfs_mourn_inferior): Unpush the passed in
369 target pointer instead of referencing procfs_ops.
370 (procfs_prepare_to_store): Delete.
371 (init_procfs_ops): Delete function.
372 (procfs_target): New function, based on init_procfs_ops, but
373 inherit inf_child_target.
374 (_initialize_procfs): Use procfs_target.
376 2014-03-12 Pedro Alves <palves@redhat.com>
378 * windows-nat.c: Include inf-child.h.
379 (windows_ops): Delete global.
380 (windows_open, windows_prepare_to_store, windows_can_run): Delete
382 (init_windows_ops): Delete function.
383 (windows_target): New function, based on init_windows_ops, but
384 inherit inf_child_target.
385 (_initialize_windows_nat): Use windows_target. Install x86
386 specific target methods here.
388 2014-03-10 Doug Evans <xdje42@gmail.com>
390 * guile/guile.c (call_initialize_gdb_module): New function.
391 (initialize_guile): Replace call to scm_init_guile with call to
394 2014-03-10 Joel Brobecker <brobecker@adacore.com>
396 * ada-lang.c (ada_evaluate_subexp): Add missing space before '('
397 in call to TYPE_CODE macro.
399 2014-03-10 Jerome Guitton <guitton@adacore.com>
401 * ada-lang.c (ada_evaluate_subexp) <UNOP_IND, STRUCTOP_STRUCT>:
402 Resolve tagged types to full view.
404 2014-03-10 Hui Zhu <hui@codesourcery.com>
406 * target.h (target_insert_breakpoint): Remove "hardware" from its
409 2014-03-07 Doug Evans <dje@google.com>
411 * dwarf2read.c (read_str_index): Rename local dwo_name to objf_name.
413 2014-03-07 Doug Evans <dje@google.com>
415 * dwarf2read.c (read_cutu_die_from_dwo): Fix function comment.
416 Remove unused local comp_dir_attr. Assert exactly one of
417 stub_comp_unit_die, stub_comp_dir is non-NULL.
419 2014-03-07 Joel Brobecker <brobecker@adacore.com>
421 * target.h (complete_target_initialization, add_target):
424 2014-03-07 Pedro Alves <palves@redhat.com>
426 * go32-nat.c: Include inf-child.h.
427 (go32_ops): Delete global.
428 (go32_close, go32_detach, go32_prepare_to_store, go32_can_run):
430 (go32_create_inferior): Push the passed in target pointer instead
431 of referencing go32_ops.
432 (init_go32_ops): Delete function. Moved parts to _initialize_go32_nat.
433 (go32_target): New function, based on init_go32_ops, but inherit
435 (_initialize_go32_nat): Use go32_target. Move parts of
438 2014-03-06 Joel Brobecker <brobecker@adacore.com>
440 * sol-thread.c: #include "symtab.h", "minsym.h" and "objfiles.h".
441 (ps_pglobal_lookup): Use BMSYMBOL_VALUE_ADDRESS instead of
442 SYMBOL_VALUE_ADDRESS.
443 (info_cb): MSYMBOL_PRINT_NAME instead of SYMBOL_PRINT_NAME.
445 2014-03-06 Yao Qi <yao@codesourcery.com>
447 * breakpoint.c (get_tracepoint_by_number): Remove argument
448 optional_p. All callers updated. Adjust comments. Update
450 * breakpoint.h (get_tracepoint_by_number): Update declaration.
452 2014-03-06 Yao Qi <yao@codesourcery.com>
454 * reverse.c (goto_bookmark_command): Add local 'p'. Emit error
455 early if get_number returns zero. Use 'p' instead of 'args'.
457 2014-03-06 Yao Qi <yao@codesourcery.com>
459 * cli/cli-utils.c (get_number_trailer): Add '\n' at the end of
462 2014-03-06 Yao Qi <yao@codesourcery.com>
465 * tracepoint.c (check_trace_running): New function.
466 (trace_find_command): Move code to check_trace_running and
467 call check_trace_running.
468 (trace_find_pc_command): Likewise.
469 (trace_find_tracepoint_command): Likewise.
470 (trace_find_line_command): Likewise.
471 (trace_find_range_command): Likewise.
472 * tracepoint.h (check_trace_running): Likewise.
473 * mi/mi-main.c (mi_cmd_trace_find): Call check_trace_running.
475 2014-03-06 Yao Qi <yao@codesourcery.com>
477 * target.h (struct target_ops) <to_traceframe_info>: Use
478 TARGET_DEFAULT_NORETURN (tcomplain ()).
479 * target-delegates.c: Regenerated.
481 2014-03-05 Pedro Alves <palves@redhat.com>
484 * dcache.c (dcache_poke_byte): Constify ptr parameter. Return
485 void. Update comment.
486 (dcache_xfer_memory): Delete.
487 (dcache_read_memory_partial): New, based on the read bits of
489 (dcache_update): Add status parameter. Use ULONGEST for len, and
490 adjust. Discard cache lines if the reason for the update was
492 * dcache.h (dcache_xfer_memory): Delete declaration.
493 (dcache_read_memory_partial): New declaration.
494 (dcache_update): Update prototype.
495 * target.c (raw_memory_xfer_partial): Update the dcache here.
496 (memory_xfer_partial_1): Don't handle dcache writes here.
498 2014-03-05 Mike Frysinger <vapier@gentoo.org>
500 * remote-sim.c (gdbsim_load): Add const to prog.
502 2014-03-03 Tom Tromey <tromey@redhat.com>
504 * elfread.c (probe_key): Change to bfd_data.
505 (elf_get_probes, probe_key_free, _initialize_elfread): Probes are
506 now per-BFD, not per-objfile.
507 * stap-probe.c (stap_probe_destroy): Update comment.
508 (handle_stap_probe): Allocate on the per-BFD obstack.
510 2014-03-03 Tom Tromey <tromey@redhat.com>
512 * break-catch-throw.c (fetch_probe_arguments): Use bound probes.
513 * breakpoint.c (create_longjmp_master_breakpoint): Use
515 (add_location_to_breakpoint, bkpt_probe_insert_location)
516 (bkpt_probe_remove_location): Update.
517 * breakpoint.h (struct bp_location) <probe>: Now a bound_probe.
518 * elfread.c (elf_symfile_relocate_probe): Remove.
519 (elf_probe_fns): Update.
520 (insert_exception_resume_breakpoint): Change type of "probe"
521 parameter to bound_probe.
522 (check_exception_resume): Update.
523 * objfiles.c (objfile_relocate1): Don't relocate probes.
524 * probe.c (bound_probe_s): New typedef.
525 (parse_probes): Use get_probe_address. Set sal's objfile.
526 (find_probe_by_pc): Return a bound_probe.
527 (collect_probes): Return a VEC(bound_probe_s).
528 (compare_probes): Update.
529 (gen_ui_out_table_header_info): Change type of "probes"
531 (info_probes_for_ops): Update.
532 (get_probe_address): New function.
533 (probe_safe_evaluate_at_pc): Update.
534 * probe.h (struct probe_ops) <get_probe_address>: New field.
535 <set_semaphore, clear_semaphore>: Add objfile parameter.
536 (struct probe) <objfile>: Remove field.
538 <address>: Update comment.
539 (struct bound_probe): New.
540 (find_probe_by_pc): Return a bound_probe.
541 (get_probe_address): Declare.
542 * solib-svr4.c (struct probe_and_action) <address>: New field.
543 (hash_probe_and_action, equal_probe_and_action): Update.
544 (register_solib_event_probe): Add address parameter.
545 (solib_event_probe_at): Update.
546 (svr4_create_probe_breakpoints): Add objfile parameter. Use
548 * stap-probe.c (struct stap_probe) <sem_addr>: Update comment.
549 (stap_get_probe_address): New function.
550 (stap_can_evaluate_probe_arguments, compute_probe_arg)
551 (compile_probe_arg): Update.
552 (stap_set_semaphore, stap_clear_semaphore): Compute semaphore's
554 (handle_stap_probe): Don't relocate the probe.
555 (stap_relocate): Remove.
556 (stap_gen_info_probes_table_values): Update.
557 (stap_probe_ops): Remove stap_relocate.
558 * symfile-debug.c (debug_sym_relocate_probe): Remove.
559 (debug_sym_probe_fns): Update.
560 * symfile.h (struct sym_probe_fns) <sym_relocate_probe>: Remove.
561 * symtab.c (init_sal): Use memset.
562 * symtab.h (struct symtab_and_line) <objfile>: New field.
563 * tracepoint.c (start_tracing, stop_tracing): Update.
565 2014-03-03 Tom Tromey <tromey@redhat.com>
567 * probe.h (parse_probes, find_probe_by_pc)
568 (find_probes_in_objfile): Fix comments.
570 2014-03-02 Doug Evans <xdje42@gmail.com>
572 * infrun.c (handle_signal_stop): Replace test for
573 TARGET_WAITKIND_STOPPED with an assert.
575 2014-03-02 Doug Evans <xdje42@gmail.com>
577 * guile/scm-objfile.c (ofscm_mark_objfile_smob): Fix typo in comment.
579 2014-03-02 Doug Evans <xdje42@gmail.com>
581 * guile/lib/gdb/printing.scm (append-pretty-printer!): Fix thinko.
583 2014-03-01 Mark Kettenis <kettenis@gnu.org>
585 * obsd-nat.c: Include "gdb_wait.h" instead of <sys/wait.h>.
587 2014-03-01 Mark Kettenis <kettenis@gnu.org>
589 * i386obsd-nat.c: Include "obsd-nat.h".
590 (_initialize_i386obsd_nat): Call obsd_add_target instead of
592 * config/i386/obsd.mh (NATDEPFILES): Add obsd-nat.o.
594 2014-03-01 Mark Kettenis <kettenis@gnu.org>
596 * i386obsd-nat.c (i386obsd_supply_pcb): Cast 'sf' to 'gdb_byte *'.
598 2014-03-01 Mark Kettenis <kettenis@gnu.org>
600 * mips64obsd-nat.c: Include "obsd-nath".
601 (_initialize_mips64obsd_nat): Call obsd_add_target instead of
603 * config/mips/obsd64.mh (NATDEPFILES): Add obsd-nat.o.
605 2014-03-01 Mark Kettenis <kettenis@gnu.org>
607 * amd64obsd-nat.c: Include "obsd-nat,h.
608 (_initialize_amd64obsd_nat): Call obsd_add_target instead of
610 * config/i386/obsd64.mh (NATDEPFILES): Add obsd-nat.o.
612 2014-02-28 Siva Chandra Reddy <sivachandra@google.com>
614 * valops.c (find_oload_champ): Remove unneccesary argument METHOD.
615 (find_overload_match): Update call to find_oload_champ.
616 (find_oload_champ_namespace_loop): Likewise
618 2014-02-28 Mark Kettenis <kettenis@gnu.org>
620 * Makefile.in (ALLDEPFILES): Add sparc64obsd-nat.c.
622 * configure.host (sparc64-*-openbsd*): Set gdb_host to obsd64.
623 * config/sparc/obsd64.mh: New file.
624 * sparc64obsd-nat.c: New file.
626 * obsd-nat.h: New file.
627 * obsd-nat.c: New file.
628 * Makefile.in (HFILES_NO_SRCDIR): Add obsd-nat.h.
629 (ALLDEPFILES): Add obsd-nat.c.
631 2014-02-28 Tom Tromey <tromey@redhat.com>
633 * cli-out.c (cli_ui_out_impl): Now const. Remove comment.
634 * cli-out.h (cli_ui_out_impl): Now const.
635 * mi/mi-out.c (mi_ui_out_impl): Now const. Remove comment.
636 * ui-out.c (struct ui_out) <impl>: Now const.
637 (default_ui_out_impl): Now const.
638 (ui_out_new): Make 'impl' parameter const.
639 * ui-out.h (ui_out_new): Update.
641 2014-02-27 Mark Kettenis <kettenis@gnu.org>
643 * solib-svr4.c (svr4_read_so_list): Initialize first_l_name to 0.
645 2014-02-27 Mark Kettenis <kettenis@gnu.org>
647 * sparc-nat.c (sparc_xfer_wcookie): Always use process ID.
649 2014-02-27 Jan Kratochvil <jan.kratochvil@redhat.com>
651 Additional PR 8882 fix.
652 * solib-svr4.c (svr4_read_so_list): Change first to first_l_name.
654 2014-02-27 Pedro Alves <palves@redhat.com>
656 * nat/linux-waitpid.c (my_waitpid): Only block signals if WNOHANG
659 2014-02-27 Pedro Alves <palves@redhat.com>
662 * linux-nat.c (status_to_str): Moved to nat/linux-waitpid.c.
663 * nat/linux-waitpid.c: Include string.h.
664 (status_to_str): Moved here and made extern.
665 * nat/linux-waitpid.h (status_to_str): New declaration.
667 2014-02-27 Hui Zhu <hui@codesourcery.com>
670 * infrun.c (ptid_match): Move ...
671 * common/ptid.c (ptid_match): ... here.
672 * inferior.h (ptid_match): Move ...
673 * common/ptid.h (ptid_match): ... here.
675 2014-02-27 Mark Kettenis <kettenis@gnu.org>
677 * mips64obsd-tdep.c (mips64obsd_init_abi): Call obsd_init_abi.
678 * configure.tgt (mips64*-*-openbsd*): Add obsd-tdep.c to
681 2014-02-27 Mark Kettenis <kettenis@gnu.org>
683 * obsd-tdep.c (obsd_auxv_parse): New function.
684 (obsd_init_abi): Set auxv_parse.
686 * gdbarch.sh (auxv_parse): New.
687 * gdbarch.h: Regenerated.
688 * gdbarch.c: Regenerated.
689 * auxv.c (target_auxv_parse): Call gdbarch_parse_auxv if provided.
691 2014-02-26 Ludovic Courtès <ludo@gnu.org>
693 * guile/scm-value.c (gdbscm_history_append_x): New function.
694 (value_functions): Add it.
696 2014-02-27 Joel Brobecker <brobecker@adacore.com>
698 * dwarf2read.c (attr_value_as_address): New function.
699 (dwarf2_find_base_address, read_call_site_scope): Use
700 attr_value_as_address in place of DW_ADDR.
701 (dwarf2_get_pc_bounds): Use attr_value_as_address to get
702 the low and high addresses. Slight rework of the handling
703 of the high pc being a constant form, and limit it to
704 DWARF verson 4 or higher.
705 (dwarf2_record_block_ranges): Likewise.
706 (read_partial_die): Likewise.
707 (new_symbol_full): Use attr_value_as_address in place of DW_ADDR.
709 2014-02-26 Tom Tromey <tromey@redhat.com>
711 * exec.c (exec_file_attach): Hold a reference to exec_bfd.
713 2014-02-26 Tom Tromey <tromey@redhat.com>
715 * elfread.c (elf_read_minimal_symbols): Return early if
716 minimal symbols have already been read. Add "ei" parameter.
717 (elf_symfile_read): Call elf_read_minimal_symbols earlier.
718 * minsyms.c (prim_record_minimal_symbol_full): Update.
719 * objfiles.h (struct objstats) <n_minsyms>: Move...
720 (struct objfile_per_bfd_storage) <n_minsyms>: ... here.
721 * symmisc.c (print_objfile_statistics): Update.
723 2014-02-26 Tom Tromey <tromey@redhat.com>
725 * elfread.c (elf_read_minimal_symbols): New function, from
727 (elf_symfile_read): Call it.
729 2014-02-26 Tom Tromey <tromey@redhat.com>
731 * minsyms.c (lookup_minimal_symbol, iterate_over_minimal_symbols)
732 (lookup_minimal_symbol_text, lookup_minimal_symbol_by_pc_name)
733 (lookup_minimal_symbol_solib_trampoline)
734 (lookup_minimal_symbol_by_pc_section_1)
735 (lookup_minimal_symbol_and_objfile): Update.
736 (prim_record_minimal_symbol_full): Use the per-BFD obstack.
737 Don't allocate a minimal symbol if minsyms have already been read.
738 (build_minimal_symbol_hash_tables): Update.
739 (install_minimal_symbols): Do nothing if minsyms already read.
740 Use the per-BFD obstack.
741 (terminate_minimal_symbol_table): Use the per-BFD obstack.
742 * objfiles.c (allocate_objfile): Call
743 terminate_minimal_symbol_table later.
744 (have_minimal_symbols): Update.
745 * objfiles.h (struct objfile_per_bfd_storage) <msymbols,
746 minimal_symbol_count, msymbol_hash, msymbol_demangled_hash>:
747 Move from struct objfile.
748 <minsyms_read>: New field.
749 (struct objfile) <msymbols, minimal_symbol_count,
750 msymbol_hash, msymbol_demangled_hash>: Move.
751 (ALL_OBJFILE_MSYMBOLS): Update.
752 * symfile.c (read_symbols): Set minsyms_read.
753 (reread_symbols): Update.
754 * symmisc.c (dump_objfile, dump_msymbols): Update.
756 2014-02-26 Tom Tromey <tromey@redhat.com>
758 * minsyms.c (msymbols_sort): Remove.
759 * minsyms.h (msymbols_sort): Remove.
760 * objfiles.c (objfile_relocate1): Don't relocate minsyms.
761 * symtab.h (MSYMBOL_VALUE_ADDRESS): Use objfile offsets.
762 * elfread.c (elf_symtab_read): Don't add section offsets.
763 * xcoffread.c (record_minimal_symbol): Don't add section offset
764 to minimal symbol address.
765 * somread.c (text_offset, data_offset): Remove.
766 (som_symtab_read): Don't add section offsets to minimal symbol
768 * coff-pe-read.c (add_pe_forwarded_sym, read_pe_exported_syms):
769 Don't add section offsets to minimal symbols.
770 * coffread.c (coff_symtab_read): Don't add section offsets
771 to minimal symbol addresses.
772 * machoread.c (macho_symtab_add_minsym): Don't add section offset
773 to minimal symbol addresses.
774 * mipsread.c (read_alphacoff_dynamic_symtab): Don't add
775 section offset to minimal symbol addresses.
776 * mdebugread.c (parse_partial_symbols): Don't add section
777 offset to minimal symbol addresses.
778 * dbxread.c (read_dbx_dynamic_symtab): Don't add section
779 offset to minimal symbol addresses.
781 2014-02-26 Tom Tromey <tromey@redhat.com>
783 * ada-lang.c (ada_main_name): Update.
784 (ada_add_standard_exceptions): Update.
785 * ada-tasks.c (ada_tasks_inferior_data_sniffer): Update.
786 * aix-thread.c (pdc_symbol_addrs, pd_enable): Update.
787 * arm-tdep.c (skip_prologue_function, arm_skip_stub): Update.
788 * auxv.c (ld_so_xfer_auxv): Update.
789 * avr-tdep.c (avr_scan_prologue): Update.
790 * ax-gdb.c (gen_var_ref): Update.
791 * blockframe.c (get_pc_function_start)
792 (find_pc_partial_function_gnu_ifunc): Update.
793 * breakpoint.c (create_overlay_event_breakpoint)
794 (create_longjmp_master_breakpoint)
795 (create_std_terminate_master_breakpoint)
796 (create_exception_master_breakpoint): Update.
797 * bsd-uthread.c (bsd_uthread_lookup_address): Update.
798 * c-valprint.c (c_val_print): Update.
799 * coff-pe-read.c (add_pe_forwarded_sym): Update.
800 * common/agent.c (agent_look_up_symbols): Update.
801 * dbxread.c (find_stab_function_addr, end_psymtab): Update.
802 * dwarf2loc.c (call_site_to_target_addr): Update.
803 * dwarf2read.c (dw2_find_pc_sect_symtab): Update.
804 * elfread.c (elf_gnu_ifunc_record_cache)
805 (elf_gnu_ifunc_resolve_by_got): Update.
806 * findvar.c (default_read_var_value): Update.
807 * frame.c (inside_main_func): Update.
808 * frv-tdep.c (frv_frame_this_id): Update.
809 * glibc-tdep.c (glibc_skip_solib_resolver): Update.
810 * gnu-v3-abi.c (gnuv3_get_typeid, gnuv3_skip_trampoline):
812 * hppa-hpux-tdep.c (hppa64_hpux_search_dummy_call_sequence)
813 (hppa_hpux_find_dummy_bpaddr): Update.
814 * hppa-tdep.c (hppa_symbol_address): Update.
815 * infcmd.c (until_next_command): Update.
816 * jit.c (jit_read_descriptor, jit_breakpoint_re_set_internal):
818 * linespec.c (minsym_found, add_minsym): Update.
819 * linux-nat.c (get_signo): Update.
820 * linux-thread-db.c (inferior_has_bug): Update.
821 * m32c-tdep.c (m32c_return_value)
822 (m32c_m16c_address_to_pointer): Update.
823 * m32r-tdep.c (m32r_frame_this_id): Update.
824 * m68hc11-tdep.c (m68hc11_get_register_info): Update.
825 * machoread.c (macho_resolve_oso_sym_with_minsym): Update.
826 * maint.c (maintenance_translate_address): Update.
827 * minsyms.c (lookup_minimal_symbol_by_pc_name): Update.
828 (frob_address): New function.
829 (lookup_minimal_symbol_by_pc_section_1): Use raw addresses,
830 frob_address. Rename parameter to "pc_in".
831 (compare_minimal_symbols, compact_minimal_symbols): Use raw
833 (find_solib_trampoline_target, minimal_symbol_upper_bound):
835 * mips-linux-tdep.c (mips_linux_skip_resolver): Update.
836 * mips-tdep.c (mips_skip_pic_trampoline_code): Update.
837 * objc-lang.c (find_objc_msgsend): Update.
838 * objfiles.c (objfile_relocate1): Update.
839 * obsd-tdep.c (obsd_skip_solib_resolver): Update.
840 * p-valprint.c (pascal_val_print): Update.
841 * parse.c (write_exp_msymbol): Update.
842 * ppc-linux-tdep.c (ppc_linux_spe_context_lookup)
843 (ppc_elfv2_skip_entrypoint): Update.
844 * ppc-sysv-tdep.c (convert_code_addr_to_desc_addr): Update.
845 * printcmd.c (build_address_symbolic, msym_info)
846 (address_info): Update.
847 * proc-service.c (ps_pglobal_lookup): Update.
848 * psymtab.c (find_pc_sect_psymtab_closer)
849 (find_pc_sect_psymtab, find_pc_sect_symtab_from_partial):
850 Change msymbol parameter to bound_minimal_symbol.
851 * ravenscar-thread.c (get_running_thread_id): Update.
852 * remote.c (remote_check_symbols): Update.
853 * sh64-tdep.c (sh64_elf_make_msymbol_special): Use raw
855 * sol2-tdep.c (sol2_skip_solib_resolver): Update.
856 * solib-dsbt.c (lm_base): Update.
857 * solib-frv.c (lm_base, main_got): Update.
858 * solib-irix.c (locate_base): Update.
859 * solib-som.c (som_solib_create_inferior_hook)
860 (link_map_start): Update.
861 * solib-spu.c (spu_enable_break, ocl_enable_break): Update.
862 * solib-svr4.c (elf_locate_base, enable_break): Update.
863 * spu-tdep.c (spu_get_overlay_table, spu_catch_start)
864 (flush_ea_cache): Update.
865 * stabsread.c (define_symbol, scan_file_globals): Update.
866 * stack.c (find_frame_funname): Update.
867 * symfile-debug.c (debug_qf_expand_symtabs_matching)
868 (debug_qf_find_pc_sect_symtab): Update.
869 * symfile.c (simple_read_overlay_table)
870 (simple_overlay_update): Update.
871 * symfile.h (struct quick_symbol_functions)
872 <find_pc_sect_symtab>: Change type of msymbol to
873 bound_minimal_symbol.
874 * symmisc.c (dump_msymbols): Update.
875 * symtab.c (find_pc_sect_symtab_via_partial)
876 (find_pc_sect_psymtab, find_pc_sect_line, skip_prologue_sal)
877 (search_symbols, print_msymbol_info): Update.
878 * symtab.h (MSYMBOL_VALUE_RAW_ADDRESS): New macro.
879 (MSYMBOL_VALUE_ADDRESS): Redefine.
880 (BMSYMBOL_VALUE_ADDRESS): New macro.
881 * tracepoint.c (scope_info): Update.
882 * tui/tui-disasm.c (tui_find_disassembly_address)
883 (tui_get_begin_asm_address): Update.
884 * valops.c (find_function_in_inferior): Update.
885 * value.c (value_static_field, value_fn_field): Update.
887 2014-02-26 Tom Tromey <tromey@redhat.com>
889 * ada-lang.c (ada_update_initial_language): Update.
890 (ada_main_name, ada_has_this_exception_support): Update.
891 * ada-tasks.c (ada_tasks_inferior_data_sniffer): Update.
892 * aix-thread.c (pdc_symbol_addrs, pd_enable): Update.
893 * arm-tdep.c (arm_skip_stub): Update.
894 * auxv.c (ld_so_xfer_auxv): Update.
895 * avr-tdep.c (avr_scan_prologue): Update.
896 * ax-gdb.c (gen_var_ref): Update.
897 * breakpoint.c (struct breakpoint_objfile_data)
898 <overlay_msym, longjmp_msym, terminate_msym, exception_msym>: Change
899 type to bound_minimal_symbol.
900 (create_overlay_event_breakpoint)
901 (create_longjmp_master_breakpoint)
902 (create_std_terminate_master_breakpoint)
903 (create_exception_master_breakpoint): Update.
904 * bsd-uthread.c (bsd_uthread_lookup_address): Update.
905 * c-exp.y (classify_name): Update.
906 * coffread.c (coff_symfile_read): Update.
907 * common/agent.c (agent_look_up_symbols): Update.
908 * d-lang.c (d_main_name): Update.
909 * dbxread.c (find_stab_function_addr, end_psymtab): Update.
910 * dec-thread.c (enable_dec_thread): Update.
911 * dwarf2loc.c (call_site_to_target_addr): Update.
912 * elfread.c (elf_gnu_ifunc_resolve_by_got): Update.
913 * eval.c (evaluate_subexp_standard): Update.
914 * findvar.c (struct minsym_lookup_data) <result>: Change type
915 to bound_minimal_symbol.
917 (minsym_lookup_iterator_cb, default_read_var_value): Update.
918 * frame.c (inside_main_func): Update.
919 * frv-tdep.c (frv_frame_this_id): Update.
920 * gcore.c (call_target_sbrk): Update.
921 * glibc-tdep.c (glibc_skip_solib_resolver): Update.
922 * gnu-v3-abi.c (gnuv3_get_typeid, gnuv3_skip_trampoline):
924 * go-lang.c (go_main_name): Update.
925 * hppa-hpux-tdep.c (hppa_hpux_skip_trampoline_code)
926 (hppa_hpux_find_import_stub_for_addr): Update.
927 * hppa-tdep.c (hppa_extract_17, hppa_lookup_stub_minimal_symbol):
928 Update. Change return type.
929 * hppa-tdep.h (hppa_lookup_stub_minimal_symbol): Change return
931 * jit.c (jit_breakpoint_re_set_internal): Update.
932 * linux-fork.c (inferior_call_waitpid, checkpoint_command):
934 * linux-nat.c (get_signo): Update.
935 * linux-thread-db.c (inferior_has_bug): Update
936 * m32c-tdep.c (m32c_return_value)
937 (m32c_m16c_address_to_pointer): Update.
938 * m32r-tdep.c (m32r_frame_this_id): Update.
939 * m68hc11-tdep.c (m68hc11_get_register_info): Update.
940 * machoread.c (macho_resolve_oso_sym_with_minsym): Update.
941 * minsyms.c (lookup_minimal_symbol_internal): Rename to
942 lookup_minimal_symbol. Change return type.
943 (lookup_minimal_symbol): Remove.
944 (lookup_bound_minimal_symbol): Update.
945 (lookup_minimal_symbol_text): Change return type.
946 (lookup_minimal_symbol_solib_trampoline): Change return type.
947 * minsyms.h (lookup_minimal_symbol, lookup_minimal_symbol_text)
948 (lookup_minimal_symbol_solib_trampoline): Change return type.
949 * mips-linux-tdep.c (mips_linux_skip_resolver): Update.
950 * objc-lang.c (lookup_objc_class, lookup_child_selector)
951 (value_nsstring, find_imps): Update.
952 * obsd-tdep.c (obsd_skip_solib_resolver): Update.
953 * p-lang.c (pascal_main_name): Update.
954 * ppc-linux-tdep.c (ppc_linux_spe_context_lookup): Update.
955 * ppc-sysv-tdep.c (convert_code_addr_to_desc_addr): Update.
956 * proc-service.c (ps_pglobal_lookup): Update.
957 * ravenscar-thread.c (get_running_thread_msymbol): Change
959 (has_ravenscar_runtime, get_running_thread_id): Update.
960 * remote.c (remote_check_symbols): Update.
961 * sol-thread.c (ps_pglobal_lookup): Update.
962 * sol2-tdep.c (sol2_skip_solib_resolver): Update.
963 * solib-dsbt.c (lm_base): Update.
964 * solib-frv.c (lm_base, frv_relocate_section_addresses):
966 * solib-irix.c (locate_base): Update.
967 * solib-som.c (som_solib_create_inferior_hook)
968 (som_solib_desire_dynamic_linker_symbols, link_map_start):
970 * solib-spu.c (spu_enable_break): Update.
971 * solib-svr4.c (elf_locate_base, enable_break): Update.
972 * spu-tdep.c (spu_get_overlay_table, spu_catch_start)
973 (flush_ea_cache): Update.
974 * stabsread.c (define_symbol): Update.
975 * symfile.c (simple_read_overlay_table): Update.
976 * symtab.c (find_pc_sect_line): Update.
977 * tracepoint.c (scope_info): Update.
978 * tui-disasm.c (tui_get_begin_asm_address): Update.
979 * value.c (value_static_field): Update.
981 2014-02-26 Tom Tromey <tromey@redhat.com>
983 * minsyms.c (prim_record_minimal_symbol_full): Use
984 SET_MSYMBOL_VALUE_ADDRESS.
985 * objfiles.c (objfile_relocate1): Use SET_MSYMBOL_VALUE_ADDRESS.
986 * sh64-tdep.c (sh64_elf_make_msymbol_special): Use
987 SET_MSYMBOL_VALUE_ADDRESS.
988 * symtab.h (MSYMBOL_VALUE_ADDRESS): Expand to an rvalue.
989 (SET_MSYMBOL_VALUE_ADDRESS): New macro.
991 2014-02-26 Tom Tromey <tromey@redhat.com>
993 * symtab.h (struct minimal_symbol) <mginfo>: Rename from ginfo.
994 (MSYMBOL_VALUE, MSYMBOL_VALUE_ADDRESS, MSYMBOL_VALUE_BYTES)
995 (MSYMBOL_BLOCK_VALUE, MSYMBOL_VALUE_CHAIN, MSYMBOL_LANGUAGE)
996 (MSYMBOL_SECTION, MSYMBOL_OBJ_SECTION, MSYMBOL_NATURAL_NAME)
997 (MSYMBOL_LINKAGE_NAME, MSYMBOL_PRINT_NAME, MSYMBOL_DEMANGLED_NAME)
998 (MSYMBOL_SET_LANGUAGE, MSYMBOL_SEARCH_NAME)
999 (MSYMBOL_MATCHES_SEARCH_NAME, MSYMBOL_SET_NAMES): New macros.
1000 * ada-lang.c (ada_main_name): Update.
1001 (ada_lookup_simple_minsym): Update.
1002 (ada_make_symbol_completion_list): Update.
1003 (ada_add_standard_exceptions): Update.
1004 * ada-tasks.c (read_atcb, ada_tasks_inferior_data_sniffer): Update.
1005 * aix-thread.c (pdc_symbol_addrs, pd_enable): Update.
1006 * amd64-windows-tdep.c (amd64_skip_main_prologue): Update.
1007 * arm-tdep.c (skip_prologue_function): Update.
1008 (arm_skip_stack_protector, arm_skip_stub): Update.
1009 * arm-wince-tdep.c (arm_pe_skip_trampoline_code): Update.
1010 (arm_wince_skip_main_prologue): Update.
1011 * auxv.c (ld_so_xfer_auxv): Update.
1012 * avr-tdep.c (avr_scan_prologue): Update.
1013 * ax-gdb.c (gen_var_ref): Update.
1014 * block.c (call_site_for_pc): Update.
1015 * blockframe.c (get_pc_function_start): Update.
1016 (find_pc_partial_function_gnu_ifunc): Update.
1017 * breakpoint.c (create_overlay_event_breakpoint): Update.
1018 (create_longjmp_master_breakpoint): Update.
1019 (create_std_terminate_master_breakpoint): Update.
1020 (create_exception_master_breakpoint): Update.
1021 (resolve_sal_pc): Update.
1022 * bsd-uthread.c (bsd_uthread_lookup_address): Update.
1023 * btrace.c (ftrace_print_function_name, ftrace_function_switched):
1025 * c-valprint.c (c_val_print): Update.
1026 * coff-pe-read.c (add_pe_forwarded_sym): Update.
1027 * coffread.c (coff_symfile_read): Update.
1028 * common/agent.c (agent_look_up_symbols): Update.
1029 * dbxread.c (find_stab_function_addr): Update.
1030 (end_psymtab): Update.
1031 * dwarf2loc.c (call_site_to_target_addr): Update.
1032 (func_verify_no_selftailcall): Update.
1033 (tailcall_dump): Update.
1034 (call_site_find_chain_1): Update.
1035 (dwarf_expr_reg_to_entry_parameter): Update.
1036 * elfread.c (elf_gnu_ifunc_record_cache): Update.
1037 (elf_gnu_ifunc_resolve_by_got): Update.
1038 * f-valprint.c (info_common_command): Update.
1039 * findvar.c (read_var_value): Update.
1040 * frame.c (get_prev_frame_1): Update.
1041 (inside_main_func): Update.
1042 * frv-tdep.c (frv_skip_main_prologue): Update.
1043 (frv_frame_this_id): Update.
1044 * glibc-tdep.c (glibc_skip_solib_resolver): Update.
1045 * gnu-v2-abi.c (gnuv2_value_rtti_type): Update.
1046 * gnu-v3-abi.c (gnuv3_rtti_type): Update.
1047 (gnuv3_skip_trampoline): Update.
1048 * hppa-hpux-tdep.c (hppa32_hpux_in_solib_call_trampoline): Update.
1049 (hppa64_hpux_in_solib_call_trampoline): Update.
1050 (hppa_hpux_skip_trampoline_code): Update.
1051 (hppa64_hpux_search_dummy_call_sequence): Update.
1052 (hppa_hpux_find_import_stub_for_addr): Update.
1053 (hppa_hpux_find_dummy_bpaddr): Update.
1054 * hppa-tdep.c (hppa_symbol_address)
1055 (hppa_lookup_stub_minimal_symbol): Update.
1056 * i386-tdep.c (i386_skip_main_prologue): Update.
1057 (i386_pe_skip_trampoline_code): Update.
1058 * ia64-tdep.c (ia64_convert_from_func_ptr_addr): Update.
1059 * infcall.c (get_function_name): Update.
1060 * infcmd.c (until_next_command): Update.
1061 * jit.c (jit_breakpoint_re_set_internal): Update.
1062 (jit_inferior_init): Update.
1063 * linespec.c (minsym_found): Update.
1064 (add_minsym): Update.
1065 * linux-fork.c (info_checkpoints_command): Update.
1066 * linux-nat.c (get_signo): Update.
1067 * linux-thread-db.c (inferior_has_bug): Update.
1068 * m32c-tdep.c (m32c_return_value): Update.
1069 (m32c_m16c_address_to_pointer): Update.
1070 (m32c_m16c_pointer_to_address): Update.
1071 * m32r-tdep.c (m32r_frame_this_id): Update.
1072 * m68hc11-tdep.c (m68hc11_get_register_info): Update.
1073 * machoread.c (macho_resolve_oso_sym_with_minsym): Update.
1074 * maint.c (maintenance_translate_address): Update.
1075 * minsyms.c (add_minsym_to_hash_table): Update.
1076 (add_minsym_to_demangled_hash_table): Update.
1077 (msymbol_objfile): Update.
1078 (lookup_minimal_symbol): Update.
1079 (iterate_over_minimal_symbols): Update.
1080 (lookup_minimal_symbol_text): Update.
1081 (lookup_minimal_symbol_by_pc_name): Update.
1082 (lookup_minimal_symbol_solib_trampoline): Update.
1083 (lookup_minimal_symbol_by_pc_section_1): Update.
1084 (lookup_minimal_symbol_and_objfile): Update.
1085 (prim_record_minimal_symbol_full): Update.
1086 (compare_minimal_symbols): Update.
1087 (compact_minimal_symbols): Update.
1088 (build_minimal_symbol_hash_tables): Update.
1089 (install_minimal_symbols): Update.
1090 (terminate_minimal_symbol_table): Update.
1091 (find_solib_trampoline_target): Update.
1092 (minimal_symbol_upper_bound): Update.
1093 * mips-linux-tdep.c (mips_linux_skip_resolver): Update.
1094 * mips-tdep.c (mips_stub_frame_sniffer): Update.
1095 (mips_skip_pic_trampoline_code): Update.
1096 * msp430-tdep.c (msp430_skip_trampoline_code): Update.
1097 * objc-lang.c (selectors_info): Update.
1098 (classes_info): Update.
1099 (find_methods): Update.
1100 (find_imps): Update.
1101 (find_objc_msgsend): Update.
1102 * objfiles.c (objfile_relocate1): Update.
1103 * objfiles.h (ALL_OBJFILE_MSYMBOLS): Update.
1104 * obsd-tdep.c (obsd_skip_solib_resolver): Update.
1105 * p-valprint.c (pascal_val_print): Update.
1106 * parse.c (write_exp_msymbol): Update.
1107 * ppc-linux-tdep.c (powerpc_linux_in_dynsym_resolve_code)
1108 (ppc_linux_spe_context_lookup, ppc_elfv2_skip_entrypoint): Update.
1109 * ppc-sysv-tdep.c (convert_code_addr_to_desc_addr): Update.
1110 * printcmd.c (build_address_symbolic): Update.
1112 (address_info): Update.
1113 * proc-service.c (ps_pglobal_lookup): Update.
1114 * psymtab.c (find_pc_sect_psymtab_closer): Update.
1115 (find_pc_sect_psymtab): Update.
1116 * python/py-framefilter.c (py_print_frame): Update.
1117 * ravenscar-thread.c (get_running_thread_id): Update.
1118 * record-btrace.c (btrace_call_history, btrace_get_bfun_name):
1120 * remote.c (remote_check_symbols): Update.
1121 * rs6000-tdep.c (rs6000_skip_main_prologue): Update.
1122 (rs6000_skip_trampoline_code): Update.
1123 * sh64-tdep.c (sh64_elf_make_msymbol_special): Update.
1124 * sol2-tdep.c (sol2_skip_solib_resolver): Update.
1125 * solib-dsbt.c (lm_base): Update.
1126 * solib-frv.c (lm_base): Update.
1128 * solib-irix.c (locate_base): Update.
1129 * solib-som.c (som_solib_create_inferior_hook): Update.
1130 (som_solib_desire_dynamic_linker_symbols): Update.
1131 (link_map_start): Update.
1132 * solib-spu.c (spu_enable_break): Update.
1133 (ocl_enable_break): Update.
1134 * solib-svr4.c (elf_locate_base): Update.
1135 (enable_break): Update.
1136 * spu-tdep.c (spu_get_overlay_table): Update.
1137 (spu_catch_start): Update.
1138 (flush_ea_cache): Update.
1139 * stabsread.c (define_symbol): Update.
1140 (scan_file_globals): Update.
1141 * stack.c (find_frame_funname): Update.
1142 (frame_info): Update.
1143 * symfile.c (simple_read_overlay_table): Update.
1144 (simple_overlay_update): Update.
1145 * symmisc.c (dump_msymbols): Update.
1146 * symtab.c (fixup_section): Update.
1147 (find_pc_sect_line): Update.
1148 (skip_prologue_sal): Update.
1149 (search_symbols): Update.
1150 (print_msymbol_info): Update.
1151 (rbreak_command): Update.
1152 (MCOMPLETION_LIST_ADD_SYMBOL): New macro.
1153 (completion_list_objc_symbol): Update.
1154 (default_make_symbol_completion_list_break_on): Update.
1155 * tracepoint.c (scope_info): Update.
1156 * tui/tui-disasm.c (tui_find_disassembly_address): Update.
1157 (tui_get_begin_asm_address): Update.
1158 * valops.c (find_function_in_inferior): Update.
1159 * value.c (value_static_field): Update.
1160 (value_fn_field): Update.
1162 2014-02-26 Tom Tromey <tromey@redhat.com>
1164 * blockframe.c (find_pc_partial_function_gnu_ifunc): Use
1165 bound minimal symbols. Move code that knows about minsym
1167 * minsyms.c (minimal_symbol_upper_bound): ... here. New
1169 * minsyms.h (minimal_symbol_upper_bound): Declare.
1170 * objc-lang.c (find_objc_msgsend): Use bound minimal symbols,
1171 minimal_symbol_upper_bound.
1173 2014-02-27 Joel Brobecker <brobecker@adacore.com>
1175 * python/lib/gdb/printing.py (RegexpCollectionPrettyPrinter):
1176 Use the type's name if its basic type does not have a tag.
1178 2014-02-27 Joel Brobecker <brobecker@adacore.com>
1180 * dwarf2read.c (read_subrange_type): Add comment.
1182 2014-02-27 Joel Brobecker <brobecker@adacore.com>
1184 * dwarf2read.c (update_enumeration_type_from_children): New
1185 function, mostly extracted from process_structure_scope.
1186 (read_enumeration_type): Call update_enumeration_type_from_children.
1187 (process_enumeration_scope): Do not set THIS_TYPE's flag_unsigned
1188 and flag_flag_enum fields.
1190 2014-02-26 Pedro Alves <palves@redhat.com>
1192 * bsd-uthread.c (bsd_uthread_xfer_partial): Delete function.
1193 (bsd_uthread_target): Don't install bsd_uthread_xfer_partial as
1194 to_xfer_partial method.
1196 2014-02-26 Pedro Alves <palves@redhat.com>
1198 * target.c (complete_target_initialization): Don't install
1199 default_xfer_partial as to_xfer_partial hook.
1201 (update_current_target): Don't INHERIT nor de_fault
1202 deprecated_xfer_memory. Delete de_fault macro.
1203 (default_xfer_partial, deprecated_debug_xfer_memory): Delete.
1204 (setup_target_debug): Don't install a deprecated_xfer_memory hook.
1205 * target.h (struct target_ops) <deprecated_xfer_memory>: Delete
1208 2014-02-26 Pedro Alves <palves@redhat.com>
1210 * go32-nat.c (my_write_child): New function.
1211 (go32_xfer_memory): Rewrite as to_xfer_partial helper.
1212 (go32_xfer_partial): New function.
1213 (init_go32_ops): Don't install a deprecated_xfer_memory hook.
1214 Instead install a to_xfer_partial hook.
1216 2014-02-26 Pedro Alves <palves@redhat.com>
1218 * nto-procfs.c (procfs_xfer_memory): Adjust interface as a
1219 to_xfer_partial helper. Rewrite.
1220 (procfs_xfer_partial): New function.
1221 (init_procfs_ops): Don't install a deprecated_xfer_memory hook.
1222 Install a to_xfer_partial hook.
1224 2014-02-26 Pedro Alves <palves@redhat.com>
1226 * remote-m32r-sdi.c (send_data): Constify 'buf' parameter.
1227 (m32r_xfer_memory): Adjust as a to_xfer_partial helper.
1228 (m32r_xfer_partial): New function.
1229 (init_m32r_ops): Don't install a deprecated_xfer_memory hook.
1230 Install a to_xfer_partial hook.
1232 2014-02-26 Pedro Alves <palves@redhat.com>
1234 * remote-mips.c (mips_xfer_memory): Adjust as to_xfer_partial
1236 (mips_xfer_partial): New function.
1237 (_initialize_remote_mips): Don't install a deprecated_xfer_memory
1238 hook. Install a to_xfer_partial hook.
1240 2014-02-26 Joel Brobecker <brobecker@adacore.com>
1242 * gdbtypes.h (create_array_type_with_stride): Add declaration.
1243 * gdbtypes.c (create_array_type_with_stride): New function,
1244 renaming create_array_type, but with an added parameter
1245 called "bit_stride".
1246 (create_array_type): Re-implement using
1247 create_array_type_with_stride.
1248 * dwarf2read.c (read_array_type): Add support for DW_AT_byte_stride
1249 and DW_AT_bit_stride attributes.
1251 2014-02-26 Pedro Alves <palves@redhat.com>
1253 * breakpoint.c (bpstat_check_breakpoint_conditions): Handle
1254 task-specific breakpoints.
1256 2014-02-25 Pedro Alves <palves@redhat.com>
1258 * ia64-linux-nat.c (ia64_linux_xfer_partial): Reimplement
1259 handling of object == TARGET_OBJECT_UNWIND_TABLE.
1261 2014-02-25 Stan Shebs <stan@codesourcery.com>
1263 * defs.h: Annotate comments for Doxygen.
1265 2014-02-25 Tom Tromey <tromey@redhat.com>
1267 * target.h (target_ignore): Don't declare.
1268 * target.c (target_ignore): Remove.
1270 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
1273 * auto-load.c (auto_load_objfile_script_1): Change filename to
1276 2014-02-25 Joel Brobecker <brobecker@adacore.com>
1278 * ia64-linux-nat.c (ia64_linux_xfer_partial): Add function
1279 documentation. Adjust prototype to match the target_ops
1280 to_xfer_partial method. Adjust implementation accordingly.
1282 2014-02-25 Hui Zhu <hui@codesourcery.com>
1284 * target.h (target_ops): Fix TARGET_DEFAULT_RETURN of
1287 2014-02-25 Kevin Buettner <kevinb@redhat.com>
1289 * rl78-tdep.c (RL78_BANK0_RP0_PTR_REGNUM, RL78_BANK0_RP1_PTR_REGNUM)
1290 (RL78_BANK0_RP2_PTR_REGNUM, RL78_BANK0_RP3_PTR_REGNUM)
1291 (RL78_BANK1_RP0_PTR_REGNUM, RL78_BANK1_RP1_PTR_REGNUM)
1292 (RL78_BANK1_RP2_PTR_REGNUM, RL78_BANK1_RP3_PTR_REGNUM)
1293 (RL78_BANK2_RP0_PTR_REGNUM, RL78_BANK2_RP1_PTR_REGNUM)
1294 (RL78_BANK2_RP2_PTR_REGNUM, RL78_BANK2_RP3_PTR_REGNUM)
1295 (RL78_BANK3_RP0_PTR_REGNUM, RL78_BANK3_RP1_PTR_REGNUM)
1296 (RL78_BANK3_RP2_PTR_REGNUM, RL78_BANK3_RP3_PTR_REGNUM):
1298 (rl78_register_type): Use a data pointer type for SP and
1299 new pseudo registers mentioned above. Use a 16 bit integer
1300 type for all other register pairs.
1301 (rl78_register_name, rl78_g10_register_name): Update for
1302 new pseudo registers.
1303 (rl78_pseudo_register_read): Likewise.
1304 (rl78_pseudo_register_write): Likewise.
1305 (rl78_dwarf_reg_to_regnum): Return register numbers representing
1306 to the newly added pseudo registers.
1308 2014-02-24 Doug Evans <dje@google.com>
1310 * value.c (record_latest_value): Fix comment.
1311 * printcmd.c (print_command_1): Remove code to handle -1 return from
1312 record_latest_value.
1314 2014-02-24 Pedro Alves <palves@redhat.com>
1316 * procfs.c (procfs_target): Don't install procfs_xfer_memory as
1317 deprecated_xfer_memory hook.
1318 (procfs_xfer_partial): Call procfs_xfer_memory instead
1319 of the deprecated_xfer_memory target hook.
1320 (procfs_xfer_memory): Adjust interface as a to_xfer_partial
1323 2014-02-24 Yuanhui Zhang <asmwarrior@gmail.com>
1325 * windows-nat.c (windows_xfer_shared_libraries): Return
1326 TARGET_XFER_EOF if LEN is zero to fix an assert failure when
1327 requested object is TARGET_OBJECT_LIBRARIES.
1329 2014-02-24 Yao Qi <yao@codesourcery.com>
1331 * target.h (enum target_xfer_status)
1332 <TARGET_XFER_E_UNAVAILABLE>: Rename it to ...
1333 <TARGET_XFER_UNAVAILABLE>: ... it with setting value 2
1335 * corefile.c (memory_error_message): User updated.
1336 * exec.c (section_table_read_available_memory): Likewise.
1337 * record-btrace.c (record_btrace_xfer_partial): Likewise.
1338 * target.c (target_xfer_status_to_string): Likewise.
1339 (raw_memory_xfer_partial): Likewise.
1340 (memory_xfer_partial_1, target_xfer_partial): Likewise.
1341 * valops.c (read_value_memory): Likewise.
1342 * exec.h: Update comments.
1344 2014-02-24 Yao Qi <yao@codesourcery.com>
1346 * target.c (target_xfer_status_to_string): Rename argument err
1348 * target.h (target_xfer_status_to_string): Update declaration.
1349 Replace target_xfer_error_to_string with
1350 target_xfer_status_to_string in comment.
1352 2014-02-24 Yao Qi <yao@codesourcery.com>
1354 * mips-linux-nat.c (super_close): Update its type.
1355 (mips_linux_close): Pass 'self' to super_close.
1357 2014-02-24 Yao Qi <yao@codesourcery.com>
1359 * target.h (TARGET_XFER_STATUS_ERROR_P): Remove.
1360 * corefile.c (read_memory): Adjusted.
1361 * target.c (target_write_with_progress): Adjusted.
1363 2014-02-23 Yao Qi <yao@codesourcery.com>
1367 2013-10-25 Yao Qi <yao@codesourcery.com>
1369 * remote.c (remote_traceframe_info): Return early if
1370 traceframe is not selected.
1372 2013-07-19 Yao Qi <yao@codesourcery.com>
1374 * target.c (update_current_target): Change the default action
1375 of 'to_traceframe_info' from tcomplain to return_zero.
1376 * target.h (struct target_ops) <to_traceframe_info>: Add more
1379 2014-02-23 Yao Qi <yao@codesourcery.com>
1381 * valops.c (read_value_memory): Rewrite it. Call
1382 target_xfer_partial in a loop.
1383 * exec.h (section_table_available_memory): Remove declaration.
1384 Move comments to ...
1385 * exec.c (section_table_available_memory): ... here. Make it
1388 2014-02-23 Yao Qi <yao@codesourcery.com>
1390 * exec.c (section_table_read_available_memory): New function.
1391 * exec.h (section_table_read_available_memory): Declare.
1392 * ctf.c (ctf_xfer_partial): Call
1393 section_table_read_available_memory.
1394 * tracefile-tfile.c (tfile_xfer_partial): Likewise.
1396 2014-02-23 Yao Qi <yao@codesourcery.com>
1398 * ctf.c (ctf_xfer_partial): Move code to ...
1399 * exec.c (exec_read_partial_read_only): ... it. New function.
1400 * tracefile-tfile.c (tfile_xfer_partial): Likewise.
1401 * tracefile.c: Include "exec.h".
1402 * exec.h (exec_read_partial_read_only): Declare.
1404 2014-02-23 Yao Qi <yao@codesourcery.com>
1406 * tracefile-tfile.c (tfile_has_all_memory): Remove.
1407 (tfile_has_memory): Remove.
1408 (init_tfile_ops): Don't set fields to_has_all_memory and
1409 to_has_memory of tfile_ops.
1410 * tracefile.c (tracefile_has_all_memory): New function.
1411 (tracefile_has_memory): New function.
1412 (init_tracefile_ops): Initialize fields to_has_all_memory and
1413 to_has_memory of 'ops'.
1415 2014-02-23 Yao Qi <yao@codesourcery.com>
1417 * ctf.c (ctf_has_stack, ctf_has_registers): Remove.
1418 (ctf_thread_alive, ctf_get_trace_status): Remove.
1419 (init_ctf_ops): Don't set some fields of ctf_ops. Call
1421 * tracefile-tfile.c (tfile_get_trace_status): Remove.
1422 (tfile_has_stack, tfile_has_registers): Remove.
1423 (tfile_thread_alive): Remove.
1424 (init_tfile_ops): Don't set some fields of tfile_ops. Call
1426 * tracefile.c (tracefile_has_stack): New function.
1427 (tracefile_has_registers): New function.
1428 (tracefile_thread_alive): New function.
1429 (tracefile_get_trace_status): New function.
1430 (init_tracefile_ops): New function.
1431 * tracefile.h (init_tracefile_ops): Declare.
1433 2014-02-23 Yao Qi <yao@codesourcery.com>
1435 * tracepoint.c (TFILE_PID): Move it to tracefile-tfile.c.
1436 (O_LARGEFILE): Likewise.
1437 (tfile_ops): Likewise.
1438 (TRACE_HEADER_SIZE): Likewise.
1439 (trace_fd, trace_frames_offset, cur_offset): Likewise.
1440 (cur_data_size): Likewise.
1441 (tfile_read, tfile_open, tfile_interp_line): Likewise.
1442 (tfile_close, tfile_files_info): Likewise.
1443 (tfile_get_trace_status): Likewise.
1444 (tfile_get_tracepoint_status): Likewise.
1445 (tfile_get_traceframe_address): Likewise.
1446 (tfile_trace_find, match_blocktype): Likewise.
1447 (traceframe_walk_blocks, traceframe_find_block_type): Likewise.
1448 (tfile_fetch_registers, tfile_xfer_partial): Likewise.
1449 (tfile_get_trace_state_variable_value): Likewise.
1450 (tfile_has_all_memory, tfile_has_memory): Likewise.
1451 (tfile_has_stack, tfile_has_registers): Likewise.
1452 (tfile_thread_alive, build_traceframe_info): Likewise.
1453 (tfile_traceframe_info, init_tfile_ops): Likewise.
1454 (_initialize_tracepoint): Don't call init_tfile_ops
1455 and add_target_with_completer.
1456 * tracefile-tfile.c: Include regcache.h, inferior.h, gdbthread.h,
1457 exec.h, completer.h and filenames.h.
1458 (_initialize_tracefile_tfile): New function.
1460 2014-02-23 Yao Qi <yao@codesourcery.com>
1462 * Makefile.in (REMOTE_OBS): Append tracefile.o and
1464 (HFILES_NO_SRCDIR): Add tracefile.h.
1465 * ctf.c: Include "tracefile.h".
1466 * tracefile.h: New file.
1467 * tracefile.c: New file
1468 * tracefile-tfile.c: New file.
1469 * tracepoint.c: Include "tracefile.h".
1470 (free_uploaded_tps, free_uploaded_tsvs): Remove declarations.
1471 (stop_reason_names): Add const.
1472 (trace_file_writer_xfree): Move it to tracefile.c.
1473 (trace_save, trace_save_command, trace_save_tfile): Likewise.
1474 (trace_save_ctf): Likewise.
1475 (struct tfile_trace_file_writer): Move it to tracefile-tfile.c.
1476 (tfile_target_save, tfile_dtor, tfile_start): Likewise.
1477 (tfile_write_header, tfile_write_regblock_type): Likewise.
1478 (tfile_write_status, tfile_write_uploaded_tsv): Likewise.
1479 (tfile_write_uploaded_tp, tfile_write_definition_end): Likewise.
1480 (tfile_write_raw_data, tfile_end): Likewise.
1481 (tfile_trace_file_writer_new): Likewise.
1482 (free_uploaded_tp): Make it extern.
1483 (free_uploaded_tsv): Make it extern.
1484 (_initialize_tracepoint): Move code to register command 'tsave'
1486 * tracepoint.h (stop_reason_names): Declare.
1487 (struct trace_frame_write_ops): Move it to tracefile.h.
1488 (struct trace_file_write_ops): Likewise.
1489 (struct trace_file_writer): Likewise.
1490 (free_uploaded_tsvs, free_uploaded_tps): Declare.
1492 2014-02-21 Jan Kratochvil <jan.kratochvil@redhat.com>
1495 * common/linux-osdata.c (linux_common_core_of_thread): Find the end of
1497 (get_cores_used_by_process): New parameter num_cores, use it.
1498 (linux_xfer_osdata_processes): Pass num_cores to it.
1499 * linux-tdep.c (linux_info_proc, linux_fill_prpsinfo): Find the end of
1502 2014-02-21 Andreas Arnez <arnez@vnet.linux.ibm.com>
1504 * target.c (memory_xfer_partial): Fix length arg in call to
1505 breakpoint_xfer_memory.
1507 2014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
1510 * i386-tdep.c (i386_stap_parse_special_token_triplet): Check if a
1511 number comes after the + or - signs. Adjust length of register
1512 name to be extracted.
1514 2014-02-20 Tom Tromey <tromey@redhat.com>
1516 * varobj.h (c_varobj_ops, cplus_varobj_ops, java_varobj_ops)
1517 (ada_varobj_ops): Mark "extern".
1519 2014-02-20 Tom Tromey <tromey@redhat.com>
1521 * dbxread.c (read_dbx_symtab): Remove last_o_file_start.
1523 2014-02-20 Doug Evans <xdje42@gmail.com>
1525 * guile/scm-gsmob.c (gdbscm_init_eqable_gsmob): New arg containing_scm.
1526 All callers updated.
1527 (gdbscm_fill_eqable_gsmob_ptr_slot): Delete arg containing_scm.
1528 All callers updated.
1529 * guile/guile-internal.h (gdbscm_init_eqable_gsmob): Update.
1530 (gdbscm_fill_eqable_gsmob_ptr_slot): Update.
1532 2014-02-20 lin zuojian <manjian2006@gmail.com>
1533 Joel Brobecker <brobecker@adacore.com>
1534 Doug Evans <xdje42@gmail.com>
1537 * dwarf2read.c (struct die_info): New member in_process.
1538 (reset_die_in_process): New function.
1539 (process_die): Set it at the start, reset when returning.
1540 (inherit_abstract_dies): Only call process_die if origin_child_die
1541 not already being processed.
1543 2014-02-20 Joel Brobecker <brobecker@adacore.com>
1545 * windows-nat.c (handle_unload_dll): Add function documentation.
1546 (do_initial_windows_stuff): Add comment explaining why we wait
1547 until after inferior initialization has finished before
1548 processing all DLLs.
1550 2014-02-20 Joel Brobecker <brobecker@adacore.com>
1552 * windows-nat.c (get_module_name): Delete.
1553 (windows_get_exec_module_filename): New function, mostly
1554 inspired from get_module_name.
1555 (windows_pid_to_exec_file): Replace call to get_module_name
1556 by call to windows_get_exec_module_filename.
1558 2014-02-20 Joel Brobecker <brobecker@adacore.com>
1560 * windows-nat.c (handle_load_dll): Rewrite this function's
1561 introductory comment. Remove code using get_module_name
1562 to get the DLL's name.
1564 2014-02-20 Joel Brobecker <brobecker@adacore.com>
1566 * windows-nat.c (get_windows_debug_event): Ignore
1567 LOAD_DLL_DEBUG_EVENT and UNLOAD_DLL_DEBUG_EVENT
1568 if windows_initialization_done == 0.
1569 (windows_add_all_dlls): Renames windows_ensure_ntdll_loaded.
1570 Adjust implementation to always load all DLLs.
1571 (do_initial_windows_stuff): Replace call to
1572 windows_ensure_ntdll_loaded by call to windows_add_all_dlls.
1574 2014-02-20 Joel Brobecker <brobecker@adacore.com>
1576 * windows-nat.c (_initialize_windows_nat): Deprecate the
1577 "dll-symbols" command. Turn the "add-shared-symbol-files"
1578 and "assf" aliases into commands, and deprecate them as well.
1579 * NEWS: Add entry explaining that "dll-symbols" and its two
1580 aliases are now deprecated.
1582 2014-02-20 Joel Brobecker <brobecker@adacore.com>
1584 * dec-thread.c (dec_thread_get_ada_task_ptid): Avoid unescaped
1585 new-line in debug string. Remove trailing spaces.
1587 2014-02-19 Stan Shebs <stan@codesourcery.com>
1589 * darwin-nat.c (darwin_xfer_partial): Fix return type.
1591 2014-02-19 Siva Chandra Reddy <sivachandra@google.com>
1593 * NEWS: Add entry for the new feature
1594 * python/py-value.c (valpy_binop): Call value_x_binop for struct
1597 2014-02-19 Stan Shebs <stan@codesourcery.com>
1599 * MAINTAINERS: List Yao Qi as nios2 maintainer.
1601 2014-02-19 Pedro Alves <palves@redhat.com>
1603 * common/ptid.h (struct ptid): Mention that process_stratum
1604 targets should prefer ptid.lwp.
1606 2014-02-19 Pedro Alves <palves@redhat.com>
1608 * remote.c (remote_thread_alive, write_ptid, read_ptid)
1609 (read_ptid, remote_newthread_step, remote_threads_extra_info)
1610 (remote_get_ada_task_ptid, append_resumption, remote_stop_ns)
1611 (threadalive_test, remote_pid_to_str): Use the ptid.lwp field to
1612 store remote thread ids rather than ptid.tid.
1613 (_initialize_remote): Adjust.
1615 2014-02-19 Tom Tromey <tromey@redhat.com>
1617 * target.c (target_get_unwinder): Rewrite.
1618 (target_get_tailcall_unwinder): Rewrite.
1619 * record-btrace.c (record_btrace_to_get_unwinder): New function.
1620 (record_btrace_to_get_tailcall_unwinder): New function.
1621 (init_record_btrace_ops): Update.
1622 * target.h (struct target_ops) <to_get_unwinder,
1623 to_get_tailcall_unwinder>: Now function pointers. Use
1624 TARGET_DEFAULT_RETURN.
1626 2014-02-19 Tom Tromey <tromey@redhat.com>
1628 * nto-procfs.c (procfs_remove_hw_breakpoint): Add 'self'
1630 (init_procfs_ops): Correctly set to_remove_hw_breakpoint.
1632 2014-02-19 Tom Tromey <tromey@redhat.com>
1634 * record-btrace.c (record_btrace_decr_pc_after_break): Delegate
1636 * target-delegates.c: Rebuild.
1637 * target.h (struct target_ops) <to_decr_pc_after_break>: Use
1638 TARGET_DEFAULT_FUNC.
1639 * target.c (default_target_decr_pc_after_break): Rename from
1640 forward_target_decr_pc_after_break. Simplify.
1641 (target_decr_pc_after_break): Rely on delegation.
1643 2014-02-19 Tom Tromey <tromey@redhat.com>
1645 * target.c (update_current_target): Do not INHERIT to_doc or
1646 to_magic. Do not de_fault to_open or to_close.
1648 2014-02-19 Tom Tromey <tromey@redhat.com>
1650 * gcore.h (objfile_find_memory_regions): Declare.
1651 * gcore.c (objfile_find_memory_regions): No longer static. Add
1653 (_initialize_gcore): Don't call exec_set_find_memory_regions.
1654 * exec.c: Include gcore.h.
1655 (exec_set_find_memory_regions): Remove.
1656 (exec_find_memory_regions): Remove.
1657 (exec_do_find_memory_regions): Remove.
1658 (init_exec_ops): Update.
1659 * defs.h (exec_set_find_memory_regions): Remove.
1661 2014-02-19 Tom Tromey <tromey@redhat.com>
1663 * target-delegates.c: Rebuild.
1664 * target.h (struct target_ops) <to_extra_thread_info,
1665 to_thread_name, to_pid_to_exec_file, to_get_section_table,
1666 to_memory_map, to_read_description, to_traceframe_info>: Use NULL,
1667 not 0, in TARGET_DEFAULT_RETURN.
1669 2014-02-19 Tom Tromey <tromey@redhat.com>
1671 * target.c (complete_target_initialization): Remove casts. Use
1672 return_zero_has_execution.
1673 (return_zero): Add "ignore" argument.
1674 (return_zero_has_execution): New function.
1675 (init_dummy_target): Remove casts. Use
1676 return_zero_has_execution.
1678 2014-02-19 Tom Tromey <tromey@redhat.com>
1680 * target.c (update_current_target): Update comments. Do not
1683 2014-02-19 Tom Tromey <tromey@redhat.com>
1685 * arm-linux-nat.c (arm_linux_read_description): Delegate when
1687 * corelow.c (core_read_description): Delegate when needed.
1688 * remote.c (remote_read_description): Delegate when needed.
1689 * target-delegates.c: Rebuild.
1690 * target.c (target_read_description): Rewrite.
1691 * target.h (struct target_ops) <to_read_description>: Update
1692 comment. Use TARGET_DEFAULT_RETURN.
1694 2014-02-19 Tom Tromey <tromey@redhat.com>
1696 * target-delegates.c: Rebuild.
1697 * target.c (update_current_target): Don't inherit or default
1699 (find_default_run_target): Check against delegate_can_run.
1700 * target.h (struct target_ops) <to_can_run>: Use
1701 TARGET_DEFAULT_RETURN.
1703 2014-02-19 Tom Tromey <tromey@redhat.com>
1705 * target-delegates.c: Rebuild.
1706 * target.c (target_disconnect): Unconditionally delegate.
1707 * target.h (struct target_ops) <to_disconnect>: Use
1708 TARGET_DEFAULT_NORETURN.
1710 2014-02-19 Tom Tromey <tromey@redhat.com>
1712 * record.c (record_stop): Unconditionally delegate.
1713 * target-delegates.c: Rebuild.
1714 * target.c (target_stop_recording): Unconditionally delegate.
1715 * target.h (struct target_ops) <to_stop_recording>: Use
1716 TARGET_DEFAULT_IGNORE.
1718 2014-02-19 Tom Tromey <tromey@redhat.com>
1720 * target-delegates.c: Rebuild.
1721 * target.c (target_enable_btrace): Unconditionally delegate.
1722 * target.h (struct target_ops) <to_enable_btrace>: Use
1723 TARGET_DEFAULT_NORETURN.
1725 2014-02-19 Tom Tromey <tromey@redhat.com>
1727 * target-delegates.c: Rebuild.
1728 * target.c (target_read_btrace): Unconditionally delegate.
1729 * target.h (struct target_ops) <to_read_btrace>: Use
1730 TARGET_DEFAULT_NORETURN.
1732 2014-02-19 Tom Tromey <tromey@redhat.com>
1734 * target-delegates.c: Rebuild.
1735 * target.c (target_teardown_btrace): Unconditionally delegate.
1736 * target.h (struct target_ops) <to_teardown_btrace>: Use
1737 TARGET_DEFAULT_NORETURN.
1739 2014-02-19 Tom Tromey <tromey@redhat.com>
1741 * target-delegates.c: Rebuild.
1742 * target.c (target_disable_btrace): Unconditionally delegate.
1743 * target.h (struct target_ops) <to_disable_btrace>: Use
1744 TARGET_DEFAULT_NORETURN.
1746 2014-02-19 Tom Tromey <tromey@redhat.com>
1748 * target-delegates.c: Rebuild.
1749 * target.c (default_search_memory): New function.
1750 (simple_search_memory): Update comment.
1751 (target_search_memory): Unconditionally delegate.
1752 * target.h (struct target_ops) <to_search_memory>: Use
1753 TARGET_DEFAULT_FUNC.
1755 2014-02-19 Tom Tromey <tromey@redhat.com>
1757 * auxv.c (default_auxv_parse): No longer static.
1758 (target_auxv_parse): Unconditionally delegate.
1759 * auxv.h (default_auxv_parse): Declare.
1760 * target-delegates.c: Rebuild.
1761 * target.c: Include auxv.h.
1762 * target.h (struct target_ops) <to_auxv_parse>: Use
1763 TARGET_DEFAULT_FUNC.
1765 2014-02-19 Tom Tromey <tromey@redhat.com>
1767 * target-delegates.c: Rebuild.
1768 * target.c (target_memory_map): Unconditionally delegate.
1769 * target.h (struct target_ops) <to_memory_map>: Use
1770 TARGET_DEFAULT_RETURN.
1772 2014-02-19 Tom Tromey <tromey@redhat.com>
1774 * target-delegates.c: Rebuild.
1775 * target.c (target_thread_alive): Unconditionally delegate.
1776 * target.h (struct target_ops) <to_thread_alive>: Use
1777 TARGET_DEFAULT_RETURN.
1779 2014-02-19 Tom Tromey <tromey@redhat.com>
1781 * target-delegates.c: Rebuild.
1782 * target.c (target_save_record): Unconditionally delegate.
1783 * target.h (struct target_ops) <to_save_record>: Use
1784 TARGET_DEFAULT_NORETURN.
1786 2014-02-19 Tom Tromey <tromey@redhat.com>
1788 * target-delegates.c: Rebuild.
1789 * target.c (target_delete_record): Unconditionally delegate.
1790 * target.h (struct target_ops) <to_delete_record>: Use
1791 TARGET_DEFAULT_NORETURN.
1793 2014-02-19 Tom Tromey <tromey@redhat.com>
1795 * target-delegates.c: Rebuild.
1796 * target.c (target_record_is_replaying): Unconditionally
1798 * target.h (struct target_ops) <to_record_is_replaying>: Use
1799 TARGET_DEFAULT_RETURN.
1801 2014-02-19 Tom Tromey <tromey@redhat.com>
1803 * target-delegates.c: Rebuild.
1804 * target.c (target_goto_record_begin): Unconditionally delegate.
1805 * target.h (struct target_ops) <to_goto_record_begin>: Use
1806 TARGET_DEFAULT_NORETURN.
1808 2014-02-19 Tom Tromey <tromey@redhat.com>
1810 * target-delegates.c: Rebuild.
1811 * target.c (target_goto_record_end): Unconditionally delegate.
1812 * target.h (struct target_ops) <to_goto_record_end>: Use
1813 TARGET_DEFAULT_NORETURN.
1815 2014-02-19 Tom Tromey <tromey@redhat.com>
1817 * target-delegates.c: Rebuild.
1818 * target.c (target_goto_record): Unconditionally delegate.
1819 * target.h (struct target_ops) <to_goto_record>: Use
1820 TARGET_DEFAULT_NORETURN.
1822 2014-02-19 Tom Tromey <tromey@redhat.com>
1824 * target-delegates.c: Rebuild.
1825 * target.c (target_insn_history): Unconditionally delegate.
1826 * target.h (struct target_ops) <to_insn_history>: Use
1827 TARGET_DEFAULT_NORETURN.
1829 2014-02-19 Tom Tromey <tromey@redhat.com>
1831 * target-delegates.c: Rebuild.
1832 * target.c (target_insn_history_from): Unconditionally delegate.
1833 * target.h (struct target_ops) <to_insn_history_from>: Use
1834 TARGET_DEFAULT_NORETURN.
1836 2014-02-19 Tom Tromey <tromey@redhat.com>
1838 * target-delegates.c: Rebuild.
1839 * target.c (target_insn_history_range): Unconditionally delegate.
1840 * target.h (struct target_ops) <to_insn_history_range>: Use
1841 TARGET_DEFAULT_NORETURN.
1843 2014-02-19 Tom Tromey <tromey@redhat.com>
1845 * target-delegates.c: Rebuild.
1846 * target.c (target_call_history): Unconditionally delegate.
1847 * target.h (struct target_ops) <to_call_history>: Use
1848 TARGET_DEFAULT_NORETURN.
1850 2014-02-19 Tom Tromey <tromey@redhat.com>
1852 * target-delegates.c: Rebuild.
1853 * target.c (target_call_history_from): Unconditionally delegate.
1854 * target.h (struct target_ops) <to_call_history_from>: Use
1855 TARGET_DEFAULT_NORETURN.
1857 2014-02-19 Tom Tromey <tromey@redhat.com>
1859 * target-delegates.c: Rebuild.
1860 * target.c (target_call_history_range): Unconditionally delegate.
1861 * target.h (struct target_ops) <to_call_history_range>: Use
1862 TARGET_DEFAULT_NORETURN.
1864 2014-02-19 Tom Tromey <tromey@redhat.com>
1866 * target-delegates.c: Rebuild.
1867 * target.c (target_verify_memory): Unconditionally delegate.
1868 * target.h (struct target_ops) <to_verify_memory>: Use
1869 TARGET_DEFAULT_NORETURN.
1871 2014-02-19 Tom Tromey <tromey@redhat.com>
1873 * target-delegates.c: Rebuild.
1874 * target.c (target_core_of_thread): Unconditionally delegate.
1875 * target.h (struct target_ops) <to_core_of_thread>: Use
1876 TARGET_DEFAULT_RETURN.
1878 2014-02-19 Tom Tromey <tromey@redhat.com>
1880 * target-delegates.c: Rebuild.
1881 * target.c (target_flash_done): Unconditionally delegate.
1882 * target.h (struct target_ops) <to_flash_done>: Use
1883 TARGET_DEFAULT_NORETURN.
1885 2014-02-19 Tom Tromey <tromey@redhat.com>
1887 * target-delegates.c: Rebuild.
1888 * target.c (target_flash_erase): Unconditionally delegate.
1889 * target.h (struct target_ops) <to_flash_erase>: Use
1890 TARGET_DEFAULT_NORETURN.
1892 2014-02-19 Tom Tromey <tromey@redhat.com>
1894 * target-delegates.c: Rebuild.
1895 * target.c (target_get_section_table): Unconditionally delegate.
1896 * target.h (struct target_ops) <to_get_section_table>: Use
1897 TARGET_DEFAULT_RETURN.
1899 2014-02-19 Tom Tromey <tromey@redhat.com>
1901 * target-delegates.c: Rebuild.
1902 * target.c (target_pid_to_str): Unconditionally delegate.
1903 (init_dummy_target): Don't initialize to_pid_to_str.
1904 (default_pid_to_str): Rename from dummy_pid_to_str.
1905 * target.h (struct target_ops) <to_pid_to_str>: Use
1906 TARGET_DEFAULT_FUNC.
1908 2014-02-19 Tom Tromey <tromey@redhat.com>
1910 * target-delegates.c: Rebuild.
1911 * target.c (target_find_new_threads): Unconditionally delegate.
1912 * target.h (struct target_ops) <to_find_new_threads>: Use
1913 TARGET_DEFAULT_RETURN.
1915 2014-02-19 Tom Tromey <tromey@redhat.com>
1917 * target-delegates.c: Rebuild.
1918 * target.c (target_program_signals): Unconditionally delegate.
1919 * target.h (struct target_ops) <to_program_signals>: Use
1920 TARGET_DEFAULT_IGNORE.
1922 2014-02-19 Tom Tromey <tromey@redhat.com>
1924 * target-delegates.c: Rebuild.
1925 * target.c (target_pass_signals): Unconditionally delegate.
1926 * target.h (struct target_ops) <to_pass_signals>: Use
1927 TARGET_DEFAULT_IGNORE.
1929 2014-02-19 Tom Tromey <tromey@redhat.com>
1931 * target-delegates.c: Rebuild.
1932 * target.c (default_mourn_inferior): New function.
1933 (target_mourn_inferior): Unconditionally delegate.
1934 * target.h (struct target_ops) <to_mourn_inferior>: Use
1935 TARGET_DEFAULT_FUNC.
1937 2014-02-19 Tom Tromey <tromey@redhat.com>
1939 * target-delegates.c: Rebuild.
1940 * target.c (default_follow_fork): New function.
1941 (target_follow_fork): Unconditionally delegate.
1942 * target.h (struct target_ops) <to_follow_fork>: Use
1943 TARGET_DEFAULT_FUNC.
1945 2014-02-19 Tom Tromey <tromey@redhat.com>
1947 * target-delegates.c: Rebuild.
1948 * target.c (target_kill): Unconditionally delegate.
1949 * target.h (struct target_ops) <to_kill>: Use
1950 TARGET_DEFAULT_NORETURN.
1952 2014-02-19 Tom Tromey <tromey@redhat.com>
1954 * target-delegates.c: Rebuild.
1955 * target.c (target_masked_watch_num_registers): Unconditionally
1957 * target.h (struct target_ops) <to_masked_watch_num_registers>:
1958 Use TARGET_DEFAULT_RETURN.
1960 2014-02-19 Tom Tromey <tromey@redhat.com>
1962 * target-delegates.c: Rebuild.
1963 * target.c (target_remove_mask_watchpoint): Unconditionally
1965 * target.h (struct target_ops) <to_remove_mask_watchpoint>: Use
1966 TARGET_DEFAULT_RETURN.
1968 2014-02-19 Tom Tromey <tromey@redhat.com>
1970 * target-delegates.c: Rebuild.
1971 * target.c (target_insert_mask_watchpoint): Unconditionally
1973 * target.h (struct target_ops) <to_insert_mask_watchpoint>: Use
1974 TARGET_DEFAULT_RETURN.
1976 2014-02-19 Tom Tromey <tromey@redhat.com>
1978 * target-delegates.c: Rebuild.
1979 * target.c (target_ranged_break_num_registers): Unconditionally
1981 * target.h (struct target_ops) <to_ranged_break_num_registers>:
1982 Use TARGET_DEFAULT_RETURN.
1984 2014-02-19 Tom Tromey <tromey@redhat.com>
1986 * target-delegates.c: Rebuild.
1987 * target.c (target_fetch_registers): Unconditionally delegate.
1988 * target.h (struct target_ops) <to_fetch_registers>: Use
1989 TARGET_DEFAULT_NORETURN.
1991 2014-02-19 Tom Tromey <tromey@redhat.com>
1993 * target-delegates.c: Rebuild.
1994 * target.c (update_current_target): Don't inherit or default
1996 * target.h (struct target_ops) <to_stop>: Use
1997 TARGET_DEFAULT_IGNORE.
1999 2014-02-19 Tom Tromey <tromey@redhat.com>
2001 * target-delegates.c: Rebuild.
2002 * target.c (update_current_target): Don't inherit or default
2003 to_can_run_breakpoint_commands.
2004 * target.h (struct target_ops) <to_can_run_breakpoint_commands>:
2005 Use TARGET_DEFAULT_RETURN.
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
2011 to_supports_evaluation_of_breakpoint_conditions.
2012 * target.h (struct target_ops)
2013 <to_supports_evaluation_of_breakpoint_conditions>: Use
2014 TARGET_DEFAULT_RETURN.
2016 2014-02-19 Tom Tromey <tromey@redhat.com>
2018 * target-delegates.c: Rebuild.
2019 * target.c (update_current_target): Don't inherit or default
2020 to_augmented_libraries_svr4_read.
2021 * target.h (struct target_ops) <to_augmented_libraries_svr4_read>:
2022 Use TARGET_DEFAULT_RETURN.
2024 2014-02-19 Tom Tromey <tromey@redhat.com>
2026 * target-delegates.c: Rebuild.
2027 * target.c (update_current_target): Don't inherit or default
2029 * target.h (struct target_ops) <to_can_use_agent>: 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
2037 * target.h (struct target_ops) <to_use_agent>: Use
2038 TARGET_DEFAULT_NORETURN.
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 (return_null): Remove.
2046 * target.h (struct target_ops) <to_traceframe_info>: Use
2047 TARGET_DEFAULT_RETURN.
2049 2014-02-19 Tom Tromey <tromey@redhat.com>
2051 * target-delegates.c: Rebuild.
2052 * target.c (update_current_target): Don't inherit or default
2053 to_static_tracepoint_markers_by_strid.
2054 * target.h (struct target_ops)
2055 <to_static_tracepoint_markers_by_strid>: Use
2056 TARGET_DEFAULT_NORETURN.
2058 2014-02-19 Tom Tromey <tromey@redhat.com>
2060 * target-delegates.c: Rebuild.
2061 * target.c (update_current_target): Don't inherit or default
2062 to_static_tracepoint_marker_at.
2063 * target.h (struct target_ops) <to_static_tracepoint_marker_at>:
2064 Use TARGET_DEFAULT_RETURN.
2066 2014-02-19 Tom Tromey <tromey@redhat.com>
2068 * target-delegates.c: Rebuild.
2069 * target.c (update_current_target): Don't inherit or default
2071 * target.h (struct target_ops) <to_set_permissions>: Use
2072 TARGET_DEFAULT_IGNORE.
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
2079 * target.h (struct target_ops) <to_get_tib_address>: Use
2080 TARGET_DEFAULT_NORETURN.
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_trace_notes>: Use
2088 TARGET_DEFAULT_RETURN.
2090 2014-02-19 Tom Tromey <tromey@redhat.com>
2092 * target-delegates.c: Rebuild.
2093 * target.c (update_current_target): Don't initialize
2094 to_set_trace_buffer_size.
2095 * target.h (struct target_ops) <to_set_trace_buffer_size>: Use
2096 TARGET_DEFAULT_IGNORE.
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
2102 to_set_circular_trace_buffer.
2103 * target.h (struct target_ops) <to_set_circular_trace_buffer>: Use
2104 TARGET_DEFAULT_IGNORE.
2106 2014-02-19 Tom Tromey <tromey@redhat.com>
2108 * target-delegates.c: Rebuild.
2109 * target.c (update_current_target): Don't inherit or default
2110 to_set_disconnected_tracing.
2111 * target.h (struct target_ops) <to_set_disconnected_tracing>: 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_get_min_fast_tracepoint_insn_len.
2119 (return_minus_one): Remove.
2120 * target.h (struct target_ops)
2121 <to_get_min_fast_tracepoint_insn_len>: Use TARGET_DEFAULT_RETURN.
2123 2014-02-19 Tom Tromey <tromey@redhat.com>
2125 * target-delegates.c: Rebuild.
2126 * target.c (update_current_target): Don't inherit or default
2127 to_get_raw_trace_data.
2128 * target.h (struct target_ops) <to_get_raw_trace_data>: Use
2129 TARGET_DEFAULT_NORETURN.
2131 2014-02-19 Tom Tromey <tromey@redhat.com>
2133 * target-delegates.c: Rebuild.
2134 * target.c (update_current_target): Don't inherit or default
2135 to_upload_trace_state_variables.
2136 * target.h (struct target_ops) <to_upload_trace_state_variables>:
2137 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_upload_tracepoints.
2144 * target.h (struct target_ops) <to_upload_tracepoints>: Use
2145 TARGET_DEFAULT_RETURN.
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
2152 * target.h (struct target_ops) <to_save_trace_data>: Use
2153 TARGET_DEFAULT_NORETURN.
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_get_trace_state_variable_value.
2160 * target.h (struct target_ops)
2161 <to_get_trace_state_variable_value>: Use 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): Use TARGET_DEFAULT_RETURN.
2170 2014-02-19 Tom Tromey <tromey@redhat.com>
2172 * target-delegates.c: Rebuild.
2173 * target.c (update_current_target): Don't inherit or default
2175 * target.h (struct target_ops) <to_trace_stop>: Use
2176 TARGET_DEFAULT_NORETURN.
2178 2014-02-19 Tom Tromey <tromey@redhat.com>
2180 * target-delegates.c: Rebuild.
2181 * target.c (update_current_target): Don't inherit or default
2182 to_get_tracepoint_status.
2183 * target.h (struct target_ops) <to_get_tracepoint_status>: Use
2184 TARGET_DEFAULT_NORETURN.
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
2190 to_get_trace_status.
2191 * target.h (struct target_ops) <to_get_trace_status>: Use
2192 TARGET_DEFAULT_RETURN.
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
2199 * target.h (struct target_ops) <to_trace_start>: 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_trace_set_readonly_regions.
2207 * target.h (struct target_ops) <to_trace_set_readonly_regions>:
2208 Use TARGET_DEFAULT_NORETURN.
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
2214 to_disable_tracepoint.
2215 * target.h (struct target_ops) <to_disable_tracepoint>: 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_enable_tracepoint.
2223 * target.h (struct target_ops) <to_enable_tracepoint>: Use
2224 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_download_trace_state_variable.
2231 * target.h (struct target_ops) <to_download_trace_state_variable>:
2232 Use 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_can_download_tracepoint.
2239 * target.h (struct target_ops) <to_can_download_tracepoint>: Use
2240 TARGET_DEFAULT_RETURN.
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_tracepoint.
2247 * target.h (struct target_ops) <to_download_tracepoint>: Use
2248 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
2255 * target.h (struct target_ops) <to_trace_init>: 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_supports_string_tracing.
2263 * target.h (struct target_ops) <to_supports_string_tracing>: Use
2264 TARGET_DEFAULT_RETURN.
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
2270 to_supports_enable_disable_tracepoint.
2271 * target.h (struct target_ops)
2272 <to_supports_enable_disable_tracepoint>: Use
2273 TARGET_DEFAULT_RETURN.
2275 2014-02-19 Tom Tromey <tromey@redhat.com>
2277 * target-delegates.c: Rebuild.
2278 * target.c (update_current_target): Don't inherit or default
2279 to_supports_multi_process.
2280 * target.h (struct target_ops) <to_supports_multi_process>: Use
2281 TARGET_DEFAULT_RETURN.
2283 2014-02-19 Tom Tromey <tromey@redhat.com>
2285 * target-delegates.c: Rebuild.
2286 * target.c (update_current_target): Don't inherit or default
2287 to_get_ada_task_ptid.
2288 * target.h (struct target_ops) <to_get_ada_task_ptid>: Use
2289 TARGET_DEFAULT_FUNC.
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_thread_architecture.
2296 * target.h (struct target_ops) <to_thread_architecture>: Use
2297 TARGET_DEFAULT_FUNC.
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_execution_direction.
2304 * target.h (struct target_ops) <to_execution_direction>: 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_can_execute_reverse.
2312 * target.h (struct target_ops) <to_can_execute_reverse>: Use
2313 TARGET_DEFAULT_RETURN.
2314 (target_can_execute_reverse): Unconditionally delegate.
2316 2014-02-19 Tom Tromey <tromey@redhat.com>
2318 * target-delegates.c: Rebuild.
2319 * target.c (update_current_target): Don't inherit or default
2321 (dummy_goto_bookmark): Remove.
2322 (init_dummy_target): Don't inherit or default to_goto_bookmark.
2323 * target.h (struct target_ops) <to_goto_bookmark>: Use
2324 TARGET_DEFAULT_NORETURN.
2326 2014-02-19 Tom Tromey <tromey@redhat.com>
2328 * target-delegates.c: Rebuild.
2329 * target.c (update_current_target): Don't inherit or default
2331 (dummy_get_bookmark): Remove.
2332 (init_dummy_target): Don't inherit or default to_get_bookmark.
2333 * target.h (struct target_ops) <to_get_bookmark>: Use
2334 TARGET_DEFAULT_NORETURN
2336 2014-02-19 Tom Tromey <tromey@redhat.com>
2338 * target-delegates.c: Rebuild.
2339 * target.c (update_current_target): Don't inherit or default
2340 to_make_corefile_notes.
2341 (init_dummy_target): Don't initialize to_make_corefile_notes.
2342 * target.h (struct target_ops) <to_make_corefile_notes>: Use
2343 TARGET_DEFAULT_FUNC.
2345 2014-02-19 Tom Tromey <tromey@redhat.com>
2347 * target-delegates.c: Rebuild.
2348 * target.c (update_current_target): Don't inherit or default
2349 to_find_memory_regions.
2350 (init_dummy_target): Don't initialize to_find_memory_regions.
2351 * target.h (struct target_ops) <to_find_memory_regions>: Use
2352 TARGET_DEFAULT_FUNC.
2354 2014-02-19 Tom Tromey <tromey@redhat.com>
2356 * target-delegates.c: Rebuild.
2357 * target.c (update_current_target): Don't inherit or default
2359 * target.h (struct target_ops) <to_log_command>: Use
2360 TARGET_DEFAULT_IGNORE.
2361 (target_log_command): Unconditionally delegate.
2363 2014-02-19 Tom Tromey <tromey@redhat.com>
2365 * target-delegates.c: Rebuild.
2366 * target.c (update_current_target): Don't inherit or default
2367 to_pid_to_exec_file.
2368 * target.h (struct target_ops) <to_pid_to_exec_file>: Use
2369 TARGET_DEFAULT_RETURN.
2371 2014-02-19 Tom Tromey <tromey@redhat.com>
2373 * target-delegates.c: Rebuild.
2374 * target.c (update_current_target): Don't inherit or default
2376 (target_thread_name): Unconditionally delegate.
2377 * target.h (struct target_ops) <to_thread_name>: Use
2378 TARGET_DEFAULT_RETURN.
2380 2014-02-19 Tom Tromey <tromey@redhat.com>
2382 * target-delegates.c: Rebuild.
2383 * target.c (update_current_target): Don't inherit or default
2384 to_extra_thread_info.
2385 * target.h (struct target_ops) <to_extra_thread_info>: Use
2386 TARGET_DEFAULT_RETURN.
2388 2014-02-19 Tom Tromey <tromey@redhat.com>
2390 * target-delegates.c: Rebuild.
2391 * target.c (update_current_target): Don't inherit or default
2393 * target.h (struct target_ops) <to_has_exited>: 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_set_syscall_catchpoint.
2401 (return_one): Remove.
2402 * target.h (struct target_ops) <to_set_syscall_catchpoint>: Use
2403 TARGET_DEFAULT_RETURN.
2405 2014-02-19 Tom Tromey <tromey@redhat.com>
2407 * target-delegates.c: Rebuild.
2408 * target.c (update_current_target): Don't inherit or default
2409 to_insert_exec_catchpoint.
2410 * target.h (struct target_ops) <to_insert_exec_catchpoint>: Use
2411 TARGET_DEFAULT_RETURN.
2413 2014-01-08 Tom Tromey <tromey@redhat.com>
2415 * target-delegates.c: Rebuild.
2416 * target.c (update_current_target): Don't inherit or default
2417 to_insert_exec_catchpoint.
2418 * target.h (struct target_ops) <to_insert_exec_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_remove_vfork_catchpoint.
2426 * target.h (struct target_ops) <to_remove_vfork_catchpoint>: Use
2427 TARGET_DEFAULT_RETURN.
2429 2014-02-19 Tom Tromey <tromey@redhat.com>
2431 * target-delegates.c: Rebuild.
2432 * target.c (update_current_target): Don't inherit or default
2433 to_insert_vfork_catchpoint.
2434 * target.h (struct target_ops) <to_insert_vfork_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_fork_catchpoint.
2442 * target.h (struct target_ops) <to_remove_fork_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_fork_catchpoint.
2450 * target.h (struct target_ops) <to_insert_fork_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_post_startup_inferior.
2458 * target.h (struct target_ops) <to_post_startup_inferior>: Use
2459 TARGET_DEFAULT_IGNORE.
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
2466 * target.h (struct target_ops) <to_load>: Use
2467 TARGET_DEFAULT_NORETURN.
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
2474 * target.h (struct target_ops) <to_terminal_info>: Use
2475 TARGET_DEFAULT_FUNC.
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
2481 to_terminal_save_ours.
2482 * target.h (struct target_ops) <to_terminal_save_ours>: Use
2483 TARGET_DEFAULT_IGNORE.
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_ours>: Use
2491 TARGET_DEFAULT_IGNORE.
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_ours_for_output.
2498 * target.h (struct target_ops) <to_terminal_ours_for_output>: 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
2505 to_terminal_inferior.
2506 * target.h (struct target_ops) <to_terminal_inferior>: 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
2514 * target.h (struct target_ops) <to_terminal_init>: 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_can_accel_watchpoint_condition.
2522 * target.h (struct target_ops)
2523 <to_can_accel_watchpoint_condition>: Use TARGET_DEFAULT_RETURN.
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
2529 to_region_ok_for_hw_watchpoint.
2530 * target.h (struct target_ops) <to_region_ok_for_hw_watchpoint>:
2531 Use TARGET_DEFAULT_FUNC.
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_watchpoint_addr_within_range.
2538 * target.h (struct target_ops) <to_watchpoint_addr_within_range>:
2539 Use TARGET_DEFAULT_FUNC.
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_remove_watchpoint.
2546 * target.h (struct target_ops) <to_remove_watchpoint>: Use
2547 TARGET_DEFAULT_NORETURN.
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_insert_watchpoint.
2554 * target.h (struct target_ops) <to_insert_watchpoint>: Use
2555 TARGET_DEFAULT_RETURN.
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_hw_breakpoint.
2562 * target.h (struct target_ops) <to_remove_hw_breakpoint>: Use
2563 TARGET_DEFAULT_RETURN.
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_hw_breakpoint.
2570 * target.h (struct target_ops) <to_insert_hw_breakpoint>: 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_can_use_hw_breakpoint.
2578 * target.h (struct target_ops) <to_can_use_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
2586 * target.h (struct target_ops) <to_files_info>: Use
2587 TARGET_DEFAULT_IGNORE.
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
2594 * target.h (struct target_ops) <to_store>: Use
2595 TARGET_DEFAULT_NORETURN.
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_post_attach>: 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 (default_rcmd): New function.
2611 (do_monitor_command): Unconditionally delegate.
2612 * target.h (struct target_ops) <to_rmcd>: Use
2613 TARGET_DEFAULT_FUNC.
2615 2014-02-19 Tom Tromey <tromey@redhat.com>
2617 * target-delegates.c: Rebuild.
2618 * target.c (init_dummy_target): Don't initialize to_attach.
2619 (target_attach): Unconditionally delegate.
2620 * target.h (struct target_ops) <to_attach>: Use
2621 TARGET_DEFAULT_FUNC.
2623 2014-02-19 Tom Tromey <tromey@redhat.com>
2625 * target-delegates.c: Rebuild.
2626 * target.c (target_detach): Unconditionally delegate.
2627 (init_dummy_target): Don't initialize to_detach.
2628 * target.h (struct target_ops) <to_detach>: Use
2629 TARGET_DEFAULT_IGNORE.
2631 2014-02-19 Tom Tromey <tromey@redhat.com>
2633 * target.h (struct target_ops) <to_augmented_libraries_svr4_read>:
2635 (target_augmented_libraries_svr4_read): Add argument.
2636 * target.c (update_current_target): Update.
2637 * remote.c (remote_augmented_libraries_svr4_read): Add 'self'
2640 2014-02-19 Tom Tromey <tromey@redhat.com>
2642 * target.h (struct target_ops) <to_call_history_range>: Add
2644 * target.c (target_call_history_range): Add argument.
2645 * record-btrace.c (record_btrace_call_history_range): Add 'self'
2647 (record_btrace_call_history_from): Update.
2649 2014-02-19 Tom Tromey <tromey@redhat.com>
2651 * target.h (struct target_ops) <to_call_history_from>: Add
2653 * target.c (target_call_history_from): Add argument.
2654 * record-btrace.c (record_btrace_call_history_from): Add 'self'
2657 2014-02-19 Tom Tromey <tromey@redhat.com>
2659 * target.h (struct target_ops) <to_call_history>: Add argument.
2660 * target.c (target_call_history): Add argument.
2661 * record-btrace.c (record_btrace_call_history): Add 'self'
2664 2014-02-19 Tom Tromey <tromey@redhat.com>
2666 * target.h (struct target_ops) <to_insn_history_range>: Add
2668 * target.c (target_insn_history_range): Add argument.
2669 * record-btrace.c (record_btrace_insn_history_range): Add 'self'
2671 (record_btrace_insn_history_from): Update.
2673 2014-02-19 Tom Tromey <tromey@redhat.com>
2675 * target.h (struct target_ops) <to_insn_history_from>: Add
2677 * target.c (target_insn_history_from): Add argument.
2678 * record-btrace.c (record_btrace_insn_history_from): Add 'self'
2681 2014-02-19 Tom Tromey <tromey@redhat.com>
2683 * target.h (struct target_ops) <to_insn_history>: Add argument.
2684 * target.c (target_insn_history): Add argument.
2685 * record-btrace.c (record_btrace_insn_history): Add 'self'
2688 2014-02-19 Tom Tromey <tromey@redhat.com>
2690 * target.h (struct target_ops) <to_goto_record>: Add argument.
2691 * target.c (target_goto_record): Add argument.
2692 * record-full.c (record_full_goto): Add 'self' argument.
2693 * record-btrace.c (record_btrace_goto): Add 'self' argument.
2695 2014-02-19 Tom Tromey <tromey@redhat.com>
2697 * target.h (struct target_ops) <to_goto_record_end>: Add argument.
2698 * target.c (target_goto_record_end): Add argument.
2699 * record-full.c (record_full_goto_end): Add 'self' argument.
2700 * record-btrace.c (record_btrace_goto_end): Add 'self' argument.
2702 2014-02-19 Tom Tromey <tromey@redhat.com>
2704 * target.h (struct target_ops) <to_goto_record_begin>: Add
2706 * target.c (target_goto_record_begin): Add argument.
2707 * record-full.c (record_full_goto_begin): Add 'self' argument.
2708 * record-btrace.c (record_btrace_goto_begin): Add 'self'
2711 2014-02-19 Tom Tromey <tromey@redhat.com>
2713 * target.h (struct target_ops) <to_record_is_replaying>: Add
2715 * target.c (target_record_is_replaying): Add argument.
2716 * record-full.c (record_full_is_replaying): Add 'self' argument.
2717 * record-btrace.c (record_btrace_is_replaying): Add 'self'
2719 (record_btrace_xfer_partial, record_btrace_store_registers)
2720 (record_btrace_prepare_to_store, record_btrace_resume)
2721 (record_btrace_wait, record_btrace_decr_pc_after_break)
2722 (record_btrace_find_new_threads, record_btrace_thread_alive):
2725 2014-02-19 Tom Tromey <tromey@redhat.com>
2727 * target.h (struct target_ops) <to_delete_record>: Add argument.
2728 * target.c (target_delete_record): Add argument.
2729 * record-full.c (record_full_delete): Add 'self' argument.
2731 2014-02-19 Tom Tromey <tromey@redhat.com>
2733 * target.h (struct target_ops) <to_save_record>: Add argument.
2734 * target.c (target_save_record): Add argument.
2735 * record-full.c (record_full_save): Add 'self' argument.
2736 (record_full_save): Add 'self' argument.
2738 2014-02-19 Tom Tromey <tromey@redhat.com>
2740 * target.h (struct target_ops) <to_info_record>: Add argument.
2741 * target.c (target_info_record): Add argument.
2742 * record.c (info_record_command): Add argument.
2743 * record-full.c (record_full_info): Add 'self' argument.
2744 * record-btrace.c (record_btrace_info): Add 'self' argument.
2746 2014-02-19 Tom Tromey <tromey@redhat.com>
2748 * target.h (struct target_ops) <to_stop_recording>: Add argument.
2749 * target.c (target_stop_recording): Add argument.
2750 * record.c (record_stop): Add argument.
2751 * record-btrace.c (record_btrace_stop_recording): Add 'self'
2754 2014-02-19 Tom Tromey <tromey@redhat.com>
2756 * target.h (struct target_ops) <to_read_btrace>: Add argument.
2757 * target.c (struct target_ops) <to_read_btrace>: Add argument.
2758 * remote.c (struct target_ops) <to_read_btrace>: Add 'self'
2760 * amd64-linux-nat.c (amd64_linux_read_btrace): New function.
2761 (_initialize_amd64_linux_nat): Use it.
2762 * i386-linux-nat.c (i386_linux_read_btrace): New function.
2763 (_initialize_i386_linux_nat): Use it.
2765 2014-02-19 Tom Tromey <tromey@redhat.com>
2767 * target.h (struct target_ops) <to_teardown_btrace>: Add argument.
2768 * target.c (target_teardown_btrace): Add argument.
2769 * remote.c (remote_teardown_btrace): Add 'self' argument.
2770 * i386-linux-nat.c (i386_linux_teardown_btrace): Add 'self'
2772 * amd64-linux-nat.c (amd64_linux_teardown_btrace): Add 'self'
2775 2014-02-19 Tom Tromey <tromey@redhat.com>
2777 * target.h (struct target_ops) <to_disable_btrace>: Add argument.
2778 * target.c (target_disable_btrace): Add argument.
2779 * remote.c (remote_disable_btrace): Add 'self' argument.
2780 * i386-linux-nat.c (i386_linux_disable_btrace): Add 'self'
2782 * amd64-linux-nat.c (amd64_linux_disable_btrace): Add 'self'
2785 2014-02-19 Tom Tromey <tromey@redhat.com>
2787 * target.h (struct target_ops) <to_enable_btrace>: Add argument.
2788 * target.c (target_enable_btrace): Add argument.
2789 * remote.c (remote_enable_btrace): Add 'self' argument.
2790 * i386-linux-nat.c (i386_linux_enable_btrace): Add 'self'
2792 * amd64-linux-nat.c (amd64_linux_enable_btrace): Add 'self'
2795 2014-02-19 Tom Tromey <tromey@redhat.com>
2797 * target.h (struct target_ops) <to_can_use_agent>: Add argument.
2798 (target_can_use_agent): Add argument.
2799 * target.c (update_current_target): Update.
2800 * remote.c (remote_can_use_agent): Add 'self' argument.
2801 * inf-child.c (inf_child_can_use_agent): Add 'self' argument.
2803 2014-02-19 Tom Tromey <tromey@redhat.com>
2805 * target.h (struct target_ops) <to_use_agent>: Add argument.
2806 (target_use_agent): Add argument.
2807 * target.c (update_current_target): Update.
2808 * remote.c (remote_use_agent): Add 'self' argument.
2809 * inf-child.c (inf_child_use_agent): Add 'self' argument.
2811 2014-02-19 Tom Tromey <tromey@redhat.com>
2813 * tracepoint.c (tfile_traceframe_info): Add 'self' argument.
2814 * target.h (struct target_ops) <to_traceframe_info>: Add argument.
2815 (target_traceframe_info): Add argument.
2816 * target.c (update_current_target): Update.
2817 * remote.c (remote_traceframe_info): Add 'self' argument.
2818 * ctf.c (ctf_traceframe_info): Add 'self' argument.
2820 2014-02-19 Tom Tromey <tromey@redhat.com>
2822 * target.h (target_static_tracepoint_markers_by_strid): Add
2824 (struct target_ops) <to_static_tracepoint_markers_by_strid>: Add
2826 * target.c (update_current_target): Update.
2827 * remote.c (struct target_ops)
2828 <to_static_tracepoint_markers_by_strid>: Add 'self' argument.
2829 * linux-nat.c (struct target_ops)
2830 <to_static_tracepoint_markers_by_strid>: Add 'self' argument.
2832 2014-02-19 Tom Tromey <tromey@redhat.com>
2834 * target.h (struct target_ops) <to_static_tracepoint_marker_at>:
2836 (target_static_tracepoint_marker_at): Add argument.
2837 * target.c (update_current_target): Update.
2838 * remote.c (remote_static_tracepoint_marker_at): Add 'self'
2841 2014-02-19 Tom Tromey <tromey@redhat.com>
2843 * target.h (struct target_ops) <to_set_permissions>: Add argument.
2844 (target_set_permissions): Add argument.
2845 * target.c (update_current_target): Update.
2846 * remote.c (remote_set_permissions): Add 'self' argument.
2847 (remote_start_remote): Update.
2849 2014-02-19 Tom Tromey <tromey@redhat.com>
2851 * windows-nat.c (windows_get_tib_address): Add 'self' argument.
2852 * target.h (struct target_ops) <to_get_tib_address>: Add argument.
2853 (target_get_tib_address): Add argument.
2854 * target.c (update_current_target): Update.
2855 * remote.c (remote_get_tib_address): Add 'self' argument.
2857 2014-02-19 Tom Tromey <tromey@redhat.com>
2859 * target.h (struct target_ops) <to_set_trace_notes>: Add argument.
2860 (target_set_trace_notes): Add argument.
2861 * target.c (update_current_target): Update.
2862 * remote.c (remote_set_trace_notes): Add 'self' argument.
2864 2014-02-19 Tom Tromey <tromey@redhat.com>
2866 * target.h (struct target_ops) <to_set_trace_buffer_size>: Add
2868 (target_set_trace_buffer_size): Add argument.
2869 * target.c (update_current_target): Update.
2870 * remote.c (remote_set_trace_buffer_size): Add 'self' argument.
2872 2014-02-19 Tom Tromey <tromey@redhat.com>
2874 * target.h (struct target_ops) <to_set_circular_trace_buffer>: Add
2876 (target_set_circular_trace_buffer): Add argument.
2877 * target.c (update_current_target): Update.
2878 * remote.c (remote_set_circular_trace_buffer): Add 'self'
2881 2014-02-19 Tom Tromey <tromey@redhat.com>
2883 * target.h (struct target_ops) <to_set_disconnected_tracing>: Add
2885 (target_set_disconnected_tracing): Add argument.
2886 * target.c (update_current_target): Update.
2887 * remote.c (remote_set_disconnected_tracing): Add 'self' argument.
2889 2014-02-19 Tom Tromey <tromey@redhat.com>
2891 * target.h (struct target_ops)
2892 <to_get_min_fast_tracepoint_insn_len>: Add argument.
2893 (target_get_min_fast_tracepoint_insn_len): Add argument.
2894 * target.c (update_current_target): Update.
2895 * remote.c (remote_get_min_fast_tracepoint_insn_len): Add 'self'
2898 2014-02-19 Tom Tromey <tromey@redhat.com>
2900 * target.h (struct target_ops) <to_get_raw_trace_data>: Add
2902 (target_get_raw_trace_data): Add argument.
2903 * target.c (update_current_target): Update.
2904 * remote.c (remote_get_raw_trace_data): Add 'self' argument.
2906 2014-02-19 Tom Tromey <tromey@redhat.com>
2908 * target.h (struct target_ops) <to_upload_trace_state_variables>:
2910 (target_upload_trace_state_variables): Add argument.
2911 * target.c (update_current_target): Update.
2912 * remote.c (remote_upload_trace_state_variables): Add 'self'
2914 (remote_start_remote): Update.
2916 2014-02-19 Tom Tromey <tromey@redhat.com>
2918 * target.h (struct target_ops) <to_upload_tracepoints>: Add
2920 (target_upload_tracepoints): Add argument.
2921 * target.c (update_current_target): Update.
2922 * remote.c (remote_upload_tracepoints): Add 'self' argument.
2923 (remote_start_remote): Update.
2925 2014-02-19 Tom Tromey <tromey@redhat.com>
2927 * target.h (struct target_ops) <to_save_trace_data>: Add argument.
2928 (target_save_trace_data): Add argument.
2929 * target.c (update_current_target): Update.
2930 * remote.c (remote_save_trace_data): Add 'self' argument.
2932 2014-02-19 Tom Tromey <tromey@redhat.com>
2934 * tracepoint.c (tfile_get_trace_state_variable_value): Add 'self'
2936 * target.h (struct target_ops)
2937 <to_get_trace_state_variable_value>: Add argument.
2938 (target_get_trace_state_variable_value): Add argument.
2939 * target.c (update_current_target): Update.
2940 * remote.c (remote_get_trace_state_variable_value): Add 'self'
2942 * ctf.c (ctf_get_trace_state_variable_value): Add 'self' argument.
2944 2014-02-19 Tom Tromey <tromey@redhat.com>
2946 * tracepoint.c (tfile_trace_find): Add 'self' argument.
2947 * target.h (struct target_ops) <to_trace_find>: Add argument.
2948 (target_trace_find): Add argument.
2949 * target.c (update_current_target): Update.
2950 * remote.c (remote_trace_find): Add 'self' argument.
2951 * ctf.c (ctf_trace_find): Add 'self' argument.
2953 2014-02-19 Tom Tromey <tromey@redhat.com>
2955 * target.h (struct target_ops) <to_trace_stop>: Add argument.
2956 (target_trace_stop): Add argument.
2957 * target.c (update_current_target): Update.
2958 * remote.c (remote_trace_stop): Add 'self' argument.
2960 2014-02-19 Tom Tromey <tromey@redhat.com>
2962 * tracepoint.c (tfile_get_tracepoint_status): Add 'self' argument.
2963 * target.h (struct target_ops) <to_get_tracepoint_status>: Add
2965 (target_get_tracepoint_status): Add argument.
2966 * target.c (update_current_target): Update.
2967 * remote.c (remote_get_tracepoint_status): Add 'self' argument.
2969 2014-02-19 Tom Tromey <tromey@redhat.com>
2971 * tracepoint.c (tfile_get_trace_status): Add 'self' argument.
2972 * target.h (struct target_ops) <to_get_trace_status>: Add
2974 (target_get_trace_status): Add argument.
2975 * target.c (update_current_target): Update.
2976 * remote.c (remote_get_trace_status): Add 'self' argument.
2977 (remote_start_remote, remote_can_download_tracepoint): Update.
2978 * ctf.c (ctf_get_trace_status): Add 'self' argument.
2980 2014-02-19 Tom Tromey <tromey@redhat.com>
2982 * target.h (struct target_ops) <to_trace_start>: Add argument.
2983 (target_trace_start): Add argument.
2984 * target.c (update_current_target): Update.
2985 * remote.c (remote_trace_start): Add 'self' argument.
2987 2014-02-19 Tom Tromey <tromey@redhat.com>
2989 * target.h (struct target_ops) <to_trace_set_readonly_regions>:
2991 (target_trace_set_readonly_regions): Add argument.
2992 * target.c (update_current_target): Update.
2993 * remote.c (remote_trace_set_readonly_regions): Add 'self'
2996 2014-02-19 Tom Tromey <tromey@redhat.com>
2998 * target.h (struct target_ops) <to_disable_tracepoint>: Add
3000 (target_disable_tracepoint): Add argument.
3001 * target.c (update_current_target): Update.
3002 * remote.c (remote_disable_tracepoint): Add 'self' argument.
3004 2014-02-19 Tom Tromey <tromey@redhat.com>
3006 * target.h (struct target_ops) <to_enable_tracepoint>: Add
3008 (target_enable_tracepoint): Add argument.
3009 * target.c (update_current_target): Update.
3010 * remote.c (remote_enable_tracepoint): Add 'self' argument.
3012 2014-02-19 Tom Tromey <tromey@redhat.com>
3014 * target.h (struct target_ops) <to_download_trace_state_variable>:
3016 (target_download_trace_state_variable): Add argument.
3017 * target.c (update_current_target): Update.
3018 * remote.c (remote_download_trace_state_variable): Add 'self'
3021 2014-02-19 Tom Tromey <tromey@redhat.com>
3023 * target.h (struct target_ops) <to_can_download_tracepoint>: Add
3025 (target_can_download_tracepoint): Add argument.
3026 * target.c (update_current_target): Update.
3027 * remote.c (remote_can_download_tracepoint): Add 'self' argument.
3029 2014-02-19 Tom Tromey <tromey@redhat.com>
3031 * target.h (struct target_ops) <to_download_tracepoint>: Add
3033 (target_download_tracepoint): Add argument.
3034 * target.c (update_current_target): Update.
3035 * remote.c (remote_download_tracepoint): Add 'self' argument.
3037 2014-02-19 Tom Tromey <tromey@redhat.com>
3039 * target.h (struct target_ops) <to_trace_init>: Add argument.
3040 (target_trace_init): Add argument.
3041 * target.c (update_current_target): Update.
3042 * remote.c (remote_trace_init): Add 'self' argument.
3044 2014-02-19 Tom Tromey <tromey@redhat.com>
3046 * target.h (struct target_ops) <to_fileio_readlink>: Add argument.
3047 * target.c (target_fileio_readlink): Add argument.
3048 * remote.c (remote_hostio_readlink): Add 'self' argument.
3049 * inf-child.c (inf_child_fileio_readlink): Add 'self' argument.
3051 2014-02-19 Tom Tromey <tromey@redhat.com>
3053 * target.h (struct target_ops) <to_fileio_unlink>: Add argument.
3054 * target.c (target_fileio_unlink): Add argument.
3055 * remote.c (remote_hostio_unlink): Add 'self' argument.
3056 (remote_file_delete): Update.
3057 * inf-child.c (inf_child_fileio_unlink): Add 'self' argument.
3059 2014-02-19 Tom Tromey <tromey@redhat.com>
3061 * target.h (struct target_ops) <to_fileio_close>: Add argument.
3062 * target.c (target_fileio_close): Add argument.
3063 * remote.c (remote_hostio_close): Add 'self' argument.
3064 (remote_hostio_close_cleanup): Update.
3065 (remote_bfd_iovec_close, remote_file_put, remote_file_get):
3067 * inf-child.c (inf_child_fileio_close): Add 'self' argument.
3069 2014-02-19 Tom Tromey <tromey@redhat.com>
3071 * target.h (struct target_ops) <to_fileio_pread>: Add argument.
3072 * target.c (target_fileio_pread): Add argument.
3073 * remote.c (remote_hostio_pread): Add 'self' argument.
3074 (remote_bfd_iovec_pread, remote_file_get): Update.
3075 * inf-child.c (inf_child_fileio_pread): Add 'self' argument.
3077 2014-02-19 Tom Tromey <tromey@redhat.com>
3079 * target.h (struct target_ops) <to_fileio_pwrite>: Add argument.
3080 * target.c (target_fileio_pwrite): Add argument.
3081 * remote.c (remote_hostio_pwrite): Add 'self' argument.
3082 (remote_file_put): Update.
3083 * inf-child.c (inf_child_fileio_pwrite): Add 'self' argument.
3085 2014-02-19 Tom Tromey <tromey@redhat.com>
3087 * target.h (struct target_ops) <to_fileio_open>: Add argument.
3088 * target.c (target_fileio_open): Add argument.
3089 * remote.c (remote_hostio_open): Add 'self' argument.
3090 (remote_bfd_iovec_open): Add 'self' argument.
3091 (remote_file_put): Add 'self' argument.
3092 (remote_file_get): Add 'self' argument.
3093 * inf-child.c (inf_child_fileio_open): Add 'self' argument.
3095 2014-02-19 Tom Tromey <tromey@redhat.com>
3097 * target.h (struct target_ops) <to_can_run_breakpoint_commands>:
3099 (target_can_run_breakpoint_commands): Add argument.
3100 * target.c (update_current_target): Update.
3101 * remote.c (remote_can_run_breakpoint_commands): Add 'self'
3103 (remote_insert_breakpoint): Add 'self' argument.
3104 (remote_insert_hw_breakpoint): Add 'self' argument.
3105 (remote_can_run_breakpoint_commands): Add 'self' argument.
3107 2014-02-19 Tom Tromey <tromey@redhat.com>
3109 * target.h (struct target_ops)
3110 <to_supports_evaluation_of_breakpoint_conditions>: Add argument.
3111 (target_supports_evaluation_of_breakpoint_conditions): Add
3113 * target.c (update_current_target): Update.
3114 * remote.c (remote_supports_cond_breakpoints): Add 'self'
3116 (remote_insert_breakpoint): Add 'self' argument.
3117 (remote_insert_hw_breakpoint): Add 'self' argument.
3118 (remote_supports_cond_breakpoints): Add 'self' argument.
3120 2014-02-19 Tom Tromey <tromey@redhat.com>
3122 * target.h (struct target_ops) <to_supports_string_tracing>: Add
3124 (target_supports_string_tracing): Add argument.
3125 * target.c (update_current_target): Update.
3126 * remote.c (remote_supports_string_tracing): Add 'self' argument.
3128 2014-02-19 Tom Tromey <tromey@redhat.com>
3130 * target.h (struct target_ops)
3131 <to_supports_disable_randomization>: Add argument.
3132 * target.c (find_default_supports_disable_randomization): Add
3134 (target_supports_disable_randomization): Add argument.
3135 (find_default_supports_disable_randomization): Add 'self'
3137 * remote.c (extended_remote_supports_disable_randomization): Add
3139 (remote_supports_disable_randomization): Add 'self' argument.
3140 (extended_remote_create_inferior): Update.
3141 * linux-nat.c (linux_nat_supports_disable_randomization): Add
3144 2014-02-19 Tom Tromey <tromey@redhat.com>
3146 * target.h (struct target_ops)
3147 <to_supports_enable_disable_tracepoint>: Add argument.
3148 (target_supports_enable_disable_tracepoint): Add argument.
3149 * target.c (update_current_target): Update.
3150 * remote.c (remote_supports_enable_disable_tracepoint): Add 'self'
3153 2014-02-19 Tom Tromey <tromey@redhat.com>
3155 * target.h (struct target_ops) <to_supports_multi_process>: Add
3157 (target_supports_multi_process): Add argument.
3158 * target.c (update_current_target): Update.
3159 * remote.c (remote_supports_multi_process): Add 'self' argument.
3160 * linux-nat.c (linux_nat_supports_multi_process): Add 'self'
3162 * darwin-nat.c (darwin_supports_multi_process): Add 'self'
3165 2014-02-19 Tom Tromey <tromey@redhat.com>
3167 * target.h (struct target_ops) <to_execution_direction>: Add
3169 (target_execution_direction): Add argument.
3170 * target.c (default_execution_direction): Add 'self' argument.
3171 * record-full.c (record_full_execution_direction): Add 'self'
3174 2014-02-19 Tom Tromey <tromey@redhat.com>
3176 * target.h (struct target_ops) <to_can_execute_reverse>: Add
3178 (target_can_execute_reverse): Add argument.
3179 * remote.c (remote_can_execute_reverse): Add 'self' argument.
3180 * record-full.c (record_full_can_execute_reverse): Add 'self'
3182 * record-btrace.c (record_btrace_can_execute_reverse): Add 'self'
3185 2014-02-19 Tom Tromey <tromey@redhat.com>
3187 * windows-nat.c (windows_get_ada_task_ptid): Add 'self' argument.
3188 * target.h (struct target_ops) <to_get_ada_task_ptid>: Add
3190 (target_get_ada_task_ptid): Add argument.
3191 * target.c (update_current_target): Update.
3192 (default_get_ada_task_ptid): Add 'self' argument.
3193 * sol-thread.c (sol_get_ada_task_ptid): Add 'self' argument.
3194 * remote.c (remote_get_ada_task_ptid): Add 'self' argument.
3195 * ravenscar-thread.c (ravenscar_get_ada_task_ptid): Add 'self'
3197 * linux-thread-db.c (thread_db_get_ada_task_ptid): Add 'self'
3199 * inf-ttrace.c (inf_ttrace_get_ada_task_ptid): Add 'self'
3201 * dec-thread.c (dec_thread_get_ada_task_ptid): Add 'self'
3203 * darwin-nat.c (darwin_get_ada_task_ptid): Add 'self' argument.
3204 * aix-thread.c (aix_thread_get_ada_task_ptid): Add 'self'
3207 2014-02-19 Tom Tromey <tromey@redhat.com>
3209 * target.h (struct target_ops) <to_goto_bookmark>: Add argument.
3210 (target_goto_bookmark): Add argument.
3211 * target.c (dummy_goto_bookmark): Add 'self' argument.
3212 * record-full.c (record_full_goto_bookmark): Add 'self' argument.
3214 2014-02-19 Tom Tromey <tromey@redhat.com>
3216 * target.h (struct target_ops) <to_get_bookmark>: Add argument.
3217 (target_get_bookmark): Add argument.
3218 * target.c (dummy_get_bookmark): Add 'self' argument.
3219 * record-full.c (record_full_get_bookmark): Add 'self' argument.
3221 2014-02-19 Tom Tromey <tromey@redhat.com>
3223 * target.h (struct target_ops) <to_make_corefile_notes>: Add
3225 (target_make_corefile_notes): Add argument.
3226 * target.c (dummy_make_corefile_notes): Add 'self' argument.
3227 * procfs.c (procfs_make_note_section): Add 'self' argument.
3228 (procfs_make_note_section): Add 'self' argument.
3229 (procfs_make_note_section): Add 'self' argument.
3230 * linux-nat.c (linux_nat_make_corefile_notes): Add 'self'
3232 * fbsd-nat.h (fbsd_make_corefile_notes): Add 'self' argument.
3233 * fbsd-nat.c (fbsd_make_corefile_notes): Add 'self' argument.
3234 * exec.c (exec_make_note_section): Add 'self' argument.
3235 (exec_make_note_section): Add 'self' argument.
3237 2014-02-19 Tom Tromey <tromey@redhat.com>
3239 * target.h (struct target_ops) <to_find_memory_regions>: Add
3241 (target_find_memory_regions): Add argument.
3242 * target.c (dummy_find_memory_regions): Add 'self' argument.
3243 * procfs.c (proc_find_memory_regions): Add 'self' argument.
3244 * gnu-nat.c (gnu_find_memory_regions): Add 'self' argument.
3245 * fbsd-nat.h (fbsd_find_memory_regions): Add 'self' argument.
3246 * fbsd-nat.c (fbsd_find_memory_regions): Add 'self' argument.
3247 * exec. (exec_do_find_memory_regions): New global.
3248 (exec_set_find_memory_regions): Rewrite.
3249 (exec_find_memory_regions): New function.
3250 (init_exec_ops): Use exec_find_memory_regions.
3252 2014-02-19 Tom Tromey <tromey@redhat.com>
3254 * target.h (struct target_ops) <to_supports_non_stop>: Add
3256 * target.c (find_default_supports_non_stop): Add argument.
3257 (target_supports_non_stop): Add argument.
3258 (find_default_supports_non_stop): Add 'self' argument.
3259 * remote.c (remote_supports_non_stop): Add 'self' argument.
3260 * linux-nat.c (linux_nat_supports_non_stop): Add 'self' argument.
3262 2014-02-19 Tom Tromey <tromey@redhat.com>
3264 * target.h (struct target_ops) <to_log_command>: Add argument.
3265 (target_log_command): Add argument.
3266 * serial.h (serial_log_command): Add 'self' argument.
3267 * serial.c (serial_log_command): Add 'self' argument.
3269 2014-02-19 Tom Tromey <tromey@redhat.com>
3271 * windows-nat.c (windows_pid_to_exec_file): Add 'self' argument.
3272 * target.h (struct target_ops) <to_pid_to_exec_file>: Add
3274 (target_pid_to_exec_file): Add argument.
3275 * target.c (debug_to_pid_to_exec_file): Add argument.
3276 (update_current_target): Update.
3277 * nbsd-nat.h (nbsd_pid_to_exec_file): Add 'self' argument.
3278 * nbsd-nat.c (nbsd_pid_to_exec_file): Add 'self' argument.
3279 * linux-nat.c (linux_child_pid_to_exec_file): Add 'self' argument.
3280 (linux_handle_extended_wait): Update.
3281 * inf-child.c (inf_child_pid_to_exec_file): Add 'self' argument.
3282 * fbsd-nat.h (fbsd_pid_to_exec_file): Add 'self' argument.
3283 * fbsd-nat.c (fbsd_pid_to_exec_file): Add 'self' argument.
3284 * darwin-nat.c (darwin_pid_to_exec_file): Add 'self' argument.
3286 2014-02-19 Tom Tromey <tromey@redhat.com>
3288 * target.h (struct target_ops) <to_rcmd>: Add argument.
3289 (target_rcmd): Add argument.
3290 * target.c (debug_to_rcmd): Add argument.
3291 (update_current_target, do_monitor_command): Update.
3292 * remote.c (remote_rcmd): Add 'self' argument.
3293 * monitor.c (monitor_rcmd): Add 'self' argument.
3295 2014-02-19 Tom Tromey <tromey@redhat.com>
3297 * windows-nat.c (windows_stop): Add 'self' argument.
3298 * target.h (struct target_ops) <to_stop>: Add argument.
3299 * target.c (target_stop): Add argument.
3300 (debug_to_stop): Add argument.
3301 (update_current_target): Update.
3302 * remote.c (remote_stop): Add 'self' argument.
3303 * remote-sim.c (gdbsim_stop): Add 'self' argument.
3304 (gdbsim_cntrl_c): Update.
3305 * remote-m32r-sdi.c (m32r_stop): Add 'self' argument.
3306 * procfs.c (procfs_stop): Add 'self' argument.
3307 * nto-procfs.c (procfs_stop): Add 'self' argument.
3308 * monitor.c (monitor_stop): Add 'self' argument.
3309 (monitor_open): Update.
3310 * linux-nat.c (linux_nat_stop): Add argument.
3311 * inf-ptrace.c (inf_ptrace_stop): Add 'self' argument.
3312 * gnu-nat.c (gnu_stop): Add 'self' argument.
3313 * darwin-nat.c (darwin_stop): Add 'self' argument.
3315 2014-02-19 Tom Tromey <tromey@redhat.com>
3317 * target.h (struct target_ops) <to_thread_name>: Add argument.
3318 * target.c (target_thread_name): Add argument.
3319 (update_current_target): Update.
3320 * linux-nat.c (linux_nat_thread_name): Add 'self' argument.
3322 2014-02-19 Tom Tromey <tromey@redhat.com>
3324 * target.h (struct target_ops) <to_extra_thread_info>: Add
3326 (target_extra_thread_info): Add argument.
3327 * target.c (update_current_target): Update.
3328 * remote.c (remote_threads_extra_info): Add 'self' argument.
3329 * ravenscar-thread.c (ravenscar_extra_thread_info): Add 'self'
3331 * nto-tdep.h (nto_extra_thread_info): Add 'self' argument.
3332 * nto-tdep.c (nto_extra_thread_info): Add 'self' argument.
3333 * linux-thread-db.c (thread_db_extra_thread_info): Add 'self'
3335 * inf-ttrace.c (inf_ttrace_extra_thread_info): Add 'self'
3337 * bsd-uthread.c (bsd_uthread_extra_thread_info): Add 'self'
3339 * aix-thread.c (aix_thread_extra_thread_info): Add 'self'
3342 2014-02-19 Tom Tromey <tromey@redhat.com>
3344 * target.h (struct target_ops) <to_program_signals>: Add argument.
3345 * target.c (target_program_signals): Add argument.
3346 * remote.c (remote_program_signals): Add 'self' argument.
3348 2014-02-19 Tom Tromey <tromey@redhat.com>
3350 * target.h (struct target_ops) <to_pass_signals>: Add argument.
3351 * target.c (target_pass_signals): Add argument.
3352 * remote.c (remote_pass_signals): Add 'self' argument.
3353 (remote_start_remote): Update.
3354 * procfs.c (procfs_pass_signals): Add 'self' argument.
3355 * nto-procfs.c (procfs_pass_signals): Add 'self' argument.
3356 * linux-nat.c (linux_nat_pass_signals): Add 'self' argument.
3357 (linux_nat_create_inferior, linux_nat_attach): Update.
3359 2014-02-19 Tom Tromey <tromey@redhat.com>
3361 * windows-nat.c (windows_can_run): Add 'self' argument.
3362 * target.h (struct target_ops) <to_can_run>: Add argument.
3363 (target_can_run): Add argument.
3364 * target.c (debug_to_can_run): Add argument.
3365 (update_current_target): Update.
3366 * nto-procfs.c (procfs_can_run): Add 'self' argument.
3367 * inf-child.c (inf_child_can_run): Add 'self' argument.
3368 * go32-nat.c (go32_can_run): Add 'self' argument.
3370 2014-02-19 Tom Tromey <tromey@redhat.com>
3372 * target.h (struct target_ops) <to_has_exited>: Add argument.
3373 (target_has_exited): Add argument.
3374 * target.c (debug_to_has_exited): Add argument.
3375 (update_current_target): Update.
3377 2014-02-19 Tom Tromey <tromey@redhat.com>
3379 * target.h (struct target_ops) <to_set_syscall_catchpoint>: Add
3381 (target_set_syscall_catchpoint): Add argument.
3382 * linux-nat.c (linux_child_set_syscall_catchpoint): Add 'self'
3384 * target.c (update_current_target): Update.
3386 2014-02-19 Tom Tromey <tromey@redhat.com>
3388 * target.h (struct target_ops) <to_remove_exec_catchpoint>: Add
3390 (target_remove_exec_catchpoint): Add argument.
3391 * target.c (debug_to_remove_exec_catchpoint): Add argument.
3392 (update_current_target): Update.
3393 * linux-nat.c (linux_child_remove_exec_catchpoint): Add 'self'
3396 2014-02-19 Tom Tromey <tromey@redhat.com>
3398 * target.h (struct target_ops) <to_insert_exec_catchpoint>: Add
3400 (target_insert_exec_catchpoint): Add argument.
3401 * target.c (debug_to_insert_exec_catchpoint): Add argument.
3402 (update_current_target): Update.
3403 * linux-nat.c (linux_child_insert_exec_catchpoint): Add 'self'
3406 2014-02-19 Tom Tromey <tromey@redhat.com>
3408 * target.h (struct target_ops) <to_remove_vfork_catchpoint>: Add
3410 (target_remove_vfork_catchpoint): Add argument.
3411 * target.c (debug_to_remove_vfork_catchpoint): Add argument.
3412 (update_current_target): Update.
3413 * linux-nat.c (linux_child_remove_vfork_catchpoint): Add 'self'
3416 2014-02-19 Tom Tromey <tromey@redhat.com>
3418 * target.h (struct target_ops) <to_insert_vfork_catchpoint>: Add
3420 (target_insert_vfork_catchpoint): Add argument.
3421 * target.c (debug_to_insert_vfork_catchpoint): Add argument.
3422 (update_current_target): Update.
3423 * linux-nat.c (linux_child_insert_vfork_catchpoint): Add 'self'
3426 2014-02-19 Tom Tromey <tromey@redhat.com>
3428 * target.h (struct target_ops) <to_remove_fork_catchpoint>: Add
3430 (target_remove_fork_catchpoint): Add argument.
3431 * target.c (debug_to_remove_fork_catchpoint): Add argument.
3432 (update_current_target): Update.
3433 * linux-nat.c (linux_child_remove_fork_catchpoint): Add 'self'
3436 2014-02-19 Tom Tromey <tromey@redhat.com>
3438 * target.h (struct target_ops) <to_insert_fork_catchpoint>: Add
3440 (target_insert_fork_catchpoint): Add argument.
3441 * target.c (debug_to_insert_fork_catchpoint): Add argument.
3442 (update_current_target): Update.
3443 * linux-nat.c (linux_child_insert_fork_catchpoint): Add 'self'
3446 2014-02-19 Tom Tromey <tromey@redhat.com>
3448 * target.h (struct target_ops) <to_post_startup_inferior>: Add
3450 (target_post_startup_inferior): Add argument.
3451 * target.c (debug_to_post_startup_inferior): Add argument.
3452 (update_current_target): Update.
3453 * spu-linux-nat.c (spu_child_post_startup_inferior): Add 'self'
3455 * linux-nat.c (linux_child_post_startup_inferior): Add 'self'
3457 * inf-ptrace.c (inf_ptrace_post_startup_inferior): Add 'self'
3459 * inf-child.c (inf_child_post_startup_inferior): Add 'self'
3461 * i386-linux-nat.c (i386_linux_child_post_startup_inferior): Add
3463 (super_post_startup_inferior): Likewise.
3464 * amd64-linux-nat.c (amd64_linux_child_post_startup_inferior): Add
3466 (super_post_startup_inferior): Likewise.
3467 * aarch64-linux-nat.c (aarch64_linux_child_post_startup_inferior):
3468 Add 'self' argument.
3469 (super_post_startup_inferior): Likewise.
3471 2014-02-19 Tom Tromey <tromey@redhat.com>
3473 * target.h (struct target_ops) <to_load>: Add argument.
3474 * target.c (target_load): Add argument.
3475 (debug_to_load): Add argument.
3476 (update_current_target): Update.
3477 * remote.c (remote_load): Add 'self' argument.
3478 * remote-sim.c (gdbsim_load): Add 'self' argument.
3479 * remote-mips.c (mips_load): Add 'self' argument.
3480 * remote-m32r-sdi.c (m32r_load): Add 'self' argument.
3481 * monitor.c (monitor_load): Add 'self' argument.
3482 * m32r-rom.c (m32r_load_gen): Add 'self' argument.
3484 2014-02-19 Tom Tromey <tromey@redhat.com>
3486 * target.h (struct target_ops) <to_terminal_info>: Add argument.
3487 (target_terminal_info): Add argument.
3488 * target.c (debug_to_terminal_info): Add argument.
3489 (default_terminal_info): Likewise.
3490 * inflow.c (child_terminal_info): Add 'self' argument.
3491 * inferior.h (child_terminal_info): Add 'self' argument.
3492 * go32-nat.c (go32_terminal_info): Add 'self' argument.
3494 2014-02-19 Tom Tromey <tromey@redhat.com>
3496 * target.h (struct target_ops) <to_terminal_save_ours>: Add
3498 (target_terminal_save_ours): Add argument.
3499 * target.c (debug_to_terminal_save_ours): Add argument.
3500 (update_current_target): Update.
3501 * inflow.c (terminal_save_ours): Add 'self' argument.
3502 * inferior.h (terminal_save_ours): Add 'self' argument.
3504 2014-02-19 Tom Tromey <tromey@redhat.com>
3506 * target.h (struct target_ops) <to_terminal_ours>: Add argument.
3507 (target_terminal_ours): Add argument.
3508 * target.c (debug_to_terminal_ours): Add argument.
3509 (update_current_target): Update.
3510 * remote.c (remote_terminal_ours): Add 'self' argument.
3511 (remote_close): Update.
3512 * linux-nat.c (linux_nat_terminal_ours): Add 'self' argument.
3513 * inflow.c (terminal_ours): Add 'self' argument.
3514 * inferior.h (terminal_ours): Add 'self' argument.
3515 * go32-nat.c (go32_terminal_ours): Add 'self' argument.
3517 2014-02-19 Pedro Alves <palves@redhat.com>
3518 Tom Tromey <tromey@redhat.com>
3520 * target.h (struct target_ops) <to_terminal_ours_for_output>: Add
3522 (target_terminal_ours_for_output): Add argument.
3523 * target.c (debug_to_terminal_ours_for_output): Add argument.
3524 (update_current_target): Update.
3525 * inflow.c (terminal_ours_for_output): Add 'self' argument.
3526 * inferior.h (terminal_ours_for_output): Add 'self' argument.
3527 * go32-nat.c (go32_terminal_ours): Add 'self' argument.
3529 2014-02-19 Tom Tromey <tromey@redhat.com>
3531 * target.h (struct target_ops) <to_terminal_inferior>: Add
3533 * target.c (target_terminal_inferior): Add argument.
3534 (update_current_target): Update.
3535 * remote.c (remote_terminal_inferior): Add 'self' argument.
3536 * linux-nat.c (linux_nat_terminal_inferior): Add 'self' argument.
3537 * inflow.c (terminal_inferior): Add 'self' argument.
3538 * inferior.h (terminal_inferior): Add 'self' argument.
3539 * go32-nat.c (go32_terminal_inferior): Add 'self' argument.
3540 (go32_terminal_inferior): Add 'self' argument.
3542 2014-02-19 Tom Tromey <tromey@redhat.com>
3544 * target.h (struct target_ops) <to_terminal_init>: Add argument.
3545 (target_terminal_init): Add argument.
3546 * target.c (debug_to_terminal_init): Add argument.
3547 (update_current_target): Update.
3548 * inflow.c (terminal_init_inferior): Add 'self' argument.
3549 * inferior.h (terminal_init_inferior): Add 'self' argument.
3550 * go32-nat.c (go32_terminal_init): Add 'self' argument.
3551 * gnu-nat.c (gnu_terminal_init_inferior): Add 'self' argument.
3553 2014-02-19 Tom Tromey <tromey@redhat.com>
3555 * target.h (struct target_ops)
3556 <to_can_accel_watchpoint_condition>: Add argument.
3557 (target_can_accel_watchpoint_condition): Add argument.
3558 * target.c (debug_to_can_accel_watchpoint_condition): Add
3560 (update_current_target): Update.
3561 * ppc-linux-nat.c (ppc_linux_can_accel_watchpoint_condition): Add
3564 2014-02-19 Tom Tromey <tromey@redhat.com>
3566 * target.h (struct target_ops) <to_region_ok_for_hw_watchpoint>:
3568 (target_region_ok_for_hw_watchpoint): Add argument.
3569 * target.c (debug_to_region_ok_for_hw_watchpoint): Add argument.
3570 (default_region_ok_for_hw_watchpoint): Add argument.
3571 * spu-multiarch.c (spu_region_ok_for_hw_watchpoint): Add argument.
3572 * s390-linux-nat.c (s390_region_ok_for_hw_watchpoint): Add 'self'
3574 * remote.c (remote_region_ok_for_hw_watchpoint): Add 'self'
3576 * procfs.c (procfs_region_ok_for_hw_watchpoint): Add 'self'
3578 * ppc-linux-nat.c (ppc_linux_region_ok_for_hw_watchpoint): Add
3580 * mips-linux-nat.c (mips_linux_region_ok_for_hw_watchpoint): Add
3582 * inf-ttrace.c (inf_ttrace_region_ok_for_hw_watchpoint): Add
3584 * i386-nat.c (i386_region_ok_for_watchpoint): Add 'self' argument.
3585 * arm-linux-nat.c (arm_linux_region_ok_for_hw_watchpoint): Add
3587 * aarch64-linux-nat.c (aarch64_linux_region_ok_for_hw_watchpoint):
3588 Add 'self' argument.
3590 2014-02-19 Tom Tromey <tromey@redhat.com>
3592 * target.h (struct target_ops) <to_insert_watchpoint>: Add
3594 (target_insert_watchpoint): Add argument.
3595 * target.c (debug_to_insert_watchpoint): Add argument.
3596 (update_current_target): Update.
3597 * s390-linux-nat.c (s390_insert_watchpoint): Add 'self' argument.
3598 * remote.c (remote_insert_watchpoint): Add 'self' argument.
3599 * remote-mips.c (mips_insert_watchpoint): Add 'self' argument.
3600 * remote-m32r-sdi.c (m32r_insert_watchpoint): Add 'self' argument.
3601 * procfs.c (procfs_insert_watchpoint): Add 'self' argument.
3602 * ppc-linux-nat.c (ppc_linux_insert_watchpoint): Add 'self'
3604 * nto-procfs.c (procfs_insert_hw_watchpoint): Add 'self' argument.
3605 (procfs_insert_hw_watchpoint): Add 'self' argument.
3606 * mips-linux-nat.c (mips_linux_insert_watchpoint): Add 'self'
3608 * inf-ttrace.c (inf_ttrace_insert_watchpoint): Add 'self'
3610 * ia64-linux-nat.c (ia64_linux_insert_watchpoint): Add 'self'
3612 * i386-nat.c (i386_insert_watchpoint): Add 'self' argument.
3613 * arm-linux-nat.c (arm_linux_insert_watchpoint): Add 'self'
3615 * aarch64-linux-nat.c (aarch64_linux_insert_watchpoint): Add
3618 2014-02-19 Tom Tromey <tromey@redhat.com>
3620 * target.h (struct target_ops) <to_remove_watchpoint>: Add
3622 (target_remove_watchpoint): Add argument.
3623 * target.c (debug_to_remove_watchpoint): Add argument.
3624 (update_current_target): Update.
3625 * s390-linux-nat.c (s390_remove_watchpoint): Add 'self' argument.
3626 * remote.c (remote_remove_watchpoint): Add 'self' argument.
3627 * remote-mips.c (mips_remove_watchpoint): Add 'self' argument.
3628 * remote-m32r-sdi.c (m32r_remove_watchpoint): Add 'self' argument.
3629 * procfs.c (procfs_remove_watchpoint): Add 'self' argument.
3630 * ppc-linux-nat.c (ppc_linux_remove_watchpoint): Add 'self'
3632 * nto-procfs.c (procfs_remove_hw_watchpoint): Add 'self' argument.
3633 * mips-linux-nat.c (mips_linux_remove_watchpoint): Add 'self'
3635 * inf-ttrace.c (inf_ttrace_remove_watchpoint): Add 'self'
3637 * ia64-linux-nat.c (ia64_linux_remove_watchpoint): Add 'self'
3639 * i386-nat.c (i386_remove_watchpoint): Add 'self' argument.
3640 * arm-linux-nat.c (arm_linux_remove_watchpoint): Add 'self'
3642 * aarch64-linux-nat.c (aarch64_linux_remove_watchpoint): Add
3645 2014-02-19 Tom Tromey <tromey@redhat.com>
3647 * target.h (struct target_ops) <to_remove_hw_breakpoint>: Add
3649 (target_remove_hw_breakpoint): Add argument.
3650 * target.c (debug_to_remove_hw_breakpoint): Add argument.
3651 (update_current_target): Update.
3652 * remote.c (remote_remove_hw_breakpoint): Add 'self' argument.
3653 * ppc-linux-nat.c (ppc_linux_remove_hw_breakpoint): Add 'self'
3655 * i386-nat.c (i386_remove_hw_breakpoint): Add 'self' argument.
3656 * arm-linux-nat.c (arm_linux_remove_hw_breakpoint): Add 'self'
3658 * aarch64-linux-nat.c (aarch64_linux_remove_hw_breakpoint): Add
3661 2014-02-19 Tom Tromey <tromey@redhat.com>
3663 * target.h (struct target_ops) <to_insert_hw_breakpoint>: Add
3665 (target_insert_hw_breakpoint): Add argument.
3666 * target.c (debug_to_insert_hw_breakpoint): Add argument.
3667 (update_current_target): Update.
3668 * remote.c (remote_insert_hw_breakpoint): Add 'self' argument.
3669 * ppc-linux-nat.c (ppc_linux_insert_hw_breakpoint): Add 'self'
3671 * nto-procfs.c (procfs_insert_hw_breakpoint): Add 'self' argument.
3672 * i386-nat.c (i386_insert_hw_breakpoint): Add 'self' argument.
3673 * arm-linux-nat.c (arm_linux_insert_hw_breakpoint): Add 'self'
3675 * aarch64-linux-nat.c (aarch64_linux_insert_hw_breakpoint): Add
3678 2014-02-19 Tom Tromey <tromey@redhat.com>
3680 * target.h (struct target_ops) <to_can_use_hw_breakpoint>: Add
3682 (target_can_use_hardware_watchpoint): Add argument.
3683 * target.c (debug_to_can_use_hw_breakpoint): Add argument.
3684 (update_current_target): Update.
3685 * spu-linux-nat.c (spu_can_use_hw_breakpoint): Add 'self'
3687 * s390-linux-nat.c (s390_can_use_hw_breakpoint): Add 'self'
3689 * remote.c (remote_check_watch_resources): Add 'self' argument.
3690 * remote-mips.c (mips_can_use_watchpoint): Add 'self' argument.
3691 * remote-m32r-sdi.c (m32r_can_use_hw_watchpoint): Add 'self'
3693 * procfs.c (procfs_can_use_hw_breakpoint): Add 'self' argument.
3694 * ppc-linux-nat.c (ppc_linux_can_use_hw_breakpoint): Add 'self'
3696 * nto-procfs.c (procfs_can_use_hw_breakpoint): Add 'self'
3698 * mips-linux-nat.c (mips_linux_can_use_hw_breakpoint): Add 'self'
3700 * inf-ttrace.c (inf_ttrace_can_use_hw_breakpoint): Add 'self'
3702 * ia64-linux-nat.c (ia64_linux_can_use_hw_breakpoint): Add 'self'
3704 * ia64-hpux-nat.c (ia64_hpux_can_use_hw_breakpoint): Add 'self'
3706 * i386-nat.c (i386_can_use_hw_breakpoint): Add 'self' argument.
3707 * arm-linux-nat.c (arm_linux_can_use_hw_breakpoint): Add 'self'
3709 * aarch64-linux-nat.c (aarch64_linux_can_use_hw_breakpoint): Add
3712 2014-02-19 Tom Tromey <tromey@redhat.com>
3714 * target.h (struct target_ops) <to_post_attach>: Add argument.
3715 (target_post_attach): Add argument.
3716 * target.c (debug_to_post_attach): Add argument.
3717 (update_current_target): Update.
3718 * spu-linux-nat.c (spu_child_post_attach): Add 'self' argument.
3719 * nto-procfs.c (procfs_post_attach): Add 'self' argument.
3720 * linux-nat.c (linux_child_post_attach): Add 'self' argument.
3721 * inf-ptrace.c (inf_ptrace_post_attach): Add 'self' argument.
3722 * inf-child.c (inf_child_post_attach): Add 'self' argument.
3724 2014-02-19 Tom Tromey <tromey@redhat.com>
3726 * windows-nat.c (windows_close): Add 'self' argument.
3727 * tracepoint.c (tfile_close): Add 'self' argument.
3728 * target.h (struct target_ops) <to_close>: Add argument.
3729 * target.c (target_close): Add argument.
3730 (update_current_target): Update.
3731 * remote.c (remote_close): Add 'self' argument.
3732 * remote-sim.c (gdbsim_close): Add 'self' argument.
3733 * remote-mips.c (mips_close): Add 'self' argument.
3734 * remote-m32r-sdi.c (m32r_close): Add 'self' argument.
3735 * record-full.c (record_full_close): Add 'self' argument.
3736 * record-btrace.c (record_btrace_close): Add 'self' argument.
3737 * monitor.h (monitor_close): Add 'self' argument.
3738 * monitor.c (monitor_close): Add 'self' argument.
3739 * mips-linux-nat.c (mips_linux_close): Add 'self' argument.
3740 * linux-nat.c (linux_nat_close): Add argument.
3741 * go32-nat.c (go32_close): Add 'self' argument.
3742 * exec.c (exec_close_1): Add 'self' argument.
3743 * ctf.c (ctf_close): Add 'self' argument.
3744 * corelow.c (core_close): Add 'self' argument.
3745 (core_close_cleanup): Update.
3746 * bsd-uthread.c (bsd_uthread_close): Add 'self' argument.
3747 * bsd-kvm.c (bsd_kvm_close): Add 'self' argument.
3749 2014-02-19 Tom Tromey <tromey@redhat.com>
3751 * remote.c (remote_load): New function.
3752 (init_remote_ops): Use it.
3754 2014-02-19 Tom Tromey <tromey@redhat.com>
3756 * common/linux-btrace.c (linux_supports_btrace): Add "ops"
3758 * common/linux-btrace.h (linux_supports_btrace): Update.
3759 * remote.c (remote_supports_btrace): Add "self" argument.
3760 * target-delegates.c: Rebuild.
3761 * target.c (target_supports_btrace): Remove.
3762 * target.h (struct target_ops) <to_supports_btrace>: Add
3763 target_ops argument.
3764 (target_supports_btrace): New define.
3766 2014-02-19 Tom Tromey <tromey@redhat.com>
3768 * record-full.c (record_full_beneath_to_resume_ops)
3769 (record_full_beneath_to_resume, record_full_beneath_to_wait_ops)
3770 (record_full_beneath_to_wait)
3771 (record_full_beneath_to_store_registers_ops)
3772 (record_full_beneath_to_store_registers)
3773 (record_full_beneath_to_xfer_partial_ops)
3774 (record_full_beneath_to_xfer_partial)
3775 (record_full_beneath_to_insert_breakpoint_ops)
3776 (record_full_beneath_to_insert_breakpoint)
3777 (record_full_beneath_to_remove_breakpoint_ops)
3778 (record_full_beneath_to_remove_breakpoint)
3779 (record_full_beneath_to_stopped_by_watchpoint)
3780 (record_full_beneath_to_stopped_data_address)
3781 (record_full_beneath_to_async, tmp_to_resume_ops, tmp_to_resume)
3782 (tmp_to_wait_ops, tmp_to_wait, tmp_to_store_registers_ops)
3783 (tmp_to_store_registers, tmp_to_xfer_partial_ops)
3784 (tmp_to_xfer_partial, tmp_to_instmp_to_insert_breakpoint_ops)
3785 (tmp_to_insert_breakpoint, tmp_to_remove_breakpoint_ops)
3786 (tmp_to_remove_breakpoint, tmp_to_stopped_by_watchpoint)
3787 (tmp_to_stopped_data_address, tmp_to_async): Remove.
3788 (record_full_open_1, record_full_open): Update. Use RECORD_IS_USED.
3789 (record_full_resume, record_full_wait_1)
3790 (record_full_stopped_by_watchpoint, record_full_stopped_data_address)
3791 (record_full_store_registers, record_full_xfer_partial)
3792 (record_full_insert_breakpoint, record_full_remove_breakpoint)
3793 (record_full_async, record_full_core_xfer_partial): Use target
3795 * target-delegates.c: Rebuild.
3796 * target.c (current_xfer_partial): Remove.
3797 (update_current_target): Do not INHERIT or de_fault
3798 to_insert_breakpoint, to_remove_breakpoint,
3799 to_stopped_data_address, to_stopped_by_watchpoint, to_can_async_p,
3800 to_is_async_p, to_async. Do not set to_xfer_partial field.
3801 (default_xfer_partial): Simplify.
3802 (current_xfer_partial): Remove.
3803 (target_wait, target_resume): Simplify.
3804 (find_default_can_async_p, find_default_is_async_p): Update.
3805 (init_dummy_target): Don't set to_can_async_p, to_is_async_p,
3806 to_xfer_partial, to_stopped_by_watchpoint,
3807 to_stopped_data_address.
3808 (target_store_registers): Simplify.
3809 (forward_target_remove_breakpoint)
3810 (forward_target_insert_breakpoint): Remove.
3811 (target_remove_breakpoint, target_insert_breakpoint)
3812 (debug_to_insert_breakpoint, debug_to_remove_breakpoint): Update.
3813 * target.h (struct target_ops) <to_resume, to_wait,
3814 to_store_registers, to_insert_breakpoint, to_remove_breakpoint,
3815 to_stopped_by_watchpoint, to_stopped_data_address, to_can_async_p,
3816 to_is_async_p, to_async, to_xfer_partial>: Add TARGET_DEFAULT
3818 (forward_target_remove_breakpoint)
3819 (forward_target_insert_breakpoint): Remove.
3820 * record-btrace.c (record_btrace_remove_breakpoint): Delegate
3822 (record_btrace_insert_breakpoint): Delegate directly.
3824 2014-02-19 Tom Tromey <tromey@redhat.com>
3827 * target-delegates.c: New file.
3828 * target.c: Include target-delegates.c.
3829 (init_dummy_target): Call install_dummy_methods.
3830 (complete_target_initialization): Call install_delegators.
3831 * target.h (TARGET_DEFAULT_IGNORE, TARGET_DEFAULT_NORETURN)
3832 (TARGET_DEFAULT_RETURN, TARGET_DEFAULT_FUNC): New defines.
3833 * make-target-delegates: New file.
3835 2014-02-19 Tom Tromey <tromey@redhat.com>
3837 * record.c (find_record_target): Use find_target_at.
3838 * target.c (find_target_at): New function.
3839 * target.h (find_target_at): Declare.
3841 2014-02-19 Tom Tromey <tromey@redhat.com>
3843 * aarch64-linux-nat.c (aarch64_linux_stopped_by_watchpoint):
3845 * arm-linux-nat.c (arm_linux_stopped_by_watchpoint): Add
3847 * i386-nat.c (i386_stopped_by_watchpoint): Add 'ops' argument.
3848 * ia64-linux-nat.c (ia64_linux_stopped_by_watchpoint): Add
3850 * inf-ttrace.c (inf_ttrace_stopped_by_watchpoint): Add 'ops'
3852 * linux-nat.c (save_sigtrap): Update.
3853 (linux_nat_stopped_by_watchpoint, linux_nat_is_async_p)
3854 (linux_nat_can_async_p, linux_nat_async): Add 'ops' argument.
3855 (linux_nat_close): Update.
3856 * mips-linux-nat.c (mips_linux_stopped_by_watchpoint): Add 'ops'
3858 * ppc-linux-nat.c (ppc_linux_stopped_by_watchpoint): Add 'ops'
3860 * procfs.c (procfs_stopped_by_watchpoint): Add 'ops' argument.
3861 * record-full.c (record_full_beneath_to_stopped_by_watchpoint)
3862 (record_full_beneath_to_async, tmp_to_stopped_by_watchpoint)
3863 (tmp_to_async): Add 'ops' argument.
3864 (record_full_stopped_by_watchpoint, record_full_async)
3865 (record_full_can_async_p, record_full_is_async_p): Add 'ops'
3867 * remote-m32r-sdi.c (m32r_insert_breakpoint, m32r_remove_breakpoint)
3868 (m32r_stopped_by_watchpoint): Add 'ops' argument.
3869 * remote-mips.c (mips_stopped_by_watchpoint): Add 'ops' argument.
3870 * remote.c (remote_stopped_by_watchpoint_p, remote_can_async_p)
3871 (remote_is_async_p, remote_async): Add 'ops' argument.
3872 (remote_stopped_data_address): Update.
3873 * s390-nat.c (s390_stopped_by_watchpoint): Add 'ops' argument.
3874 * target.c (update_current_target)
3875 (find_default_can_async_p, find_default_is_async_p): Update.
3876 (init_dummy_target): Update.
3877 (debug_to_stopped_by_watchpoint): Add 'ops' argument.
3878 * target.h (struct target_ops) <to_stopped_by_watchpoint,
3879 to_can_async_p, to_is_async_p, to_async>: Add 'ops' argument.
3880 (target_can_async_p, target_is_async_p, target_async)
3881 (target_stopped_by_watchpoint): Update.
3883 2014-02-19 Yao Qi <yao@codesourcery.com>
3886 * gdbarch.sh: Remove startup_gdbarch.
3887 * gdbarch.c: Regenerated.
3888 * gdbarch.h: Likewise.
3890 2014-02-17 Kevin Buettner <kevinb@redhat.com>
3892 * rl78-tdep.c (rl78_g10_register_name): New function.
3893 (rl78_return_value): Add g10 support.
3894 (rl78_gdbarch_init): Register rl78_g10_register_name for the
3897 2014-02-17 Doug Evans <xdje42@gmail.com>
3899 * Makefile.in (SUBDIR_GUILE_OBS): Resort alphabetically.
3900 (SUBDIR_GUILE_SRCS): Ditto.
3901 (scm-gsmob.o): Ditto.
3903 2014-02-17 Yao Qi <yao@codesourcery.com>
3905 * gnu-nat.c (ILL_RPC): Declare defined function.
3907 2014-02-17 Yao Qi <yao@codesourcery.com>
3909 * gnu-nat.c (gnu_read_inferior): Change 'copy_count' type to
3910 mach_msg_type_number_t.
3911 (gnu_write_inferior): Likewise.
3913 2014-02-17 Yao Qi <yao@codesourcery.com>
3915 * gnu-nat.c (proc_get_exception_port): Use 'lu' insetad of 'd'
3917 (proc_steal_exc_port, make_proc, inf_set_pid): Likewise.
3918 (inf_validate_procs, inf_signal): Likewise.
3919 (S_exception_raise_request): Likewise.
3920 (do_mach_notify_dead_name): Likewise.
3921 (steal_exc_port): Likewise.
3922 (gnu_read_inferior): Change 'copy_count''s type to
3923 mach_msg_type_number_t.
3924 (gnu_write_inferior): Likewise. Use 'lx' instead of 'x' in
3927 2014-02-16 Thomas Schwinge <thomas@codesourcery.com>
3929 * gnu-nat.c (struct inf): Change pending_execs member to a 1-bit
3930 flag. Adjust all users; in particular...
3931 (gnu_wait): ..., don't decrement its value in here...
3932 (gnu_create_inferior): ..., and instead set the flag in here,
3933 around the startup_inferior call, and call that one with
3934 START_INFERIOR_TRAPS_EXPECTED.
3936 * gnu-nat.c (ill_rpc): Remove function; replaced with this...
3937 (ILL_RPC): ... new macro.
3938 (do_mach_notify_no_senders, do_mach_notify_port_deleted)
3939 (do_mach_notify_msg_accepted, do_mach_notify_port_destroyed)
3940 (do_mach_notify_send_once, S_proc_setmsgport_reply)
3941 (S_proc_getmsgport_reply, S_msg_sig_post_reply): Generate stub
3942 functions with ILL_RPC macro.
3943 (S_proc_pid2task_reply, S_proc_task2pid_reply)
3944 (S_proc_task2proc_reply, S_proc_proc2task_reply)
3945 (S_proc_pid2proc_reply, S_proc_getprocinfo_reply)
3946 (S_proc_getprocargs_reply, S_proc_getprocenv_reply)
3947 (S_proc_getloginid_reply, S_proc_getloginpids_reply)
3948 (S_proc_getlogin_reply, S_proc_getsid_reply)
3949 (S_proc_getsessionpgids_reply, S_proc_getsessionpids_reply)
3950 (S_proc_getsidport_reply, S_proc_getpgrp_reply)
3951 (S_proc_getpgrppids_reply, S_proc_get_tty_reply)
3952 (S_proc_getnports_reply, S_proc_is_important_reply)
3953 (S_proc_get_code_reply): New stub functions, generated with
3956 * reply_mig_hack.awk: In phase 5, keep going if we have not yet
3957 collected the type check structures.
3959 * reply_mig_hack.awk: Don't expect to see the auto keyword.
3961 2014-02-14 Doug Evans <dje@google.com>
3963 * target.c (target_write_partial): Fix result type.
3965 2014-02-14 Jose E. Marchesi <jose.marchesi@oracle.com>
3967 * sparc64-linux-nat.c (_initialize_sparc64_linux_nat): Register
3968 the proper offsets to access fpregset_t.
3970 2014-02-13 Sanimir Agovic <sanimir.agovic@intel.com>
3972 * cris-tdep.c (cris_supply_gregset): Remove zerobuf.
3973 (_initialize_cris_tdep): Remove cris_set_cmdlist, cris_show_cmdlist.
3974 * h8300-tdep.c (setmachinelist): Remove global.
3975 * hppa-tdep.c (hppa_sigtramp): Remove global.
3976 * mipsnbsd-tdep.c (sigtramp_retcode_mipsel, sigtramp_retcode_mipseb
3977 RETCODE_NWORDS, RETCODE_SIZE): Wrap code with #if 0.
3978 * ravenscar-thread.c (update_target_observer): Remove global.
3979 * rs6000-tdep.c (rs6000_gdbarch_init): Remove segment_regs.
3981 2014-02-12 Tom Tromey <tromey@redhat.com>
3983 * common/rsp-low.c: Update comments.
3984 * common/rsp-low.h: Update comments.
3986 2014-02-12 Tom Tromey <tromey@redhat.com>
3988 * common/rsp-low.c (convert_ascii_to_int): Remove.
3989 * common/rsp-low.h (convert_ascii_to_int): Don't declare.
3991 2014-02-12 Tom Tromey <tromey@redhat.com>
3993 * common/rsp-low.h (unhexify): Don't declare.
3994 * common/rsp-low.c (unhexify): Remove.
3996 2014-02-12 Tom Tromey <tromey@redhat.com>
3998 * common/rsp-low.h (convert_int_to_ascii): Don't declare.
3999 * common/rsp-low.c (convert_int_to_ascii): Remove.
4001 2014-02-12 Tom Tromey <tromey@redhat.com>
4003 * common/rsp-low.h (hexify): Don't declare.
4004 * common/rsp-low.c (hexify): Remove.
4006 2014-02-12 Tom Tromey <tromey@redhat.com>
4008 * common/rsp-low.c (hexify): Never take strlen of argument.
4010 2014-02-12 Tom Tromey <tromey@redhat.com>
4012 * common/rsp-low.c (bin2hex): Never take strlen of argument.
4013 * remote.c (extended_remote_run, remote_rcmd)
4014 (remote_download_trace_state_variable, remote_save_trace_data)
4015 (remote_set_trace_notes): Update.
4016 * tracepoint.c (encode_source_string, tfile_write_status)
4017 (tfile_write_uploaded_tsv): Update.
4019 2014-02-12 Tom Tromey <tromey@redhat.com>
4021 * tracepoint.c: Include rsp-low.h.
4022 * remote.h (hex2bin, bin2hex, unpack_varlen_hex): Don't declare.
4023 * remote.c: Include rsp-low.h.
4024 (hexchars, ishex, unpack_varlen_hex, pack_nibble, pack_hex_byte)
4025 (fromhex, hex2bin, tohex, bin2hex, remote_escape_output)
4026 (remote_unescape_input): Move to common/rsp-low.c.
4027 * common/rsp-low.h: New file.
4028 * common/rsp-low.c: New file.
4029 * Makefile.in (SFILES): Add common/rsp-low.c.
4030 (HFILES_NO_SRCDIR): Add common/rsp-low.h.
4031 (COMMON_OBS): Add rsp-low.o.
4032 (rsp-low.o): New target.
4034 2014-02-12 Tom Tromey <tromey@redhat.com>
4036 * utils.h: Include print-utils.h.
4037 (host_address_to_string, plongest, pulongest, phex, phex_nz)
4038 (int_string, core_addr_to_string, core_addr_to_string_nz)
4039 (hex_string, hex_string_custom): Don't declare.
4040 * utils.c (NUMCELLS, CELLSIZE, get_cell, decimal2str, pulongest)
4041 (plongest, thirty_two, phex, phex_nz, octal2str, hex_string)
4042 (hex_string_custom, int_string, core_addr_to_string)
4043 (core_addr_to_string_nz, host_address_to_string): Move to
4044 common/print-utils.c.
4045 * common/print-utils.h: New file.
4046 * common/print-utils.c: New file
4047 * Makefile.in (SFILES): Add common/print-utils.c.
4048 (HFILES_NO_SRCDIR): Add common/print-utils.h.
4049 (COMMON_OBS): Add print-utils.o.
4050 (print-utils.o): New target.
4052 2014-02-12 Tom Tromey <tromey@redhat.com>
4054 * nios2-tdep.c (nios2_stub_frame_base_address): Remove.
4056 2014-02-12 Mark Kettenis <kettenis@gnu.org>
4058 * sparc64obsd-tdep.c (sparc64obsd_init_abi): Call obsd_init_abi.
4060 2014-02-12 Mark Kettenis <kettenis@gnu.org>
4062 * inf-ptrace.c (inf_ptrace_xfer_partial): Return TARGET_XFER_EOF
4063 if a PT_IO ptrace request returns sucessfully but indicates that 0
4064 bytes were transferred.
4066 2014-02-12 Pedro Alves <palves@redhat.com>
4067 Kevin Buettner <kevinb@redhat.com>
4069 * gnu-v3-abi.c (build_gdb_vtable_type): Return a type marked with
4070 TYPE_INSTANCE_FLAG_CODE_SPACE.
4072 2014-02-12 Pedro Alves <palves@redhat.com>
4074 * h8300-tdep.c (pseudo_from_raw_register)
4075 (raw_from_pseudo_register): New functions.
4076 (h8300_pseudo_register_read, h8300_pseudo_register_write): Use
4079 2014-02-12 Pedro Alves <palves@redhat.com>
4081 * h8300-tdep.c (h8300_register_sim_regno): New function.
4082 (h8300_gdbarch_init): Install h8300_register_sim_regno as
4083 gdbarch_register_sim_regno hook.
4085 2014-02-12 Sanimir Agovic <sanimir.agovic@intel.com>
4087 * nios2-tdep.c (nios2_stub_frame_base): Remove global.
4089 2014-02-12 Sanimir Agovic <sanimir.agovic@intel.com>
4091 * tic6x-tdep.c (tic6x_gdbarch_init): Call frame_base_set_default.
4093 2014-02-12 Mark Kettenis <kettenis@gnu.org>
4095 * obsd-tdep.h (obsd_init_abi): New prototype.
4096 * obsd-tdep.c: Define enum with OpenBSD signal numbers.
4097 (obsd_gdb_signal_from_target, obsd_gdb_signal_to_target)
4098 (obsd_init_abi): New functions.
4099 * i386obsd-tdep.c: Include "obsd-tdep.h".
4100 (i386obsd_init_abi): Call obsd_init_abi.
4101 * amd64obsd-tdep.c: Include "obsd-tdep.h".
4102 (amd64obsd_init_abi): Call obsd_init_abi.
4103 * configure.tgt (i[34567]86-*-openbsd*, x86_64-*-openbsd*): Add
4104 obsd-tdep.c to gdb_target_obs.
4106 2014-02-11 Jose E. Marchesi <jose.marchesi@oracle.com>
4108 * sparc64-tdep.c (sparc64_store_arguments): Do not align complex
4109 double float arguments to 16-byte in the argument slots.
4111 2014-02-11 Doug Evans <xdje42@gmail.com>
4113 * configure.ac: Don't crash if pkg-config is not found and guile
4114 wasn't explicitly requested. Use AC_MSG_ERROR instead of AC_ERROR
4116 * configure: Regenerate.
4118 2014-02-11 Yao Qi <yao@codesourcery.com>
4120 * aix-thread.c (aix_thread_xfer_partial): Update comments.
4121 * auxv.c (procfs_xfer_auxv, memory_xfer_auxv): Likewise.
4122 * bsd-uthread.c (bsd_uthread_xfer_partial): Likewise.
4123 * gnu-nat.c (gnu_xfer_memory): Likewise.
4124 * inf-ptrace.c (inf_ptrace_xfer_partial): Likewise.
4125 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
4126 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
4127 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise.
4129 2014-02-11 Yao Qi <yao@codesourcery.com>
4131 * target.h (enum target_xfer_error): Rename to ...
4132 (enum target_xfer_status): ... it. New. All users updated.
4133 (enum target_xfer_status) <TARGET_XFER_OK>, <TARGET_XFER_EOF>:
4135 (TARGET_XFER_STATUS_ERROR_P): New macro.
4136 (target_xfer_error_to_string): Remove declaration.
4137 (target_xfer_status_to_string): Declare.
4138 (target_xfer_partial_ftype): Adjust it.
4139 (struct target_ops) <to_xfer_partial>: Return
4140 target_xfer_status. Add argument xfered_len. Update
4142 * target.c (target_xfer_error_to_string): Rename to ...
4143 (target_xfer_status_to_string): ... it. New. All callers
4145 (target_read_live_memory): Likewise. Call target_xfer_partial
4146 instead of target_read.
4147 (memory_xfer_live_readonly_partial): Return
4148 target_xfer_status. Add argument xfered_len.
4149 (raw_memory_xfer_partial): Likewise.
4150 (memory_xfer_partial_1): Likewise.
4151 (memory_xfer_partial): Likewise.
4152 (target_xfer_partial): Likewise. Check *XFERED_LEN is set
4153 properly. Update debug message.
4154 (default_xfer_partial, current_xfer_partial): Likewise.
4155 (target_write_partial): Likewise.
4156 (target_read_partial): Likewise. All callers updated.
4157 (read_whatever_is_readable): Likewise.
4158 (target_write_with_progress): Likewise.
4159 (target_read_alloc_1): Likewise.
4161 * aix-thread.c (aix_thread_xfer_partial): Likewise.
4162 * auxv.c (procfs_xfer_auxv): Likewise.
4163 (ld_so_xfer_auxv, memory_xfer_auxv): Likewise.
4164 * bfd-target.c (target_bfd_xfer_partial): Likewise.
4165 * bsd-kvm.c (bsd_kvm_xfer_partial): Likewise.
4166 * bsd-uthread.c (bsd_uthread_xfer_partia): Likewise.
4167 * corefile.c (read_memory): Adjust.
4168 * corelow.c (core_xfer_partial): Likewise.
4169 * ctf.c (ctf_xfer_partial): Likewise.
4170 * darwin-nat.c (darwin_read_dyld_info): Likewise. All callers
4172 (darwin_xfer_partial): Likewise.
4173 * exec.c (section_table_xfer_memory_partial): Likewise. All
4175 (exec_xfer_partial): Likewise.
4176 * exec.h (section_table_xfer_memory_partial): Update
4178 * gnu-nat.c (gnu_xfer_memory): Likewise. Assert 'res' is not
4180 (gnu_xfer_partial): Likewise.
4181 * ia64-hpux-nat.c (ia64_hpux_xfer_memory_no_bs): Likewise.
4182 (ia64_hpux_xfer_memory, ia64_hpux_xfer_uregs): Likewise.
4183 (ia64_hpux_xfer_solib_got): Likewise.
4184 * inf-ptrace.c (inf_ptrace_xfer_partial): Likewise. Change
4185 type of 'partial_len' to ULONGEST.
4186 * inf-ttrace.c (inf_ttrace_xfer_partial): Likewise.
4187 * linux-nat.c (linux_xfer_siginfo ): Likewise.
4188 (linux_nat_xfer_partial): Likewise.
4189 (linux_proc_xfer_partial, linux_xfer_partial): Likewise.
4190 (linux_proc_xfer_spu, linux_nat_xfer_osdata): Likewise.
4191 * monitor.c (monitor_xfer_memory): Likewise.
4192 (monitor_xfer_partial): Likewise.
4193 * procfs.c (procfs_xfer_partial): Likewise.
4194 * record-btrace.c (record_btrace_xfer_partial): Likewise.
4195 * record-full.c (record_full_xfer_partial): Likewise.
4196 (record_full_core_xfer_partial): Likewise.
4197 * remote-sim.c (gdbsim_xfer_memory): Likewise.
4198 (gdbsim_xfer_partial): Likewise.
4199 * remote.c (remote_write_bytes_aux): Likewise. All callers
4201 (remote_write_bytes, remote_read_bytes): Likewise. All
4203 (remote_flash_erase): Likewise. All callers updated.
4204 (remote_write_qxfer): Likewise. All callers updated.
4205 (remote_read_qxfer): Likewise. All callers updated.
4206 (remote_xfer_partial): Likewise.
4207 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
4208 (rs6000_xfer_shared_libraries): Likewise.
4209 * sol-thread.c (sol_thread_xfer_partial): Likewise.
4210 (sol_thread_xfer_partial): Likewise.
4211 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
4212 (sparc_xfer_partial): Likewise.
4213 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise. All callers
4215 (spu_xfer_partial): Likewise.
4216 * spu-multiarch.c (spu_xfer_partial): Likewise.
4217 * tracepoint.c (tfile_xfer_partial): Likewise.
4218 * windows-nat.c (windows_xfer_memory): Likewise.
4219 (windows_xfer_shared_libraries): Likewise.
4220 (windows_xfer_partial): Likewise.
4221 * valprint.c: Replace 'target_xfer_error' with
4222 'target_xfer_status' in comments.
4224 2014-02-11 Simon Marchi <simon.marchi@ericsson.com> (tiny patch)
4226 Checked in by Joel Brobecker <brobecker@adacore.com>.
4227 * mi/mi-main.c (mi_cmd_data_write_memory_bytes): Fix comment.
4229 2014-02-11 Joel Brobecker <brobecker@adacore.com>
4231 * symfile-debug.c (debug_qf_expand_symtabs_matching): Reformat
4232 function parameters.
4234 2014-02-10 Will Newton <will.newton@linaro.org>
4236 * elfread.c (elf_rel_plt_read): Look for a .got section if
4237 looking up .got.plt fails.
4238 (elf_gnu_ifunc_resolve_by_got): Call gdbarch_addr_bits_remove
4239 on address passed to elf_gnu_ifunc_record_cache.
4240 (elf_gnu_ifunc_resolve_addr): Likewise.
4241 (elf_gnu_ifunc_resolver_return_stop): Likewise.
4243 2014-02-10 Jose E. Marchesi <jose.marchesi@oracle.com>
4245 * sparc-tdep.c (sparc_in_function_epilogue_p): New function.
4246 (X_RETTURN): New macro.
4247 * sparc-tdep.h: sparc_in_function_epilogue_p prototype.
4249 * sparc64-tdep.c (sparc64_init_abi): Hook
4250 sparc_in_function_epilogue_p.
4252 2014-02-10 Gary Benson <gbenson@redhat.com>
4254 * symfile-debug.c (debug_qf_expand_symtabs_matching):
4255 Rename name_matcher to symbol_matcher.
4257 2014-02-10 Gary Benson <gbenson@redhat.com>
4259 * symfile-debug.c (debug_qf_expand_symtabs_matching):
4260 Use expand_symtabs_file_matcher_ftype and
4261 expand_symtabs_symbol_matcher_ftype.
4263 2014-02-10 Joel Brobecker <brobecker@adacore.com>
4265 * ada-lang.c (struct cache_entry, HASH_SIZE): Move definition up.
4266 (struct ada_symbol_cache): New.
4267 (ada_free_symbol_cache): Forward declare.
4268 (struct ada_pspace_data): New.
4269 (ada_pspace_data_handle): New static global.
4270 (get_ada_pspace_data, ada_pspace_data_cleanup)
4271 (ada_init_symbol_cache, ada_free_symbol_cache): New functions.
4272 (cache_space, cache): Delete, now folded inside struct
4274 (ada_get_symbol_cache): New function.
4275 (ada_clear_symbol_cache, find_entry, cache_symbol): Adjust
4277 (_initialize_ada_language): Remove initialization of cache_space.
4278 Move call to observer_attach_inferior_exit up, grouping it
4279 with the other observer registrations inside this function.
4280 Rename command to be more general. Add call to
4281 register_program_space_data_with_cleanup.
4283 2014-02-10 Joel Brobecker <brobecker@adacore.com>
4285 * ada-tasks.c (ada_tasks_new_objfile_observer): Renames
4286 ada_new_objfile_observer.
4287 (ada_tasks_normal_stop_observer): Renames ada_normal_stop_observer.
4288 (_initialize_tasks): Update uses of ada_new_objfile_observer
4289 and ada_tasks_normal_stop_observer.
4291 2014-02-10 Joel Brobecker <brobecker@adacore.com>
4293 * ada-lang.c (ada_evaluate_subexp): Set the type of the value
4294 returned by the 'Length attribute to integer.
4296 2014-02-10 Joel Brobecker <brobecker@adacore.com>
4298 * ada-lang.c (_initialize_ada_language): Initialize
4299 cache_space obstack.
4301 2014-02-10 Joel Brobecker <brobecker@adacore.com>
4303 * ada-lang.c (HASH_SIZE): New macro.
4304 (struct cache_entry): New type.
4305 (cache_space, cache): New static globals.
4306 (ada_clear_symbol_cache, find_entry): New functions.
4307 (lookup_cached_symbol, cache_symbol): Implement.
4308 (ada_new_objfile_observer, ada_free_objfile_observer): New.
4309 (_initialize_ada_language): Attach ada_new_objfile_observer
4310 and ada_free_objfile_observer.
4312 2014-02-10 Joel Brobecker <brobecker@adacore.com>
4314 * ada-lang.c (ada_add_block_symbols, add_defn_to_vec)
4315 (lookup_cached_symbol, ada_add_local_symbols): Add "const" to
4316 struct block * parameter.
4317 (ada_lookup_symbol_list_worker): Constify local variable "block".
4318 Remove cast which is no longer necessary.
4320 2014-02-10 Doug Evans <xdje42@gmail.com>
4322 Add Guile as an extension language.
4323 * NEWS: Mention Guile scripting.
4324 * Makefile.in (SUBDIR_GUILE_OBS): New variable.
4325 (SUBDIR_GUILE_SRCS, SUBDIR_GUILE_DEPS): New variables
4326 (SUBDIR_GUILE_LDFLAGS, SUBDIR_GUILE_CFLAGS): New variables.
4327 (INTERNAL_CPPFLAGS): Add GUILE_CPPFLAGS.
4328 (CLIBS): Add GUILE_LIBS.
4329 (install-guile): New rule.
4330 (guile.o): New rule.
4331 (scm-arch.o, scm-auto-load.o, scm-block.o): New rules.
4332 (scm-breakpoint.o, scm-disasm.o, scm-exception.o): New rules.
4333 (scm-frame.o, scm-iterator.o, scm-lazy-string.o): New rules.
4334 (scm-math.o, scm-objfile.o, scm-ports.o): New rules.
4335 (scm-pretty-print.o, scm-safe-call.o, scm-gsmob.o): New rules.
4336 (scm-string.o, scm-symbol.o, scm-symtab.o): New rules.
4337 (scm-type.o, scm-utils.o, scm-value.o): New rules.
4338 * configure.ac: New option --with-guile.
4339 * configure: Regenerate.
4340 * config.in: Regenerate.
4341 * auto-load.c: Remove #include "python/python.h". Add #include
4342 "gdb/section-scripts.h".
4343 (source_section_scripts): Handle Guile scripts.
4344 (_initialize_auto_load): Add name of Guile objfile script to
4345 scripts-directory help text.
4346 * breakpoint.c (condition_command): Tweak comment to include Scheme.
4347 * breakpoint.h (gdbscm_breakpoint_object): Add forward decl.
4348 (struct breakpoint): New member scm_bp_object.
4349 * defs.h (enum command_control_type): New value guile_control.
4350 * cli/cli-cmds.c: Remove #include "python/python.h". Add #include
4352 (show_user): Update comment.
4353 (_initialize_cli_cmds): Update help text for "show user". Update help
4354 text for max-user-call-depth.
4355 * cli/cli-script.c: Remove #include "python/python.h". Add #include
4357 (multi_line_command_p): Add guile_control.
4358 (print_command_lines): Handle guile_control.
4359 (execute_control_command, recurse_read_control_structure): Ditto.
4360 (process_next_line): Recognize "guile" commands.
4361 * disasm.c (gdb_disassemble_info): Make non-static.
4362 * disasm.h: #include "dis-asm.h".
4363 (struct gdbarch): Add forward decl.
4364 (gdb_disassemble_info): Declare.
4365 * extension.c: #include "guile/guile.h".
4366 (extension_languages): Add guile.
4367 (get_ext_lang_defn): Handle EXT_LANG_GDB.
4368 * extension.h (enum extension_language): New value EXT_LANG_GUILE.
4369 * gdbtypes.c (get_unsigned_type_max): New function.
4370 (get_signed_type_minmax): New function.
4371 * gdbtypes.h (get_unsigned_type_max): Declare.
4372 (get_signed_type_minmax): Declare.
4373 * guile/README: New file.
4374 * guile/guile-internal.h: New file.
4375 * guile/guile.c: New file.
4376 * guile/guile.h: New file.
4377 * guile/scm-arch.c: New file.
4378 * guile/scm-auto-load.c: New file.
4379 * guile/scm-block.c: New file.
4380 * guile/scm-breakpoint.c: New file.
4381 * guile/scm-disasm.c: New file.
4382 * guile/scm-exception.c: New file.
4383 * guile/scm-frame.c: New file.
4384 * guile/scm-gsmob.c: New file.
4385 * guile/scm-iterator.c: New file.
4386 * guile/scm-lazy-string.c: New file.
4387 * guile/scm-math.c: New file.
4388 * guile/scm-objfile.c: New file.
4389 * guile/scm-ports.c: New file.
4390 * guile/scm-pretty-print.c: New file.
4391 * guile/scm-safe-call.c: New file.
4392 * guile/scm-string.c: New file.
4393 * guile/scm-symbol.c: New file.
4394 * guile/scm-symtab.c: New file.
4395 * guile/scm-type.c: New file.
4396 * guile/scm-utils.c: New file.
4397 * guile/scm-value.c: New file.
4398 * guile/lib/gdb.scm: New file.
4399 * guile/lib/gdb/boot.scm: New file.
4400 * guile/lib/gdb/experimental.scm: New file.
4401 * guile/lib/gdb/init.scm: New file.
4402 * guile/lib/gdb/iterator.scm: New file.
4403 * guile/lib/gdb/printing.scm: New file.
4404 * guile/lib/gdb/types.scm: New file.
4405 * data-directory/Makefile.in (GUILE_SRCDIR): New variable.
4406 (VPATH): Add $(GUILE_SRCDIR).
4407 (GUILE_DIR): New variable.
4408 (GUILE_INSTALL_DIR, GUILE_FILES): New variables.
4409 (all): Add stamp-guile dependency.
4410 (stamp-guile): New rule.
4411 (clean-guile, install-guile, uninstall-guile): New rules.
4412 (install-only): Add install-guile dependency.
4413 (uninstall): Add uninstall-guile dependency.
4414 (clean): Add clean-guile dependency.
4416 2014-02-09 Doug Evans <xdje42@gmail.com>
4418 Revert this patch (which I approved, mea culpa).
4420 2014-02-08 Mark Kettenis <kettenis@gnu.org>
4422 * Makefile.in (all-lib): Remove.
4423 ($(LIBGNU) $(GNULIB_H)): Replace with gits of remove all-lib target.
4425 2014-02-09 Jan Kratochvil <jan.kratochvil@redhat.com>
4427 Fix Python stack corruption.
4428 * python/py-linetable.c (ltpy_get_pcs_for_line, ltpy_has_line): Use
4431 2014-02-08 Mark Kettenis <kettenis@gnu.org>
4433 * Makefile.in (all-lib): Remove.
4434 ($(LIBGNU) $(GNULIB_H)): Replace with gits of remove all-lib target.
4436 2014-02-07 Doug Evans <dje@google.com>
4438 * extension-priv.h (extension_language_script_ops): Add comment.
4439 (extension_language_ops): Add comment.
4440 (active_ext_lang_state): Fix typo in comment.
4442 2014-02-07 Pedro Alves <palves@redhat.com>
4444 PR breakpoints/16292
4445 * infrun.c (handle_signal_stop) <signal arrives while stepping
4446 over a breakpoint>: Switch back to the stepping thread.
4448 2014-02-07 Yao Qi <yao@codesourcery.com>
4450 * target.c (target_xfer_partial): Return zero if LEN is zero.
4452 2014-02-07 Yao Qi <yao@codesourcery.com>
4454 * auxv.c (procfs_xfer_auxv): Replace -1 with TARGET_XFER_E_IO.
4455 (ld_so_xfer_auxv): Likewise.
4456 * bfd-target.c (target_bfd_xfer_partial): Likewise.
4457 * bsd-kvm.c (bsd_kvm_xfer_partial): Likewise.
4458 * corelow.c (core_xfer_partial): Likewise.
4459 * ctf.c (ctf_xfer_partial): Likewise.
4460 * darwin-nat.c (darwin_read_dyld_info): Likewise.
4461 (darwin_xfer_partial): Likewise.
4462 * exec.c (exec_xfer_partial): Likewise.
4463 * gnu-nat.c (gnu_xfer_partial): Likewise.
4464 * ia64-hpux-nat.c (ia64_hpux_xfer_uregs): Likewise.
4465 * inf-ptrace.c (inf_ptrace_xfer_partial): Likewise.
4466 * inf-ttrace.c (inf_ttrace_xfer_partial): Likewise.
4467 * linux-nat.c (linux_xfer_siginfo): Likewise.
4468 (linux_proc_xfer_spu): Likewise.
4469 * procfs.c (procfs_xfer_partial): Likewise.
4470 * record-full.c (record_full_xfer_partial): Likewise.
4471 (record_full_core_xfer_partial): Likewise.
4472 * remote-sim.c (gdbsim_xfer_partial): Likewise.
4473 * remote.c (remote_write_qxfer): Likewise.
4474 (remote_write_qxfer, remote_read_qxfer): Likewise.
4475 (remote_xfer_partial): Likewise.
4476 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
4477 (rs6000_xfer_shared_libraries): Likewise.
4478 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
4479 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise.
4480 (spu_xfer_partial): Likewise.
4481 * target.c (memory_xfer_partial_1): Likewise.
4482 * tracepoint.c (tfile_xfer_partial): Likewise.
4483 * windows-nat.c (windows_xfer_shared_libraries): Likewise.
4484 (windows_xfer_partial): Likewise.
4486 2014-02-07 Yao Qi <yao@codesourcery.com>
4488 * gdbarch.sh (core_xfer_shared_libraries): Returns ULONGEST. Add
4490 (core_xfer_shared_libraries_aix): Likewise.
4491 * gdbarch.c, gdbarch.h: Regenerated.
4492 * i386-cygwin-tdep.c (windows_core_xfer_shared_libraries): Return
4493 ULONGEST. Change 'len_avail' type to ULONGEST.
4494 * rs6000-aix-tdep.c (rs6000_aix_ld_info_to_xml): Likewise.
4495 * rs6000-aix-tdep.h (rs6000_aix_ld_info_to_xml): Update
4497 (rs6000_aix_core_xfer_shared_libraries_aix): Return ULONGEST.
4499 2014-02-07 Yao Qi <yao@codesourcery.com>
4501 * corefile.c (memory_error): Get 'exception' from ERR and pass
4502 'exception' to throw_error.
4504 2014-02-06 Doug Evans <xdje42@gmail.com>
4506 * configure.ac (libpython checking): Remove all but python.o from
4507 CONFIG_OBS. Remove all but python.c from CONFIG_SRCS.
4508 * configure: Regenerate.
4510 * Makefile.in (SFILES): Add extension.c.
4511 (HFILES_NO_SRCDIR): Add extension.h, extension-priv.h
4512 (COMMON_OBS): Add extension.o.
4513 * extension.h: New file.
4514 * extension-priv.h: New file.
4515 * extension.c: New file.
4517 * python/python-internal.h: #include "extension.h".
4518 (gdbpy_auto_load_enabled): Declare.
4519 (gdbpy_apply_val_pretty_printer): Declare.
4520 (gdbpy_apply_frame_filter): Declare.
4521 (gdbpy_preserve_values): Declare.
4522 (gdbpy_breakpoint_cond_says_stop): Declare.
4523 (gdbpy_breakpoint_has_cond): Declare.
4524 (void source_python_script_for_objfile): Delete.
4525 * python/python.c: #include "extension-priv.h".
4526 Delete inclusion of "observer.h".
4527 (extension_language_python): Moved here and renamed from
4528 script_language_python in py-auto-load.c.
4529 Redefined to be of type extension_language_defn.
4530 (python_extension_script_ops): New global.
4531 (python_extension_ops): New global.
4532 (struct python_env): New member previous_active.
4533 (restore_python_env): Call restore_active_ext_lang.
4534 (ensure_python_env): Call set_active_ext_lang.
4535 (gdbpy_clear_quit_flag): Renamed from clear_quit_flag, made static.
4537 (gdbpy_set_quit_flag): Renamed from set_quit_flag, made static.
4539 (gdbpy_check_quit_flag): Renamed from check_quit_flag, made static.
4541 (gdbpy_eval_from_control_command): Renamed from
4542 eval_python_from_control_command, made static. New arg extlang.
4543 (gdbpy_source_script) Renamed from source_python_script, made static.
4545 (gdbpy_before_prompt_hook): Renamed from before_prompt_hook. Change
4546 result to int. New arg extlang.
4547 (gdbpy_source_objfile_script): Renamed from
4548 source_python_script_for_objfile, made static. New arg extlang.
4549 (gdbpy_start_type_printers): Renamed from start_type_printers, made
4550 static. New args extlang, extlang_printers. Change result type to
4552 (gdbpy_apply_type_printers): Renamed from apply_type_printers, made
4553 static. New arg extlang. Rename arg printers to extlang_printers
4554 and change type to ext_lang_type_printers *.
4555 (gdbpy_free_type_printers): Renamed from free_type_printers, made
4556 static. Replace argument arg with extlang, extlang_printers.
4557 (!HAVE_PYTHON, eval_python_from_control_command): Delete.
4558 (!HAVE_PYTHON, source_python_script): Delete.
4559 (!HAVE_PYTHON, gdbpy_should_stop): Delete.
4560 (!HAVE_PYTHON, gdbpy_breakpoint_has_py_cond): Delete.
4561 (!HAVE_PYTHON, start_type_printers): Delete.
4562 (!HAVE_PYTHON, apply_type_printers): Delete.
4563 (!HAVE_PYTHON, free_type_printers): Delete.
4564 (_initialize_python): Delete call to observer_attach_before_prompt.
4565 (finalize_python): Set/restore active extension language.
4566 (gdbpy_finish_initialization) Renamed from
4567 finish_python_initialization, made static. New arg extlang.
4568 (gdbpy_initialized): New function.
4569 * python/python.h: #include "extension.h". Delete #include
4570 "value.h", "mi/mi-cmds.h".
4571 (extension_language_python): Declare.
4572 (GDBPY_AUTO_FILE_NAME): Delete.
4573 (enum py_bt_status): Moved to extension.h and renamed to
4575 (enum frame_filter_flags): Moved to extension.h.
4576 (enum py_frame_args): Moved to extension.h and renamed to
4577 ext_lang_frame_args.
4578 (finish_python_initialization): Delete.
4579 (eval_python_from_control_command): Delete.
4580 (source_python_script): Delete.
4581 (apply_val_pretty_printer): Delete.
4582 (apply_frame_filter): Delete.
4583 (preserve_python_values): Delete.
4584 (gdbpy_script_language_defn): Delete.
4585 (gdbpy_should_stop, gdbpy_breakpoint_has_py_cond): Delete.
4586 (start_type_printers, apply_type_printers, free_type_printers): Delete.
4588 * auto-load.c: #include "extension.h".
4589 (GDB_AUTO_FILE_NAME): Delete.
4590 (auto_load_gdb_scripts_enabled): Make public. New arg extlang.
4591 (script_language_gdb): Delete, moved to extension.c and renamed to
4592 extension_language_gdb.
4593 (source_gdb_script_for_objfile): Delete.
4594 (auto_load_pspace_info): New member unsupported_script_warning_printed.
4595 (loaded_script): Change type of language member to
4596 struct extension_language_defn *.
4597 (init_loaded_scripts_info): Initialize
4598 unsupported_script_warning_printed.
4599 (maybe_add_script): Make static. Change type of language arg to
4600 struct extension_language_defn *.
4601 (clear_section_scripts): Reset unsupported_script_warning_printed.
4602 (auto_load_objfile_script_1): Rewrite to use extension language API.
4603 (auto_load_objfile_script): Make public. Remove support-compiled-in
4604 and auto-load-enabled checks, moved to auto_load_scripts_for_objfile.
4605 (source_section_scripts): Rewrite to use extension language API.
4606 (load_auto_scripts_for_objfile): Rewrite to use
4607 auto_load_scripts_for_objfile.
4608 (collect_matching_scripts_data): Change type of language member to
4609 struct extension_language_defn *.
4610 (auto_load_info_scripts): Change type of language arg to
4611 struct extension_language_defn *.
4612 (unsupported_script_warning_print): New function.
4613 (script_not_found_warning_print): Make static.
4614 (_initialize_auto_load): Rewrite construction of scripts-directory
4616 * auto-load.h (struct objfile): Add forward decl.
4617 (struct script_language): Delete.
4618 (struct auto_load_pspace_info): Add forward decl.
4619 (struct extension_language_defn): Add forward decl.
4620 (maybe_add_script): Delete.
4621 (auto_load_objfile_script): Declare.
4622 (script_not_found_warning_print): Delete.
4623 (auto_load_info_scripts): Update prototype.
4624 (auto_load_gdb_scripts_enabled): Declare.
4625 * python/py-auto-load.c (gdbpy_auto_load_enabled): Renamed from
4626 auto_load_python_scripts_enabled and made public.
4627 (script_language_python): Delete, moved to python.c.
4628 (gdbpy_script_language_defn): Delete.
4629 (info_auto_load_python_scripts): Update to use
4630 extension_language_python.
4632 * breakpoint.c (condition_command): Replace call to
4633 gdbpy_breakpoint_has_py_cond with call to get_breakpoint_cond_ext_lang.
4634 (bpstat_check_breakpoint_conditions): Replace call to gdbpy_should_stop
4635 with call to breakpoint_ext_lang_cond_says_stop.
4636 * python/py-breakpoint.c (gdbpy_breakpoint_cond_says_stop): Renamed
4637 from gdbpy_should_stop. Change result type to enum scr_bp_stop.
4638 New arg slang. Return SCR_BP_STOP_UNSET if py_bp_object is NULL.
4639 (gdbpy_breakpoint_has_cond): Renamed from gdbpy_breakpoint_has_py_cond.
4641 (local_setattro): Print name of extension language with existing
4644 * valprint.c (val_print, value_print): Update to call
4645 apply_ext_lang_val_pretty_printer.
4646 * cp-valprint.c (cp_print_value): Update call to
4647 apply_ext_lang_val_pretty_printer.
4648 * python/py-prettyprint.c: Remove #ifdef HAVE_PYTHON.
4649 (gdbpy_apply_val_pretty_printer): Renamed from
4650 apply_val_pretty_printer. New arg extlang.
4651 (!HAVE_PYTHON, apply_val_pretty_printer): Delete.
4653 * cli/cli-cmds.c (source_script_from_stream): Rewrite to use
4654 extension language API.
4655 * cli/cli-script.c (execute_control_command): Update to call
4656 eval_ext_lang_from_control_command.
4658 * mi/mi-cmd-stack.c (mi_cmd_stack_list_frames): Update to use
4659 enum ext_lang_bt_status values. Update call to
4660 apply_ext_lang_frame_filter.
4661 (mi_cmd_stack_list_locals): Ditto.
4662 (mi_cmd_stack_list_args): Ditto.
4663 (mi_cmd_stack_list_variables): Ditto.
4664 * mi/mi-main.c: Delete #include "python/python-internal.h".
4665 Add #include "extension.h".
4666 (mi_cmd_list_features): Replace reference to python internal variable
4667 gdb_python_initialized with call to ext_lang_initialized_p.
4669 * stack.c (backtrace_command_1): Update to use enum ext_lang_bt_status.
4670 Update to use enum ext_lang_frame_args. Update to call
4671 apply_ext_lang_frame_filter.
4672 * python/py-framefilter.c (extract_sym): Update to use enum
4674 (extract_value, py_print_type, py_print_value): Ditto.
4675 (py_print_single_arg, enumerate_args, enumerate_locals): Ditto.
4676 (py_mi_print_variables, py_print_locals, py_print_args): Ditto.
4677 (py_print_frame): Ditto.
4678 (gdbpy_apply_frame_filter): Renamed from apply_frame_filter.
4679 New arg extlang. Update to use enum ext_lang_bt_status.
4681 * top.c (gdb_init): Delete #ifdef HAVE_PYTHON call to
4682 finish_python_initialization. Replace with call to
4683 finish_ext_lang_initialization.
4685 * typeprint.c (do_free_global_table): Update to call
4686 free_ext_lang_type_printers.
4687 (create_global_typedef_table): Update to call
4688 start_ext_lang_type_printers.
4689 (find_global_typedef): Update to call apply_ext_lang_type_printers.
4690 * typeprint.h (struct ext_lang_type_printers): Add forward decl.
4691 (type_print_options): Change type of global_printers from "void *"
4692 to "struct ext_lang_type_printers *".
4694 * value.c (preserve_values): Update to call preserve_ext_lang_values.
4695 * python/py-value.c: Remove #ifdef HAVE_PYTHON.
4696 (gdbpy_preserve_values): Renamed from preserve_python_values.
4698 (!HAVE_PYTHON, preserve_python_values): Delete.
4700 * utils.c (quit_flag): Delete, moved to extension.c.
4701 (clear_quit_flag, set_quit_flag, check_quit_flag): Delete, moved to
4704 * eval.c: Delete #include "python/python.h".
4705 * main.c: Delete #include "python/python.h".
4707 * defs.h: Update comment.
4709 2014-02-06 Joel Brobecker <brobecker@adacore.com>
4713 2014-02-05 Mark Kettenis <kettenis@gnu.org>
4715 * c-exp.y (YYPRINT, c_print_token): Only define if YYBISON is
4718 2014-02-05 Yao Qi <yao@codesourcery.com>
4720 * remote.c (remote_pass_signals): Remove local 'buf' and use
4722 (remote_program_signals): Likewise.
4724 2014-02-05 Yao Qi <yao@codesourcery.com>
4726 * ctf.c: Include "inferior.h" and "gdbthread.h".
4727 (CTF_PID): A new macro.
4728 (ctf_open): Call inferior_appeared and add_thread_silent.
4729 (ctf_close): Call exit_inferior_silent and set inferior_ptid.
4730 (ctf_thread_alive): New function.
4731 (init_ctf_ops): Install ctf_thread_alive to to_thread_alive.
4733 2014-02-05 Yao Qi <yao@codesourcery.com>
4737 2013-05-24 Yao Qi <yao@codesourcery.com>
4739 * tracepoint.c (TFILE_PID): Remove.
4740 (tfile_open): Don't add thread and inferior.
4741 (tfile_close): Don't set 'inferior_ptid'. Don't call
4742 exit_inferior_silent.
4743 (tfile_thread_alive): Remove.
4744 (init_tfile_ops): Don't set field 'to_thread_alive' of
4747 2014-02-04 Christian Eggers <ceggers@gmx.de> (tiny change)
4749 * remote.c (remote_start_remote): Call remote_check_symbols even
4750 if only symbol-file (not file) has been given.
4752 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
4754 * gdbarch.sh (skip_entrypoint): New callback.
4755 * gdbarch.c, gdbarch.h: Regenerate.
4756 * symtab.c (skip_prologue_sal): Call gdbarch_skip_entrypoint.
4757 * infrun.c (fill_in_stop_func): Likewise.
4758 * ppc-linux-tdep.c: Include "elf/ppc64.h".
4759 (ppc_elfv2_elf_make_msymbol_special): New function.
4760 (ppc_elfv2_skip_entrypoint): Likewise.
4761 (ppc_linux_init_abi): Install them for ELFv2.
4763 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
4765 * ppc-sysv-tdep.c (ppc64_aggregate_candidate): New routine.
4766 (ppc64_elfv2_abi_homogeneous_aggregate): Likewise.
4767 (ppc64_sysv_abi_push_param): Handle ELFv2 homogeneous structs.
4768 (ppc64_sysv_abi_return_value): Likewise. Also, handle small
4769 structures returned in GPRs.
4771 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
4773 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_dummy_call): Use correct
4774 offset to the stack parameter list for the ELFv2 ABI.
4776 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
4778 * ppc-linux-tdep.c (ppc_linux_init_abi): Only call
4779 set_gdbarch_convert_from_func_ptr_addr and
4780 set_gdbarch_elf_make_msymbol_special for ELFv1.
4781 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_param): Only handle
4782 function descriptors on ELFv1.
4783 (ppc64_sysv_abi_push_dummy_call): Likewise. On ELFv2,
4784 set up r12 at function entry.
4786 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
4788 * ppc-tdep.h (enum powerpc_elf_abi): New data type.
4789 (struct gdbarch_tdep): New member elf_abi.
4791 * rs6000-tdep.c: Include "elf/ppc64.h".
4792 (rs6000_gdbarch_init): Detect ELF ABI version.
4794 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
4796 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_freg): Use correct order
4797 within a register pair holding a DFP 128-bit value on little-endian.
4798 (ppc64_sysv_abi_return_value_base): Likewise.
4799 * rs6000-tdep.c (dfp_pseudo_register_read): Likewise.
4800 (dfp_pseudo_register_write): Likewise.
4802 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
4804 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_freg): Use correct
4805 offset on little-endian when passing _Decimal32.
4806 (ppc64_sysv_abi_return_value_base): Likewise for return values.
4808 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
4810 * rs6000-tdep.c (efpr_pseudo_register_read): Use correct offset
4811 of the overlapped FP register within the VSX register on little-
4813 (efpr_pseudo_register_write): Likewise.
4815 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
4817 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_val): Use correct
4818 offset on little-endian when passing small structures.
4820 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
4822 * ppc-sysv-tdep.c (get_decimal_float_return_value): Update comment.
4823 (struct ppc64_sysv_argpos): New data structure.
4824 (ppc64_sysv_abi_push_float): Remove.
4825 (ppc64_sysv_abi_push_val): New function.
4826 (ppc64_sysv_abi_push_integer): Likewise.
4827 (ppc64_sysv_abi_push_freg): Likewise.
4828 (ppc64_sysv_abi_push_vreg): Likewise.
4829 (ppc64_sysv_abi_push_param): Likewise.
4830 (ppc64_sysv_abi_push_dummy_call): Refactor to use those new routines.
4831 (ppc64_sysv_abi_return_value_base): New function.
4832 (ppc64_sysv_abi_return_value): Refactor to use it.
4834 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
4836 * NEWS: Document new target powerpc64le-*-linux*.
4838 2014-02-04 Mark Kettenis <kettenis@gnu.org>
4840 * sparc64obsd-tdep.c (sparc64obsd_gregset): New variable.
4841 (sparc64obsd_supply_gregset): Handle registers sets used in ELF
4843 (sparc64obsd_init_abi): Adjust minimum size of the general purpose
4844 register set used in ELF core dumps. Add floating-point register set.
4846 2014-02-03 Kevin Buettner <kevinb@redhat.com>
4848 * mn10300-tdep.c (mn10300_dwarf2_reg_to_regnum): Rewrite
4849 dwarf2_to_gdb[] table using symbolic constants. Adjust
4850 penultimate entry from number representing the PC register
4851 to symbolic constant representing the MDR register. Add
4852 constant for the PC register to the end of the table.
4854 2014-02-03 Mark Kettenis <kettenis@gnu.org>
4856 * bsd-kvm.c: Include <sys/param.h>
4858 2014-02-03 Mark Kettenis <kettenis@gnu.org>
4860 * sparc64nbsd-nat.c (sparc64nbsd_supply_fpregset): Fix prototype.
4862 2014-01-31 Joel Brobecker <brobecker@adacore.com>
4864 * ada-lang.h (clear_ada_sym_cache): Delete.
4866 2014-01-30 Ulrich Weigand <uweigand@de.ibm.com>
4868 * auxv.c (fprint_target_auxv): Handle AT_HWCAP2.
4870 2014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
4872 * sparc64-linux-tdep.c (sparc64_linux_step_trap): Get PC from
4873 the sigreturn register save area only if the syscall is
4876 2014-01-29 Joel Brobecker <brobecker@adacore.com>
4878 * valops.c (value_slice): Minor reformatting.
4880 2014-01-28 Ulrich Weigand <uweigand@de.ibm.com>
4882 * ppc64-tdep.c (ppc64_standard_linkage7): Fix typo.
4884 2014-01-28 Joel Brobecker <brobecker@adacore.com>
4886 * ada-lang.c (maint_set_ada_cmdlist, maint_show_ada_cmdlist):
4888 (maint_set_ada_cmd, maint_show_ada_cmd): New functions.
4889 (ada_ignore_descriptive_types_p): New static global.
4890 (find_parallel_type_by_descriptive_type): Return immediately
4891 if ada_ignore_descriptive_types_p is set.
4892 (_initialize_ada_language): Register new commands "maintenance
4893 set ada", "maintenance show ada", "maintenance set ada
4894 ignore-descriptive-types" and "maintenance show ada
4895 ignore-descriptive-types".
4896 * NEWS: Add entry for new "maint ada set/show
4897 ignore-descriptive-types" commands.
4899 2014-01-27 Markus Metzger <markus.t.metzger@intel.com>
4901 * record-btrace.c (record_btrace_close): Call btrace_teardown
4904 2014-01-27 Joel Brobecker <brobecker@adacore.com>
4906 * ada-lang.c: Remove "#ifdef UI_OUT" condition for including
4909 2014-01-27 Joel Brobecker <brobecker@adacore.com>
4911 * ada-typeprint (type_is_full_subrange_of_target_type):
4913 (print_range): Add parameter bounds_prefered_p. If not set,
4914 try printing range types using the name of their base type.
4915 (print_range_type): Add parameter bounds_prefered_p.
4916 Use it in call to print_range.
4917 (print_array_type, ada_print_type): Update calls to print_range
4918 and print_range_type.
4920 2014-01-27 Joel Brobecker <brobecker@adacore.com>
4922 * ada-typeprint.c (print_array_type, print_choices, print_range)
4923 (print_range_bound, print_dynamic_range_bound, print_range_type):
4926 2014-01-27 Joel Brobecker <brobecker@adacore.com>
4928 * ada-typeprint.c (print_range): Add missing empty line
4929 after local declaration.
4931 2014-01-27 Joel Brobecker <brobecker@adacore.com>
4933 * ada-valprint.c (print_optional_low_bound): Get index_type's
4934 target type for as long as it is a TYPE_CODE_RANGE.
4936 2014-01-27 Joel Brobecker <brobecker@adacore.com>
4938 * procfs.c (procfs_make_note_section): Remove assertion and
4941 2014-01-24 Yao Qi <yao@codesourcery.com>
4943 * remote.c (remote_read_bytes): Change type of len to ULONGEST.
4944 * corelow.c (get_core_siginfo): Likewise.
4946 2014-01-24 Yao Qi <yao@codesourcery.com>
4948 * remote.c (remote_write_bytes_aux): Change type of 'len' to
4949 ULONGEST. Don't check 'len' is negative.
4950 (remote_write_bytes): Change type of 'len' to ULONGEST.
4952 2014-01-23 Tom Tromey <tromey@redhat.com>
4955 * python/lib/gdb/FrameDecorator.py: (FrameVars.fetch_frame_args):
4956 Handle exception from frame.block.
4957 (FrameVars.fetch_frame_locals): Likewise.
4959 2014-01-23 Tom Tromey <tromey@redhat.com>
4962 * python/py-framefilter.c (py_print_frame): Don't call Py_DECREF
4963 on a NULL pointer. Move "goto error" to correct place.
4965 2014-01-23 Tom Tromey <tromey@redhat.com>
4968 * python/py-framefilter.c (apply_frame_filter): Call
4969 ensure_python_env after computing gdbarch.
4971 2014-01-23 Yao Qi <yao@codesourcery.com>
4973 * target.c (raw_memory_xfer_partial): Change argument type
4974 from void * to gdb_byte *.
4975 (memory_xfer_partial_1, memory_xfer_partial): Likewise.
4977 2014-01-22 Doug Evans <dje@google.com>
4979 New gdbserver option --debug-format=timestamp.
4982 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
4984 * syscalls/s390x-linux.xml: New file.
4985 * syscalls/s390-linux.xml: New file.
4986 * s390-linux-tdep.c (XML_SYSCALL_FILENAME_S390): New macro.
4987 (XML_SYSCALL_FILENAME_S390X): Likewise.
4988 (op_svc): New enum value for SVC opcode.
4989 (s390_sigtramp_frame_sniffer): Replace literal by 'op_svc'.
4990 (s390_linux_get_syscall_number): New function.
4991 (s390_gdbarch_init): Register '*get_syscall_number' and the
4992 syscall xml file name.
4993 * data-directory/Makefile.in (SYSCALLS_FILES): Add
4994 "s390-linux.xml" and "s390x-linux.xml".
4995 * NEWS: Announce new feature.
4997 2014-01-22 Baruch Siach <baruch@tkos.co.il>
4999 * xtensa-tdep.h (xtensa_elf_greg_t): Change type to uint32_t.
5001 2014-01-22 Pedro Alves <palves@redhat.com>
5003 * xtensa-config.c: Include defs.h.
5005 2014-01-22 Joel Brobecker <brobecker@adacore.com>
5007 * common/common-utils.h: Add "ARI:" comment beside __func__
5010 2014-01-22 Joel Brobecker <brobecker@adacore.com>
5012 * common/common-utils.h (FUNCTION_NAME): Expand the macro's
5013 documentation a bit.
5015 2014-01-21 Roland McGrath <mcgrathr@google.com>
5017 * configure.ac: Call AM_PROG_INSTALL_STRIP.
5018 * configure: Regenerate.
5019 * aclocal.m4: Regenerate.
5020 * Makefile.in (install_sh, INSTALL_STRIP_PROGRAM, STRIP):
5021 New substituted variables.
5022 (install-strip): New target.
5023 (INSTALL_SCRIPT): New substituted variable.
5024 (FLAGS_TO_PASS): Add it.
5025 (install-only): Use $(INSTALL_SCRIPT) rather than
5026 $(INSTALL_PROGRAM) for gcore.
5028 2014-01-20 Tom Tromey <tromey@redhat.com>
5030 * cli/cli-decode.h (struct cmd_list_element): Move all bitfields
5033 2014-01-20 Tom Tromey <tromey@redhat.com>
5035 * cli/cli-decode.c (add_cmd, deprecate_cmd, add_alias_cmd)
5036 (add_setshow_cmd_full, delete_cmd, lookup_cmd_1)
5037 (deprecated_cmd_warning, complete_on_cmdlist): Update.
5038 * cli/cli-decode.h (CMD_DEPRECATED, DEPRECATED_WARN_USER)
5039 (MALLOCED_REPLACEMENT, DOC_ALLOCATED): Remove.
5040 (struct cmd_list_element) <flags>: Remove.
5041 <cmd_deprecated, deprecated_warn_user, malloced_replacement,
5042 doc_allocated>: New fields.
5043 <hook_in, allow_unknown, abbrev_flag, type, var_type>: Now
5045 * maint.c (maintenance_do_deprecate): Update.
5046 * top.c (execute_command): Update.
5048 2014-01-20 Baruch Siach <baruch@tkos.co.il>
5050 * xtensa-linux-nat.c: Include asm/ptrace.h.
5052 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
5054 * Makefile.in (SFILES): Add d-support.c.
5055 (COMMON_OBS): Add d-support.o.
5056 * d-lang.h (d_parse_symbol): Add comment, now defined in
5058 * d-lang.c (parse_call_convention)
5059 (parse_attributes, parse_function_types)
5060 (parse_function_args, parse_type, parse_identifier)
5061 (call_convention_p, d_parse_symbol): Move functions to ...
5062 * d-support.c: ... New file.
5064 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
5066 * d-lang.h (d_parse_symbol): Add declaration.
5067 * d-lang.c (extract_identifiers)
5068 (extract_type_info): Remove functions.
5069 (parse_call_convention, parse_attributes)
5070 (parse_function_types, parse_function_args)
5071 (parse_type, parse_identifier, call_convention_p)
5072 (d_parse_symbol): New functions.
5073 (d_demangle): Use d_parse_symbol to demangle D symbols.
5075 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
5077 * d-lang.h (struct builtin_d_type): New data type.
5078 (builtin_d_type): Add declaration.
5079 * d-lang.c (d_language_arch_info, build_d_types)
5080 (builtin_d_type): New functions.
5081 (enum d_primitive_types): New data type.
5082 (d_language_defn): Change c_language_arch_info to
5083 d_language_arch_info.
5084 (d_type_data): New static variable.
5085 (_initialize_d_language): Initialize d_type_data.
5087 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
5089 * d-lang.h (d_main_name): Add declaration.
5090 * d-lang.c (d_main_name): New function.
5091 * symtab.c (find_main_name): Add call to d_main_name.
5093 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
5095 * d-lang.c (d_language_defn): Change macro_expansion_c to
5098 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
5100 * MAINTAINERS: Add myself as a write-after-approval maintainer.
5102 2014-01-17 Sergio Durigan Junior <sergiodj@redhat.com>
5104 * breakpoint.c (insert_bp_location): Add "volatile" keyword to "struct
5105 gdb_exception" declaration.
5106 * remote.c (getpkt_or_notif_sane): Likewise.
5108 2014-01-17 Doug Evans <dje@google.com>
5110 * common/gdb_vecs.c (delim_string_to_char_ptr_vec_append): New
5111 function, contents of dirnames_to_char_ptr_vec_append moved here.
5112 (delim_string_to_char_ptr_vec): New function.
5113 (dirnames_to_char_ptr_vec_append): Rewrite.
5114 * common/gdb_vecs.h (delim_string_to_char_ptr_vec): Declare.
5116 2014-01-17 Doug Evans <dje@google.com>
5118 * common/common-utils.h (FUNCTION_NAME): Renamed from ASSERT_FUNCTION,
5120 * common/gdb_assert.h (ASSERT_FUNCTION): ... from here.
5121 #include "common-utils.h".
5122 (gdb_assert, gdb_assert_fail, gdb_assert_not_reached): Update.
5123 * common/vec.h (VEC_ASSERT_PASS): Update.
5124 * darwin-nat.h: Replace #include of gdb_assert.h with common-utils.h.
5125 (MACH_CHECK_ERROR): Update.
5127 2014-01-17 Simon Marchi <simon.marchi@ericsson.com>
5129 * gdbarch.sh (gdbarch_address_class_name_to_type_flags): Add
5131 * gdbarch.h: Regenerate.
5133 2014-01-16 Tom Tromey <tromey@redhat.com>
5135 * value.c (struct value) <regnum>: Move earlier.
5137 2014-01-16 Tom Tromey <tromey@redhat.com>
5139 * remote.c (extended_remote_create_inferior): Rename from
5140 extended_remote_create_inferior_1. Add "ops" argument. Remove
5143 2014-01-16 Pedro Alves <palves@redhat.com>
5145 * s390-linux-tdep.c (s390_frame_unwind_cache): Swallow
5146 NOT_AVAILABLE_ERROR errors while parsing the prologue or reading
5149 2014-01-16 Doug Evans <dje@google.com>
5151 * dwarf2read.c (open_and_init_dwp_file): Fix typo in comment.
5153 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5155 * btrace.h (btrace_thread_flag): New.
5156 (struct btrace_thread_info) <flags>: New.
5157 * record-btrace.c (record_btrace_resume_thread)
5158 (record_btrace_find_thread_to_move, btrace_step_no_history)
5159 (btrace_step_stopped, record_btrace_start_replaying)
5160 (record_btrace_step_thread, record_btrace_decr_pc_after_break)
5161 (record_btrace_find_resume_thread): New.
5162 (record_btrace_resume, record_btrace_wait): Extend.
5163 (record_btrace_can_execute_reverse): New.
5164 (record_btrace_open): Fail in non-stop mode.
5165 (record_btrace_set_replay): Split into this, ...
5166 (record_btrace_stop_replaying): ... this, ...
5167 (record_btrace_clear_histories): ... and this.
5168 (init_record_btrace_ops): Init to_can_execute_reverse.
5169 * NEWS: Announce it.
5171 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5173 * target.h (struct target_ops) <to_decr_pc_after_break>: New.
5174 (forward_target_decr_pc_after_break)
5175 (target_decr_pc_after_break): New.
5176 * target.c (forward_target_decr_pc_after_break)
5177 (target_decr_pc_after_break): New.
5178 * aix-thread.c (aix_thread_wait): Call target_decr_pc_after_break
5179 instead of gdbarch_decr_pc_after_break.
5180 * darwin-nat.c (cancel_breakpoint): Call target_decr_pc_after_break
5181 instead of gdbarch_decr_pc_after_break.
5182 * infrun.c (adjust_pc_after_break): Call target_decr_pc_after_break
5183 instead of gdbarch_decr_pc_after_break.
5184 * linux-nat.c (cancel_breakpoint): Call target_decr_pc_after_break
5185 instead of gdbarch_decr_pc_after_break.
5186 * linux-thread-db.c (check_event): Call target_decr_pc_after_break
5187 instead of gdbarch_decr_pc_after_break.
5188 * record-full.c (record_full_wait_1): Call target_decr_pc_after_break
5189 instead of gdbarch_decr_pc_after_break.
5191 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5193 * btrace.c: Include regcache.h.
5194 (btrace_add_pc): New.
5195 (btrace_enable): Call btrace_add_pc.
5196 (btrace_is_empty): New.
5197 * btrace.h (btrace_is_empty): New.
5198 * record-btrace.c (require_btrace, record_btrace_info): Call
5201 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5203 * common/linux-btrace.c (perf_event_read_bts, linux_read_btrace):
5204 Support delta reads.
5205 (linux_disable_btrace): Change return type.
5206 * common/linux-btrace.h (linux_read_btrace): Change parameters
5207 and return type to allow error reporting. Update users.
5208 (linux_disable_btrace): Change return type. Update users.
5209 * common/btrace-common.h (btrace_read_type) <BTRACE_READ_DELTA>:
5211 (btrace_error): New.
5212 (btrace_block) <begin>: Comment on BEGIN == 0.
5213 * btrace.c (btrace_compute_ftrace): Start from the end of
5215 (btrace_stitch_trace, btrace_clear_history): New.
5216 (btrace_fetch): Read delta trace, return if replaying.
5217 (btrace_clear): Move clear history code to btrace_clear_history.
5218 (parse_xml_btrace): Throw an error if parsing failed.
5219 * target.h (struct target_ops) <to_read_btrace>: Change parameters
5220 and return type to allow error reporting.
5221 (target_read_btrace): Change parameters and return type to allow
5223 * target.c (target_read_btrace): Update.
5224 * remote.c (remote_read_btrace): Support delta reads. Pass
5226 * NEWS: Announce it.
5228 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5230 * record.h (record_btrace_frame_unwind)
5231 (record_btrace_tailcall_frame_unwind): New declarations.
5232 * dwarf2-frame: Include record.h
5233 (dwarf2_frame_cfa): Throw an error for btrace frames.
5234 * record-btrace.c: Include hashtab.h.
5235 (btrace_get_bfun_name): New.
5236 (btrace_call_history): Call btrace_get_bfun_name.
5237 (struct btrace_frame_cache): New.
5239 (bfcache_hash, bfcache_eq, bfcache_new): New.
5240 (btrace_get_frame_function): New.
5241 (record_btrace_frame_unwind_stop_reason): Allow unwinding.
5242 (record_btrace_frame_this_id): Compute own id.
5243 (record_btrace_frame_prev_register): Provide PC, throw_error
5244 for all other registers.
5245 (record_btrace_frame_sniffer): Detect btrace frames.
5246 (record_btrace_tailcall_frame_sniffer): New.
5247 (record_btrace_frame_dealloc_cache): New.
5248 (record_btrace_frame_unwind): Add new functions.
5249 (record_btrace_tailcall_frame_unwind): New.
5250 (_initialize_record_btrace): Allocate cache.
5251 * btrace.c (btrace_clear): Call reinit_frame_cache.
5252 * NEWS: Announce it.
5254 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5256 * record-btrace.c (record_btrace_set_replay)
5257 (record_btrace_goto_begin, record_btrace_goto_end)
5258 (record_btrace_goto): New.
5259 (init_record_btrace_ops): Initialize them.
5260 * NEWS: Announce it.
5262 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5264 * record-btrace.c (record_btrace_find_new_threads)
5265 (record_btrace_thread_alive): New.
5266 (init_record_btrace_ops): Initialize to_find_new_threads and
5269 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5271 * record-btrace.c (record_btrace_resume): New.
5272 (record_btrace_wait): New.
5273 (init_record_btrace_ops): Initialize to_wait and to_resume.
5275 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5277 * record-btrace.c (record_btrace_xfer_partial)
5278 (record_btrace_insert_breakpoint, record_btrace_remove_breakpoint)
5279 (record_btrace_allow_memory_access): New.
5280 (init_record_btrace_ops): Initialize new methods.
5281 * target.c (raw_memory_xfer_partial): Bail out if target reports
5282 that this memory is not available.
5284 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5286 * target.h (target_ops) <to_insert_breakpoint>
5287 <to_remove_breakpoint>: Add target_ops parameter.
5288 (forward_target_insert_breakpoint): New.
5289 (forward_target_remove_breakpoint): New.
5290 (memory_remove_breakpoint, memory_insert_breakpoint):
5291 Add target_ops parameter.
5292 * target.c (target_insert_breakpoint): Split into this and ...
5293 (forward_target_insert_breakpoint): ... this.
5294 (target_remove_breakpoint): Split into this and ...
5295 (forward_target_remove_breakpoint): ... this.
5296 (debug_to_insert_breakpoint): Add target_ops parameter.
5297 Call forward_target_insert_breakpoint.
5298 (debug_to_remove_breakpoint): Add target_ops parameter.
5299 Call forward_target_remove_breakpoint.
5300 (update_current_target): Do not inherit or default to_insert_breakpoint
5301 and to_remove_breakpoint.
5302 * corelow.c (ignore): Add target_ops parameter.
5303 * exec.c (ignore): Add target_ops parameter.
5304 * mem-break.c (memory_insert_breakpoint, memory_remove_breakpoint):
5305 Add target_ops parameter.
5306 * monitor.c (monitor_insert_breakpoint, monitor_remove_breakpoint):
5307 Add target_ops parameter.
5308 * nto-procfs.c (procfs_insert_breakpoint, procfs_remove_breakpoint):
5309 Add target_ops parameter.
5310 * record-full.c (record_full_beneath_to_insert_breakpoint)
5311 (record_full_beneath_to_remove_breakpoint, tmp_to_insert_breakpoint)
5312 (tmp_to_remove_breakpoint, record_full_insert_breakpoint)
5313 (record_full_remove_breakpoint, record_full_core_insert_breakpoint)
5314 (record_full_core_remove_breakpoint): Add target_ops parameter.
5316 (record_full_beneath_to_insert_breakpoint_ops)
5317 (record_full_beneath_to_remove_breakpoint_ops)
5318 (tmp_to_insert_breakpoint_ops, tmp_to_remove_breakpoint_ops): New.
5319 (record_full_open): Initialize tmp_to_insert_breakpoint_ops,
5320 tmp_to_remove_breakpoint_ops,
5321 record_full_beneath_to_insert_breakpoint_ops, and
5322 record_full_beneath_to_remove_breakpoint_ops.
5323 * remote-m32r-sdi.c (m32r_insert_breakpoint)
5324 (m32r_remove_breakpoint): Add target_ops parameter.
5325 * remote-mips.c (mips_insert_breakpoint, mips_remove_breakpoint):
5326 Add target_ops parameter.
5327 * remote.c (remote_insert_breakpoint, remote_remove_breakpoint):
5328 Add target_ops parameter.
5330 2014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
5331 Markus Metzger <markus.t.metzger@intel.com>
5333 * record-btrace.c: Include frame-unwind.h.
5334 (record_btrace_frame_unwind_stop_reason)
5335 (record_btrace_frame_this_id, record_btrace_frame_prev_register)
5336 (record_btrace_frame_sniffer, record_btrace_frame_unwind):
5338 (init_record_btrace_ops): Install it.
5340 2014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
5342 * frame.c (get_frame_unwind_stop_reason): Unconditionally call
5345 2014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
5347 * dwarf2-frame.c (dwarf2_frame_cfa): Move UNWIND_UNAVAILABLE check
5350 2014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
5352 * frame-unwind.c: Include target.h.
5353 (frame_unwind_try_unwinder): New function with code from ...
5354 (frame_unwind_find_by_frame): ... here. New variable
5355 unwinder_from_target, call also target_get_unwinder)
5356 (target_get_tailcall_unwinder, and frame_unwind_try_unwinder for it.
5357 * target.c (target_get_unwinder, target_get_tailcall_unwinder): New.
5358 * target.h (struct target_ops): New fields to_get_unwinder and
5359 to_get_tailcall_unwinder.
5360 (target_get_unwinder, target_get_tailcall_unwinder): New declarations.
5362 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5364 * record-btrace.c (record_btrace_fetch_registers)
5365 (record_btrace_store_registers)
5366 (record_btrace_to_prepare_to_store): New.
5367 (init_record_btrace_ops): Add the above.
5369 2014-01-16 Tom Tromey <tromey@redhat.com>
5371 * windows-nat.c (windows_prepare_to_store): Add 'self' argument.
5372 * target.h (struct target_ops) <to_prepare_to_store>: Add
5374 (target_prepare_to_store): Add argument.
5375 * target.c (debug_to_prepare_to_store): Add argument.
5376 (update_current_target): Update.
5377 * remote.c (remote_prepare_to_store): Add 'self' argument.
5378 * remote-sim.c (gdbsim_prepare_to_store): Add 'self' argument.
5379 * remote-mips.c (mips_prepare_to_store): Add 'self' argument.
5380 * remote-m32r-sdi.c (m32r_prepare_to_store): Add 'self' argument.
5381 * record-full.c (record_full_core_prepare_to_store): Add 'self'
5383 * ravenscar-thread.c (ravenscar_prepare_to_store): Add argument.
5384 * nto-procfs.c (procfs_prepare_to_store): Add 'self' argument.
5385 * monitor.c (monitor_prepare_to_store): Add 'self' argument.
5386 * inf-child.c (inf_child_prepare_to_store): Add 'self' argument.
5387 * go32-nat.c (go32_prepare_to_store): Add 'self' argument.
5389 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5391 * btrace.h (replay) <replay>: New.
5392 (btrace_is_replaying): New.
5393 * btrace.c (btrace_clear): Free replay iterator.
5394 (btrace_is_replaying): New.
5395 * record-btrace.c (record_btrace_is_replaying): New.
5396 (record_btrace_info): Print insn number if replaying.
5397 (record_btrace_insn_history): Start at replay position.
5398 (record_btrace_call_history): Start at replay position.
5399 (init_record_btrace_ops): Init to_record_is_replaying.
5401 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5403 * record-btrace.c (record_btrace_insn_history_range): Include
5405 (record_btrace_insn_history_from): Adjust range.
5406 (record_btrace_call_history_range): Include
5408 (record_btrace_call_history_from): Adjust range.
5409 * NEWS: Announce changes.
5411 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5413 * record.h (enum record_print_flag)
5414 <record_print_indent_calls>: New.
5415 * record.c (get_call_history_modifiers): Recognize /c modifier.
5416 (_initialize_record): Document /c modifier.
5417 * record-btrace.c (btrace_call_history): Add btinfo parameter.
5418 Reorder fields. Optionally indent the function name. Update
5420 * NEWS: Announce changes.
5422 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5424 * common/linux-btrace.c (linux_enable_btrace): Enlarge buffer.
5426 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5428 * btrace.c (ftrace_new_function): Start counting at one.
5429 * record-btrace.c (record_btrace_info): Adjust number of calls
5431 * NEWS: Announce it.
5433 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5435 * record-btrace.c (btrace_call_history_insn_range): Print
5436 insn range as [begin, end].
5438 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5440 * btrace.h (struct btrace_func_link): New.
5441 (enum btrace_function_flag): New.
5442 (struct btrace_inst): Rename to ...
5443 (struct btrace_insn): ...this. Update all users.
5444 (struct btrace_func) <ibegin, iend>: Remove.
5445 (struct btrace_func_link): New.
5446 (struct btrace_func): Rename to ...
5447 (struct btrace_function): ...this. Update all users.
5448 (struct btrace_function) <segment, flow, up, insn, insn_offset)
5449 (number, level, flags>: New.
5450 (struct btrace_insn_iterator): Rename to ...
5451 (struct btrace_insn_history): ...this.
5453 (struct btrace_insn_iterator, btrace_call_iterator): New.
5454 (struct btrace_target_info) <btrace, itrace, ftrace>: Remove.
5455 (struct btrace_target_info) <begin, end, level>
5456 <insn_history, call_history>: New.
5457 (btrace_insn_get, btrace_insn_number, btrace_insn_begin)
5458 (btrace_insn_end, btrace_insn_prev, btrace_insn_next)
5459 (btrace_insn_cmp, btrace_find_insn_by_number, btrace_call_get)
5460 (btrace_call_number, btrace_call_begin, btrace_call_end)
5461 (btrace_call_prev, btrace_call_next, btrace_call_cmp)
5462 (btrace_find_function_by_number, btrace_set_insn_history)
5463 (btrace_set_call_history): New.
5464 * btrace.c (btrace_init_insn_iterator)
5465 (btrace_init_func_iterator, compute_itrace): Remove.
5466 (ftrace_print_function_name, ftrace_print_filename)
5467 (ftrace_skip_file): Change
5469 (ftrace_init_func): Remove.
5470 (ftrace_debug): Use new btrace_function fields.
5471 (ftrace_function_switched): Also consider gaining and
5472 losing symbol information).
5473 (ftrace_print_insn_addr, ftrace_new_call, ftrace_new_return)
5474 (ftrace_new_switch, ftrace_find_caller, ftrace_new_function)
5475 (ftrace_update_caller, ftrace_fixup_caller, ftrace_new_tailcall):
5477 (ftrace_new_function): Move. Remove debug print.
5478 (ftrace_update_lines, ftrace_update_insns): New.
5479 (ftrace_update_function): Check for call, ret, and jump.
5480 (compute_ftrace): Renamed to ...
5481 (btrace_compute_ftrace): ...this. Rewritten to compute call
5483 (btrace_fetch, btrace_clear): Updated.
5484 (btrace_insn_get, btrace_insn_number, btrace_insn_begin)
5485 (btrace_insn_end, btrace_insn_prev, btrace_insn_next)
5486 (btrace_insn_cmp, btrace_find_insn_by_number, btrace_call_get)
5487 (btrace_call_number, btrace_call_begin, btrace_call_end)
5488 (btrace_call_prev, btrace_call_next, btrace_call_cmp)
5489 (btrace_find_function_by_number, btrace_set_insn_history)
5490 (btrace_set_call_history): New.
5491 * record-btrace.c (require_btrace): Use new btrace thread
5493 (record_btrace_info, btrace_insn_history)
5494 (record_btrace_insn_history, record_btrace_insn_history_range):
5495 Use new btrace thread info fields and new iterator.
5496 (btrace_func_history_src_line): Rename to ...
5497 (btrace_call_history_src_line): ...this. Use new btrace
5499 (btrace_func_history): Rename to ...
5500 (btrace_call_history): ...this. Use new btrace thread info
5501 fields and new iterator.
5502 (record_btrace_call_history, record_btrace_call_history_range):
5503 Use new btrace thread info fields and new iterator.
5505 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5507 * frame.h (frame_id_build_unavailable_stack_special): New.
5508 * frame.c (frame_id_build_unavailable_stack_special): New.
5510 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5512 * amd64-tdep.c (amd64_classify_insn_at, amd64_insn_is_call)
5513 (amd64_insn_is_ret, amd64_insn_is_jump, amd64_jmp_p): New.
5514 (amd64_init_abi): Add insn_is_call, insn_is_ret, and insn_is_jump
5516 * i386-tdep.c (i386_insn_is_call, i386_insn_is_ret)
5517 (i386_insn_is_jump, i386_jmp_p): New.
5518 (i386_gdbarch_init): Add insn_is_call, insn_is_ret, and
5519 insn_is_jump to gdbarch.
5520 * gdbarch.sh (insn_is_call, insn_is_ret, insn_is_jump): New.
5521 * gdbarch.h: Regenerated.
5522 * gdbarch.c: Regenerated.
5523 * arch-utils.h (default_insn_is_call, default_insn_is_ret)
5524 (default_insn_is_jump): New.
5525 * arch-utils.c (default_insn_is_call, default_insn_is_ret)
5526 (default_insn_is_jump): New.
5528 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5530 * common/btrace-common.h (btrace_read_type) <btrace_read_all>:
5532 (btrace_read_type) <BTRACE_READ_ALL>: ... this. Update users.
5533 (btrace_read_type) <btrace_read_new>: Change to ...
5534 (btrace_read_type) <BTRACE_READ_NEW>: ... this. Update users.
5536 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5538 * common/linux-btrace.c (linux_read_btrace): Free trace from
5541 2014-01-15 Doug Evans <dje@google.com>
5543 * dwarf2read.c (open_and_init_dwp_file): Use pulongest to print
5546 2014-01-15 Tom Tromey <tromey@redhat.com>
5548 * dbxread.c (process_one_symbol): Use set_objfile_main_name.
5549 * dwarf2read.c (read_partial_die): Use set_objfile_main_name.
5550 * objfiles.c (get_objfile_bfd_data): Initialize language_of_main.
5551 (set_objfile_main_name): New function.
5552 * objfiles.h (struct objfile_per_bfd_storage) <name_of_main,
5553 language_of_main>: New fields.
5554 (set_objfile_main_name): Declare.
5555 * symtab.c (find_main_name): Loop over objfiles to find the main
5557 (set_main_name): Now static.
5558 (get_main_info): Add comment.
5559 * symtab.h (set_main_name): Don't declare.
5561 2014-01-15 Tom Tromey <tromey@redhat.com>
5563 * symtab.c (main_progspace_key): New global.
5564 (struct main_info): New.
5565 (name_of_main, language_of_main): Remove.
5566 (get_main_info, main_info_cleanup): New function.
5567 (set_main_name, main_name, main_language): Use get_main_info.
5568 (_initialize_symtab): Initialize main_progspace_key.
5570 2014-01-15 Tom Tromey <tromey@redhat.com>
5572 * dbxread.c (process_one_symbol): Update.
5573 * dwarf2read.c (read_partial_die): Update.
5574 * symfile.c (set_initial_language): Call main_language.
5575 * symtab.c (language_of_main): Now static.
5576 (set_main_name): Add 'lang' parameter.
5577 (find_main_name): Update.
5578 (main_language): New function.
5579 (symtab_observer_executable_changed): Update.
5580 * symtab.h (set_main_name): Update.
5581 (language_of_main): Remove.
5582 (main_language): Declare.
5584 2014-01-15 Tom Tromey <tromey@redhat.com>
5586 * symfile.c (init_entry_point_info): Use new "initialized" field.
5588 * objfiles.h (struct entry_point) <initialized>: New field.
5589 (struct objfile_per_bfd_storage) <ei>: New field, moved from...
5590 (struct objfile) <ei>: ...here. Remove.
5591 * objfiles.c (entry_point_address_query): Update.
5593 2014-01-15 Tom Tromey <tromey@redhat.com>
5595 * objfiles.c (entry_point_address_query): Relocate entry point
5597 (objfile_relocate1): Do not relocate entry point address.
5598 * objfiles.h (struct entry_info) <entry_point>: Update comment.
5599 <the_bfd_section_index>: New field.
5600 * symfile.c (init_entry_point_info): Find the entry point's
5603 2014-01-15 Tom Tromey <tromey@redhat.com>
5605 * solib-frv.c (enable_break): Use entry_point_address_query.
5607 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
5609 * NEWS: Add note on improved process record-replay on
5610 arm*-linux* targets.
5612 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
5614 * arm-tdep.c (enum arm_record_result): New enum.
5615 (arm_record_unsupported_insn): New function.
5616 (arm_record_coproc_data_proc): Removed.
5617 (thumb2_record_ld_st_multiple): New function.
5618 (thumb2_record_ld_st_dual_ex_tbb): New function.
5619 (thumb2_record_data_proc_sreg_mimm): New function.
5620 (thumb2_record_ps_dest_generic): New function.
5621 (thumb2_record_branch_misc_cntrl): New function.
5622 (thumb2_record_str_single_data): New function.
5623 (thumb2_record_ld_mem_hints): New function.
5624 (thumb2_record_ld_word): New function.
5625 (thumb2_record_lmul_lmla_div): New function.
5626 (thumb2_record_decode_insn_handler): New function.
5627 (decode_insn): Add thumb32 instruction handlers.
5629 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
5631 * arm-linux-tdep.c: Include "record-full.h" and "linux-record.h".
5632 (struct arm_linux_record_tdep): Declare.
5633 (arm_canonicalize_syscall): New function.
5634 (arm_all_but_pc_registers_record): New function.
5635 (arm_linux_syscall_record): New function.
5636 (arm_linux_init_abi): Add syscall recording constructs.
5637 * arm-tdep.c (thumb_record_ldm_stm_swi): Update thumb syscall
5638 decoding. (arm_record_coproc_data_proc): Update arm syscall
5640 * arm-tdep.h (struct gdbarch_tdep) <arm_swi_record>: Remove.
5641 <arm_syscall_record>: New field.
5642 * configure.tgt (arm*-*-linux*): Add linux-record.o to
5645 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
5647 * arm-tdep.c (thumb_record_misc): Update to use sp as base
5648 register for push instruction recording.
5650 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
5652 * arm-tdep.c (thumb_record_misc): Update to correct logical
5653 error while recording ldm, ldmia and pop instructions.
5655 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
5657 * arm-tdep.c (struct arm_mem_r) <addr>: Change type to uint32_t.
5659 2014-01-15 Pedro Alves <palves@redhat.com>
5661 * go32-nat.c (go32_open, go32_close, go32_attach, go32_detach)
5662 (go32_resume, go32_fetch_registers, store_register)
5663 (go32_store_registers, go32_prepare_to_store)
5664 (go32_xfer_memory, go32_files_info, go32_kill_inferior)
5665 (go32_create_inferior, go32_can_run, go32_terminal_init)
5666 (go32_terminal_inferior, go32_terminal_ours): Delete forward
5669 2014-01-15 Tom Tromey <tromey@redhat.com>
5671 * target.h (async_callback_ftype): New typedef.
5672 (struct target_ops) <to_async>: Use it.
5674 2014-01-15 Joel Brobecker <brobecker@adacore.com>
5676 * python/py-value.c (get_field_type): Remove unnecessary curly
5677 braces for single-statement if block.
5679 2014-01-15 Joel Brobecker <brobecker@adacore.com>
5681 * python/py-type.c (convert_field): Add missing empty line
5684 2014-01-14 Doug Evans <dje@google.com>
5686 * symfile.h (expand_symtabs_matching): Renamed from
5687 expand_partial_symbol_names. Update prototype.
5688 (map_symbol_filenames): Renamed from map_partial_symbol_filenames.
5689 * symfile.c (expand_symtabs_matching): Renamed from
5690 expand_partial_symbol_names. New args file_matcher, kind.
5691 Rename arg fun to symbol_matcher.
5692 (map_symbol_filenames): Renamed from map_partial_symbol_filenames.
5693 * ada-lang.c (ada_complete_symbol_matcher): Renamed from
5694 ada_expand_partial_symbol_name.
5695 (ada_make_symbol_completion_list): Update to call
5696 expand_symtabs_matching.
5697 (ada_add_global_exceptions): Call expand_symtabs_matching.
5698 * mi/mi-cmd-file.c (mi_cmd_file_list_exec_source_files): Update to
5699 call map_symbol_filenames.
5700 * symtab.c (sources_info): Update to call map_symbol_filenames.
5701 (search_symbols): Call expand_symtabs_matching.
5702 (symbol_completion_matcher): Renamed from expand_partial_symbol_name.
5703 (default_make_symbol_completion_list_break_on): Update to call
5704 expand_symtabs_matching.
5705 (make_source_files_completion_list): Update to call
5706 map_symbol_filenames.
5708 2014-01-14 Doug Evans <dje@google.com>
5710 * symfile.h (expand_symtabs_file_matcher_ftype): New typedef.
5711 (expand_symtabs_symbol_matcher_ftype): New typedef.
5712 (quick_symbol_functions.expand_symtabs_matching): Update to use.
5713 expand_symtabs_file_matcher_ftype, expand_symtabs_symbol_matcher_ftype.
5714 * symfile.c (expand_partial_symbol_names): Update to use
5715 expand_symtabs_symbol_matcher_ftype.
5716 * dwarf2read.c (dw2_expand_symtabs_matching): Update to use
5717 expand_symtabs_file_matcher_ftype, expand_symtabs_symbol_matcher_ftype.
5718 Arg name_matcher renamed to symbol_matcher.
5719 * psymtab.c (recursively_search_psymtabs): Update to use
5720 expand_symtabs_symbol_matcher_ftype. Arg name_matcher renamed to
5722 (expand_symtabs_matching_via_partial): Update to use
5723 expand_symtabs_file_matcher_ftype, expand_symtabs_symbol_matcher_ftype.
5724 Arg name_matcher renamed to symbol_matcher.
5726 2014-01-14 Doug Evans <dje@google.com>
5728 * psymtab.c (expand_partial_symbol_names): Delete, moved to symfile.c.
5729 (map_partial_symbol_filenames): Ditto.
5730 * psymtab.h (expand_partial_symbol_names): Delete, moved to symfile.h.
5731 (map_partial_symbol_filenames): Ditto.
5732 * symfile.c (expand_partial_symbol_names): Moved here from psymtab.c.
5733 (map_partial_symbol_filenames): Ditto.
5734 * symfile.h (expand_partial_symbol_names): Moved here from psymtab.h.
5735 (map_partial_symbol_filenames): Ditto.
5736 * symtab.c: Delete #include "psymtab.h".
5738 2014-01-14 Pedro Alves <palves@redhat.com>
5739 Tom Tromey <tromey@redhat.com>
5741 * infrun.c (use_displaced_stepping): Use find_record_target
5742 instead of RECORD_IS_USED.
5743 (adjust_pc_after_break): Use record_full_is_used instead of
5745 * record-btrace.c (record_btrace_open): Call record_preopen
5746 instead of checking RECORD_IS_USED.
5747 * record-full.c (record_full_shortname)
5748 (record_full_core_shortname): New globals.
5749 (record_full_is_used): New function.
5750 (find_full_open): Call record_preopen instead of checking
5752 (init_record_full_ops): Set the target's shortname to
5753 record_full_shortname.
5754 (init_record_full_core_ops): Set the target's shortname to
5755 record_full_core_shortname.
5756 * record-full.h (record_full_is_used): Declare.
5757 * record.c (find_record_target): Make extern.
5758 (record_preopen): New function.
5759 * record.h (RECORD_IS_USED): Delete macro.
5760 (find_record_target, record_preopen): Declare functions.
5762 2014-01-14 Yao Qi <yao@codesourcery.com>
5764 * gdbarch.sh (core_xfer_shared_libraries): Change its argument
5765 'len''s type to ULONGEST.
5766 (core_xfer_shared_libraries_aix): Likewise.
5767 * gdbarch.c, gdbarch.h: Regenerated.
5768 * i386-cygwin-tdep.c (windows_core_xfer_shared_libraries):
5769 Change type of 'len' to ULONGEST.
5770 * rs6000-aix-tdep.c (rs6000_aix_ld_info_to_xml): Likewise.
5771 (rs6000_aix_core_xfer_shared_libraries_aix): Likewise.
5773 2014-01-14 Yao Qi <yao@codesourcery.com>
5775 * common/linux-osdata.c (linux_xfer_osdata_processes): Change
5776 type of 'len' to ULONGEST.
5777 (linux_xfer_osdata_processgroups): Likewise.
5778 (linux_xfer_osdata_threads): Likewise.
5779 (linux_xfer_osdata_fds): Likewise.
5780 (linux_xfer_osdata_isockets): Likewise.
5781 (linux_xfer_osdata_shm): Likewise.
5782 (linux_xfer_osdata_sem): Likewise.
5783 (linux_xfer_osdata_msg): Likewise.
5784 (linux_common_xfer_osdata): Likewise.
5785 (struct osdata_type) <getter>: Likewise.
5786 * common/linux-osdata.h (linux_common_xfer_osdata): Update
5789 2014-01-14 Yao Qi <yao@codesourcery.com>
5791 * target.h (target_xfer_partial_ftype): Update.
5792 (struct target_ops) <to_xfer_partial>: Change 'len' type to
5794 * aix-thread.c (aix_thread_xfer_partial): Change type of
5795 argument 'len' to ULONGEST.
5796 * auxv.c (procfs_xfer_auxv): Likewise.
5797 (ld_so_xfer_auxv): Likewise.
5798 (memory_xfer_auxv): Likewise.
5799 * bfd-target.c (target_bfd_xfer_partial): Likewise.
5800 * bsd-kvm.c (bsd_kvm_xfer_partial): Likewise.
5801 * bsd-uthread.c (bsd_uthread_xfer_partial): Likewise.
5802 * corelow.c (core_xfer_partial): Likewise.
5803 * ctf.c (ctf_xfer_partial): Likewise.
5804 * darwin-nat.c (darwin_read_write_inferior): Likewise. Use
5806 (darwin_read_dyld_info): Likewise.
5807 (darwin_xfer_partial): Likewise.
5808 * exec.c (section_table_xfer_memory_partial): Likewise.
5809 (exec_xfer_partial): Likewise.
5810 * exec.h (section_table_xfer_memory_partial): Update
5812 * gnu-nat.c (gnu_xfer_memory): Likewise. Call pulongest
5813 instead of plongest.
5814 (gnu_xfer_partial): Likewise.
5815 * ia64-hpux-nat.c (ia64_hpux_xfer_memory): Likewise.
5816 (ia64_hpux_xfer_solib_got): Likewise.
5817 (ia64_hpux_xfer_partial): Likewise.
5818 * ia64-linux-nat.c (ia64_linux_xfer_partial):
5819 * inf-ptrace.c (inf_ptrace_xfer_partial):
5820 * inf-ttrace.c (inf_ttrace_xfer_partial):
5821 * linux-nat.c (linux_xfer_siginfo): Likewise.
5822 (linux_nat_xfer_partial): Likewise.
5823 (spu_enumerate_spu_ids, linux_proc_xfer_spu): Likewise.
5824 (linux_nat_xfer_osdata, linux_xfer_partial): Likewise.
5825 * monitor.c (monitor_xfer_memory): Likewise.
5826 (monitor_xfer_partial): Likewise.
5827 * procfs.c (procfs_xfer_partial): Likewise.
5828 * record-full.c (record_full_xfer_partial): Likewise.
5829 (record_full_core_xfer_partial): Likewise.
5830 * remote-sim.c (gdbsim_xfer_memory): Likewise. Call pulongest
5831 instead of plongest.
5832 (gdbsim_xfer_partial): Likewise.
5833 * remote.c (remote_xfer_partial): Likewise.
5834 * rs6000-aix-tdep.c (rs6000_aix_ld_info_to_xml): Likewise.
5835 * rs6000-aix-tdep.h (rs6000_aix_ld_info_to_xml): Update
5837 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
5838 (rs6000_xfer_shared_libraries): Likewise.
5839 * sol-thread.c (sol_thread_xfer_partial): Likewise.
5840 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
5841 (sparc_xfer_partial): Likewise.
5842 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise.
5843 (spu_xfer_partial): Likewise.
5844 * spu-multiarch.c (spu_xfer_partial): Likewise.
5845 * target.c (target_read_live_memory): Likewise.
5846 (memory_xfer_live_readonly_partial): Likewise.
5847 (memory_xfer_partial, memory_xfer_partial_1): Likewise.
5848 (target_xfer_partial, default_xfer_partial): Likewise.
5849 (current_xfer_partial): Likewise.
5850 * tracepoint.c (tfile_xfer_partial): Likewise.
5851 * windows-nat.c (windows_xfer_memory): Likewise. Call
5852 pulongest instead of plongest.
5853 (windows_xfer_partial): Likewise.
5854 (windows_xfer_shared_libraries): Likewise.
5856 2014-01-14 Yao Qi <yao@codesourcery.com>
5858 * rs6000-nat.c (rs6000_xfer_shared_libraries): Use
5859 target_xfer_partial_ftype.
5861 2014-01-13 Siva Chandra Reddy <sivachandra@google.com>
5865 * valops.c (value_struct_elt_bitpos): New function
5866 * py-type.c (convert_field): Set 'name' attribute of a gdb.Field
5867 object to 'None' if the field name is an empty string ("").
5868 * python/py-value.c (valpy_getitem): Use 'bitpos' and 'type'
5869 attribute to look for a field when 'name' is 'None'.
5870 (get_field_type): New function
5872 2014-01-13 Doug Evans <dje@google.com>
5875 * dwarf2read.c (dwarf2_get_dwz_file): Call gdb_bfd_record_inclusion.
5876 (try_open_dwop_file): Ditto.
5877 * gdb_bfd.c: #include "vec.h".
5878 (bfdp): New typedef.
5879 (struct gdb_bfd_data): New member included_bfds.
5880 (gdb_bfd_unref): Unref all included bfds.
5881 (gdb_bfd_record_inclusion): New function.
5882 * gdb_bfd.h (gdb_bfd_record_inclusion): Declare.
5884 2014-01-13 Tom Tromey <tromey@redhat.com>
5886 * gdbcore.h (deprecated_core_resize_section_table): Remove.
5888 2014-01-13 Tom Tromey <tromey@redhat.com>
5890 * defs.h (use_windows): Remove.
5891 * gdb.c (main): Update.
5892 * main.c (captured_main, gdb_main): Update.
5893 * main.h (struct captured_main_args) <use_windows>: Remove.
5894 * top.c (use_windows): Remove.
5896 2014-01-13 Tom Tromey <tromey@redhat.com>
5898 * defs.h (deprecated_flush_hook): Remove.
5900 2014-01-13 Jan Kratochvil <jan.kratochvil@redhat.com>
5903 * linux-thread-db.c (try_thread_db_load): Add parameter
5904 check_auto_load_safe. Move here the file_is_auto_load_safe call.
5905 (try_thread_db_load_from_pdir_1): Move it there from here.
5906 (try_thread_db_load_from_sdir): Update caller.
5907 (try_thread_db_load_from_dir): Move it there from here.
5909 2014-01-13 Patrick Palka <patrick@parcs.ath.cx>
5911 * regformats/regdat.sh: Always rewrite the register file.
5913 2014-01-13 Pedro Alves <palves@redhat.com>
5915 * Makefile.in (CHECK_HEADERS): New variable.
5916 (check-headers:): New rule.
5918 2014-01-13 Tom Tromey <tromey@redhat.com>
5920 * cli/cli-setshow.c (do_set_command): Update.
5921 * defs.h (deprecated_set_hook): Remove.
5922 * top.c (deprecated_set_hook): Remove.
5924 2014-01-13 Pedro Alves <palves@redhat.com>
5926 * tracepoint.c (tfile_fetch_registers): Don't infer the PC from
5927 the tracepoint if the PC is a pseudo-register.
5929 2014-01-13 Tom Tromey <tromey@redhat.com>
5931 * defs.h (XCALLOC): Remove.
5932 * bcache.c (bcache_xmalloc): Use XCNEW, not XCALLOC.
5933 (print_bcache_statistics): Use XCNEWVEC, not XCALLOC.
5934 * dwarf2loc.c (allocate_piece_closure): Likewise.
5935 * elfread.c (elf_symfile_segments): Likewise.
5936 (elf_symfile_segments): Likewise.
5937 * gdbtypes.c (copy_type_recursive): Likewise.
5938 * i386-tdep.c (i386_gdbarch_init): Use XCNEW, not XCALLOC.
5939 * jit.c (jit_frame_sniffer): Use XCNEWVEC, not XCALLOC.
5940 * minsyms.c (prim_record_minimal_symbol_full): Use XCNEW, not
5942 * mt-tdep.c (mt_gdbarch_init): Likewise.
5943 * opencl-lang.c (allocate_lval_closure): Use XCNEWVEC, not
5945 * psymtab.c (psymbol_compare): Use XCNEW, not XCALLOC.
5946 * regcache.c (regcache_xmalloc_1): Use XCNEWVEC, not XCALLOC.
5947 * registry.c (registry_alloc_data): Likewise.
5948 * rs6000-tdep.c (rs6000_gdbarch_init): Use XCNEW, not XCALLOC.
5949 * s390-linux-tdep.c (s390_gdbarch_init): Likewise.
5950 * serial.c (serial_fdopen_ops): Likewise.
5951 * solib-aix.c (solib_aix_get_section_offsets): Use XCNEWVEC, not
5953 * spu-tdep.c (spu_gdbarch_init): Use XCNEW, not XCALLOC.
5954 * symfile.c (default_symfile_segments): Use XCNEW and XCNEWVEC,
5957 2014-01-13 Tom Tromey <tromey@redhat.com>
5959 * defs.h (XMALLOC): Remove.
5960 * avr-tdep.c (avr_gdbarch_init): Use XNEW, not XMALLOC.
5961 * bfin-tdep.c (bfin_gdbarch_init): Likewise.
5962 * cli-out.c (struct ui_out *): Likewise.
5963 * cli/cli-dump.c (add_dump_command): Likewise.
5964 (add_dump_command): Likewise.
5965 * complaints.c (get_complaints): Likewise.
5966 (find_complaint): Likewise.
5967 * dwarf2-frame.c (execute_cfa_program): Likewise.
5968 * dwarf2read.c (abbrev_table_read_table): Likewise.
5969 * gdbarch.sh: Likewise.
5970 * gdbarch.c: Rebuild.
5971 * inf-ttrace.c (inf_ttrace_add_page): Likewise.
5972 * interps.c (interp_new): Likewise.
5973 * lm32-tdep.c (lm32_gdbarch_init): Likewise.
5974 * m32r-tdep.c (m32r_gdbarch_init): Likewise.
5975 * mi/mi-console.c (mi_console_file_new): Likewise.
5976 * mi/mi-interp.c (mi_interpreter_init): Likewise.
5977 * mi/mi-out.c (mi_out_new): Likewise.
5978 * mi/mi-parse.c (mi_parse): Likewise.
5979 * microblaze-tdep.c (microblaze_gdbarch_init): Likewise.
5980 * moxie-tdep.c (moxie_gdbarch_init): Likewise.
5981 * observer.c (xalloc_observer_list_node): Likewise.
5982 * regcache.c (regcache_xmalloc_1): Likewise.
5983 * reggroups.c (reggroup_new): Likewise.
5984 (_initialize_reggroup): Likewise.
5985 * registry.c (register_data_with_cleanup): Likewise.
5986 * remote.c (remote_notif_stop_alloc_reply): Likewise.
5987 * ser-base.c (serial_ttystate): Likewise.
5988 * ser-mingw.c (make_pipe_state): Likewise.
5989 * ser-pipe.c (pipe_open): Likewise.
5990 * serial.c (serial_open): Likewise.
5991 * sh64-tdep.c (sh64_gdbarch_init): Likewise.
5992 * tui/tui-data.c (tui_alloc_generic_win_info): Likewise.
5993 (tui_alloc_win_info): Likewise.
5994 (tui_add_content_elements): Likewise.
5995 * tui/tui-file.c (tui_file_new): Likewise.
5996 * tui/tui-out.c (tui_out_new): Likewise.
5997 * ui-file.c (mem_file_new): Likewise.
5998 * ui-out.c (push_level): Likewise.
5999 (make_cleanup_ui_out_end): Likewise.
6000 (append_header_to_list): Likewise.
6001 (ui_out_new): Likewise.
6002 * user-regs.c (user_reg_add_builtin): Likewise.
6004 2014-01-13 Tom Tromey <tromey@redhat.com>
6006 * defs.h (XZALLOC): Remove.
6007 * ada-lang.c (get_ada_inferior_data): Use XCNEW, not XZALLOC.
6008 * ada-tasks.c (get_ada_tasks_pspace_data): Likewise.
6009 (get_ada_tasks_inferior_data): Likewise.
6010 * auto-load.c (get_auto_load_pspace_data): Likewise.
6011 * auxv.c (get_auxv_inferior_data): Likewise.
6012 * bfd-target.c (target_bfd_reopen): Likewise.
6013 * breakpoint.c (get_catch_syscall_inferior_data): Likewise.
6014 (deprecated_insert_raw_breakpoint): Likewise.
6015 * bsd-uthread.c (bsd_uthread_pid_to_str): Likewise.
6016 * corelow.c (core_open): Likewise.
6017 * darwin-nat.c (darwin_check_new_threads): Likewise.
6018 (darwin_attach_pid): Likewise.
6019 * dummy-frame.c (dummy_frame_push): Likewise.
6020 * dwarf2-frame.c (dwarf2_frame_cache): Likewise.
6021 * dwarf2loc.c (allocate_piece_closure): Likewise.
6022 * elfread.c (elf_symfile_segments): Likewise.
6023 * eval.c (ptrmath_type_p): Likewise.
6024 * exceptions.c (EXCEPTIONS_SIGJMP_BUF): Likewise.
6025 * gdbtypes.c (alloc_type_arch): Likewise.
6026 (alloc_type_instance): Likewise.
6027 * hppa-tdep.c (hppa_gdbarch_init): Likewise.
6028 * inf-child.c (inf_child_can_use_agent): Likewise.
6029 * inflow.c (get_inflow_inferior_data): Likewise.
6030 * infrun.c (save_infcall_suspend_state): Likewise.
6031 * jit.c (jit_reader_load): Likewise.
6032 (get_jit_objfile_data): Likewise.
6033 (get_jit_program_space_data): Likewise.
6034 (jit_object_open_impl): Likewise.
6035 (jit_symtab_open_impl): Likewise.
6036 (jit_block_open_impl): Likewise.
6037 (jit_frame_sniffer): Likewise.
6038 * linux-fork.c (add_fork): Likewise.
6039 * maint.c (make_command_stats_cleanup): Likewise.
6040 * objfiles.c (get_objfile_pspace_data): Likewise.
6041 * opencl-lang.c (struct lval_closure): Likewise.
6042 * osdata.c (osdata_start_osdata): Likewise.
6043 * progspace.c (new_address_space): Likewise.
6044 (add_program_space): Likewise.
6045 * remote-sim.c (get_sim_inferior_data): Likewise.
6046 * sh-tdep.c (sh_gdbarch_init): Likewise.
6047 * skip.c (Ignore): Likewise.
6048 (skip_delete_command): Likewise.
6049 * solib-aix.c (get_solib_aix_inferior_data): Likewise.
6050 (library_list_start_library): Likewise.
6051 (solib_aix_current_sos): Likewise.
6052 * solib-darwin.c (get_darwin_info): Likewise.
6053 (darwin_current_sos): Likewise.
6054 * solib-dsbt.c (get_dsbt_info): Likewise.
6055 * solib-ia64-hpux.c (new_so_list): Likewise.
6056 (ia64_hpux_get_solib_linkage_addr): Likewise.
6057 * solib-spu.c (append_ocl_sos): Likewise.
6058 (spu_current_sos): Likewise.
6059 * solib-svr4.c (get_svr4_info): Likewise.
6060 (svr4_keep_data_in_core): Likewise.
6061 (library_list_start_library): Likewise.
6062 (svr4_default_sos): Likewise.
6063 (svr4_read_so_list): Likewise.
6064 * solib-target.c (library_list_start_library): Likewise.
6065 (solib_target_current_sos): Likewise.
6066 * sparc-tdep.c (sparc32_gdbarch_init): Likewise.
6067 * symfile-debug.c (install_symfile_debug_logging): Likewise.
6068 * symfile.c (default_symfile_segments): Likewise.
6069 * target-descriptions.c (tdesc_data_init): Likewise.
6070 (tdesc_create_reg): Likewise.
6071 (struct tdesc_type *): Likewise.
6072 (tdesc_create_vector): Likewise.
6073 (tdesc_set_struct_size): Likewise.
6074 (struct tdesc_type *): Likewise.
6075 (tdesc_free_feature): Likewise.
6076 (tdesc_create_feature): Likewise.
6077 * windows-nat.c (windows_add_thread): Likewise.
6078 (windows_make_so): Likewise.
6079 * xml-support.c (gdb_xml_body_text): Likewise.
6080 (gdb_xml_create_parser_and_cleanup): Likewise.
6081 (xml_process_xincludes): Likewise.
6082 * xml-syscall.c (allocate_syscalls_info): Likewise.
6083 (syscall_create_syscall_desc): Likewise.
6085 2014-01-12 Sergio Durigan Junior <sergiodj@redhat.com>
6087 * i386-tdep.c (i386_stap_parse_special_token_triplet): New
6088 function, with code from i386_stap_parse_special_token.
6089 (i386_stap_parse_special_token_three_arg_disp): Likewise.
6090 (i386_stap_parse_special_token): Move code to the two functions
6093 2014-01-09 Pedro Alves <palves@redhat.com>
6094 Hui Zhu <hui@codesourcery.com>
6097 * breakpoint.c (insert_bp_location): Rename hw_bp_err_string to
6098 bp_err_string. Don't mark the location shlib_disabled if the
6099 error thrown wasn't a generic or memory error. Catch errors
6100 thrown while inserting breakpoints in overlayed code. Output
6101 error message of software breakpoints.
6102 * remote.c (remote_insert_breakpoint): If this breakpoint has
6103 target-side commands but this stub doesn't support Z0 packets,
6104 throw NOT_SUPPORTED_ERROR error.
6105 * exceptions.h (enum errors) <NOT_SUPPORTED_ERROR>: New error.
6106 * target.h (target_insert_breakpoint): Extend comment.
6107 (target_insert_hw_breakpoint): Add comment.
6109 2014-01-08 Pedro Alves <palves@redhat.com>
6111 * remote.c (remote_add_thread): Add threads silently if starting
6113 (remote_notice_new_inferior): If in all-stop, and starting up,
6114 don't call notice_new_inferior.
6115 (get_current_thread): New function, factored out from ...
6116 (add_current_inferior_and_thread): ... this. Adjust.
6117 (remote_start_remote) <all-stop>: Fetch the thread list. If we
6118 found any thread, then select the remote's current thread as GDB's
6121 2014-01-08 Joel Brobecker <brobecker@adacore.com>
6123 * NEWS: Create a new section for the next release branch.
6124 Rename the section of the current branch, now that it has
6127 2014-01-08 Joel Brobecker <brobecker@adacore.com>
6129 GDB 7.7 branch created (79301218fa0f074c5656db0ec8972a5ddcf91fb5):
6130 * version.in: Bump version to 7.7.50.DATE-cvs.
6132 2014-01-08 Yao Qi <yao@codesourcery.com>
6134 * spu-linux-nat.c (spu_symbol_file_add_from_memory): Change
6135 type of 'id' to gdb_byte. Cast 'id' to 'const char *'.
6136 (spu_xfer_partial): Cast 'buf' to 'const char *'.
6138 2014-01-08 Yao Qi <yao@codesourcery.com>
6140 * spu-linux-nat.c (spu_symbol_file_add_from_memory): Pass
6141 return value of bfd_get_filename to symbol_file_add_from_bfd.
6143 2014-01-08 Pierre Muller <muller@sourceware.org>
6146 * coff-pe-read.c (struct read_pe_section_data): Add index field.
6147 (add_pe_exported_sym): Use SECTION_DATA->INDEX for call
6148 to prim_record_mininal_symbol_and_info.
6149 (add_pe_forwarded_sym): Use known section number of forwarded symbol
6150 in call to prim_record_minimal_symbol_and_info.
6151 (read_pe_exported_syms): Set index field of section_data.
6153 2014-01-07 Andrew Pinski <apinski@cavium.com>
6155 * features/aarch64-core.xml (cpsr): Change to be 64bit.
6156 * features/aarch64.c: Regenerate.
6158 2014-01-07 Andreas Schwab <schwab@linux-m68k.org>
6160 * target.c (return_null): Define.
6161 (update_current_target): Use it instead of return_zero for
6162 functions that return a pointer.
6164 2014-01-07 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
6166 * source.c (add_path): Fix check for duplicated paths in the previously
6169 2014-01-07 Honggyu Kim <hong.gyu.kim@lge.com>
6171 * ada-lang.c: Remove duplicated include statements.
6172 * alphabsd-nat.c: Ditto.
6173 * amd64-darwin-tdep.c: Ditto.
6174 * amd64fbsd-nat.c: Ditto.
6175 * auto-load.c: Ditto.
6177 * breakpoint.c: Ditto.
6179 * fork-child.c: Ditto.
6180 * gdb_usleep.c: Ditto.
6181 * i386-darwin-tdep.c: Ditto.
6182 * i386fbsd-nat.c: Ditto.
6184 * inferior.c: Ditto.
6186 * linux-nat.c: Ditto.
6187 * linux-tdep.c: Ditto.
6188 * m68kbsd-nat.c: Ditto.
6189 * m68klinux-nat.c: Ditto.
6190 * microblaze-tdep.c: Ditto.
6191 * mips-linux-tdep.c: Ditto.
6192 * mn10300-tdep.c: Ditto.
6193 * nto-tdep.c: Ditto.
6194 * opencl-lang.c: Ditto.
6196 * printcmd.c: Ditto.
6197 * regcache.c: Ditto.
6198 * remote-m32r-sdi.c: Ditto.
6202 * tilegx-linux-nat.c: Ditto.
6203 * tilegx-tdep.c: Ditto.
6204 * tracepoint.c: Ditto.
6206 * vaxbsd-nat.c: Ditto.
6207 * windows-nat.c: Ditto.
6208 * xtensa-tdep.c: Ditto.
6210 2014-01-07 Yao Qi <yao@codesourcery.com>
6212 * spu-linux-nat.c (_initialize_spu_nat): Declare.
6214 2014-01-07 Yao Qi <yao@codesourcery.com>
6215 Joel Brobecker <brobecker@adacore.com>
6217 * aix-thread.c (pdc_read_regs): Cast parameter to uintptr_t.
6218 (pdc_write_regs): Likewise.
6219 (fetch_regs_kernel_thread): Likewise.
6220 (store_regs_kernel_thread): Likewise.
6222 2014-01-07 Joel Brobecker <brobecker@adacore.com>
6224 * ada-varobj.c (ada_varobj_adjust_for_child_access): Convert
6225 tagged type objects to their actual type.
6227 2014-01-07 Joel Brobecker <brobecker@adacore.com>
6229 * ada-valprint.c (print_field_values): Add "language" parameter.
6230 Update calls to print_field_values and print_variant_part.
6231 Pass new parameter "language" in call to val_print instead
6232 of "current_language". Replace call to ada_val_print by call
6234 (print_variant_part): Add "language" parameter.
6235 (ada_val_print_struct_union): Update call to print_field_values.
6237 2014-01-07 Joel Brobecker <brobecker@adacore.com>
6239 * ada-valprint.c (ui_memcpy): Delete.
6240 (ada_print_floating): Update documentation. Add empty line
6241 between between function documentation and implementation.
6242 Delete variable "buffer". Use ui_file_xstrdup in place of
6243 ui_file_put. Minor adjustments following this change.
6245 2014-01-07 Joel Brobecker <brobecker@adacore.com>
6247 * ada-valprint.c (ada_val_print_string): New function,
6248 extracted from ada_val_print_array.
6249 (ada_val_print_array): Replace extracted code by call
6250 to ada_val_print_string followed by a return. Move
6251 "else" branch to the function's top block.
6253 2014-01-07 Joel Brobecker <brobecker@adacore.com>
6255 * ada-valprint.c (ada_val_print_array): Move implementation
6256 down. Rename parameter "offset" and "val" into "offset_aligned"
6257 and "original_value" respectively. Add parameter "offset".
6259 2014-01-07 Joel Brobecker <brobecker@adacore.com>
6261 * ada-valprint.c (ada_val_print_ref): Rewrite by mostly
6262 re-organizing the code. Change the "???" message printed
6263 when target type is a TYPE_CODE_UNDEF into
6264 "<ref to undefined type>".
6266 2014-01-07 Joel Brobecker <brobecker@adacore.com>
6268 * ada-valprint.c (print_record): Delete, implementation inlined...
6269 (ada_val_print_struct_union): ... here. Remove call to
6270 ada_check_typedef in inlined implementation.
6272 2014-01-07 Joel Brobecker <brobecker@adacore.com>
6274 * ada-valprint.c (ada_val_print_gnat_array): New function,
6275 extracted from ada_val_print_1;
6276 (ada_val_print_ptr, ada_val_print_num, ada_val_print_enum)
6277 (ada_val_print_flt, ada_val_print_struct_union)
6278 (ada_val_print_ref): Likewise.
6279 (ada_val_print_1): Delete variables i and elttype.
6280 Replace extracted-out code by call to corresponding
6283 2014-01-07 Joel Brobecker <brobecker@adacore.com>
6285 * ada-valprint.c (ada_val_print_1): Remove call to gdb_flush.
6287 2014-01-07 Joel Brobecker <brobecker@adacore.com>
6289 * ada-valprint.c (ada_val_print_1): Replace calls to
6290 ada_val_print_1 by calls to val_print.
6292 2014-01-07 Joel Brobecker <brobecker@adacore.com>
6294 * ada-valprint.c (ada_val_print_1): Add parameter "language".
6295 Update calls to self accordingly. Replace calls to c_val_print
6296 by calls to val_print.
6298 2014-01-07 Joel Brobecker <brobecker@adacore.com>
6300 * ada-valprint.c (print_record): Delete declaration.
6301 (adjust_type_signedness, ada_val_print_1): Likewise.
6302 (ada_val_print): Move function implementation down.
6303 (print_variant_part, print_field_values, print_record):
6304 Move function implementation up.
6306 2014-01-07 Joel Brobecker <brobecker@adacore.com>
6308 * python/py-type.c (typy_get_name): New function.
6309 (type_object_getset): Add entry for attribute "name".
6310 * NEWS: Add entry mentioning this new attribute.
6312 2014-01-07 Yao Qi <yao@codesourcery.com>
6314 * gnu-nat.c (set_exceptions_cmd): Remove an empty body 'if'
6317 2014-01-07 Yao Qi <yao@codesourcery.com>
6319 * gnu-nat.c (info_port_rights): Add qualifier const to
6322 2014-01-07 Yao Qi <yao@codesourcery.com>
6324 * gnu-nat.c (trace_me): Use 'void' for empty argument list.
6326 2014-01-07 Yao Qi <yao@codesourcery.com>
6328 * gnu-nat.c (make_inf) Update declaration.
6329 (make_inf): Make it static.
6330 (inf_set_traced): Likewise.
6331 (inf_port_to_thread, inf_task_died_status): Likewise.
6333 2014-01-07 Yao Qi <yao@codesourcery.com>
6335 * gnu-nat.c (inf_tid_to_proc): Remove declaration.
6337 2014-01-07 Yao Qi <yao@codesourcery.com>
6339 * gnu-nat.c (_initialize_gnu_nat): Declare.
6341 2014-01-07 Yao Qi <yao@codesourcery.com>
6343 * gdbarch.sh (byte_order, byte_order_for_code): Change type to
6345 (struct gdbarch_info) <byte_order>: Change type to
6347 <byte_order_for_code>: Likewise.
6348 * gdbarch.c, gdbarch.h: Regenerated.
6350 2014-01-06 Sasha Smundak <asmundak@google.com>
6352 * jit.c: (jit_reader_load_command): Fix JIT reader path creation.
6354 2014-01-06 Tom Tromey <tromey@redhat.com>
6356 * doublest.c (convert_doublest_to_floatformat): Use const, not
6358 * somread.c (som_symtab_read): Likewise.
6360 2014-01-07 Hui Zhu <hui@codesourcery.com>
6362 * gdb_bfd.c (gdb_bfd_stash_filename): Removed.
6363 (gdb_bfd_open): Removed gdb_bfd_stash_filename.
6364 (gdb_bfd_fopen): Ditto.
6365 (gdb_bfd_openr): Ditto.
6366 (gdb_bfd_openw): Ditto.
6367 (gdb_bfd_openr_iovec): Ditto.
6368 (gdb_bfd_fdopenr): Ditto.
6369 * gdb_bfd.h (gdb_bfd_stash_filename): Removed.
6370 * solib-aix.c (solib_aix_bfd_open): Alloc object_bfd->filename
6372 * solib-darwin.c (darwin_bfd_open): Alloc res->filename
6374 * symfile-mem.c (symbol_file_add_from_memory): Removed
6375 gdb_bfd_stash_filename.
6377 2014-01-03 Doug Evans <dje@google.com>
6379 * nat/linux-waitpid.c (linux_debug): Remove extraneous \n from
6382 2014-01-01 Joel Brobecker <brobecker@adacore.com>
6384 Update year range in copyright notice of all files.
6386 2014-01-01 Joel Brobecker <brobecker@adacore.com>
6388 * top.c (print_gdb_version): Set copyright year to 2014.
6390 2014-01-01 Joel Brobecker <brobecker@adacore.com>
6392 * config/djgpp/fnchange.lst: Add entry for gdb/ChangeLog-2013.
6394 For older changes see ChangeLog-2013.
6400 version-control: never