mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-01 20:12:01 +08:00
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>
This commit is contained in:
@ -578,7 +578,7 @@ gdbpy_apply_val_pretty_printer (const struct extension_language_defn *extlang,
|
||||
struct gdbarch *gdbarch = type->arch ();
|
||||
enum gdbpy_string_repr_result print_result;
|
||||
|
||||
if (value_lazy (value))
|
||||
if (value->lazy ())
|
||||
value_fetch_lazy (value);
|
||||
|
||||
/* No pretty-printer support for unavailable values. */
|
||||
|
Reference in New Issue
Block a user