[ << ] [ < ] [ Up ] [ > ] [ >> ]         [Top] [Contents] [Index] [ ? ]

3.2 Building GDB for AVR

In order to use simulavr as a backend to gdb, you must build a special AVR version of gdb. All gdb versions starting with gdb-5.2.1 officially support the AVR target. You can just configure gdb with the --target=avr option. For example, you can use this procedure to install avr-gdb in /usr/local/bin:

$ ./configure --target=avr
$ make
$ su
# make install
# exit

[ << ] [ < ] [ Up ] [ > ] [ >> ]

This document was generated on February 22, 2025 using texi2html 5.0.