17 #include <linux/kernel.h>
18 #include <linux/ptrace.h>
22 #include <asm/traps.h>
49 unsigned long addr,
unsigned long data)
73 if (addr & (
sizeof(
long)-1))
75 ret =
put_user(*(
long *)childreg, datap);
86 #if defined(CONFIG_COMPAT) && defined(__BIG_ENDIAN)
90 if (addr == ex1_offset)
101 if (addr & (
sizeof(
long)-1))
103 *(
long *)childreg = data;
110 sizeof(
struct pt_regs)) == 0) {
117 sizeof(
struct pt_regs)) == 0) {
133 data &= ~PTRACE_O_MASK_TILE;
142 ret = compat_ptrace_request(child, request,
192 memset(&info, 0,
sizeof(info));
195 info.si_addr = (
void __user *) regs->
pc;