diff options
Diffstat (limited to 'gdb/testsuite/gdb.base/relocate.exp')
-rw-r--r-- | gdb/testsuite/gdb.base/relocate.exp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/gdb/testsuite/gdb.base/relocate.exp b/gdb/testsuite/gdb.base/relocate.exp index 9bb76aa3344..d69bca1947c 100644 --- a/gdb/testsuite/gdb.base/relocate.exp +++ b/gdb/testsuite/gdb.base/relocate.exp @@ -16,9 +16,8 @@ # relocate.exp -- Expect script to test loading symbols from unrelocated # object files. -set testfile relocate -set srcfile ${testfile}.c -set binfile ${objdir}/${subdir}/${testfile}.o +standard_testfile .c +append binfile .o remote_exec build "rm -f ${binfile}" if { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" object {debug}] != "" } { |