* dwarf2read.c (read_structure_type): Rename from
authorDaniel Jacobowitz <drow@false.org>
Sun, 14 Mar 2004 21:08:24 +0000 (21:08 +0000)
committerDaniel Jacobowitz <drow@false.org>
Sun, 14 Mar 2004 21:08:24 +0000 (21:08 +0000)
commit134d01f12d35ad9cc2bc6e632f6865ccf98f4ee2
tree03e96a30c85b2d22661a6ab48cd05e0df5198862
parent57adceea83e0151a5eafc4e6f670c5606053ac44
* dwarf2read.c (read_structure_type): Rename from
read_structure_scope.  Don't create a symbol or call process_die.
Return immediately if die->type is set.  Call read_type_die before
dwarf2_add_member_fn.
(process_structure_scope): New function.
(read_enumeration_type, process_enumeration_scope): New functions,
broken out from read_enumeration.  Don't create the enumeration
type if it has already been created.
(read_enumeration): Removed.
(process_die): Call read_structure_type, process_structure_scope,
read_enumeration_type, and process_enumeration_scope.  Just call
new_symbol for base and subrange types.  Add a comment about other
type dies.
(read_type_die): Call read_enumeration_type.
(add_partial_structure, new_symbol): Update comments.
gdb/ChangeLog
gdb/dwarf2read.c