public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/19087] New: Overflowed address in dwarf debug line information
@ 2004-12-20  9:54 tsandnes at atmel dot com
  2004-12-20 12:53 ` [Bug debug/19087] " pinskia at gcc dot gnu dot org
                   ` (21 more replies)
  0 siblings, 22 replies; 37+ messages in thread
From: tsandnes at atmel dot com @ 2004-12-20  9:54 UTC (permalink / raw)
  To: gcc-bugs

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


^ permalink raw reply	[flat|nested] 37+ messages in thread
[parent not found: <bug-19087-9466@http.gcc.gnu.org/bugzilla/>]

end of thread, other threads:[~2007-04-09 21:16 UTC | newest]

Thread overview: 37+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-12-20  9:54 [Bug c/19087] New: Overflowed address in dwarf debug line information tsandnes at atmel dot com
2004-12-20 12:53 ` [Bug debug/19087] " pinskia at gcc dot gnu dot org
2004-12-20 13:40 ` tsandnes at atmel dot no
2004-12-20 13:44 ` pinskia at gcc dot gnu dot org
2004-12-20 14:02 ` tsandnes at atmel dot com
2004-12-20 14:03 ` [Bug target/19087] " tsandnes at atmel dot com
2004-12-20 14:05 ` pinskia at gcc dot gnu dot org
2004-12-20 14:15 ` tsandnes at atmel dot no
2004-12-20 17:44 ` ericw at evcohs dot com
2005-02-11 23:13 ` ericw at evcohs dot com
2005-02-16  6:42 ` dwatkins at tascsystems dot com
2005-02-17 10:23 ` dwatkins at tascsystems dot com
2005-02-17 12:45 ` schlie at comcast dot net
2005-03-07 16:31 ` dwatkins at tascsystems dot com
2005-03-07 22:50 ` dwatkins at tascsystems dot com
2005-03-08  7:07 ` tsandnes at atmel dot no
2005-03-11  7:43 ` tsandnes at atmel dot com
2005-03-16 16:54 ` ericw at evcohs dot com
2005-05-06 14:12 ` bjoern dot m dot haase at web dot de
2005-05-09  7:02 ` tsandnes at norway dot atmel dot com
2005-05-30 21:40 ` bjoern dot m dot haase at web dot de
2005-05-30 21:40 ` bjoern dot m dot haase at web dot de
2005-07-27 23:39 ` giovannibajo at libero dot it
     [not found] <bug-19087-9466@http.gcc.gnu.org/bugzilla/>
2005-12-28 23:01 ` eweddington at cso dot atmel dot com
2006-03-27 20:53 ` j at uriah dot heep dot sax dot de
2006-08-31 15:40 ` eweddington at cso dot atmel dot com
2006-08-31 15:41 ` eweddington at cso dot atmel dot com
2006-09-19 21:54 ` eweddington at cso dot atmel dot com
2006-09-20  0:00 ` dberlin at gcc dot gnu dot org
2006-09-20  3:38 ` eweddington at cso dot atmel dot com
2006-09-21 15:18 ` eweddington at cso dot atmel dot com
2007-01-31 17:24 ` aesok at gcc dot gnu dot org
2007-01-31 17:35 ` aesok at gcc dot gnu dot org
2007-02-13 19:00 ` eweddington at cso dot atmel dot com
2007-02-15 20:02 ` aesok at gcc dot gnu dot org
2007-02-15 20:14 ` aesok at gcc dot gnu dot org
2007-04-09 21:16 ` eweddington at cso dot atmel dot com

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).