aboutsummaryrefslogtreecommitdiff
path: root/gdb/features/s390-linux32v1.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/features/s390-linux32v1.c')
-rw-r--r--gdb/features/s390-linux32v1.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/features/s390-linux32v1.c b/gdb/features/s390-linux32v1.c
index f773fc1..65a4a50 100644
--- a/gdb/features/s390-linux32v1.c
+++ b/gdb/features/s390-linux32v1.c
@@ -10,10 +10,10 @@ static void
initialize_tdesc_s390_linux32v1 (void)
{
struct target_desc *result = allocate_target_description ();
- struct tdesc_feature *feature;
-
set_tdesc_architecture (result, bfd_scan_arch ("s390:31-bit"));
+ struct tdesc_feature *feature;
+
feature = tdesc_create_feature (result, "org.gnu.gdb.s390.core");
tdesc_create_reg (feature, "pswm", 0, 1, "psw", 32, "uint32");
tdesc_create_reg (feature, "pswa", 1, 1, "psw", 32, "uint32");