函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:Handle the 'G' set registers request

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

返回类型:void

参数:

类型参数名称
struct kgdb_state *ks
547  Convert the hex array pointed to by buf into binary to be placed in* mem. Return a pointer to the character AFTER the last byte* written. May return an error.
549  如果kgdb_usethreadkgdb_usethread不等于当前进程
550  error_packet(remcom_out_buffer, - EINVAL)
551  否则
552  gdb_regs_to_pt_regs(Storage for the registers, in GDB format. , linux_regs)
553  strcpy(remcom_out_buffer, "OK")
调用者
名称描述
gdb_serial_stubThis function performs all gdbserial command procesing