From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LJ6Ky-0005Nz-Rs for qemu-devel@nongnu.org; Sat, 03 Jan 2009 08:14:44 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LJ6Ky-0005Nn-Gi for qemu-devel@nongnu.org; Sat, 03 Jan 2009 08:14:44 -0500 Received: from [199.232.76.173] (port=48527 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LJ6Ky-0005Nk-B3 for qemu-devel@nongnu.org; Sat, 03 Jan 2009 08:14:44 -0500 Received: from hall.aurel32.net ([88.191.82.174]:56324) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1LJ6Ky-0004u9-2r for qemu-devel@nongnu.org; Sat, 03 Jan 2009 08:14:44 -0500 Date: Sat, 3 Jan 2009 14:14:41 +0100 From: Aurelien Jarno Subject: Re: [Qemu-devel] [PATCH] Fix qemu endless loop when raising a SIGSEGV/SIGBUS signal with gdbstub in user emulation Message-ID: <20090103131441.GB18974@volta.aurel32.net> References: <1230986219.3814.13.camel@cocoduo.atr> <1230987039.3814.16.camel@cocoduo.atr> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-15 Content-Disposition: inline In-Reply-To: <1230987039.3814.16.camel@cocoduo.atr> Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Lionel Landwerlin Cc: qemu-devel@nongnu.org On Sat, Jan 03, 2009 at 01:50:39PM +0100, Lionel Landwerlin wrote: > When a SIGSEGV signal is raised in user mode emulation the current > test to know whether the signal is sent by the kernel is wrong : > > info->si_code == SI_KERNEL > > according to /usr/include/bits/siginfo.h it should be > > info->si_code > 0 > We were working on the same thing at the same time, but you has been faster :) Patch applied, thanks. -- .''`. Aurelien Jarno | GPG: 1024D/F1BCDB73 : :' : Debian developer | Electrical Engineer `. `' aurel32@debian.org | aurelien@aurel32.net `- people.debian.org/~aurel32 | www.aurel32.net