This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [RFA] Add constant CMD_LIST_AMBIGUOUS to replace (struct cmd_list_element *) -1
- From: Tom Tromey <tromey at redhat dot com>
- To: Michael Snyder <msnyder at vmware dot com>
- Cc: "gdb-patches\ at sourceware dot org" <gdb-patches at sourceware dot org>, Joel Brobecker <brobecker at adacore dot com>
- Date: Fri, 11 Mar 2011 14:41:48 -0700
- Subject: Re: [RFA] Add constant CMD_LIST_AMBIGUOUS to replace (struct cmd_list_element *) -1
- References: <4D7A8E69.9020104@vmware.com>
>>>>> "Michael" == Michael Snyder <msnyder@vmware.com> writes:
Michael> OK?
Michael> 2011-03-11 Michael Snyder <msnyder@vmware.com>
Michael> * cli/cli-decode.h (CMD_LIST_AMBIGUOUS): Define.
Michael> * cli/cli-decode.c (lookup_cmd_1): Use CMD_LIST_AMBIGUOUS.
Michael> (lookup_cmd): Test for CMD_LIST_AMBIGUOUS.
Michael> * completer.c (complete_line_internal): Use CMD_LIST_AMBIGUOUS.
Michael> * top.c (set_verbose): Use CMD_LIST_AMBIGUOUS.
Looks good to me.
Tom