This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
[Bug uprobes/10458] uaddr() returns one past current instruction for uprobes
- From: "jkenisto at us dot ibm dot com" <sourceware-bugzilla at sourceware dot org>
- To: systemtap at sources dot redhat dot com
- Date: 29 Jul 2009 16:17:04 -0000
- Subject: [Bug uprobes/10458] uaddr() returns one past current instruction for uprobes
- References: <20090729111010.10458.mjw@redhat.com>
- Reply-to: sourceware-bugzilla at sourceware dot org
------- 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.