mirror of
https://github.com/QuasarApp/backward-cpp.git
synced 2025-05-02 12: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);
|
||||
#elif defined(__APPLE__) && defined(__x86_64__)
|
||||
error_addr = reinterpret_cast<void*>(uctx->uc_mcontext->__ss.__rip);
|
||||
#elif defined(__APPLE__)
|
||||
error_addr = reinterpret_cast<void*>(uctx->uc_mcontext->__ss.__eip);
|
||||
#else
|
||||
# warning ":/ sorry, ain't know no nothing none not of your architecture!"
|
||||
#endif
|
||||
|
Loading…
x
Reference in New Issue
Block a user