sparc: support single-stepping over longjmp calls.
authorJose E. Marchesi <jose.marchesi@oracle.com>
Mon, 18 Nov 2013 12:37:05 +0000 (04:37 -0800)
committerJose E. Marchesi <jose.marchesi@oracle.com>
Mon, 18 Nov 2013 12:37:05 +0000 (04:37 -0800)
commitd0b5971ae7b8709c28a7a1638413426d8749d976
treeed6837627bce0dc681f157afa2651fe563b02de4
parent4b4589ada7e88f2f36d264a173d95ed5994b3acb
sparc: support single-stepping over longjmp calls.

2013-11-18  Jose E. Marchesi  <jose.marchesi@oracle.com>

* sparc-tdep.c (sparc_is_annulled_branch_insn): New function.
* sparc-tdep.h: And its prototype.

* sparc64-linux-tdep.c (sparc64_linux_get_longjmp_target): New
function.
(sparc64_linux_init_abi): Register the get_longjmp_target hook.
gdb/ChangeLog
gdb/sparc-tdep.c
gdb/sparc-tdep.h
gdb/sparc64-linux-tdep.c