Added a script to debug.
authorAndrea Zagli <azagli@libero.it>
Wed, 29 Jul 2015 14:13:14 +0000 (16:13 +0200)
committerAndrea Zagli <azagli@libero.it>
Wed, 29 Jul 2015 14:13:14 +0000 (16:13 +0200)
debugcgi.sh [new file with mode: 0755]

diff --git a/debugcgi.sh b/debugcgi.sh
new file mode 100755 (executable)
index 0000000..29824ed
--- /dev/null
@@ -0,0 +1,4 @@
+#!/bin/bash
+
+PID=`ps ax | grep $1 | grep -v grep | awk ' { print $1 }'`
+gdb --pid $PID --symbols=$2