src/winsup/cygwin ChangeLog Makefile.in config ...

cgf@cygwin.com cgf@cygwin.com
Fri Nov 28 20:55:00 GMT 2003


CVSROOT:	/cvs/src
Module name:	src
Changes by:	cgf@sourceware.org	2003-11-28 20:55:59

Modified files:
	winsup/cygwin  : ChangeLog Makefile.in configure configure.in 
	                 cygwin.din dcrt0.cc debug.h devices.cc 
	                 devices.h devices.in exceptions.cc external.cc 
	                 fhandler.cc fork.cc gendevices heap.cc 
	                 how-signals-work.txt init.cc ioctl.cc 
	                 miscfuncs.cc mmap.cc msg.cc net.cc path.cc 
	                 perthread.h pinfo.cc poll.cc select.cc sem.cc 
	                 shm.cc signal.cc sigproc.cc sigproc.h spawn.cc 
	                 syscalls.cc termios.cc thread.cc thread.h 
	                 uinfo.cc wait.cc winbase.h winsup.h 
	winsup/cygwin/include/cygwin: version.h 
	winsup/cygwin/include/sys: queue.h 
Added files:
	winsup/cygwin  : cygtls.h gendef gentls_offsets 
Removed files:
	winsup/cygwin  : cygwin-gperf 
	winsup/cygwin/config/i386: longjmp.c makefrag 

Log message:
	Eliminate use of sigframe and sigthread throughout.
	* Makefile.in (DLL_OFILES): Add sigfe.o.  Remove reliance on cygwin.def from
	cygwin0.dll dependency since dependence on sigfe.o implies that.  Generate def
	file on the fly using 'gendef'.
	* configure.in: Don't auto-generate cygwin.def.
	* configure: Regenerate.
	* cygwin.din: Add SIGFE stuff where appropriate.
	* dcrt0.cc (dll_crt0_1): Initialize cygwin tls early in process startup.  Set
	_main_tls to address of the main thread's cygwin tls.
	* debug.h: Remove now unneeded WFSO and WFMO declarations.
	* exceptions.cc (_last_thread): Define.
	(set_thread_state_for_signals): New function.
	(reset_thread_exception_for_signals): Ditto.
	(init_thread_for_signals): Ditto.
	(delete_thread_for_signals): Ditto.
	(capture_thread_for_signals): Ditto.
	(handle_exceptions): Set return address explicitly for exceptions prior to
	calling sig_send.
	(interrupt_on_return): Eliminate.
	(setup_handler): Add preliminary implementation for dealing with
	thread-specific signals by querying _main_tls.
	(signal_exit): Use cygthread::main_thread_id instead of mainthread.id.
	(call_signal_handler_now): For now, just handle the main thread.
	* fork.cc (vfork): Save and restore main _my_tls.
	* gendef: New file.  Generates def file and sigfe.s file.
	* gentls_offsets: New file.  Generates offsets for perl to use in sigfe.s.
	* how-signals-work.txt: Mention that info is obsolete.
	* init.cc (dll_entry): Initialize cygwin tls storage here.
	* miscfuncs.cc (low_priority_sleep): Make a C function for easier calling from
	asm.
	* perthread.h (vfork_save::tls): New element.
	* signal.cc (nanosleep): Replace previous use of
	sigframe.call_signal_handler_now with straight call to call_signal_handler_now.
	(abort): Ditto.
	* syscalls.cc (readv): Ditto.
	* termios.cc (tcsetattr): Ditto.
	* wait.cc (wait4): Ditto.
	* sigproc.cc (sig_dispatch_pending): Ditto.
	(sig_send): Ditto.
	* sigproc.h: Declare call_signal_handler_now.
	* thread.cc (pthread::thread_init_wrapper): Initialize cygwin tls.  Remove
	obsolete and unworking signal stuff.
	* thread.h (verifyable_object::sigs): Eliminate.
	(verifyable_object::sigmask): Eliminate.
	(verifyable_object::sigtodo): Eliminate.
	(verifyable_object::exit): Make attribute noreturn.
	(verifyable_object::thread_init_wrapper): Ditto.
	(pthread_null::exit): Ditto.
	* winbase.h (__stackbase): Always define.
	* winsup.h (low_priority_sleep): Declare as a "C" function.
	* include/cygwin/version.h: Bump API version to reflect sigwait export.
	* include/sys/queue.h: Protect SLIST_ENTRY from previous declaration.
	* signal.cc (sigwait): Implement.
	* select.cc (fhandler_base::ready_for_read): Add debugging output.
	* devices.h: Define more device pointers via their storage.
	* devices.in: Don't parse things like /dev/inet/tcp, as they really have no
	meaning.
	* devices.cc: Regenerate.
	* gendevices: Set proper protection for output file.
	* cygtls.h: New file.
	* gendef: New file.
	* gentls_offsets: New file.
	* tlsoffsets.h: New file.  Autogenerated.
	* config/i386/longjmp.c: Remove.  File subsumed by gendef output.
	* config/i386/makefrag: Remove obsolete file.
	* fhandler.cc: Remove spurious access_worker declaration.
	* spawn.cc (spawnve): Make debugging output more accurate.
	* cygwin-gperf: Remove.
	* devices.cc: Remove.

Patches:
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/cygtls.h.diff?cvsroot=src&r1=NONE&r2=1.1
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/gendef.diff?cvsroot=src&r1=NONE&r2=1.1
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/gentls_offsets.diff?cvsroot=src&r1=NONE&r2=1.1
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/ChangeLog.diff?cvsroot=src&r1=1.2186&r2=1.2187
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/Makefile.in.diff?cvsroot=src&r1=1.143&r2=1.144
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/configure.diff?cvsroot=src&r1=1.24&r2=1.25
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/configure.in.diff?cvsroot=src&r1=1.26&r2=1.27
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/cygwin.din.diff?cvsroot=src&r1=1.104&r2=1.105
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/dcrt0.cc.diff?cvsroot=src&r1=1.191&r2=1.192
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/debug.h.diff?cvsroot=src&r1=1.21&r2=1.22
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/devices.cc.diff?cvsroot=src&r1=1.9&r2=1.10
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/devices.h.diff?cvsroot=src&r1=1.10&r2=1.11
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/devices.in.diff?cvsroot=src&r1=1.1&r2=1.2
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/exceptions.cc.diff?cvsroot=src&r1=1.174&r2=1.175
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/external.cc.diff?cvsroot=src&r1=1.60&r2=1.61
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/fhandler.cc.diff?cvsroot=src&r1=1.163&r2=1.164
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/fork.cc.diff?cvsroot=src&r1=1.114&r2=1.115
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/gendevices.diff?cvsroot=src&r1=1.1&r2=1.2
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/heap.cc.diff?cvsroot=src&r1=1.37&r2=1.38
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/how-signals-work.txt.diff?cvsroot=src&r1=1.7&r2=1.8
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/init.cc.diff?cvsroot=src&r1=1.19&r2=1.20
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/ioctl.cc.diff?cvsroot=src&r1=1.21&r2=1.22
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/miscfuncs.cc.diff?cvsroot=src&r1=1.25&r2=1.26
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/mmap.cc.diff?cvsroot=src&r1=1.89&r2=1.90
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/msg.cc.diff?cvsroot=src&r1=1.6&r2=1.7
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/net.cc.diff?cvsroot=src&r1=1.156&r2=1.157
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/path.cc.diff?cvsroot=src&r1=1.280&r2=1.281
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/perthread.h.diff?cvsroot=src&r1=1.11&r2=1.12
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/pinfo.cc.diff?cvsroot=src&r1=1.91&r2=1.92
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/poll.cc.diff?cvsroot=src&r1=1.38&r2=1.39
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/select.cc.diff?cvsroot=src&r1=1.88&r2=1.89
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/sem.cc.diff?cvsroot=src&r1=1.6&r2=1.7
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/shm.cc.diff?cvsroot=src&r1=1.24&r2=1.25
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/signal.cc.diff?cvsroot=src&r1=1.53&r2=1.54
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/sigproc.cc.diff?cvsroot=src&r1=1.163&r2=1.164
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/sigproc.h.diff?cvsroot=src&r1=1.58&r2=1.59
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/spawn.cc.diff?cvsroot=src&r1=1.138&r2=1.139
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/syscalls.cc.diff?cvsroot=src&r1=1.300&r2=1.301
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/termios.cc.diff?cvsroot=src&r1=1.25&r2=1.26
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/thread.cc.diff?cvsroot=src&r1=1.147&r2=1.148
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/thread.h.diff?cvsroot=src&r1=1.77&r2=1.78
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/uinfo.cc.diff?cvsroot=src&r1=1.122&r2=1.123
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/wait.cc.diff?cvsroot=src&r1=1.23&r2=1.24
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/winbase.h.diff?cvsroot=src&r1=1.4&r2=1.5
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/winsup.h.diff?cvsroot=src&r1=1.128&r2=1.129
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/cygwin-gperf.diff?cvsroot=src&r1=1.4&r2=NONE
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/config/i386/longjmp.c.diff?cvsroot=src&r1=1.2&r2=NONE
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/config/i386/makefrag.diff?cvsroot=src&r1=1.2&r2=NONE
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/include/cygwin/version.h.diff?cvsroot=src&r1=1.146&r2=1.147
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/include/sys/queue.h.diff?cvsroot=src&r1=1.1&r2=1.2



More information about the Cygwin-cvs mailing list