This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: Backtrace from kernel to user space in coredump
- From: Frédéric RISS <frederic dot riss at gmail dot com>
- To: Michael Eager <eager at eagerm dot com>
- Cc: gdb at sourceware dot org
- Date: Sat, 12 Jun 2010 17:19:26 +0200
- Subject: Re: Backtrace from kernel to user space in coredump
- References: <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