From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 15408 invoked by alias); 27 Jan 2012 15:38:28 -0000 Received: (qmail 15248 invoked by uid 22791); 27 Jan 2012 15:38:26 -0000 X-SWARE-Spam-Status: No, hits=-2.0 required=5.0 tests=AWL,BAYES_00 X-Spam-Check-By: sourceware.org Received: from rock.gnat.com (HELO rock.gnat.com) (205.232.38.15) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Fri, 27 Jan 2012 15:38:13 +0000 Received: from localhost (localhost.localdomain [127.0.0.1]) by filtered-rock.gnat.com (Postfix) with ESMTP id 26A072BB4BF; Fri, 27 Jan 2012 10:38:13 -0500 (EST) Received: from rock.gnat.com ([127.0.0.1]) by localhost (rock.gnat.com [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 81lAg8+ngh0P; Fri, 27 Jan 2012 10:38:13 -0500 (EST) Received: from joel.gnat.com (localhost.localdomain [127.0.0.1]) by rock.gnat.com (Postfix) with ESMTP id A9FA02BB4BE; Fri, 27 Jan 2012 10:38:12 -0500 (EST) Received: by joel.gnat.com (Postfix, from userid 1000) id F001A145615; Fri, 27 Jan 2012 19:38:03 +0400 (RET) Date: Fri, 27 Jan 2012 15:38:00 -0000 From: Joel Brobecker To: asmwarrior Cc: gdb@sourceware.org, Xun Xun Subject: Re: [mingw] gdb eat a lot of memory and slowly when start an inferior Message-ID: <20120127153803.GP31397@adacore.com> References: <4F228353.3010707@gmail.com> <20120127110110.GO31397@adacore.com> <4F22AFF5.1000609@gmail.com> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="qOrJKOH36bD5yhNe" Content-Disposition: inline In-Reply-To: <4F22AFF5.1000609@gmail.com> User-Agent: Mutt/1.5.20 (2009-06-14) 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: 2012-01/txt/msg00097.txt.bz2 --qOrJKOH36bD5yhNe Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-length: 350 > Hi, Joel, I did what you suggest. Finally, I definitely found that this issue was introduced by your patch in: > > > Author: Joel Brobecker > Date: 2012-1-26 12:20:31 > Message: > Ada: allow unqualified function names in linespecs Can you try the attached patch? This should restore the only effective change I made for non-Ada units. -- Joel --qOrJKOH36bD5yhNe Content-Type: text/x-diff; charset=us-ascii Content-Disposition: attachment; filename="linespec.diff" Content-length: 420 diff --git a/gdb/linespec.c b/gdb/linespec.c index dc9dfc6..d0a35a4 100644 --- a/gdb/linespec.c +++ b/gdb/linespec.c @@ -365,7 +365,7 @@ iterate_over_all_matching_symtabs (const char *name, matcher_data.symbol_name_match_p = current_language->la_get_symbol_name_match_p != NULL ? current_language->la_get_symbol_name_match_p (name) - : strcmp_iw; + : strcmp_iw_ordered; ALL_PSPACES (pspace) { --qOrJKOH36bD5yhNe--