forked from Imagelibrary/binutils-gdb
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:
@@ -91,7 +91,7 @@ gdbscm_preserve_values (const struct extension_language_defn *extlang,
|
||||
value_smob *iter;
|
||||
|
||||
for (iter = values_in_scheme; iter; iter = iter->next)
|
||||
preserve_one_value (iter->value, objfile, copied_types);
|
||||
iter->value->preserve (objfile, copied_types);
|
||||
}
|
||||
|
||||
/* Helper to add a value_smob to the global list. */
|
||||
|
||||
Reference in New Issue
Block a user