From: Aurelien Jarno <aurelien@aurel32.net>
To: Andrew Stubbs <ams@codesourcery.com>
Cc: qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] [PATCH] Handle debug signals on PowerPC
Date: Fri, 14 Nov 2008 18:05:52 +0100 [thread overview]
Message-ID: <20081114170552.GA9022@volta.aurel32.net> (raw)
In-Reply-To: <48F3713D.1030706@codesourcery.com>
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
next prev parent reply other threads:[~2008-11-14 17:06 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
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 [this message]
2008-11-17 11:30 ` Andrew Stubbs
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20081114170552.GA9022@volta.aurel32.net \
--to=aurelien@aurel32.net \
--cc=ams@codesourcery.com \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.