mirror of
https://github.com/mii443/qemu.git
synced 2025-08-22 23:25:48 +00:00
bsd-user/strace.c: print_taken_signal
print_taken_signal() prints signals when we're tracing signals. Signed-off-by: Stacey Son <sson@FreeBSD.org> Signed-off-by: Kyle Evans <kevans@freebsd.org> Signed-off-by: Warner Losh <imp@bsdimp.com> Reviewed-by: Peter Maydell <peter.maydell@linaro.org> Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
This commit is contained in:
@ -204,6 +204,16 @@ print_openbsd_syscall(int num,
|
||||
abi_long arg1, abi_long arg2, abi_long arg3,
|
||||
abi_long arg4, abi_long arg5, abi_long arg6);
|
||||
void print_openbsd_syscall_ret(int num, abi_long ret);
|
||||
/**
|
||||
* print_taken_signal:
|
||||
* @target_signum: target signal being taken
|
||||
* @tinfo: target_siginfo_t which will be passed to the guest for the signal
|
||||
*
|
||||
* Print strace output indicating that this signal is being taken by the guest,
|
||||
* in a format similar to:
|
||||
* --- SIGSEGV {si_signo=SIGSEGV, si_code=SI_KERNEL, si_addr=0} ---
|
||||
*/
|
||||
void print_taken_signal(int target_signum, const target_siginfo_t *tinfo);
|
||||
extern int do_strace;
|
||||
|
||||
/* mmap.c */
|
||||
|
Reference in New Issue
Block a user