From patchwork Mon Oct 13 02:24:48 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yao Qi X-Patchwork-Id: 3211 Received: (qmail 11293 invoked by alias); 13 Oct 2014 02:29:15 -0000 Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org Delivered-To: mailing list gdb-patches@sourceware.org Received: (qmail 11282 invoked by uid 89); 13 Oct 2014 02:29:14 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.7 required=5.0 tests=AWL, BAYES_00 autolearn=ham version=3.3.2 X-HELO: relay1.mentorg.com Received: from relay1.mentorg.com (HELO relay1.mentorg.com) (192.94.38.131) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Mon, 13 Oct 2014 02:29:12 +0000 Received: from svr-orw-fem-04.mgc.mentorg.com ([147.34.97.41]) by relay1.mentorg.com with esmtp id 1XdVNl-0005j6-J3 from Yao_Qi@mentor.com for gdb-patches@sourceware.org; Sun, 12 Oct 2014 19:29:09 -0700 Received: from qiyao.dyndns.org.com (147.34.91.1) by svr-orw-fem-04.mgc.mentorg.com (147.34.97.41) with Microsoft SMTP Server id 14.3.181.6; Sun, 12 Oct 2014 19:29:09 -0700 From: Yao Qi To: Subject: [PATCH] Don't check noargs in remotetimeout.exp Date: Mon, 13 Oct 2014 10:24:48 +0800 Message-ID: <1413167088-14327-1-git-send-email-yao@codesourcery.com> MIME-Version: 1.0 X-IsSubscribed: yes The condition [target_info exists noargs] is checked when remotetimeout.exp was added https://sourceware.org/ml/gdb-patches/2005-02/msg00052.html noargs means GDB does not support argument passing for inferior, rather than doesn't support argument passing to GDB (remotetimeout.exp passes -l to GDB). This patch is to remove such unnecessary checking, and remotetimeout.exp then can be run with native-gdbserver board file. gdb/testsuite: 2014-10-13 Yao Qi * gdb.base/remotetimeout.exp: Remove noargs checking. --- gdb/testsuite/gdb.base/remotetimeout.exp | 5 ----- 1 file changed, 5 deletions(-) diff --git a/gdb/testsuite/gdb.base/remotetimeout.exp b/gdb/testsuite/gdb.base/remotetimeout.exp index b19deec..c1f511c 100644 --- a/gdb/testsuite/gdb.base/remotetimeout.exp +++ b/gdb/testsuite/gdb.base/remotetimeout.exp @@ -21,11 +21,6 @@ global GDBFLAGS -# Skip test if target does not support argument passing. -if [target_info exists noargs] { - return -} - # # Test that -l is processed correctly. #