REG_IP
(unsigned long)ctx->uc_mcontext.gregs[REG_IP],
(unsigned long)ctx->uc_mcontext.gregs[REG_IP]);
(unsigned long)ctx->uc_mcontext.gregs[REG_IP]);
ctx->uc_mcontext.gregs[REG_IP] =
if (i == REG_TRAPNO || i == REG_IP)
if (last_trap_ip == ctx->uc_mcontext.gregs[REG_IP]) {
last_trap_ip = ctx->uc_mcontext.gregs[REG_IP];
(unsigned long)ctx->uc_mcontext.gregs[REG_IP]);
(unsigned long)ctx->uc_mcontext.gregs[REG_IP],
printf("\tIP = 0x%lx\n", (unsigned long)ctx->uc_mcontext.gregs[REG_IP]);
unsigned short *ip = (unsigned short *)ctx->uc_mcontext.gregs[REG_IP];
unsigned short *ip = (unsigned short *)ctx->uc_mcontext.gregs[REG_IP];