annotate debug-moar.sh @ 0:b8fca1c0f503

intial commit
author anatofuz
date Sat, 03 Nov 2018 22:49:27 +0900
parents
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
b8fca1c0f503 intial commit
anatofuz
parents:
diff changeset
1 #!/bin/sh
b8fca1c0f503 intial commit
anatofuz
parents:
diff changeset
2
b8fca1c0f503 intial commit
anatofuz
parents:
diff changeset
3 TARGET_MOAR="../MoarVM/moar"
b8fca1c0f503 intial commit
anatofuz
parents:
diff changeset
4 LIBPATH="/mnt/dalmore-home/one/src/MoarVM_Original/nqp/gen/moar/stage2"
b8fca1c0f503 intial commit
anatofuz
parents:
diff changeset
5
b8fca1c0f503 intial commit
anatofuz
parents:
diff changeset
6 if [ $# -ne 1 ]; then
b8fca1c0f503 intial commit
anatofuz
parents:
diff changeset
7 echo "cbc-tools/this.sh vmtest/src/001-.t.moar"
b8fca1c0f503 intial commit
anatofuz
parents:
diff changeset
8 exit 1
b8fca1c0f503 intial commit
anatofuz
parents:
diff changeset
9 fi
b8fca1c0f503 intial commit
anatofuz
parents:
diff changeset
10
b8fca1c0f503 intial commit
anatofuz
parents:
diff changeset
11 TARGET=$1
b8fca1c0f503 intial commit
anatofuz
parents:
diff changeset
12
b8fca1c0f503 intial commit
anatofuz
parents:
diff changeset
13 gdb --args ${TARGET_MOAR} --libpath=${LIBPATH} ${TARGET}