This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
Re: Catch signals in GDBserver running on windows under cygwin
- From: Daniel Jacobowitz <drow at mvista dot com>
- To: Christophe PLANAT <christophe dot planat at st dot com>
- Cc: gdb at sources dot redhat dot com
- Date: Mon, 27 May 2002 14:06:05 -0400
- Subject: Re: Catch signals in GDBserver running on windows under cygwin
- References: <3CF25555.AEE64F2A@st.com>
On Mon, May 27, 2002 at 05:48:37PM +0200, Christophe PLANAT wrote:
> Hi all,
>
> I am using GDBserver running on windows under CYGWIN (GDB is running on
> the other side).
Curious - what version of gdbserver? I don't know of any FSF version that
supported cygwin.
> When GDBServer is runnning (augmented of several debug printing) a DOS
> window is open. If this DOS window is killed or closed (by using the
> small cross in the upper right corner), I wish to catch the
> corresponding signal and warn the GDB client that the server is down.
>
> How to catch such signals on Windows NT (or 98) ? I tried several
> signal() on signals recognized on window (SIGABRT, ILL, INT, SEGV and
> TERM) without any success.
--
Daniel Jacobowitz Carnegie Mellon University
MontaVista Software Debian GNU/Linux Developer