commit | cf31ec3f7fece93f3fce3ee5964e27857141ea47 | [log] [tgz] |
---|---|---|
author | Oleg Nesterov <oleg@redhat.com> | Sun Dec 30 15:21:22 2012 +0100 |
committer | Oleg Nesterov <oleg@redhat.com> | Fri Feb 08 17:47:11 2013 +0100 |
tree | c2cc4c968fdd9fa0c02fb0c6f4f452a826947df4 | |
parent | da1816b1caeccdff04531e763bb35d7caa3ed19f [diff] |
uprobes/x86: Change __skip_sstep() to actually skip the whole insn __skip_sstep() doesn't update regs->ip. Currently this is correct but only "by accident" and it doesn't skip the whole insn. Change it to advance ->ip by the length of the detected 0x66*0x90 sequence. Signed-off-by: Oleg Nesterov <oleg@redhat.com> Acked-by: Srikar Dronamraju <srikar@linux.vnet.ibm.com>