From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 25626 invoked by alias); 24 Mar 2010 01:21:28 -0000 Received: (qmail 25613 invoked by uid 22791); 24 Mar 2010 01:21:28 -0000 X-SWARE-Spam-Status: No, hits=-2.6 required=5.0 tests=BAYES_00 X-Spam-Check-By: sourceware.org Received: from mail-bw0-f225.google.com (HELO mail-bw0-f225.google.com) (209.85.218.225) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 24 Mar 2010 01:21:24 +0000 Received: by bwz25 with SMTP id 25so4405102bwz.8 for ; Tue, 23 Mar 2010 18:21:21 -0700 (PDT) Received: by 10.204.84.220 with SMTP id k28mr3452530bkl.70.1269393681353; Tue, 23 Mar 2010 18:21:21 -0700 (PDT) Received: from [172.16.147.221] ([210.32.174.61]) by mx.google.com with ESMTPS id x16sm30767532bku.11.2010.03.23.18.21.18 (version=TLSv1/SSLv3 cipher=RC4-MD5); Tue, 23 Mar 2010 18:21:20 -0700 (PDT) Message-ID: <4BA9687A.8090901@gmail.com> Date: Wed, 24 Mar 2010 01:21:00 -0000 From: Asm_gmail User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.19) Gecko/20081209 Thunderbird/2.0.0.19 Mnenhy/0.7.6.0 MIME-Version: 1.0 To: Joel Brobecker CC: gdb@sourceware.org Subject: Re: gdb-7.1 - last call before release (Wed, Mar 17th) References: <20100316161124.GE3844@adacore.com> <4BA03709.6070702@gmail.com> <20100317141208.GJ3844@adacore.com> <4BA2DD0A.9030904@gmail.com> <20100319150644.GI2858@adacore.com> In-Reply-To: <20100319150644.GI2858@adacore.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit 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: 2010-03/txt/msg00190.txt.bz2 On 2010-3-19 23:06, Joel Brobecker wrote: > I'm not familiar with C++ debugging, so there is not much I can do > in this case to help. The fact that it returns very quickly when > the variable is in scope seems logical - I would imagine that symbol > lookups by name search the current scope first, before expanding > the search to the global scope. As for the search in the global scope, > it's hard to say... Perhaps if you create a PR and provide a reproducer, > someone will be able to find out more. > > Hi, all. As Chris supplied a profile enabled version of gdb in : http://emergedesktop.org/gdb/gdb-7.1-profiling.tar.lzma So, I have upload a profile result file to my bug report in : http://sourceware.org/bugzilla/show_bug.cgi?id=11316 I hope it can help the gdb developers to find the real cause of this time lab. Thanks Asmwarrior