Function report |
Source Code:kernel\debug\kdb\kdb_main.c |
Create Date:2022-07-28 11:41:49 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:kdb_mm - This function implements the 'mm' command.* mm address-expression new-value* Remarks:* mm works on machine words, mmW works on bytes.
Proto:static int kdb_mm(int argc, const char **argv)
Type:int
Parameter:
Type | Parameter | Name |
---|---|---|
int | argc | |
const char ** | argv |
1754 | offset = 0 |
1759 | If argv[0][2] && Not isdigit(argv[0][2]) Then Return KDB return codes from a command or internal kdb function |
1762 | If argc < 2 Then Return KDB_ARGCOUNT |
1765 | nextarg = 1 |
1766 | diag = kdbgetaddrarg - This function is responsible for parsing an* address-expression and returning the value of the expression,* symbol name, and offset to the caller |
1770 | If nextarg > argc Then Return KDB_ARGCOUNT |
1772 | diag = kdbgetaddrarg - This function is responsible for parsing an* address-expression and returning the value of the expression,* symbol name, and offset to the caller |
1776 | If nextarg != argc + 1 Then Return KDB_ARGCOUNT |
1779 | width = If argv[0][2] Then argv[0][2] - '0' Else KDB_WORD_SIZE |
1784 | kdb_printf(kdb_machreg_fmt" = "kdb_machreg_fmt"\n", addr, contents) |
1786 | Return 0 |
Source code conversion tool public plug-in interface | X |
---|---|
Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |