The featured image of this blog post has been created by Cryteria, CC BY 3.0, Link

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.