]> granicus.if.org Git - strace/commit
Use the same type for i386_regs on 32-bit and 64-bit x86.
authorDenys Vlasenko <vda.linux@googlemail.com>
Fri, 15 Feb 2013 20:04:28 +0000 (21:04 +0100)
committerDenys Vlasenko <vda.linux@googlemail.com>
Fri, 15 Feb 2013 20:04:28 +0000 (21:04 +0100)
commit2550d4890eae4d2d32ec6be0185eef6d30ce0124
tree3b0068e6a1737cbe6b47e593fd92948b46e934f3
parentddd2da2562938ef53d9721f912d3c6137476a0b4
Use the same type for i386_regs on 32-bit and 64-bit x86.

* defs.h: Stop including <asm/ptrace.h> for x86.
Change i386_regs from "struct pt_regs" to "struct user_regs_struct".
* syscall.c: Likewise.

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
defs.h
syscall.c