From 7c3a12caf5ea2c9055312e9c3c286aa69b170ecc Mon Sep 17 00:00:00 2001 From: Pedro Alves Date: Fri, 6 Sep 2013 10:58:11 +0000 Subject: [PATCH] [gdbserver] Fix IPA build. MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Somehow, my builds yesterdays didn't trip on this... ../src/gdb/gdbserver/linux-amd64-ipa.c: In function ‘initialize_low_tracepoint’: ../src/gdb/gdbserver/linux-amd64-ipa.c:172:3: error: ‘ipa_tdesc’ undeclared (first use in this function) ../src/gdb/gdbserver/linux-amd64-ipa.c:172:3: note: each undeclared identifier is reported only once for each function it appears in gdb/gdbserver/ 2013-09-06 Pedro Alves * linux-amd64-ipa.c: Include tracepoint.h. * linux-i386-ipa.c: Include tracepoint.h. --- gdb/gdbserver/ChangeLog | 5 +++++ gdb/gdbserver/linux-amd64-ipa.c | 1 + gdb/gdbserver/linux-i386-ipa.c | 1 + 3 files changed, 7 insertions(+) diff --git a/gdb/gdbserver/ChangeLog b/gdb/gdbserver/ChangeLog index 440c5bb..60a31a1 100644 --- a/gdb/gdbserver/ChangeLog +++ b/gdb/gdbserver/ChangeLog @@ -1,3 +1,8 @@ +2013-09-06 Pedro Alves + + * linux-amd64-ipa.c: Include tracepoint.h. + * linux-i386-ipa.c: Include tracepoint.h. + 2013-09-06 Ricard Wanderlof * linux-crisv32-low.c (PTRACE_GET_THREAD_AREA): New macro. diff --git a/gdb/gdbserver/linux-amd64-ipa.c b/gdb/gdbserver/linux-amd64-ipa.c index 34daedf..89d68553 100644 --- a/gdb/gdbserver/linux-amd64-ipa.c +++ b/gdb/gdbserver/linux-amd64-ipa.c @@ -19,6 +19,7 @@ along with this program. If not, see . */ #include "server.h" +#include "tracepoint.h" /* Defined in auto-generated file amd64-linux.c. */ void init_registers_amd64_linux (void); diff --git a/gdb/gdbserver/linux-i386-ipa.c b/gdb/gdbserver/linux-i386-ipa.c index e0245c5..68d65ac 100644 --- a/gdb/gdbserver/linux-i386-ipa.c +++ b/gdb/gdbserver/linux-i386-ipa.c @@ -21,6 +21,7 @@ #include "server.h" #include #include +#include "tracepoint.h" /* GDB register numbers. */ -- 2.7.4