This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [RFC 6/6] Fix remaining failures in gdb.base/printcmds.exp for mingw hosts.
- From: Keith Seitz <keiths at redhat dot com>
- To: Pierre Muller <pierre dot muller at ics-cnrs dot unistra dot fr>
- Cc: "'gdb-patches'" <gdb-patches at sourceware dot org>
- Date: Tue, 22 Oct 2013 11:25:52 -0700
- Subject: Re: [RFC 6/6] Fix remaining failures in gdb.base/printcmds.exp for mingw hosts.
- Authentication-results: sourceware.org; auth=none
- References: <002901cebaf2$35ec65a0$a1c530e0$ at muller@ics-cnrs.unistra.fr> <003b01cebaf3$a2d79620$e886c260$ at muller@ics-cnrs.unistra.fr> <524A2329 dot 3030706 at redhat dot com> <000901cebeab$a83936d0$f8aba470$ at muller@ics-cnrs.unistra.fr>
On 10/01/2013 06:39 AM, Pierre Muller wrote:
(gdb) PASS: gdb.base/printcmds.exp: set print elements 0
p teststring
$554 = <__cygwin_cxx_malloc+128> "teststring contents"
[snip]
Ah, that's good enough evidence for me.
The last errors were generated by the use of Ctrl-V
to avoid problems with possible association of @ to kill command.
mingw GDB doesn't handle this Ctrl-V, so I conditionally removed it
for
*-*-mingw* hosts.
This isn't so much a question for you specifically, but I thought I'd
throw this out to the greater wisdom of the list.
I searched around the test suite and found a bunch of places where this
character is used without the ^V hack. Is it (still) necessary at all?
Perhaps we can just get rid of it entirely?
I have no idea...
I just played it save by disabling only for MinGW hosts...
I say get rid of it. This is the only place where this is done, and if
this is really necessary, there are several other places where it should
have been done. So I'm assuming it is no longer strictly necessary.
Otherwise, given the harmless nature of the changes, I'd recommend that
a maintainer approve this.
With that, I think a maintainer should give this a final review and
approval.
Keith