This is the mail archive of the gdb@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: gdb, c++ & namespaces


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]