#if !defined (REMOTE_SIM_H)
#define REMOTE_SIM_H 1
+#include "callback.h"
/* This file is used when building stand-alone simulators, so isolate this
file from gdb. */
void error /-* noreturn *-/ (char *msg, ...);
void *xmalloc (long size);
int sim_callback_write_stdout (char *, int len);
+
+ The new way of doing I/O is to use the pointer provided by GDB
+ via the sim_set_callbacks call, look in callbacks.c to see what
+ can be done.
*/
/* Main simulator entry points ...
int sim_callback_write_stdout PARAMS ((char *, int));
+/* Provide simulator with a standard host_callback_struct. */
+
+void sim_set_callbacks PARAMS ((struct host_callback_struct *));
+
+
#endif /* !defined (REMOTE_SIM_H) */