函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:Handle the 'D' or 'k', detach or kill packets

函数原型:static void gdb_cmd_detachkill(struct kgdb_state *ks)

返回类型:void

参数:

类型参数名称
struct kgdb_state *ks
657  如果Our I/O buffers. [0]恒等于'D'则
658  error等于dbg_remove_all_break()
659  如果error小于0则
661  否则
662  strcpy(remcom_out_buffer, "OK")
665  Send the packet in buffer.* Check for gdb connection if asked for.
666  否则
671  dbg_remove_all_break()
672  kgdb_connected - Is a host GDB connected to us?等于0
调用者
名称描述
gdb_serial_stubThis function performs all gdbserial command procesing