Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Andrew STUBBS <andrew.stubbs@st.com>
To: Daniel Jacobowitz <drow@false.org>
Cc: gdb-patches@sources.redhat.com
Subject: Re: [PATCH] SIGTERM handler
Date: Fri, 25 Nov 2005 20:13:00 -0000	[thread overview]
Message-ID: <4387589C.6070305@st.com> (raw)
In-Reply-To: <20051125175433.GA736@nevyn.them.org>

Daniel Jacobowitz wrote:
> I'm dubious as to the value of this, but why not - patch is OK.  I
> never send GDB a SIGTERM, but I send it SIGKILL on a regular basis.
> I guess it may get SIGTERMs during clean shutdown.

Thanks, committed.

FYI, this is critical here because we use the debugger with an 
alternative simulator (somewhat more accurate than the ISS in GDB). If 
GDB does not shut down cleanly then the simulator does not shut down 
cleanly. This might be bad enough, but sometimes it will happily go on 
simulating an infinite loop and consume all the host CPU. This is 
particularly unhelpful when run as part of a long test and the SIGTERM 
is the result of a timeout.

It also ensures --return-child-result is good, resets connections to 
remote targets and probably helps out many other issues.

Andrew


      reply	other threads:[~2005-11-25 18:35 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-11-16 19:29 Andrew STUBBS
2005-11-25 18:06 ` Andrew STUBBS
2005-11-25 18:11 ` Daniel Jacobowitz
2005-11-25 20:13   ` Andrew STUBBS [this message]

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=4387589C.6070305@st.com \
    --to=andrew.stubbs@st.com \
    --cc=drow@false.org \
    --cc=gdb-patches@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