Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:Handle the 'H' task query packets

Proto:static void gdb_cmd_task(struct kgdb_state *ks)

Type:void

Parameter:

TypeParameterName
struct kgdb_state *ks
805  Case 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  If Not thread && threadid > 0 Then
811  Break
813  kgdb_usethread = thread
814  kgdb_usethreadid = threadid
815  strcpy(remcom_out_buffer, "OK")
816  Break
817  Case 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  If Not threadid Then
821  kgdb_contthread = NULL
822  Else
824  If Not thread && threadid > 0 Then
826  Break
830  strcpy(remcom_out_buffer, "OK")
831  Break
Caller
NameDescribe
gdb_serial_stubThis function performs all gdbserial command procesing