Problem debugging SOs
Kevin Buettner
kevinb@redhat.com
Fri Aug 23 07:53:00 GMT 2002
On Aug 23, 11:43am, Iztok wrote:
> Version 5.0
> Platform i386 Linux SuSE 7.0
>
> I've got situation when shared object is loaded at runtime via the
> dlopen function. GDB afterwards shows that the symbols from this shared
> object are loaded but when trying to step into the function from this SO
> nothing shows.
>
> Full debugging info is included in SO.
>
> How should I prepare the system to debug such SW ?
I think you may be seeing a linker bug. Newer versions of gdb have
a fix to work around the bug, but gdb-5.0 did not.
For more information, see the threads associated with:
http://sources.redhat.com/ml/gdb/2001-08/msg00221.html
http://sources.redhat.com/ml/gdb-patches/2001-09/msg00003.html
The simple fix is to update to a newer version of gdb. Either 5.2
or the current development sources should be fine.
Kevin
More information about the Gdb
mailing list