gdb namespaces/wrapper bug?
Daniel Jacobowitz
drow@mvista.com
Thu Jan 15 14:49:00 GMT 2004
On Thu, Jan 15, 2004 at 01:37:45PM +0100, Klaas Gadeyne wrote:
> namespace BASE
> {
> class Foo
> namespace WRAPPED
> {
> class Foo : public BASE::Foo
> This compiles and runs just fine (compile wrapper_object.cpp, compile
> wrapper.cpp linking with wrapper_object.o), but when debugging the code
> with gdb (I only tried with both 5.3-debian and 6.0-debian (the latest
> from testing and unstable)) and trying to display the mywrapped variable,
> gdb enters in a infinite loop:
>
> (gdb) display mywrapped
> 1: mywrapped = {<Foo> = {<Foo> = ....
>
> and finally segfaults.
Could you try CVS gdb? I think the segfault has been fixed. I may be
mistaken about that, though. This is related to
lookup_transparent_type, which David has been doing some work on (and
has more pending).
--
Daniel Jacobowitz
MontaVista Software Debian GNU/Linux Developer
More information about the Gdb
mailing list