aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.python/py-breakpoint-create-fail.exp
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/testsuite/gdb.python/py-breakpoint-create-fail.exp')
-rw-r--r--gdb/testsuite/gdb.python/py-breakpoint-create-fail.exp3
1 files changed, 1 insertions, 2 deletions
diff --git a/gdb/testsuite/gdb.python/py-breakpoint-create-fail.exp b/gdb/testsuite/gdb.python/py-breakpoint-create-fail.exp
index 4d0e9c5..7eefaa8 100644
--- a/gdb/testsuite/gdb.python/py-breakpoint-create-fail.exp
+++ b/gdb/testsuite/gdb.python/py-breakpoint-create-fail.exp
@@ -29,8 +29,7 @@ if { [skip_python_tests] } { continue }
clean_restart "${testfile}"
if ![runto_main] {
- perror "could not run to main"
- continue
+ return
}
# The following will create a breakpoint Python wrapper whose construction will