|
From: Philippe W. <phi...@sk...> - 2013-08-03 20:40:46
|
On Sat, 2013-08-03 at 00:44 +0200, Philippe Waroquiers wrote: > It is however not clear how to re-enable GETREGS/SETREGS without > recreating the compile error on f20/amd64. > > Maybe by #include <asm/ptrace.h> instead of linux/ptrace.h ? > > Or maybe we just re-include linux/ptrace.h, hoping fedora20 > will change/fix the include files to avoid such compilation error ? Hello Dejan, Finally, I took another approach: Revision r13482 changes the way PTRACE_GETREGS is detected. Rather than doing that at compilation time, it is done at configure time. This should make that all platforms providing PTRACE_GETREGS in either sys/ptrace.h (most) or sys/user.h (ppc64) should properly detect again that PTRACE_GETREGS can be used. (this should repair the mips build, but still no gcc farm mips access). As a follow up, vgdb.c MIPS specific sections might still be reworked to e.g. use the symbolic constants rather than hardcoded numbers. Philippe |