comparison debug-moar.sh @ 0:b8fca1c0f503

intial commit
author anatofuz
date Sat, 03 Nov 2018 22:49:27 +0900
parents
children
comparison
equal deleted inserted replaced
-1:000000000000 0:b8fca1c0f503
1 #!/bin/sh
2
3 TARGET_MOAR="../MoarVM/moar"
4 LIBPATH="/mnt/dalmore-home/one/src/MoarVM_Original/nqp/gen/moar/stage2"
5
6 if [ $# -ne 1 ]; then
7 echo "cbc-tools/this.sh vmtest/src/001-.t.moar"
8 exit 1
9 fi
10
11 TARGET=$1
12
13 gdb --args ${TARGET_MOAR} --libpath=${LIBPATH} ${TARGET}