[Bug runtime/14026] inode-uprobes should compute proper SET_REG_IP before probe invocation

dsmith at redhat dot com sourceware-bugzilla@sourceware.org
Tue Aug 14 21:55:00 GMT 2012


http://sourceware.org/bugzilla/show_bug.cgi?id=14026

--- Comment #26 from David Smith <dsmith at redhat dot com> 2012-08-14 21:55:04 UTC ---
Created attachment 6578
  --> http://sourceware.org/bugzilla/attachment.cgi?id=6578
patch that sets IP before calling probe handler

(In reply to comment #25)
> Srikar advises that the uprobes_get_bkpt_addr() function may be just the
> ticket to compute the real probe virtual address at run time.

It looks like uprobes_get_bkpt_addr() has been renamed uprobe_get_swbp_addr().

Here's a patch, that I've done a quick test on, that seems to work.  Anyone got
any ideas on the best way to test this?

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the Systemtap mailing list