aboutsummaryrefslogtreecommitdiff
path: root/gdb/stack.c
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2003-11-10 22:47:31 +0000
committerAndrew Cagney <cagney@redhat.com>2003-11-10 22:47:31 +0000
commit963e2bb72c415631fb836e137f24c6e0686fd205 (patch)
tree4adf51b00b818534303a1cc809cd0e0784232ed6 /gdb/stack.c
parent8aa91c1e237baa3e8223d6304cdcd66380f83119 (diff)
downloadgdb-963e2bb72c415631fb836e137f24c6e0686fd205.zip
gdb-963e2bb72c415631fb836e137f24c6e0686fd205.tar.gz
gdb-963e2bb72c415631fb836e137f24c6e0686fd205.tar.bz2
2003-11-10 Andrew Cagney <cagney@redhat.com>
* gdbarch.sh (return_value): Replace "inval" and "outval" with "readbuf" and "writebuf". * ppcnbsd-tdep.c (ppcnbsd_return_value): Ditto. * d10v-tdep.c (d10v_return_value): Ditto. * ppc-tdep.h (ppc_sysv_abi_return_value): Ditto. (ppc_sysv_abi_broken_return_value): Ditto. (ppc64_sysv_abi_return_value): Ditto. * ppc-sysv-tdep.c (do_ppc_sysv_return_value): Ditto. (ppc_sysv_abi_return_value): Ditto. (ppc_sysv_abi_broken_return_value): Ditto. (ppc64_sysv_abi_return_value): Ditto. * values.c (register_value_being_returned): Update call. * stack.c (return_command): Update call. * gdbarch.h, gdbarch.c: Re-generate. Index: gdb/doc/ChangeLog 2003-11-10 Andrew Cagney <cagney@redhat.com> * gdbint.texinfo (Target Architecture Definition): Replace the return_value method's "inval" and "outval" parameters with "readbuf" and "writebuf".
Diffstat (limited to 'gdb/stack.c')
-rw-r--r--gdb/stack.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/gdb/stack.c b/gdb/stack.c
index 723f1e5..dc8733e 100644
--- a/gdb/stack.c
+++ b/gdb/stack.c
@@ -1935,8 +1935,9 @@ The location at which to store the function's return value is unknown.\n";
gdb_assert (gdbarch_return_value (current_gdbarch, return_type,
NULL, NULL, NULL)
== RETURN_VALUE_REGISTER_CONVENTION);
- gdbarch_return_value (current_gdbarch, return_type, current_regcache,
- VALUE_CONTENTS (return_value), NULL);
+ gdbarch_return_value (current_gdbarch, return_type,
+ current_regcache, NULL /*read*/,
+ VALUE_CONTENTS (return_value) /*write*/);
}
}