[Bug debug/48229] DW_TAG_type_unit has no DW_AT_producer

2011-03-28 Thread jan.kratochvil at redhat dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48229 --- Comment #5 from Jan Kratochvil jan.kratochvil at redhat dot com 2011-03-28 09:12:20 UTC --- Created attachment 23788 -- http://gcc.gnu.org/bugzilla/attachment.cgi?id=23788 GDB patch attempt with ptype regressions. (In reply to comment #4)

[Bug debug/48229] DW_TAG_type_unit has no DW_AT_producer

2011-03-28 Thread jakub at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48229 --- Comment #6 from Jakub Jelinek jakub at gcc dot gnu.org 2011-03-28 09:22:57 UTC --- .debug_types only appears with -gdwarf-4, I don't think any gcc defaulted to that yet, so if you are talking about DW_AT_accessibility default, IMHO just

[Bug debug/48229] DW_TAG_type_unit has no DW_AT_producer

2011-03-23 Thread dodji at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48229 --- Comment #1 from Dodji Seketeli dodji at gcc dot gnu.org 2011-03-23 09:31:08 UTC --- I am not sure to understand why the DW_TAG_type_unit DIE should have a DW_AT_producer attribute. From the DWARF-4 specification, I can't see DW_AT_producer

[Bug debug/48229] DW_TAG_type_unit has no DW_AT_producer

2011-03-23 Thread dodji at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48229 --- Comment #2 from Dodji Seketeli dodji at gcc dot gnu.org 2011-03-23 11:28:28 UTC --- This is a very lightly tested patch to add the DW_AT_producer attribute to the DW_TAG_type_unit DIE. diff --git a/gcc/dwarf2out.c b/gcc/dwarf2out.c index

[Bug debug/48229] DW_TAG_type_unit has no DW_AT_producer

2011-03-23 Thread jakub at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48229 Jakub Jelinek jakub at gcc dot gnu.org changed: What|Removed |Added CC||jakub at gcc dot

[Bug debug/48229] DW_TAG_type_unit has no DW_AT_producer

2011-03-23 Thread jan.kratochvil at redhat dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48229 --- Comment #4 from Jan Kratochvil jan.kratochvil at redhat dot com 2011-03-23 13:07:02 UTC --- (In reply to comment #3) I think it is a bad idea to add DW_AT_producer to .debug_type units. Making each .debug_types addition 4 bytes longer is

[Bug debug/48229] DW_TAG_type_unit has no DW_AT_producer

2011-03-23 Thread dodji at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48229 Dodji Seketeli dodji at gcc dot gnu.org changed: What|Removed |Added Status|ASSIGNED|NEW

[Bug debug/48229] DW_TAG_type_unit has no DW_AT_producer

2011-03-22 Thread dodji at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48229 Dodji Seketeli dodji at gcc dot gnu.org changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Last