Article View: gnu.gcc.help
Article #51994Re: Problems debugging with gcc-2.3.3
From: M.T.Russell
Date: Tue, 09 Feb 1993 21:53
Date: Tue, 09 Feb 1993 21:53
31 lines
2060 bytes
2060 bytes
In article <DARREN.93Feb2190200@tuba.geo.ucalgary.ca> darren@geo.ucalgary.ca (Darren Foltinek) writes: >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. Thanks for the backhanded plug for ups :-) >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) This is due to gcc emitting symbol table entries for certain enum declarations that contain either empty names or names with white space characters at the start. I have added a workaround for this in ups. You can get the patch by anonymous FTP from unix.hensa.ac.uk. The patch file path is: /misc/unix/ups/ups-2.45-to-2.45.2.patch There is also a compressed tar file containing the complete 2.45.2 release - ups-2.45.2.tar.Z in the same directory. The gcc workaround is the only difference between releases 2.45 and 2.45.2 of ups. >And dbx displays bogus values of variables, even right after they've >been assigned. This doesn't sound like the same problem to me, although I know nothing about the internals of dbx. Mark
Technical Details
Message-ID:
<2443@raven.ukc.ac.uk>Path:
arc1-ca.pugleaf.net!sparky!uunet!stanford.edu!agate!doc.ic.ac.uk!pipex!bnr.co.uk!uknet!rook.ukc.ac.uk!raven.ukc.ac.uk!mtrReferences:
<DARREN.93Feb2190200@tuba.geo.ucalgary.ca>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 11318c,f0be4ff3f697d965 X-Google-Attributes: gid11318c,public X-Google-Thread: f44bc,f9f14fdc6eab4ed0 X-Google-Attributes: gidf44bc,public X-Google-ArrivalTime: 1993-02-09 13:53:40 PST Path: arc1-ca.pugleaf.net!sparky!uunet!stanford.edu!agate!doc.ic.ac.uk!pipex!bnr.co.uk!uknet!rook.ukc.ac.uk!raven.ukc.ac.uk!mtr From: mtr@ukc.ac.uk (M.T.Russell) Newsgroups: gnu.gcc.help Subject: Re: Problems debugging with gcc-2.3.3 Message-ID: <2443@raven.ukc.ac.uk> Date: 9 Feb 93 21:53:40 GMT References: <DARREN.93Feb2190200@tuba.geo.ucalgary.ca> Reply-To: mtr@ukc.ac.uk (M.T.Russell) Distribution: gnu Organization: Computing Lab, University of Kent at Canterbury, UK. Lines: 31 Nntp-Posting-Host: raven.ukc.ac.uk