This is the mail archive of the
cygwin-patches
mailing list for the Cygwin project.
[PATCH 0/3] Make detailled exception information available to signal handlers
- From: Jon TURNEY <jon dot turney at dronecode dot org dot uk>
- To: cygwin-patches at cygwin dot com
- Cc: Jon TURNEY <jon dot turney at dronecode dot org dot uk>
- Date: Tue, 31 Mar 2015 18:46:51 +0100
- Subject: [PATCH 0/3] Make detailled exception information available to signal handlers
- Authentication-results: sourceware.org; auth=none
Thanks for your help so far. Here's another attempt at this.
Questions:
The ContextFlags member of the CONTEXT type is named cr2 in struct __mcontext. I
don't understand how that can be right.
For a non-exception signal, we won't have aCONTEXT to provide. Is one that is
all zeroes acceptable?
Jon TURNEY (3):
Rename struct ucontext to struct __mcontext
Make mcontext and stack information available to signal handlers
Add cygwin_internal() operation to convert siginfo_t * to
EXCEPTION_RECORD *
winsup/cygwin/ChangeLog | 20 ++++++++++++++++++++
winsup/cygwin/exception.h | 1 +
winsup/cygwin/exceptions.cc | 20 ++++++++++++++++++--
winsup/cygwin/external.cc | 13 +++++++++++++
winsup/cygwin/include/cygwin/signal.h | 18 +++++++++++-------
winsup/cygwin/include/sys/cygwin.h | 4 +++-
winsup/cygwin/include/sys/ucontext.h | 26 ++++++++++++++++++++++++++
winsup/cygwin/include/ucontext.h | 16 ++++++++++++++++
8 files changed, 108 insertions(+), 10 deletions(-)
create mode 100644 winsup/cygwin/include/sys/ucontext.h
create mode 100644 winsup/cygwin/include/ucontext.h
--
2.1.4