This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH] Fix "list" when control characters are seen
- From: Tom Tromey <tom at tromey dot com>
- To: Tom Tromey <tromey at adacore dot com>
- Cc: gdb-patches at sourceware dot org
- Date: Fri, 19 Apr 2019 13:03:50 -0600
- Subject: Re: [PATCH] Fix "list" when control characters are seen
- References: <20190409185432.16985-1-tromey@adacore.com>
>>>>> "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