Re: [PATCH v3] gdbserver: uclinux: pull in ptrace offset definitions from asm/ptrace.h

Pedro Alves
2012-04-26T19:20:57Z

On 04/26/2012 08:05 PM, Mike Frysinger wrote:

>
> yes, now you see the pain that ia64 inflicts upon thee!
>
> seems ia64-linux-nat.c skips asm/ptrace.h and goes just for asm/ptrace-
> offsets.h

Indeed. I've now peeked at strace's sources, and they do some butt-ugly
#ifdef'ery to pick sys/ptrace.h vs asm/ptrace.h depending on arch x libc.
So fine with me to forget about including the header at the top, until we
find some other need.

--
Pedro Alves