This is the mail archive of the gdb@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Debugging frameless code


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]