diff options
Diffstat (limited to 'linux-user')
-rw-r--r-- | linux-user/signal.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/linux-user/signal.c b/linux-user/signal.c index df2c867..81c45bf 100644 --- a/linux-user/signal.c +++ b/linux-user/signal.c @@ -860,6 +860,9 @@ static void host_signal_handler(int host_sig, siginfo_t *info, void *puc) cpu_loop_exit_sigsegv(cpu, guest_addr, access_type, maperr, pc); } else { sigprocmask(SIG_SETMASK, &uc->uc_sigmask, NULL); + if (info->si_code == BUS_ADRALN) { + cpu_loop_exit_sigbus(cpu, guest_addr, access_type, pc); + } } sync_sig = true; |