|
@@ -2443,6 +2443,7 @@ static int ptrace_set_debugreg(struct task_struct *task, unsigned long addr,
|
|
/* Create a new breakpoint request if one doesn't exist already */
|
|
/* Create a new breakpoint request if one doesn't exist already */
|
|
hw_breakpoint_init(&attr);
|
|
hw_breakpoint_init(&attr);
|
|
attr.bp_addr = hw_brk.address;
|
|
attr.bp_addr = hw_brk.address;
|
|
|
|
+ attr.bp_len = 8;
|
|
arch_bp_generic_fields(hw_brk.type,
|
|
arch_bp_generic_fields(hw_brk.type,
|
|
&attr.bp_type);
|
|
&attr.bp_type);
|
|
|
|
|