From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 15506 invoked by alias); 17 Mar 2004 06:11:29 -0000 Mailing-List: contact gdb-patches-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sources.redhat.com Received: (qmail 15498 invoked from network); 17 Mar 2004 06:11:28 -0000 Received: from unknown (HELO monty-python.gnu.org) (199.232.76.173) by sources.redhat.com with SMTP; 17 Mar 2004 06:11:28 -0000 Received: from [207.232.27.5] (helo=WST0054) by monty-python.gnu.org with asmtp (Exim 4.30) id 1B3UGk-0004KY-NP; Wed, 17 Mar 2004 01:11:10 -0500 Date: Wed, 17 Mar 2004 06:11:00 -0000 Message-ID: From: Eli Zaretskii To: David Carlton CC: gdb-patches@sources.redhat.com,drow@mvista.com In-reply-to: (message from David Carlton on Tue, 16 Mar 2004 16:29:06 -0800) Subject: Re: [patch/rfc] mention C++ support in NEWS Reply-to: Eli Zaretskii References: <6654-Wed11Feb2004213143+0200-eliz@elta.co.il> X-SW-Source: 2004-03.o/txt/msg00382.txt Message-ID: <20040317061100.ctGnzA4akqUfDVYtO50T3ucpueFEpLehwfwgvUNgoGU@z> > From: David Carlton > Date: Tue, 16 Mar 2004 16:29:06 -0800 > > > IMHO, this text is okay, but perhaps it will sound much more useful if > > you add some examples of situations where GDB previously didn't work, > > and now does. > > That's a good point. How about: > > GDB's support for nested types and namespaces in C++ has been > improved, especially if you use the DWARF 2 debugging format. (This > is the default for recent versions of GCC on most platforms.) > Specifically, if you have a class "Inner" defined within a class or > namespace "Outer", then GDB realizes that the class's name is > "Outer::Inner", not simply "Inner". This should greatly reduce the > frequency of complaints about not finding RTTI symbols. In > addition, if you are stopped at inside of a function defined within > a namespace, GDB modifies its name lookup accordingly. This is okay with me. > I'm still not entirely thrilled with it, especially that last > sentence; I don't want to go into _too_ many details, but I'm not sure > I've found the right balance. I think your text strikes the right balance, one that is appropriate to NEWS.