bbdbg: Set source directory location
This allows gdb to resolve source lines by installation of source IPKs.
Signed-off-by: Andrew Jeffery <andrew@aj.id.au>
Change-Id: I3e5bab6ff6fb97ec2a74ac67f6f4ccfb8a6a2cbe
diff --git a/bbdbg/bbdbg b/bbdbg/bbdbg
index 601ed74..a94af91 100755
--- a/bbdbg/bbdbg
+++ b/bbdbg/bbdbg
@@ -49,6 +49,7 @@
gdb-multiarch -q \
-iex "set solib-absolute-prefix $BBDBG_ROOT" \
-iex "add-auto-load-safe-path $BBDBG_ROOT" \
+ -iex "set directories $BBDBG_ROOT" \
${BBDBG_ROOT}${BBDBG_FILE} \
$([ '-' = "${BBDBG_CORE}" ] || echo ${BBDBG_CORE})
set +x