From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 3171 invoked by alias); 21 May 2014 21:48:37 -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 3162 invoked by uid 89); 21 May 2014 21:48:36 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.8 required=5.0 tests=AWL,BAYES_00,SPF_PASS autolearn=ham version=3.3.2 X-HELO: usevmg20.ericsson.net Received: from usevmg20.ericsson.net (HELO usevmg20.ericsson.net) (198.24.6.45) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES256-SHA encrypted) ESMTPS; Wed, 21 May 2014 21:48:35 +0000 Received: from EUSAAHC008.ericsson.se (Unknown_Domain [147.117.188.96]) by usevmg20.ericsson.net (Symantec Mail Security) with SMTP id E8.F0.27529.27FCC735; Wed, 21 May 2014 18:08:19 +0200 (CEST) Received: from simark-hp.mo.ca.am.ericsson.se (147.117.188.8) by smtps-am.internal.ericsson.com (147.117.188.96) with Microsoft SMTP Server (TLS) id 14.3.174.1; Wed, 21 May 2014 17:48:30 -0400 From: Simon Marchi To: CC: Simon Marchi Subject: [PATCH] Add comment for mi_run_cmd_full Date: Wed, 21 May 2014 21:48:00 -0000 Message-ID: <1400708905-14184-1-git-send-email-simon.marchi@ericsson.com> MIME-Version: 1.0 Content-Type: text/plain X-IsSubscribed: yes X-SW-Source: 2014-05/txt/msg00521.txt.bz2 It should clear up confusion about the args parameter to mi_run_cmd_full. If you have a better wording, let me know, I am not so good at that english thing. gdb/testsuite/ChangeLog: 2014-05-21 Simon Marchi * lib/mi-support.exp (mi_run_cmd_full): Add comments. --- gdb/testsuite/lib/mi-support.exp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/gdb/testsuite/lib/mi-support.exp b/gdb/testsuite/lib/mi-support.exp index 6d011b9..26015dc 100644 --- a/gdb/testsuite/lib/mi-support.exp +++ b/gdb/testsuite/lib/mi-support.exp @@ -806,6 +806,12 @@ proc mi_gdb_test { args } { # In patterns, the newline sequence ``\r\n'' is matched explicitly as # ``.*$'' could swallow up output that we attempt to match elsewhere. +# use_mi_command selects whether MI or CLI commands are used by the +# procedure. +# args is passed to the command used to run the test program, "run" or +# "-exec-run", depending on the value of use_mi_command. Therefore, if +# use_mi_command is false, they are effectively args to the test program. +# If use_mi_command is true, they are simply arguments to -exec-run. proc mi_run_cmd_full {use_mi_command args} { global suppress_flag if { $suppress_flag } { -- 2.0.0.rc0