Usenet comp.sys.dec (1990-2013)
 help / color / mirror / Atom feed
* Re: c++ compiler and debugger
  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
  1 sibling, 0 replies; 3+ messages in thread
From: Jeffrey J. Potoff @ 1998-01-16  5:00 UTC (permalink / raw)



What version of DU are you using ?   I had problems getting 
the gnu C++ complier to compile, but I was able to get it to
work with a couple of minor edits to the source.  Gdb compiled
right out of the box, if I remember right.  Let me know
specifically what your problems were and maybe I can help
you out.

Jeff


siamgod@siam.bwi.wec.com wrote:
> 
>  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?
>



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

* 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

* Re: c++ compiler and debugger
  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
  1 sibling, 0 replies; 3+ messages in thread
From: Jeff Diewald @ 1998-01-19  5:00 UTC (permalink / raw)



siamgod@siam.bwi.wec.com wrote:
> 
> Are there any tricks to getting ladebug to work on c++ code?
> 
> <examples of errors deleted>

Ravi,

   I know that Ladebug has made several fixes in this area in the
past.  You don't say what version of Ladebug, the compiler, or 
Digital Unix that you're using.  The solution may be as simple as
getting a newer version of the debugger.  We're up to version 4.0-44.

   Just FYI, Ladebug is written in C++, and we use Ladebug to debug
itself.
-----------------------------------------------------------------------
Jeff Diewald			EASYNET:   VIRRUS::DIEWALD
Ladebug group			INTERNET:  diewald@zko.dec.com
Digital Equipment Corp.

Note: I don't read every article in this group.  If you have debugger 
questions, I may be able to get you an answer.  You're much more likely
to get an answer if you put "Ladebug" somewhere in your subject line.



^ 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