Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 323737
b: refs/heads/master
c: 8bd8744
h: refs/heads/master
i:
  323735: 6f38b73
v: v3
  • Loading branch information
Sebastian Andrzej Siewior authored and Oleg Nesterov committed Aug 28, 2012
1 parent 702e373 commit 8d4362a
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 10 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: 61e1d394984110e2e76f25572d5b1b5d48796751
refs/heads/master: 8bd874456e2ec49b9e64372ddc89a6f88901d184
16 changes: 7 additions & 9 deletions trunk/kernel/events/uprobes.c
Original file line number Diff line number Diff line change
Expand Up @@ -1516,17 +1516,15 @@ static void handle_swbp(struct pt_regs *regs)
utask->active_uprobe = NULL;
utask->state = UTASK_RUNNING;
}
if (uprobe) {
if (!(uprobe->flags & UPROBE_SKIP_SSTEP))
if (!(uprobe->flags & UPROBE_SKIP_SSTEP))

/*
* cannot singlestep; cannot skip instruction;
* re-execute the instruction.
*/
instruction_pointer_set(regs, bp_vaddr);
/*
* cannot singlestep; cannot skip instruction;
* re-execute the instruction.
*/
instruction_pointer_set(regs, bp_vaddr);

put_uprobe(uprobe);
}
put_uprobe(uprobe);
}

/*
Expand Down

0 comments on commit 8d4362a

Please sign in to comment.