]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit - gdb/testsuite/gdb.base/macscp.exp
gdb
authorTom Tromey <tromey@redhat.com>
Sat, 27 Sep 2008 21:40:49 +0000 (21:40 +0000)
committerTom Tromey <tromey@redhat.com>
Sat, 27 Sep 2008 21:40:49 +0000 (21:40 +0000)
commit2fae03e85bab97b883120cf0f5dbaacad2dd141f
treeb20a29c9e4d8df98c7d4472fc190e308a568f6fd
parent5c6ce71d76dc5618b6ebfc967e5c4b99d701ef50
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.
gdb/ChangeLog
gdb/NEWS
gdb/doc/ChangeLog
gdb/doc/gdb.texinfo
gdb/macrocmd.c
gdb/macroexp.c
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.base/macscp.exp