aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPierre Muller <muller@sourceware.org>2009-06-17 22:46:09 +0000
committerPierre Muller <muller@sourceware.org>2009-06-17 22:46:09 +0000
commit56643c5e722c2c7587275786f194b3d1ba5944cc (patch)
tree2c1a56ed65efac766f155c2bc61327bd1093e95e
parentaffddf13813eefe252c923001e09e7582adb8cfd (diff)
downloadfsf-binutils-gdb-56643c5e722c2c7587275786f194b3d1ba5944cc.zip
fsf-binutils-gdb-56643c5e722c2c7587275786f194b3d1ba5944cc.tar.gz
fsf-binutils-gdb-56643c5e722c2c7587275786f194b3d1ba5944cc.tar.bz2
* lib/gdb.exp (gdb_compile): Also force unbuffered mode for DJGPP
target.
-rw-r--r--gdb/testsuite/ChangeLog5
-rw-r--r--gdb/testsuite/lib/gdb.exp1
2 files changed, 6 insertions, 0 deletions
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog
index 8f0e218..f7572b3 100644
--- a/gdb/testsuite/ChangeLog
+++ b/gdb/testsuite/ChangeLog
@@ -1,3 +1,8 @@
+2009-06-18 Pierre Muller <muller@ics.u-strasbg.fr>
+
+ * lib/gdb.exp (gdb_compile): Also force unbuffered mode for DJGPP
+ target.
+
2009-06-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
* 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 38cb38a..b20d035 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.