Index: gdb/gdbserver/linux-i386-ipa.c |
diff --git a/gdb/gdbserver/linux-i386-ipa.c b/gdb/gdbserver/linux-i386-ipa.c |
index 1eb59a0bc4982831daf59264b606bb4b965436be..68d65ac92a4439b9d7267b36bb686a2271a7b92b 100644 |
--- a/gdb/gdbserver/linux-i386-ipa.c |
+++ b/gdb/gdbserver/linux-i386-ipa.c |
@@ -1,7 +1,7 @@ |
/* GNU/Linux/x86 specific low level interface, for the in-process |
agent library for GDB. |
- Copyright (C) 2010-2012 Free Software Foundation, Inc. |
+ Copyright (C) 2010-2013 Free Software Foundation, Inc. |
This file is part of GDB. |
@@ -21,6 +21,7 @@ |
#include "server.h" |
#include <stdint.h> |
#include <sys/mman.h> |
+#include "tracepoint.h" |
/* GDB register numbers. */ |
@@ -49,6 +50,7 @@ enum i386_gdb_regnum |
/* Defined in auto-generated file i386-linux.c. */ |
void init_registers_i386_linux (void); |
+extern const struct target_desc *tdesc_i386_linux; |
#define FT_CR_EAX 15 |
#define FT_CR_ECX 14 |
@@ -250,5 +252,6 @@ void |
initialize_low_tracepoint (void) |
{ |
init_registers_i386_linux (); |
+ ipa_tdesc = tdesc_i386_linux; |
initialize_fast_tracepoint_trampoline_buffer (); |
} |