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: [PATCH v2 07/24] Remove "show" command completers, "set" command completers for string commands


>>>>> "Pedro" == Pedro Alves <palves@redhat.com> writes:

Pedro> I wonder whether we should instead make the default be no completer.

I think so.  The current default seems wrong in many situations, and
expensive to invoke besides.

One thing bash does is bind certain keys to specific completers, so for
example M-! will complete on command names, no matter the context.
Perhaps gdb could provide something like this as well, for the odd case
where you really want to complete on a symbol- or file-name in an
unusual context.

I'm ok with this patch in the interim.

Tom


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