🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.gdb.bug
Article #9988

Re: annoying behaviour on SPARCs

#9988
From: cygint!gnu
Date: Tue, 18 Sep 1990 20:51
15 lines
1308 bytes
The problem of seeing things happen at etext+XXXX occurs when gdb
doesn't have symbols for part of the address space where it finds the
program executing.  This is a shared library problem.  GDB compounds
the problem by claiming it will single-step to the end of the procedure
and then sometimes doing something different.

GDB-4.0 will have SunOS shared library support, courtesy of
Schaefer@asc.slb.com.  At the moment, this support is not pretty, but
it works better.  I hope to make it work better by GDB-4.0.

In the meantime, the easiest circumvention is to link programs statically
if you want to debug them with gdb (link with "cc -Bstatic" or "ld -Bstatic").
If you compile with gcc -g, it already does this.

	John
Technical Details
Message-ID: <9009182051.AA11013@cygnus.com>
Path: arc1-ca.pugleaf.net!gmdzi!unido!mcsun!uunet!tut.cis.ohio-state.edu!LABREA.STANFORD.EDU!cygint!gnu

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f5053,16c28cf68ae3e966
X-Google-Attributes: gidf5053,public
X-Google-ArrivalTime: 1990-09-18 13:51:14 PST
Path: arc1-ca.pugleaf.net!gmdzi!unido!mcsun!uunet!tut.cis.ohio-state.edu!LABREA.STANFORD.EDU!cygint!gnu
From: cygint!gnu@LABREA.STANFORD.EDU
Newsgroups: gnu.gdb.bug
Subject: Re: annoying behaviour on SPARCs
Message-ID: <9009182051.AA11013@cygnus.com>
Date: 18 Sep 90 20:51:14 GMT
Sender: daemon@tut.cis.ohio-state.edu
Distribution: gnu
Organization: GNUs Not Usenet
Lines: 15
Posted: Tue Sep 18 21:51:14 1990