Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: "Pierre Muller" <muller@ics.u-strasbg.fr>
To: "'Daniel Jacobowitz'" <drow@false.org>
Cc: <gdb-patches@sourceware.org>
Subject: RE: [RFA] Avoid error/prompt reversal for mingw
Date: Mon, 31 Mar 2008 16:04:00 -0000	[thread overview]
Message-ID: <000d01c89347$e3a71c40$aaf554c0$@u-strasbg.fr> (raw)
In-Reply-To: <20080331152843.GA1576@caradoc.them.org>

> We have spent a lot of time over the last few months getting the
> testsuite to run on mingw.  A mingw-built GDB does not work well
> with a Cygwin expect.  The flush is actually a symptom of a larger
> problem: isatty returns false when running in expect, but the
> testsuite is written as if it runs on a terminal.

  But this problem arises both for cygwin and mingw,
and nevertheless, I never saw the output reversed in Cygwin GDB.
  Cygwin tests are not very reliable either :(
I often get freezes while running the testsuite.
I could not get a single testsuite to complete on
a windows 2000 machine, while Windows XP
only freezes when I try to run several testsuite 
with different patches...

> We've got a couple of patches.  Some of them we can submit because
> they're only moderately ugly, but others are just horrible.  Can you
> test a Cygwin-built GDB instead?  It's a lot easier, it works a lot
> better, and it tests more or less the same code.

  I would really be interested in getting the mingw version
to work as well as the Cygwin, on reason being that I
would really prefer to be able to use a GDB library without 
cygwin DLL to integrate into my Free Pascal IDE...
  I would also like to be able to test the DJGPP version...
(I have a predilection for old stuff...)

> I can try to separate out the postable patches later this week if
> you'd like.

  Other that the one mentioned here, I have mainly :

1) a patch that uses cygpath to translate cygwin pathes into 
something that Mingw GDB understands, 
2)a "one line" patch to swallow the "cYg" warnings
in win32-nat.c 
3) added
set CC_FOR_TARGET "gcc -mno-cygwin"
to site.exp file in gdb/testsuite

 One other really annoying thing after is the
Dos/Unix line ending stuff...
Only a small part of the testsuite
copes correctly with that...

Should I conclude from your remarks that
my patch is not likely to get an approval?


Pierre Muller
Pascal language support maintainer for GDB






  reply	other threads:[~2008-03-31 15:57 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-03-31 15:29 Pierre Muller
2008-03-31 15:57 ` Daniel Jacobowitz
2008-03-31 16:04   ` Pierre Muller [this message]
2008-03-31 17:34     ` 'Daniel Jacobowitz'

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='000d01c89347$e3a71c40$aaf554c0$@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