diff options
author | Jim Blandy <jimb@codesourcery.com> | 2003-10-02 17:13:16 +0000 |
---|---|---|
committer | Jim Blandy <jimb@codesourcery.com> | 2003-10-02 17:13:16 +0000 |
commit | 78ba4af6ad1579b7c028db434d636f80815bd543 (patch) | |
tree | bb72cfaac4fdd63ae428d05f5d95f4993fcbb360 | |
parent | b95f6b0c7ee0e107c6ff836573716187a73ffd8b (diff) | |
download | gdb-78ba4af6ad1579b7c028db434d636f80815bd543.zip gdb-78ba4af6ad1579b7c028db434d636f80815bd543.tar.gz gdb-78ba4af6ad1579b7c028db434d636f80815bd543.tar.bz2 |
* dwarf2read.c (struct die_info): Doc fix.
-rw-r--r-- | gdb/ChangeLog | 4 | ||||
-rw-r--r-- | gdb/dwarf2read.c | 7 |
2 files changed, 11 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index ff0aeff..155b52e 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,7 @@ +2003-10-02 Jim Blandy <jimb@redhat.com> + + * dwarf2read.c (struct die_info): Doc fix. + 2003-10-02 Corinna Vinschen <vinschen@redhat.com> * sh-tdep.c: Running thru gdb_indent.sh. diff --git a/gdb/dwarf2read.c b/gdb/dwarf2read.c index 3c3ec91..2514c7f 100644 --- a/gdb/dwarf2read.c +++ b/gdb/dwarf2read.c @@ -320,9 +320,16 @@ struct die_info unsigned int num_attrs; /* Number of attributes */ struct attribute *attrs; /* An array of attributes */ struct die_info *next_ref; /* Next die in ref hash table */ + + /* The dies in a compilation unit form an n-ary tree. PARENT + points to this die's parent; CHILD points to the first child of + this node; and all the children of a given node are chained + together via their SIBLING fields, terminated by a die whose + tag is zero. */ struct die_info *child; /* Its first child, if any. */ struct die_info *sibling; /* Its next sibling, if any. */ struct die_info *parent; /* Its parent, if any. */ + struct type *type; /* Cached type information */ }; |