Implement pahole-like 'ptype /o' option
[deliverable/binutils-gdb.git] / gdb / amd64-fbsd-nat.c
index fce269978c9b9aad7a66e4932c8e58cb9c547d0a..f47e806bd6b8401a4b7d9cec182e3da7af470a41 100644 (file)
@@ -1,6 +1,6 @@
 /* Native-dependent code for FreeBSD/amd64.
 
-   Copyright (C) 2003-2016 Free Software Foundation, Inc.
+   Copyright (C) 2003-2017 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.  */
@@ -179,14 +180,11 @@ amd64fbsd_read_description (struct target_ops *ops)
     }
 #endif
   if (is64)
-    return tdesc_amd64;
+    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.023893 seconds and 4 git commands to generate.