mirror of
https://github.com/QuasarApp/backward-cpp.git
synced 2025-05-06 14:59:34 +00:00
Merge pull request #102 from pedronavf/patch-2
Added instruction pointer for 32 bit OS X
This commit is contained in:
commit
8f76407505
@ -3715,6 +3715,8 @@ public:
|
|||||||
error_addr = reinterpret_cast<void*>(uctx->uc_mcontext.psw.addr);
|
error_addr = reinterpret_cast<void*>(uctx->uc_mcontext.psw.addr);
|
||||||
#elif defined(__APPLE__) && defined(__x86_64__)
|
#elif defined(__APPLE__) && defined(__x86_64__)
|
||||||
error_addr = reinterpret_cast<void*>(uctx->uc_mcontext->__ss.__rip);
|
error_addr = reinterpret_cast<void*>(uctx->uc_mcontext->__ss.__rip);
|
||||||
|
#elif defined(__APPLE__)
|
||||||
|
error_addr = reinterpret_cast<void*>(uctx->uc_mcontext->__ss.__eip);
|
||||||
#else
|
#else
|
||||||
# warning ":/ sorry, ain't know no nothing none not of your architecture!"
|
# warning ":/ sorry, ain't know no nothing none not of your architecture!"
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
x
Reference in New Issue
Block a user