1 2014-03-22 Yao Qi <yao@codesourcery.com>
3 * remote.c (target_read_live_memory): Remove.
4 (memory_xfer_live_readonly_partial): Rename it to
5 remote_xfer_live_readonly_partial. Remove argument 'object'.
6 All callers updated. Call remote_read_bytes_1
7 instead of target_read_live_memory.
8 * tracepoint.c (set_traceframe_number): Remove.
9 (make_cleanup_restore_traceframe_number): Likewise .
10 * tracepoint.h (set_traceframe_number): Remove declaration.
11 (make_cleanup_restore_traceframe_number): Likewise.
13 2014-03-22 Yao Qi <yao@codesourcery.com>
15 * remote.c (remote_read_bytes): Move code on reading from the
17 (remote_read_bytes_1): ... here. New function.
19 2014-03-22 Yao Qi <yao@codesourcery.com>
21 * ctf.c (ctf_xfer_partial): Check the return value of
22 exec_read_partial_read_only, if it is not TARGET_XFER_OK,
23 return TARGET_XFER_UNAVAILABLE.
24 * tracefile-tfile.c (tfile_xfer_partial): Likewise.
25 * target.c (target_read_live_memory): Move it to remote.c.
26 (memory_xfer_live_readonly_partial): Likewise.
27 (memory_xfer_partial_1): Move some code to remote_read_bytes.
28 * remote.c (target_read_live_memory): Moved from target.c.
29 (memory_xfer_live_readonly_partial): Likewise.
30 (remote_read_bytes): Factored out from
31 memory_xfer_partial_1.
33 2014-03-21 Daniel Gutson <daniel.gutson@tallertechnologies.com>
35 * extension.c (eval_ext_lang_from_control_command): Avoid dereferencing
38 2014-03-21 Pedro Alves <palves@redhat.com>
40 * infrun.c (normal_stop): Extend comment.
42 2014-03-21 Hui Zhu <hui@codesourcery.com>
43 Pedro Alves <palves@redhat.com>
45 * darwin-nat.c (darwin_pid_to_exec_file): Change xmalloc to
47 * fbsd-nat.c (fbsd_pid_to_exec_file): Ditto.
48 * linux-nat.c (linux_child_pid_to_exec_file): Ditto.
49 * nbsd-nat.c (nbsd_pid_to_exec_file): Ditto.
51 2014-03-20 Maciej W. Rozycki <macro@codesourcery.com>
53 * mi/mi-interp.c (mi_memory_changed): Avoid using the ISO C99
54 `z' formatted output modifier.
56 2014-03-20 Tom Tromey <tromey@redhat.com>
57 Sergio Durigan Junior <sergiodj@redhat.com>
59 * probe.c (parse_probes): Turn assert into an ordinary error.
60 * break-catch-throw.c (re_set_exception_catchpoint): Ignore
61 exceptions when parsing probes. Rearrange the code for clarity.
63 2014-03-20 Tom Tromey <tromey@redhat.com>
66 * top.c (execute_command): Only dispatch events if the command
69 2014-03-20 Tom Tromey <tromey@redhat.com>
72 * infcall.c: Include event-top.h.
73 (run_inferior_call): Call async_disable_stdin if needed.
75 2014-03-20 Pedro Alves <palves@redhat.com>
77 * infrun.c (prepare_to_proceed): Delete.
78 (thread_still_needs_step_over): New function.
79 (find_thread_needs_step_over): New function.
80 (proceed): If the current thread needs a step-over, set its
81 steping_over_breakpoint flag. Adjust to use
82 find_thread_needs_step_over instead of prepare_to_proceed.
83 (process_event_stop_test): For BPSTAT_WHAT_STOP_NOISY and
84 BPSTAT_WHAT_STOP_SILENT, assume the thread stopped for a
86 (switch_back_to_stepped_thread): Step over breakpoints of all
87 threads not the stepping thread, before switching back to the
90 2014-03-20 Pedro Alves <palves@redhat.com>
92 * breakpoint.c (single_step_breakpoint_inserted_here_p): Make
94 * breakpoint.h (single_step_breakpoint_inserted_here_p): Declare.
95 * infrun.c (saved_singlestep_ptid)
96 (stepping_past_singlestep_breakpoint): Delete.
97 (resume): Remove stepping_past_singlestep_breakpoint handling.
98 (proceed): Store the prev_pc of the stepping thread too.
99 (init_wait_for_inferior): Adjust. Clear singlestep_ptid and
101 (enum infwait_states): Delete infwait_thread_hop_state.
102 (struct execution_control_state) <hit_singlestep_breakpoint>: New
104 (handle_inferior_event): Adjust.
105 (handle_signal_stop): Delete stepping_past_singlestep_breakpoint
106 handling and the thread-hop code. Before removing single-step
107 breakpoints, check whether the thread hit a single-step breakpoint
108 of another thread. If it did, the trap is not a random signal.
109 (switch_back_to_stepped_thread): If the event thread hit a
110 single-step breakpoint, unblock it before switching to the
111 stepping thread. Handle the case of the stepped thread having
113 (keep_going): Handle the case of the current thread moving past a
114 single-step breakpoint.
116 2014-03-20 Pedro Alves <palves@redhat.com>
119 * breakpoint.c (should_be_inserted): Don't insert breakpoints that
120 are being stepped over.
121 (breakpoint_address_match): Make extern.
122 * breakpoint.h (breakpoint_address_match): New declaration.
123 * inferior.h (stepping_past_instruction_at): New declaration.
124 * infrun.c (struct step_over_info): New type.
125 (step_over_info): New global.
126 (set_step_over_info, clear_step_over_info)
127 (stepping_past_instruction_at): New functions.
128 (handle_inferior_event): Clear the step-over info when
129 trap_expected is cleared.
130 (resume): Remove now stale comment.
131 (clear_proceed_status): Clear step-over info.
132 (proceed): Adjust step-over handling to set or clear the step-over
133 info instead of removing all breakpoints.
134 (handle_signal_stop): When setting up a thread-hop, don't remove
136 (stop_stepping): Clear step-over info.
137 (keep_going): Adjust step-over handling to set or clear step-over
138 info and then always inserting breakpoints, instead of removing
139 all breakpoints when stepping over one.
141 2014-03-20 Pedro Alves <palves@redhat.com>
143 * infrun.c (previous_inferior_ptid): Adjust comment.
144 (deferred_step_ptid): Delete.
145 (infrun_thread_ptid_changed, prepare_to_proceed)
146 (init_wait_for_inferior): Adjust.
147 (handle_signal_stop): Delete deferred_step_ptid handling.
149 2014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
152 * defs.h (sync_quit_force_run): New declaration.
153 (QUIT): Check also SYNC_QUIT_FORCE_RUN.
154 * event-top.c (async_sigterm_handler): New declaration.
155 (async_sigterm_token): New variable.
156 (async_init_signals): Create also async_sigterm_token.
157 (async_sigterm_handler): New function.
158 (sync_quit_force_run): New variable.
159 (handle_sigterm): Replace quit_force call by other calls.
160 * utils.c (quit): Call quit_force if SYNC_QUIT_FORCE_RUN.
162 2014-03-18 Maciej W. Rozycki <macro@codesourcery.com>
164 * rs6000-tdep.c (rs6000_frame_cache): Correct little-endian GPR
165 offset into SPE pseudo registers.
167 2014-03-18 Pedro Alves <palves@redhat.com>
170 * inferior.h (print_stop_event): Declare.
171 * infrun.c (print_stop_event): New, factored out from ...
172 (normal_stop): ... this.
173 * mi/mi-interp.c (mi_on_normal_stop): Use print_stop_event instead
174 of bpstat_print/print_stack_frame.
176 2014-03-17 Tom Tromey <tromey@redhat.com>
178 * ui-out.c (clear_table, ui_out_new): Clear uiout->table.id.
180 2014-03-17 Pierre-Marie de Rodat <derodat@adacore.com>
182 * ada-lang.c (decode_constrained_packed_array): Perform a
183 minimal coercion for reference with coerce_ref instead of
186 2014-03-17 Tristan Gingold <gingold@adacore.com>
188 * solib-darwin.c (DYLD_VERSION_MAX): Increase value.
189 (darwin_solib_create_inferior_hook): Emit a warning if version
192 2014-03-16 Ulrich Weigand <uweigand@de.ibm.com>
194 * python/py-value.c (get_field_flag): Cast flag_name argument to
195 PyObject_GetAttrString to support Python 2.4.
197 2014-03-14 Jan Kratochvil <jan.kratochvil@redhat.com>
199 * MAINTAINERS (The Official FSF-appointed GDB Maintainers)
200 (Global Maintainers): Remove Jan Kratochvil.
202 2014-03-14 Pedro Alves <palves@redhat.com>
204 * inferior.h (terminal_ours_for_output): Rename to ...
205 (child_terminal_ours_for_output): ... this.
206 (terminal_save_ours): Rename to ...
207 (child_terminal_save_ours): ... this.
208 (terminal_ours): Rename to ...
209 (child_terminal_ours): ... this.
210 (terminal_inferior): Rename to ...
211 (child_terminal_inferior): ... this.
212 (terminal_init_inferior): Rename to ...
213 (child_terminal_init_inferior): ... this.
214 (terminal_init_inferior_with_pgrp): Rename to ...
215 (child_terminal_init_inferior_with_pgrp): ... this.
216 * inflow.c (terminal_init_inferior_with_pgrp): Rename to ...
217 (child_terminal_init_with_pgrp): ... this.
218 (terminal_save_ours): Rename to ...
219 (child_terminal_save_ours): ... this.
220 (terminal_init_inferior): Rename to ...
221 (child_terminal_init): ... this. Adjust.
222 (terminal_inferior): Rename to ...
223 (child_terminal_inferior): ... this.
224 (terminal_ours_for_output): Rename to ...
225 (child_terminal_ours_for_output): ... this. Adjust.
226 (terminal_ours): Rename to ...
227 (child_terminal_ours): ... this.
228 (terminal_ours_1): Rename to ...
229 (child_terminal_ours_1): ... this. Adjust.
230 * linux-nat.c (linux_nat_terminal_inferior): Adjust.
231 * windows-nat.c (do_initial_windows_stuff): Adjust.
232 * gnu-nat.c (gnu_terminal_init_inferior): Rename to ...
233 (gnu_terminal_init): ... this. Adjust.
234 (gnu_target): Adjust.
235 * inf-child.c (inf_child_target): Adjust.
237 2014-03-13 Doug Evans <xdje42@gmail.com>
240 * guile/scm-type.c (tyscm_copy_type_recursive): Move type to its
243 2014-03-13 Doug Evans <xdje42@gmail.com>
245 * value.c (record_latest_value): Call release_value_or_incref
246 instead of release_value.
248 2014-03-13 Pedro Alves <palves@redhat.com>
250 * procfs.c (procfs_target): Don't override to_shortname,
251 to_longname or to_doc.
253 2014-03-13 Pedro Alves <palves@redhat.com>
255 * inf-child.c (inf_child_open, inf_child_target): Don't mention
256 Unix in user visible strings.
258 2014-03-12 Stan Shebs <stan@codesourcery.com>
260 * gdbtypes.h: Annotate comments for Doxygen, add a page
261 block comment with some general info.
263 2014-03-12 Pedro Alves <palves@redhat.com>
265 * infcmd.c (prepare_execution_command): New function, factored out
266 from several execution commands.
267 (run_command_1, continue_command, step_1, jump_command)
268 (signal_command, until_command, advance_command, finish_command)
269 (attach_command): Use prepare_execution_command.
271 2014-03-12 Omair Javaid <omair.javaid@linaro.org>
273 * arm-linux-nat.c (arm_linux_get_hwbp_cap): Updated.
276 (struct arm_linux_thread_points): Removed.
277 (struct arm_linux_process_info): New.
278 (DEF_VEC_P (arm_linux_thread_points_p)): Removed.
279 (VEC(arm_linux_thread_points_p) *arm_threads): Removed.
280 (arm_linux_find_breakpoints_by_tid): Removed.
281 (struct arch_lwp_info): New.
282 (arm_linux_find_process_pid): New functions.
283 (arm_linux_add_process): New functions.
284 (arm_linux_process_info_get): New functions.
285 (arm_linux_forget_process): New function.
286 (arm_linux_get_debug_reg_state): New function.
287 (struct update_registers_data): New.
288 (update_registers_callback): New function.
289 (arm_linux_insert_hw_breakpoint1): Updated.
290 (arm_linux_remove_hw_breakpoint1): Updated.
291 (arm_linux_insert_hw_breakpoint): Updated.
292 (arm_linux_remove_hw_breakpoint): Updated.
293 (arm_linux_insert_watchpoint): Updated.
294 (arm_linux_remove_watchpoint): Updated.
295 (arm_linux_new_thread): Updated.
296 (arm_linux_prepare_to_resume): New function.
297 (arm_linux_new_fork): New function.
298 (_initialize_arm_linux_nat): Updated.
300 2014-03-12 Pedro Alves <palves@redhat.com>
302 * Makefile.in (TARGET_FLAGS_TO_PASS): Add TESTS.
304 2014-03-12 Tom Tromey <tromey@redhat.com>
306 * inf-child.c (return_zero): New function.
307 (inf_child_target): Set to_can_async_p, to_supports_non_stop.
308 * aix-thread.c (aix_thread_inferior_created): New function.
309 (aix_thread_attach): Remove.
310 (init_aix_thread_ops): Don't set to_attach.
311 (_initialize_aix_thread): Register inferior_created observer.
312 * corelow.c (init_core_ops): Don't set to_attach or
314 * exec.c (init_exec_ops): Don't set to_attach or
316 * infcmd.c (run_command_1): Use find_run_target. Make direct
318 (attach_command): Use find_attach_target. Make direct target
320 * record-btrace.c (init_record_btrace_ops): Don't set
322 * record-full.c (record_full_can_async_p, record_full_is_async_p):
324 (init_record_full_ops, init_record_full_core_ops): Update. Don't
325 set to_create_inferior.
326 * target.c (complete_target_initialization): Add assertion.
327 (target_create_inferior): Remove.
328 (find_default_attach, find_default_create_inferior): Remove.
329 (find_attach_target, find_run_target): New functions.
330 (find_default_is_async_p, find_default_can_async_p)
331 (target_supports_non_stop, target_attach): Remove.
332 (init_dummy_target): Don't set to_create_inferior or
333 to_supports_non_stop.
334 * target.h (struct target_ops) <to_attach>: Add comment. Remove
336 <to_create_inferior>: Add comment.
337 <to_can_async_p, to_is_async_p, to_supports_non_stop>: Use
338 TARGET_DEFAULT_RETURN.
339 <to_can_async_p, to_supports_non_stop, to_can_run>: Add comments.
340 (find_attach_target, find_run_target): Declare.
341 (target_create_inferior): Remove.
342 (target_has_execution_1): Update comment.
343 (target_supports_non_stop): Remove.
344 * target-delegates.c: Rebuild.
346 2014-03-12 Pedro Alves <palves@redhat.com>
348 * inf-child.h: Update comment to not mention Unix.
350 2014-03-12 Pedro Alves <palves@redhat.com>
352 * inf-child.c: Update top comment to not mention Unix. Add
353 generic comment describing how this target is meant to be used.
354 (inf_child_post_attach, inf_child_post_startup_inferior)
355 (inf_child_follow_fork, inf_child_pid_to_exec_file): Don't mention
358 2014-03-12 Pedro Alves <palves@redhat.com>
360 * nto-procfs.c: Include inf-child.h.
361 (procfs_ops): Delete global.
362 (procfs_can_run): Delete method.
363 (procfs_detach, procfs_mourn_inferior): Unpush the passed in
364 target pointer instead of referencing procfs_ops.
365 (procfs_prepare_to_store): Delete.
366 (init_procfs_ops): Delete function.
367 (procfs_target): New function, based on init_procfs_ops, but
368 inherit inf_child_target.
369 (_initialize_procfs): Use procfs_target.
371 2014-03-12 Pedro Alves <palves@redhat.com>
373 * windows-nat.c: Include inf-child.h.
374 (windows_ops): Delete global.
375 (windows_open, windows_prepare_to_store, windows_can_run): Delete
377 (init_windows_ops): Delete function.
378 (windows_target): New function, based on init_windows_ops, but
379 inherit inf_child_target.
380 (_initialize_windows_nat): Use windows_target. Install x86
381 specific target methods here.
383 2014-03-10 Doug Evans <xdje42@gmail.com>
385 * guile/guile.c (call_initialize_gdb_module): New function.
386 (initialize_guile): Replace call to scm_init_guile with call to
389 2014-03-10 Joel Brobecker <brobecker@adacore.com>
391 * ada-lang.c (ada_evaluate_subexp): Add missing space before '('
392 in call to TYPE_CODE macro.
394 2014-03-10 Jerome Guitton <guitton@adacore.com>
396 * ada-lang.c (ada_evaluate_subexp) <UNOP_IND, STRUCTOP_STRUCT>:
397 Resolve tagged types to full view.
399 2014-03-10 Hui Zhu <hui@codesourcery.com>
401 * target.h (target_insert_breakpoint): Remove "hardware" from its
404 2014-03-07 Doug Evans <dje@google.com>
406 * dwarf2read.c (read_str_index): Rename local dwo_name to objf_name.
408 2014-03-07 Doug Evans <dje@google.com>
410 * dwarf2read.c (read_cutu_die_from_dwo): Fix function comment.
411 Remove unused local comp_dir_attr. Assert exactly one of
412 stub_comp_unit_die, stub_comp_dir is non-NULL.
414 2014-03-07 Joel Brobecker <brobecker@adacore.com>
416 * target.h (complete_target_initialization, add_target):
419 2014-03-07 Pedro Alves <palves@redhat.com>
421 * go32-nat.c: Include inf-child.h.
422 (go32_ops): Delete global.
423 (go32_close, go32_detach, go32_prepare_to_store, go32_can_run):
425 (go32_create_inferior): Push the passed in target pointer instead
426 of referencing go32_ops.
427 (init_go32_ops): Delete function. Moved parts to _initialize_go32_nat.
428 (go32_target): New function, based on init_go32_ops, but inherit
430 (_initialize_go32_nat): Use go32_target. Move parts of
433 2014-03-06 Joel Brobecker <brobecker@adacore.com>
435 * sol-thread.c: #include "symtab.h", "minsym.h" and "objfiles.h".
436 (ps_pglobal_lookup): Use BMSYMBOL_VALUE_ADDRESS instead of
437 SYMBOL_VALUE_ADDRESS.
438 (info_cb): MSYMBOL_PRINT_NAME instead of SYMBOL_PRINT_NAME.
440 2014-03-06 Yao Qi <yao@codesourcery.com>
442 * breakpoint.c (get_tracepoint_by_number): Remove argument
443 optional_p. All callers updated. Adjust comments. Update
445 * breakpoint.h (get_tracepoint_by_number): Update declaration.
447 2014-03-06 Yao Qi <yao@codesourcery.com>
449 * reverse.c (goto_bookmark_command): Add local 'p'. Emit error
450 early if get_number returns zero. Use 'p' instead of 'args'.
452 2014-03-06 Yao Qi <yao@codesourcery.com>
454 * cli/cli-utils.c (get_number_trailer): Add '\n' at the end of
457 2014-03-06 Yao Qi <yao@codesourcery.com>
460 * tracepoint.c (check_trace_running): New function.
461 (trace_find_command): Move code to check_trace_running and
462 call check_trace_running.
463 (trace_find_pc_command): Likewise.
464 (trace_find_tracepoint_command): Likewise.
465 (trace_find_line_command): Likewise.
466 (trace_find_range_command): Likewise.
467 * tracepoint.h (check_trace_running): Likewise.
468 * mi/mi-main.c (mi_cmd_trace_find): Call check_trace_running.
470 2014-03-06 Yao Qi <yao@codesourcery.com>
472 * target.h (struct target_ops) <to_traceframe_info>: Use
473 TARGET_DEFAULT_NORETURN (tcomplain ()).
474 * target-delegates.c: Regenerated.
476 2014-03-05 Pedro Alves <palves@redhat.com>
479 * dcache.c (dcache_poke_byte): Constify ptr parameter. Return
480 void. Update comment.
481 (dcache_xfer_memory): Delete.
482 (dcache_read_memory_partial): New, based on the read bits of
484 (dcache_update): Add status parameter. Use ULONGEST for len, and
485 adjust. Discard cache lines if the reason for the update was
487 * dcache.h (dcache_xfer_memory): Delete declaration.
488 (dcache_read_memory_partial): New declaration.
489 (dcache_update): Update prototype.
490 * target.c (raw_memory_xfer_partial): Update the dcache here.
491 (memory_xfer_partial_1): Don't handle dcache writes here.
493 2014-03-05 Mike Frysinger <vapier@gentoo.org>
495 * remote-sim.c (gdbsim_load): Add const to prog.
497 2014-03-03 Tom Tromey <tromey@redhat.com>
499 * elfread.c (probe_key): Change to bfd_data.
500 (elf_get_probes, probe_key_free, _initialize_elfread): Probes are
501 now per-BFD, not per-objfile.
502 * stap-probe.c (stap_probe_destroy): Update comment.
503 (handle_stap_probe): Allocate on the per-BFD obstack.
505 2014-03-03 Tom Tromey <tromey@redhat.com>
507 * break-catch-throw.c (fetch_probe_arguments): Use bound probes.
508 * breakpoint.c (create_longjmp_master_breakpoint): Use
510 (add_location_to_breakpoint, bkpt_probe_insert_location)
511 (bkpt_probe_remove_location): Update.
512 * breakpoint.h (struct bp_location) <probe>: Now a bound_probe.
513 * elfread.c (elf_symfile_relocate_probe): Remove.
514 (elf_probe_fns): Update.
515 (insert_exception_resume_breakpoint): Change type of "probe"
516 parameter to bound_probe.
517 (check_exception_resume): Update.
518 * objfiles.c (objfile_relocate1): Don't relocate probes.
519 * probe.c (bound_probe_s): New typedef.
520 (parse_probes): Use get_probe_address. Set sal's objfile.
521 (find_probe_by_pc): Return a bound_probe.
522 (collect_probes): Return a VEC(bound_probe_s).
523 (compare_probes): Update.
524 (gen_ui_out_table_header_info): Change type of "probes"
526 (info_probes_for_ops): Update.
527 (get_probe_address): New function.
528 (probe_safe_evaluate_at_pc): Update.
529 * probe.h (struct probe_ops) <get_probe_address>: New field.
530 <set_semaphore, clear_semaphore>: Add objfile parameter.
531 (struct probe) <objfile>: Remove field.
533 <address>: Update comment.
534 (struct bound_probe): New.
535 (find_probe_by_pc): Return a bound_probe.
536 (get_probe_address): Declare.
537 * solib-svr4.c (struct probe_and_action) <address>: New field.
538 (hash_probe_and_action, equal_probe_and_action): Update.
539 (register_solib_event_probe): Add address parameter.
540 (solib_event_probe_at): Update.
541 (svr4_create_probe_breakpoints): Add objfile parameter. Use
543 * stap-probe.c (struct stap_probe) <sem_addr>: Update comment.
544 (stap_get_probe_address): New function.
545 (stap_can_evaluate_probe_arguments, compute_probe_arg)
546 (compile_probe_arg): Update.
547 (stap_set_semaphore, stap_clear_semaphore): Compute semaphore's
549 (handle_stap_probe): Don't relocate the probe.
550 (stap_relocate): Remove.
551 (stap_gen_info_probes_table_values): Update.
552 (stap_probe_ops): Remove stap_relocate.
553 * symfile-debug.c (debug_sym_relocate_probe): Remove.
554 (debug_sym_probe_fns): Update.
555 * symfile.h (struct sym_probe_fns) <sym_relocate_probe>: Remove.
556 * symtab.c (init_sal): Use memset.
557 * symtab.h (struct symtab_and_line) <objfile>: New field.
558 * tracepoint.c (start_tracing, stop_tracing): Update.
560 2014-03-03 Tom Tromey <tromey@redhat.com>
562 * probe.h (parse_probes, find_probe_by_pc)
563 (find_probes_in_objfile): Fix comments.
565 2014-03-02 Doug Evans <xdje42@gmail.com>
567 * infrun.c (handle_signal_stop): Replace test for
568 TARGET_WAITKIND_STOPPED with an assert.
570 2014-03-02 Doug Evans <xdje42@gmail.com>
572 * guile/scm-objfile.c (ofscm_mark_objfile_smob): Fix typo in comment.
574 2014-03-02 Doug Evans <xdje42@gmail.com>
576 * guile/lib/gdb/printing.scm (append-pretty-printer!): Fix thinko.
578 2014-03-01 Mark Kettenis <kettenis@gnu.org>
580 * obsd-nat.c: Include "gdb_wait.h" instead of <sys/wait.h>.
582 2014-03-01 Mark Kettenis <kettenis@gnu.org>
584 * i386obsd-nat.c: Include "obsd-nat.h".
585 (_initialize_i386obsd_nat): Call obsd_add_target instead of
587 * config/i386/obsd.mh (NATDEPFILES): Add obsd-nat.o.
589 2014-03-01 Mark Kettenis <kettenis@gnu.org>
591 * i386obsd-nat.c (i386obsd_supply_pcb): Cast 'sf' to 'gdb_byte *'.
593 2014-03-01 Mark Kettenis <kettenis@gnu.org>
595 * mips64obsd-nat.c: Include "obsd-nath".
596 (_initialize_mips64obsd_nat): Call obsd_add_target instead of
598 * config/mips/obsd64.mh (NATDEPFILES): Add obsd-nat.o.
600 2014-03-01 Mark Kettenis <kettenis@gnu.org>
602 * amd64obsd-nat.c: Include "obsd-nat,h.
603 (_initialize_amd64obsd_nat): Call obsd_add_target instead of
605 * config/i386/obsd64.mh (NATDEPFILES): Add obsd-nat.o.
607 2014-02-28 Siva Chandra Reddy <sivachandra@google.com>
609 * valops.c (find_oload_champ): Remove unneccesary argument METHOD.
610 (find_overload_match): Update call to find_oload_champ.
611 (find_oload_champ_namespace_loop): Likewise
613 2014-02-28 Mark Kettenis <kettenis@gnu.org>
615 * Makefile.in (ALLDEPFILES): Add sparc64obsd-nat.c.
617 * configure.host (sparc64-*-openbsd*): Set gdb_host to obsd64.
618 * config/sparc/obsd64.mh: New file.
619 * sparc64obsd-nat.c: New file.
621 * obsd-nat.h: New file.
622 * obsd-nat.c: New file.
623 * Makefile.in (HFILES_NO_SRCDIR): Add obsd-nat.h.
624 (ALLDEPFILES): Add obsd-nat.c.
626 2014-02-28 Tom Tromey <tromey@redhat.com>
628 * cli-out.c (cli_ui_out_impl): Now const. Remove comment.
629 * cli-out.h (cli_ui_out_impl): Now const.
630 * mi/mi-out.c (mi_ui_out_impl): Now const. Remove comment.
631 * ui-out.c (struct ui_out) <impl>: Now const.
632 (default_ui_out_impl): Now const.
633 (ui_out_new): Make 'impl' parameter const.
634 * ui-out.h (ui_out_new): Update.
636 2014-02-27 Mark Kettenis <kettenis@gnu.org>
638 * solib-svr4.c (svr4_read_so_list): Initialize first_l_name to 0.
640 2014-02-27 Mark Kettenis <kettenis@gnu.org>
642 * sparc-nat.c (sparc_xfer_wcookie): Always use process ID.
644 2014-02-27 Jan Kratochvil <jan.kratochvil@redhat.com>
646 Additional PR 8882 fix.
647 * solib-svr4.c (svr4_read_so_list): Change first to first_l_name.
649 2014-02-27 Pedro Alves <palves@redhat.com>
651 * nat/linux-waitpid.c (my_waitpid): Only block signals if WNOHANG
654 2014-02-27 Pedro Alves <palves@redhat.com>
657 * linux-nat.c (status_to_str): Moved to nat/linux-waitpid.c.
658 * nat/linux-waitpid.c: Include string.h.
659 (status_to_str): Moved here and made extern.
660 * nat/linux-waitpid.h (status_to_str): New declaration.
662 2014-02-27 Hui Zhu <hui@codesourcery.com>
665 * infrun.c (ptid_match): Move ...
666 * common/ptid.c (ptid_match): ... here.
667 * inferior.h (ptid_match): Move ...
668 * common/ptid.h (ptid_match): ... here.
670 2014-02-27 Mark Kettenis <kettenis@gnu.org>
672 * mips64obsd-tdep.c (mips64obsd_init_abi): Call obsd_init_abi.
673 * configure.tgt (mips64*-*-openbsd*): Add obsd-tdep.c to
676 2014-02-27 Mark Kettenis <kettenis@gnu.org>
678 * obsd-tdep.c (obsd_auxv_parse): New function.
679 (obsd_init_abi): Set auxv_parse.
681 * gdbarch.sh (auxv_parse): New.
682 * gdbarch.h: Regenerated.
683 * gdbarch.c: Regenerated.
684 * auxv.c (target_auxv_parse): Call gdbarch_parse_auxv if provided.
686 2014-02-26 Ludovic Courtès <ludo@gnu.org>
688 * guile/scm-value.c (gdbscm_history_append_x): New function.
689 (value_functions): Add it.
691 2014-02-27 Joel Brobecker <brobecker@adacore.com>
693 * dwarf2read.c (attr_value_as_address): New function.
694 (dwarf2_find_base_address, read_call_site_scope): Use
695 attr_value_as_address in place of DW_ADDR.
696 (dwarf2_get_pc_bounds): Use attr_value_as_address to get
697 the low and high addresses. Slight rework of the handling
698 of the high pc being a constant form, and limit it to
699 DWARF verson 4 or higher.
700 (dwarf2_record_block_ranges): Likewise.
701 (read_partial_die): Likewise.
702 (new_symbol_full): Use attr_value_as_address in place of DW_ADDR.
704 2014-02-26 Tom Tromey <tromey@redhat.com>
706 * exec.c (exec_file_attach): Hold a reference to exec_bfd.
708 2014-02-26 Tom Tromey <tromey@redhat.com>
710 * elfread.c (elf_read_minimal_symbols): Return early if
711 minimal symbols have already been read. Add "ei" parameter.
712 (elf_symfile_read): Call elf_read_minimal_symbols earlier.
713 * minsyms.c (prim_record_minimal_symbol_full): Update.
714 * objfiles.h (struct objstats) <n_minsyms>: Move...
715 (struct objfile_per_bfd_storage) <n_minsyms>: ... here.
716 * symmisc.c (print_objfile_statistics): Update.
718 2014-02-26 Tom Tromey <tromey@redhat.com>
720 * elfread.c (elf_read_minimal_symbols): New function, from
722 (elf_symfile_read): Call it.
724 2014-02-26 Tom Tromey <tromey@redhat.com>
726 * minsyms.c (lookup_minimal_symbol, iterate_over_minimal_symbols)
727 (lookup_minimal_symbol_text, lookup_minimal_symbol_by_pc_name)
728 (lookup_minimal_symbol_solib_trampoline)
729 (lookup_minimal_symbol_by_pc_section_1)
730 (lookup_minimal_symbol_and_objfile): Update.
731 (prim_record_minimal_symbol_full): Use the per-BFD obstack.
732 Don't allocate a minimal symbol if minsyms have already been read.
733 (build_minimal_symbol_hash_tables): Update.
734 (install_minimal_symbols): Do nothing if minsyms already read.
735 Use the per-BFD obstack.
736 (terminate_minimal_symbol_table): Use the per-BFD obstack.
737 * objfiles.c (allocate_objfile): Call
738 terminate_minimal_symbol_table later.
739 (have_minimal_symbols): Update.
740 * objfiles.h (struct objfile_per_bfd_storage) <msymbols,
741 minimal_symbol_count, msymbol_hash, msymbol_demangled_hash>:
742 Move from struct objfile.
743 <minsyms_read>: New field.
744 (struct objfile) <msymbols, minimal_symbol_count,
745 msymbol_hash, msymbol_demangled_hash>: Move.
746 (ALL_OBJFILE_MSYMBOLS): Update.
747 * symfile.c (read_symbols): Set minsyms_read.
748 (reread_symbols): Update.
749 * symmisc.c (dump_objfile, dump_msymbols): Update.
751 2014-02-26 Tom Tromey <tromey@redhat.com>
753 * minsyms.c (msymbols_sort): Remove.
754 * minsyms.h (msymbols_sort): Remove.
755 * objfiles.c (objfile_relocate1): Don't relocate minsyms.
756 * symtab.h (MSYMBOL_VALUE_ADDRESS): Use objfile offsets.
757 * elfread.c (elf_symtab_read): Don't add section offsets.
758 * xcoffread.c (record_minimal_symbol): Don't add section offset
759 to minimal symbol address.
760 * somread.c (text_offset, data_offset): Remove.
761 (som_symtab_read): Don't add section offsets to minimal symbol
763 * coff-pe-read.c (add_pe_forwarded_sym, read_pe_exported_syms):
764 Don't add section offsets to minimal symbols.
765 * coffread.c (coff_symtab_read): Don't add section offsets
766 to minimal symbol addresses.
767 * machoread.c (macho_symtab_add_minsym): Don't add section offset
768 to minimal symbol addresses.
769 * mipsread.c (read_alphacoff_dynamic_symtab): Don't add
770 section offset to minimal symbol addresses.
771 * mdebugread.c (parse_partial_symbols): Don't add section
772 offset to minimal symbol addresses.
773 * dbxread.c (read_dbx_dynamic_symtab): Don't add section
774 offset to minimal symbol addresses.
776 2014-02-26 Tom Tromey <tromey@redhat.com>
778 * ada-lang.c (ada_main_name): Update.
779 (ada_add_standard_exceptions): Update.
780 * ada-tasks.c (ada_tasks_inferior_data_sniffer): Update.
781 * aix-thread.c (pdc_symbol_addrs, pd_enable): Update.
782 * arm-tdep.c (skip_prologue_function, arm_skip_stub): Update.
783 * auxv.c (ld_so_xfer_auxv): Update.
784 * avr-tdep.c (avr_scan_prologue): Update.
785 * ax-gdb.c (gen_var_ref): Update.
786 * blockframe.c (get_pc_function_start)
787 (find_pc_partial_function_gnu_ifunc): Update.
788 * breakpoint.c (create_overlay_event_breakpoint)
789 (create_longjmp_master_breakpoint)
790 (create_std_terminate_master_breakpoint)
791 (create_exception_master_breakpoint): Update.
792 * bsd-uthread.c (bsd_uthread_lookup_address): Update.
793 * c-valprint.c (c_val_print): Update.
794 * coff-pe-read.c (add_pe_forwarded_sym): Update.
795 * common/agent.c (agent_look_up_symbols): Update.
796 * dbxread.c (find_stab_function_addr, end_psymtab): Update.
797 * dwarf2loc.c (call_site_to_target_addr): Update.
798 * dwarf2read.c (dw2_find_pc_sect_symtab): Update.
799 * elfread.c (elf_gnu_ifunc_record_cache)
800 (elf_gnu_ifunc_resolve_by_got): Update.
801 * findvar.c (default_read_var_value): Update.
802 * frame.c (inside_main_func): Update.
803 * frv-tdep.c (frv_frame_this_id): Update.
804 * glibc-tdep.c (glibc_skip_solib_resolver): Update.
805 * gnu-v3-abi.c (gnuv3_get_typeid, gnuv3_skip_trampoline):
807 * hppa-hpux-tdep.c (hppa64_hpux_search_dummy_call_sequence)
808 (hppa_hpux_find_dummy_bpaddr): Update.
809 * hppa-tdep.c (hppa_symbol_address): Update.
810 * infcmd.c (until_next_command): Update.
811 * jit.c (jit_read_descriptor, jit_breakpoint_re_set_internal):
813 * linespec.c (minsym_found, add_minsym): Update.
814 * linux-nat.c (get_signo): Update.
815 * linux-thread-db.c (inferior_has_bug): Update.
816 * m32c-tdep.c (m32c_return_value)
817 (m32c_m16c_address_to_pointer): Update.
818 * m32r-tdep.c (m32r_frame_this_id): Update.
819 * m68hc11-tdep.c (m68hc11_get_register_info): Update.
820 * machoread.c (macho_resolve_oso_sym_with_minsym): Update.
821 * maint.c (maintenance_translate_address): Update.
822 * minsyms.c (lookup_minimal_symbol_by_pc_name): Update.
823 (frob_address): New function.
824 (lookup_minimal_symbol_by_pc_section_1): Use raw addresses,
825 frob_address. Rename parameter to "pc_in".
826 (compare_minimal_symbols, compact_minimal_symbols): Use raw
828 (find_solib_trampoline_target, minimal_symbol_upper_bound):
830 * mips-linux-tdep.c (mips_linux_skip_resolver): Update.
831 * mips-tdep.c (mips_skip_pic_trampoline_code): Update.
832 * objc-lang.c (find_objc_msgsend): Update.
833 * objfiles.c (objfile_relocate1): Update.
834 * obsd-tdep.c (obsd_skip_solib_resolver): Update.
835 * p-valprint.c (pascal_val_print): Update.
836 * parse.c (write_exp_msymbol): Update.
837 * ppc-linux-tdep.c (ppc_linux_spe_context_lookup)
838 (ppc_elfv2_skip_entrypoint): Update.
839 * ppc-sysv-tdep.c (convert_code_addr_to_desc_addr): Update.
840 * printcmd.c (build_address_symbolic, msym_info)
841 (address_info): Update.
842 * proc-service.c (ps_pglobal_lookup): Update.
843 * psymtab.c (find_pc_sect_psymtab_closer)
844 (find_pc_sect_psymtab, find_pc_sect_symtab_from_partial):
845 Change msymbol parameter to bound_minimal_symbol.
846 * ravenscar-thread.c (get_running_thread_id): Update.
847 * remote.c (remote_check_symbols): Update.
848 * sh64-tdep.c (sh64_elf_make_msymbol_special): Use raw
850 * sol2-tdep.c (sol2_skip_solib_resolver): Update.
851 * solib-dsbt.c (lm_base): Update.
852 * solib-frv.c (lm_base, main_got): Update.
853 * solib-irix.c (locate_base): Update.
854 * solib-som.c (som_solib_create_inferior_hook)
855 (link_map_start): Update.
856 * solib-spu.c (spu_enable_break, ocl_enable_break): Update.
857 * solib-svr4.c (elf_locate_base, enable_break): Update.
858 * spu-tdep.c (spu_get_overlay_table, spu_catch_start)
859 (flush_ea_cache): Update.
860 * stabsread.c (define_symbol, scan_file_globals): Update.
861 * stack.c (find_frame_funname): Update.
862 * symfile-debug.c (debug_qf_expand_symtabs_matching)
863 (debug_qf_find_pc_sect_symtab): Update.
864 * symfile.c (simple_read_overlay_table)
865 (simple_overlay_update): Update.
866 * symfile.h (struct quick_symbol_functions)
867 <find_pc_sect_symtab>: Change type of msymbol to
868 bound_minimal_symbol.
869 * symmisc.c (dump_msymbols): Update.
870 * symtab.c (find_pc_sect_symtab_via_partial)
871 (find_pc_sect_psymtab, find_pc_sect_line, skip_prologue_sal)
872 (search_symbols, print_msymbol_info): Update.
873 * symtab.h (MSYMBOL_VALUE_RAW_ADDRESS): New macro.
874 (MSYMBOL_VALUE_ADDRESS): Redefine.
875 (BMSYMBOL_VALUE_ADDRESS): New macro.
876 * tracepoint.c (scope_info): Update.
877 * tui/tui-disasm.c (tui_find_disassembly_address)
878 (tui_get_begin_asm_address): Update.
879 * valops.c (find_function_in_inferior): Update.
880 * value.c (value_static_field, value_fn_field): Update.
882 2014-02-26 Tom Tromey <tromey@redhat.com>
884 * ada-lang.c (ada_update_initial_language): Update.
885 (ada_main_name, ada_has_this_exception_support): Update.
886 * ada-tasks.c (ada_tasks_inferior_data_sniffer): Update.
887 * aix-thread.c (pdc_symbol_addrs, pd_enable): Update.
888 * arm-tdep.c (arm_skip_stub): Update.
889 * auxv.c (ld_so_xfer_auxv): Update.
890 * avr-tdep.c (avr_scan_prologue): Update.
891 * ax-gdb.c (gen_var_ref): Update.
892 * breakpoint.c (struct breakpoint_objfile_data)
893 <overlay_msym, longjmp_msym, terminate_msym, exception_msym>: Change
894 type to bound_minimal_symbol.
895 (create_overlay_event_breakpoint)
896 (create_longjmp_master_breakpoint)
897 (create_std_terminate_master_breakpoint)
898 (create_exception_master_breakpoint): Update.
899 * bsd-uthread.c (bsd_uthread_lookup_address): Update.
900 * c-exp.y (classify_name): Update.
901 * coffread.c (coff_symfile_read): Update.
902 * common/agent.c (agent_look_up_symbols): Update.
903 * d-lang.c (d_main_name): Update.
904 * dbxread.c (find_stab_function_addr, end_psymtab): Update.
905 * dec-thread.c (enable_dec_thread): Update.
906 * dwarf2loc.c (call_site_to_target_addr): Update.
907 * elfread.c (elf_gnu_ifunc_resolve_by_got): Update.
908 * eval.c (evaluate_subexp_standard): Update.
909 * findvar.c (struct minsym_lookup_data) <result>: Change type
910 to bound_minimal_symbol.
912 (minsym_lookup_iterator_cb, default_read_var_value): Update.
913 * frame.c (inside_main_func): Update.
914 * frv-tdep.c (frv_frame_this_id): Update.
915 * gcore.c (call_target_sbrk): Update.
916 * glibc-tdep.c (glibc_skip_solib_resolver): Update.
917 * gnu-v3-abi.c (gnuv3_get_typeid, gnuv3_skip_trampoline):
919 * go-lang.c (go_main_name): Update.
920 * hppa-hpux-tdep.c (hppa_hpux_skip_trampoline_code)
921 (hppa_hpux_find_import_stub_for_addr): Update.
922 * hppa-tdep.c (hppa_extract_17, hppa_lookup_stub_minimal_symbol):
923 Update. Change return type.
924 * hppa-tdep.h (hppa_lookup_stub_minimal_symbol): Change return
926 * jit.c (jit_breakpoint_re_set_internal): Update.
927 * linux-fork.c (inferior_call_waitpid, checkpoint_command):
929 * linux-nat.c (get_signo): Update.
930 * linux-thread-db.c (inferior_has_bug): Update
931 * m32c-tdep.c (m32c_return_value)
932 (m32c_m16c_address_to_pointer): Update.
933 * m32r-tdep.c (m32r_frame_this_id): Update.
934 * m68hc11-tdep.c (m68hc11_get_register_info): Update.
935 * machoread.c (macho_resolve_oso_sym_with_minsym): Update.
936 * minsyms.c (lookup_minimal_symbol_internal): Rename to
937 lookup_minimal_symbol. Change return type.
938 (lookup_minimal_symbol): Remove.
939 (lookup_bound_minimal_symbol): Update.
940 (lookup_minimal_symbol_text): Change return type.
941 (lookup_minimal_symbol_solib_trampoline): Change return type.
942 * minsyms.h (lookup_minimal_symbol, lookup_minimal_symbol_text)
943 (lookup_minimal_symbol_solib_trampoline): Change return type.
944 * mips-linux-tdep.c (mips_linux_skip_resolver): Update.
945 * objc-lang.c (lookup_objc_class, lookup_child_selector)
946 (value_nsstring, find_imps): Update.
947 * obsd-tdep.c (obsd_skip_solib_resolver): Update.
948 * p-lang.c (pascal_main_name): Update.
949 * ppc-linux-tdep.c (ppc_linux_spe_context_lookup): Update.
950 * ppc-sysv-tdep.c (convert_code_addr_to_desc_addr): Update.
951 * proc-service.c (ps_pglobal_lookup): Update.
952 * ravenscar-thread.c (get_running_thread_msymbol): Change
954 (has_ravenscar_runtime, get_running_thread_id): Update.
955 * remote.c (remote_check_symbols): Update.
956 * sol-thread.c (ps_pglobal_lookup): Update.
957 * sol2-tdep.c (sol2_skip_solib_resolver): Update.
958 * solib-dsbt.c (lm_base): Update.
959 * solib-frv.c (lm_base, frv_relocate_section_addresses):
961 * solib-irix.c (locate_base): Update.
962 * solib-som.c (som_solib_create_inferior_hook)
963 (som_solib_desire_dynamic_linker_symbols, link_map_start):
965 * solib-spu.c (spu_enable_break): Update.
966 * solib-svr4.c (elf_locate_base, enable_break): Update.
967 * spu-tdep.c (spu_get_overlay_table, spu_catch_start)
968 (flush_ea_cache): Update.
969 * stabsread.c (define_symbol): Update.
970 * symfile.c (simple_read_overlay_table): Update.
971 * symtab.c (find_pc_sect_line): Update.
972 * tracepoint.c (scope_info): Update.
973 * tui-disasm.c (tui_get_begin_asm_address): Update.
974 * value.c (value_static_field): Update.
976 2014-02-26 Tom Tromey <tromey@redhat.com>
978 * minsyms.c (prim_record_minimal_symbol_full): Use
979 SET_MSYMBOL_VALUE_ADDRESS.
980 * objfiles.c (objfile_relocate1): Use SET_MSYMBOL_VALUE_ADDRESS.
981 * sh64-tdep.c (sh64_elf_make_msymbol_special): Use
982 SET_MSYMBOL_VALUE_ADDRESS.
983 * symtab.h (MSYMBOL_VALUE_ADDRESS): Expand to an rvalue.
984 (SET_MSYMBOL_VALUE_ADDRESS): New macro.
986 2014-02-26 Tom Tromey <tromey@redhat.com>
988 * symtab.h (struct minimal_symbol) <mginfo>: Rename from ginfo.
989 (MSYMBOL_VALUE, MSYMBOL_VALUE_ADDRESS, MSYMBOL_VALUE_BYTES)
990 (MSYMBOL_BLOCK_VALUE, MSYMBOL_VALUE_CHAIN, MSYMBOL_LANGUAGE)
991 (MSYMBOL_SECTION, MSYMBOL_OBJ_SECTION, MSYMBOL_NATURAL_NAME)
992 (MSYMBOL_LINKAGE_NAME, MSYMBOL_PRINT_NAME, MSYMBOL_DEMANGLED_NAME)
993 (MSYMBOL_SET_LANGUAGE, MSYMBOL_SEARCH_NAME)
994 (MSYMBOL_MATCHES_SEARCH_NAME, MSYMBOL_SET_NAMES): New macros.
995 * ada-lang.c (ada_main_name): Update.
996 (ada_lookup_simple_minsym): Update.
997 (ada_make_symbol_completion_list): Update.
998 (ada_add_standard_exceptions): Update.
999 * ada-tasks.c (read_atcb, ada_tasks_inferior_data_sniffer): Update.
1000 * aix-thread.c (pdc_symbol_addrs, pd_enable): Update.
1001 * amd64-windows-tdep.c (amd64_skip_main_prologue): Update.
1002 * arm-tdep.c (skip_prologue_function): Update.
1003 (arm_skip_stack_protector, arm_skip_stub): Update.
1004 * arm-wince-tdep.c (arm_pe_skip_trampoline_code): Update.
1005 (arm_wince_skip_main_prologue): Update.
1006 * auxv.c (ld_so_xfer_auxv): Update.
1007 * avr-tdep.c (avr_scan_prologue): Update.
1008 * ax-gdb.c (gen_var_ref): Update.
1009 * block.c (call_site_for_pc): Update.
1010 * blockframe.c (get_pc_function_start): Update.
1011 (find_pc_partial_function_gnu_ifunc): Update.
1012 * breakpoint.c (create_overlay_event_breakpoint): Update.
1013 (create_longjmp_master_breakpoint): Update.
1014 (create_std_terminate_master_breakpoint): Update.
1015 (create_exception_master_breakpoint): Update.
1016 (resolve_sal_pc): Update.
1017 * bsd-uthread.c (bsd_uthread_lookup_address): Update.
1018 * btrace.c (ftrace_print_function_name, ftrace_function_switched):
1020 * c-valprint.c (c_val_print): Update.
1021 * coff-pe-read.c (add_pe_forwarded_sym): Update.
1022 * coffread.c (coff_symfile_read): Update.
1023 * common/agent.c (agent_look_up_symbols): Update.
1024 * dbxread.c (find_stab_function_addr): Update.
1025 (end_psymtab): Update.
1026 * dwarf2loc.c (call_site_to_target_addr): Update.
1027 (func_verify_no_selftailcall): Update.
1028 (tailcall_dump): Update.
1029 (call_site_find_chain_1): Update.
1030 (dwarf_expr_reg_to_entry_parameter): Update.
1031 * elfread.c (elf_gnu_ifunc_record_cache): Update.
1032 (elf_gnu_ifunc_resolve_by_got): Update.
1033 * f-valprint.c (info_common_command): Update.
1034 * findvar.c (read_var_value): Update.
1035 * frame.c (get_prev_frame_1): Update.
1036 (inside_main_func): Update.
1037 * frv-tdep.c (frv_skip_main_prologue): Update.
1038 (frv_frame_this_id): Update.
1039 * glibc-tdep.c (glibc_skip_solib_resolver): Update.
1040 * gnu-v2-abi.c (gnuv2_value_rtti_type): Update.
1041 * gnu-v3-abi.c (gnuv3_rtti_type): Update.
1042 (gnuv3_skip_trampoline): Update.
1043 * hppa-hpux-tdep.c (hppa32_hpux_in_solib_call_trampoline): Update.
1044 (hppa64_hpux_in_solib_call_trampoline): Update.
1045 (hppa_hpux_skip_trampoline_code): Update.
1046 (hppa64_hpux_search_dummy_call_sequence): Update.
1047 (hppa_hpux_find_import_stub_for_addr): Update.
1048 (hppa_hpux_find_dummy_bpaddr): Update.
1049 * hppa-tdep.c (hppa_symbol_address)
1050 (hppa_lookup_stub_minimal_symbol): Update.
1051 * i386-tdep.c (i386_skip_main_prologue): Update.
1052 (i386_pe_skip_trampoline_code): Update.
1053 * ia64-tdep.c (ia64_convert_from_func_ptr_addr): Update.
1054 * infcall.c (get_function_name): Update.
1055 * infcmd.c (until_next_command): Update.
1056 * jit.c (jit_breakpoint_re_set_internal): Update.
1057 (jit_inferior_init): Update.
1058 * linespec.c (minsym_found): Update.
1059 (add_minsym): Update.
1060 * linux-fork.c (info_checkpoints_command): Update.
1061 * linux-nat.c (get_signo): Update.
1062 * linux-thread-db.c (inferior_has_bug): Update.
1063 * m32c-tdep.c (m32c_return_value): Update.
1064 (m32c_m16c_address_to_pointer): Update.
1065 (m32c_m16c_pointer_to_address): Update.
1066 * m32r-tdep.c (m32r_frame_this_id): Update.
1067 * m68hc11-tdep.c (m68hc11_get_register_info): Update.
1068 * machoread.c (macho_resolve_oso_sym_with_minsym): Update.
1069 * maint.c (maintenance_translate_address): Update.
1070 * minsyms.c (add_minsym_to_hash_table): Update.
1071 (add_minsym_to_demangled_hash_table): Update.
1072 (msymbol_objfile): Update.
1073 (lookup_minimal_symbol): Update.
1074 (iterate_over_minimal_symbols): Update.
1075 (lookup_minimal_symbol_text): Update.
1076 (lookup_minimal_symbol_by_pc_name): Update.
1077 (lookup_minimal_symbol_solib_trampoline): Update.
1078 (lookup_minimal_symbol_by_pc_section_1): Update.
1079 (lookup_minimal_symbol_and_objfile): Update.
1080 (prim_record_minimal_symbol_full): Update.
1081 (compare_minimal_symbols): Update.
1082 (compact_minimal_symbols): Update.
1083 (build_minimal_symbol_hash_tables): Update.
1084 (install_minimal_symbols): Update.
1085 (terminate_minimal_symbol_table): Update.
1086 (find_solib_trampoline_target): Update.
1087 (minimal_symbol_upper_bound): Update.
1088 * mips-linux-tdep.c (mips_linux_skip_resolver): Update.
1089 * mips-tdep.c (mips_stub_frame_sniffer): Update.
1090 (mips_skip_pic_trampoline_code): Update.
1091 * msp430-tdep.c (msp430_skip_trampoline_code): Update.
1092 * objc-lang.c (selectors_info): Update.
1093 (classes_info): Update.
1094 (find_methods): Update.
1095 (find_imps): Update.
1096 (find_objc_msgsend): Update.
1097 * objfiles.c (objfile_relocate1): Update.
1098 * objfiles.h (ALL_OBJFILE_MSYMBOLS): Update.
1099 * obsd-tdep.c (obsd_skip_solib_resolver): Update.
1100 * p-valprint.c (pascal_val_print): Update.
1101 * parse.c (write_exp_msymbol): Update.
1102 * ppc-linux-tdep.c (powerpc_linux_in_dynsym_resolve_code)
1103 (ppc_linux_spe_context_lookup, ppc_elfv2_skip_entrypoint): Update.
1104 * ppc-sysv-tdep.c (convert_code_addr_to_desc_addr): Update.
1105 * printcmd.c (build_address_symbolic): Update.
1107 (address_info): Update.
1108 * proc-service.c (ps_pglobal_lookup): Update.
1109 * psymtab.c (find_pc_sect_psymtab_closer): Update.
1110 (find_pc_sect_psymtab): Update.
1111 * python/py-framefilter.c (py_print_frame): Update.
1112 * ravenscar-thread.c (get_running_thread_id): Update.
1113 * record-btrace.c (btrace_call_history, btrace_get_bfun_name):
1115 * remote.c (remote_check_symbols): Update.
1116 * rs6000-tdep.c (rs6000_skip_main_prologue): Update.
1117 (rs6000_skip_trampoline_code): Update.
1118 * sh64-tdep.c (sh64_elf_make_msymbol_special): Update.
1119 * sol2-tdep.c (sol2_skip_solib_resolver): Update.
1120 * solib-dsbt.c (lm_base): Update.
1121 * solib-frv.c (lm_base): Update.
1123 * solib-irix.c (locate_base): Update.
1124 * solib-som.c (som_solib_create_inferior_hook): Update.
1125 (som_solib_desire_dynamic_linker_symbols): Update.
1126 (link_map_start): Update.
1127 * solib-spu.c (spu_enable_break): Update.
1128 (ocl_enable_break): Update.
1129 * solib-svr4.c (elf_locate_base): Update.
1130 (enable_break): Update.
1131 * spu-tdep.c (spu_get_overlay_table): Update.
1132 (spu_catch_start): Update.
1133 (flush_ea_cache): Update.
1134 * stabsread.c (define_symbol): Update.
1135 (scan_file_globals): Update.
1136 * stack.c (find_frame_funname): Update.
1137 (frame_info): Update.
1138 * symfile.c (simple_read_overlay_table): Update.
1139 (simple_overlay_update): Update.
1140 * symmisc.c (dump_msymbols): Update.
1141 * symtab.c (fixup_section): Update.
1142 (find_pc_sect_line): Update.
1143 (skip_prologue_sal): Update.
1144 (search_symbols): Update.
1145 (print_msymbol_info): Update.
1146 (rbreak_command): Update.
1147 (MCOMPLETION_LIST_ADD_SYMBOL): New macro.
1148 (completion_list_objc_symbol): Update.
1149 (default_make_symbol_completion_list_break_on): Update.
1150 * tracepoint.c (scope_info): Update.
1151 * tui/tui-disasm.c (tui_find_disassembly_address): Update.
1152 (tui_get_begin_asm_address): Update.
1153 * valops.c (find_function_in_inferior): Update.
1154 * value.c (value_static_field): Update.
1155 (value_fn_field): Update.
1157 2014-02-26 Tom Tromey <tromey@redhat.com>
1159 * blockframe.c (find_pc_partial_function_gnu_ifunc): Use
1160 bound minimal symbols. Move code that knows about minsym
1162 * minsyms.c (minimal_symbol_upper_bound): ... here. New
1164 * minsyms.h (minimal_symbol_upper_bound): Declare.
1165 * objc-lang.c (find_objc_msgsend): Use bound minimal symbols,
1166 minimal_symbol_upper_bound.
1168 2014-02-27 Joel Brobecker <brobecker@adacore.com>
1170 * python/lib/gdb/printing.py (RegexpCollectionPrettyPrinter):
1171 Use the type's name if its basic type does not have a tag.
1173 2014-02-27 Joel Brobecker <brobecker@adacore.com>
1175 * dwarf2read.c (read_subrange_type): Add comment.
1177 2014-02-27 Joel Brobecker <brobecker@adacore.com>
1179 * dwarf2read.c (update_enumeration_type_from_children): New
1180 function, mostly extracted from process_structure_scope.
1181 (read_enumeration_type): Call update_enumeration_type_from_children.
1182 (process_enumeration_scope): Do not set THIS_TYPE's flag_unsigned
1183 and flag_flag_enum fields.
1185 2014-02-26 Pedro Alves <palves@redhat.com>
1187 * bsd-uthread.c (bsd_uthread_xfer_partial): Delete function.
1188 (bsd_uthread_target): Don't install bsd_uthread_xfer_partial as
1189 to_xfer_partial method.
1191 2014-02-26 Pedro Alves <palves@redhat.com>
1193 * target.c (complete_target_initialization): Don't install
1194 default_xfer_partial as to_xfer_partial hook.
1196 (update_current_target): Don't INHERIT nor de_fault
1197 deprecated_xfer_memory. Delete de_fault macro.
1198 (default_xfer_partial, deprecated_debug_xfer_memory): Delete.
1199 (setup_target_debug): Don't install a deprecated_xfer_memory hook.
1200 * target.h (struct target_ops) <deprecated_xfer_memory>: Delete
1203 2014-02-26 Pedro Alves <palves@redhat.com>
1205 * go32-nat.c (my_write_child): New function.
1206 (go32_xfer_memory): Rewrite as to_xfer_partial helper.
1207 (go32_xfer_partial): New function.
1208 (init_go32_ops): Don't install a deprecated_xfer_memory hook.
1209 Instead install a to_xfer_partial hook.
1211 2014-02-26 Pedro Alves <palves@redhat.com>
1213 * nto-procfs.c (procfs_xfer_memory): Adjust interface as a
1214 to_xfer_partial helper. Rewrite.
1215 (procfs_xfer_partial): New function.
1216 (init_procfs_ops): Don't install a deprecated_xfer_memory hook.
1217 Install a to_xfer_partial hook.
1219 2014-02-26 Pedro Alves <palves@redhat.com>
1221 * remote-m32r-sdi.c (send_data): Constify 'buf' parameter.
1222 (m32r_xfer_memory): Adjust as a to_xfer_partial helper.
1223 (m32r_xfer_partial): New function.
1224 (init_m32r_ops): Don't install a deprecated_xfer_memory hook.
1225 Install a to_xfer_partial hook.
1227 2014-02-26 Pedro Alves <palves@redhat.com>
1229 * remote-mips.c (mips_xfer_memory): Adjust as to_xfer_partial
1231 (mips_xfer_partial): New function.
1232 (_initialize_remote_mips): Don't install a deprecated_xfer_memory
1233 hook. Install a to_xfer_partial hook.
1235 2014-02-26 Joel Brobecker <brobecker@adacore.com>
1237 * gdbtypes.h (create_array_type_with_stride): Add declaration.
1238 * gdbtypes.c (create_array_type_with_stride): New function,
1239 renaming create_array_type, but with an added parameter
1240 called "bit_stride".
1241 (create_array_type): Re-implement using
1242 create_array_type_with_stride.
1243 * dwarf2read.c (read_array_type): Add support for DW_AT_byte_stride
1244 and DW_AT_bit_stride attributes.
1246 2014-02-26 Pedro Alves <palves@redhat.com>
1248 * breakpoint.c (bpstat_check_breakpoint_conditions): Handle
1249 task-specific breakpoints.
1251 2014-02-25 Pedro Alves <palves@redhat.com>
1253 * ia64-linux-nat.c (ia64_linux_xfer_partial): Reimplement
1254 handling of object == TARGET_OBJECT_UNWIND_TABLE.
1256 2014-02-25 Stan Shebs <stan@codesourcery.com>
1258 * defs.h: Annotate comments for Doxygen.
1260 2014-02-25 Tom Tromey <tromey@redhat.com>
1262 * target.h (target_ignore): Don't declare.
1263 * target.c (target_ignore): Remove.
1265 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
1268 * auto-load.c (auto_load_objfile_script_1): Change filename to
1271 2014-02-25 Joel Brobecker <brobecker@adacore.com>
1273 * ia64-linux-nat.c (ia64_linux_xfer_partial): Add function
1274 documentation. Adjust prototype to match the target_ops
1275 to_xfer_partial method. Adjust implementation accordingly.
1277 2014-02-25 Hui Zhu <hui@codesourcery.com>
1279 * target.h (target_ops): Fix TARGET_DEFAULT_RETURN of
1282 2014-02-25 Kevin Buettner <kevinb@redhat.com>
1284 * rl78-tdep.c (RL78_BANK0_RP0_PTR_REGNUM, RL78_BANK0_RP1_PTR_REGNUM)
1285 (RL78_BANK0_RP2_PTR_REGNUM, RL78_BANK0_RP3_PTR_REGNUM)
1286 (RL78_BANK1_RP0_PTR_REGNUM, RL78_BANK1_RP1_PTR_REGNUM)
1287 (RL78_BANK1_RP2_PTR_REGNUM, RL78_BANK1_RP3_PTR_REGNUM)
1288 (RL78_BANK2_RP0_PTR_REGNUM, RL78_BANK2_RP1_PTR_REGNUM)
1289 (RL78_BANK2_RP2_PTR_REGNUM, RL78_BANK2_RP3_PTR_REGNUM)
1290 (RL78_BANK3_RP0_PTR_REGNUM, RL78_BANK3_RP1_PTR_REGNUM)
1291 (RL78_BANK3_RP2_PTR_REGNUM, RL78_BANK3_RP3_PTR_REGNUM):
1293 (rl78_register_type): Use a data pointer type for SP and
1294 new pseudo registers mentioned above. Use a 16 bit integer
1295 type for all other register pairs.
1296 (rl78_register_name, rl78_g10_register_name): Update for
1297 new pseudo registers.
1298 (rl78_pseudo_register_read): Likewise.
1299 (rl78_pseudo_register_write): Likewise.
1300 (rl78_dwarf_reg_to_regnum): Return register numbers representing
1301 to the newly added pseudo registers.
1303 2014-02-24 Doug Evans <dje@google.com>
1305 * value.c (record_latest_value): Fix comment.
1306 * printcmd.c (print_command_1): Remove code to handle -1 return from
1307 record_latest_value.
1309 2014-02-24 Pedro Alves <palves@redhat.com>
1311 * procfs.c (procfs_target): Don't install procfs_xfer_memory as
1312 deprecated_xfer_memory hook.
1313 (procfs_xfer_partial): Call procfs_xfer_memory instead
1314 of the deprecated_xfer_memory target hook.
1315 (procfs_xfer_memory): Adjust interface as a to_xfer_partial
1318 2014-02-24 Yuanhui Zhang <asmwarrior@gmail.com>
1320 * windows-nat.c (windows_xfer_shared_libraries): Return
1321 TARGET_XFER_EOF if LEN is zero to fix an assert failure when
1322 requested object is TARGET_OBJECT_LIBRARIES.
1324 2014-02-24 Yao Qi <yao@codesourcery.com>
1326 * target.h (enum target_xfer_status)
1327 <TARGET_XFER_E_UNAVAILABLE>: Rename it to ...
1328 <TARGET_XFER_UNAVAILABLE>: ... it with setting value 2
1330 * corefile.c (memory_error_message): User updated.
1331 * exec.c (section_table_read_available_memory): Likewise.
1332 * record-btrace.c (record_btrace_xfer_partial): Likewise.
1333 * target.c (target_xfer_status_to_string): Likewise.
1334 (raw_memory_xfer_partial): Likewise.
1335 (memory_xfer_partial_1, target_xfer_partial): Likewise.
1336 * valops.c (read_value_memory): Likewise.
1337 * exec.h: Update comments.
1339 2014-02-24 Yao Qi <yao@codesourcery.com>
1341 * target.c (target_xfer_status_to_string): Rename argument err
1343 * target.h (target_xfer_status_to_string): Update declaration.
1344 Replace target_xfer_error_to_string with
1345 target_xfer_status_to_string in comment.
1347 2014-02-24 Yao Qi <yao@codesourcery.com>
1349 * mips-linux-nat.c (super_close): Update its type.
1350 (mips_linux_close): Pass 'self' to super_close.
1352 2014-02-24 Yao Qi <yao@codesourcery.com>
1354 * target.h (TARGET_XFER_STATUS_ERROR_P): Remove.
1355 * corefile.c (read_memory): Adjusted.
1356 * target.c (target_write_with_progress): Adjusted.
1358 2014-02-23 Yao Qi <yao@codesourcery.com>
1362 2013-10-25 Yao Qi <yao@codesourcery.com>
1364 * remote.c (remote_traceframe_info): Return early if
1365 traceframe is not selected.
1367 2013-07-19 Yao Qi <yao@codesourcery.com>
1369 * target.c (update_current_target): Change the default action
1370 of 'to_traceframe_info' from tcomplain to return_zero.
1371 * target.h (struct target_ops) <to_traceframe_info>: Add more
1374 2014-02-23 Yao Qi <yao@codesourcery.com>
1376 * valops.c (read_value_memory): Rewrite it. Call
1377 target_xfer_partial in a loop.
1378 * exec.h (section_table_available_memory): Remove declaration.
1379 Move comments to ...
1380 * exec.c (section_table_available_memory): ... here. Make it
1383 2014-02-23 Yao Qi <yao@codesourcery.com>
1385 * exec.c (section_table_read_available_memory): New function.
1386 * exec.h (section_table_read_available_memory): Declare.
1387 * ctf.c (ctf_xfer_partial): Call
1388 section_table_read_available_memory.
1389 * tracefile-tfile.c (tfile_xfer_partial): Likewise.
1391 2014-02-23 Yao Qi <yao@codesourcery.com>
1393 * ctf.c (ctf_xfer_partial): Move code to ...
1394 * exec.c (exec_read_partial_read_only): ... it. New function.
1395 * tracefile-tfile.c (tfile_xfer_partial): Likewise.
1396 * tracefile.c: Include "exec.h".
1397 * exec.h (exec_read_partial_read_only): Declare.
1399 2014-02-23 Yao Qi <yao@codesourcery.com>
1401 * tracefile-tfile.c (tfile_has_all_memory): Remove.
1402 (tfile_has_memory): Remove.
1403 (init_tfile_ops): Don't set fields to_has_all_memory and
1404 to_has_memory of tfile_ops.
1405 * tracefile.c (tracefile_has_all_memory): New function.
1406 (tracefile_has_memory): New function.
1407 (init_tracefile_ops): Initialize fields to_has_all_memory and
1408 to_has_memory of 'ops'.
1410 2014-02-23 Yao Qi <yao@codesourcery.com>
1412 * ctf.c (ctf_has_stack, ctf_has_registers): Remove.
1413 (ctf_thread_alive, ctf_get_trace_status): Remove.
1414 (init_ctf_ops): Don't set some fields of ctf_ops. Call
1416 * tracefile-tfile.c (tfile_get_trace_status): Remove.
1417 (tfile_has_stack, tfile_has_registers): Remove.
1418 (tfile_thread_alive): Remove.
1419 (init_tfile_ops): Don't set some fields of tfile_ops. Call
1421 * tracefile.c (tracefile_has_stack): New function.
1422 (tracefile_has_registers): New function.
1423 (tracefile_thread_alive): New function.
1424 (tracefile_get_trace_status): New function.
1425 (init_tracefile_ops): New function.
1426 * tracefile.h (init_tracefile_ops): Declare.
1428 2014-02-23 Yao Qi <yao@codesourcery.com>
1430 * tracepoint.c (TFILE_PID): Move it to tracefile-tfile.c.
1431 (O_LARGEFILE): Likewise.
1432 (tfile_ops): Likewise.
1433 (TRACE_HEADER_SIZE): Likewise.
1434 (trace_fd, trace_frames_offset, cur_offset): Likewise.
1435 (cur_data_size): Likewise.
1436 (tfile_read, tfile_open, tfile_interp_line): Likewise.
1437 (tfile_close, tfile_files_info): Likewise.
1438 (tfile_get_trace_status): Likewise.
1439 (tfile_get_tracepoint_status): Likewise.
1440 (tfile_get_traceframe_address): Likewise.
1441 (tfile_trace_find, match_blocktype): Likewise.
1442 (traceframe_walk_blocks, traceframe_find_block_type): Likewise.
1443 (tfile_fetch_registers, tfile_xfer_partial): Likewise.
1444 (tfile_get_trace_state_variable_value): Likewise.
1445 (tfile_has_all_memory, tfile_has_memory): Likewise.
1446 (tfile_has_stack, tfile_has_registers): Likewise.
1447 (tfile_thread_alive, build_traceframe_info): Likewise.
1448 (tfile_traceframe_info, init_tfile_ops): Likewise.
1449 (_initialize_tracepoint): Don't call init_tfile_ops
1450 and add_target_with_completer.
1451 * tracefile-tfile.c: Include regcache.h, inferior.h, gdbthread.h,
1452 exec.h, completer.h and filenames.h.
1453 (_initialize_tracefile_tfile): New function.
1455 2014-02-23 Yao Qi <yao@codesourcery.com>
1457 * Makefile.in (REMOTE_OBS): Append tracefile.o and
1459 (HFILES_NO_SRCDIR): Add tracefile.h.
1460 * ctf.c: Include "tracefile.h".
1461 * tracefile.h: New file.
1462 * tracefile.c: New file
1463 * tracefile-tfile.c: New file.
1464 * tracepoint.c: Include "tracefile.h".
1465 (free_uploaded_tps, free_uploaded_tsvs): Remove declarations.
1466 (stop_reason_names): Add const.
1467 (trace_file_writer_xfree): Move it to tracefile.c.
1468 (trace_save, trace_save_command, trace_save_tfile): Likewise.
1469 (trace_save_ctf): Likewise.
1470 (struct tfile_trace_file_writer): Move it to tracefile-tfile.c.
1471 (tfile_target_save, tfile_dtor, tfile_start): Likewise.
1472 (tfile_write_header, tfile_write_regblock_type): Likewise.
1473 (tfile_write_status, tfile_write_uploaded_tsv): Likewise.
1474 (tfile_write_uploaded_tp, tfile_write_definition_end): Likewise.
1475 (tfile_write_raw_data, tfile_end): Likewise.
1476 (tfile_trace_file_writer_new): Likewise.
1477 (free_uploaded_tp): Make it extern.
1478 (free_uploaded_tsv): Make it extern.
1479 (_initialize_tracepoint): Move code to register command 'tsave'
1481 * tracepoint.h (stop_reason_names): Declare.
1482 (struct trace_frame_write_ops): Move it to tracefile.h.
1483 (struct trace_file_write_ops): Likewise.
1484 (struct trace_file_writer): Likewise.
1485 (free_uploaded_tsvs, free_uploaded_tps): Declare.
1487 2014-02-21 Jan Kratochvil <jan.kratochvil@redhat.com>
1490 * common/linux-osdata.c (linux_common_core_of_thread): Find the end of
1492 (get_cores_used_by_process): New parameter num_cores, use it.
1493 (linux_xfer_osdata_processes): Pass num_cores to it.
1494 * linux-tdep.c (linux_info_proc, linux_fill_prpsinfo): Find the end of
1497 2014-02-21 Andreas Arnez <arnez@vnet.linux.ibm.com>
1499 * target.c (memory_xfer_partial): Fix length arg in call to
1500 breakpoint_xfer_memory.
1502 2014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
1505 * i386-tdep.c (i386_stap_parse_special_token_triplet): Check if a
1506 number comes after the + or - signs. Adjust length of register
1507 name to be extracted.
1509 2014-02-20 Tom Tromey <tromey@redhat.com>
1511 * varobj.h (c_varobj_ops, cplus_varobj_ops, java_varobj_ops)
1512 (ada_varobj_ops): Mark "extern".
1514 2014-02-20 Tom Tromey <tromey@redhat.com>
1516 * dbxread.c (read_dbx_symtab): Remove last_o_file_start.
1518 2014-02-20 Doug Evans <xdje42@gmail.com>
1520 * guile/scm-gsmob.c (gdbscm_init_eqable_gsmob): New arg containing_scm.
1521 All callers updated.
1522 (gdbscm_fill_eqable_gsmob_ptr_slot): Delete arg containing_scm.
1523 All callers updated.
1524 * guile/guile-internal.h (gdbscm_init_eqable_gsmob): Update.
1525 (gdbscm_fill_eqable_gsmob_ptr_slot): Update.
1527 2014-02-20 lin zuojian <manjian2006@gmail.com>
1528 Joel Brobecker <brobecker@adacore.com>
1529 Doug Evans <xdje42@gmail.com>
1532 * dwarf2read.c (struct die_info): New member in_process.
1533 (reset_die_in_process): New function.
1534 (process_die): Set it at the start, reset when returning.
1535 (inherit_abstract_dies): Only call process_die if origin_child_die
1536 not already being processed.
1538 2014-02-20 Joel Brobecker <brobecker@adacore.com>
1540 * windows-nat.c (handle_unload_dll): Add function documentation.
1541 (do_initial_windows_stuff): Add comment explaining why we wait
1542 until after inferior initialization has finished before
1543 processing all DLLs.
1545 2014-02-20 Joel Brobecker <brobecker@adacore.com>
1547 * windows-nat.c (get_module_name): Delete.
1548 (windows_get_exec_module_filename): New function, mostly
1549 inspired from get_module_name.
1550 (windows_pid_to_exec_file): Replace call to get_module_name
1551 by call to windows_get_exec_module_filename.
1553 2014-02-20 Joel Brobecker <brobecker@adacore.com>
1555 * windows-nat.c (handle_load_dll): Rewrite this function's
1556 introductory comment. Remove code using get_module_name
1557 to get the DLL's name.
1559 2014-02-20 Joel Brobecker <brobecker@adacore.com>
1561 * windows-nat.c (get_windows_debug_event): Ignore
1562 LOAD_DLL_DEBUG_EVENT and UNLOAD_DLL_DEBUG_EVENT
1563 if windows_initialization_done == 0.
1564 (windows_add_all_dlls): Renames windows_ensure_ntdll_loaded.
1565 Adjust implementation to always load all DLLs.
1566 (do_initial_windows_stuff): Replace call to
1567 windows_ensure_ntdll_loaded by call to windows_add_all_dlls.
1569 2014-02-20 Joel Brobecker <brobecker@adacore.com>
1571 * windows-nat.c (_initialize_windows_nat): Deprecate the
1572 "dll-symbols" command. Turn the "add-shared-symbol-files"
1573 and "assf" aliases into commands, and deprecate them as well.
1574 * NEWS: Add entry explaining that "dll-symbols" and its two
1575 aliases are now deprecated.
1577 2014-02-20 Joel Brobecker <brobecker@adacore.com>
1579 * dec-thread.c (dec_thread_get_ada_task_ptid): Avoid unescaped
1580 new-line in debug string. Remove trailing spaces.
1582 2014-02-19 Stan Shebs <stan@codesourcery.com>
1584 * darwin-nat.c (darwin_xfer_partial): Fix return type.
1586 2014-02-19 Siva Chandra Reddy <sivachandra@google.com>
1588 * NEWS: Add entry for the new feature
1589 * python/py-value.c (valpy_binop): Call value_x_binop for struct
1592 2014-02-19 Stan Shebs <stan@codesourcery.com>
1594 * MAINTAINERS: List Yao Qi as nios2 maintainer.
1596 2014-02-19 Pedro Alves <palves@redhat.com>
1598 * common/ptid.h (struct ptid): Mention that process_stratum
1599 targets should prefer ptid.lwp.
1601 2014-02-19 Pedro Alves <palves@redhat.com>
1603 * remote.c (remote_thread_alive, write_ptid, read_ptid)
1604 (read_ptid, remote_newthread_step, remote_threads_extra_info)
1605 (remote_get_ada_task_ptid, append_resumption, remote_stop_ns)
1606 (threadalive_test, remote_pid_to_str): Use the ptid.lwp field to
1607 store remote thread ids rather than ptid.tid.
1608 (_initialize_remote): Adjust.
1610 2014-02-19 Tom Tromey <tromey@redhat.com>
1612 * target.c (target_get_unwinder): Rewrite.
1613 (target_get_tailcall_unwinder): Rewrite.
1614 * record-btrace.c (record_btrace_to_get_unwinder): New function.
1615 (record_btrace_to_get_tailcall_unwinder): New function.
1616 (init_record_btrace_ops): Update.
1617 * target.h (struct target_ops) <to_get_unwinder,
1618 to_get_tailcall_unwinder>: Now function pointers. Use
1619 TARGET_DEFAULT_RETURN.
1621 2014-02-19 Tom Tromey <tromey@redhat.com>
1623 * nto-procfs.c (procfs_remove_hw_breakpoint): Add 'self'
1625 (init_procfs_ops): Correctly set to_remove_hw_breakpoint.
1627 2014-02-19 Tom Tromey <tromey@redhat.com>
1629 * record-btrace.c (record_btrace_decr_pc_after_break): Delegate
1631 * target-delegates.c: Rebuild.
1632 * target.h (struct target_ops) <to_decr_pc_after_break>: Use
1633 TARGET_DEFAULT_FUNC.
1634 * target.c (default_target_decr_pc_after_break): Rename from
1635 forward_target_decr_pc_after_break. Simplify.
1636 (target_decr_pc_after_break): Rely on delegation.
1638 2014-02-19 Tom Tromey <tromey@redhat.com>
1640 * target.c (update_current_target): Do not INHERIT to_doc or
1641 to_magic. Do not de_fault to_open or to_close.
1643 2014-02-19 Tom Tromey <tromey@redhat.com>
1645 * gcore.h (objfile_find_memory_regions): Declare.
1646 * gcore.c (objfile_find_memory_regions): No longer static. Add
1648 (_initialize_gcore): Don't call exec_set_find_memory_regions.
1649 * exec.c: Include gcore.h.
1650 (exec_set_find_memory_regions): Remove.
1651 (exec_find_memory_regions): Remove.
1652 (exec_do_find_memory_regions): Remove.
1653 (init_exec_ops): Update.
1654 * defs.h (exec_set_find_memory_regions): Remove.
1656 2014-02-19 Tom Tromey <tromey@redhat.com>
1658 * target-delegates.c: Rebuild.
1659 * target.h (struct target_ops) <to_extra_thread_info,
1660 to_thread_name, to_pid_to_exec_file, to_get_section_table,
1661 to_memory_map, to_read_description, to_traceframe_info>: Use NULL,
1662 not 0, in TARGET_DEFAULT_RETURN.
1664 2014-02-19 Tom Tromey <tromey@redhat.com>
1666 * target.c (complete_target_initialization): Remove casts. Use
1667 return_zero_has_execution.
1668 (return_zero): Add "ignore" argument.
1669 (return_zero_has_execution): New function.
1670 (init_dummy_target): Remove casts. Use
1671 return_zero_has_execution.
1673 2014-02-19 Tom Tromey <tromey@redhat.com>
1675 * target.c (update_current_target): Update comments. Do not
1678 2014-02-19 Tom Tromey <tromey@redhat.com>
1680 * arm-linux-nat.c (arm_linux_read_description): Delegate when
1682 * corelow.c (core_read_description): Delegate when needed.
1683 * remote.c (remote_read_description): Delegate when needed.
1684 * target-delegates.c: Rebuild.
1685 * target.c (target_read_description): Rewrite.
1686 * target.h (struct target_ops) <to_read_description>: Update
1687 comment. Use TARGET_DEFAULT_RETURN.
1689 2014-02-19 Tom Tromey <tromey@redhat.com>
1691 * target-delegates.c: Rebuild.
1692 * target.c (update_current_target): Don't inherit or default
1694 (find_default_run_target): Check against delegate_can_run.
1695 * target.h (struct target_ops) <to_can_run>: Use
1696 TARGET_DEFAULT_RETURN.
1698 2014-02-19 Tom Tromey <tromey@redhat.com>
1700 * target-delegates.c: Rebuild.
1701 * target.c (target_disconnect): Unconditionally delegate.
1702 * target.h (struct target_ops) <to_disconnect>: Use
1703 TARGET_DEFAULT_NORETURN.
1705 2014-02-19 Tom Tromey <tromey@redhat.com>
1707 * record.c (record_stop): Unconditionally delegate.
1708 * target-delegates.c: Rebuild.
1709 * target.c (target_stop_recording): Unconditionally delegate.
1710 * target.h (struct target_ops) <to_stop_recording>: Use
1711 TARGET_DEFAULT_IGNORE.
1713 2014-02-19 Tom Tromey <tromey@redhat.com>
1715 * target-delegates.c: Rebuild.
1716 * target.c (target_enable_btrace): Unconditionally delegate.
1717 * target.h (struct target_ops) <to_enable_btrace>: Use
1718 TARGET_DEFAULT_NORETURN.
1720 2014-02-19 Tom Tromey <tromey@redhat.com>
1722 * target-delegates.c: Rebuild.
1723 * target.c (target_read_btrace): Unconditionally delegate.
1724 * target.h (struct target_ops) <to_read_btrace>: Use
1725 TARGET_DEFAULT_NORETURN.
1727 2014-02-19 Tom Tromey <tromey@redhat.com>
1729 * target-delegates.c: Rebuild.
1730 * target.c (target_teardown_btrace): Unconditionally delegate.
1731 * target.h (struct target_ops) <to_teardown_btrace>: Use
1732 TARGET_DEFAULT_NORETURN.
1734 2014-02-19 Tom Tromey <tromey@redhat.com>
1736 * target-delegates.c: Rebuild.
1737 * target.c (target_disable_btrace): Unconditionally delegate.
1738 * target.h (struct target_ops) <to_disable_btrace>: Use
1739 TARGET_DEFAULT_NORETURN.
1741 2014-02-19 Tom Tromey <tromey@redhat.com>
1743 * target-delegates.c: Rebuild.
1744 * target.c (default_search_memory): New function.
1745 (simple_search_memory): Update comment.
1746 (target_search_memory): Unconditionally delegate.
1747 * target.h (struct target_ops) <to_search_memory>: Use
1748 TARGET_DEFAULT_FUNC.
1750 2014-02-19 Tom Tromey <tromey@redhat.com>
1752 * auxv.c (default_auxv_parse): No longer static.
1753 (target_auxv_parse): Unconditionally delegate.
1754 * auxv.h (default_auxv_parse): Declare.
1755 * target-delegates.c: Rebuild.
1756 * target.c: Include auxv.h.
1757 * target.h (struct target_ops) <to_auxv_parse>: Use
1758 TARGET_DEFAULT_FUNC.
1760 2014-02-19 Tom Tromey <tromey@redhat.com>
1762 * target-delegates.c: Rebuild.
1763 * target.c (target_memory_map): Unconditionally delegate.
1764 * target.h (struct target_ops) <to_memory_map>: Use
1765 TARGET_DEFAULT_RETURN.
1767 2014-02-19 Tom Tromey <tromey@redhat.com>
1769 * target-delegates.c: Rebuild.
1770 * target.c (target_thread_alive): Unconditionally delegate.
1771 * target.h (struct target_ops) <to_thread_alive>: Use
1772 TARGET_DEFAULT_RETURN.
1774 2014-02-19 Tom Tromey <tromey@redhat.com>
1776 * target-delegates.c: Rebuild.
1777 * target.c (target_save_record): Unconditionally delegate.
1778 * target.h (struct target_ops) <to_save_record>: Use
1779 TARGET_DEFAULT_NORETURN.
1781 2014-02-19 Tom Tromey <tromey@redhat.com>
1783 * target-delegates.c: Rebuild.
1784 * target.c (target_delete_record): Unconditionally delegate.
1785 * target.h (struct target_ops) <to_delete_record>: Use
1786 TARGET_DEFAULT_NORETURN.
1788 2014-02-19 Tom Tromey <tromey@redhat.com>
1790 * target-delegates.c: Rebuild.
1791 * target.c (target_record_is_replaying): Unconditionally
1793 * target.h (struct target_ops) <to_record_is_replaying>: Use
1794 TARGET_DEFAULT_RETURN.
1796 2014-02-19 Tom Tromey <tromey@redhat.com>
1798 * target-delegates.c: Rebuild.
1799 * target.c (target_goto_record_begin): Unconditionally delegate.
1800 * target.h (struct target_ops) <to_goto_record_begin>: Use
1801 TARGET_DEFAULT_NORETURN.
1803 2014-02-19 Tom Tromey <tromey@redhat.com>
1805 * target-delegates.c: Rebuild.
1806 * target.c (target_goto_record_end): Unconditionally delegate.
1807 * target.h (struct target_ops) <to_goto_record_end>: Use
1808 TARGET_DEFAULT_NORETURN.
1810 2014-02-19 Tom Tromey <tromey@redhat.com>
1812 * target-delegates.c: Rebuild.
1813 * target.c (target_goto_record): Unconditionally delegate.
1814 * target.h (struct target_ops) <to_goto_record>: Use
1815 TARGET_DEFAULT_NORETURN.
1817 2014-02-19 Tom Tromey <tromey@redhat.com>
1819 * target-delegates.c: Rebuild.
1820 * target.c (target_insn_history): Unconditionally delegate.
1821 * target.h (struct target_ops) <to_insn_history>: Use
1822 TARGET_DEFAULT_NORETURN.
1824 2014-02-19 Tom Tromey <tromey@redhat.com>
1826 * target-delegates.c: Rebuild.
1827 * target.c (target_insn_history_from): Unconditionally delegate.
1828 * target.h (struct target_ops) <to_insn_history_from>: Use
1829 TARGET_DEFAULT_NORETURN.
1831 2014-02-19 Tom Tromey <tromey@redhat.com>
1833 * target-delegates.c: Rebuild.
1834 * target.c (target_insn_history_range): Unconditionally delegate.
1835 * target.h (struct target_ops) <to_insn_history_range>: Use
1836 TARGET_DEFAULT_NORETURN.
1838 2014-02-19 Tom Tromey <tromey@redhat.com>
1840 * target-delegates.c: Rebuild.
1841 * target.c (target_call_history): Unconditionally delegate.
1842 * target.h (struct target_ops) <to_call_history>: Use
1843 TARGET_DEFAULT_NORETURN.
1845 2014-02-19 Tom Tromey <tromey@redhat.com>
1847 * target-delegates.c: Rebuild.
1848 * target.c (target_call_history_from): Unconditionally delegate.
1849 * target.h (struct target_ops) <to_call_history_from>: Use
1850 TARGET_DEFAULT_NORETURN.
1852 2014-02-19 Tom Tromey <tromey@redhat.com>
1854 * target-delegates.c: Rebuild.
1855 * target.c (target_call_history_range): Unconditionally delegate.
1856 * target.h (struct target_ops) <to_call_history_range>: Use
1857 TARGET_DEFAULT_NORETURN.
1859 2014-02-19 Tom Tromey <tromey@redhat.com>
1861 * target-delegates.c: Rebuild.
1862 * target.c (target_verify_memory): Unconditionally delegate.
1863 * target.h (struct target_ops) <to_verify_memory>: Use
1864 TARGET_DEFAULT_NORETURN.
1866 2014-02-19 Tom Tromey <tromey@redhat.com>
1868 * target-delegates.c: Rebuild.
1869 * target.c (target_core_of_thread): Unconditionally delegate.
1870 * target.h (struct target_ops) <to_core_of_thread>: Use
1871 TARGET_DEFAULT_RETURN.
1873 2014-02-19 Tom Tromey <tromey@redhat.com>
1875 * target-delegates.c: Rebuild.
1876 * target.c (target_flash_done): Unconditionally delegate.
1877 * target.h (struct target_ops) <to_flash_done>: Use
1878 TARGET_DEFAULT_NORETURN.
1880 2014-02-19 Tom Tromey <tromey@redhat.com>
1882 * target-delegates.c: Rebuild.
1883 * target.c (target_flash_erase): Unconditionally delegate.
1884 * target.h (struct target_ops) <to_flash_erase>: Use
1885 TARGET_DEFAULT_NORETURN.
1887 2014-02-19 Tom Tromey <tromey@redhat.com>
1889 * target-delegates.c: Rebuild.
1890 * target.c (target_get_section_table): Unconditionally delegate.
1891 * target.h (struct target_ops) <to_get_section_table>: Use
1892 TARGET_DEFAULT_RETURN.
1894 2014-02-19 Tom Tromey <tromey@redhat.com>
1896 * target-delegates.c: Rebuild.
1897 * target.c (target_pid_to_str): Unconditionally delegate.
1898 (init_dummy_target): Don't initialize to_pid_to_str.
1899 (default_pid_to_str): Rename from dummy_pid_to_str.
1900 * target.h (struct target_ops) <to_pid_to_str>: Use
1901 TARGET_DEFAULT_FUNC.
1903 2014-02-19 Tom Tromey <tromey@redhat.com>
1905 * target-delegates.c: Rebuild.
1906 * target.c (target_find_new_threads): Unconditionally delegate.
1907 * target.h (struct target_ops) <to_find_new_threads>: Use
1908 TARGET_DEFAULT_RETURN.
1910 2014-02-19 Tom Tromey <tromey@redhat.com>
1912 * target-delegates.c: Rebuild.
1913 * target.c (target_program_signals): Unconditionally delegate.
1914 * target.h (struct target_ops) <to_program_signals>: Use
1915 TARGET_DEFAULT_IGNORE.
1917 2014-02-19 Tom Tromey <tromey@redhat.com>
1919 * target-delegates.c: Rebuild.
1920 * target.c (target_pass_signals): Unconditionally delegate.
1921 * target.h (struct target_ops) <to_pass_signals>: Use
1922 TARGET_DEFAULT_IGNORE.
1924 2014-02-19 Tom Tromey <tromey@redhat.com>
1926 * target-delegates.c: Rebuild.
1927 * target.c (default_mourn_inferior): New function.
1928 (target_mourn_inferior): Unconditionally delegate.
1929 * target.h (struct target_ops) <to_mourn_inferior>: Use
1930 TARGET_DEFAULT_FUNC.
1932 2014-02-19 Tom Tromey <tromey@redhat.com>
1934 * target-delegates.c: Rebuild.
1935 * target.c (default_follow_fork): New function.
1936 (target_follow_fork): Unconditionally delegate.
1937 * target.h (struct target_ops) <to_follow_fork>: Use
1938 TARGET_DEFAULT_FUNC.
1940 2014-02-19 Tom Tromey <tromey@redhat.com>
1942 * target-delegates.c: Rebuild.
1943 * target.c (target_kill): Unconditionally delegate.
1944 * target.h (struct target_ops) <to_kill>: Use
1945 TARGET_DEFAULT_NORETURN.
1947 2014-02-19 Tom Tromey <tromey@redhat.com>
1949 * target-delegates.c: Rebuild.
1950 * target.c (target_masked_watch_num_registers): Unconditionally
1952 * target.h (struct target_ops) <to_masked_watch_num_registers>:
1953 Use TARGET_DEFAULT_RETURN.
1955 2014-02-19 Tom Tromey <tromey@redhat.com>
1957 * target-delegates.c: Rebuild.
1958 * target.c (target_remove_mask_watchpoint): Unconditionally
1960 * target.h (struct target_ops) <to_remove_mask_watchpoint>: Use
1961 TARGET_DEFAULT_RETURN.
1963 2014-02-19 Tom Tromey <tromey@redhat.com>
1965 * target-delegates.c: Rebuild.
1966 * target.c (target_insert_mask_watchpoint): Unconditionally
1968 * target.h (struct target_ops) <to_insert_mask_watchpoint>: Use
1969 TARGET_DEFAULT_RETURN.
1971 2014-02-19 Tom Tromey <tromey@redhat.com>
1973 * target-delegates.c: Rebuild.
1974 * target.c (target_ranged_break_num_registers): Unconditionally
1976 * target.h (struct target_ops) <to_ranged_break_num_registers>:
1977 Use TARGET_DEFAULT_RETURN.
1979 2014-02-19 Tom Tromey <tromey@redhat.com>
1981 * target-delegates.c: Rebuild.
1982 * target.c (target_fetch_registers): Unconditionally delegate.
1983 * target.h (struct target_ops) <to_fetch_registers>: Use
1984 TARGET_DEFAULT_NORETURN.
1986 2014-02-19 Tom Tromey <tromey@redhat.com>
1988 * target-delegates.c: Rebuild.
1989 * target.c (update_current_target): Don't inherit or default
1991 * target.h (struct target_ops) <to_stop>: Use
1992 TARGET_DEFAULT_IGNORE.
1994 2014-02-19 Tom Tromey <tromey@redhat.com>
1996 * target-delegates.c: Rebuild.
1997 * target.c (update_current_target): Don't inherit or default
1998 to_can_run_breakpoint_commands.
1999 * target.h (struct target_ops) <to_can_run_breakpoint_commands>:
2000 Use TARGET_DEFAULT_RETURN.
2002 2014-02-19 Tom Tromey <tromey@redhat.com>
2004 * target-delegates.c: Rebuild.
2005 * target.c (update_current_target): Don't inherit or default
2006 to_supports_evaluation_of_breakpoint_conditions.
2007 * target.h (struct target_ops)
2008 <to_supports_evaluation_of_breakpoint_conditions>: Use
2009 TARGET_DEFAULT_RETURN.
2011 2014-02-19 Tom Tromey <tromey@redhat.com>
2013 * target-delegates.c: Rebuild.
2014 * target.c (update_current_target): Don't inherit or default
2015 to_augmented_libraries_svr4_read.
2016 * target.h (struct target_ops) <to_augmented_libraries_svr4_read>:
2017 Use TARGET_DEFAULT_RETURN.
2019 2014-02-19 Tom Tromey <tromey@redhat.com>
2021 * target-delegates.c: Rebuild.
2022 * target.c (update_current_target): Don't inherit or default
2024 * target.h (struct target_ops) <to_can_use_agent>: Use
2025 TARGET_DEFAULT_RETURN.
2027 2014-02-19 Tom Tromey <tromey@redhat.com>
2029 * target-delegates.c: Rebuild.
2030 * target.c (update_current_target): Don't inherit or default
2032 * target.h (struct target_ops) <to_use_agent>: Use
2033 TARGET_DEFAULT_NORETURN.
2035 2014-02-19 Tom Tromey <tromey@redhat.com>
2037 * target-delegates.c: Rebuild.
2038 * target.c (update_current_target): Don't inherit or default
2040 (return_null): Remove.
2041 * target.h (struct target_ops) <to_traceframe_info>: Use
2042 TARGET_DEFAULT_RETURN.
2044 2014-02-19 Tom Tromey <tromey@redhat.com>
2046 * target-delegates.c: Rebuild.
2047 * target.c (update_current_target): Don't inherit or default
2048 to_static_tracepoint_markers_by_strid.
2049 * target.h (struct target_ops)
2050 <to_static_tracepoint_markers_by_strid>: Use
2051 TARGET_DEFAULT_NORETURN.
2053 2014-02-19 Tom Tromey <tromey@redhat.com>
2055 * target-delegates.c: Rebuild.
2056 * target.c (update_current_target): Don't inherit or default
2057 to_static_tracepoint_marker_at.
2058 * target.h (struct target_ops) <to_static_tracepoint_marker_at>:
2059 Use TARGET_DEFAULT_RETURN.
2061 2014-02-19 Tom Tromey <tromey@redhat.com>
2063 * target-delegates.c: Rebuild.
2064 * target.c (update_current_target): Don't inherit or default
2066 * target.h (struct target_ops) <to_set_permissions>: Use
2067 TARGET_DEFAULT_IGNORE.
2069 2014-02-19 Tom Tromey <tromey@redhat.com>
2071 * target-delegates.c: Rebuild.
2072 * target.c (update_current_target): Don't inherit or default
2074 * target.h (struct target_ops) <to_get_tib_address>: Use
2075 TARGET_DEFAULT_NORETURN.
2077 2014-02-19 Tom Tromey <tromey@redhat.com>
2079 * target-delegates.c: Rebuild.
2080 * target.c (update_current_target): Don't inherit or default
2082 * target.h (struct target_ops) <to_set_trace_notes>: Use
2083 TARGET_DEFAULT_RETURN.
2085 2014-02-19 Tom Tromey <tromey@redhat.com>
2087 * target-delegates.c: Rebuild.
2088 * target.c (update_current_target): Don't initialize
2089 to_set_trace_buffer_size.
2090 * target.h (struct target_ops) <to_set_trace_buffer_size>: Use
2091 TARGET_DEFAULT_IGNORE.
2093 2014-02-19 Tom Tromey <tromey@redhat.com>
2095 * target-delegates.c: Rebuild.
2096 * target.c (update_current_target): Don't inherit or default
2097 to_set_circular_trace_buffer.
2098 * target.h (struct target_ops) <to_set_circular_trace_buffer>: Use
2099 TARGET_DEFAULT_IGNORE.
2101 2014-02-19 Tom Tromey <tromey@redhat.com>
2103 * target-delegates.c: Rebuild.
2104 * target.c (update_current_target): Don't inherit or default
2105 to_set_disconnected_tracing.
2106 * target.h (struct target_ops) <to_set_disconnected_tracing>: Use
2107 TARGET_DEFAULT_IGNORE.
2109 2014-02-19 Tom Tromey <tromey@redhat.com>
2111 * target-delegates.c: Rebuild.
2112 * target.c (update_current_target): Don't inherit or default
2113 to_get_min_fast_tracepoint_insn_len.
2114 (return_minus_one): Remove.
2115 * target.h (struct target_ops)
2116 <to_get_min_fast_tracepoint_insn_len>: Use TARGET_DEFAULT_RETURN.
2118 2014-02-19 Tom Tromey <tromey@redhat.com>
2120 * target-delegates.c: Rebuild.
2121 * target.c (update_current_target): Don't inherit or default
2122 to_get_raw_trace_data.
2123 * target.h (struct target_ops) <to_get_raw_trace_data>: Use
2124 TARGET_DEFAULT_NORETURN.
2126 2014-02-19 Tom Tromey <tromey@redhat.com>
2128 * target-delegates.c: Rebuild.
2129 * target.c (update_current_target): Don't inherit or default
2130 to_upload_trace_state_variables.
2131 * target.h (struct target_ops) <to_upload_trace_state_variables>:
2132 Use TARGET_DEFAULT_RETURN.
2134 2014-02-19 Tom Tromey <tromey@redhat.com>
2136 * target-delegates.c: Rebuild.
2137 * target.c (update_current_target): Don't inherit or default
2138 to_upload_tracepoints.
2139 * target.h (struct target_ops) <to_upload_tracepoints>: Use
2140 TARGET_DEFAULT_RETURN.
2142 2014-02-19 Tom Tromey <tromey@redhat.com>
2144 * target-delegates.c: Rebuild.
2145 * target.c (update_current_target): Don't inherit or default
2147 * target.h (struct target_ops) <to_save_trace_data>: Use
2148 TARGET_DEFAULT_NORETURN.
2150 2014-02-19 Tom Tromey <tromey@redhat.com>
2152 * target-delegates.c: Rebuild.
2153 * target.c (update_current_target): Don't inherit or default
2154 to_get_trace_state_variable_value.
2155 * target.h (struct target_ops)
2156 <to_get_trace_state_variable_value>: Use TARGET_DEFAULT_RETURN.
2158 2014-02-19 Tom Tromey <tromey@redhat.com>
2160 * target-delegates.c: Rebuild.
2161 * target.c (update_current_target): Don't inherit or default
2163 * target.h (struct target_ops): Use TARGET_DEFAULT_RETURN.
2165 2014-02-19 Tom Tromey <tromey@redhat.com>
2167 * target-delegates.c: Rebuild.
2168 * target.c (update_current_target): Don't inherit or default
2170 * target.h (struct target_ops) <to_trace_stop>: Use
2171 TARGET_DEFAULT_NORETURN.
2173 2014-02-19 Tom Tromey <tromey@redhat.com>
2175 * target-delegates.c: Rebuild.
2176 * target.c (update_current_target): Don't inherit or default
2177 to_get_tracepoint_status.
2178 * target.h (struct target_ops) <to_get_tracepoint_status>: Use
2179 TARGET_DEFAULT_NORETURN.
2181 2014-02-19 Tom Tromey <tromey@redhat.com>
2183 * target-delegates.c: Rebuild.
2184 * target.c (update_current_target): Don't inherit or default
2185 to_get_trace_status.
2186 * target.h (struct target_ops) <to_get_trace_status>: Use
2187 TARGET_DEFAULT_RETURN.
2189 2014-02-19 Tom Tromey <tromey@redhat.com>
2191 * target-delegates.c: Rebuild.
2192 * target.c (update_current_target): Don't inherit or default
2194 * target.h (struct target_ops) <to_trace_start>: Use
2195 TARGET_DEFAULT_NORETURN.
2197 2014-02-19 Tom Tromey <tromey@redhat.com>
2199 * target-delegates.c: Rebuild.
2200 * target.c (update_current_target): Don't inherit or default
2201 to_trace_set_readonly_regions.
2202 * target.h (struct target_ops) <to_trace_set_readonly_regions>:
2203 Use TARGET_DEFAULT_NORETURN.
2205 2014-02-19 Tom Tromey <tromey@redhat.com>
2207 * target-delegates.c: Rebuild.
2208 * target.c (update_current_target): Don't inherit or default
2209 to_disable_tracepoint.
2210 * target.h (struct target_ops) <to_disable_tracepoint>: Use
2211 TARGET_DEFAULT_NORETURN.
2213 2014-02-19 Tom Tromey <tromey@redhat.com>
2215 * target-delegates.c: Rebuild.
2216 * target.c (update_current_target): Don't inherit or default
2217 to_enable_tracepoint.
2218 * target.h (struct target_ops) <to_enable_tracepoint>: Use
2219 TARGET_DEFAULT_NORETURN.
2221 2014-02-19 Tom Tromey <tromey@redhat.com>
2223 * target-delegates.c: Rebuild.
2224 * target.c (update_current_target): Don't inherit or default
2225 to_download_trace_state_variable.
2226 * target.h (struct target_ops) <to_download_trace_state_variable>:
2227 Use TARGET_DEFAULT_NORETURN.
2229 2014-02-19 Tom Tromey <tromey@redhat.com>
2231 * target-delegates.c: Rebuild.
2232 * target.c (update_current_target): Don't inherit or default
2233 to_can_download_tracepoint.
2234 * target.h (struct target_ops) <to_can_download_tracepoint>: Use
2235 TARGET_DEFAULT_RETURN.
2237 2014-02-19 Tom Tromey <tromey@redhat.com>
2239 * target-delegates.c: Rebuild.
2240 * target.c (update_current_target): Don't inherit or default
2241 to_download_tracepoint.
2242 * target.h (struct target_ops) <to_download_tracepoint>: Use
2243 TARGET_DEFAULT_NORETURN.
2245 2014-02-19 Tom Tromey <tromey@redhat.com>
2247 * target-delegates.c: Rebuild.
2248 * target.c (update_current_target): Don't inherit or default
2250 * target.h (struct target_ops) <to_trace_init>: Use
2251 TARGET_DEFAULT_RETURN.
2253 2014-02-19 Tom Tromey <tromey@redhat.com>
2255 * target-delegates.c: Rebuild.
2256 * target.c (update_current_target): Don't inherit or default
2257 to_supports_string_tracing.
2258 * target.h (struct target_ops) <to_supports_string_tracing>: Use
2259 TARGET_DEFAULT_RETURN.
2261 2014-02-19 Tom Tromey <tromey@redhat.com>
2263 * target-delegates.c: Rebuild.
2264 * target.c (update_current_target): Don't inherit or default
2265 to_supports_enable_disable_tracepoint.
2266 * target.h (struct target_ops)
2267 <to_supports_enable_disable_tracepoint>: Use
2268 TARGET_DEFAULT_RETURN.
2270 2014-02-19 Tom Tromey <tromey@redhat.com>
2272 * target-delegates.c: Rebuild.
2273 * target.c (update_current_target): Don't inherit or default
2274 to_supports_multi_process.
2275 * target.h (struct target_ops) <to_supports_multi_process>: Use
2276 TARGET_DEFAULT_RETURN.
2278 2014-02-19 Tom Tromey <tromey@redhat.com>
2280 * target-delegates.c: Rebuild.
2281 * target.c (update_current_target): Don't inherit or default
2282 to_get_ada_task_ptid.
2283 * target.h (struct target_ops) <to_get_ada_task_ptid>: Use
2284 TARGET_DEFAULT_FUNC.
2286 2014-02-19 Tom Tromey <tromey@redhat.com>
2288 * target-delegates.c: Rebuild.
2289 * target.c (update_current_target): Don't inherit or default
2290 to_thread_architecture.
2291 * target.h (struct target_ops) <to_thread_architecture>: Use
2292 TARGET_DEFAULT_FUNC.
2294 2014-02-19 Tom Tromey <tromey@redhat.com>
2296 * target-delegates.c: Rebuild.
2297 * target.c (update_current_target): Don't inherit or default
2298 to_execution_direction.
2299 * target.h (struct target_ops) <to_execution_direction>: Use
2300 TARGET_DEFAULT_FUNC.
2302 2014-02-19 Tom Tromey <tromey@redhat.com>
2304 * target-delegates.c: Rebuild.
2305 * target.c (update_current_target): Don't inherit or default
2306 to_can_execute_reverse.
2307 * target.h (struct target_ops) <to_can_execute_reverse>: Use
2308 TARGET_DEFAULT_RETURN.
2309 (target_can_execute_reverse): Unconditionally delegate.
2311 2014-02-19 Tom Tromey <tromey@redhat.com>
2313 * target-delegates.c: Rebuild.
2314 * target.c (update_current_target): Don't inherit or default
2316 (dummy_goto_bookmark): Remove.
2317 (init_dummy_target): Don't inherit or default to_goto_bookmark.
2318 * target.h (struct target_ops) <to_goto_bookmark>: Use
2319 TARGET_DEFAULT_NORETURN.
2321 2014-02-19 Tom Tromey <tromey@redhat.com>
2323 * target-delegates.c: Rebuild.
2324 * target.c (update_current_target): Don't inherit or default
2326 (dummy_get_bookmark): Remove.
2327 (init_dummy_target): Don't inherit or default to_get_bookmark.
2328 * target.h (struct target_ops) <to_get_bookmark>: Use
2329 TARGET_DEFAULT_NORETURN
2331 2014-02-19 Tom Tromey <tromey@redhat.com>
2333 * target-delegates.c: Rebuild.
2334 * target.c (update_current_target): Don't inherit or default
2335 to_make_corefile_notes.
2336 (init_dummy_target): Don't initialize to_make_corefile_notes.
2337 * target.h (struct target_ops) <to_make_corefile_notes>: Use
2338 TARGET_DEFAULT_FUNC.
2340 2014-02-19 Tom Tromey <tromey@redhat.com>
2342 * target-delegates.c: Rebuild.
2343 * target.c (update_current_target): Don't inherit or default
2344 to_find_memory_regions.
2345 (init_dummy_target): Don't initialize to_find_memory_regions.
2346 * target.h (struct target_ops) <to_find_memory_regions>: Use
2347 TARGET_DEFAULT_FUNC.
2349 2014-02-19 Tom Tromey <tromey@redhat.com>
2351 * target-delegates.c: Rebuild.
2352 * target.c (update_current_target): Don't inherit or default
2354 * target.h (struct target_ops) <to_log_command>: Use
2355 TARGET_DEFAULT_IGNORE.
2356 (target_log_command): Unconditionally delegate.
2358 2014-02-19 Tom Tromey <tromey@redhat.com>
2360 * target-delegates.c: Rebuild.
2361 * target.c (update_current_target): Don't inherit or default
2362 to_pid_to_exec_file.
2363 * target.h (struct target_ops) <to_pid_to_exec_file>: Use
2364 TARGET_DEFAULT_RETURN.
2366 2014-02-19 Tom Tromey <tromey@redhat.com>
2368 * target-delegates.c: Rebuild.
2369 * target.c (update_current_target): Don't inherit or default
2371 (target_thread_name): Unconditionally delegate.
2372 * target.h (struct target_ops) <to_thread_name>: Use
2373 TARGET_DEFAULT_RETURN.
2375 2014-02-19 Tom Tromey <tromey@redhat.com>
2377 * target-delegates.c: Rebuild.
2378 * target.c (update_current_target): Don't inherit or default
2379 to_extra_thread_info.
2380 * target.h (struct target_ops) <to_extra_thread_info>: Use
2381 TARGET_DEFAULT_RETURN.
2383 2014-02-19 Tom Tromey <tromey@redhat.com>
2385 * target-delegates.c: Rebuild.
2386 * target.c (update_current_target): Don't inherit or default
2388 * target.h (struct target_ops) <to_has_exited>: Use
2389 TARGET_DEFAULT_RETURN..
2391 2014-02-19 Tom Tromey <tromey@redhat.com>
2393 * target-delegates.c: Rebuild.
2394 * target.c (update_current_target): Don't inherit or default
2395 to_set_syscall_catchpoint.
2396 (return_one): Remove.
2397 * target.h (struct target_ops) <to_set_syscall_catchpoint>: Use
2398 TARGET_DEFAULT_RETURN.
2400 2014-02-19 Tom Tromey <tromey@redhat.com>
2402 * target-delegates.c: Rebuild.
2403 * target.c (update_current_target): Don't inherit or default
2404 to_insert_exec_catchpoint.
2405 * target.h (struct target_ops) <to_insert_exec_catchpoint>: Use
2406 TARGET_DEFAULT_RETURN.
2408 2014-01-08 Tom Tromey <tromey@redhat.com>
2410 * target-delegates.c: Rebuild.
2411 * target.c (update_current_target): Don't inherit or default
2412 to_insert_exec_catchpoint.
2413 * target.h (struct target_ops) <to_insert_exec_catchpoint>: Use
2414 TARGET_DEFAULT_RETURN.
2416 2014-02-19 Tom Tromey <tromey@redhat.com>
2418 * target-delegates.c: Rebuild.
2419 * target.c (update_current_target): Don't inherit or default
2420 to_remove_vfork_catchpoint.
2421 * target.h (struct target_ops) <to_remove_vfork_catchpoint>: Use
2422 TARGET_DEFAULT_RETURN.
2424 2014-02-19 Tom Tromey <tromey@redhat.com>
2426 * target-delegates.c: Rebuild.
2427 * target.c (update_current_target): Don't inherit or default
2428 to_insert_vfork_catchpoint.
2429 * target.h (struct target_ops) <to_insert_vfork_catchpoint>: Use
2430 TARGET_DEFAULT_RETURN.
2432 2014-02-19 Tom Tromey <tromey@redhat.com>
2434 * target-delegates.c: Rebuild.
2435 * target.c (update_current_target): Don't inherit or default
2436 to_remove_fork_catchpoint.
2437 * target.h (struct target_ops) <to_remove_fork_catchpoint>: Use
2438 TARGET_DEFAULT_RETURN.
2440 2014-02-19 Tom Tromey <tromey@redhat.com>
2442 * target-delegates.c: Rebuild.
2443 * target.c (update_current_target): Don't inherit or default
2444 to_insert_fork_catchpoint.
2445 * target.h (struct target_ops) <to_insert_fork_catchpoint>: Use
2446 TARGET_DEFAULT_RETURN.
2448 2014-02-19 Tom Tromey <tromey@redhat.com>
2450 * target-delegates.c: Rebuild.
2451 * target.c (update_current_target): Don't inherit or default
2452 to_post_startup_inferior.
2453 * target.h (struct target_ops) <to_post_startup_inferior>: Use
2454 TARGET_DEFAULT_IGNORE.
2456 2014-02-19 Tom Tromey <tromey@redhat.com>
2458 * target-delegates.c: Rebuild.
2459 * target.c (update_current_target): Don't inherit or default
2461 * target.h (struct target_ops) <to_load>: Use
2462 TARGET_DEFAULT_NORETURN.
2464 2014-02-19 Tom Tromey <tromey@redhat.com>
2466 * target-delegates.c: Rebuild.
2467 * target.c (update_current_target): Don't inherit or default
2469 * target.h (struct target_ops) <to_terminal_info>: Use
2470 TARGET_DEFAULT_FUNC.
2472 2014-02-19 Tom Tromey <tromey@redhat.com>
2474 * target-delegates.c: Rebuild.
2475 * target.c (update_current_target): Don't inherit or default
2476 to_terminal_save_ours.
2477 * target.h (struct target_ops) <to_terminal_save_ours>: Use
2478 TARGET_DEFAULT_IGNORE.
2480 2014-02-19 Tom Tromey <tromey@redhat.com>
2482 * target-delegates.c: Rebuild.
2483 * target.c (update_current_target): Don't inherit or default
2485 * target.h (struct target_ops) <to_terminal_ours>: Use
2486 TARGET_DEFAULT_IGNORE.
2488 2014-02-19 Tom Tromey <tromey@redhat.com>
2490 * target-delegates.c: Rebuild.
2491 * target.c (update_current_target): Don't inherit or default
2492 to_terminal_ours_for_output.
2493 * target.h (struct target_ops) <to_terminal_ours_for_output>: Use
2494 TARGET_DEFAULT_IGNORE.
2496 2014-02-19 Tom Tromey <tromey@redhat.com>
2498 * target-delegates.c: Rebuild.
2499 * target.c (update_current_target): Don't inherit or default
2500 to_terminal_inferior.
2501 * target.h (struct target_ops) <to_terminal_inferior>: Use
2502 TARGET_DEFAULT_IGNORE.
2504 2014-02-19 Tom Tromey <tromey@redhat.com>
2506 * target-delegates.c: Rebuild.
2507 * target.c (update_current_target): Don't inherit or default
2509 * target.h (struct target_ops) <to_terminal_init>: Use
2510 TARGET_DEFAULT_IGNORE.
2512 2014-02-19 Tom Tromey <tromey@redhat.com>
2514 * target-delegates.c: Rebuild.
2515 * target.c (update_current_target): Don't inherit or default
2516 to_can_accel_watchpoint_condition.
2517 * target.h (struct target_ops)
2518 <to_can_accel_watchpoint_condition>: Use TARGET_DEFAULT_RETURN.
2520 2014-02-19 Tom Tromey <tromey@redhat.com>
2522 * target-delegates.c: Rebuild.
2523 * target.c (update_current_target): Don't inherit or default
2524 to_region_ok_for_hw_watchpoint.
2525 * target.h (struct target_ops) <to_region_ok_for_hw_watchpoint>:
2526 Use TARGET_DEFAULT_FUNC.
2528 2014-02-19 Tom Tromey <tromey@redhat.com>
2530 * target-delegates.c: Rebuild.
2531 * target.c (update_current_target): Don't inherit or default
2532 to_watchpoint_addr_within_range.
2533 * target.h (struct target_ops) <to_watchpoint_addr_within_range>:
2534 Use TARGET_DEFAULT_FUNC.
2536 2014-02-19 Tom Tromey <tromey@redhat.com>
2538 * target-delegates.c: Rebuild.
2539 * target.c (update_current_target): Don't inherit or default
2540 to_remove_watchpoint.
2541 * target.h (struct target_ops) <to_remove_watchpoint>: Use
2542 TARGET_DEFAULT_NORETURN.
2544 2014-02-19 Tom Tromey <tromey@redhat.com>
2546 * target-delegates.c: Rebuild.
2547 * target.c (update_current_target): Don't inherit or default
2548 to_insert_watchpoint.
2549 * target.h (struct target_ops) <to_insert_watchpoint>: Use
2550 TARGET_DEFAULT_RETURN.
2552 2014-02-19 Tom Tromey <tromey@redhat.com>
2554 * target-delegates.c: Rebuild.
2555 * target.c (update_current_target): Don't inherit or default
2556 to_remove_hw_breakpoint.
2557 * target.h (struct target_ops) <to_remove_hw_breakpoint>: Use
2558 TARGET_DEFAULT_RETURN.
2560 2014-02-19 Tom Tromey <tromey@redhat.com>
2562 * target-delegates.c: Rebuild.
2563 * target.c (update_current_target): Don't inherit or default
2564 to_insert_hw_breakpoint.
2565 * target.h (struct target_ops) <to_insert_hw_breakpoint>: Use
2566 TARGET_DEFAULT_RETURN.
2568 2014-02-19 Tom Tromey <tromey@redhat.com>
2570 * target-delegates.c: Rebuild.
2571 * target.c (update_current_target): Don't inherit or default
2572 to_can_use_hw_breakpoint.
2573 * target.h (struct target_ops) <to_can_use_hw_breakpoint>: Use
2574 TARGET_DEFAULT_RETURN.
2576 2014-02-19 Tom Tromey <tromey@redhat.com>
2578 * target-delegates.c: Rebuild.
2579 * target.c (update_current_target): Don't inherit or default
2581 * target.h (struct target_ops) <to_files_info>: Use
2582 TARGET_DEFAULT_IGNORE.
2584 2014-02-19 Tom Tromey <tromey@redhat.com>
2586 * target-delegates.c: Rebuild.
2587 * target.c (update_current_target): Don't inherit or default
2589 * target.h (struct target_ops) <to_store>: Use
2590 TARGET_DEFAULT_NORETURN.
2592 2014-02-19 Tom Tromey <tromey@redhat.com>
2594 * target-delegates.c: Rebuild.
2595 * target.c (update_current_target): Don't inherit or default
2597 * target.h (struct target_ops) <to_post_attach>: Use
2598 TARGET_DEFAULT_IGNORE.
2600 2014-02-19 Tom Tromey <tromey@redhat.com>
2602 * target-delegates.c: Rebuild.
2603 * target.c (update_current_target): Don't inherit or default
2605 (default_rcmd): New function.
2606 (do_monitor_command): Unconditionally delegate.
2607 * target.h (struct target_ops) <to_rmcd>: Use
2608 TARGET_DEFAULT_FUNC.
2610 2014-02-19 Tom Tromey <tromey@redhat.com>
2612 * target-delegates.c: Rebuild.
2613 * target.c (init_dummy_target): Don't initialize to_attach.
2614 (target_attach): Unconditionally delegate.
2615 * target.h (struct target_ops) <to_attach>: Use
2616 TARGET_DEFAULT_FUNC.
2618 2014-02-19 Tom Tromey <tromey@redhat.com>
2620 * target-delegates.c: Rebuild.
2621 * target.c (target_detach): Unconditionally delegate.
2622 (init_dummy_target): Don't initialize to_detach.
2623 * target.h (struct target_ops) <to_detach>: Use
2624 TARGET_DEFAULT_IGNORE.
2626 2014-02-19 Tom Tromey <tromey@redhat.com>
2628 * target.h (struct target_ops) <to_augmented_libraries_svr4_read>:
2630 (target_augmented_libraries_svr4_read): Add argument.
2631 * target.c (update_current_target): Update.
2632 * remote.c (remote_augmented_libraries_svr4_read): Add 'self'
2635 2014-02-19 Tom Tromey <tromey@redhat.com>
2637 * target.h (struct target_ops) <to_call_history_range>: Add
2639 * target.c (target_call_history_range): Add argument.
2640 * record-btrace.c (record_btrace_call_history_range): Add 'self'
2642 (record_btrace_call_history_from): Update.
2644 2014-02-19 Tom Tromey <tromey@redhat.com>
2646 * target.h (struct target_ops) <to_call_history_from>: Add
2648 * target.c (target_call_history_from): Add argument.
2649 * record-btrace.c (record_btrace_call_history_from): Add 'self'
2652 2014-02-19 Tom Tromey <tromey@redhat.com>
2654 * target.h (struct target_ops) <to_call_history>: Add argument.
2655 * target.c (target_call_history): Add argument.
2656 * record-btrace.c (record_btrace_call_history): Add 'self'
2659 2014-02-19 Tom Tromey <tromey@redhat.com>
2661 * target.h (struct target_ops) <to_insn_history_range>: Add
2663 * target.c (target_insn_history_range): Add argument.
2664 * record-btrace.c (record_btrace_insn_history_range): Add 'self'
2666 (record_btrace_insn_history_from): Update.
2668 2014-02-19 Tom Tromey <tromey@redhat.com>
2670 * target.h (struct target_ops) <to_insn_history_from>: Add
2672 * target.c (target_insn_history_from): Add argument.
2673 * record-btrace.c (record_btrace_insn_history_from): Add 'self'
2676 2014-02-19 Tom Tromey <tromey@redhat.com>
2678 * target.h (struct target_ops) <to_insn_history>: Add argument.
2679 * target.c (target_insn_history): Add argument.
2680 * record-btrace.c (record_btrace_insn_history): Add 'self'
2683 2014-02-19 Tom Tromey <tromey@redhat.com>
2685 * target.h (struct target_ops) <to_goto_record>: Add argument.
2686 * target.c (target_goto_record): Add argument.
2687 * record-full.c (record_full_goto): Add 'self' argument.
2688 * record-btrace.c (record_btrace_goto): Add 'self' argument.
2690 2014-02-19 Tom Tromey <tromey@redhat.com>
2692 * target.h (struct target_ops) <to_goto_record_end>: Add argument.
2693 * target.c (target_goto_record_end): Add argument.
2694 * record-full.c (record_full_goto_end): Add 'self' argument.
2695 * record-btrace.c (record_btrace_goto_end): Add 'self' argument.
2697 2014-02-19 Tom Tromey <tromey@redhat.com>
2699 * target.h (struct target_ops) <to_goto_record_begin>: Add
2701 * target.c (target_goto_record_begin): Add argument.
2702 * record-full.c (record_full_goto_begin): Add 'self' argument.
2703 * record-btrace.c (record_btrace_goto_begin): Add 'self'
2706 2014-02-19 Tom Tromey <tromey@redhat.com>
2708 * target.h (struct target_ops) <to_record_is_replaying>: Add
2710 * target.c (target_record_is_replaying): Add argument.
2711 * record-full.c (record_full_is_replaying): Add 'self' argument.
2712 * record-btrace.c (record_btrace_is_replaying): Add 'self'
2714 (record_btrace_xfer_partial, record_btrace_store_registers)
2715 (record_btrace_prepare_to_store, record_btrace_resume)
2716 (record_btrace_wait, record_btrace_decr_pc_after_break)
2717 (record_btrace_find_new_threads, record_btrace_thread_alive):
2720 2014-02-19 Tom Tromey <tromey@redhat.com>
2722 * target.h (struct target_ops) <to_delete_record>: Add argument.
2723 * target.c (target_delete_record): Add argument.
2724 * record-full.c (record_full_delete): Add 'self' argument.
2726 2014-02-19 Tom Tromey <tromey@redhat.com>
2728 * target.h (struct target_ops) <to_save_record>: Add argument.
2729 * target.c (target_save_record): Add argument.
2730 * record-full.c (record_full_save): Add 'self' argument.
2731 (record_full_save): Add 'self' argument.
2733 2014-02-19 Tom Tromey <tromey@redhat.com>
2735 * target.h (struct target_ops) <to_info_record>: Add argument.
2736 * target.c (target_info_record): Add argument.
2737 * record.c (info_record_command): Add argument.
2738 * record-full.c (record_full_info): Add 'self' argument.
2739 * record-btrace.c (record_btrace_info): Add 'self' argument.
2741 2014-02-19 Tom Tromey <tromey@redhat.com>
2743 * target.h (struct target_ops) <to_stop_recording>: Add argument.
2744 * target.c (target_stop_recording): Add argument.
2745 * record.c (record_stop): Add argument.
2746 * record-btrace.c (record_btrace_stop_recording): Add 'self'
2749 2014-02-19 Tom Tromey <tromey@redhat.com>
2751 * target.h (struct target_ops) <to_read_btrace>: Add argument.
2752 * target.c (struct target_ops) <to_read_btrace>: Add argument.
2753 * remote.c (struct target_ops) <to_read_btrace>: Add 'self'
2755 * amd64-linux-nat.c (amd64_linux_read_btrace): New function.
2756 (_initialize_amd64_linux_nat): Use it.
2757 * i386-linux-nat.c (i386_linux_read_btrace): New function.
2758 (_initialize_i386_linux_nat): Use it.
2760 2014-02-19 Tom Tromey <tromey@redhat.com>
2762 * target.h (struct target_ops) <to_teardown_btrace>: Add argument.
2763 * target.c (target_teardown_btrace): Add argument.
2764 * remote.c (remote_teardown_btrace): Add 'self' argument.
2765 * i386-linux-nat.c (i386_linux_teardown_btrace): Add 'self'
2767 * amd64-linux-nat.c (amd64_linux_teardown_btrace): Add 'self'
2770 2014-02-19 Tom Tromey <tromey@redhat.com>
2772 * target.h (struct target_ops) <to_disable_btrace>: Add argument.
2773 * target.c (target_disable_btrace): Add argument.
2774 * remote.c (remote_disable_btrace): Add 'self' argument.
2775 * i386-linux-nat.c (i386_linux_disable_btrace): Add 'self'
2777 * amd64-linux-nat.c (amd64_linux_disable_btrace): Add 'self'
2780 2014-02-19 Tom Tromey <tromey@redhat.com>
2782 * target.h (struct target_ops) <to_enable_btrace>: Add argument.
2783 * target.c (target_enable_btrace): Add argument.
2784 * remote.c (remote_enable_btrace): Add 'self' argument.
2785 * i386-linux-nat.c (i386_linux_enable_btrace): Add 'self'
2787 * amd64-linux-nat.c (amd64_linux_enable_btrace): Add 'self'
2790 2014-02-19 Tom Tromey <tromey@redhat.com>
2792 * target.h (struct target_ops) <to_can_use_agent>: Add argument.
2793 (target_can_use_agent): Add argument.
2794 * target.c (update_current_target): Update.
2795 * remote.c (remote_can_use_agent): Add 'self' argument.
2796 * inf-child.c (inf_child_can_use_agent): Add 'self' argument.
2798 2014-02-19 Tom Tromey <tromey@redhat.com>
2800 * target.h (struct target_ops) <to_use_agent>: Add argument.
2801 (target_use_agent): Add argument.
2802 * target.c (update_current_target): Update.
2803 * remote.c (remote_use_agent): Add 'self' argument.
2804 * inf-child.c (inf_child_use_agent): Add 'self' argument.
2806 2014-02-19 Tom Tromey <tromey@redhat.com>
2808 * tracepoint.c (tfile_traceframe_info): Add 'self' argument.
2809 * target.h (struct target_ops) <to_traceframe_info>: Add argument.
2810 (target_traceframe_info): Add argument.
2811 * target.c (update_current_target): Update.
2812 * remote.c (remote_traceframe_info): Add 'self' argument.
2813 * ctf.c (ctf_traceframe_info): Add 'self' argument.
2815 2014-02-19 Tom Tromey <tromey@redhat.com>
2817 * target.h (target_static_tracepoint_markers_by_strid): Add
2819 (struct target_ops) <to_static_tracepoint_markers_by_strid>: Add
2821 * target.c (update_current_target): Update.
2822 * remote.c (struct target_ops)
2823 <to_static_tracepoint_markers_by_strid>: Add 'self' argument.
2824 * linux-nat.c (struct target_ops)
2825 <to_static_tracepoint_markers_by_strid>: Add 'self' argument.
2827 2014-02-19 Tom Tromey <tromey@redhat.com>
2829 * target.h (struct target_ops) <to_static_tracepoint_marker_at>:
2831 (target_static_tracepoint_marker_at): Add argument.
2832 * target.c (update_current_target): Update.
2833 * remote.c (remote_static_tracepoint_marker_at): Add 'self'
2836 2014-02-19 Tom Tromey <tromey@redhat.com>
2838 * target.h (struct target_ops) <to_set_permissions>: Add argument.
2839 (target_set_permissions): Add argument.
2840 * target.c (update_current_target): Update.
2841 * remote.c (remote_set_permissions): Add 'self' argument.
2842 (remote_start_remote): Update.
2844 2014-02-19 Tom Tromey <tromey@redhat.com>
2846 * windows-nat.c (windows_get_tib_address): Add 'self' argument.
2847 * target.h (struct target_ops) <to_get_tib_address>: Add argument.
2848 (target_get_tib_address): Add argument.
2849 * target.c (update_current_target): Update.
2850 * remote.c (remote_get_tib_address): Add 'self' argument.
2852 2014-02-19 Tom Tromey <tromey@redhat.com>
2854 * target.h (struct target_ops) <to_set_trace_notes>: Add argument.
2855 (target_set_trace_notes): Add argument.
2856 * target.c (update_current_target): Update.
2857 * remote.c (remote_set_trace_notes): Add 'self' argument.
2859 2014-02-19 Tom Tromey <tromey@redhat.com>
2861 * target.h (struct target_ops) <to_set_trace_buffer_size>: Add
2863 (target_set_trace_buffer_size): Add argument.
2864 * target.c (update_current_target): Update.
2865 * remote.c (remote_set_trace_buffer_size): Add 'self' argument.
2867 2014-02-19 Tom Tromey <tromey@redhat.com>
2869 * target.h (struct target_ops) <to_set_circular_trace_buffer>: Add
2871 (target_set_circular_trace_buffer): Add argument.
2872 * target.c (update_current_target): Update.
2873 * remote.c (remote_set_circular_trace_buffer): Add 'self'
2876 2014-02-19 Tom Tromey <tromey@redhat.com>
2878 * target.h (struct target_ops) <to_set_disconnected_tracing>: Add
2880 (target_set_disconnected_tracing): Add argument.
2881 * target.c (update_current_target): Update.
2882 * remote.c (remote_set_disconnected_tracing): Add 'self' argument.
2884 2014-02-19 Tom Tromey <tromey@redhat.com>
2886 * target.h (struct target_ops)
2887 <to_get_min_fast_tracepoint_insn_len>: Add argument.
2888 (target_get_min_fast_tracepoint_insn_len): Add argument.
2889 * target.c (update_current_target): Update.
2890 * remote.c (remote_get_min_fast_tracepoint_insn_len): Add 'self'
2893 2014-02-19 Tom Tromey <tromey@redhat.com>
2895 * target.h (struct target_ops) <to_get_raw_trace_data>: Add
2897 (target_get_raw_trace_data): Add argument.
2898 * target.c (update_current_target): Update.
2899 * remote.c (remote_get_raw_trace_data): Add 'self' argument.
2901 2014-02-19 Tom Tromey <tromey@redhat.com>
2903 * target.h (struct target_ops) <to_upload_trace_state_variables>:
2905 (target_upload_trace_state_variables): Add argument.
2906 * target.c (update_current_target): Update.
2907 * remote.c (remote_upload_trace_state_variables): Add 'self'
2909 (remote_start_remote): Update.
2911 2014-02-19 Tom Tromey <tromey@redhat.com>
2913 * target.h (struct target_ops) <to_upload_tracepoints>: Add
2915 (target_upload_tracepoints): Add argument.
2916 * target.c (update_current_target): Update.
2917 * remote.c (remote_upload_tracepoints): Add 'self' argument.
2918 (remote_start_remote): Update.
2920 2014-02-19 Tom Tromey <tromey@redhat.com>
2922 * target.h (struct target_ops) <to_save_trace_data>: Add argument.
2923 (target_save_trace_data): Add argument.
2924 * target.c (update_current_target): Update.
2925 * remote.c (remote_save_trace_data): Add 'self' argument.
2927 2014-02-19 Tom Tromey <tromey@redhat.com>
2929 * tracepoint.c (tfile_get_trace_state_variable_value): Add 'self'
2931 * target.h (struct target_ops)
2932 <to_get_trace_state_variable_value>: Add argument.
2933 (target_get_trace_state_variable_value): Add argument.
2934 * target.c (update_current_target): Update.
2935 * remote.c (remote_get_trace_state_variable_value): Add 'self'
2937 * ctf.c (ctf_get_trace_state_variable_value): Add 'self' argument.
2939 2014-02-19 Tom Tromey <tromey@redhat.com>
2941 * tracepoint.c (tfile_trace_find): Add 'self' argument.
2942 * target.h (struct target_ops) <to_trace_find>: Add argument.
2943 (target_trace_find): Add argument.
2944 * target.c (update_current_target): Update.
2945 * remote.c (remote_trace_find): Add 'self' argument.
2946 * ctf.c (ctf_trace_find): Add 'self' argument.
2948 2014-02-19 Tom Tromey <tromey@redhat.com>
2950 * target.h (struct target_ops) <to_trace_stop>: Add argument.
2951 (target_trace_stop): Add argument.
2952 * target.c (update_current_target): Update.
2953 * remote.c (remote_trace_stop): Add 'self' argument.
2955 2014-02-19 Tom Tromey <tromey@redhat.com>
2957 * tracepoint.c (tfile_get_tracepoint_status): Add 'self' argument.
2958 * target.h (struct target_ops) <to_get_tracepoint_status>: Add
2960 (target_get_tracepoint_status): Add argument.
2961 * target.c (update_current_target): Update.
2962 * remote.c (remote_get_tracepoint_status): Add 'self' argument.
2964 2014-02-19 Tom Tromey <tromey@redhat.com>
2966 * tracepoint.c (tfile_get_trace_status): Add 'self' argument.
2967 * target.h (struct target_ops) <to_get_trace_status>: Add
2969 (target_get_trace_status): Add argument.
2970 * target.c (update_current_target): Update.
2971 * remote.c (remote_get_trace_status): Add 'self' argument.
2972 (remote_start_remote, remote_can_download_tracepoint): Update.
2973 * ctf.c (ctf_get_trace_status): Add 'self' argument.
2975 2014-02-19 Tom Tromey <tromey@redhat.com>
2977 * target.h (struct target_ops) <to_trace_start>: Add argument.
2978 (target_trace_start): Add argument.
2979 * target.c (update_current_target): Update.
2980 * remote.c (remote_trace_start): Add 'self' argument.
2982 2014-02-19 Tom Tromey <tromey@redhat.com>
2984 * target.h (struct target_ops) <to_trace_set_readonly_regions>:
2986 (target_trace_set_readonly_regions): Add argument.
2987 * target.c (update_current_target): Update.
2988 * remote.c (remote_trace_set_readonly_regions): Add 'self'
2991 2014-02-19 Tom Tromey <tromey@redhat.com>
2993 * target.h (struct target_ops) <to_disable_tracepoint>: Add
2995 (target_disable_tracepoint): Add argument.
2996 * target.c (update_current_target): Update.
2997 * remote.c (remote_disable_tracepoint): Add 'self' argument.
2999 2014-02-19 Tom Tromey <tromey@redhat.com>
3001 * target.h (struct target_ops) <to_enable_tracepoint>: Add
3003 (target_enable_tracepoint): Add argument.
3004 * target.c (update_current_target): Update.
3005 * remote.c (remote_enable_tracepoint): Add 'self' argument.
3007 2014-02-19 Tom Tromey <tromey@redhat.com>
3009 * target.h (struct target_ops) <to_download_trace_state_variable>:
3011 (target_download_trace_state_variable): Add argument.
3012 * target.c (update_current_target): Update.
3013 * remote.c (remote_download_trace_state_variable): Add 'self'
3016 2014-02-19 Tom Tromey <tromey@redhat.com>
3018 * target.h (struct target_ops) <to_can_download_tracepoint>: Add
3020 (target_can_download_tracepoint): Add argument.
3021 * target.c (update_current_target): Update.
3022 * remote.c (remote_can_download_tracepoint): Add 'self' argument.
3024 2014-02-19 Tom Tromey <tromey@redhat.com>
3026 * target.h (struct target_ops) <to_download_tracepoint>: Add
3028 (target_download_tracepoint): Add argument.
3029 * target.c (update_current_target): Update.
3030 * remote.c (remote_download_tracepoint): Add 'self' argument.
3032 2014-02-19 Tom Tromey <tromey@redhat.com>
3034 * target.h (struct target_ops) <to_trace_init>: Add argument.
3035 (target_trace_init): Add argument.
3036 * target.c (update_current_target): Update.
3037 * remote.c (remote_trace_init): Add 'self' argument.
3039 2014-02-19 Tom Tromey <tromey@redhat.com>
3041 * target.h (struct target_ops) <to_fileio_readlink>: Add argument.
3042 * target.c (target_fileio_readlink): Add argument.
3043 * remote.c (remote_hostio_readlink): Add 'self' argument.
3044 * inf-child.c (inf_child_fileio_readlink): Add 'self' argument.
3046 2014-02-19 Tom Tromey <tromey@redhat.com>
3048 * target.h (struct target_ops) <to_fileio_unlink>: Add argument.
3049 * target.c (target_fileio_unlink): Add argument.
3050 * remote.c (remote_hostio_unlink): Add 'self' argument.
3051 (remote_file_delete): Update.
3052 * inf-child.c (inf_child_fileio_unlink): Add 'self' argument.
3054 2014-02-19 Tom Tromey <tromey@redhat.com>
3056 * target.h (struct target_ops) <to_fileio_close>: Add argument.
3057 * target.c (target_fileio_close): Add argument.
3058 * remote.c (remote_hostio_close): Add 'self' argument.
3059 (remote_hostio_close_cleanup): Update.
3060 (remote_bfd_iovec_close, remote_file_put, remote_file_get):
3062 * inf-child.c (inf_child_fileio_close): Add 'self' argument.
3064 2014-02-19 Tom Tromey <tromey@redhat.com>
3066 * target.h (struct target_ops) <to_fileio_pread>: Add argument.
3067 * target.c (target_fileio_pread): Add argument.
3068 * remote.c (remote_hostio_pread): Add 'self' argument.
3069 (remote_bfd_iovec_pread, remote_file_get): Update.
3070 * inf-child.c (inf_child_fileio_pread): Add 'self' argument.
3072 2014-02-19 Tom Tromey <tromey@redhat.com>
3074 * target.h (struct target_ops) <to_fileio_pwrite>: Add argument.
3075 * target.c (target_fileio_pwrite): Add argument.
3076 * remote.c (remote_hostio_pwrite): Add 'self' argument.
3077 (remote_file_put): Update.
3078 * inf-child.c (inf_child_fileio_pwrite): Add 'self' argument.
3080 2014-02-19 Tom Tromey <tromey@redhat.com>
3082 * target.h (struct target_ops) <to_fileio_open>: Add argument.
3083 * target.c (target_fileio_open): Add argument.
3084 * remote.c (remote_hostio_open): Add 'self' argument.
3085 (remote_bfd_iovec_open): Add 'self' argument.
3086 (remote_file_put): Add 'self' argument.
3087 (remote_file_get): Add 'self' argument.
3088 * inf-child.c (inf_child_fileio_open): Add 'self' argument.
3090 2014-02-19 Tom Tromey <tromey@redhat.com>
3092 * target.h (struct target_ops) <to_can_run_breakpoint_commands>:
3094 (target_can_run_breakpoint_commands): Add argument.
3095 * target.c (update_current_target): Update.
3096 * remote.c (remote_can_run_breakpoint_commands): Add 'self'
3098 (remote_insert_breakpoint): Add 'self' argument.
3099 (remote_insert_hw_breakpoint): Add 'self' argument.
3100 (remote_can_run_breakpoint_commands): Add 'self' argument.
3102 2014-02-19 Tom Tromey <tromey@redhat.com>
3104 * target.h (struct target_ops)
3105 <to_supports_evaluation_of_breakpoint_conditions>: Add argument.
3106 (target_supports_evaluation_of_breakpoint_conditions): Add
3108 * target.c (update_current_target): Update.
3109 * remote.c (remote_supports_cond_breakpoints): Add 'self'
3111 (remote_insert_breakpoint): Add 'self' argument.
3112 (remote_insert_hw_breakpoint): Add 'self' argument.
3113 (remote_supports_cond_breakpoints): Add 'self' argument.
3115 2014-02-19 Tom Tromey <tromey@redhat.com>
3117 * target.h (struct target_ops) <to_supports_string_tracing>: Add
3119 (target_supports_string_tracing): Add argument.
3120 * target.c (update_current_target): Update.
3121 * remote.c (remote_supports_string_tracing): Add 'self' argument.
3123 2014-02-19 Tom Tromey <tromey@redhat.com>
3125 * target.h (struct target_ops)
3126 <to_supports_disable_randomization>: Add argument.
3127 * target.c (find_default_supports_disable_randomization): Add
3129 (target_supports_disable_randomization): Add argument.
3130 (find_default_supports_disable_randomization): Add 'self'
3132 * remote.c (extended_remote_supports_disable_randomization): Add
3134 (remote_supports_disable_randomization): Add 'self' argument.
3135 (extended_remote_create_inferior): Update.
3136 * linux-nat.c (linux_nat_supports_disable_randomization): Add
3139 2014-02-19 Tom Tromey <tromey@redhat.com>
3141 * target.h (struct target_ops)
3142 <to_supports_enable_disable_tracepoint>: Add argument.
3143 (target_supports_enable_disable_tracepoint): Add argument.
3144 * target.c (update_current_target): Update.
3145 * remote.c (remote_supports_enable_disable_tracepoint): Add 'self'
3148 2014-02-19 Tom Tromey <tromey@redhat.com>
3150 * target.h (struct target_ops) <to_supports_multi_process>: Add
3152 (target_supports_multi_process): Add argument.
3153 * target.c (update_current_target): Update.
3154 * remote.c (remote_supports_multi_process): Add 'self' argument.
3155 * linux-nat.c (linux_nat_supports_multi_process): Add 'self'
3157 * darwin-nat.c (darwin_supports_multi_process): Add 'self'
3160 2014-02-19 Tom Tromey <tromey@redhat.com>
3162 * target.h (struct target_ops) <to_execution_direction>: Add
3164 (target_execution_direction): Add argument.
3165 * target.c (default_execution_direction): Add 'self' argument.
3166 * record-full.c (record_full_execution_direction): Add 'self'
3169 2014-02-19 Tom Tromey <tromey@redhat.com>
3171 * target.h (struct target_ops) <to_can_execute_reverse>: Add
3173 (target_can_execute_reverse): Add argument.
3174 * remote.c (remote_can_execute_reverse): Add 'self' argument.
3175 * record-full.c (record_full_can_execute_reverse): Add 'self'
3177 * record-btrace.c (record_btrace_can_execute_reverse): Add 'self'
3180 2014-02-19 Tom Tromey <tromey@redhat.com>
3182 * windows-nat.c (windows_get_ada_task_ptid): Add 'self' argument.
3183 * target.h (struct target_ops) <to_get_ada_task_ptid>: Add
3185 (target_get_ada_task_ptid): Add argument.
3186 * target.c (update_current_target): Update.
3187 (default_get_ada_task_ptid): Add 'self' argument.
3188 * sol-thread.c (sol_get_ada_task_ptid): Add 'self' argument.
3189 * remote.c (remote_get_ada_task_ptid): Add 'self' argument.
3190 * ravenscar-thread.c (ravenscar_get_ada_task_ptid): Add 'self'
3192 * linux-thread-db.c (thread_db_get_ada_task_ptid): Add 'self'
3194 * inf-ttrace.c (inf_ttrace_get_ada_task_ptid): Add 'self'
3196 * dec-thread.c (dec_thread_get_ada_task_ptid): Add 'self'
3198 * darwin-nat.c (darwin_get_ada_task_ptid): Add 'self' argument.
3199 * aix-thread.c (aix_thread_get_ada_task_ptid): Add 'self'
3202 2014-02-19 Tom Tromey <tromey@redhat.com>
3204 * target.h (struct target_ops) <to_goto_bookmark>: Add argument.
3205 (target_goto_bookmark): Add argument.
3206 * target.c (dummy_goto_bookmark): Add 'self' argument.
3207 * record-full.c (record_full_goto_bookmark): Add 'self' argument.
3209 2014-02-19 Tom Tromey <tromey@redhat.com>
3211 * target.h (struct target_ops) <to_get_bookmark>: Add argument.
3212 (target_get_bookmark): Add argument.
3213 * target.c (dummy_get_bookmark): Add 'self' argument.
3214 * record-full.c (record_full_get_bookmark): Add 'self' argument.
3216 2014-02-19 Tom Tromey <tromey@redhat.com>
3218 * target.h (struct target_ops) <to_make_corefile_notes>: Add
3220 (target_make_corefile_notes): Add argument.
3221 * target.c (dummy_make_corefile_notes): Add 'self' argument.
3222 * procfs.c (procfs_make_note_section): Add 'self' argument.
3223 (procfs_make_note_section): Add 'self' argument.
3224 (procfs_make_note_section): Add 'self' argument.
3225 * linux-nat.c (linux_nat_make_corefile_notes): Add 'self'
3227 * fbsd-nat.h (fbsd_make_corefile_notes): Add 'self' argument.
3228 * fbsd-nat.c (fbsd_make_corefile_notes): Add 'self' argument.
3229 * exec.c (exec_make_note_section): Add 'self' argument.
3230 (exec_make_note_section): Add 'self' argument.
3232 2014-02-19 Tom Tromey <tromey@redhat.com>
3234 * target.h (struct target_ops) <to_find_memory_regions>: Add
3236 (target_find_memory_regions): Add argument.
3237 * target.c (dummy_find_memory_regions): Add 'self' argument.
3238 * procfs.c (proc_find_memory_regions): Add 'self' argument.
3239 * gnu-nat.c (gnu_find_memory_regions): Add 'self' argument.
3240 * fbsd-nat.h (fbsd_find_memory_regions): Add 'self' argument.
3241 * fbsd-nat.c (fbsd_find_memory_regions): Add 'self' argument.
3242 * exec. (exec_do_find_memory_regions): New global.
3243 (exec_set_find_memory_regions): Rewrite.
3244 (exec_find_memory_regions): New function.
3245 (init_exec_ops): Use exec_find_memory_regions.
3247 2014-02-19 Tom Tromey <tromey@redhat.com>
3249 * target.h (struct target_ops) <to_supports_non_stop>: Add
3251 * target.c (find_default_supports_non_stop): Add argument.
3252 (target_supports_non_stop): Add argument.
3253 (find_default_supports_non_stop): Add 'self' argument.
3254 * remote.c (remote_supports_non_stop): Add 'self' argument.
3255 * linux-nat.c (linux_nat_supports_non_stop): Add 'self' argument.
3257 2014-02-19 Tom Tromey <tromey@redhat.com>
3259 * target.h (struct target_ops) <to_log_command>: Add argument.
3260 (target_log_command): Add argument.
3261 * serial.h (serial_log_command): Add 'self' argument.
3262 * serial.c (serial_log_command): Add 'self' argument.
3264 2014-02-19 Tom Tromey <tromey@redhat.com>
3266 * windows-nat.c (windows_pid_to_exec_file): Add 'self' argument.
3267 * target.h (struct target_ops) <to_pid_to_exec_file>: Add
3269 (target_pid_to_exec_file): Add argument.
3270 * target.c (debug_to_pid_to_exec_file): Add argument.
3271 (update_current_target): Update.
3272 * nbsd-nat.h (nbsd_pid_to_exec_file): Add 'self' argument.
3273 * nbsd-nat.c (nbsd_pid_to_exec_file): Add 'self' argument.
3274 * linux-nat.c (linux_child_pid_to_exec_file): Add 'self' argument.
3275 (linux_handle_extended_wait): Update.
3276 * inf-child.c (inf_child_pid_to_exec_file): Add 'self' argument.
3277 * fbsd-nat.h (fbsd_pid_to_exec_file): Add 'self' argument.
3278 * fbsd-nat.c (fbsd_pid_to_exec_file): Add 'self' argument.
3279 * darwin-nat.c (darwin_pid_to_exec_file): Add 'self' argument.
3281 2014-02-19 Tom Tromey <tromey@redhat.com>
3283 * target.h (struct target_ops) <to_rcmd>: Add argument.
3284 (target_rcmd): Add argument.
3285 * target.c (debug_to_rcmd): Add argument.
3286 (update_current_target, do_monitor_command): Update.
3287 * remote.c (remote_rcmd): Add 'self' argument.
3288 * monitor.c (monitor_rcmd): Add 'self' argument.
3290 2014-02-19 Tom Tromey <tromey@redhat.com>
3292 * windows-nat.c (windows_stop): Add 'self' argument.
3293 * target.h (struct target_ops) <to_stop>: Add argument.
3294 * target.c (target_stop): Add argument.
3295 (debug_to_stop): Add argument.
3296 (update_current_target): Update.
3297 * remote.c (remote_stop): Add 'self' argument.
3298 * remote-sim.c (gdbsim_stop): Add 'self' argument.
3299 (gdbsim_cntrl_c): Update.
3300 * remote-m32r-sdi.c (m32r_stop): Add 'self' argument.
3301 * procfs.c (procfs_stop): Add 'self' argument.
3302 * nto-procfs.c (procfs_stop): Add 'self' argument.
3303 * monitor.c (monitor_stop): Add 'self' argument.
3304 (monitor_open): Update.
3305 * linux-nat.c (linux_nat_stop): Add argument.
3306 * inf-ptrace.c (inf_ptrace_stop): Add 'self' argument.
3307 * gnu-nat.c (gnu_stop): Add 'self' argument.
3308 * darwin-nat.c (darwin_stop): Add 'self' argument.
3310 2014-02-19 Tom Tromey <tromey@redhat.com>
3312 * target.h (struct target_ops) <to_thread_name>: Add argument.
3313 * target.c (target_thread_name): Add argument.
3314 (update_current_target): Update.
3315 * linux-nat.c (linux_nat_thread_name): Add 'self' argument.
3317 2014-02-19 Tom Tromey <tromey@redhat.com>
3319 * target.h (struct target_ops) <to_extra_thread_info>: Add
3321 (target_extra_thread_info): Add argument.
3322 * target.c (update_current_target): Update.
3323 * remote.c (remote_threads_extra_info): Add 'self' argument.
3324 * ravenscar-thread.c (ravenscar_extra_thread_info): Add 'self'
3326 * nto-tdep.h (nto_extra_thread_info): Add 'self' argument.
3327 * nto-tdep.c (nto_extra_thread_info): Add 'self' argument.
3328 * linux-thread-db.c (thread_db_extra_thread_info): Add 'self'
3330 * inf-ttrace.c (inf_ttrace_extra_thread_info): Add 'self'
3332 * bsd-uthread.c (bsd_uthread_extra_thread_info): Add 'self'
3334 * aix-thread.c (aix_thread_extra_thread_info): Add 'self'
3337 2014-02-19 Tom Tromey <tromey@redhat.com>
3339 * target.h (struct target_ops) <to_program_signals>: Add argument.
3340 * target.c (target_program_signals): Add argument.
3341 * remote.c (remote_program_signals): Add 'self' argument.
3343 2014-02-19 Tom Tromey <tromey@redhat.com>
3345 * target.h (struct target_ops) <to_pass_signals>: Add argument.
3346 * target.c (target_pass_signals): Add argument.
3347 * remote.c (remote_pass_signals): Add 'self' argument.
3348 (remote_start_remote): Update.
3349 * procfs.c (procfs_pass_signals): Add 'self' argument.
3350 * nto-procfs.c (procfs_pass_signals): Add 'self' argument.
3351 * linux-nat.c (linux_nat_pass_signals): Add 'self' argument.
3352 (linux_nat_create_inferior, linux_nat_attach): Update.
3354 2014-02-19 Tom Tromey <tromey@redhat.com>
3356 * windows-nat.c (windows_can_run): Add 'self' argument.
3357 * target.h (struct target_ops) <to_can_run>: Add argument.
3358 (target_can_run): Add argument.
3359 * target.c (debug_to_can_run): Add argument.
3360 (update_current_target): Update.
3361 * nto-procfs.c (procfs_can_run): Add 'self' argument.
3362 * inf-child.c (inf_child_can_run): Add 'self' argument.
3363 * go32-nat.c (go32_can_run): Add 'self' argument.
3365 2014-02-19 Tom Tromey <tromey@redhat.com>
3367 * target.h (struct target_ops) <to_has_exited>: Add argument.
3368 (target_has_exited): Add argument.
3369 * target.c (debug_to_has_exited): Add argument.
3370 (update_current_target): Update.
3372 2014-02-19 Tom Tromey <tromey@redhat.com>
3374 * target.h (struct target_ops) <to_set_syscall_catchpoint>: Add
3376 (target_set_syscall_catchpoint): Add argument.
3377 * linux-nat.c (linux_child_set_syscall_catchpoint): Add 'self'
3379 * target.c (update_current_target): Update.
3381 2014-02-19 Tom Tromey <tromey@redhat.com>
3383 * target.h (struct target_ops) <to_remove_exec_catchpoint>: Add
3385 (target_remove_exec_catchpoint): Add argument.
3386 * target.c (debug_to_remove_exec_catchpoint): Add argument.
3387 (update_current_target): Update.
3388 * linux-nat.c (linux_child_remove_exec_catchpoint): Add 'self'
3391 2014-02-19 Tom Tromey <tromey@redhat.com>
3393 * target.h (struct target_ops) <to_insert_exec_catchpoint>: Add
3395 (target_insert_exec_catchpoint): Add argument.
3396 * target.c (debug_to_insert_exec_catchpoint): Add argument.
3397 (update_current_target): Update.
3398 * linux-nat.c (linux_child_insert_exec_catchpoint): Add 'self'
3401 2014-02-19 Tom Tromey <tromey@redhat.com>
3403 * target.h (struct target_ops) <to_remove_vfork_catchpoint>: Add
3405 (target_remove_vfork_catchpoint): Add argument.
3406 * target.c (debug_to_remove_vfork_catchpoint): Add argument.
3407 (update_current_target): Update.
3408 * linux-nat.c (linux_child_remove_vfork_catchpoint): Add 'self'
3411 2014-02-19 Tom Tromey <tromey@redhat.com>
3413 * target.h (struct target_ops) <to_insert_vfork_catchpoint>: Add
3415 (target_insert_vfork_catchpoint): Add argument.
3416 * target.c (debug_to_insert_vfork_catchpoint): Add argument.
3417 (update_current_target): Update.
3418 * linux-nat.c (linux_child_insert_vfork_catchpoint): Add 'self'
3421 2014-02-19 Tom Tromey <tromey@redhat.com>
3423 * target.h (struct target_ops) <to_remove_fork_catchpoint>: Add
3425 (target_remove_fork_catchpoint): Add argument.
3426 * target.c (debug_to_remove_fork_catchpoint): Add argument.
3427 (update_current_target): Update.
3428 * linux-nat.c (linux_child_remove_fork_catchpoint): Add 'self'
3431 2014-02-19 Tom Tromey <tromey@redhat.com>
3433 * target.h (struct target_ops) <to_insert_fork_catchpoint>: Add
3435 (target_insert_fork_catchpoint): Add argument.
3436 * target.c (debug_to_insert_fork_catchpoint): Add argument.
3437 (update_current_target): Update.
3438 * linux-nat.c (linux_child_insert_fork_catchpoint): Add 'self'
3441 2014-02-19 Tom Tromey <tromey@redhat.com>
3443 * target.h (struct target_ops) <to_post_startup_inferior>: Add
3445 (target_post_startup_inferior): Add argument.
3446 * target.c (debug_to_post_startup_inferior): Add argument.
3447 (update_current_target): Update.
3448 * spu-linux-nat.c (spu_child_post_startup_inferior): Add 'self'
3450 * linux-nat.c (linux_child_post_startup_inferior): Add 'self'
3452 * inf-ptrace.c (inf_ptrace_post_startup_inferior): Add 'self'
3454 * inf-child.c (inf_child_post_startup_inferior): Add 'self'
3456 * i386-linux-nat.c (i386_linux_child_post_startup_inferior): Add
3458 (super_post_startup_inferior): Likewise.
3459 * amd64-linux-nat.c (amd64_linux_child_post_startup_inferior): Add
3461 (super_post_startup_inferior): Likewise.
3462 * aarch64-linux-nat.c (aarch64_linux_child_post_startup_inferior):
3463 Add 'self' argument.
3464 (super_post_startup_inferior): Likewise.
3466 2014-02-19 Tom Tromey <tromey@redhat.com>
3468 * target.h (struct target_ops) <to_load>: Add argument.
3469 * target.c (target_load): Add argument.
3470 (debug_to_load): Add argument.
3471 (update_current_target): Update.
3472 * remote.c (remote_load): Add 'self' argument.
3473 * remote-sim.c (gdbsim_load): Add 'self' argument.
3474 * remote-mips.c (mips_load): Add 'self' argument.
3475 * remote-m32r-sdi.c (m32r_load): Add 'self' argument.
3476 * monitor.c (monitor_load): Add 'self' argument.
3477 * m32r-rom.c (m32r_load_gen): Add 'self' argument.
3479 2014-02-19 Tom Tromey <tromey@redhat.com>
3481 * target.h (struct target_ops) <to_terminal_info>: Add argument.
3482 (target_terminal_info): Add argument.
3483 * target.c (debug_to_terminal_info): Add argument.
3484 (default_terminal_info): Likewise.
3485 * inflow.c (child_terminal_info): Add 'self' argument.
3486 * inferior.h (child_terminal_info): Add 'self' argument.
3487 * go32-nat.c (go32_terminal_info): Add 'self' argument.
3489 2014-02-19 Tom Tromey <tromey@redhat.com>
3491 * target.h (struct target_ops) <to_terminal_save_ours>: Add
3493 (target_terminal_save_ours): Add argument.
3494 * target.c (debug_to_terminal_save_ours): Add argument.
3495 (update_current_target): Update.
3496 * inflow.c (terminal_save_ours): Add 'self' argument.
3497 * inferior.h (terminal_save_ours): Add 'self' argument.
3499 2014-02-19 Tom Tromey <tromey@redhat.com>
3501 * target.h (struct target_ops) <to_terminal_ours>: Add argument.
3502 (target_terminal_ours): Add argument.
3503 * target.c (debug_to_terminal_ours): Add argument.
3504 (update_current_target): Update.
3505 * remote.c (remote_terminal_ours): Add 'self' argument.
3506 (remote_close): Update.
3507 * linux-nat.c (linux_nat_terminal_ours): Add 'self' argument.
3508 * inflow.c (terminal_ours): Add 'self' argument.
3509 * inferior.h (terminal_ours): Add 'self' argument.
3510 * go32-nat.c (go32_terminal_ours): Add 'self' argument.
3512 2014-02-19 Pedro Alves <palves@redhat.com>
3513 Tom Tromey <tromey@redhat.com>
3515 * target.h (struct target_ops) <to_terminal_ours_for_output>: Add
3517 (target_terminal_ours_for_output): Add argument.
3518 * target.c (debug_to_terminal_ours_for_output): Add argument.
3519 (update_current_target): Update.
3520 * inflow.c (terminal_ours_for_output): Add 'self' argument.
3521 * inferior.h (terminal_ours_for_output): Add 'self' argument.
3522 * go32-nat.c (go32_terminal_ours): Add 'self' argument.
3524 2014-02-19 Tom Tromey <tromey@redhat.com>
3526 * target.h (struct target_ops) <to_terminal_inferior>: Add
3528 * target.c (target_terminal_inferior): Add argument.
3529 (update_current_target): Update.
3530 * remote.c (remote_terminal_inferior): Add 'self' argument.
3531 * linux-nat.c (linux_nat_terminal_inferior): Add 'self' argument.
3532 * inflow.c (terminal_inferior): Add 'self' argument.
3533 * inferior.h (terminal_inferior): Add 'self' argument.
3534 * go32-nat.c (go32_terminal_inferior): Add 'self' argument.
3535 (go32_terminal_inferior): Add 'self' argument.
3537 2014-02-19 Tom Tromey <tromey@redhat.com>
3539 * target.h (struct target_ops) <to_terminal_init>: Add argument.
3540 (target_terminal_init): Add argument.
3541 * target.c (debug_to_terminal_init): Add argument.
3542 (update_current_target): Update.
3543 * inflow.c (terminal_init_inferior): Add 'self' argument.
3544 * inferior.h (terminal_init_inferior): Add 'self' argument.
3545 * go32-nat.c (go32_terminal_init): Add 'self' argument.
3546 * gnu-nat.c (gnu_terminal_init_inferior): Add 'self' argument.
3548 2014-02-19 Tom Tromey <tromey@redhat.com>
3550 * target.h (struct target_ops)
3551 <to_can_accel_watchpoint_condition>: Add argument.
3552 (target_can_accel_watchpoint_condition): Add argument.
3553 * target.c (debug_to_can_accel_watchpoint_condition): Add
3555 (update_current_target): Update.
3556 * ppc-linux-nat.c (ppc_linux_can_accel_watchpoint_condition): Add
3559 2014-02-19 Tom Tromey <tromey@redhat.com>
3561 * target.h (struct target_ops) <to_region_ok_for_hw_watchpoint>:
3563 (target_region_ok_for_hw_watchpoint): Add argument.
3564 * target.c (debug_to_region_ok_for_hw_watchpoint): Add argument.
3565 (default_region_ok_for_hw_watchpoint): Add argument.
3566 * spu-multiarch.c (spu_region_ok_for_hw_watchpoint): Add argument.
3567 * s390-linux-nat.c (s390_region_ok_for_hw_watchpoint): Add 'self'
3569 * remote.c (remote_region_ok_for_hw_watchpoint): Add 'self'
3571 * procfs.c (procfs_region_ok_for_hw_watchpoint): Add 'self'
3573 * ppc-linux-nat.c (ppc_linux_region_ok_for_hw_watchpoint): Add
3575 * mips-linux-nat.c (mips_linux_region_ok_for_hw_watchpoint): Add
3577 * inf-ttrace.c (inf_ttrace_region_ok_for_hw_watchpoint): Add
3579 * i386-nat.c (i386_region_ok_for_watchpoint): Add 'self' argument.
3580 * arm-linux-nat.c (arm_linux_region_ok_for_hw_watchpoint): Add
3582 * aarch64-linux-nat.c (aarch64_linux_region_ok_for_hw_watchpoint):
3583 Add 'self' argument.
3585 2014-02-19 Tom Tromey <tromey@redhat.com>
3587 * target.h (struct target_ops) <to_insert_watchpoint>: Add
3589 (target_insert_watchpoint): Add argument.
3590 * target.c (debug_to_insert_watchpoint): Add argument.
3591 (update_current_target): Update.
3592 * s390-linux-nat.c (s390_insert_watchpoint): Add 'self' argument.
3593 * remote.c (remote_insert_watchpoint): Add 'self' argument.
3594 * remote-mips.c (mips_insert_watchpoint): Add 'self' argument.
3595 * remote-m32r-sdi.c (m32r_insert_watchpoint): Add 'self' argument.
3596 * procfs.c (procfs_insert_watchpoint): Add 'self' argument.
3597 * ppc-linux-nat.c (ppc_linux_insert_watchpoint): Add 'self'
3599 * nto-procfs.c (procfs_insert_hw_watchpoint): Add 'self' argument.
3600 (procfs_insert_hw_watchpoint): Add 'self' argument.
3601 * mips-linux-nat.c (mips_linux_insert_watchpoint): Add 'self'
3603 * inf-ttrace.c (inf_ttrace_insert_watchpoint): Add 'self'
3605 * ia64-linux-nat.c (ia64_linux_insert_watchpoint): Add 'self'
3607 * i386-nat.c (i386_insert_watchpoint): Add 'self' argument.
3608 * arm-linux-nat.c (arm_linux_insert_watchpoint): Add 'self'
3610 * aarch64-linux-nat.c (aarch64_linux_insert_watchpoint): Add
3613 2014-02-19 Tom Tromey <tromey@redhat.com>
3615 * target.h (struct target_ops) <to_remove_watchpoint>: Add
3617 (target_remove_watchpoint): Add argument.
3618 * target.c (debug_to_remove_watchpoint): Add argument.
3619 (update_current_target): Update.
3620 * s390-linux-nat.c (s390_remove_watchpoint): Add 'self' argument.
3621 * remote.c (remote_remove_watchpoint): Add 'self' argument.
3622 * remote-mips.c (mips_remove_watchpoint): Add 'self' argument.
3623 * remote-m32r-sdi.c (m32r_remove_watchpoint): Add 'self' argument.
3624 * procfs.c (procfs_remove_watchpoint): Add 'self' argument.
3625 * ppc-linux-nat.c (ppc_linux_remove_watchpoint): Add 'self'
3627 * nto-procfs.c (procfs_remove_hw_watchpoint): Add 'self' argument.
3628 * mips-linux-nat.c (mips_linux_remove_watchpoint): Add 'self'
3630 * inf-ttrace.c (inf_ttrace_remove_watchpoint): Add 'self'
3632 * ia64-linux-nat.c (ia64_linux_remove_watchpoint): Add 'self'
3634 * i386-nat.c (i386_remove_watchpoint): Add 'self' argument.
3635 * arm-linux-nat.c (arm_linux_remove_watchpoint): Add 'self'
3637 * aarch64-linux-nat.c (aarch64_linux_remove_watchpoint): Add
3640 2014-02-19 Tom Tromey <tromey@redhat.com>
3642 * target.h (struct target_ops) <to_remove_hw_breakpoint>: Add
3644 (target_remove_hw_breakpoint): Add argument.
3645 * target.c (debug_to_remove_hw_breakpoint): Add argument.
3646 (update_current_target): Update.
3647 * remote.c (remote_remove_hw_breakpoint): Add 'self' argument.
3648 * ppc-linux-nat.c (ppc_linux_remove_hw_breakpoint): Add 'self'
3650 * i386-nat.c (i386_remove_hw_breakpoint): Add 'self' argument.
3651 * arm-linux-nat.c (arm_linux_remove_hw_breakpoint): Add 'self'
3653 * aarch64-linux-nat.c (aarch64_linux_remove_hw_breakpoint): Add
3656 2014-02-19 Tom Tromey <tromey@redhat.com>
3658 * target.h (struct target_ops) <to_insert_hw_breakpoint>: Add
3660 (target_insert_hw_breakpoint): Add argument.
3661 * target.c (debug_to_insert_hw_breakpoint): Add argument.
3662 (update_current_target): Update.
3663 * remote.c (remote_insert_hw_breakpoint): Add 'self' argument.
3664 * ppc-linux-nat.c (ppc_linux_insert_hw_breakpoint): Add 'self'
3666 * nto-procfs.c (procfs_insert_hw_breakpoint): Add 'self' argument.
3667 * i386-nat.c (i386_insert_hw_breakpoint): Add 'self' argument.
3668 * arm-linux-nat.c (arm_linux_insert_hw_breakpoint): Add 'self'
3670 * aarch64-linux-nat.c (aarch64_linux_insert_hw_breakpoint): Add
3673 2014-02-19 Tom Tromey <tromey@redhat.com>
3675 * target.h (struct target_ops) <to_can_use_hw_breakpoint>: Add
3677 (target_can_use_hardware_watchpoint): Add argument.
3678 * target.c (debug_to_can_use_hw_breakpoint): Add argument.
3679 (update_current_target): Update.
3680 * spu-linux-nat.c (spu_can_use_hw_breakpoint): Add 'self'
3682 * s390-linux-nat.c (s390_can_use_hw_breakpoint): Add 'self'
3684 * remote.c (remote_check_watch_resources): Add 'self' argument.
3685 * remote-mips.c (mips_can_use_watchpoint): Add 'self' argument.
3686 * remote-m32r-sdi.c (m32r_can_use_hw_watchpoint): Add 'self'
3688 * procfs.c (procfs_can_use_hw_breakpoint): Add 'self' argument.
3689 * ppc-linux-nat.c (ppc_linux_can_use_hw_breakpoint): Add 'self'
3691 * nto-procfs.c (procfs_can_use_hw_breakpoint): Add 'self'
3693 * mips-linux-nat.c (mips_linux_can_use_hw_breakpoint): Add 'self'
3695 * inf-ttrace.c (inf_ttrace_can_use_hw_breakpoint): Add 'self'
3697 * ia64-linux-nat.c (ia64_linux_can_use_hw_breakpoint): Add 'self'
3699 * ia64-hpux-nat.c (ia64_hpux_can_use_hw_breakpoint): Add 'self'
3701 * i386-nat.c (i386_can_use_hw_breakpoint): Add 'self' argument.
3702 * arm-linux-nat.c (arm_linux_can_use_hw_breakpoint): Add 'self'
3704 * aarch64-linux-nat.c (aarch64_linux_can_use_hw_breakpoint): Add
3707 2014-02-19 Tom Tromey <tromey@redhat.com>
3709 * target.h (struct target_ops) <to_post_attach>: Add argument.
3710 (target_post_attach): Add argument.
3711 * target.c (debug_to_post_attach): Add argument.
3712 (update_current_target): Update.
3713 * spu-linux-nat.c (spu_child_post_attach): Add 'self' argument.
3714 * nto-procfs.c (procfs_post_attach): Add 'self' argument.
3715 * linux-nat.c (linux_child_post_attach): Add 'self' argument.
3716 * inf-ptrace.c (inf_ptrace_post_attach): Add 'self' argument.
3717 * inf-child.c (inf_child_post_attach): Add 'self' argument.
3719 2014-02-19 Tom Tromey <tromey@redhat.com>
3721 * windows-nat.c (windows_close): Add 'self' argument.
3722 * tracepoint.c (tfile_close): Add 'self' argument.
3723 * target.h (struct target_ops) <to_close>: Add argument.
3724 * target.c (target_close): Add argument.
3725 (update_current_target): Update.
3726 * remote.c (remote_close): Add 'self' argument.
3727 * remote-sim.c (gdbsim_close): Add 'self' argument.
3728 * remote-mips.c (mips_close): Add 'self' argument.
3729 * remote-m32r-sdi.c (m32r_close): Add 'self' argument.
3730 * record-full.c (record_full_close): Add 'self' argument.
3731 * record-btrace.c (record_btrace_close): Add 'self' argument.
3732 * monitor.h (monitor_close): Add 'self' argument.
3733 * monitor.c (monitor_close): Add 'self' argument.
3734 * mips-linux-nat.c (mips_linux_close): Add 'self' argument.
3735 * linux-nat.c (linux_nat_close): Add argument.
3736 * go32-nat.c (go32_close): Add 'self' argument.
3737 * exec.c (exec_close_1): Add 'self' argument.
3738 * ctf.c (ctf_close): Add 'self' argument.
3739 * corelow.c (core_close): Add 'self' argument.
3740 (core_close_cleanup): Update.
3741 * bsd-uthread.c (bsd_uthread_close): Add 'self' argument.
3742 * bsd-kvm.c (bsd_kvm_close): Add 'self' argument.
3744 2014-02-19 Tom Tromey <tromey@redhat.com>
3746 * remote.c (remote_load): New function.
3747 (init_remote_ops): Use it.
3749 2014-02-19 Tom Tromey <tromey@redhat.com>
3751 * common/linux-btrace.c (linux_supports_btrace): Add "ops"
3753 * common/linux-btrace.h (linux_supports_btrace): Update.
3754 * remote.c (remote_supports_btrace): Add "self" argument.
3755 * target-delegates.c: Rebuild.
3756 * target.c (target_supports_btrace): Remove.
3757 * target.h (struct target_ops) <to_supports_btrace>: Add
3758 target_ops argument.
3759 (target_supports_btrace): New define.
3761 2014-02-19 Tom Tromey <tromey@redhat.com>
3763 * record-full.c (record_full_beneath_to_resume_ops)
3764 (record_full_beneath_to_resume, record_full_beneath_to_wait_ops)
3765 (record_full_beneath_to_wait)
3766 (record_full_beneath_to_store_registers_ops)
3767 (record_full_beneath_to_store_registers)
3768 (record_full_beneath_to_xfer_partial_ops)
3769 (record_full_beneath_to_xfer_partial)
3770 (record_full_beneath_to_insert_breakpoint_ops)
3771 (record_full_beneath_to_insert_breakpoint)
3772 (record_full_beneath_to_remove_breakpoint_ops)
3773 (record_full_beneath_to_remove_breakpoint)
3774 (record_full_beneath_to_stopped_by_watchpoint)
3775 (record_full_beneath_to_stopped_data_address)
3776 (record_full_beneath_to_async, tmp_to_resume_ops, tmp_to_resume)
3777 (tmp_to_wait_ops, tmp_to_wait, tmp_to_store_registers_ops)
3778 (tmp_to_store_registers, tmp_to_xfer_partial_ops)
3779 (tmp_to_xfer_partial, tmp_to_instmp_to_insert_breakpoint_ops)
3780 (tmp_to_insert_breakpoint, tmp_to_remove_breakpoint_ops)
3781 (tmp_to_remove_breakpoint, tmp_to_stopped_by_watchpoint)
3782 (tmp_to_stopped_data_address, tmp_to_async): Remove.
3783 (record_full_open_1, record_full_open): Update. Use RECORD_IS_USED.
3784 (record_full_resume, record_full_wait_1)
3785 (record_full_stopped_by_watchpoint, record_full_stopped_data_address)
3786 (record_full_store_registers, record_full_xfer_partial)
3787 (record_full_insert_breakpoint, record_full_remove_breakpoint)
3788 (record_full_async, record_full_core_xfer_partial): Use target
3790 * target-delegates.c: Rebuild.
3791 * target.c (current_xfer_partial): Remove.
3792 (update_current_target): Do not INHERIT or de_fault
3793 to_insert_breakpoint, to_remove_breakpoint,
3794 to_stopped_data_address, to_stopped_by_watchpoint, to_can_async_p,
3795 to_is_async_p, to_async. Do not set to_xfer_partial field.
3796 (default_xfer_partial): Simplify.
3797 (current_xfer_partial): Remove.
3798 (target_wait, target_resume): Simplify.
3799 (find_default_can_async_p, find_default_is_async_p): Update.
3800 (init_dummy_target): Don't set to_can_async_p, to_is_async_p,
3801 to_xfer_partial, to_stopped_by_watchpoint,
3802 to_stopped_data_address.
3803 (target_store_registers): Simplify.
3804 (forward_target_remove_breakpoint)
3805 (forward_target_insert_breakpoint): Remove.
3806 (target_remove_breakpoint, target_insert_breakpoint)
3807 (debug_to_insert_breakpoint, debug_to_remove_breakpoint): Update.
3808 * target.h (struct target_ops) <to_resume, to_wait,
3809 to_store_registers, to_insert_breakpoint, to_remove_breakpoint,
3810 to_stopped_by_watchpoint, to_stopped_data_address, to_can_async_p,
3811 to_is_async_p, to_async, to_xfer_partial>: Add TARGET_DEFAULT
3813 (forward_target_remove_breakpoint)
3814 (forward_target_insert_breakpoint): Remove.
3815 * record-btrace.c (record_btrace_remove_breakpoint): Delegate
3817 (record_btrace_insert_breakpoint): Delegate directly.
3819 2014-02-19 Tom Tromey <tromey@redhat.com>
3822 * target-delegates.c: New file.
3823 * target.c: Include target-delegates.c.
3824 (init_dummy_target): Call install_dummy_methods.
3825 (complete_target_initialization): Call install_delegators.
3826 * target.h (TARGET_DEFAULT_IGNORE, TARGET_DEFAULT_NORETURN)
3827 (TARGET_DEFAULT_RETURN, TARGET_DEFAULT_FUNC): New defines.
3828 * make-target-delegates: New file.
3830 2014-02-19 Tom Tromey <tromey@redhat.com>
3832 * record.c (find_record_target): Use find_target_at.
3833 * target.c (find_target_at): New function.
3834 * target.h (find_target_at): Declare.
3836 2014-02-19 Tom Tromey <tromey@redhat.com>
3838 * aarch64-linux-nat.c (aarch64_linux_stopped_by_watchpoint):
3840 * arm-linux-nat.c (arm_linux_stopped_by_watchpoint): Add
3842 * i386-nat.c (i386_stopped_by_watchpoint): Add 'ops' argument.
3843 * ia64-linux-nat.c (ia64_linux_stopped_by_watchpoint): Add
3845 * inf-ttrace.c (inf_ttrace_stopped_by_watchpoint): Add 'ops'
3847 * linux-nat.c (save_sigtrap): Update.
3848 (linux_nat_stopped_by_watchpoint, linux_nat_is_async_p)
3849 (linux_nat_can_async_p, linux_nat_async): Add 'ops' argument.
3850 (linux_nat_close): Update.
3851 * mips-linux-nat.c (mips_linux_stopped_by_watchpoint): Add 'ops'
3853 * ppc-linux-nat.c (ppc_linux_stopped_by_watchpoint): Add 'ops'
3855 * procfs.c (procfs_stopped_by_watchpoint): Add 'ops' argument.
3856 * record-full.c (record_full_beneath_to_stopped_by_watchpoint)
3857 (record_full_beneath_to_async, tmp_to_stopped_by_watchpoint)
3858 (tmp_to_async): Add 'ops' argument.
3859 (record_full_stopped_by_watchpoint, record_full_async)
3860 (record_full_can_async_p, record_full_is_async_p): Add 'ops'
3862 * remote-m32r-sdi.c (m32r_insert_breakpoint, m32r_remove_breakpoint)
3863 (m32r_stopped_by_watchpoint): Add 'ops' argument.
3864 * remote-mips.c (mips_stopped_by_watchpoint): Add 'ops' argument.
3865 * remote.c (remote_stopped_by_watchpoint_p, remote_can_async_p)
3866 (remote_is_async_p, remote_async): Add 'ops' argument.
3867 (remote_stopped_data_address): Update.
3868 * s390-nat.c (s390_stopped_by_watchpoint): Add 'ops' argument.
3869 * target.c (update_current_target)
3870 (find_default_can_async_p, find_default_is_async_p): Update.
3871 (init_dummy_target): Update.
3872 (debug_to_stopped_by_watchpoint): Add 'ops' argument.
3873 * target.h (struct target_ops) <to_stopped_by_watchpoint,
3874 to_can_async_p, to_is_async_p, to_async>: Add 'ops' argument.
3875 (target_can_async_p, target_is_async_p, target_async)
3876 (target_stopped_by_watchpoint): Update.
3878 2014-02-19 Yao Qi <yao@codesourcery.com>
3881 * gdbarch.sh: Remove startup_gdbarch.
3882 * gdbarch.c: Regenerated.
3883 * gdbarch.h: Likewise.
3885 2014-02-17 Kevin Buettner <kevinb@redhat.com>
3887 * rl78-tdep.c (rl78_g10_register_name): New function.
3888 (rl78_return_value): Add g10 support.
3889 (rl78_gdbarch_init): Register rl78_g10_register_name for the
3892 2014-02-17 Doug Evans <xdje42@gmail.com>
3894 * Makefile.in (SUBDIR_GUILE_OBS): Resort alphabetically.
3895 (SUBDIR_GUILE_SRCS): Ditto.
3896 (scm-gsmob.o): Ditto.
3898 2014-02-17 Yao Qi <yao@codesourcery.com>
3900 * gnu-nat.c (ILL_RPC): Declare defined function.
3902 2014-02-17 Yao Qi <yao@codesourcery.com>
3904 * gnu-nat.c (gnu_read_inferior): Change 'copy_count' type to
3905 mach_msg_type_number_t.
3906 (gnu_write_inferior): Likewise.
3908 2014-02-17 Yao Qi <yao@codesourcery.com>
3910 * gnu-nat.c (proc_get_exception_port): Use 'lu' insetad of 'd'
3912 (proc_steal_exc_port, make_proc, inf_set_pid): Likewise.
3913 (inf_validate_procs, inf_signal): Likewise.
3914 (S_exception_raise_request): Likewise.
3915 (do_mach_notify_dead_name): Likewise.
3916 (steal_exc_port): Likewise.
3917 (gnu_read_inferior): Change 'copy_count''s type to
3918 mach_msg_type_number_t.
3919 (gnu_write_inferior): Likewise. Use 'lx' instead of 'x' in
3922 2014-02-16 Thomas Schwinge <thomas@codesourcery.com>
3924 * gnu-nat.c (struct inf): Change pending_execs member to a 1-bit
3925 flag. Adjust all users; in particular...
3926 (gnu_wait): ..., don't decrement its value in here...
3927 (gnu_create_inferior): ..., and instead set the flag in here,
3928 around the startup_inferior call, and call that one with
3929 START_INFERIOR_TRAPS_EXPECTED.
3931 * gnu-nat.c (ill_rpc): Remove function; replaced with this...
3932 (ILL_RPC): ... new macro.
3933 (do_mach_notify_no_senders, do_mach_notify_port_deleted)
3934 (do_mach_notify_msg_accepted, do_mach_notify_port_destroyed)
3935 (do_mach_notify_send_once, S_proc_setmsgport_reply)
3936 (S_proc_getmsgport_reply, S_msg_sig_post_reply): Generate stub
3937 functions with ILL_RPC macro.
3938 (S_proc_pid2task_reply, S_proc_task2pid_reply)
3939 (S_proc_task2proc_reply, S_proc_proc2task_reply)
3940 (S_proc_pid2proc_reply, S_proc_getprocinfo_reply)
3941 (S_proc_getprocargs_reply, S_proc_getprocenv_reply)
3942 (S_proc_getloginid_reply, S_proc_getloginpids_reply)
3943 (S_proc_getlogin_reply, S_proc_getsid_reply)
3944 (S_proc_getsessionpgids_reply, S_proc_getsessionpids_reply)
3945 (S_proc_getsidport_reply, S_proc_getpgrp_reply)
3946 (S_proc_getpgrppids_reply, S_proc_get_tty_reply)
3947 (S_proc_getnports_reply, S_proc_is_important_reply)
3948 (S_proc_get_code_reply): New stub functions, generated with
3951 * reply_mig_hack.awk: In phase 5, keep going if we have not yet
3952 collected the type check structures.
3954 * reply_mig_hack.awk: Don't expect to see the auto keyword.
3956 2014-02-14 Doug Evans <dje@google.com>
3958 * target.c (target_write_partial): Fix result type.
3960 2014-02-14 Jose E. Marchesi <jose.marchesi@oracle.com>
3962 * sparc64-linux-nat.c (_initialize_sparc64_linux_nat): Register
3963 the proper offsets to access fpregset_t.
3965 2014-02-13 Sanimir Agovic <sanimir.agovic@intel.com>
3967 * cris-tdep.c (cris_supply_gregset): Remove zerobuf.
3968 (_initialize_cris_tdep): Remove cris_set_cmdlist, cris_show_cmdlist.
3969 * h8300-tdep.c (setmachinelist): Remove global.
3970 * hppa-tdep.c (hppa_sigtramp): Remove global.
3971 * mipsnbsd-tdep.c (sigtramp_retcode_mipsel, sigtramp_retcode_mipseb
3972 RETCODE_NWORDS, RETCODE_SIZE): Wrap code with #if 0.
3973 * ravenscar-thread.c (update_target_observer): Remove global.
3974 * rs6000-tdep.c (rs6000_gdbarch_init): Remove segment_regs.
3976 2014-02-12 Tom Tromey <tromey@redhat.com>
3978 * common/rsp-low.c: Update comments.
3979 * common/rsp-low.h: Update comments.
3981 2014-02-12 Tom Tromey <tromey@redhat.com>
3983 * common/rsp-low.c (convert_ascii_to_int): Remove.
3984 * common/rsp-low.h (convert_ascii_to_int): Don't declare.
3986 2014-02-12 Tom Tromey <tromey@redhat.com>
3988 * common/rsp-low.h (unhexify): Don't declare.
3989 * common/rsp-low.c (unhexify): Remove.
3991 2014-02-12 Tom Tromey <tromey@redhat.com>
3993 * common/rsp-low.h (convert_int_to_ascii): Don't declare.
3994 * common/rsp-low.c (convert_int_to_ascii): Remove.
3996 2014-02-12 Tom Tromey <tromey@redhat.com>
3998 * common/rsp-low.h (hexify): Don't declare.
3999 * common/rsp-low.c (hexify): Remove.
4001 2014-02-12 Tom Tromey <tromey@redhat.com>
4003 * common/rsp-low.c (hexify): Never take strlen of argument.
4005 2014-02-12 Tom Tromey <tromey@redhat.com>
4007 * common/rsp-low.c (bin2hex): Never take strlen of argument.
4008 * remote.c (extended_remote_run, remote_rcmd)
4009 (remote_download_trace_state_variable, remote_save_trace_data)
4010 (remote_set_trace_notes): Update.
4011 * tracepoint.c (encode_source_string, tfile_write_status)
4012 (tfile_write_uploaded_tsv): Update.
4014 2014-02-12 Tom Tromey <tromey@redhat.com>
4016 * tracepoint.c: Include rsp-low.h.
4017 * remote.h (hex2bin, bin2hex, unpack_varlen_hex): Don't declare.
4018 * remote.c: Include rsp-low.h.
4019 (hexchars, ishex, unpack_varlen_hex, pack_nibble, pack_hex_byte)
4020 (fromhex, hex2bin, tohex, bin2hex, remote_escape_output)
4021 (remote_unescape_input): Move to common/rsp-low.c.
4022 * common/rsp-low.h: New file.
4023 * common/rsp-low.c: New file.
4024 * Makefile.in (SFILES): Add common/rsp-low.c.
4025 (HFILES_NO_SRCDIR): Add common/rsp-low.h.
4026 (COMMON_OBS): Add rsp-low.o.
4027 (rsp-low.o): New target.
4029 2014-02-12 Tom Tromey <tromey@redhat.com>
4031 * utils.h: Include print-utils.h.
4032 (host_address_to_string, plongest, pulongest, phex, phex_nz)
4033 (int_string, core_addr_to_string, core_addr_to_string_nz)
4034 (hex_string, hex_string_custom): Don't declare.
4035 * utils.c (NUMCELLS, CELLSIZE, get_cell, decimal2str, pulongest)
4036 (plongest, thirty_two, phex, phex_nz, octal2str, hex_string)
4037 (hex_string_custom, int_string, core_addr_to_string)
4038 (core_addr_to_string_nz, host_address_to_string): Move to
4039 common/print-utils.c.
4040 * common/print-utils.h: New file.
4041 * common/print-utils.c: New file
4042 * Makefile.in (SFILES): Add common/print-utils.c.
4043 (HFILES_NO_SRCDIR): Add common/print-utils.h.
4044 (COMMON_OBS): Add print-utils.o.
4045 (print-utils.o): New target.
4047 2014-02-12 Tom Tromey <tromey@redhat.com>
4049 * nios2-tdep.c (nios2_stub_frame_base_address): Remove.
4051 2014-02-12 Mark Kettenis <kettenis@gnu.org>
4053 * sparc64obsd-tdep.c (sparc64obsd_init_abi): Call obsd_init_abi.
4055 2014-02-12 Mark Kettenis <kettenis@gnu.org>
4057 * inf-ptrace.c (inf_ptrace_xfer_partial): Return TARGET_XFER_EOF
4058 if a PT_IO ptrace request returns sucessfully but indicates that 0
4059 bytes were transferred.
4061 2014-02-12 Pedro Alves <palves@redhat.com>
4062 Kevin Buettner <kevinb@redhat.com>
4064 * gnu-v3-abi.c (build_gdb_vtable_type): Return a type marked with
4065 TYPE_INSTANCE_FLAG_CODE_SPACE.
4067 2014-02-12 Pedro Alves <palves@redhat.com>
4069 * h8300-tdep.c (pseudo_from_raw_register)
4070 (raw_from_pseudo_register): New functions.
4071 (h8300_pseudo_register_read, h8300_pseudo_register_write): Use
4074 2014-02-12 Pedro Alves <palves@redhat.com>
4076 * h8300-tdep.c (h8300_register_sim_regno): New function.
4077 (h8300_gdbarch_init): Install h8300_register_sim_regno as
4078 gdbarch_register_sim_regno hook.
4080 2014-02-12 Sanimir Agovic <sanimir.agovic@intel.com>
4082 * nios2-tdep.c (nios2_stub_frame_base): Remove global.
4084 2014-02-12 Sanimir Agovic <sanimir.agovic@intel.com>
4086 * tic6x-tdep.c (tic6x_gdbarch_init): Call frame_base_set_default.
4088 2014-02-12 Mark Kettenis <kettenis@gnu.org>
4090 * obsd-tdep.h (obsd_init_abi): New prototype.
4091 * obsd-tdep.c: Define enum with OpenBSD signal numbers.
4092 (obsd_gdb_signal_from_target, obsd_gdb_signal_to_target)
4093 (obsd_init_abi): New functions.
4094 * i386obsd-tdep.c: Include "obsd-tdep.h".
4095 (i386obsd_init_abi): Call obsd_init_abi.
4096 * amd64obsd-tdep.c: Include "obsd-tdep.h".
4097 (amd64obsd_init_abi): Call obsd_init_abi.
4098 * configure.tgt (i[34567]86-*-openbsd*, x86_64-*-openbsd*): Add
4099 obsd-tdep.c to gdb_target_obs.
4101 2014-02-11 Jose E. Marchesi <jose.marchesi@oracle.com>
4103 * sparc64-tdep.c (sparc64_store_arguments): Do not align complex
4104 double float arguments to 16-byte in the argument slots.
4106 2014-02-11 Doug Evans <xdje42@gmail.com>
4108 * configure.ac: Don't crash if pkg-config is not found and guile
4109 wasn't explicitly requested. Use AC_MSG_ERROR instead of AC_ERROR
4111 * configure: Regenerate.
4113 2014-02-11 Yao Qi <yao@codesourcery.com>
4115 * aix-thread.c (aix_thread_xfer_partial): Update comments.
4116 * auxv.c (procfs_xfer_auxv, memory_xfer_auxv): Likewise.
4117 * bsd-uthread.c (bsd_uthread_xfer_partial): Likewise.
4118 * gnu-nat.c (gnu_xfer_memory): Likewise.
4119 * inf-ptrace.c (inf_ptrace_xfer_partial): Likewise.
4120 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
4121 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
4122 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise.
4124 2014-02-11 Yao Qi <yao@codesourcery.com>
4126 * target.h (enum target_xfer_error): Rename to ...
4127 (enum target_xfer_status): ... it. New. All users updated.
4128 (enum target_xfer_status) <TARGET_XFER_OK>, <TARGET_XFER_EOF>:
4130 (TARGET_XFER_STATUS_ERROR_P): New macro.
4131 (target_xfer_error_to_string): Remove declaration.
4132 (target_xfer_status_to_string): Declare.
4133 (target_xfer_partial_ftype): Adjust it.
4134 (struct target_ops) <to_xfer_partial>: Return
4135 target_xfer_status. Add argument xfered_len. Update
4137 * target.c (target_xfer_error_to_string): Rename to ...
4138 (target_xfer_status_to_string): ... it. New. All callers
4140 (target_read_live_memory): Likewise. Call target_xfer_partial
4141 instead of target_read.
4142 (memory_xfer_live_readonly_partial): Return
4143 target_xfer_status. Add argument xfered_len.
4144 (raw_memory_xfer_partial): Likewise.
4145 (memory_xfer_partial_1): Likewise.
4146 (memory_xfer_partial): Likewise.
4147 (target_xfer_partial): Likewise. Check *XFERED_LEN is set
4148 properly. Update debug message.
4149 (default_xfer_partial, current_xfer_partial): Likewise.
4150 (target_write_partial): Likewise.
4151 (target_read_partial): Likewise. All callers updated.
4152 (read_whatever_is_readable): Likewise.
4153 (target_write_with_progress): Likewise.
4154 (target_read_alloc_1): Likewise.
4156 * aix-thread.c (aix_thread_xfer_partial): Likewise.
4157 * auxv.c (procfs_xfer_auxv): Likewise.
4158 (ld_so_xfer_auxv, memory_xfer_auxv): Likewise.
4159 * bfd-target.c (target_bfd_xfer_partial): Likewise.
4160 * bsd-kvm.c (bsd_kvm_xfer_partial): Likewise.
4161 * bsd-uthread.c (bsd_uthread_xfer_partia): Likewise.
4162 * corefile.c (read_memory): Adjust.
4163 * corelow.c (core_xfer_partial): Likewise.
4164 * ctf.c (ctf_xfer_partial): Likewise.
4165 * darwin-nat.c (darwin_read_dyld_info): Likewise. All callers
4167 (darwin_xfer_partial): Likewise.
4168 * exec.c (section_table_xfer_memory_partial): Likewise. All
4170 (exec_xfer_partial): Likewise.
4171 * exec.h (section_table_xfer_memory_partial): Update
4173 * gnu-nat.c (gnu_xfer_memory): Likewise. Assert 'res' is not
4175 (gnu_xfer_partial): Likewise.
4176 * ia64-hpux-nat.c (ia64_hpux_xfer_memory_no_bs): Likewise.
4177 (ia64_hpux_xfer_memory, ia64_hpux_xfer_uregs): Likewise.
4178 (ia64_hpux_xfer_solib_got): Likewise.
4179 * inf-ptrace.c (inf_ptrace_xfer_partial): Likewise. Change
4180 type of 'partial_len' to ULONGEST.
4181 * inf-ttrace.c (inf_ttrace_xfer_partial): Likewise.
4182 * linux-nat.c (linux_xfer_siginfo ): Likewise.
4183 (linux_nat_xfer_partial): Likewise.
4184 (linux_proc_xfer_partial, linux_xfer_partial): Likewise.
4185 (linux_proc_xfer_spu, linux_nat_xfer_osdata): Likewise.
4186 * monitor.c (monitor_xfer_memory): Likewise.
4187 (monitor_xfer_partial): Likewise.
4188 * procfs.c (procfs_xfer_partial): Likewise.
4189 * record-btrace.c (record_btrace_xfer_partial): Likewise.
4190 * record-full.c (record_full_xfer_partial): Likewise.
4191 (record_full_core_xfer_partial): Likewise.
4192 * remote-sim.c (gdbsim_xfer_memory): Likewise.
4193 (gdbsim_xfer_partial): Likewise.
4194 * remote.c (remote_write_bytes_aux): Likewise. All callers
4196 (remote_write_bytes, remote_read_bytes): Likewise. All
4198 (remote_flash_erase): Likewise. All callers updated.
4199 (remote_write_qxfer): Likewise. All callers updated.
4200 (remote_read_qxfer): Likewise. All callers updated.
4201 (remote_xfer_partial): Likewise.
4202 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
4203 (rs6000_xfer_shared_libraries): Likewise.
4204 * sol-thread.c (sol_thread_xfer_partial): Likewise.
4205 (sol_thread_xfer_partial): Likewise.
4206 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
4207 (sparc_xfer_partial): Likewise.
4208 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise. All callers
4210 (spu_xfer_partial): Likewise.
4211 * spu-multiarch.c (spu_xfer_partial): Likewise.
4212 * tracepoint.c (tfile_xfer_partial): Likewise.
4213 * windows-nat.c (windows_xfer_memory): Likewise.
4214 (windows_xfer_shared_libraries): Likewise.
4215 (windows_xfer_partial): Likewise.
4216 * valprint.c: Replace 'target_xfer_error' with
4217 'target_xfer_status' in comments.
4219 2014-02-11 Simon Marchi <simon.marchi@ericsson.com> (tiny patch)
4221 Checked in by Joel Brobecker <brobecker@adacore.com>.
4222 * mi/mi-main.c (mi_cmd_data_write_memory_bytes): Fix comment.
4224 2014-02-11 Joel Brobecker <brobecker@adacore.com>
4226 * symfile-debug.c (debug_qf_expand_symtabs_matching): Reformat
4227 function parameters.
4229 2014-02-10 Will Newton <will.newton@linaro.org>
4231 * elfread.c (elf_rel_plt_read): Look for a .got section if
4232 looking up .got.plt fails.
4233 (elf_gnu_ifunc_resolve_by_got): Call gdbarch_addr_bits_remove
4234 on address passed to elf_gnu_ifunc_record_cache.
4235 (elf_gnu_ifunc_resolve_addr): Likewise.
4236 (elf_gnu_ifunc_resolver_return_stop): Likewise.
4238 2014-02-10 Jose E. Marchesi <jose.marchesi@oracle.com>
4240 * sparc-tdep.c (sparc_in_function_epilogue_p): New function.
4241 (X_RETTURN): New macro.
4242 * sparc-tdep.h: sparc_in_function_epilogue_p prototype.
4244 * sparc64-tdep.c (sparc64_init_abi): Hook
4245 sparc_in_function_epilogue_p.
4247 2014-02-10 Gary Benson <gbenson@redhat.com>
4249 * symfile-debug.c (debug_qf_expand_symtabs_matching):
4250 Rename name_matcher to symbol_matcher.
4252 2014-02-10 Gary Benson <gbenson@redhat.com>
4254 * symfile-debug.c (debug_qf_expand_symtabs_matching):
4255 Use expand_symtabs_file_matcher_ftype and
4256 expand_symtabs_symbol_matcher_ftype.
4258 2014-02-10 Joel Brobecker <brobecker@adacore.com>
4260 * ada-lang.c (struct cache_entry, HASH_SIZE): Move definition up.
4261 (struct ada_symbol_cache): New.
4262 (ada_free_symbol_cache): Forward declare.
4263 (struct ada_pspace_data): New.
4264 (ada_pspace_data_handle): New static global.
4265 (get_ada_pspace_data, ada_pspace_data_cleanup)
4266 (ada_init_symbol_cache, ada_free_symbol_cache): New functions.
4267 (cache_space, cache): Delete, now folded inside struct
4269 (ada_get_symbol_cache): New function.
4270 (ada_clear_symbol_cache, find_entry, cache_symbol): Adjust
4272 (_initialize_ada_language): Remove initialization of cache_space.
4273 Move call to observer_attach_inferior_exit up, grouping it
4274 with the other observer registrations inside this function.
4275 Rename command to be more general. Add call to
4276 register_program_space_data_with_cleanup.
4278 2014-02-10 Joel Brobecker <brobecker@adacore.com>
4280 * ada-tasks.c (ada_tasks_new_objfile_observer): Renames
4281 ada_new_objfile_observer.
4282 (ada_tasks_normal_stop_observer): Renames ada_normal_stop_observer.
4283 (_initialize_tasks): Update uses of ada_new_objfile_observer
4284 and ada_tasks_normal_stop_observer.
4286 2014-02-10 Joel Brobecker <brobecker@adacore.com>
4288 * ada-lang.c (ada_evaluate_subexp): Set the type of the value
4289 returned by the 'Length attribute to integer.
4291 2014-02-10 Joel Brobecker <brobecker@adacore.com>
4293 * ada-lang.c (_initialize_ada_language): Initialize
4294 cache_space obstack.
4296 2014-02-10 Joel Brobecker <brobecker@adacore.com>
4298 * ada-lang.c (HASH_SIZE): New macro.
4299 (struct cache_entry): New type.
4300 (cache_space, cache): New static globals.
4301 (ada_clear_symbol_cache, find_entry): New functions.
4302 (lookup_cached_symbol, cache_symbol): Implement.
4303 (ada_new_objfile_observer, ada_free_objfile_observer): New.
4304 (_initialize_ada_language): Attach ada_new_objfile_observer
4305 and ada_free_objfile_observer.
4307 2014-02-10 Joel Brobecker <brobecker@adacore.com>
4309 * ada-lang.c (ada_add_block_symbols, add_defn_to_vec)
4310 (lookup_cached_symbol, ada_add_local_symbols): Add "const" to
4311 struct block * parameter.
4312 (ada_lookup_symbol_list_worker): Constify local variable "block".
4313 Remove cast which is no longer necessary.
4315 2014-02-10 Doug Evans <xdje42@gmail.com>
4317 Add Guile as an extension language.
4318 * NEWS: Mention Guile scripting.
4319 * Makefile.in (SUBDIR_GUILE_OBS): New variable.
4320 (SUBDIR_GUILE_SRCS, SUBDIR_GUILE_DEPS): New variables
4321 (SUBDIR_GUILE_LDFLAGS, SUBDIR_GUILE_CFLAGS): New variables.
4322 (INTERNAL_CPPFLAGS): Add GUILE_CPPFLAGS.
4323 (CLIBS): Add GUILE_LIBS.
4324 (install-guile): New rule.
4325 (guile.o): New rule.
4326 (scm-arch.o, scm-auto-load.o, scm-block.o): New rules.
4327 (scm-breakpoint.o, scm-disasm.o, scm-exception.o): New rules.
4328 (scm-frame.o, scm-iterator.o, scm-lazy-string.o): New rules.
4329 (scm-math.o, scm-objfile.o, scm-ports.o): New rules.
4330 (scm-pretty-print.o, scm-safe-call.o, scm-gsmob.o): New rules.
4331 (scm-string.o, scm-symbol.o, scm-symtab.o): New rules.
4332 (scm-type.o, scm-utils.o, scm-value.o): New rules.
4333 * configure.ac: New option --with-guile.
4334 * configure: Regenerate.
4335 * config.in: Regenerate.
4336 * auto-load.c: Remove #include "python/python.h". Add #include
4337 "gdb/section-scripts.h".
4338 (source_section_scripts): Handle Guile scripts.
4339 (_initialize_auto_load): Add name of Guile objfile script to
4340 scripts-directory help text.
4341 * breakpoint.c (condition_command): Tweak comment to include Scheme.
4342 * breakpoint.h (gdbscm_breakpoint_object): Add forward decl.
4343 (struct breakpoint): New member scm_bp_object.
4344 * defs.h (enum command_control_type): New value guile_control.
4345 * cli/cli-cmds.c: Remove #include "python/python.h". Add #include
4347 (show_user): Update comment.
4348 (_initialize_cli_cmds): Update help text for "show user". Update help
4349 text for max-user-call-depth.
4350 * cli/cli-script.c: Remove #include "python/python.h". Add #include
4352 (multi_line_command_p): Add guile_control.
4353 (print_command_lines): Handle guile_control.
4354 (execute_control_command, recurse_read_control_structure): Ditto.
4355 (process_next_line): Recognize "guile" commands.
4356 * disasm.c (gdb_disassemble_info): Make non-static.
4357 * disasm.h: #include "dis-asm.h".
4358 (struct gdbarch): Add forward decl.
4359 (gdb_disassemble_info): Declare.
4360 * extension.c: #include "guile/guile.h".
4361 (extension_languages): Add guile.
4362 (get_ext_lang_defn): Handle EXT_LANG_GDB.
4363 * extension.h (enum extension_language): New value EXT_LANG_GUILE.
4364 * gdbtypes.c (get_unsigned_type_max): New function.
4365 (get_signed_type_minmax): New function.
4366 * gdbtypes.h (get_unsigned_type_max): Declare.
4367 (get_signed_type_minmax): Declare.
4368 * guile/README: New file.
4369 * guile/guile-internal.h: New file.
4370 * guile/guile.c: New file.
4371 * guile/guile.h: New file.
4372 * guile/scm-arch.c: New file.
4373 * guile/scm-auto-load.c: New file.
4374 * guile/scm-block.c: New file.
4375 * guile/scm-breakpoint.c: New file.
4376 * guile/scm-disasm.c: New file.
4377 * guile/scm-exception.c: New file.
4378 * guile/scm-frame.c: New file.
4379 * guile/scm-gsmob.c: New file.
4380 * guile/scm-iterator.c: New file.
4381 * guile/scm-lazy-string.c: New file.
4382 * guile/scm-math.c: New file.
4383 * guile/scm-objfile.c: New file.
4384 * guile/scm-ports.c: New file.
4385 * guile/scm-pretty-print.c: New file.
4386 * guile/scm-safe-call.c: New file.
4387 * guile/scm-string.c: New file.
4388 * guile/scm-symbol.c: New file.
4389 * guile/scm-symtab.c: New file.
4390 * guile/scm-type.c: New file.
4391 * guile/scm-utils.c: New file.
4392 * guile/scm-value.c: New file.
4393 * guile/lib/gdb.scm: New file.
4394 * guile/lib/gdb/boot.scm: New file.
4395 * guile/lib/gdb/experimental.scm: New file.
4396 * guile/lib/gdb/init.scm: New file.
4397 * guile/lib/gdb/iterator.scm: New file.
4398 * guile/lib/gdb/printing.scm: New file.
4399 * guile/lib/gdb/types.scm: New file.
4400 * data-directory/Makefile.in (GUILE_SRCDIR): New variable.
4401 (VPATH): Add $(GUILE_SRCDIR).
4402 (GUILE_DIR): New variable.
4403 (GUILE_INSTALL_DIR, GUILE_FILES): New variables.
4404 (all): Add stamp-guile dependency.
4405 (stamp-guile): New rule.
4406 (clean-guile, install-guile, uninstall-guile): New rules.
4407 (install-only): Add install-guile dependency.
4408 (uninstall): Add uninstall-guile dependency.
4409 (clean): Add clean-guile dependency.
4411 2014-02-09 Doug Evans <xdje42@gmail.com>
4413 Revert this patch (which I approved, mea culpa).
4415 2014-02-08 Mark Kettenis <kettenis@gnu.org>
4417 * Makefile.in (all-lib): Remove.
4418 ($(LIBGNU) $(GNULIB_H)): Replace with gits of remove all-lib target.
4420 2014-02-09 Jan Kratochvil <jan.kratochvil@redhat.com>
4422 Fix Python stack corruption.
4423 * python/py-linetable.c (ltpy_get_pcs_for_line, ltpy_has_line): Use
4426 2014-02-08 Mark Kettenis <kettenis@gnu.org>
4428 * Makefile.in (all-lib): Remove.
4429 ($(LIBGNU) $(GNULIB_H)): Replace with gits of remove all-lib target.
4431 2014-02-07 Doug Evans <dje@google.com>
4433 * extension-priv.h (extension_language_script_ops): Add comment.
4434 (extension_language_ops): Add comment.
4435 (active_ext_lang_state): Fix typo in comment.
4437 2014-02-07 Pedro Alves <palves@redhat.com>
4439 PR breakpoints/16292
4440 * infrun.c (handle_signal_stop) <signal arrives while stepping
4441 over a breakpoint>: Switch back to the stepping thread.
4443 2014-02-07 Yao Qi <yao@codesourcery.com>
4445 * target.c (target_xfer_partial): Return zero if LEN is zero.
4447 2014-02-07 Yao Qi <yao@codesourcery.com>
4449 * auxv.c (procfs_xfer_auxv): Replace -1 with TARGET_XFER_E_IO.
4450 (ld_so_xfer_auxv): Likewise.
4451 * bfd-target.c (target_bfd_xfer_partial): Likewise.
4452 * bsd-kvm.c (bsd_kvm_xfer_partial): Likewise.
4453 * corelow.c (core_xfer_partial): Likewise.
4454 * ctf.c (ctf_xfer_partial): Likewise.
4455 * darwin-nat.c (darwin_read_dyld_info): Likewise.
4456 (darwin_xfer_partial): Likewise.
4457 * exec.c (exec_xfer_partial): Likewise.
4458 * gnu-nat.c (gnu_xfer_partial): Likewise.
4459 * ia64-hpux-nat.c (ia64_hpux_xfer_uregs): Likewise.
4460 * inf-ptrace.c (inf_ptrace_xfer_partial): Likewise.
4461 * inf-ttrace.c (inf_ttrace_xfer_partial): Likewise.
4462 * linux-nat.c (linux_xfer_siginfo): Likewise.
4463 (linux_proc_xfer_spu): Likewise.
4464 * procfs.c (procfs_xfer_partial): Likewise.
4465 * record-full.c (record_full_xfer_partial): Likewise.
4466 (record_full_core_xfer_partial): Likewise.
4467 * remote-sim.c (gdbsim_xfer_partial): Likewise.
4468 * remote.c (remote_write_qxfer): Likewise.
4469 (remote_write_qxfer, remote_read_qxfer): Likewise.
4470 (remote_xfer_partial): Likewise.
4471 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
4472 (rs6000_xfer_shared_libraries): Likewise.
4473 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
4474 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise.
4475 (spu_xfer_partial): Likewise.
4476 * target.c (memory_xfer_partial_1): Likewise.
4477 * tracepoint.c (tfile_xfer_partial): Likewise.
4478 * windows-nat.c (windows_xfer_shared_libraries): Likewise.
4479 (windows_xfer_partial): Likewise.
4481 2014-02-07 Yao Qi <yao@codesourcery.com>
4483 * gdbarch.sh (core_xfer_shared_libraries): Returns ULONGEST. Add
4485 (core_xfer_shared_libraries_aix): Likewise.
4486 * gdbarch.c, gdbarch.h: Regenerated.
4487 * i386-cygwin-tdep.c (windows_core_xfer_shared_libraries): Return
4488 ULONGEST. Change 'len_avail' type to ULONGEST.
4489 * rs6000-aix-tdep.c (rs6000_aix_ld_info_to_xml): Likewise.
4490 * rs6000-aix-tdep.h (rs6000_aix_ld_info_to_xml): Update
4492 (rs6000_aix_core_xfer_shared_libraries_aix): Return ULONGEST.
4494 2014-02-07 Yao Qi <yao@codesourcery.com>
4496 * corefile.c (memory_error): Get 'exception' from ERR and pass
4497 'exception' to throw_error.
4499 2014-02-06 Doug Evans <xdje42@gmail.com>
4501 * configure.ac (libpython checking): Remove all but python.o from
4502 CONFIG_OBS. Remove all but python.c from CONFIG_SRCS.
4503 * configure: Regenerate.
4505 * Makefile.in (SFILES): Add extension.c.
4506 (HFILES_NO_SRCDIR): Add extension.h, extension-priv.h
4507 (COMMON_OBS): Add extension.o.
4508 * extension.h: New file.
4509 * extension-priv.h: New file.
4510 * extension.c: New file.
4512 * python/python-internal.h: #include "extension.h".
4513 (gdbpy_auto_load_enabled): Declare.
4514 (gdbpy_apply_val_pretty_printer): Declare.
4515 (gdbpy_apply_frame_filter): Declare.
4516 (gdbpy_preserve_values): Declare.
4517 (gdbpy_breakpoint_cond_says_stop): Declare.
4518 (gdbpy_breakpoint_has_cond): Declare.
4519 (void source_python_script_for_objfile): Delete.
4520 * python/python.c: #include "extension-priv.h".
4521 Delete inclusion of "observer.h".
4522 (extension_language_python): Moved here and renamed from
4523 script_language_python in py-auto-load.c.
4524 Redefined to be of type extension_language_defn.
4525 (python_extension_script_ops): New global.
4526 (python_extension_ops): New global.
4527 (struct python_env): New member previous_active.
4528 (restore_python_env): Call restore_active_ext_lang.
4529 (ensure_python_env): Call set_active_ext_lang.
4530 (gdbpy_clear_quit_flag): Renamed from clear_quit_flag, made static.
4532 (gdbpy_set_quit_flag): Renamed from set_quit_flag, made static.
4534 (gdbpy_check_quit_flag): Renamed from check_quit_flag, made static.
4536 (gdbpy_eval_from_control_command): Renamed from
4537 eval_python_from_control_command, made static. New arg extlang.
4538 (gdbpy_source_script) Renamed from source_python_script, made static.
4540 (gdbpy_before_prompt_hook): Renamed from before_prompt_hook. Change
4541 result to int. New arg extlang.
4542 (gdbpy_source_objfile_script): Renamed from
4543 source_python_script_for_objfile, made static. New arg extlang.
4544 (gdbpy_start_type_printers): Renamed from start_type_printers, made
4545 static. New args extlang, extlang_printers. Change result type to
4547 (gdbpy_apply_type_printers): Renamed from apply_type_printers, made
4548 static. New arg extlang. Rename arg printers to extlang_printers
4549 and change type to ext_lang_type_printers *.
4550 (gdbpy_free_type_printers): Renamed from free_type_printers, made
4551 static. Replace argument arg with extlang, extlang_printers.
4552 (!HAVE_PYTHON, eval_python_from_control_command): Delete.
4553 (!HAVE_PYTHON, source_python_script): Delete.
4554 (!HAVE_PYTHON, gdbpy_should_stop): Delete.
4555 (!HAVE_PYTHON, gdbpy_breakpoint_has_py_cond): Delete.
4556 (!HAVE_PYTHON, start_type_printers): Delete.
4557 (!HAVE_PYTHON, apply_type_printers): Delete.
4558 (!HAVE_PYTHON, free_type_printers): Delete.
4559 (_initialize_python): Delete call to observer_attach_before_prompt.
4560 (finalize_python): Set/restore active extension language.
4561 (gdbpy_finish_initialization) Renamed from
4562 finish_python_initialization, made static. New arg extlang.
4563 (gdbpy_initialized): New function.
4564 * python/python.h: #include "extension.h". Delete #include
4565 "value.h", "mi/mi-cmds.h".
4566 (extension_language_python): Declare.
4567 (GDBPY_AUTO_FILE_NAME): Delete.
4568 (enum py_bt_status): Moved to extension.h and renamed to
4570 (enum frame_filter_flags): Moved to extension.h.
4571 (enum py_frame_args): Moved to extension.h and renamed to
4572 ext_lang_frame_args.
4573 (finish_python_initialization): Delete.
4574 (eval_python_from_control_command): Delete.
4575 (source_python_script): Delete.
4576 (apply_val_pretty_printer): Delete.
4577 (apply_frame_filter): Delete.
4578 (preserve_python_values): Delete.
4579 (gdbpy_script_language_defn): Delete.
4580 (gdbpy_should_stop, gdbpy_breakpoint_has_py_cond): Delete.
4581 (start_type_printers, apply_type_printers, free_type_printers): Delete.
4583 * auto-load.c: #include "extension.h".
4584 (GDB_AUTO_FILE_NAME): Delete.
4585 (auto_load_gdb_scripts_enabled): Make public. New arg extlang.
4586 (script_language_gdb): Delete, moved to extension.c and renamed to
4587 extension_language_gdb.
4588 (source_gdb_script_for_objfile): Delete.
4589 (auto_load_pspace_info): New member unsupported_script_warning_printed.
4590 (loaded_script): Change type of language member to
4591 struct extension_language_defn *.
4592 (init_loaded_scripts_info): Initialize
4593 unsupported_script_warning_printed.
4594 (maybe_add_script): Make static. Change type of language arg to
4595 struct extension_language_defn *.
4596 (clear_section_scripts): Reset unsupported_script_warning_printed.
4597 (auto_load_objfile_script_1): Rewrite to use extension language API.
4598 (auto_load_objfile_script): Make public. Remove support-compiled-in
4599 and auto-load-enabled checks, moved to auto_load_scripts_for_objfile.
4600 (source_section_scripts): Rewrite to use extension language API.
4601 (load_auto_scripts_for_objfile): Rewrite to use
4602 auto_load_scripts_for_objfile.
4603 (collect_matching_scripts_data): Change type of language member to
4604 struct extension_language_defn *.
4605 (auto_load_info_scripts): Change type of language arg to
4606 struct extension_language_defn *.
4607 (unsupported_script_warning_print): New function.
4608 (script_not_found_warning_print): Make static.
4609 (_initialize_auto_load): Rewrite construction of scripts-directory
4611 * auto-load.h (struct objfile): Add forward decl.
4612 (struct script_language): Delete.
4613 (struct auto_load_pspace_info): Add forward decl.
4614 (struct extension_language_defn): Add forward decl.
4615 (maybe_add_script): Delete.
4616 (auto_load_objfile_script): Declare.
4617 (script_not_found_warning_print): Delete.
4618 (auto_load_info_scripts): Update prototype.
4619 (auto_load_gdb_scripts_enabled): Declare.
4620 * python/py-auto-load.c (gdbpy_auto_load_enabled): Renamed from
4621 auto_load_python_scripts_enabled and made public.
4622 (script_language_python): Delete, moved to python.c.
4623 (gdbpy_script_language_defn): Delete.
4624 (info_auto_load_python_scripts): Update to use
4625 extension_language_python.
4627 * breakpoint.c (condition_command): Replace call to
4628 gdbpy_breakpoint_has_py_cond with call to get_breakpoint_cond_ext_lang.
4629 (bpstat_check_breakpoint_conditions): Replace call to gdbpy_should_stop
4630 with call to breakpoint_ext_lang_cond_says_stop.
4631 * python/py-breakpoint.c (gdbpy_breakpoint_cond_says_stop): Renamed
4632 from gdbpy_should_stop. Change result type to enum scr_bp_stop.
4633 New arg slang. Return SCR_BP_STOP_UNSET if py_bp_object is NULL.
4634 (gdbpy_breakpoint_has_cond): Renamed from gdbpy_breakpoint_has_py_cond.
4636 (local_setattro): Print name of extension language with existing
4639 * valprint.c (val_print, value_print): Update to call
4640 apply_ext_lang_val_pretty_printer.
4641 * cp-valprint.c (cp_print_value): Update call to
4642 apply_ext_lang_val_pretty_printer.
4643 * python/py-prettyprint.c: Remove #ifdef HAVE_PYTHON.
4644 (gdbpy_apply_val_pretty_printer): Renamed from
4645 apply_val_pretty_printer. New arg extlang.
4646 (!HAVE_PYTHON, apply_val_pretty_printer): Delete.
4648 * cli/cli-cmds.c (source_script_from_stream): Rewrite to use
4649 extension language API.
4650 * cli/cli-script.c (execute_control_command): Update to call
4651 eval_ext_lang_from_control_command.
4653 * mi/mi-cmd-stack.c (mi_cmd_stack_list_frames): Update to use
4654 enum ext_lang_bt_status values. Update call to
4655 apply_ext_lang_frame_filter.
4656 (mi_cmd_stack_list_locals): Ditto.
4657 (mi_cmd_stack_list_args): Ditto.
4658 (mi_cmd_stack_list_variables): Ditto.
4659 * mi/mi-main.c: Delete #include "python/python-internal.h".
4660 Add #include "extension.h".
4661 (mi_cmd_list_features): Replace reference to python internal variable
4662 gdb_python_initialized with call to ext_lang_initialized_p.
4664 * stack.c (backtrace_command_1): Update to use enum ext_lang_bt_status.
4665 Update to use enum ext_lang_frame_args. Update to call
4666 apply_ext_lang_frame_filter.
4667 * python/py-framefilter.c (extract_sym): Update to use enum
4669 (extract_value, py_print_type, py_print_value): Ditto.
4670 (py_print_single_arg, enumerate_args, enumerate_locals): Ditto.
4671 (py_mi_print_variables, py_print_locals, py_print_args): Ditto.
4672 (py_print_frame): Ditto.
4673 (gdbpy_apply_frame_filter): Renamed from apply_frame_filter.
4674 New arg extlang. Update to use enum ext_lang_bt_status.
4676 * top.c (gdb_init): Delete #ifdef HAVE_PYTHON call to
4677 finish_python_initialization. Replace with call to
4678 finish_ext_lang_initialization.
4680 * typeprint.c (do_free_global_table): Update to call
4681 free_ext_lang_type_printers.
4682 (create_global_typedef_table): Update to call
4683 start_ext_lang_type_printers.
4684 (find_global_typedef): Update to call apply_ext_lang_type_printers.
4685 * typeprint.h (struct ext_lang_type_printers): Add forward decl.
4686 (type_print_options): Change type of global_printers from "void *"
4687 to "struct ext_lang_type_printers *".
4689 * value.c (preserve_values): Update to call preserve_ext_lang_values.
4690 * python/py-value.c: Remove #ifdef HAVE_PYTHON.
4691 (gdbpy_preserve_values): Renamed from preserve_python_values.
4693 (!HAVE_PYTHON, preserve_python_values): Delete.
4695 * utils.c (quit_flag): Delete, moved to extension.c.
4696 (clear_quit_flag, set_quit_flag, check_quit_flag): Delete, moved to
4699 * eval.c: Delete #include "python/python.h".
4700 * main.c: Delete #include "python/python.h".
4702 * defs.h: Update comment.
4704 2014-02-06 Joel Brobecker <brobecker@adacore.com>
4708 2014-02-05 Mark Kettenis <kettenis@gnu.org>
4710 * c-exp.y (YYPRINT, c_print_token): Only define if YYBISON is
4713 2014-02-05 Yao Qi <yao@codesourcery.com>
4715 * remote.c (remote_pass_signals): Remove local 'buf' and use
4717 (remote_program_signals): Likewise.
4719 2014-02-05 Yao Qi <yao@codesourcery.com>
4721 * ctf.c: Include "inferior.h" and "gdbthread.h".
4722 (CTF_PID): A new macro.
4723 (ctf_open): Call inferior_appeared and add_thread_silent.
4724 (ctf_close): Call exit_inferior_silent and set inferior_ptid.
4725 (ctf_thread_alive): New function.
4726 (init_ctf_ops): Install ctf_thread_alive to to_thread_alive.
4728 2014-02-05 Yao Qi <yao@codesourcery.com>
4732 2013-05-24 Yao Qi <yao@codesourcery.com>
4734 * tracepoint.c (TFILE_PID): Remove.
4735 (tfile_open): Don't add thread and inferior.
4736 (tfile_close): Don't set 'inferior_ptid'. Don't call
4737 exit_inferior_silent.
4738 (tfile_thread_alive): Remove.
4739 (init_tfile_ops): Don't set field 'to_thread_alive' of
4742 2014-02-04 Christian Eggers <ceggers@gmx.de> (tiny change)
4744 * remote.c (remote_start_remote): Call remote_check_symbols even
4745 if only symbol-file (not file) has been given.
4747 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
4749 * gdbarch.sh (skip_entrypoint): New callback.
4750 * gdbarch.c, gdbarch.h: Regenerate.
4751 * symtab.c (skip_prologue_sal): Call gdbarch_skip_entrypoint.
4752 * infrun.c (fill_in_stop_func): Likewise.
4753 * ppc-linux-tdep.c: Include "elf/ppc64.h".
4754 (ppc_elfv2_elf_make_msymbol_special): New function.
4755 (ppc_elfv2_skip_entrypoint): Likewise.
4756 (ppc_linux_init_abi): Install them for ELFv2.
4758 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
4760 * ppc-sysv-tdep.c (ppc64_aggregate_candidate): New routine.
4761 (ppc64_elfv2_abi_homogeneous_aggregate): Likewise.
4762 (ppc64_sysv_abi_push_param): Handle ELFv2 homogeneous structs.
4763 (ppc64_sysv_abi_return_value): Likewise. Also, handle small
4764 structures returned in GPRs.
4766 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
4768 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_dummy_call): Use correct
4769 offset to the stack parameter list for the ELFv2 ABI.
4771 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
4773 * ppc-linux-tdep.c (ppc_linux_init_abi): Only call
4774 set_gdbarch_convert_from_func_ptr_addr and
4775 set_gdbarch_elf_make_msymbol_special for ELFv1.
4776 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_param): Only handle
4777 function descriptors on ELFv1.
4778 (ppc64_sysv_abi_push_dummy_call): Likewise. On ELFv2,
4779 set up r12 at function entry.
4781 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
4783 * ppc-tdep.h (enum powerpc_elf_abi): New data type.
4784 (struct gdbarch_tdep): New member elf_abi.
4786 * rs6000-tdep.c: Include "elf/ppc64.h".
4787 (rs6000_gdbarch_init): Detect ELF ABI version.
4789 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
4791 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_freg): Use correct order
4792 within a register pair holding a DFP 128-bit value on little-endian.
4793 (ppc64_sysv_abi_return_value_base): Likewise.
4794 * rs6000-tdep.c (dfp_pseudo_register_read): Likewise.
4795 (dfp_pseudo_register_write): Likewise.
4797 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
4799 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_freg): Use correct
4800 offset on little-endian when passing _Decimal32.
4801 (ppc64_sysv_abi_return_value_base): Likewise for return values.
4803 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
4805 * rs6000-tdep.c (efpr_pseudo_register_read): Use correct offset
4806 of the overlapped FP register within the VSX register on little-
4808 (efpr_pseudo_register_write): Likewise.
4810 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
4812 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_val): Use correct
4813 offset on little-endian when passing small structures.
4815 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
4817 * ppc-sysv-tdep.c (get_decimal_float_return_value): Update comment.
4818 (struct ppc64_sysv_argpos): New data structure.
4819 (ppc64_sysv_abi_push_float): Remove.
4820 (ppc64_sysv_abi_push_val): New function.
4821 (ppc64_sysv_abi_push_integer): Likewise.
4822 (ppc64_sysv_abi_push_freg): Likewise.
4823 (ppc64_sysv_abi_push_vreg): Likewise.
4824 (ppc64_sysv_abi_push_param): Likewise.
4825 (ppc64_sysv_abi_push_dummy_call): Refactor to use those new routines.
4826 (ppc64_sysv_abi_return_value_base): New function.
4827 (ppc64_sysv_abi_return_value): Refactor to use it.
4829 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
4831 * NEWS: Document new target powerpc64le-*-linux*.
4833 2014-02-04 Mark Kettenis <kettenis@gnu.org>
4835 * sparc64obsd-tdep.c (sparc64obsd_gregset): New variable.
4836 (sparc64obsd_supply_gregset): Handle registers sets used in ELF
4838 (sparc64obsd_init_abi): Adjust minimum size of the general purpose
4839 register set used in ELF core dumps. Add floating-point register set.
4841 2014-02-03 Kevin Buettner <kevinb@redhat.com>
4843 * mn10300-tdep.c (mn10300_dwarf2_reg_to_regnum): Rewrite
4844 dwarf2_to_gdb[] table using symbolic constants. Adjust
4845 penultimate entry from number representing the PC register
4846 to symbolic constant representing the MDR register. Add
4847 constant for the PC register to the end of the table.
4849 2014-02-03 Mark Kettenis <kettenis@gnu.org>
4851 * bsd-kvm.c: Include <sys/param.h>
4853 2014-02-03 Mark Kettenis <kettenis@gnu.org>
4855 * sparc64nbsd-nat.c (sparc64nbsd_supply_fpregset): Fix prototype.
4857 2014-01-31 Joel Brobecker <brobecker@adacore.com>
4859 * ada-lang.h (clear_ada_sym_cache): Delete.
4861 2014-01-30 Ulrich Weigand <uweigand@de.ibm.com>
4863 * auxv.c (fprint_target_auxv): Handle AT_HWCAP2.
4865 2014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
4867 * sparc64-linux-tdep.c (sparc64_linux_step_trap): Get PC from
4868 the sigreturn register save area only if the syscall is
4871 2014-01-29 Joel Brobecker <brobecker@adacore.com>
4873 * valops.c (value_slice): Minor reformatting.
4875 2014-01-28 Ulrich Weigand <uweigand@de.ibm.com>
4877 * ppc64-tdep.c (ppc64_standard_linkage7): Fix typo.
4879 2014-01-28 Joel Brobecker <brobecker@adacore.com>
4881 * ada-lang.c (maint_set_ada_cmdlist, maint_show_ada_cmdlist):
4883 (maint_set_ada_cmd, maint_show_ada_cmd): New functions.
4884 (ada_ignore_descriptive_types_p): New static global.
4885 (find_parallel_type_by_descriptive_type): Return immediately
4886 if ada_ignore_descriptive_types_p is set.
4887 (_initialize_ada_language): Register new commands "maintenance
4888 set ada", "maintenance show ada", "maintenance set ada
4889 ignore-descriptive-types" and "maintenance show ada
4890 ignore-descriptive-types".
4891 * NEWS: Add entry for new "maint ada set/show
4892 ignore-descriptive-types" commands.
4894 2014-01-27 Markus Metzger <markus.t.metzger@intel.com>
4896 * record-btrace.c (record_btrace_close): Call btrace_teardown
4899 2014-01-27 Joel Brobecker <brobecker@adacore.com>
4901 * ada-lang.c: Remove "#ifdef UI_OUT" condition for including
4904 2014-01-27 Joel Brobecker <brobecker@adacore.com>
4906 * ada-typeprint (type_is_full_subrange_of_target_type):
4908 (print_range): Add parameter bounds_prefered_p. If not set,
4909 try printing range types using the name of their base type.
4910 (print_range_type): Add parameter bounds_prefered_p.
4911 Use it in call to print_range.
4912 (print_array_type, ada_print_type): Update calls to print_range
4913 and print_range_type.
4915 2014-01-27 Joel Brobecker <brobecker@adacore.com>
4917 * ada-typeprint.c (print_array_type, print_choices, print_range)
4918 (print_range_bound, print_dynamic_range_bound, print_range_type):
4921 2014-01-27 Joel Brobecker <brobecker@adacore.com>
4923 * ada-typeprint.c (print_range): Add missing empty line
4924 after local declaration.
4926 2014-01-27 Joel Brobecker <brobecker@adacore.com>
4928 * ada-valprint.c (print_optional_low_bound): Get index_type's
4929 target type for as long as it is a TYPE_CODE_RANGE.
4931 2014-01-27 Joel Brobecker <brobecker@adacore.com>
4933 * procfs.c (procfs_make_note_section): Remove assertion and
4936 2014-01-24 Yao Qi <yao@codesourcery.com>
4938 * remote.c (remote_read_bytes): Change type of len to ULONGEST.
4939 * corelow.c (get_core_siginfo): Likewise.
4941 2014-01-24 Yao Qi <yao@codesourcery.com>
4943 * remote.c (remote_write_bytes_aux): Change type of 'len' to
4944 ULONGEST. Don't check 'len' is negative.
4945 (remote_write_bytes): Change type of 'len' to ULONGEST.
4947 2014-01-23 Tom Tromey <tromey@redhat.com>
4950 * python/lib/gdb/FrameDecorator.py: (FrameVars.fetch_frame_args):
4951 Handle exception from frame.block.
4952 (FrameVars.fetch_frame_locals): Likewise.
4954 2014-01-23 Tom Tromey <tromey@redhat.com>
4957 * python/py-framefilter.c (py_print_frame): Don't call Py_DECREF
4958 on a NULL pointer. Move "goto error" to correct place.
4960 2014-01-23 Tom Tromey <tromey@redhat.com>
4963 * python/py-framefilter.c (apply_frame_filter): Call
4964 ensure_python_env after computing gdbarch.
4966 2014-01-23 Yao Qi <yao@codesourcery.com>
4968 * target.c (raw_memory_xfer_partial): Change argument type
4969 from void * to gdb_byte *.
4970 (memory_xfer_partial_1, memory_xfer_partial): Likewise.
4972 2014-01-22 Doug Evans <dje@google.com>
4974 New gdbserver option --debug-format=timestamp.
4977 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
4979 * syscalls/s390x-linux.xml: New file.
4980 * syscalls/s390-linux.xml: New file.
4981 * s390-linux-tdep.c (XML_SYSCALL_FILENAME_S390): New macro.
4982 (XML_SYSCALL_FILENAME_S390X): Likewise.
4983 (op_svc): New enum value for SVC opcode.
4984 (s390_sigtramp_frame_sniffer): Replace literal by 'op_svc'.
4985 (s390_linux_get_syscall_number): New function.
4986 (s390_gdbarch_init): Register '*get_syscall_number' and the
4987 syscall xml file name.
4988 * data-directory/Makefile.in (SYSCALLS_FILES): Add
4989 "s390-linux.xml" and "s390x-linux.xml".
4990 * NEWS: Announce new feature.
4992 2014-01-22 Baruch Siach <baruch@tkos.co.il>
4994 * xtensa-tdep.h (xtensa_elf_greg_t): Change type to uint32_t.
4996 2014-01-22 Pedro Alves <palves@redhat.com>
4998 * xtensa-config.c: Include defs.h.
5000 2014-01-22 Joel Brobecker <brobecker@adacore.com>
5002 * common/common-utils.h: Add "ARI:" comment beside __func__
5005 2014-01-22 Joel Brobecker <brobecker@adacore.com>
5007 * common/common-utils.h (FUNCTION_NAME): Expand the macro's
5008 documentation a bit.
5010 2014-01-21 Roland McGrath <mcgrathr@google.com>
5012 * configure.ac: Call AM_PROG_INSTALL_STRIP.
5013 * configure: Regenerate.
5014 * aclocal.m4: Regenerate.
5015 * Makefile.in (install_sh, INSTALL_STRIP_PROGRAM, STRIP):
5016 New substituted variables.
5017 (install-strip): New target.
5018 (INSTALL_SCRIPT): New substituted variable.
5019 (FLAGS_TO_PASS): Add it.
5020 (install-only): Use $(INSTALL_SCRIPT) rather than
5021 $(INSTALL_PROGRAM) for gcore.
5023 2014-01-20 Tom Tromey <tromey@redhat.com>
5025 * cli/cli-decode.h (struct cmd_list_element): Move all bitfields
5028 2014-01-20 Tom Tromey <tromey@redhat.com>
5030 * cli/cli-decode.c (add_cmd, deprecate_cmd, add_alias_cmd)
5031 (add_setshow_cmd_full, delete_cmd, lookup_cmd_1)
5032 (deprecated_cmd_warning, complete_on_cmdlist): Update.
5033 * cli/cli-decode.h (CMD_DEPRECATED, DEPRECATED_WARN_USER)
5034 (MALLOCED_REPLACEMENT, DOC_ALLOCATED): Remove.
5035 (struct cmd_list_element) <flags>: Remove.
5036 <cmd_deprecated, deprecated_warn_user, malloced_replacement,
5037 doc_allocated>: New fields.
5038 <hook_in, allow_unknown, abbrev_flag, type, var_type>: Now
5040 * maint.c (maintenance_do_deprecate): Update.
5041 * top.c (execute_command): Update.
5043 2014-01-20 Baruch Siach <baruch@tkos.co.il>
5045 * xtensa-linux-nat.c: Include asm/ptrace.h.
5047 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
5049 * Makefile.in (SFILES): Add d-support.c.
5050 (COMMON_OBS): Add d-support.o.
5051 * d-lang.h (d_parse_symbol): Add comment, now defined in
5053 * d-lang.c (parse_call_convention)
5054 (parse_attributes, parse_function_types)
5055 (parse_function_args, parse_type, parse_identifier)
5056 (call_convention_p, d_parse_symbol): Move functions to ...
5057 * d-support.c: ... New file.
5059 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
5061 * d-lang.h (d_parse_symbol): Add declaration.
5062 * d-lang.c (extract_identifiers)
5063 (extract_type_info): Remove functions.
5064 (parse_call_convention, parse_attributes)
5065 (parse_function_types, parse_function_args)
5066 (parse_type, parse_identifier, call_convention_p)
5067 (d_parse_symbol): New functions.
5068 (d_demangle): Use d_parse_symbol to demangle D symbols.
5070 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
5072 * d-lang.h (struct builtin_d_type): New data type.
5073 (builtin_d_type): Add declaration.
5074 * d-lang.c (d_language_arch_info, build_d_types)
5075 (builtin_d_type): New functions.
5076 (enum d_primitive_types): New data type.
5077 (d_language_defn): Change c_language_arch_info to
5078 d_language_arch_info.
5079 (d_type_data): New static variable.
5080 (_initialize_d_language): Initialize d_type_data.
5082 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
5084 * d-lang.h (d_main_name): Add declaration.
5085 * d-lang.c (d_main_name): New function.
5086 * symtab.c (find_main_name): Add call to d_main_name.
5088 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
5090 * d-lang.c (d_language_defn): Change macro_expansion_c to
5093 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
5095 * MAINTAINERS: Add myself as a write-after-approval maintainer.
5097 2014-01-17 Sergio Durigan Junior <sergiodj@redhat.com>
5099 * breakpoint.c (insert_bp_location): Add "volatile" keyword to "struct
5100 gdb_exception" declaration.
5101 * remote.c (getpkt_or_notif_sane): Likewise.
5103 2014-01-17 Doug Evans <dje@google.com>
5105 * common/gdb_vecs.c (delim_string_to_char_ptr_vec_append): New
5106 function, contents of dirnames_to_char_ptr_vec_append moved here.
5107 (delim_string_to_char_ptr_vec): New function.
5108 (dirnames_to_char_ptr_vec_append): Rewrite.
5109 * common/gdb_vecs.h (delim_string_to_char_ptr_vec): Declare.
5111 2014-01-17 Doug Evans <dje@google.com>
5113 * common/common-utils.h (FUNCTION_NAME): Renamed from ASSERT_FUNCTION,
5115 * common/gdb_assert.h (ASSERT_FUNCTION): ... from here.
5116 #include "common-utils.h".
5117 (gdb_assert, gdb_assert_fail, gdb_assert_not_reached): Update.
5118 * common/vec.h (VEC_ASSERT_PASS): Update.
5119 * darwin-nat.h: Replace #include of gdb_assert.h with common-utils.h.
5120 (MACH_CHECK_ERROR): Update.
5122 2014-01-17 Simon Marchi <simon.marchi@ericsson.com>
5124 * gdbarch.sh (gdbarch_address_class_name_to_type_flags): Add
5126 * gdbarch.h: Regenerate.
5128 2014-01-16 Tom Tromey <tromey@redhat.com>
5130 * value.c (struct value) <regnum>: Move earlier.
5132 2014-01-16 Tom Tromey <tromey@redhat.com>
5134 * remote.c (extended_remote_create_inferior): Rename from
5135 extended_remote_create_inferior_1. Add "ops" argument. Remove
5138 2014-01-16 Pedro Alves <palves@redhat.com>
5140 * s390-linux-tdep.c (s390_frame_unwind_cache): Swallow
5141 NOT_AVAILABLE_ERROR errors while parsing the prologue or reading
5144 2014-01-16 Doug Evans <dje@google.com>
5146 * dwarf2read.c (open_and_init_dwp_file): Fix typo in comment.
5148 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5150 * btrace.h (btrace_thread_flag): New.
5151 (struct btrace_thread_info) <flags>: New.
5152 * record-btrace.c (record_btrace_resume_thread)
5153 (record_btrace_find_thread_to_move, btrace_step_no_history)
5154 (btrace_step_stopped, record_btrace_start_replaying)
5155 (record_btrace_step_thread, record_btrace_decr_pc_after_break)
5156 (record_btrace_find_resume_thread): New.
5157 (record_btrace_resume, record_btrace_wait): Extend.
5158 (record_btrace_can_execute_reverse): New.
5159 (record_btrace_open): Fail in non-stop mode.
5160 (record_btrace_set_replay): Split into this, ...
5161 (record_btrace_stop_replaying): ... this, ...
5162 (record_btrace_clear_histories): ... and this.
5163 (init_record_btrace_ops): Init to_can_execute_reverse.
5164 * NEWS: Announce it.
5166 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5168 * target.h (struct target_ops) <to_decr_pc_after_break>: New.
5169 (forward_target_decr_pc_after_break)
5170 (target_decr_pc_after_break): New.
5171 * target.c (forward_target_decr_pc_after_break)
5172 (target_decr_pc_after_break): New.
5173 * aix-thread.c (aix_thread_wait): Call target_decr_pc_after_break
5174 instead of gdbarch_decr_pc_after_break.
5175 * darwin-nat.c (cancel_breakpoint): Call target_decr_pc_after_break
5176 instead of gdbarch_decr_pc_after_break.
5177 * infrun.c (adjust_pc_after_break): Call target_decr_pc_after_break
5178 instead of gdbarch_decr_pc_after_break.
5179 * linux-nat.c (cancel_breakpoint): Call target_decr_pc_after_break
5180 instead of gdbarch_decr_pc_after_break.
5181 * linux-thread-db.c (check_event): Call target_decr_pc_after_break
5182 instead of gdbarch_decr_pc_after_break.
5183 * record-full.c (record_full_wait_1): Call target_decr_pc_after_break
5184 instead of gdbarch_decr_pc_after_break.
5186 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5188 * btrace.c: Include regcache.h.
5189 (btrace_add_pc): New.
5190 (btrace_enable): Call btrace_add_pc.
5191 (btrace_is_empty): New.
5192 * btrace.h (btrace_is_empty): New.
5193 * record-btrace.c (require_btrace, record_btrace_info): Call
5196 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5198 * common/linux-btrace.c (perf_event_read_bts, linux_read_btrace):
5199 Support delta reads.
5200 (linux_disable_btrace): Change return type.
5201 * common/linux-btrace.h (linux_read_btrace): Change parameters
5202 and return type to allow error reporting. Update users.
5203 (linux_disable_btrace): Change return type. Update users.
5204 * common/btrace-common.h (btrace_read_type) <BTRACE_READ_DELTA>:
5206 (btrace_error): New.
5207 (btrace_block) <begin>: Comment on BEGIN == 0.
5208 * btrace.c (btrace_compute_ftrace): Start from the end of
5210 (btrace_stitch_trace, btrace_clear_history): New.
5211 (btrace_fetch): Read delta trace, return if replaying.
5212 (btrace_clear): Move clear history code to btrace_clear_history.
5213 (parse_xml_btrace): Throw an error if parsing failed.
5214 * target.h (struct target_ops) <to_read_btrace>: Change parameters
5215 and return type to allow error reporting.
5216 (target_read_btrace): Change parameters and return type to allow
5218 * target.c (target_read_btrace): Update.
5219 * remote.c (remote_read_btrace): Support delta reads. Pass
5221 * NEWS: Announce it.
5223 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5225 * record.h (record_btrace_frame_unwind)
5226 (record_btrace_tailcall_frame_unwind): New declarations.
5227 * dwarf2-frame: Include record.h
5228 (dwarf2_frame_cfa): Throw an error for btrace frames.
5229 * record-btrace.c: Include hashtab.h.
5230 (btrace_get_bfun_name): New.
5231 (btrace_call_history): Call btrace_get_bfun_name.
5232 (struct btrace_frame_cache): New.
5234 (bfcache_hash, bfcache_eq, bfcache_new): New.
5235 (btrace_get_frame_function): New.
5236 (record_btrace_frame_unwind_stop_reason): Allow unwinding.
5237 (record_btrace_frame_this_id): Compute own id.
5238 (record_btrace_frame_prev_register): Provide PC, throw_error
5239 for all other registers.
5240 (record_btrace_frame_sniffer): Detect btrace frames.
5241 (record_btrace_tailcall_frame_sniffer): New.
5242 (record_btrace_frame_dealloc_cache): New.
5243 (record_btrace_frame_unwind): Add new functions.
5244 (record_btrace_tailcall_frame_unwind): New.
5245 (_initialize_record_btrace): Allocate cache.
5246 * btrace.c (btrace_clear): Call reinit_frame_cache.
5247 * NEWS: Announce it.
5249 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5251 * record-btrace.c (record_btrace_set_replay)
5252 (record_btrace_goto_begin, record_btrace_goto_end)
5253 (record_btrace_goto): New.
5254 (init_record_btrace_ops): Initialize them.
5255 * NEWS: Announce it.
5257 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5259 * record-btrace.c (record_btrace_find_new_threads)
5260 (record_btrace_thread_alive): New.
5261 (init_record_btrace_ops): Initialize to_find_new_threads and
5264 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5266 * record-btrace.c (record_btrace_resume): New.
5267 (record_btrace_wait): New.
5268 (init_record_btrace_ops): Initialize to_wait and to_resume.
5270 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5272 * record-btrace.c (record_btrace_xfer_partial)
5273 (record_btrace_insert_breakpoint, record_btrace_remove_breakpoint)
5274 (record_btrace_allow_memory_access): New.
5275 (init_record_btrace_ops): Initialize new methods.
5276 * target.c (raw_memory_xfer_partial): Bail out if target reports
5277 that this memory is not available.
5279 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5281 * target.h (target_ops) <to_insert_breakpoint>
5282 <to_remove_breakpoint>: Add target_ops parameter.
5283 (forward_target_insert_breakpoint): New.
5284 (forward_target_remove_breakpoint): New.
5285 (memory_remove_breakpoint, memory_insert_breakpoint):
5286 Add target_ops parameter.
5287 * target.c (target_insert_breakpoint): Split into this and ...
5288 (forward_target_insert_breakpoint): ... this.
5289 (target_remove_breakpoint): Split into this and ...
5290 (forward_target_remove_breakpoint): ... this.
5291 (debug_to_insert_breakpoint): Add target_ops parameter.
5292 Call forward_target_insert_breakpoint.
5293 (debug_to_remove_breakpoint): Add target_ops parameter.
5294 Call forward_target_remove_breakpoint.
5295 (update_current_target): Do not inherit or default to_insert_breakpoint
5296 and to_remove_breakpoint.
5297 * corelow.c (ignore): Add target_ops parameter.
5298 * exec.c (ignore): Add target_ops parameter.
5299 * mem-break.c (memory_insert_breakpoint, memory_remove_breakpoint):
5300 Add target_ops parameter.
5301 * monitor.c (monitor_insert_breakpoint, monitor_remove_breakpoint):
5302 Add target_ops parameter.
5303 * nto-procfs.c (procfs_insert_breakpoint, procfs_remove_breakpoint):
5304 Add target_ops parameter.
5305 * record-full.c (record_full_beneath_to_insert_breakpoint)
5306 (record_full_beneath_to_remove_breakpoint, tmp_to_insert_breakpoint)
5307 (tmp_to_remove_breakpoint, record_full_insert_breakpoint)
5308 (record_full_remove_breakpoint, record_full_core_insert_breakpoint)
5309 (record_full_core_remove_breakpoint): Add target_ops parameter.
5311 (record_full_beneath_to_insert_breakpoint_ops)
5312 (record_full_beneath_to_remove_breakpoint_ops)
5313 (tmp_to_insert_breakpoint_ops, tmp_to_remove_breakpoint_ops): New.
5314 (record_full_open): Initialize tmp_to_insert_breakpoint_ops,
5315 tmp_to_remove_breakpoint_ops,
5316 record_full_beneath_to_insert_breakpoint_ops, and
5317 record_full_beneath_to_remove_breakpoint_ops.
5318 * remote-m32r-sdi.c (m32r_insert_breakpoint)
5319 (m32r_remove_breakpoint): Add target_ops parameter.
5320 * remote-mips.c (mips_insert_breakpoint, mips_remove_breakpoint):
5321 Add target_ops parameter.
5322 * remote.c (remote_insert_breakpoint, remote_remove_breakpoint):
5323 Add target_ops parameter.
5325 2014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
5326 Markus Metzger <markus.t.metzger@intel.com>
5328 * record-btrace.c: Include frame-unwind.h.
5329 (record_btrace_frame_unwind_stop_reason)
5330 (record_btrace_frame_this_id, record_btrace_frame_prev_register)
5331 (record_btrace_frame_sniffer, record_btrace_frame_unwind):
5333 (init_record_btrace_ops): Install it.
5335 2014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
5337 * frame.c (get_frame_unwind_stop_reason): Unconditionally call
5340 2014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
5342 * dwarf2-frame.c (dwarf2_frame_cfa): Move UNWIND_UNAVAILABLE check
5345 2014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
5347 * frame-unwind.c: Include target.h.
5348 (frame_unwind_try_unwinder): New function with code from ...
5349 (frame_unwind_find_by_frame): ... here. New variable
5350 unwinder_from_target, call also target_get_unwinder)
5351 (target_get_tailcall_unwinder, and frame_unwind_try_unwinder for it.
5352 * target.c (target_get_unwinder, target_get_tailcall_unwinder): New.
5353 * target.h (struct target_ops): New fields to_get_unwinder and
5354 to_get_tailcall_unwinder.
5355 (target_get_unwinder, target_get_tailcall_unwinder): New declarations.
5357 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5359 * record-btrace.c (record_btrace_fetch_registers)
5360 (record_btrace_store_registers)
5361 (record_btrace_to_prepare_to_store): New.
5362 (init_record_btrace_ops): Add the above.
5364 2014-01-16 Tom Tromey <tromey@redhat.com>
5366 * windows-nat.c (windows_prepare_to_store): Add 'self' argument.
5367 * target.h (struct target_ops) <to_prepare_to_store>: Add
5369 (target_prepare_to_store): Add argument.
5370 * target.c (debug_to_prepare_to_store): Add argument.
5371 (update_current_target): Update.
5372 * remote.c (remote_prepare_to_store): Add 'self' argument.
5373 * remote-sim.c (gdbsim_prepare_to_store): Add 'self' argument.
5374 * remote-mips.c (mips_prepare_to_store): Add 'self' argument.
5375 * remote-m32r-sdi.c (m32r_prepare_to_store): Add 'self' argument.
5376 * record-full.c (record_full_core_prepare_to_store): Add 'self'
5378 * ravenscar-thread.c (ravenscar_prepare_to_store): Add argument.
5379 * nto-procfs.c (procfs_prepare_to_store): Add 'self' argument.
5380 * monitor.c (monitor_prepare_to_store): Add 'self' argument.
5381 * inf-child.c (inf_child_prepare_to_store): Add 'self' argument.
5382 * go32-nat.c (go32_prepare_to_store): Add 'self' argument.
5384 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5386 * btrace.h (replay) <replay>: New.
5387 (btrace_is_replaying): New.
5388 * btrace.c (btrace_clear): Free replay iterator.
5389 (btrace_is_replaying): New.
5390 * record-btrace.c (record_btrace_is_replaying): New.
5391 (record_btrace_info): Print insn number if replaying.
5392 (record_btrace_insn_history): Start at replay position.
5393 (record_btrace_call_history): Start at replay position.
5394 (init_record_btrace_ops): Init to_record_is_replaying.
5396 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5398 * record-btrace.c (record_btrace_insn_history_range): Include
5400 (record_btrace_insn_history_from): Adjust range.
5401 (record_btrace_call_history_range): Include
5403 (record_btrace_call_history_from): Adjust range.
5404 * NEWS: Announce changes.
5406 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5408 * record.h (enum record_print_flag)
5409 <record_print_indent_calls>: New.
5410 * record.c (get_call_history_modifiers): Recognize /c modifier.
5411 (_initialize_record): Document /c modifier.
5412 * record-btrace.c (btrace_call_history): Add btinfo parameter.
5413 Reorder fields. Optionally indent the function name. Update
5415 * NEWS: Announce changes.
5417 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5419 * common/linux-btrace.c (linux_enable_btrace): Enlarge buffer.
5421 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5423 * btrace.c (ftrace_new_function): Start counting at one.
5424 * record-btrace.c (record_btrace_info): Adjust number of calls
5426 * NEWS: Announce it.
5428 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5430 * record-btrace.c (btrace_call_history_insn_range): Print
5431 insn range as [begin, end].
5433 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5435 * btrace.h (struct btrace_func_link): New.
5436 (enum btrace_function_flag): New.
5437 (struct btrace_inst): Rename to ...
5438 (struct btrace_insn): ...this. Update all users.
5439 (struct btrace_func) <ibegin, iend>: Remove.
5440 (struct btrace_func_link): New.
5441 (struct btrace_func): Rename to ...
5442 (struct btrace_function): ...this. Update all users.
5443 (struct btrace_function) <segment, flow, up, insn, insn_offset)
5444 (number, level, flags>: New.
5445 (struct btrace_insn_iterator): Rename to ...
5446 (struct btrace_insn_history): ...this.
5448 (struct btrace_insn_iterator, btrace_call_iterator): New.
5449 (struct btrace_target_info) <btrace, itrace, ftrace>: Remove.
5450 (struct btrace_target_info) <begin, end, level>
5451 <insn_history, call_history>: New.
5452 (btrace_insn_get, btrace_insn_number, btrace_insn_begin)
5453 (btrace_insn_end, btrace_insn_prev, btrace_insn_next)
5454 (btrace_insn_cmp, btrace_find_insn_by_number, btrace_call_get)
5455 (btrace_call_number, btrace_call_begin, btrace_call_end)
5456 (btrace_call_prev, btrace_call_next, btrace_call_cmp)
5457 (btrace_find_function_by_number, btrace_set_insn_history)
5458 (btrace_set_call_history): New.
5459 * btrace.c (btrace_init_insn_iterator)
5460 (btrace_init_func_iterator, compute_itrace): Remove.
5461 (ftrace_print_function_name, ftrace_print_filename)
5462 (ftrace_skip_file): Change
5464 (ftrace_init_func): Remove.
5465 (ftrace_debug): Use new btrace_function fields.
5466 (ftrace_function_switched): Also consider gaining and
5467 losing symbol information).
5468 (ftrace_print_insn_addr, ftrace_new_call, ftrace_new_return)
5469 (ftrace_new_switch, ftrace_find_caller, ftrace_new_function)
5470 (ftrace_update_caller, ftrace_fixup_caller, ftrace_new_tailcall):
5472 (ftrace_new_function): Move. Remove debug print.
5473 (ftrace_update_lines, ftrace_update_insns): New.
5474 (ftrace_update_function): Check for call, ret, and jump.
5475 (compute_ftrace): Renamed to ...
5476 (btrace_compute_ftrace): ...this. Rewritten to compute call
5478 (btrace_fetch, btrace_clear): Updated.
5479 (btrace_insn_get, btrace_insn_number, btrace_insn_begin)
5480 (btrace_insn_end, btrace_insn_prev, btrace_insn_next)
5481 (btrace_insn_cmp, btrace_find_insn_by_number, btrace_call_get)
5482 (btrace_call_number, btrace_call_begin, btrace_call_end)
5483 (btrace_call_prev, btrace_call_next, btrace_call_cmp)
5484 (btrace_find_function_by_number, btrace_set_insn_history)
5485 (btrace_set_call_history): New.
5486 * record-btrace.c (require_btrace): Use new btrace thread
5488 (record_btrace_info, btrace_insn_history)
5489 (record_btrace_insn_history, record_btrace_insn_history_range):
5490 Use new btrace thread info fields and new iterator.
5491 (btrace_func_history_src_line): Rename to ...
5492 (btrace_call_history_src_line): ...this. Use new btrace
5494 (btrace_func_history): Rename to ...
5495 (btrace_call_history): ...this. Use new btrace thread info
5496 fields and new iterator.
5497 (record_btrace_call_history, record_btrace_call_history_range):
5498 Use new btrace thread info fields and new iterator.
5500 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5502 * frame.h (frame_id_build_unavailable_stack_special): New.
5503 * frame.c (frame_id_build_unavailable_stack_special): New.
5505 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5507 * amd64-tdep.c (amd64_classify_insn_at, amd64_insn_is_call)
5508 (amd64_insn_is_ret, amd64_insn_is_jump, amd64_jmp_p): New.
5509 (amd64_init_abi): Add insn_is_call, insn_is_ret, and insn_is_jump
5511 * i386-tdep.c (i386_insn_is_call, i386_insn_is_ret)
5512 (i386_insn_is_jump, i386_jmp_p): New.
5513 (i386_gdbarch_init): Add insn_is_call, insn_is_ret, and
5514 insn_is_jump to gdbarch.
5515 * gdbarch.sh (insn_is_call, insn_is_ret, insn_is_jump): New.
5516 * gdbarch.h: Regenerated.
5517 * gdbarch.c: Regenerated.
5518 * arch-utils.h (default_insn_is_call, default_insn_is_ret)
5519 (default_insn_is_jump): New.
5520 * arch-utils.c (default_insn_is_call, default_insn_is_ret)
5521 (default_insn_is_jump): New.
5523 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5525 * common/btrace-common.h (btrace_read_type) <btrace_read_all>:
5527 (btrace_read_type) <BTRACE_READ_ALL>: ... this. Update users.
5528 (btrace_read_type) <btrace_read_new>: Change to ...
5529 (btrace_read_type) <BTRACE_READ_NEW>: ... this. Update users.
5531 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5533 * common/linux-btrace.c (linux_read_btrace): Free trace from
5536 2014-01-15 Doug Evans <dje@google.com>
5538 * dwarf2read.c (open_and_init_dwp_file): Use pulongest to print
5541 2014-01-15 Tom Tromey <tromey@redhat.com>
5543 * dbxread.c (process_one_symbol): Use set_objfile_main_name.
5544 * dwarf2read.c (read_partial_die): Use set_objfile_main_name.
5545 * objfiles.c (get_objfile_bfd_data): Initialize language_of_main.
5546 (set_objfile_main_name): New function.
5547 * objfiles.h (struct objfile_per_bfd_storage) <name_of_main,
5548 language_of_main>: New fields.
5549 (set_objfile_main_name): Declare.
5550 * symtab.c (find_main_name): Loop over objfiles to find the main
5552 (set_main_name): Now static.
5553 (get_main_info): Add comment.
5554 * symtab.h (set_main_name): Don't declare.
5556 2014-01-15 Tom Tromey <tromey@redhat.com>
5558 * symtab.c (main_progspace_key): New global.
5559 (struct main_info): New.
5560 (name_of_main, language_of_main): Remove.
5561 (get_main_info, main_info_cleanup): New function.
5562 (set_main_name, main_name, main_language): Use get_main_info.
5563 (_initialize_symtab): Initialize main_progspace_key.
5565 2014-01-15 Tom Tromey <tromey@redhat.com>
5567 * dbxread.c (process_one_symbol): Update.
5568 * dwarf2read.c (read_partial_die): Update.
5569 * symfile.c (set_initial_language): Call main_language.
5570 * symtab.c (language_of_main): Now static.
5571 (set_main_name): Add 'lang' parameter.
5572 (find_main_name): Update.
5573 (main_language): New function.
5574 (symtab_observer_executable_changed): Update.
5575 * symtab.h (set_main_name): Update.
5576 (language_of_main): Remove.
5577 (main_language): Declare.
5579 2014-01-15 Tom Tromey <tromey@redhat.com>
5581 * symfile.c (init_entry_point_info): Use new "initialized" field.
5583 * objfiles.h (struct entry_point) <initialized>: New field.
5584 (struct objfile_per_bfd_storage) <ei>: New field, moved from...
5585 (struct objfile) <ei>: ...here. Remove.
5586 * objfiles.c (entry_point_address_query): Update.
5588 2014-01-15 Tom Tromey <tromey@redhat.com>
5590 * objfiles.c (entry_point_address_query): Relocate entry point
5592 (objfile_relocate1): Do not relocate entry point address.
5593 * objfiles.h (struct entry_info) <entry_point>: Update comment.
5594 <the_bfd_section_index>: New field.
5595 * symfile.c (init_entry_point_info): Find the entry point's
5598 2014-01-15 Tom Tromey <tromey@redhat.com>
5600 * solib-frv.c (enable_break): Use entry_point_address_query.
5602 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
5604 * NEWS: Add note on improved process record-replay on
5605 arm*-linux* targets.
5607 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
5609 * arm-tdep.c (enum arm_record_result): New enum.
5610 (arm_record_unsupported_insn): New function.
5611 (arm_record_coproc_data_proc): Removed.
5612 (thumb2_record_ld_st_multiple): New function.
5613 (thumb2_record_ld_st_dual_ex_tbb): New function.
5614 (thumb2_record_data_proc_sreg_mimm): New function.
5615 (thumb2_record_ps_dest_generic): New function.
5616 (thumb2_record_branch_misc_cntrl): New function.
5617 (thumb2_record_str_single_data): New function.
5618 (thumb2_record_ld_mem_hints): New function.
5619 (thumb2_record_ld_word): New function.
5620 (thumb2_record_lmul_lmla_div): New function.
5621 (thumb2_record_decode_insn_handler): New function.
5622 (decode_insn): Add thumb32 instruction handlers.
5624 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
5626 * arm-linux-tdep.c: Include "record-full.h" and "linux-record.h".
5627 (struct arm_linux_record_tdep): Declare.
5628 (arm_canonicalize_syscall): New function.
5629 (arm_all_but_pc_registers_record): New function.
5630 (arm_linux_syscall_record): New function.
5631 (arm_linux_init_abi): Add syscall recording constructs.
5632 * arm-tdep.c (thumb_record_ldm_stm_swi): Update thumb syscall
5633 decoding. (arm_record_coproc_data_proc): Update arm syscall
5635 * arm-tdep.h (struct gdbarch_tdep) <arm_swi_record>: Remove.
5636 <arm_syscall_record>: New field.
5637 * configure.tgt (arm*-*-linux*): Add linux-record.o to
5640 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
5642 * arm-tdep.c (thumb_record_misc): Update to use sp as base
5643 register for push instruction recording.
5645 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
5647 * arm-tdep.c (thumb_record_misc): Update to correct logical
5648 error while recording ldm, ldmia and pop instructions.
5650 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
5652 * arm-tdep.c (struct arm_mem_r) <addr>: Change type to uint32_t.
5654 2014-01-15 Pedro Alves <palves@redhat.com>
5656 * go32-nat.c (go32_open, go32_close, go32_attach, go32_detach)
5657 (go32_resume, go32_fetch_registers, store_register)
5658 (go32_store_registers, go32_prepare_to_store)
5659 (go32_xfer_memory, go32_files_info, go32_kill_inferior)
5660 (go32_create_inferior, go32_can_run, go32_terminal_init)
5661 (go32_terminal_inferior, go32_terminal_ours): Delete forward
5664 2014-01-15 Tom Tromey <tromey@redhat.com>
5666 * target.h (async_callback_ftype): New typedef.
5667 (struct target_ops) <to_async>: Use it.
5669 2014-01-15 Joel Brobecker <brobecker@adacore.com>
5671 * python/py-value.c (get_field_type): Remove unnecessary curly
5672 braces for single-statement if block.
5674 2014-01-15 Joel Brobecker <brobecker@adacore.com>
5676 * python/py-type.c (convert_field): Add missing empty line
5679 2014-01-14 Doug Evans <dje@google.com>
5681 * symfile.h (expand_symtabs_matching): Renamed from
5682 expand_partial_symbol_names. Update prototype.
5683 (map_symbol_filenames): Renamed from map_partial_symbol_filenames.
5684 * symfile.c (expand_symtabs_matching): Renamed from
5685 expand_partial_symbol_names. New args file_matcher, kind.
5686 Rename arg fun to symbol_matcher.
5687 (map_symbol_filenames): Renamed from map_partial_symbol_filenames.
5688 * ada-lang.c (ada_complete_symbol_matcher): Renamed from
5689 ada_expand_partial_symbol_name.
5690 (ada_make_symbol_completion_list): Update to call
5691 expand_symtabs_matching.
5692 (ada_add_global_exceptions): Call expand_symtabs_matching.
5693 * mi/mi-cmd-file.c (mi_cmd_file_list_exec_source_files): Update to
5694 call map_symbol_filenames.
5695 * symtab.c (sources_info): Update to call map_symbol_filenames.
5696 (search_symbols): Call expand_symtabs_matching.
5697 (symbol_completion_matcher): Renamed from expand_partial_symbol_name.
5698 (default_make_symbol_completion_list_break_on): Update to call
5699 expand_symtabs_matching.
5700 (make_source_files_completion_list): Update to call
5701 map_symbol_filenames.
5703 2014-01-14 Doug Evans <dje@google.com>
5705 * symfile.h (expand_symtabs_file_matcher_ftype): New typedef.
5706 (expand_symtabs_symbol_matcher_ftype): New typedef.
5707 (quick_symbol_functions.expand_symtabs_matching): Update to use.
5708 expand_symtabs_file_matcher_ftype, expand_symtabs_symbol_matcher_ftype.
5709 * symfile.c (expand_partial_symbol_names): Update to use
5710 expand_symtabs_symbol_matcher_ftype.
5711 * dwarf2read.c (dw2_expand_symtabs_matching): Update to use
5712 expand_symtabs_file_matcher_ftype, expand_symtabs_symbol_matcher_ftype.
5713 Arg name_matcher renamed to symbol_matcher.
5714 * psymtab.c (recursively_search_psymtabs): Update to use
5715 expand_symtabs_symbol_matcher_ftype. Arg name_matcher renamed to
5717 (expand_symtabs_matching_via_partial): Update to use
5718 expand_symtabs_file_matcher_ftype, expand_symtabs_symbol_matcher_ftype.
5719 Arg name_matcher renamed to symbol_matcher.
5721 2014-01-14 Doug Evans <dje@google.com>
5723 * psymtab.c (expand_partial_symbol_names): Delete, moved to symfile.c.
5724 (map_partial_symbol_filenames): Ditto.
5725 * psymtab.h (expand_partial_symbol_names): Delete, moved to symfile.h.
5726 (map_partial_symbol_filenames): Ditto.
5727 * symfile.c (expand_partial_symbol_names): Moved here from psymtab.c.
5728 (map_partial_symbol_filenames): Ditto.
5729 * symfile.h (expand_partial_symbol_names): Moved here from psymtab.h.
5730 (map_partial_symbol_filenames): Ditto.
5731 * symtab.c: Delete #include "psymtab.h".
5733 2014-01-14 Pedro Alves <palves@redhat.com>
5734 Tom Tromey <tromey@redhat.com>
5736 * infrun.c (use_displaced_stepping): Use find_record_target
5737 instead of RECORD_IS_USED.
5738 (adjust_pc_after_break): Use record_full_is_used instead of
5740 * record-btrace.c (record_btrace_open): Call record_preopen
5741 instead of checking RECORD_IS_USED.
5742 * record-full.c (record_full_shortname)
5743 (record_full_core_shortname): New globals.
5744 (record_full_is_used): New function.
5745 (find_full_open): Call record_preopen instead of checking
5747 (init_record_full_ops): Set the target's shortname to
5748 record_full_shortname.
5749 (init_record_full_core_ops): Set the target's shortname to
5750 record_full_core_shortname.
5751 * record-full.h (record_full_is_used): Declare.
5752 * record.c (find_record_target): Make extern.
5753 (record_preopen): New function.
5754 * record.h (RECORD_IS_USED): Delete macro.
5755 (find_record_target, record_preopen): Declare functions.
5757 2014-01-14 Yao Qi <yao@codesourcery.com>
5759 * gdbarch.sh (core_xfer_shared_libraries): Change its argument
5760 'len''s type to ULONGEST.
5761 (core_xfer_shared_libraries_aix): Likewise.
5762 * gdbarch.c, gdbarch.h: Regenerated.
5763 * i386-cygwin-tdep.c (windows_core_xfer_shared_libraries):
5764 Change type of 'len' to ULONGEST.
5765 * rs6000-aix-tdep.c (rs6000_aix_ld_info_to_xml): Likewise.
5766 (rs6000_aix_core_xfer_shared_libraries_aix): Likewise.
5768 2014-01-14 Yao Qi <yao@codesourcery.com>
5770 * common/linux-osdata.c (linux_xfer_osdata_processes): Change
5771 type of 'len' to ULONGEST.
5772 (linux_xfer_osdata_processgroups): Likewise.
5773 (linux_xfer_osdata_threads): Likewise.
5774 (linux_xfer_osdata_fds): Likewise.
5775 (linux_xfer_osdata_isockets): Likewise.
5776 (linux_xfer_osdata_shm): Likewise.
5777 (linux_xfer_osdata_sem): Likewise.
5778 (linux_xfer_osdata_msg): Likewise.
5779 (linux_common_xfer_osdata): Likewise.
5780 (struct osdata_type) <getter>: Likewise.
5781 * common/linux-osdata.h (linux_common_xfer_osdata): Update
5784 2014-01-14 Yao Qi <yao@codesourcery.com>
5786 * target.h (target_xfer_partial_ftype): Update.
5787 (struct target_ops) <to_xfer_partial>: Change 'len' type to
5789 * aix-thread.c (aix_thread_xfer_partial): Change type of
5790 argument 'len' to ULONGEST.
5791 * auxv.c (procfs_xfer_auxv): Likewise.
5792 (ld_so_xfer_auxv): Likewise.
5793 (memory_xfer_auxv): Likewise.
5794 * bfd-target.c (target_bfd_xfer_partial): Likewise.
5795 * bsd-kvm.c (bsd_kvm_xfer_partial): Likewise.
5796 * bsd-uthread.c (bsd_uthread_xfer_partial): Likewise.
5797 * corelow.c (core_xfer_partial): Likewise.
5798 * ctf.c (ctf_xfer_partial): Likewise.
5799 * darwin-nat.c (darwin_read_write_inferior): Likewise. Use
5801 (darwin_read_dyld_info): Likewise.
5802 (darwin_xfer_partial): Likewise.
5803 * exec.c (section_table_xfer_memory_partial): Likewise.
5804 (exec_xfer_partial): Likewise.
5805 * exec.h (section_table_xfer_memory_partial): Update
5807 * gnu-nat.c (gnu_xfer_memory): Likewise. Call pulongest
5808 instead of plongest.
5809 (gnu_xfer_partial): Likewise.
5810 * ia64-hpux-nat.c (ia64_hpux_xfer_memory): Likewise.
5811 (ia64_hpux_xfer_solib_got): Likewise.
5812 (ia64_hpux_xfer_partial): Likewise.
5813 * ia64-linux-nat.c (ia64_linux_xfer_partial):
5814 * inf-ptrace.c (inf_ptrace_xfer_partial):
5815 * inf-ttrace.c (inf_ttrace_xfer_partial):
5816 * linux-nat.c (linux_xfer_siginfo): Likewise.
5817 (linux_nat_xfer_partial): Likewise.
5818 (spu_enumerate_spu_ids, linux_proc_xfer_spu): Likewise.
5819 (linux_nat_xfer_osdata, linux_xfer_partial): Likewise.
5820 * monitor.c (monitor_xfer_memory): Likewise.
5821 (monitor_xfer_partial): Likewise.
5822 * procfs.c (procfs_xfer_partial): Likewise.
5823 * record-full.c (record_full_xfer_partial): Likewise.
5824 (record_full_core_xfer_partial): Likewise.
5825 * remote-sim.c (gdbsim_xfer_memory): Likewise. Call pulongest
5826 instead of plongest.
5827 (gdbsim_xfer_partial): Likewise.
5828 * remote.c (remote_xfer_partial): Likewise.
5829 * rs6000-aix-tdep.c (rs6000_aix_ld_info_to_xml): Likewise.
5830 * rs6000-aix-tdep.h (rs6000_aix_ld_info_to_xml): Update
5832 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
5833 (rs6000_xfer_shared_libraries): Likewise.
5834 * sol-thread.c (sol_thread_xfer_partial): Likewise.
5835 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
5836 (sparc_xfer_partial): Likewise.
5837 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise.
5838 (spu_xfer_partial): Likewise.
5839 * spu-multiarch.c (spu_xfer_partial): Likewise.
5840 * target.c (target_read_live_memory): Likewise.
5841 (memory_xfer_live_readonly_partial): Likewise.
5842 (memory_xfer_partial, memory_xfer_partial_1): Likewise.
5843 (target_xfer_partial, default_xfer_partial): Likewise.
5844 (current_xfer_partial): Likewise.
5845 * tracepoint.c (tfile_xfer_partial): Likewise.
5846 * windows-nat.c (windows_xfer_memory): Likewise. Call
5847 pulongest instead of plongest.
5848 (windows_xfer_partial): Likewise.
5849 (windows_xfer_shared_libraries): Likewise.
5851 2014-01-14 Yao Qi <yao@codesourcery.com>
5853 * rs6000-nat.c (rs6000_xfer_shared_libraries): Use
5854 target_xfer_partial_ftype.
5856 2014-01-13 Siva Chandra Reddy <sivachandra@google.com>
5860 * valops.c (value_struct_elt_bitpos): New function
5861 * py-type.c (convert_field): Set 'name' attribute of a gdb.Field
5862 object to 'None' if the field name is an empty string ("").
5863 * python/py-value.c (valpy_getitem): Use 'bitpos' and 'type'
5864 attribute to look for a field when 'name' is 'None'.
5865 (get_field_type): New function
5867 2014-01-13 Doug Evans <dje@google.com>
5870 * dwarf2read.c (dwarf2_get_dwz_file): Call gdb_bfd_record_inclusion.
5871 (try_open_dwop_file): Ditto.
5872 * gdb_bfd.c: #include "vec.h".
5873 (bfdp): New typedef.
5874 (struct gdb_bfd_data): New member included_bfds.
5875 (gdb_bfd_unref): Unref all included bfds.
5876 (gdb_bfd_record_inclusion): New function.
5877 * gdb_bfd.h (gdb_bfd_record_inclusion): Declare.
5879 2014-01-13 Tom Tromey <tromey@redhat.com>
5881 * gdbcore.h (deprecated_core_resize_section_table): Remove.
5883 2014-01-13 Tom Tromey <tromey@redhat.com>
5885 * defs.h (use_windows): Remove.
5886 * gdb.c (main): Update.
5887 * main.c (captured_main, gdb_main): Update.
5888 * main.h (struct captured_main_args) <use_windows>: Remove.
5889 * top.c (use_windows): Remove.
5891 2014-01-13 Tom Tromey <tromey@redhat.com>
5893 * defs.h (deprecated_flush_hook): Remove.
5895 2014-01-13 Jan Kratochvil <jan.kratochvil@redhat.com>
5898 * linux-thread-db.c (try_thread_db_load): Add parameter
5899 check_auto_load_safe. Move here the file_is_auto_load_safe call.
5900 (try_thread_db_load_from_pdir_1): Move it there from here.
5901 (try_thread_db_load_from_sdir): Update caller.
5902 (try_thread_db_load_from_dir): Move it there from here.
5904 2014-01-13 Patrick Palka <patrick@parcs.ath.cx>
5906 * regformats/regdat.sh: Always rewrite the register file.
5908 2014-01-13 Pedro Alves <palves@redhat.com>
5910 * Makefile.in (CHECK_HEADERS): New variable.
5911 (check-headers:): New rule.
5913 2014-01-13 Tom Tromey <tromey@redhat.com>
5915 * cli/cli-setshow.c (do_set_command): Update.
5916 * defs.h (deprecated_set_hook): Remove.
5917 * top.c (deprecated_set_hook): Remove.
5919 2014-01-13 Pedro Alves <palves@redhat.com>
5921 * tracepoint.c (tfile_fetch_registers): Don't infer the PC from
5922 the tracepoint if the PC is a pseudo-register.
5924 2014-01-13 Tom Tromey <tromey@redhat.com>
5926 * defs.h (XCALLOC): Remove.
5927 * bcache.c (bcache_xmalloc): Use XCNEW, not XCALLOC.
5928 (print_bcache_statistics): Use XCNEWVEC, not XCALLOC.
5929 * dwarf2loc.c (allocate_piece_closure): Likewise.
5930 * elfread.c (elf_symfile_segments): Likewise.
5931 (elf_symfile_segments): Likewise.
5932 * gdbtypes.c (copy_type_recursive): Likewise.
5933 * i386-tdep.c (i386_gdbarch_init): Use XCNEW, not XCALLOC.
5934 * jit.c (jit_frame_sniffer): Use XCNEWVEC, not XCALLOC.
5935 * minsyms.c (prim_record_minimal_symbol_full): Use XCNEW, not
5937 * mt-tdep.c (mt_gdbarch_init): Likewise.
5938 * opencl-lang.c (allocate_lval_closure): Use XCNEWVEC, not
5940 * psymtab.c (psymbol_compare): Use XCNEW, not XCALLOC.
5941 * regcache.c (regcache_xmalloc_1): Use XCNEWVEC, not XCALLOC.
5942 * registry.c (registry_alloc_data): Likewise.
5943 * rs6000-tdep.c (rs6000_gdbarch_init): Use XCNEW, not XCALLOC.
5944 * s390-linux-tdep.c (s390_gdbarch_init): Likewise.
5945 * serial.c (serial_fdopen_ops): Likewise.
5946 * solib-aix.c (solib_aix_get_section_offsets): Use XCNEWVEC, not
5948 * spu-tdep.c (spu_gdbarch_init): Use XCNEW, not XCALLOC.
5949 * symfile.c (default_symfile_segments): Use XCNEW and XCNEWVEC,
5952 2014-01-13 Tom Tromey <tromey@redhat.com>
5954 * defs.h (XMALLOC): Remove.
5955 * avr-tdep.c (avr_gdbarch_init): Use XNEW, not XMALLOC.
5956 * bfin-tdep.c (bfin_gdbarch_init): Likewise.
5957 * cli-out.c (struct ui_out *): Likewise.
5958 * cli/cli-dump.c (add_dump_command): Likewise.
5959 (add_dump_command): Likewise.
5960 * complaints.c (get_complaints): Likewise.
5961 (find_complaint): Likewise.
5962 * dwarf2-frame.c (execute_cfa_program): Likewise.
5963 * dwarf2read.c (abbrev_table_read_table): Likewise.
5964 * gdbarch.sh: Likewise.
5965 * gdbarch.c: Rebuild.
5966 * inf-ttrace.c (inf_ttrace_add_page): Likewise.
5967 * interps.c (interp_new): Likewise.
5968 * lm32-tdep.c (lm32_gdbarch_init): Likewise.
5969 * m32r-tdep.c (m32r_gdbarch_init): Likewise.
5970 * mi/mi-console.c (mi_console_file_new): Likewise.
5971 * mi/mi-interp.c (mi_interpreter_init): Likewise.
5972 * mi/mi-out.c (mi_out_new): Likewise.
5973 * mi/mi-parse.c (mi_parse): Likewise.
5974 * microblaze-tdep.c (microblaze_gdbarch_init): Likewise.
5975 * moxie-tdep.c (moxie_gdbarch_init): Likewise.
5976 * observer.c (xalloc_observer_list_node): Likewise.
5977 * regcache.c (regcache_xmalloc_1): Likewise.
5978 * reggroups.c (reggroup_new): Likewise.
5979 (_initialize_reggroup): Likewise.
5980 * registry.c (register_data_with_cleanup): Likewise.
5981 * remote.c (remote_notif_stop_alloc_reply): Likewise.
5982 * ser-base.c (serial_ttystate): Likewise.
5983 * ser-mingw.c (make_pipe_state): Likewise.
5984 * ser-pipe.c (pipe_open): Likewise.
5985 * serial.c (serial_open): Likewise.
5986 * sh64-tdep.c (sh64_gdbarch_init): Likewise.
5987 * tui/tui-data.c (tui_alloc_generic_win_info): Likewise.
5988 (tui_alloc_win_info): Likewise.
5989 (tui_add_content_elements): Likewise.
5990 * tui/tui-file.c (tui_file_new): Likewise.
5991 * tui/tui-out.c (tui_out_new): Likewise.
5992 * ui-file.c (mem_file_new): Likewise.
5993 * ui-out.c (push_level): Likewise.
5994 (make_cleanup_ui_out_end): Likewise.
5995 (append_header_to_list): Likewise.
5996 (ui_out_new): Likewise.
5997 * user-regs.c (user_reg_add_builtin): Likewise.
5999 2014-01-13 Tom Tromey <tromey@redhat.com>
6001 * defs.h (XZALLOC): Remove.
6002 * ada-lang.c (get_ada_inferior_data): Use XCNEW, not XZALLOC.
6003 * ada-tasks.c (get_ada_tasks_pspace_data): Likewise.
6004 (get_ada_tasks_inferior_data): Likewise.
6005 * auto-load.c (get_auto_load_pspace_data): Likewise.
6006 * auxv.c (get_auxv_inferior_data): Likewise.
6007 * bfd-target.c (target_bfd_reopen): Likewise.
6008 * breakpoint.c (get_catch_syscall_inferior_data): Likewise.
6009 (deprecated_insert_raw_breakpoint): Likewise.
6010 * bsd-uthread.c (bsd_uthread_pid_to_str): Likewise.
6011 * corelow.c (core_open): Likewise.
6012 * darwin-nat.c (darwin_check_new_threads): Likewise.
6013 (darwin_attach_pid): Likewise.
6014 * dummy-frame.c (dummy_frame_push): Likewise.
6015 * dwarf2-frame.c (dwarf2_frame_cache): Likewise.
6016 * dwarf2loc.c (allocate_piece_closure): Likewise.
6017 * elfread.c (elf_symfile_segments): Likewise.
6018 * eval.c (ptrmath_type_p): Likewise.
6019 * exceptions.c (EXCEPTIONS_SIGJMP_BUF): Likewise.
6020 * gdbtypes.c (alloc_type_arch): Likewise.
6021 (alloc_type_instance): Likewise.
6022 * hppa-tdep.c (hppa_gdbarch_init): Likewise.
6023 * inf-child.c (inf_child_can_use_agent): Likewise.
6024 * inflow.c (get_inflow_inferior_data): Likewise.
6025 * infrun.c (save_infcall_suspend_state): Likewise.
6026 * jit.c (jit_reader_load): Likewise.
6027 (get_jit_objfile_data): Likewise.
6028 (get_jit_program_space_data): Likewise.
6029 (jit_object_open_impl): Likewise.
6030 (jit_symtab_open_impl): Likewise.
6031 (jit_block_open_impl): Likewise.
6032 (jit_frame_sniffer): Likewise.
6033 * linux-fork.c (add_fork): Likewise.
6034 * maint.c (make_command_stats_cleanup): Likewise.
6035 * objfiles.c (get_objfile_pspace_data): Likewise.
6036 * opencl-lang.c (struct lval_closure): Likewise.
6037 * osdata.c (osdata_start_osdata): Likewise.
6038 * progspace.c (new_address_space): Likewise.
6039 (add_program_space): Likewise.
6040 * remote-sim.c (get_sim_inferior_data): Likewise.
6041 * sh-tdep.c (sh_gdbarch_init): Likewise.
6042 * skip.c (Ignore): Likewise.
6043 (skip_delete_command): Likewise.
6044 * solib-aix.c (get_solib_aix_inferior_data): Likewise.
6045 (library_list_start_library): Likewise.
6046 (solib_aix_current_sos): Likewise.
6047 * solib-darwin.c (get_darwin_info): Likewise.
6048 (darwin_current_sos): Likewise.
6049 * solib-dsbt.c (get_dsbt_info): Likewise.
6050 * solib-ia64-hpux.c (new_so_list): Likewise.
6051 (ia64_hpux_get_solib_linkage_addr): Likewise.
6052 * solib-spu.c (append_ocl_sos): Likewise.
6053 (spu_current_sos): Likewise.
6054 * solib-svr4.c (get_svr4_info): Likewise.
6055 (svr4_keep_data_in_core): Likewise.
6056 (library_list_start_library): Likewise.
6057 (svr4_default_sos): Likewise.
6058 (svr4_read_so_list): Likewise.
6059 * solib-target.c (library_list_start_library): Likewise.
6060 (solib_target_current_sos): Likewise.
6061 * sparc-tdep.c (sparc32_gdbarch_init): Likewise.
6062 * symfile-debug.c (install_symfile_debug_logging): Likewise.
6063 * symfile.c (default_symfile_segments): Likewise.
6064 * target-descriptions.c (tdesc_data_init): Likewise.
6065 (tdesc_create_reg): Likewise.
6066 (struct tdesc_type *): Likewise.
6067 (tdesc_create_vector): Likewise.
6068 (tdesc_set_struct_size): Likewise.
6069 (struct tdesc_type *): Likewise.
6070 (tdesc_free_feature): Likewise.
6071 (tdesc_create_feature): Likewise.
6072 * windows-nat.c (windows_add_thread): Likewise.
6073 (windows_make_so): Likewise.
6074 * xml-support.c (gdb_xml_body_text): Likewise.
6075 (gdb_xml_create_parser_and_cleanup): Likewise.
6076 (xml_process_xincludes): Likewise.
6077 * xml-syscall.c (allocate_syscalls_info): Likewise.
6078 (syscall_create_syscall_desc): Likewise.
6080 2014-01-12 Sergio Durigan Junior <sergiodj@redhat.com>
6082 * i386-tdep.c (i386_stap_parse_special_token_triplet): New
6083 function, with code from i386_stap_parse_special_token.
6084 (i386_stap_parse_special_token_three_arg_disp): Likewise.
6085 (i386_stap_parse_special_token): Move code to the two functions
6088 2014-01-09 Pedro Alves <palves@redhat.com>
6089 Hui Zhu <hui@codesourcery.com>
6092 * breakpoint.c (insert_bp_location): Rename hw_bp_err_string to
6093 bp_err_string. Don't mark the location shlib_disabled if the
6094 error thrown wasn't a generic or memory error. Catch errors
6095 thrown while inserting breakpoints in overlayed code. Output
6096 error message of software breakpoints.
6097 * remote.c (remote_insert_breakpoint): If this breakpoint has
6098 target-side commands but this stub doesn't support Z0 packets,
6099 throw NOT_SUPPORTED_ERROR error.
6100 * exceptions.h (enum errors) <NOT_SUPPORTED_ERROR>: New error.
6101 * target.h (target_insert_breakpoint): Extend comment.
6102 (target_insert_hw_breakpoint): Add comment.
6104 2014-01-08 Pedro Alves <palves@redhat.com>
6106 * remote.c (remote_add_thread): Add threads silently if starting
6108 (remote_notice_new_inferior): If in all-stop, and starting up,
6109 don't call notice_new_inferior.
6110 (get_current_thread): New function, factored out from ...
6111 (add_current_inferior_and_thread): ... this. Adjust.
6112 (remote_start_remote) <all-stop>: Fetch the thread list. If we
6113 found any thread, then select the remote's current thread as GDB's
6116 2014-01-08 Joel Brobecker <brobecker@adacore.com>
6118 * NEWS: Create a new section for the next release branch.
6119 Rename the section of the current branch, now that it has
6122 2014-01-08 Joel Brobecker <brobecker@adacore.com>
6124 GDB 7.7 branch created (79301218fa0f074c5656db0ec8972a5ddcf91fb5):
6125 * version.in: Bump version to 7.7.50.DATE-cvs.
6127 2014-01-08 Yao Qi <yao@codesourcery.com>
6129 * spu-linux-nat.c (spu_symbol_file_add_from_memory): Change
6130 type of 'id' to gdb_byte. Cast 'id' to 'const char *'.
6131 (spu_xfer_partial): Cast 'buf' to 'const char *'.
6133 2014-01-08 Yao Qi <yao@codesourcery.com>
6135 * spu-linux-nat.c (spu_symbol_file_add_from_memory): Pass
6136 return value of bfd_get_filename to symbol_file_add_from_bfd.
6138 2014-01-08 Pierre Muller <muller@sourceware.org>
6141 * coff-pe-read.c (struct read_pe_section_data): Add index field.
6142 (add_pe_exported_sym): Use SECTION_DATA->INDEX for call
6143 to prim_record_mininal_symbol_and_info.
6144 (add_pe_forwarded_sym): Use known section number of forwarded symbol
6145 in call to prim_record_minimal_symbol_and_info.
6146 (read_pe_exported_syms): Set index field of section_data.
6148 2014-01-07 Andrew Pinski <apinski@cavium.com>
6150 * features/aarch64-core.xml (cpsr): Change to be 64bit.
6151 * features/aarch64.c: Regenerate.
6153 2014-01-07 Andreas Schwab <schwab@linux-m68k.org>
6155 * target.c (return_null): Define.
6156 (update_current_target): Use it instead of return_zero for
6157 functions that return a pointer.
6159 2014-01-07 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
6161 * source.c (add_path): Fix check for duplicated paths in the previously
6164 2014-01-07 Honggyu Kim <hong.gyu.kim@lge.com>
6166 * ada-lang.c: Remove duplicated include statements.
6167 * alphabsd-nat.c: Ditto.
6168 * amd64-darwin-tdep.c: Ditto.
6169 * amd64fbsd-nat.c: Ditto.
6170 * auto-load.c: Ditto.
6172 * breakpoint.c: Ditto.
6174 * fork-child.c: Ditto.
6175 * gdb_usleep.c: Ditto.
6176 * i386-darwin-tdep.c: Ditto.
6177 * i386fbsd-nat.c: Ditto.
6179 * inferior.c: Ditto.
6181 * linux-nat.c: Ditto.
6182 * linux-tdep.c: Ditto.
6183 * m68kbsd-nat.c: Ditto.
6184 * m68klinux-nat.c: Ditto.
6185 * microblaze-tdep.c: Ditto.
6186 * mips-linux-tdep.c: Ditto.
6187 * mn10300-tdep.c: Ditto.
6188 * nto-tdep.c: Ditto.
6189 * opencl-lang.c: Ditto.
6191 * printcmd.c: Ditto.
6192 * regcache.c: Ditto.
6193 * remote-m32r-sdi.c: Ditto.
6197 * tilegx-linux-nat.c: Ditto.
6198 * tilegx-tdep.c: Ditto.
6199 * tracepoint.c: Ditto.
6201 * vaxbsd-nat.c: Ditto.
6202 * windows-nat.c: Ditto.
6203 * xtensa-tdep.c: Ditto.
6205 2014-01-07 Yao Qi <yao@codesourcery.com>
6207 * spu-linux-nat.c (_initialize_spu_nat): Declare.
6209 2014-01-07 Yao Qi <yao@codesourcery.com>
6210 Joel Brobecker <brobecker@adacore.com>
6212 * aix-thread.c (pdc_read_regs): Cast parameter to uintptr_t.
6213 (pdc_write_regs): Likewise.
6214 (fetch_regs_kernel_thread): Likewise.
6215 (store_regs_kernel_thread): Likewise.
6217 2014-01-07 Joel Brobecker <brobecker@adacore.com>
6219 * ada-varobj.c (ada_varobj_adjust_for_child_access): Convert
6220 tagged type objects to their actual type.
6222 2014-01-07 Joel Brobecker <brobecker@adacore.com>
6224 * ada-valprint.c (print_field_values): Add "language" parameter.
6225 Update calls to print_field_values and print_variant_part.
6226 Pass new parameter "language" in call to val_print instead
6227 of "current_language". Replace call to ada_val_print by call
6229 (print_variant_part): Add "language" parameter.
6230 (ada_val_print_struct_union): Update call to print_field_values.
6232 2014-01-07 Joel Brobecker <brobecker@adacore.com>
6234 * ada-valprint.c (ui_memcpy): Delete.
6235 (ada_print_floating): Update documentation. Add empty line
6236 between between function documentation and implementation.
6237 Delete variable "buffer". Use ui_file_xstrdup in place of
6238 ui_file_put. Minor adjustments following this change.
6240 2014-01-07 Joel Brobecker <brobecker@adacore.com>
6242 * ada-valprint.c (ada_val_print_string): New function,
6243 extracted from ada_val_print_array.
6244 (ada_val_print_array): Replace extracted code by call
6245 to ada_val_print_string followed by a return. Move
6246 "else" branch to the function's top block.
6248 2014-01-07 Joel Brobecker <brobecker@adacore.com>
6250 * ada-valprint.c (ada_val_print_array): Move implementation
6251 down. Rename parameter "offset" and "val" into "offset_aligned"
6252 and "original_value" respectively. Add parameter "offset".
6254 2014-01-07 Joel Brobecker <brobecker@adacore.com>
6256 * ada-valprint.c (ada_val_print_ref): Rewrite by mostly
6257 re-organizing the code. Change the "???" message printed
6258 when target type is a TYPE_CODE_UNDEF into
6259 "<ref to undefined type>".
6261 2014-01-07 Joel Brobecker <brobecker@adacore.com>
6263 * ada-valprint.c (print_record): Delete, implementation inlined...
6264 (ada_val_print_struct_union): ... here. Remove call to
6265 ada_check_typedef in inlined implementation.
6267 2014-01-07 Joel Brobecker <brobecker@adacore.com>
6269 * ada-valprint.c (ada_val_print_gnat_array): New function,
6270 extracted from ada_val_print_1;
6271 (ada_val_print_ptr, ada_val_print_num, ada_val_print_enum)
6272 (ada_val_print_flt, ada_val_print_struct_union)
6273 (ada_val_print_ref): Likewise.
6274 (ada_val_print_1): Delete variables i and elttype.
6275 Replace extracted-out code by call to corresponding
6278 2014-01-07 Joel Brobecker <brobecker@adacore.com>
6280 * ada-valprint.c (ada_val_print_1): Remove call to gdb_flush.
6282 2014-01-07 Joel Brobecker <brobecker@adacore.com>
6284 * ada-valprint.c (ada_val_print_1): Replace calls to
6285 ada_val_print_1 by calls to val_print.
6287 2014-01-07 Joel Brobecker <brobecker@adacore.com>
6289 * ada-valprint.c (ada_val_print_1): Add parameter "language".
6290 Update calls to self accordingly. Replace calls to c_val_print
6291 by calls to val_print.
6293 2014-01-07 Joel Brobecker <brobecker@adacore.com>
6295 * ada-valprint.c (print_record): Delete declaration.
6296 (adjust_type_signedness, ada_val_print_1): Likewise.
6297 (ada_val_print): Move function implementation down.
6298 (print_variant_part, print_field_values, print_record):
6299 Move function implementation up.
6301 2014-01-07 Joel Brobecker <brobecker@adacore.com>
6303 * python/py-type.c (typy_get_name): New function.
6304 (type_object_getset): Add entry for attribute "name".
6305 * NEWS: Add entry mentioning this new attribute.
6307 2014-01-07 Yao Qi <yao@codesourcery.com>
6309 * gnu-nat.c (set_exceptions_cmd): Remove an empty body 'if'
6312 2014-01-07 Yao Qi <yao@codesourcery.com>
6314 * gnu-nat.c (info_port_rights): Add qualifier const to
6317 2014-01-07 Yao Qi <yao@codesourcery.com>
6319 * gnu-nat.c (trace_me): Use 'void' for empty argument list.
6321 2014-01-07 Yao Qi <yao@codesourcery.com>
6323 * gnu-nat.c (make_inf) Update declaration.
6324 (make_inf): Make it static.
6325 (inf_set_traced): Likewise.
6326 (inf_port_to_thread, inf_task_died_status): Likewise.
6328 2014-01-07 Yao Qi <yao@codesourcery.com>
6330 * gnu-nat.c (inf_tid_to_proc): Remove declaration.
6332 2014-01-07 Yao Qi <yao@codesourcery.com>
6334 * gnu-nat.c (_initialize_gnu_nat): Declare.
6336 2014-01-07 Yao Qi <yao@codesourcery.com>
6338 * gdbarch.sh (byte_order, byte_order_for_code): Change type to
6340 (struct gdbarch_info) <byte_order>: Change type to
6342 <byte_order_for_code>: Likewise.
6343 * gdbarch.c, gdbarch.h: Regenerated.
6345 2014-01-06 Sasha Smundak <asmundak@google.com>
6347 * jit.c: (jit_reader_load_command): Fix JIT reader path creation.
6349 2014-01-06 Tom Tromey <tromey@redhat.com>
6351 * doublest.c (convert_doublest_to_floatformat): Use const, not
6353 * somread.c (som_symtab_read): Likewise.
6355 2014-01-07 Hui Zhu <hui@codesourcery.com>
6357 * gdb_bfd.c (gdb_bfd_stash_filename): Removed.
6358 (gdb_bfd_open): Removed gdb_bfd_stash_filename.
6359 (gdb_bfd_fopen): Ditto.
6360 (gdb_bfd_openr): Ditto.
6361 (gdb_bfd_openw): Ditto.
6362 (gdb_bfd_openr_iovec): Ditto.
6363 (gdb_bfd_fdopenr): Ditto.
6364 * gdb_bfd.h (gdb_bfd_stash_filename): Removed.
6365 * solib-aix.c (solib_aix_bfd_open): Alloc object_bfd->filename
6367 * solib-darwin.c (darwin_bfd_open): Alloc res->filename
6369 * symfile-mem.c (symbol_file_add_from_memory): Removed
6370 gdb_bfd_stash_filename.
6372 2014-01-03 Doug Evans <dje@google.com>
6374 * nat/linux-waitpid.c (linux_debug): Remove extraneous \n from
6377 2014-01-01 Joel Brobecker <brobecker@adacore.com>
6379 Update year range in copyright notice of all files.
6381 2014-01-01 Joel Brobecker <brobecker@adacore.com>
6383 * top.c (print_gdb_version): Set copyright year to 2014.
6385 2014-01-01 Joel Brobecker <brobecker@adacore.com>
6387 * config/djgpp/fnchange.lst: Add entry for gdb/ChangeLog-2013.
6389 For older changes see ChangeLog-2013.
6395 version-control: never