mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-16 23:06:48 +08:00
Turn allocate_optimized_out_value into static "constructor"
This turns allocate_optimized_out_value into a static "constructor" of value. Approved-By: Simon Marchi <simon.marchi@efficios.com>
This commit is contained in:
@ -1189,7 +1189,7 @@ typy_optimized_out (PyObject *self, PyObject *args)
|
||||
{
|
||||
struct type *type = ((type_object *) self)->type;
|
||||
|
||||
return value_to_value_object (allocate_optimized_out_value (type));
|
||||
return value_to_value_object (value::allocate_optimized_out (type));
|
||||
}
|
||||
|
||||
/* Return a gdb.Field object for the field named by the argument. */
|
||||
|
Reference in New Issue
Block a user