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/ada-valprint.c | |
parent | 391f86284f6fff1011ace7136f4bd2bb438de3c6 (diff) | |
download | binutils-3ee3b2700d59ec1048989a3bf190882740d2ea8b.zip binutils-3ee3b2700d59ec1048989a3bf190882740d2ea8b.tar.gz binutils-3ee3b2700d59ec1048989a3bf190882740d2ea8b.tar.bz2 |
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/ada-valprint.c')
-rw-r--r-- | gdb/ada-valprint.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/ada-valprint.c b/gdb/ada-valprint.c index c1004b5..64d7ac1 100644 --- a/gdb/ada-valprint.c +++ b/gdb/ada-valprint.c @@ -982,7 +982,7 @@ ada_val_print_ref (struct type *type, const gdb_byte *valaddr, if (ada_is_tagged_type (deref_val->type (), 1)) deref_val = ada_tag_value_at_base_address (deref_val); - if (value_lazy (deref_val)) + if (deref_val->lazy ()) value_fetch_lazy (deref_val); common_val_print (deref_val, stream, recurse + 1, |