From b7fca9900061de1830d30f0c782e677a5ad277f7 Mon Sep 17 00:00:00 2001 From: Jan Kratochvil Date: Mon, 10 Dec 2007 14:32:50 +0000 Subject: [PATCH] * lib/gdb.exp (build_id_debug_filename_get): OBJCOPY pipe being read must be set to binary. --- gdb/testsuite/ChangeLog | 5 +++++ gdb/testsuite/lib/gdb.exp | 1 + 2 files changed, 6 insertions(+) diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index 1574c3ac4c8..6ceb02f3bb4 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2007-12-10 Jan Kratochvil + + * lib/gdb.exp (build_id_debug_filename_get): OBJCOPY pipe being read + must be set to binary. + 2007-12-09 Pedro Alves * 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 038f51a9577..11393e4010f 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] -- 2.30.2