sigframe inlining

Egor Duda deo@logos-m.ru
Sat Sep 2 08:53:00 GMT 2000


Hi!

Saturday, 02 September, 2000 Chris Faylor cgf@cygnus.com wrote:

>>I've duplicated the problem. A test case is below.
>>
>>I'll look into this.

CF> I've checked in a fix.

Thanks!

today i've got another bug, when i've compiled cygwin without -O2 flag
since   gcc   stops   inining   class   sigframe   member   functions,
__builtin_frame_address   got   wrong  stack  offset.  this  leads  to
api_fatal in signal handler. how about this patch?

Egor.          mailto:deo@logos-m.ru ICQ 5165414 FidoNet 2:5020/496.19
sigframe-inline.ChangeLog
sigframe-inline.diff

-------------- next part --------------
2000-09-02  Egor Duda  <deo@logos-m.ru>

	* sigproc.h (class sigframe): define macros for sigframe creation
	and modification to make sigframe independent to inlining
	* net.cc (cygwin_sendto): utilize sigframe macros
	(cygwin_recvfrom): Ditto
	(cygwin_connect): Ditto
	(cygwin_accept): Ditto
	(cygwin_shutdown): Ditto
	(cygwin_recv): Ditto
	(cygwin_send): Ditto
	(cygwin_rcmd): Ditto
	(cygwin_rresvport): Ditto
	(cygwin_rexec): Ditto
	(fhandler_socket::read): Ditto
	(fhandler_socket::write): Ditto
	(fhandler_socket::close): Ditto
	(fhandler_socket::ioctl): Ditto
	* select.cc (cygwin_select): Ditto
	* sigproc.cc (sig_send): Ditto
	* sigproc.cc (WFSO): Ditto
	* sigproc.cc (WFMO): Ditto
	* syscalls.cc (read_handler): Ditto
-------------- next part --------------
A non-text attachment was scrubbed...
Name: sigframe-inline.diff
Type: text/x-c++
Size: 8866 bytes
Desc: not available
URL: <http://cygwin.com/pipermail/cygwin-developers/attachments/20000902/7265b89c/attachment.bin>


More information about the Cygwin-developers mailing list