## SECTION=debug_tools_gdb menuconfig GDB tristate prompt "gdb (the real one) " select LIBC_M select LIBC_DL select GCCLIBS_GCC_S select NCURSES select LIBGMP if GDB_11_1 help The GNU Debugger GDB is a source-level debugger, capable of breaking programs at any specific line, displaying variable values, and determining where errors occurred. Currently, it works for C, C++, Fortran, Modula 2 and Java programs. A must-have for any serious programmer. if GDB config GDB_SHARED bool "build shared" default y help If not set, the build option LDFLAGS=-static will be activated. config GDB_11_1 bool prompt "gdb-11.1 or later" help Since gdb-11.1, GMP is a required dependency. Enable this option if your toolchain gdb version is 11.1 or later. endif