This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH] Fix 'Undefined command' error message
> Date: Wed, 16 Nov 2005 15:13:00 -0500
> From: Daniel Jacobowitz <drow@false.org>
> Cc: Andrew STUBBS <andrew.stubbs@st.com>, gdb-patches@sources.redhat.com
>
> > > +#if defined(TUI)
> > > + (tui_active &&
> > > + (*p == '+' || *p == '<' || *p == '>' || *p == '$')) ||
> > > +#endif
> >
> > What is the reason for additional tests under TUI?
>
> The TUI has commands which include these. E.g. + is scroll forward;
> search for add_com in tui/.
I'd prefer to have the same characters allowed in all CLI commands.
Any other way would be very confusing to users.
Thanks for the other clarifications. I think we should at least add
comments that explain the respective characters.