X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=gdb%2Fgdb-on-target.ini.in;h=52a33e2681ff715cf7ac78f289b09f658c0b0a0e;hb=e1ec23b524467ca1b946c2b707cf64d3a25e5880;hp=0478e90faeda83084ea66cfee8cec8ca06eb1603;hpb=e475d27e5f67d0efa61f91d3aa971c23226fc318;p=apps%2Fapp-templates.git diff --git a/gdb/gdb-on-target.ini.in b/gdb/gdb-on-target.ini.in index 0478e90..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 @@ -24,6 +27,6 @@ end # Manually load project libraries when loaded by afb-daemon break execute_command commands -sharedlibrary $ENV{PROJECT_DIR}/build/@PKGOUT_DIR@ +sharedlibrary @BINDINGS_REGEX@ continue -end \ No newline at end of file +end