Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\debug\kdb\kdb_main.c Create Date:2022-07-28 11:41:04
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:Forward references

Proto:static int kdb_exec_defcmd(int argc, const char **argv)

Type:int

Parameter:

TypeParameterName
intargc
const char **argv
787  If argc != 0 Then Return KDB_ARGCOUNT
789  When i < defcmd_set_count cycle
790  If strcmp(name, argv[0]) == 0 Then Break
793  If i == defcmd_set_count Then
794  kdb_printf("kdb_exec_defcmd: could not find commands for %s\n", argv[0])
796  Return KDB_NOTIMP
798  When i < count cycle
801  argv = NULL
802  kdb_printf("[%s]kdb> %s\n", name, command[i])
803  ret = kdb_parse(command[i])
804  If ret Then Return ret
807  Return 0