Change the type of copy_names from int to bool
authorChristian Biesinger <cbiesinger@google.com>
Tue, 10 Sep 2019 20:37:50 +0000 (15:37 -0500)
committerChristian Biesinger <cbiesinger@google.com>
Wed, 11 Sep 2019 17:43:45 +0000 (12:43 -0500)
commit67547d896b0593b0fa62e23ac68c483a7e8566e2
tree669833e9a12c28896bd0003424a07e1c032a8892
parent64b2d4a0a4e4f80d2aa2e52c6eec3186e76fc397
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  <cbiesinger@google.com>

* 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/ChangeLog
gdb/dbxread.c
gdb/dwarf2read.c
gdb/mdebugread.c
gdb/psympriv.h
gdb/psymtab.c
gdb/symtab.c
gdb/symtab.h
gdb/xcoffread.c
This page took 0.024682 seconds and 4 git commands to generate.