🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.gcc.help
Article #52957

gcc-2.0 and sun dbx

#52957
From: Chuck Strickland
Date: Wed, 25 Mar 1992 19:26
39 lines
2248 bytes
 since building gcc-2.0 I cant get sun dbx to debug the output files.
 Is this possible. I could not find and option to allow this in the
 distribution. the error i get is

 % dbx userprog
Reading symbolic information...
dbx: internal error: 
Your executable file contains corrupt symbol information:
The debugger expected to find char '=', but found char '<nul>'.

This problem originated in compilation, assembly, archiving, or linking.
Rebuilding your program often clears this problem.

To investigate further, try shell command nm(2) to see symbols:
   nm -opa yourprog >somefile
'yourprog' is your executable file or object file or archive.
Edit somefile, and search for ''.

Debugger unable to proceed.
recompile, reassemble, rearchive, or relink, and try again.
 
        when processing stabs from source ../src/userprog.c in userprog 


 Second question:
 so I tried using xxgdb version 1.04 with gdb 4.4. But it wont display any
 source files. A quick debug session with dbx showed that the directory
 list it is using is all null pointers. Thus it obviously cant find the files.
 It should be using at least the current directory but isnt. is version 1.04 hte
 lastest release of xxgdb. BTW gdb at the command level works fine.

 thanks.
-- 
*_*_*_*_*_*_*_*_*_*_*_*_*_*_*_*_*_*_*_*_*_*_*_*_*_*_*_*_*_*_*_*_*_*_*_*_*_*_*_*
Malcolm C. Strickland                 Martin Marietta Electronic Systems
chuck-strickland@orl.mmc.com          mail point 1304    
Phone: 407-356-5909                   pobox 628007
Fax:   407-356-8944                   orlando florida 32862-8007
*_*_*_*_*_*_*_*_*_*_*_*_*_*_*_*_*_*_*_*_*_*_*_*_*_*_*_*_*_*_*_*_*_*_*_*_*_*_*_*
Technical Details
Message-ID: <1992Mar25.192648.3616@iplmail.orl.mmc.com>
Path: arc1-ca.pugleaf.net!sparky!uunet!cis.ohio-state.edu!magnus.acs.ohio-state.edu!csn!news.den.mmc.com!iplmail!chucks

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 11318c,ead56313f3ccf55d
X-Google-Attributes: gid11318c,public
X-Google-ArrivalTime: 1992-03-25 11:26:48 PST
Newsgroups: gnu.gcc.help
Path: arc1-ca.pugleaf.net!sparky!uunet!cis.ohio-state.edu!magnus.acs.ohio-state.edu!csn!news.den.mmc.com!iplmail!chucks
From: chucks@iplmail.orl.mmc.com (Chuck Strickland)
Subject: gcc-2.0 and sun dbx
Message-ID: <1992Mar25.192648.3616@iplmail.orl.mmc.com>
Sender: chucks@iplmail (Chuck Strickland)
Organization: Martin Marietta
Date: Wed, 25 Mar 1992 19:26:48 GMT