diff options
author | Tom Tromey <tom@tromey.com> | 2019-11-24 11:12:20 -0700 |
---|---|---|
committer | Tom Tromey <tom@tromey.com> | 2019-11-24 11:12:20 -0700 |
commit | 26abc753cd1eb1349f6fa053caab016c93ca5302 (patch) | |
tree | 3b88d92efe5087b62cc52e6815e80b831c2cfccb /gdb/psymtab.h | |
parent | 48d4af36c5fd9f9801fb91d7ca31f8d004939c09 (diff) | |
download | gdb-26abc753cd1eb1349f6fa053caab016c93ca5302.zip gdb-26abc753cd1eb1349f6fa053caab016c93ca5302.tar.gz gdb-26abc753cd1eb1349f6fa053caab016c93ca5302.tar.bz2 |
Use bool in require_partial_symbols
This changes require_partial_symbols to use bool as its parameter
type.
gdb/ChangeLog
2019-11-24 Tom Tromey <tom@tromey.com>
* symfile.c (read_symbols): Update.
* psymtab.c (require_partial_symbols): Change type of "verbose" to
bool.
(psym_map_symtabs_matching_filename, find_pc_sect_psymtab)
(psym_lookup_symbol, psym_find_last_source_symtab)
(psym_forget_cached_source_info, psym_print_stats)
(psym_expand_symtabs_for_function, psym_expand_all_symtabs)
(psym_expand_symtabs_with_fullname, psym_map_symbol_filenames)
(psym_map_matching_symbols, psym_expand_symtabs_matching)
(psym_find_compunit_symtab_by_address)
(maintenance_print_psymbols, maintenance_info_psymtabs)
(maintenance_check_psymtabs): Update.
* psymtab.h (require_partial_symbols): Change type of "verbose" to
bool.
Change-Id: Iae87aa5e4590706bb9e90a33adb86f1fe0fbf3c7
Diffstat (limited to 'gdb/psymtab.h')
-rw-r--r-- | gdb/psymtab.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/psymtab.h b/gdb/psymtab.h index 0ad2b49..a4ac35a 100644 --- a/gdb/psymtab.h +++ b/gdb/psymtab.h @@ -147,11 +147,11 @@ extern const struct quick_symbol_functions dwarf2_gdb_index_functions; extern const struct quick_symbol_functions dwarf2_debug_names_functions; /* Ensure that the partial symbols for OBJFILE have been loaded. If - VERBOSE is non-zero, then this will print a message when symbols + VERBOSE is true, then this will print a message when symbols are loaded. This function returns a range adapter suitable for iterating over the psymtabs of OBJFILE. */ extern psymtab_storage::partial_symtab_range require_partial_symbols - (struct objfile *objfile, int verbose); + (struct objfile *objfile, bool verbose); #endif /* PSYMTAB_H */ |