From 56643c5e722c2c7587275786f194b3d1ba5944cc Mon Sep 17 00:00:00 2001 From: Pierre Muller Date: Wed, 17 Jun 2009 22:46:09 +0000 Subject: [PATCH] * lib/gdb.exp (gdb_compile): Also force unbuffered mode for DJGPP target. --- 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 8f0e2189d4..f7572b3430 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2009-06-18 Pierre Muller + + * lib/gdb.exp (gdb_compile): Also force unbuffered mode for DJGPP + target. + 2009-06-17 Ulrich Weigand * gdb.base/dump.exp: Handle SPU like 64-bit platforms. diff --git a/gdb/testsuite/lib/gdb.exp b/gdb/testsuite/lib/gdb.exp index 38cb38a70f..b20d03550a 100644 --- a/gdb/testsuite/lib/gdb.exp +++ b/gdb/testsuite/lib/gdb.exp @@ -1747,6 +1747,7 @@ proc gdb_compile {source dest type options} { if { $type == "executable" } { if { ([istarget "*-*-mingw*"] + || [istarget "*-*-*djgpp"] || [istarget "*-*-cygwin*"])} { # Force output to unbuffered mode, by linking in an object file # with a global contructor that calls setvbuf.