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 <abrodkin@synopsys.com>
This commit is contained in:
Alexey Brodkin 2021-04-07 23:15:05 +03:00
parent f582f1c22d
commit 2baacbfe36

View File

@ -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()