mirror of
https://github.com/qemu/qemu.git
synced 2024-11-24 03:13:44 +08:00
sparc-linux-user: Fixup sending SIGSEGV
Signed-off-by: Richard Henderson <rth@twiddle.net> Signed-off-by: Riku Voipio <riku.voipio@linaro.org>
This commit is contained in:
parent
75f22e4e69
commit
59f7182f94
@ -1148,7 +1148,7 @@ void cpu_loop (CPUSPARCState *env)
|
||||
case TT_TFAULT:
|
||||
case TT_DFAULT:
|
||||
{
|
||||
info.si_signo = SIGSEGV;
|
||||
info.si_signo = TARGET_SIGSEGV;
|
||||
info.si_errno = 0;
|
||||
/* XXX: check env->error_code */
|
||||
info.si_code = TARGET_SEGV_MAPERR;
|
||||
@ -1166,7 +1166,7 @@ void cpu_loop (CPUSPARCState *env)
|
||||
case TT_TFAULT:
|
||||
case TT_DFAULT:
|
||||
{
|
||||
info.si_signo = SIGSEGV;
|
||||
info.si_signo = TARGET_SIGSEGV;
|
||||
info.si_errno = 0;
|
||||
/* XXX: check env->error_code */
|
||||
info.si_code = TARGET_SEGV_MAPERR;
|
||||
|
Loading…
Reference in New Issue
Block a user