From cc274a2ecb8ab5f8b3f370e685f1a3994677d653 Mon Sep 17 00:00:00 2001 From: Steve Chamberlain Date: Wed, 20 Sep 1995 15:37:50 +0000 Subject: [PATCH] Wed Sep 20 08:16:03 1995 steve chamberlain * defs.h (xmalloc, xrealloc): Delete, they're declared in libiberty.h. (GETENV_PROVIDED, FCLOSE_PROVIDED): New. * doc/gdbint.texinfo (GETENV_PROVIDED, FCLOSE_PROVIDED): Document. * remote-sim.[ch] (sim_callback_write_stdout): New. --- gdb/remote-sim.c | 4 ++-- gdb/remote-sim.h | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/gdb/remote-sim.c b/gdb/remote-sim.c index dab8149705c..3c1e1b65875 100644 --- a/gdb/remote-sim.c +++ b/gdb/remote-sim.c @@ -38,7 +38,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ /* Naming convention: sim_* are the interface to the simulator (see remote-sim.h). - + sim_callback_* are the stuff which the simulator can see inside GDB. gdbsim_* are stuff which is internal to gdb. */ /* Forward data declarations */ @@ -97,7 +97,7 @@ int regno; int -gdbsim_write_stdout (arg, len) +sim_callback_write_stdout (arg, len) char *arg; int len; { diff --git a/gdb/remote-sim.h b/gdb/remote-sim.h index 74f98094def..aee9ab73b8d 100644 --- a/gdb/remote-sim.h +++ b/gdb/remote-sim.h @@ -39,7 +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); + int sim_callback_write_stdout (char *, int len); */ /* Main simulator entry points ... @@ -127,6 +127,6 @@ void sim_do_command PARAMS ((char *cmd)); /* Callbacks for the simulator to use. */ -int gdbsim_write_stdout PARAMS ((char *, int)); +int sim_callback_write_stdout PARAMS ((char *, int)); #endif /* !defined (REMOTE_SIM_H) */ -- 2.30.2