mirror of
https://github.com/bminor/binutils-gdb.git
synced 2025-12-26 17:18:55 +00:00
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] (gdbsim_write_stdout): New.
This commit is contained in:
@@ -95,6 +95,25 @@ int regno;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
int
|
||||
gdbsim_write_stdout (arg, len)
|
||||
char *arg;
|
||||
int len;
|
||||
{
|
||||
int i;
|
||||
char b[2];
|
||||
for (i = 0; i< len; i++) {
|
||||
b[0] = arg[i];
|
||||
b[1] = 0;
|
||||
if (target_output_hook)
|
||||
target_output_hook (b);
|
||||
else
|
||||
fputs_filtered (b, gdb_stdout);
|
||||
}
|
||||
return len;
|
||||
}
|
||||
|
||||
static void
|
||||
gdbsim_store_register (regno)
|
||||
int regno;
|
||||
|
||||
Reference in New Issue
Block a user