函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:dbg_remove_all_break

函数原型:int dbg_remove_all_break(void)

返回类型:int

参数:

426 i小于KGDB_MAX_BREAKPOINTS循环
427  如果state不等于BP_ACTIVE则转到:setundefined
429  error等于kgdb_arch_remove_breakpoint( & Holds information about breakpoints in a kernel. These breakpoints are* added and removed by gdb.[i])
430  如果error打印错误信息("breakpoint remove failed: %lx\n", bpt_addr)
433  setundefined :
434  state等于BP_UNDEFINED
438  如果remove_all_hw_breakremove_all_hw_break()
441  返回:0
调用者
名称描述
kgdb_reenter_check
gdb_cmd_statusHandle the '?' status packets
gdb_cmd_detachkillHandle the 'D' or 'k', detach or kill packets
gdb_cmd_exception_passHandle the 'C' signal / exception passing packets