]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
sim: callback: add a kill interface
authorMike Frysinger <vapier@gentoo.org>
Mon, 21 Jun 2021 03:06:10 +0000 (23:06 -0400)
committerMike Frysinger <vapier@gentoo.org>
Thu, 24 Jun 2021 00:05:14 +0000 (20:05 -0400)
commitd394a6efed4723b86f8e4f09fc23f6d03a7ad835
tree6fd21636c50bf4f62d608cfb975da8707158d360
parent02ddf7223daa1dac8ba532dfd31d5d4d1870e6f4
sim: callback: add a kill interface

This will make it easier to emulate the syscall.  If the kill target
is the sim itself, don't do anything.  This forces the higher layers
to make a decision as to how to handle this event: like halting the
overall engine process.
include/sim/ChangeLog
include/sim/callback.h
sim/common/ChangeLog
sim/common/callback.c
sim/common/syscall.c