26d340fe9c
* linux/powerpc/getregs_old.c (getregs_old): Change the first argument from pid_t pid to struct tcb *tcp. Replace all instances of pid with tcp->pid. * linux/x86_64/getregs_old.c (getregs_old): Likewise. * linux/x86_64/getregs_old.h (getregs_old): Update declaration. * syscall.c (get_regs) [HAVE_GETREGS_OLD]: Pass tcp to the getregs_old call instead of tcp->pid.