1 comment "gdb/gdbserver needs a toolchain w/ threads, threads debug"
2 depends on !BR2_nios2 && !BR2_bfin
3 depends on !BR2_TOOLCHAIN_HAS_THREADS || !BR2_TOOLCHAIN_HAS_THREADS_DEBUG
7 # When the external toolchain gdbserver is copied to the
8 # target, we don't allow building a separate gdbserver. The
9 # one from the external toolchain should be used.
10 select BR2_PACKAGE_GDB_SERVER if \
11 (!BR2_PACKAGE_GDB_DEBUGGER && !BR2_TOOLCHAIN_EXTERNAL_GDB_SERVER_COPY)
12 depends on BR2_TOOLCHAIN_HAS_THREADS && BR2_TOOLCHAIN_HAS_THREADS_DEBUG
13 depends on !BR2_nios2 && !BR2_bfin
15 GDB, the GNU Project debugger, allows you to see what is
16 going on `inside' another program while it executes -- or
17 what another program was doing at the moment it crashed.
19 This option allows to build gdbserver and/or the gdb
20 debugger for the target.
22 For embedded development, the most common solution is to
23 build only 'gdbserver' for the target, and use a cross-gdb
24 on the host. See BR2_PACKAGE_HOST_GDB in the Toolchain menu
25 to enable one. Notice that external toolchains often provide
26 their own pre-built cross-gdb and gdbserver binaries.
28 http://www.gnu.org/software/gdb/
32 config BR2_PACKAGE_GDB_SERVER
34 depends on !BR2_TOOLCHAIN_EXTERNAL_GDB_SERVER_COPY
36 Build the gdbserver stub to run on the target.
37 A full gdb is needed to debug the progam.
39 config BR2_PACKAGE_GDB_DEBUGGER
41 select BR2_PACKAGE_NCURSES
42 depends on BR2_USE_WCHAR
43 depends on !BR2_sh && !BR2_sh64 && !BR2_microblaze
45 comment "full gdb on target needs a toolchain w/ wchar"
46 depends on !BR2_sh && !BR2_sh64 && !BR2_microblaze
47 depends on !BR2_USE_WCHAR
49 if BR2_PACKAGE_GDB_DEBUGGER
51 config BR2_PACKAGE_GDB_TUI
54 This option enables terminal user interface (TUI) for gdb
56 "The GDB Text User Interface (TUI) is a terminal interface
57 which uses the curses library to show the source file, the
58 assembly output, the program registers and GDB commands in
59 separate text windows."
61 https://sourceware.org/gdb/current/onlinedocs/gdb/TUI.html
63 config BR2_PACKAGE_GDB_PYTHON
65 # Only Python 2.x is supported by gdb for now
66 depends on BR2_PACKAGE_PYTHON
68 This option enables Python support in the target gdb.