This is the mail archive of the gdb-patches@sources.redhat.com 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: [RFA] "Help" command and completion


Eli Zaretskii wrote:
> 
> > Date: Fri, 4 Jan 2002 18:47:17 -0800
> > From: Michael Snyder <msnyder@cygnus.com>
> >
> > 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.


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