diff options
author | Tom Tromey <tom@tromey.com> | 2019-04-21 09:34:16 -0600 |
---|---|---|
committer | Tom Tromey <tom@tromey.com> | 2019-05-08 16:01:47 -0600 |
commit | e85e19b4d7d9b3b322f27684f8c0a3a9ac0e57ab (patch) | |
tree | d946177e7924291df285c5f80ec019b31e064614 /gdb/dwarf2read.h | |
parent | f6aa7436201194e80e8d7761e6d88ecf0ec1e327 (diff) | |
download | gdb-e85e19b4d7d9b3b322f27684f8c0a3a9ac0e57ab.zip gdb-e85e19b4d7d9b3b322f27684f8c0a3a9ac0e57ab.tar.gz gdb-e85e19b4d7d9b3b322f27684f8c0a3a9ac0e57ab.tar.bz2 |
Convert auto-load.c to type-safe registry API
This changes auto-load.c to use the type-safe registry API. It also
changes a couple of types to "bool", removing uses of "FALSE".
gdb/ChangeLog
2019-05-08 Tom Tromey <tom@tromey.com>
* auto-load.c (struct auto_load_pspace_info): Add destructor and
initializers.
<unsupported_script_warning_printed,
script_not_found_warning_printed>: Now bool.
(auto_load_pspace_data): Change type.
(~auto_load_pspace_info): Rename from
auto_load_pspace_data_cleanup.
(get_auto_load_pspace_data, init_loaded_scripts_info)
(clear_section_scripts, maybe_print_unsupported_script_warning)
(maybe_print_script_not_found_warning, _initialize_auto_load):
Update.
Diffstat (limited to 'gdb/dwarf2read.h')
0 files changed, 0 insertions, 0 deletions