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 runtime/14026] inode-uprobes should compute proper SET_REG_IP before probe invocation


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.


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