函数逻辑报告 | 
Source Code:kernel\debug\kdb\kdb_support.c | 
Create Date:2022-07-27 12:47:26 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| 首页 | 函数Tree | 
| 注解内核,赢得工具 | 下载SCCT | English | 
函数名称:kdb_symbol_print - Standard method for printing a symbol name and offset
函数原型:void kdb_symbol_print(unsigned long addr, const kdb_symtab_t *symtab_p, unsigned int punc)
返回类型:void
参数:
| 类型 | 参数 | 名称 | 
|---|---|---|
| unsigned long | addr | |
| const kdb_symtab_t * | symtab_p | |
| unsigned int | punc | 
| 262 | 如果symtab_p则 | 
| 264 | 否则 | 
| 270 | 如果punc按位与Space before string 则kdb_printf(" ") | 
| 275 | 如果punc按位与Print the value of the address 则kdb_printf(" ") | 
| 277 | 如果punc按位与Parenthesis around string 则kdb_printf("(") | 
| 279 | 如果字符串比较则kdb_printf("[%s]", Module containing symbol or* "kernel" ) | 
| 281 | kdb_printf("%s", Full symbol name, including* any version ) | 
| 282 | 如果addr不等于sym_start则kdb_printf("+0x%lx", addr - sym_start) | 
| 284 | 如果punc按位与Print the size of the symbol 则kdb_printf("/0x%lx", sym_end - sym_start) | 
| 287 | 如果punc按位与Parenthesis around string 则kdb_printf(")") | 
| 290 | 如果punc按位与Space after string 则kdb_printf(" ") | 
| 292 | 如果punc按位与Newline after string 则kdb_printf("\n") | 
| 名称 | 描述 | 
|---|---|
| kdb_md_line | kdb_md - This function implements the 'md', 'md1', 'md2', 'md4',* 'md8' 'mdr' and 'mds' commands.* md|mds [ | 
| kdb_print_nameval | kdb_print_nameval - Print a name and its value, converting the* value to a symbol lookup if possible.* Inputs:* name field name to print* val value of field | 
| kdb_printbp | kdb_printbp* Internal function to format and print a breakpoint entry.* Parameters:* None.* Outputs:* None.* Returns:* None.* Locking:* None.* Remarks: | 
| kdb_parse | 
| 源代码转换工具 开放的插件接口  | X | 
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码  |