]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
gdb: Change psymbol_functions::require_partial_symbols to partial_symbols
authorLancelot SIX <lancelot.six@amd.com>
Tue, 24 May 2022 12:32:18 +0000 (13:32 +0100)
committerLancelot SIX <lancelot.six@amd.com>
Thu, 26 May 2022 18:01:42 +0000 (19:01 +0100)
commit98aa8321ee1bbd4b511992f2bbc4d34450c4a3f9
treef62a9f4d0aafdeae5d112381becb5937593096f8
parentfcf8e814206f9f5a0a90b2f509fe12d841fa5163
gdb: Change psymbol_functions::require_partial_symbols to partial_symbols

The previous patch ensured that partial symbols are read before calling
most of the quick_function's methods.

The psymbol_functions class has the require_partial_symbols method which
serves this exact purpose, and does not need to do it anymore.

This patch renames this method to partial_symbols and makes it an accessor
which asserts that partial symbols have been read at this point.

Regression tested on x86_64-linux.
gdb/psympriv.h
gdb/psymtab.c