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

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

[avr-gcc-list] Debugging with simulavr/gdb/ddd


From: Andreas Schwarz
Subject: [avr-gcc-list] Debugging with simulavr/gdb/ddd
Date: Mon, 2 Sep 2002 18:25:44 +0200

Hello,

I'm trying to simulate a simple example program with simulavr/gdb/ddd.
First I compile the source:
avr-gcc -mmcu=at90s8515 gcctest1.c
Then I start simulavr:
simulavr -d at90s8515 -g --disp-prog=simulavr-disp
And finally ddd:
ddd --debugger avr-gdb --command gdbinit

When gdb starts, I get a message like "/tmp/djsdzfu.s not found".
Stepping through the program seems to work (the PC in simulavr
increases), but I can't see the source!

What am I doing wrong?

Andreas

avr-gcc-list at http://avr1.org



reply via email to

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