函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:error_packet

函数原型:static void error_packet(char *pkt, int error)

返回类型:void

参数:

类型参数名称
char *pkt
interror
393  error等于负error
394  pkt[0]等于'E'
395  pkt[1]等于hex_asc[(error / 10)]
396  pkt[2]等于hex_asc[(error % 10)]
397  pkt[3]等于'\0'
调用者
名称描述
gdb_cmd_setregsHandle the 'G' set registers request
gdb_cmd_memreadHandle the 'm' memory read bytes
gdb_cmd_memwriteHandle the 'M' memory write bytes
gdb_cmd_binwriteHandle the 'X' memory binary write bytes
gdb_cmd_detachkillHandle the 'D' or 'k', detach or kill packets
gdb_cmd_queryHandle the 'q' query packets
gdb_cmd_taskHandle the 'H' task query packets
gdb_cmd_threadHandle the 'T' thread query packets
gdb_cmd_breakHandle the 'z' or 'Z' breakpoint remove or set packets
gdb_serial_stubThis function performs all gdbserial command procesing