Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: "Frédéric RISS" <frederic.riss@gmail.com>
To: Michael Eager <eager@eagerm.com>
Cc: gdb@sourceware.org
Subject: Re: Backtrace from kernel to user space in coredump
Date: Sat, 12 Jun 2010 15:19:00 -0000	[thread overview]
Message-ID: <1276355966.1798.3.camel@localhost.localdomain> (raw)
In-Reply-To: <4C138642.2080202@eagerm.com>

Le samedi 12 juin 2010 à 06:06 -0700, Michael Eager a écrit :
> Are there better ways to do this?   How have other
> people handled traces back from kernel to user space?

It's more heavyweight than just setting the registers, but it's quite
easy to add specific unwinders for syscalls, exceptions, interrupts...
And this works very nicely (well, the real difficulty is to have GDB
load the debug information for the appropriate userspace task, but
that's maybe not an issue in your case).

Fred



  reply	other threads:[~2010-06-12 15:19 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-06-12 13:06 Michael Eager
2010-06-12 15:19 ` Frédéric RISS [this message]
2010-06-12 16:16   ` Paul Koning
2010-06-14  3:18     ` Michael Eager
2010-06-14  7:23 ` Hui Zhu

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=1276355966.1798.3.camel@localhost.localdomain \
    --to=frederic.riss@gmail.com \
    --cc=eager@eagerm.com \
    --cc=gdb@sourceware.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