public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug debug/39705]  New: enum constants don't appear in debug_pubnames
@ 2009-04-09 23:42 tromey at gcc dot gnu dot org
  2009-07-27 14:36 ` [Bug debug/39705] " dodji at gcc dot gnu dot org
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: tromey at gcc dot gnu dot org @ 2009-04-09 23:42 UTC (permalink / raw)
  To: gcc-bugs

enum constants don't appear in .debug_pubnames.
It seems like perhaps they should, because they are global (in a sense).


-- 
           Summary: enum constants don't appear in debug_pubnames
           Product: gcc
           Version: 4.5.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: debug
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: tromey at gcc dot gnu dot org


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


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

* [Bug debug/39705] enum constants don't appear in debug_pubnames
  2009-04-09 23:42 [Bug debug/39705] New: enum constants don't appear in debug_pubnames tromey at gcc dot gnu dot org
@ 2009-07-27 14:36 ` dodji at gcc dot gnu dot org
  2009-07-29 12:40 ` dodji at redhat dot com
  2010-07-19 18:44 ` tromey at gcc dot gnu dot org
  2 siblings, 0 replies; 4+ messages in thread
From: dodji at gcc dot gnu dot org @ 2009-07-27 14:36 UTC (permalink / raw)
  To: gcc-bugs



-- 

dodji at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|unassigned at gcc dot gnu   |dodji at gcc dot gnu dot org
                   |dot org                     |
             Status|UNCONFIRMED                 |ASSIGNED
     Ever Confirmed|0                           |1
   Last reconfirmed|0000-00-00 00:00:00         |2009-07-27 14:36:15
               date|                            |


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


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

* [Bug debug/39705] enum constants don't appear in debug_pubnames
  2009-04-09 23:42 [Bug debug/39705] New: enum constants don't appear in debug_pubnames tromey at gcc dot gnu dot org
  2009-07-27 14:36 ` [Bug debug/39705] " dodji at gcc dot gnu dot org
@ 2009-07-29 12:40 ` dodji at redhat dot com
  2010-07-19 18:44 ` tromey at gcc dot gnu dot org
  2 siblings, 0 replies; 4+ messages in thread
From: dodji at redhat dot com @ 2009-07-29 12:40 UTC (permalink / raw)
  To: gcc-bugs

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 825 bytes --]



------- Comment #1 from dodji at gcc dot gnu dot org  2009-07-29 12:40 -------
Subject: Re:   New: enum constants don't appear in debug_pubnames

Le 10/04/2009 01:42, tromey at gcc dot gnu dot org a écrit :
> enum constants don't appear in .debug_pubnames.
> It seems like perhaps they should, because they are global (in a sense).

The attached patchlet seems to be doing the trick.

The entry in the .debug_pubname for a given enum constant points to the
corresponding DW_TAG_enumerator DIE representing the enum constant in the
.debug_info section.

Is this what you meant ?


------- Comment #2 from dodji at gcc dot gnu dot org  2009-07-29 12:40 -------
Created an attachment (id=18267)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=18267&action=view)


-- 


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


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

* [Bug debug/39705] enum constants don't appear in debug_pubnames
  2009-04-09 23:42 [Bug debug/39705] New: enum constants don't appear in debug_pubnames tromey at gcc dot gnu dot org
  2009-07-27 14:36 ` [Bug debug/39705] " dodji at gcc dot gnu dot org
  2009-07-29 12:40 ` dodji at redhat dot com
@ 2010-07-19 18:44 ` tromey at gcc dot gnu dot org
  2 siblings, 0 replies; 4+ messages in thread
From: tromey at gcc dot gnu dot org @ 2010-07-19 18:44 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from tromey at gcc dot gnu dot org  2010-07-19 18:44 -------
In the end, we decided not to use .debug_pubnames in gdb.
And, GCC no longer generates this section on most platforms.
So, I am closing this bug.


-- 

tromey at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|                            |WONTFIX


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


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

end of thread, other threads:[~2010-07-19 18:44 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-04-09 23:42 [Bug debug/39705] New: enum constants don't appear in debug_pubnames tromey at gcc dot gnu dot org
2009-07-27 14:36 ` [Bug debug/39705] " dodji at gcc dot gnu dot org
2009-07-29 12:40 ` dodji at redhat dot com
2010-07-19 18:44 ` tromey at gcc dot gnu dot org

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).