1
0
mirror of https://github.com/esp8266/Arduino.git synced 2025-04-22 21:23:07 +03:00
esp8266/tests/host/valgdb
david gauchard 2c178235c2
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
2020-12-02 10:01:56 +01:00

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"