函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:Handle the 'm' memory read bytes

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

返回类型:void

参数:

类型参数名称
struct kgdb_state *ks
560  ptr等于Our I/O buffers. [1]
565  如果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则
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  如果非errerror_packet(remcom_out_buffer, - EINVAL)
570  否则
571  error_packet(remcom_out_buffer, - EINVAL)
调用者
名称描述
gdb_serial_stubThis function performs all gdbserial command procesing