[PATCH] Fix 'Undefined command' error message

Andrew STUBBS andrew.stubbs@st.com
Tue Nov 15 18:11:00 GMT 2005


Hi,

The following demonstrates the problem:

   (gdb) abc_def
   Undefined command: "abc".  Try "help".

Non-alphanumeric characters, such as underscore, are permitted in 
command names (including user defined commands), but are not understood 
when giving error messages.

The attached patch fixes the problem.

OK?

Andrew Stubbs
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: cli-decode.patch
URL: <http://sourceware.org/pipermail/gdb-patches/attachments/20051115/ca92d761/attachment.ksh>


More information about the Gdb-patches mailing list