* [Qemu-devel] [PATCH] Handle debug signals on PowerPC
@ 2008-10-13 16:03 Andrew Stubbs
2008-10-23 16:18 ` Andrew Stubbs
2008-11-14 17:05 ` Aurelien Jarno
0 siblings, 2 replies; 5+ messages in thread
From: Andrew Stubbs @ 2008-10-13 16:03 UTC (permalink / raw)
To: qemu-devel
[-- Attachment #1: Type: text/plain, Size: 322 bytes --]
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
[-- Attachment #2: qemu-debug.patch --]
[-- Type: text/x-diff, Size: 424 bytes --]
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;
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [Qemu-devel] [PATCH] Handle debug signals on PowerPC
2008-10-13 16:03 [Qemu-devel] [PATCH] Handle debug signals on PowerPC Andrew Stubbs
@ 2008-10-23 16:18 ` Andrew Stubbs
2008-11-11 17:34 ` Andrew Stubbs
2008-11-14 17:05 ` Aurelien Jarno
1 sibling, 1 reply; 5+ messages in thread
From: Andrew Stubbs @ 2008-10-23 16:18 UTC (permalink / raw)
To: qemu-devel
Ping.
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.
>
> Andrew
>
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [Qemu-devel] [PATCH] Handle debug signals on PowerPC
2008-10-23 16:18 ` Andrew Stubbs
@ 2008-11-11 17:34 ` Andrew Stubbs
0 siblings, 0 replies; 5+ messages in thread
From: Andrew Stubbs @ 2008-11-11 17:34 UTC (permalink / raw)
To: qemu-devel
Ping.
Andrew Stubbs wrote:
> Ping.
>
> 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.
>>
>> Andrew
>>
>
>
>
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [Qemu-devel] [PATCH] Handle debug signals on PowerPC
2008-10-13 16:03 [Qemu-devel] [PATCH] Handle debug signals on PowerPC Andrew Stubbs
2008-10-23 16:18 ` Andrew Stubbs
@ 2008-11-14 17:05 ` Aurelien Jarno
2008-11-17 11:30 ` Andrew Stubbs
1 sibling, 1 reply; 5+ messages in thread
From: Aurelien Jarno @ 2008-11-14 17:05 UTC (permalink / raw)
To: Andrew Stubbs; +Cc: qemu-devel
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
`. `' aurel32@debian.org | aurelien@aurel32.net
`- people.debian.org/~aurel32 | www.aurel32.net
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2008-11-17 11:31 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-10-13 16:03 [Qemu-devel] [PATCH] Handle debug signals on PowerPC Andrew Stubbs
2008-10-23 16:18 ` Andrew Stubbs
2008-11-11 17:34 ` Andrew Stubbs
2008-11-14 17:05 ` Aurelien Jarno
2008-11-17 11:30 ` Andrew Stubbs
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).