From: Andrea Zagli Date: Wed, 29 Jul 2015 14:13:14 +0000 (+0200) Subject: Added a script to debug. X-Git-Tag: v0.0.1~6 X-Git-Url: https://saetta.ns0.it/gitweb?a=commitdiff_plain;h=841bd55203aefd2e43d04709924bd378f1e9f54d;p=libzakcgi Added a script to debug. --- diff --git a/debugcgi.sh b/debugcgi.sh new file mode 100755 index 0000000..29824ed --- /dev/null +++ b/debugcgi.sh @@ -0,0 +1,4 @@ +#!/bin/bash + +PID=`ps ax | grep $1 | grep -v grep | awk ' { print $1 }'` +gdb --pid $PID --symbols=$2