mirror of
https://github.com/bminor/binutils-gdb.git
synced 2025-12-26 17:18:55 +00:00
import gdb-1999-07-05 snapshot
This commit is contained in:
@@ -197,10 +197,7 @@ gdb_os_write_stdout (p, buf, len)
|
||||
{
|
||||
b[0] = buf[i];
|
||||
b[1] = 0;
|
||||
if (target_output_hook)
|
||||
target_output_hook (b);
|
||||
else
|
||||
fputs_filtered (b, gdb_stdout);
|
||||
fputs_unfiltered (b, gdb_stdtarg);
|
||||
}
|
||||
return len;
|
||||
}
|
||||
@@ -229,10 +226,7 @@ gdb_os_write_stderr (p, buf, len)
|
||||
{
|
||||
b[0] = buf[i];
|
||||
b[1] = 0;
|
||||
if (target_output_hook)
|
||||
target_output_hook (b);
|
||||
else
|
||||
fputs_filtered (b, gdb_stderr);
|
||||
fputs_unfiltered (b, gdb_stdtarg);
|
||||
}
|
||||
return len;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user