* exec.c (xfer_memory): Add attrib argument.
[deliverable/binutils-gdb.git] / gdb / i386-linux-nat.c
index a1bc3d77ae74671c2e49808cb764b4927bb3bf68..a1541a988389016b0b320e46dcc55bd8f061755a 100644 (file)
@@ -264,7 +264,7 @@ old_store_inferior_registers (int regno)
 /* Transfering the general-purpose registers between GDB, inferiors
    and core files.  */
 
-/* Fill GDB's register array with the genereal-purpose register values
+/* Fill GDB's register array with the general-purpose register values
    in *GREGSETP.  */
 
 void
@@ -469,7 +469,15 @@ store_fpxregs (int tid, int regno)
     return 0;
   
   if (ptrace (PTRACE_GETFPXREGS, tid, 0, &fpxregs) == -1)
-    perror_with_name ("Couldn't read floating-point and SSE registers");
+    {
+      if (errno == EIO)
+       {
+         have_ptrace_getfpxregs = 0;
+         return 0;
+       }
+
+      perror_with_name ("Couldn't read floating-point and SSE registers");
+    }
 
   fill_fpxregset (&fpxregs, regno);
 
This page took 0.023741 seconds and 4 git commands to generate.