diff options
author | Christopher Faylor <me@cgf.cx> | 2000-04-21 01:33:58 +0400 |
---|---|---|
committer | Christopher Faylor <me@cgf.cx> | 2000-04-21 01:33:58 +0400 |
commit | 60bebb03183fdecfbe8a39d02d6ff5651b7e004f (patch) | |
tree | 121166a04cf0678ab30f42638f209d3283542684 /winsup | |
parent | db64ab89f0f0ded360c8f0975a96666281060b35 (diff) |
* exceptions.cc (handle_exceptions): Search further for stack info to
accomodate Windows 95.
Diffstat (limited to 'winsup')
-rw-r--r-- | winsup/cygwin/ChangeLog | 5 | ||||
-rw-r--r-- | winsup/cygwin/exceptions.cc | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/winsup/cygwin/ChangeLog b/winsup/cygwin/ChangeLog index 6d0801ce1..6704ff692 100644 --- a/winsup/cygwin/ChangeLog +++ b/winsup/cygwin/ChangeLog @@ -1,3 +1,8 @@ +Thu Apr 20 17:32:42 2000 Christopher Faylor <cgf@cygnus.com> + + * exceptions.cc (handle_exceptions): Search further for stack info to + accomodate Windows 95. + Thu Apr 20 16:39:18 2000 Christopher Faylor <cgf@cygnus.com> * path.cc (normalize_posix_path): Previous change failed to take root 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; |