Line
Link Here
|
0 |
-- a/storage/xtradb/os/os0stacktrace.cc |
0 |
++ b/storage/xtradb/os/os0stacktrace.cc |
Lines 85-91
Link Here
|
85 |
caller_address = (void*) uc->uc_mcontext.gregs[REG_RIP] ; |
85 |
caller_address = (void*) uc->uc_mcontext.gregs[REG_RIP] ; |
86 |
#elif defined(__hppa__) |
86 |
#elif defined(__hppa__) |
87 |
ucontext_t* uc = (ucontext_t*) ucontext; |
87 |
ucontext_t* uc = (ucontext_t*) ucontext; |
88 |
caller_address = (void*) uc->uc_mcontext.sc_iaoq[0] & ~0x3UL ; |
88 |
caller_address = (void*) (uc->uc_mcontext.sc_iaoq[0] & ~0x3UL) ; |
89 |
#elif (defined (__ppc__)) || (defined (__powerpc__)) |
89 |
#elif (defined (__ppc__)) || (defined (__powerpc__)) |
90 |
ucontext_t* uc = (ucontext_t*) ucontext; |
90 |
ucontext_t* uc = (ucontext_t*) ucontext; |
91 |
caller_address = (void*) uc->uc_mcontext.regs->nip ; |
91 |
caller_address = (void*) uc->uc_mcontext.regs->nip ; |