From: "Pierre Muller" <muller@ics.u-strasbg.fr>
To: "'Daniel Jacobowitz'" <drow@false.org>
Cc: <gdb-patches@sourceware.org>
Subject: [RFA] testsuite/lib/gdb.exp Use unbuffered stdout and stderr also for djgpp executables
Date: Wed, 17 Jun 2009 21:06:00 -0000 [thread overview]
Message-ID: <001401c9ef8f$7c031b70$74095250$@u-strasbg.fr> (raw)
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.
next reply other threads:[~2009-06-17 21:06 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-06-17 21:06 Pierre Muller [this message]
2009-06-17 22:39 ` 'Daniel Jacobowitz'
2009-06-17 22:56 ` Pierre Muller
2009-06-18 14:46 ` Eli Zaretskii
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='001401c9ef8f$7c031b70$74095250$@u-strasbg.fr' \
--to=muller@ics.u-strasbg.fr \
--cc=drow@false.org \
--cc=gdb-patches@sourceware.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox