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

Ulrich Weigand uweigand@de.ibm.com
Wed Mar 30 14:57:00 GMT 2016


Hi Marcin,

> This gives me an error when building on the gcc compile farm machine gcc110.
> I just applied your patches on today's master.

> linux-ppc-low.c: In function 'is_elfv2_inferior':
> linux-ppc-low.c:774:26: error: 'EF_PPC64_ABI' undeclared (f=
> irst use in this function)
>    return (ehdr.e_flags & EF_PPC64_ABI) == 2;

You probably should add

#include "elf/ppc64.h"

to make sure you always got the latest defines from the in-tree
BFD headers, and not the (possibly outdated) system headers.

Bye,
Ulrich

-- 
  Dr. Ulrich Weigand
  GNU/Linux compilers and toolchain
  Ulrich.Weigand@de.ibm.com



More information about the Gdb-patches mailing list