* lib/gdb.exp (build_id_debug_filename_get): OBJCOPY pipe being read
must be set to binary.
This commit is contained in:
parent
742a56fee5
commit
b7fca99000
|
@ -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>
|
2007-12-09 Pedro Alves <pedro_alves@portugalmail.pt>
|
||||||
|
|
||||||
* lib/gdb.exp (gdb_gnu_strip_debug): Remove debug format test.
|
* lib/gdb.exp (gdb_gnu_strip_debug): Remove debug format test.
|
||||||
|
|
|
@ -2500,6 +2500,7 @@ proc build_id_debug_filename_get { exec } {
|
||||||
return ""
|
return ""
|
||||||
}
|
}
|
||||||
set fi [open $tmp]
|
set fi [open $tmp]
|
||||||
|
fconfigure $fi -translation binary
|
||||||
# Skip the NOTE header.
|
# Skip the NOTE header.
|
||||||
read $fi 16
|
read $fi 16
|
||||||
set data [read $fi]
|
set data [read $fi]
|
||||||
|
|
Loading…
Reference in New Issue