aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.python
diff options
context:
space:
mode:
authorTom Tromey <tom@tromey.com>2022-12-14 10:02:49 -0700
committerTom Tromey <tom@tromey.com>2023-01-13 13:18:56 -0700
commit8ce7423fda0c4b148cc0a48c68ba103476f3f5b7 (patch)
treea375e761ecf34f506d0695be1087a1a049549d37 /gdb/testsuite/gdb.python
parent1b1f4ab760127c31d520811e2858277bb7f651e2 (diff)
downloadbinutils-8ce7423fda0c4b148cc0a48c68ba103476f3f5b7.zip
binutils-8ce7423fda0c4b148cc0a48c68ba103476f3f5b7.tar.gz
binutils-8ce7423fda0c4b148cc0a48c68ba103476f3f5b7.tar.bz2
Use require !use_gdb_stub
This changes some tests to use "require !use_gdb_stub".
Diffstat (limited to 'gdb/testsuite/gdb.python')
-rw-r--r--gdb/testsuite/gdb.python/py-events.exp4
1 files changed, 1 insertions, 3 deletions
diff --git a/gdb/testsuite/gdb.python/py-events.exp b/gdb/testsuite/gdb.python/py-events.exp
index 8c1a2d2..109f8c1 100644
--- a/gdb/testsuite/gdb.python/py-events.exp
+++ b/gdb/testsuite/gdb.python/py-events.exp
@@ -13,9 +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 [use_gdb_stub] {
- return 0
-}
+require !use_gdb_stub
load_lib gdb-python.exp