2003-11-13 Andrew Cagney <cagney@redhat.com>
authorAndrew Cagney <cagney@redhat.com>
Thu, 13 Nov 2003 18:08:57 +0000 (18:08 +0000)
committerAndrew Cagney <cagney@redhat.com>
Thu, 13 Nov 2003 18:08:57 +0000 (18:08 +0000)
* ppc-linux-tdep.c (ppc_linux_return_value): Fix parameter order.

gdb/ChangeLog
gdb/ppc-linux-tdep.c

index bdeaa3db84738edefaf28d18697d742a894dd364..512e6fab10d61f6231e3e94ffc081ca0233227ba 100644 (file)
@@ -1,3 +1,7 @@
+2003-11-13  Andrew Cagney  <cagney@redhat.com>
+
+       * ppc-linux-tdep.c (ppc_linux_return_value): Fix parameter order.
+
 2003-11-13  Jim Blandy  <jimb@redhat.com>
 
        * cp-namespace.c: Doc fix.
index c094efeb18294ae24313f9982f323f4bc85ba547..2be994360bc26d047cfe53dcd4d0a56d90dce54e 100644 (file)
@@ -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
This page took 0.031355 seconds and 4 git commands to generate.