mirror of
https://github.com/netsurf-browser/netsurf
synced 2025-03-21 14:33:40 +03:00
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/
|
NETSURFRES=`dirname $0`/gtk/res/
|
||||||
export NETSURFRES
|
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
|
exec $GDB `dirname $0`/nsgtk -v "$@" 2>&1 | tee $LOG
|
||||||
|
Loading…
x
Reference in New Issue
Block a user