Change objfile::has_partial_symbols to return bool
authorTom Tromey <tom@tromey.com>
Sat, 20 Mar 2021 23:23:40 +0000 (17:23 -0600)
committerTom Tromey <tom@tromey.com>
Sat, 20 Mar 2021 23:23:41 +0000 (17:23 -0600)
commitfae2120ba0a6fd9288af24b359bf0e3ab3556cdb
tree9e8a50fa40e5e62b17f49248df7a94e38467fb07
parenta8ad4f3c17727fe2c499a9a8f775ccfe877326ac
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.
gdb/ChangeLog
gdb/dwarf2/read.c
gdb/objfiles.c
gdb/objfiles.h
gdb/psymtab.c
gdb/symfile-debug.c
gdb/symfile.h