public inbox for gdb-patches@sourceware.org
 help / color / mirror / Atom feed
* [commit] dwarf2read.c (struct die_info): Fix comment.
@ 2010-09-15 20:18 Doug Evans
  0 siblings, 0 replies; only message in thread
From: Doug Evans @ 2010-09-15 20:18 UTC (permalink / raw)
  To: gdb-patches

fyi,
I checked this in.

I think there's no reason to have to document how the list is terminated
(given that it's the obvious way).
And the previously specified reason was wrong.

2010-09-15  Doug Evans  <dje@google.com>

	* dwarf2read.c (struct die_info): Fix comment.

Index: dwarf2read.c
===================================================================
RCS file: /cvs/src/src/gdb/dwarf2read.c,v
retrieving revision 1.457
diff -u -p -r1.457 dwarf2read.c
--- dwarf2read.c	14 Sep 2010 21:28:53 -0000	1.457
+++ dwarf2read.c	15 Sep 2010 18:11:22 -0000
@@ -669,8 +669,7 @@ struct die_info
     /* 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.  */
+       together via their SIBLING fields.  */
     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.  */

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2010-09-15 18:18 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-09-15 20:18 [commit] dwarf2read.c (struct die_info): Fix comment Doug Evans

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).