Index: gdb/testsuite/gdb.base/ending-run.exp |
diff --git a/gdb/testsuite/gdb.base/ending-run.exp b/gdb/testsuite/gdb.base/ending-run.exp |
index 5699bbb97cb35e207d167d841bc8b85a118f6c1e..ec155da5f63270fa6c3c28f48fb45bfbddb6df1a 100644 |
--- a/gdb/testsuite/gdb.base/ending-run.exp |
+++ b/gdb/testsuite/gdb.base/ending-run.exp |
@@ -1,6 +1,6 @@ |
# This testcase is part of GDB, the GNU debugger. |
-# Copyright 1997-2004, 2007-2012 Free Software Foundation, Inc. |
+# Copyright 1997-2013 Free Software Foundation, Inc. |
# This program is free software; you can redistribute it and/or modify |
# it under the terms of the GNU General Public License as published by |
@@ -209,7 +209,7 @@ set program_not_exited 0 |
set program_in_exit 0 |
if {!$use_gdb_stub |
&& (! [target_info exists use_cygmon] || ! [target_info use_cygmon])} { |
- global program_exited; |
+ global program_exited |
if {[eval expr $program_exited == 0]} { |
gdb_test_multiple "n" "step to end of run" { |
-re "$inferior_exited_re normally.*$gdb_prompt $" { |