qemu-e2k/target-ppc
Sebastian Bauer ee2b399463 PPC: Fix for the gdb single step problem on an rfi instruction
When using gdb to single step a ppc interrupt routine, the execution
flow passes the rfi instruction without actually returning from the
interrupt.

The patch fixes this by avoiding to update the nip when the debug
exception is raised and a previous POWERPC_EXCP_SYNC was set.

The latter is the case only, if code for rfi or a related instruction
was generated.

Signed-off-by: Sebastian Bauer <mail@sebastianbauer.info>
Signed-off-by: Alexander Graf <agraf@suse.de>
2011-11-11 17:33:58 +01:00
..
cpu.h ppc: Alter CPU state to mask out TCG unimplemented instructions as appropriate 2011-10-31 02:57:56 +01:00
helper_regs.h
helper.c
helper.h
kvm_ppc.c
kvm_ppc.h ppc: Fix up usermode only builds 2011-10-30 20:03:27 +01:00
kvm.c pseries: Allow writes to KVM accelerated TCE table 2011-10-30 20:03:27 +01:00
machine.c
mfrom_table_gen.c
mfrom_table.c
op_helper.c
STATUS
translate_init.c ppc: Alter CPU state to mask out TCG unimplemented instructions as appropriate 2011-10-31 02:57:56 +01:00
translate.c PPC: Fix for the gdb single step problem on an rfi instruction 2011-11-11 17:33:58 +01:00