🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.gcc.help
Article #52949

dbx & gcc2.1

#52949
From: Eric Brown
Date: Thu, 23 Apr 1992 23:02
26 lines
1588 bytes
Please note: reply address: ebrown@tap.kodak.com

Is there a way to get sun's dbx to work with gcc2.1?

With gcc 1.38, I had no problems debugging my code with
sun's dbx.  Now, with 2.1, dbx always craps out with:
/packages/lang/dbx: internal error: forward reference error, fileindex -1 typeindex 18, curchar "=xsAIRStruct:" 
	when processing stabs from source /export/home/ebrown/projects/ic/ic.c in ic

This is when I tried compiling with -g.  I also tried -gstabs with
the same result.  I'm testing the unbundled dbx - the bundled one didn't
even work with gcc 1.38.

Note, I use gdb4.4, it's just my co-workers who use dbx and need to
debug a library I'm now compiling with gcc2.1.  I guess I could go
back to gcc 1.38.

If anybody has a solution, please let me know.

Also, is there any plans to for gdb to recognize programs compiled
with cfront & sun cc?

Thanks, Eric Brown.
ebrown@tap.kodak.com
--
Technical Details
Message-ID: <EBROWN.92Apr23190251@bud_light.eastman>
Path: arc1-ca.pugleaf.net!sparky!uunet!cis.ohio-state.edu!zaphod.mps.ohio-state.edu!think.com!spool.mu.edu!agate!stanford.edu!hsdndev!spdcc!dirtydog.ima.isc.com!ispd-newsserver!kodak!eastman!ebrown

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 11318c,2a10a7cb42661110,start
X-Google-Attributes: gid11318c,public
X-Google-ArrivalTime: 1992-04-23 16:02:51 PST
Path: arc1-ca.pugleaf.net!sparky!uunet!cis.ohio-state.edu!zaphod.mps.ohio-state.edu!think.com!spool.mu.edu!agate!stanford.edu!hsdndev!spdcc!dirtydog.ima.isc.com!ispd-newsserver!kodak!eastman!ebrown
From: ebrown@bud_light.eastman (Eric Brown)
Newsgroups: gnu.gcc.help
Subject: dbx & gcc2.1
Message-ID: <EBROWN.92Apr23190251@bud_light.eastman>
Date: 23 Apr 92 23:02:51 GMT
Article-I.D.: bud_ligh.EBROWN.92Apr23190251
Sender: news@eastman.UUCP
Organization: Eastman Kodak Company
Lines: 26