diff options
Diffstat (limited to 'gdb/symtab.c')
-rw-r--r-- | gdb/symtab.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gdb/symtab.c b/gdb/symtab.c index c88156a..8d9d72c 100644 --- a/gdb/symtab.c +++ b/gdb/symtab.c @@ -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; |