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:58
Last Modify:2020-03-17 19:04:10 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:kgdb_handle_exception() - main entry point from a kernel exception* Locking hierarchy:* interface locks, if any (begin_session)* kgdb lock (kgdb_active)

Proto:int kgdb_handle_exception(int evector, int signo, int ecode, struct pt_regs *regs)

Type:int

Parameter:

TypeParameterName
intevector
intsigno
intecode
struct pt_regs *regs
790  ks = kgdb_var
791  ret = 0
793  If enable_nmi Then enable_nmi(0)
801  If signo != SIGTRAP && panic_timeout Then Return 1
804  memset(ks, 0, sizeof(structkgdb_state))
805  cpu = These macros fold the SMP functionality into a single CPU system()
806  ex_vector = evector
807  signo = signo
808  err_code = ecode
809  linux_regs = regs
811  If kgdb_reenter_check(ks) Then Go to out
813  If enter_kgdb != 0 Then Go to out
816  ret = kgdb_cpu_enter(ks, regs, Waiting to become a master kgdb cpu )
817  out :
818  If enable_nmi Then enable_nmi(1)
820  Return ret
Caller
NameDescribe
__kgdb_notify