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:
parent
6bd5c75435
commit
e3fb3c4772
4 changed files with 14 additions and 17 deletions
|
@ -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. */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue