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

Andrew STUBBS
2005-11-23T15:59:20Z

Andreas Schwab wrote:
> Andrew STUBBS <andrew.stubbs@st.com> writes:
>
>>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'.
>
> The same clash exists with '+'. Things like "u+1" won't work any more,
> IIUC.

Hmmm, this looks more like a parser exploit than a feature. Either that
or the TUI can be considered broken.

Should I leave these characters as TUI only or always allow them? Does
anybody have a strong opinion either way? I would tend to favour leaving
it as is.

Andrew