aboutsummaryrefslogtreecommitdiff
path: root/include/gdb/callback.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/gdb/callback.h')
-rw-r--r--include/gdb/callback.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/gdb/callback.h b/include/gdb/callback.h
index a1f79f9..bbc5bb3 100644
--- a/include/gdb/callback.h
+++ b/include/gdb/callback.h
@@ -324,6 +324,9 @@ int cb_is_stdin (host_callback *, int);
int cb_is_stdout (host_callback *, int);
int cb_is_stderr (host_callback *, int);
+/* Read a string out of the target. */
+int cb_get_string (host_callback *, CB_SYSCALL *, char *, int, unsigned long);
+
/* Perform a system call. */
CB_RC cb_syscall (host_callback *, CB_SYSCALL *);