Mercurial > hg > Members > anatofuz > nqp-cbc-tools
view debug-moar.sh @ 18:25be3bb0adf0 default tip
add debug tool (dump_op_to_gdbco.pl)
author | Takahiro SHIMIZU <anatofuz@cr.ie.u-ryukyu.ac.jp> |
---|---|
date | Wed, 16 Jan 2019 16:50:10 +0900 |
parents | b8fca1c0f503 |
children |
line wrap: on
line source
#!/bin/sh TARGET_MOAR="../MoarVM/moar" LIBPATH="/mnt/dalmore-home/one/src/MoarVM_Original/nqp/gen/moar/stage2" if [ $# -ne 1 ]; then echo "cbc-tools/this.sh vmtest/src/001-.t.moar" exit 1 fi TARGET=$1 gdb --args ${TARGET_MOAR} --libpath=${LIBPATH} ${TARGET}