This is the mail archive of the libc-alpha@cygnus.com mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: <linux/ptrace.h> vs. <sys/ptrace.h>


> 
> 
> 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)


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]