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
Go to the first, previous, next, last section, table of contents.