Allow ./test-nsgtk --gdb [http://blahblahblah/]
svn path=/trunk/netsurf/; revision=11882
This commit is contained in:
parent
db69e8045b
commit
4e953db875
13
test-nsgtk
13
test-nsgtk
|
@ -22,4 +22,17 @@ ulimit -c unlimited
|
|||
|
||||
NETSURFRES=`dirname $0`/gtk/res/
|
||||
export NETSURFRES
|
||||
|
||||
if [ "x$1" = "x--gdb" ]; then
|
||||
GDB="gdb --args -x"
|
||||
echo
|
||||
echo
|
||||
echo "**********************************************************"
|
||||
echo "Remember to type 'run' and press ENTER once gdb has loaded"
|
||||
echo "**********************************************************"
|
||||
echo
|
||||
echo
|
||||
shift
|
||||
fi
|
||||
|
||||
exec $GDB `dirname $0`/nsgtk -v "$@" 2>&1 | tee $LOG
|
||||
|
|
Loading…
Reference in New Issue