Received: from eggs.gnu.org ([140.186.70.92]:52364) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RIkud-0007i2-A4 for qemu-devel@nongnu.org; Tue, 25 Oct 2011 13:35:44 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RIkuR-0006IR-Hx for qemu-devel@nongnu.org; Tue, 25 Oct 2011 13:35:32 -0400 Received: from mail-wy0-f173.google.com ([74.125.82.173]:60846) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RIkuR-0006Cw-Ce for qemu-devel@nongnu.org; Tue, 25 Oct 2011 13:35:31 -0400 Received: by mail-wy0-f173.google.com with SMTP id 15so869159wyh.4 for ; Tue, 25 Oct 2011 10:35:30 -0700 (PDT) Sender: Richard Henderson From: Richard Henderson Date: Tue, 25 Oct 2011 10:34:07 -0700 Message-Id: <1319564048-17754-3-git-send-email-rth@twiddle.net> In-Reply-To: <1319564048-17754-1-git-send-email-rth@twiddle.net> References: <1319564048-17754-1-git-send-email-rth@twiddle.net> Subject: [Qemu-devel] [PATCH 2/3] sparc-linux-user: Fixup sending SIGSEGV List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: blauwirbel@gmail.com, riku.voipio@iki.fi Signed-off-by: Richard Henderson --- linux-user/main.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/linux-user/main.c b/linux-user/main.c index 2bc10ed..c36a8af 100644 --- a/linux-user/main.c +++ b/linux-user/main.c @@ -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; -- 1.7.6.4