From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 2126) id 30E2B385783F; Fri, 13 Jan 2023 20:39:41 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 30E2B385783F DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1673642381; bh=+Bcuu+ke9htdFR1LWcQHvAz0toiRx/kXz7UMIZZjF8s=; h=From:To:Subject:Date:From; b=usQliaCe8UoorRCGe+vlD/I2hLl/99UZmBxnADTUSjrK8kyihqRybl/wzBi3MmRoa ZNAQ9WFJssGQzoIPWV4mJC/4KEsRdcNUtVXgidzDqY1o7F2jnSf2dhH2JuH/GM/tQu wZ6e96sKgXL64b/drbDUEOE4UG8VczhaCX72ChNM= 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] Rename to allow_ifunc_tests X-Act-Checkin: binutils-gdb X-Git-Author: Tom Tromey X-Git-Refname: refs/heads/master X-Git-Oldrev: e379cbb128e3e672af03bdbb97e6e4085925d1bc X-Git-Newrev: 4675859351582f017b495ff13fb2ea72a99834af Message-Id: <20230113203941.30E2B385783F@sourceware.org> Date: Fri, 13 Jan 2023 20:39:41 +0000 (GMT) List-Id: https://sourceware.org/git/gitweb.cgi?p=3Dbinutils-gdb.git;h=3D467585935158= 2f017b495ff13fb2ea72a99834af commit 4675859351582f017b495ff13fb2ea72a99834af Author: Tom Tromey Date: Sun Jan 8 11:41:19 2023 -0700 Rename to allow_ifunc_tests =20 This changes skip_ifunc_tests to invert the sense, and renames it to allow_ifunc_tests. Diff: --- gdb/testsuite/gdb.base/gnu-ifunc.exp | 2 +- gdb/testsuite/gdb.compile/compile-ifunc.exp | 2 +- gdb/testsuite/lib/gdb.exp | 8 ++++---- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/gdb/testsuite/gdb.base/gnu-ifunc.exp b/gdb/testsuite/gdb.base/= gnu-ifunc.exp index 967d1e053e7..81119f764b8 100644 --- a/gdb/testsuite/gdb.base/gnu-ifunc.exp +++ b/gdb/testsuite/gdb.base/gnu-ifunc.exp @@ -13,7 +13,7 @@ # You should have received a copy of the GNU General Public License # along with this program. If not, see . =20 -require !skip_shlib_tests !skip_ifunc_tests +require !skip_shlib_tests allow_ifunc_tests =20 standard_testfile .c set staticexecutable ${testfile}-static diff --git a/gdb/testsuite/gdb.compile/compile-ifunc.exp b/gdb/testsuite/gd= b.compile/compile-ifunc.exp index bfbe65a503b..990d35a53f6 100644 --- a/gdb/testsuite/gdb.compile/compile-ifunc.exp +++ b/gdb/testsuite/gdb.compile/compile-ifunc.exp @@ -15,7 +15,7 @@ =20 load_lib compile-support.exp =20 -require !skip_ifunc_tests +require allow_ifunc_tests =20 standard_testfile =20 diff --git a/gdb/testsuite/lib/gdb.exp b/gdb/testsuite/lib/gdb.exp index 7143908bbc2..3a1936ffc82 100644 --- a/gdb/testsuite/lib/gdb.exp +++ b/gdb/testsuite/lib/gdb.exp @@ -3972,17 +3972,17 @@ gdb_caching_proc has_int128_cxx { return [gdb_int128_helper c++] } =20 -# Return true if the IFUNC feature is unsupported. -gdb_caching_proc skip_ifunc_tests { +# Return true if the IFUNC feature is supported. +gdb_caching_proc allow_ifunc_tests { if [gdb_can_simple_compile ifunc { extern void f_ (); typedef void F (void); F* g (void) { return &f_; } void f () __attribute__ ((ifunc ("g"))); } object] { - return 0 - } else { return 1 + } else { + return 0 } }