From: Jon TURNEY <jon.turney@dronecode.org.uk>
To: cygwin-patches@cygwin.com
Cc: Jon TURNEY <jon.turney@dronecode.org.uk>
Subject: [PATCH 0/3] Make detailed exception information available to signal handlers (v4)
Date: Wed, 01 Apr 2015 13:20:00 -0000 [thread overview]
Message-ID: <1427894373-2576-1-git-send-email-jon.turney@dronecode.org.uk> (raw)
Thanks for your comments so far.
Changes since v3:
Rename cr2 member of struct __ucontext to ctxflags
Add cr2 member after oldmask to struct __ucontext
Keep __COPY_CONSTRUCT_SIZE as it's historical value
Add uc_flags member to ucontext_t in case of future need
Set uc_sigmask
Use RtlCopyContext() if we don't have a context
Add a FIXME for uc_stack mentioning sigaltstack
Simplify additions to call_signal_handler() since a ucontext_t is now always passed
Just include signal.h in sys/ucontext.h
Change CW_EXCEPTION_RECORD_FROM_SIGINFO_T to return a copy of the EXCEPTION_RECORD
#define CW_EXCEPTION_RECORD_FROM_SIGINFO_T
Jon TURNEY (3):
Rename struct ucontext to struct __mcontext
Provide ucontext to signal handlers
Add cygwin_internal() operation to retrieve the EXCEPTION_RECORD from
a siginfo_t *
winsup/cygwin/ChangeLog | 21 +++++++++++++++++++++
winsup/cygwin/exception.h | 1 +
winsup/cygwin/exceptions.cc | 22 ++++++++++++++++++++--
winsup/cygwin/external.cc | 14 ++++++++++++++
winsup/cygwin/include/cygwin/signal.h | 28 +++++++++++++++++++---------
winsup/cygwin/include/sys/cygwin.h | 5 ++++-
winsup/cygwin/include/sys/ucontext.h | 26 ++++++++++++++++++++++++++
winsup/cygwin/include/ucontext.h | 16 ++++++++++++++++
8 files changed, 121 insertions(+), 12 deletions(-)
create mode 100644 winsup/cygwin/include/sys/ucontext.h
create mode 100644 winsup/cygwin/include/ucontext.h
--
2.1.4
next reply other threads:[~2015-04-01 13:20 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-04-01 13:20 Jon TURNEY [this message]
2015-04-01 13:20 ` [PATCH 1/3] Rename struct ucontext to struct __mcontext Jon TURNEY
2015-04-01 14:01 ` Corinna Vinschen
2015-04-01 13:20 ` [PATCH 2/3] Provide ucontext to signal handlers Jon TURNEY
2015-04-01 14:22 ` Corinna Vinschen
2015-04-01 17:37 ` Jon TURNEY
2015-04-01 17:53 ` Corinna Vinschen
2015-04-23 13:53 ` Jon TURNEY
2015-04-23 15:32 ` Corinna Vinschen
2015-04-03 22:09 ` Jon TURNEY
2015-04-04 8:40 ` Corinna Vinschen
2015-04-04 16:06 ` Jon TURNEY
2015-04-05 16:58 ` Jon TURNEY
2015-04-07 10:17 ` Corinna Vinschen
2015-04-01 13:20 ` [PATCH 3/3] Add cygwin_internal() operation to retrieve the EXCEPTION_RECORD from a siginfo_t * Jon TURNEY
2015-04-01 14:23 ` Corinna Vinschen
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1427894373-2576-1-git-send-email-jon.turney@dronecode.org.uk \
--to=jon.turney@dronecode.org.uk \
--cc=cygwin-patches@cygwin.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).