🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.gdb.bug
Article #10015

Re: It's pretty irritating......next steps into libc routines

#10015
From: Daryll Strauss
Date: Thu, 11 Oct 1990 19:58
28 lines
1761 bytes
In article <9010111641.AA01622@dingus.>, murf@dingus.sps.mot.com (Steve Murphy) writes:
|> GDB3.5
|> sunos 4.0.3
|> 
|> also gdb 3.4
|> sunos 4.0.3
|> sunos3.5
|> 
|> code compiled with sunx' cc.
|> 
|> 
|> Wouldn't you get irritated? Look at this session:
|> 

Very simple, don't compile with shared libraries. GCC never uses shared
libraries. The problem is that the way the library call is made changes
when you use shared libraries and gdb doesn't know how to deal with it.
For cc the switch is -Bstatic.

						- |Daryll

-------------------------------------------------------------------------------
Daryll Strauss          			f	The Aerospace Corp.
strauss@aero.org		      		n	Mail Stop: M1-102
...!uunet!aero.org!strauss			o	P.O. Box 92957
                                                r       Los Angeles, Ca. 90009
"MY opinions. You here me? They're mine!"    	d	(213) 336-9358
-------------------------------------------------------------------------------
Technical Details
Message-ID: <88368@aerospace.AERO.ORG>
Path: arc1-ca.pugleaf.net!gmdzi!unido!isaak!escher!nadia!smurf!ira.uka.de!sol.ctr.columbia.edu!cica!tut.cis.ohio-state.edu!AERO.ORG!strauss
References: <9010111641.AA01622@dingus.>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f5053,da965c1e88d3e46a
X-Google-Attributes: gidf5053,public
X-Google-ArrivalTime: 1990-10-11 12:58:11 PST
Path: arc1-ca.pugleaf.net!gmdzi!unido!isaak!escher!nadia!smurf!ira.uka.de!sol.ctr.columbia.edu!cica!tut.cis.ohio-state.edu!AERO.ORG!strauss
From: strauss@AERO.ORG (Daryll Strauss)
Newsgroups: gnu.gdb.bug
Subject: Re: It's pretty irritating......next steps into libc routines
Message-ID: <88368@aerospace.AERO.ORG>
Date: 11 Oct 90 19:58:11 GMT
References: <9010111641.AA01622@dingus.>
Sender: daemon@tut.cis.ohio-state.edu
Reply-To: strauss@aero.org (Daryll Strauss)
Distribution: gnu
Organization: The Aerospace Corporation
Lines: 28
Approved: bug-gdb@prep.ai.mit.edu
Posted: Thu Oct 11 20:58:11 1990