aboutsummaryrefslogtreecommitdiff
path: root/config/debug
diff options
context:
space:
mode:
authorChris Packham <judge.packham@gmail.com>2022-05-08 14:27:39 +1200
committerChris Packham <judge.packham@gmail.com>2022-05-10 19:46:53 +1200
commit3ac6f1791af77b682b1de4ad56157653aa566417 (patch)
tree77c6c505ed0ee6dfbc37c2cfaa08dc5c3472ed9a /config/debug
parentc693d62b1256dc3857076cf6d74f31ff80d3f82c (diff)
downloadcrosstool-ng-3ac6f1791af77b682b1de4ad56157653aa566417.tar.gz
crosstool-ng-3ac6f1791af77b682b1de4ad56157653aa566417.tar.bz2
crosstool-ng-3ac6f1791af77b682b1de4ad56157653aa566417.zip
gdb: drop obsolete versions
Drop gdb 7.11.1, 7.12.1, 8.0.1, 8.1.1 and 8.2.1. Cleanup milestones related to these older versions. Signed-off-by: Chris Packham <judge.packham@gmail.com>
Diffstat (limited to 'config/debug')
-rw-r--r--config/debug/gdb.in20
-rw-r--r--config/debug/gdb.in.native6
2 files changed, 3 insertions, 23 deletions
diff --git a/config/debug/gdb.in b/config/debug/gdb.in
index 741eeaea..68599d55 100644
--- a/config/debug/gdb.in
+++ b/config/debug/gdb.in
@@ -6,21 +6,6 @@ source "config/debug/gdb.in.cross"
source "config/debug/gdb.in.native"
-# 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
-
# GDB10 and newer require std::future<> which was not implemented on some
# architectures until GCC9; see GCC PR 64735.
config GDB_DEP_NO_STD_FUTURE
@@ -28,11 +13,6 @@ config GDB_DEP_NO_STD_FUTURE
depends on !GCC_9_or_later
select GDB_REQUIRE_older_than_10
-# Does GDB need ps_get_thread_area with const qualifier?
-config GDB_CONST_GET_THREAD_AREA
- bool
- default y if GDB_older_than_7_12
-
# As of GDB 10.x gdbserver is now at the toplevel of the distributed
# tarball (instead of a subdirectory of gdb)
config GDB_GDBSERVER_TOPLEVEL
diff --git a/config/debug/gdb.in.native b/config/debug/gdb.in.native
index 99057af0..02c2c479 100644
--- a/config/debug/gdb.in.native
+++ b/config/debug/gdb.in.native
@@ -4,8 +4,8 @@ config GDB_NATIVE
bool
prompt "Native gdb"
depends on ! BARE_METAL
- depends on CC_LANG_CXX || !GDB_8_0_or_later
- select LIBC_UCLIBC_WCHAR if LIBC_UCLIBC_NG && GDB_8_0_or_later
+ depends on CC_LANG_CXX
+ select LIBC_UCLIBC_WCHAR if LIBC_UCLIBC_NG
select LIBC_UCLIBC_IPV6 if LIBC_UCLIBC_NG && GDB_8_3_or_later
select EXPAT_TARGET
select NCURSES_TARGET
@@ -18,7 +18,7 @@ config GDB_GDBSERVER
prompt "gdbserver"
default y
depends on ! BARE_METAL
- select LIBC_UCLIBC_WCHAR if LIBC_UCLIBC_NG && GDB_8_0_or_later
+ select LIBC_UCLIBC_WCHAR if LIBC_UCLIBC_NG
select LIBC_UCLIBC_IPV6 if LIBC_UCLIBC_NG && GDB_8_3_or_later
help
Build and install a gdbserver for the target, to run on the target.