[PATCH 1/4] gdb: Fix skip of `\r` before `\n` in source output

Tom Tromey tom@tromey.com
Tue Jan 8 05:17:00 GMT 2019


>>>>> "Andrew" == Andrew Burgess <andrew.burgess@embecosm.com> writes:

Andrew> This caused a regression on the test gdb.fortran/nested-funcs.exp,
Andrew> which happens to have `\r\n` line endings.

Andrew> gdb/ChangeLog:

Andrew> 	* source.c (print_source_lines_base): Fix skip of '\r' if next
Andrew> 	character is '\n'.

Thanks,  This is ok.

Tom



More information about the Gdb-patches mailing list