* lib/gdb.exp (build_id_debug_filename_get): OBJCOPY pipe being read
authorJan Kratochvil <jan.kratochvil@redhat.com>
Mon, 10 Dec 2007 14:32:50 +0000 (14:32 +0000)
committerJan Kratochvil <jan.kratochvil@redhat.com>
Mon, 10 Dec 2007 14:32:50 +0000 (14:32 +0000)
must be set to binary.

gdb/testsuite/ChangeLog
gdb/testsuite/lib/gdb.exp

index 1574c3ac4c8d6d544322ef16713e8ac88c8ce680..6ceb02f3bb4b6f640a9805463e38030ca9e7c134 100644 (file)
@@ -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.
index 038f51a95770478c8b46fb873a657c523a7a7790..11393e4010fd62a2d56ea474e3c74e9fdd98b4e9 100644 (file)
@@ -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]
This page took 0.03507 seconds and 4 git commands to generate.