This is the mail archive of the gdb@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: GDB doesn't show the correct line


> 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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]