diff options
author | Steve Chamberlain <sac@cygnus> | 1995-10-13 21:15:18 +0000 |
---|---|---|
committer | Steve Chamberlain <sac@cygnus> | 1995-10-13 21:15:18 +0000 |
commit | 4a29aa8458de4f522b803a5aacacaf8faea001ac (patch) | |
tree | 8b7d62186a66403914113dcfb2a4761d4f207d47 /gdb/remote-sim.h | |
parent | 4444ae6e3dc487607b6b9f897e4de87101c34cdd (diff) | |
download | gdb-4a29aa8458de4f522b803a5aacacaf8faea001ac.zip gdb-4a29aa8458de4f522b803a5aacacaf8faea001ac.tar.gz gdb-4a29aa8458de4f522b803a5aacacaf8faea001ac.tar.bz2 |
* srcwin.cpp (CSrcScroll1::OnDraw): Don't show disabled
splats unless a breakpoint is possible.
* gui.mak: Include mips config.
* prebuilt/mips/elf32-target.h: Regenerated.
Diffstat (limited to 'gdb/remote-sim.h')
-rw-r--r-- | gdb/remote-sim.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/gdb/remote-sim.h b/gdb/remote-sim.h index aee9ab7..8c106a2 100644 --- a/gdb/remote-sim.h +++ b/gdb/remote-sim.h @@ -20,6 +20,7 @@ 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. */ @@ -40,6 +41,10 @@ typedef CORE_ADDR_TYPE SIM_ADDR; 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 ... @@ -129,4 +134,9 @@ void sim_do_command PARAMS ((char *cmd)); 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) */ |