* arm-tdep.h (VFP_REGISTER_SIZE): Define.
[deliverable/binutils-gdb.git] / gdb / arm-tdep.c
index b14b944122d229a74c4a328621c570cd3376cf59..f83dc0e6c484dc44a313ccfa4bcd3a057165e0f7 100644 (file)
@@ -59,6 +59,7 @@
 
 #include "features/arm-with-m.c"
 #include "features/arm-with-m-fpa-layout.c"
+#include "features/arm-with-m-vfp-d16.c"
 #include "features/arm-with-iwmmxt.c"
 #include "features/arm-with-vfpv2.c"
 #include "features/arm-with-vfpv3.c"
@@ -9698,6 +9699,14 @@ arm_register_g_packet_guesses (struct gdbarch *gdbarch)
                                      (16 * INT_REGISTER_SIZE)
                                      + INT_REGISTER_SIZE,
                                      tdesc_arm_with_m);
+
+      /* M-profile plus M4F VFP.  */
+      register_remote_g_packet_guess (gdbarch,
+                                     /* r0-r12,sp,lr,pc; d0-d15; fpscr,xpsr */
+                                     (16 * INT_REGISTER_SIZE)
+                                     + (16 * VFP_REGISTER_SIZE)
+                                     + (2 * INT_REGISTER_SIZE),
+                                     tdesc_arm_with_m_vfp_d16);
     }
 
   /* Otherwise we don't have a useful guess.  */
@@ -10333,6 +10342,7 @@ _initialize_arm_tdep (void)
   /* Initialize the standard target descriptions.  */
   initialize_tdesc_arm_with_m ();
   initialize_tdesc_arm_with_m_fpa_layout ();
+  initialize_tdesc_arm_with_m_vfp_d16 ();
   initialize_tdesc_arm_with_iwmmxt ();
   initialize_tdesc_arm_with_vfpv2 ();
   initialize_tdesc_arm_with_vfpv3 ();
This page took 0.052662 seconds and 4 git commands to generate.