diff options
author | Tom Tromey <tromey@redhat.com> | 2008-08-24 20:33:33 +0000 |
---|---|---|
committer | Tom Tromey <tromey@redhat.com> | 2008-08-24 20:33:33 +0000 |
commit | 119ac18100aab4bed2a6fdbf678adfaff4b41db6 (patch) | |
tree | 0d55f5aee5cff88251de0d8386ff3eacd425f25e /gdb/s390-tdep.c | |
parent | 400b20f5ec614fb6ddf56e552f0618c65913103a (diff) | |
download | gdb-119ac18100aab4bed2a6fdbf678adfaff4b41db6.zip gdb-119ac18100aab4bed2a6fdbf678adfaff4b41db6.tar.gz gdb-119ac18100aab4bed2a6fdbf678adfaff4b41db6.tar.bz2 |
* 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.
Diffstat (limited to 'gdb/s390-tdep.c')
-rw-r--r-- | gdb/s390-tdep.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gdb/s390-tdep.c b/gdb/s390-tdep.c index db1891f..ae7f332 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 |