[Bug symtab/30738] [gdb/symtab, readnow] different symtab order gives different results

cvs-commit at gcc dot gnu.org sourceware-bugzilla@sourceware.org
Thu Oct 9 21:48:22 GMT 2025


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

--- Comment #12 from Sourceware Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Tom Tromey <tromey@sourceware.org>:

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

commit a736ff7d886dbcc85026264c3ce11c125a8409b2
Author: Tom Tromey <tom@tromey.com>
Date:   Sat Sep 27 22:29:24 2025 -0600

    Clean up iterate_over_symtabs

    After the "search via psyms" series, there's no need for
    iterate_over_symtabs to first check the expanded symtabs -- the
    callback will now be called for every relevant symtab, including ones
    that were already expanded before the search.

    Cleaning this up enables some other cleanups.  In particular,
    iterate_over_some_symtabs is not needed in its current form, so here
    I've renamed it, made it static, and made it search just a single
    compunit symtab.

    While there I cleaned up the "invert" logic in
    objfile::map_symtabs_matching_filename.

    Bug: https://sourceware.org/bugzilla/show_bug.cgi?id=30738
    Reviewed-By: Guinevere Larsen <guinevere@redhat.com>

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


More information about the Gdb-prs mailing list