public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/11134] New: DWARF Problems with const int globals
@ 2003-06-09 14:16 drkent@lanl.gov
  2003-06-09 14:21 ` [Bug c++/11134] " drow@mvista.com
                   ` (12 more replies)
  0 siblings, 13 replies; 14+ messages in thread
From: drkent@lanl.gov @ 2003-06-09 14:16 UTC (permalink / raw)
  To: gcc-bugs

PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

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

           Summary: DWARF Problems with const int globals
           Product: gcc
           Version: 3.3
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: c++
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: drkent@lanl.gov
                CC: gcc-bugs@gcc.gnu.org

I am developing a dynamic instrumentation tool that uses DWARF and have
encountered a few problems that could be from the dwarf information generated by
g++  3.3.

There are a few global variables defined as "const int".  When the tool parses
the binary, it attempts to locate these variables and then gives a
DW_DLV_NO_ENTRY error which means that the attribute is not where the dwarf
information says it is.

I have avoided these problems by changing the global const ints to #define
statments, and the code runs properly.

Please contact me with any questions.


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

end of thread, other threads:[~2004-01-23 20:15 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-06-09 14:16 [Bug c++/11134] New: DWARF Problems with const int globals drkent@lanl.gov
2003-06-09 14:21 ` [Bug c++/11134] " drow@mvista.com
2003-06-09 14:29 ` dberlin@dberlin.org
2003-06-09 14:38 ` drow@mvista.com
2003-06-09 18:32 ` drkent@lanl.gov
2003-06-09 18:33 ` drkent@lanl.gov
2003-06-09 18:33 ` [Bug c++/11134] DWARF-2/3 " pinskia@physics.uc.edu
2003-06-18 14:57 ` drkent at lanl dot gov
2003-06-28 18:27 ` pinskia at physics dot uc dot edu
2003-11-21 15:49 ` [Bug debug/11134] " pinskia at gcc dot gnu dot org
2004-01-17 23:37 ` dhazeghi at yahoo dot com
2004-01-20 14:09 ` drkent at lanl dot gov
2004-01-20 16:18 ` dhazeghi at yahoo dot com
2004-01-23 20:15 ` drow 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).