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

Eli Zaretskii
2005-11-23T18:39:34Z

> Date: Wed, 23 Nov 2005 15:56:07 +0000
> From: Andrew STUBBS <andrew.stubbs@st.com>
> Cc: Eli Zaretskii <eliz@gnu.org>, gdb-patches@sources.redhat.com
>
> > 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?

What TUI commands use these problematic characters, and how does TUI
avoid the problems pointed out by Andreas?

> Does anybody have a strong opinion either way?

I will make up my mind after I understand the answers to my questions
above.

> I would tend to favour leaving it as is.

That's the fallback, yes. But I'd like to see if we can do better.