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:
parent
b64e260290
commit
b27556e3c1
11 changed files with 21 additions and 20 deletions
|
@ -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. */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue