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 16:57:38 +0200 (CEST)
- Subject: Re: [PATCH v2 3/4] gdbserver: Add powerpc fast tracepoint support.
- Authentication-results: sourceware.org; auth=none
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