This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]