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]

RE: [RFC 3/6] mingw-hdep: Add "maint set testuite-mode on/off" command.



> -----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 :(


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