aboutsummaryrefslogtreecommitdiff
path: root/gdb/symtab.h
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/symtab.h')
-rw-r--r--gdb/symtab.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/gdb/symtab.h b/gdb/symtab.h
index 801bc5f..2c5646e 100644
--- a/gdb/symtab.h
+++ b/gdb/symtab.h
@@ -195,7 +195,7 @@ struct type
int vptr_fieldno;
/* Slot to point to additional language-specific fields of this type. */
- union
+ union type_specific
{
struct type **arg_types;
struct cplus_struct_type *cplus_stuff;
@@ -674,6 +674,7 @@ int current_source_line;
#define TYPE_FN_FIELDS(thistype) TYPE_CPLUS_SPECIFIC(thistype)->fn_fields
#define TYPE_NFN_FIELDS(thistype) TYPE_CPLUS_SPECIFIC(thistype)->nfn_fields
#define TYPE_NFN_FIELDS_TOTAL(thistype) TYPE_CPLUS_SPECIFIC(thistype)->nfn_fields_total
+#define TYPE_TYPE_SPECIFIC(thistype) (thistype)->type_specific
#define TYPE_ARG_TYPES(thistype) (thistype)->type_specific.arg_types
#define TYPE_CPLUS_SPECIFIC(thistype) (thistype)->type_specific.cplus_stuff
#define TYPE_BASECLASS(thistype,index) (thistype)->fields[index].type