This is the mail archive of the
cygwin-developers@sources.redhat.com
mailing list for the Cygwin project.
error_start=x:\somewhere\gdb.exe
- To: cygwin-developers at sources dot redhat dot com
- Subject: error_start=x:\somewhere\gdb.exe
- From: Christopher Faylor <cgf at redhat dot com>
- Date: Thu, 19 Oct 2000 12:19:52 -0400
- Reply-To: cygwin-developers at sources dot redhat dot com
When debugging problems in cygwin, or even in programs like make, I've
found it immensely useful to use Egor Duda's addition to Cygwin.
If you set cygwin=error_start=x:\somewhere\gdb.exe, gdb will pop up
whenever cygwin encounters a signal that will cause the program to
terminate.
For this to be effective with a buggy cygwin, y ou have to put the
gdb in a separate directory with a cygwin that has been built with
--enable-debugging so that there is no shared memory collisions.
If you compile with --enable-debugging, there are additional consistency
checks added to cygwin which will notify you when you attempt to close a
handle that shouldn't be closed. gdb will also be started when cygwin
prints a fatal message.
FYI,
cgf