aboutsummaryrefslogtreecommitdiff
path: root/gdb/c-lang.h
diff options
context:
space:
mode:
authorAlan Hayward <alan.hayward@arm.com>2018-08-24 09:53:57 +0100
committerAlan Hayward <alan.hayward@arm.com>2018-10-01 14:21:38 +0100
commit05c71722fc5d9407d712b58b80eaf469ffbc406f (patch)
treefd0c75ac5ea417c210e43019ef8f5290c0c225b6 /gdb/c-lang.h
parentc74e7cb96ffc525b0218cd329c292aacb16f94f8 (diff)
downloadbinutils-05c71722fc5d9407d712b58b80eaf469ffbc406f.zip
binutils-05c71722fc5d9407d712b58b80eaf469ffbc406f.tar.gz
binutils-05c71722fc5d9407d712b58b80eaf469ffbc406f.tar.bz2
Aarch64: Detect FP regs in signal frame
Both the VFP and SVE registers may be contained within the reserved space of the sigcontext and can be found by seraching for MAGIC values. Detect these and add the registers (including pseudos) to the trad frame cache. gdb/ * aarch64-linux-tdep.c (AARCH64_SIGCONTEXT_RESERVED_OFFSET): Add define. (AARCH64_EXTRA_MAGIC): Likewise. (AARCH64_FPSIMD_MAGIC): Likewise. (AARCH64_SVE_MAGIC): Likewise. (AARCH64_EXTRA_DATAP_OFFSET): Likewise. (AARCH64_FPSIMD_FPSR_OFFSET): Likewise. (AARCH64_FPSIMD_FPCR_OFFSET): Likewise. (AARCH64_FPSIMD_V0_OFFSET): Likewise. (AARCH64_FPSIMD_VREG_SIZE): Likewise. (AARCH64_SVE_CONTEXT_VL_OFFSET): Likewise. (AARCH64_SVE_CONTEXT_REGS_OFFSET): Likewise. (AARCH64_SVE_CONTEXT_P_REGS_OFFSET): Likewise. (AARCH64_SVE_CONTEXT_FFR_OFFSET): Likewise. (AARCH64_SVE_CONTEXT_SIZE): Likewise. (read_aarch64_ctx): Add function. (aarch64_linux_sigframe_init): Detect FP registers.
Diffstat (limited to 'gdb/c-lang.h')
0 files changed, 0 insertions, 0 deletions