Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:Handle the 'D' or 'k', detach or kill packets

Proto:static void gdb_cmd_detachkill(struct kgdb_state *ks)

Type:void

Parameter:

TypeParameterName
struct kgdb_state *ks
657  If Our I/O buffers. [0] == 'D' Then
658  error = dbg_remove_all_break()
659  If error < 0 Then
661  Else
662  strcpy(remcom_out_buffer, "OK")
665  Send the packet in buffer.* Check for gdb connection if asked for.
666  Else
671  dbg_remove_all_break()
672  kgdb_connected - Is a host GDB connected to us? = 0
Caller
NameDescribe
gdb_serial_stubThis function performs all gdbserial command procesing