On Thu, Aug 25, 2011 at 12:10:06PM +0200, Denys Vlasenko wrote:
> --- strace.5/syscall.c        2011-08-25 10:39:36.000000000 +0200
> +++ strace.6/syscall.c        2011-08-25 11:51:32.148543603 +0200
> @@ -716,7 +716,28 @@ struct tcb *tcp_last = NULL;
>  
>  #ifdef LINUX
>  # if defined (I386)
> -static long eax;
> +struct i386_user_regs_struct {

struct pt_regs is already defined in linux-2.2.26/include/asm-i386/ptrace.h
so I think we can safely assume that #include <linux/ptrace.h> is sufficient.

I'll look at the rest a bit later today.


-- 
ldv

Attachment: pgpHkLSA5OCYw.pgp
Description: PGP signature

------------------------------------------------------------------------------
EMC VNX: the world's simplest storage, starting under $10K
The only unified storage solution that offers unified management 
Up to 160% more powerful than alternatives and 25% more efficient. 
Guaranteed. http://p.sf.net/sfu/emc-vnx-dev2dev
_______________________________________________
Strace-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/strace-devel

Reply via email to