Remove cleanups from prepare_execute_command
[deliverable/binutils-gdb.git] / gdb / amd64-fbsd-nat.c
index f3ddbdd3d9229b073ee57a101f618633b2edbde0..f47e806bd6b8401a4b7d9cec182e3da7af470a41 100644 (file)
@@ -34,6 +34,7 @@
 #include "amd64-nat.h"
 #include "x86-bsd-nat.h"
 #include "x86-nat.h"
+#include "x86-xstate.h"
 \f
 
 /* Offset in `struct reg' where MEMBER is stored.  */
@@ -181,12 +182,9 @@ amd64fbsd_read_description (struct target_ops *ops)
   if (is64)
     return amd64_target_description (X86_XSTATE_SSE_MASK);
   else
-    return tdesc_i386;
+    return i386_target_description (X86_XSTATE_SSE_MASK);
 }
 
-/* Provide a prototype to silence -Wmissing-prototypes.  */
-void _initialize_amd64fbsd_nat (void);
-
 void
 _initialize_amd64fbsd_nat (void)
 {
This page took 0.023784 seconds and 4 git commands to generate.