mirror of
https://github.com/esp8266/Arduino.git
synced 2025-07-27 18:02:17 +03:00
emulation on host: makefile rework (#7738)
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
This commit is contained in:
3
tests/host/valgdb
Executable file
3
tests/host/valgdb
Executable file
@ -0,0 +1,3 @@
|
||||
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"
|
Reference in New Issue
Block a user