Article View: gnu.gcc.help
Article #52109Problems debugging with gcc-2.3.3
From: Darren Foltinek
Date: Wed, 03 Feb 1993 00:02
Date: Wed, 03 Feb 1993 00:02
38 lines
2003 bytes
2003 bytes
Since installing the 2.3.3 version of gcc, I have not been able to run
debuggers on most of the programs I've compiled with gcc.
Both the UPS debugger (plug: A GREAT debugger) and xdbxtool (dbx) fail.
UPS fails with the following error whenever I attempt to print a variable:
Fatal interal error: bad name in parse_name (aborting) ...
Dumping core ... IOT trap (core dumped)
And dbx displays bogus values of variables, even right after they've
been assigned.
The problems appear as soon as the program begin execution, ie right
after main(), so I know that its not a user program memory-overwriting
problem.
Versions of things:
Sun Sparcstation (1+), SunOS 4.1.2
ups 2.45
gcc 2.3.3
openwindows 3.0
Compiler options:
gcc -g (nothing fancy here!)
I have not been able to nail down any nice small bits of code that will
reproduce this problem, but even a fairly small (30k) library I have here
will confuse it.
Any guidance in solving this would be much appreciated, otherwise I'll
have to revert to the old version of gcc!
Thanks,
Darren Foltinek (darren@geo.ucalgary.ca)
System Engineer,
CREWES Project, Department of Geology & Geophysics
University of Calgary
Technical Details
Message-ID:
<DARREN.93Feb2190200@tuba.geo.ucalgary.ca>Path:
arc1-ca.pugleaf.net!sparky!uunet!spool.mu.edu!torn!utcsri!newsflash.concordia.ca!mizar.cc.umanitoba.ca!access.usask.ca!kakwa.ucs.ualberta.ca!acs.ucalgary.ca!geo.ucalgary.ca!darrenShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 11318c,f0be4ff3f697d965,start X-Google-Attributes: gid11318c,public X-Google-ArrivalTime: 1993-02-02 16:02:00 PST Newsgroups: gnu.gcc.help Path: arc1-ca.pugleaf.net!sparky!uunet!spool.mu.edu!torn!utcsri!newsflash.concordia.ca!mizar.cc.umanitoba.ca!access.usask.ca!kakwa.ucs.ualberta.ca!acs.ucalgary.ca!geo.ucalgary.ca!darren From: darren@geo.ucalgary.ca (Darren Foltinek) Subject: Problems debugging with gcc-2.3.3 Sender: news@acs.ucalgary.ca (USENET News System) Message-ID: <DARREN.93Feb2190200@tuba.geo.ucalgary.ca> Date: Wed, 3 Feb 1993 00:02:00 GMT Distribution: gnu Nntp-Posting-Host: tuba.geo.ucalgary.ca Organization: Geology & Geophysics, University of Calgary, Canada Lines: 38