From patchwork Tue Jun 3 05:27:18 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yao Qi X-Patchwork-Id: 1254 Received: (qmail 22395 invoked by alias); 3 Jun 2014 05:29:29 -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 22377 invoked by uid 89); 3 Jun 2014 05:29:28 -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; Tue, 03 Jun 2014 05:29:27 +0000 Received: from svr-orw-fem-01.mgc.mentorg.com ([147.34.98.93]) by relay1.mentorg.com with esmtp id 1WrhHn-0007Q6-Gm from Yao_Qi@mentor.com ; Mon, 02 Jun 2014 22:29:23 -0700 Received: from SVR-ORW-FEM-05.mgc.mentorg.com ([147.34.97.43]) by svr-orw-fem-01.mgc.mentorg.com over TLS secured channel with Microsoft SMTPSVC(6.0.3790.4675); Mon, 2 Jun 2014 22:29:23 -0700 Received: from qiyao.dyndns.org (147.34.91.1) by svr-orw-fem-05.mgc.mentorg.com (147.34.97.43) with Microsoft SMTP Server id 14.2.247.3; Mon, 2 Jun 2014 22:28:44 -0700 Message-ID: <538D5CB6.2000607@codesourcery.com> Date: Tue, 3 Jun 2014 13:27:18 +0800 From: Yao Qi User-Agent: Mozilla/5.0 (X11; Linux i686; rv:24.0) Gecko/20100101 Thunderbird/24.4.0 MIME-Version: 1.0 To: Pedro Alves CC: Subject: [PATCH OBV] Fix regexp pattern in gdb.base/default.exp (Re: [PATCH 0.5/8] Rename "target child" to "target native".) References: <1395069784-7406-1-git-send-email-palves@redhat.com> <53272A8C.8080706@redhat.com> In-Reply-To: <53272A8C.8080706@redhat.com> X-IsSubscribed: yes On 03/18/2014 01:02 AM, Pedro Alves wrote: > -#test target child > -gdb_test "target child" "Use the \"run\" command to start a child process.*|Undefined target command: \"child\". *Try \"help target\".*" "target child" > +#test target native > +gdb_test "target native" "Use the \"run\" command to start a process.*|Undefined target command: \"child\". *Try \"help target\".*" "target native" Subject: [PATCH] Fix regexp pattern in gdb.base/default.exp I see this failure on arm-none-eabi gdb testing. target native^M Undefined target command: "native". Try "help target".^M (gdb) FAIL: gdb.base/default.exp: target native This patch is to update the regexp pattern to match "native" instead of "child". I'll push it in. gdb/testsuite: 2014-06-03 Yao Qi * gdb.base/default.exp: Replace "child" with "native" in regexp pattern. --- gdb/testsuite/gdb.base/default.exp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gdb/testsuite/gdb.base/default.exp b/gdb/testsuite/gdb.base/default.exp index 3636fa3..6674df3 100644 --- a/gdb/testsuite/gdb.base/default.exp +++ b/gdb/testsuite/gdb.base/default.exp @@ -747,7 +747,7 @@ gdb_test "step" "The program is not being run." "step #2" gdb_test "symbol-file" ".*" "symbol-file" #test target native -gdb_test "target native" "Use the \"run\" command to start a process.*|Undefined target command: \"child\". *Try \"help target\".*" "target native" +gdb_test "target native" "Use the \"run\" command to start a process.*|Undefined target command: \"native\". *Try \"help target\".*" "target native" #test target core send_gdb "target core\n"