* 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.
/* 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 */
int
-gdbsim_write_stdout (arg, len)
+sim_callback_write_stdout (arg, len)
char *arg;
int len;
{
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 ...
/* 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) */