aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.base/interrupt.exp
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/testsuite/gdb.base/interrupt.exp')
-rw-r--r--gdb/testsuite/gdb.base/interrupt.exp2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/testsuite/gdb.base/interrupt.exp b/gdb/testsuite/gdb.base/interrupt.exp
index cce7fca..4562199 100644
--- a/gdb/testsuite/gdb.base/interrupt.exp
+++ b/gdb/testsuite/gdb.base/interrupt.exp
@@ -201,7 +201,7 @@ if ![file exists $binfile] then {
send_gdb "\004"
gdb_expect {
- -re "end of file.*Program exited normally.*$gdb_prompt $" {
+ -re "end of file.*$inferior_exited_re normally.*$gdb_prompt $" {
pass "send end of file"
}
-re "$gdb_prompt $" { fail "send end of file" }