diff options
Diffstat (limited to 'gdb/utils.c')
-rw-r--r-- | gdb/utils.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/gdb/utils.c b/gdb/utils.c index 9cfdd3f..98bee73 100644 --- a/gdb/utils.c +++ b/gdb/utils.c @@ -1857,6 +1857,15 @@ putchar_unfiltered (int c) return c; } +/* Write character C to gdb_stdout using GDB's paging mechanism and return C. + May return nonlocally. */ + +int +putchar_filtered (int c) +{ + return fputc_filtered (c, gdb_stdout); +} + int fputc_unfiltered (int c, struct ui_file *stream) { |