Re: How to tell whether .o was compiled with -g option

Ralf Wildenhues <[email protected]>
Newsgroups gmane.comp.gnu.utils
Organization Department of Numerical Simulation, University of Bonn
Message-ID <[email protected]>
Hello,

* Henrik Carlqvist wrote on Tue, May 22, 2007 at 08:31:46AM CEST:
> [email protected] (Karl Berry) wrote:
> > I'm sure this is not 100% accurate (in either direction), but it's one
> > hint, anyway.
> 
[...]
> So, there is more than the debug information that gets stripped out from
> an object file and being "not stripped" is no guarantee for containing
> debug information.

You can look at `objdump -h' output for presence of debug sections.

Cheers,
Ralf
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.