* sim-engine.c (sim_engine_set_run_state): New function.
authorDoug Evans <dje@google.com>
Sat, 16 May 1998 19:51:12 +0000 (19:51 +0000)
committerDoug Evans <dje@google.com>
Sat, 16 May 1998 19:51:12 +0000 (19:51 +0000)
commitebd58f4dde1b5f65e84f61ec05ed5ebf189cb0f3
tree2d187807a72fcb07ff7abcfc817bb447105331af
parent882d99e4b63e43ea59973e589a2f4d3dfd7a7f1e
* sim-engine.c (sim_engine_set_run_state): New function.
* sim-engine.h (sim_engine_set_run_state): Declare.
* genmloop.sh (pending_reason,pending_sigrc): New static locals.
(@cpu@_engine_stop): New args reason,sigrc.  All callers updated.
(engine_resume): Reorganize.  Allow synchronous exit from main loop.
sim/common/ChangeLog
sim/common/genmloop.sh