From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JUmzO-0003RF-DQ for qemu-devel@nongnu.org; Thu, 28 Feb 2008 12:56:14 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JUmzM-0003P4-7j for qemu-devel@nongnu.org; Thu, 28 Feb 2008 12:56:13 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JUmzL-0003Ou-QR for qemu-devel@nongnu.org; Thu, 28 Feb 2008 12:56:12 -0500 Received: from miranda.se.axis.com ([193.13.178.8]) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1JUmzL-0006NY-9C for qemu-devel@nongnu.org; Thu, 28 Feb 2008 12:56:11 -0500 Received: from axis.com (edgar.se.axis.com [10.93.151.1]) by miranda.se.axis.com (8.13.4/8.13.4/Debian-3sarge3) with ESMTP id m1SHu9Pe021421 for ; Thu, 28 Feb 2008 18:56:09 +0100 Date: Thu, 28 Feb 2008 20:55:43 +0100 From: "Edgar E. Iglesias" Subject: Re: [Qemu-devel] [PATCH] gdbstub: Debug user-mode signals Message-ID: <20080228195543.GA23738@edgar.se.axis.com> References: <20080228192230.GJ7782@edgar.se.axis.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20080228192230.GJ7782@edgar.se.axis.com> Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org On Thu, Feb 28, 2008 at 08:22:30PM +0100, Edgar E. Iglesias wrote: > Hello, > > This patch makes it possible to debug signal handlers when simulating programs in user-mode. Without it, the session aborts as soon as a signal is delivered. > > On CRIS I still cannot get GDB to unwind the stack beyond the signals return trampoline, but I'm pretty sure it's related to some error in the way I setup the trampoline in linux-user/signal.c. My cris gdb was configured for kernel debugging so the trampoline code was disabled, the patch works fine for CRIS aswell. Best regards -- Edgar E. Iglesias Axis Communications AB