Article View: gnu.gcc.help
Article #53579Problems with GCC under DbxTool??
From: Alan Bair
Date: Fri, 01 Nov 1991 17:59
Date: Fri, 01 Nov 1991 17:59
24 lines
1993 bytes
1993 bytes
I have gcc 1.40 installed for our SPARCs under SunOS 4.1.1 and have started seeing some strange behavior while using DbxTool. We recently switch most of our machines to SPARCs, so I suspect it is related to this, since we never saw the problem with the Sun3 machines. The problem seems to be related to DbxTool reading the symbol table information and getting confused. If the code is compiled under the Sun cc, DbxTool is able to interpret a variables type with no problems (it knows whether a variable is an array, struct, etc.). If the same code is compiled under gcc and then debugged under DbxTool, the interpretation of some variables is completely wrong. In one case the print command produced a struc listing for a variable declared as char **. The struct listing had several members and looked real nice, but it sure was not what the variable was meant to be. Since this happens in a rather unpredictable way, I don't have any nice clear small examples to pass along. I have not checked to see if any other debuggers (gdb, Saber-C) have similar problems. I have read this group for a few weeks to see if anyone else noticed this, but have seen nothing, so I decided to post this request for help. -- Alan Bair SSDT Logic Synthesis, Motorola, Inc. Simulation & Test Austin, Texas abair@ssdt-oakhill.sps.mot.com
Technical Details
Message-ID:
<ABAIR.91Nov1115933@turbinia.sps.mot.com>Path:
arc1-ca.pugleaf.net!gmdzi!zeus.ieee.org!sdd.hp.com!swrinde!cs.utexas.edu!oakhill!oakhill!abairShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 11318c,1e1eae039ac342df,start X-Google-Attributes: gid11318c,public X-Google-ArrivalTime: 1991-11-01 11:41:00 PST Path: arc1-ca.pugleaf.net!gmdzi!zeus.ieee.org!sdd.hp.com!swrinde!cs.utexas.edu!oakhill!oakhill!abair From: abair@turbinia.sps.mot.com (Alan Bair) Newsgroups: gnu.gcc.help Subject: Problems with GCC under DbxTool?? Message-ID: <ABAIR.91Nov1115933@turbinia.sps.mot.com> Date: 1 Nov 91 17:59:33 GMT Sender: news@oakhill.sps.mot.com Distribution: gnu Organization: SSDT, Motorola Inc., Austin, Texas. Lines: 24 Nntp-Posting-Host: turbinia