From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KpPtE-0006Jk-7F for qemu-devel@nongnu.org; Mon, 13 Oct 2008 12:03:24 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KpPtC-0006GP-Fb for qemu-devel@nongnu.org; Mon, 13 Oct 2008 12:03:23 -0400 Received: from [199.232.76.173] (port=35215 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KpPtC-0006G4-Ao for qemu-devel@nongnu.org; Mon, 13 Oct 2008 12:03:22 -0400 Received: from mail.codesourcery.com ([65.74.133.4]:38363) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1KpPtB-0004BE-OO for qemu-devel@nongnu.org; Mon, 13 Oct 2008 12:03:22 -0400 Message-ID: <48F3713D.1030706@codesourcery.com> Date: Mon, 13 Oct 2008 17:03:09 +0100 From: Andrew Stubbs MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="------------010203030407010909070802" Subject: [Qemu-devel] [PATCH] Handle debug signals on PowerPC 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 This is a multi-part message in MIME format. --------------010203030407010909070802 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Hi, The attached patch allows PowerPC QEMU to be used with the debugger. Currently, any attempt to debug causes an unknown exception error. Note that there are also a few other issues that prevent QEMU from working at all (for me, at any rate, and not just with debugging), but those fixes are not yet ready. Andrew --------------010203030407010909070802 Content-Type: text/x-diff; name="qemu-debug.patch" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="qemu-debug.patch" Index: linux-user/main.c =================================================================== --- linux-user/main.c (revision 5453) +++ linux-user/main.c (working copy) @@ -1286,6 +1286,7 @@ "Aborting\n"); break; case POWERPC_EXCP_DEBUG: /* Debug interrupt */ + case EXCP_DEBUG: /* XXX: check this */ { int sig; --------------010203030407010909070802--