|
@@ -591,17 +591,16 @@ void user_enable_single_step(struct task_struct *child)
|
|
|
|
|
|
if (access_process_vm(child, pc&~3, &insn, sizeof(insn), 0)
|
|
if (access_process_vm(child, pc&~3, &insn, sizeof(insn), 0)
|
|
!= sizeof(insn))
|
|
!= sizeof(insn))
|
|
- return -EIO;
|
|
|
|
|
|
+ return;
|
|
|
|
|
|
compute_next_pc(insn, pc, &next_pc, child);
|
|
compute_next_pc(insn, pc, &next_pc, child);
|
|
if (next_pc & 0x80000000)
|
|
if (next_pc & 0x80000000)
|
|
- return -EIO;
|
|
|
|
|
|
+ return;
|
|
|
|
|
|
if (embed_debug_trap(child, next_pc))
|
|
if (embed_debug_trap(child, next_pc))
|
|
- return -EIO;
|
|
|
|
|
|
+ return;
|
|
|
|
|
|
invalidate_cache();
|
|
invalidate_cache();
|
|
- return 0;
|
|
|
|
}
|
|
}
|
|
|
|
|
|
void user_disable_single_step(struct task_struct *child)
|
|
void user_disable_single_step(struct task_struct *child)
|