This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
[RFA] Fix argumens to return_value_location
- To: gdb-patches at sources dot redhat dot com
- Subject: [RFA] Fix argumens to return_value_location
- From: Jim Blandy <jimb at zwingli dot cygnus dot com>
- Date: Wed, 11 Apr 2001 15:37:45 -0500 (EST)
2001-04-11 Jim Blandy <jimb@redhat.com>
* mips-tdep.c (return_value_location): Swap `hi' and `lo'
arguments, to match the way this function is actually called.
Index: gdb/mips-tdep.c
===================================================================
RCS file: /cvs/cvsfiles/devo/gdb/mips-tdep.c,v
retrieving revision 1.248.2.1
diff -c -r1.248.2.1 mips-tdep.c
*** gdb/mips-tdep.c 2001/01/25 08:31:40 1.248.2.1
--- gdb/mips-tdep.c 2001/04/11 20:24:22
***************
*** 3082,3089 ****
static void
return_value_location (struct type *valtype,
! struct return_value_word *hi,
! struct return_value_word *lo)
{
int len = TYPE_LENGTH (valtype);
--- 3082,3089 ----
static void
return_value_location (struct type *valtype,
! struct return_value_word *lo,
! struct return_value_word *hi)
{
int len = TYPE_LENGTH (valtype);