This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
gdb, c++ & namespaces
- From: Marcel Lanz <marcel dot lanz at ds9 dot ch>
- To: gdb at sources dot redhat dot com
- Date: Wed, 14 Jan 2004 11:16:07 +0100
- Subject: gdb, c++ & namespaces
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