newlib-cygwin/winsup/cygwin/include
Christopher Faylor f153e6b280 * cygtls.h (_cygtls::el): New field.
(_cygtls::handle_exceptions): New function declaration.
(_cygtls::handle_threadlist_exception): Ditto.
(_cygtls::init_exception_handler): Ditto.
(_cygtls::init_threadlist_exceptions): Remove arg from declaration.
* cygtls.cc (_cygtls::call2): Don't initialize exceptions here.
(_cygtls::init_thread): Do it here instead and use member function.
(_cygtls::handle_threadlist_exception): Move into _cygtls class.
(_cygtls::init_exception_handler): Ditto.  Rely on existence of 'el' memmber in
_cygtls.
(_cygtls::init_threadlist_exceptions): Ditto.
* dcrt0.cc (dll_crt0_1): Remove exception_list definition and setting since it
now commonly resides in the tls.
* exceptions.cc (init_exception_handler): Move to cygtls.cc.
(init_exceptions): Ditto.
(rtl_unwind): New, safe wrapper function for RtlUnwind.
(_cygtls::handle_exceptions): Move to _cygtls.  Call rtl_unwind to unwind
frames and eliminate copying of structures.  Put address of failing instruction
in si_addr, not the address on the stack.  Return 0 to indicate that we've
handled this exception.
* external.cc (cygwin_internal): Make CW_INIT_EXCEPTIONS a no-op.
* sigproc.cc (wait_sig): Accommodate argument change to
_cygtls::init_threadlist_exceptions.
* tlsoffsets.h: Regenerate.
* include/exceptions.h (exception_list): Add more stuff to the exception list.
Apparently windows needs this?
(init_exceptions): Remove bogus declaration.
* include/cygwin/signal.h (SI_USER): Redefine as zero as per SUSv3.
* thread.cc (pthread_kill): Set si_pid and si_uid.
* timer.cc (timer_thread): Set si_code to SI_TIMER.
2005-12-03 04:23:35 +00:00
..
arpa * net.cc (cygwin_inet_ntop): Change len argument to socklen_t to 2005-09-17 08:55:30 +00:00
asm * cygwin.din (getpeereid): Export. 2005-02-23 17:39:46 +00:00
cygwin * cygtls.h (_cygtls::el): New field. 2005-12-03 04:23:35 +00:00
machine * include/machine/stdlib.h: New file. 2005-06-01 18:24:31 +00:00
net
netinet white space and minor comment cleanup. 2005-05-02 03:50:11 +00:00
sys * fhandler.h (fhandler_dev_zero::mmap): Add method. 2005-11-29 16:28:05 +00:00
a.out.h
byteswap.h * include/byteswap.h: New file. 2005-07-26 00:55:42 +00:00
ctype.h * include/ctype.h: Accommodate building in newlib. 2005-03-28 21:58:23 +00:00
dlfcn.h * autoload.cc (EnumProcessModules): Add. 2004-09-14 08:29:12 +00:00
elf.h * include/sys/cdefs.h (__CONCAT): Define. 2005-08-08 15:00:39 +00:00
endian.h * include/endian.h: Remove USE_BSD ifdef since it is never defined on Cygwin. 2005-11-10 21:17:15 +00:00
err.h * bsdlib.cc (_vwarnx): New function. 2003-11-06 21:31:24 +00:00
exceptions.h * cygtls.h (_cygtls::el): New field. 2005-12-03 04:23:35 +00:00
fcntl.h
features.h * include/features.h: Include sys/cdefs.h, like linux. 2004-12-01 17:07:03 +00:00
fnmatch.h
fts.h * Makefile.in (DLL_OFILES): Add fts.o, ftw.o, nftw.o. 2005-08-08 09:45:42 +00:00
ftw.h * ftw.c: Include winsup.h. 2005-08-08 13:39:56 +00:00
getopt.h * Makefile.in (DLL_OFILES): Add getopt.o and iruserok.o. 2003-09-10 19:13:05 +00:00
glob.h * glob.c: (glob0): New local variable `limit`. Use in calls to glob1 2005-06-18 19:04:25 +00:00
icmp.h
inttypes.h * cygwin.din (imaxabs): Export. 2005-06-10 12:11:35 +00:00
io.h
lastlog.h
libgen.h * cygwin.din (basename): Export. 2005-02-22 19:45:41 +00:00
limits.h * include/limits.h (LLONG_MIN, LLONG_MAX, ULLONG_MAX): Always define. 2005-05-29 10:05:56 +00:00
mapi.h
memory.h
mntent.h
netdb.h
paths.h * include/paths.h: Add some missing entries. 2003-09-25 03:46:20 +00:00
poll.h
pthread.h * include/pthread.h: Change PTHREAD_MUTEX_DEFAULT to PTHREAD_MUTEX_NORMAL. 2005-06-11 04:56:36 +00:00
pty.h * Makefile.in (DLL_OFILES): Add bsdlib.o. 2003-09-10 15:51:59 +00:00
sched.h
search.h * timer.cc (nanosleep): Treat tv_sec < 0 as invalid. 2005-03-27 02:31:33 +00:00
semaphore.h * cygwin.din: Add sem_close, sem_getvalue, sem_open and sem_timedwait. 2003-10-27 11:48:29 +00:00
stdint.h * include/stdint.h (INTMAX_C, UINTMAX_C): Fix definition. 2005-05-23 13:13:00 +00:00
strings.h
sysexits.h
syslog.h
termio.h
tzfile.h * include/tzfile.h: Remove duplicate definition of TM_SUNDAY. 2003-12-01 10:39:17 +00:00
utmpx.h white space and minor comment cleanup. 2005-05-02 03:50:11 +00:00