aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.python
diff options
context:
space:
mode:
authorTom Tromey <tom@tromey.com>2022-12-14 10:05:03 -0700
committerTom Tromey <tom@tromey.com>2023-01-13 13:18:56 -0700
commit06e93b057c2967e64ba988102dc66461a64e6c7d (patch)
tree9226c431e8b439beea236fc9a69c61d86bd7b8f4 /gdb/testsuite/gdb.python
parent8ce7423fda0c4b148cc0a48c68ba103476f3f5b7 (diff)
downloadbinutils-06e93b057c2967e64ba988102dc66461a64e6c7d.zip
binutils-06e93b057c2967e64ba988102dc66461a64e6c7d.tar.gz
binutils-06e93b057c2967e64ba988102dc66461a64e6c7d.tar.bz2
Use require can_spawn_for_attach
This changes some tests to use "require can_spawn_for_attach".
Diffstat (limited to 'gdb/testsuite/gdb.python')
-rw-r--r--gdb/testsuite/gdb.python/py-sync-interp.exp4
1 files changed, 1 insertions, 3 deletions
diff --git a/gdb/testsuite/gdb.python/py-sync-interp.exp b/gdb/testsuite/gdb.python/py-sync-interp.exp
index add962f..408a165 100644
--- a/gdb/testsuite/gdb.python/py-sync-interp.exp
+++ b/gdb/testsuite/gdb.python/py-sync-interp.exp
@@ -20,9 +20,7 @@
standard_testfile
-if {![can_spawn_for_attach]} {
- return 0
-}
+require can_spawn_for_attach
load_lib gdb-python.exp