This is the mail archive of the gdb-patches@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

[RFA] Fix argumens to return_value_location



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);
  


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]