KDB is an interactive kernel debugger.
kdb是一个交互式内核调试器。
kdb是什么?
KDB is similar to DBX, but is a kernel debugger.
kdb与dbx相似,但它是内核调试器。
Next, the kernel needs to be built with KDB enabled.
接下来,需要构建内核以支持KDB。
You can also select the "KDB off by default" option.
您还可以选择“KDB offbydefault”选项。
Another way to invoke KDB is through the serial console.
调用KDB的另一种方式是通过串行控制台。
If it does not, KDB displays an error message and exits.
如果不匹配的话,kdb将显示一个错误消息并退出。
The value of 1 logs only the KDB commands typed at the prompt.
值1表示只记录在提示时输入的kdb命令。
KDB is invoked with two arguments when examining a system dump.
kdb在检查系统转储时通过两个参数调用。
The key sequence Ctrl-A will invoke KDB from the serial console.
按键序列ctrl - A将从串行控制台调用KDB。
KDB is a handy and powerful tool for performing kernel debugging.
对于执行内核调试,KDB是一个方便的且功能强大的工具。
Pressing the PAUSE key on the keyboard would manually invoke KDB.
按下键盘上的pause键将手工调用KDB。
The Linux kernel debugger (KDB) allows you to debug the Linux kernel.
Linux内核调试器(KDB)允许您调试 Linux 内核。
Run KDB and issue sockinfo on the address for the socket in question.
运行kdb并对感兴趣的套接字的地址执行sockinfo。
The value of 2 logs both the input and the output of the kdb session.
值2记录kdb会话的输入和输出。
The ss command single steps an instruction and returns control to KDB.
ss命令单步执行指令然后将控制返回给KDB。
This will set the CONFIG_KDB_OFF flag and will turn off KDB by default.
这将设置 CONFIG_KDB_OFF标志,并且在缺省情况下将关闭KDB。
KDB always starts in the context of the CPU running the crashing thread.
kdb永远在运行崩溃线程的CPU上下文中启动。
Based on these, the KDB commands can be classified into several categories.
根据这些,可以将KDB命令分成几个类别。
Using KDB, you will be able to track down the system crash problems quickly.
通过kdb,您将能够迅速跟踪导致系统崩溃问题。
Execution is stopped and control is given to KDB when this breakpoint is hit.
当遇到该断点时则停止执行并将控制权交予KDB。
The kdb command has many subcommands for viewing and formatting data structures.
kdb为查看和格式化数据结构提供了大量子命令。
The stat subcommand of KDB provides information about the dump we are looking at.
kdb的stat子命令提供了正在查看的转储的信息。
The latest version of KDB available (at the time this article was written) is 4.2.
(在编写本文时)可用的最新KDB版本是 4.2。
You can define KDB commands that will be executed during the initialization of KDB.
您可以定义将在KD b初始化期间执行的kdb命令。
Then we'll get into the KDB commands and review some of the more often-used commands.
然后我们将了解 KDB命令并研究一些较常用的命令。
Whenever present, use the CONFIG_FRAME_POINTER option while compiling the kernel with KDB.
在编译带kdb的内核时,只要CONFIG_FRAME _ POINTER选项出现就使用该选项。
When invoked with no arguments, the kdb examines the image of the currently running system.
如果没有使用参数调用,kdb 将检查当前正在运行的系统的映像。
The kdb=early flag will result in control being passed to KDB very early in the boot process.
kdb=early标志将导致在引导过程的初始阶段就把控制权传递给 KDB。
The kdb=early flag will result in control being passed to KDB very early in the boot process.
kdb=early标志将导致在引导过程的初始阶段就把控制权传递给 KDB。
应用推荐