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


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


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