mirror of
https://github.com/xemu-project/xemu.git
synced 2025-02-21 12:53:01 +00: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_TFAULT:
|
||||||
case TT_DFAULT:
|
case TT_DFAULT:
|
||||||
{
|
{
|
||||||
info.si_signo = SIGSEGV;
|
info.si_signo = TARGET_SIGSEGV;
|
||||||
info.si_errno = 0;
|
info.si_errno = 0;
|
||||||
/* XXX: check env->error_code */
|
/* XXX: check env->error_code */
|
||||||
info.si_code = TARGET_SEGV_MAPERR;
|
info.si_code = TARGET_SEGV_MAPERR;
|
||||||
@ -1166,7 +1166,7 @@ void cpu_loop (CPUSPARCState *env)
|
|||||||
case TT_TFAULT:
|
case TT_TFAULT:
|
||||||
case TT_DFAULT:
|
case TT_DFAULT:
|
||||||
{
|
{
|
||||||
info.si_signo = SIGSEGV;
|
info.si_signo = TARGET_SIGSEGV;
|
||||||
info.si_errno = 0;
|
info.si_errno = 0;
|
||||||
/* XXX: check env->error_code */
|
/* XXX: check env->error_code */
|
||||||
info.si_code = TARGET_SEGV_MAPERR;
|
info.si_code = TARGET_SEGV_MAPERR;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user