summaryrefslogtreecommitdiffstats
path: root/rules/gdb.in
blob: fd1a8cbffd60091bd82c6272bc6c34544110bb02 (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
38
39
40
41
42
43
44
45
46
47
48
#

source "rules/gdbserver.in"

menuconfig GDB
	bool
	prompt "gdb (the real one)  "
	select GLIBC_LIBM if (GLIBC && GLIBC_INSTALL && GDB_SHARED)
	select TERMCAP if GDB_TERMCAP
	select NCURSES if GDB_NCURSES
	# FIXME: this does not work, the script creates dependencies for
	# both libraries! (rsc)

config GDB_SHARED
	bool "Build shared"
	default y
	depends on GDB
	help
	  If not set, the build option
	  LDFLAGS=-static will be activated.


choice
	prompt "Select term library"
	default GDB_TERMCAP
	depends on GDB

	config GDB_TERMCAP
		bool "termcap"
		help
	  	  Use termcap as terminal library.

		  Termcap is a library of C functions that
		  enable programs to send control strings
		  to terminals in a way independent of the
		  terminal type.

	config GDB_NCURSES
		bool "ncurses"
		help
	  	  Use ncurses as terminal library.

		  The ncurses (new curses) library is a free
		  software emulation of curses. It uses terminfo
		  format, supports pads and color and multiple
		  highlights and forms charcters and function-key
		  mapping.
endchoice