Usenet comp.sys.dec (1990-2013)
 help / color / mirror / Atom feed
* c++ compiler and debugger
@ 1998-01-16  5:00 siamgod
  1998-01-16  5:00 ` Jeffrey J. Potoff
  1998-01-19  5:00 ` Jeff Diewald
  0 siblings, 2 replies; 3+ messages in thread
From: siamgod @ 1998-01-16  5:00 UTC (permalink / raw)



 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




^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~1998-01-19  5:00 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1998-01-16  5:00 c++ compiler and debugger siamgod
1998-01-16  5:00 ` Jeffrey J. Potoff
1998-01-19  5:00 ` Jeff Diewald

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox