* lib/gdb.exp (gdb_compile): Also force unbuffered mode for DJGPP

target.
This commit is contained in:
Pierre Muller 2009-06-17 22:46:09 +00:00
parent affddf1381
commit 56643c5e72
2 changed files with 6 additions and 0 deletions

View 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.

View 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.