aboutsummaryrefslogtreecommitdiff
path: root/gdb/remote-sim.h
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/remote-sim.h')
-rw-r--r--gdb/remote-sim.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/gdb/remote-sim.h b/gdb/remote-sim.h
index edf9a81..74f9809 100644
--- a/gdb/remote-sim.h
+++ b/gdb/remote-sim.h
@@ -39,6 +39,7 @@ typedef CORE_ADDR_TYPE SIM_ADDR;
void printf_filtered (char *msg, ...);
void error /-* noreturn *-/ (char *msg, ...);
void *xmalloc (long size);
+ int gdbsim_write_stdout (char *, int len);
*/
/* Main simulator entry points ...
@@ -123,4 +124,9 @@ void sim_resume PARAMS ((int step, int siggnal));
void sim_do_command PARAMS ((char *cmd));
+
+/* Callbacks for the simulator to use. */
+
+int gdbsim_write_stdout PARAMS ((char *, int));
+
#endif /* !defined (REMOTE_SIM_H) */