aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsprhawk <hongbo@yang.me>2014-09-01 18:08:45 +0800
committersprhawk <hongbo@yang.me>2014-09-01 18:08:45 +0800
commit07acf3743a232a9d3e071d8db95d147e23fd150f (patch)
treebe47aa4a08edea23721308fcaef89705753c859b
parent22a63ba4804c0903a6d8a31ec2fa85128659ebb4 (diff)
downloadnrf51822-posix-build-scripts-07acf3743a232a9d3e071d8db95d147e23fd150f.tar.gz
nrf51822-posix-build-scripts-07acf3743a232a9d3e071d8db95d147e23fd150f.tar.bz2
nrf51822-posix-build-scripts-07acf3743a232a9d3e071d8db95d147e23fd150f.tar.xz
nrf51822-posix-build-scripts-07acf3743a232a9d3e071d8db95d147e23fd150f.zip
added -LocalHostOnly to gdb server
-rw-r--r--Makefile.common2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile.common b/Makefile.common
index 447cd45..e345663 100644
--- a/Makefile.common
+++ b/Makefile.common
@@ -265,7 +265,7 @@ pin-reset: $(OUTPUT_BINARY_DIRECTORY)/pinreset.jlink
START_GDB_SERVER_SCRIPT=$(OUTPUT_BINARY_DIRECTORY)/start_gdbserver.sh
$(START_GDB_SERVER_SCRIPT): $(BUILD_DIRECTORIES)
- echo "JLinkGDBServer -if swd -device nrf51822" > $(START_GDB_SERVER_SCRIPT)
+ echo "JLinkGDBServer -if swd -device nrf51822 -LocalHostOnly" > $(START_GDB_SERVER_SCRIPT)
gdbserver: $(START_GDB_SERVER_SCRIPT)
/bin/sh $(START_GDB_SERVER_SCRIPT)