diff options
author | Jose E. Marchesi <jose.marchesi@oracle.com> | 2014-01-29 07:15:05 -0800 |
---|---|---|
committer | Jose E. Marchesi <jose.marchesi@oracle.com> | 2014-01-29 07:15:05 -0800 |
commit | 401e27fd717fcbc2efe00e332bdaa46846501323 (patch) | |
tree | 7e0f672777edfae3deda9b72f31360a7587357d5 /gas/emul.h | |
parent | df3ce959f4f4598f73c4e02f45e65ad1fd6f4f7c (diff) | |
download | gdb-401e27fd717fcbc2efe00e332bdaa46846501323.zip gdb-401e27fd717fcbc2efe00e332bdaa46846501323.tar.gz gdb-401e27fd717fcbc2efe00e332bdaa46846501323.tar.bz2 |
This changeset makes sparc64_linux_step_trap to return 0 when a
breakpoint is set in a `ta 0x6d´ which is not a sigreturn syscall. In
these cases no rt_frame exists in the stack and thus the read PC is
wrong.
ChangeLog
2014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
* sparc64-linux-tdep.c (sparc64_linux_step_trap): Get PC from
the sigreturn register save area only if the syscall is
sigreturn.
testsuite/ChangeLog
2014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
* gdb.arch/sparc-sysstep.exp: New file.
* gdb.arch/sparc-sysstep.c: Likewise.
* gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
Diffstat (limited to 'gas/emul.h')
0 files changed, 0 insertions, 0 deletions