aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2010-11-15 21:05:26 +0000
committerH.J. Lu <hjl.tools@gmail.com>2010-11-15 21:05:26 +0000
commit38626e2529f755d6e46efa92817937a700b119ea (patch)
treeca044fa7f55c6f2167372bbbf1d654286b04681f
parent6dbf72d7a6d0a51f4af24654aed50f85801a02a9 (diff)
downloadgdb-38626e2529f755d6e46efa92817937a700b119ea.zip
gdb-38626e2529f755d6e46efa92817937a700b119ea.tar.gz
gdb-38626e2529f755d6e46efa92817937a700b119ea.tar.bz2
Use binutils_assemble_flags for --nocompress-debug-sections.
2010-11-15 H.J. Lu <hongjiu.lu@intel.com> * binutils-all/compress.exp: Replace binutils_assemble with binutils_assemble_flags for --nocompress-debug-sections.
-rw-r--r--binutils/testsuite/ChangeLog5
-rw-r--r--binutils/testsuite/binutils-all/compress.exp2
2 files changed, 6 insertions, 1 deletions
diff --git a/binutils/testsuite/ChangeLog b/binutils/testsuite/ChangeLog
index e67cbd5..c7a55aa 100644
--- a/binutils/testsuite/ChangeLog
+++ b/binutils/testsuite/ChangeLog
@@ -1,5 +1,10 @@
2010-11-15 H.J. Lu <hongjiu.lu@intel.com>
+ * binutils-all/compress.exp: Replace binutils_assemble with
+ binutils_assemble_flags for --nocompress-debug-sections.
+
+2010-11-15 H.J. Lu <hongjiu.lu@intel.com>
+
* binutils-all/compress.exp: Pass --nocompress-debug-sections to
assembler for uncompressed debug sections.
diff --git a/binutils/testsuite/binutils-all/compress.exp b/binutils/testsuite/binutils-all/compress.exp
index a1c1ba8..91ed7e4 100644
--- a/binutils/testsuite/binutils-all/compress.exp
+++ b/binutils/testsuite/binutils-all/compress.exp
@@ -28,7 +28,7 @@ set compressedfile2 tmpdir/dw2-2-compressed.o
set libfile tmpdir/libdw2.a
set compressedcopyfile tmpdir/dw2-copy-compressed
-if { ![binutils_assemble $srcdir/$subdir/dw2-1.S $testfile --nocompress-debug-sections] } then {
+if { ![binutils_assemble_flags $srcdir/$subdir/dw2-1.S $testfile --nocompress-debug-sections] } then {
unsupported "compressed debug sections"
return
}