From 78ba4af6ad1579b7c028db434d636f80815bd543 Mon Sep 17 00:00:00 2001 From: Jim Blandy Date: Thu, 2 Oct 2003 17:13:16 +0000 Subject: [PATCH] * dwarf2read.c (struct die_info): Doc fix. --- gdb/ChangeLog | 4 ++++ gdb/dwarf2read.c | 7 +++++++ 2 files changed, 11 insertions(+) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index ff0aeff2f08..155b52ec698 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,7 @@ +2003-10-02 Jim Blandy + + * dwarf2read.c (struct die_info): Doc fix. + 2003-10-02 Corinna Vinschen * sh-tdep.c: Running thru gdb_indent.sh. diff --git a/gdb/dwarf2read.c b/gdb/dwarf2read.c index 3c3ec918ef1..2514c7f7650 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 */ }; -- 2.30.2