This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
Re: can't find class named `foo', as given by C++ RTTI
- To: Benjamin Kosnik <bkoz at redhat dot com>
- Subject: Re: can't find class named `foo', as given by C++ RTTI
- From: Daniel Berlin <dan at cgsoftware dot com>
- Date: Thu, 28 Jun 2001 01:25:28 -0400
- Cc: gdb at sources dot redhat dot com
- References: <200106280455.f5S4t6T07564@fillmore.constant.com>
Benjamin Kosnik <bkoz@redhat.com> writes:
> This is a new class of errors that I've started seeing recently. I'm
> getting this from debugging efforts on x86/linux with current CVS
> 'src' and 'gcc' modules. For what it's worth, both --with-dwarf2 and
> default toolchains have the same error.
>
>
> (gdb) p *__fp
> can't find class named `std::numpunct<char>', as given by C++ RTTI
This is no surprise.
Without namespace support in the symbol table, sometimes the names
aren't quite correct.
5 to 1 says ptype 'numpunct<char>' works.
It's good to not have to worry about this stuff anymore.
I think i'll go implement dwarf2.1 namespace support in gcc.
That way, I can at least say "Well, we output the info, but gdb can't
use it".
>
>
> ??
>
> -benjamin
--
"Every so often, I like to stick my head out the window, look up,
and smile for a satellite picture.
"-Steven Wright