This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
w32 stack sniffing/unwinding and backtrace improvement
- From: LRN <lrn1986 at gmail dot com>
- To: gdb at sourceware dot org
- Date: Mon, 01 Aug 2011 17:59:29 +0400
- Subject: w32 stack sniffing/unwinding and backtrace improvement
Which unwinder and sniffers are responsible for w32 stack unwinding
(like, when printing a frame info or a backtrace)?
I have an idea to fetch the function address from the stack as a struct
_EXCEPTION_RECORD, but i need to find the code that parses the frame. If
i succeed, it will allow for more complete backtrace in cases where gdb
is used as a JIT (in MS sense of that acronym) debugger and attaches to
a process that had its stack already mangled by the OS exception handler.