diff options
author | Andrew Cagney <cagney@redhat.com> | 2003-11-10 22:47:31 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 2003-11-10 22:47:31 +0000 |
commit | 963e2bb72c415631fb836e137f24c6e0686fd205 (patch) | |
tree | 4adf51b00b818534303a1cc809cd0e0784232ed6 /gdb/doc | |
parent | 8aa91c1e237baa3e8223d6304cdcd66380f83119 (diff) | |
download | gdb-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/doc')
-rw-r--r-- | gdb/doc/ChangeLog | 6 | ||||
-rw-r--r-- | gdb/doc/gdbint.texinfo | 10 |
2 files changed, 11 insertions, 5 deletions
diff --git a/gdb/doc/ChangeLog b/gdb/doc/ChangeLog index 374d05f..06fb5b2 100644 --- a/gdb/doc/ChangeLog +++ b/gdb/doc/ChangeLog @@ -1,3 +1,9 @@ +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". + 2003-10-28 Jim Blandy <jimb@redhat.com> * gdb.texinfo (The F request packet, The F reply packet): Renamed diff --git a/gdb/doc/gdbint.texinfo b/gdb/doc/gdbint.texinfo index 77e2b7e..3170ce2 100644 --- a/gdb/doc/gdbint.texinfo +++ b/gdb/doc/gdbint.texinfo @@ -3828,7 +3828,7 @@ allocated on the stack. @xref{unwind_dummy_id}. Define this to convert sdb register numbers into @value{GDBN} regnums. If not defined, no conversion will be done. -@item enum return_value_convention gdbarch_return_value (struct gdbarch *@var{gdbarch}, struct type *@var{valtype}, struct regcache *@var{regcache}, const void *@var{inval}, void *@var{outval}) +@item enum return_value_convention gdbarch_return_value (struct gdbarch *@var{gdbarch}, struct type *@var{valtype}, struct regcache *@var{regcache}, void *@var{readbuf}, const void *@var{writebuf}) @findex gdbarch_return_value @anchor{gdbarch_return_value} Given a function with a return-value of type @var{rettype}, return which return-value convention that function @@ -3840,13 +3840,13 @@ in registers; and @code{RETURN_VALUE_STRUCT_CONVENTION} where the return value is found in memory and the address of that memory location is passed in as the function's first parameter. -If the register convention is being used, and @var{inval} is -non-@code{NULL}, also copy the return-value in @var{inval} into +If the register convention is being used, and @var{writebuf} is +non-@code{NULL}, also copy the return-value in @var{writebuf} into @var{regcache}. -If the register convention is being used, and @var{outval} is +If the register convention is being used, and @var{readbuf} is non-@code{NULL}, also copy the return value from @var{regcache} into -@var{outval} (@var{regcache} contains a copy of the registers from the +@var{readbuf} (@var{regcache} contains a copy of the registers from the just returned function). @xref{EXTRACT_STRUCT_VALUE_ADDRESS}, for a description of how |