* interp.c (sim_resume): Clear State.exited.
authorJeff Law <law@redhat.com>
Tue, 24 Jun 1997 19:45:17 +0000 (19:45 +0000)
committerJeff Law <law@redhat.com>
Tue, 24 Jun 1997 19:45:17 +0000 (19:45 +0000)
commitd05b86b7fbedf99179e079746d1f42f71e34bc14
tree605cde2df50b370db57d0ebdef97e99834fed211
parenta90f6864be7a9a52c04922947aa8abe2a5d32674
    * interp.c (sim_resume): Clear State.exited.
        (sim_stop_reason): If State.exited is nonzero, then indicate that
        the simulator exited instead of stopped.
        * mn10300_sim.h (struct _state): Add exited field.
        * simops.c (syscall): Set State.exited for SYS_exit.

Fixes problem found bin Felix.
sim/mn10300/simops.c