This is the mail archive of the gdb-patches@sourceware.org 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]
Other format: [Raw text]

[Ob] comment, fix typo


2006-03-16  Michael Snyder  <msnyder@redhat.com>

	* i386-tdep.c (i386_push_dummy_call): Fix typo in comment.

Index: i386-tdep.c
===================================================================
RCS file: /cvs/src/src/gdb/i386-tdep.c,v
retrieving revision 1.223
diff -p -r1.223 i386-tdep.c
*** i386-tdep.c	14 Feb 2006 15:41:59 -0000	1.223
--- i386-tdep.c	17 Mar 2006 00:12:21 -0000
*************** i386_push_dummy_call (struct gdbarch *gd
*** 1296,1302 ****
  	 multiple of [32-bit] words.  This may require tail padding,
  	 depending on the size of the argument."
  
! 	 This makes sure the stack says word-aligned.  */
        sp -= (len + 3) & ~3;
        write_memory (sp, value_contents_all (args[i]), len);
      }
--- 1296,1302 ----
  	 multiple of [32-bit] words.  This may require tail padding,
  	 depending on the size of the argument."
  
! 	 This makes sure the stack stays word-aligned.  */
        sp -= (len + 3) & ~3;
        write_memory (sp, value_contents_all (args[i]), len);
      }

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