]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blobdiff - gdb/target.h
Change to_xfer_partial 'len' type to ULONGEST.
[thirdparty/binutils-gdb.git] / gdb / target.h
index ab985e4f9fa2f25291bffe09e3967ce6d046a0ea..9a39839f428f756077daa2ed5c40ddb6ab64f98d 100644 (file)
@@ -245,7 +245,7 @@ typedef LONGEST
                             gdb_byte *readbuf,
                             const gdb_byte *writebuf,
                             ULONGEST offset,
-                            LONGEST len);
+                            ULONGEST len);
 
 /* Request that OPS transfer up to LEN 8-bit bytes of the target's
    OBJECT.  The OFFSET, for a seekable object, specifies the
@@ -537,7 +537,7 @@ struct target_ops
     LONGEST (*to_xfer_partial) (struct target_ops *ops,
                                enum target_object object, const char *annex,
                                gdb_byte *readbuf, const gdb_byte *writebuf,
-                               ULONGEST offset, LONGEST len);
+                               ULONGEST offset, ULONGEST len);
 
     /* Returns the memory map for the target.  A return value of NULL
        means that no memory map is available.  If a memory address