Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Track CYGWIN changes from git repository
C C++ Assembly TeX Shell Perl Other
branch: master

Fix original stack when running signal handler on alternate stack

        * autoload.cc (SetThreadStackGuarantee): Import.
        * cygtls.h (struct _cygtls): Replace thread_context with a ucontext_t
        called context.
        * exceptions.cc (exception::handle): Exit from process via signal_exit
        in case sig_send returns from handling a stack overflow SIGSEGV.
        Explain why.
        (dumpstack_overflow_wrapper): Thread wrapper to create a stackdump
        from another thread.
        (signal_exit): Fix argument list to reflect three-arg signal handler.
        In case we have to create a stackdump for a stack overflow condition,
        do so from a separate thread.  Explain why.
        (sigpacket::process): Don't run signal_exit on alternate stack.
        (altstack_wrapper): Wrapper function to do stack correction when
        calling the signal handler on an alternate stack to handle a stack
        overflow.  Make sure to have lots of comments.
        (_cygtls::call_signal_handler): Drop local context variable to reduce
        stack pressure.  Use this->context instead.  Change inline assembler
        to call altstack_wrapper.
        (_cygtls::signal_debugger): Accommodate aforementioned change to
        struct _cygtls.
        * tlsoffset.h: Regenerate.
        * tlsoffset64.h: Regenerate.

Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
latest commit 2cd7eb7f60
Corinna Vinschen authored
Failed to load latest commit information.
config 2014-05-14 Sandra Loosemore <sandra@codesourcery.com>
etc PR other/46202: implement install-strip.
include For the RX port, avoid using string instructions when __RX_DISALLOW_S…
libgloss or1k: Add missing initialization of impure ptr
newlib Prevent use of uninitialized file lock
texinfo * texinfo/texinfo.tex: Update to version 2009-03-28.05.
winsup Fix original stack when running signal handler on alternate stack
.gitattributes Add .gitattributes
.gitignore Add *.swp (Vim swap files) to .gitignore
COPYING 2005-07-14 Kelley Cook <kcook@gcc.gnu.org>
COPYING.LIB 2005-07-16 Kelley Cook <kcook@gcc.gnu.org>
COPYING.LIBGLOSS * COPYING.LIBGLOSS: Add Controls and Data Services copyright.
COPYING.NEWLIB * COPYING.LIBGLOSS: Add Controls and Data Services copyright.
COPYING3 * COPYING3: New file. Contains version 3 of the GNU General Public Li…
COPYING3.LIB * COPYING3: New file. Contains version 3 of the GNU General Public Li…
ChangeLog * COPYING.LIBGLOSS: Add Controls and Data Services copyright.
MAINTAINERS MAINTAINERS: clarify policy with config/ (and other top level files)
Makefile.def 2013-08-12 Jan-Benedict Glaw <jbglaw@lug-owl.de>
Makefile.in 2013-08-12 Jan-Benedict Glaw <jbglaw@lug-owl.de>
Makefile.tpl * Makefile.tpl (BOOT_ADAFLAGS): Remove -gnata.
README 19990502 sourceware import
README-maintainer-mode Cleanups after the update to Autoconf 2.64, Automake 1.11.
compile Update automake-provided files in the toplevel.
config-ml.in * config-ml.in: Don't handle arc-*-elf*.
config.guess 2014-12-16 Jeff Johnston <jjohnstn@redhat.com>
config.rpath Remove freebsd1 from libtool.m4 macros and config.rpath.
config.sub 2014-12-16 Jeff Johnston <jjohnstn@redhat.com>
configure * configure.ac: Don't accept isl 0.10.
configure.ac * configure.ac: Don't accept isl 0.10.
depcomp Update automake-provided files in the toplevel.
djunpack.bat * djunpack.bat: Use ".." quoting in Sed command, for the sake of
install-sh Update automake-provided files in the toplevel.
libtool.m4 * libtool.m4 (_LT_ENABLE_LOCK <ld -m flags>): Remove non-canonical
ltgcc.m4 * libtool.m4: Update to libtool 2.2.6.
ltmain.sh PR target/59788
ltoptions.m4 Sync Libtool from GCC.
ltsugar.m4 * libtool.m4: Update to libtool 2.2.6.
ltversion.m4 Sync Libtool from GCC.
lt~obsolete.m4 Sync Libtool from GCC.
makefile.vms 19990502 sourceware import
missing Update automake-provided files in the toplevel.
mkdep * mkdep: New file.
mkinstalldirs Update automake-provided files in the toplevel.
move-if-change Import move-if-change script from gnulib.
setup.com 2009-09-01 Tristan Gingold <gingold@adacore.com>
src-release * src-release (do-proto-toplevel): Support subdir-path-prefixed
symlink-tree 2005-07-14 Kelley Cook <kcook@gcc.gnu.org>
ylwrap Update automake-provided files in the toplevel.

README

		   README for GNU development tools

This directory contains various GNU compilers, assemblers, linkers, 
debuggers, etc., plus their support routines, definitions, and documentation.

If you are receiving this as part of a GDB release, see the file gdb/README.
If with a binutils release, see binutils/README;  if with a libg++ release,
see libg++/README, etc.  That'll give you info about this
package -- supported targets, how to use it, how to report bugs, etc.

It is now possible to automatically configure and build a variety of
tools with one command.  To build all of the tools contained herein,
run the ``configure'' script here, e.g.:

	./configure 
	make

To install them (by default in /usr/local/bin, /usr/local/lib, etc),
then do:
	make install

(If the configure script can't determine your type of computer, give it
the name as an argument, for instance ``./configure sun4''.  You can
use the script ``config.sub'' to test whether a name is recognized; if
it is, config.sub translates it to a triplet specifying CPU, vendor,
and OS.)

If you have more than one compiler on your system, it is often best to
explicitly set CC in the environment before running configure, and to
also set CC when running make.  For example (assuming sh/bash/ksh):

	CC=gcc ./configure
	make

A similar example using csh:

	setenv CC gcc
	./configure
	make

Much of the code and documentation enclosed is copyright by
the Free Software Foundation, Inc.  See the file COPYING or
COPYING.LIB in the various directories, for a description of the
GNU General Public License terms under which you can copy the files.

REPORTING BUGS: Again, see gdb/README, binutils/README, etc., for info
on where and how to report problems.
Something went wrong with that request. Please try again.