From: Helge Deller<deller@gmx.de>
When calculating the IOR for the exception handlers, the current
unwind_breg value is needed on 64-bit hppa machines.
Restore that value by calling cpu_restore_state() earlier, which in turn
calls hppa_restore_state_to_opc() which restores the unwind_breg for the
current instruction.
Signed-off-by: Helge Deller<deller@gmx.de>
Fixes: 3824e0d643f3 ("target/hppa: Export function hppa_set_ior_and_isr()")
---
target/hppa/cpu.c | 3 ++-
target/hppa/mem_helper.c | 3 ++-
target/hppa/op_helper.c | 3 ++-
3 files changed, 6 insertions(+), 3 deletions(-)