From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 123413 invoked by alias); 22 Jun 2015 12:40:49 -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 123397 invoked by uid 89); 22 Jun 2015 12:40:48 -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,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 X-HELO: mail-pa0-f41.google.com Received: from mail-pa0-f41.google.com (HELO mail-pa0-f41.google.com) (209.85.220.41) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-GCM-SHA256 encrypted) ESMTPS; Mon, 22 Jun 2015 12:40:47 +0000 Received: by pabvl15 with SMTP id vl15so87318163pab.1 for ; Mon, 22 Jun 2015 05:40:46 -0700 (PDT) X-Received: by 10.68.135.233 with SMTP id pv9mr59654607pbb.115.1434976846059; Mon, 22 Jun 2015 05:40:46 -0700 (PDT) Received: from E107787-LIN.cambridge.arm.com (gcc1-power7.osuosl.org. [140.211.15.137]) by mx.google.com with ESMTPSA id o3sm19840307pds.1.2015.06.22.05.40.44 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 22 Jun 2015 05:40:45 -0700 (PDT) From: Yao Qi X-Google-Original-From: Yao Qi To: gdb-patches@sourceware.org Subject: [PATCH OBV] Don't skip hw breakpoint/watchpoint tests for aarch64 target Date: Mon, 22 Jun 2015 12:40:00 -0000 Message-Id: <1434976837-10069-1-git-send-email-yao.qi@linaro.org> X-IsSubscribed: yes X-SW-Source: 2015-06/txt/msg00434.txt.bz2 This patch is to let skip_hw_breakpoint_tests and skip_hw_watchpoint_tests return 0 for aarch64 target, since aarch64 has HW watchpoint and breakpoint registers. With this patch applied, about 1560 watchpoint/breakpoint related tests become enabled on aarch64-linux native testing. It is obvious, and I'll push it in. gdb/testsuite: 2015-06-22 Yao Qi * lib/gdb.exp (skip_hw_breakpoint_tests): Return 0 for target aarch64*-*-*. (skip_hw_watchpoint_tests): Likewise. --- gdb/testsuite/ChangeLog | 6 ++++++ gdb/testsuite/lib/gdb.exp | 4 +++- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index 5a9a7eb..3a48bcd 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,3 +1,9 @@ +2015-06-22 Yao Qi + + * lib/gdb.exp (skip_hw_breakpoint_tests): Return 0 for target + aarch64*-*-*. + (skip_hw_watchpoint_tests): Likewise. + 2015-06-18 Patrick Palka * gdb.base/gdbinit-history.exp: Test the interaction between diff --git a/gdb/testsuite/lib/gdb.exp b/gdb/testsuite/lib/gdb.exp index a3d570a..d169f3d 100644 --- a/gdb/testsuite/lib/gdb.exp +++ b/gdb/testsuite/lib/gdb.exp @@ -2591,7 +2591,8 @@ proc skip_hw_breakpoint_tests {} { if { [istarget "i?86-*-*"] || [istarget "x86_64-*-*"] || [istarget "ia64-*-*"] - || [istarget "arm*-*-*"]} { + || [istarget "arm*-*-*"] + || [istarget "aarch64*-*-*"]} { return 0 } @@ -2611,6 +2612,7 @@ proc skip_hw_watchpoint_tests {} { || [istarget "x86_64-*-*"] || [istarget "ia64-*-*"] || [istarget "arm*-*-*"] + || [istarget "aarch*-*-*"] || [istarget "powerpc*-*-linux*"] || [istarget "s390*-*-*"] } { return 0 -- 1.9.1