This is the mail archive of the
libc-alpha@cygnus.com
mailing list for the glibc project.
Re: <linux/ptrace.h> vs. <sys/ptrace.h>
- To: geoffk@ozemail.com.au (Geoff Keating)
- Subject: Re: <linux/ptrace.h> vs. <sys/ptrace.h>
- From: hjl@lucon.org (H.J. Lu)
- Date: Wed, 9 Dec 1998 07:18:27 -0800 (PST)
- Cc: libc-alpha@cygnus.com
>
>
> 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)