From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 27449 invoked by alias); 14 Jan 2004 13:49:22 -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 27442 invoked from network); 14 Jan 2004 13:49:21 -0000 Received: from unknown (HELO prometheus.ds9.ch) (212.101.16.178) by sources.redhat.com with SMTP; 14 Jan 2004 13:49:21 -0000 Received: by prometheus.ds9.ch (Postfix, from userid 502) id 2FFFAFAE1; Wed, 14 Jan 2004 14:49:20 +0100 (MET) Date: Wed, 14 Jan 2004 13:49:00 -0000 From: Marcel Lanz To: Michael Elizabeth Chastain Cc: gdb@sources.redhat.com Subject: Re: gdb, c++ & namespaces Message-ID: <20040114134920.GA29776@ds9.ch> References: <20040114120213.684F44B104@berman.michael-chastain.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20040114120213.684F44B104@berman.michael-chastain.com> User-Agent: Mutt/1.3.28i X-SW-Source: 2004-01/txt/msg00179.txt.bz2 I have gdb-6.0 now. same compiler. dp is a pointer to a instance like: DatagramPacket* dp; on the prompt I do: (netsilicon-gdb) print *dp warning: can't find class named `tnos::net::DatagramPacket', as given by C++ RTTI $2 = {_vptr.DatagramPacket = 0xeffb0, ia = 0x206548, isa = 0x206690, buffer = 0x206558 "", bufferLength = 0xff, length = 0xff} tnos::net::DatagramPacket is a class in the namespace tnos::net any ideas ? I've read about two debug formats: stabs and dwarf. In the manual of Mr. Stallman, stabs is recommended "for best results" with c++. regards Marcel On Wed, Jan 14, 2004 at 07:02:13AM -0500, Michael Elizabeth Chastain wrote: > > But It would be interesting to me to know why it fails ? just a line. > > Honestly, we have so much work to do for gdb 6.0 and gdb 6.1, > it's unlikely that anyone will want to diagnose a problem with > gdb 5.2.1. So you might get a response to this, but don't be > surprised if you don't. > > Michael C > GDB QA Guy -- 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