aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Biesinger <cbiesinger@google.com>2020-02-10 17:34:48 -0600
committerChristian Biesinger <cbiesinger@google.com>2020-02-11 10:24:04 -0600
commitbda874f6d192acb99108266e53ad09031df82f0a (patch)
tree617f187850a1c6303d3d3baa9009a4f87dfb9546
parent754e156431e5c69d8a6c4dba569ceb6ef98b6eca (diff)
downloadgdb-bda874f6d192acb99108266e53ad09031df82f0a.zip
gdb-bda874f6d192acb99108266e53ad09031df82f0a.tar.gz
gdb-bda874f6d192acb99108266e53ad09031df82f0a.tar.bz2
Add a comment for the ARM_F{0..7}_REGNUM registers
These are for the obsolete FPA architecture. gdb/ChangeLog: 2020-02-11 Christian Biesinger <cbiesinger@google.com> * arch/arm.h (enum gdb_regnum): Add comment for the FP0..7 registers. Change-Id: I6920616318ee637493d4ca12b91fa2ebcd103d76
-rw-r--r--gdb/ChangeLog5
-rw-r--r--gdb/arch/arm.h1
2 files changed, 6 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 75182ed..93ad9d0 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,5 +1,10 @@
2020-02-11 Christian Biesinger <cbiesinger@google.com>
+ * arch/arm.h (enum gdb_regnum): Add comment for the FP0..7
+ registers.
+
+2020-02-11 Christian Biesinger <cbiesinger@google.com>
+
* arm-tdep.c (arm_dump_tdep): Add \n in fprintf.
2020-02-11 Simon Marchi <simon.marchi@efficios.com>
diff --git a/gdb/arch/arm.h b/gdb/arch/arm.h
index 13f030a..2d9e87e 100644
--- a/gdb/arch/arm.h
+++ b/gdb/arch/arm.h
@@ -31,6 +31,7 @@ enum gdb_regnum {
ARM_SP_REGNUM = 13, /* Contains address of top of stack */
ARM_LR_REGNUM = 14, /* address to return to from a function call */
ARM_PC_REGNUM = 15, /* Contains program counter */
+ /* F0..F7 are the fp registers for the (obsolete) FPA architecture. */
ARM_F0_REGNUM = 16, /* first floating point register */
ARM_F3_REGNUM = 19, /* last floating point argument register */
ARM_F7_REGNUM = 23, /* last floating point register */