Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: Christophe PLANAT <christophe.planat@st.com>
To: gdb@sources.redhat.com
Subject: Catch signals in GDBserver running on windows under cygwin
Date: Mon, 27 May 2002 08:46:00 -0000	[thread overview]
Message-ID: <3CF25555.AEE64F2A@st.com> (raw)

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 |
----------------------------------------------------------------------


             reply	other threads:[~2002-05-27 15:46 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-05-27  8:46 Christophe PLANAT [this message]
2002-05-27 11:06 ` Daniel Jacobowitz
2002-05-28  0:19   ` Christophe PLANAT
2002-05-28  1:15     ` Daniel Jacobowitz
2002-05-28 10:41       ` Christopher Faylor
2002-05-30  8:59       ` Christophe PLANAT

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3CF25555.AEE64F2A@st.com \
    --to=christophe.planat@st.com \
    --cc=gdb@sources.redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox