🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.gdb.bug
Article #10118

Can't compile gdb 3.5 on Pyramid

#10118
From: paul a steckler
Date: Thu, 24 May 1990 01:17
32 lines
2054 bytes
I tried compiling gdb 3.5 on our Pyramid98X without
success.    

BTW, config.gdb expected files named "pyramid-<mumble>" rather
than "pyr-<mumble>" as provided in the distribution.

I tried both gcc 1.36 and the native C compiler, but I 
got similar error messages during the final link:

---

rm -f init.c
./munch  main.o blockframe.o breakpoint.o findvar.o stack.o source.o  values.o eval.o valops.o valarith.o valprint.o printcmd.o  symtab.o symmisc.o coffread.o dbxread.o infcmd.o infrun.o remote.o  command.o utils.o expread.o expprint.o pinsn.o environ.o version.o  copying.o  core.o inflow.o dep.o > init.c
cc -I.  -g  -o gdb init.c main.o blockframe.o breakpoint.o findvar.o stack.o source.o  values.o eval.o valops.o valarith.o valprint.o printcmd.o  symtab.o symmisc.o coffread.o dbxread.o infcmd.o infrun.o remote.o  command.o utils.o expread.o expprint.o pinsn.o environ.o version.o  copying.o  core.o inflow.o dep.o readline/libreadline.a obstack.o   malloc.o -ltermcap 
Undefined:
_alloca
_reg_stack_offset
_last_frame_offset
_global_reg_offset
*** Exit 1

---

I believe the missing _alloca was not a problem for the compile with
gcc 1.36, but the other symbols were still missing.  

Also, what does it mean that "GDB on Pyramids works only with GCC",
as stated in config.gdb?  Does that mean it must be compiled with 
gcc, or that output from, say, g++, is not debuggable?


-- Paul Steckler
Technical Details
Message-ID: <9005240117.AA09792@bleys.CCS.Northeastern.EDU>
Path: arc1-ca.pugleaf.net!gmdzi!unido!mcsun!uunet!tut.cis.ohio-state.edu!BLEYS.CCS.NORTHEASTERN.EDU!steck

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f5053,c1f9a9831b2ab117,start
X-Google-Attributes: gidf5053,public
X-Google-ArrivalTime: 1990-05-23 23:33:12 PST
Path: arc1-ca.pugleaf.net!gmdzi!unido!mcsun!uunet!tut.cis.ohio-state.edu!BLEYS.CCS.NORTHEASTERN.EDU!steck
From: steck@BLEYS.CCS.NORTHEASTERN.EDU (paul a steckler)
Newsgroups: gnu.gdb.bug
Subject: Can't compile gdb 3.5 on Pyramid
Message-ID: <9005240117.AA09792@bleys.CCS.Northeastern.EDU>
Date: 24 May 90 01:17:45 GMT
Sender: daemon@tut.cis.ohio-state.edu
Distribution: gnu
Organization: GNUs Not Usenet
Lines: 32
Posted: Thu May 24 02:17:45 1990