🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.gdb.bug
Article #2036

Visibility into Shared Object files

#2036
From: Stu Rae
Date: Mon, 13 May 2002 17:28
21 lines
1863 bytes
I am unable to debug a shared object file using GDB on a Solaris machine
using
 gcc-2.95.2 and the default Solaris 'ld' utility ( Solaris-ELF 4.0) as well
as GDB 5.0.

 I have two shared object files; one is 'C', the other is 'C++' (with extern
'C')

 I am able to see into the 'C' .so file, but I am not able to see into the
'C++' .so file.

 I compile both with the '-g' debug option. I load both with the '-Wl,-G'
load options.
 The 'C' code works. The 'C++' does not.

 Can someone please give me some insight into this problem. I am will to try
most
 anything to get this resolved, I just don't know enough to figure out what
to do next.

 - Thanx  Stu
Technical Details
Message-ID: <udvtugn4kf5418@news.supernews.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!bloom-beacon.mit.edu!nycmny1-snh1.gtei.net!cpk-news-hub1.bbnplanet.com!news.gtei.net!nntp.abs.net!uunet!dca.uu.net!ash.uu.net!spool0901.news.uu.net!wendy-fate.uu.net!news.supernews.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f5053,e076776098f514f2,start
X-Google-Attributes: gidf5053,public
X-Google-ArrivalTime: 2002-05-13 11:17:23 PST
x-uunet-gateway: mr1.ash.ops.us.uu.net from bug-gdb to gnu.gdb.bug; Mon, 13 May 2002 18:17:23 GMT
X-Authentication-Warning: pa-01.supernews.net: news set sender to nntp-bounce@supernews.net using -f
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!bloom-beacon.mit.edu!nycmny1-snh1.gtei.net!cpk-news-hub1.bbnplanet.com!news.gtei.net!nntp.abs.net!uunet!dca.uu.net!ash.uu.net!spool0901.news.uu.net!wendy-fate.uu.net!news.supernews.com!not-for-mail
From: "Stu Rae" <srae@charter.net>
Subject: Visibility into Shared Object files
Date: Mon, 13 May 2002 13:28:45 -0400
Organization: Posted via Supernews, http://www.supernews.com
Message-ID: <udvtugn4kf5418@news.supernews.com>
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.50.4133.2400
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400
X-Complaints-To: newsabuse@supernews.com
Approved: bug-gdb-request@mail.gnu.org
Newsgroups: gnu.gdb.bug
Sender: bug-gdb-request@mail.gnu.org
Lines: 24