[Bug debug/41130] GCC should emit an index of publicly named entities

2010-06-15 Thread tromey at gcc dot gnu dot org


--- Comment #15 from tromey at gcc dot gnu dot org  2010-06-15 21:51 ---
I think we've decided not to pursue this route.


-- 

tromey at gcc dot gnu dot org changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||WONTFIX
   Target Milestone|--- |4.5.1
Version|tree-ssa|4.6.0


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



[Bug debug/41130] GCC should emit an index of publicly named entities

2010-03-23 Thread dodji at gcc dot gnu dot org


--- Comment #14 from dodji at gcc dot gnu dot org  2010-03-23 09:54 ---
Not working on this atm.


-- 

dodji at gcc dot gnu dot org changed:

   What|Removed |Added

 AssignedTo|dodji at gcc dot gnu dot org|unassigned at gcc dot gnu
   ||dot org
 Status|ASSIGNED|NEW


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



[Bug debug/41130] GCC should emit an index of publicly named entities

2009-12-07 Thread tromey at gcc dot gnu dot org


--- Comment #13 from tromey at gcc dot gnu dot org  2009-12-07 21:32 ---
It would be best for gdb if gcc emitted an empty section if
there was nothing to index.  See PR 42288 for an analogous case.
This is worth doing even though, in this situation, the resulting
CU won't really hold much of interest.  The reason is that if all
the CUs are represented, then gdb can defer even mapping .debug_info,
which is significant.


-- 

tromey at gcc dot gnu dot org changed:

   What|Removed |Added

Version|unknown |tree-ssa


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



[Bug debug/41130] GCC should emit an index of publicly named entities

2009-12-03 Thread tromey at gcc dot gnu dot org


--- Comment #10 from tromey at gcc dot gnu dot org  2009-12-03 18:08 ---
Created an attachment (id=19218)
 -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=19218action=view)
updated gcc patch to put the CU's language in the new section


-- 

tromey at gcc dot gnu dot org changed:

   What|Removed |Added

  Attachment #19055|0   |1
is obsolete||


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



[Bug debug/41130] GCC should emit an index of publicly named entities

2009-12-03 Thread tromey at gcc dot gnu dot org


--- Comment #11 from tromey at gcc dot gnu dot org  2009-12-03 18:09 ---
Created an attachment (id=19219)
 -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=19219action=view)
updated binutils patch to account for language in new index


-- 

tromey at gcc dot gnu dot org changed:

   What|Removed |Added

  Attachment #19214|0   |1
is obsolete||


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



[Bug debug/41130] GCC should emit an index of publicly named entities

2009-12-03 Thread tromey at gcc dot gnu dot org


--- Comment #12 from tromey at gcc dot gnu dot org  2009-12-03 18:16 ---
I compiled a C++ program with a gcc that includes this patch.
I see some erroneous entries in the resulting index.  E.g.:

  0xb8 DW_TAG_structure_type._6
 0x3f1 DW_TAG_structure_type   basic_string
0x3fc2 DW_TAG_structure_type   _Rep


-- 


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



[Bug debug/41130] GCC should emit an index of publicly named entities

2009-12-02 Thread tromey at gcc dot gnu dot org


--- Comment #9 from tromey at gcc dot gnu dot org  2009-12-02 19:40 ---
Created an attachment (id=19214)
 -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=19214action=view)
patch for readelf

This is an updated readelf patch.
Now readelf -wI works properly.


-- 

tromey at gcc dot gnu dot org changed:

   What|Removed |Added

  Attachment #19056|0   |1
is obsolete||


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



[Bug debug/41130] GCC should emit an index of publicly named entities

2009-11-19 Thread tromey at gcc dot gnu dot org


--- Comment #7 from tromey at gcc dot gnu dot org  2009-11-19 16:30 ---
Created an attachment (id=19055)
 -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=19055action=view)
modified patch

I've slightly updated the patch to handle non-public entities
as well.


-- 


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



[Bug debug/41130] GCC should emit an index of publicly named entities

2009-11-19 Thread tromey at gcc dot gnu dot org


--- Comment #8 from tromey at gcc dot gnu dot org  2009-11-19 16:45 ---
Created an attachment (id=19056)
 -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=19056action=view)
patch for readelf

This patch modifies the binutils readelf utility to
dump the new section.


-- 


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



[Bug debug/41130] GCC should emit an index of publicly named entities

2009-09-29 Thread tromey at gcc dot gnu dot org


--- Comment #6 from tromey at gcc dot gnu dot org  2009-09-29 20:03 ---
*** Bug 39708 has been marked as a duplicate of this bug. ***


-- 


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



[Bug debug/41130] GCC should emit an index of publicly named entities

2009-08-27 Thread dodji at gcc dot gnu dot org


--- Comment #4 from dodji at gcc dot gnu dot org  2009-08-27 09:31 ---
Created an attachment (id=18434)
 -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=18434action=view)
Updated patch

This patch removes the addition fix that was carried by previous patch as that
fix was pushed upstream, independently as PR debug/41770 .
Adjust tests to pass regtests.


-- 

dodji at gcc dot gnu dot org changed:

   What|Removed |Added

  Attachment #18420|0   |1
is obsolete||


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



[Bug debug/41130] GCC should emit an index of publicly named entities

2009-08-27 Thread dodji at gcc dot gnu dot org


--- Comment #5 from dodji at gcc dot gnu dot org  2009-08-27 09:33 ---
Created an attachment (id=18435)
 -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=18435action=view)
Oops.

Okay, this is the patch I wanted to attach. Not #18434. So the previous comment
applies to this entry.


-- 

dodji at gcc dot gnu dot org changed:

   What|Removed |Added

  Attachment #18434|0   |1
is obsolete||


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



[Bug debug/41130] GCC should emit an index of publicly named entities

2009-08-24 Thread dodji at gcc dot gnu dot org


--- Comment #2 from dodji at gcc dot gnu dot org  2009-08-24 21:40 ---
Created an attachment (id=18420)
 -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=18420action=view)
WIP with test

This version fixes a bug in gcc that was preventing it to emit DWARFs for a
typedefs enclosed in a namespace, if said namespace contain only typedefs.
As a matter of fact, the exemple accompanying the patch shows what's supported
now. Find attached below the generated assembly fo the exemple in the patch.


-- 

dodji at gcc dot gnu dot org changed:

   What|Removed |Added

  Attachment #18404|0   |1
is obsolete||


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



[Bug debug/41130] GCC should emit an index of publicly named entities

2009-08-24 Thread dodji at gcc dot gnu dot org


--- Comment #3 from dodji at gcc dot gnu dot org  2009-08-24 21:42 ---
Created an attachment (id=18421)
 -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=18421action=view)
Generated assembly for previous test

Assembly generated for the test in attachment #18420


-- 


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



[Bug debug/41130] GCC should emit an index of publicly named entities

2009-08-20 Thread dodji at gcc dot gnu dot org


-- 

dodji at gcc dot gnu dot org changed:

   What|Removed |Added

   Severity|normal  |enhancement


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



[Bug debug/41130] GCC should emit an index of publicly named entities

2009-08-20 Thread dodji at gcc dot gnu dot org


-- 

dodji at gcc dot gnu dot org changed:

   What|Removed |Added

 Status|UNCONFIRMED |ASSIGNED
 Ever Confirmed|0   |1
   Last reconfirmed|-00-00 00:00:00 |2009-08-20 12:45:00
   date||


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



[Bug debug/41130] GCC should emit an index of publicly named entities

2009-08-20 Thread dodji at gcc dot gnu dot org


--- Comment #1 from dodji at gcc dot gnu dot org  2009-08-20 14:42 ---
Created an attachment (id=18404)
 -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=18404action=view)
First shot implementation

Implements the .debug_gnu_index section. It fully implements the proposal,
modulo the possible bugs.
For now, .debug_pubtypes and .debug_pubnames are kept around.
It patch doesn't contain any test yet. I'll update it soon with some tests.


-- 


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