aboutsummaryrefslogtreecommitdiff
path: root/sim/arm
diff options
context:
space:
mode:
authorTom Tromey <tromey@adacore.com>2023-02-21 13:49:17 -0700
committerTom Tromey <tromey@adacore.com>2023-04-21 07:14:24 -0600
commitfbdecfbf285234cd4eba0e7daf480c63b2d65eb3 (patch)
tree6d2957e6736f42e49332474bc95d7177d9bbfc18 /sim/arm
parent9df25c346f5517c0228d067c68ee2f6bfe1728ad (diff)
downloadgdb-fbdecfbf285234cd4eba0e7daf480c63b2d65eb3.zip
gdb-fbdecfbf285234cd4eba0e7daf480c63b2d65eb3.tar.gz
gdb-fbdecfbf285234cd4eba0e7daf480c63b2d65eb3.tar.bz2
Use entry values for 32-bit PPC struct return
AdaCore has a local patch for PPC "finish", but last year, Ulrich Weigand pointed out that this patch was incorrect. It may work for simple functions like the one in the internal test, but nothing guarantees that r3 will be preserved by the callee, so checking r3 on exit is not always correct. This patch fixes the problem using the same approach as PPC64: use the entry value of r3, if available. Ulrich confirmed this matches the PPC32 ABI.
Diffstat (limited to 'sim/arm')
0 files changed, 0 insertions, 0 deletions