/* Remote target system call callback support.
- Copyright 1997, 2007, 2008, 2009, 2010 Free Software Foundation, Inc.
+ Copyright 1997-2013 Free Software Foundation, Inc.
Contributed by Cygnus Solutions.
This file is part of GDB.
#define CB_SYS_truncate 21
#define CB_SYS_ftruncate 22
#define CB_SYS_pipe 23
+
+/* New ARGV support. */
+#define CB_SYS_argc 24
+#define CB_SYS_argnlen 25
+#define CB_SYS_argn 26
\f
/* Struct use to pass and return information necessary to perform a
system call. */
int cb_target_to_host_signal (host_callback *, int);
/* Translate host signal number to target. */
-int cb_host_to_target_signal (host_callback *, int);
+int cb_host_to_gdb_signal (host_callback *, int);
/* Translate host stat struct to target.
If stat struct ptr is NULL, just compute target stat struct size.
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 *);