crosstool-ng/config/debug/gdb.in
Alexey Neyman 4ddad7b34f CentOS6 cannot use newer GDB releases
... unless one retrofits it with a decent compiler instead of stock
GCC 4.4.

While here, sync up the ax_*.m4 with autoconf-archive.

Signed-off-by: Alexey Neyman <stilor@att.net>
2019-03-05 00:48:31 -08:00

35 lines
991 B
Plaintext

# 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
# GDB 8.0 requires not just any C++, but recent enough to support C++11.
# Yes, in 2019 there are still LTS systems still lacking such support.
# I am looking at you, CentOS 6: no cookie for you, use an older GDB.
config GDB_DEP_CXX11
def_bool y
depends on !CONFIGURE_has_cxx11
select GDB_REQUIRE_older_than_8_0