diff options
author | Andrew Burgess <andrew.burgess@embecosm.com> | 2021-04-15 11:29:55 +0100 |
---|---|---|
committer | Andrew Burgess <andrew.burgess@embecosm.com> | 2021-06-25 20:54:28 +0100 |
commit | fc4d5ebf8f8fa30ae3f5c26270df0163ad72000c (patch) | |
tree | 6b78299ed4202c52690e26f485ea226cad48b93f /gdb/ChangeLog | |
parent | d038ce48f1adebd6917a1cfb595efd6f93d613ff (diff) | |
download | fsf-binutils-gdb-fc4d5ebf8f8fa30ae3f5c26270df0163ad72000c.zip fsf-binutils-gdb-fc4d5ebf8f8fa30ae3f5c26270df0163ad72000c.tar.gz fsf-binutils-gdb-fc4d5ebf8f8fa30ae3f5c26270df0163ad72000c.tar.bz2 |
gdb: add new function quick_symbol_functions::has_unexpanded_symbols
Adds a new function to the quick_symbol_functions API to let us know
if there are any unexpanded symbols. This functionality is required
by a later commit. After this commit the functionality is unused, and
untested.
The new function objfile::has_unexpanded_symtabs is added to the
symfile-debug.c file which is a little strange, but this
is (currently) where many of the other objfile::* functions (that call
onto the quick_symbol_functions) are defined, so I'm reluctant to
break this pattern.
There should be no user visible changes after this commit.
gdb/ChangeLog:
* dwarf2/read.c (struct dwarf2_base_index_functions)
<has_unexpanded_symtabs>: Declare.
(dwarf2_base_index_functions::has_unexpanded_symtabs): Define new
function.
* objfiles.h (struct objfile) <has_unexpanded_symtabs>: Declare.
* psympriv.h (struct psymbol_functions) <has_unexpanded_symtabs>:
Declare.
* psymtab.c (psymbol_functions::has_unexpanded_symtabs): Define
new function.
* quick-symbol.h (struct quick_symbol_functions)
<has_unexpanded_symtabs>: Declare.
* symfile-debug.c (objfile::has_unexpanded_symtabs): Define new
function.
Diffstat (limited to 'gdb/ChangeLog')
-rw-r--r-- | gdb/ChangeLog | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 9613e3e..310c506 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,5 +1,21 @@ 2021-06-25 Andrew Burgess <andrew.burgess@embecosm.com> + * dwarf2/read.c (struct dwarf2_base_index_functions) + <has_unexpanded_symtabs>: Declare. + (dwarf2_base_index_functions::has_unexpanded_symtabs): Define new + function. + * objfiles.h (struct objfile) <has_unexpanded_symtabs>: Declare. + * psympriv.h (struct psymbol_functions) <has_unexpanded_symtabs>: + Declare. + * psymtab.c (psymbol_functions::has_unexpanded_symtabs): Define + new function. + * quick-symbol.h (struct quick_symbol_functions) + <has_unexpanded_symtabs>: Declare. + * symfile-debug.c (objfile::has_unexpanded_symtabs): Define new + function. + +2021-06-25 Andrew Burgess <andrew.burgess@embecosm.com> + * infcall.c (call_function_by_hand_dummy): Add missing 'else' when setting prototyped flag. |