Fix offsets to access fpregset_t in sparc64-linux targets.
authorJose E. Marchesi <jose.marchesi@oracle.com>
Fri, 14 Feb 2014 10:29:11 +0000 (02:29 -0800)
committerJose E. Marchesi <jose.marchesi@oracle.com>
Fri, 14 Feb 2014 10:29:11 +0000 (02:29 -0800)
commitc2853f3d99797a321c37948297441ca6021f719a
tree122c12afc25207441933cb98f78b650ae0698f5d
parent0759a81e85c692232aae9909faf551d5c039a4a7
Fix offsets to access fpregset_t in sparc64-linux targets.

The %fsr register is not being properly accessed from gdb in
sparc64.  This is because sparc64_supply_fpregset and
sparc64_collect_fpregset are using the offsets from the
sparc32_bsd_fpregset constant instead of sparc64_bsd_fpregset.
This patch fixes this by registering the proper offsets for
sparc64-linux targets.

2014-02-14  Jose E. Marchesi  <jose.marchesi@oracle.com>

* sparc64-linux-nat.c (_initialize_sparc64_linux_nat): Register
the proper offsets to access fpregset_t.
gdb/ChangeLog
gdb/sparc64-linux-nat.c