Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\debug\kdb\kdb_bp.c Create Date:2022-07-28 11:44:03
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:_kdb_bp_remove

Proto:static int _kdb_bp_remove(kdb_bp_t *bp)

Type:int

Parameter:

TypeParameterName
kdb_bp_t *bp
94  ret = 1
95  If Not Breakpoint is installed Then Return ret
97  If Not Uses hardware register Then ret = dbg_remove_sw_break( Address breakpoint is present at )
99  Else ret = remove_hw_breakpoint( Address breakpoint is present at , HW break length , Uses hardware register )
103  If ret == 0 Then Breakpoint is installed = 0
105  Return ret
Caller
NameDescribe
kdb_bp_removekdb_bp_remove* Remove kdb_breakpoints upon entry to the kernel debugger.* Parameters:* None.* Outputs:* None.* Returns:* None.* Locking:* None.* Remarks: