[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[avr-gcc-list] avr-as and symbolic debugging in AVR Studio 4
From: |
Brian Cuthie |
Subject: |
[avr-gcc-list] avr-as and symbolic debugging in AVR Studio 4 |
Date: |
Thu, 14 Aug 2003 15:49:01 -0400 |
Has anyone been able to symbolically debug avr-as assembled files in AVR
Studio 4? I'm using the WinAVR binutils avr-objcopy that converts from
elf to coff file formats. I've looked at the .stab sections of the file
and they look ok. But objcopy complains about a number of things.
Here's the file I'm assembling:
.file "demo.s"
.stabs "f:/temp/",100,0,0,Foo
.stabs "demo.s",130,0,0,0
.section .text
.func Foo
.global Foo
Foo:
cli
rjmp Foo
.endfunc
Using the command:
avr-as --gstabs -a -mmcu=atmega16 -o demo.o demo.s
Output from the assembler looks fine, but when I run objcopy, I get the
following error:
F:\Temp>avr-objcopy --debugging -O coff-ext-avr demo.o demo.coff
Warning: file f:/temp/ not found in symbol table, ignoring
Warning: ignoring function Foo() outside any compilation unit
Anyway, I'm at wit's end. If anyone can help, I'd appreciate it.
Thanks
-brian
- [avr-gcc-list] avr-as and symbolic debugging in AVR Studio 4,
Brian Cuthie <=