From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 24391 invoked by alias); 17 Mar 2004 17:39:41 -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 24049 invoked from network); 17 Mar 2004 17:39:37 -0000 Received: from unknown (HELO hawaii.kealia.com) (209.3.10.89) by sources.redhat.com with SMTP; 17 Mar 2004 17:39:37 -0000 Received: by hawaii.kealia.com (Postfix, from userid 2049) id 7886AC6B2; Wed, 17 Mar 2004 09:39:37 -0800 (PST) To: gdb-patches@sources.redhat.com Subject: Re: [patch/rfc] mention C++ support in NEWS References: <6654-Wed11Feb2004213143+0200-eliz@elta.co.il> <20040317173230.GA9547@nevyn.them.org> From: David Carlton Date: Wed, 17 Mar 2004 17:39:00 -0000 In-Reply-To: <20040317173230.GA9547@nevyn.them.org> (Daniel Jacobowitz's message of "Wed, 17 Mar 2004 12:32:30 -0500") Message-ID: User-Agent: Gnus/5.1002 (Gnus v5.10.2) XEmacs/21.4 (Reasonable Discussion, linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-SW-Source: 2004-03.o/txt/msg00392.txt Message-ID: <20040317173900.ngoAp9kxajDjIpLLZMe13WgTAxFJ_rD9_QPuOyQn6Zk@z> On Wed, 17 Mar 2004 12:32:30 -0500, Daniel Jacobowitz said: > On Wed, Mar 17, 2004 at 08:13:31AM +0200, Eli Zaretskii wrote: >> This is okay with me. > And with me also. Thanks, David! Thanks everybody for the feedback; committed to mainline and 6.1. David Carlton carlton@kealia.com 2004-03-17 David Carlton * NEWS: Mention C++ nested types and namespaces Index: NEWS =================================================================== RCS file: /cvs/src/src/gdb/NEWS,v retrieving revision 1.139 diff -u -p -r1.139 NEWS --- NEWS 13 Mar 2004 13:11:53 -0000 1.139 +++ NEWS 17 Mar 2004 17:34:24 -0000 @@ -38,6 +38,18 @@ GDB support for location expressions has arguments and frame bases. Older versions of GDB could crash when they encountered these. +* C++ nested types and namespaces + +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. + * New native configurations NetBSD/amd64 x86_64-*-netbsd*