This is the mail archive of the gdb-patches@sources.redhat.com 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: Patch: completion -vs- duplicates


> "Daniel" == Daniel Berlin <dan@dberlin.org> writes:
> 
> 
> Eli> The rest--how to display the candidates, whether to filter out
> Eli> duplicates, etc.--is up to the UI's completion machinery.
> 
> It always makes sense to filter duplicates when doing textual
> completion.  What value can there be in completing to the second of
> two identical items?


Ha, that code.

I suspect you're both right. 2c worth. The underlying code should be 
using the most efficient mechanism available to complete things. 
However the ``(gdb) complete'' command should be stripping duplicates.

Tom, what exactly does Insight need?  Probably should do the right thing 
and MI the interface.

Andrew




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