Index: gdb/gdbserver/lynx-ppc-low.c |
diff --git a/gdb/gdbserver/lynx-ppc-low.c b/gdb/gdbserver/lynx-ppc-low.c |
index 95332eb5bb25a6c43abd8c41c8e98e2d032d2979..dc5dd3cacd29163f9815752fa72d9d22ae0ddd86 100644 |
--- a/gdb/gdbserver/lynx-ppc-low.c |
+++ b/gdb/gdbserver/lynx-ppc-low.c |
@@ -1,4 +1,4 @@ |
-/* Copyright (C) 2009-2012 Free Software Foundation, Inc. |
+/* Copyright (C) 2009-2013 Free Software Foundation, Inc. |
This file is part of GDB. |
@@ -69,6 +69,7 @@ typedef struct usr_fcontext_s |
/* Defined in auto-generated file powerpc-32.c. */ |
extern void init_registers_powerpc_32 (void); |
+extern const struct target_desc *tdesc_powerpc_32; |
/* The fill_function for the general-purpose register set. */ |
@@ -164,6 +165,7 @@ static void |
lynx_ppc_arch_setup (void) |
{ |
init_registers_powerpc_32 (); |
+ lynx_tdesc = tdesc_powerpc_32; |
} |
/* Description of all the powerpc-lynx register sets. */ |