Re: [PATCH] Fix "list" when control characters are seen

Tom Tromey
2019-04-19T19:03:54Z

>>>>> "Tom" == Tom Tromey <tromey@adacore.com> writes:

Tom> PR symtab/24423 points out that control characters in a source file
Tom> cause a hang in the "list" command, a regression introduced by the
Tom> styling changes.

Tom> This patch, from the PR, fixes the bug. I've included a minimal
Tom> change to the "list" test that exercises this code.

Tom> I recall that this bug was discussed on gdb-patches, and I thought
Tom> there was a patch there as well, but I was unable to find it.

I'm going to check this in to master and the 8.3 branch now.

Tom