mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-20 18:08:24 +08:00
Change objfile::has_partial_symbols to return bool
This changes objfile::has_partial_symbols and quick_symbol_functions::has_symbols to return bool. gdb/ChangeLog 2021-03-20 Tom Tromey <tom@tromey.com> * objfiles.h (struct objfile) <has_partial_symbols>: Return bool. * symfile.h (struct quick_symbol_functions) <has_symbols>: Return bool. * symfile-debug.c (debug_qf_has_symbols): Return bool. * psymtab.c (psym_has_symbols): Return bool. * objfiles.c (objfile::has_partial_symbols): Return bool. * dwarf2/read.c (dw2_has_symbols): Return bool.
This commit is contained in:
@ -1334,7 +1334,7 @@ psym_expand_symtabs_matching
|
||||
/* Psymtab version of has_symbols. See its definition in
|
||||
the definition of quick_symbol_functions in symfile.h. */
|
||||
|
||||
static int
|
||||
static bool
|
||||
psym_has_symbols (struct objfile *objfile)
|
||||
{
|
||||
return objfile->partial_symtabs->psymtabs != NULL;
|
||||
|
Reference in New Issue
Block a user