Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: Daniel Jacobowitz <drow@false.org>
To: Aleksandar Ristovski <aristovski@qnx.com>
Cc: gdb@sourceware.org
Subject: Re: [RFC] Skipping final cleanups in quit_target
Date: Thu, 06 Mar 2008 16:34:00 -0000	[thread overview]
Message-ID: <20080306163038.GB555@caradoc.them.org> (raw)
In-Reply-To: <47D0198C.9080104@qnx.com>

On Thu, Mar 06, 2008 at 11:19:24AM -0500, Aleksandar Ristovski wrote:
> Hello,
>
> Does anyone see a problem in skipping "do_final_cleanups (ALL_CLEANUPS)" 
> in top.c (quit_target)?
>
> quit_target is called just before we exit gdb.
>
> I have a case where shutdown takes approx. 40sec. With skipping the 
> cleanups, time is significantly shorter.

Could you check which cleanups run, and which of them take so long?
Do they deal with letting go of the target system?

-- 
Daniel Jacobowitz
CodeSourcery


  reply	other threads:[~2008-03-06 16:31 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-03-06 16:24 Aleksandar Ristovski
2008-03-06 16:34 ` Daniel Jacobowitz [this message]
2008-03-06 16:34   ` Aleksandar Ristovski
2008-03-06 16:45     ` Daniel Jacobowitz
2008-03-06 16:53       ` Aleksandar Ristovski
2008-03-06 16:40 ` Pierre Muller
2008-03-06 16:51   ` Aleksandar Ristovski
2008-03-07  3:17 ` Michael Snyder

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=20080306163038.GB555@caradoc.them.org \
    --to=drow@false.org \
    --cc=aristovski@qnx.com \
    --cc=gdb@sourceware.org \
    /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