1234567891011121314151617181920 |
- $OpenBSD: patch-src_Unix_sigsegv_cpp,v 1.1 2017/01/01 21:27:51 jca Exp $
- --- src/Unix/sigsegv.cpp.orig Sun Jan 1 22:05:51 2017
- +++ src/Unix/sigsegv.cpp Sun Jan 1 22:10:27 2017
- @@ -1445,6 +1445,7 @@ static bool sparc_skip_instruction(unsigned long * reg
- #endif
-
- // Decode and skip ARM instruction
- +#ifdef HAVE_SIGSEGV_SKIP_INSTRUCTION
- #if (defined(arm) || defined(__arm__))
- enum {
- #if (defined(__linux__))
- @@ -1590,6 +1591,7 @@ static bool arm_skip_instruction(unsigned long * regs)
- regs[ARM_REG_PC] += 4;
- return true;
- }
- +#endif
- #endif
-
-
|