diff options
Diffstat (limited to 'gdb/testsuite/gdb.dwarf2')
-rw-r--r-- | gdb/testsuite/gdb.dwarf2/dw2-inline-param.exp | 2 | ||||
-rw-r--r-- | gdb/testsuite/gdb.dwarf2/dw2-skip-prologue.exp | 2 | ||||
-rw-r--r-- | gdb/testsuite/gdb.dwarf2/gdb-index.exp | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/gdb/testsuite/gdb.dwarf2/dw2-inline-param.exp b/gdb/testsuite/gdb.dwarf2/dw2-inline-param.exp index 400c9c1a81b..183e97b48f4 100644 --- a/gdb/testsuite/gdb.dwarf2/dw2-inline-param.exp +++ b/gdb/testsuite/gdb.dwarf2/dw2-inline-param.exp @@ -39,7 +39,7 @@ gdb_unload # Strip out any labels there as they could corrupt the `main' name. -set objcopy_program [transform objcopy] +set objcopy_program [gdb_find_objcopy] set command "$objcopy_program -N block_start -N block_end -N break_at ${binfile}" verbose -log "Executing: $command" set result [catch "exec $command" output] diff --git a/gdb/testsuite/gdb.dwarf2/dw2-skip-prologue.exp b/gdb/testsuite/gdb.dwarf2/dw2-skip-prologue.exp index 6b09a7c534e..4c3dcd2fa5f 100644 --- a/gdb/testsuite/gdb.dwarf2/dw2-skip-prologue.exp +++ b/gdb/testsuite/gdb.dwarf2/dw2-skip-prologue.exp @@ -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 \ diff --git a/gdb/testsuite/gdb.dwarf2/gdb-index.exp b/gdb/testsuite/gdb.dwarf2/gdb-index.exp index ac32b54fdaf..d1334b498f6 100644 --- a/gdb/testsuite/gdb.dwarf2/gdb-index.exp +++ b/gdb/testsuite/gdb.dwarf2/gdb-index.exp @@ -52,7 +52,7 @@ proc add_gdb_index { program } { } set program_with_index ${program}.with-index - if {[run_on_host "objcopy" [transform objcopy] "--remove-section .gdb_index --add-section .gdb_index=$index_file --set-section-flags .gdb_index=readonly ${program} ${program_with_index}"]} { + if {[run_on_host "objcopy" [gdb_find_objcopy] "--remove-section .gdb_index --add-section .gdb_index=$index_file --set-section-flags .gdb_index=readonly ${program} ${program_with_index}"]} { return "" } return ${program_with_index} |