Re: [PATCH v2 3/4] gdbserver: Add powerpc fast tracepoint support.

Ulrich Weigand
2016-03-30T15:35:49Z

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