mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-11-30 21:44:19 +08:00
* 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.
This commit is contained in:
parent
a90f6864be
commit
d05b86b7fb
@ -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 */
|
||||
|
Loading…
Reference in New Issue
Block a user