<linux/ptrace.h> vs. <sys/ptrace.h>
H.J. Lu
hjl@lucon.org
Wed Dec 9 07:18:00 GMT 1998
>
>
> It might be worth checking for each port whether this non-program
> compiles:
>
> #include <sys/user.h>
> #include <sys/ptrace.h>
>
> I have sent in a patch to fix it for ppc, but there might be problems
Have you compiled gdb 4.17.0.6 on PPC? There may be more files which
have to be changed for PPC. Before you can compile gdb 4.17.0.6, the
fix is not complete.
> on alpha, arm, m68k, and mips.
I think alpha is ok. At least, I can compile gdb on alpha.
>
> To fix, you need to write a <sys/user.h> that does not include
> <linux/ptrace.h>.
>
--
H.J. Lu (hjl@gnu.org)
More information about the Libc-alpha
mailing list