aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorDoug Evans <dje@google.com>2015-04-28 21:23:24 -0700
committerDoug Evans <dje@google.com>2015-04-28 21:23:24 -0700
commit5e7cf0784c9b543b1870b974a78244c40105c523 (patch)
treef9d28832034ee1b57d5b5bf3a68437fb3484f59a /gdb
parent59fb7612ddee9219817a0c33b7d533b3d1c2aa41 (diff)
downloadgdb-5e7cf0784c9b543b1870b974a78244c40105c523.zip
gdb-5e7cf0784c9b543b1870b974a78244c40105c523.tar.gz
gdb-5e7cf0784c9b543b1870b974a78244c40105c523.tar.bz2
* gdbtypes.h (struct cplus_struct_type) <n_baseclasses>: Fix comment.
gdb/ChangeLog: * gdbtypes.h (struct cplus_struct_type) <n_baseclasses>: Fix comment.
Diffstat (limited to 'gdb')
-rw-r--r--gdb/ChangeLog4
-rw-r--r--gdb/gdbtypes.h4
2 files changed, 6 insertions, 2 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 4e78d39..97616fe 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,7 @@
+2015-04-28 Doug Evans <dje@google.com>
+
+ * gdbtypes.h (struct cplus_struct_type) <n_baseclasses>: Fix comment.
+
2015-04-28 Sasha Smundak <asmundak@google.com>
* NEWS: Mention gdb.Type.optimized_out method.
diff --git a/gdb/gdbtypes.h b/gdb/gdbtypes.h
index 883418f..a912c8c 100644
--- a/gdb/gdbtypes.h
+++ b/gdb/gdbtypes.h
@@ -915,8 +915,8 @@ struct cplus_struct_type
{
/* * Number of base classes this type derives from. The
baseclasses are stored in the first N_BASECLASSES fields
- (i.e. the `fields' field of the struct type). I think only the
- `type' field of such a field has any meaning. */
+ (i.e. the `fields' field of the struct type). The only fields
+ of struct field that are used are: type, name, loc.bitpos. */
short n_baseclasses;