Gdb, the GNU debugger, is probably the most used open source debugger for embedded systems. The AVR version of gdb on the Mac is unfortunately not very cooperative. If you try to read an elf file, you get the following funny message (reminding us of HAL9000):
I’m sorry, Dave, I can’t do that. Symbol format `elf32-avr’ unknown.
But with the right homebrew formula one can teach gdb some new tricks …
EDIT: The problem has been solved by the homebrew maintainers.