diff options
author | David Carlton <carlton@bactrian.org> | 2003-09-30 22:29:28 +0000 |
---|---|---|
committer | David Carlton <carlton@bactrian.org> | 2003-09-30 22:29:28 +0000 |
commit | 639d11d30824e0fb7f9585400eac60534cd7fc9a (patch) | |
tree | 8ee83cbdc533223e6bb4512fb1ce338e4f61406d /opcodes | |
parent | 1fc0d1736505693dd0ab10986920cc6c8a5c4110 (diff) | |
download | gdb-639d11d30824e0fb7f9585400eac60534cd7fc9a.zip gdb-639d11d30824e0fb7f9585400eac60534cd7fc9a.tar.gz gdb-639d11d30824e0fb7f9585400eac60534cd7fc9a.tar.bz2 |
2003-09-30 David Carlton <carlton@kealia.com>
* dwarf2read.c (struct die_info): Add 'parent' field; replace
'has_children' and 'next' by 'child' and 'sibling'.
(read_comp_unit): Rework algorithm, breaking body into
read_die_and_children and read_die_and_siblings.
(read_die_and_children, read_die_and_siblings): New.
(read_full_die): Add 'has_children' argument; set it instead of
the die's 'has_children' field. Minor formatting cleanup.
(free_die_list): Use die->child and die->sibling instead of
die->next.
(dump_die_list): Ditto.
(sibling_die): Use die->sibling.
(psymtab_to_symtab_1): Use die's 'child' field in place of its
'has_children' and 'next' fields.
(process_die, read_file_scope, read_func_scope)
(read_lexical_block_scope, read_structure_scope)
(read_enumeration, read_array_type, read_common_block)
(read_namespace, read_subroutine_type, dump_die): Ditto.
Diffstat (limited to 'opcodes')
0 files changed, 0 insertions, 0 deletions