[Bug c/19087] New: Overflowed address in dwarf debug line information

tsandnes at atmel dot com gcc-bugzilla@gcc.gnu.org
Mon Dec 20 09:54:00 GMT 2004


The mapping between addresses and code locations is invalid in object files
compiled for AVR targets that addresses code above 64K. This seems like a
"rollover" bug because addresses immediately above 64K have values near 0. 

To reproduce this bug, generate a source file that uses more than 64K of program
memory and try to parse the .debug_line section using libdwarf or by
implementing the state machine described in section 6.2 of "DWARF Debugging
Information Format" revision 2.0.0

This is probably a side-effect of the AVR usually only addressing 64K of program
memory. 
http://reality.sgi.com/davea/
http://dwarf.freestandards.org/modules.php?name=Content&pa=showpage&pid=6

-- 
           Summary: Overflowed address in dwarf debug line information
           Product: gcc
           Version: 3.4.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: c
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: tsandnes at atmel dot com
                CC: gcc-bugs at gcc dot gnu dot org
 GCC build triplet: mingw32
  GCC host triplet: 386
GCC target triplet: AVR


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



More information about the Gcc-bugs mailing list