Thread View: gnu.gdb.bug
1 messages
1 total messages
Started by Volker
Thu, 14 Feb 2002 10:18
Symbols in Shared Libraries
Author: Volker
Date: Thu, 14 Feb 2002 10:18
Date: Thu, 14 Feb 2002 10:18
30 lines
2163 bytes
2163 bytes
GDB 5.1.1 (hppa1.1-hp-hpux10.20), I am trying to debug a program under HPUX 10.20, which dynamically links in about all of its code, but I can't seem to get the symbols for the shared libraries. They include debugging info done by the HPUX compiler (we are not allowed to use GCC because of internal standards). I try to laod in the libraries via: (gdb) sharedlibrary libshutko.sl warning: The shared libraries were not privately mapped; setting a breakpoint in a shared library will not work until you rerun the program. Debugging dynamic executables loaded via the hpux8 dld.sl is not supported. (gdb) run Starting program: /tmp_mnt/ausp9/routing/v130/shutko/hpp/ugraf warning: Unable to find _DLD_HOOK symbol in object file. warning: Suggest linking with /usr/lib/end.o. warning: GDB will be unable to track shl_load/shl_unload calls ---------- But the symbols are apparently not mapped. The only way I can get the symbols loaded in is by doing symbol-file libwhatever.sl. I would link in /usr/lib/end.o, but that file doesn't appear to exist. Any ideas what is wrong?
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads