Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:Handle the 'G' set registers request

Proto:static void gdb_cmd_setregs(struct kgdb_state *ks)

Type:void

Parameter:

TypeParameterName
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  If kgdb_usethread && kgdb_usethread != current process Then
550  error_packet(remcom_out_buffer, - EINVAL)
551  Else
552  gdb_regs_to_pt_regs(Storage for the registers, in GDB format. , linux_regs)
553  strcpy(remcom_out_buffer, "OK")
Caller
NameDescribe
gdb_serial_stubThis function performs all gdbserial command procesing