Re: [PATCH] Fix 'Undefined command' error message

Eli Zaretskii
2005-11-21T22:05:57Z

> Date: Mon, 21 Nov 2005 17:43:06 +0000
> From: Andrew STUBBS <andrew.stubbs@st.com>
> Cc: gdb-patches@sources.redhat.com
>
> Eli Zaretskii wrote:
> > 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.
>
> I have moved all three instances of this code in to one function, added
> comments, removed the pointless '*p' and allowed the TUI characters all
> the time.
>
> The XDB characters clash with existing GDB commands so I have left those
> disabled unless in XDB mode. Specifically commands such as 'x/i' fail
> because the command there is actually only 'x'. Obviously this does not
> affect commands such as 'x /i'.

Thanks, I'm happy with this patch.