aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Kratochvil <jan.kratochvil@redhat.com>2007-12-10 14:32:50 +0000
committerJan Kratochvil <jan.kratochvil@redhat.com>2007-12-10 14:32:50 +0000
commitb7fca9900061de1830d30f0c782e677a5ad277f7 (patch)
tree0beefbe25530331018b93aa6de48a2a0cd982453
parent742a56fee56f186cb3a033d456cd0e3cd74c0751 (diff)
downloadgdb-b7fca9900061de1830d30f0c782e677a5ad277f7.zip
gdb-b7fca9900061de1830d30f0c782e677a5ad277f7.tar.gz
gdb-b7fca9900061de1830d30f0c782e677a5ad277f7.tar.bz2
* lib/gdb.exp (build_id_debug_filename_get): OBJCOPY pipe being read
must be set to binary.
-rw-r--r--gdb/testsuite/ChangeLog5
-rw-r--r--gdb/testsuite/lib/gdb.exp1
2 files changed, 6 insertions, 0 deletions
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog
index 1574c3a..6ceb02f 100644
--- a/gdb/testsuite/ChangeLog
+++ b/gdb/testsuite/ChangeLog
@@ -1,3 +1,8 @@
+2007-12-10 Jan Kratochvil <jan.kratochvil@redhat.com>
+
+ * lib/gdb.exp (build_id_debug_filename_get): OBJCOPY pipe being read
+ must be set to binary.
+
2007-12-09 Pedro Alves <pedro_alves@portugalmail.pt>
* lib/gdb.exp (gdb_gnu_strip_debug): Remove debug format test.
diff --git a/gdb/testsuite/lib/gdb.exp b/gdb/testsuite/lib/gdb.exp
index 038f51a..11393e4 100644
--- a/gdb/testsuite/lib/gdb.exp
+++ b/gdb/testsuite/lib/gdb.exp
@@ -2500,6 +2500,7 @@ proc build_id_debug_filename_get { exec } {
return ""
}
set fi [open $tmp]
+ fconfigure $fi -translation binary
# Skip the NOTE header.
read $fi 16
set data [read $fi]