2004-03-17 David Carlton <carlton@kealia.com>
authorDavid Carlton <carlton@bactrian.org>
Wed, 17 Mar 2004 17:35:54 +0000 (17:35 +0000)
committerDavid Carlton <carlton@bactrian.org>
Wed, 17 Mar 2004 17:35:54 +0000 (17:35 +0000)
* NEWS: Mention C++ nested types and namespaces

gdb/ChangeLog
gdb/NEWS

index 74813bd3b0dd7d33b79447364120a94c1f862bd7..30209fec5aeac95a8d6d249e1289a5a0f3678a45 100644 (file)
@@ -1,3 +1,7 @@
+2004-03-17  David Carlton  <carlton@kealia.com>
+
+       * NEWS: Mention C++ nested types and namespaces
+
 2004-03-16  Michael Chastain  <mec.gnu@mindspring.com>
 
        * PROBLEMS: Add section headers, "Regressions since gdb 6.0"
index e676ce539fbcb55583cdfb29b70a87fd4a698255..5d4ef067185290705a332a93039729037b0d6504 100644 (file)
--- 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*