diff options
author | Tom Tromey <tom@tromey.com> | 2022-01-02 11:36:44 -0700 |
---|---|---|
committer | Tom Tromey <tom@tromey.com> | 2022-03-29 12:46:24 -0600 |
commit | 0426ad513f93bb1c5805988e60d6f87fbe738860 (patch) | |
tree | 6ad0f94f9b2a907623df38db9dd7727fe80f5d51 /gdb/c-lang.c | |
parent | 19a7b8ab871b92dee32a0ebffe274388d3426564 (diff) | |
download | gdb-0426ad513f93bb1c5805988e60d6f87fbe738860.zip gdb-0426ad513f93bb1c5805988e60d6f87fbe738860.tar.gz gdb-0426ad513f93bb1c5805988e60d6f87fbe738860.tar.bz2 |
Unify gdb puts functions
Now that filtered and unfiltered output can be treated identically, we
can unify the puts family of functions. This is done under the name
"gdb_puts". Most of this patch was written by script.
Diffstat (limited to 'gdb/c-lang.c')
-rw-r--r-- | gdb/c-lang.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gdb/c-lang.c b/gdb/c-lang.c index 1f7cac7..2fd86ec 100644 --- a/gdb/c-lang.c +++ b/gdb/c-lang.c @@ -206,13 +206,13 @@ c_printstr (struct ui_file *stream, struct type *type, case C_STRING: break; case C_WIDE_STRING: - fputs_filtered ("L", stream); + gdb_puts ("L", stream); break; case C_STRING_16: - fputs_filtered ("u", stream); + gdb_puts ("u", stream); break; case C_STRING_32: - fputs_filtered ("U", stream); + gdb_puts ("U", stream); break; } |