This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]