🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.gdb.bug
Article #2039

Re: Visibility into Shared Object files

#2039
From: Jim Blandy
Date: Mon, 13 May 2002 23:40
42 lines
2271 bytes
Are you using the latest release, GDB 5.2?  If not, please try that
out.

If the problem still occurs there, you'll need to give us a specific
example of what's going wrong.  That is:
- a complete test program that we can build and try to debug ourselves,
- a transcript showing the GDB behavior you're seeing, and
- an (brief) explanation of why the behavior is wrong, if it's not
  obvious.

"Stu Rae" <srae@charter.net> writes:

> 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
> 
> 
> 
> 
> _______________________________________________
> Bug-gdb mailing list
> Bug-gdb@gnu.org
> http://mail.gnu.org/mailman/listinfo/bug-gdb
Technical Details
Message-ID: <npadr31urm.fsf@zwingli.cygnus.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!bug-gdb
References: <udvtugn4kf5418@news.supernews.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f5053,e076776098f514f2
X-Google-Attributes: gidf5053,public
X-Google-ArrivalTime: 2002-05-13 16:40:58 PST
x-uunet-gateway: sjc3sosrv11.alter.net from bug-gdb to gnu.gdb.bug; Mon, 13 May 2002 23:40:54 GMT
Sender: jimb@zwingli.cygnus.com
Subject: Re: Visibility into Shared Object files
References: <udvtugn4kf5418@news.supernews.com>
From: jimb@redhat.com (Jim Blandy)
Date: 13 May 2002 18:40:45 -0500
Message-ID: <npadr31urm.fsf@zwingli.cygnus.com>
User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.1
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Approved: bug-gdb-request@mail.gnu.org
Newsgroups: gnu.gdb.bug
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!bug-gdb
Lines: 42