summaryrefslogtreecommitdiff
path: root/gdb/c-valprint.c
diff options
context:
space:
mode:
authorTom Tromey <tom@tromey.com>2022-01-22 16:31:52 -0700
committerTom Tromey <tom@tromey.com>2022-02-14 06:22:33 -0700
commit362501dc5c85ae67c7141292ed5be1bfbd334645 (patch)
treee69ce79f438247f10faea1fd8ccfa9a35a720f91 /gdb/c-valprint.c
parent13eb081a83b6f9b07cf4447e52e1d0503bf90211 (diff)
downloadbinutils-gdb-362501dc5c85ae67c7141292ed5be1bfbd334645.tar.gz
Remove LA_PRINT_CHAR
This removes the LA_PRINT_CHAR macro, in favor of using ordinary method calls.
Diffstat (limited to 'gdb/c-valprint.c')
-rw-r--r--gdb/c-valprint.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/gdb/c-valprint.c b/gdb/c-valprint.c
index fadbc5b7022..047e5687b0a 100644
--- a/gdb/c-valprint.c
+++ b/gdb/c-valprint.c
@@ -409,7 +409,8 @@ c_value_print_int (struct value *val, struct ui_file *stream,
if (c_textual_element_type (type, options->format))
{
fputs_filtered (" ", stream);
- LA_PRINT_CHAR (unpack_long (type, valaddr), type, stream);
+ current_language->printchar (unpack_long (type, valaddr), type,
+ stream);
}
}
}