[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH] bsd-user: Fix operand to cpu_x86_exec
From: |
Richard Henderson |
Subject: |
[Qemu-devel] [PATCH] bsd-user: Fix operand to cpu_x86_exec |
Date: |
Wed, 29 Jul 2015 11:40:52 -0700 |
Signed-off-by: Richard Henderson <address@hidden>
---
This buglet, from whenever we re-orged the parameters, means
that all x86-bsd-user invocations die instantly.
r~
---
bsd-user/main.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/bsd-user/main.c b/bsd-user/main.c
index f46728b..ee68daa 100644
--- a/bsd-user/main.c
+++ b/bsd-user/main.c
@@ -173,7 +173,7 @@ void cpu_loop(CPUX86State *env)
//target_siginfo_t info;
for(;;) {
- trapnr = cpu_x86_exec(env);
+ trapnr = cpu_x86_exec(cs);
switch(trapnr) {
case 0x80:
/* syscall from int $0x80 */
--
2.4.3
- [Qemu-devel] [PATCH] bsd-user: Fix operand to cpu_x86_exec,
Richard Henderson <=