This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [RFC] Fix pager bugs with style output
>>>>> "Joel" == Joel Brobecker <brobecker@adacore.com> writes:
Joel> As for the second one, I can present the symptoms here, but so far,
Joel> my efforts to reproduce it with a piece of code we can share here,
Joel> has remained fruitless :-(. Only with the example we have, which
Joel> unfortunately is code sent to us by a customer, can I reproduce.
Joel> In our testsuite, we named the testcase XXXX-XXX__separate. It uses
Joel> the "list" command, and it's as if the source had some extra empty
Joel> lines that are not there.
[...]
Joel> Not sure if it makes a difference or not, but I'm not using
Joel> GNU Highlight (yet).
It does make a difference, thanks for noting that.
It's easy to see the bug with a short C file that uses \r\n line endings.
Tom