This is the mail archive of the gdb-prs@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/15454] unusably slow resolving type names in C++ program with multiple namespace / lots of base classes


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]