From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 28378 invoked by alias); 4 Feb 2011 15:56:00 -0000 Received: (qmail 28363 invoked by uid 22791); 4 Feb 2011 15:55:59 -0000 X-SWARE-Spam-Status: No, hits=-1.9 required=5.0 tests=AWL,BAYES_00,TW_EG,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from mail.codesourcery.com (HELO mail.codesourcery.com) (38.113.113.100) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Fri, 04 Feb 2011 15:55:55 +0000 Received: (qmail 27241 invoked from network); 4 Feb 2011 15:55:53 -0000 Received: from unknown (HELO scottsdale.localnet) (pedro@127.0.0.2) by mail.codesourcery.com with ESMTPA; 4 Feb 2011 15:55:53 -0000 From: Pedro Alves To: gdb@sourceware.org Subject: Re: performance of multithreading gets gradually worse under gdb Date: Fri, 04 Feb 2011 15:56:00 -0000 User-Agent: KMail/1.13.5 (Linux/2.6.35-25-generic; KDE/4.5.1; x86_64; ; ) Cc: Tom Tromey , "Ulrich Weigand" , Markus Alber , Michael Snyder , gdb-patches@sourceware.org References: <201102032140.p13Le89f031563@d06av02.portsmouth.uk.ibm.com> <201102041455.20607.pedro@codesourcery.com> In-Reply-To: MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <201102041555.52179.pedro@codesourcery.com> X-IsSubscribed: yes Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2011-02/txt/msg00061.txt.bz2 [Adding gdb-patches@] On Friday 04 February 2011 15:25:54, Tom Tromey wrote: > Pedro> Yeah. And only clear current_regcache_ptid if it was deleted in the > Pedro> first place; and only reinit the frame cache if we deleted the > Pedro> regcache of inferior_ptid ? Like the patch below. > > Yeah, this looks reasonable to me. Okay, thanks, I've applied it. > One somewhat distressing thing is that my patch did not cause any > regressions. Indeed. -- Pedro Alves