From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 2126) id 42AAA38543B3; Fri, 13 Jan 2023 20:36:18 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 42AAA38543B3 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1673642178; bh=lRm1pJu7m6khl4Ph1rTkc1gAL5ey19msJzb7heXIs/M=; h=From:To:Subject:Date:From; b=uNcTL9WHhwQYbFg6zgoIul6qUBblursGuQuMJgeNqQqpvp+IQQM7LT7r0nsUJYdHh J8RusLkwZEdyUc4YKcu3F3yOV/3htMtc5Fvzwl6fo7999FCxaxq0oz4vFG08m4MKn1 T6itCfgUV6M75JqBxY4rn4ZdlVP/aHgAEuGMXtBU= 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 can_single_step_to_signal_handler X-Act-Checkin: binutils-gdb X-Git-Author: Tom Tromey X-Git-Refname: refs/heads/master X-Git-Oldrev: 28343f921b49dc01414615e5e8a2803ed5fb57cf X-Git-Newrev: b7e110700353debc7abe86c684bace14d17c3431 Message-Id: <20230113203618.42AAA38543B3@sourceware.org> Date: Fri, 13 Jan 2023 20:36:18 +0000 (GMT) List-Id: https://sourceware.org/git/gitweb.cgi?p=3Dbinutils-gdb.git;h=3Db7e110700353= debc7abe86c684bace14d17c3431 commit b7e110700353debc7abe86c684bace14d17c3431 Author: Tom Tromey Date: Wed Dec 14 09:51:57 2022 -0700 Use require can_single_step_to_signal_handler =20 This changes some tests to use "require can_single_step_to_signal_handl= er". Diff: --- gdb/testsuite/gdb.base/kill-after-signal.exp | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/gdb/testsuite/gdb.base/kill-after-signal.exp b/gdb/testsuite/g= db.base/kill-after-signal.exp index c7b80b538c5..1372c9670ee 100644 --- a/gdb/testsuite/gdb.base/kill-after-signal.exp +++ b/gdb/testsuite/gdb.base/kill-after-signal.exp @@ -15,10 +15,7 @@ =20 standard_testfile .c =20 -if { ![can_single_step_to_signal_handler] } { - untested "cannot single-step to signal handler" - return -} +require can_single_step_to_signal_handler =20 if [target_info exists gdb,nosignals] { verbose "Skipping kill-after-signal.exp because of nosignals."