Re: How to tell whether .o was compiled with -g option
[email protected] (Alan Curry)
| Newsgroups | gmane.comp.gnu.utils |
|---|---|
| Organization | The World : www.TheWorld.com : Since 1989 |
| Message-ID | <[email protected]> |
In article <[email protected]>, > >You can look at `objdump -h' output for presence of debug sections. Or ask objdump to actually show you the debug info. Depending on the format, at least one of these should work: -g, --debugging Display debug information in object file -e, --debugging-tags Display debug information using ctags style -G, --stabs Display (in raw form) any STABS info in the file -W, --dwarf Display DWARF info in the file -- Alan Curry [email protected]