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

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

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


From: Theodore A. Roth
Subject: Re: [avr-gcc-list] Debugging with simulavr/gdb/ddd
Date: Mon, 2 Sep 2002 11:04:37 -0700 (PDT)

On Mon, 2 Sep 2002, Andreas Schwarz wrote:

:) 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

Change this to:

  $ avr-gcc -g -mmcu=at90s8515 gcctest1.c

Without the -g option, you won't have debugging information in the elf
file and gdb will be unable to map instructions to source line numbers
(among other things).

Ted Roth

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



reply via email to

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