函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:Handle the 'H' task query packets

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

返回类型:void

参数:

类型参数名称
struct kgdb_state *ks
805  :Our I/O buffers. [1]恒等于'g'
806  ptr等于Our I/O buffers. [2]
807  While we find nice hex chars, build a long_val.* Return number of chars processed.
808  thread等于getthread(linux_regs, threadid)
809  如果非threadthreadid大于0则
811  退出
813  kgdb_usethread等于thread
814  kgdb_usethreadid等于threadid
815  strcpy(remcom_out_buffer, "OK")
816  退出
817  :Our I/O buffers. [1]恒等于'c'
818  ptr等于Our I/O buffers. [2]
819  While we find nice hex chars, build a long_val.* Return number of chars processed.
820  如果非threadid
821  kgdb_contthread = NULL
822  否则
824  如果非threadthreadid大于0则
828  kgdb_contthread等于thread
830  strcpy(remcom_out_buffer, "OK")
831  退出
调用者
名称描述
gdb_serial_stubThis function performs all gdbserial command procesing