Implement getcontext, setcontext, makecontext, swapcontext
* common.din (getcontext): Export.
(makecontext): Export.
(setcontext): Export.
(swapcontext): Export.
* exceptions.cc (__unwind_single_frame): New static functions, 64 bit
only.
(setcontext): New function.
(getcontext): New function.
(swapcontext): New function.
(__cont_link_context): New function.
(makecontext): New function.
* include/cygwin/version.h (CYGWIN_VERSION_DLL_MAJOR): Bump to 2002.
(CYGWIN_VERSION_API_MINOR): Bump.
* include/ucontext.h (getcontext): Add prototype.
(setcontext): Ditto.
(swapcontext): Ditto.
(makecontext): Ditto.
* ntdll.h (NtContinue): Ditto.
* new-features.xml (ov-new2.2): Add new section. Document getcontext,
setcontext, makecontext, swapcontext.
* posix.xml (std-deprec): Add getcontext, setcontext, makecontext,
swapcontext.
Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
2015-07-17 14:31:12 +02:00
|
|
|
What's new:
|
|
|
|
-----------
|
|
|
|
|
|
|
|
- New APIs: getcontext, setcontext, makecontext, swapcontext.
|
|
|
|
|
2015-07-21 17:31:02 +02:00
|
|
|
- New functions: sigsetjmp, siglongjmp.
|
|
|
|
These were only available as macros up to now, but POSIX requires that
|
|
|
|
siglongjmp has to be available as function.
|
|
|
|
|
Implement getcontext, setcontext, makecontext, swapcontext
* common.din (getcontext): Export.
(makecontext): Export.
(setcontext): Export.
(swapcontext): Export.
* exceptions.cc (__unwind_single_frame): New static functions, 64 bit
only.
(setcontext): New function.
(getcontext): New function.
(swapcontext): New function.
(__cont_link_context): New function.
(makecontext): New function.
* include/cygwin/version.h (CYGWIN_VERSION_DLL_MAJOR): Bump to 2002.
(CYGWIN_VERSION_API_MINOR): Bump.
* include/ucontext.h (getcontext): Add prototype.
(setcontext): Ditto.
(swapcontext): Ditto.
(makecontext): Ditto.
* ntdll.h (NtContinue): Ditto.
* new-features.xml (ov-new2.2): Add new section. Document getcontext,
setcontext, makecontext, swapcontext.
* posix.xml (std-deprec): Add getcontext, setcontext, makecontext,
swapcontext.
Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
2015-07-17 14:31:12 +02:00
|
|
|
|
|
|
|
What changed:
|
|
|
|
-------------
|
|
|
|
|
2015-07-23 17:42:07 +02:00
|
|
|
- When started from a non-Cygwin process, check if $HOME starts with a
|
|
|
|
slash (absolute POSIX path). Otherwise ignore it.
|
2015-07-23 21:19:43 +02:00
|
|
|
Addresses: https://cygwin.com/ml/cygwin/2015-07/msg00344.html
|
2015-07-23 17:42:07 +02:00
|
|
|
|
Implement getcontext, setcontext, makecontext, swapcontext
* common.din (getcontext): Export.
(makecontext): Export.
(setcontext): Export.
(swapcontext): Export.
* exceptions.cc (__unwind_single_frame): New static functions, 64 bit
only.
(setcontext): New function.
(getcontext): New function.
(swapcontext): New function.
(__cont_link_context): New function.
(makecontext): New function.
* include/cygwin/version.h (CYGWIN_VERSION_DLL_MAJOR): Bump to 2002.
(CYGWIN_VERSION_API_MINOR): Bump.
* include/ucontext.h (getcontext): Add prototype.
(setcontext): Ditto.
(swapcontext): Ditto.
(makecontext): Ditto.
* ntdll.h (NtContinue): Ditto.
* new-features.xml (ov-new2.2): Add new section. Document getcontext,
setcontext, makecontext, swapcontext.
* posix.xml (std-deprec): Add getcontext, setcontext, makecontext,
swapcontext.
Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
2015-07-17 14:31:12 +02:00
|
|
|
|
|
|
|
Bug Fixes
|
|
|
|
---------
|
|
|
|
|
2015-07-20 18:43:16 +02:00
|
|
|
- Fix potential hang running ldd(1).
|
|
|
|
Addresses: https://cygwin.com/ml/cygwin/2015-07/msg00292.html
|
2015-07-29 13:32:29 +02:00
|
|
|
|
|
|
|
- Fix crashes under AllocationPreference=0x100000 condition
|
|
|
|
Addresses: https://cygwin.com/ml/cygwin/2015-02/msg00765.html
|
2015-07-29 22:09:34 +02:00
|
|
|
|
|
|
|
- x86_64 only: Implement memset, memmove, memcpy, wmemmove, wmemcpy in
|
|
|
|
assembler derived from NetBSD.
|
|
|
|
Addresses: https://cygwin.com/ml/cygwin-patches/2015-q3/msg00010.html
|