[PATCH v2 2/2] [gdb/symtab] Use expand_all_symtabs in maint expand-symtabs
Tom Tromey
tom@tromey.com
Mon Sep 23 17:28:26 GMT 2024
>>>>> "Tom" == Tom de Vries <tdevries@suse.de> writes:
Tom> To expand all symtabs gdb usually uses expand_all_symtabs (used for -readnow),
Tom> but here we try to handle it in the filename_matcher argument.
Tom> Make this more similar to how gdb usually works by using expand_all_symtabs.
Tom> A previous version of the patch instead used a nullptr filename_matcher for
Tom> the regexp == nullptr case. That approach regressed test-cases
Tom> gdb.dwarf2/dwz-unused-pu.exp and gdb.dwarf2/dw2-dummy.exp.
Thanks.
Approved-By: Tom Tromey <tom@tromey.com>
Tom
More information about the Gdb-patches
mailing list