Index: gdb/testsuite/gdb.dwarf2/dw2-skip-prologue.exp |
diff --git a/gdb/testsuite/gdb.dwarf2/dw2-skip-prologue.exp b/gdb/testsuite/gdb.dwarf2/dw2-skip-prologue.exp |
index 1367cb12706cf57da9c12edd91f351b084026676..4c3dcd2fa5f3422810ea28f72d46d45bc6ec7ba7 100644 |
--- a/gdb/testsuite/gdb.dwarf2/dw2-skip-prologue.exp |
+++ b/gdb/testsuite/gdb.dwarf2/dw2-skip-prologue.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 |
@@ -45,7 +45,7 @@ if {[build_executable ${testfile}.exp ${executable} "${testfile}.c ${testfile}.S |
# We need those symbols global to access them from the .S file. |
set test "strip stub symbols" |
-set objcopy_program [transform objcopy] |
+set objcopy_program [gdb_find_objcopy] |
set result [catch "exec $objcopy_program \ |
-N func0 -N func1 -N func2 -N func3 -N func_start -N func_end \ |
-N fund0 -N fund1 -N fund2 -N fund3 -N fund -N fund_start \ |