From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 23089 invoked by alias); 15 Sep 2010 18:18:26 -0000 Received: (qmail 23078 invoked by uid 22791); 15 Sep 2010 18:18:25 -0000 X-SWARE-Spam-Status: No, hits=-1.9 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,SPF_HELO_PASS,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from smtp-out.google.com (HELO smtp-out.google.com) (216.239.44.51) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 15 Sep 2010 18:18:12 +0000 Received: from wpaz24.hot.corp.google.com (wpaz24.hot.corp.google.com [172.24.198.88]) by smtp-out.google.com with ESMTP id o8FIIApA006316 for ; Wed, 15 Sep 2010 11:18:10 -0700 Received: from ruffy.mtv.corp.google.com (ruffy.mtv.corp.google.com [172.18.118.116]) by wpaz24.hot.corp.google.com with ESMTP id o8FII9PO021088 for ; Wed, 15 Sep 2010 11:18:09 -0700 Received: by ruffy.mtv.corp.google.com (Postfix, from userid 67641) id AC9202461AB; Wed, 15 Sep 2010 11:18:08 -0700 (PDT) To: gdb-patches@sourceware.org Subject: [commit] dwarf2read.c (struct die_info): Fix comment. Message-Id: <20100915181808.AC9202461AB@ruffy.mtv.corp.google.com> Date: Wed, 15 Sep 2010 20:18:00 -0000 From: dje@google.com (Doug Evans) X-System-Of-Record: true X-IsSubscribed: yes Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2010-09/txt/msg00291.txt.bz2 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 * 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. */