| Index: gdb/testsuite/gdb.base/dup-sect.exp
|
| diff --git a/gdb/testsuite/gdb.base/dup-sect.exp b/gdb/testsuite/gdb.base/dup-sect.exp
|
| index c156ecfecaeb52d2413d3c88c9a71ab429093108..5270991d839a53a4a6fcff5a1268e22557272f8d 100644
|
| --- a/gdb/testsuite/gdb.base/dup-sect.exp
|
| +++ b/gdb/testsuite/gdb.base/dup-sect.exp
|
| @@ -1,6 +1,6 @@
|
| # This testcase is part of GDB, the GNU debugger.
|
|
|
| -# Copyright 2010-2012 Free Software Foundation, Inc.
|
| +# Copyright 2010-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
|
| @@ -33,18 +33,16 @@ if {![istarget *-*-linux*]
|
| return 0
|
| }
|
|
|
| -set testfile dup-sect
|
| -set srcfile ${testfile}.S
|
| +standard_testfile .S
|
| set srcmainfile start.c
|
| set executable ${testfile}
|
| -set binfile ${objdir}/${subdir}/${executable}
|
|
|
| if {[build_executable ${testfile}.exp $executable [list ${srcfile} ${srcmainfile}] {}] == -1} {
|
| return -1
|
| }
|
|
|
| set test "rename section"
|
| -set objcopy_program [transform objcopy]
|
| +set objcopy_program [gdb_find_objcopy]
|
| set result [catch "exec $objcopy_program --rename-section sect2=sect1 $binfile" output]
|
| verbose "result is $result"
|
| verbose "output is $output"
|
|
|