Re: FYI: fix PR gdb/8869

Eli Zaretskii
2009-08-10T18:58:06Z

> Cc: gdb-patches@sourceware.org
> From: Tom Tromey <tromey@redhat.com>
> Date: Mon, 10 Aug 2009 11:47:41 -0600
>
> >>>>> "Eli" == Eli Zaretskii <eliz@gnu.org> writes:
>
> Tom> I reasoned that only "set" commands could accept completers
>
> Eli> I hope this doesn't mean that "show" commands will not complete
> Eli> anymore, does it?
>
> 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.

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

> Perhaps I am misunderstanding you, though. What do you think would stop
> working?

Completion of the words after `show'. I didn't say it would stop
working, I just expressed the hope that it won't.