aboutsummaryrefslogtreecommitdiff
path: root/gdb/guile
diff options
context:
space:
mode:
authorTom Tromey <tom@tromey.com>2022-01-22 16:31:06 -0700
committerTom Tromey <tom@tromey.com>2022-02-14 06:22:33 -0700
commit13eb081a83b6f9b07cf4447e52e1d0503bf90211 (patch)
tree3dfa1010674e668dffef21fe981c45465e4b6942 /gdb/guile
parent7b8c55afd07abf1e2e4efbeca4b9a614ce8d4e1e (diff)
downloadgdb-13eb081a83b6f9b07cf4447e52e1d0503bf90211.zip
gdb-13eb081a83b6f9b07cf4447e52e1d0503bf90211.tar.gz
gdb-13eb081a83b6f9b07cf4447e52e1d0503bf90211.tar.bz2
Remove LA_PRINT_TYPE
This removes the LA_PRINT_TYPE macro, in favor of using ordinary method calls.
Diffstat (limited to 'gdb/guile')
-rw-r--r--gdb/guile/scm-type.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/gdb/guile/scm-type.c b/gdb/guile/scm-type.c
index 987660c..27d00f1 100644
--- a/gdb/guile/scm-type.c
+++ b/gdb/guile/scm-type.c
@@ -108,7 +108,8 @@ tyscm_type_name (struct type *type)
{
string_file stb;
- LA_PRINT_TYPE (type, "", &stb, -1, 0, &type_print_raw_options);
+ current_language->print_type (type, "", &stb, -1, 0,
+ &type_print_raw_options);
return stb.release ();
}
catch (const gdb_exception &except)