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

Pedro Alves
2012-04-26T18:09:46Z

On 04/26/2012 07:03 PM, Will Deacon wrote:

> #ifdef __UCLIBC__
> #if !(defined(__UCLIBC_HAS_MMU__) || defined(__ARCH_HAS_MMU__))
> +/* PTRACE_TEXT_ADDR and friends. */
> +#include <asm/ptrace.h>
> #define HAS_NOMMU
> #endif
> #endif

Is there a reason you're still not putting this unconditionally at
the top, next to sys/ptrace.h, etc.?

--
Pedro Alves