* rx.c (decode_opcode: RXO_int): Only break out of the emulation

loop if rx_syscall() does not return a RX_STEPPED result.
This commit is contained in:
Nick Clifton
2010-09-29 15:47:45 +00:00
parent bb73df25a8
commit 5f79eb72c2
2 changed files with 8 additions and 1 deletions

View File

@@ -1,3 +1,8 @@
2010-09-29 Nick Clifton <nickc@redhat.com>
* rx.c (decode_opcode: RXO_int): Only break out of the emulation
loop if rx_syscall() does not return a RX_STEPPED result.
2010-09-23 Kevin Buettner <kevinb@redhat.com>
* rx.c (decode_opcode): Add cycle information for RXO_smovu.

View File

@@ -1232,7 +1232,9 @@ decode_opcode ()
v = GS ();
if (v == 255)
{
DO_RETURN (rx_syscall (regs.r[5]));
int rc = rx_syscall (regs.r[5]);
if (! RX_STEPPED (rc))
DO_RETURN (rc);
}
else
{