🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.gdb.bug
Article #2701

Symbols in Shared Libraries

#2701
From: Volker
Date: Thu, 14 Feb 2002 10:18
30 lines
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?
Technical Details
Message-ID: <52a60377.0202140218.526bbde0@posting.google.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!supernews.com!news-x2.support.nl!news2.euro.net!uunet!ash.uu.net!spool0901.news.uu.net!wendy-fate.uu.net!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f5053,33a049fc19a8a27e,start
X-Google-Attributes: gidf5053,public
X-Google-ArrivalTime: 2002-02-14 02:19:18 PST
x-uunet-gateway: mr0.ash.ops.us.uu.net from bug-gdb to gnu.gdb.bug; Thu, 14 Feb 2002 10:19:16 GMT
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!supernews.com!news-x2.support.nl!news2.euro.net!uunet!ash.uu.net!spool0901.news.uu.net!wendy-fate.uu.net!not-for-mail
From: vhal_me2@yahoo.de (Volker)
Subject: Symbols in Shared Libraries
Date: 14 Feb 2002 02:18:11 -0800
Organization: http://groups.google.com/
Message-ID: <52a60377.0202140218.526bbde0@posting.google.com>
NNTP-Posting-Host: 194.45.145.17
Content-Type: text/plain; charset=GB2312
Content-Transfer-Encoding: 8bit
X-Trace: posting.google.com 1013681891 7729 127.0.0.1 (14 Feb 2002 10:18:11 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: 14 Feb 2002 10:18:11 GMT
Approved: bug-gdb-request@mail.gnu.org
Newsgroups: gnu.gdb.bug
Sender: bug-gdb-request@mail.gnu.org
Lines: 30