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

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

Re: [avr-gcc-list] WinAVR, file XXX not found in symbol table


From: wbounce
Subject: Re: [avr-gcc-list] WinAVR, file XXX not found in symbol table
Date: Wed, 9 Feb 2005 22:24:40 -0500

I am having trouble with avrstudio to but to your problem how are you
loading the elf file?
When I open AVR studio I get a Welcome to AVR Studio 4 dialog. If you
click the open button (not the create project button) you can browse to
your directory. You should see the .elf and the .hex file. Select the
.elf file and it should open. This should then create a test_elf.aps
file which is a xml file (if you copy it and rename it to.xml you can
view it in a xml browser (like your web browser)). In the file has a
section called <files>. Mine picks up all the files including my and
avrlib include files. Maybe you could add you file names here with a
text editor

Also please note that If the lines below are your line it has avr-gcc
-mmcu=3Datmega32 -I. -gstabs  
Where my line look like avr-gcc -mmcu=atmega128 -I. -gdwarf-2  
Note I have dwarf-2 and you have gstabs

Also there was something about a problem with the XML parser that
required some kind of update. I remember seeing it on AVR Freaks.


------- original  -----
Date: Wed, 9 Feb 2005 17:39:40 +0100 (CET)
From: "Preben Mikael Bohn" <address@hidden>
To: address@hidden
Subject: Re: [avr-gcc-list] WinAVR, file XXX not found in symbol table,
                ignoring...
Message-ID: <address@hidden>
In-Reply-To: <address@hidden>
References: <address@hidden>   
    <address@hidden>   
    <address@hidden>
    <address@hidden>
    <address@hidden>

Content-Type: text/plain;charset=iso-8859-1
MIME-Version: 1.0
Content-Transfer-Encoding: quoted-printable
Precedence: list
Message: 15

> Wait! Stop there!

All right... :-)

> You need to think about how you're going to debug. If you're are going

> to use the latest AVR Studio (4.11) then you need to use:
> - ELF file format
> - DWARF2 debugging information.

OK, so my current compilation lines are:
Assembling: test.S
avr-gcc -c -mmcu=3Datmega32 -I. -x assembler-with-cpp
-Wa,-adhlns=3Dtest.lst,-gdwarf2 test.S -o test.o

Linking: test.elf
avr-gcc -mmcu=3Datmega32 -I. -gstabs   -O0 -funsigned-char
-funsigned-bitfields -fpack-struct -fshort-enums -Wall
-Wstrict-prototype= s -Wa,-adhlns=3Dtest.o  -std=3Dgnu99
-Wp,-M,-MP,-MT,test.o,-MF,.dep/test.el=
f.d=20
test.o  --output test.elf -Wl,-Map=3Dtest.map,--cref    -lm

But when I try to load the elf file in AVR studio (I guess this is the
file to use?) I still get: "Coordinator The object file does not contain
source code information." and the disassembled version is shown insted
of the source...

In any case I have just started porting my code to Atmel's format and it
is really not that hard... :-)

Best regards Preben



reply via email to

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