Debugging frameless code
Thu Sep 28 07:44:00 GMT 2000


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

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

More information about the Gdb mailing list