All of lore.kernel.org
 help / color / mirror / Atom feed
* Missing debug info
@ 2011-04-03 14:53 Gary Thomas
  2011-04-03 19:56 ` Mark Hatle
  2011-04-03 21:46 ` Richard Purdie
  0 siblings, 2 replies; 7+ messages in thread
From: Gary Thomas @ 2011-04-03 14:53 UTC (permalink / raw)
  To: Poky

I'm trying to debug some code which uses the openssl library, built from
the Poky mainline.  For some reason (not obvious to me), there is no debug
info for this library, which makes GDB pretty useless :-(

(gdb) info sharedlibrary
 From        To          Syms Read   Shared Object Library
0x40077790  0x4008f60c  Yes         /tmp/cobra_root/lib/ld-linux.so.3
0x401abf80  0x401d57d8  Yes (*)     /tmp/cobra_root/usr/lib/libssl.so.0.9.8
0x40225548  0x402cfbfc  Yes (*)     /tmp/cobra_root/usr/lib/libcrypto.so.0.9.8
0x400f28f8  0x4010cf90  Yes         /tmp/cobra_root/usr/lib/libpcap.so.1
0x40326340  0x4040e8d8  Yes         /tmp/cobra_root/lib/libc.so.6
0x401278fc  0x40128614  Yes         /tmp/cobra_root/lib/libdl.so.2
(*): Shared library is missing debugging information.

Any idea why these libraries don't have debg info?  how to get it?
Rebuilding that library with printf() is pretty tedious...

Thanks

-- 
------------------------------------------------------------
Gary Thomas                 |  Consulting for the
MLB Associates              |    Embedded world
------------------------------------------------------------


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

end of thread, other threads:[~2011-04-04 13:36 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-04-03 14:53 Missing debug info Gary Thomas
2011-04-03 19:56 ` Mark Hatle
2011-04-03 20:12   ` Gary Thomas
2011-04-04 13:07     ` Hatle, Mark
2011-04-04 13:36       ` Gary Thomas
2011-04-03 21:46 ` Richard Purdie
2011-04-04  1:25   ` Gary Thomas

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.