函数逻辑报告 |
Source Code:kernel\debug\kdb\kdb_bp.c |
Create Date:2022-07-27 12:48:39 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| 首页 | 函数Tree |
| 注解内核,赢得工具 | 下载SCCT | English |
函数名称:kdb_bp* Handle the bp commands
函数原型:static int kdb_bp(int argc, const char **argv)
返回类型:int
参数:
| 类型 | 参数 | 名称 |
|---|---|---|
| int | argc | |
| const char ** | argv |
| 282 | char * symname = NULL |
| 283 | offset等于0ul |
| 287 | 如果argc恒等于0则 |
| 293 | 如果 This entry is available 则继续下一循环 |
| 298 | 返回:0 |
| 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 | 如果非 Address breakpoint is present at 则返回:KDB_BADINT |
| 313 | 如果 This entry is available 则退出 |
| 317 | 如果bpno恒等于KDB_MAXBPT describes the total number of breakpoints* supported by this architecure.则返回:KDB_TOOMANYBPT |
| 320 | 如果字符串比较恒等于0则 |
| 325 | 否则 |
| 339 | kdb_printf("You already have a breakpoint at "kdb_bfd_vma_fmt0"\n", Address breakpoint is present at ) |
| 341 | 返回:KDB_DUPBPT |
| 345 | Breakpoint is active in register 等于1 |
| 351 | This entry is available 等于0 |
| 355 | 返回:0 |
| 源代码转换工具 开放的插件接口 | X |
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |