This is the mail archive of the
gdb-prs@sourceware.org
mailing list for the GDB project.
[Bug server/17457] aarch64/gdbserver: wrong floating point registers display
- From: "cvs-commit at gcc dot gnu.org" <sourceware-bugzilla at sourceware dot org>
- To: gdb-prs at sourceware dot org
- Date: Tue, 16 Dec 2014 07:59:51 +0000
- Subject: [Bug server/17457] aarch64/gdbserver: wrong floating point registers display
- Auto-submitted: auto-generated
- References: <bug-17457-4717 at http dot sourceware dot org/bugzilla/>
https://sourceware.org/bugzilla/show_bug.cgi?id=17457
--- Comment #8 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot gnu.org> ---
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "gdb and binutils".
The branch, master has been updated
via bf330350c212fb8880faab663f5b3565319d0a95 (commit)
from 8fda9068191372d8282648986055493be17feff0 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=bf330350c212fb8880faab663f5b3565319d0a95
commit bf330350c212fb8880faab663f5b3565319d0a95
Author: Catalin Udma <catalin.udma@freescale.com>
Date: Tue Dec 16 09:51:42 2014 +0200
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>
-----------------------------------------------------------------------
Summary of changes:
gdb/gdbserver/ChangeLog | 9 ++++
gdb/gdbserver/linux-aarch64-low.c | 8 +++-
gdb/testsuite/ChangeLog | 6 ++
gdb/testsuite/gdb.arch/aarch64-fp.c | 38 +++++++++++++++
gdb/testsuite/gdb.arch/aarch64-fp.exp | 85 +++++++++++++++++++++++++++++++++
5 files changed, 145 insertions(+), 1 deletions(-)
create mode 100644 gdb/testsuite/gdb.arch/aarch64-fp.c
create mode 100644 gdb/testsuite/gdb.arch/aarch64-fp.exp
--
You are receiving this mail because:
You are on the CC list for the bug.