2005-11-25 Andrew Stubbs <andrew.stubbs@st.com>
authorAndrew Stubbs <andrew.stubbs@st.com>
Fri, 25 Nov 2005 11:45:49 +0000 (11:45 +0000)
committerAndrew Stubbs <andrew.stubbs@st.com>
Fri, 25 Nov 2005 11:45:49 +0000 (11:45 +0000)
commit3386243e487ef3b023f3db2a1d0c51c1f96c9b77
tree7f352ab1d0062257f835315464dfc59ae5af5fde
parentb251bf6fa695361fc1721260052bd97a3028d7c5
2005-11-25  Andrew Stubbs  <andrew.stubbs@st.com>

* cli-decode.c (find_command_name_length): New function.
(lookup_cmd_1): Replace loop reading command name with
find_command_name_length().
(lookup_cmd): Likewise.
(lookup_cmd_composition): Likewise.
gdb/ChangeLog
gdb/cli/cli-decode.c