Handle debug signals on PowerPC
PATCH 1/1 Handle debug signals on PowerPC
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
main.c +1 -0
@@ -1286,6 +1286,7 @@ "Aborting\n");break ;case POWERPC_EXCP_DEBUG :/* Debug interrupt */ +case EXCP_DEBUG :/* XXX: check this */ {int sig;
Ping.
Quoted 8 lines · Andrew Stubbs
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
Ping.
Quoted 14 lines · Andrew Stubbs
Ping.
Quoted 8 lines · Andrew Stubbs
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
Aurelien Jarno
AppliedQuoted 8 lines · Andrew Stubbs
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.
Quoted 14 lines
Andrew
Index:
linux-user/main.c
===================================================================main.c +1
-0@@ -1286,6 +1286,7 @@ "Aborting\n");break ;case POWERPC_EXCP_DEBUG :/* Debug interrupt */ +case EXCP_DEBUG :/* XXX: check this */ {int sig;
Signature · 4 lines
.''`. Aurelien Jarno | GPG: 1024D/F1BCDB73 : :' : Debian developer | Electrical Engineer `. `' [email protected] | [email protected] `- people.debian.org/~aurel32 | www.aurel32.net
Quoted 1 line · Aurelien Jarno
I have applied a patch to fix that.
Thank you very much.
Andrew