From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 23764 invoked by alias); 24 Jul 2013 22:01:34 -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 23735 invoked by uid 89); 24 Jul 2013 22:01:33 -0000 X-Spam-SWARE-Status: No, score=-1.4 required=5.0 tests=AWL,BAYES_50,RCVD_IN_DNSWL_LOW,RCVD_IN_HOSTKARMA_YE,RDNS_NONE,SPF_PASS autolearn=no version=3.3.1 Received: from Unknown (HELO mail-gh0-f202.google.com) (209.85.160.202) by sourceware.org (qpsmtpd/0.84/v0.84-167-ge50287c) with ESMTP; Wed, 24 Jul 2013 22:01:10 +0000 Received: by mail-gh0-f202.google.com with SMTP id g24so91904ghb.5 for ; Wed, 24 Jul 2013 15:01:02 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=from:to:subject:date:message-id:mime-version:content-type :x-gm-message-state; bh=orNL3dkYkdp5Q0OxScOh4YmcqI1m0kAYShAoBeCs0Gw=; b=lmMHBcU784NVPoipQu+SP2FxXTw4g3GI/M7QaqafymrrdZM0Y6Nu4hO91614DbUguO rs1ouBOMH+AesIoFraEYntI/wjUMiXWH3xk0lM1I5B/VlHL34Rbr93IUqXCtMpm4zN7r HxnekTruGkO4wf7qk/9Xxi/RVCSOJiSstTy43aKJCAngk33JGLMtLU15upuFTK5IrtfG 0lRAWHrS1X1z99aN0/v3FHoBCRqUmdMw4jSIuDGyQ2V4YgLgYuQg+vLIQ33Mdv5nuo7E f9lryL4E95G6s6HR5183A+Gs9cRSc5OCa+bhLDdJzcG7XHsn9gpgnwpmv9rpS3OMU7PW n2oQ== X-Received: by 10.236.41.103 with SMTP id g67mr21540968yhb.45.1374703262559; Wed, 24 Jul 2013 15:01:02 -0700 (PDT) Received: from corp2gmr1-2.hot.corp.google.com (corp2gmr1-2.hot.corp.google.com [172.24.189.93]) by gmr-mx.google.com with ESMTPS id c45si10334638yhm.2.2013.07.24.15.01.02 for (version=TLSv1.1 cipher=AES128-SHA bits=128/128); Wed, 24 Jul 2013 15:01:02 -0700 (PDT) Received: from ruffy.mtv.corp.google.com (ruffy.mtv.corp.google.com [172.17.128.44]) by corp2gmr1-2.hot.corp.google.com (Postfix) with ESMTP id 27C535A430C for ; Wed, 24 Jul 2013 15:01:02 -0700 (PDT) From: Doug Evans To: gdb-patches@sourceware.org Subject: [commit] native-stdio-gdbserver.exp: pass "--" to switch Date: Wed, 24 Jul 2013 22:01:00 -0000 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Gm-Message-State: ALoCoQl2GOVLzQ/fgL/iGzocGOyy5Pm67zHdeonWESLbjkeSCycycM0TCz3mcw9Vs5B1Xd+wYG3owEBqnIa/QMp72TlGHZj4/WWFUF6XEb9wb7EnptRdSXIm5akl6nnh7gy6xByUfBJjQrfnDOO7CfxGeAjQFAwmmH6L13Jp7rwaDn9P4XKHkMYsGgPQSxRxAKbRU8HxGL3BV3FqFA2LQO4Fz1jUgloC2z9OFCISirKXLFJjkjrz6x8= X-SW-Source: 2013-07/txt/msg00584.txt.bz2 Hi. It's odd that some Tcls don't complain, or I would have noticed this sooner. Tested on amd64-linux and committed. 2013-07-24 Doug Evans * boards/native-stdio-gdbserver.exp (${board}_build_remote_cmd): Pass "--" to switch. Index: boards/native-stdio-gdbserver.exp =================================================================== RCS file: /cvs/src/src/gdb/testsuite/boards/native-stdio-gdbserver.exp,v retrieving revision 1.8 diff -u -p -r1.8 native-stdio-gdbserver.exp --- boards/native-stdio-gdbserver.exp 7 Jul 2013 08:52:39 -0000 1.8 +++ boards/native-stdio-gdbserver.exp 24 Jul 2013 21:54:46 -0000 @@ -60,7 +60,7 @@ proc ${board}_build_remote_cmd { cmd } { for { set i 1 } { $i < $len } { incr i } { set elm [lindex $cmd $i] - switch $elm { + switch -- $elm { --multi { set args "$args $elm" }