Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 520092 | Differences between
and this patch

Collapse All | Expand All

(-)file_not_specified_in_diff (-2 / +2 lines)
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] & ~0×3UL ;
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 ;

Return to bug 520092