public inbox for systemtap@sourceware.org
 help / color / mirror / Atom feed
* [Bug uprobes/10458] New: uaddr() returns one past current instruction for uprobes
@ 2009-07-29 11:10 mjw at redhat dot com
  2009-07-29 14:52 ` [Bug uprobes/10458] " fche at redhat dot com
                   ` (11 more replies)
  0 siblings, 12 replies; 13+ messages in thread
From: mjw at redhat dot com @ 2009-07-29 11:10 UTC (permalink / raw)
  To: systemtap

While writing a testcase for bug #10454 I noticed uaddr() returns one off
results for uprobes. That is, it returns the pc as if it is just after the
breakpoint (int3 trap) instruction.

a) do we consider this a bug?
b) where should this be fixed?
   alternatives are:
   - uprobes setting task_pt_regs REG_IP back just before the callback
   - uaddr just always substracting 1 (probably arch dependent)

-- 
           Summary: uaddr() returns one past current instruction for uprobes
           Product: systemtap
           Version: unspecified
            Status: NEW
          Severity: normal
          Priority: P2
         Component: uprobes
        AssignedTo: systemtap at sources dot redhat dot com
        ReportedBy: mjw at redhat dot com


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.

^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2009-07-31 18:56 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-07-29 11:10 [Bug uprobes/10458] New: uaddr() returns one past current instruction for uprobes mjw at redhat dot com
2009-07-29 14:52 ` [Bug uprobes/10458] " fche at redhat dot com
2009-07-29 16:00 ` mhiramat at redhat dot com
2009-07-29 16:17 ` jkenisto at us dot ibm dot com
2009-07-29 17:22 ` jkenisto at us dot ibm dot com
2009-07-29 22:32 ` mjw at redhat dot com
2009-07-29 22:38 ` jistone at redhat dot com
2009-07-29 23:51 ` fche at redhat dot com
2009-07-30  0:28 ` jistone at redhat dot com
2009-07-30 14:44 ` mjw at redhat dot com
2009-07-31 18:10 ` mjw at redhat dot com
2009-07-31 18:29 ` jkenisto at us dot ibm dot com
2009-07-31 18:56 ` mjw at redhat dot com

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).