avr-libc-dev
[Top][All Lists]
Advanced

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

RE: [avr-libc-dev] [task #3693] Add new devices: mega640-1280-1281-2560-


From: Darcy Watkins
Subject: RE: [avr-libc-dev] [task #3693] Add new devices: mega640-1280-1281-2560-2561
Date: Wed, 16 Mar 2005 08:00:22 -0800

Hi,

Have any of you checked into the following avr-gcc bug?

 [Bug target/19087] Overflowed address in dwarf debug line information

  http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19087

I believe that this affects efforts to support debugging of devices having
more than 64k bytes of flash (including existing ATmega128).

As it stands, I was able to rebuild avr-gcc to generate 32 bit debug
information and Torlief sent me AVR studio parser DLLs to accept the 32 bit
information.  The problem I currently encounter is that all the data
addresses are offset by 800000 (for SRAM) and 810000 (for EEPROM).  This
reminded me of a while back when extended COFF was fully implemented in
binutils so I tried using avr-objcopy to remove the offsets using similar
appraoch to that used in the Makefile for generating extended coff debug
output.

It plain didn't work, like the support was never implemented, or perhaps it
is offsetting addresses used for fixups (which don't matter since the
offsets are already clipped off), but not offsetting them in the dwarf debug
records.


Regards,

Darcy

--------------------------------------------------------------
Darcy L. Watkins             email: address@hidden
Senior Software Developer    phone: (604) 455-2000
TASC Systems, Inc.           fax:   (604) 888-2712
9415 - 202 Street,           web:   http://www.tascsystems.com
Langley B.C. Canada V1M 4B5
--------------------------------------------------------------





reply via email to

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