Mirror of the gdb mailing list
 help / color / mirror / Atom feed
* check for valid location of zero length dwarf block forms?
@ 2009-11-22 17:04 Jack Howarth
  2009-11-22 20:22 ` Jan Kratochvil
  0 siblings, 1 reply; 6+ messages in thread
From: Jack Howarth @ 2009-11-22 17:04 UTC (permalink / raw)
  To: gdb

   Since the var-tracking-association code merge into
gcc trunk, we have had issues with Apple's dsymutil
program crashing on the code generated by the FSF
gcc trunk compiler...

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

Apple's dsymutil maintainer analyzed this issue...

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41473#c27
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41473#c29

...as dwarf debug info containing an AT_location with
any block form having a zero length.
   The question is if these emitted dwarf codes are
accidental errors. Apple believes that if the variable
doesn't have a location, the DW_AT_location attribute
shouldn't be emitted. Also, if the variable does have
a valid location, then the length of zero is likely
a bug in dwarf2out.c.
   It might be worthwhile for the gdb developers to
look into this issue since there might be either
unnecessary dwarf output or incorrect dwarf output
that binutils doesn't recognize as such.
     Thanks in advance for any comments.
                 Jack


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2009-11-23 19:57 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-11-22 17:04 check for valid location of zero length dwarf block forms? Jack Howarth
2009-11-22 20:22 ` Jan Kratochvil
2009-11-23 14:17   ` Jack Howarth
2009-11-23 19:57     ` Jan Kratochvil
2009-11-24  8:56       ` Jack Howarth
2009-11-24 19:15         ` Cary Coutant

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox