summaryrefslogtreecommitdiffstats
path: root/gdb/gdb-on-target.ini.in
diff options
context:
space:
mode:
authorRomain Forlot <romain.forlot@iot.bzh>2017-07-19 18:49:37 +0200
committerRomain Forlot <romain.forlot@iot.bzh>2018-10-15 18:22:47 +0200
commiteaeadf682659c15f34aaef3a88ad01b6b7db4084 (patch)
tree843524db2b78e6f79102d35ae3b5bb15fe349544 /gdb/gdb-on-target.ini.in
parentb9a60294772685516d93b64f752431331b845464 (diff)
Fix: bad afb-daemon flag, disable auto answer 'no'
Change-Id: I3ee63512433c869fdd809ee1b6571205cd07a4e1 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
Diffstat (limited to 'gdb/gdb-on-target.ini.in')
-rw-r--r--gdb/gdb-on-target.ini.in5
1 files changed, 4 insertions, 1 deletions
diff --git a/gdb/gdb-on-target.ini.in b/gdb/gdb-on-target.ini.in
index 32af784..52a33e2 100644
--- a/gdb/gdb-on-target.ini.in
+++ b/gdb/gdb-on-target.ini.in
@@ -5,7 +5,10 @@
# Reference: https://blog.flameeyes.eu/2010/02/remote-debugging-with-gdb-part-2-gdb/
# Start gdbserver on target and connect through SSH link
-target remote | ssh -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null @RSYNC_TARGET@ gdbserver - afb-daemon --port=@AFB_REMPORT@ --workdir=@RSYNC_PREFIX@/@PROJECT_NAME@ --roothttp=./htdocs --ldpath=./lib --verbose --token=@AFB_TOKEN@
+target remote | ssh -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null @RSYNC_TARGET@ gdbserver - afb-daemon --port=@AFB_REMPORT@ --workdir=@RSYNC_PREFIX@/@PROJECT_NAME@ --roothttp=./htdocs --ldpaths=./lib --verbose --token=@AFB_TOKEN@
+
+# Disable auto answer no on questions and to set breakpoint
+set confirm off
# Disable auto load of libraries to improved perf
set auto-solib-add off