qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Andrew Stubbs <ams@codesourcery.com>
To: qemu-devel@nongnu.org
Subject: [Qemu-devel] [PATCH] Handle debug signals on PowerPC
Date: Mon, 13 Oct 2008 17:03:09 +0100	[thread overview]
Message-ID: <48F3713D.1030706@codesourcery.com> (raw)

[-- 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;

             reply	other threads:[~2008-10-13 16:03 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-10-13 16:03 Andrew Stubbs [this message]
2008-10-23 16:18 ` [Qemu-devel] [PATCH] Handle debug signals on PowerPC Andrew Stubbs
2008-11-11 17:34   ` Andrew Stubbs
2008-11-14 17:05 ` Aurelien Jarno
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=48F3713D.1030706@codesourcery.com \
    --to=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 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).