aboutsummaryrefslogtreecommitdiff
path: root/gdb/sparc64-tdep.c
diff options
context:
space:
mode:
authorTom Tromey <tromey@adacore.com>2022-09-09 06:39:56 -0600
committerTom Tromey <tromey@adacore.com>2023-01-03 08:45:01 -0700
commit5cb0f2d5b67ce2b4f60d5ad0b0a26ef918e8244f (patch)
tree301730b1a22abe06aeab97c275dbd27ff69a15a6 /gdb/sparc64-tdep.c
parent12bb802fab16b5bf8edc027c247741bd75db1257 (diff)
downloadgdb-5cb0f2d5b67ce2b4f60d5ad0b0a26ef918e8244f.zip
gdb-5cb0f2d5b67ce2b4f60d5ad0b0a26ef918e8244f.tar.gz
gdb-5cb0f2d5b67ce2b4f60d5ad0b0a26ef918e8244f.tar.bz2
Convert selected architectures to gdbarch_return_value_as_value
This converts a few selected architectures to use gdbarch_return_value_as_value rather than gdbarch_return_value. The architectures are just the ones that I am able to test. This patch should not introduce any behavior changes.
Diffstat (limited to 'gdb/sparc64-tdep.c')
-rw-r--r--gdb/sparc64-tdep.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gdb/sparc64-tdep.c b/gdb/sparc64-tdep.c
index 9162f33..96910be 100644
--- a/gdb/sparc64-tdep.c
+++ b/gdb/sparc64-tdep.c
@@ -1835,6 +1835,7 @@ sparc64_init_abi (struct gdbarch_info info, struct gdbarch *gdbarch)
set_gdbarch_push_dummy_call (gdbarch, sparc64_push_dummy_call);
set_gdbarch_return_value (gdbarch, sparc64_return_value);
+ set_gdbarch_return_value_as_value (gdbarch, default_gdbarch_return_value);
set_gdbarch_stabs_argument_has_addr
(gdbarch, default_stabs_argument_has_addr);