函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\debug\debug_core.c Create Date:2022-07-27 12:41:32
Last Modify:2020-03-17 19:04:10 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:dbg_deactivate_sw_breakpoints

函数原型:int dbg_deactivate_sw_breakpoints(void)

返回类型:int

参数:

375  ret等于0
378 i小于KGDB_MAX_BREAKPOINTS循环
379  如果state不等于BP_ACTIVE则继续下一循环
381  error等于kgdb_arch_remove_breakpoint( & Holds information about breakpoints in a kernel. These breakpoints are* added and removed by gdb.[i])
382  如果error
383  打印信息("BP remove failed: %lx\n", bpt_addr)
385  ret等于error
388  Some architectures need cache flushes when we set/clear a* breakpoint:
389  state等于BP_SET
391  返回:ret
调用者
名称描述
kgdb_reenter_check
kgdb_cpu_enter
kdb_stub