From 26abc753cd1eb1349f6fa053caab016c93ca5302 Mon Sep 17 00:00:00 2001 From: Tom Tromey Date: Sun, 24 Nov 2019 11:12:20 -0700 Subject: 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 * 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 --- gdb/psymtab.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gdb/psymtab.h') 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 */ -- cgit v1.1