gdb, c++ & namespaces

Marcel Lanz marcel.lanz@ds9.ch
Wed Jan 14 14:26:00 GMT 2004


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



More information about the Gdb mailing list