mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-07-04 12:31:38 +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:
gdb
aarch64-tdep.cada-lang.camd64-tdep.camd64-windows-tdep.carch-utils.carm-tdep.cbreakpoint.cc-lang.c
cli
cp-valprint.cdwarf2
elfread.ceval.cexpop.hf-lang.cfindvar.cgdbtypes.hi386-tdep.cinfcall.cinfrun.copencl-lang.cppc-linux-tdep.cpython
regcache.criscv-tdep.crust-lang.csparc-tdep.cstd-regs.ctracepoint.cvalarith.cvalops.cvalprint.cvalue.cvalue.hwindows-tdep.c@ -580,7 +580,7 @@ python_xmethod_worker::invoke (struct value *obj,
|
||||
}
|
||||
else
|
||||
{
|
||||
res = allocate_value (lookup_typename (current_language,
|
||||
res = value::allocate (lookup_typename (current_language,
|
||||
"void", NULL, 0));
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user