aboutsummaryrefslogtreecommitdiff
path: root/sim/common/sim-events.h
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>1997-09-03 07:26:11 +0000
committerAndrew Cagney <cagney@redhat.com>1997-09-03 07:26:11 +0000
commitfdd64f952debd1000ed87f077f0fea0ea1fb63dd (patch)
treed5e1c35f1c743a18409ae2ec4900fd2ebcbf11ae /sim/common/sim-events.h
parentc2d708261f3e55146cbc12b5b00722e137c6d833 (diff)
downloadgdb-fdd64f952debd1000ed87f077f0fea0ea1fb63dd.zip
gdb-fdd64f952debd1000ed87f077f0fea0ea1fb63dd.tar.gz
gdb-fdd64f952debd1000ed87f077f0fea0ea1fb63dd.tar.bz2
Add support for suspending/resumeing the simulator in sim-modules.
Use in sim-events.
Diffstat (limited to 'sim/common/sim-events.h')
-rw-r--r--sim/common/sim-events.h17
1 files changed, 2 insertions, 15 deletions
diff --git a/sim/common/sim-events.h b/sim/common/sim-events.h
index dd69f0a..6dd1a2f 100644
--- a/sim/common/sim-events.h
+++ b/sim/common/sim-events.h
@@ -89,7 +89,8 @@ struct _sim_events {
sim_event *held;
volatile int nr_held;
/* timekeeping */
- SIM_ELAPSED_TIME initial_wallclock;
+ unsigned long elapsed_wallclock;
+ SIM_ELAPSED_TIME resume_wallclock;
signed64 time_of_event;
int time_from_event;
int trace;
@@ -103,20 +104,6 @@ EXTERN_SIM_EVENTS\
(SIM_RC) sim_events_install (SIM_DESC sd);
-/* Uninstall the "events" subsystem. */
-
-EXTERN_SIM_EVENTS\
-(void)
-sim_events_uninstall (SIM_DESC sd);
-
-
-
-/* Initialization */
-
-EXTERN_SIM_EVENTS\
-(SIM_RC) sim_events_init (SIM_DESC sd);
-
-
/* Set Tracing Level */
EXTERN_SIM_EVENTS\