Fix inferior calls with variably-sized return type
authorTom Tromey <tromey@adacore.com>
Wed, 7 Sep 2022 15:52:44 +0000 (09:52 -0600)
committerTom Tromey <tromey@adacore.com>
Tue, 3 Jan 2023 15:45:01 +0000 (08:45 -0700)
commit911627e7b1bc682a18ac5a976eb33cd87d73578f
treeac38675ac49e0aede201b82f8f193cff20658915
parent5cb0f2d5b67ce2b4f60d5ad0b0a26ef918e8244f
Fix inferior calls with variably-sized return type

This patch updates the gdbarch_return_value_as_value implementations
to work correctly with variably-sized return types.
gdb/aarch64-tdep.c
gdb/amd64-tdep.c
gdb/amd64-windows-tdep.c
gdb/arm-tdep.c
gdb/i386-tdep.c
gdb/riscv-tdep.c
gdb/sparc-tdep.c