gdb/
[deliverable/binutils-gdb.git] / gdb / gdbtypes.h
index f771bed46f82c18ed47d3fc852e8edc5add4fb79..1e96293abf71ebb0073aa25a69b042321d70b621 100644 (file)
@@ -509,7 +509,7 @@ struct main_type
           Otherwise, physname is the mangled label of the static field.  */
 
        CORE_ADDR physaddr;
-       char *physname;
+       const char *physname;
       }
       loc;
 
@@ -705,6 +705,9 @@ struct cplus_struct_type
        dynamic.  Zero if not yet computed.  */
     int is_dynamic : 2;
 
+    /* Non-zero if this type came from a Java CU.  */
+    unsigned int is_java : 1;
+
     /* For derived classes, the number of base classes is given by
        n_baseclasses and virtual_field_bits is a bit vector containing
        one bit per base class.  If the base class is virtual, the
@@ -991,6 +994,7 @@ extern void allocate_gnat_aux_type (struct type *);
 #define BASETYPE_VIA_PUBLIC(thistype, index) \
   ((!TYPE_FIELD_PRIVATE(thistype, index)) && (!TYPE_FIELD_PROTECTED(thistype, index)))
 #define TYPE_CPLUS_DYNAMIC(thistype) TYPE_CPLUS_SPECIFIC (thistype)->is_dynamic
+#define TYPE_CPLUS_REALLY_JAVA(thistype) TYPE_CPLUS_SPECIFIC (thistype)->is_java
 
 #define BASETYPE_VIA_VIRTUAL(thistype, index) \
   (TYPE_CPLUS_SPECIFIC(thistype)->virtual_field_bits == NULL ? 0 \
@@ -1405,7 +1409,7 @@ extern void check_stub_method_group (struct type *, int);
 extern char *gdb_mangle_name (struct type *, int, int);
 
 extern struct type *lookup_typename (const struct language_defn *,
-                                    struct gdbarch *, char *,
+                                    struct gdbarch *, const char *,
                                     const struct block *, int);
 
 extern struct type *lookup_template_type (char *, struct type *,
This page took 0.023373 seconds and 4 git commands to generate.