From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 57215 invoked by alias); 9 Nov 2016 00:19:44 -0000 Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org Received: (qmail 57151 invoked by uid 89); 9 Nov 2016 00:19:44 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-4.8 required=5.0 tests=BAYES_00,RP_MATCHES_RCVD,SPF_HELO_PASS autolearn=ham version=3.3.2 spammy=lifting X-HELO: mx1.redhat.com Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Wed, 09 Nov 2016 00:19:33 +0000 Received: from int-mx10.intmail.prod.int.phx2.redhat.com (int-mx10.intmail.prod.int.phx2.redhat.com [10.5.11.23]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id C886E8F271 for ; Wed, 9 Nov 2016 00:19:32 +0000 (UTC) Received: from cascais.lan (ovpn01.gateway.prod.ext.ams2.redhat.com [10.39.146.11]) by int-mx10.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id uA90JVUh022260 for ; Tue, 8 Nov 2016 19:19:32 -0500 From: Pedro Alves To: gdb-patches@sourceware.org Subject: [PATCH v2 0/5] Support an "unlimited" number of user-defined arguments Date: Wed, 09 Nov 2016 00:19:00 -0000 Message-Id: <1478650771-24430-1-git-send-email-palves@redhat.com> X-SW-Source: 2016-11/txt/msg00193.txt.bz2 As I mentioned at , the patch at 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