aboutsummaryrefslogtreecommitdiff
path: root/gdb/gdbserver/lynx-i386-low.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/gdbserver/lynx-i386-low.c')
-rw-r--r--gdb/gdbserver/lynx-i386-low.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/gdb/gdbserver/lynx-i386-low.c b/gdb/gdbserver/lynx-i386-low.c
index e461bb2..11b5f4c 100644
--- a/gdb/gdbserver/lynx-i386-low.c
+++ b/gdb/gdbserver/lynx-i386-low.c
@@ -122,6 +122,7 @@ enum lynx_i386_gdb_regnum
/* Defined in auto-generated file i386.c. */
extern void init_registers_i386 (void);
+extern const struct target_desc *tdesc_i386;
/* The fill_function for the general-purpose register set. */
@@ -297,6 +298,7 @@ static void
lynx_i386_arch_setup (void)
{
init_registers_i386 ();
+ lynx_tdesc = tdesc_i386;
}
/* Description of all the x86-lynx register sets. */