[PATCH] Remove "cmd_type" function

Tom Tromey tom@tromey.com
Sun Jun 28 16:38:19 GMT 2020


>> * command.h (cmd_types): Remove.
>> (cmd_type): Don't declare.
>> * cli/cli-decode.h (enum cmd_types): Uncomment.  No longer a
>> typedef.
>> * cli/cli-cmds.c (setting_cmd): Use cmd->type directly.
>> * cli/cli-decode.c (cmd_type): Remove.

Gary> LGTM.

Thanks, I'm checking this in now.

Tom


More information about the Gdb-patches mailing list