OSDN Git Service
(root)
/
pf3gnuchains
/
pf3gnuchains3x.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c6354c5
)
* symtab.c (default_make_symbol_completion_list): Keep
author
kseitz
<kseitz>
Mon, 24 Aug 2009 22:00:55 +0000
(22:00 +0000)
committer
kseitz
<kseitz>
Mon, 24 Aug 2009 22:00:55 +0000
(22:00 +0000)
':', too, so that we can limit searches in namespaces
and classes.
gdb/symtab.c
patch
|
blob
|
history
diff --git
a/gdb/symtab.c
b/gdb/symtab.c
index
c88156a
..
8d9d72c
100644
(file)
--- 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;