9e8932d6da
Add ucontext.h header, defining ucontext_t and mcontext_t types. Provide sigaction sighandlers with a ucontext_t parameter, containing stack and context information. * include/sys/ucontext.h : New header. * include/ucontext.h : Ditto. * exceptions.cc (call_signal_handler): Provide ucontext_t parameter to signal handler function. Signed-off-by: Jon TURNEY <jon.turney@dronecode.org.uk>
17 lines
314 B
C
17 lines
314 B
C
/* ucontext.h
|
|
|
|
Copyright 2015 Red Hat, Inc.
|
|
|
|
This file is part of Cygwin.
|
|
|
|
This software is a copyrighted work licensed under the terms of the
|
|
Cygwin license. Please consult the file "CYGWIN_LICENSE" for
|
|
details. */
|
|
|
|
#ifndef _UCONTEXT_H
|
|
#define _UCONTEXT_H
|
|
|
|
#include <sys/ucontext.h>
|
|
|
|
#endif /* _UCONTEXT_H */
|