aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorSami Wagiaalla <swagiaal@redhat.com>2010-06-25 18:19:31 +0000
committerSami Wagiaalla <swagiaal@redhat.com>2010-06-25 18:19:31 +0000
commit4656f5c643397db4cad85a7a2d2da43d7e71a828 (patch)
tree1edcef61f32ee6707cab70f2a276b9e4d53979be /gdb
parentbc9f0842f1f46aa754b20c5f2e12e2fa035041e3 (diff)
downloadgdb-4656f5c643397db4cad85a7a2d2da43d7e71a828.zip
gdb-4656f5c643397db4cad85a7a2d2da43d7e71a828.tar.gz
gdb-4656f5c643397db4cad85a7a2d2da43d7e71a828.tar.bz2
Added NEWS entry about C++ improvements.
Diffstat (limited to 'gdb')
-rw-r--r--gdb/NEWS29
1 files changed, 29 insertions, 0 deletions
diff --git a/gdb/NEWS b/gdb/NEWS
index 1e1ea39..b286f1c 100644
--- a/gdb/NEWS
+++ b/gdb/NEWS
@@ -3,6 +3,35 @@
*** Changes since GDB 7.1
+* C++ Improvements:
+
+ ** Argument Dependent Lookup (ADL)
+
+ In C++ ADL lookup directs function search to the namespaces of its
+ arguments even if the namespace has not been imported.
+ For example:
+ namespace A
+ {
+ class B { };
+ void foo (B) { }
+ }
+ ...
+ A::B b
+ foo(b)
+ Here the compiler will search for `foo' in the namespace of 'b'
+ and find A::foo. GDB now supports this. This construct is commonly
+ used in the Standard Template Library for operators.
+
+ ** Improved User Defined Operator Support
+
+ In addition to member operators, GDB now supports lookup of operators
+ defined in a namespace and imported with a `using' directive, operators
+ defined in the global scope, operators imported implicitly from an
+ anonymous namespace, and the ADL operators mentioned in the previous
+ entry.
+ GDB now also supports proper overload resolution for all the previously
+ mentioned flavors of operators.
+
* Windows Thread Information Block access.
On Windows targets, GDB now supports displaying the Windows Thread