1 2014-03-25 Sandra Loosemore <sandra@codesourcery.com>
3 * features/nios2-cpu.xml: Correct types of "gp", "fp", "ea", and
5 * features/nios2-linux.c: Regenerated.
6 * features/nios2.c: Regenerated.
8 2014-03-25 Pedro Alves <palves@redhat.com>
10 * cli/cli-script.c (script_from_file): Force the interpreter to
13 2014-03-24 Pierre Langlois <pierre.langlois@embecosm.com>
15 * avr-tdep.c (avr_scan_prologue): Accept push r1 instruction for
16 small stack allocation.
18 2014-03-24 Tristan Gingold <gingold@adacore.com>
20 * darwin-nat.c (exc_server): Remove unused prototype.
21 (darwin_dump_message): Correctly display data on x86_64.
22 (darwin_encode_reply): Fix style.
23 Add comments and fix indentation.
25 2014-03-24 Pierre Langlois <pierre.langlois@embecosm.com>
27 * MAINTAINERS (Write After Approval): Add "Pierre Langlois".
29 2014-03-22 Doug Evans <xdje42@gmail.com>
31 * infcmd.c: Whitespace fixes.
32 (interrupt_command): Merge two function comments into one.
34 2014-03-22 Doug Evans <xdje42@gmail.com>
36 * infcmd.c (interrupt_command): Renamed from interrupt_target_command.
39 2014-03-22 Yao Qi <yao@codesourcery.com>
41 * remote.c (target_read_live_memory): Remove.
42 (memory_xfer_live_readonly_partial): Rename it to
43 remote_xfer_live_readonly_partial. Remove argument 'object'.
44 All callers updated. Call remote_read_bytes_1
45 instead of target_read_live_memory.
46 * tracepoint.c (set_traceframe_number): Remove.
47 (make_cleanup_restore_traceframe_number): Likewise .
48 * tracepoint.h (set_traceframe_number): Remove declaration.
49 (make_cleanup_restore_traceframe_number): Likewise.
51 2014-03-22 Yao Qi <yao@codesourcery.com>
53 * remote.c (remote_read_bytes): Move code on reading from the
55 (remote_read_bytes_1): ... here. New function.
57 2014-03-22 Yao Qi <yao@codesourcery.com>
59 * ctf.c (ctf_xfer_partial): Check the return value of
60 exec_read_partial_read_only, if it is not TARGET_XFER_OK,
61 return TARGET_XFER_UNAVAILABLE.
62 * tracefile-tfile.c (tfile_xfer_partial): Likewise.
63 * target.c (target_read_live_memory): Move it to remote.c.
64 (memory_xfer_live_readonly_partial): Likewise.
65 (memory_xfer_partial_1): Move some code to remote_read_bytes.
66 * remote.c (target_read_live_memory): Moved from target.c.
67 (memory_xfer_live_readonly_partial): Likewise.
68 (remote_read_bytes): Factored out from
69 memory_xfer_partial_1.
71 2014-03-21 Daniel Gutson <daniel.gutson@tallertechnologies.com>
73 * extension.c (eval_ext_lang_from_control_command): Avoid dereferencing
76 2014-03-21 Pedro Alves <palves@redhat.com>
78 * infrun.c (normal_stop): Extend comment.
80 2014-03-21 Hui Zhu <hui@codesourcery.com>
81 Pedro Alves <palves@redhat.com>
83 * darwin-nat.c (darwin_pid_to_exec_file): Change xmalloc to
85 * fbsd-nat.c (fbsd_pid_to_exec_file): Ditto.
86 * linux-nat.c (linux_child_pid_to_exec_file): Ditto.
87 * nbsd-nat.c (nbsd_pid_to_exec_file): Ditto.
89 2014-03-20 Maciej W. Rozycki <macro@codesourcery.com>
91 * mi/mi-interp.c (mi_memory_changed): Avoid using the ISO C99
92 `z' formatted output modifier.
94 2014-03-20 Tom Tromey <tromey@redhat.com>
95 Sergio Durigan Junior <sergiodj@redhat.com>
97 * probe.c (parse_probes): Turn assert into an ordinary error.
98 * break-catch-throw.c (re_set_exception_catchpoint): Ignore
99 exceptions when parsing probes. Rearrange the code for clarity.
101 2014-03-20 Tom Tromey <tromey@redhat.com>
104 * top.c (execute_command): Only dispatch events if the command
107 2014-03-20 Tom Tromey <tromey@redhat.com>
110 * infcall.c: Include event-top.h.
111 (run_inferior_call): Call async_disable_stdin if needed.
113 2014-03-20 Pedro Alves <palves@redhat.com>
115 * infrun.c (prepare_to_proceed): Delete.
116 (thread_still_needs_step_over): New function.
117 (find_thread_needs_step_over): New function.
118 (proceed): If the current thread needs a step-over, set its
119 steping_over_breakpoint flag. Adjust to use
120 find_thread_needs_step_over instead of prepare_to_proceed.
121 (process_event_stop_test): For BPSTAT_WHAT_STOP_NOISY and
122 BPSTAT_WHAT_STOP_SILENT, assume the thread stopped for a
124 (switch_back_to_stepped_thread): Step over breakpoints of all
125 threads not the stepping thread, before switching back to the
128 2014-03-20 Pedro Alves <palves@redhat.com>
130 * breakpoint.c (single_step_breakpoint_inserted_here_p): Make
132 * breakpoint.h (single_step_breakpoint_inserted_here_p): Declare.
133 * infrun.c (saved_singlestep_ptid)
134 (stepping_past_singlestep_breakpoint): Delete.
135 (resume): Remove stepping_past_singlestep_breakpoint handling.
136 (proceed): Store the prev_pc of the stepping thread too.
137 (init_wait_for_inferior): Adjust. Clear singlestep_ptid and
139 (enum infwait_states): Delete infwait_thread_hop_state.
140 (struct execution_control_state) <hit_singlestep_breakpoint>: New
142 (handle_inferior_event): Adjust.
143 (handle_signal_stop): Delete stepping_past_singlestep_breakpoint
144 handling and the thread-hop code. Before removing single-step
145 breakpoints, check whether the thread hit a single-step breakpoint
146 of another thread. If it did, the trap is not a random signal.
147 (switch_back_to_stepped_thread): If the event thread hit a
148 single-step breakpoint, unblock it before switching to the
149 stepping thread. Handle the case of the stepped thread having
151 (keep_going): Handle the case of the current thread moving past a
152 single-step breakpoint.
154 2014-03-20 Pedro Alves <palves@redhat.com>
157 * breakpoint.c (should_be_inserted): Don't insert breakpoints that
158 are being stepped over.
159 (breakpoint_address_match): Make extern.
160 * breakpoint.h (breakpoint_address_match): New declaration.
161 * inferior.h (stepping_past_instruction_at): New declaration.
162 * infrun.c (struct step_over_info): New type.
163 (step_over_info): New global.
164 (set_step_over_info, clear_step_over_info)
165 (stepping_past_instruction_at): New functions.
166 (handle_inferior_event): Clear the step-over info when
167 trap_expected is cleared.
168 (resume): Remove now stale comment.
169 (clear_proceed_status): Clear step-over info.
170 (proceed): Adjust step-over handling to set or clear the step-over
171 info instead of removing all breakpoints.
172 (handle_signal_stop): When setting up a thread-hop, don't remove
174 (stop_stepping): Clear step-over info.
175 (keep_going): Adjust step-over handling to set or clear step-over
176 info and then always inserting breakpoints, instead of removing
177 all breakpoints when stepping over one.
179 2014-03-20 Pedro Alves <palves@redhat.com>
181 * infrun.c (previous_inferior_ptid): Adjust comment.
182 (deferred_step_ptid): Delete.
183 (infrun_thread_ptid_changed, prepare_to_proceed)
184 (init_wait_for_inferior): Adjust.
185 (handle_signal_stop): Delete deferred_step_ptid handling.
187 2014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
190 * defs.h (sync_quit_force_run): New declaration.
191 (QUIT): Check also SYNC_QUIT_FORCE_RUN.
192 * event-top.c (async_sigterm_handler): New declaration.
193 (async_sigterm_token): New variable.
194 (async_init_signals): Create also async_sigterm_token.
195 (async_sigterm_handler): New function.
196 (sync_quit_force_run): New variable.
197 (handle_sigterm): Replace quit_force call by other calls.
198 * utils.c (quit): Call quit_force if SYNC_QUIT_FORCE_RUN.
200 2014-03-18 Maciej W. Rozycki <macro@codesourcery.com>
202 * rs6000-tdep.c (rs6000_frame_cache): Correct little-endian GPR
203 offset into SPE pseudo registers.
205 2014-03-18 Pedro Alves <palves@redhat.com>
208 * inferior.h (print_stop_event): Declare.
209 * infrun.c (print_stop_event): New, factored out from ...
210 (normal_stop): ... this.
211 * mi/mi-interp.c (mi_on_normal_stop): Use print_stop_event instead
212 of bpstat_print/print_stack_frame.
214 2014-03-17 Tom Tromey <tromey@redhat.com>
216 * ui-out.c (clear_table, ui_out_new): Clear uiout->table.id.
218 2014-03-17 Pierre-Marie de Rodat <derodat@adacore.com>
220 * ada-lang.c (decode_constrained_packed_array): Perform a
221 minimal coercion for reference with coerce_ref instead of
224 2014-03-17 Tristan Gingold <gingold@adacore.com>
226 * solib-darwin.c (DYLD_VERSION_MAX): Increase value.
227 (darwin_solib_create_inferior_hook): Emit a warning if version
230 2014-03-16 Ulrich Weigand <uweigand@de.ibm.com>
232 * python/py-value.c (get_field_flag): Cast flag_name argument to
233 PyObject_GetAttrString to support Python 2.4.
235 2014-03-14 Jan Kratochvil <jan.kratochvil@redhat.com>
237 * MAINTAINERS (The Official FSF-appointed GDB Maintainers)
238 (Global Maintainers): Remove Jan Kratochvil.
240 2014-03-14 Pedro Alves <palves@redhat.com>
242 * inferior.h (terminal_ours_for_output): Rename to ...
243 (child_terminal_ours_for_output): ... this.
244 (terminal_save_ours): Rename to ...
245 (child_terminal_save_ours): ... this.
246 (terminal_ours): Rename to ...
247 (child_terminal_ours): ... this.
248 (terminal_inferior): Rename to ...
249 (child_terminal_inferior): ... this.
250 (terminal_init_inferior): Rename to ...
251 (child_terminal_init_inferior): ... this.
252 (terminal_init_inferior_with_pgrp): Rename to ...
253 (child_terminal_init_inferior_with_pgrp): ... this.
254 * inflow.c (terminal_init_inferior_with_pgrp): Rename to ...
255 (child_terminal_init_with_pgrp): ... this.
256 (terminal_save_ours): Rename to ...
257 (child_terminal_save_ours): ... this.
258 (terminal_init_inferior): Rename to ...
259 (child_terminal_init): ... this. Adjust.
260 (terminal_inferior): Rename to ...
261 (child_terminal_inferior): ... this.
262 (terminal_ours_for_output): Rename to ...
263 (child_terminal_ours_for_output): ... this. Adjust.
264 (terminal_ours): Rename to ...
265 (child_terminal_ours): ... this.
266 (terminal_ours_1): Rename to ...
267 (child_terminal_ours_1): ... this. Adjust.
268 * linux-nat.c (linux_nat_terminal_inferior): Adjust.
269 * windows-nat.c (do_initial_windows_stuff): Adjust.
270 * gnu-nat.c (gnu_terminal_init_inferior): Rename to ...
271 (gnu_terminal_init): ... this. Adjust.
272 (gnu_target): Adjust.
273 * inf-child.c (inf_child_target): Adjust.
275 2014-03-13 Doug Evans <xdje42@gmail.com>
278 * guile/scm-type.c (tyscm_copy_type_recursive): Move type to its
281 2014-03-13 Doug Evans <xdje42@gmail.com>
283 * value.c (record_latest_value): Call release_value_or_incref
284 instead of release_value.
286 2014-03-13 Pedro Alves <palves@redhat.com>
288 * procfs.c (procfs_target): Don't override to_shortname,
289 to_longname or to_doc.
291 2014-03-13 Pedro Alves <palves@redhat.com>
293 * inf-child.c (inf_child_open, inf_child_target): Don't mention
294 Unix in user visible strings.
296 2014-03-12 Stan Shebs <stan@codesourcery.com>
298 * gdbtypes.h: Annotate comments for Doxygen, add a page
299 block comment with some general info.
301 2014-03-12 Pedro Alves <palves@redhat.com>
303 * infcmd.c (prepare_execution_command): New function, factored out
304 from several execution commands.
305 (run_command_1, continue_command, step_1, jump_command)
306 (signal_command, until_command, advance_command, finish_command)
307 (attach_command): Use prepare_execution_command.
309 2014-03-12 Omair Javaid <omair.javaid@linaro.org>
311 * arm-linux-nat.c (arm_linux_get_hwbp_cap): Updated.
314 (struct arm_linux_thread_points): Removed.
315 (struct arm_linux_process_info): New.
316 (DEF_VEC_P (arm_linux_thread_points_p)): Removed.
317 (VEC(arm_linux_thread_points_p) *arm_threads): Removed.
318 (arm_linux_find_breakpoints_by_tid): Removed.
319 (struct arch_lwp_info): New.
320 (arm_linux_find_process_pid): New functions.
321 (arm_linux_add_process): New functions.
322 (arm_linux_process_info_get): New functions.
323 (arm_linux_forget_process): New function.
324 (arm_linux_get_debug_reg_state): New function.
325 (struct update_registers_data): New.
326 (update_registers_callback): New function.
327 (arm_linux_insert_hw_breakpoint1): Updated.
328 (arm_linux_remove_hw_breakpoint1): Updated.
329 (arm_linux_insert_hw_breakpoint): Updated.
330 (arm_linux_remove_hw_breakpoint): Updated.
331 (arm_linux_insert_watchpoint): Updated.
332 (arm_linux_remove_watchpoint): Updated.
333 (arm_linux_new_thread): Updated.
334 (arm_linux_prepare_to_resume): New function.
335 (arm_linux_new_fork): New function.
336 (_initialize_arm_linux_nat): Updated.
338 2014-03-12 Pedro Alves <palves@redhat.com>
340 * Makefile.in (TARGET_FLAGS_TO_PASS): Add TESTS.
342 2014-03-12 Tom Tromey <tromey@redhat.com>
344 * inf-child.c (return_zero): New function.
345 (inf_child_target): Set to_can_async_p, to_supports_non_stop.
346 * aix-thread.c (aix_thread_inferior_created): New function.
347 (aix_thread_attach): Remove.
348 (init_aix_thread_ops): Don't set to_attach.
349 (_initialize_aix_thread): Register inferior_created observer.
350 * corelow.c (init_core_ops): Don't set to_attach or
352 * exec.c (init_exec_ops): Don't set to_attach or
354 * infcmd.c (run_command_1): Use find_run_target. Make direct
356 (attach_command): Use find_attach_target. Make direct target
358 * record-btrace.c (init_record_btrace_ops): Don't set
360 * record-full.c (record_full_can_async_p, record_full_is_async_p):
362 (init_record_full_ops, init_record_full_core_ops): Update. Don't
363 set to_create_inferior.
364 * target.c (complete_target_initialization): Add assertion.
365 (target_create_inferior): Remove.
366 (find_default_attach, find_default_create_inferior): Remove.
367 (find_attach_target, find_run_target): New functions.
368 (find_default_is_async_p, find_default_can_async_p)
369 (target_supports_non_stop, target_attach): Remove.
370 (init_dummy_target): Don't set to_create_inferior or
371 to_supports_non_stop.
372 * target.h (struct target_ops) <to_attach>: Add comment. Remove
374 <to_create_inferior>: Add comment.
375 <to_can_async_p, to_is_async_p, to_supports_non_stop>: Use
376 TARGET_DEFAULT_RETURN.
377 <to_can_async_p, to_supports_non_stop, to_can_run>: Add comments.
378 (find_attach_target, find_run_target): Declare.
379 (target_create_inferior): Remove.
380 (target_has_execution_1): Update comment.
381 (target_supports_non_stop): Remove.
382 * target-delegates.c: Rebuild.
384 2014-03-12 Pedro Alves <palves@redhat.com>
386 * inf-child.h: Update comment to not mention Unix.
388 2014-03-12 Pedro Alves <palves@redhat.com>
390 * inf-child.c: Update top comment to not mention Unix. Add
391 generic comment describing how this target is meant to be used.
392 (inf_child_post_attach, inf_child_post_startup_inferior)
393 (inf_child_follow_fork, inf_child_pid_to_exec_file): Don't mention
396 2014-03-12 Pedro Alves <palves@redhat.com>
398 * nto-procfs.c: Include inf-child.h.
399 (procfs_ops): Delete global.
400 (procfs_can_run): Delete method.
401 (procfs_detach, procfs_mourn_inferior): Unpush the passed in
402 target pointer instead of referencing procfs_ops.
403 (procfs_prepare_to_store): Delete.
404 (init_procfs_ops): Delete function.
405 (procfs_target): New function, based on init_procfs_ops, but
406 inherit inf_child_target.
407 (_initialize_procfs): Use procfs_target.
409 2014-03-12 Pedro Alves <palves@redhat.com>
411 * windows-nat.c: Include inf-child.h.
412 (windows_ops): Delete global.
413 (windows_open, windows_prepare_to_store, windows_can_run): Delete
415 (init_windows_ops): Delete function.
416 (windows_target): New function, based on init_windows_ops, but
417 inherit inf_child_target.
418 (_initialize_windows_nat): Use windows_target. Install x86
419 specific target methods here.
421 2014-03-10 Doug Evans <xdje42@gmail.com>
423 * guile/guile.c (call_initialize_gdb_module): New function.
424 (initialize_guile): Replace call to scm_init_guile with call to
427 2014-03-10 Joel Brobecker <brobecker@adacore.com>
429 * ada-lang.c (ada_evaluate_subexp): Add missing space before '('
430 in call to TYPE_CODE macro.
432 2014-03-10 Jerome Guitton <guitton@adacore.com>
434 * ada-lang.c (ada_evaluate_subexp) <UNOP_IND, STRUCTOP_STRUCT>:
435 Resolve tagged types to full view.
437 2014-03-10 Hui Zhu <hui@codesourcery.com>
439 * target.h (target_insert_breakpoint): Remove "hardware" from its
442 2014-03-07 Doug Evans <dje@google.com>
444 * dwarf2read.c (read_str_index): Rename local dwo_name to objf_name.
446 2014-03-07 Doug Evans <dje@google.com>
448 * dwarf2read.c (read_cutu_die_from_dwo): Fix function comment.
449 Remove unused local comp_dir_attr. Assert exactly one of
450 stub_comp_unit_die, stub_comp_dir is non-NULL.
452 2014-03-07 Joel Brobecker <brobecker@adacore.com>
454 * target.h (complete_target_initialization, add_target):
457 2014-03-07 Pedro Alves <palves@redhat.com>
459 * go32-nat.c: Include inf-child.h.
460 (go32_ops): Delete global.
461 (go32_close, go32_detach, go32_prepare_to_store, go32_can_run):
463 (go32_create_inferior): Push the passed in target pointer instead
464 of referencing go32_ops.
465 (init_go32_ops): Delete function. Moved parts to _initialize_go32_nat.
466 (go32_target): New function, based on init_go32_ops, but inherit
468 (_initialize_go32_nat): Use go32_target. Move parts of
471 2014-03-06 Joel Brobecker <brobecker@adacore.com>
473 * sol-thread.c: #include "symtab.h", "minsym.h" and "objfiles.h".
474 (ps_pglobal_lookup): Use BMSYMBOL_VALUE_ADDRESS instead of
475 SYMBOL_VALUE_ADDRESS.
476 (info_cb): MSYMBOL_PRINT_NAME instead of SYMBOL_PRINT_NAME.
478 2014-03-06 Yao Qi <yao@codesourcery.com>
480 * breakpoint.c (get_tracepoint_by_number): Remove argument
481 optional_p. All callers updated. Adjust comments. Update
483 * breakpoint.h (get_tracepoint_by_number): Update declaration.
485 2014-03-06 Yao Qi <yao@codesourcery.com>
487 * reverse.c (goto_bookmark_command): Add local 'p'. Emit error
488 early if get_number returns zero. Use 'p' instead of 'args'.
490 2014-03-06 Yao Qi <yao@codesourcery.com>
492 * cli/cli-utils.c (get_number_trailer): Add '\n' at the end of
495 2014-03-06 Yao Qi <yao@codesourcery.com>
498 * tracepoint.c (check_trace_running): New function.
499 (trace_find_command): Move code to check_trace_running and
500 call check_trace_running.
501 (trace_find_pc_command): Likewise.
502 (trace_find_tracepoint_command): Likewise.
503 (trace_find_line_command): Likewise.
504 (trace_find_range_command): Likewise.
505 * tracepoint.h (check_trace_running): Likewise.
506 * mi/mi-main.c (mi_cmd_trace_find): Call check_trace_running.
508 2014-03-06 Yao Qi <yao@codesourcery.com>
510 * target.h (struct target_ops) <to_traceframe_info>: Use
511 TARGET_DEFAULT_NORETURN (tcomplain ()).
512 * target-delegates.c: Regenerated.
514 2014-03-05 Pedro Alves <palves@redhat.com>
517 * dcache.c (dcache_poke_byte): Constify ptr parameter. Return
518 void. Update comment.
519 (dcache_xfer_memory): Delete.
520 (dcache_read_memory_partial): New, based on the read bits of
522 (dcache_update): Add status parameter. Use ULONGEST for len, and
523 adjust. Discard cache lines if the reason for the update was
525 * dcache.h (dcache_xfer_memory): Delete declaration.
526 (dcache_read_memory_partial): New declaration.
527 (dcache_update): Update prototype.
528 * target.c (raw_memory_xfer_partial): Update the dcache here.
529 (memory_xfer_partial_1): Don't handle dcache writes here.
531 2014-03-05 Mike Frysinger <vapier@gentoo.org>
533 * remote-sim.c (gdbsim_load): Add const to prog.
535 2014-03-03 Tom Tromey <tromey@redhat.com>
537 * elfread.c (probe_key): Change to bfd_data.
538 (elf_get_probes, probe_key_free, _initialize_elfread): Probes are
539 now per-BFD, not per-objfile.
540 * stap-probe.c (stap_probe_destroy): Update comment.
541 (handle_stap_probe): Allocate on the per-BFD obstack.
543 2014-03-03 Tom Tromey <tromey@redhat.com>
545 * break-catch-throw.c (fetch_probe_arguments): Use bound probes.
546 * breakpoint.c (create_longjmp_master_breakpoint): Use
548 (add_location_to_breakpoint, bkpt_probe_insert_location)
549 (bkpt_probe_remove_location): Update.
550 * breakpoint.h (struct bp_location) <probe>: Now a bound_probe.
551 * elfread.c (elf_symfile_relocate_probe): Remove.
552 (elf_probe_fns): Update.
553 (insert_exception_resume_breakpoint): Change type of "probe"
554 parameter to bound_probe.
555 (check_exception_resume): Update.
556 * objfiles.c (objfile_relocate1): Don't relocate probes.
557 * probe.c (bound_probe_s): New typedef.
558 (parse_probes): Use get_probe_address. Set sal's objfile.
559 (find_probe_by_pc): Return a bound_probe.
560 (collect_probes): Return a VEC(bound_probe_s).
561 (compare_probes): Update.
562 (gen_ui_out_table_header_info): Change type of "probes"
564 (info_probes_for_ops): Update.
565 (get_probe_address): New function.
566 (probe_safe_evaluate_at_pc): Update.
567 * probe.h (struct probe_ops) <get_probe_address>: New field.
568 <set_semaphore, clear_semaphore>: Add objfile parameter.
569 (struct probe) <objfile>: Remove field.
571 <address>: Update comment.
572 (struct bound_probe): New.
573 (find_probe_by_pc): Return a bound_probe.
574 (get_probe_address): Declare.
575 * solib-svr4.c (struct probe_and_action) <address>: New field.
576 (hash_probe_and_action, equal_probe_and_action): Update.
577 (register_solib_event_probe): Add address parameter.
578 (solib_event_probe_at): Update.
579 (svr4_create_probe_breakpoints): Add objfile parameter. Use
581 * stap-probe.c (struct stap_probe) <sem_addr>: Update comment.
582 (stap_get_probe_address): New function.
583 (stap_can_evaluate_probe_arguments, compute_probe_arg)
584 (compile_probe_arg): Update.
585 (stap_set_semaphore, stap_clear_semaphore): Compute semaphore's
587 (handle_stap_probe): Don't relocate the probe.
588 (stap_relocate): Remove.
589 (stap_gen_info_probes_table_values): Update.
590 (stap_probe_ops): Remove stap_relocate.
591 * symfile-debug.c (debug_sym_relocate_probe): Remove.
592 (debug_sym_probe_fns): Update.
593 * symfile.h (struct sym_probe_fns) <sym_relocate_probe>: Remove.
594 * symtab.c (init_sal): Use memset.
595 * symtab.h (struct symtab_and_line) <objfile>: New field.
596 * tracepoint.c (start_tracing, stop_tracing): Update.
598 2014-03-03 Tom Tromey <tromey@redhat.com>
600 * probe.h (parse_probes, find_probe_by_pc)
601 (find_probes_in_objfile): Fix comments.
603 2014-03-02 Doug Evans <xdje42@gmail.com>
605 * infrun.c (handle_signal_stop): Replace test for
606 TARGET_WAITKIND_STOPPED with an assert.
608 2014-03-02 Doug Evans <xdje42@gmail.com>
610 * guile/scm-objfile.c (ofscm_mark_objfile_smob): Fix typo in comment.
612 2014-03-02 Doug Evans <xdje42@gmail.com>
614 * guile/lib/gdb/printing.scm (append-pretty-printer!): Fix thinko.
616 2014-03-01 Mark Kettenis <kettenis@gnu.org>
618 * obsd-nat.c: Include "gdb_wait.h" instead of <sys/wait.h>.
620 2014-03-01 Mark Kettenis <kettenis@gnu.org>
622 * i386obsd-nat.c: Include "obsd-nat.h".
623 (_initialize_i386obsd_nat): Call obsd_add_target instead of
625 * config/i386/obsd.mh (NATDEPFILES): Add obsd-nat.o.
627 2014-03-01 Mark Kettenis <kettenis@gnu.org>
629 * i386obsd-nat.c (i386obsd_supply_pcb): Cast 'sf' to 'gdb_byte *'.
631 2014-03-01 Mark Kettenis <kettenis@gnu.org>
633 * mips64obsd-nat.c: Include "obsd-nath".
634 (_initialize_mips64obsd_nat): Call obsd_add_target instead of
636 * config/mips/obsd64.mh (NATDEPFILES): Add obsd-nat.o.
638 2014-03-01 Mark Kettenis <kettenis@gnu.org>
640 * amd64obsd-nat.c: Include "obsd-nat,h.
641 (_initialize_amd64obsd_nat): Call obsd_add_target instead of
643 * config/i386/obsd64.mh (NATDEPFILES): Add obsd-nat.o.
645 2014-02-28 Siva Chandra Reddy <sivachandra@google.com>
647 * valops.c (find_oload_champ): Remove unneccesary argument METHOD.
648 (find_overload_match): Update call to find_oload_champ.
649 (find_oload_champ_namespace_loop): Likewise
651 2014-02-28 Mark Kettenis <kettenis@gnu.org>
653 * Makefile.in (ALLDEPFILES): Add sparc64obsd-nat.c.
655 * configure.host (sparc64-*-openbsd*): Set gdb_host to obsd64.
656 * config/sparc/obsd64.mh: New file.
657 * sparc64obsd-nat.c: New file.
659 * obsd-nat.h: New file.
660 * obsd-nat.c: New file.
661 * Makefile.in (HFILES_NO_SRCDIR): Add obsd-nat.h.
662 (ALLDEPFILES): Add obsd-nat.c.
664 2014-02-28 Tom Tromey <tromey@redhat.com>
666 * cli-out.c (cli_ui_out_impl): Now const. Remove comment.
667 * cli-out.h (cli_ui_out_impl): Now const.
668 * mi/mi-out.c (mi_ui_out_impl): Now const. Remove comment.
669 * ui-out.c (struct ui_out) <impl>: Now const.
670 (default_ui_out_impl): Now const.
671 (ui_out_new): Make 'impl' parameter const.
672 * ui-out.h (ui_out_new): Update.
674 2014-02-27 Mark Kettenis <kettenis@gnu.org>
676 * solib-svr4.c (svr4_read_so_list): Initialize first_l_name to 0.
678 2014-02-27 Mark Kettenis <kettenis@gnu.org>
680 * sparc-nat.c (sparc_xfer_wcookie): Always use process ID.
682 2014-02-27 Jan Kratochvil <jan.kratochvil@redhat.com>
684 Additional PR 8882 fix.
685 * solib-svr4.c (svr4_read_so_list): Change first to first_l_name.
687 2014-02-27 Pedro Alves <palves@redhat.com>
689 * nat/linux-waitpid.c (my_waitpid): Only block signals if WNOHANG
692 2014-02-27 Pedro Alves <palves@redhat.com>
695 * linux-nat.c (status_to_str): Moved to nat/linux-waitpid.c.
696 * nat/linux-waitpid.c: Include string.h.
697 (status_to_str): Moved here and made extern.
698 * nat/linux-waitpid.h (status_to_str): New declaration.
700 2014-02-27 Hui Zhu <hui@codesourcery.com>
703 * infrun.c (ptid_match): Move ...
704 * common/ptid.c (ptid_match): ... here.
705 * inferior.h (ptid_match): Move ...
706 * common/ptid.h (ptid_match): ... here.
708 2014-02-27 Mark Kettenis <kettenis@gnu.org>
710 * mips64obsd-tdep.c (mips64obsd_init_abi): Call obsd_init_abi.
711 * configure.tgt (mips64*-*-openbsd*): Add obsd-tdep.c to
714 2014-02-27 Mark Kettenis <kettenis@gnu.org>
716 * obsd-tdep.c (obsd_auxv_parse): New function.
717 (obsd_init_abi): Set auxv_parse.
719 * gdbarch.sh (auxv_parse): New.
720 * gdbarch.h: Regenerated.
721 * gdbarch.c: Regenerated.
722 * auxv.c (target_auxv_parse): Call gdbarch_parse_auxv if provided.
724 2014-02-26 Ludovic Courtès <ludo@gnu.org>
726 * guile/scm-value.c (gdbscm_history_append_x): New function.
727 (value_functions): Add it.
729 2014-02-27 Joel Brobecker <brobecker@adacore.com>
731 * dwarf2read.c (attr_value_as_address): New function.
732 (dwarf2_find_base_address, read_call_site_scope): Use
733 attr_value_as_address in place of DW_ADDR.
734 (dwarf2_get_pc_bounds): Use attr_value_as_address to get
735 the low and high addresses. Slight rework of the handling
736 of the high pc being a constant form, and limit it to
737 DWARF verson 4 or higher.
738 (dwarf2_record_block_ranges): Likewise.
739 (read_partial_die): Likewise.
740 (new_symbol_full): Use attr_value_as_address in place of DW_ADDR.
742 2014-02-26 Tom Tromey <tromey@redhat.com>
744 * exec.c (exec_file_attach): Hold a reference to exec_bfd.
746 2014-02-26 Tom Tromey <tromey@redhat.com>
748 * elfread.c (elf_read_minimal_symbols): Return early if
749 minimal symbols have already been read. Add "ei" parameter.
750 (elf_symfile_read): Call elf_read_minimal_symbols earlier.
751 * minsyms.c (prim_record_minimal_symbol_full): Update.
752 * objfiles.h (struct objstats) <n_minsyms>: Move...
753 (struct objfile_per_bfd_storage) <n_minsyms>: ... here.
754 * symmisc.c (print_objfile_statistics): Update.
756 2014-02-26 Tom Tromey <tromey@redhat.com>
758 * elfread.c (elf_read_minimal_symbols): New function, from
760 (elf_symfile_read): Call it.
762 2014-02-26 Tom Tromey <tromey@redhat.com>
764 * minsyms.c (lookup_minimal_symbol, iterate_over_minimal_symbols)
765 (lookup_minimal_symbol_text, lookup_minimal_symbol_by_pc_name)
766 (lookup_minimal_symbol_solib_trampoline)
767 (lookup_minimal_symbol_by_pc_section_1)
768 (lookup_minimal_symbol_and_objfile): Update.
769 (prim_record_minimal_symbol_full): Use the per-BFD obstack.
770 Don't allocate a minimal symbol if minsyms have already been read.
771 (build_minimal_symbol_hash_tables): Update.
772 (install_minimal_symbols): Do nothing if minsyms already read.
773 Use the per-BFD obstack.
774 (terminate_minimal_symbol_table): Use the per-BFD obstack.
775 * objfiles.c (allocate_objfile): Call
776 terminate_minimal_symbol_table later.
777 (have_minimal_symbols): Update.
778 * objfiles.h (struct objfile_per_bfd_storage) <msymbols,
779 minimal_symbol_count, msymbol_hash, msymbol_demangled_hash>:
780 Move from struct objfile.
781 <minsyms_read>: New field.
782 (struct objfile) <msymbols, minimal_symbol_count,
783 msymbol_hash, msymbol_demangled_hash>: Move.
784 (ALL_OBJFILE_MSYMBOLS): Update.
785 * symfile.c (read_symbols): Set minsyms_read.
786 (reread_symbols): Update.
787 * symmisc.c (dump_objfile, dump_msymbols): Update.
789 2014-02-26 Tom Tromey <tromey@redhat.com>
791 * minsyms.c (msymbols_sort): Remove.
792 * minsyms.h (msymbols_sort): Remove.
793 * objfiles.c (objfile_relocate1): Don't relocate minsyms.
794 * symtab.h (MSYMBOL_VALUE_ADDRESS): Use objfile offsets.
795 * elfread.c (elf_symtab_read): Don't add section offsets.
796 * xcoffread.c (record_minimal_symbol): Don't add section offset
797 to minimal symbol address.
798 * somread.c (text_offset, data_offset): Remove.
799 (som_symtab_read): Don't add section offsets to minimal symbol
801 * coff-pe-read.c (add_pe_forwarded_sym, read_pe_exported_syms):
802 Don't add section offsets to minimal symbols.
803 * coffread.c (coff_symtab_read): Don't add section offsets
804 to minimal symbol addresses.
805 * machoread.c (macho_symtab_add_minsym): Don't add section offset
806 to minimal symbol addresses.
807 * mipsread.c (read_alphacoff_dynamic_symtab): Don't add
808 section offset to minimal symbol addresses.
809 * mdebugread.c (parse_partial_symbols): Don't add section
810 offset to minimal symbol addresses.
811 * dbxread.c (read_dbx_dynamic_symtab): Don't add section
812 offset to minimal symbol addresses.
814 2014-02-26 Tom Tromey <tromey@redhat.com>
816 * ada-lang.c (ada_main_name): Update.
817 (ada_add_standard_exceptions): Update.
818 * ada-tasks.c (ada_tasks_inferior_data_sniffer): Update.
819 * aix-thread.c (pdc_symbol_addrs, pd_enable): Update.
820 * arm-tdep.c (skip_prologue_function, arm_skip_stub): Update.
821 * auxv.c (ld_so_xfer_auxv): Update.
822 * avr-tdep.c (avr_scan_prologue): Update.
823 * ax-gdb.c (gen_var_ref): Update.
824 * blockframe.c (get_pc_function_start)
825 (find_pc_partial_function_gnu_ifunc): Update.
826 * breakpoint.c (create_overlay_event_breakpoint)
827 (create_longjmp_master_breakpoint)
828 (create_std_terminate_master_breakpoint)
829 (create_exception_master_breakpoint): Update.
830 * bsd-uthread.c (bsd_uthread_lookup_address): Update.
831 * c-valprint.c (c_val_print): Update.
832 * coff-pe-read.c (add_pe_forwarded_sym): Update.
833 * common/agent.c (agent_look_up_symbols): Update.
834 * dbxread.c (find_stab_function_addr, end_psymtab): Update.
835 * dwarf2loc.c (call_site_to_target_addr): Update.
836 * dwarf2read.c (dw2_find_pc_sect_symtab): Update.
837 * elfread.c (elf_gnu_ifunc_record_cache)
838 (elf_gnu_ifunc_resolve_by_got): Update.
839 * findvar.c (default_read_var_value): Update.
840 * frame.c (inside_main_func): Update.
841 * frv-tdep.c (frv_frame_this_id): Update.
842 * glibc-tdep.c (glibc_skip_solib_resolver): Update.
843 * gnu-v3-abi.c (gnuv3_get_typeid, gnuv3_skip_trampoline):
845 * hppa-hpux-tdep.c (hppa64_hpux_search_dummy_call_sequence)
846 (hppa_hpux_find_dummy_bpaddr): Update.
847 * hppa-tdep.c (hppa_symbol_address): Update.
848 * infcmd.c (until_next_command): Update.
849 * jit.c (jit_read_descriptor, jit_breakpoint_re_set_internal):
851 * linespec.c (minsym_found, add_minsym): Update.
852 * linux-nat.c (get_signo): Update.
853 * linux-thread-db.c (inferior_has_bug): Update.
854 * m32c-tdep.c (m32c_return_value)
855 (m32c_m16c_address_to_pointer): Update.
856 * m32r-tdep.c (m32r_frame_this_id): Update.
857 * m68hc11-tdep.c (m68hc11_get_register_info): Update.
858 * machoread.c (macho_resolve_oso_sym_with_minsym): Update.
859 * maint.c (maintenance_translate_address): Update.
860 * minsyms.c (lookup_minimal_symbol_by_pc_name): Update.
861 (frob_address): New function.
862 (lookup_minimal_symbol_by_pc_section_1): Use raw addresses,
863 frob_address. Rename parameter to "pc_in".
864 (compare_minimal_symbols, compact_minimal_symbols): Use raw
866 (find_solib_trampoline_target, minimal_symbol_upper_bound):
868 * mips-linux-tdep.c (mips_linux_skip_resolver): Update.
869 * mips-tdep.c (mips_skip_pic_trampoline_code): Update.
870 * objc-lang.c (find_objc_msgsend): Update.
871 * objfiles.c (objfile_relocate1): Update.
872 * obsd-tdep.c (obsd_skip_solib_resolver): Update.
873 * p-valprint.c (pascal_val_print): Update.
874 * parse.c (write_exp_msymbol): Update.
875 * ppc-linux-tdep.c (ppc_linux_spe_context_lookup)
876 (ppc_elfv2_skip_entrypoint): Update.
877 * ppc-sysv-tdep.c (convert_code_addr_to_desc_addr): Update.
878 * printcmd.c (build_address_symbolic, msym_info)
879 (address_info): Update.
880 * proc-service.c (ps_pglobal_lookup): Update.
881 * psymtab.c (find_pc_sect_psymtab_closer)
882 (find_pc_sect_psymtab, find_pc_sect_symtab_from_partial):
883 Change msymbol parameter to bound_minimal_symbol.
884 * ravenscar-thread.c (get_running_thread_id): Update.
885 * remote.c (remote_check_symbols): Update.
886 * sh64-tdep.c (sh64_elf_make_msymbol_special): Use raw
888 * sol2-tdep.c (sol2_skip_solib_resolver): Update.
889 * solib-dsbt.c (lm_base): Update.
890 * solib-frv.c (lm_base, main_got): Update.
891 * solib-irix.c (locate_base): Update.
892 * solib-som.c (som_solib_create_inferior_hook)
893 (link_map_start): Update.
894 * solib-spu.c (spu_enable_break, ocl_enable_break): Update.
895 * solib-svr4.c (elf_locate_base, enable_break): Update.
896 * spu-tdep.c (spu_get_overlay_table, spu_catch_start)
897 (flush_ea_cache): Update.
898 * stabsread.c (define_symbol, scan_file_globals): Update.
899 * stack.c (find_frame_funname): Update.
900 * symfile-debug.c (debug_qf_expand_symtabs_matching)
901 (debug_qf_find_pc_sect_symtab): Update.
902 * symfile.c (simple_read_overlay_table)
903 (simple_overlay_update): Update.
904 * symfile.h (struct quick_symbol_functions)
905 <find_pc_sect_symtab>: Change type of msymbol to
906 bound_minimal_symbol.
907 * symmisc.c (dump_msymbols): Update.
908 * symtab.c (find_pc_sect_symtab_via_partial)
909 (find_pc_sect_psymtab, find_pc_sect_line, skip_prologue_sal)
910 (search_symbols, print_msymbol_info): Update.
911 * symtab.h (MSYMBOL_VALUE_RAW_ADDRESS): New macro.
912 (MSYMBOL_VALUE_ADDRESS): Redefine.
913 (BMSYMBOL_VALUE_ADDRESS): New macro.
914 * tracepoint.c (scope_info): Update.
915 * tui/tui-disasm.c (tui_find_disassembly_address)
916 (tui_get_begin_asm_address): Update.
917 * valops.c (find_function_in_inferior): Update.
918 * value.c (value_static_field, value_fn_field): Update.
920 2014-02-26 Tom Tromey <tromey@redhat.com>
922 * ada-lang.c (ada_update_initial_language): Update.
923 (ada_main_name, ada_has_this_exception_support): Update.
924 * ada-tasks.c (ada_tasks_inferior_data_sniffer): Update.
925 * aix-thread.c (pdc_symbol_addrs, pd_enable): Update.
926 * arm-tdep.c (arm_skip_stub): Update.
927 * auxv.c (ld_so_xfer_auxv): Update.
928 * avr-tdep.c (avr_scan_prologue): Update.
929 * ax-gdb.c (gen_var_ref): Update.
930 * breakpoint.c (struct breakpoint_objfile_data)
931 <overlay_msym, longjmp_msym, terminate_msym, exception_msym>: Change
932 type to bound_minimal_symbol.
933 (create_overlay_event_breakpoint)
934 (create_longjmp_master_breakpoint)
935 (create_std_terminate_master_breakpoint)
936 (create_exception_master_breakpoint): Update.
937 * bsd-uthread.c (bsd_uthread_lookup_address): Update.
938 * c-exp.y (classify_name): Update.
939 * coffread.c (coff_symfile_read): Update.
940 * common/agent.c (agent_look_up_symbols): Update.
941 * d-lang.c (d_main_name): Update.
942 * dbxread.c (find_stab_function_addr, end_psymtab): Update.
943 * dec-thread.c (enable_dec_thread): Update.
944 * dwarf2loc.c (call_site_to_target_addr): Update.
945 * elfread.c (elf_gnu_ifunc_resolve_by_got): Update.
946 * eval.c (evaluate_subexp_standard): Update.
947 * findvar.c (struct minsym_lookup_data) <result>: Change type
948 to bound_minimal_symbol.
950 (minsym_lookup_iterator_cb, default_read_var_value): Update.
951 * frame.c (inside_main_func): Update.
952 * frv-tdep.c (frv_frame_this_id): Update.
953 * gcore.c (call_target_sbrk): Update.
954 * glibc-tdep.c (glibc_skip_solib_resolver): Update.
955 * gnu-v3-abi.c (gnuv3_get_typeid, gnuv3_skip_trampoline):
957 * go-lang.c (go_main_name): Update.
958 * hppa-hpux-tdep.c (hppa_hpux_skip_trampoline_code)
959 (hppa_hpux_find_import_stub_for_addr): Update.
960 * hppa-tdep.c (hppa_extract_17, hppa_lookup_stub_minimal_symbol):
961 Update. Change return type.
962 * hppa-tdep.h (hppa_lookup_stub_minimal_symbol): Change return
964 * jit.c (jit_breakpoint_re_set_internal): Update.
965 * linux-fork.c (inferior_call_waitpid, checkpoint_command):
967 * linux-nat.c (get_signo): Update.
968 * linux-thread-db.c (inferior_has_bug): Update
969 * m32c-tdep.c (m32c_return_value)
970 (m32c_m16c_address_to_pointer): Update.
971 * m32r-tdep.c (m32r_frame_this_id): Update.
972 * m68hc11-tdep.c (m68hc11_get_register_info): Update.
973 * machoread.c (macho_resolve_oso_sym_with_minsym): Update.
974 * minsyms.c (lookup_minimal_symbol_internal): Rename to
975 lookup_minimal_symbol. Change return type.
976 (lookup_minimal_symbol): Remove.
977 (lookup_bound_minimal_symbol): Update.
978 (lookup_minimal_symbol_text): Change return type.
979 (lookup_minimal_symbol_solib_trampoline): Change return type.
980 * minsyms.h (lookup_minimal_symbol, lookup_minimal_symbol_text)
981 (lookup_minimal_symbol_solib_trampoline): Change return type.
982 * mips-linux-tdep.c (mips_linux_skip_resolver): Update.
983 * objc-lang.c (lookup_objc_class, lookup_child_selector)
984 (value_nsstring, find_imps): Update.
985 * obsd-tdep.c (obsd_skip_solib_resolver): Update.
986 * p-lang.c (pascal_main_name): Update.
987 * ppc-linux-tdep.c (ppc_linux_spe_context_lookup): Update.
988 * ppc-sysv-tdep.c (convert_code_addr_to_desc_addr): Update.
989 * proc-service.c (ps_pglobal_lookup): Update.
990 * ravenscar-thread.c (get_running_thread_msymbol): Change
992 (has_ravenscar_runtime, get_running_thread_id): Update.
993 * remote.c (remote_check_symbols): Update.
994 * sol-thread.c (ps_pglobal_lookup): Update.
995 * sol2-tdep.c (sol2_skip_solib_resolver): Update.
996 * solib-dsbt.c (lm_base): Update.
997 * solib-frv.c (lm_base, frv_relocate_section_addresses):
999 * solib-irix.c (locate_base): Update.
1000 * solib-som.c (som_solib_create_inferior_hook)
1001 (som_solib_desire_dynamic_linker_symbols, link_map_start):
1003 * solib-spu.c (spu_enable_break): Update.
1004 * solib-svr4.c (elf_locate_base, enable_break): Update.
1005 * spu-tdep.c (spu_get_overlay_table, spu_catch_start)
1006 (flush_ea_cache): Update.
1007 * stabsread.c (define_symbol): Update.
1008 * symfile.c (simple_read_overlay_table): Update.
1009 * symtab.c (find_pc_sect_line): Update.
1010 * tracepoint.c (scope_info): Update.
1011 * tui-disasm.c (tui_get_begin_asm_address): Update.
1012 * value.c (value_static_field): Update.
1014 2014-02-26 Tom Tromey <tromey@redhat.com>
1016 * minsyms.c (prim_record_minimal_symbol_full): Use
1017 SET_MSYMBOL_VALUE_ADDRESS.
1018 * objfiles.c (objfile_relocate1): Use SET_MSYMBOL_VALUE_ADDRESS.
1019 * sh64-tdep.c (sh64_elf_make_msymbol_special): Use
1020 SET_MSYMBOL_VALUE_ADDRESS.
1021 * symtab.h (MSYMBOL_VALUE_ADDRESS): Expand to an rvalue.
1022 (SET_MSYMBOL_VALUE_ADDRESS): New macro.
1024 2014-02-26 Tom Tromey <tromey@redhat.com>
1026 * symtab.h (struct minimal_symbol) <mginfo>: Rename from ginfo.
1027 (MSYMBOL_VALUE, MSYMBOL_VALUE_ADDRESS, MSYMBOL_VALUE_BYTES)
1028 (MSYMBOL_BLOCK_VALUE, MSYMBOL_VALUE_CHAIN, MSYMBOL_LANGUAGE)
1029 (MSYMBOL_SECTION, MSYMBOL_OBJ_SECTION, MSYMBOL_NATURAL_NAME)
1030 (MSYMBOL_LINKAGE_NAME, MSYMBOL_PRINT_NAME, MSYMBOL_DEMANGLED_NAME)
1031 (MSYMBOL_SET_LANGUAGE, MSYMBOL_SEARCH_NAME)
1032 (MSYMBOL_MATCHES_SEARCH_NAME, MSYMBOL_SET_NAMES): New macros.
1033 * ada-lang.c (ada_main_name): Update.
1034 (ada_lookup_simple_minsym): Update.
1035 (ada_make_symbol_completion_list): Update.
1036 (ada_add_standard_exceptions): Update.
1037 * ada-tasks.c (read_atcb, ada_tasks_inferior_data_sniffer): Update.
1038 * aix-thread.c (pdc_symbol_addrs, pd_enable): Update.
1039 * amd64-windows-tdep.c (amd64_skip_main_prologue): Update.
1040 * arm-tdep.c (skip_prologue_function): Update.
1041 (arm_skip_stack_protector, arm_skip_stub): Update.
1042 * arm-wince-tdep.c (arm_pe_skip_trampoline_code): Update.
1043 (arm_wince_skip_main_prologue): Update.
1044 * auxv.c (ld_so_xfer_auxv): Update.
1045 * avr-tdep.c (avr_scan_prologue): Update.
1046 * ax-gdb.c (gen_var_ref): Update.
1047 * block.c (call_site_for_pc): Update.
1048 * blockframe.c (get_pc_function_start): Update.
1049 (find_pc_partial_function_gnu_ifunc): Update.
1050 * breakpoint.c (create_overlay_event_breakpoint): Update.
1051 (create_longjmp_master_breakpoint): Update.
1052 (create_std_terminate_master_breakpoint): Update.
1053 (create_exception_master_breakpoint): Update.
1054 (resolve_sal_pc): Update.
1055 * bsd-uthread.c (bsd_uthread_lookup_address): Update.
1056 * btrace.c (ftrace_print_function_name, ftrace_function_switched):
1058 * c-valprint.c (c_val_print): Update.
1059 * coff-pe-read.c (add_pe_forwarded_sym): Update.
1060 * coffread.c (coff_symfile_read): Update.
1061 * common/agent.c (agent_look_up_symbols): Update.
1062 * dbxread.c (find_stab_function_addr): Update.
1063 (end_psymtab): Update.
1064 * dwarf2loc.c (call_site_to_target_addr): Update.
1065 (func_verify_no_selftailcall): Update.
1066 (tailcall_dump): Update.
1067 (call_site_find_chain_1): Update.
1068 (dwarf_expr_reg_to_entry_parameter): Update.
1069 * elfread.c (elf_gnu_ifunc_record_cache): Update.
1070 (elf_gnu_ifunc_resolve_by_got): Update.
1071 * f-valprint.c (info_common_command): Update.
1072 * findvar.c (read_var_value): Update.
1073 * frame.c (get_prev_frame_1): Update.
1074 (inside_main_func): Update.
1075 * frv-tdep.c (frv_skip_main_prologue): Update.
1076 (frv_frame_this_id): Update.
1077 * glibc-tdep.c (glibc_skip_solib_resolver): Update.
1078 * gnu-v2-abi.c (gnuv2_value_rtti_type): Update.
1079 * gnu-v3-abi.c (gnuv3_rtti_type): Update.
1080 (gnuv3_skip_trampoline): Update.
1081 * hppa-hpux-tdep.c (hppa32_hpux_in_solib_call_trampoline): Update.
1082 (hppa64_hpux_in_solib_call_trampoline): Update.
1083 (hppa_hpux_skip_trampoline_code): Update.
1084 (hppa64_hpux_search_dummy_call_sequence): Update.
1085 (hppa_hpux_find_import_stub_for_addr): Update.
1086 (hppa_hpux_find_dummy_bpaddr): Update.
1087 * hppa-tdep.c (hppa_symbol_address)
1088 (hppa_lookup_stub_minimal_symbol): Update.
1089 * i386-tdep.c (i386_skip_main_prologue): Update.
1090 (i386_pe_skip_trampoline_code): Update.
1091 * ia64-tdep.c (ia64_convert_from_func_ptr_addr): Update.
1092 * infcall.c (get_function_name): Update.
1093 * infcmd.c (until_next_command): Update.
1094 * jit.c (jit_breakpoint_re_set_internal): Update.
1095 (jit_inferior_init): Update.
1096 * linespec.c (minsym_found): Update.
1097 (add_minsym): Update.
1098 * linux-fork.c (info_checkpoints_command): Update.
1099 * linux-nat.c (get_signo): Update.
1100 * linux-thread-db.c (inferior_has_bug): Update.
1101 * m32c-tdep.c (m32c_return_value): Update.
1102 (m32c_m16c_address_to_pointer): Update.
1103 (m32c_m16c_pointer_to_address): Update.
1104 * m32r-tdep.c (m32r_frame_this_id): Update.
1105 * m68hc11-tdep.c (m68hc11_get_register_info): Update.
1106 * machoread.c (macho_resolve_oso_sym_with_minsym): Update.
1107 * maint.c (maintenance_translate_address): Update.
1108 * minsyms.c (add_minsym_to_hash_table): Update.
1109 (add_minsym_to_demangled_hash_table): Update.
1110 (msymbol_objfile): Update.
1111 (lookup_minimal_symbol): Update.
1112 (iterate_over_minimal_symbols): Update.
1113 (lookup_minimal_symbol_text): Update.
1114 (lookup_minimal_symbol_by_pc_name): Update.
1115 (lookup_minimal_symbol_solib_trampoline): Update.
1116 (lookup_minimal_symbol_by_pc_section_1): Update.
1117 (lookup_minimal_symbol_and_objfile): Update.
1118 (prim_record_minimal_symbol_full): Update.
1119 (compare_minimal_symbols): Update.
1120 (compact_minimal_symbols): Update.
1121 (build_minimal_symbol_hash_tables): Update.
1122 (install_minimal_symbols): Update.
1123 (terminate_minimal_symbol_table): Update.
1124 (find_solib_trampoline_target): Update.
1125 (minimal_symbol_upper_bound): Update.
1126 * mips-linux-tdep.c (mips_linux_skip_resolver): Update.
1127 * mips-tdep.c (mips_stub_frame_sniffer): Update.
1128 (mips_skip_pic_trampoline_code): Update.
1129 * msp430-tdep.c (msp430_skip_trampoline_code): Update.
1130 * objc-lang.c (selectors_info): Update.
1131 (classes_info): Update.
1132 (find_methods): Update.
1133 (find_imps): Update.
1134 (find_objc_msgsend): Update.
1135 * objfiles.c (objfile_relocate1): Update.
1136 * objfiles.h (ALL_OBJFILE_MSYMBOLS): Update.
1137 * obsd-tdep.c (obsd_skip_solib_resolver): Update.
1138 * p-valprint.c (pascal_val_print): Update.
1139 * parse.c (write_exp_msymbol): Update.
1140 * ppc-linux-tdep.c (powerpc_linux_in_dynsym_resolve_code)
1141 (ppc_linux_spe_context_lookup, ppc_elfv2_skip_entrypoint): Update.
1142 * ppc-sysv-tdep.c (convert_code_addr_to_desc_addr): Update.
1143 * printcmd.c (build_address_symbolic): Update.
1145 (address_info): Update.
1146 * proc-service.c (ps_pglobal_lookup): Update.
1147 * psymtab.c (find_pc_sect_psymtab_closer): Update.
1148 (find_pc_sect_psymtab): Update.
1149 * python/py-framefilter.c (py_print_frame): Update.
1150 * ravenscar-thread.c (get_running_thread_id): Update.
1151 * record-btrace.c (btrace_call_history, btrace_get_bfun_name):
1153 * remote.c (remote_check_symbols): Update.
1154 * rs6000-tdep.c (rs6000_skip_main_prologue): Update.
1155 (rs6000_skip_trampoline_code): Update.
1156 * sh64-tdep.c (sh64_elf_make_msymbol_special): Update.
1157 * sol2-tdep.c (sol2_skip_solib_resolver): Update.
1158 * solib-dsbt.c (lm_base): Update.
1159 * solib-frv.c (lm_base): Update.
1161 * solib-irix.c (locate_base): Update.
1162 * solib-som.c (som_solib_create_inferior_hook): Update.
1163 (som_solib_desire_dynamic_linker_symbols): Update.
1164 (link_map_start): Update.
1165 * solib-spu.c (spu_enable_break): Update.
1166 (ocl_enable_break): Update.
1167 * solib-svr4.c (elf_locate_base): Update.
1168 (enable_break): Update.
1169 * spu-tdep.c (spu_get_overlay_table): Update.
1170 (spu_catch_start): Update.
1171 (flush_ea_cache): Update.
1172 * stabsread.c (define_symbol): Update.
1173 (scan_file_globals): Update.
1174 * stack.c (find_frame_funname): Update.
1175 (frame_info): Update.
1176 * symfile.c (simple_read_overlay_table): Update.
1177 (simple_overlay_update): Update.
1178 * symmisc.c (dump_msymbols): Update.
1179 * symtab.c (fixup_section): Update.
1180 (find_pc_sect_line): Update.
1181 (skip_prologue_sal): Update.
1182 (search_symbols): Update.
1183 (print_msymbol_info): Update.
1184 (rbreak_command): Update.
1185 (MCOMPLETION_LIST_ADD_SYMBOL): New macro.
1186 (completion_list_objc_symbol): Update.
1187 (default_make_symbol_completion_list_break_on): Update.
1188 * tracepoint.c (scope_info): Update.
1189 * tui/tui-disasm.c (tui_find_disassembly_address): Update.
1190 (tui_get_begin_asm_address): Update.
1191 * valops.c (find_function_in_inferior): Update.
1192 * value.c (value_static_field): Update.
1193 (value_fn_field): Update.
1195 2014-02-26 Tom Tromey <tromey@redhat.com>
1197 * blockframe.c (find_pc_partial_function_gnu_ifunc): Use
1198 bound minimal symbols. Move code that knows about minsym
1200 * minsyms.c (minimal_symbol_upper_bound): ... here. New
1202 * minsyms.h (minimal_symbol_upper_bound): Declare.
1203 * objc-lang.c (find_objc_msgsend): Use bound minimal symbols,
1204 minimal_symbol_upper_bound.
1206 2014-02-27 Joel Brobecker <brobecker@adacore.com>
1208 * python/lib/gdb/printing.py (RegexpCollectionPrettyPrinter):
1209 Use the type's name if its basic type does not have a tag.
1211 2014-02-27 Joel Brobecker <brobecker@adacore.com>
1213 * dwarf2read.c (read_subrange_type): Add comment.
1215 2014-02-27 Joel Brobecker <brobecker@adacore.com>
1217 * dwarf2read.c (update_enumeration_type_from_children): New
1218 function, mostly extracted from process_structure_scope.
1219 (read_enumeration_type): Call update_enumeration_type_from_children.
1220 (process_enumeration_scope): Do not set THIS_TYPE's flag_unsigned
1221 and flag_flag_enum fields.
1223 2014-02-26 Pedro Alves <palves@redhat.com>
1225 * bsd-uthread.c (bsd_uthread_xfer_partial): Delete function.
1226 (bsd_uthread_target): Don't install bsd_uthread_xfer_partial as
1227 to_xfer_partial method.
1229 2014-02-26 Pedro Alves <palves@redhat.com>
1231 * target.c (complete_target_initialization): Don't install
1232 default_xfer_partial as to_xfer_partial hook.
1234 (update_current_target): Don't INHERIT nor de_fault
1235 deprecated_xfer_memory. Delete de_fault macro.
1236 (default_xfer_partial, deprecated_debug_xfer_memory): Delete.
1237 (setup_target_debug): Don't install a deprecated_xfer_memory hook.
1238 * target.h (struct target_ops) <deprecated_xfer_memory>: Delete
1241 2014-02-26 Pedro Alves <palves@redhat.com>
1243 * go32-nat.c (my_write_child): New function.
1244 (go32_xfer_memory): Rewrite as to_xfer_partial helper.
1245 (go32_xfer_partial): New function.
1246 (init_go32_ops): Don't install a deprecated_xfer_memory hook.
1247 Instead install a to_xfer_partial hook.
1249 2014-02-26 Pedro Alves <palves@redhat.com>
1251 * nto-procfs.c (procfs_xfer_memory): Adjust interface as a
1252 to_xfer_partial helper. Rewrite.
1253 (procfs_xfer_partial): New function.
1254 (init_procfs_ops): Don't install a deprecated_xfer_memory hook.
1255 Install a to_xfer_partial hook.
1257 2014-02-26 Pedro Alves <palves@redhat.com>
1259 * remote-m32r-sdi.c (send_data): Constify 'buf' parameter.
1260 (m32r_xfer_memory): Adjust as a to_xfer_partial helper.
1261 (m32r_xfer_partial): New function.
1262 (init_m32r_ops): Don't install a deprecated_xfer_memory hook.
1263 Install a to_xfer_partial hook.
1265 2014-02-26 Pedro Alves <palves@redhat.com>
1267 * remote-mips.c (mips_xfer_memory): Adjust as to_xfer_partial
1269 (mips_xfer_partial): New function.
1270 (_initialize_remote_mips): Don't install a deprecated_xfer_memory
1271 hook. Install a to_xfer_partial hook.
1273 2014-02-26 Joel Brobecker <brobecker@adacore.com>
1275 * gdbtypes.h (create_array_type_with_stride): Add declaration.
1276 * gdbtypes.c (create_array_type_with_stride): New function,
1277 renaming create_array_type, but with an added parameter
1278 called "bit_stride".
1279 (create_array_type): Re-implement using
1280 create_array_type_with_stride.
1281 * dwarf2read.c (read_array_type): Add support for DW_AT_byte_stride
1282 and DW_AT_bit_stride attributes.
1284 2014-02-26 Pedro Alves <palves@redhat.com>
1286 * breakpoint.c (bpstat_check_breakpoint_conditions): Handle
1287 task-specific breakpoints.
1289 2014-02-25 Pedro Alves <palves@redhat.com>
1291 * ia64-linux-nat.c (ia64_linux_xfer_partial): Reimplement
1292 handling of object == TARGET_OBJECT_UNWIND_TABLE.
1294 2014-02-25 Stan Shebs <stan@codesourcery.com>
1296 * defs.h: Annotate comments for Doxygen.
1298 2014-02-25 Tom Tromey <tromey@redhat.com>
1300 * target.h (target_ignore): Don't declare.
1301 * target.c (target_ignore): Remove.
1303 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
1306 * auto-load.c (auto_load_objfile_script_1): Change filename to
1309 2014-02-25 Joel Brobecker <brobecker@adacore.com>
1311 * ia64-linux-nat.c (ia64_linux_xfer_partial): Add function
1312 documentation. Adjust prototype to match the target_ops
1313 to_xfer_partial method. Adjust implementation accordingly.
1315 2014-02-25 Hui Zhu <hui@codesourcery.com>
1317 * target.h (target_ops): Fix TARGET_DEFAULT_RETURN of
1320 2014-02-25 Kevin Buettner <kevinb@redhat.com>
1322 * rl78-tdep.c (RL78_BANK0_RP0_PTR_REGNUM, RL78_BANK0_RP1_PTR_REGNUM)
1323 (RL78_BANK0_RP2_PTR_REGNUM, RL78_BANK0_RP3_PTR_REGNUM)
1324 (RL78_BANK1_RP0_PTR_REGNUM, RL78_BANK1_RP1_PTR_REGNUM)
1325 (RL78_BANK1_RP2_PTR_REGNUM, RL78_BANK1_RP3_PTR_REGNUM)
1326 (RL78_BANK2_RP0_PTR_REGNUM, RL78_BANK2_RP1_PTR_REGNUM)
1327 (RL78_BANK2_RP2_PTR_REGNUM, RL78_BANK2_RP3_PTR_REGNUM)
1328 (RL78_BANK3_RP0_PTR_REGNUM, RL78_BANK3_RP1_PTR_REGNUM)
1329 (RL78_BANK3_RP2_PTR_REGNUM, RL78_BANK3_RP3_PTR_REGNUM):
1331 (rl78_register_type): Use a data pointer type for SP and
1332 new pseudo registers mentioned above. Use a 16 bit integer
1333 type for all other register pairs.
1334 (rl78_register_name, rl78_g10_register_name): Update for
1335 new pseudo registers.
1336 (rl78_pseudo_register_read): Likewise.
1337 (rl78_pseudo_register_write): Likewise.
1338 (rl78_dwarf_reg_to_regnum): Return register numbers representing
1339 to the newly added pseudo registers.
1341 2014-02-24 Doug Evans <dje@google.com>
1343 * value.c (record_latest_value): Fix comment.
1344 * printcmd.c (print_command_1): Remove code to handle -1 return from
1345 record_latest_value.
1347 2014-02-24 Pedro Alves <palves@redhat.com>
1349 * procfs.c (procfs_target): Don't install procfs_xfer_memory as
1350 deprecated_xfer_memory hook.
1351 (procfs_xfer_partial): Call procfs_xfer_memory instead
1352 of the deprecated_xfer_memory target hook.
1353 (procfs_xfer_memory): Adjust interface as a to_xfer_partial
1356 2014-02-24 Yuanhui Zhang <asmwarrior@gmail.com>
1358 * windows-nat.c (windows_xfer_shared_libraries): Return
1359 TARGET_XFER_EOF if LEN is zero to fix an assert failure when
1360 requested object is TARGET_OBJECT_LIBRARIES.
1362 2014-02-24 Yao Qi <yao@codesourcery.com>
1364 * target.h (enum target_xfer_status)
1365 <TARGET_XFER_E_UNAVAILABLE>: Rename it to ...
1366 <TARGET_XFER_UNAVAILABLE>: ... it with setting value 2
1368 * corefile.c (memory_error_message): User updated.
1369 * exec.c (section_table_read_available_memory): Likewise.
1370 * record-btrace.c (record_btrace_xfer_partial): Likewise.
1371 * target.c (target_xfer_status_to_string): Likewise.
1372 (raw_memory_xfer_partial): Likewise.
1373 (memory_xfer_partial_1, target_xfer_partial): Likewise.
1374 * valops.c (read_value_memory): Likewise.
1375 * exec.h: Update comments.
1377 2014-02-24 Yao Qi <yao@codesourcery.com>
1379 * target.c (target_xfer_status_to_string): Rename argument err
1381 * target.h (target_xfer_status_to_string): Update declaration.
1382 Replace target_xfer_error_to_string with
1383 target_xfer_status_to_string in comment.
1385 2014-02-24 Yao Qi <yao@codesourcery.com>
1387 * mips-linux-nat.c (super_close): Update its type.
1388 (mips_linux_close): Pass 'self' to super_close.
1390 2014-02-24 Yao Qi <yao@codesourcery.com>
1392 * target.h (TARGET_XFER_STATUS_ERROR_P): Remove.
1393 * corefile.c (read_memory): Adjusted.
1394 * target.c (target_write_with_progress): Adjusted.
1396 2014-02-23 Yao Qi <yao@codesourcery.com>
1400 2013-10-25 Yao Qi <yao@codesourcery.com>
1402 * remote.c (remote_traceframe_info): Return early if
1403 traceframe is not selected.
1405 2013-07-19 Yao Qi <yao@codesourcery.com>
1407 * target.c (update_current_target): Change the default action
1408 of 'to_traceframe_info' from tcomplain to return_zero.
1409 * target.h (struct target_ops) <to_traceframe_info>: Add more
1412 2014-02-23 Yao Qi <yao@codesourcery.com>
1414 * valops.c (read_value_memory): Rewrite it. Call
1415 target_xfer_partial in a loop.
1416 * exec.h (section_table_available_memory): Remove declaration.
1417 Move comments to ...
1418 * exec.c (section_table_available_memory): ... here. Make it
1421 2014-02-23 Yao Qi <yao@codesourcery.com>
1423 * exec.c (section_table_read_available_memory): New function.
1424 * exec.h (section_table_read_available_memory): Declare.
1425 * ctf.c (ctf_xfer_partial): Call
1426 section_table_read_available_memory.
1427 * tracefile-tfile.c (tfile_xfer_partial): Likewise.
1429 2014-02-23 Yao Qi <yao@codesourcery.com>
1431 * ctf.c (ctf_xfer_partial): Move code to ...
1432 * exec.c (exec_read_partial_read_only): ... it. New function.
1433 * tracefile-tfile.c (tfile_xfer_partial): Likewise.
1434 * tracefile.c: Include "exec.h".
1435 * exec.h (exec_read_partial_read_only): Declare.
1437 2014-02-23 Yao Qi <yao@codesourcery.com>
1439 * tracefile-tfile.c (tfile_has_all_memory): Remove.
1440 (tfile_has_memory): Remove.
1441 (init_tfile_ops): Don't set fields to_has_all_memory and
1442 to_has_memory of tfile_ops.
1443 * tracefile.c (tracefile_has_all_memory): New function.
1444 (tracefile_has_memory): New function.
1445 (init_tracefile_ops): Initialize fields to_has_all_memory and
1446 to_has_memory of 'ops'.
1448 2014-02-23 Yao Qi <yao@codesourcery.com>
1450 * ctf.c (ctf_has_stack, ctf_has_registers): Remove.
1451 (ctf_thread_alive, ctf_get_trace_status): Remove.
1452 (init_ctf_ops): Don't set some fields of ctf_ops. Call
1454 * tracefile-tfile.c (tfile_get_trace_status): Remove.
1455 (tfile_has_stack, tfile_has_registers): Remove.
1456 (tfile_thread_alive): Remove.
1457 (init_tfile_ops): Don't set some fields of tfile_ops. Call
1459 * tracefile.c (tracefile_has_stack): New function.
1460 (tracefile_has_registers): New function.
1461 (tracefile_thread_alive): New function.
1462 (tracefile_get_trace_status): New function.
1463 (init_tracefile_ops): New function.
1464 * tracefile.h (init_tracefile_ops): Declare.
1466 2014-02-23 Yao Qi <yao@codesourcery.com>
1468 * tracepoint.c (TFILE_PID): Move it to tracefile-tfile.c.
1469 (O_LARGEFILE): Likewise.
1470 (tfile_ops): Likewise.
1471 (TRACE_HEADER_SIZE): Likewise.
1472 (trace_fd, trace_frames_offset, cur_offset): Likewise.
1473 (cur_data_size): Likewise.
1474 (tfile_read, tfile_open, tfile_interp_line): Likewise.
1475 (tfile_close, tfile_files_info): Likewise.
1476 (tfile_get_trace_status): Likewise.
1477 (tfile_get_tracepoint_status): Likewise.
1478 (tfile_get_traceframe_address): Likewise.
1479 (tfile_trace_find, match_blocktype): Likewise.
1480 (traceframe_walk_blocks, traceframe_find_block_type): Likewise.
1481 (tfile_fetch_registers, tfile_xfer_partial): Likewise.
1482 (tfile_get_trace_state_variable_value): Likewise.
1483 (tfile_has_all_memory, tfile_has_memory): Likewise.
1484 (tfile_has_stack, tfile_has_registers): Likewise.
1485 (tfile_thread_alive, build_traceframe_info): Likewise.
1486 (tfile_traceframe_info, init_tfile_ops): Likewise.
1487 (_initialize_tracepoint): Don't call init_tfile_ops
1488 and add_target_with_completer.
1489 * tracefile-tfile.c: Include regcache.h, inferior.h, gdbthread.h,
1490 exec.h, completer.h and filenames.h.
1491 (_initialize_tracefile_tfile): New function.
1493 2014-02-23 Yao Qi <yao@codesourcery.com>
1495 * Makefile.in (REMOTE_OBS): Append tracefile.o and
1497 (HFILES_NO_SRCDIR): Add tracefile.h.
1498 * ctf.c: Include "tracefile.h".
1499 * tracefile.h: New file.
1500 * tracefile.c: New file
1501 * tracefile-tfile.c: New file.
1502 * tracepoint.c: Include "tracefile.h".
1503 (free_uploaded_tps, free_uploaded_tsvs): Remove declarations.
1504 (stop_reason_names): Add const.
1505 (trace_file_writer_xfree): Move it to tracefile.c.
1506 (trace_save, trace_save_command, trace_save_tfile): Likewise.
1507 (trace_save_ctf): Likewise.
1508 (struct tfile_trace_file_writer): Move it to tracefile-tfile.c.
1509 (tfile_target_save, tfile_dtor, tfile_start): Likewise.
1510 (tfile_write_header, tfile_write_regblock_type): Likewise.
1511 (tfile_write_status, tfile_write_uploaded_tsv): Likewise.
1512 (tfile_write_uploaded_tp, tfile_write_definition_end): Likewise.
1513 (tfile_write_raw_data, tfile_end): Likewise.
1514 (tfile_trace_file_writer_new): Likewise.
1515 (free_uploaded_tp): Make it extern.
1516 (free_uploaded_tsv): Make it extern.
1517 (_initialize_tracepoint): Move code to register command 'tsave'
1519 * tracepoint.h (stop_reason_names): Declare.
1520 (struct trace_frame_write_ops): Move it to tracefile.h.
1521 (struct trace_file_write_ops): Likewise.
1522 (struct trace_file_writer): Likewise.
1523 (free_uploaded_tsvs, free_uploaded_tps): Declare.
1525 2014-02-21 Jan Kratochvil <jan.kratochvil@redhat.com>
1528 * common/linux-osdata.c (linux_common_core_of_thread): Find the end of
1530 (get_cores_used_by_process): New parameter num_cores, use it.
1531 (linux_xfer_osdata_processes): Pass num_cores to it.
1532 * linux-tdep.c (linux_info_proc, linux_fill_prpsinfo): Find the end of
1535 2014-02-21 Andreas Arnez <arnez@vnet.linux.ibm.com>
1537 * target.c (memory_xfer_partial): Fix length arg in call to
1538 breakpoint_xfer_memory.
1540 2014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
1543 * i386-tdep.c (i386_stap_parse_special_token_triplet): Check if a
1544 number comes after the + or - signs. Adjust length of register
1545 name to be extracted.
1547 2014-02-20 Tom Tromey <tromey@redhat.com>
1549 * varobj.h (c_varobj_ops, cplus_varobj_ops, java_varobj_ops)
1550 (ada_varobj_ops): Mark "extern".
1552 2014-02-20 Tom Tromey <tromey@redhat.com>
1554 * dbxread.c (read_dbx_symtab): Remove last_o_file_start.
1556 2014-02-20 Doug Evans <xdje42@gmail.com>
1558 * guile/scm-gsmob.c (gdbscm_init_eqable_gsmob): New arg containing_scm.
1559 All callers updated.
1560 (gdbscm_fill_eqable_gsmob_ptr_slot): Delete arg containing_scm.
1561 All callers updated.
1562 * guile/guile-internal.h (gdbscm_init_eqable_gsmob): Update.
1563 (gdbscm_fill_eqable_gsmob_ptr_slot): Update.
1565 2014-02-20 lin zuojian <manjian2006@gmail.com>
1566 Joel Brobecker <brobecker@adacore.com>
1567 Doug Evans <xdje42@gmail.com>
1570 * dwarf2read.c (struct die_info): New member in_process.
1571 (reset_die_in_process): New function.
1572 (process_die): Set it at the start, reset when returning.
1573 (inherit_abstract_dies): Only call process_die if origin_child_die
1574 not already being processed.
1576 2014-02-20 Joel Brobecker <brobecker@adacore.com>
1578 * windows-nat.c (handle_unload_dll): Add function documentation.
1579 (do_initial_windows_stuff): Add comment explaining why we wait
1580 until after inferior initialization has finished before
1581 processing all DLLs.
1583 2014-02-20 Joel Brobecker <brobecker@adacore.com>
1585 * windows-nat.c (get_module_name): Delete.
1586 (windows_get_exec_module_filename): New function, mostly
1587 inspired from get_module_name.
1588 (windows_pid_to_exec_file): Replace call to get_module_name
1589 by call to windows_get_exec_module_filename.
1591 2014-02-20 Joel Brobecker <brobecker@adacore.com>
1593 * windows-nat.c (handle_load_dll): Rewrite this function's
1594 introductory comment. Remove code using get_module_name
1595 to get the DLL's name.
1597 2014-02-20 Joel Brobecker <brobecker@adacore.com>
1599 * windows-nat.c (get_windows_debug_event): Ignore
1600 LOAD_DLL_DEBUG_EVENT and UNLOAD_DLL_DEBUG_EVENT
1601 if windows_initialization_done == 0.
1602 (windows_add_all_dlls): Renames windows_ensure_ntdll_loaded.
1603 Adjust implementation to always load all DLLs.
1604 (do_initial_windows_stuff): Replace call to
1605 windows_ensure_ntdll_loaded by call to windows_add_all_dlls.
1607 2014-02-20 Joel Brobecker <brobecker@adacore.com>
1609 * windows-nat.c (_initialize_windows_nat): Deprecate the
1610 "dll-symbols" command. Turn the "add-shared-symbol-files"
1611 and "assf" aliases into commands, and deprecate them as well.
1612 * NEWS: Add entry explaining that "dll-symbols" and its two
1613 aliases are now deprecated.
1615 2014-02-20 Joel Brobecker <brobecker@adacore.com>
1617 * dec-thread.c (dec_thread_get_ada_task_ptid): Avoid unescaped
1618 new-line in debug string. Remove trailing spaces.
1620 2014-02-19 Stan Shebs <stan@codesourcery.com>
1622 * darwin-nat.c (darwin_xfer_partial): Fix return type.
1624 2014-02-19 Siva Chandra Reddy <sivachandra@google.com>
1626 * NEWS: Add entry for the new feature
1627 * python/py-value.c (valpy_binop): Call value_x_binop for struct
1630 2014-02-19 Stan Shebs <stan@codesourcery.com>
1632 * MAINTAINERS: List Yao Qi as nios2 maintainer.
1634 2014-02-19 Pedro Alves <palves@redhat.com>
1636 * common/ptid.h (struct ptid): Mention that process_stratum
1637 targets should prefer ptid.lwp.
1639 2014-02-19 Pedro Alves <palves@redhat.com>
1641 * remote.c (remote_thread_alive, write_ptid, read_ptid)
1642 (read_ptid, remote_newthread_step, remote_threads_extra_info)
1643 (remote_get_ada_task_ptid, append_resumption, remote_stop_ns)
1644 (threadalive_test, remote_pid_to_str): Use the ptid.lwp field to
1645 store remote thread ids rather than ptid.tid.
1646 (_initialize_remote): Adjust.
1648 2014-02-19 Tom Tromey <tromey@redhat.com>
1650 * target.c (target_get_unwinder): Rewrite.
1651 (target_get_tailcall_unwinder): Rewrite.
1652 * record-btrace.c (record_btrace_to_get_unwinder): New function.
1653 (record_btrace_to_get_tailcall_unwinder): New function.
1654 (init_record_btrace_ops): Update.
1655 * target.h (struct target_ops) <to_get_unwinder,
1656 to_get_tailcall_unwinder>: Now function pointers. Use
1657 TARGET_DEFAULT_RETURN.
1659 2014-02-19 Tom Tromey <tromey@redhat.com>
1661 * nto-procfs.c (procfs_remove_hw_breakpoint): Add 'self'
1663 (init_procfs_ops): Correctly set to_remove_hw_breakpoint.
1665 2014-02-19 Tom Tromey <tromey@redhat.com>
1667 * record-btrace.c (record_btrace_decr_pc_after_break): Delegate
1669 * target-delegates.c: Rebuild.
1670 * target.h (struct target_ops) <to_decr_pc_after_break>: Use
1671 TARGET_DEFAULT_FUNC.
1672 * target.c (default_target_decr_pc_after_break): Rename from
1673 forward_target_decr_pc_after_break. Simplify.
1674 (target_decr_pc_after_break): Rely on delegation.
1676 2014-02-19 Tom Tromey <tromey@redhat.com>
1678 * target.c (update_current_target): Do not INHERIT to_doc or
1679 to_magic. Do not de_fault to_open or to_close.
1681 2014-02-19 Tom Tromey <tromey@redhat.com>
1683 * gcore.h (objfile_find_memory_regions): Declare.
1684 * gcore.c (objfile_find_memory_regions): No longer static. Add
1686 (_initialize_gcore): Don't call exec_set_find_memory_regions.
1687 * exec.c: Include gcore.h.
1688 (exec_set_find_memory_regions): Remove.
1689 (exec_find_memory_regions): Remove.
1690 (exec_do_find_memory_regions): Remove.
1691 (init_exec_ops): Update.
1692 * defs.h (exec_set_find_memory_regions): Remove.
1694 2014-02-19 Tom Tromey <tromey@redhat.com>
1696 * target-delegates.c: Rebuild.
1697 * target.h (struct target_ops) <to_extra_thread_info,
1698 to_thread_name, to_pid_to_exec_file, to_get_section_table,
1699 to_memory_map, to_read_description, to_traceframe_info>: Use NULL,
1700 not 0, in TARGET_DEFAULT_RETURN.
1702 2014-02-19 Tom Tromey <tromey@redhat.com>
1704 * target.c (complete_target_initialization): Remove casts. Use
1705 return_zero_has_execution.
1706 (return_zero): Add "ignore" argument.
1707 (return_zero_has_execution): New function.
1708 (init_dummy_target): Remove casts. Use
1709 return_zero_has_execution.
1711 2014-02-19 Tom Tromey <tromey@redhat.com>
1713 * target.c (update_current_target): Update comments. Do not
1716 2014-02-19 Tom Tromey <tromey@redhat.com>
1718 * arm-linux-nat.c (arm_linux_read_description): Delegate when
1720 * corelow.c (core_read_description): Delegate when needed.
1721 * remote.c (remote_read_description): Delegate when needed.
1722 * target-delegates.c: Rebuild.
1723 * target.c (target_read_description): Rewrite.
1724 * target.h (struct target_ops) <to_read_description>: Update
1725 comment. Use TARGET_DEFAULT_RETURN.
1727 2014-02-19 Tom Tromey <tromey@redhat.com>
1729 * target-delegates.c: Rebuild.
1730 * target.c (update_current_target): Don't inherit or default
1732 (find_default_run_target): Check against delegate_can_run.
1733 * target.h (struct target_ops) <to_can_run>: Use
1734 TARGET_DEFAULT_RETURN.
1736 2014-02-19 Tom Tromey <tromey@redhat.com>
1738 * target-delegates.c: Rebuild.
1739 * target.c (target_disconnect): Unconditionally delegate.
1740 * target.h (struct target_ops) <to_disconnect>: Use
1741 TARGET_DEFAULT_NORETURN.
1743 2014-02-19 Tom Tromey <tromey@redhat.com>
1745 * record.c (record_stop): Unconditionally delegate.
1746 * target-delegates.c: Rebuild.
1747 * target.c (target_stop_recording): Unconditionally delegate.
1748 * target.h (struct target_ops) <to_stop_recording>: Use
1749 TARGET_DEFAULT_IGNORE.
1751 2014-02-19 Tom Tromey <tromey@redhat.com>
1753 * target-delegates.c: Rebuild.
1754 * target.c (target_enable_btrace): Unconditionally delegate.
1755 * target.h (struct target_ops) <to_enable_btrace>: Use
1756 TARGET_DEFAULT_NORETURN.
1758 2014-02-19 Tom Tromey <tromey@redhat.com>
1760 * target-delegates.c: Rebuild.
1761 * target.c (target_read_btrace): Unconditionally delegate.
1762 * target.h (struct target_ops) <to_read_btrace>: Use
1763 TARGET_DEFAULT_NORETURN.
1765 2014-02-19 Tom Tromey <tromey@redhat.com>
1767 * target-delegates.c: Rebuild.
1768 * target.c (target_teardown_btrace): Unconditionally delegate.
1769 * target.h (struct target_ops) <to_teardown_btrace>: Use
1770 TARGET_DEFAULT_NORETURN.
1772 2014-02-19 Tom Tromey <tromey@redhat.com>
1774 * target-delegates.c: Rebuild.
1775 * target.c (target_disable_btrace): Unconditionally delegate.
1776 * target.h (struct target_ops) <to_disable_btrace>: Use
1777 TARGET_DEFAULT_NORETURN.
1779 2014-02-19 Tom Tromey <tromey@redhat.com>
1781 * target-delegates.c: Rebuild.
1782 * target.c (default_search_memory): New function.
1783 (simple_search_memory): Update comment.
1784 (target_search_memory): Unconditionally delegate.
1785 * target.h (struct target_ops) <to_search_memory>: Use
1786 TARGET_DEFAULT_FUNC.
1788 2014-02-19 Tom Tromey <tromey@redhat.com>
1790 * auxv.c (default_auxv_parse): No longer static.
1791 (target_auxv_parse): Unconditionally delegate.
1792 * auxv.h (default_auxv_parse): Declare.
1793 * target-delegates.c: Rebuild.
1794 * target.c: Include auxv.h.
1795 * target.h (struct target_ops) <to_auxv_parse>: Use
1796 TARGET_DEFAULT_FUNC.
1798 2014-02-19 Tom Tromey <tromey@redhat.com>
1800 * target-delegates.c: Rebuild.
1801 * target.c (target_memory_map): Unconditionally delegate.
1802 * target.h (struct target_ops) <to_memory_map>: Use
1803 TARGET_DEFAULT_RETURN.
1805 2014-02-19 Tom Tromey <tromey@redhat.com>
1807 * target-delegates.c: Rebuild.
1808 * target.c (target_thread_alive): Unconditionally delegate.
1809 * target.h (struct target_ops) <to_thread_alive>: Use
1810 TARGET_DEFAULT_RETURN.
1812 2014-02-19 Tom Tromey <tromey@redhat.com>
1814 * target-delegates.c: Rebuild.
1815 * target.c (target_save_record): Unconditionally delegate.
1816 * target.h (struct target_ops) <to_save_record>: Use
1817 TARGET_DEFAULT_NORETURN.
1819 2014-02-19 Tom Tromey <tromey@redhat.com>
1821 * target-delegates.c: Rebuild.
1822 * target.c (target_delete_record): Unconditionally delegate.
1823 * target.h (struct target_ops) <to_delete_record>: Use
1824 TARGET_DEFAULT_NORETURN.
1826 2014-02-19 Tom Tromey <tromey@redhat.com>
1828 * target-delegates.c: Rebuild.
1829 * target.c (target_record_is_replaying): Unconditionally
1831 * target.h (struct target_ops) <to_record_is_replaying>: Use
1832 TARGET_DEFAULT_RETURN.
1834 2014-02-19 Tom Tromey <tromey@redhat.com>
1836 * target-delegates.c: Rebuild.
1837 * target.c (target_goto_record_begin): Unconditionally delegate.
1838 * target.h (struct target_ops) <to_goto_record_begin>: Use
1839 TARGET_DEFAULT_NORETURN.
1841 2014-02-19 Tom Tromey <tromey@redhat.com>
1843 * target-delegates.c: Rebuild.
1844 * target.c (target_goto_record_end): Unconditionally delegate.
1845 * target.h (struct target_ops) <to_goto_record_end>: Use
1846 TARGET_DEFAULT_NORETURN.
1848 2014-02-19 Tom Tromey <tromey@redhat.com>
1850 * target-delegates.c: Rebuild.
1851 * target.c (target_goto_record): Unconditionally delegate.
1852 * target.h (struct target_ops) <to_goto_record>: Use
1853 TARGET_DEFAULT_NORETURN.
1855 2014-02-19 Tom Tromey <tromey@redhat.com>
1857 * target-delegates.c: Rebuild.
1858 * target.c (target_insn_history): Unconditionally delegate.
1859 * target.h (struct target_ops) <to_insn_history>: Use
1860 TARGET_DEFAULT_NORETURN.
1862 2014-02-19 Tom Tromey <tromey@redhat.com>
1864 * target-delegates.c: Rebuild.
1865 * target.c (target_insn_history_from): Unconditionally delegate.
1866 * target.h (struct target_ops) <to_insn_history_from>: Use
1867 TARGET_DEFAULT_NORETURN.
1869 2014-02-19 Tom Tromey <tromey@redhat.com>
1871 * target-delegates.c: Rebuild.
1872 * target.c (target_insn_history_range): Unconditionally delegate.
1873 * target.h (struct target_ops) <to_insn_history_range>: Use
1874 TARGET_DEFAULT_NORETURN.
1876 2014-02-19 Tom Tromey <tromey@redhat.com>
1878 * target-delegates.c: Rebuild.
1879 * target.c (target_call_history): Unconditionally delegate.
1880 * target.h (struct target_ops) <to_call_history>: Use
1881 TARGET_DEFAULT_NORETURN.
1883 2014-02-19 Tom Tromey <tromey@redhat.com>
1885 * target-delegates.c: Rebuild.
1886 * target.c (target_call_history_from): Unconditionally delegate.
1887 * target.h (struct target_ops) <to_call_history_from>: Use
1888 TARGET_DEFAULT_NORETURN.
1890 2014-02-19 Tom Tromey <tromey@redhat.com>
1892 * target-delegates.c: Rebuild.
1893 * target.c (target_call_history_range): Unconditionally delegate.
1894 * target.h (struct target_ops) <to_call_history_range>: Use
1895 TARGET_DEFAULT_NORETURN.
1897 2014-02-19 Tom Tromey <tromey@redhat.com>
1899 * target-delegates.c: Rebuild.
1900 * target.c (target_verify_memory): Unconditionally delegate.
1901 * target.h (struct target_ops) <to_verify_memory>: Use
1902 TARGET_DEFAULT_NORETURN.
1904 2014-02-19 Tom Tromey <tromey@redhat.com>
1906 * target-delegates.c: Rebuild.
1907 * target.c (target_core_of_thread): Unconditionally delegate.
1908 * target.h (struct target_ops) <to_core_of_thread>: Use
1909 TARGET_DEFAULT_RETURN.
1911 2014-02-19 Tom Tromey <tromey@redhat.com>
1913 * target-delegates.c: Rebuild.
1914 * target.c (target_flash_done): Unconditionally delegate.
1915 * target.h (struct target_ops) <to_flash_done>: Use
1916 TARGET_DEFAULT_NORETURN.
1918 2014-02-19 Tom Tromey <tromey@redhat.com>
1920 * target-delegates.c: Rebuild.
1921 * target.c (target_flash_erase): Unconditionally delegate.
1922 * target.h (struct target_ops) <to_flash_erase>: Use
1923 TARGET_DEFAULT_NORETURN.
1925 2014-02-19 Tom Tromey <tromey@redhat.com>
1927 * target-delegates.c: Rebuild.
1928 * target.c (target_get_section_table): Unconditionally delegate.
1929 * target.h (struct target_ops) <to_get_section_table>: Use
1930 TARGET_DEFAULT_RETURN.
1932 2014-02-19 Tom Tromey <tromey@redhat.com>
1934 * target-delegates.c: Rebuild.
1935 * target.c (target_pid_to_str): Unconditionally delegate.
1936 (init_dummy_target): Don't initialize to_pid_to_str.
1937 (default_pid_to_str): Rename from dummy_pid_to_str.
1938 * target.h (struct target_ops) <to_pid_to_str>: Use
1939 TARGET_DEFAULT_FUNC.
1941 2014-02-19 Tom Tromey <tromey@redhat.com>
1943 * target-delegates.c: Rebuild.
1944 * target.c (target_find_new_threads): Unconditionally delegate.
1945 * target.h (struct target_ops) <to_find_new_threads>: Use
1946 TARGET_DEFAULT_RETURN.
1948 2014-02-19 Tom Tromey <tromey@redhat.com>
1950 * target-delegates.c: Rebuild.
1951 * target.c (target_program_signals): Unconditionally delegate.
1952 * target.h (struct target_ops) <to_program_signals>: Use
1953 TARGET_DEFAULT_IGNORE.
1955 2014-02-19 Tom Tromey <tromey@redhat.com>
1957 * target-delegates.c: Rebuild.
1958 * target.c (target_pass_signals): Unconditionally delegate.
1959 * target.h (struct target_ops) <to_pass_signals>: Use
1960 TARGET_DEFAULT_IGNORE.
1962 2014-02-19 Tom Tromey <tromey@redhat.com>
1964 * target-delegates.c: Rebuild.
1965 * target.c (default_mourn_inferior): New function.
1966 (target_mourn_inferior): Unconditionally delegate.
1967 * target.h (struct target_ops) <to_mourn_inferior>: Use
1968 TARGET_DEFAULT_FUNC.
1970 2014-02-19 Tom Tromey <tromey@redhat.com>
1972 * target-delegates.c: Rebuild.
1973 * target.c (default_follow_fork): New function.
1974 (target_follow_fork): Unconditionally delegate.
1975 * target.h (struct target_ops) <to_follow_fork>: Use
1976 TARGET_DEFAULT_FUNC.
1978 2014-02-19 Tom Tromey <tromey@redhat.com>
1980 * target-delegates.c: Rebuild.
1981 * target.c (target_kill): Unconditionally delegate.
1982 * target.h (struct target_ops) <to_kill>: Use
1983 TARGET_DEFAULT_NORETURN.
1985 2014-02-19 Tom Tromey <tromey@redhat.com>
1987 * target-delegates.c: Rebuild.
1988 * target.c (target_masked_watch_num_registers): Unconditionally
1990 * target.h (struct target_ops) <to_masked_watch_num_registers>:
1991 Use TARGET_DEFAULT_RETURN.
1993 2014-02-19 Tom Tromey <tromey@redhat.com>
1995 * target-delegates.c: Rebuild.
1996 * target.c (target_remove_mask_watchpoint): Unconditionally
1998 * target.h (struct target_ops) <to_remove_mask_watchpoint>: Use
1999 TARGET_DEFAULT_RETURN.
2001 2014-02-19 Tom Tromey <tromey@redhat.com>
2003 * target-delegates.c: Rebuild.
2004 * target.c (target_insert_mask_watchpoint): Unconditionally
2006 * target.h (struct target_ops) <to_insert_mask_watchpoint>: Use
2007 TARGET_DEFAULT_RETURN.
2009 2014-02-19 Tom Tromey <tromey@redhat.com>
2011 * target-delegates.c: Rebuild.
2012 * target.c (target_ranged_break_num_registers): Unconditionally
2014 * target.h (struct target_ops) <to_ranged_break_num_registers>:
2015 Use TARGET_DEFAULT_RETURN.
2017 2014-02-19 Tom Tromey <tromey@redhat.com>
2019 * target-delegates.c: Rebuild.
2020 * target.c (target_fetch_registers): Unconditionally delegate.
2021 * target.h (struct target_ops) <to_fetch_registers>: Use
2022 TARGET_DEFAULT_NORETURN.
2024 2014-02-19 Tom Tromey <tromey@redhat.com>
2026 * target-delegates.c: Rebuild.
2027 * target.c (update_current_target): Don't inherit or default
2029 * target.h (struct target_ops) <to_stop>: Use
2030 TARGET_DEFAULT_IGNORE.
2032 2014-02-19 Tom Tromey <tromey@redhat.com>
2034 * target-delegates.c: Rebuild.
2035 * target.c (update_current_target): Don't inherit or default
2036 to_can_run_breakpoint_commands.
2037 * target.h (struct target_ops) <to_can_run_breakpoint_commands>:
2038 Use TARGET_DEFAULT_RETURN.
2040 2014-02-19 Tom Tromey <tromey@redhat.com>
2042 * target-delegates.c: Rebuild.
2043 * target.c (update_current_target): Don't inherit or default
2044 to_supports_evaluation_of_breakpoint_conditions.
2045 * target.h (struct target_ops)
2046 <to_supports_evaluation_of_breakpoint_conditions>: Use
2047 TARGET_DEFAULT_RETURN.
2049 2014-02-19 Tom Tromey <tromey@redhat.com>
2051 * target-delegates.c: Rebuild.
2052 * target.c (update_current_target): Don't inherit or default
2053 to_augmented_libraries_svr4_read.
2054 * target.h (struct target_ops) <to_augmented_libraries_svr4_read>:
2055 Use TARGET_DEFAULT_RETURN.
2057 2014-02-19 Tom Tromey <tromey@redhat.com>
2059 * target-delegates.c: Rebuild.
2060 * target.c (update_current_target): Don't inherit or default
2062 * target.h (struct target_ops) <to_can_use_agent>: Use
2063 TARGET_DEFAULT_RETURN.
2065 2014-02-19 Tom Tromey <tromey@redhat.com>
2067 * target-delegates.c: Rebuild.
2068 * target.c (update_current_target): Don't inherit or default
2070 * target.h (struct target_ops) <to_use_agent>: Use
2071 TARGET_DEFAULT_NORETURN.
2073 2014-02-19 Tom Tromey <tromey@redhat.com>
2075 * target-delegates.c: Rebuild.
2076 * target.c (update_current_target): Don't inherit or default
2078 (return_null): Remove.
2079 * target.h (struct target_ops) <to_traceframe_info>: Use
2080 TARGET_DEFAULT_RETURN.
2082 2014-02-19 Tom Tromey <tromey@redhat.com>
2084 * target-delegates.c: Rebuild.
2085 * target.c (update_current_target): Don't inherit or default
2086 to_static_tracepoint_markers_by_strid.
2087 * target.h (struct target_ops)
2088 <to_static_tracepoint_markers_by_strid>: Use
2089 TARGET_DEFAULT_NORETURN.
2091 2014-02-19 Tom Tromey <tromey@redhat.com>
2093 * target-delegates.c: Rebuild.
2094 * target.c (update_current_target): Don't inherit or default
2095 to_static_tracepoint_marker_at.
2096 * target.h (struct target_ops) <to_static_tracepoint_marker_at>:
2097 Use TARGET_DEFAULT_RETURN.
2099 2014-02-19 Tom Tromey <tromey@redhat.com>
2101 * target-delegates.c: Rebuild.
2102 * target.c (update_current_target): Don't inherit or default
2104 * target.h (struct target_ops) <to_set_permissions>: Use
2105 TARGET_DEFAULT_IGNORE.
2107 2014-02-19 Tom Tromey <tromey@redhat.com>
2109 * target-delegates.c: Rebuild.
2110 * target.c (update_current_target): Don't inherit or default
2112 * target.h (struct target_ops) <to_get_tib_address>: Use
2113 TARGET_DEFAULT_NORETURN.
2115 2014-02-19 Tom Tromey <tromey@redhat.com>
2117 * target-delegates.c: Rebuild.
2118 * target.c (update_current_target): Don't inherit or default
2120 * target.h (struct target_ops) <to_set_trace_notes>: Use
2121 TARGET_DEFAULT_RETURN.
2123 2014-02-19 Tom Tromey <tromey@redhat.com>
2125 * target-delegates.c: Rebuild.
2126 * target.c (update_current_target): Don't initialize
2127 to_set_trace_buffer_size.
2128 * target.h (struct target_ops) <to_set_trace_buffer_size>: Use
2129 TARGET_DEFAULT_IGNORE.
2131 2014-02-19 Tom Tromey <tromey@redhat.com>
2133 * target-delegates.c: Rebuild.
2134 * target.c (update_current_target): Don't inherit or default
2135 to_set_circular_trace_buffer.
2136 * target.h (struct target_ops) <to_set_circular_trace_buffer>: Use
2137 TARGET_DEFAULT_IGNORE.
2139 2014-02-19 Tom Tromey <tromey@redhat.com>
2141 * target-delegates.c: Rebuild.
2142 * target.c (update_current_target): Don't inherit or default
2143 to_set_disconnected_tracing.
2144 * target.h (struct target_ops) <to_set_disconnected_tracing>: Use
2145 TARGET_DEFAULT_IGNORE.
2147 2014-02-19 Tom Tromey <tromey@redhat.com>
2149 * target-delegates.c: Rebuild.
2150 * target.c (update_current_target): Don't inherit or default
2151 to_get_min_fast_tracepoint_insn_len.
2152 (return_minus_one): Remove.
2153 * target.h (struct target_ops)
2154 <to_get_min_fast_tracepoint_insn_len>: Use TARGET_DEFAULT_RETURN.
2156 2014-02-19 Tom Tromey <tromey@redhat.com>
2158 * target-delegates.c: Rebuild.
2159 * target.c (update_current_target): Don't inherit or default
2160 to_get_raw_trace_data.
2161 * target.h (struct target_ops) <to_get_raw_trace_data>: Use
2162 TARGET_DEFAULT_NORETURN.
2164 2014-02-19 Tom Tromey <tromey@redhat.com>
2166 * target-delegates.c: Rebuild.
2167 * target.c (update_current_target): Don't inherit or default
2168 to_upload_trace_state_variables.
2169 * target.h (struct target_ops) <to_upload_trace_state_variables>:
2170 Use TARGET_DEFAULT_RETURN.
2172 2014-02-19 Tom Tromey <tromey@redhat.com>
2174 * target-delegates.c: Rebuild.
2175 * target.c (update_current_target): Don't inherit or default
2176 to_upload_tracepoints.
2177 * target.h (struct target_ops) <to_upload_tracepoints>: Use
2178 TARGET_DEFAULT_RETURN.
2180 2014-02-19 Tom Tromey <tromey@redhat.com>
2182 * target-delegates.c: Rebuild.
2183 * target.c (update_current_target): Don't inherit or default
2185 * target.h (struct target_ops) <to_save_trace_data>: Use
2186 TARGET_DEFAULT_NORETURN.
2188 2014-02-19 Tom Tromey <tromey@redhat.com>
2190 * target-delegates.c: Rebuild.
2191 * target.c (update_current_target): Don't inherit or default
2192 to_get_trace_state_variable_value.
2193 * target.h (struct target_ops)
2194 <to_get_trace_state_variable_value>: Use TARGET_DEFAULT_RETURN.
2196 2014-02-19 Tom Tromey <tromey@redhat.com>
2198 * target-delegates.c: Rebuild.
2199 * target.c (update_current_target): Don't inherit or default
2201 * target.h (struct target_ops): Use TARGET_DEFAULT_RETURN.
2203 2014-02-19 Tom Tromey <tromey@redhat.com>
2205 * target-delegates.c: Rebuild.
2206 * target.c (update_current_target): Don't inherit or default
2208 * target.h (struct target_ops) <to_trace_stop>: Use
2209 TARGET_DEFAULT_NORETURN.
2211 2014-02-19 Tom Tromey <tromey@redhat.com>
2213 * target-delegates.c: Rebuild.
2214 * target.c (update_current_target): Don't inherit or default
2215 to_get_tracepoint_status.
2216 * target.h (struct target_ops) <to_get_tracepoint_status>: Use
2217 TARGET_DEFAULT_NORETURN.
2219 2014-02-19 Tom Tromey <tromey@redhat.com>
2221 * target-delegates.c: Rebuild.
2222 * target.c (update_current_target): Don't inherit or default
2223 to_get_trace_status.
2224 * target.h (struct target_ops) <to_get_trace_status>: Use
2225 TARGET_DEFAULT_RETURN.
2227 2014-02-19 Tom Tromey <tromey@redhat.com>
2229 * target-delegates.c: Rebuild.
2230 * target.c (update_current_target): Don't inherit or default
2232 * target.h (struct target_ops) <to_trace_start>: Use
2233 TARGET_DEFAULT_NORETURN.
2235 2014-02-19 Tom Tromey <tromey@redhat.com>
2237 * target-delegates.c: Rebuild.
2238 * target.c (update_current_target): Don't inherit or default
2239 to_trace_set_readonly_regions.
2240 * target.h (struct target_ops) <to_trace_set_readonly_regions>:
2241 Use TARGET_DEFAULT_NORETURN.
2243 2014-02-19 Tom Tromey <tromey@redhat.com>
2245 * target-delegates.c: Rebuild.
2246 * target.c (update_current_target): Don't inherit or default
2247 to_disable_tracepoint.
2248 * target.h (struct target_ops) <to_disable_tracepoint>: Use
2249 TARGET_DEFAULT_NORETURN.
2251 2014-02-19 Tom Tromey <tromey@redhat.com>
2253 * target-delegates.c: Rebuild.
2254 * target.c (update_current_target): Don't inherit or default
2255 to_enable_tracepoint.
2256 * target.h (struct target_ops) <to_enable_tracepoint>: Use
2257 TARGET_DEFAULT_NORETURN.
2259 2014-02-19 Tom Tromey <tromey@redhat.com>
2261 * target-delegates.c: Rebuild.
2262 * target.c (update_current_target): Don't inherit or default
2263 to_download_trace_state_variable.
2264 * target.h (struct target_ops) <to_download_trace_state_variable>:
2265 Use TARGET_DEFAULT_NORETURN.
2267 2014-02-19 Tom Tromey <tromey@redhat.com>
2269 * target-delegates.c: Rebuild.
2270 * target.c (update_current_target): Don't inherit or default
2271 to_can_download_tracepoint.
2272 * target.h (struct target_ops) <to_can_download_tracepoint>: Use
2273 TARGET_DEFAULT_RETURN.
2275 2014-02-19 Tom Tromey <tromey@redhat.com>
2277 * target-delegates.c: Rebuild.
2278 * target.c (update_current_target): Don't inherit or default
2279 to_download_tracepoint.
2280 * target.h (struct target_ops) <to_download_tracepoint>: Use
2281 TARGET_DEFAULT_NORETURN.
2283 2014-02-19 Tom Tromey <tromey@redhat.com>
2285 * target-delegates.c: Rebuild.
2286 * target.c (update_current_target): Don't inherit or default
2288 * target.h (struct target_ops) <to_trace_init>: Use
2289 TARGET_DEFAULT_RETURN.
2291 2014-02-19 Tom Tromey <tromey@redhat.com>
2293 * target-delegates.c: Rebuild.
2294 * target.c (update_current_target): Don't inherit or default
2295 to_supports_string_tracing.
2296 * target.h (struct target_ops) <to_supports_string_tracing>: Use
2297 TARGET_DEFAULT_RETURN.
2299 2014-02-19 Tom Tromey <tromey@redhat.com>
2301 * target-delegates.c: Rebuild.
2302 * target.c (update_current_target): Don't inherit or default
2303 to_supports_enable_disable_tracepoint.
2304 * target.h (struct target_ops)
2305 <to_supports_enable_disable_tracepoint>: Use
2306 TARGET_DEFAULT_RETURN.
2308 2014-02-19 Tom Tromey <tromey@redhat.com>
2310 * target-delegates.c: Rebuild.
2311 * target.c (update_current_target): Don't inherit or default
2312 to_supports_multi_process.
2313 * target.h (struct target_ops) <to_supports_multi_process>: Use
2314 TARGET_DEFAULT_RETURN.
2316 2014-02-19 Tom Tromey <tromey@redhat.com>
2318 * target-delegates.c: Rebuild.
2319 * target.c (update_current_target): Don't inherit or default
2320 to_get_ada_task_ptid.
2321 * target.h (struct target_ops) <to_get_ada_task_ptid>: Use
2322 TARGET_DEFAULT_FUNC.
2324 2014-02-19 Tom Tromey <tromey@redhat.com>
2326 * target-delegates.c: Rebuild.
2327 * target.c (update_current_target): Don't inherit or default
2328 to_thread_architecture.
2329 * target.h (struct target_ops) <to_thread_architecture>: Use
2330 TARGET_DEFAULT_FUNC.
2332 2014-02-19 Tom Tromey <tromey@redhat.com>
2334 * target-delegates.c: Rebuild.
2335 * target.c (update_current_target): Don't inherit or default
2336 to_execution_direction.
2337 * target.h (struct target_ops) <to_execution_direction>: 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_can_execute_reverse.
2345 * target.h (struct target_ops) <to_can_execute_reverse>: Use
2346 TARGET_DEFAULT_RETURN.
2347 (target_can_execute_reverse): Unconditionally delegate.
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 (dummy_goto_bookmark): Remove.
2355 (init_dummy_target): Don't inherit or default to_goto_bookmark.
2356 * target.h (struct target_ops) <to_goto_bookmark>: Use
2357 TARGET_DEFAULT_NORETURN.
2359 2014-02-19 Tom Tromey <tromey@redhat.com>
2361 * target-delegates.c: Rebuild.
2362 * target.c (update_current_target): Don't inherit or default
2364 (dummy_get_bookmark): Remove.
2365 (init_dummy_target): Don't inherit or default to_get_bookmark.
2366 * target.h (struct target_ops) <to_get_bookmark>: Use
2367 TARGET_DEFAULT_NORETURN
2369 2014-02-19 Tom Tromey <tromey@redhat.com>
2371 * target-delegates.c: Rebuild.
2372 * target.c (update_current_target): Don't inherit or default
2373 to_make_corefile_notes.
2374 (init_dummy_target): Don't initialize to_make_corefile_notes.
2375 * target.h (struct target_ops) <to_make_corefile_notes>: Use
2376 TARGET_DEFAULT_FUNC.
2378 2014-02-19 Tom Tromey <tromey@redhat.com>
2380 * target-delegates.c: Rebuild.
2381 * target.c (update_current_target): Don't inherit or default
2382 to_find_memory_regions.
2383 (init_dummy_target): Don't initialize to_find_memory_regions.
2384 * target.h (struct target_ops) <to_find_memory_regions>: Use
2385 TARGET_DEFAULT_FUNC.
2387 2014-02-19 Tom Tromey <tromey@redhat.com>
2389 * target-delegates.c: Rebuild.
2390 * target.c (update_current_target): Don't inherit or default
2392 * target.h (struct target_ops) <to_log_command>: Use
2393 TARGET_DEFAULT_IGNORE.
2394 (target_log_command): Unconditionally delegate.
2396 2014-02-19 Tom Tromey <tromey@redhat.com>
2398 * target-delegates.c: Rebuild.
2399 * target.c (update_current_target): Don't inherit or default
2400 to_pid_to_exec_file.
2401 * target.h (struct target_ops) <to_pid_to_exec_file>: Use
2402 TARGET_DEFAULT_RETURN.
2404 2014-02-19 Tom Tromey <tromey@redhat.com>
2406 * target-delegates.c: Rebuild.
2407 * target.c (update_current_target): Don't inherit or default
2409 (target_thread_name): Unconditionally delegate.
2410 * target.h (struct target_ops) <to_thread_name>: Use
2411 TARGET_DEFAULT_RETURN.
2413 2014-02-19 Tom Tromey <tromey@redhat.com>
2415 * target-delegates.c: Rebuild.
2416 * target.c (update_current_target): Don't inherit or default
2417 to_extra_thread_info.
2418 * target.h (struct target_ops) <to_extra_thread_info>: Use
2419 TARGET_DEFAULT_RETURN.
2421 2014-02-19 Tom Tromey <tromey@redhat.com>
2423 * target-delegates.c: Rebuild.
2424 * target.c (update_current_target): Don't inherit or default
2426 * target.h (struct target_ops) <to_has_exited>: Use
2427 TARGET_DEFAULT_RETURN..
2429 2014-02-19 Tom Tromey <tromey@redhat.com>
2431 * target-delegates.c: Rebuild.
2432 * target.c (update_current_target): Don't inherit or default
2433 to_set_syscall_catchpoint.
2434 (return_one): Remove.
2435 * target.h (struct target_ops) <to_set_syscall_catchpoint>: Use
2436 TARGET_DEFAULT_RETURN.
2438 2014-02-19 Tom Tromey <tromey@redhat.com>
2440 * target-delegates.c: Rebuild.
2441 * target.c (update_current_target): Don't inherit or default
2442 to_insert_exec_catchpoint.
2443 * target.h (struct target_ops) <to_insert_exec_catchpoint>: Use
2444 TARGET_DEFAULT_RETURN.
2446 2014-01-08 Tom Tromey <tromey@redhat.com>
2448 * target-delegates.c: Rebuild.
2449 * target.c (update_current_target): Don't inherit or default
2450 to_insert_exec_catchpoint.
2451 * target.h (struct target_ops) <to_insert_exec_catchpoint>: Use
2452 TARGET_DEFAULT_RETURN.
2454 2014-02-19 Tom Tromey <tromey@redhat.com>
2456 * target-delegates.c: Rebuild.
2457 * target.c (update_current_target): Don't inherit or default
2458 to_remove_vfork_catchpoint.
2459 * target.h (struct target_ops) <to_remove_vfork_catchpoint>: Use
2460 TARGET_DEFAULT_RETURN.
2462 2014-02-19 Tom Tromey <tromey@redhat.com>
2464 * target-delegates.c: Rebuild.
2465 * target.c (update_current_target): Don't inherit or default
2466 to_insert_vfork_catchpoint.
2467 * target.h (struct target_ops) <to_insert_vfork_catchpoint>: Use
2468 TARGET_DEFAULT_RETURN.
2470 2014-02-19 Tom Tromey <tromey@redhat.com>
2472 * target-delegates.c: Rebuild.
2473 * target.c (update_current_target): Don't inherit or default
2474 to_remove_fork_catchpoint.
2475 * target.h (struct target_ops) <to_remove_fork_catchpoint>: Use
2476 TARGET_DEFAULT_RETURN.
2478 2014-02-19 Tom Tromey <tromey@redhat.com>
2480 * target-delegates.c: Rebuild.
2481 * target.c (update_current_target): Don't inherit or default
2482 to_insert_fork_catchpoint.
2483 * target.h (struct target_ops) <to_insert_fork_catchpoint>: Use
2484 TARGET_DEFAULT_RETURN.
2486 2014-02-19 Tom Tromey <tromey@redhat.com>
2488 * target-delegates.c: Rebuild.
2489 * target.c (update_current_target): Don't inherit or default
2490 to_post_startup_inferior.
2491 * target.h (struct target_ops) <to_post_startup_inferior>: Use
2492 TARGET_DEFAULT_IGNORE.
2494 2014-02-19 Tom Tromey <tromey@redhat.com>
2496 * target-delegates.c: Rebuild.
2497 * target.c (update_current_target): Don't inherit or default
2499 * target.h (struct target_ops) <to_load>: Use
2500 TARGET_DEFAULT_NORETURN.
2502 2014-02-19 Tom Tromey <tromey@redhat.com>
2504 * target-delegates.c: Rebuild.
2505 * target.c (update_current_target): Don't inherit or default
2507 * target.h (struct target_ops) <to_terminal_info>: Use
2508 TARGET_DEFAULT_FUNC.
2510 2014-02-19 Tom Tromey <tromey@redhat.com>
2512 * target-delegates.c: Rebuild.
2513 * target.c (update_current_target): Don't inherit or default
2514 to_terminal_save_ours.
2515 * target.h (struct target_ops) <to_terminal_save_ours>: Use
2516 TARGET_DEFAULT_IGNORE.
2518 2014-02-19 Tom Tromey <tromey@redhat.com>
2520 * target-delegates.c: Rebuild.
2521 * target.c (update_current_target): Don't inherit or default
2523 * target.h (struct target_ops) <to_terminal_ours>: Use
2524 TARGET_DEFAULT_IGNORE.
2526 2014-02-19 Tom Tromey <tromey@redhat.com>
2528 * target-delegates.c: Rebuild.
2529 * target.c (update_current_target): Don't inherit or default
2530 to_terminal_ours_for_output.
2531 * target.h (struct target_ops) <to_terminal_ours_for_output>: Use
2532 TARGET_DEFAULT_IGNORE.
2534 2014-02-19 Tom Tromey <tromey@redhat.com>
2536 * target-delegates.c: Rebuild.
2537 * target.c (update_current_target): Don't inherit or default
2538 to_terminal_inferior.
2539 * target.h (struct target_ops) <to_terminal_inferior>: Use
2540 TARGET_DEFAULT_IGNORE.
2542 2014-02-19 Tom Tromey <tromey@redhat.com>
2544 * target-delegates.c: Rebuild.
2545 * target.c (update_current_target): Don't inherit or default
2547 * target.h (struct target_ops) <to_terminal_init>: Use
2548 TARGET_DEFAULT_IGNORE.
2550 2014-02-19 Tom Tromey <tromey@redhat.com>
2552 * target-delegates.c: Rebuild.
2553 * target.c (update_current_target): Don't inherit or default
2554 to_can_accel_watchpoint_condition.
2555 * target.h (struct target_ops)
2556 <to_can_accel_watchpoint_condition>: Use TARGET_DEFAULT_RETURN.
2558 2014-02-19 Tom Tromey <tromey@redhat.com>
2560 * target-delegates.c: Rebuild.
2561 * target.c (update_current_target): Don't inherit or default
2562 to_region_ok_for_hw_watchpoint.
2563 * target.h (struct target_ops) <to_region_ok_for_hw_watchpoint>:
2564 Use TARGET_DEFAULT_FUNC.
2566 2014-02-19 Tom Tromey <tromey@redhat.com>
2568 * target-delegates.c: Rebuild.
2569 * target.c (update_current_target): Don't inherit or default
2570 to_watchpoint_addr_within_range.
2571 * target.h (struct target_ops) <to_watchpoint_addr_within_range>:
2572 Use TARGET_DEFAULT_FUNC.
2574 2014-02-19 Tom Tromey <tromey@redhat.com>
2576 * target-delegates.c: Rebuild.
2577 * target.c (update_current_target): Don't inherit or default
2578 to_remove_watchpoint.
2579 * target.h (struct target_ops) <to_remove_watchpoint>: Use
2580 TARGET_DEFAULT_NORETURN.
2582 2014-02-19 Tom Tromey <tromey@redhat.com>
2584 * target-delegates.c: Rebuild.
2585 * target.c (update_current_target): Don't inherit or default
2586 to_insert_watchpoint.
2587 * target.h (struct target_ops) <to_insert_watchpoint>: Use
2588 TARGET_DEFAULT_RETURN.
2590 2014-02-19 Tom Tromey <tromey@redhat.com>
2592 * target-delegates.c: Rebuild.
2593 * target.c (update_current_target): Don't inherit or default
2594 to_remove_hw_breakpoint.
2595 * target.h (struct target_ops) <to_remove_hw_breakpoint>: Use
2596 TARGET_DEFAULT_RETURN.
2598 2014-02-19 Tom Tromey <tromey@redhat.com>
2600 * target-delegates.c: Rebuild.
2601 * target.c (update_current_target): Don't inherit or default
2602 to_insert_hw_breakpoint.
2603 * target.h (struct target_ops) <to_insert_hw_breakpoint>: Use
2604 TARGET_DEFAULT_RETURN.
2606 2014-02-19 Tom Tromey <tromey@redhat.com>
2608 * target-delegates.c: Rebuild.
2609 * target.c (update_current_target): Don't inherit or default
2610 to_can_use_hw_breakpoint.
2611 * target.h (struct target_ops) <to_can_use_hw_breakpoint>: Use
2612 TARGET_DEFAULT_RETURN.
2614 2014-02-19 Tom Tromey <tromey@redhat.com>
2616 * target-delegates.c: Rebuild.
2617 * target.c (update_current_target): Don't inherit or default
2619 * target.h (struct target_ops) <to_files_info>: Use
2620 TARGET_DEFAULT_IGNORE.
2622 2014-02-19 Tom Tromey <tromey@redhat.com>
2624 * target-delegates.c: Rebuild.
2625 * target.c (update_current_target): Don't inherit or default
2627 * target.h (struct target_ops) <to_store>: Use
2628 TARGET_DEFAULT_NORETURN.
2630 2014-02-19 Tom Tromey <tromey@redhat.com>
2632 * target-delegates.c: Rebuild.
2633 * target.c (update_current_target): Don't inherit or default
2635 * target.h (struct target_ops) <to_post_attach>: Use
2636 TARGET_DEFAULT_IGNORE.
2638 2014-02-19 Tom Tromey <tromey@redhat.com>
2640 * target-delegates.c: Rebuild.
2641 * target.c (update_current_target): Don't inherit or default
2643 (default_rcmd): New function.
2644 (do_monitor_command): Unconditionally delegate.
2645 * target.h (struct target_ops) <to_rmcd>: Use
2646 TARGET_DEFAULT_FUNC.
2648 2014-02-19 Tom Tromey <tromey@redhat.com>
2650 * target-delegates.c: Rebuild.
2651 * target.c (init_dummy_target): Don't initialize to_attach.
2652 (target_attach): Unconditionally delegate.
2653 * target.h (struct target_ops) <to_attach>: Use
2654 TARGET_DEFAULT_FUNC.
2656 2014-02-19 Tom Tromey <tromey@redhat.com>
2658 * target-delegates.c: Rebuild.
2659 * target.c (target_detach): Unconditionally delegate.
2660 (init_dummy_target): Don't initialize to_detach.
2661 * target.h (struct target_ops) <to_detach>: Use
2662 TARGET_DEFAULT_IGNORE.
2664 2014-02-19 Tom Tromey <tromey@redhat.com>
2666 * target.h (struct target_ops) <to_augmented_libraries_svr4_read>:
2668 (target_augmented_libraries_svr4_read): Add argument.
2669 * target.c (update_current_target): Update.
2670 * remote.c (remote_augmented_libraries_svr4_read): Add 'self'
2673 2014-02-19 Tom Tromey <tromey@redhat.com>
2675 * target.h (struct target_ops) <to_call_history_range>: Add
2677 * target.c (target_call_history_range): Add argument.
2678 * record-btrace.c (record_btrace_call_history_range): Add 'self'
2680 (record_btrace_call_history_from): Update.
2682 2014-02-19 Tom Tromey <tromey@redhat.com>
2684 * target.h (struct target_ops) <to_call_history_from>: Add
2686 * target.c (target_call_history_from): Add argument.
2687 * record-btrace.c (record_btrace_call_history_from): Add 'self'
2690 2014-02-19 Tom Tromey <tromey@redhat.com>
2692 * target.h (struct target_ops) <to_call_history>: Add argument.
2693 * target.c (target_call_history): Add argument.
2694 * record-btrace.c (record_btrace_call_history): Add 'self'
2697 2014-02-19 Tom Tromey <tromey@redhat.com>
2699 * target.h (struct target_ops) <to_insn_history_range>: Add
2701 * target.c (target_insn_history_range): Add argument.
2702 * record-btrace.c (record_btrace_insn_history_range): Add 'self'
2704 (record_btrace_insn_history_from): Update.
2706 2014-02-19 Tom Tromey <tromey@redhat.com>
2708 * target.h (struct target_ops) <to_insn_history_from>: Add
2710 * target.c (target_insn_history_from): Add argument.
2711 * record-btrace.c (record_btrace_insn_history_from): Add 'self'
2714 2014-02-19 Tom Tromey <tromey@redhat.com>
2716 * target.h (struct target_ops) <to_insn_history>: Add argument.
2717 * target.c (target_insn_history): Add argument.
2718 * record-btrace.c (record_btrace_insn_history): Add 'self'
2721 2014-02-19 Tom Tromey <tromey@redhat.com>
2723 * target.h (struct target_ops) <to_goto_record>: Add argument.
2724 * target.c (target_goto_record): Add argument.
2725 * record-full.c (record_full_goto): Add 'self' argument.
2726 * record-btrace.c (record_btrace_goto): Add 'self' argument.
2728 2014-02-19 Tom Tromey <tromey@redhat.com>
2730 * target.h (struct target_ops) <to_goto_record_end>: Add argument.
2731 * target.c (target_goto_record_end): Add argument.
2732 * record-full.c (record_full_goto_end): Add 'self' argument.
2733 * record-btrace.c (record_btrace_goto_end): Add 'self' argument.
2735 2014-02-19 Tom Tromey <tromey@redhat.com>
2737 * target.h (struct target_ops) <to_goto_record_begin>: Add
2739 * target.c (target_goto_record_begin): Add argument.
2740 * record-full.c (record_full_goto_begin): Add 'self' argument.
2741 * record-btrace.c (record_btrace_goto_begin): Add 'self'
2744 2014-02-19 Tom Tromey <tromey@redhat.com>
2746 * target.h (struct target_ops) <to_record_is_replaying>: Add
2748 * target.c (target_record_is_replaying): Add argument.
2749 * record-full.c (record_full_is_replaying): Add 'self' argument.
2750 * record-btrace.c (record_btrace_is_replaying): Add 'self'
2752 (record_btrace_xfer_partial, record_btrace_store_registers)
2753 (record_btrace_prepare_to_store, record_btrace_resume)
2754 (record_btrace_wait, record_btrace_decr_pc_after_break)
2755 (record_btrace_find_new_threads, record_btrace_thread_alive):
2758 2014-02-19 Tom Tromey <tromey@redhat.com>
2760 * target.h (struct target_ops) <to_delete_record>: Add argument.
2761 * target.c (target_delete_record): Add argument.
2762 * record-full.c (record_full_delete): Add 'self' argument.
2764 2014-02-19 Tom Tromey <tromey@redhat.com>
2766 * target.h (struct target_ops) <to_save_record>: Add argument.
2767 * target.c (target_save_record): Add argument.
2768 * record-full.c (record_full_save): Add 'self' argument.
2769 (record_full_save): Add 'self' argument.
2771 2014-02-19 Tom Tromey <tromey@redhat.com>
2773 * target.h (struct target_ops) <to_info_record>: Add argument.
2774 * target.c (target_info_record): Add argument.
2775 * record.c (info_record_command): Add argument.
2776 * record-full.c (record_full_info): Add 'self' argument.
2777 * record-btrace.c (record_btrace_info): Add 'self' argument.
2779 2014-02-19 Tom Tromey <tromey@redhat.com>
2781 * target.h (struct target_ops) <to_stop_recording>: Add argument.
2782 * target.c (target_stop_recording): Add argument.
2783 * record.c (record_stop): Add argument.
2784 * record-btrace.c (record_btrace_stop_recording): Add 'self'
2787 2014-02-19 Tom Tromey <tromey@redhat.com>
2789 * target.h (struct target_ops) <to_read_btrace>: Add argument.
2790 * target.c (struct target_ops) <to_read_btrace>: Add argument.
2791 * remote.c (struct target_ops) <to_read_btrace>: Add 'self'
2793 * amd64-linux-nat.c (amd64_linux_read_btrace): New function.
2794 (_initialize_amd64_linux_nat): Use it.
2795 * i386-linux-nat.c (i386_linux_read_btrace): New function.
2796 (_initialize_i386_linux_nat): Use it.
2798 2014-02-19 Tom Tromey <tromey@redhat.com>
2800 * target.h (struct target_ops) <to_teardown_btrace>: Add argument.
2801 * target.c (target_teardown_btrace): Add argument.
2802 * remote.c (remote_teardown_btrace): Add 'self' argument.
2803 * i386-linux-nat.c (i386_linux_teardown_btrace): Add 'self'
2805 * amd64-linux-nat.c (amd64_linux_teardown_btrace): Add 'self'
2808 2014-02-19 Tom Tromey <tromey@redhat.com>
2810 * target.h (struct target_ops) <to_disable_btrace>: Add argument.
2811 * target.c (target_disable_btrace): Add argument.
2812 * remote.c (remote_disable_btrace): Add 'self' argument.
2813 * i386-linux-nat.c (i386_linux_disable_btrace): Add 'self'
2815 * amd64-linux-nat.c (amd64_linux_disable_btrace): Add 'self'
2818 2014-02-19 Tom Tromey <tromey@redhat.com>
2820 * target.h (struct target_ops) <to_enable_btrace>: Add argument.
2821 * target.c (target_enable_btrace): Add argument.
2822 * remote.c (remote_enable_btrace): Add 'self' argument.
2823 * i386-linux-nat.c (i386_linux_enable_btrace): Add 'self'
2825 * amd64-linux-nat.c (amd64_linux_enable_btrace): Add 'self'
2828 2014-02-19 Tom Tromey <tromey@redhat.com>
2830 * target.h (struct target_ops) <to_can_use_agent>: Add argument.
2831 (target_can_use_agent): Add argument.
2832 * target.c (update_current_target): Update.
2833 * remote.c (remote_can_use_agent): Add 'self' argument.
2834 * inf-child.c (inf_child_can_use_agent): Add 'self' argument.
2836 2014-02-19 Tom Tromey <tromey@redhat.com>
2838 * target.h (struct target_ops) <to_use_agent>: Add argument.
2839 (target_use_agent): Add argument.
2840 * target.c (update_current_target): Update.
2841 * remote.c (remote_use_agent): Add 'self' argument.
2842 * inf-child.c (inf_child_use_agent): Add 'self' argument.
2844 2014-02-19 Tom Tromey <tromey@redhat.com>
2846 * tracepoint.c (tfile_traceframe_info): Add 'self' argument.
2847 * target.h (struct target_ops) <to_traceframe_info>: Add argument.
2848 (target_traceframe_info): Add argument.
2849 * target.c (update_current_target): Update.
2850 * remote.c (remote_traceframe_info): Add 'self' argument.
2851 * ctf.c (ctf_traceframe_info): Add 'self' argument.
2853 2014-02-19 Tom Tromey <tromey@redhat.com>
2855 * target.h (target_static_tracepoint_markers_by_strid): Add
2857 (struct target_ops) <to_static_tracepoint_markers_by_strid>: Add
2859 * target.c (update_current_target): Update.
2860 * remote.c (struct target_ops)
2861 <to_static_tracepoint_markers_by_strid>: Add 'self' argument.
2862 * linux-nat.c (struct target_ops)
2863 <to_static_tracepoint_markers_by_strid>: Add 'self' argument.
2865 2014-02-19 Tom Tromey <tromey@redhat.com>
2867 * target.h (struct target_ops) <to_static_tracepoint_marker_at>:
2869 (target_static_tracepoint_marker_at): Add argument.
2870 * target.c (update_current_target): Update.
2871 * remote.c (remote_static_tracepoint_marker_at): Add 'self'
2874 2014-02-19 Tom Tromey <tromey@redhat.com>
2876 * target.h (struct target_ops) <to_set_permissions>: Add argument.
2877 (target_set_permissions): Add argument.
2878 * target.c (update_current_target): Update.
2879 * remote.c (remote_set_permissions): Add 'self' argument.
2880 (remote_start_remote): Update.
2882 2014-02-19 Tom Tromey <tromey@redhat.com>
2884 * windows-nat.c (windows_get_tib_address): Add 'self' argument.
2885 * target.h (struct target_ops) <to_get_tib_address>: Add argument.
2886 (target_get_tib_address): Add argument.
2887 * target.c (update_current_target): Update.
2888 * remote.c (remote_get_tib_address): Add 'self' argument.
2890 2014-02-19 Tom Tromey <tromey@redhat.com>
2892 * target.h (struct target_ops) <to_set_trace_notes>: Add argument.
2893 (target_set_trace_notes): Add argument.
2894 * target.c (update_current_target): Update.
2895 * remote.c (remote_set_trace_notes): Add 'self' argument.
2897 2014-02-19 Tom Tromey <tromey@redhat.com>
2899 * target.h (struct target_ops) <to_set_trace_buffer_size>: Add
2901 (target_set_trace_buffer_size): Add argument.
2902 * target.c (update_current_target): Update.
2903 * remote.c (remote_set_trace_buffer_size): Add 'self' argument.
2905 2014-02-19 Tom Tromey <tromey@redhat.com>
2907 * target.h (struct target_ops) <to_set_circular_trace_buffer>: Add
2909 (target_set_circular_trace_buffer): Add argument.
2910 * target.c (update_current_target): Update.
2911 * remote.c (remote_set_circular_trace_buffer): Add 'self'
2914 2014-02-19 Tom Tromey <tromey@redhat.com>
2916 * target.h (struct target_ops) <to_set_disconnected_tracing>: Add
2918 (target_set_disconnected_tracing): Add argument.
2919 * target.c (update_current_target): Update.
2920 * remote.c (remote_set_disconnected_tracing): Add 'self' argument.
2922 2014-02-19 Tom Tromey <tromey@redhat.com>
2924 * target.h (struct target_ops)
2925 <to_get_min_fast_tracepoint_insn_len>: Add argument.
2926 (target_get_min_fast_tracepoint_insn_len): Add argument.
2927 * target.c (update_current_target): Update.
2928 * remote.c (remote_get_min_fast_tracepoint_insn_len): Add 'self'
2931 2014-02-19 Tom Tromey <tromey@redhat.com>
2933 * target.h (struct target_ops) <to_get_raw_trace_data>: Add
2935 (target_get_raw_trace_data): Add argument.
2936 * target.c (update_current_target): Update.
2937 * remote.c (remote_get_raw_trace_data): Add 'self' argument.
2939 2014-02-19 Tom Tromey <tromey@redhat.com>
2941 * target.h (struct target_ops) <to_upload_trace_state_variables>:
2943 (target_upload_trace_state_variables): Add argument.
2944 * target.c (update_current_target): Update.
2945 * remote.c (remote_upload_trace_state_variables): Add 'self'
2947 (remote_start_remote): Update.
2949 2014-02-19 Tom Tromey <tromey@redhat.com>
2951 * target.h (struct target_ops) <to_upload_tracepoints>: Add
2953 (target_upload_tracepoints): Add argument.
2954 * target.c (update_current_target): Update.
2955 * remote.c (remote_upload_tracepoints): Add 'self' argument.
2956 (remote_start_remote): Update.
2958 2014-02-19 Tom Tromey <tromey@redhat.com>
2960 * target.h (struct target_ops) <to_save_trace_data>: Add argument.
2961 (target_save_trace_data): Add argument.
2962 * target.c (update_current_target): Update.
2963 * remote.c (remote_save_trace_data): Add 'self' argument.
2965 2014-02-19 Tom Tromey <tromey@redhat.com>
2967 * tracepoint.c (tfile_get_trace_state_variable_value): Add 'self'
2969 * target.h (struct target_ops)
2970 <to_get_trace_state_variable_value>: Add argument.
2971 (target_get_trace_state_variable_value): Add argument.
2972 * target.c (update_current_target): Update.
2973 * remote.c (remote_get_trace_state_variable_value): Add 'self'
2975 * ctf.c (ctf_get_trace_state_variable_value): Add 'self' argument.
2977 2014-02-19 Tom Tromey <tromey@redhat.com>
2979 * tracepoint.c (tfile_trace_find): Add 'self' argument.
2980 * target.h (struct target_ops) <to_trace_find>: Add argument.
2981 (target_trace_find): Add argument.
2982 * target.c (update_current_target): Update.
2983 * remote.c (remote_trace_find): Add 'self' argument.
2984 * ctf.c (ctf_trace_find): Add 'self' argument.
2986 2014-02-19 Tom Tromey <tromey@redhat.com>
2988 * target.h (struct target_ops) <to_trace_stop>: Add argument.
2989 (target_trace_stop): Add argument.
2990 * target.c (update_current_target): Update.
2991 * remote.c (remote_trace_stop): Add 'self' argument.
2993 2014-02-19 Tom Tromey <tromey@redhat.com>
2995 * tracepoint.c (tfile_get_tracepoint_status): Add 'self' argument.
2996 * target.h (struct target_ops) <to_get_tracepoint_status>: Add
2998 (target_get_tracepoint_status): Add argument.
2999 * target.c (update_current_target): Update.
3000 * remote.c (remote_get_tracepoint_status): Add 'self' argument.
3002 2014-02-19 Tom Tromey <tromey@redhat.com>
3004 * tracepoint.c (tfile_get_trace_status): Add 'self' argument.
3005 * target.h (struct target_ops) <to_get_trace_status>: Add
3007 (target_get_trace_status): Add argument.
3008 * target.c (update_current_target): Update.
3009 * remote.c (remote_get_trace_status): Add 'self' argument.
3010 (remote_start_remote, remote_can_download_tracepoint): Update.
3011 * ctf.c (ctf_get_trace_status): Add 'self' argument.
3013 2014-02-19 Tom Tromey <tromey@redhat.com>
3015 * target.h (struct target_ops) <to_trace_start>: Add argument.
3016 (target_trace_start): Add argument.
3017 * target.c (update_current_target): Update.
3018 * remote.c (remote_trace_start): Add 'self' argument.
3020 2014-02-19 Tom Tromey <tromey@redhat.com>
3022 * target.h (struct target_ops) <to_trace_set_readonly_regions>:
3024 (target_trace_set_readonly_regions): Add argument.
3025 * target.c (update_current_target): Update.
3026 * remote.c (remote_trace_set_readonly_regions): Add 'self'
3029 2014-02-19 Tom Tromey <tromey@redhat.com>
3031 * target.h (struct target_ops) <to_disable_tracepoint>: Add
3033 (target_disable_tracepoint): Add argument.
3034 * target.c (update_current_target): Update.
3035 * remote.c (remote_disable_tracepoint): Add 'self' argument.
3037 2014-02-19 Tom Tromey <tromey@redhat.com>
3039 * target.h (struct target_ops) <to_enable_tracepoint>: Add
3041 (target_enable_tracepoint): Add argument.
3042 * target.c (update_current_target): Update.
3043 * remote.c (remote_enable_tracepoint): Add 'self' argument.
3045 2014-02-19 Tom Tromey <tromey@redhat.com>
3047 * target.h (struct target_ops) <to_download_trace_state_variable>:
3049 (target_download_trace_state_variable): Add argument.
3050 * target.c (update_current_target): Update.
3051 * remote.c (remote_download_trace_state_variable): Add 'self'
3054 2014-02-19 Tom Tromey <tromey@redhat.com>
3056 * target.h (struct target_ops) <to_can_download_tracepoint>: Add
3058 (target_can_download_tracepoint): Add argument.
3059 * target.c (update_current_target): Update.
3060 * remote.c (remote_can_download_tracepoint): Add 'self' argument.
3062 2014-02-19 Tom Tromey <tromey@redhat.com>
3064 * target.h (struct target_ops) <to_download_tracepoint>: Add
3066 (target_download_tracepoint): Add argument.
3067 * target.c (update_current_target): Update.
3068 * remote.c (remote_download_tracepoint): Add 'self' argument.
3070 2014-02-19 Tom Tromey <tromey@redhat.com>
3072 * target.h (struct target_ops) <to_trace_init>: Add argument.
3073 (target_trace_init): Add argument.
3074 * target.c (update_current_target): Update.
3075 * remote.c (remote_trace_init): Add 'self' argument.
3077 2014-02-19 Tom Tromey <tromey@redhat.com>
3079 * target.h (struct target_ops) <to_fileio_readlink>: Add argument.
3080 * target.c (target_fileio_readlink): Add argument.
3081 * remote.c (remote_hostio_readlink): Add 'self' argument.
3082 * inf-child.c (inf_child_fileio_readlink): Add 'self' argument.
3084 2014-02-19 Tom Tromey <tromey@redhat.com>
3086 * target.h (struct target_ops) <to_fileio_unlink>: Add argument.
3087 * target.c (target_fileio_unlink): Add argument.
3088 * remote.c (remote_hostio_unlink): Add 'self' argument.
3089 (remote_file_delete): Update.
3090 * inf-child.c (inf_child_fileio_unlink): Add 'self' argument.
3092 2014-02-19 Tom Tromey <tromey@redhat.com>
3094 * target.h (struct target_ops) <to_fileio_close>: Add argument.
3095 * target.c (target_fileio_close): Add argument.
3096 * remote.c (remote_hostio_close): Add 'self' argument.
3097 (remote_hostio_close_cleanup): Update.
3098 (remote_bfd_iovec_close, remote_file_put, remote_file_get):
3100 * inf-child.c (inf_child_fileio_close): Add 'self' argument.
3102 2014-02-19 Tom Tromey <tromey@redhat.com>
3104 * target.h (struct target_ops) <to_fileio_pread>: Add argument.
3105 * target.c (target_fileio_pread): Add argument.
3106 * remote.c (remote_hostio_pread): Add 'self' argument.
3107 (remote_bfd_iovec_pread, remote_file_get): Update.
3108 * inf-child.c (inf_child_fileio_pread): Add 'self' argument.
3110 2014-02-19 Tom Tromey <tromey@redhat.com>
3112 * target.h (struct target_ops) <to_fileio_pwrite>: Add argument.
3113 * target.c (target_fileio_pwrite): Add argument.
3114 * remote.c (remote_hostio_pwrite): Add 'self' argument.
3115 (remote_file_put): Update.
3116 * inf-child.c (inf_child_fileio_pwrite): Add 'self' argument.
3118 2014-02-19 Tom Tromey <tromey@redhat.com>
3120 * target.h (struct target_ops) <to_fileio_open>: Add argument.
3121 * target.c (target_fileio_open): Add argument.
3122 * remote.c (remote_hostio_open): Add 'self' argument.
3123 (remote_bfd_iovec_open): Add 'self' argument.
3124 (remote_file_put): Add 'self' argument.
3125 (remote_file_get): Add 'self' argument.
3126 * inf-child.c (inf_child_fileio_open): Add 'self' argument.
3128 2014-02-19 Tom Tromey <tromey@redhat.com>
3130 * target.h (struct target_ops) <to_can_run_breakpoint_commands>:
3132 (target_can_run_breakpoint_commands): Add argument.
3133 * target.c (update_current_target): Update.
3134 * remote.c (remote_can_run_breakpoint_commands): Add 'self'
3136 (remote_insert_breakpoint): Add 'self' argument.
3137 (remote_insert_hw_breakpoint): Add 'self' argument.
3138 (remote_can_run_breakpoint_commands): Add 'self' argument.
3140 2014-02-19 Tom Tromey <tromey@redhat.com>
3142 * target.h (struct target_ops)
3143 <to_supports_evaluation_of_breakpoint_conditions>: Add argument.
3144 (target_supports_evaluation_of_breakpoint_conditions): Add
3146 * target.c (update_current_target): Update.
3147 * remote.c (remote_supports_cond_breakpoints): Add 'self'
3149 (remote_insert_breakpoint): Add 'self' argument.
3150 (remote_insert_hw_breakpoint): Add 'self' argument.
3151 (remote_supports_cond_breakpoints): Add 'self' argument.
3153 2014-02-19 Tom Tromey <tromey@redhat.com>
3155 * target.h (struct target_ops) <to_supports_string_tracing>: Add
3157 (target_supports_string_tracing): Add argument.
3158 * target.c (update_current_target): Update.
3159 * remote.c (remote_supports_string_tracing): Add 'self' argument.
3161 2014-02-19 Tom Tromey <tromey@redhat.com>
3163 * target.h (struct target_ops)
3164 <to_supports_disable_randomization>: Add argument.
3165 * target.c (find_default_supports_disable_randomization): Add
3167 (target_supports_disable_randomization): Add argument.
3168 (find_default_supports_disable_randomization): Add 'self'
3170 * remote.c (extended_remote_supports_disable_randomization): Add
3172 (remote_supports_disable_randomization): Add 'self' argument.
3173 (extended_remote_create_inferior): Update.
3174 * linux-nat.c (linux_nat_supports_disable_randomization): Add
3177 2014-02-19 Tom Tromey <tromey@redhat.com>
3179 * target.h (struct target_ops)
3180 <to_supports_enable_disable_tracepoint>: Add argument.
3181 (target_supports_enable_disable_tracepoint): Add argument.
3182 * target.c (update_current_target): Update.
3183 * remote.c (remote_supports_enable_disable_tracepoint): Add 'self'
3186 2014-02-19 Tom Tromey <tromey@redhat.com>
3188 * target.h (struct target_ops) <to_supports_multi_process>: Add
3190 (target_supports_multi_process): Add argument.
3191 * target.c (update_current_target): Update.
3192 * remote.c (remote_supports_multi_process): Add 'self' argument.
3193 * linux-nat.c (linux_nat_supports_multi_process): Add 'self'
3195 * darwin-nat.c (darwin_supports_multi_process): Add 'self'
3198 2014-02-19 Tom Tromey <tromey@redhat.com>
3200 * target.h (struct target_ops) <to_execution_direction>: Add
3202 (target_execution_direction): Add argument.
3203 * target.c (default_execution_direction): Add 'self' argument.
3204 * record-full.c (record_full_execution_direction): Add 'self'
3207 2014-02-19 Tom Tromey <tromey@redhat.com>
3209 * target.h (struct target_ops) <to_can_execute_reverse>: Add
3211 (target_can_execute_reverse): Add argument.
3212 * remote.c (remote_can_execute_reverse): Add 'self' argument.
3213 * record-full.c (record_full_can_execute_reverse): Add 'self'
3215 * record-btrace.c (record_btrace_can_execute_reverse): Add 'self'
3218 2014-02-19 Tom Tromey <tromey@redhat.com>
3220 * windows-nat.c (windows_get_ada_task_ptid): Add 'self' argument.
3221 * target.h (struct target_ops) <to_get_ada_task_ptid>: Add
3223 (target_get_ada_task_ptid): Add argument.
3224 * target.c (update_current_target): Update.
3225 (default_get_ada_task_ptid): Add 'self' argument.
3226 * sol-thread.c (sol_get_ada_task_ptid): Add 'self' argument.
3227 * remote.c (remote_get_ada_task_ptid): Add 'self' argument.
3228 * ravenscar-thread.c (ravenscar_get_ada_task_ptid): Add 'self'
3230 * linux-thread-db.c (thread_db_get_ada_task_ptid): Add 'self'
3232 * inf-ttrace.c (inf_ttrace_get_ada_task_ptid): Add 'self'
3234 * dec-thread.c (dec_thread_get_ada_task_ptid): Add 'self'
3236 * darwin-nat.c (darwin_get_ada_task_ptid): Add 'self' argument.
3237 * aix-thread.c (aix_thread_get_ada_task_ptid): Add 'self'
3240 2014-02-19 Tom Tromey <tromey@redhat.com>
3242 * target.h (struct target_ops) <to_goto_bookmark>: Add argument.
3243 (target_goto_bookmark): Add argument.
3244 * target.c (dummy_goto_bookmark): Add 'self' argument.
3245 * record-full.c (record_full_goto_bookmark): Add 'self' argument.
3247 2014-02-19 Tom Tromey <tromey@redhat.com>
3249 * target.h (struct target_ops) <to_get_bookmark>: Add argument.
3250 (target_get_bookmark): Add argument.
3251 * target.c (dummy_get_bookmark): Add 'self' argument.
3252 * record-full.c (record_full_get_bookmark): Add 'self' argument.
3254 2014-02-19 Tom Tromey <tromey@redhat.com>
3256 * target.h (struct target_ops) <to_make_corefile_notes>: Add
3258 (target_make_corefile_notes): Add argument.
3259 * target.c (dummy_make_corefile_notes): Add 'self' argument.
3260 * procfs.c (procfs_make_note_section): Add 'self' argument.
3261 (procfs_make_note_section): Add 'self' argument.
3262 (procfs_make_note_section): Add 'self' argument.
3263 * linux-nat.c (linux_nat_make_corefile_notes): Add 'self'
3265 * fbsd-nat.h (fbsd_make_corefile_notes): Add 'self' argument.
3266 * fbsd-nat.c (fbsd_make_corefile_notes): Add 'self' argument.
3267 * exec.c (exec_make_note_section): Add 'self' argument.
3268 (exec_make_note_section): Add 'self' argument.
3270 2014-02-19 Tom Tromey <tromey@redhat.com>
3272 * target.h (struct target_ops) <to_find_memory_regions>: Add
3274 (target_find_memory_regions): Add argument.
3275 * target.c (dummy_find_memory_regions): Add 'self' argument.
3276 * procfs.c (proc_find_memory_regions): Add 'self' argument.
3277 * gnu-nat.c (gnu_find_memory_regions): Add 'self' argument.
3278 * fbsd-nat.h (fbsd_find_memory_regions): Add 'self' argument.
3279 * fbsd-nat.c (fbsd_find_memory_regions): Add 'self' argument.
3280 * exec. (exec_do_find_memory_regions): New global.
3281 (exec_set_find_memory_regions): Rewrite.
3282 (exec_find_memory_regions): New function.
3283 (init_exec_ops): Use exec_find_memory_regions.
3285 2014-02-19 Tom Tromey <tromey@redhat.com>
3287 * target.h (struct target_ops) <to_supports_non_stop>: Add
3289 * target.c (find_default_supports_non_stop): Add argument.
3290 (target_supports_non_stop): Add argument.
3291 (find_default_supports_non_stop): Add 'self' argument.
3292 * remote.c (remote_supports_non_stop): Add 'self' argument.
3293 * linux-nat.c (linux_nat_supports_non_stop): Add 'self' argument.
3295 2014-02-19 Tom Tromey <tromey@redhat.com>
3297 * target.h (struct target_ops) <to_log_command>: Add argument.
3298 (target_log_command): Add argument.
3299 * serial.h (serial_log_command): Add 'self' argument.
3300 * serial.c (serial_log_command): Add 'self' argument.
3302 2014-02-19 Tom Tromey <tromey@redhat.com>
3304 * windows-nat.c (windows_pid_to_exec_file): Add 'self' argument.
3305 * target.h (struct target_ops) <to_pid_to_exec_file>: Add
3307 (target_pid_to_exec_file): Add argument.
3308 * target.c (debug_to_pid_to_exec_file): Add argument.
3309 (update_current_target): Update.
3310 * nbsd-nat.h (nbsd_pid_to_exec_file): Add 'self' argument.
3311 * nbsd-nat.c (nbsd_pid_to_exec_file): Add 'self' argument.
3312 * linux-nat.c (linux_child_pid_to_exec_file): Add 'self' argument.
3313 (linux_handle_extended_wait): Update.
3314 * inf-child.c (inf_child_pid_to_exec_file): Add 'self' argument.
3315 * fbsd-nat.h (fbsd_pid_to_exec_file): Add 'self' argument.
3316 * fbsd-nat.c (fbsd_pid_to_exec_file): Add 'self' argument.
3317 * darwin-nat.c (darwin_pid_to_exec_file): Add 'self' argument.
3319 2014-02-19 Tom Tromey <tromey@redhat.com>
3321 * target.h (struct target_ops) <to_rcmd>: Add argument.
3322 (target_rcmd): Add argument.
3323 * target.c (debug_to_rcmd): Add argument.
3324 (update_current_target, do_monitor_command): Update.
3325 * remote.c (remote_rcmd): Add 'self' argument.
3326 * monitor.c (monitor_rcmd): Add 'self' argument.
3328 2014-02-19 Tom Tromey <tromey@redhat.com>
3330 * windows-nat.c (windows_stop): Add 'self' argument.
3331 * target.h (struct target_ops) <to_stop>: Add argument.
3332 * target.c (target_stop): Add argument.
3333 (debug_to_stop): Add argument.
3334 (update_current_target): Update.
3335 * remote.c (remote_stop): Add 'self' argument.
3336 * remote-sim.c (gdbsim_stop): Add 'self' argument.
3337 (gdbsim_cntrl_c): Update.
3338 * remote-m32r-sdi.c (m32r_stop): Add 'self' argument.
3339 * procfs.c (procfs_stop): Add 'self' argument.
3340 * nto-procfs.c (procfs_stop): Add 'self' argument.
3341 * monitor.c (monitor_stop): Add 'self' argument.
3342 (monitor_open): Update.
3343 * linux-nat.c (linux_nat_stop): Add argument.
3344 * inf-ptrace.c (inf_ptrace_stop): Add 'self' argument.
3345 * gnu-nat.c (gnu_stop): Add 'self' argument.
3346 * darwin-nat.c (darwin_stop): Add 'self' argument.
3348 2014-02-19 Tom Tromey <tromey@redhat.com>
3350 * target.h (struct target_ops) <to_thread_name>: Add argument.
3351 * target.c (target_thread_name): Add argument.
3352 (update_current_target): Update.
3353 * linux-nat.c (linux_nat_thread_name): Add 'self' argument.
3355 2014-02-19 Tom Tromey <tromey@redhat.com>
3357 * target.h (struct target_ops) <to_extra_thread_info>: Add
3359 (target_extra_thread_info): Add argument.
3360 * target.c (update_current_target): Update.
3361 * remote.c (remote_threads_extra_info): Add 'self' argument.
3362 * ravenscar-thread.c (ravenscar_extra_thread_info): Add 'self'
3364 * nto-tdep.h (nto_extra_thread_info): Add 'self' argument.
3365 * nto-tdep.c (nto_extra_thread_info): Add 'self' argument.
3366 * linux-thread-db.c (thread_db_extra_thread_info): Add 'self'
3368 * inf-ttrace.c (inf_ttrace_extra_thread_info): Add 'self'
3370 * bsd-uthread.c (bsd_uthread_extra_thread_info): Add 'self'
3372 * aix-thread.c (aix_thread_extra_thread_info): Add 'self'
3375 2014-02-19 Tom Tromey <tromey@redhat.com>
3377 * target.h (struct target_ops) <to_program_signals>: Add argument.
3378 * target.c (target_program_signals): Add argument.
3379 * remote.c (remote_program_signals): Add 'self' argument.
3381 2014-02-19 Tom Tromey <tromey@redhat.com>
3383 * target.h (struct target_ops) <to_pass_signals>: Add argument.
3384 * target.c (target_pass_signals): Add argument.
3385 * remote.c (remote_pass_signals): Add 'self' argument.
3386 (remote_start_remote): Update.
3387 * procfs.c (procfs_pass_signals): Add 'self' argument.
3388 * nto-procfs.c (procfs_pass_signals): Add 'self' argument.
3389 * linux-nat.c (linux_nat_pass_signals): Add 'self' argument.
3390 (linux_nat_create_inferior, linux_nat_attach): Update.
3392 2014-02-19 Tom Tromey <tromey@redhat.com>
3394 * windows-nat.c (windows_can_run): Add 'self' argument.
3395 * target.h (struct target_ops) <to_can_run>: Add argument.
3396 (target_can_run): Add argument.
3397 * target.c (debug_to_can_run): Add argument.
3398 (update_current_target): Update.
3399 * nto-procfs.c (procfs_can_run): Add 'self' argument.
3400 * inf-child.c (inf_child_can_run): Add 'self' argument.
3401 * go32-nat.c (go32_can_run): Add 'self' argument.
3403 2014-02-19 Tom Tromey <tromey@redhat.com>
3405 * target.h (struct target_ops) <to_has_exited>: Add argument.
3406 (target_has_exited): Add argument.
3407 * target.c (debug_to_has_exited): Add argument.
3408 (update_current_target): Update.
3410 2014-02-19 Tom Tromey <tromey@redhat.com>
3412 * target.h (struct target_ops) <to_set_syscall_catchpoint>: Add
3414 (target_set_syscall_catchpoint): Add argument.
3415 * linux-nat.c (linux_child_set_syscall_catchpoint): Add 'self'
3417 * target.c (update_current_target): Update.
3419 2014-02-19 Tom Tromey <tromey@redhat.com>
3421 * target.h (struct target_ops) <to_remove_exec_catchpoint>: Add
3423 (target_remove_exec_catchpoint): Add argument.
3424 * target.c (debug_to_remove_exec_catchpoint): Add argument.
3425 (update_current_target): Update.
3426 * linux-nat.c (linux_child_remove_exec_catchpoint): Add 'self'
3429 2014-02-19 Tom Tromey <tromey@redhat.com>
3431 * target.h (struct target_ops) <to_insert_exec_catchpoint>: Add
3433 (target_insert_exec_catchpoint): Add argument.
3434 * target.c (debug_to_insert_exec_catchpoint): Add argument.
3435 (update_current_target): Update.
3436 * linux-nat.c (linux_child_insert_exec_catchpoint): Add 'self'
3439 2014-02-19 Tom Tromey <tromey@redhat.com>
3441 * target.h (struct target_ops) <to_remove_vfork_catchpoint>: Add
3443 (target_remove_vfork_catchpoint): Add argument.
3444 * target.c (debug_to_remove_vfork_catchpoint): Add argument.
3445 (update_current_target): Update.
3446 * linux-nat.c (linux_child_remove_vfork_catchpoint): Add 'self'
3449 2014-02-19 Tom Tromey <tromey@redhat.com>
3451 * target.h (struct target_ops) <to_insert_vfork_catchpoint>: Add
3453 (target_insert_vfork_catchpoint): Add argument.
3454 * target.c (debug_to_insert_vfork_catchpoint): Add argument.
3455 (update_current_target): Update.
3456 * linux-nat.c (linux_child_insert_vfork_catchpoint): Add 'self'
3459 2014-02-19 Tom Tromey <tromey@redhat.com>
3461 * target.h (struct target_ops) <to_remove_fork_catchpoint>: Add
3463 (target_remove_fork_catchpoint): Add argument.
3464 * target.c (debug_to_remove_fork_catchpoint): Add argument.
3465 (update_current_target): Update.
3466 * linux-nat.c (linux_child_remove_fork_catchpoint): Add 'self'
3469 2014-02-19 Tom Tromey <tromey@redhat.com>
3471 * target.h (struct target_ops) <to_insert_fork_catchpoint>: Add
3473 (target_insert_fork_catchpoint): Add argument.
3474 * target.c (debug_to_insert_fork_catchpoint): Add argument.
3475 (update_current_target): Update.
3476 * linux-nat.c (linux_child_insert_fork_catchpoint): Add 'self'
3479 2014-02-19 Tom Tromey <tromey@redhat.com>
3481 * target.h (struct target_ops) <to_post_startup_inferior>: Add
3483 (target_post_startup_inferior): Add argument.
3484 * target.c (debug_to_post_startup_inferior): Add argument.
3485 (update_current_target): Update.
3486 * spu-linux-nat.c (spu_child_post_startup_inferior): Add 'self'
3488 * linux-nat.c (linux_child_post_startup_inferior): Add 'self'
3490 * inf-ptrace.c (inf_ptrace_post_startup_inferior): Add 'self'
3492 * inf-child.c (inf_child_post_startup_inferior): Add 'self'
3494 * i386-linux-nat.c (i386_linux_child_post_startup_inferior): Add
3496 (super_post_startup_inferior): Likewise.
3497 * amd64-linux-nat.c (amd64_linux_child_post_startup_inferior): Add
3499 (super_post_startup_inferior): Likewise.
3500 * aarch64-linux-nat.c (aarch64_linux_child_post_startup_inferior):
3501 Add 'self' argument.
3502 (super_post_startup_inferior): Likewise.
3504 2014-02-19 Tom Tromey <tromey@redhat.com>
3506 * target.h (struct target_ops) <to_load>: Add argument.
3507 * target.c (target_load): Add argument.
3508 (debug_to_load): Add argument.
3509 (update_current_target): Update.
3510 * remote.c (remote_load): Add 'self' argument.
3511 * remote-sim.c (gdbsim_load): Add 'self' argument.
3512 * remote-mips.c (mips_load): Add 'self' argument.
3513 * remote-m32r-sdi.c (m32r_load): Add 'self' argument.
3514 * monitor.c (monitor_load): Add 'self' argument.
3515 * m32r-rom.c (m32r_load_gen): Add 'self' argument.
3517 2014-02-19 Tom Tromey <tromey@redhat.com>
3519 * target.h (struct target_ops) <to_terminal_info>: Add argument.
3520 (target_terminal_info): Add argument.
3521 * target.c (debug_to_terminal_info): Add argument.
3522 (default_terminal_info): Likewise.
3523 * inflow.c (child_terminal_info): Add 'self' argument.
3524 * inferior.h (child_terminal_info): Add 'self' argument.
3525 * go32-nat.c (go32_terminal_info): Add 'self' argument.
3527 2014-02-19 Tom Tromey <tromey@redhat.com>
3529 * target.h (struct target_ops) <to_terminal_save_ours>: Add
3531 (target_terminal_save_ours): Add argument.
3532 * target.c (debug_to_terminal_save_ours): Add argument.
3533 (update_current_target): Update.
3534 * inflow.c (terminal_save_ours): Add 'self' argument.
3535 * inferior.h (terminal_save_ours): Add 'self' argument.
3537 2014-02-19 Tom Tromey <tromey@redhat.com>
3539 * target.h (struct target_ops) <to_terminal_ours>: Add argument.
3540 (target_terminal_ours): Add argument.
3541 * target.c (debug_to_terminal_ours): Add argument.
3542 (update_current_target): Update.
3543 * remote.c (remote_terminal_ours): Add 'self' argument.
3544 (remote_close): Update.
3545 * linux-nat.c (linux_nat_terminal_ours): Add 'self' argument.
3546 * inflow.c (terminal_ours): Add 'self' argument.
3547 * inferior.h (terminal_ours): Add 'self' argument.
3548 * go32-nat.c (go32_terminal_ours): Add 'self' argument.
3550 2014-02-19 Pedro Alves <palves@redhat.com>
3551 Tom Tromey <tromey@redhat.com>
3553 * target.h (struct target_ops) <to_terminal_ours_for_output>: Add
3555 (target_terminal_ours_for_output): Add argument.
3556 * target.c (debug_to_terminal_ours_for_output): Add argument.
3557 (update_current_target): Update.
3558 * inflow.c (terminal_ours_for_output): Add 'self' argument.
3559 * inferior.h (terminal_ours_for_output): Add 'self' argument.
3560 * go32-nat.c (go32_terminal_ours): Add 'self' argument.
3562 2014-02-19 Tom Tromey <tromey@redhat.com>
3564 * target.h (struct target_ops) <to_terminal_inferior>: Add
3566 * target.c (target_terminal_inferior): Add argument.
3567 (update_current_target): Update.
3568 * remote.c (remote_terminal_inferior): Add 'self' argument.
3569 * linux-nat.c (linux_nat_terminal_inferior): Add 'self' argument.
3570 * inflow.c (terminal_inferior): Add 'self' argument.
3571 * inferior.h (terminal_inferior): Add 'self' argument.
3572 * go32-nat.c (go32_terminal_inferior): Add 'self' argument.
3573 (go32_terminal_inferior): Add 'self' argument.
3575 2014-02-19 Tom Tromey <tromey@redhat.com>
3577 * target.h (struct target_ops) <to_terminal_init>: Add argument.
3578 (target_terminal_init): Add argument.
3579 * target.c (debug_to_terminal_init): Add argument.
3580 (update_current_target): Update.
3581 * inflow.c (terminal_init_inferior): Add 'self' argument.
3582 * inferior.h (terminal_init_inferior): Add 'self' argument.
3583 * go32-nat.c (go32_terminal_init): Add 'self' argument.
3584 * gnu-nat.c (gnu_terminal_init_inferior): Add 'self' argument.
3586 2014-02-19 Tom Tromey <tromey@redhat.com>
3588 * target.h (struct target_ops)
3589 <to_can_accel_watchpoint_condition>: Add argument.
3590 (target_can_accel_watchpoint_condition): Add argument.
3591 * target.c (debug_to_can_accel_watchpoint_condition): Add
3593 (update_current_target): Update.
3594 * ppc-linux-nat.c (ppc_linux_can_accel_watchpoint_condition): Add
3597 2014-02-19 Tom Tromey <tromey@redhat.com>
3599 * target.h (struct target_ops) <to_region_ok_for_hw_watchpoint>:
3601 (target_region_ok_for_hw_watchpoint): Add argument.
3602 * target.c (debug_to_region_ok_for_hw_watchpoint): Add argument.
3603 (default_region_ok_for_hw_watchpoint): Add argument.
3604 * spu-multiarch.c (spu_region_ok_for_hw_watchpoint): Add argument.
3605 * s390-linux-nat.c (s390_region_ok_for_hw_watchpoint): Add 'self'
3607 * remote.c (remote_region_ok_for_hw_watchpoint): Add 'self'
3609 * procfs.c (procfs_region_ok_for_hw_watchpoint): Add 'self'
3611 * ppc-linux-nat.c (ppc_linux_region_ok_for_hw_watchpoint): Add
3613 * mips-linux-nat.c (mips_linux_region_ok_for_hw_watchpoint): Add
3615 * inf-ttrace.c (inf_ttrace_region_ok_for_hw_watchpoint): Add
3617 * i386-nat.c (i386_region_ok_for_watchpoint): Add 'self' argument.
3618 * arm-linux-nat.c (arm_linux_region_ok_for_hw_watchpoint): Add
3620 * aarch64-linux-nat.c (aarch64_linux_region_ok_for_hw_watchpoint):
3621 Add 'self' argument.
3623 2014-02-19 Tom Tromey <tromey@redhat.com>
3625 * target.h (struct target_ops) <to_insert_watchpoint>: Add
3627 (target_insert_watchpoint): Add argument.
3628 * target.c (debug_to_insert_watchpoint): Add argument.
3629 (update_current_target): Update.
3630 * s390-linux-nat.c (s390_insert_watchpoint): Add 'self' argument.
3631 * remote.c (remote_insert_watchpoint): Add 'self' argument.
3632 * remote-mips.c (mips_insert_watchpoint): Add 'self' argument.
3633 * remote-m32r-sdi.c (m32r_insert_watchpoint): Add 'self' argument.
3634 * procfs.c (procfs_insert_watchpoint): Add 'self' argument.
3635 * ppc-linux-nat.c (ppc_linux_insert_watchpoint): Add 'self'
3637 * nto-procfs.c (procfs_insert_hw_watchpoint): Add 'self' argument.
3638 (procfs_insert_hw_watchpoint): Add 'self' argument.
3639 * mips-linux-nat.c (mips_linux_insert_watchpoint): Add 'self'
3641 * inf-ttrace.c (inf_ttrace_insert_watchpoint): Add 'self'
3643 * ia64-linux-nat.c (ia64_linux_insert_watchpoint): Add 'self'
3645 * i386-nat.c (i386_insert_watchpoint): Add 'self' argument.
3646 * arm-linux-nat.c (arm_linux_insert_watchpoint): Add 'self'
3648 * aarch64-linux-nat.c (aarch64_linux_insert_watchpoint): Add
3651 2014-02-19 Tom Tromey <tromey@redhat.com>
3653 * target.h (struct target_ops) <to_remove_watchpoint>: Add
3655 (target_remove_watchpoint): Add argument.
3656 * target.c (debug_to_remove_watchpoint): Add argument.
3657 (update_current_target): Update.
3658 * s390-linux-nat.c (s390_remove_watchpoint): Add 'self' argument.
3659 * remote.c (remote_remove_watchpoint): Add 'self' argument.
3660 * remote-mips.c (mips_remove_watchpoint): Add 'self' argument.
3661 * remote-m32r-sdi.c (m32r_remove_watchpoint): Add 'self' argument.
3662 * procfs.c (procfs_remove_watchpoint): Add 'self' argument.
3663 * ppc-linux-nat.c (ppc_linux_remove_watchpoint): Add 'self'
3665 * nto-procfs.c (procfs_remove_hw_watchpoint): Add 'self' argument.
3666 * mips-linux-nat.c (mips_linux_remove_watchpoint): Add 'self'
3668 * inf-ttrace.c (inf_ttrace_remove_watchpoint): Add 'self'
3670 * ia64-linux-nat.c (ia64_linux_remove_watchpoint): Add 'self'
3672 * i386-nat.c (i386_remove_watchpoint): Add 'self' argument.
3673 * arm-linux-nat.c (arm_linux_remove_watchpoint): Add 'self'
3675 * aarch64-linux-nat.c (aarch64_linux_remove_watchpoint): Add
3678 2014-02-19 Tom Tromey <tromey@redhat.com>
3680 * target.h (struct target_ops) <to_remove_hw_breakpoint>: Add
3682 (target_remove_hw_breakpoint): Add argument.
3683 * target.c (debug_to_remove_hw_breakpoint): Add argument.
3684 (update_current_target): Update.
3685 * remote.c (remote_remove_hw_breakpoint): Add 'self' argument.
3686 * ppc-linux-nat.c (ppc_linux_remove_hw_breakpoint): Add 'self'
3688 * i386-nat.c (i386_remove_hw_breakpoint): Add 'self' argument.
3689 * arm-linux-nat.c (arm_linux_remove_hw_breakpoint): Add 'self'
3691 * aarch64-linux-nat.c (aarch64_linux_remove_hw_breakpoint): Add
3694 2014-02-19 Tom Tromey <tromey@redhat.com>
3696 * target.h (struct target_ops) <to_insert_hw_breakpoint>: Add
3698 (target_insert_hw_breakpoint): Add argument.
3699 * target.c (debug_to_insert_hw_breakpoint): Add argument.
3700 (update_current_target): Update.
3701 * remote.c (remote_insert_hw_breakpoint): Add 'self' argument.
3702 * ppc-linux-nat.c (ppc_linux_insert_hw_breakpoint): Add 'self'
3704 * nto-procfs.c (procfs_insert_hw_breakpoint): Add 'self' argument.
3705 * i386-nat.c (i386_insert_hw_breakpoint): Add 'self' argument.
3706 * arm-linux-nat.c (arm_linux_insert_hw_breakpoint): Add 'self'
3708 * aarch64-linux-nat.c (aarch64_linux_insert_hw_breakpoint): Add
3711 2014-02-19 Tom Tromey <tromey@redhat.com>
3713 * target.h (struct target_ops) <to_can_use_hw_breakpoint>: Add
3715 (target_can_use_hardware_watchpoint): Add argument.
3716 * target.c (debug_to_can_use_hw_breakpoint): Add argument.
3717 (update_current_target): Update.
3718 * spu-linux-nat.c (spu_can_use_hw_breakpoint): Add 'self'
3720 * s390-linux-nat.c (s390_can_use_hw_breakpoint): Add 'self'
3722 * remote.c (remote_check_watch_resources): Add 'self' argument.
3723 * remote-mips.c (mips_can_use_watchpoint): Add 'self' argument.
3724 * remote-m32r-sdi.c (m32r_can_use_hw_watchpoint): Add 'self'
3726 * procfs.c (procfs_can_use_hw_breakpoint): Add 'self' argument.
3727 * ppc-linux-nat.c (ppc_linux_can_use_hw_breakpoint): Add 'self'
3729 * nto-procfs.c (procfs_can_use_hw_breakpoint): Add 'self'
3731 * mips-linux-nat.c (mips_linux_can_use_hw_breakpoint): Add 'self'
3733 * inf-ttrace.c (inf_ttrace_can_use_hw_breakpoint): Add 'self'
3735 * ia64-linux-nat.c (ia64_linux_can_use_hw_breakpoint): Add 'self'
3737 * ia64-hpux-nat.c (ia64_hpux_can_use_hw_breakpoint): Add 'self'
3739 * i386-nat.c (i386_can_use_hw_breakpoint): Add 'self' argument.
3740 * arm-linux-nat.c (arm_linux_can_use_hw_breakpoint): Add 'self'
3742 * aarch64-linux-nat.c (aarch64_linux_can_use_hw_breakpoint): Add
3745 2014-02-19 Tom Tromey <tromey@redhat.com>
3747 * target.h (struct target_ops) <to_post_attach>: Add argument.
3748 (target_post_attach): Add argument.
3749 * target.c (debug_to_post_attach): Add argument.
3750 (update_current_target): Update.
3751 * spu-linux-nat.c (spu_child_post_attach): Add 'self' argument.
3752 * nto-procfs.c (procfs_post_attach): Add 'self' argument.
3753 * linux-nat.c (linux_child_post_attach): Add 'self' argument.
3754 * inf-ptrace.c (inf_ptrace_post_attach): Add 'self' argument.
3755 * inf-child.c (inf_child_post_attach): Add 'self' argument.
3757 2014-02-19 Tom Tromey <tromey@redhat.com>
3759 * windows-nat.c (windows_close): Add 'self' argument.
3760 * tracepoint.c (tfile_close): Add 'self' argument.
3761 * target.h (struct target_ops) <to_close>: Add argument.
3762 * target.c (target_close): Add argument.
3763 (update_current_target): Update.
3764 * remote.c (remote_close): Add 'self' argument.
3765 * remote-sim.c (gdbsim_close): Add 'self' argument.
3766 * remote-mips.c (mips_close): Add 'self' argument.
3767 * remote-m32r-sdi.c (m32r_close): Add 'self' argument.
3768 * record-full.c (record_full_close): Add 'self' argument.
3769 * record-btrace.c (record_btrace_close): Add 'self' argument.
3770 * monitor.h (monitor_close): Add 'self' argument.
3771 * monitor.c (monitor_close): Add 'self' argument.
3772 * mips-linux-nat.c (mips_linux_close): Add 'self' argument.
3773 * linux-nat.c (linux_nat_close): Add argument.
3774 * go32-nat.c (go32_close): Add 'self' argument.
3775 * exec.c (exec_close_1): Add 'self' argument.
3776 * ctf.c (ctf_close): Add 'self' argument.
3777 * corelow.c (core_close): Add 'self' argument.
3778 (core_close_cleanup): Update.
3779 * bsd-uthread.c (bsd_uthread_close): Add 'self' argument.
3780 * bsd-kvm.c (bsd_kvm_close): Add 'self' argument.
3782 2014-02-19 Tom Tromey <tromey@redhat.com>
3784 * remote.c (remote_load): New function.
3785 (init_remote_ops): Use it.
3787 2014-02-19 Tom Tromey <tromey@redhat.com>
3789 * common/linux-btrace.c (linux_supports_btrace): Add "ops"
3791 * common/linux-btrace.h (linux_supports_btrace): Update.
3792 * remote.c (remote_supports_btrace): Add "self" argument.
3793 * target-delegates.c: Rebuild.
3794 * target.c (target_supports_btrace): Remove.
3795 * target.h (struct target_ops) <to_supports_btrace>: Add
3796 target_ops argument.
3797 (target_supports_btrace): New define.
3799 2014-02-19 Tom Tromey <tromey@redhat.com>
3801 * record-full.c (record_full_beneath_to_resume_ops)
3802 (record_full_beneath_to_resume, record_full_beneath_to_wait_ops)
3803 (record_full_beneath_to_wait)
3804 (record_full_beneath_to_store_registers_ops)
3805 (record_full_beneath_to_store_registers)
3806 (record_full_beneath_to_xfer_partial_ops)
3807 (record_full_beneath_to_xfer_partial)
3808 (record_full_beneath_to_insert_breakpoint_ops)
3809 (record_full_beneath_to_insert_breakpoint)
3810 (record_full_beneath_to_remove_breakpoint_ops)
3811 (record_full_beneath_to_remove_breakpoint)
3812 (record_full_beneath_to_stopped_by_watchpoint)
3813 (record_full_beneath_to_stopped_data_address)
3814 (record_full_beneath_to_async, tmp_to_resume_ops, tmp_to_resume)
3815 (tmp_to_wait_ops, tmp_to_wait, tmp_to_store_registers_ops)
3816 (tmp_to_store_registers, tmp_to_xfer_partial_ops)
3817 (tmp_to_xfer_partial, tmp_to_instmp_to_insert_breakpoint_ops)
3818 (tmp_to_insert_breakpoint, tmp_to_remove_breakpoint_ops)
3819 (tmp_to_remove_breakpoint, tmp_to_stopped_by_watchpoint)
3820 (tmp_to_stopped_data_address, tmp_to_async): Remove.
3821 (record_full_open_1, record_full_open): Update. Use RECORD_IS_USED.
3822 (record_full_resume, record_full_wait_1)
3823 (record_full_stopped_by_watchpoint, record_full_stopped_data_address)
3824 (record_full_store_registers, record_full_xfer_partial)
3825 (record_full_insert_breakpoint, record_full_remove_breakpoint)
3826 (record_full_async, record_full_core_xfer_partial): Use target
3828 * target-delegates.c: Rebuild.
3829 * target.c (current_xfer_partial): Remove.
3830 (update_current_target): Do not INHERIT or de_fault
3831 to_insert_breakpoint, to_remove_breakpoint,
3832 to_stopped_data_address, to_stopped_by_watchpoint, to_can_async_p,
3833 to_is_async_p, to_async. Do not set to_xfer_partial field.
3834 (default_xfer_partial): Simplify.
3835 (current_xfer_partial): Remove.
3836 (target_wait, target_resume): Simplify.
3837 (find_default_can_async_p, find_default_is_async_p): Update.
3838 (init_dummy_target): Don't set to_can_async_p, to_is_async_p,
3839 to_xfer_partial, to_stopped_by_watchpoint,
3840 to_stopped_data_address.
3841 (target_store_registers): Simplify.
3842 (forward_target_remove_breakpoint)
3843 (forward_target_insert_breakpoint): Remove.
3844 (target_remove_breakpoint, target_insert_breakpoint)
3845 (debug_to_insert_breakpoint, debug_to_remove_breakpoint): Update.
3846 * target.h (struct target_ops) <to_resume, to_wait,
3847 to_store_registers, to_insert_breakpoint, to_remove_breakpoint,
3848 to_stopped_by_watchpoint, to_stopped_data_address, to_can_async_p,
3849 to_is_async_p, to_async, to_xfer_partial>: Add TARGET_DEFAULT
3851 (forward_target_remove_breakpoint)
3852 (forward_target_insert_breakpoint): Remove.
3853 * record-btrace.c (record_btrace_remove_breakpoint): Delegate
3855 (record_btrace_insert_breakpoint): Delegate directly.
3857 2014-02-19 Tom Tromey <tromey@redhat.com>
3860 * target-delegates.c: New file.
3861 * target.c: Include target-delegates.c.
3862 (init_dummy_target): Call install_dummy_methods.
3863 (complete_target_initialization): Call install_delegators.
3864 * target.h (TARGET_DEFAULT_IGNORE, TARGET_DEFAULT_NORETURN)
3865 (TARGET_DEFAULT_RETURN, TARGET_DEFAULT_FUNC): New defines.
3866 * make-target-delegates: New file.
3868 2014-02-19 Tom Tromey <tromey@redhat.com>
3870 * record.c (find_record_target): Use find_target_at.
3871 * target.c (find_target_at): New function.
3872 * target.h (find_target_at): Declare.
3874 2014-02-19 Tom Tromey <tromey@redhat.com>
3876 * aarch64-linux-nat.c (aarch64_linux_stopped_by_watchpoint):
3878 * arm-linux-nat.c (arm_linux_stopped_by_watchpoint): Add
3880 * i386-nat.c (i386_stopped_by_watchpoint): Add 'ops' argument.
3881 * ia64-linux-nat.c (ia64_linux_stopped_by_watchpoint): Add
3883 * inf-ttrace.c (inf_ttrace_stopped_by_watchpoint): Add 'ops'
3885 * linux-nat.c (save_sigtrap): Update.
3886 (linux_nat_stopped_by_watchpoint, linux_nat_is_async_p)
3887 (linux_nat_can_async_p, linux_nat_async): Add 'ops' argument.
3888 (linux_nat_close): Update.
3889 * mips-linux-nat.c (mips_linux_stopped_by_watchpoint): Add 'ops'
3891 * ppc-linux-nat.c (ppc_linux_stopped_by_watchpoint): Add 'ops'
3893 * procfs.c (procfs_stopped_by_watchpoint): Add 'ops' argument.
3894 * record-full.c (record_full_beneath_to_stopped_by_watchpoint)
3895 (record_full_beneath_to_async, tmp_to_stopped_by_watchpoint)
3896 (tmp_to_async): Add 'ops' argument.
3897 (record_full_stopped_by_watchpoint, record_full_async)
3898 (record_full_can_async_p, record_full_is_async_p): Add 'ops'
3900 * remote-m32r-sdi.c (m32r_insert_breakpoint, m32r_remove_breakpoint)
3901 (m32r_stopped_by_watchpoint): Add 'ops' argument.
3902 * remote-mips.c (mips_stopped_by_watchpoint): Add 'ops' argument.
3903 * remote.c (remote_stopped_by_watchpoint_p, remote_can_async_p)
3904 (remote_is_async_p, remote_async): Add 'ops' argument.
3905 (remote_stopped_data_address): Update.
3906 * s390-nat.c (s390_stopped_by_watchpoint): Add 'ops' argument.
3907 * target.c (update_current_target)
3908 (find_default_can_async_p, find_default_is_async_p): Update.
3909 (init_dummy_target): Update.
3910 (debug_to_stopped_by_watchpoint): Add 'ops' argument.
3911 * target.h (struct target_ops) <to_stopped_by_watchpoint,
3912 to_can_async_p, to_is_async_p, to_async>: Add 'ops' argument.
3913 (target_can_async_p, target_is_async_p, target_async)
3914 (target_stopped_by_watchpoint): Update.
3916 2014-02-19 Yao Qi <yao@codesourcery.com>
3919 * gdbarch.sh: Remove startup_gdbarch.
3920 * gdbarch.c: Regenerated.
3921 * gdbarch.h: Likewise.
3923 2014-02-17 Kevin Buettner <kevinb@redhat.com>
3925 * rl78-tdep.c (rl78_g10_register_name): New function.
3926 (rl78_return_value): Add g10 support.
3927 (rl78_gdbarch_init): Register rl78_g10_register_name for the
3930 2014-02-17 Doug Evans <xdje42@gmail.com>
3932 * Makefile.in (SUBDIR_GUILE_OBS): Resort alphabetically.
3933 (SUBDIR_GUILE_SRCS): Ditto.
3934 (scm-gsmob.o): Ditto.
3936 2014-02-17 Yao Qi <yao@codesourcery.com>
3938 * gnu-nat.c (ILL_RPC): Declare defined function.
3940 2014-02-17 Yao Qi <yao@codesourcery.com>
3942 * gnu-nat.c (gnu_read_inferior): Change 'copy_count' type to
3943 mach_msg_type_number_t.
3944 (gnu_write_inferior): Likewise.
3946 2014-02-17 Yao Qi <yao@codesourcery.com>
3948 * gnu-nat.c (proc_get_exception_port): Use 'lu' insetad of 'd'
3950 (proc_steal_exc_port, make_proc, inf_set_pid): Likewise.
3951 (inf_validate_procs, inf_signal): Likewise.
3952 (S_exception_raise_request): Likewise.
3953 (do_mach_notify_dead_name): Likewise.
3954 (steal_exc_port): Likewise.
3955 (gnu_read_inferior): Change 'copy_count''s type to
3956 mach_msg_type_number_t.
3957 (gnu_write_inferior): Likewise. Use 'lx' instead of 'x' in
3960 2014-02-16 Thomas Schwinge <thomas@codesourcery.com>
3962 * gnu-nat.c (struct inf): Change pending_execs member to a 1-bit
3963 flag. Adjust all users; in particular...
3964 (gnu_wait): ..., don't decrement its value in here...
3965 (gnu_create_inferior): ..., and instead set the flag in here,
3966 around the startup_inferior call, and call that one with
3967 START_INFERIOR_TRAPS_EXPECTED.
3969 * gnu-nat.c (ill_rpc): Remove function; replaced with this...
3970 (ILL_RPC): ... new macro.
3971 (do_mach_notify_no_senders, do_mach_notify_port_deleted)
3972 (do_mach_notify_msg_accepted, do_mach_notify_port_destroyed)
3973 (do_mach_notify_send_once, S_proc_setmsgport_reply)
3974 (S_proc_getmsgport_reply, S_msg_sig_post_reply): Generate stub
3975 functions with ILL_RPC macro.
3976 (S_proc_pid2task_reply, S_proc_task2pid_reply)
3977 (S_proc_task2proc_reply, S_proc_proc2task_reply)
3978 (S_proc_pid2proc_reply, S_proc_getprocinfo_reply)
3979 (S_proc_getprocargs_reply, S_proc_getprocenv_reply)
3980 (S_proc_getloginid_reply, S_proc_getloginpids_reply)
3981 (S_proc_getlogin_reply, S_proc_getsid_reply)
3982 (S_proc_getsessionpgids_reply, S_proc_getsessionpids_reply)
3983 (S_proc_getsidport_reply, S_proc_getpgrp_reply)
3984 (S_proc_getpgrppids_reply, S_proc_get_tty_reply)
3985 (S_proc_getnports_reply, S_proc_is_important_reply)
3986 (S_proc_get_code_reply): New stub functions, generated with
3989 * reply_mig_hack.awk: In phase 5, keep going if we have not yet
3990 collected the type check structures.
3992 * reply_mig_hack.awk: Don't expect to see the auto keyword.
3994 2014-02-14 Doug Evans <dje@google.com>
3996 * target.c (target_write_partial): Fix result type.
3998 2014-02-14 Jose E. Marchesi <jose.marchesi@oracle.com>
4000 * sparc64-linux-nat.c (_initialize_sparc64_linux_nat): Register
4001 the proper offsets to access fpregset_t.
4003 2014-02-13 Sanimir Agovic <sanimir.agovic@intel.com>
4005 * cris-tdep.c (cris_supply_gregset): Remove zerobuf.
4006 (_initialize_cris_tdep): Remove cris_set_cmdlist, cris_show_cmdlist.
4007 * h8300-tdep.c (setmachinelist): Remove global.
4008 * hppa-tdep.c (hppa_sigtramp): Remove global.
4009 * mipsnbsd-tdep.c (sigtramp_retcode_mipsel, sigtramp_retcode_mipseb
4010 RETCODE_NWORDS, RETCODE_SIZE): Wrap code with #if 0.
4011 * ravenscar-thread.c (update_target_observer): Remove global.
4012 * rs6000-tdep.c (rs6000_gdbarch_init): Remove segment_regs.
4014 2014-02-12 Tom Tromey <tromey@redhat.com>
4016 * common/rsp-low.c: Update comments.
4017 * common/rsp-low.h: Update comments.
4019 2014-02-12 Tom Tromey <tromey@redhat.com>
4021 * common/rsp-low.c (convert_ascii_to_int): Remove.
4022 * common/rsp-low.h (convert_ascii_to_int): Don't declare.
4024 2014-02-12 Tom Tromey <tromey@redhat.com>
4026 * common/rsp-low.h (unhexify): Don't declare.
4027 * common/rsp-low.c (unhexify): Remove.
4029 2014-02-12 Tom Tromey <tromey@redhat.com>
4031 * common/rsp-low.h (convert_int_to_ascii): Don't declare.
4032 * common/rsp-low.c (convert_int_to_ascii): Remove.
4034 2014-02-12 Tom Tromey <tromey@redhat.com>
4036 * common/rsp-low.h (hexify): Don't declare.
4037 * common/rsp-low.c (hexify): Remove.
4039 2014-02-12 Tom Tromey <tromey@redhat.com>
4041 * common/rsp-low.c (hexify): Never take strlen of argument.
4043 2014-02-12 Tom Tromey <tromey@redhat.com>
4045 * common/rsp-low.c (bin2hex): Never take strlen of argument.
4046 * remote.c (extended_remote_run, remote_rcmd)
4047 (remote_download_trace_state_variable, remote_save_trace_data)
4048 (remote_set_trace_notes): Update.
4049 * tracepoint.c (encode_source_string, tfile_write_status)
4050 (tfile_write_uploaded_tsv): Update.
4052 2014-02-12 Tom Tromey <tromey@redhat.com>
4054 * tracepoint.c: Include rsp-low.h.
4055 * remote.h (hex2bin, bin2hex, unpack_varlen_hex): Don't declare.
4056 * remote.c: Include rsp-low.h.
4057 (hexchars, ishex, unpack_varlen_hex, pack_nibble, pack_hex_byte)
4058 (fromhex, hex2bin, tohex, bin2hex, remote_escape_output)
4059 (remote_unescape_input): Move to common/rsp-low.c.
4060 * common/rsp-low.h: New file.
4061 * common/rsp-low.c: New file.
4062 * Makefile.in (SFILES): Add common/rsp-low.c.
4063 (HFILES_NO_SRCDIR): Add common/rsp-low.h.
4064 (COMMON_OBS): Add rsp-low.o.
4065 (rsp-low.o): New target.
4067 2014-02-12 Tom Tromey <tromey@redhat.com>
4069 * utils.h: Include print-utils.h.
4070 (host_address_to_string, plongest, pulongest, phex, phex_nz)
4071 (int_string, core_addr_to_string, core_addr_to_string_nz)
4072 (hex_string, hex_string_custom): Don't declare.
4073 * utils.c (NUMCELLS, CELLSIZE, get_cell, decimal2str, pulongest)
4074 (plongest, thirty_two, phex, phex_nz, octal2str, hex_string)
4075 (hex_string_custom, int_string, core_addr_to_string)
4076 (core_addr_to_string_nz, host_address_to_string): Move to
4077 common/print-utils.c.
4078 * common/print-utils.h: New file.
4079 * common/print-utils.c: New file
4080 * Makefile.in (SFILES): Add common/print-utils.c.
4081 (HFILES_NO_SRCDIR): Add common/print-utils.h.
4082 (COMMON_OBS): Add print-utils.o.
4083 (print-utils.o): New target.
4085 2014-02-12 Tom Tromey <tromey@redhat.com>
4087 * nios2-tdep.c (nios2_stub_frame_base_address): Remove.
4089 2014-02-12 Mark Kettenis <kettenis@gnu.org>
4091 * sparc64obsd-tdep.c (sparc64obsd_init_abi): Call obsd_init_abi.
4093 2014-02-12 Mark Kettenis <kettenis@gnu.org>
4095 * inf-ptrace.c (inf_ptrace_xfer_partial): Return TARGET_XFER_EOF
4096 if a PT_IO ptrace request returns sucessfully but indicates that 0
4097 bytes were transferred.
4099 2014-02-12 Pedro Alves <palves@redhat.com>
4100 Kevin Buettner <kevinb@redhat.com>
4102 * gnu-v3-abi.c (build_gdb_vtable_type): Return a type marked with
4103 TYPE_INSTANCE_FLAG_CODE_SPACE.
4105 2014-02-12 Pedro Alves <palves@redhat.com>
4107 * h8300-tdep.c (pseudo_from_raw_register)
4108 (raw_from_pseudo_register): New functions.
4109 (h8300_pseudo_register_read, h8300_pseudo_register_write): Use
4112 2014-02-12 Pedro Alves <palves@redhat.com>
4114 * h8300-tdep.c (h8300_register_sim_regno): New function.
4115 (h8300_gdbarch_init): Install h8300_register_sim_regno as
4116 gdbarch_register_sim_regno hook.
4118 2014-02-12 Sanimir Agovic <sanimir.agovic@intel.com>
4120 * nios2-tdep.c (nios2_stub_frame_base): Remove global.
4122 2014-02-12 Sanimir Agovic <sanimir.agovic@intel.com>
4124 * tic6x-tdep.c (tic6x_gdbarch_init): Call frame_base_set_default.
4126 2014-02-12 Mark Kettenis <kettenis@gnu.org>
4128 * obsd-tdep.h (obsd_init_abi): New prototype.
4129 * obsd-tdep.c: Define enum with OpenBSD signal numbers.
4130 (obsd_gdb_signal_from_target, obsd_gdb_signal_to_target)
4131 (obsd_init_abi): New functions.
4132 * i386obsd-tdep.c: Include "obsd-tdep.h".
4133 (i386obsd_init_abi): Call obsd_init_abi.
4134 * amd64obsd-tdep.c: Include "obsd-tdep.h".
4135 (amd64obsd_init_abi): Call obsd_init_abi.
4136 * configure.tgt (i[34567]86-*-openbsd*, x86_64-*-openbsd*): Add
4137 obsd-tdep.c to gdb_target_obs.
4139 2014-02-11 Jose E. Marchesi <jose.marchesi@oracle.com>
4141 * sparc64-tdep.c (sparc64_store_arguments): Do not align complex
4142 double float arguments to 16-byte in the argument slots.
4144 2014-02-11 Doug Evans <xdje42@gmail.com>
4146 * configure.ac: Don't crash if pkg-config is not found and guile
4147 wasn't explicitly requested. Use AC_MSG_ERROR instead of AC_ERROR
4149 * configure: Regenerate.
4151 2014-02-11 Yao Qi <yao@codesourcery.com>
4153 * aix-thread.c (aix_thread_xfer_partial): Update comments.
4154 * auxv.c (procfs_xfer_auxv, memory_xfer_auxv): Likewise.
4155 * bsd-uthread.c (bsd_uthread_xfer_partial): Likewise.
4156 * gnu-nat.c (gnu_xfer_memory): Likewise.
4157 * inf-ptrace.c (inf_ptrace_xfer_partial): Likewise.
4158 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
4159 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
4160 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise.
4162 2014-02-11 Yao Qi <yao@codesourcery.com>
4164 * target.h (enum target_xfer_error): Rename to ...
4165 (enum target_xfer_status): ... it. New. All users updated.
4166 (enum target_xfer_status) <TARGET_XFER_OK>, <TARGET_XFER_EOF>:
4168 (TARGET_XFER_STATUS_ERROR_P): New macro.
4169 (target_xfer_error_to_string): Remove declaration.
4170 (target_xfer_status_to_string): Declare.
4171 (target_xfer_partial_ftype): Adjust it.
4172 (struct target_ops) <to_xfer_partial>: Return
4173 target_xfer_status. Add argument xfered_len. Update
4175 * target.c (target_xfer_error_to_string): Rename to ...
4176 (target_xfer_status_to_string): ... it. New. All callers
4178 (target_read_live_memory): Likewise. Call target_xfer_partial
4179 instead of target_read.
4180 (memory_xfer_live_readonly_partial): Return
4181 target_xfer_status. Add argument xfered_len.
4182 (raw_memory_xfer_partial): Likewise.
4183 (memory_xfer_partial_1): Likewise.
4184 (memory_xfer_partial): Likewise.
4185 (target_xfer_partial): Likewise. Check *XFERED_LEN is set
4186 properly. Update debug message.
4187 (default_xfer_partial, current_xfer_partial): Likewise.
4188 (target_write_partial): Likewise.
4189 (target_read_partial): Likewise. All callers updated.
4190 (read_whatever_is_readable): Likewise.
4191 (target_write_with_progress): Likewise.
4192 (target_read_alloc_1): Likewise.
4194 * aix-thread.c (aix_thread_xfer_partial): Likewise.
4195 * auxv.c (procfs_xfer_auxv): Likewise.
4196 (ld_so_xfer_auxv, memory_xfer_auxv): Likewise.
4197 * bfd-target.c (target_bfd_xfer_partial): Likewise.
4198 * bsd-kvm.c (bsd_kvm_xfer_partial): Likewise.
4199 * bsd-uthread.c (bsd_uthread_xfer_partia): Likewise.
4200 * corefile.c (read_memory): Adjust.
4201 * corelow.c (core_xfer_partial): Likewise.
4202 * ctf.c (ctf_xfer_partial): Likewise.
4203 * darwin-nat.c (darwin_read_dyld_info): Likewise. All callers
4205 (darwin_xfer_partial): Likewise.
4206 * exec.c (section_table_xfer_memory_partial): Likewise. All
4208 (exec_xfer_partial): Likewise.
4209 * exec.h (section_table_xfer_memory_partial): Update
4211 * gnu-nat.c (gnu_xfer_memory): Likewise. Assert 'res' is not
4213 (gnu_xfer_partial): Likewise.
4214 * ia64-hpux-nat.c (ia64_hpux_xfer_memory_no_bs): Likewise.
4215 (ia64_hpux_xfer_memory, ia64_hpux_xfer_uregs): Likewise.
4216 (ia64_hpux_xfer_solib_got): Likewise.
4217 * inf-ptrace.c (inf_ptrace_xfer_partial): Likewise. Change
4218 type of 'partial_len' to ULONGEST.
4219 * inf-ttrace.c (inf_ttrace_xfer_partial): Likewise.
4220 * linux-nat.c (linux_xfer_siginfo ): Likewise.
4221 (linux_nat_xfer_partial): Likewise.
4222 (linux_proc_xfer_partial, linux_xfer_partial): Likewise.
4223 (linux_proc_xfer_spu, linux_nat_xfer_osdata): Likewise.
4224 * monitor.c (monitor_xfer_memory): Likewise.
4225 (monitor_xfer_partial): Likewise.
4226 * procfs.c (procfs_xfer_partial): Likewise.
4227 * record-btrace.c (record_btrace_xfer_partial): Likewise.
4228 * record-full.c (record_full_xfer_partial): Likewise.
4229 (record_full_core_xfer_partial): Likewise.
4230 * remote-sim.c (gdbsim_xfer_memory): Likewise.
4231 (gdbsim_xfer_partial): Likewise.
4232 * remote.c (remote_write_bytes_aux): Likewise. All callers
4234 (remote_write_bytes, remote_read_bytes): Likewise. All
4236 (remote_flash_erase): Likewise. All callers updated.
4237 (remote_write_qxfer): Likewise. All callers updated.
4238 (remote_read_qxfer): Likewise. All callers updated.
4239 (remote_xfer_partial): Likewise.
4240 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
4241 (rs6000_xfer_shared_libraries): Likewise.
4242 * sol-thread.c (sol_thread_xfer_partial): Likewise.
4243 (sol_thread_xfer_partial): Likewise.
4244 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
4245 (sparc_xfer_partial): Likewise.
4246 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise. All callers
4248 (spu_xfer_partial): Likewise.
4249 * spu-multiarch.c (spu_xfer_partial): Likewise.
4250 * tracepoint.c (tfile_xfer_partial): Likewise.
4251 * windows-nat.c (windows_xfer_memory): Likewise.
4252 (windows_xfer_shared_libraries): Likewise.
4253 (windows_xfer_partial): Likewise.
4254 * valprint.c: Replace 'target_xfer_error' with
4255 'target_xfer_status' in comments.
4257 2014-02-11 Simon Marchi <simon.marchi@ericsson.com> (tiny patch)
4259 Checked in by Joel Brobecker <brobecker@adacore.com>.
4260 * mi/mi-main.c (mi_cmd_data_write_memory_bytes): Fix comment.
4262 2014-02-11 Joel Brobecker <brobecker@adacore.com>
4264 * symfile-debug.c (debug_qf_expand_symtabs_matching): Reformat
4265 function parameters.
4267 2014-02-10 Will Newton <will.newton@linaro.org>
4269 * elfread.c (elf_rel_plt_read): Look for a .got section if
4270 looking up .got.plt fails.
4271 (elf_gnu_ifunc_resolve_by_got): Call gdbarch_addr_bits_remove
4272 on address passed to elf_gnu_ifunc_record_cache.
4273 (elf_gnu_ifunc_resolve_addr): Likewise.
4274 (elf_gnu_ifunc_resolver_return_stop): Likewise.
4276 2014-02-10 Jose E. Marchesi <jose.marchesi@oracle.com>
4278 * sparc-tdep.c (sparc_in_function_epilogue_p): New function.
4279 (X_RETTURN): New macro.
4280 * sparc-tdep.h: sparc_in_function_epilogue_p prototype.
4282 * sparc64-tdep.c (sparc64_init_abi): Hook
4283 sparc_in_function_epilogue_p.
4285 2014-02-10 Gary Benson <gbenson@redhat.com>
4287 * symfile-debug.c (debug_qf_expand_symtabs_matching):
4288 Rename name_matcher to symbol_matcher.
4290 2014-02-10 Gary Benson <gbenson@redhat.com>
4292 * symfile-debug.c (debug_qf_expand_symtabs_matching):
4293 Use expand_symtabs_file_matcher_ftype and
4294 expand_symtabs_symbol_matcher_ftype.
4296 2014-02-10 Joel Brobecker <brobecker@adacore.com>
4298 * ada-lang.c (struct cache_entry, HASH_SIZE): Move definition up.
4299 (struct ada_symbol_cache): New.
4300 (ada_free_symbol_cache): Forward declare.
4301 (struct ada_pspace_data): New.
4302 (ada_pspace_data_handle): New static global.
4303 (get_ada_pspace_data, ada_pspace_data_cleanup)
4304 (ada_init_symbol_cache, ada_free_symbol_cache): New functions.
4305 (cache_space, cache): Delete, now folded inside struct
4307 (ada_get_symbol_cache): New function.
4308 (ada_clear_symbol_cache, find_entry, cache_symbol): Adjust
4310 (_initialize_ada_language): Remove initialization of cache_space.
4311 Move call to observer_attach_inferior_exit up, grouping it
4312 with the other observer registrations inside this function.
4313 Rename command to be more general. Add call to
4314 register_program_space_data_with_cleanup.
4316 2014-02-10 Joel Brobecker <brobecker@adacore.com>
4318 * ada-tasks.c (ada_tasks_new_objfile_observer): Renames
4319 ada_new_objfile_observer.
4320 (ada_tasks_normal_stop_observer): Renames ada_normal_stop_observer.
4321 (_initialize_tasks): Update uses of ada_new_objfile_observer
4322 and ada_tasks_normal_stop_observer.
4324 2014-02-10 Joel Brobecker <brobecker@adacore.com>
4326 * ada-lang.c (ada_evaluate_subexp): Set the type of the value
4327 returned by the 'Length attribute to integer.
4329 2014-02-10 Joel Brobecker <brobecker@adacore.com>
4331 * ada-lang.c (_initialize_ada_language): Initialize
4332 cache_space obstack.
4334 2014-02-10 Joel Brobecker <brobecker@adacore.com>
4336 * ada-lang.c (HASH_SIZE): New macro.
4337 (struct cache_entry): New type.
4338 (cache_space, cache): New static globals.
4339 (ada_clear_symbol_cache, find_entry): New functions.
4340 (lookup_cached_symbol, cache_symbol): Implement.
4341 (ada_new_objfile_observer, ada_free_objfile_observer): New.
4342 (_initialize_ada_language): Attach ada_new_objfile_observer
4343 and ada_free_objfile_observer.
4345 2014-02-10 Joel Brobecker <brobecker@adacore.com>
4347 * ada-lang.c (ada_add_block_symbols, add_defn_to_vec)
4348 (lookup_cached_symbol, ada_add_local_symbols): Add "const" to
4349 struct block * parameter.
4350 (ada_lookup_symbol_list_worker): Constify local variable "block".
4351 Remove cast which is no longer necessary.
4353 2014-02-10 Doug Evans <xdje42@gmail.com>
4355 Add Guile as an extension language.
4356 * NEWS: Mention Guile scripting.
4357 * Makefile.in (SUBDIR_GUILE_OBS): New variable.
4358 (SUBDIR_GUILE_SRCS, SUBDIR_GUILE_DEPS): New variables
4359 (SUBDIR_GUILE_LDFLAGS, SUBDIR_GUILE_CFLAGS): New variables.
4360 (INTERNAL_CPPFLAGS): Add GUILE_CPPFLAGS.
4361 (CLIBS): Add GUILE_LIBS.
4362 (install-guile): New rule.
4363 (guile.o): New rule.
4364 (scm-arch.o, scm-auto-load.o, scm-block.o): New rules.
4365 (scm-breakpoint.o, scm-disasm.o, scm-exception.o): New rules.
4366 (scm-frame.o, scm-iterator.o, scm-lazy-string.o): New rules.
4367 (scm-math.o, scm-objfile.o, scm-ports.o): New rules.
4368 (scm-pretty-print.o, scm-safe-call.o, scm-gsmob.o): New rules.
4369 (scm-string.o, scm-symbol.o, scm-symtab.o): New rules.
4370 (scm-type.o, scm-utils.o, scm-value.o): New rules.
4371 * configure.ac: New option --with-guile.
4372 * configure: Regenerate.
4373 * config.in: Regenerate.
4374 * auto-load.c: Remove #include "python/python.h". Add #include
4375 "gdb/section-scripts.h".
4376 (source_section_scripts): Handle Guile scripts.
4377 (_initialize_auto_load): Add name of Guile objfile script to
4378 scripts-directory help text.
4379 * breakpoint.c (condition_command): Tweak comment to include Scheme.
4380 * breakpoint.h (gdbscm_breakpoint_object): Add forward decl.
4381 (struct breakpoint): New member scm_bp_object.
4382 * defs.h (enum command_control_type): New value guile_control.
4383 * cli/cli-cmds.c: Remove #include "python/python.h". Add #include
4385 (show_user): Update comment.
4386 (_initialize_cli_cmds): Update help text for "show user". Update help
4387 text for max-user-call-depth.
4388 * cli/cli-script.c: Remove #include "python/python.h". Add #include
4390 (multi_line_command_p): Add guile_control.
4391 (print_command_lines): Handle guile_control.
4392 (execute_control_command, recurse_read_control_structure): Ditto.
4393 (process_next_line): Recognize "guile" commands.
4394 * disasm.c (gdb_disassemble_info): Make non-static.
4395 * disasm.h: #include "dis-asm.h".
4396 (struct gdbarch): Add forward decl.
4397 (gdb_disassemble_info): Declare.
4398 * extension.c: #include "guile/guile.h".
4399 (extension_languages): Add guile.
4400 (get_ext_lang_defn): Handle EXT_LANG_GDB.
4401 * extension.h (enum extension_language): New value EXT_LANG_GUILE.
4402 * gdbtypes.c (get_unsigned_type_max): New function.
4403 (get_signed_type_minmax): New function.
4404 * gdbtypes.h (get_unsigned_type_max): Declare.
4405 (get_signed_type_minmax): Declare.
4406 * guile/README: New file.
4407 * guile/guile-internal.h: New file.
4408 * guile/guile.c: New file.
4409 * guile/guile.h: New file.
4410 * guile/scm-arch.c: New file.
4411 * guile/scm-auto-load.c: New file.
4412 * guile/scm-block.c: New file.
4413 * guile/scm-breakpoint.c: New file.
4414 * guile/scm-disasm.c: New file.
4415 * guile/scm-exception.c: New file.
4416 * guile/scm-frame.c: New file.
4417 * guile/scm-gsmob.c: New file.
4418 * guile/scm-iterator.c: New file.
4419 * guile/scm-lazy-string.c: New file.
4420 * guile/scm-math.c: New file.
4421 * guile/scm-objfile.c: New file.
4422 * guile/scm-ports.c: New file.
4423 * guile/scm-pretty-print.c: New file.
4424 * guile/scm-safe-call.c: New file.
4425 * guile/scm-string.c: New file.
4426 * guile/scm-symbol.c: New file.
4427 * guile/scm-symtab.c: New file.
4428 * guile/scm-type.c: New file.
4429 * guile/scm-utils.c: New file.
4430 * guile/scm-value.c: New file.
4431 * guile/lib/gdb.scm: New file.
4432 * guile/lib/gdb/boot.scm: New file.
4433 * guile/lib/gdb/experimental.scm: New file.
4434 * guile/lib/gdb/init.scm: New file.
4435 * guile/lib/gdb/iterator.scm: New file.
4436 * guile/lib/gdb/printing.scm: New file.
4437 * guile/lib/gdb/types.scm: New file.
4438 * data-directory/Makefile.in (GUILE_SRCDIR): New variable.
4439 (VPATH): Add $(GUILE_SRCDIR).
4440 (GUILE_DIR): New variable.
4441 (GUILE_INSTALL_DIR, GUILE_FILES): New variables.
4442 (all): Add stamp-guile dependency.
4443 (stamp-guile): New rule.
4444 (clean-guile, install-guile, uninstall-guile): New rules.
4445 (install-only): Add install-guile dependency.
4446 (uninstall): Add uninstall-guile dependency.
4447 (clean): Add clean-guile dependency.
4449 2014-02-09 Doug Evans <xdje42@gmail.com>
4451 Revert this patch (which I approved, mea culpa).
4453 2014-02-08 Mark Kettenis <kettenis@gnu.org>
4455 * Makefile.in (all-lib): Remove.
4456 ($(LIBGNU) $(GNULIB_H)): Replace with gits of remove all-lib target.
4458 2014-02-09 Jan Kratochvil <jan.kratochvil@redhat.com>
4460 Fix Python stack corruption.
4461 * python/py-linetable.c (ltpy_get_pcs_for_line, ltpy_has_line): Use
4464 2014-02-08 Mark Kettenis <kettenis@gnu.org>
4466 * Makefile.in (all-lib): Remove.
4467 ($(LIBGNU) $(GNULIB_H)): Replace with gits of remove all-lib target.
4469 2014-02-07 Doug Evans <dje@google.com>
4471 * extension-priv.h (extension_language_script_ops): Add comment.
4472 (extension_language_ops): Add comment.
4473 (active_ext_lang_state): Fix typo in comment.
4475 2014-02-07 Pedro Alves <palves@redhat.com>
4477 PR breakpoints/16292
4478 * infrun.c (handle_signal_stop) <signal arrives while stepping
4479 over a breakpoint>: Switch back to the stepping thread.
4481 2014-02-07 Yao Qi <yao@codesourcery.com>
4483 * target.c (target_xfer_partial): Return zero if LEN is zero.
4485 2014-02-07 Yao Qi <yao@codesourcery.com>
4487 * auxv.c (procfs_xfer_auxv): Replace -1 with TARGET_XFER_E_IO.
4488 (ld_so_xfer_auxv): Likewise.
4489 * bfd-target.c (target_bfd_xfer_partial): Likewise.
4490 * bsd-kvm.c (bsd_kvm_xfer_partial): Likewise.
4491 * corelow.c (core_xfer_partial): Likewise.
4492 * ctf.c (ctf_xfer_partial): Likewise.
4493 * darwin-nat.c (darwin_read_dyld_info): Likewise.
4494 (darwin_xfer_partial): Likewise.
4495 * exec.c (exec_xfer_partial): Likewise.
4496 * gnu-nat.c (gnu_xfer_partial): Likewise.
4497 * ia64-hpux-nat.c (ia64_hpux_xfer_uregs): Likewise.
4498 * inf-ptrace.c (inf_ptrace_xfer_partial): Likewise.
4499 * inf-ttrace.c (inf_ttrace_xfer_partial): Likewise.
4500 * linux-nat.c (linux_xfer_siginfo): Likewise.
4501 (linux_proc_xfer_spu): Likewise.
4502 * procfs.c (procfs_xfer_partial): Likewise.
4503 * record-full.c (record_full_xfer_partial): Likewise.
4504 (record_full_core_xfer_partial): Likewise.
4505 * remote-sim.c (gdbsim_xfer_partial): Likewise.
4506 * remote.c (remote_write_qxfer): Likewise.
4507 (remote_write_qxfer, remote_read_qxfer): Likewise.
4508 (remote_xfer_partial): Likewise.
4509 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
4510 (rs6000_xfer_shared_libraries): Likewise.
4511 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
4512 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise.
4513 (spu_xfer_partial): Likewise.
4514 * target.c (memory_xfer_partial_1): Likewise.
4515 * tracepoint.c (tfile_xfer_partial): Likewise.
4516 * windows-nat.c (windows_xfer_shared_libraries): Likewise.
4517 (windows_xfer_partial): Likewise.
4519 2014-02-07 Yao Qi <yao@codesourcery.com>
4521 * gdbarch.sh (core_xfer_shared_libraries): Returns ULONGEST. Add
4523 (core_xfer_shared_libraries_aix): Likewise.
4524 * gdbarch.c, gdbarch.h: Regenerated.
4525 * i386-cygwin-tdep.c (windows_core_xfer_shared_libraries): Return
4526 ULONGEST. Change 'len_avail' type to ULONGEST.
4527 * rs6000-aix-tdep.c (rs6000_aix_ld_info_to_xml): Likewise.
4528 * rs6000-aix-tdep.h (rs6000_aix_ld_info_to_xml): Update
4530 (rs6000_aix_core_xfer_shared_libraries_aix): Return ULONGEST.
4532 2014-02-07 Yao Qi <yao@codesourcery.com>
4534 * corefile.c (memory_error): Get 'exception' from ERR and pass
4535 'exception' to throw_error.
4537 2014-02-06 Doug Evans <xdje42@gmail.com>
4539 * configure.ac (libpython checking): Remove all but python.o from
4540 CONFIG_OBS. Remove all but python.c from CONFIG_SRCS.
4541 * configure: Regenerate.
4543 * Makefile.in (SFILES): Add extension.c.
4544 (HFILES_NO_SRCDIR): Add extension.h, extension-priv.h
4545 (COMMON_OBS): Add extension.o.
4546 * extension.h: New file.
4547 * extension-priv.h: New file.
4548 * extension.c: New file.
4550 * python/python-internal.h: #include "extension.h".
4551 (gdbpy_auto_load_enabled): Declare.
4552 (gdbpy_apply_val_pretty_printer): Declare.
4553 (gdbpy_apply_frame_filter): Declare.
4554 (gdbpy_preserve_values): Declare.
4555 (gdbpy_breakpoint_cond_says_stop): Declare.
4556 (gdbpy_breakpoint_has_cond): Declare.
4557 (void source_python_script_for_objfile): Delete.
4558 * python/python.c: #include "extension-priv.h".
4559 Delete inclusion of "observer.h".
4560 (extension_language_python): Moved here and renamed from
4561 script_language_python in py-auto-load.c.
4562 Redefined to be of type extension_language_defn.
4563 (python_extension_script_ops): New global.
4564 (python_extension_ops): New global.
4565 (struct python_env): New member previous_active.
4566 (restore_python_env): Call restore_active_ext_lang.
4567 (ensure_python_env): Call set_active_ext_lang.
4568 (gdbpy_clear_quit_flag): Renamed from clear_quit_flag, made static.
4570 (gdbpy_set_quit_flag): Renamed from set_quit_flag, made static.
4572 (gdbpy_check_quit_flag): Renamed from check_quit_flag, made static.
4574 (gdbpy_eval_from_control_command): Renamed from
4575 eval_python_from_control_command, made static. New arg extlang.
4576 (gdbpy_source_script) Renamed from source_python_script, made static.
4578 (gdbpy_before_prompt_hook): Renamed from before_prompt_hook. Change
4579 result to int. New arg extlang.
4580 (gdbpy_source_objfile_script): Renamed from
4581 source_python_script_for_objfile, made static. New arg extlang.
4582 (gdbpy_start_type_printers): Renamed from start_type_printers, made
4583 static. New args extlang, extlang_printers. Change result type to
4585 (gdbpy_apply_type_printers): Renamed from apply_type_printers, made
4586 static. New arg extlang. Rename arg printers to extlang_printers
4587 and change type to ext_lang_type_printers *.
4588 (gdbpy_free_type_printers): Renamed from free_type_printers, made
4589 static. Replace argument arg with extlang, extlang_printers.
4590 (!HAVE_PYTHON, eval_python_from_control_command): Delete.
4591 (!HAVE_PYTHON, source_python_script): Delete.
4592 (!HAVE_PYTHON, gdbpy_should_stop): Delete.
4593 (!HAVE_PYTHON, gdbpy_breakpoint_has_py_cond): Delete.
4594 (!HAVE_PYTHON, start_type_printers): Delete.
4595 (!HAVE_PYTHON, apply_type_printers): Delete.
4596 (!HAVE_PYTHON, free_type_printers): Delete.
4597 (_initialize_python): Delete call to observer_attach_before_prompt.
4598 (finalize_python): Set/restore active extension language.
4599 (gdbpy_finish_initialization) Renamed from
4600 finish_python_initialization, made static. New arg extlang.
4601 (gdbpy_initialized): New function.
4602 * python/python.h: #include "extension.h". Delete #include
4603 "value.h", "mi/mi-cmds.h".
4604 (extension_language_python): Declare.
4605 (GDBPY_AUTO_FILE_NAME): Delete.
4606 (enum py_bt_status): Moved to extension.h and renamed to
4608 (enum frame_filter_flags): Moved to extension.h.
4609 (enum py_frame_args): Moved to extension.h and renamed to
4610 ext_lang_frame_args.
4611 (finish_python_initialization): Delete.
4612 (eval_python_from_control_command): Delete.
4613 (source_python_script): Delete.
4614 (apply_val_pretty_printer): Delete.
4615 (apply_frame_filter): Delete.
4616 (preserve_python_values): Delete.
4617 (gdbpy_script_language_defn): Delete.
4618 (gdbpy_should_stop, gdbpy_breakpoint_has_py_cond): Delete.
4619 (start_type_printers, apply_type_printers, free_type_printers): Delete.
4621 * auto-load.c: #include "extension.h".
4622 (GDB_AUTO_FILE_NAME): Delete.
4623 (auto_load_gdb_scripts_enabled): Make public. New arg extlang.
4624 (script_language_gdb): Delete, moved to extension.c and renamed to
4625 extension_language_gdb.
4626 (source_gdb_script_for_objfile): Delete.
4627 (auto_load_pspace_info): New member unsupported_script_warning_printed.
4628 (loaded_script): Change type of language member to
4629 struct extension_language_defn *.
4630 (init_loaded_scripts_info): Initialize
4631 unsupported_script_warning_printed.
4632 (maybe_add_script): Make static. Change type of language arg to
4633 struct extension_language_defn *.
4634 (clear_section_scripts): Reset unsupported_script_warning_printed.
4635 (auto_load_objfile_script_1): Rewrite to use extension language API.
4636 (auto_load_objfile_script): Make public. Remove support-compiled-in
4637 and auto-load-enabled checks, moved to auto_load_scripts_for_objfile.
4638 (source_section_scripts): Rewrite to use extension language API.
4639 (load_auto_scripts_for_objfile): Rewrite to use
4640 auto_load_scripts_for_objfile.
4641 (collect_matching_scripts_data): Change type of language member to
4642 struct extension_language_defn *.
4643 (auto_load_info_scripts): Change type of language arg to
4644 struct extension_language_defn *.
4645 (unsupported_script_warning_print): New function.
4646 (script_not_found_warning_print): Make static.
4647 (_initialize_auto_load): Rewrite construction of scripts-directory
4649 * auto-load.h (struct objfile): Add forward decl.
4650 (struct script_language): Delete.
4651 (struct auto_load_pspace_info): Add forward decl.
4652 (struct extension_language_defn): Add forward decl.
4653 (maybe_add_script): Delete.
4654 (auto_load_objfile_script): Declare.
4655 (script_not_found_warning_print): Delete.
4656 (auto_load_info_scripts): Update prototype.
4657 (auto_load_gdb_scripts_enabled): Declare.
4658 * python/py-auto-load.c (gdbpy_auto_load_enabled): Renamed from
4659 auto_load_python_scripts_enabled and made public.
4660 (script_language_python): Delete, moved to python.c.
4661 (gdbpy_script_language_defn): Delete.
4662 (info_auto_load_python_scripts): Update to use
4663 extension_language_python.
4665 * breakpoint.c (condition_command): Replace call to
4666 gdbpy_breakpoint_has_py_cond with call to get_breakpoint_cond_ext_lang.
4667 (bpstat_check_breakpoint_conditions): Replace call to gdbpy_should_stop
4668 with call to breakpoint_ext_lang_cond_says_stop.
4669 * python/py-breakpoint.c (gdbpy_breakpoint_cond_says_stop): Renamed
4670 from gdbpy_should_stop. Change result type to enum scr_bp_stop.
4671 New arg slang. Return SCR_BP_STOP_UNSET if py_bp_object is NULL.
4672 (gdbpy_breakpoint_has_cond): Renamed from gdbpy_breakpoint_has_py_cond.
4674 (local_setattro): Print name of extension language with existing
4677 * valprint.c (val_print, value_print): Update to call
4678 apply_ext_lang_val_pretty_printer.
4679 * cp-valprint.c (cp_print_value): Update call to
4680 apply_ext_lang_val_pretty_printer.
4681 * python/py-prettyprint.c: Remove #ifdef HAVE_PYTHON.
4682 (gdbpy_apply_val_pretty_printer): Renamed from
4683 apply_val_pretty_printer. New arg extlang.
4684 (!HAVE_PYTHON, apply_val_pretty_printer): Delete.
4686 * cli/cli-cmds.c (source_script_from_stream): Rewrite to use
4687 extension language API.
4688 * cli/cli-script.c (execute_control_command): Update to call
4689 eval_ext_lang_from_control_command.
4691 * mi/mi-cmd-stack.c (mi_cmd_stack_list_frames): Update to use
4692 enum ext_lang_bt_status values. Update call to
4693 apply_ext_lang_frame_filter.
4694 (mi_cmd_stack_list_locals): Ditto.
4695 (mi_cmd_stack_list_args): Ditto.
4696 (mi_cmd_stack_list_variables): Ditto.
4697 * mi/mi-main.c: Delete #include "python/python-internal.h".
4698 Add #include "extension.h".
4699 (mi_cmd_list_features): Replace reference to python internal variable
4700 gdb_python_initialized with call to ext_lang_initialized_p.
4702 * stack.c (backtrace_command_1): Update to use enum ext_lang_bt_status.
4703 Update to use enum ext_lang_frame_args. Update to call
4704 apply_ext_lang_frame_filter.
4705 * python/py-framefilter.c (extract_sym): Update to use enum
4707 (extract_value, py_print_type, py_print_value): Ditto.
4708 (py_print_single_arg, enumerate_args, enumerate_locals): Ditto.
4709 (py_mi_print_variables, py_print_locals, py_print_args): Ditto.
4710 (py_print_frame): Ditto.
4711 (gdbpy_apply_frame_filter): Renamed from apply_frame_filter.
4712 New arg extlang. Update to use enum ext_lang_bt_status.
4714 * top.c (gdb_init): Delete #ifdef HAVE_PYTHON call to
4715 finish_python_initialization. Replace with call to
4716 finish_ext_lang_initialization.
4718 * typeprint.c (do_free_global_table): Update to call
4719 free_ext_lang_type_printers.
4720 (create_global_typedef_table): Update to call
4721 start_ext_lang_type_printers.
4722 (find_global_typedef): Update to call apply_ext_lang_type_printers.
4723 * typeprint.h (struct ext_lang_type_printers): Add forward decl.
4724 (type_print_options): Change type of global_printers from "void *"
4725 to "struct ext_lang_type_printers *".
4727 * value.c (preserve_values): Update to call preserve_ext_lang_values.
4728 * python/py-value.c: Remove #ifdef HAVE_PYTHON.
4729 (gdbpy_preserve_values): Renamed from preserve_python_values.
4731 (!HAVE_PYTHON, preserve_python_values): Delete.
4733 * utils.c (quit_flag): Delete, moved to extension.c.
4734 (clear_quit_flag, set_quit_flag, check_quit_flag): Delete, moved to
4737 * eval.c: Delete #include "python/python.h".
4738 * main.c: Delete #include "python/python.h".
4740 * defs.h: Update comment.
4742 2014-02-06 Joel Brobecker <brobecker@adacore.com>
4746 2014-02-05 Mark Kettenis <kettenis@gnu.org>
4748 * c-exp.y (YYPRINT, c_print_token): Only define if YYBISON is
4751 2014-02-05 Yao Qi <yao@codesourcery.com>
4753 * remote.c (remote_pass_signals): Remove local 'buf' and use
4755 (remote_program_signals): Likewise.
4757 2014-02-05 Yao Qi <yao@codesourcery.com>
4759 * ctf.c: Include "inferior.h" and "gdbthread.h".
4760 (CTF_PID): A new macro.
4761 (ctf_open): Call inferior_appeared and add_thread_silent.
4762 (ctf_close): Call exit_inferior_silent and set inferior_ptid.
4763 (ctf_thread_alive): New function.
4764 (init_ctf_ops): Install ctf_thread_alive to to_thread_alive.
4766 2014-02-05 Yao Qi <yao@codesourcery.com>
4770 2013-05-24 Yao Qi <yao@codesourcery.com>
4772 * tracepoint.c (TFILE_PID): Remove.
4773 (tfile_open): Don't add thread and inferior.
4774 (tfile_close): Don't set 'inferior_ptid'. Don't call
4775 exit_inferior_silent.
4776 (tfile_thread_alive): Remove.
4777 (init_tfile_ops): Don't set field 'to_thread_alive' of
4780 2014-02-04 Christian Eggers <ceggers@gmx.de> (tiny change)
4782 * remote.c (remote_start_remote): Call remote_check_symbols even
4783 if only symbol-file (not file) has been given.
4785 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
4787 * gdbarch.sh (skip_entrypoint): New callback.
4788 * gdbarch.c, gdbarch.h: Regenerate.
4789 * symtab.c (skip_prologue_sal): Call gdbarch_skip_entrypoint.
4790 * infrun.c (fill_in_stop_func): Likewise.
4791 * ppc-linux-tdep.c: Include "elf/ppc64.h".
4792 (ppc_elfv2_elf_make_msymbol_special): New function.
4793 (ppc_elfv2_skip_entrypoint): Likewise.
4794 (ppc_linux_init_abi): Install them for ELFv2.
4796 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
4798 * ppc-sysv-tdep.c (ppc64_aggregate_candidate): New routine.
4799 (ppc64_elfv2_abi_homogeneous_aggregate): Likewise.
4800 (ppc64_sysv_abi_push_param): Handle ELFv2 homogeneous structs.
4801 (ppc64_sysv_abi_return_value): Likewise. Also, handle small
4802 structures returned in GPRs.
4804 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
4806 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_dummy_call): Use correct
4807 offset to the stack parameter list for the ELFv2 ABI.
4809 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
4811 * ppc-linux-tdep.c (ppc_linux_init_abi): Only call
4812 set_gdbarch_convert_from_func_ptr_addr and
4813 set_gdbarch_elf_make_msymbol_special for ELFv1.
4814 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_param): Only handle
4815 function descriptors on ELFv1.
4816 (ppc64_sysv_abi_push_dummy_call): Likewise. On ELFv2,
4817 set up r12 at function entry.
4819 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
4821 * ppc-tdep.h (enum powerpc_elf_abi): New data type.
4822 (struct gdbarch_tdep): New member elf_abi.
4824 * rs6000-tdep.c: Include "elf/ppc64.h".
4825 (rs6000_gdbarch_init): Detect ELF ABI version.
4827 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
4829 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_freg): Use correct order
4830 within a register pair holding a DFP 128-bit value on little-endian.
4831 (ppc64_sysv_abi_return_value_base): Likewise.
4832 * rs6000-tdep.c (dfp_pseudo_register_read): Likewise.
4833 (dfp_pseudo_register_write): Likewise.
4835 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
4837 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_freg): Use correct
4838 offset on little-endian when passing _Decimal32.
4839 (ppc64_sysv_abi_return_value_base): Likewise for return values.
4841 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
4843 * rs6000-tdep.c (efpr_pseudo_register_read): Use correct offset
4844 of the overlapped FP register within the VSX register on little-
4846 (efpr_pseudo_register_write): Likewise.
4848 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
4850 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_val): Use correct
4851 offset on little-endian when passing small structures.
4853 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
4855 * ppc-sysv-tdep.c (get_decimal_float_return_value): Update comment.
4856 (struct ppc64_sysv_argpos): New data structure.
4857 (ppc64_sysv_abi_push_float): Remove.
4858 (ppc64_sysv_abi_push_val): New function.
4859 (ppc64_sysv_abi_push_integer): Likewise.
4860 (ppc64_sysv_abi_push_freg): Likewise.
4861 (ppc64_sysv_abi_push_vreg): Likewise.
4862 (ppc64_sysv_abi_push_param): Likewise.
4863 (ppc64_sysv_abi_push_dummy_call): Refactor to use those new routines.
4864 (ppc64_sysv_abi_return_value_base): New function.
4865 (ppc64_sysv_abi_return_value): Refactor to use it.
4867 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
4869 * NEWS: Document new target powerpc64le-*-linux*.
4871 2014-02-04 Mark Kettenis <kettenis@gnu.org>
4873 * sparc64obsd-tdep.c (sparc64obsd_gregset): New variable.
4874 (sparc64obsd_supply_gregset): Handle registers sets used in ELF
4876 (sparc64obsd_init_abi): Adjust minimum size of the general purpose
4877 register set used in ELF core dumps. Add floating-point register set.
4879 2014-02-03 Kevin Buettner <kevinb@redhat.com>
4881 * mn10300-tdep.c (mn10300_dwarf2_reg_to_regnum): Rewrite
4882 dwarf2_to_gdb[] table using symbolic constants. Adjust
4883 penultimate entry from number representing the PC register
4884 to symbolic constant representing the MDR register. Add
4885 constant for the PC register to the end of the table.
4887 2014-02-03 Mark Kettenis <kettenis@gnu.org>
4889 * bsd-kvm.c: Include <sys/param.h>
4891 2014-02-03 Mark Kettenis <kettenis@gnu.org>
4893 * sparc64nbsd-nat.c (sparc64nbsd_supply_fpregset): Fix prototype.
4895 2014-01-31 Joel Brobecker <brobecker@adacore.com>
4897 * ada-lang.h (clear_ada_sym_cache): Delete.
4899 2014-01-30 Ulrich Weigand <uweigand@de.ibm.com>
4901 * auxv.c (fprint_target_auxv): Handle AT_HWCAP2.
4903 2014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
4905 * sparc64-linux-tdep.c (sparc64_linux_step_trap): Get PC from
4906 the sigreturn register save area only if the syscall is
4909 2014-01-29 Joel Brobecker <brobecker@adacore.com>
4911 * valops.c (value_slice): Minor reformatting.
4913 2014-01-28 Ulrich Weigand <uweigand@de.ibm.com>
4915 * ppc64-tdep.c (ppc64_standard_linkage7): Fix typo.
4917 2014-01-28 Joel Brobecker <brobecker@adacore.com>
4919 * ada-lang.c (maint_set_ada_cmdlist, maint_show_ada_cmdlist):
4921 (maint_set_ada_cmd, maint_show_ada_cmd): New functions.
4922 (ada_ignore_descriptive_types_p): New static global.
4923 (find_parallel_type_by_descriptive_type): Return immediately
4924 if ada_ignore_descriptive_types_p is set.
4925 (_initialize_ada_language): Register new commands "maintenance
4926 set ada", "maintenance show ada", "maintenance set ada
4927 ignore-descriptive-types" and "maintenance show ada
4928 ignore-descriptive-types".
4929 * NEWS: Add entry for new "maint ada set/show
4930 ignore-descriptive-types" commands.
4932 2014-01-27 Markus Metzger <markus.t.metzger@intel.com>
4934 * record-btrace.c (record_btrace_close): Call btrace_teardown
4937 2014-01-27 Joel Brobecker <brobecker@adacore.com>
4939 * ada-lang.c: Remove "#ifdef UI_OUT" condition for including
4942 2014-01-27 Joel Brobecker <brobecker@adacore.com>
4944 * ada-typeprint (type_is_full_subrange_of_target_type):
4946 (print_range): Add parameter bounds_prefered_p. If not set,
4947 try printing range types using the name of their base type.
4948 (print_range_type): Add parameter bounds_prefered_p.
4949 Use it in call to print_range.
4950 (print_array_type, ada_print_type): Update calls to print_range
4951 and print_range_type.
4953 2014-01-27 Joel Brobecker <brobecker@adacore.com>
4955 * ada-typeprint.c (print_array_type, print_choices, print_range)
4956 (print_range_bound, print_dynamic_range_bound, print_range_type):
4959 2014-01-27 Joel Brobecker <brobecker@adacore.com>
4961 * ada-typeprint.c (print_range): Add missing empty line
4962 after local declaration.
4964 2014-01-27 Joel Brobecker <brobecker@adacore.com>
4966 * ada-valprint.c (print_optional_low_bound): Get index_type's
4967 target type for as long as it is a TYPE_CODE_RANGE.
4969 2014-01-27 Joel Brobecker <brobecker@adacore.com>
4971 * procfs.c (procfs_make_note_section): Remove assertion and
4974 2014-01-24 Yao Qi <yao@codesourcery.com>
4976 * remote.c (remote_read_bytes): Change type of len to ULONGEST.
4977 * corelow.c (get_core_siginfo): Likewise.
4979 2014-01-24 Yao Qi <yao@codesourcery.com>
4981 * remote.c (remote_write_bytes_aux): Change type of 'len' to
4982 ULONGEST. Don't check 'len' is negative.
4983 (remote_write_bytes): Change type of 'len' to ULONGEST.
4985 2014-01-23 Tom Tromey <tromey@redhat.com>
4988 * python/lib/gdb/FrameDecorator.py: (FrameVars.fetch_frame_args):
4989 Handle exception from frame.block.
4990 (FrameVars.fetch_frame_locals): Likewise.
4992 2014-01-23 Tom Tromey <tromey@redhat.com>
4995 * python/py-framefilter.c (py_print_frame): Don't call Py_DECREF
4996 on a NULL pointer. Move "goto error" to correct place.
4998 2014-01-23 Tom Tromey <tromey@redhat.com>
5001 * python/py-framefilter.c (apply_frame_filter): Call
5002 ensure_python_env after computing gdbarch.
5004 2014-01-23 Yao Qi <yao@codesourcery.com>
5006 * target.c (raw_memory_xfer_partial): Change argument type
5007 from void * to gdb_byte *.
5008 (memory_xfer_partial_1, memory_xfer_partial): Likewise.
5010 2014-01-22 Doug Evans <dje@google.com>
5012 New gdbserver option --debug-format=timestamp.
5015 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
5017 * syscalls/s390x-linux.xml: New file.
5018 * syscalls/s390-linux.xml: New file.
5019 * s390-linux-tdep.c (XML_SYSCALL_FILENAME_S390): New macro.
5020 (XML_SYSCALL_FILENAME_S390X): Likewise.
5021 (op_svc): New enum value for SVC opcode.
5022 (s390_sigtramp_frame_sniffer): Replace literal by 'op_svc'.
5023 (s390_linux_get_syscall_number): New function.
5024 (s390_gdbarch_init): Register '*get_syscall_number' and the
5025 syscall xml file name.
5026 * data-directory/Makefile.in (SYSCALLS_FILES): Add
5027 "s390-linux.xml" and "s390x-linux.xml".
5028 * NEWS: Announce new feature.
5030 2014-01-22 Baruch Siach <baruch@tkos.co.il>
5032 * xtensa-tdep.h (xtensa_elf_greg_t): Change type to uint32_t.
5034 2014-01-22 Pedro Alves <palves@redhat.com>
5036 * xtensa-config.c: Include defs.h.
5038 2014-01-22 Joel Brobecker <brobecker@adacore.com>
5040 * common/common-utils.h: Add "ARI:" comment beside __func__
5043 2014-01-22 Joel Brobecker <brobecker@adacore.com>
5045 * common/common-utils.h (FUNCTION_NAME): Expand the macro's
5046 documentation a bit.
5048 2014-01-21 Roland McGrath <mcgrathr@google.com>
5050 * configure.ac: Call AM_PROG_INSTALL_STRIP.
5051 * configure: Regenerate.
5052 * aclocal.m4: Regenerate.
5053 * Makefile.in (install_sh, INSTALL_STRIP_PROGRAM, STRIP):
5054 New substituted variables.
5055 (install-strip): New target.
5056 (INSTALL_SCRIPT): New substituted variable.
5057 (FLAGS_TO_PASS): Add it.
5058 (install-only): Use $(INSTALL_SCRIPT) rather than
5059 $(INSTALL_PROGRAM) for gcore.
5061 2014-01-20 Tom Tromey <tromey@redhat.com>
5063 * cli/cli-decode.h (struct cmd_list_element): Move all bitfields
5066 2014-01-20 Tom Tromey <tromey@redhat.com>
5068 * cli/cli-decode.c (add_cmd, deprecate_cmd, add_alias_cmd)
5069 (add_setshow_cmd_full, delete_cmd, lookup_cmd_1)
5070 (deprecated_cmd_warning, complete_on_cmdlist): Update.
5071 * cli/cli-decode.h (CMD_DEPRECATED, DEPRECATED_WARN_USER)
5072 (MALLOCED_REPLACEMENT, DOC_ALLOCATED): Remove.
5073 (struct cmd_list_element) <flags>: Remove.
5074 <cmd_deprecated, deprecated_warn_user, malloced_replacement,
5075 doc_allocated>: New fields.
5076 <hook_in, allow_unknown, abbrev_flag, type, var_type>: Now
5078 * maint.c (maintenance_do_deprecate): Update.
5079 * top.c (execute_command): Update.
5081 2014-01-20 Baruch Siach <baruch@tkos.co.il>
5083 * xtensa-linux-nat.c: Include asm/ptrace.h.
5085 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
5087 * Makefile.in (SFILES): Add d-support.c.
5088 (COMMON_OBS): Add d-support.o.
5089 * d-lang.h (d_parse_symbol): Add comment, now defined in
5091 * d-lang.c (parse_call_convention)
5092 (parse_attributes, parse_function_types)
5093 (parse_function_args, parse_type, parse_identifier)
5094 (call_convention_p, d_parse_symbol): Move functions to ...
5095 * d-support.c: ... New file.
5097 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
5099 * d-lang.h (d_parse_symbol): Add declaration.
5100 * d-lang.c (extract_identifiers)
5101 (extract_type_info): Remove functions.
5102 (parse_call_convention, parse_attributes)
5103 (parse_function_types, parse_function_args)
5104 (parse_type, parse_identifier, call_convention_p)
5105 (d_parse_symbol): New functions.
5106 (d_demangle): Use d_parse_symbol to demangle D symbols.
5108 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
5110 * d-lang.h (struct builtin_d_type): New data type.
5111 (builtin_d_type): Add declaration.
5112 * d-lang.c (d_language_arch_info, build_d_types)
5113 (builtin_d_type): New functions.
5114 (enum d_primitive_types): New data type.
5115 (d_language_defn): Change c_language_arch_info to
5116 d_language_arch_info.
5117 (d_type_data): New static variable.
5118 (_initialize_d_language): Initialize d_type_data.
5120 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
5122 * d-lang.h (d_main_name): Add declaration.
5123 * d-lang.c (d_main_name): New function.
5124 * symtab.c (find_main_name): Add call to d_main_name.
5126 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
5128 * d-lang.c (d_language_defn): Change macro_expansion_c to
5131 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
5133 * MAINTAINERS: Add myself as a write-after-approval maintainer.
5135 2014-01-17 Sergio Durigan Junior <sergiodj@redhat.com>
5137 * breakpoint.c (insert_bp_location): Add "volatile" keyword to "struct
5138 gdb_exception" declaration.
5139 * remote.c (getpkt_or_notif_sane): Likewise.
5141 2014-01-17 Doug Evans <dje@google.com>
5143 * common/gdb_vecs.c (delim_string_to_char_ptr_vec_append): New
5144 function, contents of dirnames_to_char_ptr_vec_append moved here.
5145 (delim_string_to_char_ptr_vec): New function.
5146 (dirnames_to_char_ptr_vec_append): Rewrite.
5147 * common/gdb_vecs.h (delim_string_to_char_ptr_vec): Declare.
5149 2014-01-17 Doug Evans <dje@google.com>
5151 * common/common-utils.h (FUNCTION_NAME): Renamed from ASSERT_FUNCTION,
5153 * common/gdb_assert.h (ASSERT_FUNCTION): ... from here.
5154 #include "common-utils.h".
5155 (gdb_assert, gdb_assert_fail, gdb_assert_not_reached): Update.
5156 * common/vec.h (VEC_ASSERT_PASS): Update.
5157 * darwin-nat.h: Replace #include of gdb_assert.h with common-utils.h.
5158 (MACH_CHECK_ERROR): Update.
5160 2014-01-17 Simon Marchi <simon.marchi@ericsson.com>
5162 * gdbarch.sh (gdbarch_address_class_name_to_type_flags): Add
5164 * gdbarch.h: Regenerate.
5166 2014-01-16 Tom Tromey <tromey@redhat.com>
5168 * value.c (struct value) <regnum>: Move earlier.
5170 2014-01-16 Tom Tromey <tromey@redhat.com>
5172 * remote.c (extended_remote_create_inferior): Rename from
5173 extended_remote_create_inferior_1. Add "ops" argument. Remove
5176 2014-01-16 Pedro Alves <palves@redhat.com>
5178 * s390-linux-tdep.c (s390_frame_unwind_cache): Swallow
5179 NOT_AVAILABLE_ERROR errors while parsing the prologue or reading
5182 2014-01-16 Doug Evans <dje@google.com>
5184 * dwarf2read.c (open_and_init_dwp_file): Fix typo in comment.
5186 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5188 * btrace.h (btrace_thread_flag): New.
5189 (struct btrace_thread_info) <flags>: New.
5190 * record-btrace.c (record_btrace_resume_thread)
5191 (record_btrace_find_thread_to_move, btrace_step_no_history)
5192 (btrace_step_stopped, record_btrace_start_replaying)
5193 (record_btrace_step_thread, record_btrace_decr_pc_after_break)
5194 (record_btrace_find_resume_thread): New.
5195 (record_btrace_resume, record_btrace_wait): Extend.
5196 (record_btrace_can_execute_reverse): New.
5197 (record_btrace_open): Fail in non-stop mode.
5198 (record_btrace_set_replay): Split into this, ...
5199 (record_btrace_stop_replaying): ... this, ...
5200 (record_btrace_clear_histories): ... and this.
5201 (init_record_btrace_ops): Init to_can_execute_reverse.
5202 * NEWS: Announce it.
5204 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5206 * target.h (struct target_ops) <to_decr_pc_after_break>: New.
5207 (forward_target_decr_pc_after_break)
5208 (target_decr_pc_after_break): New.
5209 * target.c (forward_target_decr_pc_after_break)
5210 (target_decr_pc_after_break): New.
5211 * aix-thread.c (aix_thread_wait): Call target_decr_pc_after_break
5212 instead of gdbarch_decr_pc_after_break.
5213 * darwin-nat.c (cancel_breakpoint): Call target_decr_pc_after_break
5214 instead of gdbarch_decr_pc_after_break.
5215 * infrun.c (adjust_pc_after_break): Call target_decr_pc_after_break
5216 instead of gdbarch_decr_pc_after_break.
5217 * linux-nat.c (cancel_breakpoint): Call target_decr_pc_after_break
5218 instead of gdbarch_decr_pc_after_break.
5219 * linux-thread-db.c (check_event): Call target_decr_pc_after_break
5220 instead of gdbarch_decr_pc_after_break.
5221 * record-full.c (record_full_wait_1): Call target_decr_pc_after_break
5222 instead of gdbarch_decr_pc_after_break.
5224 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5226 * btrace.c: Include regcache.h.
5227 (btrace_add_pc): New.
5228 (btrace_enable): Call btrace_add_pc.
5229 (btrace_is_empty): New.
5230 * btrace.h (btrace_is_empty): New.
5231 * record-btrace.c (require_btrace, record_btrace_info): Call
5234 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5236 * common/linux-btrace.c (perf_event_read_bts, linux_read_btrace):
5237 Support delta reads.
5238 (linux_disable_btrace): Change return type.
5239 * common/linux-btrace.h (linux_read_btrace): Change parameters
5240 and return type to allow error reporting. Update users.
5241 (linux_disable_btrace): Change return type. Update users.
5242 * common/btrace-common.h (btrace_read_type) <BTRACE_READ_DELTA>:
5244 (btrace_error): New.
5245 (btrace_block) <begin>: Comment on BEGIN == 0.
5246 * btrace.c (btrace_compute_ftrace): Start from the end of
5248 (btrace_stitch_trace, btrace_clear_history): New.
5249 (btrace_fetch): Read delta trace, return if replaying.
5250 (btrace_clear): Move clear history code to btrace_clear_history.
5251 (parse_xml_btrace): Throw an error if parsing failed.
5252 * target.h (struct target_ops) <to_read_btrace>: Change parameters
5253 and return type to allow error reporting.
5254 (target_read_btrace): Change parameters and return type to allow
5256 * target.c (target_read_btrace): Update.
5257 * remote.c (remote_read_btrace): Support delta reads. Pass
5259 * NEWS: Announce it.
5261 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5263 * record.h (record_btrace_frame_unwind)
5264 (record_btrace_tailcall_frame_unwind): New declarations.
5265 * dwarf2-frame: Include record.h
5266 (dwarf2_frame_cfa): Throw an error for btrace frames.
5267 * record-btrace.c: Include hashtab.h.
5268 (btrace_get_bfun_name): New.
5269 (btrace_call_history): Call btrace_get_bfun_name.
5270 (struct btrace_frame_cache): New.
5272 (bfcache_hash, bfcache_eq, bfcache_new): New.
5273 (btrace_get_frame_function): New.
5274 (record_btrace_frame_unwind_stop_reason): Allow unwinding.
5275 (record_btrace_frame_this_id): Compute own id.
5276 (record_btrace_frame_prev_register): Provide PC, throw_error
5277 for all other registers.
5278 (record_btrace_frame_sniffer): Detect btrace frames.
5279 (record_btrace_tailcall_frame_sniffer): New.
5280 (record_btrace_frame_dealloc_cache): New.
5281 (record_btrace_frame_unwind): Add new functions.
5282 (record_btrace_tailcall_frame_unwind): New.
5283 (_initialize_record_btrace): Allocate cache.
5284 * btrace.c (btrace_clear): Call reinit_frame_cache.
5285 * NEWS: Announce it.
5287 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5289 * record-btrace.c (record_btrace_set_replay)
5290 (record_btrace_goto_begin, record_btrace_goto_end)
5291 (record_btrace_goto): New.
5292 (init_record_btrace_ops): Initialize them.
5293 * NEWS: Announce it.
5295 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5297 * record-btrace.c (record_btrace_find_new_threads)
5298 (record_btrace_thread_alive): New.
5299 (init_record_btrace_ops): Initialize to_find_new_threads and
5302 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5304 * record-btrace.c (record_btrace_resume): New.
5305 (record_btrace_wait): New.
5306 (init_record_btrace_ops): Initialize to_wait and to_resume.
5308 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5310 * record-btrace.c (record_btrace_xfer_partial)
5311 (record_btrace_insert_breakpoint, record_btrace_remove_breakpoint)
5312 (record_btrace_allow_memory_access): New.
5313 (init_record_btrace_ops): Initialize new methods.
5314 * target.c (raw_memory_xfer_partial): Bail out if target reports
5315 that this memory is not available.
5317 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5319 * target.h (target_ops) <to_insert_breakpoint>
5320 <to_remove_breakpoint>: Add target_ops parameter.
5321 (forward_target_insert_breakpoint): New.
5322 (forward_target_remove_breakpoint): New.
5323 (memory_remove_breakpoint, memory_insert_breakpoint):
5324 Add target_ops parameter.
5325 * target.c (target_insert_breakpoint): Split into this and ...
5326 (forward_target_insert_breakpoint): ... this.
5327 (target_remove_breakpoint): Split into this and ...
5328 (forward_target_remove_breakpoint): ... this.
5329 (debug_to_insert_breakpoint): Add target_ops parameter.
5330 Call forward_target_insert_breakpoint.
5331 (debug_to_remove_breakpoint): Add target_ops parameter.
5332 Call forward_target_remove_breakpoint.
5333 (update_current_target): Do not inherit or default to_insert_breakpoint
5334 and to_remove_breakpoint.
5335 * corelow.c (ignore): Add target_ops parameter.
5336 * exec.c (ignore): Add target_ops parameter.
5337 * mem-break.c (memory_insert_breakpoint, memory_remove_breakpoint):
5338 Add target_ops parameter.
5339 * monitor.c (monitor_insert_breakpoint, monitor_remove_breakpoint):
5340 Add target_ops parameter.
5341 * nto-procfs.c (procfs_insert_breakpoint, procfs_remove_breakpoint):
5342 Add target_ops parameter.
5343 * record-full.c (record_full_beneath_to_insert_breakpoint)
5344 (record_full_beneath_to_remove_breakpoint, tmp_to_insert_breakpoint)
5345 (tmp_to_remove_breakpoint, record_full_insert_breakpoint)
5346 (record_full_remove_breakpoint, record_full_core_insert_breakpoint)
5347 (record_full_core_remove_breakpoint): Add target_ops parameter.
5349 (record_full_beneath_to_insert_breakpoint_ops)
5350 (record_full_beneath_to_remove_breakpoint_ops)
5351 (tmp_to_insert_breakpoint_ops, tmp_to_remove_breakpoint_ops): New.
5352 (record_full_open): Initialize tmp_to_insert_breakpoint_ops,
5353 tmp_to_remove_breakpoint_ops,
5354 record_full_beneath_to_insert_breakpoint_ops, and
5355 record_full_beneath_to_remove_breakpoint_ops.
5356 * remote-m32r-sdi.c (m32r_insert_breakpoint)
5357 (m32r_remove_breakpoint): Add target_ops parameter.
5358 * remote-mips.c (mips_insert_breakpoint, mips_remove_breakpoint):
5359 Add target_ops parameter.
5360 * remote.c (remote_insert_breakpoint, remote_remove_breakpoint):
5361 Add target_ops parameter.
5363 2014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
5364 Markus Metzger <markus.t.metzger@intel.com>
5366 * record-btrace.c: Include frame-unwind.h.
5367 (record_btrace_frame_unwind_stop_reason)
5368 (record_btrace_frame_this_id, record_btrace_frame_prev_register)
5369 (record_btrace_frame_sniffer, record_btrace_frame_unwind):
5371 (init_record_btrace_ops): Install it.
5373 2014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
5375 * frame.c (get_frame_unwind_stop_reason): Unconditionally call
5378 2014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
5380 * dwarf2-frame.c (dwarf2_frame_cfa): Move UNWIND_UNAVAILABLE check
5383 2014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
5385 * frame-unwind.c: Include target.h.
5386 (frame_unwind_try_unwinder): New function with code from ...
5387 (frame_unwind_find_by_frame): ... here. New variable
5388 unwinder_from_target, call also target_get_unwinder)
5389 (target_get_tailcall_unwinder, and frame_unwind_try_unwinder for it.
5390 * target.c (target_get_unwinder, target_get_tailcall_unwinder): New.
5391 * target.h (struct target_ops): New fields to_get_unwinder and
5392 to_get_tailcall_unwinder.
5393 (target_get_unwinder, target_get_tailcall_unwinder): New declarations.
5395 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5397 * record-btrace.c (record_btrace_fetch_registers)
5398 (record_btrace_store_registers)
5399 (record_btrace_to_prepare_to_store): New.
5400 (init_record_btrace_ops): Add the above.
5402 2014-01-16 Tom Tromey <tromey@redhat.com>
5404 * windows-nat.c (windows_prepare_to_store): Add 'self' argument.
5405 * target.h (struct target_ops) <to_prepare_to_store>: Add
5407 (target_prepare_to_store): Add argument.
5408 * target.c (debug_to_prepare_to_store): Add argument.
5409 (update_current_target): Update.
5410 * remote.c (remote_prepare_to_store): Add 'self' argument.
5411 * remote-sim.c (gdbsim_prepare_to_store): Add 'self' argument.
5412 * remote-mips.c (mips_prepare_to_store): Add 'self' argument.
5413 * remote-m32r-sdi.c (m32r_prepare_to_store): Add 'self' argument.
5414 * record-full.c (record_full_core_prepare_to_store): Add 'self'
5416 * ravenscar-thread.c (ravenscar_prepare_to_store): Add argument.
5417 * nto-procfs.c (procfs_prepare_to_store): Add 'self' argument.
5418 * monitor.c (monitor_prepare_to_store): Add 'self' argument.
5419 * inf-child.c (inf_child_prepare_to_store): Add 'self' argument.
5420 * go32-nat.c (go32_prepare_to_store): Add 'self' argument.
5422 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5424 * btrace.h (replay) <replay>: New.
5425 (btrace_is_replaying): New.
5426 * btrace.c (btrace_clear): Free replay iterator.
5427 (btrace_is_replaying): New.
5428 * record-btrace.c (record_btrace_is_replaying): New.
5429 (record_btrace_info): Print insn number if replaying.
5430 (record_btrace_insn_history): Start at replay position.
5431 (record_btrace_call_history): Start at replay position.
5432 (init_record_btrace_ops): Init to_record_is_replaying.
5434 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5436 * record-btrace.c (record_btrace_insn_history_range): Include
5438 (record_btrace_insn_history_from): Adjust range.
5439 (record_btrace_call_history_range): Include
5441 (record_btrace_call_history_from): Adjust range.
5442 * NEWS: Announce changes.
5444 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5446 * record.h (enum record_print_flag)
5447 <record_print_indent_calls>: New.
5448 * record.c (get_call_history_modifiers): Recognize /c modifier.
5449 (_initialize_record): Document /c modifier.
5450 * record-btrace.c (btrace_call_history): Add btinfo parameter.
5451 Reorder fields. Optionally indent the function name. Update
5453 * NEWS: Announce changes.
5455 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5457 * common/linux-btrace.c (linux_enable_btrace): Enlarge buffer.
5459 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5461 * btrace.c (ftrace_new_function): Start counting at one.
5462 * record-btrace.c (record_btrace_info): Adjust number of calls
5464 * NEWS: Announce it.
5466 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5468 * record-btrace.c (btrace_call_history_insn_range): Print
5469 insn range as [begin, end].
5471 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5473 * btrace.h (struct btrace_func_link): New.
5474 (enum btrace_function_flag): New.
5475 (struct btrace_inst): Rename to ...
5476 (struct btrace_insn): ...this. Update all users.
5477 (struct btrace_func) <ibegin, iend>: Remove.
5478 (struct btrace_func_link): New.
5479 (struct btrace_func): Rename to ...
5480 (struct btrace_function): ...this. Update all users.
5481 (struct btrace_function) <segment, flow, up, insn, insn_offset)
5482 (number, level, flags>: New.
5483 (struct btrace_insn_iterator): Rename to ...
5484 (struct btrace_insn_history): ...this.
5486 (struct btrace_insn_iterator, btrace_call_iterator): New.
5487 (struct btrace_target_info) <btrace, itrace, ftrace>: Remove.
5488 (struct btrace_target_info) <begin, end, level>
5489 <insn_history, call_history>: New.
5490 (btrace_insn_get, btrace_insn_number, btrace_insn_begin)
5491 (btrace_insn_end, btrace_insn_prev, btrace_insn_next)
5492 (btrace_insn_cmp, btrace_find_insn_by_number, btrace_call_get)
5493 (btrace_call_number, btrace_call_begin, btrace_call_end)
5494 (btrace_call_prev, btrace_call_next, btrace_call_cmp)
5495 (btrace_find_function_by_number, btrace_set_insn_history)
5496 (btrace_set_call_history): New.
5497 * btrace.c (btrace_init_insn_iterator)
5498 (btrace_init_func_iterator, compute_itrace): Remove.
5499 (ftrace_print_function_name, ftrace_print_filename)
5500 (ftrace_skip_file): Change
5502 (ftrace_init_func): Remove.
5503 (ftrace_debug): Use new btrace_function fields.
5504 (ftrace_function_switched): Also consider gaining and
5505 losing symbol information).
5506 (ftrace_print_insn_addr, ftrace_new_call, ftrace_new_return)
5507 (ftrace_new_switch, ftrace_find_caller, ftrace_new_function)
5508 (ftrace_update_caller, ftrace_fixup_caller, ftrace_new_tailcall):
5510 (ftrace_new_function): Move. Remove debug print.
5511 (ftrace_update_lines, ftrace_update_insns): New.
5512 (ftrace_update_function): Check for call, ret, and jump.
5513 (compute_ftrace): Renamed to ...
5514 (btrace_compute_ftrace): ...this. Rewritten to compute call
5516 (btrace_fetch, btrace_clear): Updated.
5517 (btrace_insn_get, btrace_insn_number, btrace_insn_begin)
5518 (btrace_insn_end, btrace_insn_prev, btrace_insn_next)
5519 (btrace_insn_cmp, btrace_find_insn_by_number, btrace_call_get)
5520 (btrace_call_number, btrace_call_begin, btrace_call_end)
5521 (btrace_call_prev, btrace_call_next, btrace_call_cmp)
5522 (btrace_find_function_by_number, btrace_set_insn_history)
5523 (btrace_set_call_history): New.
5524 * record-btrace.c (require_btrace): Use new btrace thread
5526 (record_btrace_info, btrace_insn_history)
5527 (record_btrace_insn_history, record_btrace_insn_history_range):
5528 Use new btrace thread info fields and new iterator.
5529 (btrace_func_history_src_line): Rename to ...
5530 (btrace_call_history_src_line): ...this. Use new btrace
5532 (btrace_func_history): Rename to ...
5533 (btrace_call_history): ...this. Use new btrace thread info
5534 fields and new iterator.
5535 (record_btrace_call_history, record_btrace_call_history_range):
5536 Use new btrace thread info fields and new iterator.
5538 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5540 * frame.h (frame_id_build_unavailable_stack_special): New.
5541 * frame.c (frame_id_build_unavailable_stack_special): New.
5543 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5545 * amd64-tdep.c (amd64_classify_insn_at, amd64_insn_is_call)
5546 (amd64_insn_is_ret, amd64_insn_is_jump, amd64_jmp_p): New.
5547 (amd64_init_abi): Add insn_is_call, insn_is_ret, and insn_is_jump
5549 * i386-tdep.c (i386_insn_is_call, i386_insn_is_ret)
5550 (i386_insn_is_jump, i386_jmp_p): New.
5551 (i386_gdbarch_init): Add insn_is_call, insn_is_ret, and
5552 insn_is_jump to gdbarch.
5553 * gdbarch.sh (insn_is_call, insn_is_ret, insn_is_jump): New.
5554 * gdbarch.h: Regenerated.
5555 * gdbarch.c: Regenerated.
5556 * arch-utils.h (default_insn_is_call, default_insn_is_ret)
5557 (default_insn_is_jump): New.
5558 * arch-utils.c (default_insn_is_call, default_insn_is_ret)
5559 (default_insn_is_jump): New.
5561 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5563 * common/btrace-common.h (btrace_read_type) <btrace_read_all>:
5565 (btrace_read_type) <BTRACE_READ_ALL>: ... this. Update users.
5566 (btrace_read_type) <btrace_read_new>: Change to ...
5567 (btrace_read_type) <BTRACE_READ_NEW>: ... this. Update users.
5569 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5571 * common/linux-btrace.c (linux_read_btrace): Free trace from
5574 2014-01-15 Doug Evans <dje@google.com>
5576 * dwarf2read.c (open_and_init_dwp_file): Use pulongest to print
5579 2014-01-15 Tom Tromey <tromey@redhat.com>
5581 * dbxread.c (process_one_symbol): Use set_objfile_main_name.
5582 * dwarf2read.c (read_partial_die): Use set_objfile_main_name.
5583 * objfiles.c (get_objfile_bfd_data): Initialize language_of_main.
5584 (set_objfile_main_name): New function.
5585 * objfiles.h (struct objfile_per_bfd_storage) <name_of_main,
5586 language_of_main>: New fields.
5587 (set_objfile_main_name): Declare.
5588 * symtab.c (find_main_name): Loop over objfiles to find the main
5590 (set_main_name): Now static.
5591 (get_main_info): Add comment.
5592 * symtab.h (set_main_name): Don't declare.
5594 2014-01-15 Tom Tromey <tromey@redhat.com>
5596 * symtab.c (main_progspace_key): New global.
5597 (struct main_info): New.
5598 (name_of_main, language_of_main): Remove.
5599 (get_main_info, main_info_cleanup): New function.
5600 (set_main_name, main_name, main_language): Use get_main_info.
5601 (_initialize_symtab): Initialize main_progspace_key.
5603 2014-01-15 Tom Tromey <tromey@redhat.com>
5605 * dbxread.c (process_one_symbol): Update.
5606 * dwarf2read.c (read_partial_die): Update.
5607 * symfile.c (set_initial_language): Call main_language.
5608 * symtab.c (language_of_main): Now static.
5609 (set_main_name): Add 'lang' parameter.
5610 (find_main_name): Update.
5611 (main_language): New function.
5612 (symtab_observer_executable_changed): Update.
5613 * symtab.h (set_main_name): Update.
5614 (language_of_main): Remove.
5615 (main_language): Declare.
5617 2014-01-15 Tom Tromey <tromey@redhat.com>
5619 * symfile.c (init_entry_point_info): Use new "initialized" field.
5621 * objfiles.h (struct entry_point) <initialized>: New field.
5622 (struct objfile_per_bfd_storage) <ei>: New field, moved from...
5623 (struct objfile) <ei>: ...here. Remove.
5624 * objfiles.c (entry_point_address_query): Update.
5626 2014-01-15 Tom Tromey <tromey@redhat.com>
5628 * objfiles.c (entry_point_address_query): Relocate entry point
5630 (objfile_relocate1): Do not relocate entry point address.
5631 * objfiles.h (struct entry_info) <entry_point>: Update comment.
5632 <the_bfd_section_index>: New field.
5633 * symfile.c (init_entry_point_info): Find the entry point's
5636 2014-01-15 Tom Tromey <tromey@redhat.com>
5638 * solib-frv.c (enable_break): Use entry_point_address_query.
5640 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
5642 * NEWS: Add note on improved process record-replay on
5643 arm*-linux* targets.
5645 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
5647 * arm-tdep.c (enum arm_record_result): New enum.
5648 (arm_record_unsupported_insn): New function.
5649 (arm_record_coproc_data_proc): Removed.
5650 (thumb2_record_ld_st_multiple): New function.
5651 (thumb2_record_ld_st_dual_ex_tbb): New function.
5652 (thumb2_record_data_proc_sreg_mimm): New function.
5653 (thumb2_record_ps_dest_generic): New function.
5654 (thumb2_record_branch_misc_cntrl): New function.
5655 (thumb2_record_str_single_data): New function.
5656 (thumb2_record_ld_mem_hints): New function.
5657 (thumb2_record_ld_word): New function.
5658 (thumb2_record_lmul_lmla_div): New function.
5659 (thumb2_record_decode_insn_handler): New function.
5660 (decode_insn): Add thumb32 instruction handlers.
5662 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
5664 * arm-linux-tdep.c: Include "record-full.h" and "linux-record.h".
5665 (struct arm_linux_record_tdep): Declare.
5666 (arm_canonicalize_syscall): New function.
5667 (arm_all_but_pc_registers_record): New function.
5668 (arm_linux_syscall_record): New function.
5669 (arm_linux_init_abi): Add syscall recording constructs.
5670 * arm-tdep.c (thumb_record_ldm_stm_swi): Update thumb syscall
5671 decoding. (arm_record_coproc_data_proc): Update arm syscall
5673 * arm-tdep.h (struct gdbarch_tdep) <arm_swi_record>: Remove.
5674 <arm_syscall_record>: New field.
5675 * configure.tgt (arm*-*-linux*): Add linux-record.o to
5678 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
5680 * arm-tdep.c (thumb_record_misc): Update to use sp as base
5681 register for push instruction recording.
5683 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
5685 * arm-tdep.c (thumb_record_misc): Update to correct logical
5686 error while recording ldm, ldmia and pop instructions.
5688 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
5690 * arm-tdep.c (struct arm_mem_r) <addr>: Change type to uint32_t.
5692 2014-01-15 Pedro Alves <palves@redhat.com>
5694 * go32-nat.c (go32_open, go32_close, go32_attach, go32_detach)
5695 (go32_resume, go32_fetch_registers, store_register)
5696 (go32_store_registers, go32_prepare_to_store)
5697 (go32_xfer_memory, go32_files_info, go32_kill_inferior)
5698 (go32_create_inferior, go32_can_run, go32_terminal_init)
5699 (go32_terminal_inferior, go32_terminal_ours): Delete forward
5702 2014-01-15 Tom Tromey <tromey@redhat.com>
5704 * target.h (async_callback_ftype): New typedef.
5705 (struct target_ops) <to_async>: Use it.
5707 2014-01-15 Joel Brobecker <brobecker@adacore.com>
5709 * python/py-value.c (get_field_type): Remove unnecessary curly
5710 braces for single-statement if block.
5712 2014-01-15 Joel Brobecker <brobecker@adacore.com>
5714 * python/py-type.c (convert_field): Add missing empty line
5717 2014-01-14 Doug Evans <dje@google.com>
5719 * symfile.h (expand_symtabs_matching): Renamed from
5720 expand_partial_symbol_names. Update prototype.
5721 (map_symbol_filenames): Renamed from map_partial_symbol_filenames.
5722 * symfile.c (expand_symtabs_matching): Renamed from
5723 expand_partial_symbol_names. New args file_matcher, kind.
5724 Rename arg fun to symbol_matcher.
5725 (map_symbol_filenames): Renamed from map_partial_symbol_filenames.
5726 * ada-lang.c (ada_complete_symbol_matcher): Renamed from
5727 ada_expand_partial_symbol_name.
5728 (ada_make_symbol_completion_list): Update to call
5729 expand_symtabs_matching.
5730 (ada_add_global_exceptions): Call expand_symtabs_matching.
5731 * mi/mi-cmd-file.c (mi_cmd_file_list_exec_source_files): Update to
5732 call map_symbol_filenames.
5733 * symtab.c (sources_info): Update to call map_symbol_filenames.
5734 (search_symbols): Call expand_symtabs_matching.
5735 (symbol_completion_matcher): Renamed from expand_partial_symbol_name.
5736 (default_make_symbol_completion_list_break_on): Update to call
5737 expand_symtabs_matching.
5738 (make_source_files_completion_list): Update to call
5739 map_symbol_filenames.
5741 2014-01-14 Doug Evans <dje@google.com>
5743 * symfile.h (expand_symtabs_file_matcher_ftype): New typedef.
5744 (expand_symtabs_symbol_matcher_ftype): New typedef.
5745 (quick_symbol_functions.expand_symtabs_matching): Update to use.
5746 expand_symtabs_file_matcher_ftype, expand_symtabs_symbol_matcher_ftype.
5747 * symfile.c (expand_partial_symbol_names): Update to use
5748 expand_symtabs_symbol_matcher_ftype.
5749 * dwarf2read.c (dw2_expand_symtabs_matching): Update to use
5750 expand_symtabs_file_matcher_ftype, expand_symtabs_symbol_matcher_ftype.
5751 Arg name_matcher renamed to symbol_matcher.
5752 * psymtab.c (recursively_search_psymtabs): Update to use
5753 expand_symtabs_symbol_matcher_ftype. Arg name_matcher renamed to
5755 (expand_symtabs_matching_via_partial): Update to use
5756 expand_symtabs_file_matcher_ftype, expand_symtabs_symbol_matcher_ftype.
5757 Arg name_matcher renamed to symbol_matcher.
5759 2014-01-14 Doug Evans <dje@google.com>
5761 * psymtab.c (expand_partial_symbol_names): Delete, moved to symfile.c.
5762 (map_partial_symbol_filenames): Ditto.
5763 * psymtab.h (expand_partial_symbol_names): Delete, moved to symfile.h.
5764 (map_partial_symbol_filenames): Ditto.
5765 * symfile.c (expand_partial_symbol_names): Moved here from psymtab.c.
5766 (map_partial_symbol_filenames): Ditto.
5767 * symfile.h (expand_partial_symbol_names): Moved here from psymtab.h.
5768 (map_partial_symbol_filenames): Ditto.
5769 * symtab.c: Delete #include "psymtab.h".
5771 2014-01-14 Pedro Alves <palves@redhat.com>
5772 Tom Tromey <tromey@redhat.com>
5774 * infrun.c (use_displaced_stepping): Use find_record_target
5775 instead of RECORD_IS_USED.
5776 (adjust_pc_after_break): Use record_full_is_used instead of
5778 * record-btrace.c (record_btrace_open): Call record_preopen
5779 instead of checking RECORD_IS_USED.
5780 * record-full.c (record_full_shortname)
5781 (record_full_core_shortname): New globals.
5782 (record_full_is_used): New function.
5783 (find_full_open): Call record_preopen instead of checking
5785 (init_record_full_ops): Set the target's shortname to
5786 record_full_shortname.
5787 (init_record_full_core_ops): Set the target's shortname to
5788 record_full_core_shortname.
5789 * record-full.h (record_full_is_used): Declare.
5790 * record.c (find_record_target): Make extern.
5791 (record_preopen): New function.
5792 * record.h (RECORD_IS_USED): Delete macro.
5793 (find_record_target, record_preopen): Declare functions.
5795 2014-01-14 Yao Qi <yao@codesourcery.com>
5797 * gdbarch.sh (core_xfer_shared_libraries): Change its argument
5798 'len''s type to ULONGEST.
5799 (core_xfer_shared_libraries_aix): Likewise.
5800 * gdbarch.c, gdbarch.h: Regenerated.
5801 * i386-cygwin-tdep.c (windows_core_xfer_shared_libraries):
5802 Change type of 'len' to ULONGEST.
5803 * rs6000-aix-tdep.c (rs6000_aix_ld_info_to_xml): Likewise.
5804 (rs6000_aix_core_xfer_shared_libraries_aix): Likewise.
5806 2014-01-14 Yao Qi <yao@codesourcery.com>
5808 * common/linux-osdata.c (linux_xfer_osdata_processes): Change
5809 type of 'len' to ULONGEST.
5810 (linux_xfer_osdata_processgroups): Likewise.
5811 (linux_xfer_osdata_threads): Likewise.
5812 (linux_xfer_osdata_fds): Likewise.
5813 (linux_xfer_osdata_isockets): Likewise.
5814 (linux_xfer_osdata_shm): Likewise.
5815 (linux_xfer_osdata_sem): Likewise.
5816 (linux_xfer_osdata_msg): Likewise.
5817 (linux_common_xfer_osdata): Likewise.
5818 (struct osdata_type) <getter>: Likewise.
5819 * common/linux-osdata.h (linux_common_xfer_osdata): Update
5822 2014-01-14 Yao Qi <yao@codesourcery.com>
5824 * target.h (target_xfer_partial_ftype): Update.
5825 (struct target_ops) <to_xfer_partial>: Change 'len' type to
5827 * aix-thread.c (aix_thread_xfer_partial): Change type of
5828 argument 'len' to ULONGEST.
5829 * auxv.c (procfs_xfer_auxv): Likewise.
5830 (ld_so_xfer_auxv): Likewise.
5831 (memory_xfer_auxv): Likewise.
5832 * bfd-target.c (target_bfd_xfer_partial): Likewise.
5833 * bsd-kvm.c (bsd_kvm_xfer_partial): Likewise.
5834 * bsd-uthread.c (bsd_uthread_xfer_partial): Likewise.
5835 * corelow.c (core_xfer_partial): Likewise.
5836 * ctf.c (ctf_xfer_partial): Likewise.
5837 * darwin-nat.c (darwin_read_write_inferior): Likewise. Use
5839 (darwin_read_dyld_info): Likewise.
5840 (darwin_xfer_partial): Likewise.
5841 * exec.c (section_table_xfer_memory_partial): Likewise.
5842 (exec_xfer_partial): Likewise.
5843 * exec.h (section_table_xfer_memory_partial): Update
5845 * gnu-nat.c (gnu_xfer_memory): Likewise. Call pulongest
5846 instead of plongest.
5847 (gnu_xfer_partial): Likewise.
5848 * ia64-hpux-nat.c (ia64_hpux_xfer_memory): Likewise.
5849 (ia64_hpux_xfer_solib_got): Likewise.
5850 (ia64_hpux_xfer_partial): Likewise.
5851 * ia64-linux-nat.c (ia64_linux_xfer_partial):
5852 * inf-ptrace.c (inf_ptrace_xfer_partial):
5853 * inf-ttrace.c (inf_ttrace_xfer_partial):
5854 * linux-nat.c (linux_xfer_siginfo): Likewise.
5855 (linux_nat_xfer_partial): Likewise.
5856 (spu_enumerate_spu_ids, linux_proc_xfer_spu): Likewise.
5857 (linux_nat_xfer_osdata, linux_xfer_partial): Likewise.
5858 * monitor.c (monitor_xfer_memory): Likewise.
5859 (monitor_xfer_partial): Likewise.
5860 * procfs.c (procfs_xfer_partial): Likewise.
5861 * record-full.c (record_full_xfer_partial): Likewise.
5862 (record_full_core_xfer_partial): Likewise.
5863 * remote-sim.c (gdbsim_xfer_memory): Likewise. Call pulongest
5864 instead of plongest.
5865 (gdbsim_xfer_partial): Likewise.
5866 * remote.c (remote_xfer_partial): Likewise.
5867 * rs6000-aix-tdep.c (rs6000_aix_ld_info_to_xml): Likewise.
5868 * rs6000-aix-tdep.h (rs6000_aix_ld_info_to_xml): Update
5870 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
5871 (rs6000_xfer_shared_libraries): Likewise.
5872 * sol-thread.c (sol_thread_xfer_partial): Likewise.
5873 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
5874 (sparc_xfer_partial): Likewise.
5875 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise.
5876 (spu_xfer_partial): Likewise.
5877 * spu-multiarch.c (spu_xfer_partial): Likewise.
5878 * target.c (target_read_live_memory): Likewise.
5879 (memory_xfer_live_readonly_partial): Likewise.
5880 (memory_xfer_partial, memory_xfer_partial_1): Likewise.
5881 (target_xfer_partial, default_xfer_partial): Likewise.
5882 (current_xfer_partial): Likewise.
5883 * tracepoint.c (tfile_xfer_partial): Likewise.
5884 * windows-nat.c (windows_xfer_memory): Likewise. Call
5885 pulongest instead of plongest.
5886 (windows_xfer_partial): Likewise.
5887 (windows_xfer_shared_libraries): Likewise.
5889 2014-01-14 Yao Qi <yao@codesourcery.com>
5891 * rs6000-nat.c (rs6000_xfer_shared_libraries): Use
5892 target_xfer_partial_ftype.
5894 2014-01-13 Siva Chandra Reddy <sivachandra@google.com>
5898 * valops.c (value_struct_elt_bitpos): New function
5899 * py-type.c (convert_field): Set 'name' attribute of a gdb.Field
5900 object to 'None' if the field name is an empty string ("").
5901 * python/py-value.c (valpy_getitem): Use 'bitpos' and 'type'
5902 attribute to look for a field when 'name' is 'None'.
5903 (get_field_type): New function
5905 2014-01-13 Doug Evans <dje@google.com>
5908 * dwarf2read.c (dwarf2_get_dwz_file): Call gdb_bfd_record_inclusion.
5909 (try_open_dwop_file): Ditto.
5910 * gdb_bfd.c: #include "vec.h".
5911 (bfdp): New typedef.
5912 (struct gdb_bfd_data): New member included_bfds.
5913 (gdb_bfd_unref): Unref all included bfds.
5914 (gdb_bfd_record_inclusion): New function.
5915 * gdb_bfd.h (gdb_bfd_record_inclusion): Declare.
5917 2014-01-13 Tom Tromey <tromey@redhat.com>
5919 * gdbcore.h (deprecated_core_resize_section_table): Remove.
5921 2014-01-13 Tom Tromey <tromey@redhat.com>
5923 * defs.h (use_windows): Remove.
5924 * gdb.c (main): Update.
5925 * main.c (captured_main, gdb_main): Update.
5926 * main.h (struct captured_main_args) <use_windows>: Remove.
5927 * top.c (use_windows): Remove.
5929 2014-01-13 Tom Tromey <tromey@redhat.com>
5931 * defs.h (deprecated_flush_hook): Remove.
5933 2014-01-13 Jan Kratochvil <jan.kratochvil@redhat.com>
5936 * linux-thread-db.c (try_thread_db_load): Add parameter
5937 check_auto_load_safe. Move here the file_is_auto_load_safe call.
5938 (try_thread_db_load_from_pdir_1): Move it there from here.
5939 (try_thread_db_load_from_sdir): Update caller.
5940 (try_thread_db_load_from_dir): Move it there from here.
5942 2014-01-13 Patrick Palka <patrick@parcs.ath.cx>
5944 * regformats/regdat.sh: Always rewrite the register file.
5946 2014-01-13 Pedro Alves <palves@redhat.com>
5948 * Makefile.in (CHECK_HEADERS): New variable.
5949 (check-headers:): New rule.
5951 2014-01-13 Tom Tromey <tromey@redhat.com>
5953 * cli/cli-setshow.c (do_set_command): Update.
5954 * defs.h (deprecated_set_hook): Remove.
5955 * top.c (deprecated_set_hook): Remove.
5957 2014-01-13 Pedro Alves <palves@redhat.com>
5959 * tracepoint.c (tfile_fetch_registers): Don't infer the PC from
5960 the tracepoint if the PC is a pseudo-register.
5962 2014-01-13 Tom Tromey <tromey@redhat.com>
5964 * defs.h (XCALLOC): Remove.
5965 * bcache.c (bcache_xmalloc): Use XCNEW, not XCALLOC.
5966 (print_bcache_statistics): Use XCNEWVEC, not XCALLOC.
5967 * dwarf2loc.c (allocate_piece_closure): Likewise.
5968 * elfread.c (elf_symfile_segments): Likewise.
5969 (elf_symfile_segments): Likewise.
5970 * gdbtypes.c (copy_type_recursive): Likewise.
5971 * i386-tdep.c (i386_gdbarch_init): Use XCNEW, not XCALLOC.
5972 * jit.c (jit_frame_sniffer): Use XCNEWVEC, not XCALLOC.
5973 * minsyms.c (prim_record_minimal_symbol_full): Use XCNEW, not
5975 * mt-tdep.c (mt_gdbarch_init): Likewise.
5976 * opencl-lang.c (allocate_lval_closure): Use XCNEWVEC, not
5978 * psymtab.c (psymbol_compare): Use XCNEW, not XCALLOC.
5979 * regcache.c (regcache_xmalloc_1): Use XCNEWVEC, not XCALLOC.
5980 * registry.c (registry_alloc_data): Likewise.
5981 * rs6000-tdep.c (rs6000_gdbarch_init): Use XCNEW, not XCALLOC.
5982 * s390-linux-tdep.c (s390_gdbarch_init): Likewise.
5983 * serial.c (serial_fdopen_ops): Likewise.
5984 * solib-aix.c (solib_aix_get_section_offsets): Use XCNEWVEC, not
5986 * spu-tdep.c (spu_gdbarch_init): Use XCNEW, not XCALLOC.
5987 * symfile.c (default_symfile_segments): Use XCNEW and XCNEWVEC,
5990 2014-01-13 Tom Tromey <tromey@redhat.com>
5992 * defs.h (XMALLOC): Remove.
5993 * avr-tdep.c (avr_gdbarch_init): Use XNEW, not XMALLOC.
5994 * bfin-tdep.c (bfin_gdbarch_init): Likewise.
5995 * cli-out.c (struct ui_out *): Likewise.
5996 * cli/cli-dump.c (add_dump_command): Likewise.
5997 (add_dump_command): Likewise.
5998 * complaints.c (get_complaints): Likewise.
5999 (find_complaint): Likewise.
6000 * dwarf2-frame.c (execute_cfa_program): Likewise.
6001 * dwarf2read.c (abbrev_table_read_table): Likewise.
6002 * gdbarch.sh: Likewise.
6003 * gdbarch.c: Rebuild.
6004 * inf-ttrace.c (inf_ttrace_add_page): Likewise.
6005 * interps.c (interp_new): Likewise.
6006 * lm32-tdep.c (lm32_gdbarch_init): Likewise.
6007 * m32r-tdep.c (m32r_gdbarch_init): Likewise.
6008 * mi/mi-console.c (mi_console_file_new): Likewise.
6009 * mi/mi-interp.c (mi_interpreter_init): Likewise.
6010 * mi/mi-out.c (mi_out_new): Likewise.
6011 * mi/mi-parse.c (mi_parse): Likewise.
6012 * microblaze-tdep.c (microblaze_gdbarch_init): Likewise.
6013 * moxie-tdep.c (moxie_gdbarch_init): Likewise.
6014 * observer.c (xalloc_observer_list_node): Likewise.
6015 * regcache.c (regcache_xmalloc_1): Likewise.
6016 * reggroups.c (reggroup_new): Likewise.
6017 (_initialize_reggroup): Likewise.
6018 * registry.c (register_data_with_cleanup): Likewise.
6019 * remote.c (remote_notif_stop_alloc_reply): Likewise.
6020 * ser-base.c (serial_ttystate): Likewise.
6021 * ser-mingw.c (make_pipe_state): Likewise.
6022 * ser-pipe.c (pipe_open): Likewise.
6023 * serial.c (serial_open): Likewise.
6024 * sh64-tdep.c (sh64_gdbarch_init): Likewise.
6025 * tui/tui-data.c (tui_alloc_generic_win_info): Likewise.
6026 (tui_alloc_win_info): Likewise.
6027 (tui_add_content_elements): Likewise.
6028 * tui/tui-file.c (tui_file_new): Likewise.
6029 * tui/tui-out.c (tui_out_new): Likewise.
6030 * ui-file.c (mem_file_new): Likewise.
6031 * ui-out.c (push_level): Likewise.
6032 (make_cleanup_ui_out_end): Likewise.
6033 (append_header_to_list): Likewise.
6034 (ui_out_new): Likewise.
6035 * user-regs.c (user_reg_add_builtin): Likewise.
6037 2014-01-13 Tom Tromey <tromey@redhat.com>
6039 * defs.h (XZALLOC): Remove.
6040 * ada-lang.c (get_ada_inferior_data): Use XCNEW, not XZALLOC.
6041 * ada-tasks.c (get_ada_tasks_pspace_data): Likewise.
6042 (get_ada_tasks_inferior_data): Likewise.
6043 * auto-load.c (get_auto_load_pspace_data): Likewise.
6044 * auxv.c (get_auxv_inferior_data): Likewise.
6045 * bfd-target.c (target_bfd_reopen): Likewise.
6046 * breakpoint.c (get_catch_syscall_inferior_data): Likewise.
6047 (deprecated_insert_raw_breakpoint): Likewise.
6048 * bsd-uthread.c (bsd_uthread_pid_to_str): Likewise.
6049 * corelow.c (core_open): Likewise.
6050 * darwin-nat.c (darwin_check_new_threads): Likewise.
6051 (darwin_attach_pid): Likewise.
6052 * dummy-frame.c (dummy_frame_push): Likewise.
6053 * dwarf2-frame.c (dwarf2_frame_cache): Likewise.
6054 * dwarf2loc.c (allocate_piece_closure): Likewise.
6055 * elfread.c (elf_symfile_segments): Likewise.
6056 * eval.c (ptrmath_type_p): Likewise.
6057 * exceptions.c (EXCEPTIONS_SIGJMP_BUF): Likewise.
6058 * gdbtypes.c (alloc_type_arch): Likewise.
6059 (alloc_type_instance): Likewise.
6060 * hppa-tdep.c (hppa_gdbarch_init): Likewise.
6061 * inf-child.c (inf_child_can_use_agent): Likewise.
6062 * inflow.c (get_inflow_inferior_data): Likewise.
6063 * infrun.c (save_infcall_suspend_state): Likewise.
6064 * jit.c (jit_reader_load): Likewise.
6065 (get_jit_objfile_data): Likewise.
6066 (get_jit_program_space_data): Likewise.
6067 (jit_object_open_impl): Likewise.
6068 (jit_symtab_open_impl): Likewise.
6069 (jit_block_open_impl): Likewise.
6070 (jit_frame_sniffer): Likewise.
6071 * linux-fork.c (add_fork): Likewise.
6072 * maint.c (make_command_stats_cleanup): Likewise.
6073 * objfiles.c (get_objfile_pspace_data): Likewise.
6074 * opencl-lang.c (struct lval_closure): Likewise.
6075 * osdata.c (osdata_start_osdata): Likewise.
6076 * progspace.c (new_address_space): Likewise.
6077 (add_program_space): Likewise.
6078 * remote-sim.c (get_sim_inferior_data): Likewise.
6079 * sh-tdep.c (sh_gdbarch_init): Likewise.
6080 * skip.c (Ignore): Likewise.
6081 (skip_delete_command): Likewise.
6082 * solib-aix.c (get_solib_aix_inferior_data): Likewise.
6083 (library_list_start_library): Likewise.
6084 (solib_aix_current_sos): Likewise.
6085 * solib-darwin.c (get_darwin_info): Likewise.
6086 (darwin_current_sos): Likewise.
6087 * solib-dsbt.c (get_dsbt_info): Likewise.
6088 * solib-ia64-hpux.c (new_so_list): Likewise.
6089 (ia64_hpux_get_solib_linkage_addr): Likewise.
6090 * solib-spu.c (append_ocl_sos): Likewise.
6091 (spu_current_sos): Likewise.
6092 * solib-svr4.c (get_svr4_info): Likewise.
6093 (svr4_keep_data_in_core): Likewise.
6094 (library_list_start_library): Likewise.
6095 (svr4_default_sos): Likewise.
6096 (svr4_read_so_list): Likewise.
6097 * solib-target.c (library_list_start_library): Likewise.
6098 (solib_target_current_sos): Likewise.
6099 * sparc-tdep.c (sparc32_gdbarch_init): Likewise.
6100 * symfile-debug.c (install_symfile_debug_logging): Likewise.
6101 * symfile.c (default_symfile_segments): Likewise.
6102 * target-descriptions.c (tdesc_data_init): Likewise.
6103 (tdesc_create_reg): Likewise.
6104 (struct tdesc_type *): Likewise.
6105 (tdesc_create_vector): Likewise.
6106 (tdesc_set_struct_size): Likewise.
6107 (struct tdesc_type *): Likewise.
6108 (tdesc_free_feature): Likewise.
6109 (tdesc_create_feature): Likewise.
6110 * windows-nat.c (windows_add_thread): Likewise.
6111 (windows_make_so): Likewise.
6112 * xml-support.c (gdb_xml_body_text): Likewise.
6113 (gdb_xml_create_parser_and_cleanup): Likewise.
6114 (xml_process_xincludes): Likewise.
6115 * xml-syscall.c (allocate_syscalls_info): Likewise.
6116 (syscall_create_syscall_desc): Likewise.
6118 2014-01-12 Sergio Durigan Junior <sergiodj@redhat.com>
6120 * i386-tdep.c (i386_stap_parse_special_token_triplet): New
6121 function, with code from i386_stap_parse_special_token.
6122 (i386_stap_parse_special_token_three_arg_disp): Likewise.
6123 (i386_stap_parse_special_token): Move code to the two functions
6126 2014-01-09 Pedro Alves <palves@redhat.com>
6127 Hui Zhu <hui@codesourcery.com>
6130 * breakpoint.c (insert_bp_location): Rename hw_bp_err_string to
6131 bp_err_string. Don't mark the location shlib_disabled if the
6132 error thrown wasn't a generic or memory error. Catch errors
6133 thrown while inserting breakpoints in overlayed code. Output
6134 error message of software breakpoints.
6135 * remote.c (remote_insert_breakpoint): If this breakpoint has
6136 target-side commands but this stub doesn't support Z0 packets,
6137 throw NOT_SUPPORTED_ERROR error.
6138 * exceptions.h (enum errors) <NOT_SUPPORTED_ERROR>: New error.
6139 * target.h (target_insert_breakpoint): Extend comment.
6140 (target_insert_hw_breakpoint): Add comment.
6142 2014-01-08 Pedro Alves <palves@redhat.com>
6144 * remote.c (remote_add_thread): Add threads silently if starting
6146 (remote_notice_new_inferior): If in all-stop, and starting up,
6147 don't call notice_new_inferior.
6148 (get_current_thread): New function, factored out from ...
6149 (add_current_inferior_and_thread): ... this. Adjust.
6150 (remote_start_remote) <all-stop>: Fetch the thread list. If we
6151 found any thread, then select the remote's current thread as GDB's
6154 2014-01-08 Joel Brobecker <brobecker@adacore.com>
6156 * NEWS: Create a new section for the next release branch.
6157 Rename the section of the current branch, now that it has
6160 2014-01-08 Joel Brobecker <brobecker@adacore.com>
6162 GDB 7.7 branch created (79301218fa0f074c5656db0ec8972a5ddcf91fb5):
6163 * version.in: Bump version to 7.7.50.DATE-cvs.
6165 2014-01-08 Yao Qi <yao@codesourcery.com>
6167 * spu-linux-nat.c (spu_symbol_file_add_from_memory): Change
6168 type of 'id' to gdb_byte. Cast 'id' to 'const char *'.
6169 (spu_xfer_partial): Cast 'buf' to 'const char *'.
6171 2014-01-08 Yao Qi <yao@codesourcery.com>
6173 * spu-linux-nat.c (spu_symbol_file_add_from_memory): Pass
6174 return value of bfd_get_filename to symbol_file_add_from_bfd.
6176 2014-01-08 Pierre Muller <muller@sourceware.org>
6179 * coff-pe-read.c (struct read_pe_section_data): Add index field.
6180 (add_pe_exported_sym): Use SECTION_DATA->INDEX for call
6181 to prim_record_mininal_symbol_and_info.
6182 (add_pe_forwarded_sym): Use known section number of forwarded symbol
6183 in call to prim_record_minimal_symbol_and_info.
6184 (read_pe_exported_syms): Set index field of section_data.
6186 2014-01-07 Andrew Pinski <apinski@cavium.com>
6188 * features/aarch64-core.xml (cpsr): Change to be 64bit.
6189 * features/aarch64.c: Regenerate.
6191 2014-01-07 Andreas Schwab <schwab@linux-m68k.org>
6193 * target.c (return_null): Define.
6194 (update_current_target): Use it instead of return_zero for
6195 functions that return a pointer.
6197 2014-01-07 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
6199 * source.c (add_path): Fix check for duplicated paths in the previously
6202 2014-01-07 Honggyu Kim <hong.gyu.kim@lge.com>
6204 * ada-lang.c: Remove duplicated include statements.
6205 * alphabsd-nat.c: Ditto.
6206 * amd64-darwin-tdep.c: Ditto.
6207 * amd64fbsd-nat.c: Ditto.
6208 * auto-load.c: Ditto.
6210 * breakpoint.c: Ditto.
6212 * fork-child.c: Ditto.
6213 * gdb_usleep.c: Ditto.
6214 * i386-darwin-tdep.c: Ditto.
6215 * i386fbsd-nat.c: Ditto.
6217 * inferior.c: Ditto.
6219 * linux-nat.c: Ditto.
6220 * linux-tdep.c: Ditto.
6221 * m68kbsd-nat.c: Ditto.
6222 * m68klinux-nat.c: Ditto.
6223 * microblaze-tdep.c: Ditto.
6224 * mips-linux-tdep.c: Ditto.
6225 * mn10300-tdep.c: Ditto.
6226 * nto-tdep.c: Ditto.
6227 * opencl-lang.c: Ditto.
6229 * printcmd.c: Ditto.
6230 * regcache.c: Ditto.
6231 * remote-m32r-sdi.c: Ditto.
6235 * tilegx-linux-nat.c: Ditto.
6236 * tilegx-tdep.c: Ditto.
6237 * tracepoint.c: Ditto.
6239 * vaxbsd-nat.c: Ditto.
6240 * windows-nat.c: Ditto.
6241 * xtensa-tdep.c: Ditto.
6243 2014-01-07 Yao Qi <yao@codesourcery.com>
6245 * spu-linux-nat.c (_initialize_spu_nat): Declare.
6247 2014-01-07 Yao Qi <yao@codesourcery.com>
6248 Joel Brobecker <brobecker@adacore.com>
6250 * aix-thread.c (pdc_read_regs): Cast parameter to uintptr_t.
6251 (pdc_write_regs): Likewise.
6252 (fetch_regs_kernel_thread): Likewise.
6253 (store_regs_kernel_thread): Likewise.
6255 2014-01-07 Joel Brobecker <brobecker@adacore.com>
6257 * ada-varobj.c (ada_varobj_adjust_for_child_access): Convert
6258 tagged type objects to their actual type.
6260 2014-01-07 Joel Brobecker <brobecker@adacore.com>
6262 * ada-valprint.c (print_field_values): Add "language" parameter.
6263 Update calls to print_field_values and print_variant_part.
6264 Pass new parameter "language" in call to val_print instead
6265 of "current_language". Replace call to ada_val_print by call
6267 (print_variant_part): Add "language" parameter.
6268 (ada_val_print_struct_union): Update call to print_field_values.
6270 2014-01-07 Joel Brobecker <brobecker@adacore.com>
6272 * ada-valprint.c (ui_memcpy): Delete.
6273 (ada_print_floating): Update documentation. Add empty line
6274 between between function documentation and implementation.
6275 Delete variable "buffer". Use ui_file_xstrdup in place of
6276 ui_file_put. Minor adjustments following this change.
6278 2014-01-07 Joel Brobecker <brobecker@adacore.com>
6280 * ada-valprint.c (ada_val_print_string): New function,
6281 extracted from ada_val_print_array.
6282 (ada_val_print_array): Replace extracted code by call
6283 to ada_val_print_string followed by a return. Move
6284 "else" branch to the function's top block.
6286 2014-01-07 Joel Brobecker <brobecker@adacore.com>
6288 * ada-valprint.c (ada_val_print_array): Move implementation
6289 down. Rename parameter "offset" and "val" into "offset_aligned"
6290 and "original_value" respectively. Add parameter "offset".
6292 2014-01-07 Joel Brobecker <brobecker@adacore.com>
6294 * ada-valprint.c (ada_val_print_ref): Rewrite by mostly
6295 re-organizing the code. Change the "???" message printed
6296 when target type is a TYPE_CODE_UNDEF into
6297 "<ref to undefined type>".
6299 2014-01-07 Joel Brobecker <brobecker@adacore.com>
6301 * ada-valprint.c (print_record): Delete, implementation inlined...
6302 (ada_val_print_struct_union): ... here. Remove call to
6303 ada_check_typedef in inlined implementation.
6305 2014-01-07 Joel Brobecker <brobecker@adacore.com>
6307 * ada-valprint.c (ada_val_print_gnat_array): New function,
6308 extracted from ada_val_print_1;
6309 (ada_val_print_ptr, ada_val_print_num, ada_val_print_enum)
6310 (ada_val_print_flt, ada_val_print_struct_union)
6311 (ada_val_print_ref): Likewise.
6312 (ada_val_print_1): Delete variables i and elttype.
6313 Replace extracted-out code by call to corresponding
6316 2014-01-07 Joel Brobecker <brobecker@adacore.com>
6318 * ada-valprint.c (ada_val_print_1): Remove call to gdb_flush.
6320 2014-01-07 Joel Brobecker <brobecker@adacore.com>
6322 * ada-valprint.c (ada_val_print_1): Replace calls to
6323 ada_val_print_1 by calls to val_print.
6325 2014-01-07 Joel Brobecker <brobecker@adacore.com>
6327 * ada-valprint.c (ada_val_print_1): Add parameter "language".
6328 Update calls to self accordingly. Replace calls to c_val_print
6329 by calls to val_print.
6331 2014-01-07 Joel Brobecker <brobecker@adacore.com>
6333 * ada-valprint.c (print_record): Delete declaration.
6334 (adjust_type_signedness, ada_val_print_1): Likewise.
6335 (ada_val_print): Move function implementation down.
6336 (print_variant_part, print_field_values, print_record):
6337 Move function implementation up.
6339 2014-01-07 Joel Brobecker <brobecker@adacore.com>
6341 * python/py-type.c (typy_get_name): New function.
6342 (type_object_getset): Add entry for attribute "name".
6343 * NEWS: Add entry mentioning this new attribute.
6345 2014-01-07 Yao Qi <yao@codesourcery.com>
6347 * gnu-nat.c (set_exceptions_cmd): Remove an empty body 'if'
6350 2014-01-07 Yao Qi <yao@codesourcery.com>
6352 * gnu-nat.c (info_port_rights): Add qualifier const to
6355 2014-01-07 Yao Qi <yao@codesourcery.com>
6357 * gnu-nat.c (trace_me): Use 'void' for empty argument list.
6359 2014-01-07 Yao Qi <yao@codesourcery.com>
6361 * gnu-nat.c (make_inf) Update declaration.
6362 (make_inf): Make it static.
6363 (inf_set_traced): Likewise.
6364 (inf_port_to_thread, inf_task_died_status): Likewise.
6366 2014-01-07 Yao Qi <yao@codesourcery.com>
6368 * gnu-nat.c (inf_tid_to_proc): Remove declaration.
6370 2014-01-07 Yao Qi <yao@codesourcery.com>
6372 * gnu-nat.c (_initialize_gnu_nat): Declare.
6374 2014-01-07 Yao Qi <yao@codesourcery.com>
6376 * gdbarch.sh (byte_order, byte_order_for_code): Change type to
6378 (struct gdbarch_info) <byte_order>: Change type to
6380 <byte_order_for_code>: Likewise.
6381 * gdbarch.c, gdbarch.h: Regenerated.
6383 2014-01-06 Sasha Smundak <asmundak@google.com>
6385 * jit.c: (jit_reader_load_command): Fix JIT reader path creation.
6387 2014-01-06 Tom Tromey <tromey@redhat.com>
6389 * doublest.c (convert_doublest_to_floatformat): Use const, not
6391 * somread.c (som_symtab_read): Likewise.
6393 2014-01-07 Hui Zhu <hui@codesourcery.com>
6395 * gdb_bfd.c (gdb_bfd_stash_filename): Removed.
6396 (gdb_bfd_open): Removed gdb_bfd_stash_filename.
6397 (gdb_bfd_fopen): Ditto.
6398 (gdb_bfd_openr): Ditto.
6399 (gdb_bfd_openw): Ditto.
6400 (gdb_bfd_openr_iovec): Ditto.
6401 (gdb_bfd_fdopenr): Ditto.
6402 * gdb_bfd.h (gdb_bfd_stash_filename): Removed.
6403 * solib-aix.c (solib_aix_bfd_open): Alloc object_bfd->filename
6405 * solib-darwin.c (darwin_bfd_open): Alloc res->filename
6407 * symfile-mem.c (symbol_file_add_from_memory): Removed
6408 gdb_bfd_stash_filename.
6410 2014-01-03 Doug Evans <dje@google.com>
6412 * nat/linux-waitpid.c (linux_debug): Remove extraneous \n from
6415 2014-01-01 Joel Brobecker <brobecker@adacore.com>
6417 Update year range in copyright notice of all files.
6419 2014-01-01 Joel Brobecker <brobecker@adacore.com>
6421 * top.c (print_gdb_version): Set copyright year to 2014.
6423 2014-01-01 Joel Brobecker <brobecker@adacore.com>
6425 * config/djgpp/fnchange.lst: Add entry for gdb/ChangeLog-2013.
6427 For older changes see ChangeLog-2013.
6433 version-control: never