diff options
author | Jose E. Marchesi <jose.marchesi@oracle.com> | 2015-11-20 11:36:07 +0100 |
---|---|---|
committer | Jose E. Marchesi <jose.marchesi@oracle.com> | 2015-11-20 11:36:07 +0100 |
commit | bb0974456ed6d421e8d0b257f1e108c242326afc (patch) | |
tree | 62f3943f918be30857e7cecdc5b2def8add3c0b4 /gas | |
parent | 9c88ed8f116dc5f9471280c73f9ab08c81a86f2d (diff) | |
download | gdb-bb0974456ed6d421e8d0b257f1e108c242326afc.zip gdb-bb0974456ed6d421e8d0b257f1e108c242326afc.tar.gz gdb-bb0974456ed6d421e8d0b257f1e108c242326afc.tar.bz2 |
callfuncs.exp: avoid spurious register differences in sparc64 targets.
The Linux kernel disables the FPU upon returning to userland. This
introduces spurious failures in the register preservation tests in
callfuncs.exp, since the pstate.PEF bit gets cleared after system
calls.
This patch filters out the pstate register in sparc64-*-linux-gnu
targets, so the relevant tests are no longer fooled and pass.
gdb/testsuite/ChangeLog:
2015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
* gdb.base/callfuncs.exp (fetch_all_registers): Filter out the
pstate register when comparing registers values in
sparc64-*-linux-gnu targets to avoid spurious differences.
Diffstat (limited to 'gas')
0 files changed, 0 insertions, 0 deletions