mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-29 16:38:05 +08:00
Turn preserve_one_value into method
This changes preserve_one_value to be a method of value. Much of this patch was written by script. Approved-By: Simon Marchi <simon.marchi@efficios.com>
This commit is contained in:
@ -228,7 +228,7 @@ gdbpy_preserve_values (const struct extension_language_defn *extlang,
|
||||
value_object *iter;
|
||||
|
||||
for (iter = values_in_python; iter; iter = iter->next)
|
||||
preserve_one_value (iter->value, objfile, copied_types);
|
||||
iter->value->preserve (objfile, copied_types);
|
||||
}
|
||||
|
||||
/* Given a value of a pointer type, apply the C unary * operator to it. */
|
||||
|
Reference in New Issue
Block a user