From: Jeff Law Date: Tue, 24 Jun 1997 19:45:17 +0000 (+0000) Subject: * interp.c (sim_resume): Clear State.exited. X-Git-Tag: gdb-4_18~5309 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=d05b86b7fbedf99179e079746d1f42f71e34bc14;p=platform%2Fupstream%2Fbinutils.git * 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. --- diff --git a/sim/mn10300/simops.c b/sim/mn10300/simops.c index 239936a..c0243c2 100644 --- a/sim/mn10300/simops.c +++ b/sim/mn10300/simops.c @@ -2940,6 +2940,7 @@ void OP_F020 (insn, extension) State.exception = SIGABRT; else State.exception = SIGQUIT; + State.exited = 1; break; case SYS_stat: /* added at hmsi */