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

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

Re: [avr-gcc-list] Astudio source display


From: cpqxl
Subject: Re: [avr-gcc-list] Astudio source display
Date: Tue, 26 Nov 2002 13:38:49 +0100

Hi Russell,

hex files don't contain symbols.

In order to have a symbolic debug you have to load a cof file.

The problem is that avr-gcc environment generates elf format files.

Then, to convert elf to cof you could use the (very) new tool named
"objtool"

See below:

>
> Jason Riffel released his new objtool (was: elfcoff) to the community w/
> source:
> http://www.avrfreaks.com/phorum/download.php?f=2&file=objtool_05b.zip
> Read his release-mail:
> http://www.avrfreaks.com/phorum/read.php?f=2&i=4979&t=4974#4979
>
> He is currently in the process of creating an sourceforge-project for
> his tool.
>
>
>
> Greetings
> /Marc


Ciao,
Claudio


----- Original Message -----
From: "Russell" <address@hidden>
To: <address@hidden>
Sent: Tuesday, November 26, 2002 11:19 AM
Subject: [avr-gcc-list] Astudio source display


> Hi all,
>
> I'm using avr-gcc 3.0.3 and Astudio 4.05 with an at90s8535.
> I can load the intel hex (ihex) file into astudio and
> see the assembly code, but i can't get the C source to
> display. Do i need to load a symbols file separately?
> I've got all kinds of debugging options switched on:
>
   CFLAGS: -c -Wall -g -mmcu=at90s8535 -Wstrict_prototypes -mcall-prologues
\
>                                -Wa,-ahls=target.lst,-L
>    LDFLAGS: -Wl,-Map,target.map
>
> When i load target.hex (generated with avr-objcopy), astudio shows
> the assembler code, but says:
>    "Coordinator: The object file does not contain source code
information."
>
> avr-gcc-list at http://avr1.org

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



reply via email to

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