mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-17 07:53:51 +08:00
Turn allocate_value into a static "constructor"
This changes allocate_value to be a static "constructor" of value. Approved-By: Simon Marchi <simon.marchi@efficios.com>
This commit is contained in:
@ -1178,7 +1178,7 @@ default_gdbarch_return_value
|
||||
|
||||
if (read_value != nullptr)
|
||||
{
|
||||
*read_value = allocate_value (valtype);
|
||||
*read_value = value::allocate (valtype);
|
||||
readbuf = value_contents_raw (*read_value).data ();
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user