This is the mail archive of the
gdb-prs@sourceware.org
mailing list for the GDB project.
[Bug c++/15454] unusably slow resolving type names in C++ program with multiple namespace / lots of base classes
- From: "csapuntz at gmail dot com" <sourceware-bugzilla at sourceware dot org>
- To: gdb-prs at sourceware dot org
- Date: Fri, 10 May 2013 05:49:16 +0000
- Subject: [Bug c++/15454] unusably slow resolving type names in C++ program with multiple namespace / lots of base classes
- Auto-submitted: auto-generated
- References: <bug-15454-4717 at http dot sourceware dot org/bugzilla/>
http://sourceware.org/bugzilla/show_bug.cgi?id=15454
--- Comment #1 from Costa Sapuntzakis <csapuntz at gmail dot com> 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.