Re: [RFC] Skipping final cleanups in quit_target

Daniel Jacobowitz
2008-03-06T16:31:07Z

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