aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Tromey <tom@tromey.com>2023-09-02 09:42:44 -0600
committerTom Tromey <tom@tromey.com>2024-01-28 10:58:17 -0700
commit8068710e130036c0973d87cfc85b68981691d130 (patch)
tree0952efb6bd0ae558622b36cb515e886dd14cfe76
parentb63eb1f39d0d0c93bebe2d6756196002ad440298 (diff)
downloadgdb-8068710e130036c0973d87cfc85b68981691d130.zip
gdb-8068710e130036c0973d87cfc85b68981691d130.tar.gz
gdb-8068710e130036c0973d87cfc85b68981691d130.tar.bz2
Only look for functions in expand_symtabs_for_function
This changes expand_symtabs_for_function to only look in the function domain.
-rw-r--r--gdb/symfile-debug.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/symfile-debug.c b/gdb/symfile-debug.c
index 30b0253..96cdfee 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