From 8dfe89858d12044e6e66cf61d38cbcbb5a2311ba Mon Sep 17 00:00:00 2001 From: David Carlton Date: Wed, 17 Mar 2004 17:35:54 +0000 Subject: [PATCH] 2004-03-17 David Carlton * NEWS: Mention C++ nested types and namespaces --- gdb/ChangeLog | 4 ++++ gdb/NEWS | 12 ++++++++++++ 2 files changed, 16 insertions(+) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 74813bd3b0d..30209fec5ae 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,7 @@ +2004-03-17 David Carlton + + * NEWS: Mention C++ nested types and namespaces + 2004-03-16 Michael Chastain * PROBLEMS: Add section headers, "Regressions since gdb 6.0" diff --git a/gdb/NEWS b/gdb/NEWS index e676ce539fb..5d4ef067185 100644 --- a/gdb/NEWS +++ b/gdb/NEWS @@ -38,6 +38,18 @@ GDB support for location expressions has been extended to support function 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* -- 2.30.2