aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.chill/pr-5984.exp
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/testsuite/gdb.chill/pr-5984.exp')
-rw-r--r--gdb/testsuite/gdb.chill/pr-5984.exp4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/testsuite/gdb.chill/pr-5984.exp b/gdb/testsuite/gdb.chill/pr-5984.exp
index 5ae609c..206413e 100644
--- a/gdb/testsuite/gdb.chill/pr-5984.exp
+++ b/gdb/testsuite/gdb.chill/pr-5984.exp
@@ -34,7 +34,7 @@ if { [compile "${srcfile} -g -o ${binfile} ${CHILL_RT0} ${CHILL_LIB}"] != "" }
}
proc do_tests {} {
- global prms_id bug_id subdir objdir srcdir binfile prompt
+ global prms_id bug_id subdir objdir srcdir binfile gdb_prompt
set prms_id 0
set bug_id 0
@@ -50,7 +50,7 @@ proc do_tests {} {
gdb_test "break pr-5984.ch:6 ""
send_gdb "run\n"; expect -re "Breakpoint .*pr-5984.ch:6"
- expect -re "$prompt $"
+ expect -re "$gdb_prompt $"
gdb_test "next" "Jason Dark.*" "next over Jason Dark"
}