summaryrefslogtreecommitdiffstats
path: root/rules/gdb.in
blob: b93f19d1d452f5a8cc2a96fac319da59128dd2f8 (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
#

config GDBSERVER
	bool "gdbserver"

config GDBSERVER_SHARED
	bool "shared gdbserver"
	default y
	depends on GDBSERVER
        select GLIBC_THREAD_DB if GLIBC && GLIBC_INSTALL


config GDB
	bool "gdb (the real one)"

config GDB_SHARED
	bool "Build shared"
	default y
	depends on GDB
        select GLIBC_LIBM if GLIBC && GLIBC_INSTALL

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

	config GDB_TERMCAP
		bool "termcap"
                select TERMCAP

	config GDB_NCURSES
		bool "ncurses"
                select NCURSES
endchoice        

config GDB_THREAD_DEBUG
        bool "enable Thread Debugging (i.e.: don't strip C-library)"
        depends on GDB || GDBSERVER
        default y
        select GLIBC_DEBUG if GLIBC