函数逻辑报告 |
Source Code:arch\x86\kernel\kgdb.c |
Create Date:2022-07-27 09:40:00 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| 首页 | 函数Tree |
| 注解内核,赢得工具 | 下载SCCT | English |
函数名称:kgdb_disable_hw_debug - Disable hardware debugging while we in kgdb.*@regs: Current &struct pt_regs.* This function will be called if the particular architecture must* disable hardware debugging while it is processing gdb packets or* handling exception.
函数原型:static void kgdb_disable_hw_debug(struct pt_regs *regs)
返回类型:void
参数:
| 类型 | 参数 | 名称 |
|---|---|---|
| struct pt_regs * | regs |
| 388 | set_debugreg(0UL, 7) |
| 390 | 如果非enabled则继续下一循环 |
| 392 | 如果dbg_is_early则 |
| 393 | early_dr7与等于Encode the length, type, Exact, and Enable bits for a particular breakpoint* as stored in debug register 7.的反 |
| 395 | 继续下一循环 |
| 397 | bp等于per_cpu_ptr(pev, cpu) |
| 398 | 如果disabled恒等于1则继续下一循环 |
| 401 | disabled等于1 |
| 源代码转换工具 开放的插件接口 | X |
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |