aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.cp/method.exp
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/testsuite/gdb.cp/method.exp')
-rw-r--r--gdb/testsuite/gdb.cp/method.exp4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/testsuite/gdb.cp/method.exp b/gdb/testsuite/gdb.cp/method.exp
index 848a06d..fff718d 100644
--- a/gdb/testsuite/gdb.cp/method.exp
+++ b/gdb/testsuite/gdb.cp/method.exp
@@ -175,10 +175,10 @@ gdb_test_multiple "ptype A" "ptype A" {
}
gdb_test_multiple "cont" "finish program" {
- -re "Continuing.\r\n\r\nProgram exited normally.*$gdb_prompt $" {
+ -re "Continuing.\r\n$inferior_exited_re normally.*$gdb_prompt $" {
pass "finish program"
}
- -re "Continuing.* EXIT code 0.*Program exited normally.*$gdb_prompt $" {
+ -re "Continuing.* EXIT code 0.*$inferior_exited_re normally.*$gdb_prompt $" {
pass "finish program (exit wrapper)"
}
}