aboutsummaryrefslogtreecommitdiff
path: root/gdb/NEWS
diff options
context:
space:
mode:
authorTom Tromey <tromey@redhat.com>2008-09-27 21:40:49 +0000
committerTom Tromey <tromey@redhat.com>2008-09-27 21:40:49 +0000
commit2fae03e85bab97b883120cf0f5dbaacad2dd141f (patch)
treeb20a29c9e4d8df98c7d4472fc190e308a568f6fd /gdb/NEWS
parent5c6ce71d76dc5618b6ebfc967e5c4b99d701ef50 (diff)
downloadgdb-2fae03e85bab97b883120cf0f5dbaacad2dd141f.zip
gdb-2fae03e85bab97b883120cf0f5dbaacad2dd141f.tar.gz
gdb-2fae03e85bab97b883120cf0f5dbaacad2dd141f.tar.bz2
gdb
* NEWS: Update. * macrocmd.c (extract_identifier): Add is_parameter argument. (macro_define_command): Update. (macro_undef_command): Likewise. * macroexp.c (stringify): New function. (find_parameter): Likewise. (gather_arguments): Add nargs argument. Handle varargs. (substitute_args): Add is_varargs and va_arg_name arguments. Handle varargs, splicing, stringification. Use find_parameter. (expand): Handle varargs. gdb/doc * gdb.texinfo (Macros): Remove text about stringification, varargs, and splicing. gdb/testsuite * gdb.base/macscp.exp: Add tests for stringification, splicing, and varargs.
Diffstat (limited to 'gdb/NEWS')
-rw-r--r--gdb/NEWS4
1 files changed, 4 insertions, 0 deletions
diff --git a/gdb/NEWS b/gdb/NEWS
index 4c9af82..46aa1448 100644
--- a/gdb/NEWS
+++ b/gdb/NEWS
@@ -22,6 +22,10 @@ For instance, consider:
If the user types TAB at the end of this command line, the available
completions will be "f1" and "f2".
+* GDB now supports the token-splicing (##) and stringification (#)
+operators when expanding macros. It also supports variable-arity
+macros.
+
* New remote packets
qSearch:memory: