Article View: gnu.gdb.bug
Article #10154Re: COFF symbol reading problem
From: John R. Levine
Date: Wed, 28 Mar 1990 16:37
Date: Wed, 28 Mar 1990 16:37
22 lines
1811 bytes
1811 bytes
In article <1990Mar28.135444.12665@granite.cr.bull.com> kittlitz@granite.cr.bull.com (Edward N. Kittlitz) writes:
>I have experienced the same problem with ESIX while trying to debug
>emacs problems. I believe I got around the problem by compiling the
>offending module using the supplied cc.
Minor permutations of symbol order make the bug appear and disappear. I was
able to circumvent it in gcc by moving the failing enum definition from the
middle of the source file to the beginning.
>I suspect the bug lies in some common ATT source.
The problem is pretty clearly in the 386/ix linker, which I believe 386/ix
took unmodified from the common AT&T distribution. (Since ISC did the port
for AT&T, you could equally say that AT&T uses ISC's linker. You get the
idea.)
As far as I can tell, if you apply the patch I sent, gdb can read any symbol
table that the linker puts out.
--
John R. Levine, Segue Software, POB 349, Cambridge MA 02238, +1 617 864 9650
johnl@esegue.segue.boston.ma.us, {ima|lotus|spdcc}!esegue!johnl
"Now, we are all jelly doughnuts."
Technical Details
Message-ID:
<1990Mar28.163706.2474@esegue.segue.boston.ma.us>Path:
arc1-ca.pugleaf.net!gmdzi!unido!mcsun!uunet!snorkelwacker!spdcc!esegue!johnlReferences:
<1990Mar27.195402.5339@esegue.segue.boston.ma.us> <1990Mar28.135444.12665@granite.cr.bull.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f5053,f5315168aca7ec9 X-Google-Attributes: gidf5053,public X-Google-ArrivalTime: 1990-03-28 08:37:06 PST Path: arc1-ca.pugleaf.net!gmdzi!unido!mcsun!uunet!snorkelwacker!spdcc!esegue!johnl From: johnl@esegue.segue.boston.ma.us (John R. Levine) Newsgroups: gnu.gdb.bug Subject: Re: COFF symbol reading problem Message-ID: <1990Mar28.163706.2474@esegue.segue.boston.ma.us> Date: 28 Mar 90 16:37:06 GMT References: <1990Mar27.195402.5339@esegue.segue.boston.ma.us> <1990Mar28.135444.12665@granite.cr.bull.com> Reply-To: johnl@esegue.segue.boston.ma.us (John R. Levine) Distribution: gnu Organization: Segue Software, Cambridge MA Lines: 22 Posted: Wed Mar 28 17:37:06 1990