aboutsummaryrefslogtreecommitdiff
path: root/gdb/inferior.h
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/inferior.h
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/inferior.h')
-rw-r--r--gdb/inferior.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/gdb/inferior.h b/gdb/inferior.h
index 5d40fa7..84b4569 100644
--- a/gdb/inferior.h
+++ b/gdb/inferior.h
@@ -32,6 +32,9 @@ struct regcache;
/* For enum target_signal. */
#include "target.h"
+/* For struct frame_id. */
+#include "frame.h"
+
/* Structure in which to save the status of the inferior. Create/Save
through "save_inferior_status", restore through
"restore_inferior_status".
@@ -369,7 +372,7 @@ extern CORE_ADDR step_range_end; /* Exclusive */
This is how we know when we step into a subroutine call,
and how to set the frame for the breakpoint used to step out. */
-extern CORE_ADDR step_frame_address;
+extern struct frame_id step_frame_id;
/* Our notion of the current stack pointer. */