🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.gdb.bug
Article #8857

gcc-1.40, -g, enums without tags

#8857
From: Byron Rakitzis
Date: Wed, 23 Sep 1992 15:10
18 lines
1074 bytes
[I am using gcc-1.40 under SunOS 4.1.1 on a sparc2.]

When I have

	enum {FOO};

"gcc -g -S" does not spit out a stab entry for this enum, whereas of
course it does with

	enum bogus {FOO};

I'm not aware if this just an omission, or whether the symbol table
format does not let you put out an untagged type, so I thought I'd let
you know.

Thanks for your time,

Byron.
Technical Details
Message-ID: <9209231510.AA27168@netapp.netapp.com>
Path: arc1-ca.pugleaf.net!sparky!uunet!charon.amdahl.com!pacbell.com!iggy.GW.Vitalink.COM!cs.widener.edu!umn.edu!spool.mu.edu!sdd.hp.com!swrinde!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!netapp.COM!byron

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f5053,26d63810ce521f07,start
X-Google-Attributes: gidf5053,public
X-Google-ArrivalTime: 1992-09-23 18:58:24 PST
Newsgroups: gnu.gdb.bug
Path: arc1-ca.pugleaf.net!sparky!uunet!charon.amdahl.com!pacbell.com!iggy.GW.Vitalink.COM!cs.widener.edu!umn.edu!spool.mu.edu!sdd.hp.com!swrinde!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!netapp.COM!byron
From: byron@netapp.COM (Byron Rakitzis)
Subject: gcc-1.40, -g, enums without tags
Message-ID: <9209231510.AA27168@netapp.netapp.com>
Sender: gnulists@ai.mit.edu
Organization: GNUs Not Usenet
Distribution: gnu
Date: Wed, 23 Sep 1992 15:10:01 GMT
Approved: bug-gdb@prep.ai.mit.edu
Lines: 19