Scenario 3: Using GDB and oops.
第3种情况:使用gdb和oops。
gdb是gnu调试器。
Listing 9. A GDB exception and back trace.
清单9.gdb异常和反跟踪。
Gdb indicates that "no1" equals 8 and "diff" equals 0.
gdb指出“no1 ”等于8,“diff ”等于0。
Your screen clears, and all you see is the GDB prompt.
此时屏幕被清除,您所看到的就只有gdb提示符。
Note, however, that this feature requires GDB 6.0 or later.
不过要注意的是,这个功能需要GDB 6.0或更高版本。
Listing 8: Breakpoint information in the GDB Debugger xterm.
清单8:gdb调试器xterm中的断点信息。
Two important GDB Debugger commands are list and disassemble.
有两个重要的gdb调试工具命令,它们分别是list和disassemble。
However, to debug, X86 assembly users need to resort to GDB.
尽管如此,为了调试X86汇编,用户需要依靠GDB。
This tutorial has covered the most basic features of GDB-UI.
本教程涉及了GDB - UI的基本功能。
You can use gdb to debug user-space programs or the Linux kernel.
您可以使用gdb来调试用户空间程序或Linux内核。
Using the GDB patch, we can build JFS directly into the kernel.
通过使用gdb补丁,我们就可以将JFS直接构建到内核中。
Start GDB and specify your pid, in my case with 'GDB eg2 1283'.
启动gdb并指定进程标识,在我举的这个例子中是' gdbeg2 1283 '。
It's a well-known fact that many of the GDB commands are too verbose.
许多GDB命令太繁琐,这是众所周知的事实。
The GNU Debugger (gdb) is the most popular open source debugger in use.
GNUDebugger(gdb)是目前最受欢迎的开源调试器。
Then, it starts GDB and creates two session objects to manage debug data.
然后,它启动gdb并创建两个会话对象来管理调试数据。
GDB is more standardized across different architectures and distributions.
gdb更为标准化,可跨不同体系结构和发行版本使用。
Hook-stop is a special definition that GDB calls at every breakpoint event.
hook - stop是GDB在每次发生断点事件时调用的特殊定义。
This is so gdb can work out the variables, lines and functions being used.
这样,gdb 才能够调试所使用的变量、代码行和函数。
This information is also used by popular debugger tools, such as GDB and WDB.
也可以将这些信息用于流行的调试工具,如gdb和wdb。
When GDB responds, the process of updating the Signals View takes five steps.
当gdb响应后,更新Signals视图的过程需要五个步骤。
To set a breakpoint there we type 'break 21'. Gdb will issue the response.
要在那一行上设置断点,只需输入'break21 '。
The gdb uses the serial line to communicate to the kernel you are debugging.
gdb使用串行线与您要调试的内核通信。
Now that we're finished debugging, GDB can be exited with the 'quit' command.
现在已完成了调试,可以使用'quit'命令退出gdb。
Meanwhile, the RxThread is constantly reading the InputStream from the GDB process.
同时,RxThread不断读取来自gdb进程的InputStream。
Listing 3 shows how the same GDB session looks using MI commands (shown in bold).
清单3显示使用MI命令的同一个gd b会话(以粗体显示)。
Listing 9 displays a GDB exception after the mount command to the file system is issued.
清单9在向文件系统发出mount命令之后显示一个gdb异常。
You can view extensive GDB online help and a detailed tutorial by using the help command.
您可以使用help命令查看全面的gdb在线帮助和详细的教程。
After stopping the tracing, you can exit the GDB Debugger by typing the quit command.
停止跟踪以后,可以通过键入quit命令来退出GD b调试器。
Most people access GDB from a command line, using simple instructions like run, print, and info.
大多数人使用诸如run、print和info这样的简单指令由命令行访问gdb。
应用推荐