summaryrefslogtreecommitdiff
path: root/gdb
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
commit10a80e150f7aa0be24f45464279831dea42177b3 (patch)
tree0e4b3a1e68f60b1038921c072528ff0e9015726c /gdb
parent75d1081bf203c80979e777dd9a877d794fa2f6f3 (diff)
downloadgdb-10a80e150f7aa0be24f45464279831dea42177b3.tar.gz
2004-03-17 David Carlton <carlton@kealia.com>
* NEWS: Mention C++ nested types and namespaces
Diffstat (limited to 'gdb')
-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 74813bd3b0d..30209fec5ae 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 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*