TYPE_INSTANCE_FLAG_ADDRESS_CLASS_1.
(s390_address_class_type_flags_to_name): Likewise.
(s390_address_class_name_to_type_flags): Likewise.
+2008-08-24 Tom Tromey <tromey@redhat.com>
+
+ * s390-tdep.c (s390_address_class_type_flags): Use
+ TYPE_INSTANCE_FLAG_ADDRESS_CLASS_1.
+ (s390_address_class_type_flags_to_name): Likewise.
+ (s390_address_class_name_to_type_flags): Likewise.
+
2008-08-24 Tom Tromey <tromey@redhat.com>
* rs6000-tdep.c (rs6000_builtin_type_vec128): Don't use
s390_address_class_type_flags (int byte_size, int dwarf2_addr_class)
{
if (byte_size == 4)
- return TYPE_FLAG_ADDRESS_CLASS_1;
+ return TYPE_INSTANCE_FLAG_ADDRESS_CLASS_1;
else
return 0;
}
static const char *
s390_address_class_type_flags_to_name (struct gdbarch *gdbarch, int type_flags)
{
- if (type_flags & TYPE_FLAG_ADDRESS_CLASS_1)
+ if (type_flags & TYPE_INSTANCE_FLAG_ADDRESS_CLASS_1)
return "mode32";
else
return NULL;
{
if (strcmp (name, "mode32") == 0)
{
- *type_flags_ptr = TYPE_FLAG_ADDRESS_CLASS_1;
+ *type_flags_ptr = TYPE_INSTANCE_FLAG_ADDRESS_CLASS_1;
return 1;
}
else