Книга: Embedded Linux Primer: A Practical, Real-World Approach

14.2.1. KGDB Kernel Configuration

14.2.1. KGDB Kernel Configuration

KGDB is a kernel feature and must be enabled in your kernel. KGDB is selected from the Kernel Hacking menu, as shown in Figure 14-2. As part of the configuration, you must select the serial port for KGDB to use. Notice also from Figure 14-2 that we enabled the option to compile the kernel with debug information. This adds the -g compiler flag to the build process to enable symbolic debugging.

Figure 14-2. Kernel configuration for KGDB


Оглавление книги


Генерация: 1.340. Запросов К БД/Cache: 3 / 0
поделиться
Вверх Вниз