This is the mail archive of the
mailing list for the GDB project.
Re: [RFA] "Help" command and completion
Eli Zaretskii wrote:
> > Date: Fri, 4 Jan 2002 18:47:17 -0800
> > From: Michael Snyder <firstname.lastname@example.org>
> > Hmmm... currently the help command uses the default completer,
> > which completes on symbols. That's definitely not right.
> > Ideally, we want to complete on commands or something, but
> > substituting the noop complete would definitely be better than
> > completing on symbols.
> How is no completion better than completion on symbols?
Because the symbols in the program being debugged
can't possibly have anything to do with gdb commands,
and therefore can't possibly be valid arguments for "help".
Not even if you're debugging gdb.