aboutsummaryrefslogtreecommitdiff
path: root/gdb/rust-lang.c
diff options
context:
space:
mode:
authorTom Tromey <tom@tromey.com>2022-02-11 18:14:17 -0700
committerTom Tromey <tom@tromey.com>2022-10-10 10:43:34 -0600
commit3a3bb6eb36a29e3201bfc4cc53e341f4f98e6cf1 (patch)
tree22ec337890716a5e76f998328a2b6cafedb833a8 /gdb/rust-lang.c
parentc1c7fe59f67f5f4e3ca6f6fea1de46b983be8995 (diff)
downloadgdb-3a3bb6eb36a29e3201bfc4cc53e341f4f98e6cf1.zip
gdb-3a3bb6eb36a29e3201bfc4cc53e341f4f98e6cf1.tar.gz
gdb-3a3bb6eb36a29e3201bfc4cc53e341f4f98e6cf1.tar.bz2
Remove c_printstr
This renames c_printstr, removing a layer of indirection.
Diffstat (limited to 'gdb/rust-lang.c')
-rw-r--r--gdb/rust-lang.c5
1 files changed, 3 insertions, 2 deletions
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;
}
}