aboutsummaryrefslogtreecommitdiff
path: root/linux-user/main.c
diff options
context:
space:
mode:
authoraurel32 <aurel32@c046a42c-6fe2-441c-8c8c-71466251a162>2008-09-15 07:43:43 +0000
committeraurel32 <aurel32@c046a42c-6fe2-441c-8c8c-71466251a162>2008-09-15 07:43:43 +0000
commit0b6d3ae0723ba226cf07c549a948d4680fb7923b (patch)
treedb0aa91f8a589bbd69aaecdd951a357daaf591cd /linux-user/main.c
parent7478757e1f6745803edb9aedb6571ad9b4197a38 (diff)
downloadqemu-0b6d3ae0723ba226cf07c549a948d4680fb7923b.zip
qemu-0b6d3ae0723ba226cf07c549a948d4680fb7923b.tar.gz
qemu-0b6d3ae0723ba226cf07c549a948d4680fb7923b.tar.bz2
qemu sh4 nptl support
(Michael Trimarchi) git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5223 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'linux-user/main.c')
-rw-r--r--linux-user/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/linux-user/main.c b/linux-user/main.c
index 4bf739e..c32cd75 100644
--- a/linux-user/main.c
+++ b/linux-user/main.c
@@ -1887,6 +1887,7 @@ void cpu_loop (CPUState *env)
switch (trapnr) {
case 0x160:
+ env->pc += 2;
ret = do_syscall(env,
env->gregs[3],
env->gregs[4],
@@ -1896,7 +1897,6 @@ void cpu_loop (CPUState *env)
env->gregs[0],
env->gregs[1]);
env->gregs[0] = ret;
- env->pc += 2;
break;
case EXCP_INTERRUPT:
/* just indicate that signals should be handled asap */