aboutsummaryrefslogtreecommitdiff
path: root/sim/common/ChangeLog
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2021-06-20 23:50:35 -0400
committerMike Frysinger <vapier@gentoo.org>2021-06-23 20:11:45 -0400
commit2f631626f1d8a354d3c5f9d2fce15b47d05d1455 (patch)
tree7011d11a990c8da9bd7c3525a32cf70b81a1dc2c /sim/common/ChangeLog
parente91488f739f0dbb93bfd9d96164c25d9674846c4 (diff)
downloadbinutils-2f631626f1d8a354d3c5f9d2fce15b47d05d1455.zip
binutils-2f631626f1d8a354d3c5f9d2fce15b47d05d1455.tar.gz
binutils-2f631626f1d8a354d3c5f9d2fce15b47d05d1455.tar.bz2
sim: syscall: handle killing the sim itself
If code tries to send a signal to itself, the callback layer ignores it and forces the caller to handle it. This allows the sim to turn that into an engine halt rather than actually killing the sim.
Diffstat (limited to 'sim/common/ChangeLog')
-rw-r--r--sim/common/ChangeLog4
1 files changed, 4 insertions, 0 deletions
diff --git a/sim/common/ChangeLog b/sim/common/ChangeLog
index c32e747..18d37bd 100644
--- a/sim/common/ChangeLog
+++ b/sim/common/ChangeLog
@@ -1,5 +1,9 @@
2021-06-23 Mike Frysinger <vapier@gentoo.org>
+ * sim-syscall.c (sim_syscall_multi): Handle CB_SYS_kill.
+
+2021-06-23 Mike Frysinger <vapier@gentoo.org>
+
* callback.c (os_kill): New function.
(default_callback): Add os_kill.
* syscall.c (cb_syscall): Handle CB_SYS_kill.