blob: 83ab82e072077ce4f190414439401fb135120d31 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
#! /bin/bash
export LD_LIBRARY_PATH=`pwd`
#Add dummy lib in case we don't find it, e.g. there is no OFED installed
if ldd _t-rex-64 | grep "libibverbs.so" | grep -q "not found"; then
export LD_LIBRARY_PATH=$PWD:$PWD/dumy_libs
fi
/usr/bin/gdb --args ./_t-rex-64-debug $@
|