/branches/tracing/kernel/generic/src/udebug/udebug_ops.c |
---|
489,7 → 489,7 |
istate_t *state; |
int rc; |
// printf("udebug_regs_read()\n"); |
LOG("udebug_regs_read()"); |
/* On success, this will lock t->udebug.lock */ |
rc = _thread_op_begin(t, false); |
509,6 → 509,8 |
_thread_op_end(t); |
LOG("pc = 0x%" PRIp, istate_get_pc((istate_t *) buffer)); |
return 0; |
} |
/branches/tracing/kernel/arch/amd64/include/interrupt.h |
---|
97,7 → 97,7 |
{ |
istate->rip = retaddr; |
} |
static inline uintptr_t istate_get_pc(istate_t *istate) |
static inline unative_t istate_get_pc(istate_t *istate) |
{ |
return istate->rip; |
} |