qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: "Edgar E. Iglesias" <edgar.iglesias@axis.com>
To: qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] [PATCH] gdbstub: Debug user-mode signals
Date: Thu, 28 Feb 2008 20:55:43 +0100	[thread overview]
Message-ID: <20080228195543.GA23738@edgar.se.axis.com> (raw)
In-Reply-To: <20080228192230.GJ7782@edgar.se.axis.com>

On Thu, Feb 28, 2008 at 08:22:30PM +0100, Edgar E. Iglesias wrote:
> Hello,
> 
> This patch makes it possible to debug signal handlers when simulating programs in user-mode. Without it, the session aborts as soon as a signal is delivered.
> 
> On CRIS I still cannot get GDB to unwind the stack beyond the signals return trampoline, but I'm pretty sure it's related to some error in the way I setup the trampoline in linux-user/signal.c.

My cris gdb was configured for kernel debugging so the trampoline code was disabled, the patch works fine for CRIS aswell.

Best regards
-- 
Edgar E. Iglesias
Axis Communications AB

      reply	other threads:[~2008-02-28 17:56 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-02-28 19:22 [Qemu-devel] [PATCH] gdbstub: Debug user-mode signals Edgar E. Iglesias
2008-02-28 19:55 ` Edgar E. Iglesias [this message]

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=20080228195543.GA23738@edgar.se.axis.com \
    --to=edgar.iglesias@axis.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).