change checkpoint generation to integrate GDB scripting more cleanly and save UART and PLIC state

This commit is contained in:
bbracker 2022-03-07 17:59:49 -08:00
parent a93f36824d
commit 52bfd65fd3
5 changed files with 193 additions and 69 deletions

View file

@ -24,7 +24,7 @@ def tokenize(string):
#############
# Main Code #
#############
print("Begin parsing state.")
print("Begin parsing CPU state.")
# Parse Args
if len(sys.argv) != 2:
@ -96,4 +96,4 @@ with open(stateGDBpath, 'r') as stateGDB:
outFile.write(hex(byte)[2:]+'\n')
outFile.close()
print("Finished parsing state!")
print("Finished parsing CPU state!")