This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH] Fix 'Undefined command' error message
On Wed, Nov 23, 2005 at 07:05:24PM +0000, Andrew STUBBS wrote:
> Eli Zaretskii wrote:
> >What TUI commands use these problematic characters, and how does TUI
> >avoid the problems pointed out by Andreas?
>
> I don't know what uses '$', but the other three, '>', '<' and '+', are
> commands in their own right and are used the move the source window
> right, left and up through the file. '-' moves down. There may be other
> commands I don't know about.
>
> The TUI does *not* avoid the problems pointed out by Andreas. 'u+1' must
> be written 'u +1'. The latter syntax seems more correct to me in any
> case - the '+' is part of the operand, not the command. That said, many
> people are probably used to using the command like Andreas.
I had no idea this was possible (or what it did, until I tried it)... I
wouldn't cry about breaking it if there was any benefit.
--
Daniel Jacobowitz
CodeSourcery, LLC