[RFA] Limit qualified completions

Daniel Jacobowitz drow@false.org
Wed Aug 19 05:22:00 GMT 2009


On Tue, Aug 18, 2009 at 04:39:37PM -0700, Keith Seitz wrote:
> Hi,
> 
> If the user attempts to complete symbols in a class or namespace,
> i.e., "complete break foo::", default_make_symbol_completion_list
> will return every single known global symbol in the executable.
> 
> This simplistic patch (and test case) "fixes" the problem, limiting
> the matches to the appropriate symbols.
> 
> Ok?

It seems to me like there must be a bigger problem with the character
list; what if foo is a template?

-- 
Daniel Jacobowitz
CodeSourcery



More information about the Gdb-patches mailing list