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

Ulrich Weigand uweigand@de.ibm.com
Wed Mar 30 15:35:00 GMT 2016


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



More information about the Gdb-patches mailing list