Getting .debug_frame Dwarf info without outputtings all the other debug info sections?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Is there any option (maybe one not mentioned as having this
side-effect in the manpage?) that will cause GCC to emit the
.debug_frame ELF section without piling on all the other Dwarf info
sections implied by the '-g' command line option?

I'm working on an application which is large enough to cause ld to
slow down enormously if all debug info is generated. I'd at least like
to have .debug_frame though, to allow debuggers to produce a
backtrace.

In spirit, I'm looking for something similar to '-funwind-tables', but
which will generate the Dwarf info understood by a debugger (rather
than the runtime exception-handling info that -funwind-tables
targets).


[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux