This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
[PATCH v2 0/5] Support an "unlimited" number of user-defined arguments
- From: Pedro Alves <palves at redhat dot com>
- To: gdb-patches at sourceware dot org
- Date: Wed, 9 Nov 2016 00:19:26 +0000
- Subject: [PATCH v2 0/5] Support an "unlimited" number of user-defined arguments
- Authentication-results: sourceware.org; auth=none
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