From def98928e22649fe7ef628b866293a402b3891a8 Mon Sep 17 00:00:00 2001 From: Tom Tromey Date: Tue, 17 Aug 2010 21:34:12 +0000 Subject: [PATCH] * NEWS: Mention template parameter support. --- gdb/ChangeLog | 4 ++++ gdb/NEWS | 11 +++++++++++ 2 files changed, 15 insertions(+) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 0e44e2973fe..e8c4a613cc1 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,7 @@ +2010-08-17 Tom Tromey + + * NEWS: Mention template parameter support. + 2010-08-17 Pedro Alves PR breakpoints/11371 diff --git a/gdb/NEWS b/gdb/NEWS index 83e8603541e..bf37ed8397a 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 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. -- 2.30.2