Note: the -ggdb option in this example differs from Nigel's article in that it tells the GNU Compiler Collection (GCC) to optimize the program for debugging with GDB.
注意:此示例中的- ggdb选项与Nigel文章中所述的选项不同,因为它告诉gnu编译器集(GCC)优化该程序,以便于使用gdb来进行调试。
The set of build and debug tool chain integrations grows with a cleaner MinGW integration, a GDB hardware debugging integration, and a new integration for IBM's xlC compiler.
构建和调试工具链整合集将随着更干净的 MinGW 整合、GDB 硬件调试整合和针对 IBM 的 xlC 编译器的新整合而壮大。
After opening the emacs editor, load GDB with the kernel.debug image that you want to debug, with the -k option for kernel debugging.
打开emacs编辑器之后,使用您希望调试的kernel . debug映像加载gdb,并且使用- k选项进行内核调试。
应用推荐