From 60bebb03183fdecfbe8a39d02d6ff5651b7e004f Mon Sep 17 00:00:00 2001 From: Christopher Faylor Date: Thu, 20 Apr 2000 21:33:58 +0000 Subject: * exceptions.cc (handle_exceptions): Search further for stack info to accomodate Windows 95. --- 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 e05f0b9c4..f82f6364a 100644 --- a/winsup/cygwin/exceptions.cc +++ b/winsup/cygwin/exceptions.cc @@ -497,7 +497,7 @@ handle_exceptions (EXCEPTION_RECORD *e, void *, CONTEXT *in, void *) myself->getsig(sig).sa_handler); DWORD *ebp = (DWORD *)in->Esp; - for (DWORD *bpend = ebp - 8; ebp > bpend; ebp--) + for (DWORD *bpend = ebp - 16; ebp > bpend; ebp--) if (*ebp == in->SegCs && ebp[-1] == in->Eip) { ebp -= 2; -- cgit v1.2.3