diff options
Diffstat (limited to 'gdb/amd64-windows-tdep.c')
-rw-r--r-- | gdb/amd64-windows-tdep.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/amd64-windows-tdep.c b/gdb/amd64-windows-tdep.c index 5c779cb..aea8aaa 100644 --- a/gdb/amd64-windows-tdep.c +++ b/gdb/amd64-windows-tdep.c @@ -408,7 +408,7 @@ amd64_windows_return_value (struct gdbarch *gdbarch, struct value *function, /* Extract the return value from the register where it was stored. */ if (read_value != nullptr) { - *read_value = allocate_value (type); + *read_value = value::allocate (type); regcache->raw_read_part (regnum, 0, len, value_contents_raw (*read_value).data ()); } |