diff options
author | Chris Packham <judge.packham@gmail.com> | 2022-05-08 14:27:39 +1200 |
---|---|---|
committer | Chris Packham <judge.packham@gmail.com> | 2022-05-10 19:46:53 +1200 |
commit | 3ac6f1791af77b682b1de4ad56157653aa566417 (patch) | |
tree | 77c6c505ed0ee6dfbc37c2cfaa08dc5c3472ed9a /scripts | |
parent | c693d62b1256dc3857076cf6d74f31ff80d3f82c (diff) | |
download | crosstool-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 'scripts')
-rw-r--r-- | scripts/build/debug/300-gdb.sh | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/scripts/build/debug/300-gdb.sh b/scripts/build/debug/300-gdb.sh index 4afaba48..2d9619f2 100644 --- a/scripts/build/debug/300-gdb.sh +++ b/scripts/build/debug/300-gdb.sh @@ -253,22 +253,6 @@ do_gdb_backend() esac done - # Starting with glibc 2.25, it now provides a <proc_service.h> header. The - # problem is that GDB releases prior to 7.12 used to implement one of the - # interfaces, ps_get_thread_are with a const qualifier on one of the arguments. - # Therefore, such older versions cannot be compiled against a newer glibc. - # If we detect such a combination, mitigate by creating a local proc_service.h - # with a prototype adjusted for GDB requirements. - if [ -r "${CT_HEADERS_DIR}/proc_service.h" -a "${CT_GDB_CONST_GET_THREAD_AREA}" = "y" ]; then - CT_DoLog DEBUG "Fixing up the prototype in <proc_service.h>" - CT_DoExecLog ALL mkdir -p gdb/gdbserver - CT_DoExecLog ALL cp "${CT_HEADERS_DIR}/proc_service.h" gdb/proc_service.h - CT_DoExecLog ALL sed -i \ - "s/\(ps_get_thread_area *(\).*\(struct ps_prochandle\)/\1const \2/" \ - gdb/proc_service.h - CT_DoExecLog ALL cp gdb/proc_service.h gdb/gdbserver/proc_service.h - fi - [ -n "${CT_PKGVERSION}" ] && extra_config+=("--with-pkgversion=${CT_PKGVERSION}") [ -n "${CT_TOOLCHAIN_BUGURL}" ] && extra_config+=("--with-bugurl=${CT_TOOLCHAIN_BUGURL}") @@ -277,10 +261,6 @@ do_gdb_backend() extra_config+=("--disable-ld") extra_config+=("--disable-gas") - if [ "${CT_GDB_HAS_DISABLE_CXX_BUILD}" = "y" ]; then - extra_config+=("--disable-build-with-cxx") - fi - case "${CT_THREADS}" in none) extra_config+=("--disable-threads");; *) extra_config+=("--enable-threads");; |