[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Symbols in Shared Libraries
From: |
Volker |
Subject: |
Symbols in Shared Libraries |
Date: |
14 Feb 2002 02:18:11 -0800 |
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?
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Symbols in Shared Libraries,
Volker <=