Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:Handle the 'm' memory read bytes

Proto:static void gdb_cmd_memread(struct kgdb_state *ks)

Type:void

Parameter:

TypeParameterName
struct kgdb_state *ks
560  ptr = Our I/O buffers. [1]
565  If While we find nice hex chars, build a long_val.* Return number of chars processed. > 0 && ptr++ == ',' && While we find nice hex chars, build a long_val.* Return number of chars processed. > 0 Then
567  err = Convert the memory pointed to by mem into hex, placing result in* buf. Return a pointer to the last char put in buf (null). May* return an error.
568  If Not err Then error_packet(remcom_out_buffer, - EINVAL)
570  Else
571  error_packet(remcom_out_buffer, - EINVAL)
Caller
NameDescribe
gdb_serial_stubThis function performs all gdbserial command procesing