This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH v2 3/4] gdbserver: Add powerpc fast tracepoint support.
- From: "Ulrich Weigand" <uweigand at de dot ibm dot com>
- To: simon dot marchi at ericsson dot com (Simon Marchi)
- Cc: koriakin at 0x04 dot net (Marcin KoÅcielnicki), gdb-patches at sourceware dot org
- Date: Wed, 30 Mar 2016 17:35:40 +0200 (CEST)
- Subject: Re: [PATCH v2 3/4] gdbserver: Add powerpc fast tracepoint support.
- Authentication-results: sourceware.org; auth=none
Simon Marchi wrote:
> Ahh, it seems like the ordering is important here. If I include it before
> <elf.h> (and everything that includes <elf.h>), it works.
Hmm, it would probably be best to avoid mixing in-tree BFD headers and
system headers this way. I'd suggest to *not* include <elf.h> at all,
but instead use:
#include "elf/common.h"
#include "elf/ppc64.h"
Bye,
Ulrich
--
Dr. Ulrich Weigand
GNU/Linux compilers and toolchain
Ulrich.Weigand@de.ibm.com