This is the mail archive of the gdb-patches@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]

Re: [RFA] Limit qualified completions


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


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