Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:gdb_get_regs_helper

Proto:static void gdb_get_regs_helper(struct kgdb_state *ks)

Type:void

Parameter:

TypeParameterName
struct kgdb_state *ks
500  thread = kgdb_usethread
501  If Not thread Then
502  thread = task
503  local_debuggerinfo = debuggerinfo
504  Else
505  local_debuggerinfo = NULL
523  If local_debuggerinfo Then
524  pt_regs_to_gdb_regs(Storage for the registers, in GDB format. , local_debuggerinfo)
525  Else
533  sleeping_thread_to_gdb_regs - Convert ptrace regs to GDB regs*@gdb_regs: A pointer to hold the registers in the order GDB wants.*@p: The &struct task_struct of the desired process.* Convert the register values of the sleeping process in @p to
Caller
NameDescribe
gdb_cmd_getregsHandle the 'g' get registers request