This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
RE: [RFC 3/6] mingw-hdep: Add "maint set testuite-mode on/off" command.
- From: "Pierre Muller" <pierre dot muller at ics-cnrs dot unistra dot fr>
- To: "'Pedro Alves'" <palves at redhat dot com>, "'Eli Zaretskii'" <eliz at gnu dot org>
- Cc: "'Tom Tromey'" <tromey at redhat dot com>, <yao at codesourcery dot com>, <gdb-patches at sourceware dot org>
- Date: Tue, 1 Oct 2013 00:41:37 +0200
- Subject: RE: [RFC 3/6] mingw-hdep: Add "maint set testuite-mode on/off" command.
- Authentication-results: sourceware.org; auth=none
- References: <"002901cebaf2$35ec65a0$a1c530e0$ at muller"@ics-cnrs.unistra.fr> <33207 dot 6293569573$1380225714 at news dot gmane dot org> <87pprufgl8 dot fsf at fleche dot redhat dot com> <5245c3a0 dot a3e2440a dot 4b98 dot ffffd279SMTPIN_ADDED_BROKEN at mx dot google dot com> <5245DE52 dot 8080800 at redhat dot com> <52482EBA dot 5010209 at codesourcery dot com> <5248768B dot 4090705 at redhat dot com> <10148 dot 9390749068$1380495630 at news dot gmane dot org> <87eh869kry dot fsf at fleche dot redhat dot com> <83eh86dryo dot fsf at gnu dot org> <5249D4D9 dot 4080205 at redhat dot com>
> -----Message d'origine-----
> De : gdb-patches-owner@sourceware.org [mailto:gdb-patches-
> owner@sourceware.org] De la part de Pedro Alves
> Envoyé : lundi 30 septembre 2013 21:45
> À : Eli Zaretskii
> Cc : Tom Tromey; pierre.muller@ics-cnrs.unistra.fr; yao@codesourcery.com;
> gdb-patches@sourceware.org
> Objet : Re: [RFC 3/6] mingw-hdep: Add "maint set testuite-mode on/off"
> command.
>
> On 09/30/2013 08:34 PM, Eli Zaretskii wrote:
> >> From: Tom Tromey <tromey@redhat.com>
> >> Cc: "'Pedro Alves'" <palves@redhat.com>, "'Yao Qi'"
> <yao@codesourcery.com>, "'gdb-patches'"
<gdb-patches@sourceware.org>
> >> Date: Mon, 30 Sep 2013 13:22:57 -0600
> >>
> >> 5.26 was released in 1998 -- so, it is ancient. It's reasonable to
> >> require something newer.
> >
> > What if MSYS provides no newer versions?
>
> Somebody should work on providing it, IMO, if they want to
> run the testsuite against it. (this is testing we're talking about,
> not building GDB itself). I'm familiar with the history behind MSYS (old
> Cygwin fork, etc.), but this not really a core MSYS component one would
> assume would require a bunch of effort to compile for MSYS -- I'd imagine
> it not to be hard. Maybe a few patches to forward port, if any. Then
> we'd just need a wiki page explaining the whole 'testing Windows GDB under
> Cygwin or MSYS' -- a good idea regardless, IMO.
I must confess that I am now totally confused :(
Even with cygwin shell I have problems...
I was hoping that this would be the correct solution to the mingw host
GDBs testsuite runs... But I am really unable to get it to work...
I tried
fconfigure $res -translation {XXX YYY}
By default is seems to be {lf lf} (this can be seen by adding verbose
"[fconfigure $res]"
The first is supposed to change the input channel behavior and the second
the output channel behavior..
but changing only the first from lf to crlf, I get
a removal of the second ^M in the output produced by GDB (which is good)
but also a change in the strings sent to GDB "set args" in
gdb.base/a2-run.exp
in gdb_test_no_output is sent as "set args\n" instead of "set args\r\n"
which is BAD :(