From: Steve Chamberlain Date: Fri, 13 Oct 1995 21:15:18 +0000 (+0000) Subject: * srcwin.cpp (CSrcScroll1::OnDraw): Don't show disabled X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=4a29aa8458de4f522b803a5aacacaf8faea001ac;p=binutils-gdb.git * 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. --- diff --git a/gdb/remote-sim.h b/gdb/remote-sim.h index aee9ab73b8d..8c106a29262 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) */