Lines Matching full:child
42 * does not yet catch signals sent when the child dies.
179 ptrace_set_bpt(struct task_struct * child) in ptrace_set_bpt() argument
185 pc = get_reg(child, REG_PC); in ptrace_set_bpt()
186 res = read_int(child, pc, (int *) &insn); in ptrace_set_bpt()
201 task_thread_info(child)->bpt_addr[nsaved++] = pc + 4; in ptrace_set_bpt()
203 task_thread_info(child)->bpt_addr[nsaved++] in ptrace_set_bpt()
208 task_thread_info(child)->bpt_addr[nsaved++] = get_reg(child, reg_b); in ptrace_set_bpt()
211 task_thread_info(child)->bpt_addr[nsaved++] = pc + 4; in ptrace_set_bpt()
217 res = read_int(child, task_thread_info(child)->bpt_addr[i], in ptrace_set_bpt()
221 task_thread_info(child)->bpt_insn[i] = insn; in ptrace_set_bpt()
223 task_thread_info(child)->bpt_addr[i])); in ptrace_set_bpt()
224 res = write_int(child, task_thread_info(child)->bpt_addr[i], in ptrace_set_bpt()
229 task_thread_info(child)->bpt_nsaved = nsaved; in ptrace_set_bpt()
235 * value if child was being single-stepped.
238 ptrace_cancel_bpt(struct task_struct * child) in ptrace_cancel_bpt() argument
240 int i, nsaved = task_thread_info(child)->bpt_nsaved; in ptrace_cancel_bpt()
242 task_thread_info(child)->bpt_nsaved = 0; in ptrace_cancel_bpt()
250 write_int(child, task_thread_info(child)->bpt_addr[i], in ptrace_cancel_bpt()
251 task_thread_info(child)->bpt_insn[i]); in ptrace_cancel_bpt()
256 void user_enable_single_step(struct task_struct *child) in user_enable_single_step() argument
259 task_thread_info(child)->bpt_nsaved = -1; in user_enable_single_step()
262 void user_disable_single_step(struct task_struct *child) in user_disable_single_step() argument
264 ptrace_cancel_bpt(child); in user_disable_single_step()
272 void ptrace_disable(struct task_struct *child) in ptrace_disable() argument
274 user_disable_single_step(child); in ptrace_disable()
277 long arch_ptrace(struct task_struct *child, long request, in arch_ptrace() argument
288 copied = ptrace_access_vm(child, addr, &tmp, sizeof(tmp), in arch_ptrace()
301 ret = get_reg(child, addr); in arch_ptrace()
308 ret = generic_ptrace_pokedata(child, addr, data); in arch_ptrace()
313 ret = put_reg(child, addr, data); in arch_ptrace()
316 ret = ptrace_request(child, request, addr, data); in arch_ptrace()