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 00a060b..6c4afb7 100644 --- a/gdb/utils.c +++ b/gdb/utils.c @@ -1544,6 +1544,15 @@ fputstr_unfiltered (const char *str, int quoter, struct ui_file *stream) } void +fputstrn_filtered (const char *str, int n, int quoter, + struct ui_file *stream) +{ + int i; + for (i = 0; i < n; i++) + printchar (str[i], fputs_filtered, fprintf_filtered, stream, quoter); +} + +void fputstrn_unfiltered (const char *str, int n, int quoter, struct ui_file *stream) { |