Backtrace from kernel to user space in coredump

Frédéric RISS frederic.riss@gmail.com
Sat Jun 12 15:19:00 GMT 2010


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




More information about the Gdb mailing list