aboutsummaryrefslogtreecommitdiff
path: root/gdb/dwarf2read.c
diff options
context:
space:
mode:
authorYao Qi <yao@codesourcery.com>2014-08-04 14:44:46 +0800
committerYao Qi <yao@codesourcery.com>2014-08-07 17:49:05 +0800
commitfffbe6a8c835b16b1c973766303a9e75ea646898 (patch)
treebcc275f9d02cb5bdbba9f9be0e5dc06ea104b257 /gdb/dwarf2read.c
parent5ee8a82c47856b204ad76407780e454f8cfd9a72 (diff)
downloadgdb-fffbe6a8c835b16b1c973766303a9e75ea646898.zip
gdb-fffbe6a8c835b16b1c973766303a9e75ea646898.tar.gz
gdb-fffbe6a8c835b16b1c973766303a9e75ea646898.tar.bz2
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 <yao@codesourcery.com> * dwarf2read.c (struct dwarf2_per_cu_data) <u>: Tweak comments.
Diffstat (limited to 'gdb/dwarf2read.c')
-rw-r--r--gdb/dwarf2read.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/dwarf2read.c b/gdb/dwarf2read.c
index 098f5a3..abe47d1 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,