Mercurial > hg > Members > anatofuz > nqp-cbc-tools
annotate debug-moar.sh @ 14:2e4c952bcdfb
merge
author | Takahiro SHIMIZU <anatofuz@cr.ie.u-ryukyu.ac.jp> |
---|---|
date | Tue, 27 Nov 2018 13:05:50 +0900 |
parents | b8fca1c0f503 |
children |
rev | line source |
---|---|
0 | 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} |