[Bug uprobes/10458] uaddr() returns one past current instruction for uprobes
jkenisto at us dot ibm dot com
sourceware-bugzilla@sourceware.org
Wed Jul 29 16:17:00 GMT 2009
------- Additional Comments From jkenisto at us dot ibm dot com 2009-07-29 16:17 -------
(In reply to comment #2)
> FYI, kprobes on x86 doesn't adjust regs->ip, so regs->ip is always equal to
> kp->addr + 1.
Correct.
Based on the ARCH_BP_INST_PTR definitions in runtime/uprobes/*.h, it appears
that on x86 and s390, the breakpoint instruction advances the IP, but on ppc64
it doesn't.
--
http://sourceware.org/bugzilla/show_bug.cgi?id=10458
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
More information about the Systemtap
mailing list