From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 30996 invoked by alias); 6 Mar 2008 16:31:07 -0000 Received: (qmail 30961 invoked by uid 22791); 6 Mar 2008 16:31:07 -0000 X-Spam-Check-By: sourceware.org Received: from NaN.false.org (HELO nan.false.org) (208.75.86.248) by sourceware.org (qpsmtpd/0.31) with ESMTP; Thu, 06 Mar 2008 16:30:41 +0000 Received: from nan.false.org (localhost [127.0.0.1]) by nan.false.org (Postfix) with ESMTP id 5BF2A98149; Thu, 6 Mar 2008 16:30:39 +0000 (GMT) Received: from caradoc.them.org (22.svnf5.xdsl.nauticom.net [209.195.183.55]) by nan.false.org (Postfix) with ESMTP id 3D31F98119; Thu, 6 Mar 2008 16:30:39 +0000 (GMT) Received: from drow by caradoc.them.org with local (Exim 4.69) (envelope-from ) id 1JXIzO-00009N-Hr; Thu, 06 Mar 2008 11:30:38 -0500 Date: Thu, 06 Mar 2008 16:34:00 -0000 From: Daniel Jacobowitz To: Aleksandar Ristovski Cc: gdb@sourceware.org Subject: Re: [RFC] Skipping final cleanups in quit_target Message-ID: <20080306163038.GB555@caradoc.them.org> Mail-Followup-To: Aleksandar Ristovski , gdb@sourceware.org References: <47D0198C.9080104@qnx.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <47D0198C.9080104@qnx.com> User-Agent: Mutt/1.5.17 (2007-12-11) X-IsSubscribed: yes Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2008-03/txt/msg00069.txt.bz2 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