* lib/gdb.exp (gdb_compile): Also force unbuffered mode for DJGPP
authorPierre Muller <muller@sourceware.org>
Wed, 17 Jun 2009 22:46:09 +0000 (22:46 +0000)
committerPierre Muller <muller@sourceware.org>
Wed, 17 Jun 2009 22:46:09 +0000 (22:46 +0000)
target.

gdb/testsuite/ChangeLog
gdb/testsuite/lib/gdb.exp

index 8f0e2189d458ee19ecb91174e419dcfa84f22475..f7572b3430691534c798fcff134056132b675ab4 100644 (file)
@@ -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.
index 38cb38a70f4bee7576642c3d067cb83e46a1c2cd..b20d03550a81811c2e9756e30af8821d6e305c7f 100644 (file)
@@ -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.