Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\debug\gdbstub.c Create Date:2022-07-28 11:38:35
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:error_packet

Proto:static void error_packet(char *pkt, int error)

Type:void

Parameter:

TypeParameterName
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'
Caller
NameDescribe
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