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
- From: Pedro Alves <palves at redhat dot com>
- To: Will Deacon <will dot deacon at arm dot com>
- Cc: gdb-patches at sourceware dot org
- Date: Thu, 26 Apr 2012 19:09:26 +0100
- Subject: Re: [PATCH v3] gdbserver: uclinux: pull in ptrace offset definitions from asm/ptrace.h
- References: <1335463380-7288-1-git-send-email-will.deacon@arm.com>
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