Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\debug\debug_core.c Create Date:2022-07-28 11:37:32
Last Modify:2020-03-17 19:04:10 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:SW breakpoint management:

Proto:int dbg_activate_sw_breakpoints(void)

Type:int

Parameter:Nothing

310  ret = 0
313  When i < KGDB_MAX_BREAKPOINTS cycle
314  If state != BP_SET Then Continue
317  error = Weak aliases for breakpoint management,* can be overriden by architectures when needed:
318  If error Then
319  ret = error
320  pr_info("BP install failed: %lx\n", bpt_addr)
322  Continue
325  Some architectures need cache flushes when we set/clear a* breakpoint:
326  state = BP_ACTIVE
328  Return ret
Caller
NameDescribe
kgdb_reenter_check
gdb_serial_stubThis function performs all gdbserial command procesing
kdb_stub