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: [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.


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