Author: wyoung
Date: Sun Apr 1 23:35:25 2007
New Revision: 1488
URL: http://svn.gna.org/viewcvs/mysqlpp?rev=1488&view=rev
Log:
Added ability to run examples under gdb using exrun, using same
mechanism as we currently have for valgrind. Patch by Michael
Hanselmann <[EMAIL PROTECTED]>
Modified:
trunk/exrun
Modified: trunk/exrun
URL:
http://svn.gna.org/viewcvs/mysqlpp/trunk/exrun?rev=1488&r1=1487&r2=1488&view=diff
==============================================================================
--- trunk/exrun (original)
+++ trunk/exrun Sun Apr 1 23:35:25 2007
@@ -28,6 +28,20 @@
exit 1
fi
PROG=$1
+
+elif [ "$PROG" == 'gdb' ]
+then
+ TOOL='gdb --args'
+ shift
+ if [ -z "$1" ]
+ then
+ echo "usage: $0 gdb <example> [args...]"
+ echo
+ echo " Run $0 without arguments for more detailed usage info."
+ echo
+ exit 1
+ fi
+ PROG=$1
fi
shift
_______________________________________________
Mysqlpp-commits mailing list
[email protected]
https://mail.gna.org/listinfo/mysqlpp-commits