[Bug uprobes/10836] uprobes-provided pt_regs* are unreliable
fche at redhat dot com
sourceware-bugzilla@sourceware.org
Tue Oct 27 19:17:00 GMT 2009
------- 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.
More information about the Systemtap
mailing list