diff options
author | Tom Tromey <tom@tromey.com> | 2020-02-26 15:41:07 -0700 |
---|---|---|
committer | Tom Tromey <tom@tromey.com> | 2020-02-26 15:49:50 -0700 |
commit | edfe0a0c6561cf838f3f885c22940025a826d900 (patch) | |
tree | 2af64454c203b6f7aff955be32fc95a3ddadea6b /gdb/ChangeLog | |
parent | 0d79cdc494d5eb9db26a602d62c92d49f83f407e (diff) | |
download | binutils-gdb-edfe0a0c6561cf838f3f885c22940025a826d900.tar.gz |
Remove casts from dwarf2/index-write.c
dwarf2/index-write.c casts pointers to "dwarf2_psymtab *", but as far
as I can tell, it does not actually use any DWARF-specific fields of
the psymtab. So, this patch changes this code to use partial_symtab
instead. This removes nearly every cast, leaving just the unavoidable
one from addrmap iteration.
gdb/ChangeLog
2020-02-26 Tom Tromey <tom@tromey.com>
* dwarf2/index-write.c (psym_index_map): Change type.
(add_address_entry_worker, write_one_signatured_type)
(recursively_count_psymbols, recursively_write_psymbols)
(class debug_names, psyms_seen_size, write_gdbindex)
(write_debug_names): Use partial_symtab, not dwarf2_psymtab.
Diffstat (limited to 'gdb/ChangeLog')
-rw-r--r-- | gdb/ChangeLog | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 9f2387d5f50..2bb65e7eaed 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,11 @@ +2020-02-26 Tom Tromey <tom@tromey.com> + + * dwarf2/index-write.c (psym_index_map): Change type. + (add_address_entry_worker, write_one_signatured_type) + (recursively_count_psymbols, recursively_write_psymbols) + (class debug_names, psyms_seen_size, write_gdbindex) + (write_debug_names): Use partial_symtab, not dwarf2_psymtab. + 2020-02-26 Aaron Merey <amerey@redhat.com> * Makefile.in: Handle optional debuginfod support. |