From 2baacbfe36d3bd794b9cb841be13fb1c22c56703 Mon Sep 17 00:00:00 2001 From: Alexey Brodkin Date: Wed, 7 Apr 2021 23:15:05 +0300 Subject: gdb: Don't mess with gdbserver config permissions Some really old GDB releases did have gdbserver's configure script w/o execution permissions, so there was a need in the fix. As per Yann most likely it could have been true for GDB versions in between v5.3 & 6.6. Moreover it could have been fixed on re-release of GDB tarballs done in 2011, see [1]. And given we no longer support such old GDB versions in CT-NG (as of today we have 6.8 - 9.2, moreover it's not clear which of 6.8-7.x versions are still being actively used) we'll revert that old hack for now in a hope that it won't hurt anybody. Though if somebody sees that problem again we'll be able to revert this again ;) [1] https://sourceware.org/legacy-ml/gdb/2011-09/msg00002.html Signed-off-by: Alexey Brodkin diff --git a/scripts/build/debug/300-gdb.sh b/scripts/build/debug/300-gdb.sh index b0ea29b..e6eec2a 100644 --- a/scripts/build/debug/300-gdb.sh +++ b/scripts/build/debug/300-gdb.sh @@ -8,11 +8,6 @@ do_debug_gdb_get() do_debug_gdb_extract() { CT_ExtractPatch GDB - - # Workaround for bad versions, where the configure - # script for gdbserver is not executable... - # Bah, GNU folks strike again... :-( - chmod a+x "${CT_SRC_DIR}/gdb/gdb/gdbserver/configure" } do_debug_gdb_build() -- cgit v0.10.2-6-g49f6