This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH] native mingw32 gdb, eol format
- From: Eli Zaretskii <eliz at gnu dot org>
- To: Tom Tromey <tromey at redhat dot com>
- Cc: yao at codesourcery dot com, gdb-patches at sourceware dot org
- Date: Tue, 23 Jul 2013 22:08:05 +0300
- Subject: Re: [PATCH] native mingw32 gdb, eol format
- References: <1373936767-14858-1-git-send-email-yao at codesourcery dot com> <83ppuj2p7r dot fsf at gnu dot org> <51E9DBD4 dot 4070605 at codesourcery dot com> <87a9ldyu8k dot fsf at fleche dot redhat dot com>
- Reply-to: Eli Zaretskii <eliz at gnu dot org>
> From: Tom Tromey <tromey@redhat.com>
> Cc: Eli Zaretskii <eliz@gnu.org>, <gdb-patches@sourceware.org>
> Date: Tue, 23 Jul 2013 13:03:07 -0600
>
> >>>>> "Yao" == Yao Qi <yao@codesourcery.com> writes:
>
> Yao> Looks fixing the testsuite to allow '\r\r\n' is a promising approach,
> Yao> however it is not a small piece of work. The patch below is a
> Yao> proof-of-concept implementation, and we need to apply the change (\r
> Yao> -> ${cr}) to the testsuite. Please let me know is it what you
> Yao> want, and then I can evaluate how much efforts are needed here.
>
> Ouch. That seems quite painful to do.
>
> I wouldn't mind it, but I wonder whether there is another way.
> Can we somehow use stty to set the terminal to adapt to this?
> Could we maybe run gdb with a wrapper program (perhaps even another
> instance of expect) to do the translation?
How about a special option to GDB, which would switch the GDB standard
streams to binary mode?