aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rw-r--r--scripts/build/debug/300-gdb.sh20
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");;