You might also want to give the `file` command a try.
It will tell you the file type and, especially is it is a binary, whether it is stripped or not
Hopes that helps,
Vincent
erik@xxxxxxxxxxxxx wrote:
On Tue, Jul 01, 2003 at 12:44:53PM +0530, Sathish_Dilip@xxxxxxxxxxxxxxxxx wrote:
Hi All,
Is there any command to find out whether my executables( say a.out)
have the debug info in them or not.
Yep. Try objdump. The -D option provides the shotgun approach. If you've done a gcc -g, then you'll see interspersed 'C' source lines.
It is remiss of the gcc manpage not to mention this command under "SEE ALSO", IMHO. (But objdump is part of binutils, so it's perhaps too OT to warrant a mention. ;-)
Regards, Erik