This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH v3] gdbserver: uclinux: pull in ptrace offset definitions from asm/ptrace.h
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