commit | d691f66983c0b36689400e9e9137d72bd3be8e72 | [log] [tgz] |
---|---|---|
author | bellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162> | Mon Mar 24 21:58:34 2003 +0000 |
committer | bellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162> | Mon Mar 24 21:58:34 2003 +0000 |
tree | bf7422162d5f435af122b0a531a7eb03c6f60424 | |
parent | 386405f78661e0a4f82087196c7b084b8c612b48 [diff] [blame] |
glibc2.2 fixes - more command line options - misc doc fixes git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@46 c046a42c-6fe2-441c-8c8c-71466251a162
diff --git a/exec-i386.c b/exec-i386.c index ec14ca0..5dbe7fa 100644 --- a/exec-i386.c +++ b/exec-i386.c
@@ -485,6 +485,10 @@ unsigned long pc; sigset_t *pold_set; +#ifndef REG_EIP +/* for glibc 2.1 */ +#define REG_EIP EIP +#endif pc = uc->uc_mcontext.gregs[EIP]; pold_set = &uc->uc_sigmask; return handle_cpu_signal(pc, pold_set);