Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 346800
b: refs/heads/master
c: a53fd61
h: refs/heads/master
v: v3
  • Loading branch information
Aravinda Prasad authored and Benjamin Herrenschmidt committed Nov 15, 2012
1 parent 4ea4ea0 commit 30ef7b5
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 79597be99ac96b1409eb7ae41c336696d7c4f4d9
refs/heads/master: a53fd61ac2f411745471c1c877d5e072fbbf0e5c
4 changes: 4 additions & 0 deletions trunk/arch/powerpc/kernel/ptrace.c
Original file line number Diff line number Diff line change
Expand Up @@ -952,6 +952,10 @@ int ptrace_set_debugreg(struct task_struct *task, unsigned long addr,
arch_bp_generic_fields(data &
(DABR_DATA_WRITE | DABR_DATA_READ),
&attr.bp_type);

/* Enable breakpoint */
attr.disabled = false;

ret = modify_user_hw_breakpoint(bp, &attr);
if (ret) {
ptrace_put_breakpoints(task);
Expand Down

0 comments on commit 30ef7b5

Please sign in to comment.