From b8b8b04721a9b0a677ecd66aa03e3e322d988385 Mon Sep 17 00:00:00 2001 From: Andrew Cagney Date: Sat, 23 Feb 2002 20:00:17 +0000 Subject: From 2002-02-20 Martin Schwidefsky : * config/s390/tm-s390.h (GDB_TARGET_IS_ESAME): Use renamed architecture defines. * s390-tdep.c (s390_gdbarch_init): Likewise. --- gdb/s390-tdep.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gdb/s390-tdep.c') diff --git a/gdb/s390-tdep.c b/gdb/s390-tdep.c index 239b17a33da..41da9a45ae4 100644 --- a/gdb/s390-tdep.c +++ b/gdb/s390-tdep.c @@ -1851,7 +1851,7 @@ s390_gdbarch_init (struct gdbarch_info info, struct gdbarch_list *arches) switch (info.bfd_arch_info->mach) { - case bfd_mach_s390_esa: + case bfd_mach_s390_31: set_gdbarch_register_size (gdbarch, 4); set_gdbarch_register_raw_size (gdbarch, s390_register_raw_size); set_gdbarch_register_virtual_size (gdbarch, s390_register_raw_size); @@ -1860,7 +1860,7 @@ s390_gdbarch_init (struct gdbarch_info info, struct gdbarch_list *arches) set_gdbarch_addr_bits_remove (gdbarch, s390_addr_bits_remove); set_gdbarch_register_bytes (gdbarch, S390_REGISTER_BYTES); break; - case bfd_mach_s390_esame: + case bfd_mach_s390_64: set_gdbarch_register_size (gdbarch, 8); set_gdbarch_register_raw_size (gdbarch, s390x_register_raw_size); set_gdbarch_register_virtual_size (gdbarch, s390x_register_raw_size); -- cgit v1.2.1