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-3.x | |
parent | 0d79cdc494d5eb9db26a602d62c92d49f83f407e (diff) | |
download | gdb-edfe0a0c6561cf838f3f885c22940025a826d900.zip gdb-edfe0a0c6561cf838f3f885c22940025a826d900.tar.gz gdb-edfe0a0c6561cf838f3f885c22940025a826d900.tar.bz2 |
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-3.x')
0 files changed, 0 insertions, 0 deletions