GDB exercises Useful commands for OpenOCD: -f <file>. -d: allows debug logs. -l out.log: puts the logs in that file. -s: directory to search for config files.