]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
Change minimal_symbol_reader::record_full to take a bool
authorTom Tromey <tom@tromey.com>
Fri, 14 Oct 2016 21:19:03 +0000 (15:19 -0600)
committerTom Tromey <tom@tromey.com>
Fri, 21 Oct 2016 20:17:39 +0000 (14:17 -0600)
commitce6c454e5acbaec4e0c22e9c8af0fe7686a53baa
tree4f96acad23e5e9aad731e56b6360d891bf3eed1e
parentf60ee22ea1d62f7004511ec65a3ad76890032d88
Change minimal_symbol_reader::record_full to take a bool

This changes an "int" to a "bool" in the signature for
minimal_symbol_reader::record_full, and then fixes the callers.

2016-10-21  Tom Tromey  <tom@tromey.com>

* minsyms.h (minimal_symbol_reader::record_full): "copy_name" now
a bool.
(record, record_with_info): Update.
* minsyms.c (record): Fix indentation.
(record_full): Fix indentation.  Update for type change.
* elfread.c (record_minimal_symbol): "copy_name" now a bool.
(elf_symtab_read): "copy_names" now a bool.
(elf_rel_plt_read, elf_read_minimal_symbols): Update.
gdb/ChangeLog
gdb/elfread.c
gdb/minsyms.c
gdb/minsyms.h