This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
[RFA] testsuite/lib/gdb.exp Use unbuffered stdout and stderr also for djgpp executables
- From: "Pierre Muller" <muller at ics dot u-strasbg dot fr>
- To: "'Daniel Jacobowitz'" <drow at false dot org>
- Cc: <gdb-patches at sourceware dot org>
- Date: Wed, 17 Jun 2009 23:06:28 +0200
- Subject: [RFA] testsuite/lib/gdb.exp Use unbuffered stdout and stderr also for djgpp executables
I am trying to use the testsuite with DJGPP
(see a previous email where I sent a djgpp.exp
board description that allows to run subsets of the testsuite).
Is this patch OK?
Pierre
ChangeLog entry:
2009-06-17 Pierre Muller <muller@ics.u-strasbg.fr>
* gdb.exp (gdb_compile): Also force unbuffered mode for DJGPP
target.
Index: gdb.exp
===================================================================
RCS file: /cvs/src/src/gdb/testsuite/lib/gdb.exp,v
retrieving revision 1.115
diff -u -p -r1.115 gdb.exp
--- gdb.exp 12 Jun 2009 21:28:34 -0000 1.115
+++ gdb.exp 17 Jun 2009 20:39:30 -0000
@@ -1747,6 +1747,7 @@ proc gdb_compile {source dest type optio
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.