diff --git a/include/gdb/ChangeLog b/include/gdb/ChangeLog index dabaa5b19..9ce3db914 100644 --- a/include/gdb/ChangeLog +++ b/include/gdb/ChangeLog @@ -1,3 +1,7 @@ +2011-12-03 Mike Frysinger + + * callback.h (cb_get_string): New prototype. + 2011-04-14 Mike Frysinger * remote-sim.h (sim_complete_command): New prototype. diff --git a/include/gdb/callback.h b/include/gdb/callback.h index a1f79f94d..bbc5bb348 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 *);