aboutsummaryrefslogtreecommitdiff
path: root/gdb/varobj.c
diff options
context:
space:
mode:
authorTom Tromey <tom@tromey.com>2022-01-22 16:32:48 -0700
committerTom Tromey <tom@tromey.com>2022-02-14 06:22:33 -0700
commit660da3c14b3b1815d6b3f1849a7225a10d819042 (patch)
tree569508305b97cfb486866c69a09fa3635e9cd213 /gdb/varobj.c
parent362501dc5c85ae67c7141292ed5be1bfbd334645 (diff)
downloadfsf-binutils-gdb-660da3c14b3b1815d6b3f1849a7225a10d819042.zip
fsf-binutils-gdb-660da3c14b3b1815d6b3f1849a7225a10d819042.tar.gz
fsf-binutils-gdb-660da3c14b3b1815d6b3f1849a7225a10d819042.tar.bz2
Remove LA_PRINT_STRING
This removes the LA_PRINT_STRING macro, in favor of using ordinary method calls.
Diffstat (limited to 'gdb/varobj.c')
-rw-r--r--gdb/varobj.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/varobj.c b/gdb/varobj.c
index 80216a4..5617131 100644
--- a/gdb/varobj.c
+++ b/gdb/varobj.c
@@ -2232,8 +2232,8 @@ varobj_value_get_print_value (struct value *value,
/* If the THEVALUE has contents, it is a regular string. */
if (!thevalue.empty ())
- LA_PRINT_STRING (&stb, type, (gdb_byte *) thevalue.c_str (),
- len, encoding.get (), 0, &opts);
+ current_language->printstr (&stb, type, (gdb_byte *) thevalue.c_str (),
+ len, encoding.get (), 0, &opts);
else if (string_print)
/* Otherwise, if string_print is set, and it is not a regular
string, it is a lazy string. */