The kdb command has many subcommands for viewing and formatting data structures.
kdb为查看和格式化数据结构提供了大量子命令。
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。
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将显示一个错误消息并退出。
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 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 stat subcommand of KDB provides information about the dump we are looking at.
kdb的stat子命令提供了正在查看的转储的信息。
Then we'll get into the KDB commands and review some of the more often-used commands.
然后我们将了解 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那样进行源代码级别上的调试。
In this article you'll learn how to use the features provided by KDB and how to install and set up KDB on a Linux machine.
在本文中您将了解如何使用KDB所提供的功能,以及如何在Linux机器上安装和设置kdb。
In this article we'll start with information on downloading KDB patches, applying them, (re) compiling the kernel, and starting KDB.
在本文中,我们将从有关下载kdb补丁、打补丁、(重新)编译内核以及启动KDB方面的信息着手。
KDB is a very powerful tool that allows several operations such as memory and register modification, applying breakpoints, and stack tracing.
KDB是一个功能非常强大的工具,它允许进行几个操作,比如内存和寄存器修改、应用断点和堆栈跟踪。
One of the main advantages of KDB is that it does not require an additional machine for debugging: you can debug the kernel that you are running on.
KDB的主要优点之一就是它不需要用另一台机器进行调试:您可以调试正在运行的内核。
One of the main advantages of KDB is that it does not require an additional machine for debugging: you can debug the kernel that you are running on.
KDB的主要优点之一就是它不需要用另一台机器进行调试:您可以调试正在运行的内核。
应用推荐