aboutsummaryrefslogtreecommitdiff
path: root/scripts/build/debug
diff options
context:
space:
mode:
authorSergey Korolev <s.korolev@ndmsystems.com>2017-12-12 01:34:50 +0300
committerSergey Korolev <s.korolev@ndmsystems.com>2017-12-14 00:09:36 +0300
commit1de8f5e98bc50946761e31d08db7740ce07fc7bf (patch)
tree7c320dc563051aed8f9e769e32a5550f5c0059b0 /scripts/build/debug
parent01e329051e9ccd3f94241a2f73700ad03da0c59b (diff)
downloadcrosstool-ng-1de8f5e98bc50946761e31d08db7740ce07fc7bf.tar.gz
crosstool-ng-1de8f5e98bc50946761e31d08db7740ce07fc7bf.tar.bz2
crosstool-ng-1de8f5e98bc50946761e31d08db7740ce07fc7bf.zip
Do not build a native gdbserver automatically
Signed-off-by: Sergey Korolev <s.korolev@ndmsystems.com>
Diffstat (limited to 'scripts/build/debug')
-rw-r--r--scripts/build/debug/300-gdb.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/scripts/build/debug/300-gdb.sh b/scripts/build/debug/300-gdb.sh
index 11378ecb..9f21a1ca 100644
--- a/scripts/build/debug/300-gdb.sh
+++ b/scripts/build/debug/300-gdb.sh
@@ -182,6 +182,10 @@ do_debug_gdb_build() {
native_extra_config+=("--with-curses")
fi
+ # Build a native gdbserver later if required.
+ # Newer versions enable it automatically for a native target by default.
+ native_extra_config+=("--enable-gdbserver=no")
+
# Target libexpat resides in sysroot and does not have
# any dependencies, so just passing '-lexpat' to gcc is enough.
#