diff options
Diffstat (limited to 'gdb/cli')
-rw-r--r-- | gdb/cli/cli-decode.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/gdb/cli/cli-decode.c b/gdb/cli/cli-decode.c index f68064e..1568e31 100644 --- a/gdb/cli/cli-decode.c +++ b/gdb/cli/cli-decode.c @@ -86,6 +86,12 @@ cmd_cfunc_eq (struct cmd_list_element *cmd, return cmd->func == do_cfunc && cmd->function.cfunc == cfunc; } +enum cmd_types +cmd_type (struct cmd_list_element *cmd) +{ + return cmd->type; +} + void set_cmd_completer (struct cmd_list_element *cmd, char **(*completer) (char *text, char *word)) |