* lib/gdb.exp (build_id_debug_filename_get): OBJCOPY pipe being read

must be set to binary.
This commit is contained in:
Jan Kratochvil 2007-12-10 14:32:50 +00:00
parent 742a56fee5
commit b7fca99000
2 changed files with 6 additions and 0 deletions

View 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.

View 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]