mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 761287 - Follow-up to fix TableTicker.cpp bustage; r=ehsan
This commit is contained in:
parent
5f1884b5c7
commit
8f01552b67
@ -834,7 +834,7 @@ void TableTicker::doBacktrace(ThreadProfile &aProfile, TickSample* aSample)
|
||||
// handle it correctly.
|
||||
unw_tdep_context_t *unw_ctx = reinterpret_cast<unw_tdep_context_t*> (&uc);
|
||||
mcontext_t& mcontext = reinterpret_cast<ucontext_t*> (aSample->context)->uc_mcontext;
|
||||
#define REPLACE_REG(num) unw_ctx->regs[num] = mcontext.gregs[R##num]
|
||||
#define REPLACE_REG(num) unw_ctx->regs[num] = (&mcontext.arm_r0)[num]
|
||||
REPLACE_REG(0);
|
||||
REPLACE_REG(1);
|
||||
REPLACE_REG(2);
|
||||
|
Loading…
Reference in New Issue
Block a user