[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH] Handle debug signals on PowerPC
From: |
Aurelien Jarno |
Subject: |
Re: [Qemu-devel] [PATCH] Handle debug signals on PowerPC |
Date: |
Fri, 14 Nov 2008 18:05:52 +0100 |
User-agent: |
Mutt/1.5.18 (2008-05-17) |
On Mon, Oct 13, 2008 at 05:03:09PM +0100, Andrew Stubbs wrote:
> 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.
Actually POWERPC_EXCP_DEBUG can not happen in user mode, while
EXCP_DEBUG should be handled. The mistake come from a renaming of
all PowerPC EXCP_* defines into POWERPC_EXCP_*.
I have applied a patch to fix that.
> Andrew
> 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;
--
.''`. Aurelien Jarno | GPG: 1024D/F1BCDB73
: :' : Debian developer | Electrical Engineer
`. `' address@hidden | address@hidden
`- people.debian.org/~aurel32 | www.aurel32.net