Hi Oleg, Roland, Ananth When I get the latest set of ptrace-tests by using. cvs -d :pserver:anoncvs:anon...@sources.redhat.com:/cvs/systemtap co ptrace-tests
I get errors when I run make syscall-from-clone.c: In function âmainâ: syscall-from-clone.c:127: error: storage size of âregsâ isnât known syscall-from-clone.c:202: error: âPTRACE_GETREGSâ undeclared (first use in this function) syscall-from-clone.c:202: error: (Each undeclared identifier is reported only once syscall-from-clone.c:202: error: for each function it appears in.) cc1: warnings being treated as errors syscall-from-clone.c:127: warning: unused variable âregsâ make[2]: *** [syscall-from-clone.o] Error 1 make[2]: Leaving directory `/home/srikar/work/ptrace-tests/tests' make[1]: *** [all] Error 2 make[1]: Leaving directory `/home/srikar/work/ptrace-tests/tests' make: *** [all-recursive] Error 1 I find that the errors are because there is no definition of user_regs_struct for powerpc. Something similar seems to be defined for x86. These errors occur even with upstream kernel. Hence can you confirm 1. Am I using the right source of ptrace-tests or has its location changed. 2. Are these new testcases x86 architecture specific? 3. Shouldn't arch/powerpc/include/asm/user.h not define user_regs_struct? -- Thanks and Regards Srikar