This is the mail archive of the
mailing list for the binutils project.
Re: [PATCH] Move 'enum bfd_endian' to a non-generated header
- From: Tristan Gingold <gingold at adacore dot com>
- To: Pedro Alves <palves at redhat dot com>
- Cc: binutils at sourceware dot org
- Date: Mon, 15 Feb 2016 11:50:24 +0100
- Subject: Re: [PATCH] Move 'enum bfd_endian' to a non-generated header
- Authentication-results: sourceware.org; auth=none
- References: <1455302366-15480-1-git-send-email-palves at redhat dot com>
> On 12 Feb 2016, at 19:39, Pedro Alves <email@example.com> wrote:
> - GDB uses enum bfd_endian extensively.
> - gdbserver does not build/link-with bfd.
> - We'd like to share more code between gdb and gdbserver.
> It'd make our lives easier if we could just use bfd_endian in
> gdbserver as well.
> The problem is that bfd_endian is defined in a header that only exists
> if bfd is built/configured.
> Thus this moves bfd_endian to a separate header, so gdbserver can
> include it.
> Build tested with --enable-targets=all, from scratch.
Doesnât this patch remove enum bfd_endian from the documentation ?