summaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.objc/basicclass.exp
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/testsuite/gdb.objc/basicclass.exp')
-rw-r--r--gdb/testsuite/gdb.objc/basicclass.exp7
1 files changed, 1 insertions, 6 deletions
diff --git a/gdb/testsuite/gdb.objc/basicclass.exp b/gdb/testsuite/gdb.objc/basicclass.exp
index 96badd202ac..37f1b15edf4 100644
--- a/gdb/testsuite/gdb.objc/basicclass.exp
+++ b/gdb/testsuite/gdb.objc/basicclass.exp
@@ -119,12 +119,7 @@ gdb_test continue \
# Test resetting breakpoints when re-running program
#
gdb_run_cmd
-gdb_expect {
- -re "Breakpoint \[0-9\]+,.*main .*argc.*argv.* at .*$srcfile:.*$gdb_prompt $"\
- { pass "resetting breakpoints when rerunning" }
- -re ".*$gdb_prompt $" { fail "resetting breakpoints when rerunning" }
- timeout { fail "resetting breakpoints when rerunning" }
-}
+gdb_test "" "Breakpoint \[0-9\]+,.*main .*argc.*argv.* at .*$srcfile:.*" "resetting breakpoints when r
#
# Continue until breakpoint (test re-setting breakpoint)