diff options
author | Andrew Cagney <cagney@redhat.com> | 1997-09-03 07:26:11 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 1997-09-03 07:26:11 +0000 |
commit | fdd64f952debd1000ed87f077f0fea0ea1fb63dd (patch) | |
tree | d5e1c35f1c743a18409ae2ec4900fd2ebcbf11ae /sim/common/sim-events.h | |
parent | c2d708261f3e55146cbc12b5b00722e137c6d833 (diff) | |
download | gdb-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.h | 17 |
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\ |