From: Aleksandar Ristovski <aristovski@qnx.com>
To: Daniel Jacobowitz <drow@false.org>
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: <47D01CF3.9010800@qnx.com> (raw)
In-Reply-To: <20080306163038.GB555@caradoc.them.org>
Daniel Jacobowitz wrote:
> 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?
I believe it is cleaning up the symbols and stuff like that (but i have to
double check to be sure).
> Do they deal with letting go of the target system?
>
No, that is being done explicitly by calling target_kill/target_detach and
target_close in quit_target.
next prev parent reply other threads:[~2008-03-06 16:34 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
2008-03-06 16:34 ` Aleksandar Ristovski [this message]
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=47D01CF3.9010800@qnx.com \
--to=aristovski@qnx.com \
--cc=drow@false.org \
--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