summaryrefslogtreecommitdiffstats
path: root/gdb/gdb-on-target.ini.in
diff options
context:
space:
mode:
authorRomain Forlot <romain.forlot@iot.bzh>2017-07-10 14:09:36 +0200
committerRomain Forlot <romain.forlot@iot.bzh>2018-10-15 18:22:47 +0200
commit6a0e0eb8a1c6f709b02cd3a6eb4b2746806fcd90 (patch)
tree538e033b69f1d72c62654c7bad27db9219d7694f /gdb/gdb-on-target.ini.in
parent528de60ffff688102f689dfb100ea390258fcd70 (diff)
Fix: shared library files not found by gdb
Old behavior assume a PATH that do not exists using XDS-server this patch intends to make a list of bindings using a regex, as GDB interprets the argument. Change-Id: I67caa1853be67813e8de02cdbb34f107f1e1676c 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.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/gdb-on-target.ini.in b/gdb/gdb-on-target.ini.in
index 0478e90..32af784 100644
--- a/gdb/gdb-on-target.ini.in
+++ b/gdb/gdb-on-target.ini.in
@@ -24,6 +24,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