Listing 8: Breakpoint information in the GDB Debugger xterm.
清单8:gdb调试器xterm中的断点信息。
Two important GDB Debugger commands are list and disassemble.
有两个重要的gdb调试工具命令,它们分别是list和disassemble。
Start the gdb debugger in the directory where the core file was created
在产生core文件的目录中启动gdb调试器
After stopping the tracing, you can exit the GDB Debugger by typing the quit command.
停止跟踪以后,可以通过键入quit命令来退出GD b调试器。
The GDB Debugger can also attach itself to a currently running process and help you to dig even deeper.
GDB调试工具本身也可以附加于一个正在运行的进程,并帮助您进行更深入的研究。
Notice that you're telling the GDB Debugger to quit debugging a program that is still active in memory.
请注意,您正告诉gdb调试工具停止对一个仍在内存中活动的程序的调试。
The GDB Debugger is such a useful tool that a lot of information about it is available on the Internet.
gdb调试工具非常有用,Internet上提供了大量的有关该工具的可用信息。
As always, you can learn a lot about tools, such as strace and the GDB Debugger, from their man and info pages.
和平常一样,您可以通过其man和info页面来了解各种各样的工具,如strace和gdb调试工具。
The CDT doesn't include its internal debugger, but it offers a front end to GNU GDB debugger, which must be available locally.
CDT中没有内部的调试器,但是它提供了一个GNUGD b调试器的前端,该调试器必须在本地可用。
The -quiet option tells the GDB Debugger to display only its prompt and not all the other startup information that it typically displays.
quiet选项告诉gdb调试工具仅显示其提示符,而不要显示所有其他的启动信息。
While refreshing the browser page, you should see breakpoint information, such as that shown in Listing 8, scrolling in the GDB Debugger xterm.
在刷新浏览器页面的同时,您应该看到如清单8所示的断点信息,在GD b调试器xterm中滚动输出。
While refreshing the browser page, you should see breakpoint information, such as that shown in Listing 11, scrolling in the GDB Debugger xterm.
在刷新浏览器页面的同时,您应该看到如清单11所示的断点信息,在gdb调试工具xterm中滚动输出。
There's also a new LLDB debugger, which is a replacement for the erstwhile GDB debugger but USES the same parser and source code tools as the compiler does.
全新的调试器LLDB也包含其中,它应用和编译器相同的解析器和源代码工具,目的是为了替代旧有的gd b调试器。
UNIX actually encourages you to explore and learn by providing tools, such as strace and the GDB Debugger, as well as a wealth of information in the man and info pages.
实际上,UNIX通过提供各种工具,如strace和gdb调试工具以及包含在相应的man和info页面中的大量的信息,鼓励您对系统进行研究和学习。
If the GDB debugger is able to read the core file, it indicates the address where the failure occurred (for example, Segmentation fault in function_name at 0x10001234).
如果gd b调试器可以读取core文件,它就可以分析出失效发生的地址(例如,Segmentationfault in function_nameat0x10001234)。
So, while nweb is still running in another xterm session, halt the strace by pressing Ctrl + c, and then launch the GDB Debugger by typing the commands shown in Listing 5.
因此,在nweb运行于另一个xterm会话的同时,按下Ctrl +c停止strace,然后输入清单5中所示的命令启动gdb调试工具。
After starting GDB, the first thing the GDBCDIDebugger2 does is create an MISession object. This object handles all access to the GDB debugger using three pairs of objects.
启动gdb后,GDBCDIDebugger 2首先要做的就是创建一个MISession对象。
The attach 4009 command starts debugging the currently running nweb server, and the GDB Debugger responds in kind by reading all the symbolic information about the process it can.
attach 4009命令启动对当前正在运行的nweb服务器的调试工作,并且gdb调试工具通过读取有关该进程的所有的符号信息来做出同样方式的响应。
Note: The -ggdb option in Listing 2 differs from Nigel's article in that it tells the GCC compiler to optimize the program for debugging with the GDB Debugger, which you'll use later.
注意:清单2 中的 -ggdb选项和Nigel的文章中的内容有些不同,该选项用于告诉GCC编译器对该程序进行优化,以便使用 GDB调试工具对其进行调试,您将在以后用到该调试工具。
This information is also used by popular debugger tools, such as GDB and WDB.
也可以将这些信息用于流行的调试工具,如gdb和wdb。
Running programs under GDB makes for easier bug trapping, but usually a program will die outside of the debugger leaving only a core file.
在gd b下运行程序可以使俘获错误变得更容易,但在调试器外运行的程序通常会中止而只留下一个core文件。
The KGDB utility is a debugger based on GDB that allows debugging of kernel core files.
kgdb实用程序是基于gdb的调试器,允许调试内核核心文件。
The CDI doesn't make any requirements as to how the debugger target interface should work, but Part 2 explains how GDB interfaces a target using the MI protocol.
CDI对调试器目标接口如何工作没有具体要求,但是第2部分将解释gdb如何使用MI协议与目标交互。
A second method of accessing GDB was developed for interfacing the debugger with software: the Machine Interface (MI).
访问gdb的第二个方法旨在通过软件与调试器交互:MachineInterface (MI)。
gdb是gnu调试器。
The GDB will load the executable's symbols and then display an input prompt to allow you to start using the debugger. There are three ways to view a process with GDB.
gdb将载入可执行程序符号并显示输入提示符,让您可以开始使用调试器。
The KGDB program (remote host Linux kernel debugger through GDB) provides a mechanism to debug the Linux kernel using GDB.
kgdb程序(使用gdb的远程主机Linux内核调试器)提供了一种使用gdb调试Linux内核的机制。
Eric Raymond wrote gud.el, a grand unified debugger mode for running GDB and other debuggers, as part of Emacs.
EricRaymond写过一个gud . el,它是一个大型统一调试器(grand unified debugger)模式,用于将GDB和其他调试器作为Emacs的一部分来运行。
The GNU Debugger (gdb) is the most popular open source debugger in use.
GNUDebugger(gdb)是目前最受欢迎的开源调试器。
The GNU Debugger (gdb) is the most popular open source debugger in use.
GNUDebugger(gdb)是目前最受欢迎的开源调试器。
应用推荐