KDB is an interactive kernel debugger.
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 内核。
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。
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命令分成几个类别。
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子命令提供了正在查看的转储的信息。
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。
Upon invoking KDB on a dump image, you first retrieve the basic dump status using the stat subcommand.
对转储映像调用kdb之后,首先使用stat子命令检索基本转储状态。
You'll also get acquainted with the commands and the setup and display options available to you in KDB.
您还将熟悉KDB中可以使用的命令以及设置和显示选项。
Setting up a machine for KDB requires a little work in that the kernel needs to be patched and recompiled.
设置一台用于KDB的机器需要花费一些工作,因为需要给内核打补丁并进行重新编译。
By default, KDB works in the symbolic mode, and the addresses mostly are shown in output as symbol + offset.
默认情况下,kdb在symbolic模式下工作,并且大部分地址在输出中显示为symbol +偏移量。
Note that KDB does not require two machines, but it does not allow you to do source level debugging like KGDB.
请注意,kdb不需要两台机器,不过它也不允许您像kgdb那样进行源代码级别上的调试。
Note that KDB does not require two machines, but it does not allow you to do source level debugging like KGDB.
请注意,kdb不需要两台机器,不过它也不允许您像kgdb那样进行源代码级别上的调试。
应用推荐