summaryrefslogtreecommitdiff
path: root/scripts/build/debug
diff options
context:
space:
mode:
authorSergey Korolev <s.korolev@ndmsystems.com>2017-12-11 22:34:50 (GMT)
committerSergey Korolev <s.korolev@ndmsystems.com>2017-12-13 21:09:36 (GMT)
commit1de8f5e98bc50946761e31d08db7740ce07fc7bf (patch)
tree7c320dc563051aed8f9e769e32a5550f5c0059b0 /scripts/build/debug
parent01e329051e9ccd3f94241a2f73700ad03da0c59b (diff)
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 11378ec..9f21a1c 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.
#