diff options
author | Jan Kratochvil <jan.kratochvil@redhat.com> | 2010-06-05 14:11:54 +0000 |
---|---|---|
committer | Jan Kratochvil <jan.kratochvil@redhat.com> | 2010-06-05 14:11:54 +0000 |
commit | 7e314c57568d63ca63ac5386bde63bc024b91357 (patch) | |
tree | 9e6d9a1bb2df56d1d785dc0236c3b6150910d6aa /gdb/COPYING | |
parent | 2f29611481c5b740af6b2f61ec90a1359296a95b (diff) | |
download | gdb-7e314c57568d63ca63ac5386bde63bc024b91357.zip gdb-7e314c57568d63ca63ac5386bde63bc024b91357.tar.gz gdb-7e314c57568d63ca63ac5386bde63bc024b91357.tar.bz2 |
gdb/
Fix duplicate types for single DIE.
* dwarf2read.c (read_structure_type): Move set_descriptive_type after
set_die_type.
(read_array_type): Remove type initialization. Recheck get_die_type
after initial die_type. Move set_die_type before set_descriptive_type.
(read_set_type): New variable domain_type. Recheck get_die_type after
initial die_type. Move attr initialization later.
(read_tag_pointer_type, read_tag_reference_type): New variable
target_type. Recheck get_die_type after initial die_type.
(read_tag_ptr_to_member_type): Recheck get_die_type after initial
die_type and die_containing_type.
(read_tag_const_type, read_tag_volatile_type, read_subroutine_type):
Recheck get_die_type after initial die_type.
(read_subrange_type): Recheck get_die_type after initial die_type.
Move set_die_type before set_descriptive_type.
(set_die_type): Extend the function comment. Call complaint if DIE has
some type already set.
Diffstat (limited to 'gdb/COPYING')
0 files changed, 0 insertions, 0 deletions