🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.gdb.bug
Article #10185

Re: gdb on sparc

#10185
From: Mark Henderson
Date: Tue, 24 Apr 1990 01:27
26 lines
1687 bytes
In article <9004240023.AA15715@npiatl.UUCP> npiatl!dkelly@GATECH.EDU (Dwight Kelly) writes:
>
>I config'd gdb 3.5 with
>
>  config.gdb sun4 os4
>
>then compiled.  When I try to step or next on a system call (i.e. fopen)
>gdb print etext() and starts saying there is no current pc.  If I type
>cont it starts executing again.  gdb 3.5 on the 386 does not behave this
>way.  I have tried compiling gdb with gcc 1.37.1 and Sun's cc.  Any ideas?
>
>Dwight Kelly
>Network Publications, Inc.

One possibility is that you're compiling your programmes with cc
and dynamic linking (the default)
If this is the case, try using 
cc -Bstatic prog.c
to compile.

Mark
--
Mark Henderson, Tektronix, Inc., MS 50-662, P.O. Box 500, Beaverton, OR 97077
Telephone: +1 503 627 6280  Voice Mail: +1 503 321 2865  FAX: +1 503 627 5502
INTERNET: markh@squirrel.labs.tek.com, 378-4996@mcimail.com  MCI MAIL: 378-4996
TELEX: 6503784996MCI UW   AT&T MAIL: !mchenderson   DASNet/BIX: [DCM1MC]MHEND
Technical Details
Message-ID: <6059@tekcrl.LABS.TEK.COM>
Path: arc1-ca.pugleaf.net!gmdzi!unido!mcsun!uunet!zephyr.ens.tek.com!tekcrl!squirrel!markh
References: <9004240023.AA15715@npiatl.UUCP>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f5053,4ca3663766ccb80c
X-Google-Attributes: gidf5053,public
X-Google-ArrivalTime: 1990-04-24 08:38:34 PST
Path: arc1-ca.pugleaf.net!gmdzi!unido!mcsun!uunet!zephyr.ens.tek.com!tekcrl!squirrel!markh
From: markh@squirrel.LABS.TEK.COM (Mark Henderson)
Newsgroups: gnu.gdb.bug
Subject: Re: gdb on sparc
Message-ID: <6059@tekcrl.LABS.TEK.COM>
Date: 24 Apr 90 01:27:19 GMT
References: <9004240023.AA15715@npiatl.UUCP>
Sender: news@tekcrl.LABS.TEK.COM
Reply-To: markh@squirrel.LABS.TEK.COM (Mark Henderson)
Distribution: gnu
Organization: Computer Research Laboratory, Tektronix, Inc., Beaverton OR
Lines: 26
Posted: Tue Apr 24 02:27:19 1990