Subject: g++ and gdb
To: None <amiga@NetBSD.ORG>
From: Calvin <diavolo@azure.engin.umich.edu>
List: amiga
Date: 09/24/1995 04:37:54
I'm having some difficulties with using gdb debugging c++ programs 
compiled using g++.  It sets breakpoints fine, and steps through the 
programs without a problem, but if I try to "print" variables ... it'll 
print the wrong values and segfault a few lines later.  I'm using the g++ 
that came with the 1.0 distribution.  Anybody else successfully gdb'd a 
c++ program?  Thanks.

--
 o/ \o/  o  <o   o  o   o    She walks in  beauty, like the night
<|   |  /|\  |> <|><|> <|\       Of cloudless climes and starry skies;
/|  / \  /| / \ //  \\ / \   And all that's best of dark and bright
""""""""""""""""""""""""""""     Meet in her aspect and her eyes.  (Byron)