[Bug tui/25126] GDB uses the staled (cached?) source file

cvs-commit at gcc dot gnu.org sourceware-bugzilla@sourceware.org
Thu Oct 24 22:46:00 GMT 2019


https://sourceware.org/bugzilla/show_bug.cgi?id=25126

--- Comment #2 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by H.J. Lu <hjl@sourceware.org>:

https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=7b71fc971bd31b27cce8b883007ad467a7567499

commit 7b71fc971bd31b27cce8b883007ad467a7567499
Author: H.J. Lu <hjl.tools@gmail.com>
Date:   Thu Oct 24 15:43:21 2019 -0700

    Call forget_cached_source_info to clear the stale source cache

    Clear the stale source cache when re-reading symbols.

        PR gdb/25126
        * symfile.c (reread_symbols): Call forget_cached_source_info to
        clear the stale source cache.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the Gdb-prs mailing list