]> rtime.felk.cvut.cz Git - coffee/buildroot.git/blob - package/gdb/Config.in
toolchain, gcc, gdb, binutils, uclibc: remove Blackfin code
[coffee/buildroot.git] / package / gdb / Config.in
1 config BR2_PACKAGE_GDB_ARCH_SUPPORTS
2         bool
3         default y
4         depends on !((BR2_arm || BR2_armeb) && BR2_BINFMT_FLAT)
5         depends on !BR2_microblaze
6         depends on !BR2_nios2
7         depends on !BR2_or1k
8
9 comment "gdb/gdbserver needs a toolchain w/ threads, threads debug"
10         depends on BR2_PACKAGE_GDB_ARCH_SUPPORTS
11         depends on !BR2_TOOLCHAIN_HAS_THREADS || !BR2_TOOLCHAIN_HAS_THREADS_DEBUG
12
13 config BR2_PACKAGE_GDB
14         bool "gdb"
15         depends on BR2_TOOLCHAIN_HAS_THREADS && BR2_TOOLCHAIN_HAS_THREADS_DEBUG
16         depends on BR2_PACKAGE_GDB_ARCH_SUPPORTS
17         # When the external toolchain gdbserver is copied to the
18         # target, we don't allow building a separate gdbserver. The
19         # one from the external toolchain should be used.
20         select BR2_PACKAGE_GDB_SERVER if \
21                 (!BR2_PACKAGE_GDB_DEBUGGER && !BR2_TOOLCHAIN_EXTERNAL_GDB_SERVER_COPY)
22         help
23           GDB, the GNU Project debugger, allows you to see what is
24           going on `inside' another program while it executes -- or
25           what another program was doing at the moment it crashed.
26
27           This option allows to build gdbserver and/or the gdb
28           debugger for the target.
29
30           For embedded development, the most common solution is to
31           build only 'gdbserver' for the target, and use a cross-gdb
32           on the host. See BR2_PACKAGE_HOST_GDB in the Toolchain menu
33           to enable one. Notice that external toolchains often provide
34           their own pre-built cross-gdb and gdbserver binaries.
35
36           http://www.gnu.org/software/gdb/
37
38 if BR2_PACKAGE_GDB
39
40 config BR2_PACKAGE_GDB_SERVER
41         bool "gdbserver"
42         depends on !BR2_TOOLCHAIN_EXTERNAL_GDB_SERVER_COPY
43         help
44           Build the gdbserver stub to run on the target.
45           A full gdb is needed to debug the progam.
46
47 config BR2_PACKAGE_GDB_DEBUGGER
48         bool "full debugger"
49         depends on BR2_USE_WCHAR
50         depends on !BR2_sh
51         select BR2_PACKAGE_NCURSES
52
53 comment "full gdb on target needs a toolchain w/ wchar"
54         depends on !BR2_sh
55         depends on !BR2_USE_WCHAR
56
57 if BR2_PACKAGE_GDB_DEBUGGER
58
59 config BR2_PACKAGE_GDB_TUI
60         bool "TUI support"
61         help
62           This option enables terminal user interface (TUI) for gdb
63
64           "The GDB Text User Interface (TUI) is a terminal interface
65           which uses the curses library to show the source file, the
66           assembly output, the program registers and GDB commands in
67           separate text windows."
68
69           https://sourceware.org/gdb/current/onlinedocs/gdb/TUI.html
70
71 config BR2_PACKAGE_GDB_PYTHON
72         bool "Python support"
73         # Only Python 2.x is supported by gdb for now
74         depends on BR2_PACKAGE_PYTHON
75         help
76           This option enables Python support in the target gdb.
77
78 endif
79
80 endif