[PATCH v2 0/5] Support an "unlimited" number of user-defined arguments

Pedro Alves
2016-11-09T00:19:44Z

As I mentioned at
<https://sourceware.org/ml/gdb-patches/2016-11/msg00173.html>, the
patch at <https://sourceware.org/ml/gdb-patches/2016-10/msg00576.html>
is now expanded into a series of its own. Hence the "v2".

Patches #1 - #4 are all new and are preparatory patches for patch #5,
which is is the same patch as the old one, but simplified a bit
further by assuming C++11, and now with a test included.

Patch #3 stands on its own right. The lifting of the limit of number
of arguments makes it a necessity rather than just a nice-to-have,
though. This patch includes docs/NEWS changes.

Pedro Alves (5):
gdb/testsuite: Introduce "proc_with_prefix"
Further cleanup/modernization of gdb.base/commands.exp
Fix PR 20559 - "eval" command and $arg0...$arg9/$argc substitution
Test user-defined gdb commands and arguments stack
Support an "unlimited" number of user-defined arguments

gdb/doc/gdb.texinfo | 22 +-
gdb/NEWS | 15 +
gdb/cli/cli-script.c | 202 ++++++------
gdb/cli/cli-script.h | 6 +
gdb/printcmd.c | 3 +
gdb/testsuite/gdb.base/commands.exp | 621 ++++++++++++++++++++++++------------
gdb/testsuite/lib/gdb.exp | 17 +
7 files changed, 593 insertions(+), 293 deletions(-)

--
2.5.5