]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blobdiff - gdb/exec.h
Return target_xfer_status in to_xfer_partial
[thirdparty/binutils-gdb.git] / gdb / exec.h
index dbe5ea7b7a7d81a6ee2adbebba88f2916ad76863..4725f1ba81f3793c7ee16783a00b038a6968c106 100644 (file)
@@ -74,11 +74,13 @@ extern VEC(mem_range_s) *
 
    One, and only one, of readbuf or writebuf must be non-NULL.  */
 
-extern int section_table_xfer_memory_partial (gdb_byte *, const gdb_byte *,
-                                             ULONGEST, ULONGEST,
-                                             struct target_section *,
-                                             struct target_section *,
-                                             const char *);
+extern enum target_xfer_status
+  section_table_xfer_memory_partial (gdb_byte *,
+                                    const gdb_byte *,
+                                    ULONGEST, ULONGEST, ULONGEST *,
+                                    struct target_section *,
+                                    struct target_section *,
+                                    const char *);
 
 /* Set the loaded address of a section.  */
 extern void exec_set_section_address (const char *, int, CORE_ADDR);