Lines Matching refs:ctx
68 _Unwind_Reason_Code trace_fn(struct _Unwind_Context * ctx, void *opaque)
71 unsigned long ip = _Unwind_GetIP(ctx);
83 unsigned long eax = _Unwind_GetGR(ctx, 0);
84 unsigned long ecx = _Unwind_GetGR(ctx, 1);
85 unsigned long edx = _Unwind_GetGR(ctx, 2);
86 unsigned long ebx = _Unwind_GetGR(ctx, 3);
87 unsigned long ebp = _Unwind_GetGR(ctx, 5);
88 unsigned long esi = _Unwind_GetGR(ctx, 6);
89 unsigned long edi = _Unwind_GetGR(ctx, 7);
109 ucontext_t *ctx = (ucontext_t *)ctx_void;
111 unsigned long ip = ctx->uc_mcontext.gregs[REG_EIP];
117 return_address = *(unsigned long *)(unsigned long)ctx->uc_mcontext.gregs[REG_ESP];
127 ctx->uc_mcontext.gregs[REG_EFL] &= ~X86_EFLAGS_TF;