Index: gdb/testsuite/gdb.arch/amd64-entry-value-param.exp |
diff --git a/gdb/testsuite/gdb.arch/amd64-entry-value-param.exp b/gdb/testsuite/gdb.arch/amd64-entry-value-param.exp |
index 9d80dc63b3145264fde1b063f7749f83f2c726bc..e44b6ff8b7f8ed5651be27fe2eb1963e2c8142e0 100644 |
--- a/gdb/testsuite/gdb.arch/amd64-entry-value-param.exp |
+++ b/gdb/testsuite/gdb.arch/amd64-entry-value-param.exp |
@@ -1,4 +1,4 @@ |
-# Copyright (C) 2012 Free Software Foundation, Inc. |
+# Copyright (C) 2012-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 |
@@ -13,14 +13,12 @@ |
# You should have received a copy of the GNU General Public License |
# along with this program. If not, see <http://www.gnu.org/licenses/>. |
-set testfile amd64-entry-value-param |
-set srcfile ${testfile}.S |
-set csrcfile ${testfile}.c |
+standard_testfile .S .c |
set opts {} |
if [info exists COMPILE] { |
# make check RUNTESTFLAGS="gdb.arch/amd64-entry-value-param.exp COMPILE=1" |
- set srcfile ${csrcfile} |
+ set srcfile ${srcfile2} |
lappend opts debug optimize=-O2 |
} elseif { ![istarget x86_64-*-* ] || ![is_lp64_target] } { |
verbose "Skipping amd64-entry-value-param." |
@@ -35,7 +33,7 @@ if ![runto_main] { |
return -1 |
} |
-set srcfile $csrcfile |
+set srcfile $srcfile2 |
gdb_breakpoint [gdb_get_line_number "break-here"] |
gdb_continue_to_breakpoint "break-here" ".* break-here .*" |