diff options
author | Andrew Cagney <cagney@redhat.com> | 2002-12-06 07:35:55 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 2002-12-06 07:35:55 +0000 |
commit | aa0cd9c15b5ced11efb415b6e8326b650f67f465 (patch) | |
tree | 4cde6c69f33732512188919449485b2b3be62457 /gdb/gdbthread.h | |
parent | 2f9bd3f641bd98189e086271ebb00bda8f53bb3a (diff) | |
download | binutils-gdb-aa0cd9c15b5ced11efb415b6e8326b650f67f465.tar.gz |
2002-12-05 Andrew Cagney <ac131313@redhat.com>
* gdbthread.h: Include "frame.h".
(struct thread_info): Replace step_frame_address with
step_frame_id.
* inferior.h: Include "frame.h".
(step_frame_id): Replace external variable step_frame_address.
* gdbthread.h (save_infrun_state): Replace step_frame_address
parameter with step_frame_id parameter.
(load_infrun_state): Ditto.
* Makefile.in (gdbthread_h, inferior_h): Add $(frame_h).
* infcmd.c (step_frame_id, step_1, step_once): Update.
* thread.c (load_infrun_state, save_infrun_state): Update.
* infrun.c (clear_proceed_status, save_inferior_status): Update.
(handle_inferior_event, step_over_function): Update.
(normal_stop, context_switch, restore_inferior_status): Update.
(struct inferior_status): Replace step_frame_address with
step_frame_id.
Diffstat (limited to 'gdb/gdbthread.h')
-rw-r--r-- | gdb/gdbthread.h | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/gdb/gdbthread.h b/gdb/gdbthread.h index da89b36eee1..e3df58bbcf5 100644 --- a/gdb/gdbthread.h +++ b/gdb/gdbthread.h @@ -28,6 +28,9 @@ /* For bpstat */ #include "breakpoint.h" +/* For struct frame_id. */ +#include "frame.h" + struct thread_info { struct thread_info *next; @@ -43,7 +46,7 @@ struct thread_info struct breakpoint *through_sigtramp_breakpoint; CORE_ADDR step_range_start; CORE_ADDR step_range_end; - CORE_ADDR step_frame_address; + struct frame_id step_frame_id; CORE_ADDR step_sp; int current_line; struct symtab *current_symtab; @@ -118,7 +121,7 @@ extern void save_infrun_state (ptid_t ptid, struct breakpoint *through_sigtramp_breakpoint, CORE_ADDR step_range_start, CORE_ADDR step_range_end, - CORE_ADDR step_frame_address, + const struct frame_id *step_frame_id, int handling_longjmp, int another_trap, int stepping_through_solib_after_catch, @@ -139,7 +142,7 @@ extern void load_infrun_state (ptid_t ptid, struct breakpoint **through_sigtramp_breakpoint, CORE_ADDR *step_range_start, CORE_ADDR *step_range_end, - CORE_ADDR *step_frame_address, + struct frame_id *step_frame_id, int *handling_longjmp, int *another_trap, int *stepping_through_solib_affter_catch, |