aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.gdb/xfullpath.exp
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/testsuite/gdb.gdb/xfullpath.exp')
-rw-r--r--gdb/testsuite/gdb.gdb/xfullpath.exp6
1 files changed, 1 insertions, 5 deletions
diff --git a/gdb/testsuite/gdb.gdb/xfullpath.exp b/gdb/testsuite/gdb.gdb/xfullpath.exp
index d7234db..fce33df 100644
--- a/gdb/testsuite/gdb.gdb/xfullpath.exp
+++ b/gdb/testsuite/gdb.gdb/xfullpath.exp
@@ -72,8 +72,7 @@ proc setup_test { executable } {
set timeout 600
set description "run until breakpoint at captured_main"
- send_gdb "run -nw\n"
- gdb_expect {
+ gdb_test_multiple "run -nw" "$description" {
-re "Starting program.*Breakpoint \[0-9\]+,.*captured_main .data.* at .*main.c:.*$gdb_prompt $" {
pass "$description"
}
@@ -92,9 +91,6 @@ proc setup_test { executable } {
verbose "Timeout is now $timeout seconds" 2
return -1
}
- timeout {
- fail "$description (timeout)"
- }
}
set timeout $oldtimeout