Mail Archives: djgpp/2001/01/31/03:42:16
On Wed, 31 Jan 2001 dcasale AT my-deja DOT com wrote:
> In RHIDE using the gstabs debugging switch, I'm able to access class
> member variables, but _only_ if they're not base class variables being
> accessed inside a derived class.
In general, whenever GDB can make any sense from a C++ program, you
should be grateful, since any serious debugging of C++ code without
dwarf2 debug info is pretty much broken.
Hopefully, DJGPP will support dwarf2 in some not-too-distant future.
> Is this a known bug/feature?
I guess so.
> Is there any workaround?
Try compiling and linking with -gstabs+ instead of -gstabs. If that
doesn't help, I think you will have to resort to printf-style debugging.
- Raw text -