> But what should happen if I do PTRACE_POKEUSER (MSR_SE = 1)?
> (1) Should it get cleared on the next PTRACE_CONT or PTRACE_SINGLESTEP?
> or
> (2) Should PTRACE_CONT start behaving the same way as PTRACE_SINGLESTEP until
>     someone does PTRACE_POKEUSER (MSR_SE = 0)?

We are discussing this upstream ([EMAIL PROTECTED]).
I suspect we will end up making it behave like TF on x86,
but it does not do that now.  Currently, CONT/SINGLESTEP
will clear/set MSR_SE regardless of what POKEUSR did,
and that will affect what you see via PEEKUSR/GETREGS.


Thanks,
Roland

Reply via email to