public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug debug/13276] New: missing debug information (dwarf2) for global variable
@ 2003-12-03  1:16 sdouglass at arm dot com
  2003-12-04  8:00 ` [Bug c++/13276] " pinskia at gcc dot gnu dot org
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: sdouglass at arm dot com @ 2003-12-03  1:16 UTC (permalink / raw)
  To: gcc-bugs

When I compile the following with gcc 3.3.2 (configured with --with-dwarf2) in
C++ mode no debug information is produced for 'var' -- there is no
DW_TAG_variable entry.  When compiled in C mode the debug info is present.

struct T { int a, b, c; };
extern struct T var;
struct T var;

> gcc -v
Reading specs from
/arm/eda/tools/gnu/gcc/3_3_2-nothreads/linux_rh_9-x86/lib/gcc-lib/i686-pc-linux-gnu/3.3.2/specs
Configured with: ../src-linux_rh_9-x86/configure
--prefix=/arm/eda/tools/gnu/gcc/3_3_2-nothreads
--exec-prefix=/arm/eda/tools/gnu/gcc/3_3_2-nothreads/linux_rh_9-x86
--program-suffix=-3_3_2-nothreads --disable-threads --enable-languages=c,c++ -v
--with-dwarf2 --enable-version-specific-runtime-libs --with-gnu-as
--with-as=/arm/eda/tools/gnu/binutils/2_14/linux_rh_9-x86/bin/as-2_14
--with-gnu-ld --with-ld=/arm/eda/tools/gnu/binutils/2_14/linux_rh_9-x86/bin/ld-2_14
Thread model: single
gcc version 3.3.2

-- 
           Summary: missing debug information (dwarf2) for global variable
           Product: gcc
           Version: 3.3.2
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: debug
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: sdouglass at arm dot com
                CC: gcc-bugs at gcc dot gnu dot org
 GCC build triplet: i686-pc-linux-gnu
  GCC host triplet: i686-pc-linux-gnu
GCC target triplet: i686-pc-linux-gnu


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


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

* [Bug c++/13276] missing debug information (dwarf2) for global variable
  2003-12-03  1:16 [Bug debug/13276] New: missing debug information (dwarf2) for global variable sdouglass at arm dot com
@ 2003-12-04  8:00 ` pinskia at gcc dot gnu dot org
  2003-12-04  8:35 ` pinskia at gcc dot gnu dot org
  2004-03-07  2:01 ` pinskia at gcc dot gnu dot org
  2 siblings, 0 replies; 4+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2003-12-04  8:00 UTC (permalink / raw)
  To: gcc-bugs



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|debug                       |c++
           Keywords|                            |wrong-code


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


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

* [Bug c++/13276] missing debug information (dwarf2) for global variable
  2003-12-03  1:16 [Bug debug/13276] New: missing debug information (dwarf2) for global variable sdouglass at arm dot com
  2003-12-04  8:00 ` [Bug c++/13276] " pinskia at gcc dot gnu dot org
@ 2003-12-04  8:35 ` pinskia at gcc dot gnu dot org
  2004-03-07  2:01 ` pinskia at gcc dot gnu dot org
  2 siblings, 0 replies; 4+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2003-12-04  8:35 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2003-12-04 08:35 -------
Confirmed on the mainline.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|                            |1
   Last reconfirmed|0000-00-00 00:00:00         |2003-12-04 08:35:49
               date|                            |


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


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

* [Bug c++/13276] missing debug information (dwarf2) for global variable
  2003-12-03  1:16 [Bug debug/13276] New: missing debug information (dwarf2) for global variable sdouglass at arm dot com
  2003-12-04  8:00 ` [Bug c++/13276] " pinskia at gcc dot gnu dot org
  2003-12-04  8:35 ` pinskia at gcc dot gnu dot org
@ 2004-03-07  2:01 ` pinskia at gcc dot gnu dot org
  2 siblings, 0 replies; 4+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-03-07  2:01 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-03-07 02:01 -------
This is a dup of bug 14079.

*** This bug has been marked as a duplicate of 14079 ***

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |DUPLICATE


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


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

end of thread, other threads:[~2004-03-07  2:01 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-12-03  1:16 [Bug debug/13276] New: missing debug information (dwarf2) for global variable sdouglass at arm dot com
2003-12-04  8:00 ` [Bug c++/13276] " pinskia at gcc dot gnu dot org
2003-12-04  8:35 ` pinskia at gcc dot gnu dot org
2004-03-07  2:01 ` pinskia 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).