Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:kdb_ef - This function implements the 'regs' (display exception* frame) command. This command takes an address and expects to* find an exception frame at that address, formats and prints* it.* regs address-expression* Remarks:* Not done yet.

Proto:static int kdb_ef(int argc, const char **argv)

Type:int

Parameter:

TypeParameterName
intargc
const char **argv
2007  If argc != 1 Then Return KDB_ARGCOUNT
2010  nextarg = 1
2011  diag = kdbgetaddrarg - This function is responsible for parsing an* address-expression and returning the value of the expression,* symbol name, and offset to the caller
2012  If diag Then Return diag
2014  show_regs((structpt_regs * )addr)
2015  Return 0