mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-10-15 03:48:11 +08:00
2002-07-03 Martin M. Hunt <hunt@redhat.com>
* top.c (execute_command): Use cmd_func() and cmd_func_p(). * cli/cli-decode.c (cmd_func_p): New function. (cmd_func): New function. * command.h: Add cmd_func() and cmd_func_p().
This commit is contained in:
@ -280,4 +280,10 @@ extern void dont_repeat (void);
|
||||
|
||||
extern void not_just_help_class_command (char *, int);
|
||||
|
||||
/* check function pointer */
|
||||
extern int cmd_func_p (struct cmd_list_element *cmd);
|
||||
|
||||
/* call the command function */
|
||||
extern void cmd_func (struct cmd_list_element *cmd, char *args, int from_tty);
|
||||
|
||||
#endif /* !defined (COMMAND_H) */
|
||||
|
Reference in New Issue
Block a user