From 67547d896b0593b0fa62e23ac68c483a7e8566e2 Mon Sep 17 00:00:00 2001 From: Christian Biesinger Date: Tue, 10 Sep 2019 15:37:50 -0500 Subject: Change the type of copy_names from int to bool This parameter is really a boolean, so change the type accordingly and update the callers. This is for symbol_set_names, add_psymbol_to_bcache, and add_psymbol_to_list. minimal_symbol_reader::record_full was already passing a bool to symbol_set_names. gdb/ChangeLog: 2019-09-11 Christian Biesinger * dbxread.c (read_dbx_symtab): Update. * dwarf2read.c (load_partial_dies): Update. * mdebugread.c (parse_partial_symbols): Update. (handle_psymbol_enumerators): Update. * psympriv.h (add_psymbol_to_list): Change type of copy_names to bool. * psymtab.c (add_psymbol_to_bcache): Likewise. (add_psymbol_to_list): Likewise. * symtab.c (symbol_set_names): Likewise. * symtab.h (symbol_set_names): Likewise. * xcoffread.c (scan_xcoff_symtab): Update. --- gdb/psympriv.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gdb/psympriv.h') diff --git a/gdb/psympriv.h b/gdb/psympriv.h index 61d73a3..9d22f5c 100644 --- a/gdb/psympriv.h +++ b/gdb/psympriv.h @@ -289,7 +289,7 @@ enum class psymbol_placement /* Add any kind of symbol to a partial_symbol vector. */ extern void add_psymbol_to_list (const char *, int, - int, domain_enum, + bool, domain_enum, enum address_class, short /* section */, enum psymbol_placement, -- cgit v1.1