Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:Handle the 'C' signal / exception passing packets

Proto:static int gdb_cmd_exception_pass(struct kgdb_state *ks)

Type:int

Parameter:

TypeParameterName
struct kgdb_state *ks
917  If Our I/O buffers. [1] == '0' && Our I/O buffers. [2] == '9' Then
919  pass_exception = 1
920  Our I/O buffers. [0] = 'c'
922  Else if Our I/O buffers. [1] == '1' && Our I/O buffers. [2] == '5' Then
924  pass_exception = 1
925  Our I/O buffers. [0] = 'D'
926  dbg_remove_all_break()
927  kgdb_connected - Is a host GDB connected to us? = 0
928  Return 1
930  Else
931  gdbstub_msg_write("KGDB only knows signal 9 (pass) and 15 (pass and disconnect)\nExecuting a continue without signal passing\n", 0)
934  Our I/O buffers. [0] = 'c'
938  Return -1
Caller
NameDescribe
gdb_serial_stubThis function performs all gdbserial command procesing