forked from Imagelibrary/binutils-gdb
Turn value_copy into a method
This turns value_copy into a method of value. Much of this was written by script. Approved-By: Simon Marchi <simon.marchi@efficios.com>
This commit is contained in:
@@ -1028,7 +1028,7 @@ ada_value_print_inner (struct value *val, struct ui_file *stream, int recurse,
|
||||
type = ada_check_typedef (resolve_dynamic_type (type, view, address));
|
||||
if (type != saved_type)
|
||||
{
|
||||
val = value_copy (val);
|
||||
val = val->copy ();
|
||||
val->deprecated_set_type (type);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user