]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blobdiff - gdb/valops.c
Rename TARGET_XFER_E_UNAVAILABLE to TARGET_XFER_UNAVAILABLE
[thirdparty/binutils-gdb.git] / gdb / valops.c
index 0d726d0deab4dc3fe3a0ecb7377ef1305853dccf..82417dac6950e6e02b57f60fc192028ed31febdf 100644 (file)
@@ -964,7 +964,7 @@ read_value_memory (struct value *val, int embedded_offset,
 
       if (status == TARGET_XFER_OK)
        /* nothing */;
-      else if (status == TARGET_XFER_E_UNAVAILABLE)
+      else if (status == TARGET_XFER_UNAVAILABLE)
        mark_value_bytes_unavailable (val, embedded_offset + xfered,
                                      xfered_len);
       else if (status == TARGET_XFER_EOF)