diff options
author | bellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162> | 2006-04-24 20:32:17 +0000 |
---|---|---|
committer | bellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162> | 2006-04-24 20:32:17 +0000 |
commit | fd4a43e4e28a594a20beefe78b0fe7ecd34bd981 (patch) | |
tree | 1186cab290333dc8c149e72c5b7240aef0cafd1f /cpu-exec.c | |
parent | ad1a5b7853dbc510a9f6c9628ff623148d06c9d5 (diff) | |
download | qemu-fd4a43e4e28a594a20beefe78b0fe7ecd34bd981.zip qemu-fd4a43e4e28a594a20beefe78b0fe7ecd34bd981.tar.gz qemu-fd4a43e4e28a594a20beefe78b0fe7ecd34bd981.tar.bz2 |
ia64 fixes
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1846 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'cpu-exec.c')
-rw-r--r-- | cpu-exec.c | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -1363,7 +1363,6 @@ int cpu_signal_handler(int host_signum, struct siginfo *info, #ifndef __ISR_VALID /* This ought to be in <bits/siginfo.h>... */ # define __ISR_VALID 1 -# define si_flags _sifields._sigfault._si_pad0 #endif int cpu_signal_handler(int host_signum, struct siginfo *info, void *puc) @@ -1379,7 +1378,7 @@ int cpu_signal_handler(int host_signum, struct siginfo *info, void *puc) case SIGSEGV: case SIGBUS: case SIGTRAP: - if (info->si_code && (info->si_flags & __ISR_VALID)) + if (info->si_code && (info->si_segvflags & __ISR_VALID)) /* ISR.W (write-access) is bit 33: */ is_write = (info->si_isr >> 33) & 1; break; |