diff options
Diffstat (limited to 'gdb/gdbtypes.h')
-rw-r--r-- | gdb/gdbtypes.h | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/gdb/gdbtypes.h b/gdb/gdbtypes.h index 679d569..8ccf37a 100644 --- a/gdb/gdbtypes.h +++ b/gdb/gdbtypes.h @@ -255,8 +255,7 @@ struct type } *fields; /* For types with virtual functions, VPTR_BASETYPE is the base class which - defined the virtual function table pointer. VPTR_FIELDNO is - the field number of that pointer in the structure. + defined the virtual function table pointer. For types that are pointer to member types, VPTR_BASETYPE is the type that this pointer is a member of. @@ -265,6 +264,13 @@ struct type struct type *vptr_basetype; + /* Field number of the virtual function table pointer in + VPTR_BASETYPE. If -1, we were unable to find the virtual + function table pointer in initial symbol reading, and + fill_in_vptr_fieldno should be called to find it if possible. + + Unused if this type does not have virtual functions. */ + int vptr_fieldno; /* Slot to point to additional language-specific fields of this type. */ |