aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.python
diff options
context:
space:
mode:
authorTom Tromey <tom@tromey.com>2022-12-14 09:45:31 -0700
committerTom Tromey <tom@tromey.com>2023-01-13 13:18:55 -0700
commit0a7043e0c55b54adca5ded9bc619c24e5ea1689b (patch)
treeffb63d0cac0cce8af6d862b58d84feb3049d4343 /gdb/testsuite/gdb.python
parent2a904240990618a9557c53676c843e22e3f15af4 (diff)
downloadbinutils-0a7043e0c55b54adca5ded9bc619c24e5ea1689b.zip
binutils-0a7043e0c55b54adca5ded9bc619c24e5ea1689b.tar.gz
binutils-0a7043e0c55b54adca5ded9bc619c24e5ea1689b.tar.bz2
Use require support_displaced_stepping
This changes some tests to use "require support_displaced_stepping".
Diffstat (limited to 'gdb/testsuite/gdb.python')
-rw-r--r--gdb/testsuite/gdb.python/py-evthreads.exp5
1 files changed, 1 insertions, 4 deletions
diff --git a/gdb/testsuite/gdb.python/py-evthreads.exp b/gdb/testsuite/gdb.python/py-evthreads.exp
index c9afbb7..fde5501 100644
--- a/gdb/testsuite/gdb.python/py-evthreads.exp
+++ b/gdb/testsuite/gdb.python/py-evthreads.exp
@@ -13,10 +13,7 @@
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
-if { ![support_displaced_stepping] } {
- unsupported "displaced stepping"
- return -1
-}
+require support_displaced_stepping
load_lib gdb-python.exp