From 3998e2f8e63fb959b48dab9f0e708275ba70b05f Mon Sep 17 00:00:00 2001 From: Corinna Vinschen Date: Wed, 27 Feb 2008 18:08:52 +0000 Subject: * exceptions.cc (stack_info::walk): Fix typo. --- winsup/cygwin/exceptions.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'winsup/cygwin/exceptions.cc') diff --git a/winsup/cygwin/exceptions.cc b/winsup/cygwin/exceptions.cc index 34defe51b..4c569b4d9 100644 --- a/winsup/cygwin/exceptions.cc +++ b/winsup/cygwin/exceptions.cc @@ -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; } -- cgit v1.2.3