AVR simulator ported to FreePascal, with integrated GDB server.
lazbuild avrsim.lpi
or
fpc avrsim.lpr
avrsim file.bin
Normal simulation
avrsim -d2159 file.bin
Starts a new simulation, halts at address 0, and waits for GDB Remote connections on the given port (2159 in this example).
avrsim -6 file.bin
Simulates avr6