函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\debug\gdbstub.c Create Date:2022-07-27 12:43:07
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:gdbstub_state

函数原型:int gdbstub_state(struct kgdb_state *ks, char *cmd)

返回类型:int

参数:

类型参数名称
struct kgdb_state *ks
char *cmd
1088  :cmd[0]恒等于'e'
1089  error等于kgdb_arch_handle_exception - Handle architecture specific GDB packets.*@e_vector: The error vector of the exception that happened.*@signo: The signal number of the exception that happened.*@err_code: The error code of the exception that happened.
1095  返回:error
1096  :cmd[0]恒等于's'
1097  :cmd[0]恒等于'c'
1098  strscpy - Copy a C-string into a sized buffer*@dest: Where to copy the string to*@src: Where to copy the string from*@count: Size of destination buffer* Copy the string, or as much of it as fits, into the dest buffer. The
1099  返回:0
1100  :cmd[0]恒等于'$'
1101  strscpy - Copy a C-string into a sized buffer*@dest: Where to copy the string to*@src: Where to copy the string from*@count: Size of destination buffer* Copy the string, or as much of it as fits, into the dest buffer. The
1102  gdbstub_use_prev_in_buf等于strlen - Find the length of a string*@s: The string to be sized
1103  gdbstub_prev_in_buf_pos等于0
1104  返回:0
1106  write_char('+')
1107  Send the packet in buffer.* Check for gdb connection if asked for.
1108  返回:0
调用者
名称描述
kdb_stub
kdb_gdb_state_pass