aboutsummaryrefslogtreecommitdiff
path: root/gdb/features/arm-with-neon.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/features/arm-with-neon.c')
-rw-r--r--gdb/features/arm-with-neon.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/gdb/features/arm-with-neon.c b/gdb/features/arm-with-neon.c
index 61c9a3a..d365c0f 100644
--- a/gdb/features/arm-with-neon.c
+++ b/gdb/features/arm-with-neon.c
@@ -12,6 +12,8 @@ initialize_tdesc_arm_with_neon (void)
struct target_desc *result = allocate_target_description ();
struct tdesc_feature *feature;
+ set_tdesc_architecture (result, bfd_scan_arch ("arm"));
+
feature = tdesc_create_feature (result, "org.gnu.gdb.arm.core");
tdesc_create_reg (feature, "r0", 0, 1, NULL, 32, "uint32");
tdesc_create_reg (feature, "r1", 1, 1, NULL, 32, "uint32");