[RFC] GDB interpreters

Andrew Cagney ac131313@cygnus.com
Fri May 24 15:00:00 GMT 2002


> On Tue, 21 May 2002, Keith Seitz wrote:
> 
> 
>> Eli Zaretskii wrote:
>>
> 
>> > Can we have completion on known interpreter names in these commands?  The
>> > default completer function completes on symbols from the inferior, which
>> > is really not a good idea in this case ;-)
> 
>>
>> I can certainly look into that...
> 
> 
> Ok, I admit, I know very little about the completer. However, I can copy
> code as well as the next guy! :-)
> 
> How does this look? (This would be a patch for the file I posted
> yesterday.)

Hmm, I've now twice seen the same problem - a completer for a changing 
(growing) list of options.  (JimI had it with a C++ command he was adding).

Can I suggest creating a bug report noteing this limitation in the cli 
interface.

enjoy,
Andrew




More information about the Gdb-patches mailing list