diff options
author | Tom Tromey <tom@tromey.com> | 2023-01-31 10:52:04 -0700 |
---|---|---|
committer | Tom Tromey <tom@tromey.com> | 2023-02-13 15:21:07 -0700 |
commit | 3ee3b2700d59ec1048989a3bf190882740d2ea8b (patch) | |
tree | bd46219093e5e0118256d9f47d3a7cc694de1702 /gdb/guile/scm-pretty-print.c | |
parent | 391f86284f6fff1011ace7136f4bd2bb438de3c6 (diff) | |
download | binutils-gdb-3ee3b2700d59ec1048989a3bf190882740d2ea8b.tar.gz |
Turn value_lazy and set_value_lazy functions into methods
This changes the value_lazy and set_value_lazy functions to be methods
of value. Much of this patch was written by script.
Approved-By: Simon Marchi <simon.marchi@efficios.com>
Diffstat (limited to 'gdb/guile/scm-pretty-print.c')
-rw-r--r-- | gdb/guile/scm-pretty-print.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/guile/scm-pretty-print.c b/gdb/guile/scm-pretty-print.c index 3e93f3523be..7a680c052d3 100644 --- a/gdb/guile/scm-pretty-print.c +++ b/gdb/guile/scm-pretty-print.c @@ -965,7 +965,7 @@ gdbscm_apply_val_pretty_printer (const struct extension_language_defn *extlang, enum ext_lang_rc result = EXT_LANG_RC_NOP; enum guile_string_repr_result print_result; - if (value_lazy (value)) + if (value->lazy ()) value_fetch_lazy (value); /* No pretty-printer support for unavailable values. */ |