aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/lib
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 /gdb/testsuite/lib
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.
Diffstat (limited to 'gdb/testsuite/lib')
-rw-r--r--gdb/testsuite/lib/gdb.exp1
1 files changed, 1 insertions, 0 deletions
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]