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/10836] uprobes-provided pt_regs* are unreliable


------- Additional Comments From fche at redhat dot com  2009-10-27 19:16 -------
irc transcript:

mjw So, for syscall things, like getting at the arguments, we can use asm/syscall.h
mjw But that is only enough for syscall related callbacks isn't it?
mjw For anything else, like uprobes, we need to go through linux/regset.h
mjw and some arch specific mapping of the regsets to arch specific register 
values

roland i think instruction_pointer(regs) and user_stack_pointer(regs) can always
be used
roland for other particular things where you know arch-specifically that the reg
is ok you can use it
roland but yes, the general case is user_regset


-- 


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

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