Multi-arch REGISTER_BYTES_OK.
[deliverable/binutils-gdb.git] / gdb / remote.c
index f88c73c28614d1dfd286598298f71f9c8ca600b7..902760d8b354138b8e5ba003c3af77b7c9db4607 100644 (file)
@@ -3080,10 +3080,9 @@ remote_fetch_registers (int regno)
   if (i != register_bytes_found)
     {
       register_bytes_found = i;
-#ifdef REGISTER_BYTES_OK
-      if (!REGISTER_BYTES_OK (i))
+      if (REGISTER_BYTES_OK_P ()
+         && !REGISTER_BYTES_OK (i))
        warning ("Remote reply is too short: %s", buf);
-#endif
     }
 
 supply_them:
This page took 0.033948 seconds and 4 git commands to generate.