diff options
author | Jan Kratochvil <jan.kratochvil@redhat.com> | 2011-05-20 08:55:51 +0000 |
---|---|---|
committer | Jan Kratochvil <jan.kratochvil@redhat.com> | 2011-05-20 08:55:51 +0000 |
commit | b3c8eb43f1e3f7d21851b3d82f9438ec372f9417 (patch) | |
tree | 41860298d2d4d7b2793dc52309edd32ed27e4eb6 /bfd/ticoff.h | |
parent | 5583de77a97f8b3ab60ab9b84443b7dd53a7d792 (diff) | |
download | gdb-b3c8eb43f1e3f7d21851b3d82f9438ec372f9417.zip gdb-b3c8eb43f1e3f7d21851b3d82f9438ec372f9417.tar.gz gdb-b3c8eb43f1e3f7d21851b3d82f9438ec372f9417.tar.bz2 |
gdb/
Fix -readnow for -gdwarf-4 unused type units.
* dwarf2read.c (struct signatured_type): Remove the field offset.
(create_signatured_type_table_from_index): Remove its initialization.
(create_debug_types_hash_table): Likewise. Initialize per_cu.offset
instead. Add a complaint call.
(process_psymtab_comp_unit): Change assignment to gdb_assert.
(process_type_comp_unit, lookup_die_type, dump_die_shallow)
(lookup_signatured_type_at_offset, read_signatured_type)
(write_one_signatured_type): Update the field for per_cu.
gdb/testsuite/
Fix -readnow for -gdwarf-4 unused type units.
* gdb.dwarf2/dw4-sig-type-unused.S: New file.
* gdb.dwarf2/dw4-sig-type-unused.exp: New file.
Diffstat (limited to 'bfd/ticoff.h')
0 files changed, 0 insertions, 0 deletions