public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
* debug or no debug?
@ 2010-12-07  5:22 kevin diggs
  2010-12-07  5:55 ` Bill O'Connor
  0 siblings, 1 reply; 2+ messages in thread
From: kevin diggs @ 2010-12-07  5:22 UTC (permalink / raw)
  To: gcc-help

Hi,

Is there an easy way to tell if a library (archive and/or dynamic) was
built with -g? Is there a section one can look for that is a "smoking
switch" to indicate 'debugness'?

Thanks!

kevin

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: debug or no debug?
  2010-12-07  5:22 debug or no debug? kevin diggs
@ 2010-12-07  5:55 ` Bill O'Connor
  0 siblings, 0 replies; 2+ messages in thread
From: Bill O'Connor @ 2010-12-07  5:55 UTC (permalink / raw)
  To: gcc-help

kevin diggs <diggskevin38@gmail.com> writes:

> Hi,
>
> Is there an easy way to tell if a library (archive and/or dynamic) was
> built with -g? Is there a section one can look for that is a "smoking
> switch" to indicate 'debugness'?
>
[billyoc@gs800 qtest]$ nm /usr/lib/libgtkmm-2.4.so.1.1.0
nm: /usr/lib/libgtkmm-2.4.so.1.1.0: no symbols

[billyoc@gs800 qtest]$ nm ~/gnome2/lib/libgtkmm-3.0.so.1.1.0  | head -5
0034e7d8 d DW.ref.__gxx_personality_v0
001895e0 t SignalProxy_Details_gtk_callback
001895a0 t SignalProxy_Details_gtk_callback_destroy
003488c0 a _DYNAMIC
0034a0ec a _GLOBAL_OFFSET_TABLE_


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2010-12-07  5:55 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-12-07  5:22 debug or no debug? kevin diggs
2010-12-07  5:55 ` Bill O'Connor

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).