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:19
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:Initialize the breakpoint table and register breakpoint commands.

Proto:void __init kdb_initbptab(void)

Type:void

Parameter:Nothing

527  memset( & Table of kdb_breakpoints, '\0', size of Table of kdb_breakpoints )
529  When i < KDB_MAXBPT describes the total number of breakpoints* supported by this architecure. cycle This entry is available = 1
532  kdb_register_flags("bp", kdb_bp* Handle the bp commands, "[<vaddr>]", "Set/Display breakpoints", 0, KDB_ENABLE_FLOW_CTRL | Repeat the command w/o arguments )
535  kdb_register_flags("bl", kdb_bp* Handle the bp commands, "[<vaddr>]", "Display breakpoints", 0, KDB_ENABLE_FLOW_CTRL | Repeat the command w/o arguments )
538  If flags & KGDB_HW_BREAKPOINT Then kdb_register_flags("bph", kdb_bp* Handle the bp commands, "[<vaddr>]", "[datar [length]|dataw [length]] Set hw brk", 0, KDB_ENABLE_FLOW_CTRL | Repeat the command w/o arguments )
542  kdb_register_flags("bc", kdb_bc* Handles the 'bc', 'be', and 'bd' commands* [bd|bc|be] * [bd|bc|be] ** Parameters:* argc Count of arguments in argv* argv Space delimited command line arguments* Outputs:* None, "<bpnum>", "Clear Breakpoint", 0, KDB_ENABLE_FLOW_CTRL)
545  kdb_register_flags("be", kdb_bc* Handles the 'bc', 'be', and 'bd' commands* [bd|bc|be] * [bd|bc|be] ** Parameters:* argc Count of arguments in argv* argv Space delimited command line arguments* Outputs:* None, "<bpnum>", "Enable Breakpoint", 0, KDB_ENABLE_FLOW_CTRL)
548  kdb_register_flags("bd", kdb_bc* Handles the 'bc', 'be', and 'bd' commands* [bd|bc|be] * [bd|bc|be] ** Parameters:* argc Count of arguments in argv* argv Space delimited command line arguments* Outputs:* None, "<bpnum>", "Disable Breakpoint", 0, KDB_ENABLE_FLOW_CTRL)
552  kdb_register_flags("ss", kdb_ss* Process the 'ss' (Single Step) command, "", "Single Step", 1, KDB_ENABLE_FLOW_CTRL | Repeat the command w/o arguments )
Caller
NameDescribe
kdb_initInitialize kdb_printf, breakpoint tables and kdb state