forked from Github_Repos/cvw
		
	change genTrace to dump UART output to file so we can see how far parsing got
This commit is contained in:
		
							parent
							
								
									742e8d98cd
								
							
						
					
					
						commit
						099fc34c10
					
				@ -38,7 +38,7 @@ then
 | 
				
			|||||||
    -bios $imageDir/fw_jump.elf -kernel $imageDir/Image -append "root=/dev/vda ro" -initrd $imageDir/rootfs.cpio \
 | 
					    -bios $imageDir/fw_jump.elf -kernel $imageDir/Image -append "root=/dev/vda ro" -initrd $imageDir/rootfs.cpio \
 | 
				
			||||||
    -singlestep -rtc clock=vm -icount shift=0,align=off,sleep=on,rr=replay,rrfile=$recordFile \
 | 
					    -singlestep -rtc clock=vm -icount shift=0,align=off,sleep=on,rr=replay,rrfile=$recordFile \
 | 
				
			||||||
    -d nochain,cpu,in_asm,int \
 | 
					    -d nochain,cpu,in_asm,int \
 | 
				
			||||||
    2>&1 >/dev/null | ./parseQEMUtoGDB.py | ./parseGDBtoTrace.py $interruptsFile | ./remove_dup.awk > $traceFile)
 | 
					    2>&1 >./qemu-serial | ./parseQEMUtoGDB.py | ./parseGDBtoTrace.py $interruptsFile | ./remove_dup.awk > $traceFile)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    echo "genTrace.sh completed!"
 | 
					    echo "genTrace.sh completed!"
 | 
				
			||||||
    echo "You may want to restrict write access to $tvDir now and give cad ownership of it."
 | 
					    echo "You may want to restrict write access to $tvDir now and give cad ownership of it."
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
		Reference in New Issue
	
	Block a user