summaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.base/comprdebug.exp
diff options
context:
space:
mode:
authorDoug Evans <dje@google.com>2013-09-20 21:47:06 +0000
committerDoug Evans <dje@google.com>2013-09-20 21:47:06 +0000
commit4fa7d390970c4e558fc42b8d5ff4d42b60240db4 (patch)
tree70483ea08ea0dc76a38b9045c7f4703489ce2085 /gdb/testsuite/gdb.base/comprdebug.exp
parentecb33a79498ac5cdf7f284b64585e343bd1bbba3 (diff)
downloadbinutils-gdb-4fa7d390970c4e558fc42b8d5ff4d42b60240db4.tar.gz
* lib/future.exp (gdb_find_objcopy, gdb_find_readelf): New procs.
* lib/gdb.exp (build_id_debug_filename_get): Update to use them. (gdb_gnu_strip_debug): Ditto. * lib/prelink-support.exp (section_get, prelink_no): Ditto. * gdb.arch/altivec-abi.exp: Ditto. * gdb.base/attach-pie-misread.exp: Ditto. * gdb.base/comprdebug.exp: Ditto. * gdb.base/dup-sect.exp: Ditto. * gdb.base/gnu-debugdata.exp: Ditto. * gdb.base/step-symless.exp: Ditto. * gdb.dwarf2/dw2-inline-param.exp: Ditto. * gdb.dwarf2/dw2-skip-prologue.exp: Ditto. * gdb.dwarf2/gdb-index.exp: Ditto.
Diffstat (limited to 'gdb/testsuite/gdb.base/comprdebug.exp')
-rw-r--r--gdb/testsuite/gdb.base/comprdebug.exp2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/testsuite/gdb.base/comprdebug.exp b/gdb/testsuite/gdb.base/comprdebug.exp
index 69a46b76734..aea8b8a2ead 100644
--- a/gdb/testsuite/gdb.base/comprdebug.exp
+++ b/gdb/testsuite/gdb.base/comprdebug.exp
@@ -22,7 +22,7 @@ if {[gdb_compile $srcdir/$subdir/$srcfile $ofile \
return
}
-set objcopy_program [transform objcopy]
+set objcopy_program [gdb_find_objcopy]
set cmd "$objcopy_program --compress-debug-sections $ofile"
verbose "invoking $cmd"
set result [catch "exec $cmd" output]