This is the mail archive of the systemtap@sourceware.org mailing list for the systemtap project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug uprobes/10458] uaddr() returns one past current instruction for uprobes


------- 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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]