Use i386_target_description to get tdesc_i386
[deliverable/binutils-gdb.git] / gdb / i386-fbsd-nat.c
index dca6c0162b1a4eab8b1ef272946684c1d271d57f..ab671efe7a9d00ade7033f8a732d6b33672e8d96 100644 (file)
@@ -139,12 +139,10 @@ i386fbsd_read_description (struct target_ops *ops)
       xsave_probed = 1;
     }
 
-  if (x86bsd_xsave_len != 0)
-    {
-      return i386_target_description (xcr0);
-    }
-  else
-    return tdesc_i386;
+  if (x86bsd_xsave_len == 0)
+    xcr0 = X86_XSTATE_SSE_MASK;
+
+  return i386_target_description (xcr0);
 }
 #endif
 
This page took 0.033067 seconds and 4 git commands to generate.