Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 350088
b: refs/heads/master
c: cf31ec3
h: refs/heads/master
v: v3
  • Loading branch information
Oleg Nesterov committed Feb 8, 2013
1 parent fdc4f80 commit ddbb299
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: da1816b1caeccdff04531e763bb35d7caa3ed19f
refs/heads/master: cf31ec3f7fece93f3fce3ee5964e27857141ea47
5 changes: 4 additions & 1 deletion trunk/arch/x86/kernel/uprobes.c
Original file line number Diff line number Diff line change
Expand Up @@ -680,8 +680,11 @@ static bool __skip_sstep(struct arch_uprobe *auprobe, struct pt_regs *regs)
if (auprobe->insn[i] == 0x66)
continue;

if (auprobe->insn[i] == 0x90)
if (auprobe->insn[i] == 0x90) {
regs->ip = uprobe_get_swbp_addr(regs);
regs->ip += i + 1;
return true;
}

break;
}
Expand Down

0 comments on commit ddbb299

Please sign in to comment.