函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:SW breakpoint management:

函数原型:int dbg_activate_sw_breakpoints(void)

返回类型:int

参数:

310  ret等于0
313 i小于KGDB_MAX_BREAKPOINTS循环
314  如果state不等于BP_SET则继续下一循环
317  error等于Weak aliases for breakpoint management,* can be overriden by architectures when needed:
318  如果error
319  ret等于error
320  打印信息("BP install failed: %lx\n", bpt_addr)
322  继续下一循环
325  Some architectures need cache flushes when we set/clear a* breakpoint:
326  state等于BP_ACTIVE
328  返回:ret
调用者
名称描述
kgdb_reenter_check
gdb_serial_stubThis function performs all gdbserial command procesing
kdb_stub