commit 55d7e9fd9831d36bf3f2737ef09ade397e1321b8
parent 261ae7f9ebdff175fc43fa6067de6abb4df1d52f
Author: Russ Cox <rsc@swtch.com>
Date: Sat, 28 Jun 2008 12:37:00 -0400
libvx32/FreeBSD: fix trap jump
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/libvx32/freebsd.c b/src/libvx32/freebsd.c
@@ -328,7 +328,7 @@ int vx32_sighandler(int signo, siginfo_t *si, void *v)
emu->cpu.traperr = mc->mc_err;
emu->cpu.trapva = cr2;
- memmove(&mc->mc_gs, &emu->trapenv->uc_mcontext.mc_gs, 19*4);
+ memmove(&mc->mc_gs, &emu->trapenv->mc_gs, 19*4);
return 1;
}