Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
* PATCH: fix up formatting in rs6000-tdep.c
@ 2004-05-20 18:50 Jim Blandy
  0 siblings, 0 replies; only message in thread
From: Jim Blandy @ 2004-05-20 18:50 UTC (permalink / raw)
  To: gdb-patches

2004-05-20  Jim Blandy  <jimb@redhat.com>

	* rs6000-tdep.c (rs6000_push_dummy_call): Formatting fixes.

*** gdb/rs6000-tdep.c.~1.206.~	2004-05-19 00:41:44.000000000 -0500
--- gdb/rs6000-tdep.c	2004-05-20 13:37:07.000000000 -0500
*************** rs6000_push_dummy_call (struct gdbarch *
*** 1318,1325 ****
  	     there is no way we would run out of them.  */
  
  	  if (len > 8)
! 	    printf_unfiltered (
! 				"Fatal Error: a floating point parameter #%d with a size > 8 is found!\n", argno);
  
  	  memcpy (&deprecated_registers[DEPRECATED_REGISTER_BYTE
                                          (tdep->ppc_fp0_regnum + 1 + f_argno)],
--- 1318,1325 ----
  	     there is no way we would run out of them.  */
  
  	  if (len > 8)
! 	    printf_unfiltered ("Fatal Error: a floating point parameter "
!                                "#%d with a size > 8 is found!\n", argno);
  
  	  memcpy (&deprecated_registers[DEPRECATED_REGISTER_BYTE
                                          (tdep->ppc_fp0_regnum + 1 + f_argno)],
*************** ran_out_of_registers_for_arguments:
*** 1432,1439 ****
  	    {
  
  	      if (len > 8)
! 		printf_unfiltered (
! 				    "Fatal Error: a floating point parameter #%d with a size > 8 is found!\n", argno);
  
  	      memcpy (&(deprecated_registers
                          [DEPRECATED_REGISTER_BYTE
--- 1432,1439 ----
  	    {
  
  	      if (len > 8)
! 		printf_unfiltered ("Fatal Error: a floating point parameter"
!                                    " #%d with a size > 8 is found!\n", argno);
  
  	      memcpy (&(deprecated_registers
                          [DEPRECATED_REGISTER_BYTE
*************** ran_out_of_registers_for_arguments:
*** 1443,1449 ****
  	      ++f_argno;
  	    }
  
! 	  write_memory (sp + 24 + (ii * 4), (char *) VALUE_CONTENTS (arg), len);
  	  ii += ((len + 3) & -4) / 4;
  	}
      }
--- 1443,1451 ----
  	      ++f_argno;
  	    }
  
! 	  write_memory (sp + 24 + (ii * 4),
!                         (char *) VALUE_CONTENTS (arg),
!                         len);
  	  ii += ((len + 3) & -4) / 4;
  	}
      }


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2004-05-20 18:50 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-05-20 18:50 PATCH: fix up formatting in rs6000-tdep.c Jim Blandy

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox