From fffbe6a8c835b16b1c973766303a9e75ea646898 Mon Sep 17 00:00:00 2001 From: Yao Qi Date: Mon, 4 Aug 2014 14:44:46 +0800 Subject: [PATCH] Tweak comments in struct dwarf2_per_cu_data 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 * dwarf2read.c (struct dwarf2_per_cu_data) : Tweak comments. --- gdb/ChangeLog | 4 ++++ gdb/dwarf2read.c | 4 ++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 8146deaff61..68d1db9719f 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,7 @@ +2014-08-07 Yao Qi + + * dwarf2read.c (struct dwarf2_per_cu_data) : Tweak comments. + 2014-08-07 Yao Qi PR remote/17230 diff --git a/gdb/dwarf2read.c b/gdb/dwarf2read.c index 098f5a3963c..abe47d100c7 100644 --- a/gdb/dwarf2read.c +++ b/gdb/dwarf2read.c @@ -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, -- 2.30.2