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:
parent
391f86284f
commit
3ee3b2700d
22 changed files with 87 additions and 96 deletions
|
@ -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. */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue