Commit | Line | Data |
---|---|---|
a881d7c9 JG |
1 | #!/usr/bin/env sh |
2 | # Copyright (C) 2024 Jérémie Galarneau <jeremie.galarneau@efficios.com> | |
3 | # | |
4 | # SPDX-License-Identifier: LGPL-2.1-only | |
5 | # | |
6 | # Wrapper script to setup the environment before invoking gdb | |
7 | # on the in-tree binaries (under `.libs`) | |
8 | ||
503cc7c2 JG |
9 | CURDIR=$(dirname "$0")/ |
10 | export LD_LIBRARY_PATH="$CURDIR/../src/lib/lttng-ctl/.libs:$LD_LIBRARY_PATH" | |
11 | ||
a881d7c9 | 12 | libtool --mode=execute gdb "$@" |