diff options
Diffstat (limited to 'gdb/remote-sim.h')
-rw-r--r-- | gdb/remote-sim.h | 14 |
1 files changed, 2 insertions, 12 deletions
diff --git a/gdb/remote-sim.h b/gdb/remote-sim.h index 8c106a2..1281e70 100644 --- a/gdb/remote-sim.h +++ b/gdb/remote-sim.h @@ -20,7 +20,6 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ #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. */ @@ -37,14 +36,11 @@ typedef CORE_ADDR_TYPE SIM_ADDR; The simulator may use the following callbacks (gdb routines) which the standalone program must provide. - void printf_filtered (char *msg, ...); 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. + I/O is done by using a pointer provided by GDB via the sim_set_callbacks + call, look in callbacks.c to see what can be done. */ /* Main simulator entry points ... @@ -129,14 +125,8 @@ void sim_resume PARAMS ((int step, int siggnal)); void sim_do_command PARAMS ((char *cmd)); - -/* Callbacks for the simulator to use. */ - -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) */ |