Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 210945
b: refs/heads/master
c: acdc0d5
h: refs/heads/master
i:
  210943: a9c5b84
v: v3
  • Loading branch information
Al Viro authored and Linus Torvalds committed Sep 24, 2010
1 parent eb80847 commit dcd35e6
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 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: bb9c861ee1b94c97cd98c783a2b4c1cf53ff1712
refs/heads/master: acdc0d5ef9dd74534fe8df77a2056fa1d911abe5
7 changes: 4 additions & 3 deletions trunk/arch/m32r/kernel/ptrace.c
Original file line number Diff line number Diff line change
Expand Up @@ -592,16 +592,17 @@ void user_enable_single_step(struct task_struct *child)

if (access_process_vm(child, pc&~3, &insn, sizeof(insn), 0)
!= sizeof(insn))
break;
return -EIO;

compute_next_pc(insn, pc, &next_pc, child);
if (next_pc & 0x80000000)
break;
return -EIO;

if (embed_debug_trap(child, next_pc))
break;
return -EIO;

invalidate_cache();
return 0;
}

void user_disable_single_step(struct task_struct *child)
Expand Down

0 comments on commit dcd35e6

Please sign in to comment.