aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Carlton <carlton@bactrian.org>2004-03-17 17:35:54 +0000
committerDavid Carlton <carlton@bactrian.org>2004-03-17 17:35:54 +0000
commit8dfe89858d12044e6e66cf61d38cbcbb5a2311ba (patch)
treefdcd9546852b623f44b4a83a5aaa6a04aa18207d
parentd13d89fafafda1464982126425040e68730f152f (diff)
downloadfsf-binutils-gdb-8dfe89858d12044e6e66cf61d38cbcbb5a2311ba.zip
fsf-binutils-gdb-8dfe89858d12044e6e66cf61d38cbcbb5a2311ba.tar.gz
fsf-binutils-gdb-8dfe89858d12044e6e66cf61d38cbcbb5a2311ba.tar.bz2
2004-03-17 David Carlton <carlton@kealia.com>
* NEWS: Mention C++ nested types and namespaces
-rw-r--r--gdb/ChangeLog4
-rw-r--r--gdb/NEWS12
2 files changed, 16 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 74813bd..30209fe 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -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"
diff --git a/gdb/NEWS b/gdb/NEWS
index e676ce5..5d4ef06 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*