]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
Wed Sep 20 08:16:03 1995 steve chamberlain <sac@slash.cygnus.com>
authorSteve Chamberlain <sac@cygnus>
Wed, 20 Sep 1995 15:37:50 +0000 (15:37 +0000)
committerSteve Chamberlain <sac@cygnus>
Wed, 20 Sep 1995 15:37:50 +0000 (15:37 +0000)
* 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
gdb/remote-sim.h

index dab8149705cc68de373845a35a65c29607292b63..3c1e1b6587577852247c2f418abea8076868ebdd 100644 (file)
@@ -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;
 {
index 74f98094def04f37430b8214ad9520af0240c186..aee9ab73b8d7704aa24b8f2a7398336ac77d629b 100644 (file)
@@ -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) */