From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 2126) id 0E65D385417F; Fri, 13 Jan 2023 20:36:03 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 0E65D385417F DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1673642163; bh=8RrGHq46WFkXmNSuLQyexDYdkf6s+Oicwyvkrn5Q39o=; h=From:To:Subject:Date:From; b=WJmUdr5N4v+glany614KmzJNETkN3nrAX70knJwEceGPbpdSrqzXyJvPVCpj3IHkx 52FjJhgW6iLFT+3+rdcwFsCtJ2cg9rUGyU9ApajBSgO/Phth2QevigjRHKt0LZwLr0 V2JAuhWb1nbGmAFemXQwV4tJpElZeHTvyZEATDa4= Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable From: Tom Tromey To: gdb-cvs@sourceware.org Subject: [binutils-gdb] Use require is_aarch32_target X-Act-Checkin: binutils-gdb X-Git-Author: Tom Tromey X-Git-Refname: refs/heads/master X-Git-Oldrev: d9050fb8fa6588ba05412c4d1bfcef8830d5d28b X-Git-Newrev: abdc86caeb1262573d11f747e0749279ed74102b Message-Id: <20230113203603.0E65D385417F@sourceware.org> Date: Fri, 13 Jan 2023 20:36:03 +0000 (GMT) List-Id: https://sourceware.org/git/gitweb.cgi?p=3Dbinutils-gdb.git;h=3Dabdc86caeb12= 62573d11f747e0749279ed74102b commit abdc86caeb1262573d11f747e0749279ed74102b Author: Tom Tromey Date: Wed Dec 14 09:48:09 2022 -0700 Use require is_aarch32_target =20 This changes some tests to use "require is_aarch32_target". Diff: --- gdb/testsuite/gdb.arch/arm-bl-branch-dest.exp | 5 +---- gdb/testsuite/gdb.arch/arm-disp-step.exp | 5 +---- gdb/testsuite/gdb.arch/arm-single-step-kernel-helper.exp | 5 +---- gdb/testsuite/gdb.arch/pr25124.exp | 5 +---- gdb/testsuite/gdb.arch/thumb-bx-pc.exp | 5 +---- gdb/testsuite/gdb.arch/thumb-prologue.exp | 5 +---- gdb/testsuite/gdb.arch/thumb-singlestep.exp | 5 +---- 7 files changed, 7 insertions(+), 28 deletions(-) diff --git a/gdb/testsuite/gdb.arch/arm-bl-branch-dest.exp b/gdb/testsuite/= gdb.arch/arm-bl-branch-dest.exp index dff9b115ac9..f2de30031a5 100644 --- a/gdb/testsuite/gdb.arch/arm-bl-branch-dest.exp +++ b/gdb/testsuite/gdb.arch/arm-bl-branch-dest.exp @@ -13,10 +13,7 @@ # You should have received a copy of the GNU General Public License # along with this program. If not, see . =20 -if { ![is_aarch32_target] } { - verbose "Skipping ${gdb_test_file_name}." - return -} +require is_aarch32_target =20 standard_testfile =20 diff --git a/gdb/testsuite/gdb.arch/arm-disp-step.exp b/gdb/testsuite/gdb.a= rch/arm-disp-step.exp index 2917e9fd12f..e9106cf17b7 100644 --- a/gdb/testsuite/gdb.arch/arm-disp-step.exp +++ b/gdb/testsuite/gdb.arch/arm-disp-step.exp @@ -17,10 +17,7 @@ =20 # Test arm displaced stepping. =20 -if {![is_aarch32_target]} { - verbose "Skipping arm displaced stepping tests." - return -} +require is_aarch32_target =20 standard_testfile .S =20 diff --git a/gdb/testsuite/gdb.arch/arm-single-step-kernel-helper.exp b/gdb= /testsuite/gdb.arch/arm-single-step-kernel-helper.exp index 37f0790b65f..af33ac61b37 100644 --- a/gdb/testsuite/gdb.arch/arm-single-step-kernel-helper.exp +++ b/gdb/testsuite/gdb.arch/arm-single-step-kernel-helper.exp @@ -13,10 +13,7 @@ # You should have received a copy of the GNU General Public License # along with this program. If not, see . =20 -if { ![is_aarch32_target] } { - verbose "Skipping ${gdb_test_file_name}." - return -} +require is_aarch32_target =20 standard_testfile =20 diff --git a/gdb/testsuite/gdb.arch/pr25124.exp b/gdb/testsuite/gdb.arch/pr= 25124.exp index 6cc7ec41220..45033771d79 100644 --- a/gdb/testsuite/gdb.arch/pr25124.exp +++ b/gdb/testsuite/gdb.arch/pr25124.exp @@ -16,10 +16,7 @@ # Test proper disassembling of ARM thumb instructions when reloading a sym= bol # file. =20 -if {![is_aarch32_target]} { - verbose "Skipping ARM tests." - return -} +require is_aarch32_target =20 standard_testfile .S =20 diff --git a/gdb/testsuite/gdb.arch/thumb-bx-pc.exp b/gdb/testsuite/gdb.arc= h/thumb-bx-pc.exp index ae08e9e3a87..9a46f11b89a 100644 --- a/gdb/testsuite/gdb.arch/thumb-bx-pc.exp +++ b/gdb/testsuite/gdb.arch/thumb-bx-pc.exp @@ -15,10 +15,7 @@ =20 # Test PC adjustment from Thumb-mode "bx pc" instruction. =20 -if {![is_aarch32_target]} { - verbose "Skipping ARM tests." - return -} +require is_aarch32_target =20 set testfile "thumb-bx-pc" set srcfile ${testfile}.S diff --git a/gdb/testsuite/gdb.arch/thumb-prologue.exp b/gdb/testsuite/gdb.= arch/thumb-prologue.exp index 095c9d58de7..1d74a30905a 100644 --- a/gdb/testsuite/gdb.arch/thumb-prologue.exp +++ b/gdb/testsuite/gdb.arch/thumb-prologue.exp @@ -15,10 +15,7 @@ =20 # Test ARM/Thumb prologue analyzer. =20 -if {![is_aarch32_target]} { - verbose "Skipping ARM prologue tests." - return -} +require is_aarch32_target =20 standard_testfile =20 diff --git a/gdb/testsuite/gdb.arch/thumb-singlestep.exp b/gdb/testsuite/gd= b.arch/thumb-singlestep.exp index 375dade3d72..2d4e28dd31a 100644 --- a/gdb/testsuite/gdb.arch/thumb-singlestep.exp +++ b/gdb/testsuite/gdb.arch/thumb-singlestep.exp @@ -15,10 +15,7 @@ =20 # Test single-stepping into incorrectly marked Thumb routine =20 -if {![is_aarch32_target]} { - verbose "Skipping ARM tests." - return -} +require is_aarch32_target =20 set testfile "thumb-singlestep" set srcfile ${testfile}.S