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-base.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-base.h')
-rw-r--r-- | sim/common/sim-base.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/sim/common/sim-base.h b/sim/common/sim-base.h index 12e1a25..ef5f1ce 100644 --- a/sim/common/sim-base.h +++ b/sim/common/sim-base.h @@ -128,6 +128,12 @@ typedef struct { /* List of installed module `uninstall' handlers. */ MODULE_UNINSTALL_LIST *uninstall_list; #define STATE_UNINSTALL_LIST(sd) ((sd)->base.uninstall_list) + /* List of installed module `resume' handlers. */ + MODULE_RESUME_LIST *resume_list; +#define STATE_RESUME_LIST(sd) ((sd)->base.resume_list) + /* List of installed module `suspend' handlers. */ + MODULE_SUSPEND_LIST *suspend_list; +#define STATE_SUSPEND_LIST(sd) ((sd)->base.suspend_list) /* ??? This might be more appropriate in sim_cpu. */ /* Machine tables for this cpu. See sim-model.h. */ |