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: FYI: fix PR gdb/8869


>>>>> "Eli" == Eli Zaretskii <eliz@gnu.org> writes:

>> The completer in question is used for the arguments to a command.
>> "show" commands don't take arguments, AFAIK.  So, there is no problem here.

Eli> How do you mean ``don't take arguments''? Every word after `show' is
Eli> an argument to `show', and some "show" commands have more than one
Eli> word there, like "show history", "show mem", etc.

That is handled by complete_line_internal, not the specific command's
completion function.

Nothing broke here.

Tom


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