OSDN Git Service

* exceptions.cc (stack_info::walk): Fix typo.
authorcorinna <corinna>
Wed, 27 Feb 2008 18:08:52 +0000 (18:08 +0000)
committercorinna <corinna>
Wed, 27 Feb 2008 18:08:52 +0000 (18:08 +0000)
winsup/cygwin/ChangeLog
winsup/cygwin/exceptions.cc

index 7bf4c81..b25cde3 100644 (file)
@@ -1,5 +1,9 @@
 2008-02-27  Corinna Vinschen  <corinna@vinschen.de>
 
+       * exceptions.cc (stack_info::walk): Fix typo.
+
+2008-02-27  Corinna Vinschen  <corinna@vinschen.de>
+
        * cygtls.cc (_cygtls::init_exception_handler): Fix comment.
 
 2008-02-27  Corinna Vinschen  <corinna@vinschen.de>
index 34defe5..4c569b4 100644 (file)
@@ -256,7 +256,7 @@ stack_info::walk ()
         a SEGV.  This is fixed in Vista/2K8 WOW64. */
       if (wincap.has_restricted_stack_args () && sf.Params[0] == 0x401000)
        nparams = 2;
-      for (unsigned i = 0; i < nparams; i++)
+      for (unsigned i = 1; i < nparams; i++)
        sf.Params[i] = (DWORD) *++ebp;
     }