Index: gdb/testsuite/gdb.base/testenv.exp |
diff --git a/gdb/testsuite/gdb.base/testenv.exp b/gdb/testsuite/gdb.base/testenv.exp |
index 55e30887c8a72de809468c23ba20d349d94275fe..e9a4d3d3d7fac219e25ded105c151fe80a12623c 100644 |
--- a/gdb/testsuite/gdb.base/testenv.exp |
+++ b/gdb/testsuite/gdb.base/testenv.exp |
@@ -1,4 +1,4 @@ |
-# Copyright 2011-2012 Free Software Foundation, Inc. |
+# Copyright 2011-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 |
@@ -23,9 +23,7 @@ if { [is_remote target] } { |
return 0 |
} |
-set testfile "testenv" |
-set srcfile ${testfile}.c |
-set binfile ${testfile} |
+standard_testfile .c |
# Compile binary |
# and start with a fresh gdb |
@@ -36,7 +34,7 @@ if { [prepare_for_testing ${testfile}.exp ${binfile} ${srcfile}] } { |
# make sure $pc is sane, in case we're talking to a board. |
if { ![runto_main] } { |
- gdb_suppress_tests; |
+ gdb_suppress_tests |
} |
set bp_line [gdb_get_line_number "set breakpoint here"] |
@@ -95,7 +93,7 @@ clean_restart $binfile |
# make sure $pc is sane, in case we're talking to a board. |
if { ![runto_main] } { |
- gdb_suppress_tests; |
+ gdb_suppress_tests |
} |
set bp_line [gdb_get_line_number "set breakpoint here"] |