From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 26642 invoked by alias); 14 Jan 2004 10:16:09 -0000 Mailing-List: contact gdb-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sources.redhat.com Received: (qmail 26586 invoked from network); 14 Jan 2004 10:16:08 -0000 Received: from unknown (HELO prometheus.ds9.ch) (212.101.16.178) by sources.redhat.com with SMTP; 14 Jan 2004 10:16:08 -0000 Received: by prometheus.ds9.ch (Postfix, from userid 502) id DFD21FAE1; Wed, 14 Jan 2004 11:16:07 +0100 (MET) Date: Wed, 14 Jan 2004 10:16:00 -0000 From: Marcel Lanz To: gdb@sources.redhat.com Subject: gdb, c++ & namespaces Message-ID: <20040114101607.GE21220@ds9.ch> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.3.28i X-SW-Source: 2004-01/txt/msg00173.txt.bz2 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