diff options
author | Tom Tromey <tom@tromey.com> | 2022-01-22 16:31:06 -0700 |
---|---|---|
committer | Tom Tromey <tom@tromey.com> | 2022-02-14 06:22:33 -0700 |
commit | 13eb081a83b6f9b07cf4447e52e1d0503bf90211 (patch) | |
tree | 3dfa1010674e668dffef21fe981c45465e4b6942 /gdb/python | |
parent | 7b8c55afd07abf1e2e4efbeca4b9a614ce8d4e1e (diff) | |
download | binutils-gdb-13eb081a83b6f9b07cf4447e52e1d0503bf90211.tar.gz |
Remove LA_PRINT_TYPE
This removes the LA_PRINT_TYPE macro, in favor of using ordinary
method calls.
Diffstat (limited to 'gdb/python')
-rw-r--r-- | gdb/python/py-type.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/gdb/python/py-type.c b/gdb/python/py-type.c index 9df667d2811..8613534d060 100644 --- a/gdb/python/py-type.c +++ b/gdb/python/py-type.c @@ -1025,8 +1025,9 @@ typy_str (PyObject *self) try { - LA_PRINT_TYPE (type_object_to_type (self), "", &thetype, -1, 0, - &type_print_raw_options); + current_language->print_type (type_object_to_type (self), "", + &thetype, -1, 0, + &type_print_raw_options); } catch (const gdb_exception &except) { |