1 2014-03-26 Keith Seitz <keiths@redhat.com>
3 * ada-tasks.c (get_tcb_types_info): Search STRUCT_DOMAIN for
6 2014-03-25 Sandra Loosemore <sandra@codesourcery.com>
8 * features/nios2-cpu.xml: Correct types of "gp", "fp", "ea", and
10 * features/nios2-linux.c: Regenerated.
11 * features/nios2.c: Regenerated.
13 2014-03-25 Pedro Alves <palves@redhat.com>
15 * cli/cli-script.c (script_from_file): Force the interpreter to
18 2014-03-24 Pierre Langlois <pierre.langlois@embecosm.com>
20 * avr-tdep.c (avr_scan_prologue): Accept push r1 instruction for
21 small stack allocation.
23 2014-03-24 Tristan Gingold <gingold@adacore.com>
25 * darwin-nat.c (exc_server): Remove unused prototype.
26 (darwin_dump_message): Correctly display data on x86_64.
27 (darwin_encode_reply): Fix style.
28 Add comments and fix indentation.
30 2014-03-24 Pierre Langlois <pierre.langlois@embecosm.com>
32 * MAINTAINERS (Write After Approval): Add "Pierre Langlois".
34 2014-03-22 Doug Evans <xdje42@gmail.com>
36 * infcmd.c: Whitespace fixes.
37 (interrupt_command): Merge two function comments into one.
39 2014-03-22 Doug Evans <xdje42@gmail.com>
41 * infcmd.c (interrupt_command): Renamed from interrupt_target_command.
44 2014-03-22 Yao Qi <yao@codesourcery.com>
46 * remote.c (target_read_live_memory): Remove.
47 (memory_xfer_live_readonly_partial): Rename it to
48 remote_xfer_live_readonly_partial. Remove argument 'object'.
49 All callers updated. Call remote_read_bytes_1
50 instead of target_read_live_memory.
51 * tracepoint.c (set_traceframe_number): Remove.
52 (make_cleanup_restore_traceframe_number): Likewise .
53 * tracepoint.h (set_traceframe_number): Remove declaration.
54 (make_cleanup_restore_traceframe_number): Likewise.
56 2014-03-22 Yao Qi <yao@codesourcery.com>
58 * remote.c (remote_read_bytes): Move code on reading from the
60 (remote_read_bytes_1): ... here. New function.
62 2014-03-22 Yao Qi <yao@codesourcery.com>
64 * ctf.c (ctf_xfer_partial): Check the return value of
65 exec_read_partial_read_only, if it is not TARGET_XFER_OK,
66 return TARGET_XFER_UNAVAILABLE.
67 * tracefile-tfile.c (tfile_xfer_partial): Likewise.
68 * target.c (target_read_live_memory): Move it to remote.c.
69 (memory_xfer_live_readonly_partial): Likewise.
70 (memory_xfer_partial_1): Move some code to remote_read_bytes.
71 * remote.c (target_read_live_memory): Moved from target.c.
72 (memory_xfer_live_readonly_partial): Likewise.
73 (remote_read_bytes): Factored out from
74 memory_xfer_partial_1.
76 2014-03-21 Daniel Gutson <daniel.gutson@tallertechnologies.com>
78 * extension.c (eval_ext_lang_from_control_command): Avoid dereferencing
81 2014-03-21 Pedro Alves <palves@redhat.com>
83 * infrun.c (normal_stop): Extend comment.
85 2014-03-21 Hui Zhu <hui@codesourcery.com>
86 Pedro Alves <palves@redhat.com>
88 * darwin-nat.c (darwin_pid_to_exec_file): Change xmalloc to
90 * fbsd-nat.c (fbsd_pid_to_exec_file): Ditto.
91 * linux-nat.c (linux_child_pid_to_exec_file): Ditto.
92 * nbsd-nat.c (nbsd_pid_to_exec_file): Ditto.
94 2014-03-20 Maciej W. Rozycki <macro@codesourcery.com>
96 * mi/mi-interp.c (mi_memory_changed): Avoid using the ISO C99
97 `z' formatted output modifier.
99 2014-03-20 Tom Tromey <tromey@redhat.com>
100 Sergio Durigan Junior <sergiodj@redhat.com>
102 * probe.c (parse_probes): Turn assert into an ordinary error.
103 * break-catch-throw.c (re_set_exception_catchpoint): Ignore
104 exceptions when parsing probes. Rearrange the code for clarity.
106 2014-03-20 Tom Tromey <tromey@redhat.com>
109 * top.c (execute_command): Only dispatch events if the command
112 2014-03-20 Tom Tromey <tromey@redhat.com>
115 * infcall.c: Include event-top.h.
116 (run_inferior_call): Call async_disable_stdin if needed.
118 2014-03-20 Pedro Alves <palves@redhat.com>
120 * infrun.c (prepare_to_proceed): Delete.
121 (thread_still_needs_step_over): New function.
122 (find_thread_needs_step_over): New function.
123 (proceed): If the current thread needs a step-over, set its
124 steping_over_breakpoint flag. Adjust to use
125 find_thread_needs_step_over instead of prepare_to_proceed.
126 (process_event_stop_test): For BPSTAT_WHAT_STOP_NOISY and
127 BPSTAT_WHAT_STOP_SILENT, assume the thread stopped for a
129 (switch_back_to_stepped_thread): Step over breakpoints of all
130 threads not the stepping thread, before switching back to the
133 2014-03-20 Pedro Alves <palves@redhat.com>
135 * breakpoint.c (single_step_breakpoint_inserted_here_p): Make
137 * breakpoint.h (single_step_breakpoint_inserted_here_p): Declare.
138 * infrun.c (saved_singlestep_ptid)
139 (stepping_past_singlestep_breakpoint): Delete.
140 (resume): Remove stepping_past_singlestep_breakpoint handling.
141 (proceed): Store the prev_pc of the stepping thread too.
142 (init_wait_for_inferior): Adjust. Clear singlestep_ptid and
144 (enum infwait_states): Delete infwait_thread_hop_state.
145 (struct execution_control_state) <hit_singlestep_breakpoint>: New
147 (handle_inferior_event): Adjust.
148 (handle_signal_stop): Delete stepping_past_singlestep_breakpoint
149 handling and the thread-hop code. Before removing single-step
150 breakpoints, check whether the thread hit a single-step breakpoint
151 of another thread. If it did, the trap is not a random signal.
152 (switch_back_to_stepped_thread): If the event thread hit a
153 single-step breakpoint, unblock it before switching to the
154 stepping thread. Handle the case of the stepped thread having
156 (keep_going): Handle the case of the current thread moving past a
157 single-step breakpoint.
159 2014-03-20 Pedro Alves <palves@redhat.com>
162 * breakpoint.c (should_be_inserted): Don't insert breakpoints that
163 are being stepped over.
164 (breakpoint_address_match): Make extern.
165 * breakpoint.h (breakpoint_address_match): New declaration.
166 * inferior.h (stepping_past_instruction_at): New declaration.
167 * infrun.c (struct step_over_info): New type.
168 (step_over_info): New global.
169 (set_step_over_info, clear_step_over_info)
170 (stepping_past_instruction_at): New functions.
171 (handle_inferior_event): Clear the step-over info when
172 trap_expected is cleared.
173 (resume): Remove now stale comment.
174 (clear_proceed_status): Clear step-over info.
175 (proceed): Adjust step-over handling to set or clear the step-over
176 info instead of removing all breakpoints.
177 (handle_signal_stop): When setting up a thread-hop, don't remove
179 (stop_stepping): Clear step-over info.
180 (keep_going): Adjust step-over handling to set or clear step-over
181 info and then always inserting breakpoints, instead of removing
182 all breakpoints when stepping over one.
184 2014-03-20 Pedro Alves <palves@redhat.com>
186 * infrun.c (previous_inferior_ptid): Adjust comment.
187 (deferred_step_ptid): Delete.
188 (infrun_thread_ptid_changed, prepare_to_proceed)
189 (init_wait_for_inferior): Adjust.
190 (handle_signal_stop): Delete deferred_step_ptid handling.
192 2014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
195 * defs.h (sync_quit_force_run): New declaration.
196 (QUIT): Check also SYNC_QUIT_FORCE_RUN.
197 * event-top.c (async_sigterm_handler): New declaration.
198 (async_sigterm_token): New variable.
199 (async_init_signals): Create also async_sigterm_token.
200 (async_sigterm_handler): New function.
201 (sync_quit_force_run): New variable.
202 (handle_sigterm): Replace quit_force call by other calls.
203 * utils.c (quit): Call quit_force if SYNC_QUIT_FORCE_RUN.
205 2014-03-18 Maciej W. Rozycki <macro@codesourcery.com>
207 * rs6000-tdep.c (rs6000_frame_cache): Correct little-endian GPR
208 offset into SPE pseudo registers.
210 2014-03-18 Pedro Alves <palves@redhat.com>
213 * inferior.h (print_stop_event): Declare.
214 * infrun.c (print_stop_event): New, factored out from ...
215 (normal_stop): ... this.
216 * mi/mi-interp.c (mi_on_normal_stop): Use print_stop_event instead
217 of bpstat_print/print_stack_frame.
219 2014-03-17 Tom Tromey <tromey@redhat.com>
221 * ui-out.c (clear_table, ui_out_new): Clear uiout->table.id.
223 2014-03-17 Pierre-Marie de Rodat <derodat@adacore.com>
225 * ada-lang.c (decode_constrained_packed_array): Perform a
226 minimal coercion for reference with coerce_ref instead of
229 2014-03-17 Tristan Gingold <gingold@adacore.com>
231 * solib-darwin.c (DYLD_VERSION_MAX): Increase value.
232 (darwin_solib_create_inferior_hook): Emit a warning if version
235 2014-03-16 Ulrich Weigand <uweigand@de.ibm.com>
237 * python/py-value.c (get_field_flag): Cast flag_name argument to
238 PyObject_GetAttrString to support Python 2.4.
240 2014-03-14 Jan Kratochvil <jan.kratochvil@redhat.com>
242 * MAINTAINERS (The Official FSF-appointed GDB Maintainers)
243 (Global Maintainers): Remove Jan Kratochvil.
245 2014-03-14 Pedro Alves <palves@redhat.com>
247 * inferior.h (terminal_ours_for_output): Rename to ...
248 (child_terminal_ours_for_output): ... this.
249 (terminal_save_ours): Rename to ...
250 (child_terminal_save_ours): ... this.
251 (terminal_ours): Rename to ...
252 (child_terminal_ours): ... this.
253 (terminal_inferior): Rename to ...
254 (child_terminal_inferior): ... this.
255 (terminal_init_inferior): Rename to ...
256 (child_terminal_init_inferior): ... this.
257 (terminal_init_inferior_with_pgrp): Rename to ...
258 (child_terminal_init_inferior_with_pgrp): ... this.
259 * inflow.c (terminal_init_inferior_with_pgrp): Rename to ...
260 (child_terminal_init_with_pgrp): ... this.
261 (terminal_save_ours): Rename to ...
262 (child_terminal_save_ours): ... this.
263 (terminal_init_inferior): Rename to ...
264 (child_terminal_init): ... this. Adjust.
265 (terminal_inferior): Rename to ...
266 (child_terminal_inferior): ... this.
267 (terminal_ours_for_output): Rename to ...
268 (child_terminal_ours_for_output): ... this. Adjust.
269 (terminal_ours): Rename to ...
270 (child_terminal_ours): ... this.
271 (terminal_ours_1): Rename to ...
272 (child_terminal_ours_1): ... this. Adjust.
273 * linux-nat.c (linux_nat_terminal_inferior): Adjust.
274 * windows-nat.c (do_initial_windows_stuff): Adjust.
275 * gnu-nat.c (gnu_terminal_init_inferior): Rename to ...
276 (gnu_terminal_init): ... this. Adjust.
277 (gnu_target): Adjust.
278 * inf-child.c (inf_child_target): Adjust.
280 2014-03-13 Doug Evans <xdje42@gmail.com>
283 * guile/scm-type.c (tyscm_copy_type_recursive): Move type to its
286 2014-03-13 Doug Evans <xdje42@gmail.com>
288 * value.c (record_latest_value): Call release_value_or_incref
289 instead of release_value.
291 2014-03-13 Pedro Alves <palves@redhat.com>
293 * procfs.c (procfs_target): Don't override to_shortname,
294 to_longname or to_doc.
296 2014-03-13 Pedro Alves <palves@redhat.com>
298 * inf-child.c (inf_child_open, inf_child_target): Don't mention
299 Unix in user visible strings.
301 2014-03-12 Stan Shebs <stan@codesourcery.com>
303 * gdbtypes.h: Annotate comments for Doxygen, add a page
304 block comment with some general info.
306 2014-03-12 Pedro Alves <palves@redhat.com>
308 * infcmd.c (prepare_execution_command): New function, factored out
309 from several execution commands.
310 (run_command_1, continue_command, step_1, jump_command)
311 (signal_command, until_command, advance_command, finish_command)
312 (attach_command): Use prepare_execution_command.
314 2014-03-12 Omair Javaid <omair.javaid@linaro.org>
316 * arm-linux-nat.c (arm_linux_get_hwbp_cap): Updated.
319 (struct arm_linux_thread_points): Removed.
320 (struct arm_linux_process_info): New.
321 (DEF_VEC_P (arm_linux_thread_points_p)): Removed.
322 (VEC(arm_linux_thread_points_p) *arm_threads): Removed.
323 (arm_linux_find_breakpoints_by_tid): Removed.
324 (struct arch_lwp_info): New.
325 (arm_linux_find_process_pid): New functions.
326 (arm_linux_add_process): New functions.
327 (arm_linux_process_info_get): New functions.
328 (arm_linux_forget_process): New function.
329 (arm_linux_get_debug_reg_state): New function.
330 (struct update_registers_data): New.
331 (update_registers_callback): New function.
332 (arm_linux_insert_hw_breakpoint1): Updated.
333 (arm_linux_remove_hw_breakpoint1): Updated.
334 (arm_linux_insert_hw_breakpoint): Updated.
335 (arm_linux_remove_hw_breakpoint): Updated.
336 (arm_linux_insert_watchpoint): Updated.
337 (arm_linux_remove_watchpoint): Updated.
338 (arm_linux_new_thread): Updated.
339 (arm_linux_prepare_to_resume): New function.
340 (arm_linux_new_fork): New function.
341 (_initialize_arm_linux_nat): Updated.
343 2014-03-12 Pedro Alves <palves@redhat.com>
345 * Makefile.in (TARGET_FLAGS_TO_PASS): Add TESTS.
347 2014-03-12 Tom Tromey <tromey@redhat.com>
349 * inf-child.c (return_zero): New function.
350 (inf_child_target): Set to_can_async_p, to_supports_non_stop.
351 * aix-thread.c (aix_thread_inferior_created): New function.
352 (aix_thread_attach): Remove.
353 (init_aix_thread_ops): Don't set to_attach.
354 (_initialize_aix_thread): Register inferior_created observer.
355 * corelow.c (init_core_ops): Don't set to_attach or
357 * exec.c (init_exec_ops): Don't set to_attach or
359 * infcmd.c (run_command_1): Use find_run_target. Make direct
361 (attach_command): Use find_attach_target. Make direct target
363 * record-btrace.c (init_record_btrace_ops): Don't set
365 * record-full.c (record_full_can_async_p, record_full_is_async_p):
367 (init_record_full_ops, init_record_full_core_ops): Update. Don't
368 set to_create_inferior.
369 * target.c (complete_target_initialization): Add assertion.
370 (target_create_inferior): Remove.
371 (find_default_attach, find_default_create_inferior): Remove.
372 (find_attach_target, find_run_target): New functions.
373 (find_default_is_async_p, find_default_can_async_p)
374 (target_supports_non_stop, target_attach): Remove.
375 (init_dummy_target): Don't set to_create_inferior or
376 to_supports_non_stop.
377 * target.h (struct target_ops) <to_attach>: Add comment. Remove
379 <to_create_inferior>: Add comment.
380 <to_can_async_p, to_is_async_p, to_supports_non_stop>: Use
381 TARGET_DEFAULT_RETURN.
382 <to_can_async_p, to_supports_non_stop, to_can_run>: Add comments.
383 (find_attach_target, find_run_target): Declare.
384 (target_create_inferior): Remove.
385 (target_has_execution_1): Update comment.
386 (target_supports_non_stop): Remove.
387 * target-delegates.c: Rebuild.
389 2014-03-12 Pedro Alves <palves@redhat.com>
391 * inf-child.h: Update comment to not mention Unix.
393 2014-03-12 Pedro Alves <palves@redhat.com>
395 * inf-child.c: Update top comment to not mention Unix. Add
396 generic comment describing how this target is meant to be used.
397 (inf_child_post_attach, inf_child_post_startup_inferior)
398 (inf_child_follow_fork, inf_child_pid_to_exec_file): Don't mention
401 2014-03-12 Pedro Alves <palves@redhat.com>
403 * nto-procfs.c: Include inf-child.h.
404 (procfs_ops): Delete global.
405 (procfs_can_run): Delete method.
406 (procfs_detach, procfs_mourn_inferior): Unpush the passed in
407 target pointer instead of referencing procfs_ops.
408 (procfs_prepare_to_store): Delete.
409 (init_procfs_ops): Delete function.
410 (procfs_target): New function, based on init_procfs_ops, but
411 inherit inf_child_target.
412 (_initialize_procfs): Use procfs_target.
414 2014-03-12 Pedro Alves <palves@redhat.com>
416 * windows-nat.c: Include inf-child.h.
417 (windows_ops): Delete global.
418 (windows_open, windows_prepare_to_store, windows_can_run): Delete
420 (init_windows_ops): Delete function.
421 (windows_target): New function, based on init_windows_ops, but
422 inherit inf_child_target.
423 (_initialize_windows_nat): Use windows_target. Install x86
424 specific target methods here.
426 2014-03-10 Doug Evans <xdje42@gmail.com>
428 * guile/guile.c (call_initialize_gdb_module): New function.
429 (initialize_guile): Replace call to scm_init_guile with call to
432 2014-03-10 Joel Brobecker <brobecker@adacore.com>
434 * ada-lang.c (ada_evaluate_subexp): Add missing space before '('
435 in call to TYPE_CODE macro.
437 2014-03-10 Jerome Guitton <guitton@adacore.com>
439 * ada-lang.c (ada_evaluate_subexp) <UNOP_IND, STRUCTOP_STRUCT>:
440 Resolve tagged types to full view.
442 2014-03-10 Hui Zhu <hui@codesourcery.com>
444 * target.h (target_insert_breakpoint): Remove "hardware" from its
447 2014-03-07 Doug Evans <dje@google.com>
449 * dwarf2read.c (read_str_index): Rename local dwo_name to objf_name.
451 2014-03-07 Doug Evans <dje@google.com>
453 * dwarf2read.c (read_cutu_die_from_dwo): Fix function comment.
454 Remove unused local comp_dir_attr. Assert exactly one of
455 stub_comp_unit_die, stub_comp_dir is non-NULL.
457 2014-03-07 Joel Brobecker <brobecker@adacore.com>
459 * target.h (complete_target_initialization, add_target):
462 2014-03-07 Pedro Alves <palves@redhat.com>
464 * go32-nat.c: Include inf-child.h.
465 (go32_ops): Delete global.
466 (go32_close, go32_detach, go32_prepare_to_store, go32_can_run):
468 (go32_create_inferior): Push the passed in target pointer instead
469 of referencing go32_ops.
470 (init_go32_ops): Delete function. Moved parts to _initialize_go32_nat.
471 (go32_target): New function, based on init_go32_ops, but inherit
473 (_initialize_go32_nat): Use go32_target. Move parts of
476 2014-03-06 Joel Brobecker <brobecker@adacore.com>
478 * sol-thread.c: #include "symtab.h", "minsym.h" and "objfiles.h".
479 (ps_pglobal_lookup): Use BMSYMBOL_VALUE_ADDRESS instead of
480 SYMBOL_VALUE_ADDRESS.
481 (info_cb): MSYMBOL_PRINT_NAME instead of SYMBOL_PRINT_NAME.
483 2014-03-06 Yao Qi <yao@codesourcery.com>
485 * breakpoint.c (get_tracepoint_by_number): Remove argument
486 optional_p. All callers updated. Adjust comments. Update
488 * breakpoint.h (get_tracepoint_by_number): Update declaration.
490 2014-03-06 Yao Qi <yao@codesourcery.com>
492 * reverse.c (goto_bookmark_command): Add local 'p'. Emit error
493 early if get_number returns zero. Use 'p' instead of 'args'.
495 2014-03-06 Yao Qi <yao@codesourcery.com>
497 * cli/cli-utils.c (get_number_trailer): Add '\n' at the end of
500 2014-03-06 Yao Qi <yao@codesourcery.com>
503 * tracepoint.c (check_trace_running): New function.
504 (trace_find_command): Move code to check_trace_running and
505 call check_trace_running.
506 (trace_find_pc_command): Likewise.
507 (trace_find_tracepoint_command): Likewise.
508 (trace_find_line_command): Likewise.
509 (trace_find_range_command): Likewise.
510 * tracepoint.h (check_trace_running): Likewise.
511 * mi/mi-main.c (mi_cmd_trace_find): Call check_trace_running.
513 2014-03-06 Yao Qi <yao@codesourcery.com>
515 * target.h (struct target_ops) <to_traceframe_info>: Use
516 TARGET_DEFAULT_NORETURN (tcomplain ()).
517 * target-delegates.c: Regenerated.
519 2014-03-05 Pedro Alves <palves@redhat.com>
522 * dcache.c (dcache_poke_byte): Constify ptr parameter. Return
523 void. Update comment.
524 (dcache_xfer_memory): Delete.
525 (dcache_read_memory_partial): New, based on the read bits of
527 (dcache_update): Add status parameter. Use ULONGEST for len, and
528 adjust. Discard cache lines if the reason for the update was
530 * dcache.h (dcache_xfer_memory): Delete declaration.
531 (dcache_read_memory_partial): New declaration.
532 (dcache_update): Update prototype.
533 * target.c (raw_memory_xfer_partial): Update the dcache here.
534 (memory_xfer_partial_1): Don't handle dcache writes here.
536 2014-03-05 Mike Frysinger <vapier@gentoo.org>
538 * remote-sim.c (gdbsim_load): Add const to prog.
540 2014-03-03 Tom Tromey <tromey@redhat.com>
542 * elfread.c (probe_key): Change to bfd_data.
543 (elf_get_probes, probe_key_free, _initialize_elfread): Probes are
544 now per-BFD, not per-objfile.
545 * stap-probe.c (stap_probe_destroy): Update comment.
546 (handle_stap_probe): Allocate on the per-BFD obstack.
548 2014-03-03 Tom Tromey <tromey@redhat.com>
550 * break-catch-throw.c (fetch_probe_arguments): Use bound probes.
551 * breakpoint.c (create_longjmp_master_breakpoint): Use
553 (add_location_to_breakpoint, bkpt_probe_insert_location)
554 (bkpt_probe_remove_location): Update.
555 * breakpoint.h (struct bp_location) <probe>: Now a bound_probe.
556 * elfread.c (elf_symfile_relocate_probe): Remove.
557 (elf_probe_fns): Update.
558 (insert_exception_resume_breakpoint): Change type of "probe"
559 parameter to bound_probe.
560 (check_exception_resume): Update.
561 * objfiles.c (objfile_relocate1): Don't relocate probes.
562 * probe.c (bound_probe_s): New typedef.
563 (parse_probes): Use get_probe_address. Set sal's objfile.
564 (find_probe_by_pc): Return a bound_probe.
565 (collect_probes): Return a VEC(bound_probe_s).
566 (compare_probes): Update.
567 (gen_ui_out_table_header_info): Change type of "probes"
569 (info_probes_for_ops): Update.
570 (get_probe_address): New function.
571 (probe_safe_evaluate_at_pc): Update.
572 * probe.h (struct probe_ops) <get_probe_address>: New field.
573 <set_semaphore, clear_semaphore>: Add objfile parameter.
574 (struct probe) <objfile>: Remove field.
576 <address>: Update comment.
577 (struct bound_probe): New.
578 (find_probe_by_pc): Return a bound_probe.
579 (get_probe_address): Declare.
580 * solib-svr4.c (struct probe_and_action) <address>: New field.
581 (hash_probe_and_action, equal_probe_and_action): Update.
582 (register_solib_event_probe): Add address parameter.
583 (solib_event_probe_at): Update.
584 (svr4_create_probe_breakpoints): Add objfile parameter. Use
586 * stap-probe.c (struct stap_probe) <sem_addr>: Update comment.
587 (stap_get_probe_address): New function.
588 (stap_can_evaluate_probe_arguments, compute_probe_arg)
589 (compile_probe_arg): Update.
590 (stap_set_semaphore, stap_clear_semaphore): Compute semaphore's
592 (handle_stap_probe): Don't relocate the probe.
593 (stap_relocate): Remove.
594 (stap_gen_info_probes_table_values): Update.
595 (stap_probe_ops): Remove stap_relocate.
596 * symfile-debug.c (debug_sym_relocate_probe): Remove.
597 (debug_sym_probe_fns): Update.
598 * symfile.h (struct sym_probe_fns) <sym_relocate_probe>: Remove.
599 * symtab.c (init_sal): Use memset.
600 * symtab.h (struct symtab_and_line) <objfile>: New field.
601 * tracepoint.c (start_tracing, stop_tracing): Update.
603 2014-03-03 Tom Tromey <tromey@redhat.com>
605 * probe.h (parse_probes, find_probe_by_pc)
606 (find_probes_in_objfile): Fix comments.
608 2014-03-02 Doug Evans <xdje42@gmail.com>
610 * infrun.c (handle_signal_stop): Replace test for
611 TARGET_WAITKIND_STOPPED with an assert.
613 2014-03-02 Doug Evans <xdje42@gmail.com>
615 * guile/scm-objfile.c (ofscm_mark_objfile_smob): Fix typo in comment.
617 2014-03-02 Doug Evans <xdje42@gmail.com>
619 * guile/lib/gdb/printing.scm (append-pretty-printer!): Fix thinko.
621 2014-03-01 Mark Kettenis <kettenis@gnu.org>
623 * obsd-nat.c: Include "gdb_wait.h" instead of <sys/wait.h>.
625 2014-03-01 Mark Kettenis <kettenis@gnu.org>
627 * i386obsd-nat.c: Include "obsd-nat.h".
628 (_initialize_i386obsd_nat): Call obsd_add_target instead of
630 * config/i386/obsd.mh (NATDEPFILES): Add obsd-nat.o.
632 2014-03-01 Mark Kettenis <kettenis@gnu.org>
634 * i386obsd-nat.c (i386obsd_supply_pcb): Cast 'sf' to 'gdb_byte *'.
636 2014-03-01 Mark Kettenis <kettenis@gnu.org>
638 * mips64obsd-nat.c: Include "obsd-nath".
639 (_initialize_mips64obsd_nat): Call obsd_add_target instead of
641 * config/mips/obsd64.mh (NATDEPFILES): Add obsd-nat.o.
643 2014-03-01 Mark Kettenis <kettenis@gnu.org>
645 * amd64obsd-nat.c: Include "obsd-nat,h.
646 (_initialize_amd64obsd_nat): Call obsd_add_target instead of
648 * config/i386/obsd64.mh (NATDEPFILES): Add obsd-nat.o.
650 2014-02-28 Siva Chandra Reddy <sivachandra@google.com>
652 * valops.c (find_oload_champ): Remove unneccesary argument METHOD.
653 (find_overload_match): Update call to find_oload_champ.
654 (find_oload_champ_namespace_loop): Likewise
656 2014-02-28 Mark Kettenis <kettenis@gnu.org>
658 * Makefile.in (ALLDEPFILES): Add sparc64obsd-nat.c.
660 * configure.host (sparc64-*-openbsd*): Set gdb_host to obsd64.
661 * config/sparc/obsd64.mh: New file.
662 * sparc64obsd-nat.c: New file.
664 * obsd-nat.h: New file.
665 * obsd-nat.c: New file.
666 * Makefile.in (HFILES_NO_SRCDIR): Add obsd-nat.h.
667 (ALLDEPFILES): Add obsd-nat.c.
669 2014-02-28 Tom Tromey <tromey@redhat.com>
671 * cli-out.c (cli_ui_out_impl): Now const. Remove comment.
672 * cli-out.h (cli_ui_out_impl): Now const.
673 * mi/mi-out.c (mi_ui_out_impl): Now const. Remove comment.
674 * ui-out.c (struct ui_out) <impl>: Now const.
675 (default_ui_out_impl): Now const.
676 (ui_out_new): Make 'impl' parameter const.
677 * ui-out.h (ui_out_new): Update.
679 2014-02-27 Mark Kettenis <kettenis@gnu.org>
681 * solib-svr4.c (svr4_read_so_list): Initialize first_l_name to 0.
683 2014-02-27 Mark Kettenis <kettenis@gnu.org>
685 * sparc-nat.c (sparc_xfer_wcookie): Always use process ID.
687 2014-02-27 Jan Kratochvil <jan.kratochvil@redhat.com>
689 Additional PR 8882 fix.
690 * solib-svr4.c (svr4_read_so_list): Change first to first_l_name.
692 2014-02-27 Pedro Alves <palves@redhat.com>
694 * nat/linux-waitpid.c (my_waitpid): Only block signals if WNOHANG
697 2014-02-27 Pedro Alves <palves@redhat.com>
700 * linux-nat.c (status_to_str): Moved to nat/linux-waitpid.c.
701 * nat/linux-waitpid.c: Include string.h.
702 (status_to_str): Moved here and made extern.
703 * nat/linux-waitpid.h (status_to_str): New declaration.
705 2014-02-27 Hui Zhu <hui@codesourcery.com>
708 * infrun.c (ptid_match): Move ...
709 * common/ptid.c (ptid_match): ... here.
710 * inferior.h (ptid_match): Move ...
711 * common/ptid.h (ptid_match): ... here.
713 2014-02-27 Mark Kettenis <kettenis@gnu.org>
715 * mips64obsd-tdep.c (mips64obsd_init_abi): Call obsd_init_abi.
716 * configure.tgt (mips64*-*-openbsd*): Add obsd-tdep.c to
719 2014-02-27 Mark Kettenis <kettenis@gnu.org>
721 * obsd-tdep.c (obsd_auxv_parse): New function.
722 (obsd_init_abi): Set auxv_parse.
724 * gdbarch.sh (auxv_parse): New.
725 * gdbarch.h: Regenerated.
726 * gdbarch.c: Regenerated.
727 * auxv.c (target_auxv_parse): Call gdbarch_parse_auxv if provided.
729 2014-02-26 Ludovic Courtès <ludo@gnu.org>
731 * guile/scm-value.c (gdbscm_history_append_x): New function.
732 (value_functions): Add it.
734 2014-02-27 Joel Brobecker <brobecker@adacore.com>
736 * dwarf2read.c (attr_value_as_address): New function.
737 (dwarf2_find_base_address, read_call_site_scope): Use
738 attr_value_as_address in place of DW_ADDR.
739 (dwarf2_get_pc_bounds): Use attr_value_as_address to get
740 the low and high addresses. Slight rework of the handling
741 of the high pc being a constant form, and limit it to
742 DWARF verson 4 or higher.
743 (dwarf2_record_block_ranges): Likewise.
744 (read_partial_die): Likewise.
745 (new_symbol_full): Use attr_value_as_address in place of DW_ADDR.
747 2014-02-26 Tom Tromey <tromey@redhat.com>
749 * exec.c (exec_file_attach): Hold a reference to exec_bfd.
751 2014-02-26 Tom Tromey <tromey@redhat.com>
753 * elfread.c (elf_read_minimal_symbols): Return early if
754 minimal symbols have already been read. Add "ei" parameter.
755 (elf_symfile_read): Call elf_read_minimal_symbols earlier.
756 * minsyms.c (prim_record_minimal_symbol_full): Update.
757 * objfiles.h (struct objstats) <n_minsyms>: Move...
758 (struct objfile_per_bfd_storage) <n_minsyms>: ... here.
759 * symmisc.c (print_objfile_statistics): Update.
761 2014-02-26 Tom Tromey <tromey@redhat.com>
763 * elfread.c (elf_read_minimal_symbols): New function, from
765 (elf_symfile_read): Call it.
767 2014-02-26 Tom Tromey <tromey@redhat.com>
769 * minsyms.c (lookup_minimal_symbol, iterate_over_minimal_symbols)
770 (lookup_minimal_symbol_text, lookup_minimal_symbol_by_pc_name)
771 (lookup_minimal_symbol_solib_trampoline)
772 (lookup_minimal_symbol_by_pc_section_1)
773 (lookup_minimal_symbol_and_objfile): Update.
774 (prim_record_minimal_symbol_full): Use the per-BFD obstack.
775 Don't allocate a minimal symbol if minsyms have already been read.
776 (build_minimal_symbol_hash_tables): Update.
777 (install_minimal_symbols): Do nothing if minsyms already read.
778 Use the per-BFD obstack.
779 (terminate_minimal_symbol_table): Use the per-BFD obstack.
780 * objfiles.c (allocate_objfile): Call
781 terminate_minimal_symbol_table later.
782 (have_minimal_symbols): Update.
783 * objfiles.h (struct objfile_per_bfd_storage) <msymbols,
784 minimal_symbol_count, msymbol_hash, msymbol_demangled_hash>:
785 Move from struct objfile.
786 <minsyms_read>: New field.
787 (struct objfile) <msymbols, minimal_symbol_count,
788 msymbol_hash, msymbol_demangled_hash>: Move.
789 (ALL_OBJFILE_MSYMBOLS): Update.
790 * symfile.c (read_symbols): Set minsyms_read.
791 (reread_symbols): Update.
792 * symmisc.c (dump_objfile, dump_msymbols): Update.
794 2014-02-26 Tom Tromey <tromey@redhat.com>
796 * minsyms.c (msymbols_sort): Remove.
797 * minsyms.h (msymbols_sort): Remove.
798 * objfiles.c (objfile_relocate1): Don't relocate minsyms.
799 * symtab.h (MSYMBOL_VALUE_ADDRESS): Use objfile offsets.
800 * elfread.c (elf_symtab_read): Don't add section offsets.
801 * xcoffread.c (record_minimal_symbol): Don't add section offset
802 to minimal symbol address.
803 * somread.c (text_offset, data_offset): Remove.
804 (som_symtab_read): Don't add section offsets to minimal symbol
806 * coff-pe-read.c (add_pe_forwarded_sym, read_pe_exported_syms):
807 Don't add section offsets to minimal symbols.
808 * coffread.c (coff_symtab_read): Don't add section offsets
809 to minimal symbol addresses.
810 * machoread.c (macho_symtab_add_minsym): Don't add section offset
811 to minimal symbol addresses.
812 * mipsread.c (read_alphacoff_dynamic_symtab): Don't add
813 section offset to minimal symbol addresses.
814 * mdebugread.c (parse_partial_symbols): Don't add section
815 offset to minimal symbol addresses.
816 * dbxread.c (read_dbx_dynamic_symtab): Don't add section
817 offset to minimal symbol addresses.
819 2014-02-26 Tom Tromey <tromey@redhat.com>
821 * ada-lang.c (ada_main_name): Update.
822 (ada_add_standard_exceptions): Update.
823 * ada-tasks.c (ada_tasks_inferior_data_sniffer): Update.
824 * aix-thread.c (pdc_symbol_addrs, pd_enable): Update.
825 * arm-tdep.c (skip_prologue_function, arm_skip_stub): Update.
826 * auxv.c (ld_so_xfer_auxv): Update.
827 * avr-tdep.c (avr_scan_prologue): Update.
828 * ax-gdb.c (gen_var_ref): Update.
829 * blockframe.c (get_pc_function_start)
830 (find_pc_partial_function_gnu_ifunc): Update.
831 * breakpoint.c (create_overlay_event_breakpoint)
832 (create_longjmp_master_breakpoint)
833 (create_std_terminate_master_breakpoint)
834 (create_exception_master_breakpoint): Update.
835 * bsd-uthread.c (bsd_uthread_lookup_address): Update.
836 * c-valprint.c (c_val_print): Update.
837 * coff-pe-read.c (add_pe_forwarded_sym): Update.
838 * common/agent.c (agent_look_up_symbols): Update.
839 * dbxread.c (find_stab_function_addr, end_psymtab): Update.
840 * dwarf2loc.c (call_site_to_target_addr): Update.
841 * dwarf2read.c (dw2_find_pc_sect_symtab): Update.
842 * elfread.c (elf_gnu_ifunc_record_cache)
843 (elf_gnu_ifunc_resolve_by_got): Update.
844 * findvar.c (default_read_var_value): Update.
845 * frame.c (inside_main_func): Update.
846 * frv-tdep.c (frv_frame_this_id): Update.
847 * glibc-tdep.c (glibc_skip_solib_resolver): Update.
848 * gnu-v3-abi.c (gnuv3_get_typeid, gnuv3_skip_trampoline):
850 * hppa-hpux-tdep.c (hppa64_hpux_search_dummy_call_sequence)
851 (hppa_hpux_find_dummy_bpaddr): Update.
852 * hppa-tdep.c (hppa_symbol_address): Update.
853 * infcmd.c (until_next_command): Update.
854 * jit.c (jit_read_descriptor, jit_breakpoint_re_set_internal):
856 * linespec.c (minsym_found, add_minsym): Update.
857 * linux-nat.c (get_signo): Update.
858 * linux-thread-db.c (inferior_has_bug): Update.
859 * m32c-tdep.c (m32c_return_value)
860 (m32c_m16c_address_to_pointer): Update.
861 * m32r-tdep.c (m32r_frame_this_id): Update.
862 * m68hc11-tdep.c (m68hc11_get_register_info): Update.
863 * machoread.c (macho_resolve_oso_sym_with_minsym): Update.
864 * maint.c (maintenance_translate_address): Update.
865 * minsyms.c (lookup_minimal_symbol_by_pc_name): Update.
866 (frob_address): New function.
867 (lookup_minimal_symbol_by_pc_section_1): Use raw addresses,
868 frob_address. Rename parameter to "pc_in".
869 (compare_minimal_symbols, compact_minimal_symbols): Use raw
871 (find_solib_trampoline_target, minimal_symbol_upper_bound):
873 * mips-linux-tdep.c (mips_linux_skip_resolver): Update.
874 * mips-tdep.c (mips_skip_pic_trampoline_code): Update.
875 * objc-lang.c (find_objc_msgsend): Update.
876 * objfiles.c (objfile_relocate1): Update.
877 * obsd-tdep.c (obsd_skip_solib_resolver): Update.
878 * p-valprint.c (pascal_val_print): Update.
879 * parse.c (write_exp_msymbol): Update.
880 * ppc-linux-tdep.c (ppc_linux_spe_context_lookup)
881 (ppc_elfv2_skip_entrypoint): Update.
882 * ppc-sysv-tdep.c (convert_code_addr_to_desc_addr): Update.
883 * printcmd.c (build_address_symbolic, msym_info)
884 (address_info): Update.
885 * proc-service.c (ps_pglobal_lookup): Update.
886 * psymtab.c (find_pc_sect_psymtab_closer)
887 (find_pc_sect_psymtab, find_pc_sect_symtab_from_partial):
888 Change msymbol parameter to bound_minimal_symbol.
889 * ravenscar-thread.c (get_running_thread_id): Update.
890 * remote.c (remote_check_symbols): Update.
891 * sh64-tdep.c (sh64_elf_make_msymbol_special): Use raw
893 * sol2-tdep.c (sol2_skip_solib_resolver): Update.
894 * solib-dsbt.c (lm_base): Update.
895 * solib-frv.c (lm_base, main_got): Update.
896 * solib-irix.c (locate_base): Update.
897 * solib-som.c (som_solib_create_inferior_hook)
898 (link_map_start): Update.
899 * solib-spu.c (spu_enable_break, ocl_enable_break): Update.
900 * solib-svr4.c (elf_locate_base, enable_break): Update.
901 * spu-tdep.c (spu_get_overlay_table, spu_catch_start)
902 (flush_ea_cache): Update.
903 * stabsread.c (define_symbol, scan_file_globals): Update.
904 * stack.c (find_frame_funname): Update.
905 * symfile-debug.c (debug_qf_expand_symtabs_matching)
906 (debug_qf_find_pc_sect_symtab): Update.
907 * symfile.c (simple_read_overlay_table)
908 (simple_overlay_update): Update.
909 * symfile.h (struct quick_symbol_functions)
910 <find_pc_sect_symtab>: Change type of msymbol to
911 bound_minimal_symbol.
912 * symmisc.c (dump_msymbols): Update.
913 * symtab.c (find_pc_sect_symtab_via_partial)
914 (find_pc_sect_psymtab, find_pc_sect_line, skip_prologue_sal)
915 (search_symbols, print_msymbol_info): Update.
916 * symtab.h (MSYMBOL_VALUE_RAW_ADDRESS): New macro.
917 (MSYMBOL_VALUE_ADDRESS): Redefine.
918 (BMSYMBOL_VALUE_ADDRESS): New macro.
919 * tracepoint.c (scope_info): Update.
920 * tui/tui-disasm.c (tui_find_disassembly_address)
921 (tui_get_begin_asm_address): Update.
922 * valops.c (find_function_in_inferior): Update.
923 * value.c (value_static_field, value_fn_field): Update.
925 2014-02-26 Tom Tromey <tromey@redhat.com>
927 * ada-lang.c (ada_update_initial_language): Update.
928 (ada_main_name, ada_has_this_exception_support): Update.
929 * ada-tasks.c (ada_tasks_inferior_data_sniffer): Update.
930 * aix-thread.c (pdc_symbol_addrs, pd_enable): Update.
931 * arm-tdep.c (arm_skip_stub): Update.
932 * auxv.c (ld_so_xfer_auxv): Update.
933 * avr-tdep.c (avr_scan_prologue): Update.
934 * ax-gdb.c (gen_var_ref): Update.
935 * breakpoint.c (struct breakpoint_objfile_data)
936 <overlay_msym, longjmp_msym, terminate_msym, exception_msym>: Change
937 type to bound_minimal_symbol.
938 (create_overlay_event_breakpoint)
939 (create_longjmp_master_breakpoint)
940 (create_std_terminate_master_breakpoint)
941 (create_exception_master_breakpoint): Update.
942 * bsd-uthread.c (bsd_uthread_lookup_address): Update.
943 * c-exp.y (classify_name): Update.
944 * coffread.c (coff_symfile_read): Update.
945 * common/agent.c (agent_look_up_symbols): Update.
946 * d-lang.c (d_main_name): Update.
947 * dbxread.c (find_stab_function_addr, end_psymtab): Update.
948 * dec-thread.c (enable_dec_thread): Update.
949 * dwarf2loc.c (call_site_to_target_addr): Update.
950 * elfread.c (elf_gnu_ifunc_resolve_by_got): Update.
951 * eval.c (evaluate_subexp_standard): Update.
952 * findvar.c (struct minsym_lookup_data) <result>: Change type
953 to bound_minimal_symbol.
955 (minsym_lookup_iterator_cb, default_read_var_value): Update.
956 * frame.c (inside_main_func): Update.
957 * frv-tdep.c (frv_frame_this_id): Update.
958 * gcore.c (call_target_sbrk): Update.
959 * glibc-tdep.c (glibc_skip_solib_resolver): Update.
960 * gnu-v3-abi.c (gnuv3_get_typeid, gnuv3_skip_trampoline):
962 * go-lang.c (go_main_name): Update.
963 * hppa-hpux-tdep.c (hppa_hpux_skip_trampoline_code)
964 (hppa_hpux_find_import_stub_for_addr): Update.
965 * hppa-tdep.c (hppa_extract_17, hppa_lookup_stub_minimal_symbol):
966 Update. Change return type.
967 * hppa-tdep.h (hppa_lookup_stub_minimal_symbol): Change return
969 * jit.c (jit_breakpoint_re_set_internal): Update.
970 * linux-fork.c (inferior_call_waitpid, checkpoint_command):
972 * linux-nat.c (get_signo): Update.
973 * linux-thread-db.c (inferior_has_bug): Update
974 * m32c-tdep.c (m32c_return_value)
975 (m32c_m16c_address_to_pointer): Update.
976 * m32r-tdep.c (m32r_frame_this_id): Update.
977 * m68hc11-tdep.c (m68hc11_get_register_info): Update.
978 * machoread.c (macho_resolve_oso_sym_with_minsym): Update.
979 * minsyms.c (lookup_minimal_symbol_internal): Rename to
980 lookup_minimal_symbol. Change return type.
981 (lookup_minimal_symbol): Remove.
982 (lookup_bound_minimal_symbol): Update.
983 (lookup_minimal_symbol_text): Change return type.
984 (lookup_minimal_symbol_solib_trampoline): Change return type.
985 * minsyms.h (lookup_minimal_symbol, lookup_minimal_symbol_text)
986 (lookup_minimal_symbol_solib_trampoline): Change return type.
987 * mips-linux-tdep.c (mips_linux_skip_resolver): Update.
988 * objc-lang.c (lookup_objc_class, lookup_child_selector)
989 (value_nsstring, find_imps): Update.
990 * obsd-tdep.c (obsd_skip_solib_resolver): Update.
991 * p-lang.c (pascal_main_name): Update.
992 * ppc-linux-tdep.c (ppc_linux_spe_context_lookup): Update.
993 * ppc-sysv-tdep.c (convert_code_addr_to_desc_addr): Update.
994 * proc-service.c (ps_pglobal_lookup): Update.
995 * ravenscar-thread.c (get_running_thread_msymbol): Change
997 (has_ravenscar_runtime, get_running_thread_id): Update.
998 * remote.c (remote_check_symbols): Update.
999 * sol-thread.c (ps_pglobal_lookup): Update.
1000 * sol2-tdep.c (sol2_skip_solib_resolver): Update.
1001 * solib-dsbt.c (lm_base): Update.
1002 * solib-frv.c (lm_base, frv_relocate_section_addresses):
1004 * solib-irix.c (locate_base): Update.
1005 * solib-som.c (som_solib_create_inferior_hook)
1006 (som_solib_desire_dynamic_linker_symbols, link_map_start):
1008 * solib-spu.c (spu_enable_break): Update.
1009 * solib-svr4.c (elf_locate_base, enable_break): Update.
1010 * spu-tdep.c (spu_get_overlay_table, spu_catch_start)
1011 (flush_ea_cache): Update.
1012 * stabsread.c (define_symbol): Update.
1013 * symfile.c (simple_read_overlay_table): Update.
1014 * symtab.c (find_pc_sect_line): Update.
1015 * tracepoint.c (scope_info): Update.
1016 * tui-disasm.c (tui_get_begin_asm_address): Update.
1017 * value.c (value_static_field): Update.
1019 2014-02-26 Tom Tromey <tromey@redhat.com>
1021 * minsyms.c (prim_record_minimal_symbol_full): Use
1022 SET_MSYMBOL_VALUE_ADDRESS.
1023 * objfiles.c (objfile_relocate1): Use SET_MSYMBOL_VALUE_ADDRESS.
1024 * sh64-tdep.c (sh64_elf_make_msymbol_special): Use
1025 SET_MSYMBOL_VALUE_ADDRESS.
1026 * symtab.h (MSYMBOL_VALUE_ADDRESS): Expand to an rvalue.
1027 (SET_MSYMBOL_VALUE_ADDRESS): New macro.
1029 2014-02-26 Tom Tromey <tromey@redhat.com>
1031 * symtab.h (struct minimal_symbol) <mginfo>: Rename from ginfo.
1032 (MSYMBOL_VALUE, MSYMBOL_VALUE_ADDRESS, MSYMBOL_VALUE_BYTES)
1033 (MSYMBOL_BLOCK_VALUE, MSYMBOL_VALUE_CHAIN, MSYMBOL_LANGUAGE)
1034 (MSYMBOL_SECTION, MSYMBOL_OBJ_SECTION, MSYMBOL_NATURAL_NAME)
1035 (MSYMBOL_LINKAGE_NAME, MSYMBOL_PRINT_NAME, MSYMBOL_DEMANGLED_NAME)
1036 (MSYMBOL_SET_LANGUAGE, MSYMBOL_SEARCH_NAME)
1037 (MSYMBOL_MATCHES_SEARCH_NAME, MSYMBOL_SET_NAMES): New macros.
1038 * ada-lang.c (ada_main_name): Update.
1039 (ada_lookup_simple_minsym): Update.
1040 (ada_make_symbol_completion_list): Update.
1041 (ada_add_standard_exceptions): Update.
1042 * ada-tasks.c (read_atcb, ada_tasks_inferior_data_sniffer): Update.
1043 * aix-thread.c (pdc_symbol_addrs, pd_enable): Update.
1044 * amd64-windows-tdep.c (amd64_skip_main_prologue): Update.
1045 * arm-tdep.c (skip_prologue_function): Update.
1046 (arm_skip_stack_protector, arm_skip_stub): Update.
1047 * arm-wince-tdep.c (arm_pe_skip_trampoline_code): Update.
1048 (arm_wince_skip_main_prologue): Update.
1049 * auxv.c (ld_so_xfer_auxv): Update.
1050 * avr-tdep.c (avr_scan_prologue): Update.
1051 * ax-gdb.c (gen_var_ref): Update.
1052 * block.c (call_site_for_pc): Update.
1053 * blockframe.c (get_pc_function_start): Update.
1054 (find_pc_partial_function_gnu_ifunc): Update.
1055 * breakpoint.c (create_overlay_event_breakpoint): Update.
1056 (create_longjmp_master_breakpoint): Update.
1057 (create_std_terminate_master_breakpoint): Update.
1058 (create_exception_master_breakpoint): Update.
1059 (resolve_sal_pc): Update.
1060 * bsd-uthread.c (bsd_uthread_lookup_address): Update.
1061 * btrace.c (ftrace_print_function_name, ftrace_function_switched):
1063 * c-valprint.c (c_val_print): Update.
1064 * coff-pe-read.c (add_pe_forwarded_sym): Update.
1065 * coffread.c (coff_symfile_read): Update.
1066 * common/agent.c (agent_look_up_symbols): Update.
1067 * dbxread.c (find_stab_function_addr): Update.
1068 (end_psymtab): Update.
1069 * dwarf2loc.c (call_site_to_target_addr): Update.
1070 (func_verify_no_selftailcall): Update.
1071 (tailcall_dump): Update.
1072 (call_site_find_chain_1): Update.
1073 (dwarf_expr_reg_to_entry_parameter): Update.
1074 * elfread.c (elf_gnu_ifunc_record_cache): Update.
1075 (elf_gnu_ifunc_resolve_by_got): Update.
1076 * f-valprint.c (info_common_command): Update.
1077 * findvar.c (read_var_value): Update.
1078 * frame.c (get_prev_frame_1): Update.
1079 (inside_main_func): Update.
1080 * frv-tdep.c (frv_skip_main_prologue): Update.
1081 (frv_frame_this_id): Update.
1082 * glibc-tdep.c (glibc_skip_solib_resolver): Update.
1083 * gnu-v2-abi.c (gnuv2_value_rtti_type): Update.
1084 * gnu-v3-abi.c (gnuv3_rtti_type): Update.
1085 (gnuv3_skip_trampoline): Update.
1086 * hppa-hpux-tdep.c (hppa32_hpux_in_solib_call_trampoline): Update.
1087 (hppa64_hpux_in_solib_call_trampoline): Update.
1088 (hppa_hpux_skip_trampoline_code): Update.
1089 (hppa64_hpux_search_dummy_call_sequence): Update.
1090 (hppa_hpux_find_import_stub_for_addr): Update.
1091 (hppa_hpux_find_dummy_bpaddr): Update.
1092 * hppa-tdep.c (hppa_symbol_address)
1093 (hppa_lookup_stub_minimal_symbol): Update.
1094 * i386-tdep.c (i386_skip_main_prologue): Update.
1095 (i386_pe_skip_trampoline_code): Update.
1096 * ia64-tdep.c (ia64_convert_from_func_ptr_addr): Update.
1097 * infcall.c (get_function_name): Update.
1098 * infcmd.c (until_next_command): Update.
1099 * jit.c (jit_breakpoint_re_set_internal): Update.
1100 (jit_inferior_init): Update.
1101 * linespec.c (minsym_found): Update.
1102 (add_minsym): Update.
1103 * linux-fork.c (info_checkpoints_command): Update.
1104 * linux-nat.c (get_signo): Update.
1105 * linux-thread-db.c (inferior_has_bug): Update.
1106 * m32c-tdep.c (m32c_return_value): Update.
1107 (m32c_m16c_address_to_pointer): Update.
1108 (m32c_m16c_pointer_to_address): Update.
1109 * m32r-tdep.c (m32r_frame_this_id): Update.
1110 * m68hc11-tdep.c (m68hc11_get_register_info): Update.
1111 * machoread.c (macho_resolve_oso_sym_with_minsym): Update.
1112 * maint.c (maintenance_translate_address): Update.
1113 * minsyms.c (add_minsym_to_hash_table): Update.
1114 (add_minsym_to_demangled_hash_table): Update.
1115 (msymbol_objfile): Update.
1116 (lookup_minimal_symbol): Update.
1117 (iterate_over_minimal_symbols): Update.
1118 (lookup_minimal_symbol_text): Update.
1119 (lookup_minimal_symbol_by_pc_name): Update.
1120 (lookup_minimal_symbol_solib_trampoline): Update.
1121 (lookup_minimal_symbol_by_pc_section_1): Update.
1122 (lookup_minimal_symbol_and_objfile): Update.
1123 (prim_record_minimal_symbol_full): Update.
1124 (compare_minimal_symbols): Update.
1125 (compact_minimal_symbols): Update.
1126 (build_minimal_symbol_hash_tables): Update.
1127 (install_minimal_symbols): Update.
1128 (terminate_minimal_symbol_table): Update.
1129 (find_solib_trampoline_target): Update.
1130 (minimal_symbol_upper_bound): Update.
1131 * mips-linux-tdep.c (mips_linux_skip_resolver): Update.
1132 * mips-tdep.c (mips_stub_frame_sniffer): Update.
1133 (mips_skip_pic_trampoline_code): Update.
1134 * msp430-tdep.c (msp430_skip_trampoline_code): Update.
1135 * objc-lang.c (selectors_info): Update.
1136 (classes_info): Update.
1137 (find_methods): Update.
1138 (find_imps): Update.
1139 (find_objc_msgsend): Update.
1140 * objfiles.c (objfile_relocate1): Update.
1141 * objfiles.h (ALL_OBJFILE_MSYMBOLS): Update.
1142 * obsd-tdep.c (obsd_skip_solib_resolver): Update.
1143 * p-valprint.c (pascal_val_print): Update.
1144 * parse.c (write_exp_msymbol): Update.
1145 * ppc-linux-tdep.c (powerpc_linux_in_dynsym_resolve_code)
1146 (ppc_linux_spe_context_lookup, ppc_elfv2_skip_entrypoint): Update.
1147 * ppc-sysv-tdep.c (convert_code_addr_to_desc_addr): Update.
1148 * printcmd.c (build_address_symbolic): Update.
1150 (address_info): Update.
1151 * proc-service.c (ps_pglobal_lookup): Update.
1152 * psymtab.c (find_pc_sect_psymtab_closer): Update.
1153 (find_pc_sect_psymtab): Update.
1154 * python/py-framefilter.c (py_print_frame): Update.
1155 * ravenscar-thread.c (get_running_thread_id): Update.
1156 * record-btrace.c (btrace_call_history, btrace_get_bfun_name):
1158 * remote.c (remote_check_symbols): Update.
1159 * rs6000-tdep.c (rs6000_skip_main_prologue): Update.
1160 (rs6000_skip_trampoline_code): Update.
1161 * sh64-tdep.c (sh64_elf_make_msymbol_special): Update.
1162 * sol2-tdep.c (sol2_skip_solib_resolver): Update.
1163 * solib-dsbt.c (lm_base): Update.
1164 * solib-frv.c (lm_base): Update.
1166 * solib-irix.c (locate_base): Update.
1167 * solib-som.c (som_solib_create_inferior_hook): Update.
1168 (som_solib_desire_dynamic_linker_symbols): Update.
1169 (link_map_start): Update.
1170 * solib-spu.c (spu_enable_break): Update.
1171 (ocl_enable_break): Update.
1172 * solib-svr4.c (elf_locate_base): Update.
1173 (enable_break): Update.
1174 * spu-tdep.c (spu_get_overlay_table): Update.
1175 (spu_catch_start): Update.
1176 (flush_ea_cache): Update.
1177 * stabsread.c (define_symbol): Update.
1178 (scan_file_globals): Update.
1179 * stack.c (find_frame_funname): Update.
1180 (frame_info): Update.
1181 * symfile.c (simple_read_overlay_table): Update.
1182 (simple_overlay_update): Update.
1183 * symmisc.c (dump_msymbols): Update.
1184 * symtab.c (fixup_section): Update.
1185 (find_pc_sect_line): Update.
1186 (skip_prologue_sal): Update.
1187 (search_symbols): Update.
1188 (print_msymbol_info): Update.
1189 (rbreak_command): Update.
1190 (MCOMPLETION_LIST_ADD_SYMBOL): New macro.
1191 (completion_list_objc_symbol): Update.
1192 (default_make_symbol_completion_list_break_on): Update.
1193 * tracepoint.c (scope_info): Update.
1194 * tui/tui-disasm.c (tui_find_disassembly_address): Update.
1195 (tui_get_begin_asm_address): Update.
1196 * valops.c (find_function_in_inferior): Update.
1197 * value.c (value_static_field): Update.
1198 (value_fn_field): Update.
1200 2014-02-26 Tom Tromey <tromey@redhat.com>
1202 * blockframe.c (find_pc_partial_function_gnu_ifunc): Use
1203 bound minimal symbols. Move code that knows about minsym
1205 * minsyms.c (minimal_symbol_upper_bound): ... here. New
1207 * minsyms.h (minimal_symbol_upper_bound): Declare.
1208 * objc-lang.c (find_objc_msgsend): Use bound minimal symbols,
1209 minimal_symbol_upper_bound.
1211 2014-02-27 Joel Brobecker <brobecker@adacore.com>
1213 * python/lib/gdb/printing.py (RegexpCollectionPrettyPrinter):
1214 Use the type's name if its basic type does not have a tag.
1216 2014-02-27 Joel Brobecker <brobecker@adacore.com>
1218 * dwarf2read.c (read_subrange_type): Add comment.
1220 2014-02-27 Joel Brobecker <brobecker@adacore.com>
1222 * dwarf2read.c (update_enumeration_type_from_children): New
1223 function, mostly extracted from process_structure_scope.
1224 (read_enumeration_type): Call update_enumeration_type_from_children.
1225 (process_enumeration_scope): Do not set THIS_TYPE's flag_unsigned
1226 and flag_flag_enum fields.
1228 2014-02-26 Pedro Alves <palves@redhat.com>
1230 * bsd-uthread.c (bsd_uthread_xfer_partial): Delete function.
1231 (bsd_uthread_target): Don't install bsd_uthread_xfer_partial as
1232 to_xfer_partial method.
1234 2014-02-26 Pedro Alves <palves@redhat.com>
1236 * target.c (complete_target_initialization): Don't install
1237 default_xfer_partial as to_xfer_partial hook.
1239 (update_current_target): Don't INHERIT nor de_fault
1240 deprecated_xfer_memory. Delete de_fault macro.
1241 (default_xfer_partial, deprecated_debug_xfer_memory): Delete.
1242 (setup_target_debug): Don't install a deprecated_xfer_memory hook.
1243 * target.h (struct target_ops) <deprecated_xfer_memory>: Delete
1246 2014-02-26 Pedro Alves <palves@redhat.com>
1248 * go32-nat.c (my_write_child): New function.
1249 (go32_xfer_memory): Rewrite as to_xfer_partial helper.
1250 (go32_xfer_partial): New function.
1251 (init_go32_ops): Don't install a deprecated_xfer_memory hook.
1252 Instead install a to_xfer_partial hook.
1254 2014-02-26 Pedro Alves <palves@redhat.com>
1256 * nto-procfs.c (procfs_xfer_memory): Adjust interface as a
1257 to_xfer_partial helper. Rewrite.
1258 (procfs_xfer_partial): New function.
1259 (init_procfs_ops): Don't install a deprecated_xfer_memory hook.
1260 Install a to_xfer_partial hook.
1262 2014-02-26 Pedro Alves <palves@redhat.com>
1264 * remote-m32r-sdi.c (send_data): Constify 'buf' parameter.
1265 (m32r_xfer_memory): Adjust as a to_xfer_partial helper.
1266 (m32r_xfer_partial): New function.
1267 (init_m32r_ops): Don't install a deprecated_xfer_memory hook.
1268 Install a to_xfer_partial hook.
1270 2014-02-26 Pedro Alves <palves@redhat.com>
1272 * remote-mips.c (mips_xfer_memory): Adjust as to_xfer_partial
1274 (mips_xfer_partial): New function.
1275 (_initialize_remote_mips): Don't install a deprecated_xfer_memory
1276 hook. Install a to_xfer_partial hook.
1278 2014-02-26 Joel Brobecker <brobecker@adacore.com>
1280 * gdbtypes.h (create_array_type_with_stride): Add declaration.
1281 * gdbtypes.c (create_array_type_with_stride): New function,
1282 renaming create_array_type, but with an added parameter
1283 called "bit_stride".
1284 (create_array_type): Re-implement using
1285 create_array_type_with_stride.
1286 * dwarf2read.c (read_array_type): Add support for DW_AT_byte_stride
1287 and DW_AT_bit_stride attributes.
1289 2014-02-26 Pedro Alves <palves@redhat.com>
1291 * breakpoint.c (bpstat_check_breakpoint_conditions): Handle
1292 task-specific breakpoints.
1294 2014-02-25 Pedro Alves <palves@redhat.com>
1296 * ia64-linux-nat.c (ia64_linux_xfer_partial): Reimplement
1297 handling of object == TARGET_OBJECT_UNWIND_TABLE.
1299 2014-02-25 Stan Shebs <stan@codesourcery.com>
1301 * defs.h: Annotate comments for Doxygen.
1303 2014-02-25 Tom Tromey <tromey@redhat.com>
1305 * target.h (target_ignore): Don't declare.
1306 * target.c (target_ignore): Remove.
1308 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
1311 * auto-load.c (auto_load_objfile_script_1): Change filename to
1314 2014-02-25 Joel Brobecker <brobecker@adacore.com>
1316 * ia64-linux-nat.c (ia64_linux_xfer_partial): Add function
1317 documentation. Adjust prototype to match the target_ops
1318 to_xfer_partial method. Adjust implementation accordingly.
1320 2014-02-25 Hui Zhu <hui@codesourcery.com>
1322 * target.h (target_ops): Fix TARGET_DEFAULT_RETURN of
1325 2014-02-25 Kevin Buettner <kevinb@redhat.com>
1327 * rl78-tdep.c (RL78_BANK0_RP0_PTR_REGNUM, RL78_BANK0_RP1_PTR_REGNUM)
1328 (RL78_BANK0_RP2_PTR_REGNUM, RL78_BANK0_RP3_PTR_REGNUM)
1329 (RL78_BANK1_RP0_PTR_REGNUM, RL78_BANK1_RP1_PTR_REGNUM)
1330 (RL78_BANK1_RP2_PTR_REGNUM, RL78_BANK1_RP3_PTR_REGNUM)
1331 (RL78_BANK2_RP0_PTR_REGNUM, RL78_BANK2_RP1_PTR_REGNUM)
1332 (RL78_BANK2_RP2_PTR_REGNUM, RL78_BANK2_RP3_PTR_REGNUM)
1333 (RL78_BANK3_RP0_PTR_REGNUM, RL78_BANK3_RP1_PTR_REGNUM)
1334 (RL78_BANK3_RP2_PTR_REGNUM, RL78_BANK3_RP3_PTR_REGNUM):
1336 (rl78_register_type): Use a data pointer type for SP and
1337 new pseudo registers mentioned above. Use a 16 bit integer
1338 type for all other register pairs.
1339 (rl78_register_name, rl78_g10_register_name): Update for
1340 new pseudo registers.
1341 (rl78_pseudo_register_read): Likewise.
1342 (rl78_pseudo_register_write): Likewise.
1343 (rl78_dwarf_reg_to_regnum): Return register numbers representing
1344 to the newly added pseudo registers.
1346 2014-02-24 Doug Evans <dje@google.com>
1348 * value.c (record_latest_value): Fix comment.
1349 * printcmd.c (print_command_1): Remove code to handle -1 return from
1350 record_latest_value.
1352 2014-02-24 Pedro Alves <palves@redhat.com>
1354 * procfs.c (procfs_target): Don't install procfs_xfer_memory as
1355 deprecated_xfer_memory hook.
1356 (procfs_xfer_partial): Call procfs_xfer_memory instead
1357 of the deprecated_xfer_memory target hook.
1358 (procfs_xfer_memory): Adjust interface as a to_xfer_partial
1361 2014-02-24 Yuanhui Zhang <asmwarrior@gmail.com>
1363 * windows-nat.c (windows_xfer_shared_libraries): Return
1364 TARGET_XFER_EOF if LEN is zero to fix an assert failure when
1365 requested object is TARGET_OBJECT_LIBRARIES.
1367 2014-02-24 Yao Qi <yao@codesourcery.com>
1369 * target.h (enum target_xfer_status)
1370 <TARGET_XFER_E_UNAVAILABLE>: Rename it to ...
1371 <TARGET_XFER_UNAVAILABLE>: ... it with setting value 2
1373 * corefile.c (memory_error_message): User updated.
1374 * exec.c (section_table_read_available_memory): Likewise.
1375 * record-btrace.c (record_btrace_xfer_partial): Likewise.
1376 * target.c (target_xfer_status_to_string): Likewise.
1377 (raw_memory_xfer_partial): Likewise.
1378 (memory_xfer_partial_1, target_xfer_partial): Likewise.
1379 * valops.c (read_value_memory): Likewise.
1380 * exec.h: Update comments.
1382 2014-02-24 Yao Qi <yao@codesourcery.com>
1384 * target.c (target_xfer_status_to_string): Rename argument err
1386 * target.h (target_xfer_status_to_string): Update declaration.
1387 Replace target_xfer_error_to_string with
1388 target_xfer_status_to_string in comment.
1390 2014-02-24 Yao Qi <yao@codesourcery.com>
1392 * mips-linux-nat.c (super_close): Update its type.
1393 (mips_linux_close): Pass 'self' to super_close.
1395 2014-02-24 Yao Qi <yao@codesourcery.com>
1397 * target.h (TARGET_XFER_STATUS_ERROR_P): Remove.
1398 * corefile.c (read_memory): Adjusted.
1399 * target.c (target_write_with_progress): Adjusted.
1401 2014-02-23 Yao Qi <yao@codesourcery.com>
1405 2013-10-25 Yao Qi <yao@codesourcery.com>
1407 * remote.c (remote_traceframe_info): Return early if
1408 traceframe is not selected.
1410 2013-07-19 Yao Qi <yao@codesourcery.com>
1412 * target.c (update_current_target): Change the default action
1413 of 'to_traceframe_info' from tcomplain to return_zero.
1414 * target.h (struct target_ops) <to_traceframe_info>: Add more
1417 2014-02-23 Yao Qi <yao@codesourcery.com>
1419 * valops.c (read_value_memory): Rewrite it. Call
1420 target_xfer_partial in a loop.
1421 * exec.h (section_table_available_memory): Remove declaration.
1422 Move comments to ...
1423 * exec.c (section_table_available_memory): ... here. Make it
1426 2014-02-23 Yao Qi <yao@codesourcery.com>
1428 * exec.c (section_table_read_available_memory): New function.
1429 * exec.h (section_table_read_available_memory): Declare.
1430 * ctf.c (ctf_xfer_partial): Call
1431 section_table_read_available_memory.
1432 * tracefile-tfile.c (tfile_xfer_partial): Likewise.
1434 2014-02-23 Yao Qi <yao@codesourcery.com>
1436 * ctf.c (ctf_xfer_partial): Move code to ...
1437 * exec.c (exec_read_partial_read_only): ... it. New function.
1438 * tracefile-tfile.c (tfile_xfer_partial): Likewise.
1439 * tracefile.c: Include "exec.h".
1440 * exec.h (exec_read_partial_read_only): Declare.
1442 2014-02-23 Yao Qi <yao@codesourcery.com>
1444 * tracefile-tfile.c (tfile_has_all_memory): Remove.
1445 (tfile_has_memory): Remove.
1446 (init_tfile_ops): Don't set fields to_has_all_memory and
1447 to_has_memory of tfile_ops.
1448 * tracefile.c (tracefile_has_all_memory): New function.
1449 (tracefile_has_memory): New function.
1450 (init_tracefile_ops): Initialize fields to_has_all_memory and
1451 to_has_memory of 'ops'.
1453 2014-02-23 Yao Qi <yao@codesourcery.com>
1455 * ctf.c (ctf_has_stack, ctf_has_registers): Remove.
1456 (ctf_thread_alive, ctf_get_trace_status): Remove.
1457 (init_ctf_ops): Don't set some fields of ctf_ops. Call
1459 * tracefile-tfile.c (tfile_get_trace_status): Remove.
1460 (tfile_has_stack, tfile_has_registers): Remove.
1461 (tfile_thread_alive): Remove.
1462 (init_tfile_ops): Don't set some fields of tfile_ops. Call
1464 * tracefile.c (tracefile_has_stack): New function.
1465 (tracefile_has_registers): New function.
1466 (tracefile_thread_alive): New function.
1467 (tracefile_get_trace_status): New function.
1468 (init_tracefile_ops): New function.
1469 * tracefile.h (init_tracefile_ops): Declare.
1471 2014-02-23 Yao Qi <yao@codesourcery.com>
1473 * tracepoint.c (TFILE_PID): Move it to tracefile-tfile.c.
1474 (O_LARGEFILE): Likewise.
1475 (tfile_ops): Likewise.
1476 (TRACE_HEADER_SIZE): Likewise.
1477 (trace_fd, trace_frames_offset, cur_offset): Likewise.
1478 (cur_data_size): Likewise.
1479 (tfile_read, tfile_open, tfile_interp_line): Likewise.
1480 (tfile_close, tfile_files_info): Likewise.
1481 (tfile_get_trace_status): Likewise.
1482 (tfile_get_tracepoint_status): Likewise.
1483 (tfile_get_traceframe_address): Likewise.
1484 (tfile_trace_find, match_blocktype): Likewise.
1485 (traceframe_walk_blocks, traceframe_find_block_type): Likewise.
1486 (tfile_fetch_registers, tfile_xfer_partial): Likewise.
1487 (tfile_get_trace_state_variable_value): Likewise.
1488 (tfile_has_all_memory, tfile_has_memory): Likewise.
1489 (tfile_has_stack, tfile_has_registers): Likewise.
1490 (tfile_thread_alive, build_traceframe_info): Likewise.
1491 (tfile_traceframe_info, init_tfile_ops): Likewise.
1492 (_initialize_tracepoint): Don't call init_tfile_ops
1493 and add_target_with_completer.
1494 * tracefile-tfile.c: Include regcache.h, inferior.h, gdbthread.h,
1495 exec.h, completer.h and filenames.h.
1496 (_initialize_tracefile_tfile): New function.
1498 2014-02-23 Yao Qi <yao@codesourcery.com>
1500 * Makefile.in (REMOTE_OBS): Append tracefile.o and
1502 (HFILES_NO_SRCDIR): Add tracefile.h.
1503 * ctf.c: Include "tracefile.h".
1504 * tracefile.h: New file.
1505 * tracefile.c: New file
1506 * tracefile-tfile.c: New file.
1507 * tracepoint.c: Include "tracefile.h".
1508 (free_uploaded_tps, free_uploaded_tsvs): Remove declarations.
1509 (stop_reason_names): Add const.
1510 (trace_file_writer_xfree): Move it to tracefile.c.
1511 (trace_save, trace_save_command, trace_save_tfile): Likewise.
1512 (trace_save_ctf): Likewise.
1513 (struct tfile_trace_file_writer): Move it to tracefile-tfile.c.
1514 (tfile_target_save, tfile_dtor, tfile_start): Likewise.
1515 (tfile_write_header, tfile_write_regblock_type): Likewise.
1516 (tfile_write_status, tfile_write_uploaded_tsv): Likewise.
1517 (tfile_write_uploaded_tp, tfile_write_definition_end): Likewise.
1518 (tfile_write_raw_data, tfile_end): Likewise.
1519 (tfile_trace_file_writer_new): Likewise.
1520 (free_uploaded_tp): Make it extern.
1521 (free_uploaded_tsv): Make it extern.
1522 (_initialize_tracepoint): Move code to register command 'tsave'
1524 * tracepoint.h (stop_reason_names): Declare.
1525 (struct trace_frame_write_ops): Move it to tracefile.h.
1526 (struct trace_file_write_ops): Likewise.
1527 (struct trace_file_writer): Likewise.
1528 (free_uploaded_tsvs, free_uploaded_tps): Declare.
1530 2014-02-21 Jan Kratochvil <jan.kratochvil@redhat.com>
1533 * common/linux-osdata.c (linux_common_core_of_thread): Find the end of
1535 (get_cores_used_by_process): New parameter num_cores, use it.
1536 (linux_xfer_osdata_processes): Pass num_cores to it.
1537 * linux-tdep.c (linux_info_proc, linux_fill_prpsinfo): Find the end of
1540 2014-02-21 Andreas Arnez <arnez@vnet.linux.ibm.com>
1542 * target.c (memory_xfer_partial): Fix length arg in call to
1543 breakpoint_xfer_memory.
1545 2014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
1548 * i386-tdep.c (i386_stap_parse_special_token_triplet): Check if a
1549 number comes after the + or - signs. Adjust length of register
1550 name to be extracted.
1552 2014-02-20 Tom Tromey <tromey@redhat.com>
1554 * varobj.h (c_varobj_ops, cplus_varobj_ops, java_varobj_ops)
1555 (ada_varobj_ops): Mark "extern".
1557 2014-02-20 Tom Tromey <tromey@redhat.com>
1559 * dbxread.c (read_dbx_symtab): Remove last_o_file_start.
1561 2014-02-20 Doug Evans <xdje42@gmail.com>
1563 * guile/scm-gsmob.c (gdbscm_init_eqable_gsmob): New arg containing_scm.
1564 All callers updated.
1565 (gdbscm_fill_eqable_gsmob_ptr_slot): Delete arg containing_scm.
1566 All callers updated.
1567 * guile/guile-internal.h (gdbscm_init_eqable_gsmob): Update.
1568 (gdbscm_fill_eqable_gsmob_ptr_slot): Update.
1570 2014-02-20 lin zuojian <manjian2006@gmail.com>
1571 Joel Brobecker <brobecker@adacore.com>
1572 Doug Evans <xdje42@gmail.com>
1575 * dwarf2read.c (struct die_info): New member in_process.
1576 (reset_die_in_process): New function.
1577 (process_die): Set it at the start, reset when returning.
1578 (inherit_abstract_dies): Only call process_die if origin_child_die
1579 not already being processed.
1581 2014-02-20 Joel Brobecker <brobecker@adacore.com>
1583 * windows-nat.c (handle_unload_dll): Add function documentation.
1584 (do_initial_windows_stuff): Add comment explaining why we wait
1585 until after inferior initialization has finished before
1586 processing all DLLs.
1588 2014-02-20 Joel Brobecker <brobecker@adacore.com>
1590 * windows-nat.c (get_module_name): Delete.
1591 (windows_get_exec_module_filename): New function, mostly
1592 inspired from get_module_name.
1593 (windows_pid_to_exec_file): Replace call to get_module_name
1594 by call to windows_get_exec_module_filename.
1596 2014-02-20 Joel Brobecker <brobecker@adacore.com>
1598 * windows-nat.c (handle_load_dll): Rewrite this function's
1599 introductory comment. Remove code using get_module_name
1600 to get the DLL's name.
1602 2014-02-20 Joel Brobecker <brobecker@adacore.com>
1604 * windows-nat.c (get_windows_debug_event): Ignore
1605 LOAD_DLL_DEBUG_EVENT and UNLOAD_DLL_DEBUG_EVENT
1606 if windows_initialization_done == 0.
1607 (windows_add_all_dlls): Renames windows_ensure_ntdll_loaded.
1608 Adjust implementation to always load all DLLs.
1609 (do_initial_windows_stuff): Replace call to
1610 windows_ensure_ntdll_loaded by call to windows_add_all_dlls.
1612 2014-02-20 Joel Brobecker <brobecker@adacore.com>
1614 * windows-nat.c (_initialize_windows_nat): Deprecate the
1615 "dll-symbols" command. Turn the "add-shared-symbol-files"
1616 and "assf" aliases into commands, and deprecate them as well.
1617 * NEWS: Add entry explaining that "dll-symbols" and its two
1618 aliases are now deprecated.
1620 2014-02-20 Joel Brobecker <brobecker@adacore.com>
1622 * dec-thread.c (dec_thread_get_ada_task_ptid): Avoid unescaped
1623 new-line in debug string. Remove trailing spaces.
1625 2014-02-19 Stan Shebs <stan@codesourcery.com>
1627 * darwin-nat.c (darwin_xfer_partial): Fix return type.
1629 2014-02-19 Siva Chandra Reddy <sivachandra@google.com>
1631 * NEWS: Add entry for the new feature
1632 * python/py-value.c (valpy_binop): Call value_x_binop for struct
1635 2014-02-19 Stan Shebs <stan@codesourcery.com>
1637 * MAINTAINERS: List Yao Qi as nios2 maintainer.
1639 2014-02-19 Pedro Alves <palves@redhat.com>
1641 * common/ptid.h (struct ptid): Mention that process_stratum
1642 targets should prefer ptid.lwp.
1644 2014-02-19 Pedro Alves <palves@redhat.com>
1646 * remote.c (remote_thread_alive, write_ptid, read_ptid)
1647 (read_ptid, remote_newthread_step, remote_threads_extra_info)
1648 (remote_get_ada_task_ptid, append_resumption, remote_stop_ns)
1649 (threadalive_test, remote_pid_to_str): Use the ptid.lwp field to
1650 store remote thread ids rather than ptid.tid.
1651 (_initialize_remote): Adjust.
1653 2014-02-19 Tom Tromey <tromey@redhat.com>
1655 * target.c (target_get_unwinder): Rewrite.
1656 (target_get_tailcall_unwinder): Rewrite.
1657 * record-btrace.c (record_btrace_to_get_unwinder): New function.
1658 (record_btrace_to_get_tailcall_unwinder): New function.
1659 (init_record_btrace_ops): Update.
1660 * target.h (struct target_ops) <to_get_unwinder,
1661 to_get_tailcall_unwinder>: Now function pointers. Use
1662 TARGET_DEFAULT_RETURN.
1664 2014-02-19 Tom Tromey <tromey@redhat.com>
1666 * nto-procfs.c (procfs_remove_hw_breakpoint): Add 'self'
1668 (init_procfs_ops): Correctly set to_remove_hw_breakpoint.
1670 2014-02-19 Tom Tromey <tromey@redhat.com>
1672 * record-btrace.c (record_btrace_decr_pc_after_break): Delegate
1674 * target-delegates.c: Rebuild.
1675 * target.h (struct target_ops) <to_decr_pc_after_break>: Use
1676 TARGET_DEFAULT_FUNC.
1677 * target.c (default_target_decr_pc_after_break): Rename from
1678 forward_target_decr_pc_after_break. Simplify.
1679 (target_decr_pc_after_break): Rely on delegation.
1681 2014-02-19 Tom Tromey <tromey@redhat.com>
1683 * target.c (update_current_target): Do not INHERIT to_doc or
1684 to_magic. Do not de_fault to_open or to_close.
1686 2014-02-19 Tom Tromey <tromey@redhat.com>
1688 * gcore.h (objfile_find_memory_regions): Declare.
1689 * gcore.c (objfile_find_memory_regions): No longer static. Add
1691 (_initialize_gcore): Don't call exec_set_find_memory_regions.
1692 * exec.c: Include gcore.h.
1693 (exec_set_find_memory_regions): Remove.
1694 (exec_find_memory_regions): Remove.
1695 (exec_do_find_memory_regions): Remove.
1696 (init_exec_ops): Update.
1697 * defs.h (exec_set_find_memory_regions): Remove.
1699 2014-02-19 Tom Tromey <tromey@redhat.com>
1701 * target-delegates.c: Rebuild.
1702 * target.h (struct target_ops) <to_extra_thread_info,
1703 to_thread_name, to_pid_to_exec_file, to_get_section_table,
1704 to_memory_map, to_read_description, to_traceframe_info>: Use NULL,
1705 not 0, in TARGET_DEFAULT_RETURN.
1707 2014-02-19 Tom Tromey <tromey@redhat.com>
1709 * target.c (complete_target_initialization): Remove casts. Use
1710 return_zero_has_execution.
1711 (return_zero): Add "ignore" argument.
1712 (return_zero_has_execution): New function.
1713 (init_dummy_target): Remove casts. Use
1714 return_zero_has_execution.
1716 2014-02-19 Tom Tromey <tromey@redhat.com>
1718 * target.c (update_current_target): Update comments. Do not
1721 2014-02-19 Tom Tromey <tromey@redhat.com>
1723 * arm-linux-nat.c (arm_linux_read_description): Delegate when
1725 * corelow.c (core_read_description): Delegate when needed.
1726 * remote.c (remote_read_description): Delegate when needed.
1727 * target-delegates.c: Rebuild.
1728 * target.c (target_read_description): Rewrite.
1729 * target.h (struct target_ops) <to_read_description>: Update
1730 comment. Use TARGET_DEFAULT_RETURN.
1732 2014-02-19 Tom Tromey <tromey@redhat.com>
1734 * target-delegates.c: Rebuild.
1735 * target.c (update_current_target): Don't inherit or default
1737 (find_default_run_target): Check against delegate_can_run.
1738 * target.h (struct target_ops) <to_can_run>: Use
1739 TARGET_DEFAULT_RETURN.
1741 2014-02-19 Tom Tromey <tromey@redhat.com>
1743 * target-delegates.c: Rebuild.
1744 * target.c (target_disconnect): Unconditionally delegate.
1745 * target.h (struct target_ops) <to_disconnect>: Use
1746 TARGET_DEFAULT_NORETURN.
1748 2014-02-19 Tom Tromey <tromey@redhat.com>
1750 * record.c (record_stop): Unconditionally delegate.
1751 * target-delegates.c: Rebuild.
1752 * target.c (target_stop_recording): Unconditionally delegate.
1753 * target.h (struct target_ops) <to_stop_recording>: Use
1754 TARGET_DEFAULT_IGNORE.
1756 2014-02-19 Tom Tromey <tromey@redhat.com>
1758 * target-delegates.c: Rebuild.
1759 * target.c (target_enable_btrace): Unconditionally delegate.
1760 * target.h (struct target_ops) <to_enable_btrace>: Use
1761 TARGET_DEFAULT_NORETURN.
1763 2014-02-19 Tom Tromey <tromey@redhat.com>
1765 * target-delegates.c: Rebuild.
1766 * target.c (target_read_btrace): Unconditionally delegate.
1767 * target.h (struct target_ops) <to_read_btrace>: Use
1768 TARGET_DEFAULT_NORETURN.
1770 2014-02-19 Tom Tromey <tromey@redhat.com>
1772 * target-delegates.c: Rebuild.
1773 * target.c (target_teardown_btrace): Unconditionally delegate.
1774 * target.h (struct target_ops) <to_teardown_btrace>: Use
1775 TARGET_DEFAULT_NORETURN.
1777 2014-02-19 Tom Tromey <tromey@redhat.com>
1779 * target-delegates.c: Rebuild.
1780 * target.c (target_disable_btrace): Unconditionally delegate.
1781 * target.h (struct target_ops) <to_disable_btrace>: Use
1782 TARGET_DEFAULT_NORETURN.
1784 2014-02-19 Tom Tromey <tromey@redhat.com>
1786 * target-delegates.c: Rebuild.
1787 * target.c (default_search_memory): New function.
1788 (simple_search_memory): Update comment.
1789 (target_search_memory): Unconditionally delegate.
1790 * target.h (struct target_ops) <to_search_memory>: Use
1791 TARGET_DEFAULT_FUNC.
1793 2014-02-19 Tom Tromey <tromey@redhat.com>
1795 * auxv.c (default_auxv_parse): No longer static.
1796 (target_auxv_parse): Unconditionally delegate.
1797 * auxv.h (default_auxv_parse): Declare.
1798 * target-delegates.c: Rebuild.
1799 * target.c: Include auxv.h.
1800 * target.h (struct target_ops) <to_auxv_parse>: Use
1801 TARGET_DEFAULT_FUNC.
1803 2014-02-19 Tom Tromey <tromey@redhat.com>
1805 * target-delegates.c: Rebuild.
1806 * target.c (target_memory_map): Unconditionally delegate.
1807 * target.h (struct target_ops) <to_memory_map>: Use
1808 TARGET_DEFAULT_RETURN.
1810 2014-02-19 Tom Tromey <tromey@redhat.com>
1812 * target-delegates.c: Rebuild.
1813 * target.c (target_thread_alive): Unconditionally delegate.
1814 * target.h (struct target_ops) <to_thread_alive>: Use
1815 TARGET_DEFAULT_RETURN.
1817 2014-02-19 Tom Tromey <tromey@redhat.com>
1819 * target-delegates.c: Rebuild.
1820 * target.c (target_save_record): Unconditionally delegate.
1821 * target.h (struct target_ops) <to_save_record>: Use
1822 TARGET_DEFAULT_NORETURN.
1824 2014-02-19 Tom Tromey <tromey@redhat.com>
1826 * target-delegates.c: Rebuild.
1827 * target.c (target_delete_record): Unconditionally delegate.
1828 * target.h (struct target_ops) <to_delete_record>: Use
1829 TARGET_DEFAULT_NORETURN.
1831 2014-02-19 Tom Tromey <tromey@redhat.com>
1833 * target-delegates.c: Rebuild.
1834 * target.c (target_record_is_replaying): Unconditionally
1836 * target.h (struct target_ops) <to_record_is_replaying>: Use
1837 TARGET_DEFAULT_RETURN.
1839 2014-02-19 Tom Tromey <tromey@redhat.com>
1841 * target-delegates.c: Rebuild.
1842 * target.c (target_goto_record_begin): Unconditionally delegate.
1843 * target.h (struct target_ops) <to_goto_record_begin>: Use
1844 TARGET_DEFAULT_NORETURN.
1846 2014-02-19 Tom Tromey <tromey@redhat.com>
1848 * target-delegates.c: Rebuild.
1849 * target.c (target_goto_record_end): Unconditionally delegate.
1850 * target.h (struct target_ops) <to_goto_record_end>: Use
1851 TARGET_DEFAULT_NORETURN.
1853 2014-02-19 Tom Tromey <tromey@redhat.com>
1855 * target-delegates.c: Rebuild.
1856 * target.c (target_goto_record): Unconditionally delegate.
1857 * target.h (struct target_ops) <to_goto_record>: Use
1858 TARGET_DEFAULT_NORETURN.
1860 2014-02-19 Tom Tromey <tromey@redhat.com>
1862 * target-delegates.c: Rebuild.
1863 * target.c (target_insn_history): Unconditionally delegate.
1864 * target.h (struct target_ops) <to_insn_history>: Use
1865 TARGET_DEFAULT_NORETURN.
1867 2014-02-19 Tom Tromey <tromey@redhat.com>
1869 * target-delegates.c: Rebuild.
1870 * target.c (target_insn_history_from): Unconditionally delegate.
1871 * target.h (struct target_ops) <to_insn_history_from>: Use
1872 TARGET_DEFAULT_NORETURN.
1874 2014-02-19 Tom Tromey <tromey@redhat.com>
1876 * target-delegates.c: Rebuild.
1877 * target.c (target_insn_history_range): Unconditionally delegate.
1878 * target.h (struct target_ops) <to_insn_history_range>: Use
1879 TARGET_DEFAULT_NORETURN.
1881 2014-02-19 Tom Tromey <tromey@redhat.com>
1883 * target-delegates.c: Rebuild.
1884 * target.c (target_call_history): Unconditionally delegate.
1885 * target.h (struct target_ops) <to_call_history>: Use
1886 TARGET_DEFAULT_NORETURN.
1888 2014-02-19 Tom Tromey <tromey@redhat.com>
1890 * target-delegates.c: Rebuild.
1891 * target.c (target_call_history_from): Unconditionally delegate.
1892 * target.h (struct target_ops) <to_call_history_from>: Use
1893 TARGET_DEFAULT_NORETURN.
1895 2014-02-19 Tom Tromey <tromey@redhat.com>
1897 * target-delegates.c: Rebuild.
1898 * target.c (target_call_history_range): Unconditionally delegate.
1899 * target.h (struct target_ops) <to_call_history_range>: Use
1900 TARGET_DEFAULT_NORETURN.
1902 2014-02-19 Tom Tromey <tromey@redhat.com>
1904 * target-delegates.c: Rebuild.
1905 * target.c (target_verify_memory): Unconditionally delegate.
1906 * target.h (struct target_ops) <to_verify_memory>: Use
1907 TARGET_DEFAULT_NORETURN.
1909 2014-02-19 Tom Tromey <tromey@redhat.com>
1911 * target-delegates.c: Rebuild.
1912 * target.c (target_core_of_thread): Unconditionally delegate.
1913 * target.h (struct target_ops) <to_core_of_thread>: Use
1914 TARGET_DEFAULT_RETURN.
1916 2014-02-19 Tom Tromey <tromey@redhat.com>
1918 * target-delegates.c: Rebuild.
1919 * target.c (target_flash_done): Unconditionally delegate.
1920 * target.h (struct target_ops) <to_flash_done>: Use
1921 TARGET_DEFAULT_NORETURN.
1923 2014-02-19 Tom Tromey <tromey@redhat.com>
1925 * target-delegates.c: Rebuild.
1926 * target.c (target_flash_erase): Unconditionally delegate.
1927 * target.h (struct target_ops) <to_flash_erase>: Use
1928 TARGET_DEFAULT_NORETURN.
1930 2014-02-19 Tom Tromey <tromey@redhat.com>
1932 * target-delegates.c: Rebuild.
1933 * target.c (target_get_section_table): Unconditionally delegate.
1934 * target.h (struct target_ops) <to_get_section_table>: Use
1935 TARGET_DEFAULT_RETURN.
1937 2014-02-19 Tom Tromey <tromey@redhat.com>
1939 * target-delegates.c: Rebuild.
1940 * target.c (target_pid_to_str): Unconditionally delegate.
1941 (init_dummy_target): Don't initialize to_pid_to_str.
1942 (default_pid_to_str): Rename from dummy_pid_to_str.
1943 * target.h (struct target_ops) <to_pid_to_str>: Use
1944 TARGET_DEFAULT_FUNC.
1946 2014-02-19 Tom Tromey <tromey@redhat.com>
1948 * target-delegates.c: Rebuild.
1949 * target.c (target_find_new_threads): Unconditionally delegate.
1950 * target.h (struct target_ops) <to_find_new_threads>: Use
1951 TARGET_DEFAULT_RETURN.
1953 2014-02-19 Tom Tromey <tromey@redhat.com>
1955 * target-delegates.c: Rebuild.
1956 * target.c (target_program_signals): Unconditionally delegate.
1957 * target.h (struct target_ops) <to_program_signals>: Use
1958 TARGET_DEFAULT_IGNORE.
1960 2014-02-19 Tom Tromey <tromey@redhat.com>
1962 * target-delegates.c: Rebuild.
1963 * target.c (target_pass_signals): Unconditionally delegate.
1964 * target.h (struct target_ops) <to_pass_signals>: Use
1965 TARGET_DEFAULT_IGNORE.
1967 2014-02-19 Tom Tromey <tromey@redhat.com>
1969 * target-delegates.c: Rebuild.
1970 * target.c (default_mourn_inferior): New function.
1971 (target_mourn_inferior): Unconditionally delegate.
1972 * target.h (struct target_ops) <to_mourn_inferior>: Use
1973 TARGET_DEFAULT_FUNC.
1975 2014-02-19 Tom Tromey <tromey@redhat.com>
1977 * target-delegates.c: Rebuild.
1978 * target.c (default_follow_fork): New function.
1979 (target_follow_fork): Unconditionally delegate.
1980 * target.h (struct target_ops) <to_follow_fork>: Use
1981 TARGET_DEFAULT_FUNC.
1983 2014-02-19 Tom Tromey <tromey@redhat.com>
1985 * target-delegates.c: Rebuild.
1986 * target.c (target_kill): Unconditionally delegate.
1987 * target.h (struct target_ops) <to_kill>: Use
1988 TARGET_DEFAULT_NORETURN.
1990 2014-02-19 Tom Tromey <tromey@redhat.com>
1992 * target-delegates.c: Rebuild.
1993 * target.c (target_masked_watch_num_registers): Unconditionally
1995 * target.h (struct target_ops) <to_masked_watch_num_registers>:
1996 Use TARGET_DEFAULT_RETURN.
1998 2014-02-19 Tom Tromey <tromey@redhat.com>
2000 * target-delegates.c: Rebuild.
2001 * target.c (target_remove_mask_watchpoint): Unconditionally
2003 * target.h (struct target_ops) <to_remove_mask_watchpoint>: Use
2004 TARGET_DEFAULT_RETURN.
2006 2014-02-19 Tom Tromey <tromey@redhat.com>
2008 * target-delegates.c: Rebuild.
2009 * target.c (target_insert_mask_watchpoint): Unconditionally
2011 * target.h (struct target_ops) <to_insert_mask_watchpoint>: Use
2012 TARGET_DEFAULT_RETURN.
2014 2014-02-19 Tom Tromey <tromey@redhat.com>
2016 * target-delegates.c: Rebuild.
2017 * target.c (target_ranged_break_num_registers): Unconditionally
2019 * target.h (struct target_ops) <to_ranged_break_num_registers>:
2020 Use TARGET_DEFAULT_RETURN.
2022 2014-02-19 Tom Tromey <tromey@redhat.com>
2024 * target-delegates.c: Rebuild.
2025 * target.c (target_fetch_registers): Unconditionally delegate.
2026 * target.h (struct target_ops) <to_fetch_registers>: Use
2027 TARGET_DEFAULT_NORETURN.
2029 2014-02-19 Tom Tromey <tromey@redhat.com>
2031 * target-delegates.c: Rebuild.
2032 * target.c (update_current_target): Don't inherit or default
2034 * target.h (struct target_ops) <to_stop>: Use
2035 TARGET_DEFAULT_IGNORE.
2037 2014-02-19 Tom Tromey <tromey@redhat.com>
2039 * target-delegates.c: Rebuild.
2040 * target.c (update_current_target): Don't inherit or default
2041 to_can_run_breakpoint_commands.
2042 * target.h (struct target_ops) <to_can_run_breakpoint_commands>:
2043 Use TARGET_DEFAULT_RETURN.
2045 2014-02-19 Tom Tromey <tromey@redhat.com>
2047 * target-delegates.c: Rebuild.
2048 * target.c (update_current_target): Don't inherit or default
2049 to_supports_evaluation_of_breakpoint_conditions.
2050 * target.h (struct target_ops)
2051 <to_supports_evaluation_of_breakpoint_conditions>: Use
2052 TARGET_DEFAULT_RETURN.
2054 2014-02-19 Tom Tromey <tromey@redhat.com>
2056 * target-delegates.c: Rebuild.
2057 * target.c (update_current_target): Don't inherit or default
2058 to_augmented_libraries_svr4_read.
2059 * target.h (struct target_ops) <to_augmented_libraries_svr4_read>:
2060 Use TARGET_DEFAULT_RETURN.
2062 2014-02-19 Tom Tromey <tromey@redhat.com>
2064 * target-delegates.c: Rebuild.
2065 * target.c (update_current_target): Don't inherit or default
2067 * target.h (struct target_ops) <to_can_use_agent>: Use
2068 TARGET_DEFAULT_RETURN.
2070 2014-02-19 Tom Tromey <tromey@redhat.com>
2072 * target-delegates.c: Rebuild.
2073 * target.c (update_current_target): Don't inherit or default
2075 * target.h (struct target_ops) <to_use_agent>: Use
2076 TARGET_DEFAULT_NORETURN.
2078 2014-02-19 Tom Tromey <tromey@redhat.com>
2080 * target-delegates.c: Rebuild.
2081 * target.c (update_current_target): Don't inherit or default
2083 (return_null): Remove.
2084 * target.h (struct target_ops) <to_traceframe_info>: Use
2085 TARGET_DEFAULT_RETURN.
2087 2014-02-19 Tom Tromey <tromey@redhat.com>
2089 * target-delegates.c: Rebuild.
2090 * target.c (update_current_target): Don't inherit or default
2091 to_static_tracepoint_markers_by_strid.
2092 * target.h (struct target_ops)
2093 <to_static_tracepoint_markers_by_strid>: Use
2094 TARGET_DEFAULT_NORETURN.
2096 2014-02-19 Tom Tromey <tromey@redhat.com>
2098 * target-delegates.c: Rebuild.
2099 * target.c (update_current_target): Don't inherit or default
2100 to_static_tracepoint_marker_at.
2101 * target.h (struct target_ops) <to_static_tracepoint_marker_at>:
2102 Use TARGET_DEFAULT_RETURN.
2104 2014-02-19 Tom Tromey <tromey@redhat.com>
2106 * target-delegates.c: Rebuild.
2107 * target.c (update_current_target): Don't inherit or default
2109 * target.h (struct target_ops) <to_set_permissions>: Use
2110 TARGET_DEFAULT_IGNORE.
2112 2014-02-19 Tom Tromey <tromey@redhat.com>
2114 * target-delegates.c: Rebuild.
2115 * target.c (update_current_target): Don't inherit or default
2117 * target.h (struct target_ops) <to_get_tib_address>: Use
2118 TARGET_DEFAULT_NORETURN.
2120 2014-02-19 Tom Tromey <tromey@redhat.com>
2122 * target-delegates.c: Rebuild.
2123 * target.c (update_current_target): Don't inherit or default
2125 * target.h (struct target_ops) <to_set_trace_notes>: Use
2126 TARGET_DEFAULT_RETURN.
2128 2014-02-19 Tom Tromey <tromey@redhat.com>
2130 * target-delegates.c: Rebuild.
2131 * target.c (update_current_target): Don't initialize
2132 to_set_trace_buffer_size.
2133 * target.h (struct target_ops) <to_set_trace_buffer_size>: Use
2134 TARGET_DEFAULT_IGNORE.
2136 2014-02-19 Tom Tromey <tromey@redhat.com>
2138 * target-delegates.c: Rebuild.
2139 * target.c (update_current_target): Don't inherit or default
2140 to_set_circular_trace_buffer.
2141 * target.h (struct target_ops) <to_set_circular_trace_buffer>: Use
2142 TARGET_DEFAULT_IGNORE.
2144 2014-02-19 Tom Tromey <tromey@redhat.com>
2146 * target-delegates.c: Rebuild.
2147 * target.c (update_current_target): Don't inherit or default
2148 to_set_disconnected_tracing.
2149 * target.h (struct target_ops) <to_set_disconnected_tracing>: Use
2150 TARGET_DEFAULT_IGNORE.
2152 2014-02-19 Tom Tromey <tromey@redhat.com>
2154 * target-delegates.c: Rebuild.
2155 * target.c (update_current_target): Don't inherit or default
2156 to_get_min_fast_tracepoint_insn_len.
2157 (return_minus_one): Remove.
2158 * target.h (struct target_ops)
2159 <to_get_min_fast_tracepoint_insn_len>: Use TARGET_DEFAULT_RETURN.
2161 2014-02-19 Tom Tromey <tromey@redhat.com>
2163 * target-delegates.c: Rebuild.
2164 * target.c (update_current_target): Don't inherit or default
2165 to_get_raw_trace_data.
2166 * target.h (struct target_ops) <to_get_raw_trace_data>: Use
2167 TARGET_DEFAULT_NORETURN.
2169 2014-02-19 Tom Tromey <tromey@redhat.com>
2171 * target-delegates.c: Rebuild.
2172 * target.c (update_current_target): Don't inherit or default
2173 to_upload_trace_state_variables.
2174 * target.h (struct target_ops) <to_upload_trace_state_variables>:
2175 Use TARGET_DEFAULT_RETURN.
2177 2014-02-19 Tom Tromey <tromey@redhat.com>
2179 * target-delegates.c: Rebuild.
2180 * target.c (update_current_target): Don't inherit or default
2181 to_upload_tracepoints.
2182 * target.h (struct target_ops) <to_upload_tracepoints>: Use
2183 TARGET_DEFAULT_RETURN.
2185 2014-02-19 Tom Tromey <tromey@redhat.com>
2187 * target-delegates.c: Rebuild.
2188 * target.c (update_current_target): Don't inherit or default
2190 * target.h (struct target_ops) <to_save_trace_data>: Use
2191 TARGET_DEFAULT_NORETURN.
2193 2014-02-19 Tom Tromey <tromey@redhat.com>
2195 * target-delegates.c: Rebuild.
2196 * target.c (update_current_target): Don't inherit or default
2197 to_get_trace_state_variable_value.
2198 * target.h (struct target_ops)
2199 <to_get_trace_state_variable_value>: Use TARGET_DEFAULT_RETURN.
2201 2014-02-19 Tom Tromey <tromey@redhat.com>
2203 * target-delegates.c: Rebuild.
2204 * target.c (update_current_target): Don't inherit or default
2206 * target.h (struct target_ops): Use TARGET_DEFAULT_RETURN.
2208 2014-02-19 Tom Tromey <tromey@redhat.com>
2210 * target-delegates.c: Rebuild.
2211 * target.c (update_current_target): Don't inherit or default
2213 * target.h (struct target_ops) <to_trace_stop>: Use
2214 TARGET_DEFAULT_NORETURN.
2216 2014-02-19 Tom Tromey <tromey@redhat.com>
2218 * target-delegates.c: Rebuild.
2219 * target.c (update_current_target): Don't inherit or default
2220 to_get_tracepoint_status.
2221 * target.h (struct target_ops) <to_get_tracepoint_status>: Use
2222 TARGET_DEFAULT_NORETURN.
2224 2014-02-19 Tom Tromey <tromey@redhat.com>
2226 * target-delegates.c: Rebuild.
2227 * target.c (update_current_target): Don't inherit or default
2228 to_get_trace_status.
2229 * target.h (struct target_ops) <to_get_trace_status>: Use
2230 TARGET_DEFAULT_RETURN.
2232 2014-02-19 Tom Tromey <tromey@redhat.com>
2234 * target-delegates.c: Rebuild.
2235 * target.c (update_current_target): Don't inherit or default
2237 * target.h (struct target_ops) <to_trace_start>: Use
2238 TARGET_DEFAULT_NORETURN.
2240 2014-02-19 Tom Tromey <tromey@redhat.com>
2242 * target-delegates.c: Rebuild.
2243 * target.c (update_current_target): Don't inherit or default
2244 to_trace_set_readonly_regions.
2245 * target.h (struct target_ops) <to_trace_set_readonly_regions>:
2246 Use TARGET_DEFAULT_NORETURN.
2248 2014-02-19 Tom Tromey <tromey@redhat.com>
2250 * target-delegates.c: Rebuild.
2251 * target.c (update_current_target): Don't inherit or default
2252 to_disable_tracepoint.
2253 * target.h (struct target_ops) <to_disable_tracepoint>: Use
2254 TARGET_DEFAULT_NORETURN.
2256 2014-02-19 Tom Tromey <tromey@redhat.com>
2258 * target-delegates.c: Rebuild.
2259 * target.c (update_current_target): Don't inherit or default
2260 to_enable_tracepoint.
2261 * target.h (struct target_ops) <to_enable_tracepoint>: Use
2262 TARGET_DEFAULT_NORETURN.
2264 2014-02-19 Tom Tromey <tromey@redhat.com>
2266 * target-delegates.c: Rebuild.
2267 * target.c (update_current_target): Don't inherit or default
2268 to_download_trace_state_variable.
2269 * target.h (struct target_ops) <to_download_trace_state_variable>:
2270 Use TARGET_DEFAULT_NORETURN.
2272 2014-02-19 Tom Tromey <tromey@redhat.com>
2274 * target-delegates.c: Rebuild.
2275 * target.c (update_current_target): Don't inherit or default
2276 to_can_download_tracepoint.
2277 * target.h (struct target_ops) <to_can_download_tracepoint>: Use
2278 TARGET_DEFAULT_RETURN.
2280 2014-02-19 Tom Tromey <tromey@redhat.com>
2282 * target-delegates.c: Rebuild.
2283 * target.c (update_current_target): Don't inherit or default
2284 to_download_tracepoint.
2285 * target.h (struct target_ops) <to_download_tracepoint>: Use
2286 TARGET_DEFAULT_NORETURN.
2288 2014-02-19 Tom Tromey <tromey@redhat.com>
2290 * target-delegates.c: Rebuild.
2291 * target.c (update_current_target): Don't inherit or default
2293 * target.h (struct target_ops) <to_trace_init>: Use
2294 TARGET_DEFAULT_RETURN.
2296 2014-02-19 Tom Tromey <tromey@redhat.com>
2298 * target-delegates.c: Rebuild.
2299 * target.c (update_current_target): Don't inherit or default
2300 to_supports_string_tracing.
2301 * target.h (struct target_ops) <to_supports_string_tracing>: Use
2302 TARGET_DEFAULT_RETURN.
2304 2014-02-19 Tom Tromey <tromey@redhat.com>
2306 * target-delegates.c: Rebuild.
2307 * target.c (update_current_target): Don't inherit or default
2308 to_supports_enable_disable_tracepoint.
2309 * target.h (struct target_ops)
2310 <to_supports_enable_disable_tracepoint>: Use
2311 TARGET_DEFAULT_RETURN.
2313 2014-02-19 Tom Tromey <tromey@redhat.com>
2315 * target-delegates.c: Rebuild.
2316 * target.c (update_current_target): Don't inherit or default
2317 to_supports_multi_process.
2318 * target.h (struct target_ops) <to_supports_multi_process>: Use
2319 TARGET_DEFAULT_RETURN.
2321 2014-02-19 Tom Tromey <tromey@redhat.com>
2323 * target-delegates.c: Rebuild.
2324 * target.c (update_current_target): Don't inherit or default
2325 to_get_ada_task_ptid.
2326 * target.h (struct target_ops) <to_get_ada_task_ptid>: Use
2327 TARGET_DEFAULT_FUNC.
2329 2014-02-19 Tom Tromey <tromey@redhat.com>
2331 * target-delegates.c: Rebuild.
2332 * target.c (update_current_target): Don't inherit or default
2333 to_thread_architecture.
2334 * target.h (struct target_ops) <to_thread_architecture>: Use
2335 TARGET_DEFAULT_FUNC.
2337 2014-02-19 Tom Tromey <tromey@redhat.com>
2339 * target-delegates.c: Rebuild.
2340 * target.c (update_current_target): Don't inherit or default
2341 to_execution_direction.
2342 * target.h (struct target_ops) <to_execution_direction>: Use
2343 TARGET_DEFAULT_FUNC.
2345 2014-02-19 Tom Tromey <tromey@redhat.com>
2347 * target-delegates.c: Rebuild.
2348 * target.c (update_current_target): Don't inherit or default
2349 to_can_execute_reverse.
2350 * target.h (struct target_ops) <to_can_execute_reverse>: Use
2351 TARGET_DEFAULT_RETURN.
2352 (target_can_execute_reverse): Unconditionally delegate.
2354 2014-02-19 Tom Tromey <tromey@redhat.com>
2356 * target-delegates.c: Rebuild.
2357 * target.c (update_current_target): Don't inherit or default
2359 (dummy_goto_bookmark): Remove.
2360 (init_dummy_target): Don't inherit or default to_goto_bookmark.
2361 * target.h (struct target_ops) <to_goto_bookmark>: Use
2362 TARGET_DEFAULT_NORETURN.
2364 2014-02-19 Tom Tromey <tromey@redhat.com>
2366 * target-delegates.c: Rebuild.
2367 * target.c (update_current_target): Don't inherit or default
2369 (dummy_get_bookmark): Remove.
2370 (init_dummy_target): Don't inherit or default to_get_bookmark.
2371 * target.h (struct target_ops) <to_get_bookmark>: Use
2372 TARGET_DEFAULT_NORETURN
2374 2014-02-19 Tom Tromey <tromey@redhat.com>
2376 * target-delegates.c: Rebuild.
2377 * target.c (update_current_target): Don't inherit or default
2378 to_make_corefile_notes.
2379 (init_dummy_target): Don't initialize to_make_corefile_notes.
2380 * target.h (struct target_ops) <to_make_corefile_notes>: Use
2381 TARGET_DEFAULT_FUNC.
2383 2014-02-19 Tom Tromey <tromey@redhat.com>
2385 * target-delegates.c: Rebuild.
2386 * target.c (update_current_target): Don't inherit or default
2387 to_find_memory_regions.
2388 (init_dummy_target): Don't initialize to_find_memory_regions.
2389 * target.h (struct target_ops) <to_find_memory_regions>: Use
2390 TARGET_DEFAULT_FUNC.
2392 2014-02-19 Tom Tromey <tromey@redhat.com>
2394 * target-delegates.c: Rebuild.
2395 * target.c (update_current_target): Don't inherit or default
2397 * target.h (struct target_ops) <to_log_command>: Use
2398 TARGET_DEFAULT_IGNORE.
2399 (target_log_command): Unconditionally delegate.
2401 2014-02-19 Tom Tromey <tromey@redhat.com>
2403 * target-delegates.c: Rebuild.
2404 * target.c (update_current_target): Don't inherit or default
2405 to_pid_to_exec_file.
2406 * target.h (struct target_ops) <to_pid_to_exec_file>: Use
2407 TARGET_DEFAULT_RETURN.
2409 2014-02-19 Tom Tromey <tromey@redhat.com>
2411 * target-delegates.c: Rebuild.
2412 * target.c (update_current_target): Don't inherit or default
2414 (target_thread_name): Unconditionally delegate.
2415 * target.h (struct target_ops) <to_thread_name>: Use
2416 TARGET_DEFAULT_RETURN.
2418 2014-02-19 Tom Tromey <tromey@redhat.com>
2420 * target-delegates.c: Rebuild.
2421 * target.c (update_current_target): Don't inherit or default
2422 to_extra_thread_info.
2423 * target.h (struct target_ops) <to_extra_thread_info>: Use
2424 TARGET_DEFAULT_RETURN.
2426 2014-02-19 Tom Tromey <tromey@redhat.com>
2428 * target-delegates.c: Rebuild.
2429 * target.c (update_current_target): Don't inherit or default
2431 * target.h (struct target_ops) <to_has_exited>: Use
2432 TARGET_DEFAULT_RETURN..
2434 2014-02-19 Tom Tromey <tromey@redhat.com>
2436 * target-delegates.c: Rebuild.
2437 * target.c (update_current_target): Don't inherit or default
2438 to_set_syscall_catchpoint.
2439 (return_one): Remove.
2440 * target.h (struct target_ops) <to_set_syscall_catchpoint>: Use
2441 TARGET_DEFAULT_RETURN.
2443 2014-02-19 Tom Tromey <tromey@redhat.com>
2445 * target-delegates.c: Rebuild.
2446 * target.c (update_current_target): Don't inherit or default
2447 to_insert_exec_catchpoint.
2448 * target.h (struct target_ops) <to_insert_exec_catchpoint>: Use
2449 TARGET_DEFAULT_RETURN.
2451 2014-01-08 Tom Tromey <tromey@redhat.com>
2453 * target-delegates.c: Rebuild.
2454 * target.c (update_current_target): Don't inherit or default
2455 to_insert_exec_catchpoint.
2456 * target.h (struct target_ops) <to_insert_exec_catchpoint>: Use
2457 TARGET_DEFAULT_RETURN.
2459 2014-02-19 Tom Tromey <tromey@redhat.com>
2461 * target-delegates.c: Rebuild.
2462 * target.c (update_current_target): Don't inherit or default
2463 to_remove_vfork_catchpoint.
2464 * target.h (struct target_ops) <to_remove_vfork_catchpoint>: Use
2465 TARGET_DEFAULT_RETURN.
2467 2014-02-19 Tom Tromey <tromey@redhat.com>
2469 * target-delegates.c: Rebuild.
2470 * target.c (update_current_target): Don't inherit or default
2471 to_insert_vfork_catchpoint.
2472 * target.h (struct target_ops) <to_insert_vfork_catchpoint>: Use
2473 TARGET_DEFAULT_RETURN.
2475 2014-02-19 Tom Tromey <tromey@redhat.com>
2477 * target-delegates.c: Rebuild.
2478 * target.c (update_current_target): Don't inherit or default
2479 to_remove_fork_catchpoint.
2480 * target.h (struct target_ops) <to_remove_fork_catchpoint>: Use
2481 TARGET_DEFAULT_RETURN.
2483 2014-02-19 Tom Tromey <tromey@redhat.com>
2485 * target-delegates.c: Rebuild.
2486 * target.c (update_current_target): Don't inherit or default
2487 to_insert_fork_catchpoint.
2488 * target.h (struct target_ops) <to_insert_fork_catchpoint>: Use
2489 TARGET_DEFAULT_RETURN.
2491 2014-02-19 Tom Tromey <tromey@redhat.com>
2493 * target-delegates.c: Rebuild.
2494 * target.c (update_current_target): Don't inherit or default
2495 to_post_startup_inferior.
2496 * target.h (struct target_ops) <to_post_startup_inferior>: Use
2497 TARGET_DEFAULT_IGNORE.
2499 2014-02-19 Tom Tromey <tromey@redhat.com>
2501 * target-delegates.c: Rebuild.
2502 * target.c (update_current_target): Don't inherit or default
2504 * target.h (struct target_ops) <to_load>: Use
2505 TARGET_DEFAULT_NORETURN.
2507 2014-02-19 Tom Tromey <tromey@redhat.com>
2509 * target-delegates.c: Rebuild.
2510 * target.c (update_current_target): Don't inherit or default
2512 * target.h (struct target_ops) <to_terminal_info>: Use
2513 TARGET_DEFAULT_FUNC.
2515 2014-02-19 Tom Tromey <tromey@redhat.com>
2517 * target-delegates.c: Rebuild.
2518 * target.c (update_current_target): Don't inherit or default
2519 to_terminal_save_ours.
2520 * target.h (struct target_ops) <to_terminal_save_ours>: Use
2521 TARGET_DEFAULT_IGNORE.
2523 2014-02-19 Tom Tromey <tromey@redhat.com>
2525 * target-delegates.c: Rebuild.
2526 * target.c (update_current_target): Don't inherit or default
2528 * target.h (struct target_ops) <to_terminal_ours>: Use
2529 TARGET_DEFAULT_IGNORE.
2531 2014-02-19 Tom Tromey <tromey@redhat.com>
2533 * target-delegates.c: Rebuild.
2534 * target.c (update_current_target): Don't inherit or default
2535 to_terminal_ours_for_output.
2536 * target.h (struct target_ops) <to_terminal_ours_for_output>: Use
2537 TARGET_DEFAULT_IGNORE.
2539 2014-02-19 Tom Tromey <tromey@redhat.com>
2541 * target-delegates.c: Rebuild.
2542 * target.c (update_current_target): Don't inherit or default
2543 to_terminal_inferior.
2544 * target.h (struct target_ops) <to_terminal_inferior>: Use
2545 TARGET_DEFAULT_IGNORE.
2547 2014-02-19 Tom Tromey <tromey@redhat.com>
2549 * target-delegates.c: Rebuild.
2550 * target.c (update_current_target): Don't inherit or default
2552 * target.h (struct target_ops) <to_terminal_init>: Use
2553 TARGET_DEFAULT_IGNORE.
2555 2014-02-19 Tom Tromey <tromey@redhat.com>
2557 * target-delegates.c: Rebuild.
2558 * target.c (update_current_target): Don't inherit or default
2559 to_can_accel_watchpoint_condition.
2560 * target.h (struct target_ops)
2561 <to_can_accel_watchpoint_condition>: Use TARGET_DEFAULT_RETURN.
2563 2014-02-19 Tom Tromey <tromey@redhat.com>
2565 * target-delegates.c: Rebuild.
2566 * target.c (update_current_target): Don't inherit or default
2567 to_region_ok_for_hw_watchpoint.
2568 * target.h (struct target_ops) <to_region_ok_for_hw_watchpoint>:
2569 Use TARGET_DEFAULT_FUNC.
2571 2014-02-19 Tom Tromey <tromey@redhat.com>
2573 * target-delegates.c: Rebuild.
2574 * target.c (update_current_target): Don't inherit or default
2575 to_watchpoint_addr_within_range.
2576 * target.h (struct target_ops) <to_watchpoint_addr_within_range>:
2577 Use TARGET_DEFAULT_FUNC.
2579 2014-02-19 Tom Tromey <tromey@redhat.com>
2581 * target-delegates.c: Rebuild.
2582 * target.c (update_current_target): Don't inherit or default
2583 to_remove_watchpoint.
2584 * target.h (struct target_ops) <to_remove_watchpoint>: Use
2585 TARGET_DEFAULT_NORETURN.
2587 2014-02-19 Tom Tromey <tromey@redhat.com>
2589 * target-delegates.c: Rebuild.
2590 * target.c (update_current_target): Don't inherit or default
2591 to_insert_watchpoint.
2592 * target.h (struct target_ops) <to_insert_watchpoint>: Use
2593 TARGET_DEFAULT_RETURN.
2595 2014-02-19 Tom Tromey <tromey@redhat.com>
2597 * target-delegates.c: Rebuild.
2598 * target.c (update_current_target): Don't inherit or default
2599 to_remove_hw_breakpoint.
2600 * target.h (struct target_ops) <to_remove_hw_breakpoint>: Use
2601 TARGET_DEFAULT_RETURN.
2603 2014-02-19 Tom Tromey <tromey@redhat.com>
2605 * target-delegates.c: Rebuild.
2606 * target.c (update_current_target): Don't inherit or default
2607 to_insert_hw_breakpoint.
2608 * target.h (struct target_ops) <to_insert_hw_breakpoint>: Use
2609 TARGET_DEFAULT_RETURN.
2611 2014-02-19 Tom Tromey <tromey@redhat.com>
2613 * target-delegates.c: Rebuild.
2614 * target.c (update_current_target): Don't inherit or default
2615 to_can_use_hw_breakpoint.
2616 * target.h (struct target_ops) <to_can_use_hw_breakpoint>: Use
2617 TARGET_DEFAULT_RETURN.
2619 2014-02-19 Tom Tromey <tromey@redhat.com>
2621 * target-delegates.c: Rebuild.
2622 * target.c (update_current_target): Don't inherit or default
2624 * target.h (struct target_ops) <to_files_info>: Use
2625 TARGET_DEFAULT_IGNORE.
2627 2014-02-19 Tom Tromey <tromey@redhat.com>
2629 * target-delegates.c: Rebuild.
2630 * target.c (update_current_target): Don't inherit or default
2632 * target.h (struct target_ops) <to_store>: Use
2633 TARGET_DEFAULT_NORETURN.
2635 2014-02-19 Tom Tromey <tromey@redhat.com>
2637 * target-delegates.c: Rebuild.
2638 * target.c (update_current_target): Don't inherit or default
2640 * target.h (struct target_ops) <to_post_attach>: Use
2641 TARGET_DEFAULT_IGNORE.
2643 2014-02-19 Tom Tromey <tromey@redhat.com>
2645 * target-delegates.c: Rebuild.
2646 * target.c (update_current_target): Don't inherit or default
2648 (default_rcmd): New function.
2649 (do_monitor_command): Unconditionally delegate.
2650 * target.h (struct target_ops) <to_rmcd>: Use
2651 TARGET_DEFAULT_FUNC.
2653 2014-02-19 Tom Tromey <tromey@redhat.com>
2655 * target-delegates.c: Rebuild.
2656 * target.c (init_dummy_target): Don't initialize to_attach.
2657 (target_attach): Unconditionally delegate.
2658 * target.h (struct target_ops) <to_attach>: Use
2659 TARGET_DEFAULT_FUNC.
2661 2014-02-19 Tom Tromey <tromey@redhat.com>
2663 * target-delegates.c: Rebuild.
2664 * target.c (target_detach): Unconditionally delegate.
2665 (init_dummy_target): Don't initialize to_detach.
2666 * target.h (struct target_ops) <to_detach>: Use
2667 TARGET_DEFAULT_IGNORE.
2669 2014-02-19 Tom Tromey <tromey@redhat.com>
2671 * target.h (struct target_ops) <to_augmented_libraries_svr4_read>:
2673 (target_augmented_libraries_svr4_read): Add argument.
2674 * target.c (update_current_target): Update.
2675 * remote.c (remote_augmented_libraries_svr4_read): Add 'self'
2678 2014-02-19 Tom Tromey <tromey@redhat.com>
2680 * target.h (struct target_ops) <to_call_history_range>: Add
2682 * target.c (target_call_history_range): Add argument.
2683 * record-btrace.c (record_btrace_call_history_range): Add 'self'
2685 (record_btrace_call_history_from): Update.
2687 2014-02-19 Tom Tromey <tromey@redhat.com>
2689 * target.h (struct target_ops) <to_call_history_from>: Add
2691 * target.c (target_call_history_from): Add argument.
2692 * record-btrace.c (record_btrace_call_history_from): Add 'self'
2695 2014-02-19 Tom Tromey <tromey@redhat.com>
2697 * target.h (struct target_ops) <to_call_history>: Add argument.
2698 * target.c (target_call_history): Add argument.
2699 * record-btrace.c (record_btrace_call_history): Add 'self'
2702 2014-02-19 Tom Tromey <tromey@redhat.com>
2704 * target.h (struct target_ops) <to_insn_history_range>: Add
2706 * target.c (target_insn_history_range): Add argument.
2707 * record-btrace.c (record_btrace_insn_history_range): Add 'self'
2709 (record_btrace_insn_history_from): Update.
2711 2014-02-19 Tom Tromey <tromey@redhat.com>
2713 * target.h (struct target_ops) <to_insn_history_from>: Add
2715 * target.c (target_insn_history_from): Add argument.
2716 * record-btrace.c (record_btrace_insn_history_from): Add 'self'
2719 2014-02-19 Tom Tromey <tromey@redhat.com>
2721 * target.h (struct target_ops) <to_insn_history>: Add argument.
2722 * target.c (target_insn_history): Add argument.
2723 * record-btrace.c (record_btrace_insn_history): Add 'self'
2726 2014-02-19 Tom Tromey <tromey@redhat.com>
2728 * target.h (struct target_ops) <to_goto_record>: Add argument.
2729 * target.c (target_goto_record): Add argument.
2730 * record-full.c (record_full_goto): Add 'self' argument.
2731 * record-btrace.c (record_btrace_goto): Add 'self' argument.
2733 2014-02-19 Tom Tromey <tromey@redhat.com>
2735 * target.h (struct target_ops) <to_goto_record_end>: Add argument.
2736 * target.c (target_goto_record_end): Add argument.
2737 * record-full.c (record_full_goto_end): Add 'self' argument.
2738 * record-btrace.c (record_btrace_goto_end): Add 'self' argument.
2740 2014-02-19 Tom Tromey <tromey@redhat.com>
2742 * target.h (struct target_ops) <to_goto_record_begin>: Add
2744 * target.c (target_goto_record_begin): Add argument.
2745 * record-full.c (record_full_goto_begin): Add 'self' argument.
2746 * record-btrace.c (record_btrace_goto_begin): Add 'self'
2749 2014-02-19 Tom Tromey <tromey@redhat.com>
2751 * target.h (struct target_ops) <to_record_is_replaying>: Add
2753 * target.c (target_record_is_replaying): Add argument.
2754 * record-full.c (record_full_is_replaying): Add 'self' argument.
2755 * record-btrace.c (record_btrace_is_replaying): Add 'self'
2757 (record_btrace_xfer_partial, record_btrace_store_registers)
2758 (record_btrace_prepare_to_store, record_btrace_resume)
2759 (record_btrace_wait, record_btrace_decr_pc_after_break)
2760 (record_btrace_find_new_threads, record_btrace_thread_alive):
2763 2014-02-19 Tom Tromey <tromey@redhat.com>
2765 * target.h (struct target_ops) <to_delete_record>: Add argument.
2766 * target.c (target_delete_record): Add argument.
2767 * record-full.c (record_full_delete): Add 'self' argument.
2769 2014-02-19 Tom Tromey <tromey@redhat.com>
2771 * target.h (struct target_ops) <to_save_record>: Add argument.
2772 * target.c (target_save_record): Add argument.
2773 * record-full.c (record_full_save): Add 'self' argument.
2774 (record_full_save): Add 'self' argument.
2776 2014-02-19 Tom Tromey <tromey@redhat.com>
2778 * target.h (struct target_ops) <to_info_record>: Add argument.
2779 * target.c (target_info_record): Add argument.
2780 * record.c (info_record_command): Add argument.
2781 * record-full.c (record_full_info): Add 'self' argument.
2782 * record-btrace.c (record_btrace_info): Add 'self' argument.
2784 2014-02-19 Tom Tromey <tromey@redhat.com>
2786 * target.h (struct target_ops) <to_stop_recording>: Add argument.
2787 * target.c (target_stop_recording): Add argument.
2788 * record.c (record_stop): Add argument.
2789 * record-btrace.c (record_btrace_stop_recording): Add 'self'
2792 2014-02-19 Tom Tromey <tromey@redhat.com>
2794 * target.h (struct target_ops) <to_read_btrace>: Add argument.
2795 * target.c (struct target_ops) <to_read_btrace>: Add argument.
2796 * remote.c (struct target_ops) <to_read_btrace>: Add 'self'
2798 * amd64-linux-nat.c (amd64_linux_read_btrace): New function.
2799 (_initialize_amd64_linux_nat): Use it.
2800 * i386-linux-nat.c (i386_linux_read_btrace): New function.
2801 (_initialize_i386_linux_nat): Use it.
2803 2014-02-19 Tom Tromey <tromey@redhat.com>
2805 * target.h (struct target_ops) <to_teardown_btrace>: Add argument.
2806 * target.c (target_teardown_btrace): Add argument.
2807 * remote.c (remote_teardown_btrace): Add 'self' argument.
2808 * i386-linux-nat.c (i386_linux_teardown_btrace): Add 'self'
2810 * amd64-linux-nat.c (amd64_linux_teardown_btrace): Add 'self'
2813 2014-02-19 Tom Tromey <tromey@redhat.com>
2815 * target.h (struct target_ops) <to_disable_btrace>: Add argument.
2816 * target.c (target_disable_btrace): Add argument.
2817 * remote.c (remote_disable_btrace): Add 'self' argument.
2818 * i386-linux-nat.c (i386_linux_disable_btrace): Add 'self'
2820 * amd64-linux-nat.c (amd64_linux_disable_btrace): Add 'self'
2823 2014-02-19 Tom Tromey <tromey@redhat.com>
2825 * target.h (struct target_ops) <to_enable_btrace>: Add argument.
2826 * target.c (target_enable_btrace): Add argument.
2827 * remote.c (remote_enable_btrace): Add 'self' argument.
2828 * i386-linux-nat.c (i386_linux_enable_btrace): Add 'self'
2830 * amd64-linux-nat.c (amd64_linux_enable_btrace): Add 'self'
2833 2014-02-19 Tom Tromey <tromey@redhat.com>
2835 * target.h (struct target_ops) <to_can_use_agent>: Add argument.
2836 (target_can_use_agent): Add argument.
2837 * target.c (update_current_target): Update.
2838 * remote.c (remote_can_use_agent): Add 'self' argument.
2839 * inf-child.c (inf_child_can_use_agent): Add 'self' argument.
2841 2014-02-19 Tom Tromey <tromey@redhat.com>
2843 * target.h (struct target_ops) <to_use_agent>: Add argument.
2844 (target_use_agent): Add argument.
2845 * target.c (update_current_target): Update.
2846 * remote.c (remote_use_agent): Add 'self' argument.
2847 * inf-child.c (inf_child_use_agent): Add 'self' argument.
2849 2014-02-19 Tom Tromey <tromey@redhat.com>
2851 * tracepoint.c (tfile_traceframe_info): Add 'self' argument.
2852 * target.h (struct target_ops) <to_traceframe_info>: Add argument.
2853 (target_traceframe_info): Add argument.
2854 * target.c (update_current_target): Update.
2855 * remote.c (remote_traceframe_info): Add 'self' argument.
2856 * ctf.c (ctf_traceframe_info): Add 'self' argument.
2858 2014-02-19 Tom Tromey <tromey@redhat.com>
2860 * target.h (target_static_tracepoint_markers_by_strid): Add
2862 (struct target_ops) <to_static_tracepoint_markers_by_strid>: Add
2864 * target.c (update_current_target): Update.
2865 * remote.c (struct target_ops)
2866 <to_static_tracepoint_markers_by_strid>: Add 'self' argument.
2867 * linux-nat.c (struct target_ops)
2868 <to_static_tracepoint_markers_by_strid>: Add 'self' argument.
2870 2014-02-19 Tom Tromey <tromey@redhat.com>
2872 * target.h (struct target_ops) <to_static_tracepoint_marker_at>:
2874 (target_static_tracepoint_marker_at): Add argument.
2875 * target.c (update_current_target): Update.
2876 * remote.c (remote_static_tracepoint_marker_at): Add 'self'
2879 2014-02-19 Tom Tromey <tromey@redhat.com>
2881 * target.h (struct target_ops) <to_set_permissions>: Add argument.
2882 (target_set_permissions): Add argument.
2883 * target.c (update_current_target): Update.
2884 * remote.c (remote_set_permissions): Add 'self' argument.
2885 (remote_start_remote): Update.
2887 2014-02-19 Tom Tromey <tromey@redhat.com>
2889 * windows-nat.c (windows_get_tib_address): Add 'self' argument.
2890 * target.h (struct target_ops) <to_get_tib_address>: Add argument.
2891 (target_get_tib_address): Add argument.
2892 * target.c (update_current_target): Update.
2893 * remote.c (remote_get_tib_address): Add 'self' argument.
2895 2014-02-19 Tom Tromey <tromey@redhat.com>
2897 * target.h (struct target_ops) <to_set_trace_notes>: Add argument.
2898 (target_set_trace_notes): Add argument.
2899 * target.c (update_current_target): Update.
2900 * remote.c (remote_set_trace_notes): Add 'self' argument.
2902 2014-02-19 Tom Tromey <tromey@redhat.com>
2904 * target.h (struct target_ops) <to_set_trace_buffer_size>: Add
2906 (target_set_trace_buffer_size): Add argument.
2907 * target.c (update_current_target): Update.
2908 * remote.c (remote_set_trace_buffer_size): Add 'self' argument.
2910 2014-02-19 Tom Tromey <tromey@redhat.com>
2912 * target.h (struct target_ops) <to_set_circular_trace_buffer>: Add
2914 (target_set_circular_trace_buffer): Add argument.
2915 * target.c (update_current_target): Update.
2916 * remote.c (remote_set_circular_trace_buffer): Add 'self'
2919 2014-02-19 Tom Tromey <tromey@redhat.com>
2921 * target.h (struct target_ops) <to_set_disconnected_tracing>: Add
2923 (target_set_disconnected_tracing): Add argument.
2924 * target.c (update_current_target): Update.
2925 * remote.c (remote_set_disconnected_tracing): Add 'self' argument.
2927 2014-02-19 Tom Tromey <tromey@redhat.com>
2929 * target.h (struct target_ops)
2930 <to_get_min_fast_tracepoint_insn_len>: Add argument.
2931 (target_get_min_fast_tracepoint_insn_len): Add argument.
2932 * target.c (update_current_target): Update.
2933 * remote.c (remote_get_min_fast_tracepoint_insn_len): Add 'self'
2936 2014-02-19 Tom Tromey <tromey@redhat.com>
2938 * target.h (struct target_ops) <to_get_raw_trace_data>: Add
2940 (target_get_raw_trace_data): Add argument.
2941 * target.c (update_current_target): Update.
2942 * remote.c (remote_get_raw_trace_data): Add 'self' argument.
2944 2014-02-19 Tom Tromey <tromey@redhat.com>
2946 * target.h (struct target_ops) <to_upload_trace_state_variables>:
2948 (target_upload_trace_state_variables): Add argument.
2949 * target.c (update_current_target): Update.
2950 * remote.c (remote_upload_trace_state_variables): Add 'self'
2952 (remote_start_remote): Update.
2954 2014-02-19 Tom Tromey <tromey@redhat.com>
2956 * target.h (struct target_ops) <to_upload_tracepoints>: Add
2958 (target_upload_tracepoints): Add argument.
2959 * target.c (update_current_target): Update.
2960 * remote.c (remote_upload_tracepoints): Add 'self' argument.
2961 (remote_start_remote): Update.
2963 2014-02-19 Tom Tromey <tromey@redhat.com>
2965 * target.h (struct target_ops) <to_save_trace_data>: Add argument.
2966 (target_save_trace_data): Add argument.
2967 * target.c (update_current_target): Update.
2968 * remote.c (remote_save_trace_data): Add 'self' argument.
2970 2014-02-19 Tom Tromey <tromey@redhat.com>
2972 * tracepoint.c (tfile_get_trace_state_variable_value): Add 'self'
2974 * target.h (struct target_ops)
2975 <to_get_trace_state_variable_value>: Add argument.
2976 (target_get_trace_state_variable_value): Add argument.
2977 * target.c (update_current_target): Update.
2978 * remote.c (remote_get_trace_state_variable_value): Add 'self'
2980 * ctf.c (ctf_get_trace_state_variable_value): Add 'self' argument.
2982 2014-02-19 Tom Tromey <tromey@redhat.com>
2984 * tracepoint.c (tfile_trace_find): Add 'self' argument.
2985 * target.h (struct target_ops) <to_trace_find>: Add argument.
2986 (target_trace_find): Add argument.
2987 * target.c (update_current_target): Update.
2988 * remote.c (remote_trace_find): Add 'self' argument.
2989 * ctf.c (ctf_trace_find): Add 'self' argument.
2991 2014-02-19 Tom Tromey <tromey@redhat.com>
2993 * target.h (struct target_ops) <to_trace_stop>: Add argument.
2994 (target_trace_stop): Add argument.
2995 * target.c (update_current_target): Update.
2996 * remote.c (remote_trace_stop): Add 'self' argument.
2998 2014-02-19 Tom Tromey <tromey@redhat.com>
3000 * tracepoint.c (tfile_get_tracepoint_status): Add 'self' argument.
3001 * target.h (struct target_ops) <to_get_tracepoint_status>: Add
3003 (target_get_tracepoint_status): Add argument.
3004 * target.c (update_current_target): Update.
3005 * remote.c (remote_get_tracepoint_status): Add 'self' argument.
3007 2014-02-19 Tom Tromey <tromey@redhat.com>
3009 * tracepoint.c (tfile_get_trace_status): Add 'self' argument.
3010 * target.h (struct target_ops) <to_get_trace_status>: Add
3012 (target_get_trace_status): Add argument.
3013 * target.c (update_current_target): Update.
3014 * remote.c (remote_get_trace_status): Add 'self' argument.
3015 (remote_start_remote, remote_can_download_tracepoint): Update.
3016 * ctf.c (ctf_get_trace_status): Add 'self' argument.
3018 2014-02-19 Tom Tromey <tromey@redhat.com>
3020 * target.h (struct target_ops) <to_trace_start>: Add argument.
3021 (target_trace_start): Add argument.
3022 * target.c (update_current_target): Update.
3023 * remote.c (remote_trace_start): Add 'self' argument.
3025 2014-02-19 Tom Tromey <tromey@redhat.com>
3027 * target.h (struct target_ops) <to_trace_set_readonly_regions>:
3029 (target_trace_set_readonly_regions): Add argument.
3030 * target.c (update_current_target): Update.
3031 * remote.c (remote_trace_set_readonly_regions): Add 'self'
3034 2014-02-19 Tom Tromey <tromey@redhat.com>
3036 * target.h (struct target_ops) <to_disable_tracepoint>: Add
3038 (target_disable_tracepoint): Add argument.
3039 * target.c (update_current_target): Update.
3040 * remote.c (remote_disable_tracepoint): Add 'self' argument.
3042 2014-02-19 Tom Tromey <tromey@redhat.com>
3044 * target.h (struct target_ops) <to_enable_tracepoint>: Add
3046 (target_enable_tracepoint): Add argument.
3047 * target.c (update_current_target): Update.
3048 * remote.c (remote_enable_tracepoint): Add 'self' argument.
3050 2014-02-19 Tom Tromey <tromey@redhat.com>
3052 * target.h (struct target_ops) <to_download_trace_state_variable>:
3054 (target_download_trace_state_variable): Add argument.
3055 * target.c (update_current_target): Update.
3056 * remote.c (remote_download_trace_state_variable): Add 'self'
3059 2014-02-19 Tom Tromey <tromey@redhat.com>
3061 * target.h (struct target_ops) <to_can_download_tracepoint>: Add
3063 (target_can_download_tracepoint): Add argument.
3064 * target.c (update_current_target): Update.
3065 * remote.c (remote_can_download_tracepoint): Add 'self' argument.
3067 2014-02-19 Tom Tromey <tromey@redhat.com>
3069 * target.h (struct target_ops) <to_download_tracepoint>: Add
3071 (target_download_tracepoint): Add argument.
3072 * target.c (update_current_target): Update.
3073 * remote.c (remote_download_tracepoint): Add 'self' argument.
3075 2014-02-19 Tom Tromey <tromey@redhat.com>
3077 * target.h (struct target_ops) <to_trace_init>: Add argument.
3078 (target_trace_init): Add argument.
3079 * target.c (update_current_target): Update.
3080 * remote.c (remote_trace_init): Add 'self' argument.
3082 2014-02-19 Tom Tromey <tromey@redhat.com>
3084 * target.h (struct target_ops) <to_fileio_readlink>: Add argument.
3085 * target.c (target_fileio_readlink): Add argument.
3086 * remote.c (remote_hostio_readlink): Add 'self' argument.
3087 * inf-child.c (inf_child_fileio_readlink): Add 'self' argument.
3089 2014-02-19 Tom Tromey <tromey@redhat.com>
3091 * target.h (struct target_ops) <to_fileio_unlink>: Add argument.
3092 * target.c (target_fileio_unlink): Add argument.
3093 * remote.c (remote_hostio_unlink): Add 'self' argument.
3094 (remote_file_delete): Update.
3095 * inf-child.c (inf_child_fileio_unlink): Add 'self' argument.
3097 2014-02-19 Tom Tromey <tromey@redhat.com>
3099 * target.h (struct target_ops) <to_fileio_close>: Add argument.
3100 * target.c (target_fileio_close): Add argument.
3101 * remote.c (remote_hostio_close): Add 'self' argument.
3102 (remote_hostio_close_cleanup): Update.
3103 (remote_bfd_iovec_close, remote_file_put, remote_file_get):
3105 * inf-child.c (inf_child_fileio_close): Add 'self' argument.
3107 2014-02-19 Tom Tromey <tromey@redhat.com>
3109 * target.h (struct target_ops) <to_fileio_pread>: Add argument.
3110 * target.c (target_fileio_pread): Add argument.
3111 * remote.c (remote_hostio_pread): Add 'self' argument.
3112 (remote_bfd_iovec_pread, remote_file_get): Update.
3113 * inf-child.c (inf_child_fileio_pread): Add 'self' argument.
3115 2014-02-19 Tom Tromey <tromey@redhat.com>
3117 * target.h (struct target_ops) <to_fileio_pwrite>: Add argument.
3118 * target.c (target_fileio_pwrite): Add argument.
3119 * remote.c (remote_hostio_pwrite): Add 'self' argument.
3120 (remote_file_put): Update.
3121 * inf-child.c (inf_child_fileio_pwrite): Add 'self' argument.
3123 2014-02-19 Tom Tromey <tromey@redhat.com>
3125 * target.h (struct target_ops) <to_fileio_open>: Add argument.
3126 * target.c (target_fileio_open): Add argument.
3127 * remote.c (remote_hostio_open): Add 'self' argument.
3128 (remote_bfd_iovec_open): Add 'self' argument.
3129 (remote_file_put): Add 'self' argument.
3130 (remote_file_get): Add 'self' argument.
3131 * inf-child.c (inf_child_fileio_open): Add 'self' argument.
3133 2014-02-19 Tom Tromey <tromey@redhat.com>
3135 * target.h (struct target_ops) <to_can_run_breakpoint_commands>:
3137 (target_can_run_breakpoint_commands): Add argument.
3138 * target.c (update_current_target): Update.
3139 * remote.c (remote_can_run_breakpoint_commands): Add 'self'
3141 (remote_insert_breakpoint): Add 'self' argument.
3142 (remote_insert_hw_breakpoint): Add 'self' argument.
3143 (remote_can_run_breakpoint_commands): Add 'self' argument.
3145 2014-02-19 Tom Tromey <tromey@redhat.com>
3147 * target.h (struct target_ops)
3148 <to_supports_evaluation_of_breakpoint_conditions>: Add argument.
3149 (target_supports_evaluation_of_breakpoint_conditions): Add
3151 * target.c (update_current_target): Update.
3152 * remote.c (remote_supports_cond_breakpoints): Add 'self'
3154 (remote_insert_breakpoint): Add 'self' argument.
3155 (remote_insert_hw_breakpoint): Add 'self' argument.
3156 (remote_supports_cond_breakpoints): Add 'self' argument.
3158 2014-02-19 Tom Tromey <tromey@redhat.com>
3160 * target.h (struct target_ops) <to_supports_string_tracing>: Add
3162 (target_supports_string_tracing): Add argument.
3163 * target.c (update_current_target): Update.
3164 * remote.c (remote_supports_string_tracing): Add 'self' argument.
3166 2014-02-19 Tom Tromey <tromey@redhat.com>
3168 * target.h (struct target_ops)
3169 <to_supports_disable_randomization>: Add argument.
3170 * target.c (find_default_supports_disable_randomization): Add
3172 (target_supports_disable_randomization): Add argument.
3173 (find_default_supports_disable_randomization): Add 'self'
3175 * remote.c (extended_remote_supports_disable_randomization): Add
3177 (remote_supports_disable_randomization): Add 'self' argument.
3178 (extended_remote_create_inferior): Update.
3179 * linux-nat.c (linux_nat_supports_disable_randomization): Add
3182 2014-02-19 Tom Tromey <tromey@redhat.com>
3184 * target.h (struct target_ops)
3185 <to_supports_enable_disable_tracepoint>: Add argument.
3186 (target_supports_enable_disable_tracepoint): Add argument.
3187 * target.c (update_current_target): Update.
3188 * remote.c (remote_supports_enable_disable_tracepoint): Add 'self'
3191 2014-02-19 Tom Tromey <tromey@redhat.com>
3193 * target.h (struct target_ops) <to_supports_multi_process>: Add
3195 (target_supports_multi_process): Add argument.
3196 * target.c (update_current_target): Update.
3197 * remote.c (remote_supports_multi_process): Add 'self' argument.
3198 * linux-nat.c (linux_nat_supports_multi_process): Add 'self'
3200 * darwin-nat.c (darwin_supports_multi_process): Add 'self'
3203 2014-02-19 Tom Tromey <tromey@redhat.com>
3205 * target.h (struct target_ops) <to_execution_direction>: Add
3207 (target_execution_direction): Add argument.
3208 * target.c (default_execution_direction): Add 'self' argument.
3209 * record-full.c (record_full_execution_direction): Add 'self'
3212 2014-02-19 Tom Tromey <tromey@redhat.com>
3214 * target.h (struct target_ops) <to_can_execute_reverse>: Add
3216 (target_can_execute_reverse): Add argument.
3217 * remote.c (remote_can_execute_reverse): Add 'self' argument.
3218 * record-full.c (record_full_can_execute_reverse): Add 'self'
3220 * record-btrace.c (record_btrace_can_execute_reverse): Add 'self'
3223 2014-02-19 Tom Tromey <tromey@redhat.com>
3225 * windows-nat.c (windows_get_ada_task_ptid): Add 'self' argument.
3226 * target.h (struct target_ops) <to_get_ada_task_ptid>: Add
3228 (target_get_ada_task_ptid): Add argument.
3229 * target.c (update_current_target): Update.
3230 (default_get_ada_task_ptid): Add 'self' argument.
3231 * sol-thread.c (sol_get_ada_task_ptid): Add 'self' argument.
3232 * remote.c (remote_get_ada_task_ptid): Add 'self' argument.
3233 * ravenscar-thread.c (ravenscar_get_ada_task_ptid): Add 'self'
3235 * linux-thread-db.c (thread_db_get_ada_task_ptid): Add 'self'
3237 * inf-ttrace.c (inf_ttrace_get_ada_task_ptid): Add 'self'
3239 * dec-thread.c (dec_thread_get_ada_task_ptid): Add 'self'
3241 * darwin-nat.c (darwin_get_ada_task_ptid): Add 'self' argument.
3242 * aix-thread.c (aix_thread_get_ada_task_ptid): Add 'self'
3245 2014-02-19 Tom Tromey <tromey@redhat.com>
3247 * target.h (struct target_ops) <to_goto_bookmark>: Add argument.
3248 (target_goto_bookmark): Add argument.
3249 * target.c (dummy_goto_bookmark): Add 'self' argument.
3250 * record-full.c (record_full_goto_bookmark): Add 'self' argument.
3252 2014-02-19 Tom Tromey <tromey@redhat.com>
3254 * target.h (struct target_ops) <to_get_bookmark>: Add argument.
3255 (target_get_bookmark): Add argument.
3256 * target.c (dummy_get_bookmark): Add 'self' argument.
3257 * record-full.c (record_full_get_bookmark): Add 'self' argument.
3259 2014-02-19 Tom Tromey <tromey@redhat.com>
3261 * target.h (struct target_ops) <to_make_corefile_notes>: Add
3263 (target_make_corefile_notes): Add argument.
3264 * target.c (dummy_make_corefile_notes): Add 'self' argument.
3265 * procfs.c (procfs_make_note_section): Add 'self' argument.
3266 (procfs_make_note_section): Add 'self' argument.
3267 (procfs_make_note_section): Add 'self' argument.
3268 * linux-nat.c (linux_nat_make_corefile_notes): Add 'self'
3270 * fbsd-nat.h (fbsd_make_corefile_notes): Add 'self' argument.
3271 * fbsd-nat.c (fbsd_make_corefile_notes): Add 'self' argument.
3272 * exec.c (exec_make_note_section): Add 'self' argument.
3273 (exec_make_note_section): Add 'self' argument.
3275 2014-02-19 Tom Tromey <tromey@redhat.com>
3277 * target.h (struct target_ops) <to_find_memory_regions>: Add
3279 (target_find_memory_regions): Add argument.
3280 * target.c (dummy_find_memory_regions): Add 'self' argument.
3281 * procfs.c (proc_find_memory_regions): Add 'self' argument.
3282 * gnu-nat.c (gnu_find_memory_regions): Add 'self' argument.
3283 * fbsd-nat.h (fbsd_find_memory_regions): Add 'self' argument.
3284 * fbsd-nat.c (fbsd_find_memory_regions): Add 'self' argument.
3285 * exec. (exec_do_find_memory_regions): New global.
3286 (exec_set_find_memory_regions): Rewrite.
3287 (exec_find_memory_regions): New function.
3288 (init_exec_ops): Use exec_find_memory_regions.
3290 2014-02-19 Tom Tromey <tromey@redhat.com>
3292 * target.h (struct target_ops) <to_supports_non_stop>: Add
3294 * target.c (find_default_supports_non_stop): Add argument.
3295 (target_supports_non_stop): Add argument.
3296 (find_default_supports_non_stop): Add 'self' argument.
3297 * remote.c (remote_supports_non_stop): Add 'self' argument.
3298 * linux-nat.c (linux_nat_supports_non_stop): Add 'self' argument.
3300 2014-02-19 Tom Tromey <tromey@redhat.com>
3302 * target.h (struct target_ops) <to_log_command>: Add argument.
3303 (target_log_command): Add argument.
3304 * serial.h (serial_log_command): Add 'self' argument.
3305 * serial.c (serial_log_command): Add 'self' argument.
3307 2014-02-19 Tom Tromey <tromey@redhat.com>
3309 * windows-nat.c (windows_pid_to_exec_file): Add 'self' argument.
3310 * target.h (struct target_ops) <to_pid_to_exec_file>: Add
3312 (target_pid_to_exec_file): Add argument.
3313 * target.c (debug_to_pid_to_exec_file): Add argument.
3314 (update_current_target): Update.
3315 * nbsd-nat.h (nbsd_pid_to_exec_file): Add 'self' argument.
3316 * nbsd-nat.c (nbsd_pid_to_exec_file): Add 'self' argument.
3317 * linux-nat.c (linux_child_pid_to_exec_file): Add 'self' argument.
3318 (linux_handle_extended_wait): Update.
3319 * inf-child.c (inf_child_pid_to_exec_file): Add 'self' argument.
3320 * fbsd-nat.h (fbsd_pid_to_exec_file): Add 'self' argument.
3321 * fbsd-nat.c (fbsd_pid_to_exec_file): Add 'self' argument.
3322 * darwin-nat.c (darwin_pid_to_exec_file): Add 'self' argument.
3324 2014-02-19 Tom Tromey <tromey@redhat.com>
3326 * target.h (struct target_ops) <to_rcmd>: Add argument.
3327 (target_rcmd): Add argument.
3328 * target.c (debug_to_rcmd): Add argument.
3329 (update_current_target, do_monitor_command): Update.
3330 * remote.c (remote_rcmd): Add 'self' argument.
3331 * monitor.c (monitor_rcmd): Add 'self' argument.
3333 2014-02-19 Tom Tromey <tromey@redhat.com>
3335 * windows-nat.c (windows_stop): Add 'self' argument.
3336 * target.h (struct target_ops) <to_stop>: Add argument.
3337 * target.c (target_stop): Add argument.
3338 (debug_to_stop): Add argument.
3339 (update_current_target): Update.
3340 * remote.c (remote_stop): Add 'self' argument.
3341 * remote-sim.c (gdbsim_stop): Add 'self' argument.
3342 (gdbsim_cntrl_c): Update.
3343 * remote-m32r-sdi.c (m32r_stop): Add 'self' argument.
3344 * procfs.c (procfs_stop): Add 'self' argument.
3345 * nto-procfs.c (procfs_stop): Add 'self' argument.
3346 * monitor.c (monitor_stop): Add 'self' argument.
3347 (monitor_open): Update.
3348 * linux-nat.c (linux_nat_stop): Add argument.
3349 * inf-ptrace.c (inf_ptrace_stop): Add 'self' argument.
3350 * gnu-nat.c (gnu_stop): Add 'self' argument.
3351 * darwin-nat.c (darwin_stop): Add 'self' argument.
3353 2014-02-19 Tom Tromey <tromey@redhat.com>
3355 * target.h (struct target_ops) <to_thread_name>: Add argument.
3356 * target.c (target_thread_name): Add argument.
3357 (update_current_target): Update.
3358 * linux-nat.c (linux_nat_thread_name): Add 'self' argument.
3360 2014-02-19 Tom Tromey <tromey@redhat.com>
3362 * target.h (struct target_ops) <to_extra_thread_info>: Add
3364 (target_extra_thread_info): Add argument.
3365 * target.c (update_current_target): Update.
3366 * remote.c (remote_threads_extra_info): Add 'self' argument.
3367 * ravenscar-thread.c (ravenscar_extra_thread_info): Add 'self'
3369 * nto-tdep.h (nto_extra_thread_info): Add 'self' argument.
3370 * nto-tdep.c (nto_extra_thread_info): Add 'self' argument.
3371 * linux-thread-db.c (thread_db_extra_thread_info): Add 'self'
3373 * inf-ttrace.c (inf_ttrace_extra_thread_info): Add 'self'
3375 * bsd-uthread.c (bsd_uthread_extra_thread_info): Add 'self'
3377 * aix-thread.c (aix_thread_extra_thread_info): Add 'self'
3380 2014-02-19 Tom Tromey <tromey@redhat.com>
3382 * target.h (struct target_ops) <to_program_signals>: Add argument.
3383 * target.c (target_program_signals): Add argument.
3384 * remote.c (remote_program_signals): Add 'self' argument.
3386 2014-02-19 Tom Tromey <tromey@redhat.com>
3388 * target.h (struct target_ops) <to_pass_signals>: Add argument.
3389 * target.c (target_pass_signals): Add argument.
3390 * remote.c (remote_pass_signals): Add 'self' argument.
3391 (remote_start_remote): Update.
3392 * procfs.c (procfs_pass_signals): Add 'self' argument.
3393 * nto-procfs.c (procfs_pass_signals): Add 'self' argument.
3394 * linux-nat.c (linux_nat_pass_signals): Add 'self' argument.
3395 (linux_nat_create_inferior, linux_nat_attach): Update.
3397 2014-02-19 Tom Tromey <tromey@redhat.com>
3399 * windows-nat.c (windows_can_run): Add 'self' argument.
3400 * target.h (struct target_ops) <to_can_run>: Add argument.
3401 (target_can_run): Add argument.
3402 * target.c (debug_to_can_run): Add argument.
3403 (update_current_target): Update.
3404 * nto-procfs.c (procfs_can_run): Add 'self' argument.
3405 * inf-child.c (inf_child_can_run): Add 'self' argument.
3406 * go32-nat.c (go32_can_run): Add 'self' argument.
3408 2014-02-19 Tom Tromey <tromey@redhat.com>
3410 * target.h (struct target_ops) <to_has_exited>: Add argument.
3411 (target_has_exited): Add argument.
3412 * target.c (debug_to_has_exited): Add argument.
3413 (update_current_target): Update.
3415 2014-02-19 Tom Tromey <tromey@redhat.com>
3417 * target.h (struct target_ops) <to_set_syscall_catchpoint>: Add
3419 (target_set_syscall_catchpoint): Add argument.
3420 * linux-nat.c (linux_child_set_syscall_catchpoint): Add 'self'
3422 * target.c (update_current_target): Update.
3424 2014-02-19 Tom Tromey <tromey@redhat.com>
3426 * target.h (struct target_ops) <to_remove_exec_catchpoint>: Add
3428 (target_remove_exec_catchpoint): Add argument.
3429 * target.c (debug_to_remove_exec_catchpoint): Add argument.
3430 (update_current_target): Update.
3431 * linux-nat.c (linux_child_remove_exec_catchpoint): Add 'self'
3434 2014-02-19 Tom Tromey <tromey@redhat.com>
3436 * target.h (struct target_ops) <to_insert_exec_catchpoint>: Add
3438 (target_insert_exec_catchpoint): Add argument.
3439 * target.c (debug_to_insert_exec_catchpoint): Add argument.
3440 (update_current_target): Update.
3441 * linux-nat.c (linux_child_insert_exec_catchpoint): Add 'self'
3444 2014-02-19 Tom Tromey <tromey@redhat.com>
3446 * target.h (struct target_ops) <to_remove_vfork_catchpoint>: Add
3448 (target_remove_vfork_catchpoint): Add argument.
3449 * target.c (debug_to_remove_vfork_catchpoint): Add argument.
3450 (update_current_target): Update.
3451 * linux-nat.c (linux_child_remove_vfork_catchpoint): Add 'self'
3454 2014-02-19 Tom Tromey <tromey@redhat.com>
3456 * target.h (struct target_ops) <to_insert_vfork_catchpoint>: Add
3458 (target_insert_vfork_catchpoint): Add argument.
3459 * target.c (debug_to_insert_vfork_catchpoint): Add argument.
3460 (update_current_target): Update.
3461 * linux-nat.c (linux_child_insert_vfork_catchpoint): Add 'self'
3464 2014-02-19 Tom Tromey <tromey@redhat.com>
3466 * target.h (struct target_ops) <to_remove_fork_catchpoint>: Add
3468 (target_remove_fork_catchpoint): Add argument.
3469 * target.c (debug_to_remove_fork_catchpoint): Add argument.
3470 (update_current_target): Update.
3471 * linux-nat.c (linux_child_remove_fork_catchpoint): Add 'self'
3474 2014-02-19 Tom Tromey <tromey@redhat.com>
3476 * target.h (struct target_ops) <to_insert_fork_catchpoint>: Add
3478 (target_insert_fork_catchpoint): Add argument.
3479 * target.c (debug_to_insert_fork_catchpoint): Add argument.
3480 (update_current_target): Update.
3481 * linux-nat.c (linux_child_insert_fork_catchpoint): Add 'self'
3484 2014-02-19 Tom Tromey <tromey@redhat.com>
3486 * target.h (struct target_ops) <to_post_startup_inferior>: Add
3488 (target_post_startup_inferior): Add argument.
3489 * target.c (debug_to_post_startup_inferior): Add argument.
3490 (update_current_target): Update.
3491 * spu-linux-nat.c (spu_child_post_startup_inferior): Add 'self'
3493 * linux-nat.c (linux_child_post_startup_inferior): Add 'self'
3495 * inf-ptrace.c (inf_ptrace_post_startup_inferior): Add 'self'
3497 * inf-child.c (inf_child_post_startup_inferior): Add 'self'
3499 * i386-linux-nat.c (i386_linux_child_post_startup_inferior): Add
3501 (super_post_startup_inferior): Likewise.
3502 * amd64-linux-nat.c (amd64_linux_child_post_startup_inferior): Add
3504 (super_post_startup_inferior): Likewise.
3505 * aarch64-linux-nat.c (aarch64_linux_child_post_startup_inferior):
3506 Add 'self' argument.
3507 (super_post_startup_inferior): Likewise.
3509 2014-02-19 Tom Tromey <tromey@redhat.com>
3511 * target.h (struct target_ops) <to_load>: Add argument.
3512 * target.c (target_load): Add argument.
3513 (debug_to_load): Add argument.
3514 (update_current_target): Update.
3515 * remote.c (remote_load): Add 'self' argument.
3516 * remote-sim.c (gdbsim_load): Add 'self' argument.
3517 * remote-mips.c (mips_load): Add 'self' argument.
3518 * remote-m32r-sdi.c (m32r_load): Add 'self' argument.
3519 * monitor.c (monitor_load): Add 'self' argument.
3520 * m32r-rom.c (m32r_load_gen): Add 'self' argument.
3522 2014-02-19 Tom Tromey <tromey@redhat.com>
3524 * target.h (struct target_ops) <to_terminal_info>: Add argument.
3525 (target_terminal_info): Add argument.
3526 * target.c (debug_to_terminal_info): Add argument.
3527 (default_terminal_info): Likewise.
3528 * inflow.c (child_terminal_info): Add 'self' argument.
3529 * inferior.h (child_terminal_info): Add 'self' argument.
3530 * go32-nat.c (go32_terminal_info): Add 'self' argument.
3532 2014-02-19 Tom Tromey <tromey@redhat.com>
3534 * target.h (struct target_ops) <to_terminal_save_ours>: Add
3536 (target_terminal_save_ours): Add argument.
3537 * target.c (debug_to_terminal_save_ours): Add argument.
3538 (update_current_target): Update.
3539 * inflow.c (terminal_save_ours): Add 'self' argument.
3540 * inferior.h (terminal_save_ours): Add 'self' argument.
3542 2014-02-19 Tom Tromey <tromey@redhat.com>
3544 * target.h (struct target_ops) <to_terminal_ours>: Add argument.
3545 (target_terminal_ours): Add argument.
3546 * target.c (debug_to_terminal_ours): Add argument.
3547 (update_current_target): Update.
3548 * remote.c (remote_terminal_ours): Add 'self' argument.
3549 (remote_close): Update.
3550 * linux-nat.c (linux_nat_terminal_ours): Add 'self' argument.
3551 * inflow.c (terminal_ours): Add 'self' argument.
3552 * inferior.h (terminal_ours): Add 'self' argument.
3553 * go32-nat.c (go32_terminal_ours): Add 'self' argument.
3555 2014-02-19 Pedro Alves <palves@redhat.com>
3556 Tom Tromey <tromey@redhat.com>
3558 * target.h (struct target_ops) <to_terminal_ours_for_output>: Add
3560 (target_terminal_ours_for_output): Add argument.
3561 * target.c (debug_to_terminal_ours_for_output): Add argument.
3562 (update_current_target): Update.
3563 * inflow.c (terminal_ours_for_output): Add 'self' argument.
3564 * inferior.h (terminal_ours_for_output): Add 'self' argument.
3565 * go32-nat.c (go32_terminal_ours): Add 'self' argument.
3567 2014-02-19 Tom Tromey <tromey@redhat.com>
3569 * target.h (struct target_ops) <to_terminal_inferior>: Add
3571 * target.c (target_terminal_inferior): Add argument.
3572 (update_current_target): Update.
3573 * remote.c (remote_terminal_inferior): Add 'self' argument.
3574 * linux-nat.c (linux_nat_terminal_inferior): Add 'self' argument.
3575 * inflow.c (terminal_inferior): Add 'self' argument.
3576 * inferior.h (terminal_inferior): Add 'self' argument.
3577 * go32-nat.c (go32_terminal_inferior): Add 'self' argument.
3578 (go32_terminal_inferior): Add 'self' argument.
3580 2014-02-19 Tom Tromey <tromey@redhat.com>
3582 * target.h (struct target_ops) <to_terminal_init>: Add argument.
3583 (target_terminal_init): Add argument.
3584 * target.c (debug_to_terminal_init): Add argument.
3585 (update_current_target): Update.
3586 * inflow.c (terminal_init_inferior): Add 'self' argument.
3587 * inferior.h (terminal_init_inferior): Add 'self' argument.
3588 * go32-nat.c (go32_terminal_init): Add 'self' argument.
3589 * gnu-nat.c (gnu_terminal_init_inferior): Add 'self' argument.
3591 2014-02-19 Tom Tromey <tromey@redhat.com>
3593 * target.h (struct target_ops)
3594 <to_can_accel_watchpoint_condition>: Add argument.
3595 (target_can_accel_watchpoint_condition): Add argument.
3596 * target.c (debug_to_can_accel_watchpoint_condition): Add
3598 (update_current_target): Update.
3599 * ppc-linux-nat.c (ppc_linux_can_accel_watchpoint_condition): Add
3602 2014-02-19 Tom Tromey <tromey@redhat.com>
3604 * target.h (struct target_ops) <to_region_ok_for_hw_watchpoint>:
3606 (target_region_ok_for_hw_watchpoint): Add argument.
3607 * target.c (debug_to_region_ok_for_hw_watchpoint): Add argument.
3608 (default_region_ok_for_hw_watchpoint): Add argument.
3609 * spu-multiarch.c (spu_region_ok_for_hw_watchpoint): Add argument.
3610 * s390-linux-nat.c (s390_region_ok_for_hw_watchpoint): Add 'self'
3612 * remote.c (remote_region_ok_for_hw_watchpoint): Add 'self'
3614 * procfs.c (procfs_region_ok_for_hw_watchpoint): Add 'self'
3616 * ppc-linux-nat.c (ppc_linux_region_ok_for_hw_watchpoint): Add
3618 * mips-linux-nat.c (mips_linux_region_ok_for_hw_watchpoint): Add
3620 * inf-ttrace.c (inf_ttrace_region_ok_for_hw_watchpoint): Add
3622 * i386-nat.c (i386_region_ok_for_watchpoint): Add 'self' argument.
3623 * arm-linux-nat.c (arm_linux_region_ok_for_hw_watchpoint): Add
3625 * aarch64-linux-nat.c (aarch64_linux_region_ok_for_hw_watchpoint):
3626 Add 'self' argument.
3628 2014-02-19 Tom Tromey <tromey@redhat.com>
3630 * target.h (struct target_ops) <to_insert_watchpoint>: Add
3632 (target_insert_watchpoint): Add argument.
3633 * target.c (debug_to_insert_watchpoint): Add argument.
3634 (update_current_target): Update.
3635 * s390-linux-nat.c (s390_insert_watchpoint): Add 'self' argument.
3636 * remote.c (remote_insert_watchpoint): Add 'self' argument.
3637 * remote-mips.c (mips_insert_watchpoint): Add 'self' argument.
3638 * remote-m32r-sdi.c (m32r_insert_watchpoint): Add 'self' argument.
3639 * procfs.c (procfs_insert_watchpoint): Add 'self' argument.
3640 * ppc-linux-nat.c (ppc_linux_insert_watchpoint): Add 'self'
3642 * nto-procfs.c (procfs_insert_hw_watchpoint): Add 'self' argument.
3643 (procfs_insert_hw_watchpoint): Add 'self' argument.
3644 * mips-linux-nat.c (mips_linux_insert_watchpoint): Add 'self'
3646 * inf-ttrace.c (inf_ttrace_insert_watchpoint): Add 'self'
3648 * ia64-linux-nat.c (ia64_linux_insert_watchpoint): Add 'self'
3650 * i386-nat.c (i386_insert_watchpoint): Add 'self' argument.
3651 * arm-linux-nat.c (arm_linux_insert_watchpoint): Add 'self'
3653 * aarch64-linux-nat.c (aarch64_linux_insert_watchpoint): Add
3656 2014-02-19 Tom Tromey <tromey@redhat.com>
3658 * target.h (struct target_ops) <to_remove_watchpoint>: Add
3660 (target_remove_watchpoint): Add argument.
3661 * target.c (debug_to_remove_watchpoint): Add argument.
3662 (update_current_target): Update.
3663 * s390-linux-nat.c (s390_remove_watchpoint): Add 'self' argument.
3664 * remote.c (remote_remove_watchpoint): Add 'self' argument.
3665 * remote-mips.c (mips_remove_watchpoint): Add 'self' argument.
3666 * remote-m32r-sdi.c (m32r_remove_watchpoint): Add 'self' argument.
3667 * procfs.c (procfs_remove_watchpoint): Add 'self' argument.
3668 * ppc-linux-nat.c (ppc_linux_remove_watchpoint): Add 'self'
3670 * nto-procfs.c (procfs_remove_hw_watchpoint): Add 'self' argument.
3671 * mips-linux-nat.c (mips_linux_remove_watchpoint): Add 'self'
3673 * inf-ttrace.c (inf_ttrace_remove_watchpoint): Add 'self'
3675 * ia64-linux-nat.c (ia64_linux_remove_watchpoint): Add 'self'
3677 * i386-nat.c (i386_remove_watchpoint): Add 'self' argument.
3678 * arm-linux-nat.c (arm_linux_remove_watchpoint): Add 'self'
3680 * aarch64-linux-nat.c (aarch64_linux_remove_watchpoint): Add
3683 2014-02-19 Tom Tromey <tromey@redhat.com>
3685 * target.h (struct target_ops) <to_remove_hw_breakpoint>: Add
3687 (target_remove_hw_breakpoint): Add argument.
3688 * target.c (debug_to_remove_hw_breakpoint): Add argument.
3689 (update_current_target): Update.
3690 * remote.c (remote_remove_hw_breakpoint): Add 'self' argument.
3691 * ppc-linux-nat.c (ppc_linux_remove_hw_breakpoint): Add 'self'
3693 * i386-nat.c (i386_remove_hw_breakpoint): Add 'self' argument.
3694 * arm-linux-nat.c (arm_linux_remove_hw_breakpoint): Add 'self'
3696 * aarch64-linux-nat.c (aarch64_linux_remove_hw_breakpoint): Add
3699 2014-02-19 Tom Tromey <tromey@redhat.com>
3701 * target.h (struct target_ops) <to_insert_hw_breakpoint>: Add
3703 (target_insert_hw_breakpoint): Add argument.
3704 * target.c (debug_to_insert_hw_breakpoint): Add argument.
3705 (update_current_target): Update.
3706 * remote.c (remote_insert_hw_breakpoint): Add 'self' argument.
3707 * ppc-linux-nat.c (ppc_linux_insert_hw_breakpoint): Add 'self'
3709 * nto-procfs.c (procfs_insert_hw_breakpoint): Add 'self' argument.
3710 * i386-nat.c (i386_insert_hw_breakpoint): Add 'self' argument.
3711 * arm-linux-nat.c (arm_linux_insert_hw_breakpoint): Add 'self'
3713 * aarch64-linux-nat.c (aarch64_linux_insert_hw_breakpoint): Add
3716 2014-02-19 Tom Tromey <tromey@redhat.com>
3718 * target.h (struct target_ops) <to_can_use_hw_breakpoint>: Add
3720 (target_can_use_hardware_watchpoint): Add argument.
3721 * target.c (debug_to_can_use_hw_breakpoint): Add argument.
3722 (update_current_target): Update.
3723 * spu-linux-nat.c (spu_can_use_hw_breakpoint): Add 'self'
3725 * s390-linux-nat.c (s390_can_use_hw_breakpoint): Add 'self'
3727 * remote.c (remote_check_watch_resources): Add 'self' argument.
3728 * remote-mips.c (mips_can_use_watchpoint): Add 'self' argument.
3729 * remote-m32r-sdi.c (m32r_can_use_hw_watchpoint): Add 'self'
3731 * procfs.c (procfs_can_use_hw_breakpoint): Add 'self' argument.
3732 * ppc-linux-nat.c (ppc_linux_can_use_hw_breakpoint): Add 'self'
3734 * nto-procfs.c (procfs_can_use_hw_breakpoint): Add 'self'
3736 * mips-linux-nat.c (mips_linux_can_use_hw_breakpoint): Add 'self'
3738 * inf-ttrace.c (inf_ttrace_can_use_hw_breakpoint): Add 'self'
3740 * ia64-linux-nat.c (ia64_linux_can_use_hw_breakpoint): Add 'self'
3742 * ia64-hpux-nat.c (ia64_hpux_can_use_hw_breakpoint): Add 'self'
3744 * i386-nat.c (i386_can_use_hw_breakpoint): Add 'self' argument.
3745 * arm-linux-nat.c (arm_linux_can_use_hw_breakpoint): Add 'self'
3747 * aarch64-linux-nat.c (aarch64_linux_can_use_hw_breakpoint): Add
3750 2014-02-19 Tom Tromey <tromey@redhat.com>
3752 * target.h (struct target_ops) <to_post_attach>: Add argument.
3753 (target_post_attach): Add argument.
3754 * target.c (debug_to_post_attach): Add argument.
3755 (update_current_target): Update.
3756 * spu-linux-nat.c (spu_child_post_attach): Add 'self' argument.
3757 * nto-procfs.c (procfs_post_attach): Add 'self' argument.
3758 * linux-nat.c (linux_child_post_attach): Add 'self' argument.
3759 * inf-ptrace.c (inf_ptrace_post_attach): Add 'self' argument.
3760 * inf-child.c (inf_child_post_attach): Add 'self' argument.
3762 2014-02-19 Tom Tromey <tromey@redhat.com>
3764 * windows-nat.c (windows_close): Add 'self' argument.
3765 * tracepoint.c (tfile_close): Add 'self' argument.
3766 * target.h (struct target_ops) <to_close>: Add argument.
3767 * target.c (target_close): Add argument.
3768 (update_current_target): Update.
3769 * remote.c (remote_close): Add 'self' argument.
3770 * remote-sim.c (gdbsim_close): Add 'self' argument.
3771 * remote-mips.c (mips_close): Add 'self' argument.
3772 * remote-m32r-sdi.c (m32r_close): Add 'self' argument.
3773 * record-full.c (record_full_close): Add 'self' argument.
3774 * record-btrace.c (record_btrace_close): Add 'self' argument.
3775 * monitor.h (monitor_close): Add 'self' argument.
3776 * monitor.c (monitor_close): Add 'self' argument.
3777 * mips-linux-nat.c (mips_linux_close): Add 'self' argument.
3778 * linux-nat.c (linux_nat_close): Add argument.
3779 * go32-nat.c (go32_close): Add 'self' argument.
3780 * exec.c (exec_close_1): Add 'self' argument.
3781 * ctf.c (ctf_close): Add 'self' argument.
3782 * corelow.c (core_close): Add 'self' argument.
3783 (core_close_cleanup): Update.
3784 * bsd-uthread.c (bsd_uthread_close): Add 'self' argument.
3785 * bsd-kvm.c (bsd_kvm_close): Add 'self' argument.
3787 2014-02-19 Tom Tromey <tromey@redhat.com>
3789 * remote.c (remote_load): New function.
3790 (init_remote_ops): Use it.
3792 2014-02-19 Tom Tromey <tromey@redhat.com>
3794 * common/linux-btrace.c (linux_supports_btrace): Add "ops"
3796 * common/linux-btrace.h (linux_supports_btrace): Update.
3797 * remote.c (remote_supports_btrace): Add "self" argument.
3798 * target-delegates.c: Rebuild.
3799 * target.c (target_supports_btrace): Remove.
3800 * target.h (struct target_ops) <to_supports_btrace>: Add
3801 target_ops argument.
3802 (target_supports_btrace): New define.
3804 2014-02-19 Tom Tromey <tromey@redhat.com>
3806 * record-full.c (record_full_beneath_to_resume_ops)
3807 (record_full_beneath_to_resume, record_full_beneath_to_wait_ops)
3808 (record_full_beneath_to_wait)
3809 (record_full_beneath_to_store_registers_ops)
3810 (record_full_beneath_to_store_registers)
3811 (record_full_beneath_to_xfer_partial_ops)
3812 (record_full_beneath_to_xfer_partial)
3813 (record_full_beneath_to_insert_breakpoint_ops)
3814 (record_full_beneath_to_insert_breakpoint)
3815 (record_full_beneath_to_remove_breakpoint_ops)
3816 (record_full_beneath_to_remove_breakpoint)
3817 (record_full_beneath_to_stopped_by_watchpoint)
3818 (record_full_beneath_to_stopped_data_address)
3819 (record_full_beneath_to_async, tmp_to_resume_ops, tmp_to_resume)
3820 (tmp_to_wait_ops, tmp_to_wait, tmp_to_store_registers_ops)
3821 (tmp_to_store_registers, tmp_to_xfer_partial_ops)
3822 (tmp_to_xfer_partial, tmp_to_instmp_to_insert_breakpoint_ops)
3823 (tmp_to_insert_breakpoint, tmp_to_remove_breakpoint_ops)
3824 (tmp_to_remove_breakpoint, tmp_to_stopped_by_watchpoint)
3825 (tmp_to_stopped_data_address, tmp_to_async): Remove.
3826 (record_full_open_1, record_full_open): Update. Use RECORD_IS_USED.
3827 (record_full_resume, record_full_wait_1)
3828 (record_full_stopped_by_watchpoint, record_full_stopped_data_address)
3829 (record_full_store_registers, record_full_xfer_partial)
3830 (record_full_insert_breakpoint, record_full_remove_breakpoint)
3831 (record_full_async, record_full_core_xfer_partial): Use target
3833 * target-delegates.c: Rebuild.
3834 * target.c (current_xfer_partial): Remove.
3835 (update_current_target): Do not INHERIT or de_fault
3836 to_insert_breakpoint, to_remove_breakpoint,
3837 to_stopped_data_address, to_stopped_by_watchpoint, to_can_async_p,
3838 to_is_async_p, to_async. Do not set to_xfer_partial field.
3839 (default_xfer_partial): Simplify.
3840 (current_xfer_partial): Remove.
3841 (target_wait, target_resume): Simplify.
3842 (find_default_can_async_p, find_default_is_async_p): Update.
3843 (init_dummy_target): Don't set to_can_async_p, to_is_async_p,
3844 to_xfer_partial, to_stopped_by_watchpoint,
3845 to_stopped_data_address.
3846 (target_store_registers): Simplify.
3847 (forward_target_remove_breakpoint)
3848 (forward_target_insert_breakpoint): Remove.
3849 (target_remove_breakpoint, target_insert_breakpoint)
3850 (debug_to_insert_breakpoint, debug_to_remove_breakpoint): Update.
3851 * target.h (struct target_ops) <to_resume, to_wait,
3852 to_store_registers, to_insert_breakpoint, to_remove_breakpoint,
3853 to_stopped_by_watchpoint, to_stopped_data_address, to_can_async_p,
3854 to_is_async_p, to_async, to_xfer_partial>: Add TARGET_DEFAULT
3856 (forward_target_remove_breakpoint)
3857 (forward_target_insert_breakpoint): Remove.
3858 * record-btrace.c (record_btrace_remove_breakpoint): Delegate
3860 (record_btrace_insert_breakpoint): Delegate directly.
3862 2014-02-19 Tom Tromey <tromey@redhat.com>
3865 * target-delegates.c: New file.
3866 * target.c: Include target-delegates.c.
3867 (init_dummy_target): Call install_dummy_methods.
3868 (complete_target_initialization): Call install_delegators.
3869 * target.h (TARGET_DEFAULT_IGNORE, TARGET_DEFAULT_NORETURN)
3870 (TARGET_DEFAULT_RETURN, TARGET_DEFAULT_FUNC): New defines.
3871 * make-target-delegates: New file.
3873 2014-02-19 Tom Tromey <tromey@redhat.com>
3875 * record.c (find_record_target): Use find_target_at.
3876 * target.c (find_target_at): New function.
3877 * target.h (find_target_at): Declare.
3879 2014-02-19 Tom Tromey <tromey@redhat.com>
3881 * aarch64-linux-nat.c (aarch64_linux_stopped_by_watchpoint):
3883 * arm-linux-nat.c (arm_linux_stopped_by_watchpoint): Add
3885 * i386-nat.c (i386_stopped_by_watchpoint): Add 'ops' argument.
3886 * ia64-linux-nat.c (ia64_linux_stopped_by_watchpoint): Add
3888 * inf-ttrace.c (inf_ttrace_stopped_by_watchpoint): Add 'ops'
3890 * linux-nat.c (save_sigtrap): Update.
3891 (linux_nat_stopped_by_watchpoint, linux_nat_is_async_p)
3892 (linux_nat_can_async_p, linux_nat_async): Add 'ops' argument.
3893 (linux_nat_close): Update.
3894 * mips-linux-nat.c (mips_linux_stopped_by_watchpoint): Add 'ops'
3896 * ppc-linux-nat.c (ppc_linux_stopped_by_watchpoint): Add 'ops'
3898 * procfs.c (procfs_stopped_by_watchpoint): Add 'ops' argument.
3899 * record-full.c (record_full_beneath_to_stopped_by_watchpoint)
3900 (record_full_beneath_to_async, tmp_to_stopped_by_watchpoint)
3901 (tmp_to_async): Add 'ops' argument.
3902 (record_full_stopped_by_watchpoint, record_full_async)
3903 (record_full_can_async_p, record_full_is_async_p): Add 'ops'
3905 * remote-m32r-sdi.c (m32r_insert_breakpoint, m32r_remove_breakpoint)
3906 (m32r_stopped_by_watchpoint): Add 'ops' argument.
3907 * remote-mips.c (mips_stopped_by_watchpoint): Add 'ops' argument.
3908 * remote.c (remote_stopped_by_watchpoint_p, remote_can_async_p)
3909 (remote_is_async_p, remote_async): Add 'ops' argument.
3910 (remote_stopped_data_address): Update.
3911 * s390-nat.c (s390_stopped_by_watchpoint): Add 'ops' argument.
3912 * target.c (update_current_target)
3913 (find_default_can_async_p, find_default_is_async_p): Update.
3914 (init_dummy_target): Update.
3915 (debug_to_stopped_by_watchpoint): Add 'ops' argument.
3916 * target.h (struct target_ops) <to_stopped_by_watchpoint,
3917 to_can_async_p, to_is_async_p, to_async>: Add 'ops' argument.
3918 (target_can_async_p, target_is_async_p, target_async)
3919 (target_stopped_by_watchpoint): Update.
3921 2014-02-19 Yao Qi <yao@codesourcery.com>
3924 * gdbarch.sh: Remove startup_gdbarch.
3925 * gdbarch.c: Regenerated.
3926 * gdbarch.h: Likewise.
3928 2014-02-17 Kevin Buettner <kevinb@redhat.com>
3930 * rl78-tdep.c (rl78_g10_register_name): New function.
3931 (rl78_return_value): Add g10 support.
3932 (rl78_gdbarch_init): Register rl78_g10_register_name for the
3935 2014-02-17 Doug Evans <xdje42@gmail.com>
3937 * Makefile.in (SUBDIR_GUILE_OBS): Resort alphabetically.
3938 (SUBDIR_GUILE_SRCS): Ditto.
3939 (scm-gsmob.o): Ditto.
3941 2014-02-17 Yao Qi <yao@codesourcery.com>
3943 * gnu-nat.c (ILL_RPC): Declare defined function.
3945 2014-02-17 Yao Qi <yao@codesourcery.com>
3947 * gnu-nat.c (gnu_read_inferior): Change 'copy_count' type to
3948 mach_msg_type_number_t.
3949 (gnu_write_inferior): Likewise.
3951 2014-02-17 Yao Qi <yao@codesourcery.com>
3953 * gnu-nat.c (proc_get_exception_port): Use 'lu' insetad of 'd'
3955 (proc_steal_exc_port, make_proc, inf_set_pid): Likewise.
3956 (inf_validate_procs, inf_signal): Likewise.
3957 (S_exception_raise_request): Likewise.
3958 (do_mach_notify_dead_name): Likewise.
3959 (steal_exc_port): Likewise.
3960 (gnu_read_inferior): Change 'copy_count''s type to
3961 mach_msg_type_number_t.
3962 (gnu_write_inferior): Likewise. Use 'lx' instead of 'x' in
3965 2014-02-16 Thomas Schwinge <thomas@codesourcery.com>
3967 * gnu-nat.c (struct inf): Change pending_execs member to a 1-bit
3968 flag. Adjust all users; in particular...
3969 (gnu_wait): ..., don't decrement its value in here...
3970 (gnu_create_inferior): ..., and instead set the flag in here,
3971 around the startup_inferior call, and call that one with
3972 START_INFERIOR_TRAPS_EXPECTED.
3974 * gnu-nat.c (ill_rpc): Remove function; replaced with this...
3975 (ILL_RPC): ... new macro.
3976 (do_mach_notify_no_senders, do_mach_notify_port_deleted)
3977 (do_mach_notify_msg_accepted, do_mach_notify_port_destroyed)
3978 (do_mach_notify_send_once, S_proc_setmsgport_reply)
3979 (S_proc_getmsgport_reply, S_msg_sig_post_reply): Generate stub
3980 functions with ILL_RPC macro.
3981 (S_proc_pid2task_reply, S_proc_task2pid_reply)
3982 (S_proc_task2proc_reply, S_proc_proc2task_reply)
3983 (S_proc_pid2proc_reply, S_proc_getprocinfo_reply)
3984 (S_proc_getprocargs_reply, S_proc_getprocenv_reply)
3985 (S_proc_getloginid_reply, S_proc_getloginpids_reply)
3986 (S_proc_getlogin_reply, S_proc_getsid_reply)
3987 (S_proc_getsessionpgids_reply, S_proc_getsessionpids_reply)
3988 (S_proc_getsidport_reply, S_proc_getpgrp_reply)
3989 (S_proc_getpgrppids_reply, S_proc_get_tty_reply)
3990 (S_proc_getnports_reply, S_proc_is_important_reply)
3991 (S_proc_get_code_reply): New stub functions, generated with
3994 * reply_mig_hack.awk: In phase 5, keep going if we have not yet
3995 collected the type check structures.
3997 * reply_mig_hack.awk: Don't expect to see the auto keyword.
3999 2014-02-14 Doug Evans <dje@google.com>
4001 * target.c (target_write_partial): Fix result type.
4003 2014-02-14 Jose E. Marchesi <jose.marchesi@oracle.com>
4005 * sparc64-linux-nat.c (_initialize_sparc64_linux_nat): Register
4006 the proper offsets to access fpregset_t.
4008 2014-02-13 Sanimir Agovic <sanimir.agovic@intel.com>
4010 * cris-tdep.c (cris_supply_gregset): Remove zerobuf.
4011 (_initialize_cris_tdep): Remove cris_set_cmdlist, cris_show_cmdlist.
4012 * h8300-tdep.c (setmachinelist): Remove global.
4013 * hppa-tdep.c (hppa_sigtramp): Remove global.
4014 * mipsnbsd-tdep.c (sigtramp_retcode_mipsel, sigtramp_retcode_mipseb
4015 RETCODE_NWORDS, RETCODE_SIZE): Wrap code with #if 0.
4016 * ravenscar-thread.c (update_target_observer): Remove global.
4017 * rs6000-tdep.c (rs6000_gdbarch_init): Remove segment_regs.
4019 2014-02-12 Tom Tromey <tromey@redhat.com>
4021 * common/rsp-low.c: Update comments.
4022 * common/rsp-low.h: Update comments.
4024 2014-02-12 Tom Tromey <tromey@redhat.com>
4026 * common/rsp-low.c (convert_ascii_to_int): Remove.
4027 * common/rsp-low.h (convert_ascii_to_int): Don't declare.
4029 2014-02-12 Tom Tromey <tromey@redhat.com>
4031 * common/rsp-low.h (unhexify): Don't declare.
4032 * common/rsp-low.c (unhexify): Remove.
4034 2014-02-12 Tom Tromey <tromey@redhat.com>
4036 * common/rsp-low.h (convert_int_to_ascii): Don't declare.
4037 * common/rsp-low.c (convert_int_to_ascii): Remove.
4039 2014-02-12 Tom Tromey <tromey@redhat.com>
4041 * common/rsp-low.h (hexify): Don't declare.
4042 * common/rsp-low.c (hexify): Remove.
4044 2014-02-12 Tom Tromey <tromey@redhat.com>
4046 * common/rsp-low.c (hexify): Never take strlen of argument.
4048 2014-02-12 Tom Tromey <tromey@redhat.com>
4050 * common/rsp-low.c (bin2hex): Never take strlen of argument.
4051 * remote.c (extended_remote_run, remote_rcmd)
4052 (remote_download_trace_state_variable, remote_save_trace_data)
4053 (remote_set_trace_notes): Update.
4054 * tracepoint.c (encode_source_string, tfile_write_status)
4055 (tfile_write_uploaded_tsv): Update.
4057 2014-02-12 Tom Tromey <tromey@redhat.com>
4059 * tracepoint.c: Include rsp-low.h.
4060 * remote.h (hex2bin, bin2hex, unpack_varlen_hex): Don't declare.
4061 * remote.c: Include rsp-low.h.
4062 (hexchars, ishex, unpack_varlen_hex, pack_nibble, pack_hex_byte)
4063 (fromhex, hex2bin, tohex, bin2hex, remote_escape_output)
4064 (remote_unescape_input): Move to common/rsp-low.c.
4065 * common/rsp-low.h: New file.
4066 * common/rsp-low.c: New file.
4067 * Makefile.in (SFILES): Add common/rsp-low.c.
4068 (HFILES_NO_SRCDIR): Add common/rsp-low.h.
4069 (COMMON_OBS): Add rsp-low.o.
4070 (rsp-low.o): New target.
4072 2014-02-12 Tom Tromey <tromey@redhat.com>
4074 * utils.h: Include print-utils.h.
4075 (host_address_to_string, plongest, pulongest, phex, phex_nz)
4076 (int_string, core_addr_to_string, core_addr_to_string_nz)
4077 (hex_string, hex_string_custom): Don't declare.
4078 * utils.c (NUMCELLS, CELLSIZE, get_cell, decimal2str, pulongest)
4079 (plongest, thirty_two, phex, phex_nz, octal2str, hex_string)
4080 (hex_string_custom, int_string, core_addr_to_string)
4081 (core_addr_to_string_nz, host_address_to_string): Move to
4082 common/print-utils.c.
4083 * common/print-utils.h: New file.
4084 * common/print-utils.c: New file
4085 * Makefile.in (SFILES): Add common/print-utils.c.
4086 (HFILES_NO_SRCDIR): Add common/print-utils.h.
4087 (COMMON_OBS): Add print-utils.o.
4088 (print-utils.o): New target.
4090 2014-02-12 Tom Tromey <tromey@redhat.com>
4092 * nios2-tdep.c (nios2_stub_frame_base_address): Remove.
4094 2014-02-12 Mark Kettenis <kettenis@gnu.org>
4096 * sparc64obsd-tdep.c (sparc64obsd_init_abi): Call obsd_init_abi.
4098 2014-02-12 Mark Kettenis <kettenis@gnu.org>
4100 * inf-ptrace.c (inf_ptrace_xfer_partial): Return TARGET_XFER_EOF
4101 if a PT_IO ptrace request returns sucessfully but indicates that 0
4102 bytes were transferred.
4104 2014-02-12 Pedro Alves <palves@redhat.com>
4105 Kevin Buettner <kevinb@redhat.com>
4107 * gnu-v3-abi.c (build_gdb_vtable_type): Return a type marked with
4108 TYPE_INSTANCE_FLAG_CODE_SPACE.
4110 2014-02-12 Pedro Alves <palves@redhat.com>
4112 * h8300-tdep.c (pseudo_from_raw_register)
4113 (raw_from_pseudo_register): New functions.
4114 (h8300_pseudo_register_read, h8300_pseudo_register_write): Use
4117 2014-02-12 Pedro Alves <palves@redhat.com>
4119 * h8300-tdep.c (h8300_register_sim_regno): New function.
4120 (h8300_gdbarch_init): Install h8300_register_sim_regno as
4121 gdbarch_register_sim_regno hook.
4123 2014-02-12 Sanimir Agovic <sanimir.agovic@intel.com>
4125 * nios2-tdep.c (nios2_stub_frame_base): Remove global.
4127 2014-02-12 Sanimir Agovic <sanimir.agovic@intel.com>
4129 * tic6x-tdep.c (tic6x_gdbarch_init): Call frame_base_set_default.
4131 2014-02-12 Mark Kettenis <kettenis@gnu.org>
4133 * obsd-tdep.h (obsd_init_abi): New prototype.
4134 * obsd-tdep.c: Define enum with OpenBSD signal numbers.
4135 (obsd_gdb_signal_from_target, obsd_gdb_signal_to_target)
4136 (obsd_init_abi): New functions.
4137 * i386obsd-tdep.c: Include "obsd-tdep.h".
4138 (i386obsd_init_abi): Call obsd_init_abi.
4139 * amd64obsd-tdep.c: Include "obsd-tdep.h".
4140 (amd64obsd_init_abi): Call obsd_init_abi.
4141 * configure.tgt (i[34567]86-*-openbsd*, x86_64-*-openbsd*): Add
4142 obsd-tdep.c to gdb_target_obs.
4144 2014-02-11 Jose E. Marchesi <jose.marchesi@oracle.com>
4146 * sparc64-tdep.c (sparc64_store_arguments): Do not align complex
4147 double float arguments to 16-byte in the argument slots.
4149 2014-02-11 Doug Evans <xdje42@gmail.com>
4151 * configure.ac: Don't crash if pkg-config is not found and guile
4152 wasn't explicitly requested. Use AC_MSG_ERROR instead of AC_ERROR
4154 * configure: Regenerate.
4156 2014-02-11 Yao Qi <yao@codesourcery.com>
4158 * aix-thread.c (aix_thread_xfer_partial): Update comments.
4159 * auxv.c (procfs_xfer_auxv, memory_xfer_auxv): Likewise.
4160 * bsd-uthread.c (bsd_uthread_xfer_partial): Likewise.
4161 * gnu-nat.c (gnu_xfer_memory): Likewise.
4162 * inf-ptrace.c (inf_ptrace_xfer_partial): Likewise.
4163 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
4164 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
4165 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise.
4167 2014-02-11 Yao Qi <yao@codesourcery.com>
4169 * target.h (enum target_xfer_error): Rename to ...
4170 (enum target_xfer_status): ... it. New. All users updated.
4171 (enum target_xfer_status) <TARGET_XFER_OK>, <TARGET_XFER_EOF>:
4173 (TARGET_XFER_STATUS_ERROR_P): New macro.
4174 (target_xfer_error_to_string): Remove declaration.
4175 (target_xfer_status_to_string): Declare.
4176 (target_xfer_partial_ftype): Adjust it.
4177 (struct target_ops) <to_xfer_partial>: Return
4178 target_xfer_status. Add argument xfered_len. Update
4180 * target.c (target_xfer_error_to_string): Rename to ...
4181 (target_xfer_status_to_string): ... it. New. All callers
4183 (target_read_live_memory): Likewise. Call target_xfer_partial
4184 instead of target_read.
4185 (memory_xfer_live_readonly_partial): Return
4186 target_xfer_status. Add argument xfered_len.
4187 (raw_memory_xfer_partial): Likewise.
4188 (memory_xfer_partial_1): Likewise.
4189 (memory_xfer_partial): Likewise.
4190 (target_xfer_partial): Likewise. Check *XFERED_LEN is set
4191 properly. Update debug message.
4192 (default_xfer_partial, current_xfer_partial): Likewise.
4193 (target_write_partial): Likewise.
4194 (target_read_partial): Likewise. All callers updated.
4195 (read_whatever_is_readable): Likewise.
4196 (target_write_with_progress): Likewise.
4197 (target_read_alloc_1): Likewise.
4199 * aix-thread.c (aix_thread_xfer_partial): Likewise.
4200 * auxv.c (procfs_xfer_auxv): Likewise.
4201 (ld_so_xfer_auxv, memory_xfer_auxv): Likewise.
4202 * bfd-target.c (target_bfd_xfer_partial): Likewise.
4203 * bsd-kvm.c (bsd_kvm_xfer_partial): Likewise.
4204 * bsd-uthread.c (bsd_uthread_xfer_partia): Likewise.
4205 * corefile.c (read_memory): Adjust.
4206 * corelow.c (core_xfer_partial): Likewise.
4207 * ctf.c (ctf_xfer_partial): Likewise.
4208 * darwin-nat.c (darwin_read_dyld_info): Likewise. All callers
4210 (darwin_xfer_partial): Likewise.
4211 * exec.c (section_table_xfer_memory_partial): Likewise. All
4213 (exec_xfer_partial): Likewise.
4214 * exec.h (section_table_xfer_memory_partial): Update
4216 * gnu-nat.c (gnu_xfer_memory): Likewise. Assert 'res' is not
4218 (gnu_xfer_partial): Likewise.
4219 * ia64-hpux-nat.c (ia64_hpux_xfer_memory_no_bs): Likewise.
4220 (ia64_hpux_xfer_memory, ia64_hpux_xfer_uregs): Likewise.
4221 (ia64_hpux_xfer_solib_got): Likewise.
4222 * inf-ptrace.c (inf_ptrace_xfer_partial): Likewise. Change
4223 type of 'partial_len' to ULONGEST.
4224 * inf-ttrace.c (inf_ttrace_xfer_partial): Likewise.
4225 * linux-nat.c (linux_xfer_siginfo ): Likewise.
4226 (linux_nat_xfer_partial): Likewise.
4227 (linux_proc_xfer_partial, linux_xfer_partial): Likewise.
4228 (linux_proc_xfer_spu, linux_nat_xfer_osdata): Likewise.
4229 * monitor.c (monitor_xfer_memory): Likewise.
4230 (monitor_xfer_partial): Likewise.
4231 * procfs.c (procfs_xfer_partial): Likewise.
4232 * record-btrace.c (record_btrace_xfer_partial): Likewise.
4233 * record-full.c (record_full_xfer_partial): Likewise.
4234 (record_full_core_xfer_partial): Likewise.
4235 * remote-sim.c (gdbsim_xfer_memory): Likewise.
4236 (gdbsim_xfer_partial): Likewise.
4237 * remote.c (remote_write_bytes_aux): Likewise. All callers
4239 (remote_write_bytes, remote_read_bytes): Likewise. All
4241 (remote_flash_erase): Likewise. All callers updated.
4242 (remote_write_qxfer): Likewise. All callers updated.
4243 (remote_read_qxfer): Likewise. All callers updated.
4244 (remote_xfer_partial): Likewise.
4245 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
4246 (rs6000_xfer_shared_libraries): Likewise.
4247 * sol-thread.c (sol_thread_xfer_partial): Likewise.
4248 (sol_thread_xfer_partial): Likewise.
4249 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
4250 (sparc_xfer_partial): Likewise.
4251 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise. All callers
4253 (spu_xfer_partial): Likewise.
4254 * spu-multiarch.c (spu_xfer_partial): Likewise.
4255 * tracepoint.c (tfile_xfer_partial): Likewise.
4256 * windows-nat.c (windows_xfer_memory): Likewise.
4257 (windows_xfer_shared_libraries): Likewise.
4258 (windows_xfer_partial): Likewise.
4259 * valprint.c: Replace 'target_xfer_error' with
4260 'target_xfer_status' in comments.
4262 2014-02-11 Simon Marchi <simon.marchi@ericsson.com> (tiny patch)
4264 Checked in by Joel Brobecker <brobecker@adacore.com>.
4265 * mi/mi-main.c (mi_cmd_data_write_memory_bytes): Fix comment.
4267 2014-02-11 Joel Brobecker <brobecker@adacore.com>
4269 * symfile-debug.c (debug_qf_expand_symtabs_matching): Reformat
4270 function parameters.
4272 2014-02-10 Will Newton <will.newton@linaro.org>
4274 * elfread.c (elf_rel_plt_read): Look for a .got section if
4275 looking up .got.plt fails.
4276 (elf_gnu_ifunc_resolve_by_got): Call gdbarch_addr_bits_remove
4277 on address passed to elf_gnu_ifunc_record_cache.
4278 (elf_gnu_ifunc_resolve_addr): Likewise.
4279 (elf_gnu_ifunc_resolver_return_stop): Likewise.
4281 2014-02-10 Jose E. Marchesi <jose.marchesi@oracle.com>
4283 * sparc-tdep.c (sparc_in_function_epilogue_p): New function.
4284 (X_RETTURN): New macro.
4285 * sparc-tdep.h: sparc_in_function_epilogue_p prototype.
4287 * sparc64-tdep.c (sparc64_init_abi): Hook
4288 sparc_in_function_epilogue_p.
4290 2014-02-10 Gary Benson <gbenson@redhat.com>
4292 * symfile-debug.c (debug_qf_expand_symtabs_matching):
4293 Rename name_matcher to symbol_matcher.
4295 2014-02-10 Gary Benson <gbenson@redhat.com>
4297 * symfile-debug.c (debug_qf_expand_symtabs_matching):
4298 Use expand_symtabs_file_matcher_ftype and
4299 expand_symtabs_symbol_matcher_ftype.
4301 2014-02-10 Joel Brobecker <brobecker@adacore.com>
4303 * ada-lang.c (struct cache_entry, HASH_SIZE): Move definition up.
4304 (struct ada_symbol_cache): New.
4305 (ada_free_symbol_cache): Forward declare.
4306 (struct ada_pspace_data): New.
4307 (ada_pspace_data_handle): New static global.
4308 (get_ada_pspace_data, ada_pspace_data_cleanup)
4309 (ada_init_symbol_cache, ada_free_symbol_cache): New functions.
4310 (cache_space, cache): Delete, now folded inside struct
4312 (ada_get_symbol_cache): New function.
4313 (ada_clear_symbol_cache, find_entry, cache_symbol): Adjust
4315 (_initialize_ada_language): Remove initialization of cache_space.
4316 Move call to observer_attach_inferior_exit up, grouping it
4317 with the other observer registrations inside this function.
4318 Rename command to be more general. Add call to
4319 register_program_space_data_with_cleanup.
4321 2014-02-10 Joel Brobecker <brobecker@adacore.com>
4323 * ada-tasks.c (ada_tasks_new_objfile_observer): Renames
4324 ada_new_objfile_observer.
4325 (ada_tasks_normal_stop_observer): Renames ada_normal_stop_observer.
4326 (_initialize_tasks): Update uses of ada_new_objfile_observer
4327 and ada_tasks_normal_stop_observer.
4329 2014-02-10 Joel Brobecker <brobecker@adacore.com>
4331 * ada-lang.c (ada_evaluate_subexp): Set the type of the value
4332 returned by the 'Length attribute to integer.
4334 2014-02-10 Joel Brobecker <brobecker@adacore.com>
4336 * ada-lang.c (_initialize_ada_language): Initialize
4337 cache_space obstack.
4339 2014-02-10 Joel Brobecker <brobecker@adacore.com>
4341 * ada-lang.c (HASH_SIZE): New macro.
4342 (struct cache_entry): New type.
4343 (cache_space, cache): New static globals.
4344 (ada_clear_symbol_cache, find_entry): New functions.
4345 (lookup_cached_symbol, cache_symbol): Implement.
4346 (ada_new_objfile_observer, ada_free_objfile_observer): New.
4347 (_initialize_ada_language): Attach ada_new_objfile_observer
4348 and ada_free_objfile_observer.
4350 2014-02-10 Joel Brobecker <brobecker@adacore.com>
4352 * ada-lang.c (ada_add_block_symbols, add_defn_to_vec)
4353 (lookup_cached_symbol, ada_add_local_symbols): Add "const" to
4354 struct block * parameter.
4355 (ada_lookup_symbol_list_worker): Constify local variable "block".
4356 Remove cast which is no longer necessary.
4358 2014-02-10 Doug Evans <xdje42@gmail.com>
4360 Add Guile as an extension language.
4361 * NEWS: Mention Guile scripting.
4362 * Makefile.in (SUBDIR_GUILE_OBS): New variable.
4363 (SUBDIR_GUILE_SRCS, SUBDIR_GUILE_DEPS): New variables
4364 (SUBDIR_GUILE_LDFLAGS, SUBDIR_GUILE_CFLAGS): New variables.
4365 (INTERNAL_CPPFLAGS): Add GUILE_CPPFLAGS.
4366 (CLIBS): Add GUILE_LIBS.
4367 (install-guile): New rule.
4368 (guile.o): New rule.
4369 (scm-arch.o, scm-auto-load.o, scm-block.o): New rules.
4370 (scm-breakpoint.o, scm-disasm.o, scm-exception.o): New rules.
4371 (scm-frame.o, scm-iterator.o, scm-lazy-string.o): New rules.
4372 (scm-math.o, scm-objfile.o, scm-ports.o): New rules.
4373 (scm-pretty-print.o, scm-safe-call.o, scm-gsmob.o): New rules.
4374 (scm-string.o, scm-symbol.o, scm-symtab.o): New rules.
4375 (scm-type.o, scm-utils.o, scm-value.o): New rules.
4376 * configure.ac: New option --with-guile.
4377 * configure: Regenerate.
4378 * config.in: Regenerate.
4379 * auto-load.c: Remove #include "python/python.h". Add #include
4380 "gdb/section-scripts.h".
4381 (source_section_scripts): Handle Guile scripts.
4382 (_initialize_auto_load): Add name of Guile objfile script to
4383 scripts-directory help text.
4384 * breakpoint.c (condition_command): Tweak comment to include Scheme.
4385 * breakpoint.h (gdbscm_breakpoint_object): Add forward decl.
4386 (struct breakpoint): New member scm_bp_object.
4387 * defs.h (enum command_control_type): New value guile_control.
4388 * cli/cli-cmds.c: Remove #include "python/python.h". Add #include
4390 (show_user): Update comment.
4391 (_initialize_cli_cmds): Update help text for "show user". Update help
4392 text for max-user-call-depth.
4393 * cli/cli-script.c: Remove #include "python/python.h". Add #include
4395 (multi_line_command_p): Add guile_control.
4396 (print_command_lines): Handle guile_control.
4397 (execute_control_command, recurse_read_control_structure): Ditto.
4398 (process_next_line): Recognize "guile" commands.
4399 * disasm.c (gdb_disassemble_info): Make non-static.
4400 * disasm.h: #include "dis-asm.h".
4401 (struct gdbarch): Add forward decl.
4402 (gdb_disassemble_info): Declare.
4403 * extension.c: #include "guile/guile.h".
4404 (extension_languages): Add guile.
4405 (get_ext_lang_defn): Handle EXT_LANG_GDB.
4406 * extension.h (enum extension_language): New value EXT_LANG_GUILE.
4407 * gdbtypes.c (get_unsigned_type_max): New function.
4408 (get_signed_type_minmax): New function.
4409 * gdbtypes.h (get_unsigned_type_max): Declare.
4410 (get_signed_type_minmax): Declare.
4411 * guile/README: New file.
4412 * guile/guile-internal.h: New file.
4413 * guile/guile.c: New file.
4414 * guile/guile.h: New file.
4415 * guile/scm-arch.c: New file.
4416 * guile/scm-auto-load.c: New file.
4417 * guile/scm-block.c: New file.
4418 * guile/scm-breakpoint.c: New file.
4419 * guile/scm-disasm.c: New file.
4420 * guile/scm-exception.c: New file.
4421 * guile/scm-frame.c: New file.
4422 * guile/scm-gsmob.c: New file.
4423 * guile/scm-iterator.c: New file.
4424 * guile/scm-lazy-string.c: New file.
4425 * guile/scm-math.c: New file.
4426 * guile/scm-objfile.c: New file.
4427 * guile/scm-ports.c: New file.
4428 * guile/scm-pretty-print.c: New file.
4429 * guile/scm-safe-call.c: New file.
4430 * guile/scm-string.c: New file.
4431 * guile/scm-symbol.c: New file.
4432 * guile/scm-symtab.c: New file.
4433 * guile/scm-type.c: New file.
4434 * guile/scm-utils.c: New file.
4435 * guile/scm-value.c: New file.
4436 * guile/lib/gdb.scm: New file.
4437 * guile/lib/gdb/boot.scm: New file.
4438 * guile/lib/gdb/experimental.scm: New file.
4439 * guile/lib/gdb/init.scm: New file.
4440 * guile/lib/gdb/iterator.scm: New file.
4441 * guile/lib/gdb/printing.scm: New file.
4442 * guile/lib/gdb/types.scm: New file.
4443 * data-directory/Makefile.in (GUILE_SRCDIR): New variable.
4444 (VPATH): Add $(GUILE_SRCDIR).
4445 (GUILE_DIR): New variable.
4446 (GUILE_INSTALL_DIR, GUILE_FILES): New variables.
4447 (all): Add stamp-guile dependency.
4448 (stamp-guile): New rule.
4449 (clean-guile, install-guile, uninstall-guile): New rules.
4450 (install-only): Add install-guile dependency.
4451 (uninstall): Add uninstall-guile dependency.
4452 (clean): Add clean-guile dependency.
4454 2014-02-09 Doug Evans <xdje42@gmail.com>
4456 Revert this patch (which I approved, mea culpa).
4458 2014-02-08 Mark Kettenis <kettenis@gnu.org>
4460 * Makefile.in (all-lib): Remove.
4461 ($(LIBGNU) $(GNULIB_H)): Replace with gits of remove all-lib target.
4463 2014-02-09 Jan Kratochvil <jan.kratochvil@redhat.com>
4465 Fix Python stack corruption.
4466 * python/py-linetable.c (ltpy_get_pcs_for_line, ltpy_has_line): Use
4469 2014-02-08 Mark Kettenis <kettenis@gnu.org>
4471 * Makefile.in (all-lib): Remove.
4472 ($(LIBGNU) $(GNULIB_H)): Replace with gits of remove all-lib target.
4474 2014-02-07 Doug Evans <dje@google.com>
4476 * extension-priv.h (extension_language_script_ops): Add comment.
4477 (extension_language_ops): Add comment.
4478 (active_ext_lang_state): Fix typo in comment.
4480 2014-02-07 Pedro Alves <palves@redhat.com>
4482 PR breakpoints/16292
4483 * infrun.c (handle_signal_stop) <signal arrives while stepping
4484 over a breakpoint>: Switch back to the stepping thread.
4486 2014-02-07 Yao Qi <yao@codesourcery.com>
4488 * target.c (target_xfer_partial): Return zero if LEN is zero.
4490 2014-02-07 Yao Qi <yao@codesourcery.com>
4492 * auxv.c (procfs_xfer_auxv): Replace -1 with TARGET_XFER_E_IO.
4493 (ld_so_xfer_auxv): Likewise.
4494 * bfd-target.c (target_bfd_xfer_partial): Likewise.
4495 * bsd-kvm.c (bsd_kvm_xfer_partial): Likewise.
4496 * corelow.c (core_xfer_partial): Likewise.
4497 * ctf.c (ctf_xfer_partial): Likewise.
4498 * darwin-nat.c (darwin_read_dyld_info): Likewise.
4499 (darwin_xfer_partial): Likewise.
4500 * exec.c (exec_xfer_partial): Likewise.
4501 * gnu-nat.c (gnu_xfer_partial): Likewise.
4502 * ia64-hpux-nat.c (ia64_hpux_xfer_uregs): Likewise.
4503 * inf-ptrace.c (inf_ptrace_xfer_partial): Likewise.
4504 * inf-ttrace.c (inf_ttrace_xfer_partial): Likewise.
4505 * linux-nat.c (linux_xfer_siginfo): Likewise.
4506 (linux_proc_xfer_spu): Likewise.
4507 * procfs.c (procfs_xfer_partial): Likewise.
4508 * record-full.c (record_full_xfer_partial): Likewise.
4509 (record_full_core_xfer_partial): Likewise.
4510 * remote-sim.c (gdbsim_xfer_partial): Likewise.
4511 * remote.c (remote_write_qxfer): Likewise.
4512 (remote_write_qxfer, remote_read_qxfer): Likewise.
4513 (remote_xfer_partial): Likewise.
4514 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
4515 (rs6000_xfer_shared_libraries): Likewise.
4516 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
4517 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise.
4518 (spu_xfer_partial): Likewise.
4519 * target.c (memory_xfer_partial_1): Likewise.
4520 * tracepoint.c (tfile_xfer_partial): Likewise.
4521 * windows-nat.c (windows_xfer_shared_libraries): Likewise.
4522 (windows_xfer_partial): Likewise.
4524 2014-02-07 Yao Qi <yao@codesourcery.com>
4526 * gdbarch.sh (core_xfer_shared_libraries): Returns ULONGEST. Add
4528 (core_xfer_shared_libraries_aix): Likewise.
4529 * gdbarch.c, gdbarch.h: Regenerated.
4530 * i386-cygwin-tdep.c (windows_core_xfer_shared_libraries): Return
4531 ULONGEST. Change 'len_avail' type to ULONGEST.
4532 * rs6000-aix-tdep.c (rs6000_aix_ld_info_to_xml): Likewise.
4533 * rs6000-aix-tdep.h (rs6000_aix_ld_info_to_xml): Update
4535 (rs6000_aix_core_xfer_shared_libraries_aix): Return ULONGEST.
4537 2014-02-07 Yao Qi <yao@codesourcery.com>
4539 * corefile.c (memory_error): Get 'exception' from ERR and pass
4540 'exception' to throw_error.
4542 2014-02-06 Doug Evans <xdje42@gmail.com>
4544 * configure.ac (libpython checking): Remove all but python.o from
4545 CONFIG_OBS. Remove all but python.c from CONFIG_SRCS.
4546 * configure: Regenerate.
4548 * Makefile.in (SFILES): Add extension.c.
4549 (HFILES_NO_SRCDIR): Add extension.h, extension-priv.h
4550 (COMMON_OBS): Add extension.o.
4551 * extension.h: New file.
4552 * extension-priv.h: New file.
4553 * extension.c: New file.
4555 * python/python-internal.h: #include "extension.h".
4556 (gdbpy_auto_load_enabled): Declare.
4557 (gdbpy_apply_val_pretty_printer): Declare.
4558 (gdbpy_apply_frame_filter): Declare.
4559 (gdbpy_preserve_values): Declare.
4560 (gdbpy_breakpoint_cond_says_stop): Declare.
4561 (gdbpy_breakpoint_has_cond): Declare.
4562 (void source_python_script_for_objfile): Delete.
4563 * python/python.c: #include "extension-priv.h".
4564 Delete inclusion of "observer.h".
4565 (extension_language_python): Moved here and renamed from
4566 script_language_python in py-auto-load.c.
4567 Redefined to be of type extension_language_defn.
4568 (python_extension_script_ops): New global.
4569 (python_extension_ops): New global.
4570 (struct python_env): New member previous_active.
4571 (restore_python_env): Call restore_active_ext_lang.
4572 (ensure_python_env): Call set_active_ext_lang.
4573 (gdbpy_clear_quit_flag): Renamed from clear_quit_flag, made static.
4575 (gdbpy_set_quit_flag): Renamed from set_quit_flag, made static.
4577 (gdbpy_check_quit_flag): Renamed from check_quit_flag, made static.
4579 (gdbpy_eval_from_control_command): Renamed from
4580 eval_python_from_control_command, made static. New arg extlang.
4581 (gdbpy_source_script) Renamed from source_python_script, made static.
4583 (gdbpy_before_prompt_hook): Renamed from before_prompt_hook. Change
4584 result to int. New arg extlang.
4585 (gdbpy_source_objfile_script): Renamed from
4586 source_python_script_for_objfile, made static. New arg extlang.
4587 (gdbpy_start_type_printers): Renamed from start_type_printers, made
4588 static. New args extlang, extlang_printers. Change result type to
4590 (gdbpy_apply_type_printers): Renamed from apply_type_printers, made
4591 static. New arg extlang. Rename arg printers to extlang_printers
4592 and change type to ext_lang_type_printers *.
4593 (gdbpy_free_type_printers): Renamed from free_type_printers, made
4594 static. Replace argument arg with extlang, extlang_printers.
4595 (!HAVE_PYTHON, eval_python_from_control_command): Delete.
4596 (!HAVE_PYTHON, source_python_script): Delete.
4597 (!HAVE_PYTHON, gdbpy_should_stop): Delete.
4598 (!HAVE_PYTHON, gdbpy_breakpoint_has_py_cond): Delete.
4599 (!HAVE_PYTHON, start_type_printers): Delete.
4600 (!HAVE_PYTHON, apply_type_printers): Delete.
4601 (!HAVE_PYTHON, free_type_printers): Delete.
4602 (_initialize_python): Delete call to observer_attach_before_prompt.
4603 (finalize_python): Set/restore active extension language.
4604 (gdbpy_finish_initialization) Renamed from
4605 finish_python_initialization, made static. New arg extlang.
4606 (gdbpy_initialized): New function.
4607 * python/python.h: #include "extension.h". Delete #include
4608 "value.h", "mi/mi-cmds.h".
4609 (extension_language_python): Declare.
4610 (GDBPY_AUTO_FILE_NAME): Delete.
4611 (enum py_bt_status): Moved to extension.h and renamed to
4613 (enum frame_filter_flags): Moved to extension.h.
4614 (enum py_frame_args): Moved to extension.h and renamed to
4615 ext_lang_frame_args.
4616 (finish_python_initialization): Delete.
4617 (eval_python_from_control_command): Delete.
4618 (source_python_script): Delete.
4619 (apply_val_pretty_printer): Delete.
4620 (apply_frame_filter): Delete.
4621 (preserve_python_values): Delete.
4622 (gdbpy_script_language_defn): Delete.
4623 (gdbpy_should_stop, gdbpy_breakpoint_has_py_cond): Delete.
4624 (start_type_printers, apply_type_printers, free_type_printers): Delete.
4626 * auto-load.c: #include "extension.h".
4627 (GDB_AUTO_FILE_NAME): Delete.
4628 (auto_load_gdb_scripts_enabled): Make public. New arg extlang.
4629 (script_language_gdb): Delete, moved to extension.c and renamed to
4630 extension_language_gdb.
4631 (source_gdb_script_for_objfile): Delete.
4632 (auto_load_pspace_info): New member unsupported_script_warning_printed.
4633 (loaded_script): Change type of language member to
4634 struct extension_language_defn *.
4635 (init_loaded_scripts_info): Initialize
4636 unsupported_script_warning_printed.
4637 (maybe_add_script): Make static. Change type of language arg to
4638 struct extension_language_defn *.
4639 (clear_section_scripts): Reset unsupported_script_warning_printed.
4640 (auto_load_objfile_script_1): Rewrite to use extension language API.
4641 (auto_load_objfile_script): Make public. Remove support-compiled-in
4642 and auto-load-enabled checks, moved to auto_load_scripts_for_objfile.
4643 (source_section_scripts): Rewrite to use extension language API.
4644 (load_auto_scripts_for_objfile): Rewrite to use
4645 auto_load_scripts_for_objfile.
4646 (collect_matching_scripts_data): Change type of language member to
4647 struct extension_language_defn *.
4648 (auto_load_info_scripts): Change type of language arg to
4649 struct extension_language_defn *.
4650 (unsupported_script_warning_print): New function.
4651 (script_not_found_warning_print): Make static.
4652 (_initialize_auto_load): Rewrite construction of scripts-directory
4654 * auto-load.h (struct objfile): Add forward decl.
4655 (struct script_language): Delete.
4656 (struct auto_load_pspace_info): Add forward decl.
4657 (struct extension_language_defn): Add forward decl.
4658 (maybe_add_script): Delete.
4659 (auto_load_objfile_script): Declare.
4660 (script_not_found_warning_print): Delete.
4661 (auto_load_info_scripts): Update prototype.
4662 (auto_load_gdb_scripts_enabled): Declare.
4663 * python/py-auto-load.c (gdbpy_auto_load_enabled): Renamed from
4664 auto_load_python_scripts_enabled and made public.
4665 (script_language_python): Delete, moved to python.c.
4666 (gdbpy_script_language_defn): Delete.
4667 (info_auto_load_python_scripts): Update to use
4668 extension_language_python.
4670 * breakpoint.c (condition_command): Replace call to
4671 gdbpy_breakpoint_has_py_cond with call to get_breakpoint_cond_ext_lang.
4672 (bpstat_check_breakpoint_conditions): Replace call to gdbpy_should_stop
4673 with call to breakpoint_ext_lang_cond_says_stop.
4674 * python/py-breakpoint.c (gdbpy_breakpoint_cond_says_stop): Renamed
4675 from gdbpy_should_stop. Change result type to enum scr_bp_stop.
4676 New arg slang. Return SCR_BP_STOP_UNSET if py_bp_object is NULL.
4677 (gdbpy_breakpoint_has_cond): Renamed from gdbpy_breakpoint_has_py_cond.
4679 (local_setattro): Print name of extension language with existing
4682 * valprint.c (val_print, value_print): Update to call
4683 apply_ext_lang_val_pretty_printer.
4684 * cp-valprint.c (cp_print_value): Update call to
4685 apply_ext_lang_val_pretty_printer.
4686 * python/py-prettyprint.c: Remove #ifdef HAVE_PYTHON.
4687 (gdbpy_apply_val_pretty_printer): Renamed from
4688 apply_val_pretty_printer. New arg extlang.
4689 (!HAVE_PYTHON, apply_val_pretty_printer): Delete.
4691 * cli/cli-cmds.c (source_script_from_stream): Rewrite to use
4692 extension language API.
4693 * cli/cli-script.c (execute_control_command): Update to call
4694 eval_ext_lang_from_control_command.
4696 * mi/mi-cmd-stack.c (mi_cmd_stack_list_frames): Update to use
4697 enum ext_lang_bt_status values. Update call to
4698 apply_ext_lang_frame_filter.
4699 (mi_cmd_stack_list_locals): Ditto.
4700 (mi_cmd_stack_list_args): Ditto.
4701 (mi_cmd_stack_list_variables): Ditto.
4702 * mi/mi-main.c: Delete #include "python/python-internal.h".
4703 Add #include "extension.h".
4704 (mi_cmd_list_features): Replace reference to python internal variable
4705 gdb_python_initialized with call to ext_lang_initialized_p.
4707 * stack.c (backtrace_command_1): Update to use enum ext_lang_bt_status.
4708 Update to use enum ext_lang_frame_args. Update to call
4709 apply_ext_lang_frame_filter.
4710 * python/py-framefilter.c (extract_sym): Update to use enum
4712 (extract_value, py_print_type, py_print_value): Ditto.
4713 (py_print_single_arg, enumerate_args, enumerate_locals): Ditto.
4714 (py_mi_print_variables, py_print_locals, py_print_args): Ditto.
4715 (py_print_frame): Ditto.
4716 (gdbpy_apply_frame_filter): Renamed from apply_frame_filter.
4717 New arg extlang. Update to use enum ext_lang_bt_status.
4719 * top.c (gdb_init): Delete #ifdef HAVE_PYTHON call to
4720 finish_python_initialization. Replace with call to
4721 finish_ext_lang_initialization.
4723 * typeprint.c (do_free_global_table): Update to call
4724 free_ext_lang_type_printers.
4725 (create_global_typedef_table): Update to call
4726 start_ext_lang_type_printers.
4727 (find_global_typedef): Update to call apply_ext_lang_type_printers.
4728 * typeprint.h (struct ext_lang_type_printers): Add forward decl.
4729 (type_print_options): Change type of global_printers from "void *"
4730 to "struct ext_lang_type_printers *".
4732 * value.c (preserve_values): Update to call preserve_ext_lang_values.
4733 * python/py-value.c: Remove #ifdef HAVE_PYTHON.
4734 (gdbpy_preserve_values): Renamed from preserve_python_values.
4736 (!HAVE_PYTHON, preserve_python_values): Delete.
4738 * utils.c (quit_flag): Delete, moved to extension.c.
4739 (clear_quit_flag, set_quit_flag, check_quit_flag): Delete, moved to
4742 * eval.c: Delete #include "python/python.h".
4743 * main.c: Delete #include "python/python.h".
4745 * defs.h: Update comment.
4747 2014-02-06 Joel Brobecker <brobecker@adacore.com>
4751 2014-02-05 Mark Kettenis <kettenis@gnu.org>
4753 * c-exp.y (YYPRINT, c_print_token): Only define if YYBISON is
4756 2014-02-05 Yao Qi <yao@codesourcery.com>
4758 * remote.c (remote_pass_signals): Remove local 'buf' and use
4760 (remote_program_signals): Likewise.
4762 2014-02-05 Yao Qi <yao@codesourcery.com>
4764 * ctf.c: Include "inferior.h" and "gdbthread.h".
4765 (CTF_PID): A new macro.
4766 (ctf_open): Call inferior_appeared and add_thread_silent.
4767 (ctf_close): Call exit_inferior_silent and set inferior_ptid.
4768 (ctf_thread_alive): New function.
4769 (init_ctf_ops): Install ctf_thread_alive to to_thread_alive.
4771 2014-02-05 Yao Qi <yao@codesourcery.com>
4775 2013-05-24 Yao Qi <yao@codesourcery.com>
4777 * tracepoint.c (TFILE_PID): Remove.
4778 (tfile_open): Don't add thread and inferior.
4779 (tfile_close): Don't set 'inferior_ptid'. Don't call
4780 exit_inferior_silent.
4781 (tfile_thread_alive): Remove.
4782 (init_tfile_ops): Don't set field 'to_thread_alive' of
4785 2014-02-04 Christian Eggers <ceggers@gmx.de> (tiny change)
4787 * remote.c (remote_start_remote): Call remote_check_symbols even
4788 if only symbol-file (not file) has been given.
4790 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
4792 * gdbarch.sh (skip_entrypoint): New callback.
4793 * gdbarch.c, gdbarch.h: Regenerate.
4794 * symtab.c (skip_prologue_sal): Call gdbarch_skip_entrypoint.
4795 * infrun.c (fill_in_stop_func): Likewise.
4796 * ppc-linux-tdep.c: Include "elf/ppc64.h".
4797 (ppc_elfv2_elf_make_msymbol_special): New function.
4798 (ppc_elfv2_skip_entrypoint): Likewise.
4799 (ppc_linux_init_abi): Install them for ELFv2.
4801 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
4803 * ppc-sysv-tdep.c (ppc64_aggregate_candidate): New routine.
4804 (ppc64_elfv2_abi_homogeneous_aggregate): Likewise.
4805 (ppc64_sysv_abi_push_param): Handle ELFv2 homogeneous structs.
4806 (ppc64_sysv_abi_return_value): Likewise. Also, handle small
4807 structures returned in GPRs.
4809 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
4811 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_dummy_call): Use correct
4812 offset to the stack parameter list for the ELFv2 ABI.
4814 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
4816 * ppc-linux-tdep.c (ppc_linux_init_abi): Only call
4817 set_gdbarch_convert_from_func_ptr_addr and
4818 set_gdbarch_elf_make_msymbol_special for ELFv1.
4819 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_param): Only handle
4820 function descriptors on ELFv1.
4821 (ppc64_sysv_abi_push_dummy_call): Likewise. On ELFv2,
4822 set up r12 at function entry.
4824 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
4826 * ppc-tdep.h (enum powerpc_elf_abi): New data type.
4827 (struct gdbarch_tdep): New member elf_abi.
4829 * rs6000-tdep.c: Include "elf/ppc64.h".
4830 (rs6000_gdbarch_init): Detect ELF ABI version.
4832 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
4834 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_freg): Use correct order
4835 within a register pair holding a DFP 128-bit value on little-endian.
4836 (ppc64_sysv_abi_return_value_base): Likewise.
4837 * rs6000-tdep.c (dfp_pseudo_register_read): Likewise.
4838 (dfp_pseudo_register_write): Likewise.
4840 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
4842 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_freg): Use correct
4843 offset on little-endian when passing _Decimal32.
4844 (ppc64_sysv_abi_return_value_base): Likewise for return values.
4846 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
4848 * rs6000-tdep.c (efpr_pseudo_register_read): Use correct offset
4849 of the overlapped FP register within the VSX register on little-
4851 (efpr_pseudo_register_write): Likewise.
4853 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
4855 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_val): Use correct
4856 offset on little-endian when passing small structures.
4858 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
4860 * ppc-sysv-tdep.c (get_decimal_float_return_value): Update comment.
4861 (struct ppc64_sysv_argpos): New data structure.
4862 (ppc64_sysv_abi_push_float): Remove.
4863 (ppc64_sysv_abi_push_val): New function.
4864 (ppc64_sysv_abi_push_integer): Likewise.
4865 (ppc64_sysv_abi_push_freg): Likewise.
4866 (ppc64_sysv_abi_push_vreg): Likewise.
4867 (ppc64_sysv_abi_push_param): Likewise.
4868 (ppc64_sysv_abi_push_dummy_call): Refactor to use those new routines.
4869 (ppc64_sysv_abi_return_value_base): New function.
4870 (ppc64_sysv_abi_return_value): Refactor to use it.
4872 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
4874 * NEWS: Document new target powerpc64le-*-linux*.
4876 2014-02-04 Mark Kettenis <kettenis@gnu.org>
4878 * sparc64obsd-tdep.c (sparc64obsd_gregset): New variable.
4879 (sparc64obsd_supply_gregset): Handle registers sets used in ELF
4881 (sparc64obsd_init_abi): Adjust minimum size of the general purpose
4882 register set used in ELF core dumps. Add floating-point register set.
4884 2014-02-03 Kevin Buettner <kevinb@redhat.com>
4886 * mn10300-tdep.c (mn10300_dwarf2_reg_to_regnum): Rewrite
4887 dwarf2_to_gdb[] table using symbolic constants. Adjust
4888 penultimate entry from number representing the PC register
4889 to symbolic constant representing the MDR register. Add
4890 constant for the PC register to the end of the table.
4892 2014-02-03 Mark Kettenis <kettenis@gnu.org>
4894 * bsd-kvm.c: Include <sys/param.h>
4896 2014-02-03 Mark Kettenis <kettenis@gnu.org>
4898 * sparc64nbsd-nat.c (sparc64nbsd_supply_fpregset): Fix prototype.
4900 2014-01-31 Joel Brobecker <brobecker@adacore.com>
4902 * ada-lang.h (clear_ada_sym_cache): Delete.
4904 2014-01-30 Ulrich Weigand <uweigand@de.ibm.com>
4906 * auxv.c (fprint_target_auxv): Handle AT_HWCAP2.
4908 2014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
4910 * sparc64-linux-tdep.c (sparc64_linux_step_trap): Get PC from
4911 the sigreturn register save area only if the syscall is
4914 2014-01-29 Joel Brobecker <brobecker@adacore.com>
4916 * valops.c (value_slice): Minor reformatting.
4918 2014-01-28 Ulrich Weigand <uweigand@de.ibm.com>
4920 * ppc64-tdep.c (ppc64_standard_linkage7): Fix typo.
4922 2014-01-28 Joel Brobecker <brobecker@adacore.com>
4924 * ada-lang.c (maint_set_ada_cmdlist, maint_show_ada_cmdlist):
4926 (maint_set_ada_cmd, maint_show_ada_cmd): New functions.
4927 (ada_ignore_descriptive_types_p): New static global.
4928 (find_parallel_type_by_descriptive_type): Return immediately
4929 if ada_ignore_descriptive_types_p is set.
4930 (_initialize_ada_language): Register new commands "maintenance
4931 set ada", "maintenance show ada", "maintenance set ada
4932 ignore-descriptive-types" and "maintenance show ada
4933 ignore-descriptive-types".
4934 * NEWS: Add entry for new "maint ada set/show
4935 ignore-descriptive-types" commands.
4937 2014-01-27 Markus Metzger <markus.t.metzger@intel.com>
4939 * record-btrace.c (record_btrace_close): Call btrace_teardown
4942 2014-01-27 Joel Brobecker <brobecker@adacore.com>
4944 * ada-lang.c: Remove "#ifdef UI_OUT" condition for including
4947 2014-01-27 Joel Brobecker <brobecker@adacore.com>
4949 * ada-typeprint (type_is_full_subrange_of_target_type):
4951 (print_range): Add parameter bounds_prefered_p. If not set,
4952 try printing range types using the name of their base type.
4953 (print_range_type): Add parameter bounds_prefered_p.
4954 Use it in call to print_range.
4955 (print_array_type, ada_print_type): Update calls to print_range
4956 and print_range_type.
4958 2014-01-27 Joel Brobecker <brobecker@adacore.com>
4960 * ada-typeprint.c (print_array_type, print_choices, print_range)
4961 (print_range_bound, print_dynamic_range_bound, print_range_type):
4964 2014-01-27 Joel Brobecker <brobecker@adacore.com>
4966 * ada-typeprint.c (print_range): Add missing empty line
4967 after local declaration.
4969 2014-01-27 Joel Brobecker <brobecker@adacore.com>
4971 * ada-valprint.c (print_optional_low_bound): Get index_type's
4972 target type for as long as it is a TYPE_CODE_RANGE.
4974 2014-01-27 Joel Brobecker <brobecker@adacore.com>
4976 * procfs.c (procfs_make_note_section): Remove assertion and
4979 2014-01-24 Yao Qi <yao@codesourcery.com>
4981 * remote.c (remote_read_bytes): Change type of len to ULONGEST.
4982 * corelow.c (get_core_siginfo): Likewise.
4984 2014-01-24 Yao Qi <yao@codesourcery.com>
4986 * remote.c (remote_write_bytes_aux): Change type of 'len' to
4987 ULONGEST. Don't check 'len' is negative.
4988 (remote_write_bytes): Change type of 'len' to ULONGEST.
4990 2014-01-23 Tom Tromey <tromey@redhat.com>
4993 * python/lib/gdb/FrameDecorator.py: (FrameVars.fetch_frame_args):
4994 Handle exception from frame.block.
4995 (FrameVars.fetch_frame_locals): Likewise.
4997 2014-01-23 Tom Tromey <tromey@redhat.com>
5000 * python/py-framefilter.c (py_print_frame): Don't call Py_DECREF
5001 on a NULL pointer. Move "goto error" to correct place.
5003 2014-01-23 Tom Tromey <tromey@redhat.com>
5006 * python/py-framefilter.c (apply_frame_filter): Call
5007 ensure_python_env after computing gdbarch.
5009 2014-01-23 Yao Qi <yao@codesourcery.com>
5011 * target.c (raw_memory_xfer_partial): Change argument type
5012 from void * to gdb_byte *.
5013 (memory_xfer_partial_1, memory_xfer_partial): Likewise.
5015 2014-01-22 Doug Evans <dje@google.com>
5017 New gdbserver option --debug-format=timestamp.
5020 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
5022 * syscalls/s390x-linux.xml: New file.
5023 * syscalls/s390-linux.xml: New file.
5024 * s390-linux-tdep.c (XML_SYSCALL_FILENAME_S390): New macro.
5025 (XML_SYSCALL_FILENAME_S390X): Likewise.
5026 (op_svc): New enum value for SVC opcode.
5027 (s390_sigtramp_frame_sniffer): Replace literal by 'op_svc'.
5028 (s390_linux_get_syscall_number): New function.
5029 (s390_gdbarch_init): Register '*get_syscall_number' and the
5030 syscall xml file name.
5031 * data-directory/Makefile.in (SYSCALLS_FILES): Add
5032 "s390-linux.xml" and "s390x-linux.xml".
5033 * NEWS: Announce new feature.
5035 2014-01-22 Baruch Siach <baruch@tkos.co.il>
5037 * xtensa-tdep.h (xtensa_elf_greg_t): Change type to uint32_t.
5039 2014-01-22 Pedro Alves <palves@redhat.com>
5041 * xtensa-config.c: Include defs.h.
5043 2014-01-22 Joel Brobecker <brobecker@adacore.com>
5045 * common/common-utils.h: Add "ARI:" comment beside __func__
5048 2014-01-22 Joel Brobecker <brobecker@adacore.com>
5050 * common/common-utils.h (FUNCTION_NAME): Expand the macro's
5051 documentation a bit.
5053 2014-01-21 Roland McGrath <mcgrathr@google.com>
5055 * configure.ac: Call AM_PROG_INSTALL_STRIP.
5056 * configure: Regenerate.
5057 * aclocal.m4: Regenerate.
5058 * Makefile.in (install_sh, INSTALL_STRIP_PROGRAM, STRIP):
5059 New substituted variables.
5060 (install-strip): New target.
5061 (INSTALL_SCRIPT): New substituted variable.
5062 (FLAGS_TO_PASS): Add it.
5063 (install-only): Use $(INSTALL_SCRIPT) rather than
5064 $(INSTALL_PROGRAM) for gcore.
5066 2014-01-20 Tom Tromey <tromey@redhat.com>
5068 * cli/cli-decode.h (struct cmd_list_element): Move all bitfields
5071 2014-01-20 Tom Tromey <tromey@redhat.com>
5073 * cli/cli-decode.c (add_cmd, deprecate_cmd, add_alias_cmd)
5074 (add_setshow_cmd_full, delete_cmd, lookup_cmd_1)
5075 (deprecated_cmd_warning, complete_on_cmdlist): Update.
5076 * cli/cli-decode.h (CMD_DEPRECATED, DEPRECATED_WARN_USER)
5077 (MALLOCED_REPLACEMENT, DOC_ALLOCATED): Remove.
5078 (struct cmd_list_element) <flags>: Remove.
5079 <cmd_deprecated, deprecated_warn_user, malloced_replacement,
5080 doc_allocated>: New fields.
5081 <hook_in, allow_unknown, abbrev_flag, type, var_type>: Now
5083 * maint.c (maintenance_do_deprecate): Update.
5084 * top.c (execute_command): Update.
5086 2014-01-20 Baruch Siach <baruch@tkos.co.il>
5088 * xtensa-linux-nat.c: Include asm/ptrace.h.
5090 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
5092 * Makefile.in (SFILES): Add d-support.c.
5093 (COMMON_OBS): Add d-support.o.
5094 * d-lang.h (d_parse_symbol): Add comment, now defined in
5096 * d-lang.c (parse_call_convention)
5097 (parse_attributes, parse_function_types)
5098 (parse_function_args, parse_type, parse_identifier)
5099 (call_convention_p, d_parse_symbol): Move functions to ...
5100 * d-support.c: ... New file.
5102 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
5104 * d-lang.h (d_parse_symbol): Add declaration.
5105 * d-lang.c (extract_identifiers)
5106 (extract_type_info): Remove functions.
5107 (parse_call_convention, parse_attributes)
5108 (parse_function_types, parse_function_args)
5109 (parse_type, parse_identifier, call_convention_p)
5110 (d_parse_symbol): New functions.
5111 (d_demangle): Use d_parse_symbol to demangle D symbols.
5113 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
5115 * d-lang.h (struct builtin_d_type): New data type.
5116 (builtin_d_type): Add declaration.
5117 * d-lang.c (d_language_arch_info, build_d_types)
5118 (builtin_d_type): New functions.
5119 (enum d_primitive_types): New data type.
5120 (d_language_defn): Change c_language_arch_info to
5121 d_language_arch_info.
5122 (d_type_data): New static variable.
5123 (_initialize_d_language): Initialize d_type_data.
5125 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
5127 * d-lang.h (d_main_name): Add declaration.
5128 * d-lang.c (d_main_name): New function.
5129 * symtab.c (find_main_name): Add call to d_main_name.
5131 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
5133 * d-lang.c (d_language_defn): Change macro_expansion_c to
5136 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
5138 * MAINTAINERS: Add myself as a write-after-approval maintainer.
5140 2014-01-17 Sergio Durigan Junior <sergiodj@redhat.com>
5142 * breakpoint.c (insert_bp_location): Add "volatile" keyword to "struct
5143 gdb_exception" declaration.
5144 * remote.c (getpkt_or_notif_sane): Likewise.
5146 2014-01-17 Doug Evans <dje@google.com>
5148 * common/gdb_vecs.c (delim_string_to_char_ptr_vec_append): New
5149 function, contents of dirnames_to_char_ptr_vec_append moved here.
5150 (delim_string_to_char_ptr_vec): New function.
5151 (dirnames_to_char_ptr_vec_append): Rewrite.
5152 * common/gdb_vecs.h (delim_string_to_char_ptr_vec): Declare.
5154 2014-01-17 Doug Evans <dje@google.com>
5156 * common/common-utils.h (FUNCTION_NAME): Renamed from ASSERT_FUNCTION,
5158 * common/gdb_assert.h (ASSERT_FUNCTION): ... from here.
5159 #include "common-utils.h".
5160 (gdb_assert, gdb_assert_fail, gdb_assert_not_reached): Update.
5161 * common/vec.h (VEC_ASSERT_PASS): Update.
5162 * darwin-nat.h: Replace #include of gdb_assert.h with common-utils.h.
5163 (MACH_CHECK_ERROR): Update.
5165 2014-01-17 Simon Marchi <simon.marchi@ericsson.com>
5167 * gdbarch.sh (gdbarch_address_class_name_to_type_flags): Add
5169 * gdbarch.h: Regenerate.
5171 2014-01-16 Tom Tromey <tromey@redhat.com>
5173 * value.c (struct value) <regnum>: Move earlier.
5175 2014-01-16 Tom Tromey <tromey@redhat.com>
5177 * remote.c (extended_remote_create_inferior): Rename from
5178 extended_remote_create_inferior_1. Add "ops" argument. Remove
5181 2014-01-16 Pedro Alves <palves@redhat.com>
5183 * s390-linux-tdep.c (s390_frame_unwind_cache): Swallow
5184 NOT_AVAILABLE_ERROR errors while parsing the prologue or reading
5187 2014-01-16 Doug Evans <dje@google.com>
5189 * dwarf2read.c (open_and_init_dwp_file): Fix typo in comment.
5191 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5193 * btrace.h (btrace_thread_flag): New.
5194 (struct btrace_thread_info) <flags>: New.
5195 * record-btrace.c (record_btrace_resume_thread)
5196 (record_btrace_find_thread_to_move, btrace_step_no_history)
5197 (btrace_step_stopped, record_btrace_start_replaying)
5198 (record_btrace_step_thread, record_btrace_decr_pc_after_break)
5199 (record_btrace_find_resume_thread): New.
5200 (record_btrace_resume, record_btrace_wait): Extend.
5201 (record_btrace_can_execute_reverse): New.
5202 (record_btrace_open): Fail in non-stop mode.
5203 (record_btrace_set_replay): Split into this, ...
5204 (record_btrace_stop_replaying): ... this, ...
5205 (record_btrace_clear_histories): ... and this.
5206 (init_record_btrace_ops): Init to_can_execute_reverse.
5207 * NEWS: Announce it.
5209 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5211 * target.h (struct target_ops) <to_decr_pc_after_break>: New.
5212 (forward_target_decr_pc_after_break)
5213 (target_decr_pc_after_break): New.
5214 * target.c (forward_target_decr_pc_after_break)
5215 (target_decr_pc_after_break): New.
5216 * aix-thread.c (aix_thread_wait): Call target_decr_pc_after_break
5217 instead of gdbarch_decr_pc_after_break.
5218 * darwin-nat.c (cancel_breakpoint): Call target_decr_pc_after_break
5219 instead of gdbarch_decr_pc_after_break.
5220 * infrun.c (adjust_pc_after_break): Call target_decr_pc_after_break
5221 instead of gdbarch_decr_pc_after_break.
5222 * linux-nat.c (cancel_breakpoint): Call target_decr_pc_after_break
5223 instead of gdbarch_decr_pc_after_break.
5224 * linux-thread-db.c (check_event): Call target_decr_pc_after_break
5225 instead of gdbarch_decr_pc_after_break.
5226 * record-full.c (record_full_wait_1): Call target_decr_pc_after_break
5227 instead of gdbarch_decr_pc_after_break.
5229 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5231 * btrace.c: Include regcache.h.
5232 (btrace_add_pc): New.
5233 (btrace_enable): Call btrace_add_pc.
5234 (btrace_is_empty): New.
5235 * btrace.h (btrace_is_empty): New.
5236 * record-btrace.c (require_btrace, record_btrace_info): Call
5239 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5241 * common/linux-btrace.c (perf_event_read_bts, linux_read_btrace):
5242 Support delta reads.
5243 (linux_disable_btrace): Change return type.
5244 * common/linux-btrace.h (linux_read_btrace): Change parameters
5245 and return type to allow error reporting. Update users.
5246 (linux_disable_btrace): Change return type. Update users.
5247 * common/btrace-common.h (btrace_read_type) <BTRACE_READ_DELTA>:
5249 (btrace_error): New.
5250 (btrace_block) <begin>: Comment on BEGIN == 0.
5251 * btrace.c (btrace_compute_ftrace): Start from the end of
5253 (btrace_stitch_trace, btrace_clear_history): New.
5254 (btrace_fetch): Read delta trace, return if replaying.
5255 (btrace_clear): Move clear history code to btrace_clear_history.
5256 (parse_xml_btrace): Throw an error if parsing failed.
5257 * target.h (struct target_ops) <to_read_btrace>: Change parameters
5258 and return type to allow error reporting.
5259 (target_read_btrace): Change parameters and return type to allow
5261 * target.c (target_read_btrace): Update.
5262 * remote.c (remote_read_btrace): Support delta reads. Pass
5264 * NEWS: Announce it.
5266 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5268 * record.h (record_btrace_frame_unwind)
5269 (record_btrace_tailcall_frame_unwind): New declarations.
5270 * dwarf2-frame: Include record.h
5271 (dwarf2_frame_cfa): Throw an error for btrace frames.
5272 * record-btrace.c: Include hashtab.h.
5273 (btrace_get_bfun_name): New.
5274 (btrace_call_history): Call btrace_get_bfun_name.
5275 (struct btrace_frame_cache): New.
5277 (bfcache_hash, bfcache_eq, bfcache_new): New.
5278 (btrace_get_frame_function): New.
5279 (record_btrace_frame_unwind_stop_reason): Allow unwinding.
5280 (record_btrace_frame_this_id): Compute own id.
5281 (record_btrace_frame_prev_register): Provide PC, throw_error
5282 for all other registers.
5283 (record_btrace_frame_sniffer): Detect btrace frames.
5284 (record_btrace_tailcall_frame_sniffer): New.
5285 (record_btrace_frame_dealloc_cache): New.
5286 (record_btrace_frame_unwind): Add new functions.
5287 (record_btrace_tailcall_frame_unwind): New.
5288 (_initialize_record_btrace): Allocate cache.
5289 * btrace.c (btrace_clear): Call reinit_frame_cache.
5290 * NEWS: Announce it.
5292 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5294 * record-btrace.c (record_btrace_set_replay)
5295 (record_btrace_goto_begin, record_btrace_goto_end)
5296 (record_btrace_goto): New.
5297 (init_record_btrace_ops): Initialize them.
5298 * NEWS: Announce it.
5300 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5302 * record-btrace.c (record_btrace_find_new_threads)
5303 (record_btrace_thread_alive): New.
5304 (init_record_btrace_ops): Initialize to_find_new_threads and
5307 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5309 * record-btrace.c (record_btrace_resume): New.
5310 (record_btrace_wait): New.
5311 (init_record_btrace_ops): Initialize to_wait and to_resume.
5313 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5315 * record-btrace.c (record_btrace_xfer_partial)
5316 (record_btrace_insert_breakpoint, record_btrace_remove_breakpoint)
5317 (record_btrace_allow_memory_access): New.
5318 (init_record_btrace_ops): Initialize new methods.
5319 * target.c (raw_memory_xfer_partial): Bail out if target reports
5320 that this memory is not available.
5322 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5324 * target.h (target_ops) <to_insert_breakpoint>
5325 <to_remove_breakpoint>: Add target_ops parameter.
5326 (forward_target_insert_breakpoint): New.
5327 (forward_target_remove_breakpoint): New.
5328 (memory_remove_breakpoint, memory_insert_breakpoint):
5329 Add target_ops parameter.
5330 * target.c (target_insert_breakpoint): Split into this and ...
5331 (forward_target_insert_breakpoint): ... this.
5332 (target_remove_breakpoint): Split into this and ...
5333 (forward_target_remove_breakpoint): ... this.
5334 (debug_to_insert_breakpoint): Add target_ops parameter.
5335 Call forward_target_insert_breakpoint.
5336 (debug_to_remove_breakpoint): Add target_ops parameter.
5337 Call forward_target_remove_breakpoint.
5338 (update_current_target): Do not inherit or default to_insert_breakpoint
5339 and to_remove_breakpoint.
5340 * corelow.c (ignore): Add target_ops parameter.
5341 * exec.c (ignore): Add target_ops parameter.
5342 * mem-break.c (memory_insert_breakpoint, memory_remove_breakpoint):
5343 Add target_ops parameter.
5344 * monitor.c (monitor_insert_breakpoint, monitor_remove_breakpoint):
5345 Add target_ops parameter.
5346 * nto-procfs.c (procfs_insert_breakpoint, procfs_remove_breakpoint):
5347 Add target_ops parameter.
5348 * record-full.c (record_full_beneath_to_insert_breakpoint)
5349 (record_full_beneath_to_remove_breakpoint, tmp_to_insert_breakpoint)
5350 (tmp_to_remove_breakpoint, record_full_insert_breakpoint)
5351 (record_full_remove_breakpoint, record_full_core_insert_breakpoint)
5352 (record_full_core_remove_breakpoint): Add target_ops parameter.
5354 (record_full_beneath_to_insert_breakpoint_ops)
5355 (record_full_beneath_to_remove_breakpoint_ops)
5356 (tmp_to_insert_breakpoint_ops, tmp_to_remove_breakpoint_ops): New.
5357 (record_full_open): Initialize tmp_to_insert_breakpoint_ops,
5358 tmp_to_remove_breakpoint_ops,
5359 record_full_beneath_to_insert_breakpoint_ops, and
5360 record_full_beneath_to_remove_breakpoint_ops.
5361 * remote-m32r-sdi.c (m32r_insert_breakpoint)
5362 (m32r_remove_breakpoint): Add target_ops parameter.
5363 * remote-mips.c (mips_insert_breakpoint, mips_remove_breakpoint):
5364 Add target_ops parameter.
5365 * remote.c (remote_insert_breakpoint, remote_remove_breakpoint):
5366 Add target_ops parameter.
5368 2014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
5369 Markus Metzger <markus.t.metzger@intel.com>
5371 * record-btrace.c: Include frame-unwind.h.
5372 (record_btrace_frame_unwind_stop_reason)
5373 (record_btrace_frame_this_id, record_btrace_frame_prev_register)
5374 (record_btrace_frame_sniffer, record_btrace_frame_unwind):
5376 (init_record_btrace_ops): Install it.
5378 2014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
5380 * frame.c (get_frame_unwind_stop_reason): Unconditionally call
5383 2014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
5385 * dwarf2-frame.c (dwarf2_frame_cfa): Move UNWIND_UNAVAILABLE check
5388 2014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
5390 * frame-unwind.c: Include target.h.
5391 (frame_unwind_try_unwinder): New function with code from ...
5392 (frame_unwind_find_by_frame): ... here. New variable
5393 unwinder_from_target, call also target_get_unwinder)
5394 (target_get_tailcall_unwinder, and frame_unwind_try_unwinder for it.
5395 * target.c (target_get_unwinder, target_get_tailcall_unwinder): New.
5396 * target.h (struct target_ops): New fields to_get_unwinder and
5397 to_get_tailcall_unwinder.
5398 (target_get_unwinder, target_get_tailcall_unwinder): New declarations.
5400 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5402 * record-btrace.c (record_btrace_fetch_registers)
5403 (record_btrace_store_registers)
5404 (record_btrace_to_prepare_to_store): New.
5405 (init_record_btrace_ops): Add the above.
5407 2014-01-16 Tom Tromey <tromey@redhat.com>
5409 * windows-nat.c (windows_prepare_to_store): Add 'self' argument.
5410 * target.h (struct target_ops) <to_prepare_to_store>: Add
5412 (target_prepare_to_store): Add argument.
5413 * target.c (debug_to_prepare_to_store): Add argument.
5414 (update_current_target): Update.
5415 * remote.c (remote_prepare_to_store): Add 'self' argument.
5416 * remote-sim.c (gdbsim_prepare_to_store): Add 'self' argument.
5417 * remote-mips.c (mips_prepare_to_store): Add 'self' argument.
5418 * remote-m32r-sdi.c (m32r_prepare_to_store): Add 'self' argument.
5419 * record-full.c (record_full_core_prepare_to_store): Add 'self'
5421 * ravenscar-thread.c (ravenscar_prepare_to_store): Add argument.
5422 * nto-procfs.c (procfs_prepare_to_store): Add 'self' argument.
5423 * monitor.c (monitor_prepare_to_store): Add 'self' argument.
5424 * inf-child.c (inf_child_prepare_to_store): Add 'self' argument.
5425 * go32-nat.c (go32_prepare_to_store): Add 'self' argument.
5427 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5429 * btrace.h (replay) <replay>: New.
5430 (btrace_is_replaying): New.
5431 * btrace.c (btrace_clear): Free replay iterator.
5432 (btrace_is_replaying): New.
5433 * record-btrace.c (record_btrace_is_replaying): New.
5434 (record_btrace_info): Print insn number if replaying.
5435 (record_btrace_insn_history): Start at replay position.
5436 (record_btrace_call_history): Start at replay position.
5437 (init_record_btrace_ops): Init to_record_is_replaying.
5439 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5441 * record-btrace.c (record_btrace_insn_history_range): Include
5443 (record_btrace_insn_history_from): Adjust range.
5444 (record_btrace_call_history_range): Include
5446 (record_btrace_call_history_from): Adjust range.
5447 * NEWS: Announce changes.
5449 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5451 * record.h (enum record_print_flag)
5452 <record_print_indent_calls>: New.
5453 * record.c (get_call_history_modifiers): Recognize /c modifier.
5454 (_initialize_record): Document /c modifier.
5455 * record-btrace.c (btrace_call_history): Add btinfo parameter.
5456 Reorder fields. Optionally indent the function name. Update
5458 * NEWS: Announce changes.
5460 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5462 * common/linux-btrace.c (linux_enable_btrace): Enlarge buffer.
5464 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5466 * btrace.c (ftrace_new_function): Start counting at one.
5467 * record-btrace.c (record_btrace_info): Adjust number of calls
5469 * NEWS: Announce it.
5471 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5473 * record-btrace.c (btrace_call_history_insn_range): Print
5474 insn range as [begin, end].
5476 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5478 * btrace.h (struct btrace_func_link): New.
5479 (enum btrace_function_flag): New.
5480 (struct btrace_inst): Rename to ...
5481 (struct btrace_insn): ...this. Update all users.
5482 (struct btrace_func) <ibegin, iend>: Remove.
5483 (struct btrace_func_link): New.
5484 (struct btrace_func): Rename to ...
5485 (struct btrace_function): ...this. Update all users.
5486 (struct btrace_function) <segment, flow, up, insn, insn_offset)
5487 (number, level, flags>: New.
5488 (struct btrace_insn_iterator): Rename to ...
5489 (struct btrace_insn_history): ...this.
5491 (struct btrace_insn_iterator, btrace_call_iterator): New.
5492 (struct btrace_target_info) <btrace, itrace, ftrace>: Remove.
5493 (struct btrace_target_info) <begin, end, level>
5494 <insn_history, call_history>: New.
5495 (btrace_insn_get, btrace_insn_number, btrace_insn_begin)
5496 (btrace_insn_end, btrace_insn_prev, btrace_insn_next)
5497 (btrace_insn_cmp, btrace_find_insn_by_number, btrace_call_get)
5498 (btrace_call_number, btrace_call_begin, btrace_call_end)
5499 (btrace_call_prev, btrace_call_next, btrace_call_cmp)
5500 (btrace_find_function_by_number, btrace_set_insn_history)
5501 (btrace_set_call_history): New.
5502 * btrace.c (btrace_init_insn_iterator)
5503 (btrace_init_func_iterator, compute_itrace): Remove.
5504 (ftrace_print_function_name, ftrace_print_filename)
5505 (ftrace_skip_file): Change
5507 (ftrace_init_func): Remove.
5508 (ftrace_debug): Use new btrace_function fields.
5509 (ftrace_function_switched): Also consider gaining and
5510 losing symbol information).
5511 (ftrace_print_insn_addr, ftrace_new_call, ftrace_new_return)
5512 (ftrace_new_switch, ftrace_find_caller, ftrace_new_function)
5513 (ftrace_update_caller, ftrace_fixup_caller, ftrace_new_tailcall):
5515 (ftrace_new_function): Move. Remove debug print.
5516 (ftrace_update_lines, ftrace_update_insns): New.
5517 (ftrace_update_function): Check for call, ret, and jump.
5518 (compute_ftrace): Renamed to ...
5519 (btrace_compute_ftrace): ...this. Rewritten to compute call
5521 (btrace_fetch, btrace_clear): Updated.
5522 (btrace_insn_get, btrace_insn_number, btrace_insn_begin)
5523 (btrace_insn_end, btrace_insn_prev, btrace_insn_next)
5524 (btrace_insn_cmp, btrace_find_insn_by_number, btrace_call_get)
5525 (btrace_call_number, btrace_call_begin, btrace_call_end)
5526 (btrace_call_prev, btrace_call_next, btrace_call_cmp)
5527 (btrace_find_function_by_number, btrace_set_insn_history)
5528 (btrace_set_call_history): New.
5529 * record-btrace.c (require_btrace): Use new btrace thread
5531 (record_btrace_info, btrace_insn_history)
5532 (record_btrace_insn_history, record_btrace_insn_history_range):
5533 Use new btrace thread info fields and new iterator.
5534 (btrace_func_history_src_line): Rename to ...
5535 (btrace_call_history_src_line): ...this. Use new btrace
5537 (btrace_func_history): Rename to ...
5538 (btrace_call_history): ...this. Use new btrace thread info
5539 fields and new iterator.
5540 (record_btrace_call_history, record_btrace_call_history_range):
5541 Use new btrace thread info fields and new iterator.
5543 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5545 * frame.h (frame_id_build_unavailable_stack_special): New.
5546 * frame.c (frame_id_build_unavailable_stack_special): New.
5548 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5550 * amd64-tdep.c (amd64_classify_insn_at, amd64_insn_is_call)
5551 (amd64_insn_is_ret, amd64_insn_is_jump, amd64_jmp_p): New.
5552 (amd64_init_abi): Add insn_is_call, insn_is_ret, and insn_is_jump
5554 * i386-tdep.c (i386_insn_is_call, i386_insn_is_ret)
5555 (i386_insn_is_jump, i386_jmp_p): New.
5556 (i386_gdbarch_init): Add insn_is_call, insn_is_ret, and
5557 insn_is_jump to gdbarch.
5558 * gdbarch.sh (insn_is_call, insn_is_ret, insn_is_jump): New.
5559 * gdbarch.h: Regenerated.
5560 * gdbarch.c: Regenerated.
5561 * arch-utils.h (default_insn_is_call, default_insn_is_ret)
5562 (default_insn_is_jump): New.
5563 * arch-utils.c (default_insn_is_call, default_insn_is_ret)
5564 (default_insn_is_jump): New.
5566 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5568 * common/btrace-common.h (btrace_read_type) <btrace_read_all>:
5570 (btrace_read_type) <BTRACE_READ_ALL>: ... this. Update users.
5571 (btrace_read_type) <btrace_read_new>: Change to ...
5572 (btrace_read_type) <BTRACE_READ_NEW>: ... this. Update users.
5574 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5576 * common/linux-btrace.c (linux_read_btrace): Free trace from
5579 2014-01-15 Doug Evans <dje@google.com>
5581 * dwarf2read.c (open_and_init_dwp_file): Use pulongest to print
5584 2014-01-15 Tom Tromey <tromey@redhat.com>
5586 * dbxread.c (process_one_symbol): Use set_objfile_main_name.
5587 * dwarf2read.c (read_partial_die): Use set_objfile_main_name.
5588 * objfiles.c (get_objfile_bfd_data): Initialize language_of_main.
5589 (set_objfile_main_name): New function.
5590 * objfiles.h (struct objfile_per_bfd_storage) <name_of_main,
5591 language_of_main>: New fields.
5592 (set_objfile_main_name): Declare.
5593 * symtab.c (find_main_name): Loop over objfiles to find the main
5595 (set_main_name): Now static.
5596 (get_main_info): Add comment.
5597 * symtab.h (set_main_name): Don't declare.
5599 2014-01-15 Tom Tromey <tromey@redhat.com>
5601 * symtab.c (main_progspace_key): New global.
5602 (struct main_info): New.
5603 (name_of_main, language_of_main): Remove.
5604 (get_main_info, main_info_cleanup): New function.
5605 (set_main_name, main_name, main_language): Use get_main_info.
5606 (_initialize_symtab): Initialize main_progspace_key.
5608 2014-01-15 Tom Tromey <tromey@redhat.com>
5610 * dbxread.c (process_one_symbol): Update.
5611 * dwarf2read.c (read_partial_die): Update.
5612 * symfile.c (set_initial_language): Call main_language.
5613 * symtab.c (language_of_main): Now static.
5614 (set_main_name): Add 'lang' parameter.
5615 (find_main_name): Update.
5616 (main_language): New function.
5617 (symtab_observer_executable_changed): Update.
5618 * symtab.h (set_main_name): Update.
5619 (language_of_main): Remove.
5620 (main_language): Declare.
5622 2014-01-15 Tom Tromey <tromey@redhat.com>
5624 * symfile.c (init_entry_point_info): Use new "initialized" field.
5626 * objfiles.h (struct entry_point) <initialized>: New field.
5627 (struct objfile_per_bfd_storage) <ei>: New field, moved from...
5628 (struct objfile) <ei>: ...here. Remove.
5629 * objfiles.c (entry_point_address_query): Update.
5631 2014-01-15 Tom Tromey <tromey@redhat.com>
5633 * objfiles.c (entry_point_address_query): Relocate entry point
5635 (objfile_relocate1): Do not relocate entry point address.
5636 * objfiles.h (struct entry_info) <entry_point>: Update comment.
5637 <the_bfd_section_index>: New field.
5638 * symfile.c (init_entry_point_info): Find the entry point's
5641 2014-01-15 Tom Tromey <tromey@redhat.com>
5643 * solib-frv.c (enable_break): Use entry_point_address_query.
5645 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
5647 * NEWS: Add note on improved process record-replay on
5648 arm*-linux* targets.
5650 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
5652 * arm-tdep.c (enum arm_record_result): New enum.
5653 (arm_record_unsupported_insn): New function.
5654 (arm_record_coproc_data_proc): Removed.
5655 (thumb2_record_ld_st_multiple): New function.
5656 (thumb2_record_ld_st_dual_ex_tbb): New function.
5657 (thumb2_record_data_proc_sreg_mimm): New function.
5658 (thumb2_record_ps_dest_generic): New function.
5659 (thumb2_record_branch_misc_cntrl): New function.
5660 (thumb2_record_str_single_data): New function.
5661 (thumb2_record_ld_mem_hints): New function.
5662 (thumb2_record_ld_word): New function.
5663 (thumb2_record_lmul_lmla_div): New function.
5664 (thumb2_record_decode_insn_handler): New function.
5665 (decode_insn): Add thumb32 instruction handlers.
5667 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
5669 * arm-linux-tdep.c: Include "record-full.h" and "linux-record.h".
5670 (struct arm_linux_record_tdep): Declare.
5671 (arm_canonicalize_syscall): New function.
5672 (arm_all_but_pc_registers_record): New function.
5673 (arm_linux_syscall_record): New function.
5674 (arm_linux_init_abi): Add syscall recording constructs.
5675 * arm-tdep.c (thumb_record_ldm_stm_swi): Update thumb syscall
5676 decoding. (arm_record_coproc_data_proc): Update arm syscall
5678 * arm-tdep.h (struct gdbarch_tdep) <arm_swi_record>: Remove.
5679 <arm_syscall_record>: New field.
5680 * configure.tgt (arm*-*-linux*): Add linux-record.o to
5683 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
5685 * arm-tdep.c (thumb_record_misc): Update to use sp as base
5686 register for push instruction recording.
5688 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
5690 * arm-tdep.c (thumb_record_misc): Update to correct logical
5691 error while recording ldm, ldmia and pop instructions.
5693 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
5695 * arm-tdep.c (struct arm_mem_r) <addr>: Change type to uint32_t.
5697 2014-01-15 Pedro Alves <palves@redhat.com>
5699 * go32-nat.c (go32_open, go32_close, go32_attach, go32_detach)
5700 (go32_resume, go32_fetch_registers, store_register)
5701 (go32_store_registers, go32_prepare_to_store)
5702 (go32_xfer_memory, go32_files_info, go32_kill_inferior)
5703 (go32_create_inferior, go32_can_run, go32_terminal_init)
5704 (go32_terminal_inferior, go32_terminal_ours): Delete forward
5707 2014-01-15 Tom Tromey <tromey@redhat.com>
5709 * target.h (async_callback_ftype): New typedef.
5710 (struct target_ops) <to_async>: Use it.
5712 2014-01-15 Joel Brobecker <brobecker@adacore.com>
5714 * python/py-value.c (get_field_type): Remove unnecessary curly
5715 braces for single-statement if block.
5717 2014-01-15 Joel Brobecker <brobecker@adacore.com>
5719 * python/py-type.c (convert_field): Add missing empty line
5722 2014-01-14 Doug Evans <dje@google.com>
5724 * symfile.h (expand_symtabs_matching): Renamed from
5725 expand_partial_symbol_names. Update prototype.
5726 (map_symbol_filenames): Renamed from map_partial_symbol_filenames.
5727 * symfile.c (expand_symtabs_matching): Renamed from
5728 expand_partial_symbol_names. New args file_matcher, kind.
5729 Rename arg fun to symbol_matcher.
5730 (map_symbol_filenames): Renamed from map_partial_symbol_filenames.
5731 * ada-lang.c (ada_complete_symbol_matcher): Renamed from
5732 ada_expand_partial_symbol_name.
5733 (ada_make_symbol_completion_list): Update to call
5734 expand_symtabs_matching.
5735 (ada_add_global_exceptions): Call expand_symtabs_matching.
5736 * mi/mi-cmd-file.c (mi_cmd_file_list_exec_source_files): Update to
5737 call map_symbol_filenames.
5738 * symtab.c (sources_info): Update to call map_symbol_filenames.
5739 (search_symbols): Call expand_symtabs_matching.
5740 (symbol_completion_matcher): Renamed from expand_partial_symbol_name.
5741 (default_make_symbol_completion_list_break_on): Update to call
5742 expand_symtabs_matching.
5743 (make_source_files_completion_list): Update to call
5744 map_symbol_filenames.
5746 2014-01-14 Doug Evans <dje@google.com>
5748 * symfile.h (expand_symtabs_file_matcher_ftype): New typedef.
5749 (expand_symtabs_symbol_matcher_ftype): New typedef.
5750 (quick_symbol_functions.expand_symtabs_matching): Update to use.
5751 expand_symtabs_file_matcher_ftype, expand_symtabs_symbol_matcher_ftype.
5752 * symfile.c (expand_partial_symbol_names): Update to use
5753 expand_symtabs_symbol_matcher_ftype.
5754 * dwarf2read.c (dw2_expand_symtabs_matching): Update to use
5755 expand_symtabs_file_matcher_ftype, expand_symtabs_symbol_matcher_ftype.
5756 Arg name_matcher renamed to symbol_matcher.
5757 * psymtab.c (recursively_search_psymtabs): Update to use
5758 expand_symtabs_symbol_matcher_ftype. Arg name_matcher renamed to
5760 (expand_symtabs_matching_via_partial): Update to use
5761 expand_symtabs_file_matcher_ftype, expand_symtabs_symbol_matcher_ftype.
5762 Arg name_matcher renamed to symbol_matcher.
5764 2014-01-14 Doug Evans <dje@google.com>
5766 * psymtab.c (expand_partial_symbol_names): Delete, moved to symfile.c.
5767 (map_partial_symbol_filenames): Ditto.
5768 * psymtab.h (expand_partial_symbol_names): Delete, moved to symfile.h.
5769 (map_partial_symbol_filenames): Ditto.
5770 * symfile.c (expand_partial_symbol_names): Moved here from psymtab.c.
5771 (map_partial_symbol_filenames): Ditto.
5772 * symfile.h (expand_partial_symbol_names): Moved here from psymtab.h.
5773 (map_partial_symbol_filenames): Ditto.
5774 * symtab.c: Delete #include "psymtab.h".
5776 2014-01-14 Pedro Alves <palves@redhat.com>
5777 Tom Tromey <tromey@redhat.com>
5779 * infrun.c (use_displaced_stepping): Use find_record_target
5780 instead of RECORD_IS_USED.
5781 (adjust_pc_after_break): Use record_full_is_used instead of
5783 * record-btrace.c (record_btrace_open): Call record_preopen
5784 instead of checking RECORD_IS_USED.
5785 * record-full.c (record_full_shortname)
5786 (record_full_core_shortname): New globals.
5787 (record_full_is_used): New function.
5788 (find_full_open): Call record_preopen instead of checking
5790 (init_record_full_ops): Set the target's shortname to
5791 record_full_shortname.
5792 (init_record_full_core_ops): Set the target's shortname to
5793 record_full_core_shortname.
5794 * record-full.h (record_full_is_used): Declare.
5795 * record.c (find_record_target): Make extern.
5796 (record_preopen): New function.
5797 * record.h (RECORD_IS_USED): Delete macro.
5798 (find_record_target, record_preopen): Declare functions.
5800 2014-01-14 Yao Qi <yao@codesourcery.com>
5802 * gdbarch.sh (core_xfer_shared_libraries): Change its argument
5803 'len''s type to ULONGEST.
5804 (core_xfer_shared_libraries_aix): Likewise.
5805 * gdbarch.c, gdbarch.h: Regenerated.
5806 * i386-cygwin-tdep.c (windows_core_xfer_shared_libraries):
5807 Change type of 'len' to ULONGEST.
5808 * rs6000-aix-tdep.c (rs6000_aix_ld_info_to_xml): Likewise.
5809 (rs6000_aix_core_xfer_shared_libraries_aix): Likewise.
5811 2014-01-14 Yao Qi <yao@codesourcery.com>
5813 * common/linux-osdata.c (linux_xfer_osdata_processes): Change
5814 type of 'len' to ULONGEST.
5815 (linux_xfer_osdata_processgroups): Likewise.
5816 (linux_xfer_osdata_threads): Likewise.
5817 (linux_xfer_osdata_fds): Likewise.
5818 (linux_xfer_osdata_isockets): Likewise.
5819 (linux_xfer_osdata_shm): Likewise.
5820 (linux_xfer_osdata_sem): Likewise.
5821 (linux_xfer_osdata_msg): Likewise.
5822 (linux_common_xfer_osdata): Likewise.
5823 (struct osdata_type) <getter>: Likewise.
5824 * common/linux-osdata.h (linux_common_xfer_osdata): Update
5827 2014-01-14 Yao Qi <yao@codesourcery.com>
5829 * target.h (target_xfer_partial_ftype): Update.
5830 (struct target_ops) <to_xfer_partial>: Change 'len' type to
5832 * aix-thread.c (aix_thread_xfer_partial): Change type of
5833 argument 'len' to ULONGEST.
5834 * auxv.c (procfs_xfer_auxv): Likewise.
5835 (ld_so_xfer_auxv): Likewise.
5836 (memory_xfer_auxv): Likewise.
5837 * bfd-target.c (target_bfd_xfer_partial): Likewise.
5838 * bsd-kvm.c (bsd_kvm_xfer_partial): Likewise.
5839 * bsd-uthread.c (bsd_uthread_xfer_partial): Likewise.
5840 * corelow.c (core_xfer_partial): Likewise.
5841 * ctf.c (ctf_xfer_partial): Likewise.
5842 * darwin-nat.c (darwin_read_write_inferior): Likewise. Use
5844 (darwin_read_dyld_info): Likewise.
5845 (darwin_xfer_partial): Likewise.
5846 * exec.c (section_table_xfer_memory_partial): Likewise.
5847 (exec_xfer_partial): Likewise.
5848 * exec.h (section_table_xfer_memory_partial): Update
5850 * gnu-nat.c (gnu_xfer_memory): Likewise. Call pulongest
5851 instead of plongest.
5852 (gnu_xfer_partial): Likewise.
5853 * ia64-hpux-nat.c (ia64_hpux_xfer_memory): Likewise.
5854 (ia64_hpux_xfer_solib_got): Likewise.
5855 (ia64_hpux_xfer_partial): Likewise.
5856 * ia64-linux-nat.c (ia64_linux_xfer_partial):
5857 * inf-ptrace.c (inf_ptrace_xfer_partial):
5858 * inf-ttrace.c (inf_ttrace_xfer_partial):
5859 * linux-nat.c (linux_xfer_siginfo): Likewise.
5860 (linux_nat_xfer_partial): Likewise.
5861 (spu_enumerate_spu_ids, linux_proc_xfer_spu): Likewise.
5862 (linux_nat_xfer_osdata, linux_xfer_partial): Likewise.
5863 * monitor.c (monitor_xfer_memory): Likewise.
5864 (monitor_xfer_partial): Likewise.
5865 * procfs.c (procfs_xfer_partial): Likewise.
5866 * record-full.c (record_full_xfer_partial): Likewise.
5867 (record_full_core_xfer_partial): Likewise.
5868 * remote-sim.c (gdbsim_xfer_memory): Likewise. Call pulongest
5869 instead of plongest.
5870 (gdbsim_xfer_partial): Likewise.
5871 * remote.c (remote_xfer_partial): Likewise.
5872 * rs6000-aix-tdep.c (rs6000_aix_ld_info_to_xml): Likewise.
5873 * rs6000-aix-tdep.h (rs6000_aix_ld_info_to_xml): Update
5875 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
5876 (rs6000_xfer_shared_libraries): Likewise.
5877 * sol-thread.c (sol_thread_xfer_partial): Likewise.
5878 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
5879 (sparc_xfer_partial): Likewise.
5880 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise.
5881 (spu_xfer_partial): Likewise.
5882 * spu-multiarch.c (spu_xfer_partial): Likewise.
5883 * target.c (target_read_live_memory): Likewise.
5884 (memory_xfer_live_readonly_partial): Likewise.
5885 (memory_xfer_partial, memory_xfer_partial_1): Likewise.
5886 (target_xfer_partial, default_xfer_partial): Likewise.
5887 (current_xfer_partial): Likewise.
5888 * tracepoint.c (tfile_xfer_partial): Likewise.
5889 * windows-nat.c (windows_xfer_memory): Likewise. Call
5890 pulongest instead of plongest.
5891 (windows_xfer_partial): Likewise.
5892 (windows_xfer_shared_libraries): Likewise.
5894 2014-01-14 Yao Qi <yao@codesourcery.com>
5896 * rs6000-nat.c (rs6000_xfer_shared_libraries): Use
5897 target_xfer_partial_ftype.
5899 2014-01-13 Siva Chandra Reddy <sivachandra@google.com>
5903 * valops.c (value_struct_elt_bitpos): New function
5904 * py-type.c (convert_field): Set 'name' attribute of a gdb.Field
5905 object to 'None' if the field name is an empty string ("").
5906 * python/py-value.c (valpy_getitem): Use 'bitpos' and 'type'
5907 attribute to look for a field when 'name' is 'None'.
5908 (get_field_type): New function
5910 2014-01-13 Doug Evans <dje@google.com>
5913 * dwarf2read.c (dwarf2_get_dwz_file): Call gdb_bfd_record_inclusion.
5914 (try_open_dwop_file): Ditto.
5915 * gdb_bfd.c: #include "vec.h".
5916 (bfdp): New typedef.
5917 (struct gdb_bfd_data): New member included_bfds.
5918 (gdb_bfd_unref): Unref all included bfds.
5919 (gdb_bfd_record_inclusion): New function.
5920 * gdb_bfd.h (gdb_bfd_record_inclusion): Declare.
5922 2014-01-13 Tom Tromey <tromey@redhat.com>
5924 * gdbcore.h (deprecated_core_resize_section_table): Remove.
5926 2014-01-13 Tom Tromey <tromey@redhat.com>
5928 * defs.h (use_windows): Remove.
5929 * gdb.c (main): Update.
5930 * main.c (captured_main, gdb_main): Update.
5931 * main.h (struct captured_main_args) <use_windows>: Remove.
5932 * top.c (use_windows): Remove.
5934 2014-01-13 Tom Tromey <tromey@redhat.com>
5936 * defs.h (deprecated_flush_hook): Remove.
5938 2014-01-13 Jan Kratochvil <jan.kratochvil@redhat.com>
5941 * linux-thread-db.c (try_thread_db_load): Add parameter
5942 check_auto_load_safe. Move here the file_is_auto_load_safe call.
5943 (try_thread_db_load_from_pdir_1): Move it there from here.
5944 (try_thread_db_load_from_sdir): Update caller.
5945 (try_thread_db_load_from_dir): Move it there from here.
5947 2014-01-13 Patrick Palka <patrick@parcs.ath.cx>
5949 * regformats/regdat.sh: Always rewrite the register file.
5951 2014-01-13 Pedro Alves <palves@redhat.com>
5953 * Makefile.in (CHECK_HEADERS): New variable.
5954 (check-headers:): New rule.
5956 2014-01-13 Tom Tromey <tromey@redhat.com>
5958 * cli/cli-setshow.c (do_set_command): Update.
5959 * defs.h (deprecated_set_hook): Remove.
5960 * top.c (deprecated_set_hook): Remove.
5962 2014-01-13 Pedro Alves <palves@redhat.com>
5964 * tracepoint.c (tfile_fetch_registers): Don't infer the PC from
5965 the tracepoint if the PC is a pseudo-register.
5967 2014-01-13 Tom Tromey <tromey@redhat.com>
5969 * defs.h (XCALLOC): Remove.
5970 * bcache.c (bcache_xmalloc): Use XCNEW, not XCALLOC.
5971 (print_bcache_statistics): Use XCNEWVEC, not XCALLOC.
5972 * dwarf2loc.c (allocate_piece_closure): Likewise.
5973 * elfread.c (elf_symfile_segments): Likewise.
5974 (elf_symfile_segments): Likewise.
5975 * gdbtypes.c (copy_type_recursive): Likewise.
5976 * i386-tdep.c (i386_gdbarch_init): Use XCNEW, not XCALLOC.
5977 * jit.c (jit_frame_sniffer): Use XCNEWVEC, not XCALLOC.
5978 * minsyms.c (prim_record_minimal_symbol_full): Use XCNEW, not
5980 * mt-tdep.c (mt_gdbarch_init): Likewise.
5981 * opencl-lang.c (allocate_lval_closure): Use XCNEWVEC, not
5983 * psymtab.c (psymbol_compare): Use XCNEW, not XCALLOC.
5984 * regcache.c (regcache_xmalloc_1): Use XCNEWVEC, not XCALLOC.
5985 * registry.c (registry_alloc_data): Likewise.
5986 * rs6000-tdep.c (rs6000_gdbarch_init): Use XCNEW, not XCALLOC.
5987 * s390-linux-tdep.c (s390_gdbarch_init): Likewise.
5988 * serial.c (serial_fdopen_ops): Likewise.
5989 * solib-aix.c (solib_aix_get_section_offsets): Use XCNEWVEC, not
5991 * spu-tdep.c (spu_gdbarch_init): Use XCNEW, not XCALLOC.
5992 * symfile.c (default_symfile_segments): Use XCNEW and XCNEWVEC,
5995 2014-01-13 Tom Tromey <tromey@redhat.com>
5997 * defs.h (XMALLOC): Remove.
5998 * avr-tdep.c (avr_gdbarch_init): Use XNEW, not XMALLOC.
5999 * bfin-tdep.c (bfin_gdbarch_init): Likewise.
6000 * cli-out.c (struct ui_out *): Likewise.
6001 * cli/cli-dump.c (add_dump_command): Likewise.
6002 (add_dump_command): Likewise.
6003 * complaints.c (get_complaints): Likewise.
6004 (find_complaint): Likewise.
6005 * dwarf2-frame.c (execute_cfa_program): Likewise.
6006 * dwarf2read.c (abbrev_table_read_table): Likewise.
6007 * gdbarch.sh: Likewise.
6008 * gdbarch.c: Rebuild.
6009 * inf-ttrace.c (inf_ttrace_add_page): Likewise.
6010 * interps.c (interp_new): Likewise.
6011 * lm32-tdep.c (lm32_gdbarch_init): Likewise.
6012 * m32r-tdep.c (m32r_gdbarch_init): Likewise.
6013 * mi/mi-console.c (mi_console_file_new): Likewise.
6014 * mi/mi-interp.c (mi_interpreter_init): Likewise.
6015 * mi/mi-out.c (mi_out_new): Likewise.
6016 * mi/mi-parse.c (mi_parse): Likewise.
6017 * microblaze-tdep.c (microblaze_gdbarch_init): Likewise.
6018 * moxie-tdep.c (moxie_gdbarch_init): Likewise.
6019 * observer.c (xalloc_observer_list_node): Likewise.
6020 * regcache.c (regcache_xmalloc_1): Likewise.
6021 * reggroups.c (reggroup_new): Likewise.
6022 (_initialize_reggroup): Likewise.
6023 * registry.c (register_data_with_cleanup): Likewise.
6024 * remote.c (remote_notif_stop_alloc_reply): Likewise.
6025 * ser-base.c (serial_ttystate): Likewise.
6026 * ser-mingw.c (make_pipe_state): Likewise.
6027 * ser-pipe.c (pipe_open): Likewise.
6028 * serial.c (serial_open): Likewise.
6029 * sh64-tdep.c (sh64_gdbarch_init): Likewise.
6030 * tui/tui-data.c (tui_alloc_generic_win_info): Likewise.
6031 (tui_alloc_win_info): Likewise.
6032 (tui_add_content_elements): Likewise.
6033 * tui/tui-file.c (tui_file_new): Likewise.
6034 * tui/tui-out.c (tui_out_new): Likewise.
6035 * ui-file.c (mem_file_new): Likewise.
6036 * ui-out.c (push_level): Likewise.
6037 (make_cleanup_ui_out_end): Likewise.
6038 (append_header_to_list): Likewise.
6039 (ui_out_new): Likewise.
6040 * user-regs.c (user_reg_add_builtin): Likewise.
6042 2014-01-13 Tom Tromey <tromey@redhat.com>
6044 * defs.h (XZALLOC): Remove.
6045 * ada-lang.c (get_ada_inferior_data): Use XCNEW, not XZALLOC.
6046 * ada-tasks.c (get_ada_tasks_pspace_data): Likewise.
6047 (get_ada_tasks_inferior_data): Likewise.
6048 * auto-load.c (get_auto_load_pspace_data): Likewise.
6049 * auxv.c (get_auxv_inferior_data): Likewise.
6050 * bfd-target.c (target_bfd_reopen): Likewise.
6051 * breakpoint.c (get_catch_syscall_inferior_data): Likewise.
6052 (deprecated_insert_raw_breakpoint): Likewise.
6053 * bsd-uthread.c (bsd_uthread_pid_to_str): Likewise.
6054 * corelow.c (core_open): Likewise.
6055 * darwin-nat.c (darwin_check_new_threads): Likewise.
6056 (darwin_attach_pid): Likewise.
6057 * dummy-frame.c (dummy_frame_push): Likewise.
6058 * dwarf2-frame.c (dwarf2_frame_cache): Likewise.
6059 * dwarf2loc.c (allocate_piece_closure): Likewise.
6060 * elfread.c (elf_symfile_segments): Likewise.
6061 * eval.c (ptrmath_type_p): Likewise.
6062 * exceptions.c (EXCEPTIONS_SIGJMP_BUF): Likewise.
6063 * gdbtypes.c (alloc_type_arch): Likewise.
6064 (alloc_type_instance): Likewise.
6065 * hppa-tdep.c (hppa_gdbarch_init): Likewise.
6066 * inf-child.c (inf_child_can_use_agent): Likewise.
6067 * inflow.c (get_inflow_inferior_data): Likewise.
6068 * infrun.c (save_infcall_suspend_state): Likewise.
6069 * jit.c (jit_reader_load): Likewise.
6070 (get_jit_objfile_data): Likewise.
6071 (get_jit_program_space_data): Likewise.
6072 (jit_object_open_impl): Likewise.
6073 (jit_symtab_open_impl): Likewise.
6074 (jit_block_open_impl): Likewise.
6075 (jit_frame_sniffer): Likewise.
6076 * linux-fork.c (add_fork): Likewise.
6077 * maint.c (make_command_stats_cleanup): Likewise.
6078 * objfiles.c (get_objfile_pspace_data): Likewise.
6079 * opencl-lang.c (struct lval_closure): Likewise.
6080 * osdata.c (osdata_start_osdata): Likewise.
6081 * progspace.c (new_address_space): Likewise.
6082 (add_program_space): Likewise.
6083 * remote-sim.c (get_sim_inferior_data): Likewise.
6084 * sh-tdep.c (sh_gdbarch_init): Likewise.
6085 * skip.c (Ignore): Likewise.
6086 (skip_delete_command): Likewise.
6087 * solib-aix.c (get_solib_aix_inferior_data): Likewise.
6088 (library_list_start_library): Likewise.
6089 (solib_aix_current_sos): Likewise.
6090 * solib-darwin.c (get_darwin_info): Likewise.
6091 (darwin_current_sos): Likewise.
6092 * solib-dsbt.c (get_dsbt_info): Likewise.
6093 * solib-ia64-hpux.c (new_so_list): Likewise.
6094 (ia64_hpux_get_solib_linkage_addr): Likewise.
6095 * solib-spu.c (append_ocl_sos): Likewise.
6096 (spu_current_sos): Likewise.
6097 * solib-svr4.c (get_svr4_info): Likewise.
6098 (svr4_keep_data_in_core): Likewise.
6099 (library_list_start_library): Likewise.
6100 (svr4_default_sos): Likewise.
6101 (svr4_read_so_list): Likewise.
6102 * solib-target.c (library_list_start_library): Likewise.
6103 (solib_target_current_sos): Likewise.
6104 * sparc-tdep.c (sparc32_gdbarch_init): Likewise.
6105 * symfile-debug.c (install_symfile_debug_logging): Likewise.
6106 * symfile.c (default_symfile_segments): Likewise.
6107 * target-descriptions.c (tdesc_data_init): Likewise.
6108 (tdesc_create_reg): Likewise.
6109 (struct tdesc_type *): Likewise.
6110 (tdesc_create_vector): Likewise.
6111 (tdesc_set_struct_size): Likewise.
6112 (struct tdesc_type *): Likewise.
6113 (tdesc_free_feature): Likewise.
6114 (tdesc_create_feature): Likewise.
6115 * windows-nat.c (windows_add_thread): Likewise.
6116 (windows_make_so): Likewise.
6117 * xml-support.c (gdb_xml_body_text): Likewise.
6118 (gdb_xml_create_parser_and_cleanup): Likewise.
6119 (xml_process_xincludes): Likewise.
6120 * xml-syscall.c (allocate_syscalls_info): Likewise.
6121 (syscall_create_syscall_desc): Likewise.
6123 2014-01-12 Sergio Durigan Junior <sergiodj@redhat.com>
6125 * i386-tdep.c (i386_stap_parse_special_token_triplet): New
6126 function, with code from i386_stap_parse_special_token.
6127 (i386_stap_parse_special_token_three_arg_disp): Likewise.
6128 (i386_stap_parse_special_token): Move code to the two functions
6131 2014-01-09 Pedro Alves <palves@redhat.com>
6132 Hui Zhu <hui@codesourcery.com>
6135 * breakpoint.c (insert_bp_location): Rename hw_bp_err_string to
6136 bp_err_string. Don't mark the location shlib_disabled if the
6137 error thrown wasn't a generic or memory error. Catch errors
6138 thrown while inserting breakpoints in overlayed code. Output
6139 error message of software breakpoints.
6140 * remote.c (remote_insert_breakpoint): If this breakpoint has
6141 target-side commands but this stub doesn't support Z0 packets,
6142 throw NOT_SUPPORTED_ERROR error.
6143 * exceptions.h (enum errors) <NOT_SUPPORTED_ERROR>: New error.
6144 * target.h (target_insert_breakpoint): Extend comment.
6145 (target_insert_hw_breakpoint): Add comment.
6147 2014-01-08 Pedro Alves <palves@redhat.com>
6149 * remote.c (remote_add_thread): Add threads silently if starting
6151 (remote_notice_new_inferior): If in all-stop, and starting up,
6152 don't call notice_new_inferior.
6153 (get_current_thread): New function, factored out from ...
6154 (add_current_inferior_and_thread): ... this. Adjust.
6155 (remote_start_remote) <all-stop>: Fetch the thread list. If we
6156 found any thread, then select the remote's current thread as GDB's
6159 2014-01-08 Joel Brobecker <brobecker@adacore.com>
6161 * NEWS: Create a new section for the next release branch.
6162 Rename the section of the current branch, now that it has
6165 2014-01-08 Joel Brobecker <brobecker@adacore.com>
6167 GDB 7.7 branch created (79301218fa0f074c5656db0ec8972a5ddcf91fb5):
6168 * version.in: Bump version to 7.7.50.DATE-cvs.
6170 2014-01-08 Yao Qi <yao@codesourcery.com>
6172 * spu-linux-nat.c (spu_symbol_file_add_from_memory): Change
6173 type of 'id' to gdb_byte. Cast 'id' to 'const char *'.
6174 (spu_xfer_partial): Cast 'buf' to 'const char *'.
6176 2014-01-08 Yao Qi <yao@codesourcery.com>
6178 * spu-linux-nat.c (spu_symbol_file_add_from_memory): Pass
6179 return value of bfd_get_filename to symbol_file_add_from_bfd.
6181 2014-01-08 Pierre Muller <muller@sourceware.org>
6184 * coff-pe-read.c (struct read_pe_section_data): Add index field.
6185 (add_pe_exported_sym): Use SECTION_DATA->INDEX for call
6186 to prim_record_mininal_symbol_and_info.
6187 (add_pe_forwarded_sym): Use known section number of forwarded symbol
6188 in call to prim_record_minimal_symbol_and_info.
6189 (read_pe_exported_syms): Set index field of section_data.
6191 2014-01-07 Andrew Pinski <apinski@cavium.com>
6193 * features/aarch64-core.xml (cpsr): Change to be 64bit.
6194 * features/aarch64.c: Regenerate.
6196 2014-01-07 Andreas Schwab <schwab@linux-m68k.org>
6198 * target.c (return_null): Define.
6199 (update_current_target): Use it instead of return_zero for
6200 functions that return a pointer.
6202 2014-01-07 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
6204 * source.c (add_path): Fix check for duplicated paths in the previously
6207 2014-01-07 Honggyu Kim <hong.gyu.kim@lge.com>
6209 * ada-lang.c: Remove duplicated include statements.
6210 * alphabsd-nat.c: Ditto.
6211 * amd64-darwin-tdep.c: Ditto.
6212 * amd64fbsd-nat.c: Ditto.
6213 * auto-load.c: Ditto.
6215 * breakpoint.c: Ditto.
6217 * fork-child.c: Ditto.
6218 * gdb_usleep.c: Ditto.
6219 * i386-darwin-tdep.c: Ditto.
6220 * i386fbsd-nat.c: Ditto.
6222 * inferior.c: Ditto.
6224 * linux-nat.c: Ditto.
6225 * linux-tdep.c: Ditto.
6226 * m68kbsd-nat.c: Ditto.
6227 * m68klinux-nat.c: Ditto.
6228 * microblaze-tdep.c: Ditto.
6229 * mips-linux-tdep.c: Ditto.
6230 * mn10300-tdep.c: Ditto.
6231 * nto-tdep.c: Ditto.
6232 * opencl-lang.c: Ditto.
6234 * printcmd.c: Ditto.
6235 * regcache.c: Ditto.
6236 * remote-m32r-sdi.c: Ditto.
6240 * tilegx-linux-nat.c: Ditto.
6241 * tilegx-tdep.c: Ditto.
6242 * tracepoint.c: Ditto.
6244 * vaxbsd-nat.c: Ditto.
6245 * windows-nat.c: Ditto.
6246 * xtensa-tdep.c: Ditto.
6248 2014-01-07 Yao Qi <yao@codesourcery.com>
6250 * spu-linux-nat.c (_initialize_spu_nat): Declare.
6252 2014-01-07 Yao Qi <yao@codesourcery.com>
6253 Joel Brobecker <brobecker@adacore.com>
6255 * aix-thread.c (pdc_read_regs): Cast parameter to uintptr_t.
6256 (pdc_write_regs): Likewise.
6257 (fetch_regs_kernel_thread): Likewise.
6258 (store_regs_kernel_thread): Likewise.
6260 2014-01-07 Joel Brobecker <brobecker@adacore.com>
6262 * ada-varobj.c (ada_varobj_adjust_for_child_access): Convert
6263 tagged type objects to their actual type.
6265 2014-01-07 Joel Brobecker <brobecker@adacore.com>
6267 * ada-valprint.c (print_field_values): Add "language" parameter.
6268 Update calls to print_field_values and print_variant_part.
6269 Pass new parameter "language" in call to val_print instead
6270 of "current_language". Replace call to ada_val_print by call
6272 (print_variant_part): Add "language" parameter.
6273 (ada_val_print_struct_union): Update call to print_field_values.
6275 2014-01-07 Joel Brobecker <brobecker@adacore.com>
6277 * ada-valprint.c (ui_memcpy): Delete.
6278 (ada_print_floating): Update documentation. Add empty line
6279 between between function documentation and implementation.
6280 Delete variable "buffer". Use ui_file_xstrdup in place of
6281 ui_file_put. Minor adjustments following this change.
6283 2014-01-07 Joel Brobecker <brobecker@adacore.com>
6285 * ada-valprint.c (ada_val_print_string): New function,
6286 extracted from ada_val_print_array.
6287 (ada_val_print_array): Replace extracted code by call
6288 to ada_val_print_string followed by a return. Move
6289 "else" branch to the function's top block.
6291 2014-01-07 Joel Brobecker <brobecker@adacore.com>
6293 * ada-valprint.c (ada_val_print_array): Move implementation
6294 down. Rename parameter "offset" and "val" into "offset_aligned"
6295 and "original_value" respectively. Add parameter "offset".
6297 2014-01-07 Joel Brobecker <brobecker@adacore.com>
6299 * ada-valprint.c (ada_val_print_ref): Rewrite by mostly
6300 re-organizing the code. Change the "???" message printed
6301 when target type is a TYPE_CODE_UNDEF into
6302 "<ref to undefined type>".
6304 2014-01-07 Joel Brobecker <brobecker@adacore.com>
6306 * ada-valprint.c (print_record): Delete, implementation inlined...
6307 (ada_val_print_struct_union): ... here. Remove call to
6308 ada_check_typedef in inlined implementation.
6310 2014-01-07 Joel Brobecker <brobecker@adacore.com>
6312 * ada-valprint.c (ada_val_print_gnat_array): New function,
6313 extracted from ada_val_print_1;
6314 (ada_val_print_ptr, ada_val_print_num, ada_val_print_enum)
6315 (ada_val_print_flt, ada_val_print_struct_union)
6316 (ada_val_print_ref): Likewise.
6317 (ada_val_print_1): Delete variables i and elttype.
6318 Replace extracted-out code by call to corresponding
6321 2014-01-07 Joel Brobecker <brobecker@adacore.com>
6323 * ada-valprint.c (ada_val_print_1): Remove call to gdb_flush.
6325 2014-01-07 Joel Brobecker <brobecker@adacore.com>
6327 * ada-valprint.c (ada_val_print_1): Replace calls to
6328 ada_val_print_1 by calls to val_print.
6330 2014-01-07 Joel Brobecker <brobecker@adacore.com>
6332 * ada-valprint.c (ada_val_print_1): Add parameter "language".
6333 Update calls to self accordingly. Replace calls to c_val_print
6334 by calls to val_print.
6336 2014-01-07 Joel Brobecker <brobecker@adacore.com>
6338 * ada-valprint.c (print_record): Delete declaration.
6339 (adjust_type_signedness, ada_val_print_1): Likewise.
6340 (ada_val_print): Move function implementation down.
6341 (print_variant_part, print_field_values, print_record):
6342 Move function implementation up.
6344 2014-01-07 Joel Brobecker <brobecker@adacore.com>
6346 * python/py-type.c (typy_get_name): New function.
6347 (type_object_getset): Add entry for attribute "name".
6348 * NEWS: Add entry mentioning this new attribute.
6350 2014-01-07 Yao Qi <yao@codesourcery.com>
6352 * gnu-nat.c (set_exceptions_cmd): Remove an empty body 'if'
6355 2014-01-07 Yao Qi <yao@codesourcery.com>
6357 * gnu-nat.c (info_port_rights): Add qualifier const to
6360 2014-01-07 Yao Qi <yao@codesourcery.com>
6362 * gnu-nat.c (trace_me): Use 'void' for empty argument list.
6364 2014-01-07 Yao Qi <yao@codesourcery.com>
6366 * gnu-nat.c (make_inf) Update declaration.
6367 (make_inf): Make it static.
6368 (inf_set_traced): Likewise.
6369 (inf_port_to_thread, inf_task_died_status): Likewise.
6371 2014-01-07 Yao Qi <yao@codesourcery.com>
6373 * gnu-nat.c (inf_tid_to_proc): Remove declaration.
6375 2014-01-07 Yao Qi <yao@codesourcery.com>
6377 * gnu-nat.c (_initialize_gnu_nat): Declare.
6379 2014-01-07 Yao Qi <yao@codesourcery.com>
6381 * gdbarch.sh (byte_order, byte_order_for_code): Change type to
6383 (struct gdbarch_info) <byte_order>: Change type to
6385 <byte_order_for_code>: Likewise.
6386 * gdbarch.c, gdbarch.h: Regenerated.
6388 2014-01-06 Sasha Smundak <asmundak@google.com>
6390 * jit.c: (jit_reader_load_command): Fix JIT reader path creation.
6392 2014-01-06 Tom Tromey <tromey@redhat.com>
6394 * doublest.c (convert_doublest_to_floatformat): Use const, not
6396 * somread.c (som_symtab_read): Likewise.
6398 2014-01-07 Hui Zhu <hui@codesourcery.com>
6400 * gdb_bfd.c (gdb_bfd_stash_filename): Removed.
6401 (gdb_bfd_open): Removed gdb_bfd_stash_filename.
6402 (gdb_bfd_fopen): Ditto.
6403 (gdb_bfd_openr): Ditto.
6404 (gdb_bfd_openw): Ditto.
6405 (gdb_bfd_openr_iovec): Ditto.
6406 (gdb_bfd_fdopenr): Ditto.
6407 * gdb_bfd.h (gdb_bfd_stash_filename): Removed.
6408 * solib-aix.c (solib_aix_bfd_open): Alloc object_bfd->filename
6410 * solib-darwin.c (darwin_bfd_open): Alloc res->filename
6412 * symfile-mem.c (symbol_file_add_from_memory): Removed
6413 gdb_bfd_stash_filename.
6415 2014-01-03 Doug Evans <dje@google.com>
6417 * nat/linux-waitpid.c (linux_debug): Remove extraneous \n from
6420 2014-01-01 Joel Brobecker <brobecker@adacore.com>
6422 Update year range in copyright notice of all files.
6424 2014-01-01 Joel Brobecker <brobecker@adacore.com>
6426 * top.c (print_gdb_version): Set copyright year to 2014.
6428 2014-01-01 Joel Brobecker <brobecker@adacore.com>
6430 * config/djgpp/fnchange.lst: Add entry for gdb/ChangeLog-2013.
6432 For older changes see ChangeLog-2013.
6438 version-control: never