diff options
author | Tom Tromey <tom@tromey.com> | 2021-03-26 13:28:03 -0600 |
---|---|---|
committer | Tom Tromey <tom@tromey.com> | 2021-03-26 13:28:03 -0600 |
commit | cd43f63e00113cc10e068a10966a8c90e9b37ccc (patch) | |
tree | 3fec0c8dfaf7f5b0e4cc7e2d9fa5b885074f70ae /gdb/psymtab.c | |
parent | ff5b3e1458875830595e8c1d1fab6624264b3935 (diff) | |
download | gdb-cd43f63e00113cc10e068a10966a8c90e9b37ccc.zip gdb-cd43f63e00113cc10e068a10966a8c90e9b37ccc.tar.gz gdb-cd43f63e00113cc10e068a10966a8c90e9b37ccc.tar.bz2 |
Allow expand_symtabs_matching to examine imported psymtabs
Currently the psymtab variant of expand_symtabs_matching has this
check:
/* We skip shared psymtabs because file-matching doesn't apply
to them; but we search them later in the loop. */
if (ps->user != NULL)
continue;
In a larger series I'm working on, it's convenient to remove this
check. And, I noticed that a similar check is not done for
expand_symtabs_with_fullname. So, it made sense to me to remove the
check here as well.
gdb/ChangeLog
2021-03-26 Tom Tromey <tom@tromey.com>
* psymtab.c (psymbol_functions::expand_symtabs_matching): Remove
"user" check.
Diffstat (limited to 'gdb/psymtab.c')
-rw-r--r-- | gdb/psymtab.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/gdb/psymtab.c b/gdb/psymtab.c index 5978172..5a64166 100644 --- a/gdb/psymtab.c +++ b/gdb/psymtab.c @@ -1313,11 +1313,6 @@ psymbol_functions::expand_symtabs_matching if (ps->readin_p (objfile)) continue; - /* We skip shared psymtabs because file-matching doesn't apply - to them; but we search them later in the loop. */ - if (ps->user != NULL) - continue; - if (file_matcher) { bool match; |