summary refs log tree commit diff stats
path: root/hw/omap_intc.c
diff options
context:
space:
mode:
authorSebastian Bauer <mail@sebastianbauer.info>2011-08-10 01:41:48 +0000
committerAlexander Graf <agraf@suse.de>2011-11-11 17:33:58 +0100
commitee2b39946312952f5aa99cf9b7bab238cd5b6329 (patch)
tree24f6ecde494bc344d7c6546830ca41792dd763e4 /hw/omap_intc.c
parent9df3b45dd4e6e5a856a08e5c7799a3434e9e5ccf (diff)
downloadfocaccia-qemu-ee2b39946312952f5aa99cf9b7bab238cd5b6329.tar.gz
focaccia-qemu-ee2b39946312952f5aa99cf9b7bab238cd5b6329.zip
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>
Diffstat (limited to 'hw/omap_intc.c')
0 files changed, 0 insertions, 0 deletions