aboutsummaryrefslogtreecommitdiff
path: root/gdb/ppc-linux-tdep.c
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2003-11-13 18:08:57 +0000
committerAndrew Cagney <cagney@redhat.com>2003-11-13 18:08:57 +0000
commit475b6ddd329a54a32907a55cf4f2efc9013f5973 (patch)
treeed41e9a902c72363b082bd99a99b4d0d533f358a /gdb/ppc-linux-tdep.c
parenta22286a98f9b38e20bf96ff7f0487bf90e253476 (diff)
downloadgdb-475b6ddd329a54a32907a55cf4f2efc9013f5973.zip
gdb-475b6ddd329a54a32907a55cf4f2efc9013f5973.tar.gz
gdb-475b6ddd329a54a32907a55cf4f2efc9013f5973.tar.bz2
2003-11-13 Andrew Cagney <cagney@redhat.com>
* ppc-linux-tdep.c (ppc_linux_return_value): Fix parameter order.
Diffstat (limited to 'gdb/ppc-linux-tdep.c')
-rw-r--r--gdb/ppc-linux-tdep.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/gdb/ppc-linux-tdep.c b/gdb/ppc-linux-tdep.c
index c094efe..2be9943 100644
--- a/gdb/ppc-linux-tdep.c
+++ b/gdb/ppc-linux-tdep.c
@@ -598,7 +598,8 @@ ppc_linux_memory_remove_breakpoint (CORE_ADDR addr, char *contents_cache)
static enum return_value_convention
ppc_linux_return_value (struct gdbarch *gdbarch, struct type *valtype,
- struct regcache *regcache, const void *inval, void *outval)
+ struct regcache *regcache, void *readbuf,
+ const void *writebuf)
{
if ((TYPE_CODE (valtype) == TYPE_CODE_STRUCT
|| TYPE_CODE (valtype) == TYPE_CODE_UNION)
@@ -606,7 +607,8 @@ ppc_linux_return_value (struct gdbarch *gdbarch, struct type *valtype,
&& TYPE_VECTOR (valtype)))
return RETURN_VALUE_STRUCT_CONVENTION;
else
- return ppc_sysv_abi_return_value (gdbarch, valtype, regcache, inval, outval);
+ return ppc_sysv_abi_return_value (gdbarch, valtype, regcache, readbuf,
+ writebuf);
}
/* Fetch (and possibly build) an appropriate link_map_offsets