From: Tom Tromey Date: Sat, 2 Sep 2023 15:42:44 +0000 (-0600) Subject: Only look for functions in expand_symtabs_for_function X-Git-Tag: gdb-15-branchpoint~1103 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=8068710e130036c0973d87cfc85b68981691d130;p=thirdparty%2Fbinutils-gdb.git Only look for functions in expand_symtabs_for_function This changes expand_symtabs_for_function to only look in the function domain. --- diff --git a/gdb/symfile-debug.c b/gdb/symfile-debug.c index 30b02531b9c..96cdfeeb7ed 100644 --- a/gdb/symfile-debug.c +++ b/gdb/symfile-debug.c @@ -342,7 +342,7 @@ objfile::expand_symtabs_for_function (const char *func_name) nullptr, (SEARCH_GLOBAL_BLOCK | SEARCH_STATIC_BLOCK), - SEARCH_VFT); + SEARCH_FUNCTION_DOMAIN); } void