install openresty-gdb-utils
This commit is contained in:
parent
1a84719e0b
commit
c83150739c
1 changed files with 16 additions and 0 deletions
|
@ -282,6 +282,22 @@ if [[ (${ARCH} != "ppc64le") && (${ARCH} != "s390x") ]]; then
|
|||
/install_lua_resty_waf.sh
|
||||
fi
|
||||
|
||||
# install openresty-gdb-utils
|
||||
cd /
|
||||
git clone --depth=1 https://github.com/openresty/openresty-gdb-utils.git
|
||||
cat > ~/.gdbinit << EOF
|
||||
directory /openresty-gdb-utils
|
||||
|
||||
py import sys
|
||||
py sys.path.append("/openresty-gdb-utils")
|
||||
|
||||
source luajit20.gdb
|
||||
source ngx-lua.gdb
|
||||
source luajit21.py
|
||||
source ngx-raw-req.py
|
||||
set python print-stack full
|
||||
EOF
|
||||
|
||||
# build opentracing lib
|
||||
cd "$BUILD_PATH/opentracing-cpp-$OPENTRACING_CPP_VERSION"
|
||||
mkdir .build
|
||||
|
|
Loading…
Reference in a new issue