[PATCH] Add a comment for the ARM_F{0..7}_REGNUM registers
Luis Machado
luis.machado@linaro.org
Tue Feb 11 00:32:00 GMT 2020
On 2/10/20 8:35 PM, Christian Biesinger via gdb-patches wrote:
> These are for the obsolete FPA architecture.
>
> gdb/ChangeLog:
>
> 2020-02-10 Christian Biesinger <cbiesinger@google.com>
>
> * arch/arm.h (enum gdb_regnum): Add comment for the FP0..7
> registers.
>
> Change-Id: I6920616318ee637493d4ca12b91fa2ebcd103d76
> ---
> gdb/arch/arm.h | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/gdb/arch/arm.h b/gdb/arch/arm.h
> index 13f030af82..2d9e87eb42 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 */
>
This looks obvious enough. cc-ed Alan in case he has any thoughts.
More information about the Gdb-patches
mailing list