summaryrefslogtreecommitdiffstats
path: root/rules/gdb.in
blob: 3014271de9c1d4e8f4f3b4fbe4708b4f95431789 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
## 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