Function report |
Source Code:kernel\debug\kdb\kdb_support.c |
Create Date:2022-07-28 11:43:04 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:kdb_symbol_print - Standard method for printing a symbol name and offset
Proto:void kdb_symbol_print(unsigned long addr, const kdb_symtab_t *symtab_p, unsigned int punc)
Type:void
Parameter:
Type | Parameter | Name |
---|---|---|
unsigned long | addr | |
const kdb_symtab_t * | symtab_p | |
unsigned int | punc |
262 | If symtab_p Then |
264 | Else |
268 | If Not (Full symbol name, including* any version || punc & Print the value of the address ) Then Return |
270 | If punc & Space before string Then kdb_printf(" ") |
272 | If punc & Print the value of the address Then kdb_printf(kdb_machreg_fmt0, addr) |
274 | If Full symbol name, including* any version Then |
275 | If punc & Print the value of the address Then kdb_printf(" ") |
277 | If punc & Parenthesis around string Then kdb_printf("(") |
279 | If strcmp(Module containing symbol or* "kernel" , "kernel") Then kdb_printf("[%s]", Module containing symbol or* "kernel" ) |
281 | kdb_printf("%s", Full symbol name, including* any version ) |
282 | If addr != sym_start Then kdb_printf("+0x%lx", addr - sym_start) |
284 | If punc & Print the size of the symbol Then kdb_printf("/0x%lx", sym_end - sym_start) |
287 | If punc & Parenthesis around string Then kdb_printf(")") |
290 | If punc & Space after string Then kdb_printf(" ") |
292 | If punc & Newline after string Then kdb_printf("\n") |
Name | Describe |
---|---|
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 |
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 |