vscode: export MI_XSD_PATH and LD_LIBRARY_PATH in gdb wrapper
authorJérémie Galarneau <jeremie.galarneau@efficios.com>
Wed, 22 May 2024 00:42:19 +0000 (00:42 +0000)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Thu, 27 Jun 2024 15:09:20 +0000 (11:09 -0400)
commit503cc7c20cc196b9e8aefb8a7739d181924af178
treeb45fefdd7aa9b8bd75a5cc0a0444ee65beee0a06
parent10c9e48bf29b5d7736b5c8635afb50f7c422e1a4
vscode: export MI_XSD_PATH and LD_LIBRARY_PATH in gdb wrapper

vscode fails to launch a session daemon using the libtool wrapper on machines
that don't have lttng installed since the XSD can't be loaded.

Export the MI_XSD_PATH to point to the file in the source tree to allow the
daemon to launch.

Moreover, launching the session daemon fails since it can't find
liblttng-ctl.so.0. Adding the library's .libs to LD_LIBRARY_PATH works around
the issue.

Change-Id: I52929b858917e5a103e067e6861cbdb5172744be
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
.vscode/launch.json
.vscode/libtool_gdb_wrapper.sh
This page took 0.025486 seconds and 4 git commands to generate.