summaryrefslogtreecommitdiff
path: root/gdb/arm-tdep.h
diff options
context:
space:
mode:
authorJonathan Larmour <jifl@eCosCentric.com>2012-04-26 15:20:12 +0000
committerJonathan Larmour <jifl@eCosCentric.com>2012-04-26 15:20:12 +0000
commit706fae9f11d7db72d99f3f1bad4e3181a086db52 (patch)
tree5bb05571a801e7c0578b46d4c44e205261f7ef07 /gdb/arm-tdep.h
parentcc36e7cb6e70b73876c2bd6b6925c0a51231f003 (diff)
downloadgdb-706fae9f11d7db72d99f3f1bad4e3181a086db52.tar.gz
* arm-tdep.h (VFP_REGISTER_SIZE): Define.
* features/arm-with-m-vfp-d16.xml: New file. Describes Cortex-M with VFPv4-sp-d16 FPU register layout. * features/Makefile (WHICH): Add arm-with-m-vfp-d16. * features/arm-with-m-vfp-d16.c: New. Generated from above. * arm-tdep.c: Include arm-with-m-vfp-d16.c. (arm-register_g_packet_guesses): Add vfp-d16 guess. (_initialise_arm_tdep): Initialize arm-with-m-vfp-d16 tdesc.
Diffstat (limited to 'gdb/arm-tdep.h')
-rw-r--r--gdb/arm-tdep.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/gdb/arm-tdep.h b/gdb/arm-tdep.h
index 8a334fb0587..97596d5965c 100644
--- a/gdb/arm-tdep.h
+++ b/gdb/arm-tdep.h
@@ -71,6 +71,10 @@ enum gdb_regnum {
bits. DWORD aligned they use 96 bits. */
#define FP_REGISTER_SIZE 12
+/* Say how long VFP double precision registers are. Used for documentation
+ purposes and code readability. These are fixed at 64 bits. */
+#define VFP_REGISTER_SIZE 8
+
/* Number of machine registers. The only define actually required
is gdbarch_num_regs. The other definitions are used for documentation
purposes and code readability. */