Re: [RFC] Improve testsuite for poor expect behavior

Eli Zaretskii
2009-06-18T14:38:27Z

> Date: Wed, 17 Jun 2009 12:39:38 -0700
> From: Joel Brobecker <brobecker@adacore.com>
> Cc: muller@ics.u-strasbg.fr, gdb-patches@sourceware.org
>
> > Did someone check that switching it to binary will not interfere with
> > Emacs 23 GDB interface on Windows?
>
> Not sure about your specific question, but the piece I quoted only
> unbuffers stdout and stderr

Yes, I know that. However, Emacs on Windows jumps through the hoops
to emulate Posix pipe semantics with Windows pipes, and then the way
Emacs reads input from subprocesses has its own quirks (due to the
need to auto-detect multibyte non-ASCII characters in pipe reads,
where there are no guarantees that a multibyte character will not be
broken in its middle). So before we unconditionally do what you'd
like, I would suggest that someone checks that GUD in Emacs 23 is not
broken by these changes, however innocent they might be when GDB runs
on a true console.