This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
Re: gdb, c++ & namespaces
- From: Marcel Lanz <marcel dot lanz at ds9 dot ch>
- To: Michael Elizabeth Chastain <mec dot gnu at mindspring dot com>
- Cc: gdb at sources dot redhat dot com
- Date: Wed, 14 Jan 2004 15:26:28 +0100
- Subject: Re: gdb, c++ & namespaces
- References: <20040114141730.72F934B104@berman.michael-chastain.com>
Hi Michael
> That warning is sometimes harmless if the data fields are what you
> expect. Are they?
(netsilicon-gdb) print *dp->isa
warning: can't find class named `tnos::net::DatagramPacket', as given by C++ RTTI
warning: can't find class named `tnos::net::DatagramPacket', as given by C++ RTTI
warning: can't find class named `tnos::net::DatagramPacket', as given by C++ RTTI
warning: can't find class named `tnos::net::InetSocketAddress', as given by C++ RTTI
$5 = warning: can't find class named `tnos::net::InetSocketAddress', as given by C++ RTTI
{_vptr.InetSocketAddress = 0xeff78, port = 0x8094, inetAddress =
0x2066a0}
Yes. they do. DDD told me, that he wouldn't like to display the object:
Disabling display 2 to avoid infinite recursion
In the console, I see the fields, beside the warning. so it seems that
ist usable for me.
Best regards
Marcel