avr-gcc-list
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [avr-gcc-list] Tutorial/Example of how to use avr-gdb and simavr un


From: Joerg Wunsch
Subject: Re: [avr-gcc-list] Tutorial/Example of how to use avr-gdb and simavr under Linux ?
Date: Mon, 26 Jan 2004 12:30:22 +0100 (MET)

"Anton Erasmus" <address@hidden> wrote:

> I would appreciate it if anyone could point me to a simple step by
> step example of how to simulate an AVR program under Linux and do
> source level debugging with gdb.

IIRC, that's well-described in the SimulAVR documentation.

In short:

$ simulavr -g -d atmega128 [-P simulavr-disp] &
$ avr-gdb yourfilename
...
(gdb) target remote :1212
(gdb) load
...
(gdb) b main
(gdb) cont


-- 
J"org Wunsch                                           Unix support engineer
address@hidden        http://www.interface-systems.de/~j/


reply via email to

[Prev in Thread] Current Thread [Next in Thread]