aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorSteve Chamberlain <sac@cygnus>1995-09-20 15:37:50 +0000
committerSteve Chamberlain <sac@cygnus>1995-09-20 15:37:50 +0000
commitcc274a2ecb8ab5f8b3f370e685f1a3994677d653 (patch)
treee40cc012c59e37b305c9d7bdc4089c9299d0489a /gdb
parent6b009ef680221bc7ad17d3fa2dc473ecfdf277d9 (diff)
downloadgdb-cc274a2ecb8ab5f8b3f370e685f1a3994677d653.zip
gdb-cc274a2ecb8ab5f8b3f370e685f1a3994677d653.tar.gz
gdb-cc274a2ecb8ab5f8b3f370e685f1a3994677d653.tar.bz2
Wed Sep 20 08:16:03 1995 steve chamberlain <sac@slash.cygnus.com>
* 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.
Diffstat (limited to 'gdb')
-rw-r--r--gdb/remote-sim.c4
-rw-r--r--gdb/remote-sim.h4
2 files changed, 4 insertions, 4 deletions
diff --git a/gdb/remote-sim.c b/gdb/remote-sim.c
index dab8149..3c1e1b6 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 74f9809..aee9ab7 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) */