Article View: gnu.g++.bug
Article #390Re: collect.c can't handle extended symbols
From: Piercarlo Grandi
Date: Sun, 03 Sep 1989 12:27
Date: Sun, 03 Sep 1989 12:27
25 lines
1471 bytes
1471 bytes
In article <4428@orca.WV.TEK.COM> andrew@frip.WV.TEK.COM (Andrew Klossner) writes:
collect.c doesn't deal correctly with extended symbols in COFF object
files, e.g., the output from 'gcc -g' or 'g++ -g0'.
As I do not like symbolic debuggers (I vastly prefer
instrumenting the source, or assembler debuggers to look at
system dependent problems), I have not bothered much with the
various problems of '-g0' for 'g++' under system V.
However, here is another one: 'g++' allows arguments to
procedures to be unnamed; no name is generated for them in the
symtab entry, and the assembler complains about illegal syntax. A
'fake' name ought to be generated.
Reproduce-by:
main(auto int, auto char *argv[])
{
}
--
Piercarlo "Peter" Grandi | ARPA: pcg%cs.aber.ac.uk@nsfnet-relay.ac.uk
Dept of CS, UCW Aberystwyth | UUCP: ...!mcvax!ukc!aber-cs!pcg
Penglais, Aberystwyth SY23 3BZ, UK | INET: pcg@cs.aber.ac.uk
Technical Details
Message-ID:
<PCG.89Sep3132719@thor.cs.aber.ac.uk>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!csd4.csd.uwm.edu!cs.utexas.edu!uunet!mcsun!ukc!dcl-cs!aber-cs!thor!pcgReferences:
<4428@orca.WV.TEK.COM>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!csd4.csd.uwm.edu!cs.utexas.edu!uunet!mcsun!ukc!dcl-cs!aber-cs!thor!pcg From: pcg@thor.cs.aber.ac.uk (Piercarlo Grandi) Newsgroups: gnu.g++.bug Subject: Re: collect.c can't handle extended symbols Message-ID: <PCG.89Sep3132719@thor.cs.aber.ac.uk> Date: 3 Sep 89 12:27:19 GMT References: <4428@orca.WV.TEK.COM> Sender: pcg@aber-cs.UUCP Organization: Coleg Prifysgol Cymru Lines: 25 In-reply-to: andrew@frip.WV.TEK.COM's message of 1 Sep 89 23:28:45 GMT