projects
/
binutils-gdb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a90f686
)
* interp.c (sim_resume): Clear State.exited.
author
Jeff Law
<law@redhat.com>
Tue, 24 Jun 1997 19:45:17 +0000
(19:45 +0000)
committer
Jeff Law
<law@redhat.com>
Tue, 24 Jun 1997 19:45:17 +0000
(19:45 +0000)
(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
patch
|
blob
|
history
diff --git
a/sim/mn10300/simops.c
b/sim/mn10300/simops.c
index 239936a9c81c22de2a05b47400150320948fb4c4..c0243c26c51f1af9b67f8e1ff9c1f2ee9cba373b 100644
(file)
--- 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 */