From 3a3bb6eb36a29e3201bfc4cc53e341f4f98e6cf1 Mon Sep 17 00:00:00 2001 From: Tom Tromey Date: Fri, 11 Feb 2022 18:14:17 -0700 Subject: Remove c_printstr This renames c_printstr, removing a layer of indirection. --- gdb/rust-lang.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'gdb/rust-lang.c') diff --git a/gdb/rust-lang.c b/gdb/rust-lang.c index 5539884..8673a90 100644 --- a/gdb/rust-lang.c +++ b/gdb/rust-lang.c @@ -292,8 +292,9 @@ rust_language::printstr (struct ui_file *stream, struct type *type, { /* This is probably some C string, so let's let C deal with it. */ - c_printstr (stream, type, string, length, user_encoding, - force_ellipses, options); + language_defn::printstr (stream, type, string, length, + user_encoding, force_ellipses, + options); return; } } -- cgit v1.1