diff options
author | Tom Tromey <tom@tromey.com> | 2021-03-20 17:23:40 -0600 |
---|---|---|
committer | Tom Tromey <tom@tromey.com> | 2021-03-20 17:23:41 -0600 |
commit | fae2120ba0a6fd9288af24b359bf0e3ab3556cdb (patch) | |
tree | 9e8a50fa40e5e62b17f49248df7a94e38467fb07 /gdb/symfile-debug.c | |
parent | a8ad4f3c17727fe2c499a9a8f775ccfe877326ac (diff) | |
download | gdb-fae2120ba0a6fd9288af24b359bf0e3ab3556cdb.zip gdb-fae2120ba0a6fd9288af24b359bf0e3ab3556cdb.tar.gz gdb-fae2120ba0a6fd9288af24b359bf0e3ab3556cdb.tar.bz2 |
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.
Diffstat (limited to 'gdb/symfile-debug.c')
-rw-r--r-- | gdb/symfile-debug.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/symfile-debug.c b/gdb/symfile-debug.c index 2929af8..7c022ae 100644 --- a/gdb/symfile-debug.c +++ b/gdb/symfile-debug.c @@ -70,12 +70,12 @@ debug_symtab_name (struct symtab *symtab) /* Debugging version of struct quick_symbol_functions. */ -static int +static bool debug_qf_has_symbols (struct objfile *objfile) { const struct debug_sym_fns_data *debug_data = symfile_debug_objfile_data_key.get (objfile); - int retval; + bool retval; retval = debug_data->real_sf->qf->has_symbols (objfile); |