aboutsummaryrefslogtreecommitdiff
path: root/gdb/thread.c
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2002-12-06 07:35:55 +0000
committerAndrew Cagney <cagney@redhat.com>2002-12-06 07:35:55 +0000
commitaa0cd9c15b5ced11efb415b6e8326b650f67f465 (patch)
tree4cde6c69f33732512188919449485b2b3be62457 /gdb/thread.c
parent2f9bd3f641bd98189e086271ebb00bda8f53bb3a (diff)
downloadgdb-aa0cd9c15b5ced11efb415b6e8326b650f67f465.zip
gdb-aa0cd9c15b5ced11efb415b6e8326b650f67f465.tar.gz
gdb-aa0cd9c15b5ced11efb415b6e8326b650f67f465.tar.bz2
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/thread.c')
-rw-r--r--gdb/thread.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/gdb/thread.c b/gdb/thread.c
index 06503e1..f2ed52a 100644
--- a/gdb/thread.c
+++ b/gdb/thread.c
@@ -296,7 +296,7 @@ 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_after_catch,
@@ -322,7 +322,7 @@ load_infrun_state (ptid_t ptid,
*through_sigtramp_breakpoint = tp->through_sigtramp_breakpoint;
*step_range_start = tp->step_range_start;
*step_range_end = tp->step_range_end;
- *step_frame_address = tp->step_frame_address;
+ *step_frame_id = tp->step_frame_id;
*handling_longjmp = tp->handling_longjmp;
*another_trap = tp->another_trap;
*stepping_through_solib_after_catch = tp->stepping_through_solib_after_catch;
@@ -345,7 +345,7 @@ 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,
@@ -371,7 +371,7 @@ save_infrun_state (ptid_t ptid,
tp->through_sigtramp_breakpoint = through_sigtramp_breakpoint;
tp->step_range_start = step_range_start;
tp->step_range_end = step_range_end;
- tp->step_frame_address = step_frame_address;
+ tp->step_frame_id = (*step_frame_id);
tp->handling_longjmp = handling_longjmp;
tp->another_trap = another_trap;
tp->stepping_through_solib_after_catch = stepping_through_solib_after_catch;