| commit | 1c7d9f96cb5c91e43d6ed9fb9081b9c94d06e548 | [log] [tgz] |
|---|---|---|
| author | Tom Tromey <tom@tromey.com> | Wed Dec 18 17:36:09 2024 -0700 |
| committer | Tom Tromey <tom@tromey.com> | Tue Dec 31 13:35:38 2024 -0700 |
| tree | 73d1e97104e50d10596a8ed7b4f445ea2d9c462b | |
| parent | 0f68254da9cead7aa6dde90e3a17cc9e385ae711 [diff] |
Use 'flags' when expanding symtabs in gdbpy_lookup_static_symbols This changes gdbpy_lookup_static_symbols to pass the 'flags' parameter to expand_symtabs_matching. This should refine the search somewhat. Note this is "just" a performance improvement, as the loop over symtabs already checks 'flags'. v2 also removes 'SEARCH_GLOBAL_BLOCK' and updates py-symbol.exp to verify that this works properly. Thanks to Tom for this insight. Co-Authored-By: Tom de Vries <tdevries@suse.de>