Debug mode output broken

Jonathan Wakely cow@compsoc.man.ac.uk
Fri Aug 6 10:08:00 GMT 2004


On Fri, Aug 06, 2004 at 10:57:30AM +0100, Jonathan Wakely wrote:

> > Sorry for the trivial observation: are you building both the library and 
> > your
> > executable '-O0 -g'?
> 
> I did check that :-)
> 
> I configured the library with --enable-libstdcxx-debug and am compiling
> the exe with -g3 ... but I think gdb has been looking at the non-debug
> version of libstdc++.so, so I'm trying again and trying to make sure GDB
> looks in the right place. It might help  :-)

And now GDB bails because v5.3 can't handle DWARF2, which is the format
specified by the default --enable-libstdcxx-debug-flags configuration.

I might just wait until I'm at home, try it on Linux and then give up
'cause it works there  ;-)

I'll report back when I've figured out what I can use to make GDB happy,
rebuilt and retested. Might take some time before I get the chance to do
that.

jon

-- 
"Political satire became obsolete when Henry Kissinger was awarded the
 Nobel Prize."
	- Tom Lehrer



More information about the Libstdc++ mailing list