Move linux_find_memory_regions_full & co.
[deliverable/binutils-gdb.git] / gdb / target / target-utils.h
index 443ffc3ddad02e11a14dca8121e7926bde9cfdac..e8bf52ac4f6d75b10d6f375bc4cedf4166b7c25c 100644 (file)
 #ifndef TARGET_TARGET_UTILS_H
 #define TARGET_TARGET_UTILS_H
 
+typedef int (read_alloc_pread_ftype) (int handle, gdb_byte *read_buf, int len,
+                                     ULONGEST offset, int *target_errno);
+extern LONGEST read_alloc (gdb_byte **buf_p, int handle,
+                          read_alloc_pread_ftype *pread_func, int padding);
+
+struct inferior;
+typedef LONGEST (read_stralloc_func_ftype) (struct inferior *inf,
+                                           const char *filename,
+                                           gdb_byte **buf_p, int padding);
+extern char *read_stralloc (struct inferior *inf, const char *filename,
+                           read_stralloc_func_ftype *func);
+
 #endif /* TARGET_TARGET_UTILS_H */
This page took 0.038139 seconds and 4 git commands to generate.