Changeset 36791 in vbox
- Timestamp:
- Apr 21, 2011 1:39:15 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/testcase/tstX86-1.cpp
r36768 r36791 79 79 # if defined(RT_ARCH_AMD64) && defined(RT_OS_DARWIN) 80 80 uintptr_t *puPC = (uintptr_t *)&pCtx->uc_mcontext->__ss.__rip; 81 # elif defined(RT_ARCH_AMD64) && defined(RT_OS_FREEBSD) 82 uintptr_t *puPC = (uintptr_t *)&pCtx->uc_mcontext.mc_rip; 81 83 # elif defined(RT_ARCH_AMD64) 82 84 uintptr_t *puPC = (uintptr_t *)&pCtx->uc_mcontext.gregs[REG_RIP]; 83 85 # elif defined(RT_ARCH_X86) && defined(RT_OS_DARWIN) 84 86 uintptr_t *puPC = (uintptr_t *)&pCtx->uc_mcontext->__ss.__eip; 87 # elif defined(RT_ARCH_X86) && defined(RT_OS_FREEBSD) 88 uintptr_t *puPC = (uintptr_t *)&pCtx->uc_mcontext.mc_eip; 85 89 # elif defined(RT_ARCH_X86) 86 90 uintptr_t *puPC = (uintptr_t *)&pCtx->uc_mcontext.gregs[REG_EIP];
Note:
See TracChangeset
for help on using the changeset viewer.