checkpoint initialization bugfix

This commit is contained in:
bbracker 2021-10-24 18:39:51 -07:00
parent 9423b90780
commit d348ebffda

View File

@ -32,7 +32,7 @@ then
# Post-Process GDB outputs
./parseState.py "$checkOutDir"
./fix_mem.py "$checkIntermedDir/ramGDB.txt" "$checkOutDir/ram.txt"
tail -n+$(($instrs-9)) "$outDir/$traceFile" > "$checkOutDir/$traceFile"
tail -n+$instrs "$outDir/$traceFile" > "$checkOutDir/$traceFile"
else
echo "You can change the number of instructions by editing the \"instrs\" variable in this script."
echo "Have a nice day!"