Tweak comments in struct dwarf2_per_cu_data
authorYao Qi <yao@codesourcery.com>
Mon, 4 Aug 2014 06:44:46 +0000 (14:44 +0800)
committerYao Qi <yao@codesourcery.com>
Thu, 7 Aug 2014 09:49:05 +0000 (17:49 +0800)
When I read the comments to field 'u' of struct dwarf2_per_cu_data,
I don't think the comments say anything useful.  I update it per
my understanding.

gdb:

2014-08-07  Yao Qi  <yao@codesourcery.com>

* dwarf2read.c (struct dwarf2_per_cu_data) <u>: Tweak comments.

gdb/ChangeLog
gdb/dwarf2read.c

index 8146deaff6122eb01ad800ef1775fcb456223a0a..68d1db9719f554bc97afcba1cecb8bdc26bdabb6 100644 (file)
@@ -1,3 +1,7 @@
+2014-08-07  Yao Qi  <yao@codesourcery.com>
+
+       * dwarf2read.c (struct dwarf2_per_cu_data) <u>: Tweak comments.
+
 2014-08-07  Yao Qi  <yao@codesourcery.com>
 
        PR remote/17230
index 098f5a3963c9e486eb0d7281e529868851b3e668..abe47d100c7dac80acd7ae35570e1c7d3b8224ec 100644 (file)
@@ -611,8 +611,8 @@ struct dwarf2_per_cu_data
      However we can enter this file with just a "per_cu" handle.  */
   struct objfile *objfile;
 
-  /* When using partial symbol tables, the 'psymtab' field is active.
-     Otherwise the 'quick' field is active.  */
+  /* When dwarf2_per_objfile->using_index is true, the 'quick' field
+     is active.  Otherwise, the 'psymtab' field is active.  */
   union
   {
     /* The partial symbol table associated with this compilation unit,