gdb
[deliverable/binutils-gdb.git] / gdb / testsuite / gdb.cp / method.exp
index 848a06d45746eb9d9667ffff54586f63ea7e283d..fff718d212bc7a183e82c06e31624b32e4a9e6bf 100644 (file)
@@ -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)" 
     }
 }
This page took 0.024302 seconds and 4 git commands to generate.