aboutsummaryrefslogtreecommitdiff
path: root/gdb/rust-lang.h
diff options
context:
space:
mode:
authorTom Tromey <tom@tromey.com>2022-01-02 11:36:44 -0700
committerTom Tromey <tom@tromey.com>2022-03-29 12:46:24 -0600
commit0426ad513f93bb1c5805988e60d6f87fbe738860 (patch)
tree6ad0f94f9b2a907623df38db9dd7727fe80f5d51 /gdb/rust-lang.h
parent19a7b8ab871b92dee32a0ebffe274388d3426564 (diff)
downloadbinutils-0426ad513f93bb1c5805988e60d6f87fbe738860.zip
binutils-0426ad513f93bb1c5805988e60d6f87fbe738860.tar.gz
binutils-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/rust-lang.h')
-rw-r--r--gdb/rust-lang.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/rust-lang.h b/gdb/rust-lang.h
index 60a1967..97454d8 100644
--- a/gdb/rust-lang.h
+++ b/gdb/rust-lang.h
@@ -178,9 +178,9 @@ public:
void printchar (int ch, struct type *chtype,
struct ui_file *stream) const override
{
- fputs_filtered ("'", stream);
+ gdb_puts ("'", stream);
emitchar (ch, chtype, stream, '\'');
- fputs_filtered ("'", stream);
+ gdb_puts ("'", stream);
}
/* See language.h. */