Use new to_xfer_partial interface in ctf and tfile target
[deliverable/binutils-gdb.git] / gdb / exec.h
index 960c58563e552edc4cac16af49d705418c53a9ea..84dc40f4bdd2cbf2035fe8a05d4610fbe332023b 100644 (file)
@@ -91,6 +91,14 @@ extern enum target_xfer_status
                                     struct target_section *,
                                     const char *);
 
+/* Read from mappable read-only sections of BFD executable files.
+   Similar to exec_read_partial_read_only, but return
+   TARGET_XFER_E_UNAVAILABLE if data is unavailable.  */
+
+extern enum target_xfer_status
+  section_table_read_available_memory (gdb_byte *readbuf, ULONGEST offset,
+                                      ULONGEST len, ULONGEST *xfered_len);
+
 /* Set the loaded address of a section.  */
 extern void exec_set_section_address (const char *, int, CORE_ADDR);
 
This page took 0.025276 seconds and 4 git commands to generate.