mirror of https://gitee.com/openkylin/qemu.git
Fix usermode build.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4634 c046a42c-6fe2-441c-8c8c-71466251a162
This commit is contained in:
parent
b5154bdedb
commit
afd7cd92e8
|
@ -216,7 +216,7 @@ static inline void host_to_target_siginfo_noswap(target_siginfo_t *tinfo,
|
|||
sig = host_to_target_signal(info->si_signo);
|
||||
tinfo->si_signo = sig;
|
||||
tinfo->si_errno = 0;
|
||||
tinfo->si_code = info.si_code;
|
||||
tinfo->si_code = info->si_code;
|
||||
if (sig == SIGILL || sig == SIGFPE || sig == SIGSEGV ||
|
||||
sig == SIGBUS || sig == SIGTRAP) {
|
||||
/* should never come here, but who knows. The information for
|
||||
|
|
Loading…
Reference in New Issue