* PATCH: doc fix for 'struct die_info'
@ 2003-10-02 17:14 Jim Blandy
0 siblings, 0 replies; only message in thread
From: Jim Blandy @ 2003-10-02 17:14 UTC (permalink / raw)
To: gdb-patches
2003-10-01 Jim Blandy <jimb@redhat.com>
* dwarf2read.c (struct die_info): Doc fix.
Index: gdb/dwarf2read.c
===================================================================
RCS file: /cvs/src/src/gdb/dwarf2read.c,v
retrieving revision 1.109
diff -c -c -F'^(' -r1.109 dwarf2read.c
*** gdb/dwarf2read.c 30 Sep 2003 22:29:28 -0000 1.109
--- gdb/dwarf2read.c 2 Oct 2003 04:06:12 -0000
***************
*** 320,328 ****
--- 320,335 ----
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 */
};
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2003-10-02 17:14 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-10-02 17:14 PATCH: doc fix for 'struct die_info' Jim Blandy
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox