diff options
author | Catalin Udma <catalin.udma@freescale.com> | 2014-12-16 09:51:42 +0200 |
---|---|---|
committer | Catalin Udma <catalin.udma@freescale.com> | 2014-12-16 09:51:42 +0200 |
commit | bf330350c212fb8880faab663f5b3565319d0a95 (patch) | |
tree | 3ed47f08fda36a345b4793c58f8c7e2c7b9ccd2d /gdb/nat | |
parent | 8fda9068191372d8282648986055493be17feff0 (diff) | |
download | gdb-bf330350c212fb8880faab663f5b3565319d0a95.zip gdb-bf330350c212fb8880faab663f5b3565319d0a95.tar.gz gdb-bf330350c212fb8880faab663f5b3565319d0a95.tar.bz2 |
aarch64/gdbserver: fix floating point registers display
When using aarch64 gdb with gdbserver, floating point registers are
not correctly displayed, as below:
(gdb) info registers fpsr fpcr
fpsr <unavailable>
fpcr <unavailable>
To fix these problems, the missing fpsr and fpcr registers are added
when floating point registers are read/write
Add test for aarch64 floating point
PR server/17457
gdb/gdbserver/
PR server/17457
* linux-aarch64-low.c (AARCH64_FPSR_REGNO): New define.
(AARCH64_FPCR_REGNO): Likewise.
(AARCH64_NUM_REGS): Update to include fpsr/fpcr registers.
(aarch64_fill_fpregset): Add missing fpsr/fpcr registers.
(aarch64_store_fpregset): Likewise.
gdb/testsuite/
PR server/17457
* gdb.arch/aarch64-fp.c: New file.
* gdb.arch/aarch64-fp.exp: New file.
Signed-off-by: Catalin Udma <catalin.udma@freescale.com>
Diffstat (limited to 'gdb/nat')
0 files changed, 0 insertions, 0 deletions