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


> 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.


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