From 119ac18100aab4bed2a6fdbf678adfaff4b41db6 Mon Sep 17 00:00:00 2001 From: Tom Tromey Date: Sun, 24 Aug 2008 20:33:33 +0000 Subject: [PATCH] * 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. --- gdb/ChangeLog | 7 +++++++ gdb/s390-tdep.c | 6 +++--- 2 files changed, 10 insertions(+), 3 deletions(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 1812d91dec9..d9340d55734 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,10 @@ +2008-08-24 Tom Tromey + + * 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 * rs6000-tdep.c (rs6000_builtin_type_vec128): Don't use diff --git a/gdb/s390-tdep.c b/gdb/s390-tdep.c index db1891fb5ba..ae7f332846e 100644 --- a/gdb/s390-tdep.c +++ b/gdb/s390-tdep.c @@ -2278,7 +2278,7 @@ static int 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; } @@ -2286,7 +2286,7 @@ s390_address_class_type_flags (int byte_size, int dwarf2_addr_class) 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; @@ -2298,7 +2298,7 @@ s390_address_class_name_to_type_flags (struct gdbarch *gdbarch, const char *name { 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 -- 2.30.2