gdb, c++ & namespaces

Marcel Lanz
2004-01-14T10:16:09Z

I have a C++ program using namespaces.
If I try to display a pointer to an instance like

sys::net::UDPSocket* s;

I get the following error from gdb (trough ddd):

can't find class named sys::net::UDPSocket, as given by C++ RTTI

If I have a reference to such an instance. No problem.
I use -g to compile with debug information.

Is there a limitation for namespace support in gdb, g++ ?

-V outputs:
GNU gdb 5.2.1
gcc version 3.3.1
ddd 3.3.1

--
Marcel Lanz
http://www.ds9.ch/lanz/
marcel.lanz@ds9.ch | marcel.lanz@n-1.ch
GnuPG: F975 C6F7 04C8 642B 6DF4 4DF4 2945 F02A 797E 7DAB