Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
* [RFA] testsuite/lib/gdb.exp Use unbuffered stdout and stderr also for djgpp executables
@ 2009-06-17 21:06 Pierre Muller
  2009-06-17 22:39 ` 'Daniel Jacobowitz'
  2009-06-18 14:46 ` Eli Zaretskii
  0 siblings, 2 replies; 4+ messages in thread
From: Pierre Muller @ 2009-06-17 21:06 UTC (permalink / raw)
  To: 'Daniel Jacobowitz'; +Cc: gdb-patches

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.


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [RFA] testsuite/lib/gdb.exp Use unbuffered stdout and stderr  also for djgpp executables
  2009-06-17 21:06 [RFA] testsuite/lib/gdb.exp Use unbuffered stdout and stderr also for djgpp executables Pierre Muller
@ 2009-06-17 22:39 ` 'Daniel Jacobowitz'
  2009-06-17 22:56   ` Pierre Muller
  2009-06-18 14:46 ` Eli Zaretskii
  1 sibling, 1 reply; 4+ messages in thread
From: 'Daniel Jacobowitz' @ 2009-06-17 22:39 UTC (permalink / raw)
  To: Pierre Muller; +Cc: gdb-patches

On Wed, Jun 17, 2009 at 11:06:28PM +0200, Pierre Muller wrote:
> 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?

OK.

-- 
Daniel Jacobowitz
CodeSourcery


^ permalink raw reply	[flat|nested] 4+ messages in thread

* RE: [RFA] testsuite/lib/gdb.exp Use unbuffered stdout and stderr  also for djgpp executables
  2009-06-17 22:39 ` 'Daniel Jacobowitz'
@ 2009-06-17 22:56   ` Pierre Muller
  0 siblings, 0 replies; 4+ messages in thread
From: Pierre Muller @ 2009-06-17 22:56 UTC (permalink / raw)
  To: 'Daniel Jacobowitz'; +Cc: gdb-patches

Thanks, patch committed.

Pierre

> -----Message d'origine-----
> De : gdb-patches-owner@sourceware.org [mailto:gdb-patches-
> owner@sourceware.org] De la part de 'Daniel Jacobowitz'
> Envoyé : Thursday, June 18, 2009 12:39 AM
> À : Pierre Muller
> Cc : gdb-patches@sourceware.org
> Objet : Re: [RFA] testsuite/lib/gdb.exp Use unbuffered stdout and
> stderr also for djgpp executables
> 
> On Wed, Jun 17, 2009 at 11:06:28PM +0200, Pierre Muller wrote:
> > 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?
> 
> OK.
> 
> --
> Daniel Jacobowitz
> CodeSourcery


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [RFA] testsuite/lib/gdb.exp Use unbuffered stdout and stderr also for djgpp executables
  2009-06-17 21:06 [RFA] testsuite/lib/gdb.exp Use unbuffered stdout and stderr also for djgpp executables Pierre Muller
  2009-06-17 22:39 ` 'Daniel Jacobowitz'
@ 2009-06-18 14:46 ` Eli Zaretskii
  1 sibling, 0 replies; 4+ messages in thread
From: Eli Zaretskii @ 2009-06-18 14:46 UTC (permalink / raw)
  To: Pierre Muller; +Cc: drow, gdb-patches

> From: "Pierre Muller" <muller@ics.u-strasbg.fr>
> Cc: <gdb-patches@sourceware.org>
> Date: Wed, 17 Jun 2009 23:06:28 +0200
> 
> 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?

If it makes the test suite work with DJGPP, I don't see any reasons
not to commit it.

Thanks.


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2009-06-18 14:46 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-06-17 21:06 [RFA] testsuite/lib/gdb.exp Use unbuffered stdout and stderr also for djgpp executables Pierre Muller
2009-06-17 22:39 ` 'Daniel Jacobowitz'
2009-06-17 22:56   ` Pierre Muller
2009-06-18 14:46 ` Eli Zaretskii

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox