]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
Convert lookup_symbol_via_quick_fns
authorTom Tromey <tom@tromey.com>
Tue, 31 Dec 2024 20:30:18 +0000 (13:30 -0700)
committerTom Tromey <tom@tromey.com>
Wed, 10 Sep 2025 22:07:57 +0000 (16:07 -0600)
commitc879f4dc3e317cf6353a45a803ecf00d577a13d8
tree38cf7bb2081dba9043cccf03b2f17dd10c813f4e
parent2d0e2b2612b0d96a37bf1753eb71739c3506a8d0
Convert lookup_symbol_via_quick_fns

This converts lookup_symbol_via_quick_fns to the callback approach,
merging the search loop and the call to expand_symtabs_matching.

Note that this changes lookup_symbol_via_quick_fns to use a
best_symbol_tracker.  Before this patch there was a discrepancy here
between the two search functions.

Bug: https://sourceware.org/bugzilla/show_bug.cgi?id=16994
Bug: https://sourceware.org/bugzilla/show_bug.cgi?id=16998
Acked-By: Simon Marchi <simon.marchi@efficios.com>
gdb/symtab.c