diff options
author | Tom Tromey <tom@tromey.com> | 2023-01-31 13:53:55 -0700 |
---|---|---|
committer | Tom Tromey <tom@tromey.com> | 2023-02-13 15:22:04 -0700 |
commit | 78259c365fb3c8e4fba9c19020fb8bdd8546c9f9 (patch) | |
tree | a9ed03e77f218d92e18fddf68a7f4ba8581f1af9 /gdb/varobj.c | |
parent | bbe912ba8898f5440028a35d0a206d70a6877ed6 (diff) | |
download | gdb-78259c365fb3c8e4fba9c19020fb8bdd8546c9f9.zip gdb-78259c365fb3c8e4fba9c19020fb8bdd8546c9f9.tar.gz gdb-78259c365fb3c8e4fba9c19020fb8bdd8546c9f9.tar.bz2 |
Turn value_fetch_lazy into a method
This changes value_fetch_lazy to be a method of value. A few helper
functions are converted as well, to avoid problems in later patches
when the data members are all made private.
Approved-By: Simon Marchi <simon.marchi@efficios.com>
Diffstat (limited to 'gdb/varobj.c')
-rw-r--r-- | gdb/varobj.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/varobj.c b/gdb/varobj.c index 0e023c0..72d5e7f 100644 --- a/gdb/varobj.c +++ b/gdb/varobj.c @@ -1268,7 +1268,7 @@ install_new_value (struct varobj *var, struct value *value, bool initial) try { - value_fetch_lazy (value); + value->fetch_lazy (); } catch (const gdb_exception_error &except) |