[PATCH 0/4] Fewer calls to "open" when stepping
Eli Zaretskii
eliz@gnu.org
Fri Jul 26 14:56:00 GMT 2019
> From: Tom Tromey <tromey@adacore.com>
> Date: Fri, 26 Jul 2019 07:34:19 -0600
>
> A user noticed that gdb calls open very many times while stepping.
>
> This series improves gdb's behavior by changing the source cache to
> also cache un-highlighted text, and to track the "line_charpos" data
> that is currently put into the symtab. It also includes a patch to
> fix an apparently longstanding logic bug in the source file error
> reporting.
>
> Tested on x86-64 Fedora 29.
IMO, it should be tested on MS-Windows as well, since there's a
complex relationship there between lseek and fstat (and offsets into
the file in general), due to the CRLF EOL format.
Thanks.
More information about the Gdb-patches
mailing list