Re: Debug info - command

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

 



> 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


You mean -S?  Also you can use readelf -w.

>    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
>



[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