This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
Debugging frameless code
- To: gdb at sources dot redhat dot com
- Subject: Debugging frameless code
- From: Nicolas dot Thery at Symbian dot com
- Date: Thu, 28 Sep 2000 15:43:03 +0100
Hi,
GDB documentation states that gdb has limited ability to deal with code
compiled without frame pointer.
Does this limitation applies to every version of gdb and every kind of
binary/debug format?
To be more precise, is it possible to dump stack backtrace for frameless
code using a recent version of gdb and elf/dwarf2 (and gcc as the
compiler)?
I've been told that dwarf2 includes information that can help a debugger in
such a case, but I don't know whether gcc actually emits these information
and whether gdb is able to use them.
Thanks in advance