函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\debug\gdbstub.c Create Date:2022-07-27 12:42:39
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:gdb_get_regs_helper

函数原型:static void gdb_get_regs_helper(struct kgdb_state *ks)

返回类型:void

参数:

类型参数名称
struct kgdb_state *ks
500  thread等于kgdb_usethread
501  如果非thread
502  thread等于task
503  local_debuggerinfo等于debuggerinfo
504  否则
505  local_debuggerinfo = NULL
513  如果thread恒等于tasklocal_debuggerinfo等于debuggerinfo
523  如果local_debuggerinfo
524  pt_regs_to_gdb_regs(Storage for the registers, in GDB format. , local_debuggerinfo)
525  否则
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
调用者
名称描述
gdb_cmd_getregsHandle the 'g' get registers request