This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
Catch signals in GDBserver running on windows under cygwin
- From: Christophe PLANAT <christophe dot planat at st dot com>
- To: gdb at sources dot redhat dot com
- Date: Mon, 27 May 2002 17:48:37 +0200
- Subject: Catch signals in GDBserver running on windows under cygwin
- Organization: ST CR&D Crolles
Hi all,
I am using GDBserver running on windows under CYGWIN (GDB is running on
the other side).
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.
Thanks for any help
Christophe
--
----------------------------------------------------------------------
| Christophe PLANAT | Embedded Systems Technology |
| Email : Christophe.Planat@st.com | STMicroelectronics |
| Phone : +33 04 76 92 68 82 | 850, rue Jean-Monnet |
| Fax : +33 04 76 92 50 94 | BP 16 - 38921 Crolles - France |
----------------------------------------------------------------------