Function report |
Source Code:kernel\debug\kdb\kdb_bp.c |
Create Date:2022-07-28 11:44:12 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:kdb_bp* Handle the bp commands
Proto:static int kdb_bp(int argc, const char **argv)
Type:int
Parameter:
Type | Parameter | Name |
---|---|---|
int | argc | |
const char ** | argv |
282 | char * symname = NULL |
283 | offset = 0ul |
287 | If argc == 0 Then |
301 | nextarg = 1 |
302 | 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 |
306 | If Not Address breakpoint is present at Then Return KDB_BADINT |
313 | If This entry is available Then Break |
317 | If bpno == KDB_MAXBPT describes the total number of breakpoints* supported by this architecure. Then Return KDB_TOOMANYBPT |
325 | Else |
337 | If Not This entry is available && Address breakpoint is present at == Address breakpoint is present at Then |
339 | kdb_printf("You already have a breakpoint at "kdb_bfd_vma_fmt0"\n", Address breakpoint is present at ) |
341 | Return KDB_DUPBPT |
345 | Breakpoint is active in register = 1 |
351 | This entry is available = 0 |
355 | 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 |