This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [RFA] Don't include <elf.h> in gdbserver/linux-arm-low.c
On Tue, Jan 19, 2010 at 4:34 PM, Doug Evans <dje@google.com> wrote:
> Hi.
>
> ref: http://sourceware.org/ml/gdb-patches/2010-01/msg00487.html
>
> I forgot that linux/elf.h is conditionally included by gdb_proc_service.h.
> This patch uses the same condition that linux-low.c already uses when
> deciding whether to include <elf.h>, so I think this patch should be
> reasonable.
>
> Ok to check in?
>
> 2010-01-19 ?Doug Evans ?<dje@google.com>
>
> ? ? ? ?* linux-arm-low.c: Remove redundant include of gdb_proc_service.h.
> ? ? ? ?Only include elf.h if gdb_proc_service.h didn't include linux/elf.h.
fyi, I checked this in.