summaryrefslogtreecommitdiff
path: root/config/debug/gdb.in
blob: a9fab104e3b1865b2f2419ec5f40f961d73552a9 (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
# GDB menu

## help gdb is the GNU debugger

source "config/debug/gdb.in.cross"
source "config/debug/gdb.in.native"
source "config/debug/gdb.in.gdbserver"

config GDB_HAS_PKGVERSION_BUGURL
    bool
    default y if GDB_7_0_or_later

config GDB_HAS_PYTHON
    bool
    default y if GDB_7_0_or_later

config GDB_INSTALL_GDBINIT
    bool
    default y if GDB_7_0_or_later

# GDB 8.0 now requires C++ for build. GDB 7.12 offered a configure
# switch to fall back to C. We want to use that option because
# the conversion in 7.12 was incomplete and had some breakages.
config GDB_HAS_DISABLE_CXX_BUILD
    def_bool y
    depends on GDB_7_12_or_later && !GDB_8_0_or_later