GDB doesn't show the correct line

Eli Zaretskii eliz@gnu.org
Mon Nov 15 16:06:00 GMT 2004


> Cc: tromey@redhat.com, drow@false.org, otto.wyss@orpatec.ch,
> 	gdb@sources.redhat.com
> From: Andreas Schwab <schwab@suse.de>
> Date: Mon, 15 Nov 2004 00:13:07 +0100
> 
> Because they look like non-canonical line endings, but can be interpreted
> as two line endings when using a strict interpretation.  The first one
> could be a Unix newline followed by a Mac newline, or a non-canonical DOS
> newline (should non-canonical DOS newlines be recognized?).  The second
> one could be a Mac newline followed by a DOS newline, or a spurious CR
> followed by a DOS newline (should spurious CRs be ignored?).

If we support \r Mac-style newlines, then (see Felix's message in this
thread), we cannot support non-canonical line-endings and we cannot
ignore spurious CRs.



More information about the Gdb mailing list