From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 31131 invoked by alias); 10 May 2013 05:49:17 -0000 Mailing-List: contact gdb-prs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-prs-owner@sourceware.org Received: (qmail 31109 invoked by uid 48); 10 May 2013 05:49:17 -0000 From: "csapuntz at gmail dot com" To: gdb-prs@sourceware.org Subject: [Bug c++/15454] unusably slow resolving type names in C++ program with multiple namespace / lots of base classes Date: Fri, 10 May 2013 05:49:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gdb X-Bugzilla-Component: c++ X-Bugzilla-Keywords: X-Bugzilla-Severity: critical X-Bugzilla-Who: csapuntz at gmail dot com X-Bugzilla-Status: NEW X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" MIME-Version: 1.0 X-SW-Source: 2013-q2/txt/msg00215.txt.bz2 http://sourceware.org/bugzilla/show_bug.cgi?id=15454 --- Comment #1 from Costa Sapuntzakis 2013-05-10 05:49:16 UTC --- The following diff works around the problem for me by disabling lookup in base classes: --- gdb-7.6~20130417/gdb/cp-namespace.c 2013-03-18 02:20:02.000000000 -0700 +++ gdb-7.6-mine/gdb/cp-namespace.c 2013-05-09 22:32:17.907659782 -0700 @@ -808,9 +808,7 @@ if (sym != NULL) return sym; - /* If no matching symbols were found, try searching any - base classes. */ - return find_symbol_in_baseclass (parent_type, nested_name, block); + return NULL; } case TYPE_CODE_FUNC: -- Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.