This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH] Handle \r\n in gdbreplay
> On Feb 21, 2019, at 11:06 AM, Tom Tromey <tromey@adacore.com> wrote:
>
>>>>>> "Eli" == Eli Zaretskii <eliz@gnu.org> writes:
>
> Eli> I'm okay with treating \r\n as a single \n, but do we really want to
> Eli> treat a single \r as if it were \n? I thought systems which used that
> Eli> EOL convention are not really widespread, to say the least.
>
> I normally handle \r this way out of habit I suppose. It doesn't matter
> that much to me, I guess \r isn't likely to be seen or made by accident.
Supposedly \r alone is newline in Mac OS 9 and before, which at this point is sufficiently ancient history it may no longer be interesting.
paul