* symtab.c (default_make_symbol_completion_list): Keep
authorKeith Seitz <keiths@redhat.com>
Mon, 24 Aug 2009 22:00:55 +0000 (22:00 +0000)
committerKeith Seitz <keiths@redhat.com>
Mon, 24 Aug 2009 22:00:55 +0000 (22:00 +0000)
':', too, so that we can limit searches in namespaces
and classes.

gdb/ChangeLog
gdb/symtab.c

index cfe60356355871322aa40d635506e0b856085771..5d6edfc092d40576ee764da6a39e9d8362b662ec 100644 (file)
@@ -1,3 +1,9 @@
+2009-08-24  Keith Seitz  <keiths@redhat.com>
+
+       * symtab.c (default_make_symbol_completion_list): Keep
+       ':', too, so that we can limit searches in namespaces
+       and classes. 
+
 2009-08-24  Tom Tromey  <tromey@redhat.com>
 
        * python/python-value.c (valpy_richcompare): Don't return from
index c88156a0f3da13491849ac623e53be3efce1adb8..8d9d72c865a004ae051679f55bf8e70358363685 100644 (file)
@@ -3836,7 +3836,8 @@ default_make_symbol_completion_list (char *text, char *word)
           which are in symbols.  */
        while (p > text)
          {
-           if (isalnum (p[-1]) || p[-1] == '_' || p[-1] == '\0')
+           if (isalnum (p[-1]) || p[-1] == '_' || p[-1] == '\0'
+               || p[-1] == ':')
              --p;
            else
              break;
This page took 0.029826 seconds and 4 git commands to generate.