From: Michael Snyder <msnyder@specifix.com>
To: Aleksandar Ristovski <aristovski@qnx.com>
Cc: gdb@sourceware.org
Subject: Re: [RFC] Skipping final cleanups in quit_target
Date: Fri, 07 Mar 2008 03:17:00 -0000 [thread overview]
Message-ID: <1204836553.19253.697.camel@localhost.localdomain> (raw)
In-Reply-To: <47D0198C.9080104@qnx.com>
On Thu, 2008-03-06 at 11:19 -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.
>
> Any thoughts?
Not sure -- what if the shut-down modifies target memory?
For example, removing breakpoints or something? If we
skip it, we could leave the target in an inconsistant state.
Maybe a user settable option? Kinda like "trust readonly"?
prev parent reply other threads:[~2008-03-06 20:49 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
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 [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=1204836553.19253.697.camel@localhost.localdomain \
--to=msnyder@specifix.com \
--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