Move some declarations to source.h
[deliverable/binutils-gdb.git] / gdb / amd64-fbsd-nat.c
index f3ddbdd3d9229b073ee57a101f618633b2edbde0..07963f508d79fb47932e123f44069c52f9fc7e99 100644 (file)
@@ -1,6 +1,6 @@
 /* Native-dependent code for FreeBSD/amd64.
 
-   Copyright (C) 2003-2017 Free Software Foundation, Inc.
+   Copyright (C) 2003-2018 Free Software Foundation, Inc.
 
    This file is part of GDB.
 
@@ -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.024725 seconds and 4 git commands to generate.