On 6/2/21 5:51 AM, Luis Pires wrote:
Commit 6086c75 (target/ppc: Replace POWERPC_EXCP_BRANCH with
DISAS_NORETURN) broke the generation of exceptions when
CPU_SINGLE_STEP or CPU_BRANCH_STEP were set, due to nip always being
reset to the address of the current instruction.
This fix leaves nip untouched when generating the exception.

Signed-off-by: Luis Pires<luis.pi...@eldorado.org.br>
Reported-by: Matheus Ferst<matheus.fe...@eldorado.org.br>
---
v2:
  - Removed incorrect nip update from ppc_tr_tb_stop()

  target/ppc/translate.c | 5 ++---
  1 file changed, 2 insertions(+), 3 deletions(-)

Reviewed-by: Richard Henderson <richard.hender...@linaro.org>

r~

Reply via email to