[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [avr-gcc-list] FW: Ok, one more ELF/Dwarf question
From: |
Larry Barello |
Subject: |
RE: [avr-gcc-list] FW: Ok, one more ELF/Dwarf question |
Date: |
Mon, 15 Nov 2004 12:51:37 -0800 |
Yes, this is for dealing with Astudio 4.10...
I looked at the GCC output for compiling a C module to asm and it appears
the C compiler puts lots and lots of debug info into the assembly to support
dwarf-2. So it appears I am outta luck. I'll need to wrap my assembly
stuff in C... which means I'll need to re-read the section on clobbers and
temps, etc. Sigh.
Maybe coff wasn't so bad. At least the assembler could deal with it via
stabs
-----Original Message-----
From: E. Weddington
Larry Barello wrote:
>Is there a prototype for entering dwarf-2 information into assembly
modules?
>I have the magic lines for stabs data, but apparently that isn't good
enough
>so none of my assembly modules appear in the debugger.
>
>
>A casual glance at the readme & libc documentation doesn't show anything
>regarding dwarf-2 support.
>
>
>
Which debugger? I'm assuming you mean AVR Studio? Because AFAIK, AVR
Studio 4.10 requires DWARF2 debugging information, but the AVR port of
GDB requires stabs. And AFAIK, the avr-libc docs won't have anything
about DWARF2 because of GDB, and because this is a recent change. Have
you checked the binutils/gcc docs?