[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: How to tell whether .o was compiled with -g option
From: |
Alan Curry |
Subject: |
Re: How to tell whether .o was compiled with -g option |
Date: |
Tue, 22 May 2007 20:38:34 +0000 (UTC) |
In article <mailman.959.1179816741.32220.help-gnu-utils@gnu.org>,
>
>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
pacman@world.std.com