aboutsummaryrefslogtreecommitdiff
path: root/gdb/NEWS
diff options
context:
space:
mode:
authorTom Tromey <tromey@redhat.com>2010-08-17 21:34:12 +0000
committerTom Tromey <tromey@redhat.com>2010-08-17 21:34:12 +0000
commitdef98928e22649fe7ef628b866293a402b3891a8 (patch)
tree98fc112e9f4b77a2f4c32b6ba87138d472f88563 /gdb/NEWS
parent36e6adc4a7e5b11ff3d6f727bb2f94ca4cc2386f (diff)
downloadgdb-def98928e22649fe7ef628b866293a402b3891a8.zip
gdb-def98928e22649fe7ef628b866293a402b3891a8.tar.gz
gdb-def98928e22649fe7ef628b866293a402b3891a8.tar.bz2
* NEWS: Mention template parameter support.
Diffstat (limited to 'gdb/NEWS')
-rw-r--r--gdb/NEWS11
1 files changed, 11 insertions, 0 deletions
diff --git a/gdb/NEWS b/gdb/NEWS
index 83e8603..bf37ed8 100644
--- a/gdb/NEWS
+++ b/gdb/NEWS
@@ -12,6 +12,17 @@
result = some_value (10,20)
+* C++ Improvements:
+
+ ** GDB now puts template parameters in scope when debugging in an
+ instantiation. For example, if you have:
+
+ template<int X> int func (void) { return X; }
+
+ then if you step into func<5>, "print X" will show "5". This
+ feature requires proper debuginfo support from the compiler; it
+ was added to GCC 4.5.
+
* GDB now has some support for using labels in the program's source in
linespecs. For instance, you can use "advance label" to continue
execution to a label.