]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
Allow expand_symtabs_matching to examine imported psymtabs
authorTom Tromey <tom@tromey.com>
Fri, 26 Mar 2021 19:28:03 +0000 (13:28 -0600)
committerTom Tromey <tom@tromey.com>
Fri, 26 Mar 2021 19:28:03 +0000 (13:28 -0600)
commitcd43f63e00113cc10e068a10966a8c90e9b37ccc
tree3fec0c8dfaf7f5b0e4cc7e2d9fa5b885074f70ae
parentff5b3e1458875830595e8c1d1fab6624264b3935
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.
gdb/ChangeLog
gdb/psymtab.c