SUMMARYFirst test of gdb stub for the AVR microcontroller family. Ico Doornekamp, 2006
SUPPORTMail the author
First test of gdb stub for the AVR microcontroller family. Ico Doornekamp, 2006 - compile the code. The makefile might need some tweaking for your environment - put the code into the AVR - start the debugger : $ avr-gdb -x script main.elf The code in the AVR is interrupted, and control is handed over to the debugger. It is now possible to inspect variables (show, print), show a stack backtrace (bt) and continue operation (cont). Hitting ^C will give control back to the debugger again.