]> granicus.if.org Git - strace/commit
Change argument of getregs_old from pid to tcp
authorEugene Syromiatnikov <esyr@redhat.com>
Mon, 25 Dec 2017 22:49:40 +0000 (23:49 +0100)
committerEugene Syromyatnikov <evgsyr@gmail.com>
Wed, 3 Jan 2018 23:17:24 +0000 (00:17 +0100)
commit26d340fe9c47fc4b58311b49d519f52d80a18275
treea201f8dadbf3352b823c520fff11f12284ecaaed
parent08e2fd253a6c285b39c9ad86fe2a3685462f5c8e
Change argument of getregs_old from pid to tcp

* 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.
linux/powerpc/getregs_old.c
linux/x86_64/getregs_old.c
linux/x86_64/getregs_old.h
syscall.c