mirror of
https://github.com/openhwgroup/cvw
synced 2025-02-11 06:05:49 +00:00
change debugBuildroot because GDB formatted list is now 50 lines long per instruction (we lost 6 CSRs on the whole)
This commit is contained in:
parent
aeaf4a31f0
commit
af5d319f08
@ -23,16 +23,16 @@ outDir="../linux-testvectors"
|
|||||||
# Uncomment this version to generate qemu_output.txt
|
# Uncomment this version to generate qemu_output.txt
|
||||||
# - Uses GDB script
|
# - Uses GDB script
|
||||||
# - Logs raw QEMU output to qemu_output.txt
|
# - Logs raw QEMU output to qemu_output.txt
|
||||||
($customQemu -M virt -nographic -bios $imageDir/fw_jump.elf -kernel $imageDir/Image -append "root=/dev/vda ro" -initrd $imageDir/rootfs.cpio -d nochain,cpu,in_asm -serial /dev/null -singlestep -gdb tcp::1237 -S 2> $intermedDir/qemu_output.txt) & riscv64-unknown-elf-gdb -x gdbinit_debug
|
#($customQemu -M virt -nographic -bios $imageDir/fw_jump.elf -kernel $imageDir/Image -append "root=/dev/vda ro" -initrd $imageDir/rootfs.cpio -d nochain,cpu,in_asm -serial /dev/null -singlestep -gdb tcp::1237 -S 2> $intermedDir/qemu_output.txt) & riscv64-unknown-elf-gdb -x gdbinit_debug
|
||||||
|
|
||||||
# Uncomment this version for parse_qemu.py debugging
|
# Uncomment this version for parse_qemu.py debugging
|
||||||
# - Uses qemu_output.txt
|
# - Uses qemu_output.txt
|
||||||
# - Makes qemu_in_gdb_format.txt
|
# - Makes qemu_in_gdb_format.txt
|
||||||
# - Splits qemu_in_gdb_format.txt into chunks of 100,000 instrs
|
# - Splits qemu_in_gdb_format.txt into chunks of 100,000 instrs
|
||||||
#cat $intermedDir/qemu_output.txt | ./parse_qemu.py >$intermedDir/qemu_in_gdb_format.txt
|
#cat $intermedDir/qemu_output.txt | ./parse_qemu.py >$intermedDir/qemu_in_gdb_format.txt
|
||||||
#cd $intermedDir
|
cd $intermedDir
|
||||||
#split -d -l 5600000 ./qemu_in_gdb_format.txt --verbose
|
split -d -l 5000000 ./qemu_in_gdb_format.txt --verbose
|
||||||
#cd ../../testvector-generation
|
cd ../../testvector-generation
|
||||||
|
|
||||||
# Uncomment this version for parse_gdb_output.py debugging
|
# Uncomment this version for parse_gdb_output.py debugging
|
||||||
# - Uses qemu_in_gdb_format.txt
|
# - Uses qemu_in_gdb_format.txt
|
||||||
|
Loading…
Reference in New Issue
Block a user