From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1164f8,b7cc28dfebcd75b,start X-Google-Attributes: gid1164f8,public From: siamgod@siam.bwi.wec.com () Subject: c++ compiler and debugger Date: 1998/01/16 Message-ID: #1/1 X-Deja-AN: 316603497 Sender: news%mother@mdnews.md.essd.northgrum.com X-Nntp-Posting-Host: 155.104.214.112 Organization: Northrop Grumman Corporation, Baltimore, MD Newsgroups: comp.sys.dec The subject of this post says it all. All I want is a working c++ compiler and debugger for my alpha. cxx compiles my code but ladebug gives me errors when I try to debug it. dbx doesn't support c++ on the alpha. I tried to download and build the gnu compiler, libraries, and debugger but got errors when building the libraries. Can anyone point me to a pre-built distribution of the gnu compiler? Are there any tricks to getting ladebug to work on c++ code? Here is an example of the errors: [1] stopped at [void main(int, char**):185 0x1202e404c] 185 SIAM->OpenConfigFile(); (ladebug) print SIAM scopeArray->getEntry(193) == NULLfor symbol [GenericObj] in file [./SourceCode/Headers/FileIO.h, #38] scopeArray->getEntry(193) == NULLfor symbol [GenericObj] in file [./SourceCode/Headers/SIAMNodes.h, #1289] scopeArray->getEntry(193) == NULLfor symbol [GenericObj] in file [./SourceCode/Headers/FileIO.h, #1283] scopeArray->getEntry(193) == NULLfor symbol [GenericObj] in file [./SourceCode/Headers/CommStuff.h, #229] scopeArray->getEntry(193) == NULLfor symbol [GenericObj] in file [./SourceCode/Headers/Sensor.h, #76] scopeArray->getEntry(17115) == NULLfor symbol [BitFieldMsgObj] in file [./SourceCode/Headers/CommStuff.h, #229] scopeArray->getEntry(193) == NULLfor symbol [GenericObj] in file [./SourceCode/Headers/CommStuff.h, #229] scopeArray->getEntry(193) == NULLfor symbol [GenericObj] in file [./SourceCode/Headers/BigSets.h, #58] scopeArray->getEntry(6935) == NULLfor symbol [xd_base_c] in file [./SourceCode/SunSpecific/xdclass.h, #89] where SIAM is a pointer to an object. If I try to print the contents of the object, I get even more errors: (ladebug) print *SIAM class { Assertion failed: enumType() == e_tag src/libsrc/ladebug/type.C 623 This is an unexpected condition and may indicate the presence of a defect. If you wish to report this, please include the stack trace that follows. etc., etc., Any help would be greatly appreciated: ravi ravi@siam.md.essd.northgrum.com