diff options
-rw-r--r-- | linux-user/main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/linux-user/main.c b/linux-user/main.c index e871b4811c..d5bb1240ca 100644 --- a/linux-user/main.c +++ b/linux-user/main.c @@ -1719,7 +1719,7 @@ void cpu_loop (CPUState *env) info.si_errno = 0; /* XXX: check env->error_code */ info.si_code = TARGET_SEGV_MAPERR; - info._sifields._sigfault._addr = env->debug1; + info._sifields._sigfault._addr = env->pregs[PR_EDA]; queue_signal(info.si_signo, &info); } break; |