mirror of
				https://github.com/esp8266/Arduino.git
				synced 2025-11-03 14:33:37 +03:00 
			
		
		
		
	Rework emualtion on host's Makefile: Avoid to spread object files everywhere by generating them into a single directory * everything is now in bin/ or bin32/ directories, coverage in lcov/ * optional running exec with valgrind + gdb
		
			
				
	
	
		
			4 lines
		
	
	
		
			212 B
		
	
	
	
		
			Plaintext
		
	
	
		
			Executable File
		
	
	
	
	
			
		
		
	
	
			4 lines
		
	
	
		
			212 B
		
	
	
	
		
			Plaintext
		
	
	
		
			Executable File
		
	
	
	
	
valgrind --vgdb=full --vgdb-error=0 "$@" & pid=$!
 | 
						|
echo "======== TUI:  ^p='^'  ^n='v'  ^f='>'  ^b='<' ========"
 | 
						|
xterm -e "gdb -ex \"target remote | vgdb --pid=$pid\" -ex \"tui enable\" -ex cont $1; kill -9 $pid"
 |