函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:GDB remote protocol parser:

函数原型:static int gdbstub_read_wait(void)

返回类型:int

参数:

62  ret等于负1
65  如果此条件成立可能性小(为编译器优化)(gdbstub_use_prev_in_buf)则
66  如果gdbstub_prev_in_buf_pos小于gdbstub_use_prev_in_buf则返回:Our I/O buffers. [gdbstub_prev_in_buf_pos++]
68  否则gdbstub_use_prev_in_buf等于0
73 ret小于0循环
74 kdb_poll_funcs[i] != NULL循环
75  ret等于kdb_poll_funcs[i]()
76  如果ret大于0则退出
79  返回:ret
调用者
名称描述
get_packetscan for the sequence $#
put_packetSend the packet in buffer.* Check for gdb connection if asked for.